Rendering method, client, server and medium of organizational structure hierarchy tree

By caching and updating the organizational structure hierarchical tree on the client side, combined with server-side data change processing, the problem of low efficiency of traditional recursive traversal is solved, rendering speed and data operation efficiency are improved, and user experience is improved.

CN114942760BActive Publication Date: 2024-10-29CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210519895.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2024-10-29
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

In the existing technology, when loading data such as organizational structure and administrative divisions on the query page, traditional recursive traversal is inefficient, causing page loading to be stuck or even suspended, affecting the user's data query experience.

Method used

By caching the queried organizational structure hierarchical tree on the client, and querying the cache or requesting data from the server, recursive rendering is avoided, and preset encoding rules are used to convert the organizational structure data into a hierarchical tree. The client and server update according to the change information. Data, improve the efficiency of data addition, deletion and modification.

Benefits of technology

It improves rendering speed and data query experience, simplifies data operations, improves the efficiency of data addition, deletion and modification, and avoids performance problems caused by recursive rendering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114942760B_ABST
    Figure CN114942760B_ABST
Patent Text Reader

Abstract

The present application provides a rendering method, client, server and medium for an organizational structure hierarchy tree. The client queries in the cache whether there is an organizational structure hierarchy tree corresponding to the parent node according to the organizational code of the parent node that the user needs to query. When the organizational structure hierarchy tree exists, the client renders the organizational structure hierarchy tree. When the organizational structure hierarchy tree does not exist, the client requests organizational structure data from the server according to the organizational code, and then converts the organizational structure data into an organizational structure hierarchy tree. The client generates a rendering result according to the organizational structure hierarchy tree, avoiding recursive rendering of the organizational structure data and improving the rendering speed. The server changes the corresponding child nodes in the organizational structure data according to the information to be changed sent by the client and the preset coding rules of the organizational structure, and sends the organizational structure data of the new subtree where the changed child nodes are located to the client, thereby improving the efficiency of data change.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rendering technology, and in particular to a rendering method, client, server and medium of an organizational structure hierarchy tree. Background Art

[0002] Rendering in computer graphics refers to the process of using software to generate images from models. The model is a description of a three-dimensional object using a strictly defined language or data structure, which includes geometry, viewpoint, texture, and lighting information.

[0003] In the prior art, for data such as organizational structures and administrative divisions, when a query page is loaded, the client generally queries the server for the required structural data, and then uses a tree component within an open source UI framework to recursively render the received structural data and display the rendered image on the page.

[0004] However, the data size can be as large as tens of thousands, and the hierarchical relationship of the data is also very complex. The traditional recursive traversal efficiency is low, and the page loading may be stuck or even freeze, affecting the user's data query experience. Summary of the invention

[0005] The present application provides a rendering method, client, server and medium of an organizational structure hierarchy tree, so as to solve the problem that the conventional recursive traversal in the prior art is inefficient and may cause page loading jams or even pseudo-death phenomena.

[0006] In a first aspect, the present application provides a method for rendering an organizational structure hierarchy tree, which is applied to a client and includes:

[0007] Obtaining the organization code of the parent node to be queried, the parent node being the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree;

[0008] Querying, according to the organizational code of the parent node, whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache;

[0009] When the organizational structure hierarchy tree corresponding to the parent node exists in the cache, rendering the organizational structure hierarchy tree corresponding to the parent node generates a rendering result;

[0010] When the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache, requesting the organizational structure data of the parent node from the server according to the organizational code of the parent node, wherein the organizational structure data includes all child nodes of the parent node;

[0011] The organizational structure data is converted into an organizational structure hierarchical tree corresponding to the parent node, the organizational structure hierarchical tree obtained by the conversion is stored in the cache, and the organizational structure hierarchical tree corresponding to the parent node is rendered to generate a rendering result.

[0012] Optionally, converting the organizational structure data into an organizational structure hierarchy tree corresponding to the parent node includes:

[0013] According to the preset coding rules of the organizational structure, the organizational structure data is converted into an organizational height tree in the form of a two-dimensional array;

[0014] The organizational height tree is converted into an organizational structure level tree corresponding to the parent node.

[0015] Optionally, converting the organizational structure data into an organizational height tree in the form of a two-dimensional array according to a preset coding rule of the organizational structure includes:

[0016] The organizational structure data is layered according to the preset coding rule of the organizational structure to form an organizational height tree in the form of a two-dimensional array, and the nodes of each layer in the organizational height tree have a parent-child relationship with the nodes in the next layer;

[0017] The converting the organizational height tree into the organizational structure level tree corresponding to the parent node includes:

[0018] Traversing the last two nodes of the two-dimensional array in sequence, if the organization code of the child node starts with the organization code of its parent node, the child node and the parent node have a subordinate relationship, and assembling the child node and the parent node into a parent-child node;

[0019] When the traversal reaches the first node of the two-dimensional array, the traversal is stopped and the assembly of the organizational structure hierarchy tree is completed. The first node is the parent node of the organizational height tree.

[0020] Optionally, also include:

[0021] storing the organizational structure data corresponding to the parent node in the cache;

[0022] Sending the information to be changed to the server according to the user operation, wherein the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed;

[0023] Obtaining organizational structure data of the new subtree where the child node to be changed is located, sent by the server;

[0024] Updating the organizational structure data corresponding to the parent node stored in the cache according to the organizational structure data of the new subtree;

[0025] According to the preset coding rules of the organizational structure, the organizational structure data corresponding to the updated parent node is converted into an updated target organizational height tree in the form of a two-dimensional array, and the updated target organizational height tree is converted into an organizational structure hierarchy tree corresponding to the updated parent node.

[0026] In a second aspect, the present application provides a method for rendering an organizational structure hierarchy tree, which is applied to a server and includes:

[0027] Receive a data request sent by a client, where the data request is used to request organizational structure data of a parent node;

[0028] Sending the organizational structure data of the parent node to the client, wherein the organizational structure data includes all child nodes of the parent node;

[0029] Receiving the information to be changed sent by the client, wherein the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed;

[0030] According to the preset coding rule of the organizational structure and the information to be changed, the corresponding sub-node in the organizational structure data is changed to obtain the organizational structure data of the new sub-tree where the changed sub-node is located, wherein the change includes at least one of the following: adding, deleting and modifying;

[0031] The organizational structure data of the new subtree where the changed child node is located is sent to the client.

[0032] Optionally, the child node to be changed is a child node to be added, and the child node in the organizational structure data is changed according to a preset coding rule of the organizational structure and the information to be changed to obtain the organizational structure data of the new subtree where the changed child node is located, including:

[0033] According to the organization code of the child node to be changed, determining whether the child node to be changed exists in the organizational structure data, and whether the child node to be changed is separated from its parent node;

[0034] When the child node to be changed does not exist and the child node to be changed does not separate from its parent node, obtaining the organizational code of the parent node of the child node to be changed according to the preset organizational structure coding rule;

[0035] According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, add the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the parent node of the target layer and the child nodes of the next layer of the target layer.

[0036] Optionally, the child node to be changed is a child node to be deleted, and the child node in the organizational structure data is changed according to a preset organizational structure encoding rule and the information to be changed to obtain the organizational structure data of a new subtree where the changed child node is located, including:

[0037] According to the organization code of the child node to be changed, determining whether the child node to be changed exists in the organizational structure data, and whether the child node to be changed has child nodes;

[0038] When the child node to be changed exists and the child node to be changed has no child node, the server obtains the organizational code of the parent node of the child node to be changed according to the preset coding rule of the organizational structure;

[0039] According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, delete the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the nodes of the target layer and the nodes of the next layer of the target layer.

[0040] Optionally, the child node to be changed is a child node to be changed, the information to be changed also includes the organizational code of the new child node and the name of the new child node, and the child node to be changed and the new child node are nodes at the same layer, and the encoding rule of the preset organizational structure is that the organizational code of the parent node is used as the preamble of the organizational code of its child node, and the child node in the organizational structure data is changed according to the encoding rule of the preset organizational structure and the information to be changed to obtain the organizational structure data of the new subtree where the changed child node is located, including:

[0041] According to the organization code of the sub-node to be changed, determining whether the organizational structure data contains the sub-node to be changed;

[0042] When there is the child node to be changed, the organization code of the parent node of the child node to be changed is obtained according to the preset coding rule of the organization structure, and the organization code of the child node to be changed is used as the prefix of the child node;

[0043] According to the organization code of the parent node of the child node to be changed, the target layer where the parent node of the child node to be changed is located is determined, and the child node to be changed is deleted at a layer below the target layer.

[0044] The new child node is written into a layer below the target layer to obtain organizational structure data of the new subtree, wherein the organizational structure data of the new subtree includes nodes of the target layer and nodes of a layer below the target layer.

[0045] In a third aspect, the present application provides a client, including:

[0046] An acquisition module, used to acquire the organization code of the parent node to be queried, wherein the parent node is the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree;

[0047] A query module, used to query whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache according to the organizational code of the parent node;

[0048] A rendering module, configured to render the organizational structure hierarchy tree corresponding to the parent node to generate a rendering result when the organizational structure hierarchy tree corresponding to the parent node exists in the cache;

[0049] A request module, configured to request the organizational structure data of the parent node from the server according to the organizational code of the parent node when the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache, wherein the organizational structure data includes all child nodes of the parent node;

[0050] The processing module is used to convert the organizational structure data into an organizational structure hierarchy tree corresponding to the parent node, store the organizational structure hierarchy tree obtained by the conversion into the cache, and render the organizational structure hierarchy tree corresponding to the parent node to generate a rendering result.

[0051] In a fourth aspect, the present application provides a server, including:

[0052] A first receiving module, used to receive a data request sent by a client, wherein the data request is used to request organizational structure data of a parent node;

[0053] A first sending module, configured to send organizational structure data of the parent node to the client, wherein the organizational structure data includes all child nodes of the parent node;

[0054] A second receiving module, configured to receive the information to be changed sent by the client, wherein the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed;

[0055] A change module, used to change the corresponding sub-nodes in the organizational structure data according to the preset organizational structure coding rules and the information to be changed, and obtain the organizational structure data of the new sub-tree where the changed sub-nodes are located, wherein the change includes at least one of the following: adding, deleting and modifying;

[0056] The second sending module is used to send the organizational structure data of the new subtree where the changed child node is located to the client.

[0057] In a fifth aspect, the present application provides a client, comprising: a processor, and a memory communicatively connected to the processor;

[0058] The memory stores computer-executable instructions;

[0059] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.

[0060] In a sixth aspect, the present application provides a server, comprising: a processor, and a memory communicatively connected to the processor;

[0061] The memory stores computer-executable instructions;

[0062] The processor executes the computer-executable instructions stored in the memory to implement the method according to the second aspect.

[0063] In a seventh aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement a method for rendering an organizational structure hierarchy tree as described in the first aspect or the second aspect.

[0064] In an eighth aspect, the present application provides a computer program product, including a computer program, which implements the method described in the first aspect or the second aspect when executed by a processor.

[0065] The present application provides a rendering method, client, server and medium of an organizational structure hierarchical tree. The client obtains the organizational code of the parent node that the user needs to query, and queries whether there is an organizational structure hierarchical tree corresponding to the parent node in the cache according to the organizational code. When the organizational structure hierarchical tree exists, the client renders the organizational structure hierarchical tree to generate a rendering result. When the organizational structure hierarchical tree does not exist, the client requests the corresponding organizational structure data from the server according to the organizational code, and then converts the organizational structure data into the organizational structure hierarchical tree corresponding to the parent node. The tree component of the client generates a rendering result according to the organizational structure hierarchical tree and displays it to the user, thereby avoiding the tree component from recursively rendering the organizational structure data, improving the rendering speed, and bringing the user a better data query experience. The server changes the corresponding child nodes in the organizational structure data according to the information to be changed sent by the client and the encoding rules of the preset organizational structure, and sends the organizational structure data of the new subtree where the changed child node is located to the client, so that the client reassembles the organizational structure data of the new subtree with the original organizational structure data to generate an organizational structure hierarchical tree, which improves the efficiency of data addition, deletion and modification, and is more convenient than directly operating the structure of the organizational structure hierarchical tree. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0067] Figure 1 A schematic diagram of an organizational structure hierarchy tree for an example;

[0068] Figure 2 A method for rendering an organizational structure hierarchy tree provided in Embodiment 1 of the present application;

[0069] Figure 3 This is a schematic diagram of the rendering effect of the organizational structure hierarchy tree of the example;

[0070] Figure 4 A method for rendering an organizational structure hierarchy tree provided in Embodiment 2 of the present application;

[0071] Figure 5 A schematic diagram of the structure of a client provided in Embodiment 3 of the present application;

[0072] Figure 6 A schematic diagram of the structure of a server provided in Embodiment 4 of the present application;

[0073] Figure 7 A schematic diagram of the structure of a client provided in Embodiment 5 of the present invention;

[0074] Figure 8 A schematic diagram of the structure of a server provided in Embodiment 6 of the present invention.

[0075] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0077] In the prior art, for data such as organizational structure and administrative division, when a query page is loaded, the client generally queries the server for the required structural data, and then uses a tree component within an open source UI framework to recursively render the received structural data.

[0078] However, the data scale is as large as tens of thousands, and the hierarchical relationship of the data is also very complex. Traditional recursive traversal is inefficient and time-consuming, and the page loading may be stuck or even freeze, affecting the user's data query experience. Although lazy loading can be used to request only one organizational level of data each time, the amount of calculation for each data request can be reduced. However, in this method, if the option of the parent node to be queried is turned on or off multiple times, the client does not cache the corresponding data and sends a data request to the server each time. The data returned each time is the same, and these are invalid data, which easily occupies network resources.

[0079] Therefore, the present application proposes a rendering method, client, server and medium for an organizational structure hierarchy tree. The client stores the organizational structure hierarchy tree of the queried parent node in the constructed cache. When the user queries again, it is directly rendered and displayed by the client, and no data request is issued to the server, thereby improving the response speed. Moreover, when the organizational structure hierarchy tree does not exist in the cache, the client requests the organizational structure data from the server and converts the organizational structure data into the organizational structure hierarchy tree corresponding to the parent node, thereby avoiding the tree component from recursively rendering the organizational structure data, improving the rendering speed, and bringing users a better data query experience. The server changes the corresponding child nodes in the organizational structure data according to the preset encoding rules of the organizational structure, thereby improving the efficiency of data addition, deletion and modification, and making the change of child nodes easier.

[0080] The application scenario of the present application may be that when a user queries the organizational structure hierarchy tree on the query page of the client, the client interacts with the cache or server through the network, and the client renders and displays the organizational structure hierarchy tree. The organizational structure hierarchy tree may represent the relationship between various organizational structures of the enterprise, or may represent the administrative division of various regions, etc. The present application does not limit this, for example, Figure 1 The organizational structure hierarchy tree in the example is the relationship between each manager and the department under his jurisdiction. It can be understood that the rendering method of the organizational structure hierarchy tree of the present application includes but is not limited to the above application scenarios.

[0081] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments may exist independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0082] refer to Figure 2 , Figure 2 A method for rendering an organizational structure hierarchy tree is provided in Embodiment 1 of the present application. The method can be executed by a client and includes the following steps.

[0083] S201. Obtain the organization code of the parent node to be queried.

[0084] The parent node is the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree. When the parent node is the parent node of the organizational structure hierarchy tree, it means that when the user opens the query page, the client automatically obtains the organizational code of the parent node corresponding to the query page.

[0085] When the parent node is the parent node of any subtree in the organizational structure hierarchy tree, it means that when the user clicks on any child node in the organizational structure hierarchy tree in the query page, the client can obtain the organizational code of the parent node, so that the user can select the child node to be queried. The client only requests the data of the organizational level corresponding to the child node each time, which can reduce the amount of calculation for each data request.

[0086] S202: Query in the cache whether there is an organizational structure hierarchy tree corresponding to the parent node according to the organizational code of the parent node.

[0087] After obtaining the organization code of the parent node to be queried, the client can query whether there is an organization structure hierarchy tree corresponding to the parent node in the cache according to the organization code. Exemplarily, the cache can be a map cache container, or a hash map, object or structure, etc. The data structure for storing data is a key-value cache container, where the key is a keyword that is unique, such as the organization code of the parent node. Each node corresponds to a unique organization code, and the value is all child nodes of the parent node.

[0088] The cache stores the organizational structure hierarchy tree corresponding to the nodes that the user has queried, so that the user can quickly render the tree when querying again.

[0089] S203: When the organizational structure hierarchy tree corresponding to the parent node exists in the cache, the organizational structure hierarchy tree corresponding to the parent node is rendered to generate a rendering result.

[0090] When the organizational structure hierarchy tree corresponding to the parent node exists in the cache, the client generates a rendering result based on the organizational structure hierarchy tree using the tree component and displays it to the user, so that the user can quickly query the required data.

[0091] S204: When the organizational structure hierarchy tree does not exist in the cache, request organizational structure data from the server according to the organizational code of the parent node.

[0092] When the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache, it means that the user is querying the parent node to be queried for the first time. The client can request the organizational structure data corresponding to the parent node from the server based on the organizational code of the parent node to be queried, that is, send a data request to the server, and the data request includes the organizational code of the parent node to be queried. After receiving the data request message, the server returns the corresponding organizational structure data.

[0093] S205 , converting the organizational structure data into an organizational structure hierarchical tree corresponding to the parent node, storing the converted organizational structure hierarchical tree into a cache, and rendering the organizational structure hierarchical tree corresponding to the parent node to generate a rendering result.

[0094] After the client obtains the organizational structure data, it forms an organizational height tree in the form of a two-dimensional array according to the preset coding rules of the organizational structure. Specifically, the client layers the organizational structure data according to the preset coding rules of the organizational structure to form an organizational height tree in the form of a two-dimensional array. The nodes of each layer in the organizational height tree have a parent-child relationship with the nodes in the next layer.

[0095] Then, the client traverses the last two nodes of the two-dimensional array in turn. If the organization code of the child node starts with the organization code of its parent node, it is considered that the child node and the parent node have a subordinate relationship, and the child node and the parent node can be organized as a parent-child node. When the client traverses to the first node of the two-dimensional array, it stops traversing. At this time, the assembly of the organizational structure hierarchy tree is completed, and the first node is the parent node of the organizational height tree.

[0096] Exemplarily, taking a tree with three layers as an example, the encoding rules of the above preset organizational structure are: the parent node of the first layer can be represented by three digits "000", then the encoding length of the second layer can be 3 times the encoding length of the first layer, then the encoding of the child nodes of the second layer starts with the encoding of the first layer, that is, the encoding of the second child nodes can be "000001", "000002" and "000003", etc. For the direct child nodes of the next layer of the child node 000001, the encoding can be "000001001", and the encoding of the child nodes of other layers is similar. It can be understood that the subscript of the organizational height tree is the height corresponding to the assembled organizational structure hierarchy tree, and each array element value of the organizational height tree is all the nodes of the same layer in the organizational structure hierarchy tree.

[0097] After the client generates the organizational structure tree, it stores the converted organizational structure tree in the cache, so that when the user queries again, it can be directly rendered without sending data requests to the server. Then the client uses the tree component to generate a rendering effect based on the organizational structure tree for display. For example, the rendering effect of the organizational structure tree can be as follows: Figure 3shown.

[0098] Optionally, when the user needs to change a child node, the client can also send the information to be changed to the server according to the user operation, in which the organizational code of the child node to be changed and the name of the child node are included, so that the server changes the corresponding child node in the organizational structure data of the parent node, and then updates the organizational structure data corresponding to the parent node stored in the cache according to the organizational structure data of the new subtree where the child node to be changed is located returned by the server, thereby improving the efficiency of data change. Then, the client converts the organizational structure data corresponding to the updated parent node into an updated target organizational height tree in the form of a two-dimensional array according to the preset coding rules of the organizational structure, and converts the updated target organizational height tree into the organizational structure hierarchy tree corresponding to the updated parent node, so that the client can quickly render and display the updated organizational structure hierarchy tree to the user. For the specific conversion, please refer to step S205, which will not be repeated here.

[0099] It can be understood that the above-mentioned user operation can be that the user enters the organization code and name of the sub-node to be changed on the corresponding page, or the user clicks on the sub-node to be changed, and the client can automatically obtain the information to be changed, or obtain the information to be changed through other methods. This application does not limit the way in which the client obtains the information to be changed.

[0100] In this embodiment, the client obtains the organizational code of the parent node that the user needs to query, and queries whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache according to the organizational code. When the organizational structure hierarchy tree exists, the client renders the organizational structure hierarchy tree to generate a rendering result. When the organizational structure hierarchy tree does not exist, the client requests the corresponding organizational structure data from the server according to the organizational code, and then converts the organizational structure data into the organizational structure hierarchy tree corresponding to the parent node. The client's tree component generates a rendering result based on the organizational structure hierarchy tree and displays it to the user, thereby avoiding the tree component from recursively rendering the organizational structure data, improving the rendering speed, and bringing users a better data query experience.

[0101] The following describes a method for rendering an organizational structure hierarchy tree in which the execution subject is a server through Example 2.

[0102] refer to Figure 4 , Figure 4 A method for rendering an organizational structure hierarchy tree is provided in Embodiment 2 of the present application. The method can be executed by a server and includes the following steps.

[0103] S401: Receive a data request sent by a client.

[0104] The data request includes the organization code of the parent node to be queried, and the data request is used to request the organizational structure data of the parent node.

[0105] S402: Sending organizational structure data of the parent node to the client, where the organizational structure data includes all child nodes of the parent node.

[0106] After receiving the data request, the server queries the corresponding organizational structure data according to the organizational code of the parent node to be queried by the data request terminal, and then sends the organizational structure data to the client, so that the client assembles the organizational structure data to form an organizational structure hierarchy tree and renders it for display to the user.

[0107] S403: Receive the information to be changed sent by the client, where the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed.

[0108] When the user needs to change a sub-node, the server may receive the information to be changed sent by the client, where the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed.

[0109] S404: Change the corresponding sub-nodes in the organizational structure data according to the preset organizational structure coding rules and the information to be changed, and obtain the organizational structure data of the new sub-tree where the changed sub-nodes are located.

[0110] The server may change the corresponding sub-nodes in the organizational structure data according to the preset coding rules of the organizational structure and the information to be changed, and the change includes at least one of the following: adding, deleting and modifying.

[0111] The following describes how to add, delete, and modify child nodes.

[0112] The first case: when the child node to be changed is a child node to be added.

[0113] The server can determine whether there is a child node to be changed in the organizational structure data, and whether the child node to be changed is separated from its parent node, based on the organizational code of the child node to be changed. In other words, the newly added child node cannot be a child node existing in the organizational structure data, and it cannot be independently added without its parent node. Specifically, it can be determined whether the organizational code of the child node to be changed is repeated with the child node in the organizational structure data to determine whether the child node exists. As for whether the child node to be changed is separated from its parent node, taking the coding rules of the organizational structure preset in Example 1 as an example, the remaining codes of the organizational code of the child node to be changed except the last three codes can be compared with all the nodes in the organizational structure data. If there are the same ones, it is determined that the child node to be changed has not separated from its parent node. Otherwise, it is determined that the child node to be changed is separated from its parent node, and the new addition operation cannot be performed.

[0114] When there is no child node to be changed in the organizational structure data, and the child node to be changed does not separate from its parent node, the server can obtain the organizational code of the parent node of the child node to be changed according to the preset organizational structure coding rules. For example, if the organizational code of the child node to be changed is "000001001", then the organizational code of its parent node is "000001".

[0115] The server can determine the target layer where the parent node of the child node to be changed is located based on the organizational code of the parent node of the child node to be changed. Exemplarily, taking the coding rule of the organizational structure preset in Example 1 as an example, the organizational code of the parent node is "000001", then it is determined that the parent node is in the second layer, then the server can add the child node to be changed in the next layer of the target layer, that is, add the child node to be changed in the third layer, and obtain the organizational structure data of the new subtree of the parent node. The organizational structure data of the new subtree includes the parent node of the target layer and the child node of the next layer of the target layer.

[0116] The second case: when the child node to be changed is a child node to be deleted.

[0117] The server can determine whether the organizational structure data has a child node to be changed and whether the child node to be changed has child nodes based on the organizational code of the child node to be changed. In other words, the deleted child node cannot be a child node that does not exist in the organizational structure data, and the child node cannot have a child node, that is, the subtree with the child node as the parent node is an empty tree. Specifically, it can be determined whether the organizational code of the child node to be changed is repeated with the child node in the organizational structure data to determine whether the child node exists. Then it is determined whether there is a node in the next layer of the layer where the child node is located.

[0118] When there is a child node to be changed in the organizational structure data, and the child node to be changed has no child node, the specific method of obtaining the organizational code of the parent node of the child node to be changed refers to the first case above, which will not be repeated here.

[0119] The server can determine the target layer where the parent node of the child node to be changed is located based on the organizational code of the parent node of the child node to be changed. For specific examples, please refer to the example corresponding to the first case above. Then the server can delete the child node to be changed at the next layer of the target layer to obtain the organizational structure data of the new subtree of the parent node.

[0120] The third case: when the child node to be changed is a child node to be modified.

[0121] The information to be changed also includes the organizational code of the new child node and the name of the new child node, and the child node to be changed and the new child node are nodes of the same layer. The preset coding rule of the organizational structure is that the organizational code of the parent node is used as the prefix of the organizational code of its child node. For a specific example, refer to the example of the coding rule of the preset organizational structure in Example 1.

[0122] As in the first and second cases above, it is determined whether there is a child node to be changed in the organizational structure data. If there is a child node to be changed, the server obtains the organizational code of the parent node of the child node according to the preset coding rule of the organizational structure. The specific implementation is referred to the first case. And, the organizational code of the child node to be changed is used as the preamble of its child node. Specifically, taking the coding rule of the preset organizational structure in the first embodiment as an example, the coding of the preamble of the child node of the child node to be changed is modified to the organizational code of the child node to be changed.

[0123] Then determine the target layer where the parent node is located. For specific implementation, refer to the first case and will not be described here.

[0124] After determining the target layer where the parent node is located, the server can write a new child node in the next layer of the target layer to obtain the organizational structure data of the new subtree.

[0125] After obtaining the organizational structure data of the new subtree, the server synchronizes the organizational structure data to the client, so that the client stores the organizational structure data in the cache to regenerate the updated organizational structure hierarchy tree and render it.

[0126] S405: Send the organizational structure data of the new subtree where the changed child node is located to the client.

[0127] After the server changes the child node to be changed, it sends the organizational structure data of the new subtree where the changed child node is located to the client, so that the client can update the corresponding organizational structure data of the parent node according to the organizational structure data of the new subtree, and reassemble the updated organizational structure hierarchy tree for rendering and display to the user.

[0128] The server only changes the new subtree where the child node to be changed is located and returns it to the client, which improves the efficiency of data addition, deletion and modification.

[0129] In this embodiment, the server returns the corresponding organizational structure data to the client according to the data request sent by the client, so that the client can assemble the corresponding organizational structure hierarchical tree according to the organizational structure data and render it, so that the rendering efficiency is improved. Then the server changes the corresponding child nodes in the organizational structure data according to the information to be changed sent by the client and the encoding rules of the preset organizational structure, and sends the organizational structure data of the new subtree where the changed child nodes are located to the client, so that the client reassembles the organizational structure hierarchical tree according to the organizational structure data of the new subtree and the original organizational structure data, which improves the efficiency of data addition, deletion and modification, and is simpler than directly operating the structure of the organizational structure hierarchical tree.

[0130] refer to Figure 5 , Figure 5 This is a schematic diagram of the structure of a client provided in Embodiment 3 of the present application. The client 50 includes: an acquisition module 501 , a query module 502 , a rendering module 503 , a request module 504 and a processing module 505 .

[0131] The acquisition module 501 is used to acquire the organization code of the parent node to be queried, where the parent node is the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree.

[0132] The query module 502 is used to query whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache according to the organizational code of the parent node.

[0133] The rendering module 503 is used to render the organizational structure hierarchy tree corresponding to the parent node to generate a rendering result when the organizational structure hierarchy tree corresponding to the parent node exists in the cache.

[0134] The request module 504 is used to request the organizational structure data of the parent node from the server according to the organizational code of the parent node when the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache. The organizational structure data includes all child nodes of the parent node.

[0135] The processing module 505 is used to convert the organizational structure data into an organizational structure hierarchical tree corresponding to the parent node, store the converted organizational structure hierarchical tree into a cache, and render the organizational structure hierarchical tree corresponding to the parent node to generate a rendering result.

[0136] Optionally, the processing module 505 is specifically configured to:

[0137] According to the preset coding rules of the organizational structure, the organizational structure data is converted into an organizational height tree in the form of a two-dimensional array.

[0138] Convert the organizational height tree into the organizational structure level tree corresponding to the parent node.

[0139] Optionally, according to a preset coding rule of the organizational structure, the organizational structure data is converted into an organizational height tree in the form of a two-dimensional array, including:

[0140] The organizational structure data is layered according to the preset coding rules of the organizational structure to form an organizational height tree in the form of a two-dimensional array. The nodes of each layer in the organizational height tree have a parent-child relationship with the nodes in the next layer.

[0141] Convert the organizational height tree into the organizational structure hierarchy tree corresponding to the parent node, including:

[0142] Traverse the last two nodes of the two-dimensional array in sequence. If the organization code of the child node starts with the organization code of its parent node, the child node and the parent node have a subordinate relationship, and the child node and the parent node are assembled into a parent-child node.

[0143] When traversing to the first node of the two-dimensional array, stop traversing and complete the assembly of the organizational structure hierarchy tree. The first node is the parent node of the organizational height tree.

[0144] Optionally, the client 50 further includes a second processing module, and the second processing module is specifically configured to:

[0145] The organizational structure data corresponding to the parent node is stored in the cache.

[0146] The information to be changed is sent to the server according to the user operation, and the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed.

[0147] Get the organizational structure data of the new subtree where the child node to be changed is located, sent by the server.

[0148] The organizational structure data corresponding to the parent node stored in the cache is updated according to the organizational structure data of the new subtree.

[0149] According to the preset coding rules of the organizational structure, the organizational structure data corresponding to the updated parent node is converted into an updated target organizational height tree in the form of a two-dimensional array, and the updated target organizational height tree is converted into an organizational structure hierarchy tree corresponding to the updated parent node.

[0150] The client of this embodiment can be used to execute the steps of a rendering method of an organizational structure hierarchy tree in the first embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0151] refer to Figure 6 , Figure 6 A schematic diagram of the structure of a server provided in Embodiment 4 of the present application. The server 60 comprises: a first receiving module 601 , a first sending module 602 , a second receiving module 603 , a changing module 604 and a second sending module 605 .

[0152] The first receiving module 601 is used to receive a data request sent by a client, where the data request is used to request organizational structure data of a parent node.

[0153] The first sending module 602 is used to send the organizational structure data of the parent node to the client, where the organizational structure data includes all the child nodes of the parent node.

[0154] The second receiving module 603 is used to receive the information to be changed sent by the client, where the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed.

[0155] The change module 604 is used to change the corresponding sub-nodes in the organizational structure data according to the preset organizational structure coding rules and the information to be changed, and obtain the organizational structure data of the new subtree where the changed sub-nodes are located. The change includes at least one of the following: adding, deleting and modifying.

[0156] The second sending module 605 is used to send the organizational structure data of the new subtree where the changed child node is located to the client.

[0157] Optionally, the subnode to be changed is a subnode to be added, and the changing module 604 is specifically used for:

[0158] According to the organization code of the child node to be changed, it is determined whether the organizational structure data contains the child node to be changed, and whether the child node to be changed is separated from its parent node.

[0159] When there is no child node to be changed and the child node to be changed does not deviate from its parent node, the organizational code of the parent node of the child node to be changed is obtained according to a preset coding rule of the organizational structure.

[0160] According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, add the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the parent node of the target layer and the child nodes of the next layer of the target layer.

[0161] Optionally, the child node to be changed is a child node to be deleted, and the changing module 604 is further used to:

[0162] According to the organization code of the child node to be changed, it is determined whether the organization structure data has the child node to be changed, and whether the child node to be changed has child nodes.

[0163] When there is a child node to be changed, and the child node to be changed has no child nodes, the server obtains the organizational code of the parent node of the child node to be changed according to the preset coding rule of the organizational structure.

[0164] According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, delete the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the nodes of the target layer and the nodes of the next layer of the target layer.

[0165] Optionally, the child node to be changed is a child node to be changed, the information to be changed also includes the organization code of the new child node and the name of the new child node, and the child node to be changed and the new child node are nodes of the same layer, and the encoding rule of the preset organizational structure is that the organization code of the parent node is used as the preceding part of the organization code of its child node, and the changing module 604 is further used to:

[0166] According to the organization code of the child node to be changed, it is determined whether the organizational structure data has the child node to be changed.

[0167] When there is a child node to be changed, the organizational code of the parent node of the child node to be changed is obtained according to the preset coding rule of the organizational structure, and the organizational code of the child node to be changed is used as the prefix part of its child node.

[0168] According to the organization code of the parent node of the child node to be changed, the target layer where the parent node of the child node to be changed is located is determined, and the child node to be changed is deleted at a layer below the target layer.

[0169] A new child node is written into a layer below the target layer to obtain organizational structure data of a new subtree, wherein the organizational structure data of the new subtree includes nodes of the target layer and nodes of a layer below the target layer.

[0170] The server of this embodiment can be used to execute the steps of a rendering method of an organizational structure hierarchy tree in Embodiment 2. The specific implementation method and technical effect are similar and will not be repeated here.

[0171] Figure 7 A schematic diagram of the structure of a client provided in Embodiment 5 of the present invention is shown in FIG. Figure 7 As shown, the client 70 includes: a processor 701, a memory 702, and a transceiver 703. The memory 702 is used to store instructions, the transceiver 703 is used to communicate with other devices, and the processor 501 is used to execute the instructions stored in the memory so that the client 70 executes the steps of a rendering method for an organizational structure hierarchy tree as in Example 1. The specific implementation method and technical effect are similar and will not be repeated here.

[0172] Figure 8 A schematic diagram of the structure of a server provided in Embodiment 6 of the present invention is shown in FIG. Figure 8 As shown, the server 80 includes: a processor 801, a memory 802, and a transceiver 803. The memory 802 is used to store instructions, the transceiver 803 is used to communicate with other devices, and the processor 801 is used to execute the instructions stored in the memory so that the client 80 executes the steps of a rendering method for an organizational structure hierarchy tree as in Example 2. The specific implementation method and technical effect are similar and will not be repeated here.

[0173] Embodiment 7 of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the steps of a rendering method of an organizational structure hierarchy tree as in the above-mentioned embodiment 1 or embodiment 2. The specific implementation method and technical effect are similar and will not be repeated here.

[0174] Embodiment 8 of the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the steps of a rendering method for an organizational structure hierarchy tree as in the above-mentioned embodiment 1 or embodiment 2. The specific implementation method and technical effect are similar and will not be repeated here.

[0175] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0176] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for rendering an organizational structure hierarchy tree, characterized in that: Applied to the client, including: Obtaining the organization code of the parent node to be queried, the parent node being the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree; Querying, according to the organizational code of the parent node, whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache; When the organizational structure hierarchy tree corresponding to the parent node exists in the cache, rendering the organizational structure hierarchy tree corresponding to the parent node generates a rendering result; When the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache, requesting the organizational structure data of the parent node from the server according to the organizational code of the parent node, wherein the organizational structure data includes all child nodes of the parent node; Converting the organizational structure data into an organizational structure hierarchical tree corresponding to the parent node, storing the converted organizational structure hierarchical tree in the cache, and rendering the organizational structure hierarchical tree corresponding to the parent node to generate a rendering result; The converting the organizational structure data into an organizational structure hierarchy tree corresponding to the parent node includes: According to the preset coding rules of the organizational structure, the organizational structure data is converted into an organizational height tree in the form of a two-dimensional array; Converting the organizational height tree into an organizational structure level tree corresponding to the parent node; The step of converting the organizational structure data into an organizational height tree in the form of a two-dimensional array according to a preset coding rule of the organizational structure includes: The organizational structure data is layered according to the preset coding rule of the organizational structure to form an organizational height tree in the form of a two-dimensional array, and the nodes of each layer in the organizational height tree have a parent-child relationship with the nodes in the next layer; The converting the organizational height tree into the organizational structure level tree corresponding to the parent node includes: Traversing the last two nodes of the two-dimensional array in sequence, if the organization code of the child node starts with the organization code of its parent node, the child node and the parent node have a subordinate relationship, and assembling the child node and the parent node into a parent-child node; When the traversal reaches the first node of the two-dimensional array, the traversal is stopped and the assembly of the organizational structure hierarchy tree is completed. The first node is the parent node of the organizational height tree.

2. The method according to claim 1, characterized in that Also includes: storing the organizational structure data corresponding to the parent node in the cache; Sending information to be changed to the server according to a user operation, wherein the information to be changed includes an organization code of a sub-node to be changed and a name of the sub-node to be changed; Obtaining organizational structure data of the new subtree where the child node to be changed is located, sent by the server; Updating the organizational structure data corresponding to the parent node stored in the cache according to the organizational structure data of the new subtree; According to the preset coding rules of the organizational structure, the organizational structure data corresponding to the updated parent node is converted into an updated target organizational height tree in the form of a two-dimensional array, and the updated target organizational height tree is converted into an organizational structure hierarchy tree corresponding to the updated parent node.

3. A method for rendering an organizational structure hierarchy tree, characterized in that: Applied to a server, the method comprises: Receive a data request sent by a client, where the data request is used to request organizational structure data of a parent node; Sending the organizational structure data of the parent node to the client, wherein the organizational structure data includes all child nodes of the parent node; Receiving the information to be changed sent by the client, wherein the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed; According to the preset coding rule of the organizational structure and the information to be changed, the corresponding sub-node in the organizational structure data is changed to obtain the organizational structure data of the new sub-tree where the changed sub-node is located, wherein the change includes at least one of the following: adding, deleting and modifying; Sending the organizational structure data of the new subtree where the changed child node is located to the client; The child node to be changed is a child node to be added, and the child node in the organizational structure data is changed according to the preset organizational structure coding rule and the information to be changed to obtain the organizational structure data of the new subtree where the changed child node is located, including: According to the organization code of the child node to be changed, determining whether the child node to be changed exists in the organizational structure data, and whether the child node to be changed is separated from its parent node; When the child node to be changed does not exist and the child node to be changed does not separate from its parent node, obtaining the organizational code of the parent node of the child node to be changed according to the preset organizational structure coding rule; According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, add the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the parent node of the target layer and the child nodes of the next layer of the target layer.

4. The method according to claim 3, characterized in that The child node to be changed is a child node to be deleted, and the child node in the organizational structure data is changed according to the preset organizational structure coding rule and the information to be changed to obtain the organizational structure data of the new subtree where the changed child node is located, including: According to the organization code of the child node to be changed, determining whether the child node to be changed exists in the organizational structure data, and whether the child node to be changed has child nodes; When the child node to be changed exists and the child node to be changed has no child node, obtaining the organizational code of the parent node of the child node to be changed according to the preset coding rule of the organizational structure; According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, delete the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree. The organizational structure data of the new subtree includes the nodes of the target layer and the nodes of the next layer of the target layer.

5. The method according to claim 3, characterized in that: The child node to be changed is a child node to be modified, the information to be changed also includes the organizational code of the new child node and the name of the new child node, and the child node to be changed and the new child node are nodes at the same layer, the encoding rule of the preset organizational structure is that the organizational code of the parent node is used as the preamble of the organizational code of its child node, and the child node in the organizational structure data is changed according to the encoding rule of the preset organizational structure and the information to be changed to obtain the organizational structure data of the new subtree where the changed child node is located, including: According to the organization code of the sub-node to be changed, determining whether the organizational structure data contains the sub-node to be changed; When there is the child node to be changed, the organization code of the parent node of the child node to be changed is obtained according to the preset coding rule of the organization structure, and the organization code of the child node to be changed is used as the prefix of the child node; Determine the target layer where the parent node of the child node to be changed is located according to the organization code of the parent node of the child node to be changed, and delete the child node to be changed in a layer below the target layer; The new child node is written into a layer below the target layer to obtain organizational structure data of the new subtree, wherein the organizational structure data of the new subtree includes nodes of the target layer and nodes of a layer below the target layer.

6. A client, characterized in that: include: An acquisition module, used to acquire the organization code of the parent node to be queried, wherein the parent node is the parent node of the organizational structure hierarchy tree, or the parent node of any subtree in the organizational structure hierarchy tree; A query module, used to query whether there is an organizational structure hierarchy tree corresponding to the parent node in the cache according to the organizational code of the parent node; A rendering module, configured to render the organizational structure hierarchy tree corresponding to the parent node to generate a rendering result when the organizational structure hierarchy tree corresponding to the parent node exists in the cache; A request module, configured to request the organizational structure data of the parent node from the server according to the organizational code of the parent node when the organizational structure hierarchy tree corresponding to the parent node does not exist in the cache, wherein the organizational structure data includes all child nodes of the parent node; A processing module, configured to convert the organizational structure data into an organizational structure hierarchical tree corresponding to the parent node, store the organizational structure hierarchical tree obtained by the conversion into the cache, and render the organizational structure hierarchical tree corresponding to the parent node to generate a rendering result; The processing module is specifically used to convert the organizational structure data into an organizational height tree in the form of a two-dimensional array according to a preset coding rule of the organizational structure; and convert the organizational height tree into an organizational structure hierarchy tree corresponding to the parent node; The processing module is further specifically used to hierarchize the organizational structure data according to the preset coding rule of the organizational structure to form an organizational height tree in the form of a two-dimensional array, and the nodes of each layer in the organizational height tree have a parent-child relationship with the nodes in the next layer; The converting of the organization height tree into the organization structure hierarchy tree corresponding to the parent node includes: traversing the last two nodes of the two-dimensional array in sequence, if the organization code of the child node starts with the organization code of its parent node, the child node and the parent node have a subordinate relationship, and assembling the child node and the parent node into a parent-child node; when traversing to the first node of the two-dimensional array, stopping the traversal and completing the assembly of the organization structure hierarchy tree, the first node is the parent node of the organization height tree.

7. A server, characterized in that: include: A first receiving module, used to receive a data request sent by a client, wherein the data request is used to request organizational structure data of a parent node; A first sending module, configured to send organizational structure data of the parent node to the client, wherein the organizational structure data includes all child nodes of the parent node; A second receiving module, configured to receive the information to be changed sent by the client, wherein the information to be changed includes the organization code of the sub-node to be changed and the name of the sub-node to be changed; The sub-node to be changed is a sub-node to be added; A change module, used for judging whether the organizational structure data contains the child node to be changed and whether the child node to be changed is separated from its parent node according to the organizational code of the child node to be changed; When the child node to be changed does not exist and the child node to be changed does not separate from its parent node, obtaining the organizational code of the parent node of the child node to be changed according to a preset organizational structure coding rule; According to the organizational code of the parent node of the child node to be changed, determine the target layer where the parent node of the child node to be changed is located, add the child node to be changed in the next layer of the target layer, and obtain the organizational structure data of the new subtree, wherein the organizational structure data of the new subtree includes the parent node of the target layer and the child node of the next layer of the target layer, and the change includes at least one of the following: addition, deletion and modification; The second sending module is used to send the organizational structure data of the new subtree where the changed child node is located to the client.

8. A client, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to claim 1 or 2.

9. A server, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 3 to 5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement a method for rendering an organizational structure hierarchy tree as described in any one of claims 1 to 5.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to claim 1 or 2 or any one of claims 3 to 5 when executed by a processor.

Citation Information

Patent Citations

  • Service tree data processing method, system, client and server

    CN102135972A

  • Tree structure processing method and device

    CN106599218A

  • Node data presentation method, device, storage medium and electronic device

    CN109144998A