Method and device for loading tree node data

A technology of loading device and tree node, applied in the Internet field, can solve the problem of low data loading efficiency of tree nodes, and achieve the effect of improving loading efficiency

Active Publication Date: 2017-01-18
NEUSOFT CORP
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the first way, because the full loading strategy loads all tree node data, when the amount of tree node data is too large, the loading efficiency of tree node data is low. In the second way, because only when the user clicks on a tree node, Only when the child node data of the tree node is loaded, when the data volume of the child node is large, the front end will frequently send data requests to the background server, and the loading efficiency of the tree node data is low

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
  • Method and device for loading tree node data
  • Method and device for loading tree node data
  • Method and device for loading tree node data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0021] figure 1 It is a schematic flowchart of a method for loading tree node data proposed by an embodiment of the present invention. The method for loading tree node data is configured as an example for loading tree node data.

[0022] see figure 1 , the loading method of the tree node data includes:

[0023] S11: Obtain the node identifier of the tree node where the...

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 method and a device for loading the tree node data. The method comprises steps that a node identifier of a tree node on which the to-be-loaded tree node data is stored is acquired; whether the node identifier is in a preset data loading file is determined, and a determination result is acquired; the loading strategy corresponding to the determination result is called to load the tree node data.. Through the method, a hybrid loading strategy including full loading and lazy loading can be adopted, a loading mode of the tree node data can be dynamically determined, and loading efficiency of the tree node data is effectively improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for loading tree node data. Background technique [0002] In the process of accessing the Internet, users often have the need to view a large amount of data. For example, for real-time follow-up of project research and development, it is necessary to view a large amount of summarized content about each process. In related technologies, the tree control invokes the full loading strategy to load all tree node data, that is, adopts synchronous loading, and loads all tree node data at one time, or, when the user clicks on a tree node, the tree control can invoke the lazy loading strategy to load the data The child node data of the tree node. [0003] In the first way, because the full loading strategy loads all tree node data, when the amount of tree node data is too large, the loading efficiency of tree node data is low. In the second way, because only when...

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): H04L29/08
CPCH04L67/306H04L67/5681H04L67/5682
Inventor 谢新强
Owner NEUSOFT CORP
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