Tree-structure data comparison displaying method and device

A tree structure, data comparison technology, applied in the field of data processing, can solve the problems of unintuitive display of comparison results and low efficiency.

Active Publication Date: 2014-04-30
DATANG MOBILE COMM EQUIP CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a display method and device for tree structure data comparison to solve

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
  • Tree-structure data comparison displaying method and device
  • Tree-structure data comparison displaying method and device
  • Tree-structure data comparison displaying method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] refer to figure 2 , which shows a flow chart of a display method for tree structure data comparison in Embodiment 1 of the present invention, the method may specifically include the following steps:

[0094] Step 201, acquiring each tree structure data to be compared.

[0095] In the embodiment of the present invention, a plurality of tree structure data can be compared and displayed. First, each tree structure data to be compared can be obtained, wherein each tree structure data to be compared can include the identification of the data node and the data node at which level.

[0096] Step 202, obtaining the corresponding data nodes in the current level of each tree structure data to be compared, and merging the data nodes with equal identifiers into the same data node.

[0097] After obtaining each tree structure data to be compared, the data nodes in each tree structure data to be compared can be processed, so as to integrate and display the data nodes in each tree ...

Embodiment 2

[0103] image 3 It is a flow chart of a method for displaying tree structure data comparison in Embodiment 2 of the present invention, and the method may specifically include the following steps:

[0104]Step 301, acquiring each tree structure data to be compared.

[0105] The embodiment of the present invention can compare and display multiple tree structure data, and each tree structure data to be compared can include the identifier of the data node and the level at which the data node is located.

[0106] Step 302, sort the identifications of the data nodes of each current level respectively according to preset rules.

[0107] In the embodiment of the present invention, initially, the first level of each tree structure data to be compared can be determined as the current level, and then the identifiers of the data nodes of the current level of each tree structure data to be compared are sorted respectively according to preset rules.

[0108] Wherein, the preset rule may b...

Embodiment 3

[0183] Figure 5 It is a structural block diagram of a tree structure data comparison display device according to Embodiment 3 of the present invention, and the device may specifically include the following modules:

[0184] The data acquisition module 501 is used to acquire each tree structure data to be compared, the tree structure data to be compared includes the identification of the data node and the level at which the data node is located;

[0185] The node merging module 502 is used to obtain the corresponding data nodes in the current level of each tree structure data to be compared, and merge the data nodes with equal identifiers into the same data node; the identifier of the merged data nodes is the Equal identifiers, the level of the merged data node is the level of the data nodes with equal identifiers;

[0186] A node determination module 503, configured to determine the data node to be displayed according to the merged result;

[0187] The node display module 5...

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 tree-structure data comparison displaying method and device and solves the problem that an existing method is low in comparison rate and indirect in comparison result displaying. The tree-structure data comparison displaying method includes: acquiring to-be-compared tree-structure data which include identifications of data nodes and levels of the data nodes; acquiring corresponding data nodes, in the current level, of the to-be-compared tree-structure data and combining the data nodes with identical identifications into a same data node, so that the identifications of the combined data nodes are identical, and the level of the combined data nodes is the level of the data nodes with the identical identifications; determining to-be-displayed data nodes according to combination results and displaying information of the to-be-displayed data nodes. By the aid of the tree-structure data comparison displaying method and device, the data nodes of the to-be-compared tree-structure data can be combined for displaying, so that displaying is more direct, and comparison of the to-be-compared tree-structure structure is simpler.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a display method and device for tree structure data comparison. Background technique [0002] The tree structure refers to the structure in which data elements (called nodes in the tree) are organized according to the branch relationship, and there is a "one-to-many" tree relationship between the data elements. Tree structure is an important kind of nonlinear data structure, which exists widely in the objective world. For example, the genealogy of human society and the relationship of various social organizations can be represented by tree structure. [0003] Since the tree structure can visually display the hierarchical relationship, many data are stored in the tree structure. When the data stored in the tree structure changes, the difference between the two tree structure data can be obtained by comparing the tree structure data before and after the change. [0004] A...

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
CPCG06F16/22
Inventor 吴天文
Owner DATANG MOBILE COMM EQUIP CO LTD
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