Supercharge Your Innovation With Domain-Expert AI Agents!

Node processing method and device, storage medium and processor

A node processing and storage medium technology, applied in the computer field, can solve the problems of consuming system resources and reducing system performance, and achieve the effect of improving system performance and reducing resource consumption

Inactive Publication Date: 2019-04-05
BEIJING GRIDSUM TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above methods cannot fundamentally solve the problem. When there are too many nodes at the same level, system resources will still be seriously consumed, thereby reducing system performance.

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
  • Node processing method and device, storage medium and processor
  • Node processing method and device, storage medium and processor
  • Node processing method and device, storage medium and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0046] An embodiment of the present invention discloses a node processing method, such as figure 1 As shown, the method includes the following steps:

[0047] Step 101: Initialize the visible area, and load M nodes of the current level;

[0048] Wherein, the visible area is an area for displaying the tree control, specifically, the initialization of the visible area can be realized by initializing the DIV element of HTML. After t...

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 node processing method and device, a storage medium and a processor, and the method comprises the steps: initializing a visible region, and loading M nodes of a current level; Wherein the visible area is an area used for displaying a tree control; Judging whether a to-be-loaded node exists in the current hierarchy or not; If yes, adding a marked node to the tail of the node of the current level; When a loading condition is met, judging whether the mark node exists in the visible region or not; If yes, loading N nodes which belong to the same level as the marked nodes;Therefore, the on-demand loading of the nodes can be realized based on the marked nodes, and all the child nodes belonging to the same father node do not need to be loaded at one time, so that the resource consumption is reduced, and the system performance is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically to a node processing method and device, a storage medium, and a processor. Background technique [0002] At present, the display of many interface data is realized by using tree control, such as using tree control to display browser data with hierarchical relationship. Before the tree control displays data, it needs to load the data first, and the traditional loading method is to load all nodes at once. With the increase of data volume, when the number of nodes in a tree control reaches tens of thousands or more , the traditional loading method will seriously consume resources, resulting in page freezes and other phenomena. [0003] In order to solve the above problems, in the prior art, the tree control adopts the method of lazy loading to realize the loading of nodes. Specifically, all parent nodes are loaded first, and when the child nodes under the parent node...

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): G06F9/445G06F16/957
CPCG06F9/44526
Inventor 谢基颜
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More