Data processing method and device for setting up tree diagram

A technology of data processing and tree diagram, applied in the direction of digital data processing, special data processing applications, other database indexes, etc., can solve the problems of no solution, increased back-end complexity, and increased data transmission volume. , to achieve the effect of convenient layout, easy viewing, and avoiding data transmission

Pending Publication Date: 2020-06-26
JINGDONG TECH HLDG CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] 1) The complexity of the backend increases, and the backend needs to cache the results of each query and extended query, so that the backend has a complete graph;
[0011] 2) The amount of data transmission increases, whether it is query or extended query, all data needs to be sent to the front end
[0012] Aiming at many technical problems existing in related technologies, effective solutions have not yet been provided

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
  • Data processing method and device for setting up tree diagram
  • Data processing method and device for setting up tree diagram
  • Data processing method and device for setting up tree diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0062] figure 1A data processing method for building a tree diagram provided in the embodiment of the present application includes steps S1 to S4 as follows:

[0063] Step S1. Determine the first child node corresponding to the first parent node in the data tree to be processed.

[0064] Specifically, in the first child node correspon...

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 relates to a data processing method and device for setting up a tree diagram. The method comprises the steps: determining a first child node corresponding to a first father node in a to-be-processed data tree; obtaining the number of nodes of the first child node; when the number of the nodes is greater than a preset upper limit threshold value, determining arrangement information for arranging the first child nodes in at least two rows according to the upper limit threshold value and the number of the nodes; and generating a tree diagram corresponding to the to-be-processed datatree according to the arrangement information. According to the technical scheme provided by the embodiment of the invention, the sub-nodes can be dynamically adjusted into a plurality of rows and aplurality of columns according to the number of the sub-nodes, so that the layout of the tree diagram cannot be supported to be very high or very wide, and the content of the tree layout is easier tocheck; meanwhile, according to the method, the tree diagram can be reasonably arranged without back-end support, so that the tree diagram is convenient to check, and therefore, data transmission witha back end due to the fact that related data of the tree diagram needs to be cached can be avoided.

Description

technical field [0001] The present application relates to the technical field of computer software, in particular to a data processing method and device for building a tree diagram. Background technique [0002] Graph visualization (Graph Visualization) is the theory, method and technology of constructing, drawing and displaying a subgraph of a graph database using visualization technology. The number of drawn nodes and edges can reach tens of thousands to hundreds of thousands. Users sometimes need to visualize graph data as a tree structure. The main methods are as follows: [0003] (1) Based on the front-end framework (such as D3.js, ECharts, etc.) [0004] Take advantage of the framework's tree layout plugin. [0005] (2) After the calculation is completed by the back-end technology, it returns to the front-end (such as Java, Scala, etc.) [0006] The backend caches the query results and incremental expansion results of the graph, and uses the backend technology to ar...

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): G06F8/38G06F16/901G06F16/903
CPCG06F8/38G06F16/9027G06F16/9024G06F16/903
Inventor 张文军
Owner JINGDONG TECH HLDG 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