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

Page element positioning method and device

A technology of page element and positioning method, which is applied in the field of World Wide Web (World Wide Web), can solve the problems of reduced efficiency of page element positioning, lengthy path of page elements, etc., to achieve the effects of improving efficiency, avoiding acquisition failure, and improving reliability

Inactive Publication Date: 2015-08-26
ALIBABA GRP HLDG LTD
View PDF11 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since the page element is positioned by traversing the DOM tree of the page step by step, the obtained path of the page element is the entire path from the page element to the root node of the DOM tree, so the path of the page element is very lengthy , resulting in a reduction in the efficiency of page element positioning

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
  • Page element positioning method and device
  • Page element positioning method and device
  • Page element positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0053] It should be noted that the terminals involved in the embodiments of the present application may include, but are not limited to, mobile phones, personal digital assistants (Personal Digital Assistant, PDA), wireless handheld devices, tablet computers (Tablet Computer), personal computers (Personal Computer, PC ), MP3 player, MP4 player, etc.

[0054]...

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 provides a page element positioning method and device. According to the embodiment, a to-be-positioned page element in a target page is determined, and the path of the page element is acquired according to at least one of the generation mode of the ID (identity) attribute, the user-defined attribute and uniqueness of the CLASS attribute of the page element, so that the page element is positioned. A DOM (document object model) tree of the target page is not required to be traversed step by step, and the path of the page element can be obtained, so that the problem that the acquired path of the page element is too long due to the fact that the page element is positioned through step-by-step traversal of the DOM tree of the page in the prior art can be solved, and the page element positioning efficiency is improved.

Description

【Technical field】 [0001] This application relates to World Wide Web (Web) page processing technology, in particular to a method and device for locating page elements. 【Background technique】 [0002] With the development of communication technology, the terminal integrates more and more functions, so that the system function list of the terminal includes more and more corresponding applications, for example, the applications installed in the computer, the third-party smartphone Installed applications (Application, APP), etc. Some application programs involve some pages, and these pages are web pages (Web Pages) written based on HyperText Markup Language (HTML), and may also be referred to as Web pages. A web page can include a display block composed of one or more page tags, that is, HyperText Markup Language (HTML) tags, called page elements, such as text, labels, hyperlinks, buttons, input boxes, dropdown boxes etc. In some cases, it is necessary to locate a specified pa...

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
Inventor 蔡长霞柯微
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products