[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113282795B - Data structure diagram generation and updating method and device, electronic equipment and storage medium - Google Patents

Data structure diagram generation and updating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113282795B
CN113282795B CN202110722866.3A CN202110722866A CN113282795B CN 113282795 B CN113282795 B CN 113282795B CN 202110722866 A CN202110722866 A CN 202110722866A CN 113282795 B CN113282795 B CN 113282795B
Authority
CN
China
Prior art keywords
data
structure diagram
target
target object
json format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110722866.3A
Other languages
Chinese (zh)
Other versions
CN113282795A (en
Inventor
甘志宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN202110722866.3A priority Critical patent/CN113282795B/en
Publication of CN113282795A publication Critical patent/CN113282795A/en
Application granted granted Critical
Publication of CN113282795B publication Critical patent/CN113282795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of artificial intelligence, and provides a data structure diagram generating and updating method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring data to be generated and configuration information; processing data to be generated, and generating a structure information table and a data association information table of each target object; creating a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects; converting the tree structure diagram into a JSON format data list, and importing the JSON format data list into a visual rendering frame; rendering the JSON format data in the JSON format data list according to the configuration information to generate a data structure diagram; the data structure map is updated in response to the update data structure map instruction. According to the invention, the tree structure diagram is updated through the data primary key matched with the corresponding node in the tree structure diagram, the data structure diagram does not need to be reconstructed, and the updating efficiency and the flexibility of the data structure diagram are improved.

Description

Data structure diagram generation and updating method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of artificial intelligence technologies, and in particular, to a method and apparatus for generating and updating a data structure, an electronic device, and a storage medium.
Background
The multiple target objects have interrelationships, aiming at project data of the target objects involved in asset management, the data structure is often complex, the situation of crossing data information and multi-layer data information nesting exists, and the prior art carries out visual display through a static data structure diagram.
However, since the project data of the target object changes more frequently with the project progress, the data structure diagram needs to be reconstructed every time the project data changes, resulting in low efficiency of generating and updating the data structure diagram.
Therefore, there is a need to provide a method for quickly and accurately generating and updating a data structure.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, an electronic device, and a storage medium for generating and updating a data structure diagram, which update the tree structure diagram by matching a data primary key of a corresponding node in the tree structure diagram without reconstructing the data structure diagram, thereby improving the update efficiency and flexibility of the data structure diagram.
A first aspect of the present invention provides a data structure diagram generating and updating method, the method including:
Responding to a data structure diagram generation request sent by a user on a browser display interface, and acquiring data to be generated and configuration information;
processing the data to be generated to generate a structure information table and a data association information table of each target object;
creating a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects;
Converting the tree structure diagram into a JSON format data list, and importing the JSON format data list into a visual rendering frame through a preset interface;
The visual rendering framework renders the JSON format data in the JSON format data list according to the configuration information to generate a data structure diagram;
and when detecting the data structure diagram updating instruction of the browser interface, responding to the data structure diagram updating instruction to update the data structure diagram.
Optionally, the visual rendering framework renders JSON format data in the JSON format data list according to the configuration information, and generating a data structure diagram includes:
Converting a plurality of JSON format data in the JSON format data list into a plurality of rendering models matched with the visual style according to the incidence relation between the JSON format data list;
Identifying a target visual display type in the data structure diagram generation request;
when the target visual display type is displayed from top to bottom, a rendering tool is called to render the plurality of rendering models in a top-to-bottom mode, and a data structure diagram is generated; or alternatively
When the target visual display type is bottom-to-top display, a rendering tool is called to render the plurality of rendering models in a bottom-to-top mode, and a data structure diagram is generated; or alternatively
When the target visual display type is displayed from left to right, a rendering tool is called to render the plurality of rendering models in a left to right mode, and a data structure diagram is generated; or alternatively
When the target visual display type is right-to-left display, a rendering tool is called to render the plurality of rendering models in a right-to-left mode, and a data structure diagram is generated.
Optionally, the updating the data structure map in response to the update data structure map instruction includes:
Responding to the update data structure diagram instruction to acquire the type to be updated and the data to be updated;
When the type to be updated is a new child node, analyzing the data to be updated, and acquiring a data primary key of a father node corresponding to the new child node;
matching a target parent node matched with the data main key of the parent node in a tree structure diagram corresponding to the data structure diagram, adding a new child node on the target parent node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
Optionally, the method further comprises:
When the type to be updated is a deleted node, analyzing the data to be updated, and acquiring a data main key of the deleted node;
Matching a node corresponding to the data main key of the deleted node from the tree structure diagram of the data structure diagram, deleting the node and all branches nodes with association relation with the node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information.
Optionally, the method further comprises:
when the type to be updated is a replacement node, analyzing the data to be updated, and acquiring a data main key of the replacement node;
Matching a target node corresponding to the data main key of the replacement node from the tree structure diagram of the data structure diagram, replacing the target node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information.
Optionally, the processing the data to be generated, generating a structure information table and a data association information table of each target object includes:
Dividing the data to be generated according to a preset dividing rule to obtain target object information and data information of each target object;
Performing first preprocessing on the target object information of each target object to obtain first data of each target object, and performing second preprocessing on the data information of each target object to obtain second data of each target object;
Extracting a plurality of first key fields in the first data of each target object, and extracting a plurality of second key fields in the second data of each target object;
converting the first key fields of each target object into a plurality of first structured data of a preset type, and converting the second key fields of each target object into a plurality of second structured data of a preset type;
And generating a structural information table of each target object according to the first structural data of each target object, and generating a data association information table of each target object according to the second structural data of each target object.
Optionally, the creating the tree structure diagram based on the structure information table and the data association information table of the plurality of target objects includes:
Acquiring data primary keys of a plurality of target objects from a structure information table and a data association information table of the plurality of target objects;
randomly selecting a target data primary key of a target object as a root node of the data to be generated;
Calculating the length difference between the data primary key of any one of the remaining target objects and the target data primary key of the target object at the root node;
judging whether a target data primary key which is the same as the length difference exists or not;
when judging that the target data primary key with the same length difference exists, taking the target data primary key of the target object with the same length difference as a father node, and taking the data primary key of the rest target object as a child node of the father node;
And when judging that the target data primary key which is the same as the length difference does not exist, taking the root node as a father node, and taking the data primary key of the rest target objects as child nodes of the father node, wherein the length difference between the data primary key of the target object at the father node and the data primary key of each target object at the corresponding child node is taken as the weight of the edge between the father node and the child node.
A second aspect of the present invention provides a data structure diagram generating and updating apparatus, the apparatus comprising:
The acquisition module is used for responding to a data structure diagram generation request sent by a user on a browser display interface and acquiring data to be generated and configuration information;
the processing module is used for processing the data to be generated and generating a structure information table and a data association information table of each target object;
The creation module is used for creating a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects;
The conversion module is used for converting the tree structure diagram into a JSON format data list and importing the JSON format data list into a visual rendering frame through a preset interface;
the generation module is used for rendering the JSON format data in the JSON format data list according to the configuration information by the visual rendering framework to generate a data structure diagram;
and the updating module is used for responding to the data structure diagram updating instruction when detecting the data structure diagram updating instruction of the browser interface.
A third aspect of the present invention provides an electronic device, the electronic device comprising a processor and a memory, the processor being configured to implement the data structure diagram generating and updating method when executing a computer program stored in the memory.
A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor implements the data structure diagram generating and updating method.
In summary, according to the data structure diagram generating and updating method, device, electronic equipment and storage medium of the present invention, on one hand, by converting the tree structure diagram into the JSON format data list, rendering the JSON format data in the JSON format data list according to the configuration information to generate the data structure diagram, when the data structure diagram is updated, only the data primary key matched to the corresponding node in the tree structure diagram corresponding to the data structure diagram is needed, the tree structure diagram is updated to render, and a new data structure diagram is generated, without reconstructing the data structure diagram, so that the updating efficiency and flexibility of the data structure diagram are improved; on the other hand, on the basis of the structure information tables and the data association information tables of the plurality of target objects, a tree structure diagram is created, the tree structure diagram is created through association relations between the structure information tables and the data association information tables of the plurality of target objects, and the accuracy of the association relation among the plurality of target objects can be ensured through creation of the tree structure diagram, so that the accuracy of the subsequently generated data structure diagram is improved; and finally, processing the data to be generated, generating a structure information table and a data association information table of each target object, generating the structure information table of each target object according to the first structured data of each target object, and generating the data association information table of each target object according to the second structured data of each target object, thereby avoiding the interference of useless information, reducing the data quantity and further improving the accuracy of the data structure diagram generated subsequently.
Drawings
Fig. 1 is a flowchart of a data structure diagram generating and updating method according to an embodiment of the present invention.
Fig. 2 is a block diagram of a data structure diagram generating and updating device according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. It should be noted that, without conflict, the embodiments of the present invention and features in the embodiments may be combined with each other.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Example 1
Fig. 1 is a flowchart of a data structure diagram generating and updating method according to an embodiment of the present invention.
In this embodiment, the data structure diagram generating and updating method may be applied to an electronic device, and for an electronic device that needs to generate and update a data structure diagram, the function of generating and updating a data structure diagram provided by the method of the present invention may be directly integrated on the electronic device, or may be run in the electronic device in the form of a software development kit (Software Development Kit, SDK).
As shown in FIG. 1, the data structure diagram generating and updating method specifically includes the following steps, the order of the steps in the flowchart may be changed according to different requirements, and some may be omitted.
S11, responding to a data structure diagram generation request sent by a user on a browser display interface, and acquiring data to be generated and configuration information.
In this embodiment, when a user generates a data structure diagram, a client initiates a data structure diagram generation request to a server, specifically, the client may be a smart phone, an IPAD or other existing smart devices, and in the data structure diagram generation process, if the client may send the data structure diagram generation request to the data structure diagram generation subsystem, the data structure diagram generation subsystem is configured to receive the data structure diagram generation request sent by the client, and respond to the data structure diagram generation request to obtain data to be generated and configuration information, where in particular, the data to be generated includes all data required for generating the data structure diagram, and the configuration information may include requirements of the user and setting conditions of subsequent rendering data structure diagrams.
In this embodiment, the data structure may be a rights structure, and the target object may be a plurality of companies in the rights structure.
S12, processing the data to be generated, and generating a structure information table and a data association information table of each target object.
In this embodiment, the structure information table includes information such as a target object number, a target object name, a legal person representative, a unified social credit code, a registered capital, a data type, and a data primary key.
The data association information table contains information such as a data primary key, a data number, a target object number, a data proportion, an effective identifier, creation time, modification time and the like.
In an optional embodiment, the processing the data to be generated, generating a structure information table and a data association information table of each target object includes:
Dividing the data to be generated according to a preset dividing rule to obtain target object information and data information of each target object;
Performing first preprocessing on the target object information of each target object to obtain first data of each target object, and performing second preprocessing on the data information of each target object to obtain second data of each target object;
Extracting a plurality of first key fields in the first data of each target object, and extracting a plurality of second key fields in the second data of each target object;
converting the first key fields of each target object into a plurality of first structured data of a preset type, and converting the second key fields of each target object into a plurality of second structured data of a preset type;
And generating a structural information table of each target object according to the first structural data of each target object, and generating a data association information table of each target object according to the second structural data of each target object.
In this embodiment, a partitioning rule may be preset, specifically, the preset partitioning rule is set according to a feature attribute of the target object information and a feature attribute of the data information, and the data to be generated is partitioned according to the feature attribute of the target object information and the feature attribute of the data information of each target object, so as to obtain the target object information and the data information of each target object.
In this embodiment, the first preprocessing includes cleaning the target object information of each target object according to a preset first cleaning rule, and filtering the cleaned target object information of each target object according to a preset first filtering rule; the second preprocessing comprises the steps of cleaning the data information of each target object according to a preset second cleaning rule, and filtering the cleaned data information of each target object according to a preset second filtering rule.
In this embodiment, the data type of the first structured data may be preset, and the data type of the second structured data may be preset, specifically, the first structured data of the preset type is set according to the structure of the target object information corresponding to the target object, and the second structured data of the preset type is set according to the structure of the data information corresponding to the target object.
In this embodiment, a structure information table of each target object is generated according to the plurality of first structured data of each target object, and a data association information table of each target object is generated according to the plurality of second structured data of each target object, so that interference of useless information is avoided, the number of data is reduced, and the accuracy of a data structure diagram generated subsequently is improved.
S13, creating a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects.
In an optional embodiment, the creating a tree structure diagram based on the structure information table and the data association information table of the plurality of target objects includes:
Acquiring data primary keys of a plurality of target objects from a structure information table and a data association information table of the plurality of target objects;
randomly selecting a target data primary key of a target object as a root node of the data to be generated;
Calculating the length difference between the data primary key of any one of the remaining target objects and the target data primary key of the target object at the root node;
judging whether a target data primary key which is the same as the length difference exists or not;
when judging that the target data primary key with the same length difference exists, taking the target data primary key of the target object with the same length difference as a father node, and taking the data primary key of the rest target object as a child node of the father node;
And when judging that the target data primary key which is the same as the length difference does not exist, taking the root node as a father node, and taking the data primary key of the rest target objects as child nodes of the father node, wherein the length difference between the data primary key of the target object at the father node and the data primary key of each target object at the corresponding child node is taken as the weight of the edge between the father node and the child node.
In this embodiment, the tree structure diagram is created through association relationships between the structure information tables and the data association information tables of the plurality of target objects, and by creating the tree structure diagram, the accuracy of the association relationships between the plurality of target objects can be ensured, so that the accuracy of the subsequently generated data structure diagram is improved.
S14, converting the tree structure diagram into a JSON format data list, and importing the JSON format data list into a visual rendering frame through a preset interface.
In this embodiment, the JSON format data is easy to parse and generate by a machine, and is convenient for a user to read and write, and the tree structure diagram is converted into the target JSON format data, so that when the data change occurs, the subsequent data change writing is convenient.
In this embodiment, a set of complete implementation flow is encapsulated in the visual rendering frame, so that data can be rendered, a preset interface is exposed outwards, and the target JSON format data is imported into the visual rendering frame through the preset interface, where the preset interface may be an IOC interface.
In an alternative embodiment, the converting the tree structure diagram into the JSON format data list includes:
analyzing the tree structure diagram to obtain node contents of a plurality of nodes;
Converting the node content of each node into JSON format data according to a preset conversion format;
and arranging a plurality of JSON format data according to the association relation among the nodes of the tree structure diagram to obtain a JSON format data list.
In this embodiment, by arranging the plurality of JSON format data according to the association relationship between the nodes of the tree structure diagram, the accuracy of the association relationship of the data structure diagram is ensured, and the accuracy of the subsequently generated data structure diagram is improved.
And S15, the visual rendering framework renders the JSON format data in the JSON format data list according to the configuration information, and a data structure diagram is generated.
In this embodiment, the configuration information may include: in the rendering process, whether nodes in the data structure diagram can be dragged or not, whether a mouse scrolls to control the size of the data structure diagram, whether each target object has other configuration information which affects the rendering effect, such as editing icons or not, and the like.
In an optional embodiment, the visual rendering framework renders JSON format data in the JSON format data list according to the configuration information, and generating the data structure diagram includes:
Converting a plurality of JSON format data in the JSON format data list into a plurality of rendering models matched with the visual style according to the incidence relation between the JSON format data list;
Identifying a target visual display type in the data structure diagram generation request;
when the target visual display type is displayed from top to bottom, a rendering tool is called to render the plurality of rendering models in a top-to-bottom mode, and a data structure diagram is generated; or alternatively
When the target visual display type is bottom-to-top display, a rendering tool is called to render the plurality of rendering models in a bottom-to-top mode, and a data structure diagram is generated; or alternatively
When the target visual display type is displayed from left to right, a rendering tool is called to render the plurality of rendering models in a left to right mode, and a data structure diagram is generated; or alternatively
When the target visual display type is right-to-left display, a rendering tool is called to render the plurality of rendering models in a right-to-left mode, and a data structure diagram is generated.
In this embodiment, by identifying the display type of the target visual display mode in the data structure diagram generation request, specifically, the target visual display type is set by a user, rendering is performed according to the target visual display type set by the user, so as to obtain a data structure diagram, meet the requirement of customization, and improve the use rate of the data structure diagram.
In other embodiments, the user may set multiple target visual display types, and render the multiple target visual display types at the same time to obtain data structure diagrams of different display types, thereby improving diversity of the generated data structure diagrams.
Further, the method further comprises:
and returning the data structure diagram to a browser display interface, and displaying the data structure diagram on the browser display interface according to a preset display mode.
In this embodiment, a display manner may be preset, specifically, when a plurality of data structure diagrams exist, the preset display manner may be set to display one by one, or may also display simultaneously, or display according to a preset display shape.
S16, when the data structure diagram updating instruction of the browser interface is detected, the data structure diagram is updated in response to the data structure diagram updating instruction.
In an alternative embodiment, said updating said data structure map in response to said update data structure map instruction comprises:
Responding to the update data structure diagram instruction to acquire the type to be updated and the data to be updated;
When the type to be updated is a new child node, analyzing the data to be updated, and acquiring a data primary key of a father node corresponding to the new child node;
matching a target parent node matched with the data main key of the parent node in a tree structure diagram corresponding to the data structure diagram, adding a new child node on the target parent node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
Further, the method further comprises:
When the type to be updated is a deleted node, analyzing the data to be updated, and acquiring a data main key of the deleted node;
Matching a node corresponding to the data main key of the deleted node from the tree structure diagram of the data structure diagram, deleting the node and all branches nodes with association relation with the node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
Further, the method further comprises:
when the type to be updated is a replacement node, analyzing the data to be updated, and acquiring a data main key of the replacement node;
Matching a target node corresponding to the data main key of the replacement node from the tree structure diagram of the data structure diagram, replacing the target node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
In the embodiment, when the data structure diagram is updated, only the data primary key of the corresponding node in the tree structure diagram corresponding to the data structure diagram is needed to be matched, the tree structure diagram is updated to be rendered, a new data structure diagram is generated, the data structure diagram does not need to be reconstructed, and the updating efficiency and the flexibility of the data structure diagram are improved. And trace is reserved for each node transformation in the data structure diagram, so that traceability of the change history of the data structure is realized, and the data structure diagram of different time periods can be recovered.
In other optional embodiments, the nodes in the tree structure diagram can be modified by dragging, so that the updating efficiency is improved.
In summary, according to the data structure diagram generating and updating method of the present embodiment, on one hand, by converting the tree structure diagram into the JSON format data list, rendering the JSON format data in the JSON format data list according to the configuration information to generate the data structure diagram, when the data structure diagram is updated, only the data primary key matched to the corresponding node in the tree structure diagram corresponding to the data structure diagram is needed to update the tree structure diagram to render, so that a new data structure diagram is generated, and the data structure diagram does not need to be reconstructed, thereby improving the updating efficiency and flexibility of the data structure diagram; on the other hand, on the basis of the structure information tables and the data association information tables of the plurality of target objects, a tree structure diagram is created, the tree structure diagram is created through association relations between the structure information tables and the data association information tables of the plurality of target objects, and the accuracy of the association relation among the plurality of target objects can be ensured through creation of the tree structure diagram, so that the accuracy of the subsequently generated data structure diagram is improved; and finally, processing the data to be generated, generating a structure information table and a data association information table of each target object, generating the structure information table of each target object according to the first structured data of each target object, and generating the data association information table of each target object according to the second structured data of each target object, thereby avoiding the interference of useless information, reducing the data quantity and further improving the accuracy of the data structure diagram generated subsequently.
Example two
Fig. 2 is a block diagram of a data structure diagram generating and updating device according to a second embodiment of the present invention.
In some embodiments, the data structure diagram generating and updating device 20 may include a plurality of functional modules composed of program code segments. Program code for each program segment in the data structure diagram generating and updating apparatus 20 may be stored in a memory of the electronic device and executed by the at least one processor to perform (see fig. 1 for details) the functions of data structure diagram generation and updating.
In this embodiment, the data structure generating and updating device 20 may be divided into a plurality of functional modules according to the functions performed by the device. The functional module may include: the system comprises an acquisition module 201, a processing module 202, a creation module 203, a conversion module 204, a generation module 205, a display module 206 and an updating module 207. The module referred to herein is a series of computer readable instructions capable of being executed by at least one processor and of performing a fixed function, stored in a memory. In the present embodiment, the functions of the respective modules will be described in detail in the following embodiments.
The obtaining module 201 is configured to obtain data to be generated and configuration information in response to a data structure diagram generation request sent by a user at a browser display interface.
In this embodiment, when a user generates a data structure diagram, a client initiates a data structure diagram generation request to a server, specifically, the client may be a smart phone, an IPAD or other existing smart devices, and in the data structure diagram generation process, if the client may send the data structure diagram generation request to the data structure diagram generation subsystem, the data structure diagram generation subsystem is configured to receive the data structure diagram generation request sent by the client, and respond to the data structure diagram generation request to obtain data to be generated and configuration information, where in particular, the data to be generated includes all data required for generating the data structure diagram, and the configuration information may include requirements of the user and setting conditions of subsequent rendering data structure diagrams.
In this embodiment, the data structure may be a rights structure, and the target object may be a plurality of companies in the rights structure.
The processing module 202 is configured to process the data to be generated, and generate a structure information table and a data association information table of each target object.
In this embodiment, the structure information table includes information such as a target object number, a target object name, a legal person representative, a unified social credit code, a registered capital, a data type, and a data primary key.
The data association information table contains information such as a data primary key, a data number, a target object number, a data proportion, an effective identifier, creation time, modification time and the like.
In an alternative embodiment, the processing module 202 processes the data to be generated, and generating the structure information table and the data association information table of each target object includes:
Dividing the data to be generated according to a preset dividing rule to obtain target object information and data information of each target object;
Performing first preprocessing on the target object information of each target object to obtain first data of each target object, and performing second preprocessing on the data information of each target object to obtain second data of each target object;
Extracting a plurality of first key fields in the first data of each target object, and extracting a plurality of second key fields in the second data of each target object;
converting the first key fields of each target object into a plurality of first structured data of a preset type, and converting the second key fields of each target object into a plurality of second structured data of a preset type;
And generating a structural information table of each target object according to the first structural data of each target object, and generating a data association information table of each target object according to the second structural data of each target object.
In this embodiment, a partitioning rule may be preset, specifically, the preset partitioning rule is set according to a feature attribute of the target object information and a feature attribute of the data information, and the data to be generated is partitioned according to the feature attribute of the target object information and the feature attribute of the data information of each target object, so as to obtain the target object information and the data information of each target object.
In this embodiment, the first preprocessing includes cleaning the target object information of each target object according to a preset first cleaning rule, and filtering the cleaned target object information of each target object according to a preset first filtering rule; the second preprocessing comprises the steps of cleaning the data information of each target object according to a preset second cleaning rule, and filtering the cleaned data information of each target object according to a preset second filtering rule.
In this embodiment, the data type of the first structured data may be preset, and the data type of the second structured data may be preset, specifically, the first structured data of the preset type is set according to the structure of the target object information corresponding to the target object, and the second structured data of the preset type is set according to the structure of the data information corresponding to the target object.
In this embodiment, a structure information table of each target object is generated according to the plurality of first structured data of each target object, and a data association information table of each target object is generated according to the plurality of second structured data of each target object, so that interference of useless information is avoided, the number of data is reduced, and the accuracy of a data structure diagram generated subsequently is improved.
The creating module 203 is configured to create a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects.
In an alternative embodiment, the creating module 203 creates a tree structure diagram based on the structure information table and the data association information table of the plurality of target objects, where the creating includes:
Acquiring data primary keys of a plurality of target objects from a structure information table and a data association information table of the plurality of target objects;
randomly selecting a target data primary key of a target object as a root node of the data to be generated;
Calculating the length difference between the data primary key of any one of the remaining target objects and the target data primary key of the target object at the root node;
judging whether a target data primary key which is the same as the length difference exists or not;
when judging that the target data primary key with the same length difference exists, taking the target data primary key of the target object with the same length difference as a father node, and taking the data primary key of the rest target object as a child node of the father node;
And when judging that the target data primary key which is the same as the length difference does not exist, taking the root node as a father node, and taking the data primary key of the rest target objects as child nodes of the father node, wherein the length difference between the data primary key of the target object at the father node and the data primary key of each target object at the corresponding child node is taken as the weight of the edge between the father node and the child node.
In this embodiment, the tree structure diagram is created through association relationships between the structure information tables and the data association information tables of the plurality of target objects, and by creating the tree structure diagram, the accuracy of the association relationships between the plurality of target objects can be ensured, so that the accuracy of the subsequently generated data structure diagram is improved.
The conversion module 204 is configured to convert the tree structure diagram into a JSON format data list, and import the JSON format data list into a visual rendering framework through a preset interface.
In this embodiment, the JSON format data is easy to parse and generate by a machine, and is convenient for a user to read and write, and the tree structure diagram is converted into the target JSON format data, so that when the data change occurs, the subsequent data change writing is convenient.
In this embodiment, a set of complete implementation flow is encapsulated in the visual rendering frame, so that data can be rendered, a preset interface is exposed outwards, and the target JSON format data is imported into the visual rendering frame through the preset interface, where the preset interface may be an IOC interface.
In an alternative embodiment, the converting module 204 converts the tree structure diagram into a JSON format data list includes:
analyzing the tree structure diagram to obtain node contents of a plurality of nodes;
Converting the node content of each node into JSON format data according to a preset conversion format;
and arranging a plurality of JSON format data according to the association relation among the nodes of the tree structure diagram to obtain a JSON format data list.
In this embodiment, by arranging the plurality of JSON format data according to the association relationship between the nodes of the tree structure diagram, the accuracy of the association relationship of the data structure diagram is ensured, and the accuracy of the subsequently generated data structure diagram is improved.
And the generating module 205 is configured to render JSON format data in the JSON format data list according to the configuration information by using the visual rendering framework, and generate a data structure diagram.
In this embodiment, the configuration information may include: in the rendering process, whether nodes in the data structure diagram can be dragged or not, whether a mouse scrolls to control the size of the data structure diagram, whether each target object has other configuration information which affects the rendering effect, such as editing icons or not, and the like.
In an optional embodiment, the generating module 205 may render JSON format data in the JSON format data list according to the configuration information by using a visualization rendering framework, and generating the data structure includes:
Converting a plurality of JSON format data in the JSON format data list into a plurality of rendering models matched with the visual style according to the incidence relation between the JSON format data list;
Identifying a target visual display type in the data structure diagram generation request;
when the target visual display type is displayed from top to bottom, a rendering tool is called to render the plurality of rendering models in a top-to-bottom mode, and a data structure diagram is generated; or alternatively
When the target visual display type is bottom-to-top display, a rendering tool is called to render the plurality of rendering models in a bottom-to-top mode, and a data structure diagram is generated; or alternatively
When the target visual display type is displayed from left to right, a rendering tool is called to render the plurality of rendering models in a left to right mode, and a data structure diagram is generated; or alternatively
When the target visual display type is right-to-left display, a rendering tool is called to render the plurality of rendering models in a right-to-left mode, and a data structure diagram is generated.
In this embodiment, by identifying the display type of the target visual display mode in the data structure diagram generation request, specifically, the target visual display type is set by a user, rendering is performed according to the target visual display type set by the user, so as to obtain a data structure diagram, meet the requirement of customization, and improve the use rate of the data structure diagram.
In other embodiments, the user may set multiple target visual display types, and render the multiple target visual display types at the same time to obtain data structure diagrams of different display types, thereby improving diversity of the generated data structure diagrams.
Further, the display module 206 is configured to return the data structure diagram to a browser display interface, and display the data structure diagram on the browser display interface according to a preset display mode.
In this embodiment, a display manner may be preset, specifically, when a plurality of data structure diagrams exist, the preset display manner may be set to display one by one, or may also display simultaneously, or display according to a preset display shape.
An updating module 207, configured to, when detecting an update data structure diagram command of the browser interface, update the data structure diagram in response to the update data structure diagram command.
In an alternative embodiment, the updating module 207 updates the data structure map in response to the update data structure map instruction comprises:
Responding to the update data structure diagram instruction to acquire the type to be updated and the data to be updated;
When the type to be updated is a new child node, analyzing the data to be updated, and acquiring a data primary key of a father node corresponding to the new child node;
matching a target parent node matched with the data main key of the parent node in a tree structure diagram corresponding to the data structure diagram, adding a new child node on the target parent node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
Further, the updating module 207 is further configured to parse the data to be updated when the type to be updated is a deleted node, and obtain a data primary key of the deleted node; matching a node corresponding to the data main key of the deleted node from the tree structure diagram of the data structure diagram, deleting the node and all branches nodes with association relation with the node, and refreshing the tree structure diagram to generate a new tree structure diagram; converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface; and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
Further, the updating module 207 is further configured to parse the data to be updated when the type to be updated is a replacement node, and obtain a data primary key of the replacement node; matching a target node corresponding to the data main key of the replacement node from the tree structure diagram of the data structure diagram, replacing the target node, and refreshing the tree structure diagram to generate a new tree structure diagram; converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface; and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
In the embodiment, when the data structure diagram is updated, only the data primary key of the corresponding node in the tree structure diagram corresponding to the data structure diagram is needed to be matched, the tree structure diagram is updated to be rendered, a new data structure diagram is generated, the data structure diagram does not need to be reconstructed, and the updating efficiency and the flexibility of the data structure diagram are improved. And trace is reserved for each node transformation in the data structure diagram, so that traceability of the change history of the data structure is realized, and the data structure diagram of different time periods can be recovered.
In other optional embodiments, the nodes in the tree structure diagram can be modified by dragging, so that the updating efficiency is improved.
In summary, according to the data structure diagram generating and updating device of the present embodiment, on one hand, by converting the tree structure diagram into the JSON format data list, rendering the JSON format data in the JSON format data list according to the configuration information to generate the data structure diagram, when the data structure diagram is updated, only the data primary key matched to the corresponding node in the tree structure diagram corresponding to the data structure diagram is needed to update the tree structure diagram to render, so that a new data structure diagram is generated, and the data structure diagram does not need to be reconstructed, thereby improving the updating efficiency and flexibility of the data structure diagram; on the other hand, on the basis of the structure information tables and the data association information tables of the plurality of target objects, a tree structure diagram is created, the tree structure diagram is created through association relations between the structure information tables and the data association information tables of the plurality of target objects, and the accuracy of the association relation among the plurality of target objects can be ensured through creation of the tree structure diagram, so that the accuracy of the subsequently generated data structure diagram is improved; and finally, processing the data to be generated, generating a structure information table and a data association information table of each target object, generating the structure information table of each target object according to the first structured data of each target object, and generating the data association information table of each target object according to the second structured data of each target object, thereby avoiding the interference of useless information, reducing the data quantity and further improving the accuracy of the data structure diagram generated subsequently.
Example III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. In the preferred embodiment of the invention, the electronic device 3 comprises a memory 31, at least one processor 32, at least one communication bus 33 and a transceiver 34.
It will be appreciated by those skilled in the art that the configuration of the electronic device shown in fig. 3 is not limiting of the embodiments of the present invention, and that either a bus-type configuration or a star-type configuration is possible, and that the electronic device 3 may also include more or less other hardware or software than that shown, or a different arrangement of components.
In some embodiments, the electronic device 3 is an electronic device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, an embedded device, and the like. The electronic device 3 may further include a client device, where the client device includes, but is not limited to, any electronic product that can interact with a client by way of a keyboard, a mouse, a remote control, a touch pad, or a voice control device, such as a personal computer, a tablet computer, a smart phone, a digital camera, etc.
It should be noted that the electronic device 3 is only used as an example, and other electronic products that may be present in the present invention or may be present in the future are also included in the scope of the present invention by way of reference.
In some embodiments, the memory 31 is used to store program codes and various data, such as the data structure diagram generating and updating device 20 installed in the electronic device 3, and to implement high-speed, automatic access to programs or data during operation of the electronic device 3. The Memory 31 includes Read-Only Memory (ROM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable rewritable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic tape Memory, or any other medium that can be used for carrying or storing data.
In some embodiments, the at least one processor 32 may be comprised of an integrated circuit, such as a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functionality, including one or more central processing units (Central Processing unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The at least one processor 32 is a Control Unit (Control Unit) of the electronic device 3, connects the respective components of the entire electronic device 3 using various interfaces and lines, and executes various functions of the electronic device 3 and processes data by running or executing programs or modules stored in the memory 31 and calling data stored in the memory 31.
In some embodiments, the at least one communication bus 33 is arranged to enable connected communication between the memory 31 and the at least one processor 32 or the like.
Although not shown, the electronic device 3 may further include a power source (such as a battery) for powering the various components, and optionally, the power source may be logically connected to the at least one processor 32 via a power management device, thereby implementing functions such as managing charging, discharging, and power consumption by the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure detection circuit, power converter or inverter, power status indicator, etc. The electronic device 3 may further include various sensors, bluetooth modules, wi-Fi modules, etc., which will not be described herein.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional modules described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) or a processor (processor) to perform portions of the methods described in the various embodiments of the invention.
In a further embodiment, in conjunction with fig. 2, the at least one processor 32 may execute the operating device of the electronic device 3, as well as various installed applications (such as the data structure generating and updating device 20), program code, etc., such as the various modules described above.
The memory 31 has program code stored therein, and the at least one processor 32 can invoke the program code stored in the memory 31 to perform related functions. For example, each of the modules depicted in fig. 2 is a program code stored in the memory 31 and executed by the at least one processor 32 to perform the functions of each of the modules for purposes of generating and updating a data structure diagram.
Illustratively, the program code may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 32 to perform the present application. The one or more modules/units may be a series of computer readable instruction segments capable of performing the specified functions, which instruction segments describe the execution of the program code in the electronic device 3. For example, the program code may be divided into an acquisition module 201, a processing module 202, a creation module 203, a conversion module 204, a generation module 205, a presentation module 206, and an update module 207.
In one embodiment of the present invention, the memory 31 stores a plurality of computer readable instructions that are executed by the at least one processor 32 to perform the functions of data structure map generation and updating.
Specifically, the specific implementation method of the above instruction by the at least one processor 32 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or that the singular does not exclude a plurality. The units or means stated in the invention may also be implemented by one unit or means, either by software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (8)

1. A method for generating and updating a data structure map, the method comprising:
Responding to a data structure diagram generation request sent by a user on a browser display interface, and acquiring data to be generated and configuration information;
Processing the data to be generated to generate a structure information table and a data association information table of each target object, including: dividing the data to be generated according to a preset dividing rule to obtain target object information and data information of each target object; performing first preprocessing on the target object information of each target object to obtain first data of each target object, and performing second preprocessing on the data information of each target object to obtain second data of each target object; extracting a plurality of first key fields in the first data of each target object, and extracting a plurality of second key fields in the second data of each target object; converting the first key fields of each target object into a plurality of first structured data of a preset type, and converting the second key fields of each target object into a plurality of second structured data of a preset type; generating a structure information table of each target object according to the first structured data of each target object, and generating a data association information table of each target object according to the second structured data of each target object;
Creating a tree structure diagram based on the structure information table and the data association information table of the plurality of target objects, comprising: acquiring data primary keys of a plurality of target objects from a structure information table and a data association information table of the plurality of target objects; randomly selecting a target data primary key of a target object as a root node of the data to be generated; calculating the length difference between the data primary key of any remaining target object and the target data primary key of the target object at the root node; judging whether a target data primary key which is the same as the length difference exists or not; when judging that the target data primary key with the same length difference exists, taking the target data primary key of the target object with the same length difference as a father node, and taking the data primary key of the rest target objects as child nodes of the father node; when judging that the target data primary key which is the same as the length difference does not exist, taking the root node as a father node, and taking the data primary keys of the rest target objects as child nodes of the father node, wherein the length difference between the data primary key of the target object at the father node and the data primary key of each target object at the corresponding child node is taken as the weight of the edge between the father node and the child node;
Converting the tree structure diagram into a JSON format data list, and importing the JSON format data list into a visual rendering frame through a preset interface;
The visual rendering framework renders the JSON format data in the JSON format data list according to the configuration information to generate a data structure diagram;
And when detecting an update data structure diagram instruction of the browser display interface, updating the data structure diagram in response to the update data structure diagram instruction.
2. The data structure diagram generation and updating method of claim 1, wherein the visual rendering framework renders JSON format data in the JSON format data list according to the configuration information, and generating a data structure diagram comprises:
Converting a plurality of JSON format data in the JSON format data list into a plurality of rendering models matched with the visual style according to the incidence relation between the JSON format data list;
Identifying a target visual display type in the data structure diagram generation request;
when the target visual display type is displayed from top to bottom, a rendering tool is called to render the plurality of rendering models in a top-to-bottom mode, and a data structure diagram is generated; or alternatively
When the target visual display type is bottom-to-top display, a rendering tool is called to render the plurality of rendering models in a bottom-to-top mode, and a data structure diagram is generated; or alternatively
When the target visual display type is displayed from left to right, a rendering tool is called to render the plurality of rendering models in a left to right mode, and a data structure diagram is generated; or alternatively
When the target visual display type is right-to-left display, a rendering tool is called to render the plurality of rendering models in a right-to-left mode, and a data structure diagram is generated.
3. The data structure diagram generation and updating method of claim 1, wherein updating the data structure diagram in response to the update data structure diagram instruction comprises:
Responding to the update data structure diagram instruction to acquire the type to be updated and the data to be updated;
When the type to be updated is a new child node, analyzing the data to be updated, and acquiring a data primary key of a father node corresponding to the new child node;
matching a target parent node matched with the data main key of the parent node in a tree structure diagram corresponding to the data structure diagram, adding a new child node on the target parent node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
And the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information, and generates a new data structure diagram.
4. The data structure map generation and updating method of claim 3, wherein said method further comprises:
When the type to be updated is a deleted node, analyzing the data to be updated, and acquiring a data primary key of the deleted node;
Matching a node corresponding to the data main key of the deleted node from the tree structure diagram of the data structure diagram, deleting the node and all branches nodes with association relation with the node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information.
5. The data structure map generation and updating method of claim 3, wherein said method further comprises:
when the type to be updated is a replacement node, analyzing the data to be updated, and acquiring a data main key of the replacement node;
Matching a target node corresponding to the data main key of the replacement node from the tree structure diagram of the data structure diagram, replacing the target node, and refreshing the tree structure diagram to generate a new tree structure diagram;
converting the new tree structure diagram into a target JSON format data list, and importing the target JSON format data list into a visual rendering frame through a preset interface;
and the visual rendering framework performs secondary rendering on the JSON format data in the target JSON format data list according to the configuration information.
6. A data structure diagram generating and updating apparatus for implementing the data structure diagram generating and updating method according to any one of claims 1 to 5, the apparatus comprising:
The acquisition module is used for responding to a data structure diagram generation request sent by a user on a browser display interface and acquiring data to be generated and configuration information;
the processing module is used for processing the data to be generated and generating a structure information table and a data association information table of each target object;
The creation module is used for creating a tree structure diagram based on the structure information tables and the data association information tables of the plurality of target objects;
The conversion module is used for converting the tree structure diagram into a JSON format data list and importing the JSON format data list into a visual rendering frame through a preset interface;
the generation module is used for rendering the JSON format data in the JSON format data list according to the configuration information by the visual rendering framework to generate a data structure diagram;
And the updating module is used for responding to the data structure diagram updating instruction to update the data structure diagram when detecting the data structure diagram updating instruction of the browser display interface.
7. An electronic device comprising a processor and a memory, wherein the processor is configured to implement the data structure diagram generation and update method of any one of claims 1 to 5 when executing a computer program stored in the memory.
8. A computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the data structure diagram generation and updating method of any of claims 1 to 5.
CN202110722866.3A 2021-06-29 2021-06-29 Data structure diagram generation and updating method and device, electronic equipment and storage medium Active CN113282795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110722866.3A CN113282795B (en) 2021-06-29 2021-06-29 Data structure diagram generation and updating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110722866.3A CN113282795B (en) 2021-06-29 2021-06-29 Data structure diagram generation and updating method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113282795A CN113282795A (en) 2021-08-20
CN113282795B true CN113282795B (en) 2024-05-14

Family

ID=77285946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110722866.3A Active CN113282795B (en) 2021-06-29 2021-06-29 Data structure diagram generation and updating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113282795B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722293B (en) * 2021-08-31 2023-06-09 平安科技(深圳)有限公司 Firewall maintenance method and device based on artificial intelligence, electronic equipment and medium
CN114116108A (en) * 2021-11-30 2022-03-01 平安科技(深圳)有限公司 Dynamic rendering method, device, equipment and storage medium
CN115291773B (en) * 2022-08-09 2024-07-23 北京商银微芯科技有限公司 Tree structure data display method and device
CN116009842B (en) * 2023-01-05 2023-08-04 三峡高科信息技术有限责任公司 Service form customizing method based on visual dragging configuration
CN116225389A (en) * 2023-02-23 2023-06-06 北京字跳网络技术有限公司 Navigation tree view management method, device, equipment and storage medium
CN118656533A (en) * 2024-08-20 2024-09-17 北京数科网维技术有限责任公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291806A (en) * 2017-05-16 2017-10-24 浙江工业大学 A kind of Data View copy alternative manner in Web visible environments
CN110689600A (en) * 2019-09-16 2020-01-14 贝壳技术有限公司 Rendering method and device of tree component, readable storage medium and electronic equipment
CN112433799A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Page generation method, device, equipment and medium
CN112650899A (en) * 2020-12-30 2021-04-13 中国平安人寿保险股份有限公司 Data visualization rendering method and device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230319B2 (en) * 2008-01-31 2012-07-24 Microsoft Corporation Web-based visualization, refresh, and consumption of data-linked diagrams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291806A (en) * 2017-05-16 2017-10-24 浙江工业大学 A kind of Data View copy alternative manner in Web visible environments
CN110689600A (en) * 2019-09-16 2020-01-14 贝壳技术有限公司 Rendering method and device of tree component, readable storage medium and electronic equipment
CN112433799A (en) * 2020-11-25 2021-03-02 平安普惠企业管理有限公司 Page generation method, device, equipment and medium
CN112650899A (en) * 2020-12-30 2021-04-13 中国平安人寿保险股份有限公司 Data visualization rendering method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113282795A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN113282795B (en) Data structure diagram generation and updating method and device, electronic equipment and storage medium
US9396090B2 (en) System overview diagram generator
CN111754123B (en) Data monitoring method, device, computer equipment and storage medium
CN112650899B (en) Data visualization rendering method and device, computer equipment and storage medium
CN113094674A (en) Page display method and device, electronic equipment and storage medium
CN106951254B (en) Method and device for multiplexing similar service function modules in payment system
CN112948275A (en) Test data generation method, device, equipment and storage medium
CN114020256A (en) Front-end page generation method, device and equipment and readable storage medium
US8904364B2 (en) Execution in workflow BPM engine
CN114398282A (en) Test script generation method, device, equipment and storage medium
CN113268478A (en) Big data analysis method and device, electronic equipment and storage medium
CN113377708A (en) Method and device for converting two-dimensional design drawing into three-dimensional design drawing
CN117194382A (en) Middle-stage data processing method and device, electronic equipment and storage medium
CN112632293B (en) Industry map construction method and device, electronic equipment and storage medium
CN115827179A (en) Computing power scheduling method, device, equipment and storage medium for physical machine equipment
CN115061895A (en) Business process arranging method and device, electronic equipment and storage medium
CN115562662A (en) Application page creating method and device, computer equipment and storage medium
CN114896164A (en) Interface optimization method and device, electronic equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN114881313A (en) Behavior prediction method and device based on artificial intelligence and related equipment
CN114385155A (en) vue project visualization tool generation method, device, equipment and storage medium
CN112527443A (en) Prompt box display method and device, electronic equipment and computer readable storage medium
CN114637564B (en) Data visualization method and device, electronic equipment and storage medium
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN113627144B (en) Graph generation method and device based on artificial intelligence, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant