Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for realizing automatic identification of sliding verification code based on control of webpage element attributes

A technology for automatic identification of web page elements, applied in the computer field, can solve problems such as deviation, unfixed color difference, and low recognition rate, and achieve the effects of improving recognition accuracy and efficiency, improving efficiency, and simplifying recognition methods

Pending Publication Date: 2022-01-07
北京航天云路有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing sliding verification code identification methods are usually: first, use a deep learning model for identification, which requires a high amount of calculation and complex technical implementation; For the complex color of the picture and the recognition of different pictures, because the color difference of different pictures is often not fixed or deviates within a certain range, it cannot accurately identify the stitching position of the slider image, the recognition rate is not high, and the efficiency is low.
Therefore, the use of existing image recognition technology will lead to login failure during the automated login process, which cannot meet the requirements of efficient identification. Based on the above reasons, it is necessary to use control page element attributes to realize automatic identification of sliding verification codes and improve the efficiency of automated test logins. efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing automatic identification of sliding verification code based on control of webpage element attributes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0021] Such as figure 1 As shown, according to the embodiment of the present invention, the method for realizing the automatic recognition of the sliding verification code based on the attribute of the control web page element includes the following steps:

[0022] S1 Hidden slider picture 2, intercepted background picture 1: After starting the browser driver based on selenium to access the login page, locate the position of the overall picture element of the sliding verification code, use J...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing automatic identification of a sliding verification code based on control of webpage element attributes. The method comprises the following steps: S1, hiding a second sliding block picture, and intercepting a first background picture; S2, modifying element color attributes of the first background picture, and intercepting a second sliding block picture; S3, performing full-image circular scanning, comparing the color difference value of the first picture and the second picture, and judging whether the color difference value is equal to a preset color difference value; and S4, outputting a transverse movement distance value distance, and dragging the sliding blocks for splicing. The problems that an existing sliding verification code recognition technology is inaccurate in recognition, complex in recognition process and low in recognition efficiency under complex conditions are solved, so the purposes that the sliding block verification code is automatically recognized, the recognition method is simplified, the recognition accuracy and efficiency are improved, and the automatic test login efficiency is improved are achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for realizing automatic identification of sliding verification codes based on controlling the attributes of web page elements. Background technique [0002] Sliding verification codes are more difficult to identify than graphical verification codes. Sliding verification codes need to be dragged and combined to complete the verification. The main verification method is to drag the sliders to crack the image. If the image is completely stitched together, the verification is successful, that is, the form is successfully submitted, otherwise it needs to be re-validated. [0003] The existing sliding verification code identification methods are usually: first, use a deep learning model for identification, which requires a high amount of calculation and complex technical implementation; For the complex color of the picture and the recognition of different pictures, because ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/36G06T7/90
CPCG06F21/36G06T7/90
Inventor 孔旭峰朱泽单酉李凯丽
Owner 北京航天云路有限公司