Webpage form automatically filling method and device thereof

An automatic filling and webpage technology, applied in the computer field, can solve problems affecting the stability of webpages, limited operating efficiency, etc., and achieve the effect of increasing burden and high efficiency

Active Publication Date: 2018-10-16
ZHONGKE DINGFU BEIJING TECH DEV
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method and device for automatically filling in webpage forms to solve the problems in the prior art that the automatic filling of webpage forms affects the stability of the webpage and limits the operating 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 form automatically filling method and device thereof
  • Webpage form automatically filling method and device thereof
  • Webpage form automatically filling method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0068] Figure 7 It is a flow chart of step S123 of a webpage form automatic filling method provided by the embodiment of the present application.

[0069] Such as Figure 7 As shown, in an optional implementation manner, step S123 may include the following steps:

[0070] Step S1231, taking the upper left corner of the screen as the coordinate origin, obtaining the offset coordinate value of the anchor point of the upper left corner of the root element relative to the coordinate origin, and using the offset coordinate value to represent the position offset.

[0071] Specifically, a screen coordinate system is established with the upper left corner of the screen as the coordinate origin. That is: define starting from the origin of the coordinates, the right direction is the X-axis direction, and the downward direction is the Y-axis direction, and set the scale of the screen coordinate system according to the number of rows and columns of screen pixels, that is: if ...

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 embodiment of the invention provides a webpage form automatically filling method and a device thereof. The method comprises the following steps of: firstly, establishing a mapping between a form element and business data; then, analyzing a DOM (Document Object Model) tree of the webpage to obtain a position of the form element in a screen; and finally, simulating a mouse event and a keyboard event according to the mapping relationship between the form element and the business data, and assigning the business data to the corresponding form element. According to the technical scheme providedby the invention, through personifying inputting form, automatic filling of the webpage form is realized without having to master and modify the source code of the webpage, and new vulnerabilities introduced due to modifying the source code of the webpage is avoided, so that the operation stability of the webpage is not affected. In addition, according to the technical scheme provided by the invention, the webpage form automatically filling method and a device thereof operates without relying on JavaScript script engine operation embedded in the webpage, the burden of a web browser is not increased, and the operating efficiency is not limited by the performance of the browser. Thus, compared to the prior art, the automatic filling form is higher in efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for automatically filling in a webpage form. Background technique [0002] A web form is an important element in an Internet web page, used to collect user input. In a large number of application scenarios of electronic information entry (such as electronic tax declaration, electronic household registration, electronic form entry, etc.), the web form records the information entered by the user, and submits the information entered by the user to the server when the user requests to submit the form. Realize the interaction and storage of form data. [0003] In application scenarios that require a large number of forms to be filled out, in order to reduce the workload of manually filling out forms and improve the speed of form filling, existing technologies provide some automatic form filling based on Internet webpage DOM (Document Object Model: Docu...

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): G06F17/24G06F17/30
CPCG06F40/18G06F40/174Y02D10/00
Inventor 赵志强于剑池张中辉李琨
Owner ZHONGKE DINGFU BEIJING TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products