Cross-domain element positioning and tree generating method for browser RPA system

A browser, cross-domain technology, applied in the direction of instruments, special data processing applications, network data query, etc., can solve problems such as inability to obtain data, and JavaScript is not allowed to obtain.

Active Publication Date: 2021-09-21
HUNAN UNIV +1
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005]However, for webpages imported across domains, due to the restrictions of the same-origin policy, browsers do not allow JavaScript to obtain the document and DOM objects of cross-domain pages, so they cannot be obtained Data needed for automated operations

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
  • Cross-domain element positioning and tree generating method for browser RPA system
  • Cross-domain element positioning and tree generating method for browser RPA system
  • Cross-domain element positioning and tree generating method for browser RPA system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0034] The specific implementation is as follows: figure 2 It is a schematic flow chart of an embodiment of the present invention; the specific number of frames in the webpage depends on the specific circumstances of the webpage, such as image 3 It is a schematic diagram of the relationship between the process designer, the plug-in background background.js, the webpage and the webpage frame in the embodiment of the present invention. image 3 For the sake of illustration, it is assumed that there are three. In order to locate the cross-domain elements in the webpage and generate the DOM tree of the webpage containing cross-domain pages, the background.js in the plug-in is used as the background of the webpage and injected scripts. Communication, all frames can also communicate with the background, the background can communicate with the process designer and script at the same time, the background mainly plays the role of storing, integrating and forwarding messages.

[0035...

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 cross-domain element positioning and tree generating method for a browser RPA system, and the method comprises the following steps: loading a plug-in by a browser, injecting a script into a webpage by the plug-in, and performing depth-first traversal to obtain all frames of the current page; enabling the process designer to send instructions to the background, enabling the background to judge the types of the instructions, and adopting different methods to send different instructions to corresponding frames; enabling the script injected with the frame to receive an instruction sent by a background, judging the type of the instruction, and performing corresponding information integration operation on different instructions; wherein the process designer end is used for receiving the data processed by the background, analyzing the data in the json format and displaying the data to a user for editing. According to the method, the function that the browser RPA system locates cross-domain webpage elements is achieved, and generation of the webpage DOM tree containing the cross-domain webpage introduced by iframe is also achieved.

Description

technical field [0001] The invention belongs to the field of electronic digital processing, and in particular relates to a cross-domain element positioning and tree generation method used in a browser RPA system. Background technique [0002] In order to reduce labor costs and improve the efficiency of enterprises and factories, simple tasks are now being handed over to robots. Therefore, RPA (Robotic Process Automation) technology is very important. In RPA technology, through the process designer provided by the software, the process can be edited in advance, and the robot can be operated to complete some computer operations, such as mouse movement, mouse click, form information filling, button click, keyboard input data, import form data and other basic operations. Classify these operations and make them into components of the process designer, and users can edit the process by controlling the order of the components. DOM (Document Object Model, Document Object Model), is...

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): G06F16/953G06F16/9538
CPCG06F16/9538G06F16/953
Inventor 秦云川李肯立易仁可杨圣洪蔡宇辉吴帆
Owner HUNAN UNIV
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