Anti-cracking verification code realization method, generation method and device
An implementation method and verification code technology, applied in the field of generation method and device, anti-cracking verification code implementation method, can solve the problems of verification code not having a defensive function and code worker failure, so as to improve the resistance to manual cracking and reduce work The effect of efficiency and willingness to code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0025] figure 2 It is a flow chart of a method for implementing a crack-resistant verification code provided in the first embodiment of the present invention. like figure 2 As shown, the anti-cracking verification code implementation method of this embodiment includes the following steps:
[0026] Step 21, the server randomly generates foreground characters according to a first preset generation rule.
[0027] In this step, the foreground character refers to the information that needs to be identified by the user contained in the verification code picture sent by the server to the client. The user identifies the foreground character and inputs the recognized foreground character into the client. The input foreground characters are sent to the server for verification. If the server verifies that the foreground characters sent by the client are consistent with the foreground characters in the issued verification code picture, the client is allowed to log in to the server and...
no. 2 example
[0041] image 3 It is a flowchart of a method for implementing a crack-resistant verification code provided in the second embodiment of the present invention. like image 3 As shown, the anti-cracking verification code implementation method of this embodiment includes the following steps:
[0042] Step 31, the server randomly generates foreground characters according to a first preset generation rule.
[0043] For step 31, reference may be made to the corresponding steps in the first embodiment, which will not be repeated here.
[0044] Step 32: Randomly generate a background pattern composed of repeating pattern elements according to a second preset generation rule.
[0045] The second preset generation rule may include the generation rule of the background pattern in terms of the type, color, combination, layout, twisting angle, etc. of the constituent elements.
[0046] Specifically, for example: the background pattern may include repeated first stripes and second strip...
no. 3 example
[0060] Figure 5 It is a schematic structural diagram of an apparatus for realizing an anti-cracking verification code provided by the third embodiment of the present invention. The device for implementing a crack-resistant verification code provided in this embodiment can be used to implement the method for implementing a crack-resistant verification code in the first embodiment. like Figure 5 As shown, the anti-cracking verification code implementation device 50 includes: a foreground character generation module 51 , a background pattern generation module 52 , a first verification code picture generation and storage module 53 , and a verification code picture delivery module 54 .
[0061] Wherein, the foreground character generation module 51 is used for randomly generating foreground characters according to a first preset generation rule.
[0062] The background pattern generation module 52 is used for randomly generating a background pattern composed of repeated pattern...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


