Click verification code identification method and device, and user terminal

An identification method and verification code technology, applied in the field of verification code testing, can solve the problems of identification failure, low accuracy, complex algorithm, etc., and achieve the effects of convenient security testing, improved accuracy, and high identification efficiency.

CN108182437AActive Publication Date: 2018-06-19BEIJING JINTI TECH CO LTD
4 Cites 24 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2018-06-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a click verification code identification method and a device, and a user terminal. The method comprises the following steps of in a verification code picture, acquiring the positioning information of all optional characters and acquiring a minimum screenshot containing the optional character in the verification code picture; carrying out character identification on each minimum screenshot and acquiring a character probability matrix; and according to the character probability matrix and the positioning information, determining a coordinate position corresponding to a target character in the optional characters. By using the click verification code identification method, an algorithm is simple, an operation period is short, identification efficiency is high, verification code identification accuracy is greatly increased, the method is convenient and practical, and great convenience is brought for a test engineer to test the safety of a website click verification mode.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of verification code testing, and more specifically, to a method, device and user terminal for point-and-click verification code recognition. Background technique

[0002] Verification code (CAPTCHA) is commonly used in web login interface. A well-designed verification code can be recognized manually, but it is difficult to be recognized by automatic tools, so as to protect the website from malicious use. Compared with the traditional input-type verification code, the point-and-click verification code has the advantages of high security and user-friendliness, and gradually replaces the traditional verification code and becomes the mainstream method.

[0003] In order to effectively block malicious access, many websites or clients have deployed corresponding verification code technology. Before the website goes online, the test engineer will identify the verification code of the website or client to...

Examples

Embodiment 1

[0056] refer to figure 2 , the first embodiment of the present invention provides a verification code recognition method, including:

[0057] Step S100, in the verification code picture, obtain the positioning information of all optional characters, and obtain the smallest screenshot containing the optional characters in the verification code picture;

[0058] As mentioned above, what needs to be understood is that point-and-click verification is also called point-touch verification, and its working principle is as follows: first, the server randomly generates N (any number, usually 5) Chinese characters (or other characters, symbols), and uses the graphic library Generate images of Chinese characters and add noise backgrounds to the images. Then randomly generate 5 locations in a large background image, and fuse 5 Chinese characters with the background image. Randomly select three Chinese characters from the five Chinese characters and store the corresponding positions in ...

Embodiment 2

[0071] refer to image 3 , the second embodiment of the present invention provides a verification code identification method, based on the above figure 2 In the first embodiment shown, the step S300 includes:

[0072] Step S310, determining the target character in the optional characters;

[0073] As mentioned above, in the security verification technology of clicking the verification code, generally a plurality of different characters are provided, and then the system prompts to select some of the characters. For example, there are 6 optional characters in the verification code picture on the website, which are "Water Margin Westward Journey to the Red Mansion", and the website prompts that the target characters in it are water, west and red.

[0074] As mentioned above, in this embodiment, it is determined which of the plurality of optional characters prompted by the website or the system is the target character. Several of the optional characters can be selected, or the...

Embodiment 3

[0081] refer to Figure 4 , the third embodiment of the present invention provides a verification code identification method, based on the above image 3 In the second embodiment shown, step S330 includes:

[0082] Step S331, extracting the maximum probability value corresponding to each minimum screenshot in the target probability matrix area;

[0083] As mentioned above, in the target probability matrix, each smallest screenshot corresponds to a large number of results with different probabilities, and the results appear in the form of probability data. Select the maximum probability value among different probability values, which is the system judges that it is the closest to this implementation. The character of the smallest screenshot taken in the example. Through the determination of the maximum probability value, the corresponding relationship between the target character and the positioning position of the character in the verification code picture is determined.

...