CN105323227A - Verification code image generation method and device and electronic equipment - Google Patents

Verification code image generation method and device and electronic equipment Download PDF

Info

Publication number
CN105323227A
CN105323227A CN201410369603.9A CN201410369603A CN105323227A CN 105323227 A CN105323227 A CN 105323227A CN 201410369603 A CN201410369603 A CN 201410369603A CN 105323227 A CN105323227 A CN 105323227A
Authority
CN
China
Prior art keywords
identifying code
difficulty
rank
ease
picture
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.)
Pending
Application number
CN201410369603.9A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410369603.9A priority Critical patent/CN105323227A/en
Publication of CN105323227A publication Critical patent/CN105323227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a verification code image generation method and device and electronic equipment, which belongs to the field of information safety. The method comprises the steps that the operation information of a client is acquired; according to the operation information, the difficulty level of a verification code corresponding to the client is determined, wherein the difficulty level of the verification code is one of at least two preset verification code difficulty levels; and an verification code image corresponding to the verification code difficulty level is generated. According to the invention, the operation information of the client is acquired; according to the operation information, the difficulty level of the generated verification code image is determined; the verification code image corresponding to the difficulty level is generated; different parts of the verification code image are acquired; the corresponding verification code image is generated according to the difficulty level determined by the operation information of the client; and the safety of the verification code is improved.

Description

Identifying code Picture Generation Method, device and electronic equipment
Technical field
The present invention relates to information security field, particularly a kind of identifying code Picture Generation Method, device and electronic equipment.
Background technology
Under the scene of user's register account number or the scene of execution sensitive operation, adopting identifying code to carry out authentication is the most frequently used a kind of authentication means.
The general procedure adopting identifying code to carry out authentication is: user end to server request identifying code picture; Server draws Key (clue) value at random, and the identifying code picture that then inquiry is corresponding with this Key value in identifying code picture library, feeds back to client by the identifying code picture inquired.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: said method can only provide an identifying code picture to use to client from the multiple identifying code pictures preset, and the fail safe of identifying code is lower.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of identifying code Picture Generation Method and device.Described technical scheme is as follows:
According to the first aspect of the embodiment of the present invention, provide a kind of identifying code Picture Generation Method, described method comprises:
Obtain the operation information of client;
Determine the identifying code difficulty or ease rank corresponding with described client according to described operation information, described identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Generate the identifying code picture corresponding with described identifying code difficulty or ease rank.
According to the second aspect of the embodiment of the present invention, provide a kind of identifying code photograph creation device, described device comprises:
Operation information acquisition module, for obtaining the operation information of client;
Difficulty or ease rank determination module, for determining the identifying code difficulty or ease rank corresponding with described client according to described operation information, described identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Identifying code image generating module, for generating the identifying code picture corresponding with described identifying code difficulty or ease rank.
According to the third aspect of the embodiment of the present invention, provide a kind of identifying code picture to generate electronic equipment, described electronic equipment comprises the identifying code photograph creation device as described in second aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By obtaining the operation information of active client, according to this operation information determination identifying code difficulty or ease rank, generate the identifying code picture corresponding with this difficulty or ease rank; Solve and can only an identifying code picture be provided to use to client from the multiple identifying code pictures preset, the problem that the fail safe of identifying code is lower; Reach the different piece that can obtain identifying code picture, and generate the identifying code picture of corresponding level according to the difficulty or ease rank determined by client operation information, improve the effect of the fail safe of identifying code.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the involved implementation environment of the identifying code Picture Generation Method that each embodiment of the present invention provides;
Fig. 2 is the method flow diagram of the identifying code Picture Generation Method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the identifying code Picture Generation Method that another embodiment of the present invention provides;
Fig. 4 is the method schematic diagram according to background picture parameter acquiring identifying code background picture involved by identifying code Picture Generation Method that another embodiment of the present invention provides;
Fig. 5 is the method schematic diagram that method obscured by the identifying code picture involved by identifying code Picture Generation Method that another embodiment of the present invention provides.
Fig. 6 is the block diagram of the identifying code photograph creation device that one embodiment of the invention provides;
Fig. 7 is the block diagram of the identifying code photograph creation device that another embodiment of the present invention provides;
Fig. 8 is the block diagram of the electronic equipment that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it illustrates the structural representation of the implementation environment involved by identifying code Picture Generation Method that each embodiment of the present invention provides.This implementation environment comprises client 120 and server 140.
Client 120 refers to the equipment with display identifying code ability.This client 120 can think the electronic equipment with display identifying code ability, and this electronic equipment can be intelligent television, smart mobile phone, panel computer, pocket computer on knee and desktop computer etc.
Can be connected by wireless network or cable network between client 120 with server 140.
Server 140 is the servers with identifying code picture generative capacity.Server 140 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.This server 140 is background servers of client 120.
Please refer to Fig. 2, it illustrates the method flow diagram of the identifying code Picture Generation Method that one embodiment of the invention provides.The present embodiment is used for server for this identifying code Picture Generation Method and is illustrated, and the method comprises:
Step 202, obtains the operation information of client;
Step 204, determines the identifying code difficulty or ease rank corresponding with client according to operation information, and this identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Step 206, generates the identifying code picture corresponding with identifying code difficulty or ease rank.
In sum, the identifying code Picture Generation Method that the present embodiment provides, by obtaining the operation information of active client, according to this operation information determination identifying code difficulty or ease rank, generates the identifying code picture corresponding with this difficulty or ease rank; Solve and can only an identifying code picture be provided to use to client from the multiple identifying code pictures preset, the problem that the fail safe of identifying code is lower; Reach the different piece that can obtain identifying code picture, and generate the identifying code picture of corresponding level according to the difficulty or ease rank determined by client operation information, improve the effect of the fail safe of identifying code.
Because the identifying code difficulty generated according to fixing identifying code picture library is lower, register machine easily cracks, therefore, the embodiment of the present invention by obtaining the operation information of active client, determines the identifying code difficulty or ease rank of this identifying code picture generated on the one hand according to this operation information; On the other hand according to identifying code difficulty or ease rank, Fuzzy Processing is carried out to identifying code picture, make the identifying code picture generated meet the network security demand of active client, improve the validation difficulty of the identifying code of generation, prevent being registered machine and crack.Following embodiment will be described in detail the method.
Please refer to Fig. 3, it illustrates the method flow diagram of the identifying code Picture Generation Method that another embodiment of the present invention provides.The present embodiment is applied to server to illustrate for this identifying code Picture Generation Method, and the method comprises:
Step 301, obtains the operation information of client.
When client needs to carry out sensitive operation, user end to server sends identifying code picture and obtains request, and server, after the identifying code picture receiving client transmission obtains request, obtains the operation information of client.
Sensitive operation refers to that account registration operation, password retouching operation, e-Bank payment operation etc. relate to the operation of the network property safety of user.Relevant information when operation information refers to that user performs sensitive operation, includes but not limited to frequency of operation and operating right rank.Frequency of operation refers to that user performs the frequency of sensitive operation within a predetermined period of time, such as, and execution per minute 3 times; Permission Levels when operating right rank refers to that user performs sensitive operation.
Step 302, determines the identifying code difficulty or ease rank corresponding with client according to this operation information, and this identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks.
Keeper can preset the partial parameters of the identifying code picture that server generates, and these parameters can be stored in list structure table as shown in the table by server:
Table one
Server is after getting the operation information of user, and according to this operation information, determine the identifying code difficulty or ease rank that client is corresponding, this operation information can comprise the frequency of operation, operating right rank etc. of client.For convenience of description, below the frequency of operation that is client for this operation information and/or operating right rank are described, but restriction is not formed to the present invention.
The relation of the identifying code difficulty or ease rank that client is corresponding and operation information can be: the height of frequency of operation and the difficulty or ease correlation of identifying code complexity, the height of operating right rank and the difficulty or ease correlation of identifying code complexity.When the frequency of operation that user performs sensitive operation is higher, server thinks it may is that register machine operates, and will promote the identifying code difficulty or ease rank corresponding with this client; When the operating right rank that user performs sensitive operation is higher, in order to ensure fail safe, server also will promote identifying code difficulty or ease rank corresponding to client.
It should be noted that, relation just a kind of possibility form of the identifying code difficulty or ease rank that above-mentioned client is corresponding and operation information, does not form restriction to the present invention.
Operation information determination identifying code difficulty or ease rank according to client can have following three kinds of modes:
One, when operation information only includes frequency of operation, the identifying code difficulty or ease rank corresponding according to frequency of operation inquiring client terminal in the first corresponding relation, the first corresponding relation comprises the frequency of operation of different frequency scope and the corresponding relation between different identifying code difficulty or ease rank.
In above-mentioned first corresponding relation, the frequency of operation of different frequency scope can be as shown in the table from the corresponding relation between different identifying code difficulty or ease rank:
Table two
Frequency of operation Identifying code difficulty level
1 beat/min-3 beats/min 1
4 beats/min-6 beats/min 2
7 beats/min-9 beats/min 3
10 beats/min-12 beats/min 4
When the frequency of operation of client is 1 beat/min-3 beats/min, identifying code difficulty level is 1; When the frequency of operation of client is 4 beats/min-6 beats/min, identifying code difficulty level is 2; When the frequency of operation of client is 7 beats/min-9 beats/min, identifying code difficulty level is 3; When the frequency of operation of client is 10 beats/min-12 beats/min, identifying code difficulty level is 4.
Server, according to the corresponding relation of frequency of operation in table two and identifying code difficulty level, mates the frequency of operation of active client, determines identifying code difficulty level.The frequency of operation of such as active client be 5 times per minute, being verified yard difficulty level according to this frequency of operation coupling is 2.
Two, when operation information only includes operating right rank, the identifying code difficulty or ease rank corresponding according to operating right rank inquiring client terminal in the second corresponding relation, the second corresponding relation comprises the corresponding relation between different operation authority rank from different identifying code difficulty or ease rank.
Corresponding relation in above-mentioned second corresponding relation between different operation authority rank from different identifying code difficulty or ease rank can be as shown in the table:
Table three
Operating right rank Identifying code difficulty or ease rank
1 grade 1
2 grades 2
3 grades 3
4 grades 4
When the operating right rank of client is 1 grade, identifying code difficulty or ease rank is 1; When the operating right rank of client is 2 grades, identifying code difficulty or ease rank is 2; When the operating right rank of client is 3 grades, identifying code difficulty or ease rank is 3; When the operating right rank of client is 4 grades, identifying code difficulty or ease rank is 4.The operating right rank of such as active client is 2 grades, and being verified a yard difficulty or ease rank according to this operating right rank coupling is 2.
Three, when operation information not only comprises frequency of operation but also comprises operating right rank, according to frequency of operation and operating right level calculation score, the identifying code difficulty or ease rank corresponding according to score inquiring client terminal in the 3rd corresponding relation, the 3rd corresponding relation comprises the corresponding relation between different score from different identifying code difficulty or ease rank.
First, the proportion shared in identifying code difficulty or ease rank according to frequency of operation and operating right grade, calculates a score.Such as, when frequency of operation is 4 beats/min-6 beats/min, 30 points must be divided into according to the form calculated rate similar with table two; When operating right rank is 2 grades, can calculate grade scores according to the form similar with table three is 20 points.Finally, according to the formula preset: 0.8* frequency score+0.2* grade scores=28.
In the 3rd corresponding relation, inquire about corresponding identifying code difficulty or ease rank according to this score, the corresponding relation in above-mentioned 3rd corresponding relation between different score from different identifying code difficulty or ease rank can be as shown in the table:
Table four
Score Identifying code difficulty or ease rank
1-25 1
26-50 2
51-75 3
76-100 4
The such as active client proportion shared in identifying code difficulty or ease rank according to frequency of operation and operating right grade calculates be divided into 28, and being verified a yard difficulty or ease rank according to this score is 2.
It should be noted that, above-mentioned three kinds of methods are three kinds of possible implementations, do not form restriction to the present invention.
Step 303, generate first group according to identifying code difficulty or ease rank and generate parameter, this first group at least one obscured in rank, the font classification of identifying code and the font size of identifying code generating parameter and comprise the character length of identifying code, identifying code and identifying code background picture.
According to the list item in table one, the character length of identifying code, identifying code and identifying code background picture obscure rank, the corresponding relation of the font classification of identifying code and the font size of identifying code and identifying code difficulty or ease rank can be as shown in the table:
Table five
Difficulty or ease rank Character length Obscure rank Font size Font classification
1 4 1 No. 6 Class1
2 5 2 No. 7 Type 2
3 6 3 No. 8 Type 3
4 7 4 No. 9 Type 4
Server is according to above-mentioned corresponding relation, with the identifying code difficulty or ease rank determined in step 302, server generates first group and generates parameter, this first group at least one obscured in rank, the font classification of identifying code and the font size of identifying code generating parameter and comprise the character length of identifying code, identifying code and identifying code background picture.
Step 304, in the parameter area preset, stochastic generation second group generates parameter, and second group generates parameter and comprise at least one in the displaying genre parameters of background picture parameter, the identifying code placement location parameter in identifying code background picture, identifying code.
Server is according to the parameter area preset, random acquisition generation second group generates parameter, wherein, background picture parameter is from the Background valut obtained according to list item identifying code background picture style table one, the numbering of a background picture of random acquisition, the placement location parameter of identifying code in identifying code background picture is the coordinate of a random point on the background picture of this acquisition, the displaying genre parameters of identifying code is the display effect of identifying code character, and this effect can be inclination, distortion or overstriking etc.
Step 305, according to background picture parameter acquiring identifying code background picture.
This background picture parameter can comprise background picture numbering and intercept area information etc.Server, according to the background picture numbering in background picture parameter, from Background valut, matches the background picture that numbering is identical, and is taken out by this background picture.Server, again according to the intercepting area information in background picture parameter, intercepts the background picture taken out, and as identifying code background picture, this intercepting area information can for intercepting four point coordinates in region etc.
Please refer to Fig. 4, it illustrates the method schematic diagram according to background picture parameter acquiring identifying code background picture involved by identifying code Picture Generation Method that another embodiment of the present invention provides.For this intercepting area information for intercepting four point coordinates in region, server, according to four point coordinates 41, background picture 42 is determined the region 43 intercepted, is intercepted this region 43 as identifying code background picture.
Step 306, according to the character length of identifying code and/or the font size of the font classification of identifying code and/or identifying code and/or the displaying genre parameters of identifying code, generates identifying code.
Server from meet identifying code font classification fontlib to obtain length consistent with the character length of identifying code, meet the identifying code of the font size of identifying code.The character length of such as identifying code is 4, and identifying code font type is black matrix, and font size is No. 6, be then the fontlib of black matrix from library name, taking out 4 font sizes is that the identifying code character of No. 6 is as identifying code.
Step 307, according to the placement location parameter of identifying code in identifying code background picture, is placed in the upper strata of identifying code background picture by identifying code.
This placement location parameter can be the coordinate information of placement location, and identifying code is placed on the upper strata of identifying code background picture by server according to this coordinate information.Such as, the coordinate information of this placement location is (10px, 5px), this identifying code place position namely distance the right 10px in the identifying code background picture upper left corner, lower 5px place.
Step 308, obscures rank according to identifying code and identifying code background picture, identifying code and identifying code background picture is obscured, generates identifying code picture.
Obscuring rank can be as shown in the table with the corresponding relation obscuring step:
Table six
Identifying code picture according to obscure rank corresponding obscure step, identifying code and identifying code background picture are obscured.As shown in Figure 5, the method schematic diagram of method obscured by the identifying code picture involved by identifying code Picture Generation Method that it illustrates another embodiment of the present invention provides.Obscuring rank is 2, obscures the identifying code picture 51 of rear generation, and obscuring rank is 4, obscures the identifying code picture 52 of rear generation.
The identifying code picture of generation is sent to client by server, and client shows this identifying code picture.
In sum, the identifying code Picture Generation Method that the present embodiment provides, by obtaining the operation information of active client, according to this operation information determination identifying code difficulty or ease rank, generates the identifying code picture corresponding with this difficulty or ease rank; Solve and can only an identifying code picture be provided to use to client from the multiple identifying code pictures preset, the problem that the fail safe of identifying code is lower; Reach the different piece that can obtain identifying code picture, and generate the identifying code picture of corresponding level according to the difficulty or ease rank determined by client operation information, improve the effect of the fail safe of identifying code.
The present embodiment also passes through according to user's operation information determination identifying code difficulty or ease rank, the identifying code of different difficulty is generated according to the difference of difficulty or ease rank, and according to difficulty or ease rank, process is obscured to identifying code background picture and identifying code, reach and represent the different identifying code picture of form according to the operation information generation of user, add fail safe.
Please refer to Fig. 6, it illustrates the block diagram of the identifying code photograph creation device that one embodiment of the invention provides.This identifying code photograph creation device can realize becoming the whole or a part of of server by software, hardware or both combinations.This identifying code photograph creation device, comprising:
Operation information acquisition module 620, for obtaining the operation information of client;
Difficulty or ease rank determination module 640, for determining the identifying code difficulty or ease rank corresponding with client according to operation information, identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Identifying code image generating module 660, for generating the identifying code picture corresponding with identifying code difficulty or ease rank.
In sum, the identifying code photograph creation device that the present embodiment provides, by obtaining the operation information of active client, determining the difficulty or ease rank of the identifying code picture generated, generating the identifying code picture corresponding with this complexity according to this operation information; Solve and can only an identifying code picture be provided to use to client from the multiple identifying code pictures preset, the problem that the fail safe of identifying code is lower; Reach the different piece that can obtain identifying code picture, and generate corresponding identifying code picture according to the difficulty or ease rank determined by client operation information, improve the effect of the fail safe of identifying code.
Please refer to Fig. 7, it illustrates the block diagram of the identifying code photograph creation device that another embodiment of the present invention provides.This identifying code photograph creation device can realize becoming the whole or a part of of server by software, hardware or both combinations.This identifying code photograph creation device, comprising:
Operation information acquisition module 620, for obtaining the operation information of client;
Difficulty or ease rank determination module 640, for determining the identifying code difficulty or ease rank corresponding with described client according to described operation information, described identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Identifying code image generating module 660, for generating the identifying code picture corresponding with described identifying code difficulty or ease rank.
Alternatively, difficulty or ease rank determination module 640, also for according to the frequency of operation of described client and/or operating right rank, determines the identifying code difficulty or ease rank corresponding with described client.
Alternatively, difficulty or ease rank determination module 640, also comprises:
First difficulty or ease level deciding unit 640A, for inquiring about identifying code difficulty or ease rank corresponding to described client in the first corresponding relation according to described frequency of operation, described first corresponding relation comprises the frequency of operation of different frequency scope and the corresponding relation between different identifying code difficulty or ease rank;
Second difficulty or ease level deciding unit 640B, for inquiring about identifying code difficulty or ease rank corresponding to described client in the second corresponding relation according to described operating right rank, described second corresponding relation comprises the corresponding relation between different operation authority rank from different identifying code difficulty or ease rank;
3rd difficulty or ease level deciding unit 640C, for according to described frequency of operation and described operating right level calculation score, in the 3rd corresponding relation, inquire about identifying code difficulty or ease rank corresponding to described client according to described score, described 3rd corresponding relation comprises the corresponding relation between different score from different identifying code difficulty or ease rank.
Alternatively, identifying code image generating module 660, also comprises:
First parameter generating unit 660A, parameter is generated, described first group of at least one obscured in rank, the font classification of identifying code and the font size of identifying code generating parameter and comprise the character length of identifying code, identifying code and identifying code background picture for generating first group according to described identifying code difficulty or ease rank;
Second parameter generating unit 660B, generate parameter for stochastic generation second group in the parameter area preset, described second group of generation parameter comprises at least one in the displaying genre parameters of background picture parameter, the identifying code placement location parameter in identifying code background picture, identifying code;
Identifying code picture generation unit 660C, for generating described identifying code picture according to described first group of generation parameter and described second group of generation parameter.
Alternatively, identifying code picture generation unit 660C, also comprises:
Identifying code background picture obtains subelement 660Ca, for according to described background picture parameter acquiring identifying code background picture;
Identifying code generates subelement 660Cb, for according to the character length of described identifying code and/or the font size of the font classification of described identifying code and/or described identifying code and/or the displaying genre parameters of described identifying code, generates identifying code;
Identifying code places subelement 660Cc, for according to the placement location parameter of described identifying code in identifying code background picture, described identifying code is placed in the upper strata of described background picture;
Subelement 660Cd obscured by identifying code picture, for obscuring rank according to described identifying code and identifying code background picture, described identifying code and described identifying code background picture being obscured, generating described identifying code picture.
In sum, the identifying code photograph creation device that the present embodiment provides, by obtaining the operation information of active client, determining the difficulty or ease rank of the identifying code picture generated, generating the identifying code picture corresponding with this complexity according to this operation information; Solve and can only an identifying code picture be provided to use to client from the multiple identifying code pictures preset, the problem that the fail safe of identifying code is lower; Reach the different piece that can obtain identifying code picture, and generate corresponding identifying code picture according to the difficulty or ease rank determined by client operation information, improve the effect of the fail safe of identifying code.
The present embodiment also passes through according to user's operation information determination identifying code difficulty or ease rank, the identifying code of different difficulty is generated according to the difference of difficulty or ease rank, and according to difficulty or ease rank, process is obscured to identifying code background picture and identifying code, reach and represent the different identifying code picture of form according to the operation information generation of user, add fail safe.
It should be noted that: the identifying code photograph creation device that above-described embodiment provides is when generating identifying code picture, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by server is divided into different functional modules, to complete all or part of function described above.In addition, the identifying code Picture Generation Method that above-described embodiment provides and identifying code photograph creation device embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Fig. 8, it illustrates the structural representation of the server that one embodiment of the invention provides.Described server 800 comprises CPU (CPU) 801, comprises the system storage 804 of random access memory (RAM) 802 and read-only memory (ROM) 803, and the system bus 805 of connected system memory 804 and CPU 801.Described server or terminal 800 also comprise the basic input/output (I/O system) 806 of transmission information between each device of helping in computer, and for the mass-memory unit 807 of storage operation system 813, application program 814 and other program modules 815.
Described basic input/output 806 includes the input equipment 809 of the display 808 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 808 and input equipment 809 are all connected to CPU 801 by the IOC 810 being connected to system bus 805.Described basic input/output 806 can also comprise IOC 810 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, IOC 810 also provides the output equipment outputting to display screen, printer or other types.
Described mass-memory unit 807 is connected to CPU 801 by the bulk memory controller (not shown) being connected to system bus 805.Described mass-memory unit 807 and the computer-readable medium that is associated thereof provide non-volatile memories for server 800.That is, described mass-memory unit 507 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical storage, cassette, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 804 and mass-memory unit 807 can be referred to as memory.
According to various embodiments of the present invention, the remote computer that described server or terminal 800 can also be connected on network by networks such as such as internets runs.Also namely server or terminal 800 can be connected to network 812 by the network interface unit 811 be connected on described system bus 805, in other words, network interface unit 811 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described memory also comprises one or more than one program, and described more than one or one program is stored in memory, and described more than one or one program package is containing the instruction for carrying out the identifying code Picture Generation Method that the embodiment of the present invention provides.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. an identifying code Picture Generation Method, is characterized in that, described method comprises:
Obtain the operation information of client;
Determine the identifying code difficulty or ease rank corresponding with described client according to described operation information, described identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Generate the identifying code picture corresponding with described identifying code difficulty or ease rank.
2. method according to claim 1, is characterized in that, describedly determines the identifying code difficulty or ease rank corresponding with described client according to described operation information, comprising:
According to frequency of operation and/or the operating right rank of described client, determine the identifying code difficulty or ease rank corresponding with described client.
3. method according to claim 2, is characterized in that, the described frequency of operation according to described client and/or operating right rank, determines the identifying code difficulty or ease rank corresponding with described client, comprising:
In the first corresponding relation, inquire about identifying code difficulty or ease rank corresponding to described client according to described frequency of operation, described first corresponding relation comprises the frequency of operation of different frequency scope and the corresponding relation between different identifying code difficulty or ease rank;
Or,
In the second corresponding relation, inquire about identifying code difficulty or ease rank corresponding to described client according to described operating right rank, described second corresponding relation comprises the corresponding relation between different operation authority rank from different identifying code difficulty or ease rank;
Or,
According to described frequency of operation and described operating right level calculation score, in the 3rd corresponding relation, inquire about identifying code difficulty or ease rank corresponding to described client according to described score, described 3rd corresponding relation comprises the corresponding relation between different score from different identifying code difficulty or ease rank.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that the identifying code picture that described generation is corresponding with described identifying code difficulty or ease rank comprises:
Generate first group according to described identifying code difficulty or ease rank and generate parameter, described first group of at least one obscured in rank, the font classification of identifying code and the font size of identifying code generating parameter and comprise the character length of identifying code, identifying code and identifying code background picture;
In the parameter area preset, stochastic generation second group generates parameter, and described second group of generation parameter comprises at least one in the displaying genre parameters of background picture parameter, the identifying code placement location parameter in identifying code background picture, identifying code;
Described identifying code picture is generated according to described first group of generation parameter and described second group of generation parameter.
5. method according to claim 4, is characterized in that, described according to described first group generate parameter and described second group generate parameter generate described identifying code picture, comprising:
According to described background picture parameter acquiring identifying code background picture;
According to the character length of described identifying code and/or the font size of the font classification of described identifying code and/or described identifying code and/or the displaying genre parameters of described identifying code, generate identifying code;
According to the placement location parameter of described identifying code in identifying code background picture, described identifying code is placed in the upper strata of described identifying code background picture;
Obscure rank according to described identifying code and identifying code background picture, described identifying code and described identifying code background picture are obscured, generates described identifying code picture.
6. an identifying code photograph creation device, is characterized in that, described device comprises:
Operation information acquisition module, for obtaining the operation information of client;
Difficulty or ease rank determination module, for determining the identifying code difficulty or ease rank corresponding with described client according to described operation information, described identifying code difficulty or ease rank is one in default at least two identifying code difficulty or ease ranks;
Identifying code image generating module, for generating the identifying code picture corresponding with described identifying code difficulty or ease rank.
7. device according to claim 6, is characterized in that, described difficulty or ease rank determination module, also for according to the frequency of operation of described client and/or operating right rank, determines the identifying code difficulty or ease rank corresponding with described client.
8. device according to claim 7, is characterized in that, described difficulty or ease rank determination module, comprising:
First difficulty or ease level deciding unit, for inquiring about identifying code difficulty or ease rank corresponding to described client in the first corresponding relation according to described frequency of operation, described first corresponding relation comprises the frequency of operation of different frequency scope and the corresponding relation between different identifying code difficulty or ease rank;
Or,
Second difficulty or ease level deciding unit, for inquiring about identifying code difficulty or ease rank corresponding to described client in the second corresponding relation according to described operating right rank, described second corresponding relation comprises the corresponding relation between different operation authority rank from different identifying code difficulty or ease rank;
Or,
3rd difficulty or ease level deciding unit, for according to described frequency of operation and described operating right level calculation score, in the 3rd corresponding relation, inquire about identifying code difficulty or ease rank corresponding to described client according to described score, described 3rd corresponding relation comprises the corresponding relation between different score from different identifying code difficulty or ease rank.
9., according to the arbitrary described device of claim 6 to 8, it is characterized in that, described identifying code image generating module, comprising:
First parameter generating unit, parameter is generated, described first group of at least one obscured in rank, the font classification of identifying code and the font size of identifying code generating parameter and comprise the character length of identifying code, identifying code and identifying code background picture for generating first group according to described identifying code difficulty or ease rank;
Second parameter generating unit, generate parameter for stochastic generation second group in the parameter area preset, described second group of generation parameter comprises at least one in the displaying genre parameters of background picture parameter, the identifying code placement location parameter in identifying code background picture, identifying code;
Identifying code picture generation unit, for generating described identifying code picture according to described first group of generation parameter and described second group of generation parameter.
10. device according to claim 9, is characterized in that, described identifying code picture generation unit, comprising:
Identifying code background picture obtains subelement, for according to described background picture parameter acquiring identifying code background picture;
Identifying code generates subelement, for according to the character length of described identifying code and/or the font size of the font classification of described identifying code and/or described identifying code and/or the displaying genre parameters of described identifying code, generates identifying code;
Identifying code places subelement, for according to the placement location parameter of described identifying code in identifying code background picture, described identifying code is placed in the upper strata of described background picture;
Subelement obscured by identifying code picture, for obscuring rank according to described identifying code and identifying code background picture, described identifying code and described identifying code background picture being obscured, generating described identifying code picture.
11. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprise as arbitrary in claim 6 to 10 as described in identifying code photograph creation device.
CN201410369603.9A 2014-07-30 2014-07-30 Verification code image generation method and device and electronic equipment Pending CN105323227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410369603.9A CN105323227A (en) 2014-07-30 2014-07-30 Verification code image generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410369603.9A CN105323227A (en) 2014-07-30 2014-07-30 Verification code image generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN105323227A true CN105323227A (en) 2016-02-10

Family

ID=55249829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410369603.9A Pending CN105323227A (en) 2014-07-30 2014-07-30 Verification code image generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105323227A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918892A (en) * 2019-02-13 2019-06-21 平安科技(深圳)有限公司 Verification code generation method, device and storage medium, computer equipment
CN110401621A (en) * 2018-04-25 2019-11-01 中国移动通信集团有限公司 A kind of means of defence of sensitive instructions, equipment and storage medium
CN110995940A (en) * 2019-09-30 2020-04-10 厦门快商通科技股份有限公司 Harassment visitor identification method and device, electronic equipment and medium
CN115296828A (en) * 2022-03-28 2022-11-04 广东白云学院 Verification method, verification device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177799A1 (en) * 2008-03-22 2008-07-24 Wilson Kelce S Document integrity verification
CN102255913A (en) * 2011-07-14 2011-11-23 北京百度网讯科技有限公司 Verification-security-level-based audio verification code provision method and equipment
CN102291369A (en) * 2010-06-21 2011-12-21 上海薄荷信息科技有限公司 Control method and corresponding control device for verifying junk information settings
CN102663672A (en) * 2012-05-03 2012-09-12 杭州朗和科技有限公司 Picture verification code generation method and device
CN102768754A (en) * 2012-08-03 2012-11-07 网易(杭州)网络有限公司 Method and device for implementation of picture verification code
CN102831568A (en) * 2012-08-03 2012-12-19 网易(杭州)网络有限公司 Method and device for generating verification code picture
CN102957682A (en) * 2011-08-30 2013-03-06 北京百度网讯科技有限公司 Method and equipment for providing picture verification code based on verification security level

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080177799A1 (en) * 2008-03-22 2008-07-24 Wilson Kelce S Document integrity verification
CN102291369A (en) * 2010-06-21 2011-12-21 上海薄荷信息科技有限公司 Control method and corresponding control device for verifying junk information settings
CN102255913A (en) * 2011-07-14 2011-11-23 北京百度网讯科技有限公司 Verification-security-level-based audio verification code provision method and equipment
CN102957682A (en) * 2011-08-30 2013-03-06 北京百度网讯科技有限公司 Method and equipment for providing picture verification code based on verification security level
CN102663672A (en) * 2012-05-03 2012-09-12 杭州朗和科技有限公司 Picture verification code generation method and device
CN102768754A (en) * 2012-08-03 2012-11-07 网易(杭州)网络有限公司 Method and device for implementation of picture verification code
CN102831568A (en) * 2012-08-03 2012-12-19 网易(杭州)网络有限公司 Method and device for generating verification code picture

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401621A (en) * 2018-04-25 2019-11-01 中国移动通信集团有限公司 A kind of means of defence of sensitive instructions, equipment and storage medium
CN109918892A (en) * 2019-02-13 2019-06-21 平安科技(深圳)有限公司 Verification code generation method, device and storage medium, computer equipment
WO2020164268A1 (en) * 2019-02-13 2020-08-20 平安科技(深圳)有限公司 Verification code generation method and apparatus, and storage medium and computer device
CN109918892B (en) * 2019-02-13 2023-11-21 平安科技(深圳)有限公司 Verification code generation method and device, storage medium and computer equipment
CN110995940A (en) * 2019-09-30 2020-04-10 厦门快商通科技股份有限公司 Harassment visitor identification method and device, electronic equipment and medium
CN115296828A (en) * 2022-03-28 2022-11-04 广东白云学院 Verification method, verification device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI667592B (en) Virtual object allocation method and device based on augmented reality
EP3816918A1 (en) Blockchain-based invoice access method and apparatus, and electronic device
CN103999048B (en) Dynamic configuration file switching based on user's identification
US20200211025A1 (en) Augmented reality-based virtual object allocation method and apparatus
CN111815755A (en) Method and device for determining shielded area of virtual object and terminal equipment
US20220224677A1 (en) User inviting method and apparatus, computer device, and computer-readable storage medium
US20180089462A1 (en) Virtualization input component
US20140270411A1 (en) Verification of User Photo IDs
CN109690549A (en) Carry out tracking object across not Tongfang
CN105323227A (en) Verification code image generation method and device and electronic equipment
JP2014032443A (en) Image processing device, image processing method, and image processing program
US11869112B2 (en) Watermark embedding method and apparatus, terminal, and storage medium
CN106776785B (en) Data writing method and device and data processing system
CN106603545A (en) Verification method based on interaction operation, server, terminal equipment and system
US10949523B2 (en) Method and electronic device for providing image-based CAPTCHA challenge
TWI716385B (en) Authentication method and authentication device
CN114942713A (en) Augmented reality-based display method, apparatus, device, storage medium, and program
CN104967603A (en) Application account security verification method and apparatus
CN104657098A (en) Display System And Display Controll Device
US20230360006A1 (en) Digital and physical asset transfers based on authentication
CN113408745B (en) Task scheduling method, device, equipment and storage medium
CN114500044A (en) Data verification method and device, storage medium and electronic equipment
CN103390143A (en) Display control method and device, and display equipment comprising device
JP2014081729A (en) Information processing apparatus, information processing system, control method, and program
JP7080780B2 (en) Authentication device, authentication method and authentication program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160210