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

Method for solving tree control node quantity restriction

A technology of the number of nodes and node data, applied in the direction of program control device, user interface execution, etc., can solve problems such as stuck, unable to load data, etc., to solve the stuck, reduce consumption, and improve the effect of effective utilization.

Active Publication Date: 2016-04-06
XIAMEN YAXON NETWORKS CO LTD
View PDF9 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method to solve the limitation of the number of tree control nodes, and solve the problem that the tree control cannot load data from the background and the front-end display is stuck when the number of nodes is large

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The tree control in the present invention has two sub-functions of background service and front-end display, the background is responsible for providing node data for the front-end display, and the front-end is responsible for receiving and displaying node data from the background; each node of the tree control has an ID value, and this node ID serves as A unique identifier for a tree node.

[0013] The present invention is a kind of method for solving the limitation of the number of tree control nodes, specifically comprising the following steps:

[0014] Step 1. When the software interface is just displayed, the tree control only displays the root node. When the user clicks on the root node, obtain all the lower-level child node data from the system background in an asynchronous manner, load the child node data in batches, and then load the data to The child node data of the node is cached in the local array, and finally, according to the nodes currently in the visibl...

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 method for solving tree control node quantity restriction. Node data is asynchronously loaded in batches to improve a tree control node data loading success rate and reduce a series of faults caused by the data loading failure of the tree control node data; the node data of a visible region is dynamically loaded, the node data of an invisible region can be removed, so that consumption on the memory of an operating system, a CPU (Central Processing Unit) and the like by the tree control can be effectively lowered, the resource use ratio of the operating system is improved, and the problem that an interface is stuck and the like since the tree control excessively consumes the resources of the operating system is solved so as to fundamentally break through the node quantity restriction by the tree control.

Description

technical field [0001] The invention relates to a method for solving the limitation on the number of tree control nodes. Background technique [0002] In the design of computer software interface, tree control is often used to display some data with hierarchical relationship. The traditional tree control adopts synchronous loading, and loads all node data at one time for display. As the amount of system data gradually increases, when the number of nodes in a tree control reaches tens of thousands or more, the traditional tree control will encounter data that cannot be successfully loaded from the background, and too many data nodes will cause the interface to freeze or even crash the entire interface. And other issues. However, the bottleneck of the number of tree control nodes seriously restricts the development of software interface design. Contents of the invention [0003] The purpose of the present invention is to provide a method for solving the limitation of the ...

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/44
CPCG06F9/451
Inventor 吴超民刘志芳谢燕玲崔跃
Owner XIAMEN YAXON NETWORKS CO 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