Method and device of loading DOM (Document Object Model) node data, computer equipment and storage medium

A node data, node technology, applied in the Internet field, can solve the problems of slow page loading, waste of resources, consumption of resources, etc.
CN108595652AInactive Publication Date: 2018-09-28PING AN TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
PING AN TECH (SHENZHEN) CO LTD
Publication Date
2018-09-28
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a method and a device of loading DOM (Document Object Model) node data, computer equipment and a storage medium. Excessive consumption of network resources is avoided through caching DOM nodes of an already operated page area step by step. The DOM nodes which are in the page part area operated by a user and need to load the data are cached, the DOM nodes do not need to be re-found from a DOM tree structure in repeated operations, DOM nodes in the DOM tree structure are more, and resource waste caused by finding the DOM nodes, which correspond to the area, from the more DOM nodes is avoided. In addition, a case of page blocking caused by resource waste due to one-time caching of the DOM nodes of an entire page is also avoided.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of the Internet, in particular to a method, a device, a computer device and a storage medium for loading DOM node data. Background technique

[0002] For any page, its structure can be drawn as a DOM (Document Object Model, Document Object Model) tree structure. When loading a page, first load its DOM tree structure, and then find the DOM node in the DOM tree structure that needs to load data, and find the DOM After the node, load the data corresponding to the DOM node, and finally add the data corresponding to the DOM node to the page, and then display the data on the page.

[0003] There are generally two existing methods for loading data of DOM nodes. The first method is to search for all DOM nodes that need to add data to the page at one time when starting to load the page, and then obtain the data of the DOM nodes one by one. When the data is added to the DOM After the node is displayed on the page, th...

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