CN103455748A - Check code acquisition method and device - Google Patents
Check code acquisition method and device Download PDFInfo
- Publication number
- CN103455748A CN103455748A CN2013103565860A CN201310356586A CN103455748A CN 103455748 A CN103455748 A CN 103455748A CN 2013103565860 A CN2013103565860 A CN 2013103565860A CN 201310356586 A CN201310356586 A CN 201310356586A CN 103455748 A CN103455748 A CN 103455748A
- Authority
- CN
- China
- Prior art keywords
- pixel
- subpixel
- frame
- code picture
- basic data
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
Abstract
The embodiment of the invention provides a check code acquisition method and a check code acquisition device. The method comprises the following steps of acquiring a plurality of basic data frames according to an original check code picture, wherein the basic data frames are data frames comprising a part of information of the original check code picture only; cyclically playing the basic data frames according to preset frame speed and a preset frame interval. According to the check code acquisition method and the check code acquisition device, the check code picture can be prevented from being completely acquired by any capturing operation of plug-in software, and the verification efficiency and the security of a check code are improved.
Description
Technical field
The embodiment of the present invention relates to computer networking technology, relates in particular to a kind of check code acquisition methods and device.
Background technology
On internet web page, in order to prevent Brute Force or malicious registration, usually adopt check code mechanism to prevent that externally hung software from carrying out the violence trial.The technology of check code mechanism is to utilize the not principle of irregular figure easy to identify of current externally hung software, avoids the externally hung software brute force attack.
Common check code mechanism adopts the mode of character recognition, such as increase the identification difficulty of check code by mode technology such as Character deformation, character overlap, background interference and 3D characters.But for too complicated check code, also more difficult in the time of eye recognition, often occur that check code does not see the situation that Chu need to refresh or input by mistake, has reduced verification efficiency.
In view of the defect that adopts character recognition, current check code mechanism also adopts the mode of image recognition, further increases the difficulty that check code is identified by externally hung software, and has avoided check code not see the situation of Chu.But, the check code mechanism of employing image recognition need to be when making check code, the content of artificial cognition picture is also set up the picture dictionary, so the scale of picture dictionary is limited in website, and check code is easy to by externally hung software by enumerating the mode Brute Forces such as picture.
Summary of the invention
The embodiment of the present invention provides a kind of check code acquisition methods and device, makes any grasping manipulation of externally hung software all can't obtain complete check code picture, has improved verification efficiency and the security of check code.
First aspect, the embodiment of the present invention provides a kind of check code acquisition methods, and described method comprises:
Obtain a plurality of basic data frames according to original checksums code picture, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
According to default frame speed and frame period, by described a plurality of basic data frame loop play.
According to first aspect, in the first of first aspect in possible implementation, describedly according to original checksums code picture, obtain a plurality of basic data frames, comprising:
Each pixel that described original checksums code picture is comprised is assigned randomly in a plurality of Frames;
The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
According to first aspect, at the second of first aspect in possible implementation, describedly according to original checksums code picture, obtain a plurality of basic data frames, comprising:
The red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
The possible implementation according to the second of first aspect, at the third in possible implementation, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
The possible implementation according to the second of first aspect, in the 4th kind of possible implementation, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
Second aspect, the embodiment of the present invention provides a kind of check code deriving means, and described device comprises:
Acquisition module, for according to original checksums code picture, obtaining a plurality of basic data frames, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
Processing module, for frame speed and the frame period according to default, described a plurality of basic data frame loop play that described acquisition module is obtained.
According to second aspect, in the first of second aspect, in possible implementation, described acquisition module, be assigned randomly in a plurality of Frames specifically for each pixel that described original checksums code picture is comprised; The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
According to second aspect, at the second of second aspect in possible implementation, described acquisition module, specifically for:
The red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
The possible implementation according to the second of second aspect, at the third in possible implementation, described acquisition module, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
The possible implementation according to the second of second aspect, in the 4th kind of possible implementation, described acquisition module, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
Check code acquisition methods and device that the embodiment of the present invention provides, by according to original checksums code picture, obtaining a plurality of basic data frames, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture; According to default frame speed and frame period, described a plurality of basic data frame loop play are obtained to the original checksums code, make any grasping manipulation of externally hung software all can't obtain complete check code picture, improved verification efficiency and the security of check code.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the check code acquisition methods that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of the original checksums code picture of the check code acquisition methods that Fig. 2 a provides for the embodiment of the present invention;
Fig. 2 b is the schematic diagram according to the basic data frame 1 that in Fig. 2 a, original check code picture obtains;
Fig. 2 c is the schematic diagram according to the basic data frame 2 that in Fig. 2 a, original check code picture obtains;
Fig. 2 d is the schematic diagram according to the basic data frame 3 that in Fig. 2 a, original check code picture obtains;
Fig. 2 e is the schematic diagram according to the basic data frame 4 that in Fig. 2 a, original check code picture obtains;
The structural representation of the check code deriving means that Fig. 3 provides for the embodiment of the present invention;
Another structural representation of the check code deriving means that Fig. 4 provides for the embodiment of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The process flow diagram of the check code acquisition methods that Fig. 1 provides for the embodiment of the present invention.The method of the present embodiment is applicable to adopt check code mechanism to prevent that requests for page is by the scene of externally hung software Brute Force or malicious registration, and the executive agent of the present embodiment is the check code deriving means.As shown in Figure 1, the method for the present embodiment comprises:
101, obtain a plurality of basic data frames according to original checksums code picture, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture.
102, according to default frame speed and frame period, by described a plurality of basic data frame loop play.
Particularly, the check code mechanism of available technology adopting character recognition, also more difficult in the time of for too complicated check code eye recognition, often occur that check code does not see the situation that Chu need to refresh or input by mistake, has reduced verification efficiency; And the check code mechanism of available technology adopting image recognition, need to be when making check code the artificial cognition picture content and set up the picture dictionary in website, therefore the scale of picture dictionary is limited, 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 is all the mode that adopts static images, externally hung software can obtain complete check code picture by any grasping manipulation to requests for page, and then check code is identified, and on this basis webpage is attacked to trial.
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, obtaining a plurality of basic data frames, original checksums code picture is the static images that carries complete information of check code, can be for example the check code picture that adopts character recognition, can be also the check code picture that adopts image recognition; Only comprise the partial information of described original checksums code picture in each basic data frame, and the partial information of the described original checksums code picture that comprises of each basic data frame is not overlapping; According to default frame speed and frame period, by described a plurality of basic data frame loop play, for example, each basic data frame is synthesized to processing, dynamically present original check code picture with the loop play successively that realizes each basic data frame, utilize human eye vision to persist effect, realize that the information of a plurality of basic data frames is synthetic, shielded the approach that externally hung software (robot software) obtains information of check code; Further, because the original checksums code pictorial information that single basic data frame comprises is imperfect, the basic data frame still be can not get complete checks code information after grabgraf, increased the difficulty of externally hung software identification identifying code, make any grasping manipulation of externally hung software all can't obtain complete check code picture, and then prevented that check code from, by Brute Force or malicious registration, having improved the security of check code; Simultaneously, the check code acquisition methods that the embodiment of the present invention provides, owing to without check code being done to excessive conversion, having facilitated real user's identification, due to without manually setting up the picture dictionary, can realizing by program easily, improved the verification efficiency of check code.
The check code acquisition methods that the embodiment of the present invention provides, by being processed, original checksums code picture obtains a plurality of basic data frames that carry original checksums code picture partial information (being the check code fragment), according to default frame speed and frame period by described a plurality of basic data frame loop play, utilize the persistence of vision effect of human eye, make the user can obtain check code, but externally hung software but can't obtain complete check code picture by any grasping manipulation, thereby prevented that check code is by Brute Force or malicious registration, verification efficiency and the security of check code have been improved.
In reality, each basic data frame is synthesized to processing, can pass through image exchange lattice (Graphics Interchange Format with the loop play that realizes each basic data frame, abbreviation GIF) the animation means such as picture, flash of light (Flash) or small video, single basic data frame presents the check code fragment, according to default frame speed and frame period, the persistence of vision of playing continuously formation by the circulation of each basic data frame realizes presenting of check code.
In reality, at first based on technology such as character recognition or image recognitions, generate the original checksums code picture that contains check code, i.e. static images; Then obtain a plurality of basic data frames according to original checksums code picture, the union of the partial information of the included described original checksums code picture of each basic data frame forms the full detail of described original checksums code picture.
The mode of obtaining a plurality of basic data frames according to original checksums code picture at least can comprise one of following implementation:
Implementation 1: each pixel that described original checksums code picture is comprised is assigned randomly in a plurality of Frames; The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
Particularly, it is random being assigned in a plurality of (at least one) Frame of each pixel that described original checksums code picture is included that the pixel that implementation 1 provides is cut apart pattern, wherein, the coordinate of arbitrary pixel in the Frame be assigned to of described original checksums code picture is identical with the coordinate of this pixel in described original checksums code picture; The part of the pixel filling that each Frame is not comprised by described original checksums code picture, filled with the pixel of setpoint color, thereby obtain a plurality of described basic data frames; In reality, the color of described setting, for example, can be black.
The schematic diagram of the original checksums code picture of the check code acquisition methods that Fig. 2 a provides for the embodiment of the present invention; Fig. 2 b is the schematic diagram according to the basic data frame 1 that in Fig. 2 a, original check code picture obtains; Fig. 2 c is the schematic diagram according to the basic data frame 2 that in Fig. 2 a, original check code picture obtains; Fig. 2 d is the schematic diagram according to the basic data frame 3 that in Fig. 2 a, original check code picture obtains; Fig. 2 e is the schematic diagram according to the basic data frame 4 that in Fig. 2 a, original check code picture obtains.As shown in Fig. 2 a-2e, the check code acquisition methods of the present embodiment adopts the horizontal data cutting mode to be cut into N Frame in original checksums code picture, the N of take equals 4 as example, each Frame has only retained the partial content of original checksums code picture, makes each Frame not possess information integrity.Optionally, can on each Frame after cutting, increase interfere information.Each basic data frame after cutting (basic data frame 1, basic data frame 2, basic data frame 3 or basic data frame 4) is owing to not comprising complete information of check code, so can not be identified on principle.The method of the present embodiment is to take the horizontal data cutting mode to describe as example, and the content that in fact each Frame is cut can be random, as long as meet arbitrary pixel in original checksums code picture, at least in a Frame, exists.By above-mentioned basic data frame loop play.Each basic data frame presents T1 successively, T2, T3, T4 millisecond.Crack difficulty in order to increase, T1, T2, T3 and T4 can get different value.Further, in reality, can use self-defined control to realize playing, also can STOCHASTIC CONTROL frame speed and frame period, avoid being caught whole basic data frames by externally hung software.Further, in reality, can realize more fine-grained cutting apart, what the pixel of for example take was unit cuts apart.
Implementation 2: red bluish-green (RBG) value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
It can be one of following processing mode that the RBG value of each pixel optionally, described original checksums code picture comprised decomposes according to preset rules the processing procedure that obtains N subpixel:
The dispersion pattern: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
Particularly, the RBG value of each pixel of described original checksums code picture is decomposed.For example the RBG value of certain pixel is #563FA3, and it can be divided into is 3 parts, is respectively #560000, #003F00, the subpixel such as #0000A3, and each subpixel is assigned randomly in 3 Frames, wherein, the loop play of each subpixel can realize similar original color, and N is 3.Similarly, each pixel of described original checksums code picture is carried out to Stochastic Decomposition according to the RBG value, and by each pixel, 3 corresponding subpixel are assigned randomly in 3 Frames, obtain 3 basic data frames, described 3 basic data frames be associated but single basic data frame meaningless.According to default frame speed and frame period, by described a plurality of basic data frame loop play, and then obtain the video of original checksums code picture.
Complementary mode: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
Particularly, the RBG value of each pixel of described original checksums code picture is decomposed.For example the RBG value of certain pixel is #563FA3, it can be divided into to 3 parts, is respectively #56FFFF, #FF3FFF, #FFFFA3, by retaining the included RBG value of every part, other parts are carried out the processing of complementary color to obtain 3 subpixel, and are assigned randomly in 3 Frames, and N is 3.Similarly, each pixel of described original checksums code picture is according to RBG value separately, be divided into 3 parts according to the order from a high position to the low level, by retaining the included RBG value of every part, other parts are carried out the processing of complementary color, to obtain a plurality of subpixel, and by each pixel, 3 corresponding subpixel are assigned randomly in 3 Frames, obtain 3 basic data frames.The coordinate of arbitrary subpixel in being assigned to the basic data frame is identical with the coordinate of this subpixel in described check code picture.Described 3 basic data frames be associated but single basic data frame meaningless.According to default frame speed and frame period, by described a plurality of basic data frame loop play, and then obtain the video of original checksums code picture.
The structural representation of the check code deriving means that Fig. 3 provides for the embodiment of the present invention.As shown in Figure 3, the check code deriving means 200 that the present embodiment provides comprises: acquisition module 201 and processing module 202, wherein:
Acquisition module 201, for according to original checksums code picture, obtaining a plurality of basic data frames, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
Processing module 202, for frame speed and the frame period according to default, described a plurality of basic data frame loop play that described acquisition module 201 is obtained.
Particularly, check code deriving means 200 obtains a plurality of basic data frames by acquisition module 201 according to original checksums code picture, and described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture; By processing module 202 according to default frame speed and frame period, described a plurality of basic data frame loop play that described acquisition module 201 is obtained.
The check code deriving means 200 that the present embodiment provides can be for the technical scheme of the embodiment of check code acquisition methods shown in execution graph 1 mono-, its realize principle and technique effect similar, do not repeat them here.
Optionally, acquisition module 201, be assigned randomly in a plurality of Frames specifically for each pixel that described original checksums code picture is comprised; The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
Optionally, acquisition module 201, specifically for: the red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2; N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
Optionally, acquisition module 201, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
Optionally, acquisition module 201, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
Another structural representation of the check code deriving means that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, the check code deriving means 300 of the present embodiment comprises: processor 301, storer 302 and communication interface 303 also comprise communication bus 304; Processor 301, storer 302 and communication interface 303 interconnect by bus 304.
Above-mentioned processor 301 can be general processor, comprises central processing unit (Central Processing Unit is called for short CPU), network processing unit (Network Processor is called for short NP) etc.; Can also be digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device (PLD), discrete hardware components.
Described communication interface 303 is communicated by letter for described check code deriving means 300 and other equipment rooms; Can receive or send packet by described communication interface.
When 300 operation of described check code deriving means, between processor 301 and storer 302, communicate by letter, processor 301 calls the program of depositing in storer 302, below carrying out, operates:
Obtain a plurality of basic data frames according to original checksums code picture, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
According to default frame speed and frame period, by described a plurality of basic data frame loop play.
Optionally, describedly according to original checksums code picture, obtain a plurality of basic data frames, comprising:
Each pixel that described original checksums code picture is comprised is assigned randomly in a plurality of Frames;
The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
Optionally, describedly according to original checksums code picture, obtain a plurality of basic data frames, comprising:
The red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
Optionally, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
Optionally, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
In several embodiment provided by the present invention, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out the part steps of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CDs.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a check code acquisition methods, is characterized in that, comprising:
Obtain a plurality of basic data frames according to original checksums code picture, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
According to default frame speed and frame period, by described a plurality of basic data frame loop play.
2. method according to claim 1, is characterized in that, describedly according to original checksums code picture, obtains a plurality of basic data frames, comprising:
Each pixel that described original checksums code picture is comprised is assigned randomly in a plurality of Frames;
The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
3. method according to claim 1, is characterized in that, describedly according to original checksums code picture, obtains a plurality of basic data frames, comprising:
The red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
4. method according to claim 3, is characterized in that, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
5. method according to claim 3, is characterized in that, the RBG value of described each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, comprising:
The RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
6. a check code deriving means, is characterized in that, comprising:
Acquisition module, for according to original checksums code picture, obtaining a plurality of basic data frames, described basic data frame is for only comprising the Frame of the partial information of described original checksums code picture;
Processing module, for frame speed and the frame period according to default, described a plurality of basic data frame loop play that described acquisition module is obtained.
7. device according to claim 6, is characterized in that, described acquisition module is assigned randomly in a plurality of Frames specifically for each pixel that described original checksums code picture is comprised; The part of the pixel filling do not comprised by described original checksums code picture with each described Frame of pixel filling of setpoint color, and carry out Frame after pixel filling as described basic data frame using described.
8. device according to claim 6, is characterized in that, described acquisition module, specifically for:
The red bluish-green RBG value of each pixel described original checksums code picture comprised according to preset rules is decomposed respectively, and each described pixel obtains respectively N subpixel, and each subpixel is all not overlapping, and N is more than or equal to 2;
N subpixel of the correspondence that each described pixel is obtained respectively is assigned randomly in N Frame, and using the described Frame of subpixel that is assigned to as described basic data frame.
9. device according to claim 8, is characterized in that, described acquisition module, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and will in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, be made as zero.
10. device according to claim 8, is characterized in that, described acquisition module, specifically for: the RBG value of each pixel described original checksums code picture comprised according to the order from a high position to the low level is divided into respectively N part;
N the part that the RBG value of the described pixel of described division is obtained distributed to respectively N subpixel, and in the RBG value of each described subpixel, by the N of the RBG value of described division the position be partially filled, not carried out the processing of complementary color.
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 true CN103455748A (en) | 2013-12-18 |
CN103455748B 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) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
WO2015021763A1 (en) * | 2013-08-15 | 2015-02-19 | 华为技术有限公司 | Check code acquisition method and device |
CN105701391A (en) * | 2014-11-27 | 2016-06-22 | 阿里巴巴集团控股有限公司 | Dynamic verification code picture generation method and apparatus |
CN105988784A (en) * | 2015-02-04 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Timing display method and device |
CN112866302A (en) * | 2021-04-25 | 2021-05-28 | 上海有孚智数云创数字科技有限公司 | Method, apparatus, medium and program product for integrity checking of cluster data |
Citations (5)
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 |
US20100192099A1 (en) * | 2009-01-28 | 2010-07-29 | Canon Kabushiki Kaisha | Display control apparatus and display control method |
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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455748B (en) * | 2013-08-15 | 2017-06-27 | 华为技术有限公司 | Check code acquisition methods and device |
-
2013
- 2013-08-15 CN CN201310356586.0A patent/CN103455748B/en active Active
-
2014
- 2014-02-20 WO PCT/CN2014/072329 patent/WO2015021763A1/en active Application Filing
Patent Citations (5)
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 |
US20100192099A1 (en) * | 2009-01-28 | 2010-07-29 | Canon Kabushiki Kaisha | Display control apparatus and display control method |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015021763A1 (en) * | 2013-08-15 | 2015-02-19 | 华为技术有限公司 | Check code acquisition method 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 |
CN105701391A (en) * | 2014-11-27 | 2016-06-22 | 阿里巴巴集团控股有限公司 | Dynamic verification code picture generation method and apparatus |
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 |
CN112866302A (en) * | 2021-04-25 | 2021-05-28 | 上海有孚智数云创数字科技有限公司 | Method, apparatus, medium and program product for integrity checking of cluster data |
Also Published As
Publication number | Publication date |
---|---|
CN103455748B (en) | 2017-06-27 |
WO2015021763A1 (en) | 2015-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455748A (en) | Check code acquisition method and device | |
US10726304B2 (en) | Refining synthetic data with a generative adversarial network using auxiliary inputs | |
CN109997168B (en) | Method and system for generating output image | |
CN101739720B (en) | Method and device for generating three-dimensional dynamic verification code | |
CN111275784B (en) | Method and device for generating image | |
CN110392293B (en) | Canvas-based bullet screen control method, device, equipment and storage medium | |
CN109255356A (en) | A kind of character recognition method, device and computer readable storage medium | |
JP2009540416A (en) | Pattern recognition and SIMD processor | |
CN109978805A (en) | It takes pictures processing method, device, mobile terminal and storage medium | |
CN110582783B (en) | Training device, image recognition device, training method, and computer-readable information storage medium | |
CN106200960A (en) | The content display method of electronic interactive product and device | |
US20200184098A1 (en) | Systems and Methods for Secure Obfuscation of Sensitive Information in Images | |
US11681910B2 (en) | Training apparatus, recognition apparatus, training method, recognition method, and program | |
CN105791893B (en) | Video file encryption and decryption method and device | |
CN108304839A (en) | A kind of image processing method and device | |
CN104318151A (en) | Verification code picture display method based on vision suspending phenomenon | |
CN108241857A (en) | Face identification method and Related product | |
CN107229727A (en) | One kind comment method and device | |
CN108268520B (en) | Courseware control method and device and online course live broadcast system | |
CN108495125B (en) | Camera module testing method, device and medium | |
CN106354516B (en) | The method and device of tracing equipment | |
US9922280B2 (en) | Encoding and decoding data in two-dimensional symbology | |
CN112084103A (en) | Interface test method, device, equipment and medium | |
US20230131366A1 (en) | Computer-implemented method for completing an image | |
US11138781B1 (en) | Creation of photorealistic 3D avatars using deep neural networks |
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. |