Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Webpage verification code element identification method

An identification method and verification code technology, which are applied in network data retrieval, web data retrieval using information identifiers, and special data processing applications, etc., can solve the problems of inability to accurately locate picture verification codes, reducing identification efficiency, and complex identification process, etc. Achieve the effect of narrowing the search range and improving search efficiency

Inactive Publication Date: 2017-02-22
成都知道创宇信息技术有限公司
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Because all the images in the web pages of the website are obtained, and the recognition process is too complicated, the obtained graphics need to be expressed numerically first, that is, a series of numerical tables will be generated through a certain algorithm, so in the case of a large number of websites or too many pictures on a single website In this case, the picture verification code cannot be accurately located, but all pictures on the website need to be filtered one by one, which will reduce the recognition 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
  • Webpage verification code element identification method
  • Webpage verification code element identification method
  • Webpage verification code element identification method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. The method of the present invention searches keywords and checks the adjacent relationship between labels, and the verification code display place usually has the rule of verification code input box. When the mouse clicks to refresh the verification code (onclick event), it is determined that the picture is Captcha image. According to the label perspective: keyword→input→img→onclick event, confirm the corresponding function of the onclick event, so as to determine whether it is an image verification code. The details are as follows:

[0028] 1) Obtain the source code of the website page through a web crawler, check whether there is a label in the source code of the page, and if it exists, go to the next step;

[0029] 2) In the search label: "CAPTCHA", "Verification Code" and other characteristic keywords, if they exist, go to t...

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 webpage verification code element identification method, which comprises the steps of obtaining website page source code through a web crawler, andchecking if the page source code has a <form> tag; retrieving a characteristic keyword in the <form> tag; searching a tag <input> adjacent to the characteristic keyword, and determining if the tag "type" attribute is "text"; taking the <input> tag as a reference, and searching the tag recursively to upward and downward adjacent tags in order; retrieving onclick event in the tag, and extracting onclick event attribute value; coupling create_code () function content in javascript code, adding a string of digital random value to a tag src attribute value to submit in a parameter form; retrieving onclick event content, coupling javascript function content to generate a random value, a date at present, and a time stamp at present; and simulating and executing the onclick event, hereby determining if the img content is the picture identifying code. By search the tags adjacent to the characteristic keyword, the object retrieval scope is greatly reduced, and searching efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of web page verification code identification, in particular to a method for identifying verification code elements in a web page. Background technique [0002] Verification code technology is usually applied to website pages involving login and input in WEB systems. The general method of realizing the verification code technology is: display a verification code image on the website page, let the user visually recognize the verification code, and input the verification code into a form to submit to the website for verification. Verification codes are random and difficult to be recognized by automatic tools. When a user visits a website page using verification code technology, he will get a randomly generated different verification code every time he visits the website page. These verification codes can be recognized manually, but it is difficult to be recognized by automatic recognition tools. [0003] The ...

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
IPC IPC(8): G06F17/30
CPCG06F16/955G06F16/9537
Inventor 郭宝军王帅
Owner 成都知道创宇信息技术有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More