CN103455748B - Check code acquisition methods and device - Google Patents

Check code acquisition methods and device Download PDF

Info

Publication number
CN103455748B
CN103455748B CN201310356586.0A CN201310356586A CN103455748B CN 103455748 B CN103455748 B CN 103455748B CN 201310356586 A CN201310356586 A CN 201310356586A CN 103455748 B CN103455748 B CN 103455748B
Authority
CN
China
Prior art keywords
pixel
data frame
subpixel
basic data
rbg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310356586.0A
Other languages
Chinese (zh)
Other versions
CN103455748A (en
Inventor
李�浩
宋宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310356586.0A priority Critical patent/CN103455748B/en
Publication of CN103455748A publication Critical patent/CN103455748A/en
Priority to PCT/CN2014/072329 priority patent/WO2015021763A1/en
Application granted granted Critical
Publication of CN103455748B publication Critical patent/CN103455748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation

Abstract

The embodiment of the present invention provides a kind of check code acquisition methods and device, wherein, methods described includes:Multiple basic data frames are obtained according to original checksums code picture, the basic data frame is the data frame of the partial information for only including original checksums code picture;According to default frame speed and frame period, by the multiple basic data frame loop play.Check code acquisition methods provided in an embodiment of the present invention and device cause that any grasping manipulation of externally hung software cannot all obtain complete check code picture, improve the verification efficiency and security of check code.

Description

Check code acquisition methods and device
Technical field
The present embodiments relate to computer networking technology, more particularly to a kind of check code acquisition methods and device.
Background technology
In order to prevent Brute Force or malicious registration on internet web page, generally prevent plug-in soft using check code mechanism Part carries out violence trial.The technology of check code mechanism is, using the principle of current externally hung software an irregular shape not easy to identify, to keep away Exempt from externally hung software brute force attack.
Common check code mechanism by the way of character recognition, such as by Character deformation, character overlap, ambient interferences And the mode technology such as 3D characters increases the identification difficulty of check code.But for excessively complicated check code, eye recognition When it is also more relatively difficult, often there is check code and do not see Chu needing to refresh or situation about inputing by mistake, reduce checking effect Rate.
In view of using the defect of character recognition, current check code mechanism is also adopted by the mode of image recognition, further increase Plus the difficulty that check code is recognized by externally hung software, and avoid the situation that check code does not see Chu.But, using image recognition Check code mechanism is needed when check code is made, and the content of manual identified picture simultaneously sets up picture dictionary in website, because The scale of this picture dictionary is limited, and check code is easy to by externally hung software by enumerating the mode Brute Force such as picture.
The content of the invention
The embodiment of the present invention provides a kind of check code acquisition methods and device so that any once crawl behaviour of externally hung software Work cannot all obtain complete check code picture, improve the verification efficiency and security of check code.
In a first aspect, the embodiment of the present invention provides a kind of check code acquisition methods, methods described includes:
Multiple basic data frames are obtained according to original checksums code picture, the basic data frame is for only including the original school Test the data frame of the partial information of yard picture;
According to default frame speed and frame period, by the multiple basic data frame loop play.
It is described to be schemed according to original checksums code according in a first aspect, in the first possible implementation of first aspect Piece obtains multiple basic data frames, including:
Each pixel that original checksums code picture includes is assigned randomly in multiple data frames;
Do not filled out by the pixel that original checksums code picture includes with each data frame of the pixel filling of setpoint color The part filled, and using the data frame carried out after pixel filling as the basic data frame.
It is described to be schemed according to original checksums code according in a first aspect, in second possible implementation of first aspect Piece obtains multiple basic data frames, including:
The red bluish-green RBG values of each pixel included to original checksums code picture according to preset rules are divided respectively Solution, each pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, and N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and described will be divided The data frame of subpixel is fitted on as the basic data frame.
Second possible implementation according to first aspect, in the third possible implementation, it is described according to The RBG values of each pixel that preset rules include to original checksums code picture are decomposed respectively, and each pixel is obtained respectively N number of subpixel is obtained, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are respectively divided Into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will be each described Zero is not set in the RBG values of subpixel by N number of position being partially filled with of the RBG values of the division.
Second possible implementation according to first aspect, in the 4th kind of possible implementation, it is described according to The RBG values of each pixel that preset rules include to original checksums code picture are decomposed respectively, and each pixel is obtained respectively N number of subpixel is obtained, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are respectively divided Into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each described The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of subpixel.
Second aspect, the embodiment of the present invention provides a kind of check code acquisition device, and described device includes:
Acquisition module, for obtaining multiple basic data frames according to original checksums code picture, the basic data frame is for only The data frame of the partial information including original checksums code picture;
Processing module, for according to default frame speed and frame period, the multiple basis that the acquisition module is obtained Data frame loop play.
According to second aspect, in the first possible implementation of second aspect, the acquisition module, specifically for Each pixel that original checksums code picture includes is assigned randomly in multiple data frames;Pixel filling with setpoint color is each The part of pixel filling that the data frame is not included by original checksums code picture, and by it is described carry out pixel filling it Data frame afterwards is used as the basic data frame.
According to second aspect, in second possible implementation of second aspect, the acquisition module is specific to use In:
The red bluish-green RBG values of each pixel included to original checksums code picture according to preset rules are divided respectively Solution, each pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, and N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and described will be divided The data frame of subpixel is fitted on as the basic data frame.
Second possible implementation according to second aspect, in the third possible implementation, the acquisition Module, specifically for:The RBG values point of each pixel for including original checksums code picture according to the order from a high position to low level N number of part is not divided into;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will be each described Zero is not set in the RBG values of subpixel by N number of position being partially filled with of the RBG values of the division.
Second possible implementation according to second aspect, in the 4th kind of possible implementation, the acquisition Module, specifically for:The RBG values point of each pixel for including original checksums code picture according to the order from a high position to low level N number of part is not divided into;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each described The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of subpixel.
Check code acquisition methods provided in an embodiment of the present invention and device, obtain multiple by according to original checksums code picture Basic data frame, the basic data frame is the data frame of the partial information for only including original checksums code picture;According to pre- If frame speed and frame period, the multiple basic data frame loop play is obtained original checksums code so that externally hung software Any grasping manipulation cannot all obtain complete check code picture, improve the verification efficiency and security of check code.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of check code acquisition methods provided in an embodiment of the present invention;
Fig. 2 a are the schematic diagram of the original checksums code picture of check code acquisition methods provided in an embodiment of the present invention;
Fig. 2 b are the schematic diagram of the basic data frame 1 obtained according to original check code picture in Fig. 2 a;
Fig. 2 c are the schematic diagram of the basic data frame 2 obtained according to original check code picture in Fig. 2 a;
Fig. 2 d are the schematic diagram of the basic data frame 3 obtained according to original check code picture in Fig. 2 a;
Fig. 2 e are the schematic diagram of the basic data frame 4 obtained according to original check code picture in Fig. 2 a;
Fig. 3 is the structural representation of check code acquisition device provided in an embodiment of the present invention;
Fig. 4 is another structural representation of check code acquisition device provided in an embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of check code acquisition methods provided in an embodiment of the present invention.The method of the present embodiment is applied to adopts With check code mechanism preventing requests for page by externally hung software Brute Force or the scene of malicious registration, the execution of the present embodiment Main body is check code acquisition device.As shown in figure 1, the method for the present embodiment, including:
101st, multiple basic data frames are obtained according to original checksums code picture, the basic data frame is for only including the original The data frame of the partial information of beginning check code picture.
102nd, according to default frame speed and frame period, by the multiple basic data frame loop play.
Specifically, in the prior art using the check code mechanism of character recognition, for excessively complicated check code people's outlook It is also more relatively difficult when other, often there is check code and do not see the situation that Chu needs to refresh or input by mistake, reduce and test Card efficiency;And in the prior art using image recognition check code mechanism, it is necessary to make check code when manual identified figure The content of piece simultaneously sets up picture dictionary, therefore the scale of picture dictionary is limited in website, and check code is easy to by externally hung software By enumerating the mode Brute Force such as picture;Further, the check code mechanism of prior art be all by the way of static images, Externally hung software can obtain complete check code picture by any grasping manipulation to requests for page, and then to verification Code is identified, and carries out attack trial to webpage on this basis.
The embodiment of the present invention provides a kind of check code acquisition methods for the defect of prior art, by according to original checksums Code picture obtains multiple basic data frames, and original checksums code picture is the static images of the information of check code for carrying complete, for example Can be the check code picture using character recognition, or the check code picture using image recognition;Each basic data frame In only include the original checksums code picture partial information, and each basic data frame include the original checksums code picture Partial information do not overlap;According to default frame speed and frame period, by the multiple basic data frame loop play, for example, right Each basic data frame carries out synthesis treatment, and to realize the loop play successively of each basic data frame, dynamic is presented original verification Code picture, effect is persisted using human eye vision, realizes the information synthesis of multiple basic data frames, shields externally hung software(Machine People's software)Obtain the approach of information of check code;Further, the original checksums code pictorial information for being included due to single basic data frame Imperfect, basic data frame still cannot get complete checks code information after grabgraf, increased externally hung software identification identifying code Difficulty so that any grasping manipulation of externally hung software cannot all obtain complete check code picture, and then prevent school Code is tested by Brute Force or malicious registration, the security of check code is improve;Meanwhile, check code provided in an embodiment of the present invention is obtained Method is taken, due to facilitating real user's identification without doing excessive conversion to check code, due to without manually setting up figure Piece dictionary, can easily by program realize, improve the verification efficiency of check code.
Check code acquisition methods provided in an embodiment of the present invention, obtain multiple by carrying out treatment to original checksums code picture Carry original checksums code Picture section information(Verify chip segment)Basic data frame, according to default frame speed and frame period will The multiple basic data frame loop play, using the persistence of vision effect of human eye so that user can obtain check code, but Externally hung software cannot but obtain complete check code picture by any grasping manipulation, so as to prevent check code by violence Crack or malicious registration, improve the verification efficiency and security of check code.
In practice, synthesis treatment is carried out to each basic data frame, can be led to the loop play for realizing each basic data frame Cross image exchange lattice(Graphics Interchange Format, abbreviation GIF)Picture, flash of light(Flash)Or small video etc. Animation means, single basic data frame is presented verification chip segment, according to default frame speed and frame period, by each basic data frame Circulation continuous play the presentation that check code is realized in the persistence of vision for being formed.
In practice, it is primarily based on original checksums code figure of the technologies such as the character recognition or image recognition generation containing check code Piece, i.e. static images;Then it is described included by each basic data frame according to the original checksums code multiple basic data frames of picture acquisition The union of the partial information of original checksums code picture constitutes the full detail of the original checksums code picture.
The mode that multiple basic data frames are obtained according to original checksums code picture can at least include implementations below it One:
Implementation 1:Each pixel that original checksums code picture includes is assigned randomly in multiple data frames;With setting Determine the part of the pixel filling that each data frame of pixel filling of color is not included by original checksums code picture, and will The data frame carried out after pixel filling is used as the basic data frame.
Specifically, the pixel Fractionation regimen that implementation 1 is provided is by each included by original checksums code picture Pixel it is random be assigned to multiple(At least one)In data frame, wherein, any pixel of the original checksums code picture is in quilt The coordinate of coordinate in the data frame being assigned to the pixel in original checksums code picture is identical;Each data frame not by The part of the pixel filling that the original checksums code picture includes, is filled, with the pixel of setpoint color so as to obtain multiple The basic data frame;In practice, the color of the setting, for example, it may be black.
Fig. 2 a are the schematic diagram of the original checksums code picture of check code acquisition methods provided in an embodiment of the present invention;Fig. 2 b are The schematic diagram of the basic data frame 1 obtained according to original check code picture in Fig. 2 a;Fig. 2 c are according to original check code in Fig. 2 a The schematic diagram of the basic data frame 2 that picture is obtained;Fig. 2 d are the basic data frame 3 obtained according to original check code picture in Fig. 2 a Schematic diagram;Fig. 2 e are the schematic diagram of the basic data frame 4 obtained according to original check code picture in Fig. 2 a.Such as Fig. 2 a-2e institutes Show, original checksums code picture is cut into N number of data by the check code acquisition methods of the present embodiment using horizontal data cutting mode Frame, is equal to as a example by 4 by N, and each data frame only remains the partial content of original checksums code picture so that each data frame Do not possess information integrity.Optionally, interference information is increased on each data frame that can be after dicing.Each basis after cutting Data frame(Basic data frame 1, basic data frame 2, basic data frame 3 or basic data frame 4)Due to not comprising complete verification Code information, so can not be identified in principle.The method of the present embodiment is illustrated by taking horizontal data cutting mode as an example, real The content that each data frame is cut on border can be random, as long as any pixel is at least in meeting original checksums code picture Exist in a data frame.By above-mentioned basic data frame loop play.Each basic data frame is presented T1, T2 successively, T3, T4 millisecond.Difficulty is cracked in order to increase, T1, T2, T3 and T4 can take different value.Further, can make in practice Realized playing with self-defined control, it is also possible to STOCHASTIC CONTROL frame speed and frame period, it is to avoid catch all basis numbers by externally hung software According to frame.Further, more fine-grained segmentation, such as segmentation in units of pixel can be realized in practice.
Implementation 2:According to preset rules to the red bluish-green of original checksums code each pixel for including of picture(RBG)Value Decomposed respectively, each pixel obtains N number of subpixel respectively, each subpixel is not overlapped, N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and described will be divided The data frame of subpixel is fitted on as the basic data frame.
Optionally, the RBG values of each pixel for including to original checksums code picture carry out decomposition and obtain according to preset rules The processing procedure for obtaining N number of subpixel can be one of following processing mode:
Dispersion pattern:The RBG of each pixel for including original checksums code picture according to the order from a high position to low level Value is divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will be each described Zero is not set in the RBG values of subpixel by N number of position being partially filled with of the RBG values of the division.
Specifically, the RBG values of each pixel of original checksums code picture are decomposed.Such as certain pixel RBG values are #563FA3, can be divided into being 3 parts, respectively #560000, the son such as #003F00, #0000A3 as Element, and each subpixel is assigned randomly in 3 data frames, wherein, the loop play of each subpixel can be realized similar original Color, N is 3.Similarly, each pixel of original checksums code picture is carried out into Stochastic Decomposition according to RBG values, and will Corresponding 3 subpixel of each pixel are assigned randomly in 3 data frames, obtain 3 basic data frames, 3 basic datas But frame is that associated single basic data frame is meaningless.According to default frame speed and frame period, by the multiple basic data Frame loop play, and then obtain the video of original checksums code picture.
Complementary mode:The RBG of each pixel for including original checksums code picture according to the order from a high position to low level Value is divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each described The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of subpixel.
Specifically, the RBG values of each pixel of original checksums code picture are decomposed.Such as certain pixel RBG values are #563FA3, can be divided into 3 parts, respectively #56FFFF, #FF3FFF, #FFFFA3, by retaining RBG values included by per part, other parts carry out the treatment of complementary color to obtain 3 subpixel, and are assigned randomly to 3 data In frame, N is 3.It is similar, each pixel of the original checksums code picture according to respective RBG values, according to from a high position to low The order of position is divided into 3 parts, and by retaining the RBG values included by every part, other parts carry out the treatment of complementary color, to obtain Much individual subpixel, and corresponding 3 subpixel of each pixel are assigned randomly in 3 data frames, obtain 3 basic datas Frame.Coordinate phase of any subpixel in the coordinate being assigned in basic data frame with the subpixel in the check code picture Together.But 3 basic data frames are that associated single basic data frame is meaningless.According to default frame speed and frame period, By the multiple basic data frame loop play, and then obtain the video of original checksums code picture.
Fig. 3 is the structural representation of check code acquisition device provided in an embodiment of the present invention.As shown in figure 3, the present embodiment The check code acquisition device 200 of offer, including:Acquisition module 201 and processing module 202, wherein:
Acquisition module 201, for obtaining multiple basic data frames according to original checksums code picture, the basic data frame is Only include the data frame of the partial information of original checksums code picture;
Processing module 202, for according to default frame speed and frame period, by the acquisition module 201 obtain it is described many Individual basic data frame loop play.
Specifically, check code acquisition device 200 obtains multiple bases by acquisition module 201 according to original checksums code picture Data frame, the basic data frame is the data frame of the partial information for only including original checksums code picture;By processing mould Block 202 is broadcast according to default frame speed and frame period, the multiple basic data frame circulation that the acquisition module 201 is obtained Put.
The check code acquisition device 200 that the present embodiment is provided can be used for performing check code acquisition methods shown in Fig. 1 to be implemented The technical scheme of example one, its realization principle is similar with technique effect, will not be repeated here.
Optionally, acquisition module 201, specifically for each pixel that original checksums code picture includes is assigned randomly to In multiple data frames;With each data frame of the pixel filling of setpoint color not by the original checksums code picture include as The part of element filling, and using the data frame carried out after pixel filling as the basic data frame.
Optionally, acquisition module 201, specifically for:According to preset rules to the original checksums code picture include it is each The red bluish-green RBG values of pixel are decomposed respectively, and each pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, N More than or equal to 2;Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and will be described The data frame of subpixel is assigned to as the basic data frame.
Optionally, acquisition module 201, specifically for:Original checksums code is schemed according to the order from a high position to low level The RBG values of each pixel that piece includes are divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will be each described Zero is not set in the RBG values of subpixel by N number of position being partially filled with of the RBG values of the division.
Optionally, acquisition module 201, specifically for:Original checksums code is schemed according to the order from a high position to low level The RBG values of each pixel that piece includes are divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each described The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of subpixel.
Fig. 4 is another structural representation of check code acquisition device provided in an embodiment of the present invention.As shown in figure 4, this reality The check code acquisition device 300 of example is applied, including:Processor 301, memory 302 and communication interface 303, also including communication bus 304;Processor 301, memory 302 and communication interface 303 are connected with each other by bus 304.
Above-mentioned processor 301 can be general processor, including central processing unit(Central Processing Unit, abbreviation CPU), network processing unit(Network Processor, abbreviation NP)Deng;Can also be digital signal processor (DSP), application specific integrated circuit(ASIC), ready-made programmable gate array(FPGA)Or it is other PLDs, discrete hard Part component.
Memory 302, for depositing program.Specifically, program can include program code, and described program code includes meter Calculation machine operational order.Memory 302 may include high-speed RAM, it is also possible to also including nonvolatile memory(non-volatile memory), for example, at least one magnetic disk storage.
The communication interface 303 is used for the communication between the check code acquisition device 300 and other equipment;By described logical Letter interface can receive or send packet.
When the check code acquisition device 300 runs, communicated between processor 301 and memory 302, processor 301 The program deposited in memory 302 is called, following operation is performed:
Multiple basic data frames are obtained according to original checksums code picture, the basic data frame is for only including the original school Test the data frame of the partial information of yard picture;
According to default frame speed and frame period, by the multiple basic data frame loop play.
Optionally, it is described that multiple basic data frames are obtained according to original checksums code picture, including:
Each pixel that original checksums code picture includes is assigned randomly in multiple data frames;
Do not filled out by the pixel that original checksums code picture includes with each data frame of the pixel filling of setpoint color The part filled, and using the data frame carried out after pixel filling as the basic data frame.
Optionally, it is described that multiple basic data frames are obtained according to original checksums code picture, including:
The red bluish-green RBG values of each pixel included to original checksums code picture according to preset rules are divided respectively Solution, each pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, and N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and described will be divided The data frame of subpixel is fitted on as the basic data frame.
Optionally, the RBG values of each pixel included to original checksums code picture according to preset rules are entered respectively Row is decomposed, and each pixel obtains N number of subpixel respectively, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are respectively divided Into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will be each described Zero is not set in the RBG values of subpixel by N number of position being partially filled with of the RBG values of the division.
Optionally, the RBG values of each pixel included to original checksums code picture according to preset rules are entered respectively Row is decomposed, and each pixel obtains N number of subpixel respectively, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are respectively divided Into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each described The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of subpixel.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces Letter connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)Perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(Read- Only Memory, ROM), random access memory(Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division carry out for example, in practical application, can distribute complete by different functional modules by above-mentioned functions as needed Into, will the internal structure of device be divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (6)

1. a kind of check code acquisition methods, it is characterised in that including:
Multiple basic data frames are obtained according to original checksums code picture, the basic data frame is for only including original checksums code The data frame of the partial information of picture;
According to default frame speed and frame period, by the multiple basic data frame loop play;
It is described that multiple basic data frames are obtained according to original checksums code picture, including:
The red bluish-green RBG values of each pixel included to original checksums code picture according to preset rules are decomposed respectively, respectively The pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, and N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and is assigned to described The data frame of subpixel is used as the basic data frame.
2. method according to claim 1, it is characterised in that it is described according to preset rules to original checksums code picture Including the RBG values of each pixel decomposed respectively, each pixel obtains N number of subpixel respectively, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are divided into N Individual part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will it is each it is described it is sub as Zero is not set in the RBG values of element by N number of position being partially filled with of the RBG values of the division.
3. method according to claim 1, it is characterised in that it is described according to preset rules to original checksums code picture Including the RBG values of each pixel decomposed respectively, each pixel obtains N number of subpixel respectively, including:
The RBG values of each pixel for including original checksums code picture according to the order from a high position to low level are divided into N Individual part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each son as The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of element.
4. a kind of check code acquisition device, it is characterised in that including:
Acquisition module, for obtaining multiple basic data frames according to original checksums code picture, the basic data frame is only to include The data frame of the partial information of the original checksums code picture;
Processing module, for according to default frame speed and frame period, the multiple basic data that the acquisition module is obtained Frame loop play;
The acquisition module, specifically for:
The red bluish-green RBG values of each pixel included to original checksums code picture according to preset rules are decomposed respectively, respectively The pixel obtains N number of subpixel respectively, and each subpixel is not overlapped, and N is more than or equal to 2;
Corresponding N number of subpixel that each pixel is obtained respectively is assigned randomly in N number of data frame, and is assigned to described The data frame of subpixel is used as the basic data frame.
5. device according to claim 4, it is characterised in that the acquisition module, specifically for:According to from a high position to low The RBG values of each pixel that the order of position includes original checksums code picture are divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and will it is each it is described it is sub as Zero is not set in the RBG values of element by N number of position being partially filled with of the RBG values of the division.
6. device according to claim 4, it is characterised in that the acquisition module, specifically for:According to from a high position to low The RBG values of each pixel that the order of position includes original checksums code picture are divided into N number of part;
N number of part that the RBG for dividing the pixel is worth to is respectively allocated to N number of subpixel, and to each son as The treatment of complementary color is not carried out by N number of position being partially filled with of the RBG values of the division in the RBG values of element.
CN201310356586.0A 2013-08-15 2013-08-15 Check code acquisition methods and device Active CN103455748B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310356586.0A CN103455748B (en) 2013-08-15 2013-08-15 Check code acquisition methods and device
PCT/CN2014/072329 WO2015021763A1 (en) 2013-08-15 2014-02-20 Check code acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310356586.0A CN103455748B (en) 2013-08-15 2013-08-15 Check code acquisition methods and device

Publications (2)

Publication Number Publication Date
CN103455748A CN103455748A (en) 2013-12-18
CN103455748B true CN103455748B (en) 2017-06-27

Family

ID=49738099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310356586.0A Active CN103455748B (en) 2013-08-15 2013-08-15 Check code acquisition methods and device

Country Status (2)

Country Link
CN (1) CN103455748B (en)
WO (1) WO2015021763A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455748B (en) * 2013-08-15 2017-06-27 华为技术有限公司 Check code acquisition methods and device
CN104318151A (en) * 2014-10-13 2015-01-28 宁波公众信息产业有限公司 Verification code picture display method based on vision suspending phenomenon
CN104346558A (en) * 2014-10-13 2015-02-11 宁波公众信息产业有限公司 Verification code information paging display method and system
CN105701391B (en) * 2014-11-27 2018-12-07 阿里巴巴集团控股有限公司 Dynamic verification code Picture Generation Method and device
CN105988784A (en) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 Timing display method and device
CN112866302B (en) * 2021-04-25 2021-07-13 上海有孚智数云创数字科技有限公司 Method, apparatus, medium and program product for integrity checking of cluster data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6369826B1 (en) * 1998-07-21 2002-04-09 International Business Machines Corporation Computer, overlay processor and method for performing overlay processing
CN101183463A (en) * 2007-12-19 2008-05-21 腾讯科技(深圳)有限公司 Picture validation code generating method and device
CN102495887A (en) * 2011-12-08 2012-06-13 西南科技大学 Video lens partitioning method based on color matrixes of key regions and application thereof
CN102890761A (en) * 2011-08-24 2013-01-23 北京文海思创科技有限公司 Method for verifying through graphical verification code

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5537040B2 (en) * 2009-01-28 2014-07-02 キヤノン株式会社 Display control apparatus and display control method
CN103455748B (en) * 2013-08-15 2017-06-27 华为技术有限公司 Check code acquisition methods and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6369826B1 (en) * 1998-07-21 2002-04-09 International Business Machines Corporation Computer, overlay processor and method for performing overlay processing
CN101183463A (en) * 2007-12-19 2008-05-21 腾讯科技(深圳)有限公司 Picture validation code generating method and device
CN102890761A (en) * 2011-08-24 2013-01-23 北京文海思创科技有限公司 Method for verifying through graphical verification code
CN102495887A (en) * 2011-12-08 2012-06-13 西南科技大学 Video lens partitioning method based on color matrixes of key regions and application thereof

Also Published As

Publication number Publication date
WO2015021763A1 (en) 2015-02-19
CN103455748A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103455748B (en) Check code acquisition methods and device
CN101739720B (en) Method and device for generating three-dimensional dynamic verification code
CN111080780B (en) Edge processing method and device for virtual character model
CN104765614B (en) Color in processing method and processing device
CN107423700A (en) The method and device of testimony verification
CN106529517A (en) Image processing method and image processing device
CN109255356A (en) A kind of character recognition method, device and computer readable storage medium
CN107392835A (en) A kind of processing method and processing device of particIe system
CN104462930B (en) Verification code generation method and device
CN108463823A (en) A kind of method for reconstructing, device and the terminal of user's Hair model
CN106200960A (en) The content display method of electronic interactive product and device
CN111898538A (en) Certificate authentication method and device, electronic equipment and storage medium
CN107343225A (en) The method, apparatus and terminal device of business object are shown in video image
CN104318151A (en) Verification code picture display method based on vision suspending phenomenon
CN110175505A (en) Determination method, apparatus, storage medium and the electronic device of micro- expression type
CN108665475A (en) Neural metwork training, image processing method, device, storage medium and electronic equipment
CN106569805A (en) Canvas storage/graph drawing method and equipment
CN106933916A (en) The processing method and processing device of JSON character strings
CN106297477A (en) A kind of method and device generating digitized copybook
CN110264391A (en) Training data processing method and equipment
CN107301333A (en) Copyright information protection, really power method, device, system and digital equipment
CN106412718A (en) Rendering method and device for subtitles in 3D space
CN104123253B (en) A kind of method and apparatus for realizing chip interconnection to be verified
CN109597987A (en) A kind of text restoring method, device and electronic equipment
CN109388933A (en) Verification method, device, user equipment and storage medium based on dynamic subgraph

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220210

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.