Center architecture graph construction method and architecture graph construction system
By building a central architecture diagram in the architecture diagram, using the layout of the central node and ring layer, the visual interference problem of existing architecture diagrams in complex situations is solved, and a clearer visualization effect is achieved.
Patent Information
- Application Number
- CN202311329839.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2025-04-15
AI Technical Summary
When the entity information and relationships are complex, existing architectural diagrams are prone to stacking and crossing nodes and edges, causing more visual interference to users' observations.
Provide a method and system for building a central architecture diagram. By obtaining multiple entity information and their relationships, determining the central node, and building multiple ring layers with the central node as the center to display the central architecture diagram to optimize the visual effect.
By arranging the nodes of other entity information as the central node, the nodes of other entity information are arranged in a ring layer, so that the user can more easily observe the relationship between the entity information indicated by the central node and other entity information, reducing visual interference.
Smart Images

Figure CN119829771A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for constructing a central architecture diagram and an architecture diagram construction system. Background Art
[0002] Architecture diagrams can show users entity information (e.g., business processes) and the relationships between entity information. However, the more entity information there is and the more complex the relationships between entity information are, the more nodes and edges there will be in the architecture diagram, which can easily lead to stacking and crossing of edges in the architecture diagram, causing more visual interference to users' observations. Summary of the invention
[0003] The present application provides a method for constructing a central architecture diagram and an architecture diagram construction system, which can construct a central architecture diagram with better visualization effect.
[0004] In the first aspect, the present application provides a method for constructing a central architecture diagram. The method can be applied to an architecture diagram construction system. Specifically, the architecture diagram construction system obtains multiple entity information and the relationship between the multiple entity information, and then determines the first entity information, wherein the first entity information is one of the multiple entity information. Afterwards, the architecture diagram construction system constructs a central architecture diagram based on the relationship between the first entity information and the multiple entity information, and displays the above-mentioned central architecture diagram, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple ring layers centered on the central node, each ring layer includes at least one node, and nodes in different ring layers have different relationships with the central node.
[0005] The central architecture diagram constructed by the technical solution provided by the present application provides users with another angle to observe entity information, that is, the node corresponding to the entity information that the user wants to observe is taken as the central node, and the nodes corresponding to other entity information are arranged into multiple ring layers with the central node as the center, so that users can more easily observe the relationship between the entity information indicated by the central node and other entity information.
[0006] In a possible implementation of the first aspect, after acquiring multiple entity information and the relationship between the multiple entity information, the architecture diagram construction system also constructs and displays a global architecture diagram based on the multiple entity information and the relationship between the multiple entity information, wherein each node in the global architecture diagram indicates one entity information in the multiple entity information. The architecture diagram construction system determines the first entity information, including: the architecture diagram construction system receives information generated by a user clicking on a first node in the global architecture diagram, and then determines the first entity information corresponding to the first node based on the above information. Through the above implementation, the architecture diagram construction system can construct a central architecture diagram according to the needs of the user, so that the user can focus on the entity information that he wants to observe.
[0007] In a possible implementation of the first aspect, the architecture diagram construction system constructs a central architecture diagram according to the relationship between the first entity information and the multiple entity information, including: the architecture diagram construction system determines the hierarchy of the multiple entity information according to the hierarchical relationship between the nodes in the global architecture diagram, and then determines the arrangement of the nodes of the multiple ring layers according to the hierarchy of the multiple entity information, wherein the hierarchy of the entity information indicated by the nodes of the same ring layer is the same, and the hierarchy of the entity information indicated by the nodes of different ring layers is different. Afterwards, the architecture diagram construction system constructs the central architecture diagram according to the arrangement of the nodes of the multiple ring layers.
[0008] Through the above implementation, the user can observe the relationship between the first entity information and entity information of different levels from the level of entity information. In addition, it is also convenient for the user to expand (or collapse) nodes according to the level of entity information to observe the entity information of the lower (or upper) level of the entity information indicated by the expanded (or collapsed) node.
[0009] In a possible implementation of the first aspect, the central architecture diagram is an enterprise process architecture diagram, which is used to represent the relationship between enterprise processes.
[0010] In a possible implementation of the first aspect, the architecture diagram construction system further receives an operation of expanding any node in the first annular layer of the central architecture diagram input by the user, wherein the node is used to indicate second entity information among multiple entity information, and the second entity information is associated with one or more entity information of lower layers. Afterwards, the architecture diagram construction system updates the central architecture diagram according to the operation of expanding the node, and displays the updated central architecture diagram, wherein the updated central architecture diagram hides the node, and the updated central architecture diagram includes a second annular layer, and the second annular layer includes one or more child nodes associated with the node, and the child nodes associated with the node indicate entity information of the lower layer of the second entity information.
[0011] Through the above implementation, the user can expand any node in the ring layer of the central architecture diagram according to needs to observe the entity information of the lower layer associated with the entity information indicated by the expanded node.
[0012] In a possible implementation of the first aspect, the architecture diagram construction system receives an operation of expanding any node in the first ring layer of the central architecture diagram input by a user, including: the architecture diagram construction system receives an operation of the user selecting the node and moving it to the area where the second ring layer of the central architecture diagram is located.
[0013] In a possible implementation of the first aspect, the architecture diagram construction system further receives an operation of replacing a central node input by a user, updates the central architecture diagram according to the operation of replacing the central node, and displays the updated central architecture diagram, wherein the updated central architecture diagram includes a new central node and nodes in multiple ring layers centered on the new central node. In this way, the user can observe any node as a central node according to needs.
[0014] In a possible implementation of the first aspect, the architecture diagram construction system receives an operation of replacing a central node input by a user, including: the architecture diagram construction system receives an operation of the user selecting any node in the third annular layer of the central architecture diagram and moving it to an area where the original central node is located. Alternatively, the architecture diagram construction system receives an operation of the user selecting a replaceable node and moving it to an area where the original central node is located, wherein the replaceable node is a node displayed in the central architecture diagram when the architecture diagram construction system detects an operation acting on the original central node.
[0015] In a possible implementation of the first aspect, the architecture diagram construction system further receives an operation of collapsing a second node in a fourth annular layer of the central architecture diagram input by a user, wherein the second node is used to indicate a third entity information among multiple entity information. Afterwards, the architecture diagram construction system updates the central architecture diagram according to the operation of collapsing the second node, and displays the updated central architecture diagram, wherein the updated central architecture diagram hides the second node and / or the third node in the fourth annular layer, the third node is used to indicate the fourth entity information among multiple entity information, and the updated central architecture diagram also includes a fifth annular layer, the fifth annular layer includes a fourth node, and the entity information of the lower layer associated with the entity information indicated by the fourth node includes the third entity information and the fourth entity information.
[0016] Through the above implementation, the user can collapse any one or more nodes in the ring layer of the central architecture diagram according to needs to observe the entity information of the upper layer associated with the entity information indicated by the collapsed node.
[0017] In a possible implementation of the first aspect, the architecture diagram construction system receives an operation input by a user to collapse a second node in a fourth ring layer of a central architecture diagram, including: the architecture diagram construction system receives an operation by a user to select the second node and move it to the area where the fifth ring layer is located.
[0018] In a possible implementation of the first aspect, the central architecture diagram further includes an edge between the central node and the nodes of the ring layer, and the edge indicates the relationship between the entity information indicated by the nodes at both ends of the edge. It should be understood that when the central architecture diagram does not include the edge between the nodes of the ring layer, the user can more intuitively observe the relationship between the first entity information and other entity information.
[0019] In a possible implementation of the first aspect, the central architecture diagram includes a hierarchy of entity information indicated by any node, so that the user can easily observe the hierarchy of the entity information. Alternatively, the nodes of the annular layer connected to the central node in the central architecture diagram are represented by different graphic elements from the nodes of other annular layers, so that the nodes of the annular layer connected to the central node are highlighted, so that the user can easily observe the entity information related to the first entity information.
[0020] In the second aspect, the present application provides a method for displaying a central architecture diagram. The method can be applied to an architecture diagram display system. Specifically, the architecture diagram display system displays a central architecture diagram, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple annular layers centered on the central node, each annular layer including at least one node. The architecture diagram display system also receives an operation by a user to move a first node in the first annular layer of the central architecture diagram to an area where a second annular layer is located, wherein the first node is used to indicate the second entity information. Afterwards, the architecture diagram display system hides the first node according to the user's operation on the first node, and displays the second node associated with the first node in the second annular layer, wherein the second node is used to indicate the third entity information, and the third entity information is associated with the second entity information.
[0021] In a possible implementation of the second aspect, the second node is a child node of the first node, and the third entity information is entity information of a lower layer of the second entity information. Alternatively, the second node is a parent node of the first node, and the third entity information is entity information of an upper layer of the second entity information.
[0022] In a possible implementation of the second aspect, the architecture diagram display system further receives an operation in which a user selects a third node in a third annular layer of the central architecture diagram and moves to an area where the central node is located, wherein the third node is used to indicate fourth entity information. Thereafter, the architecture diagram display system displays a new central node and nodes in multiple annular layers centered on the new central node according to the user's operation on the third node, wherein the new central node is the third node.
[0023] In a possible implementation of the second aspect, the architecture diagram display system further receives an operation performed by a user on a central node, and displays a replaceable node according to the operation, wherein the replaceable node is used to indicate the fifth entity information. Afterwards, the architecture diagram display system receives an operation of the user selecting a replaceable node and moving it to an area where the central node is located, and displays a new central node and nodes in multiple ring layers centered on the new central node according to the user's operation on the replaceable node, wherein the new central node is a replaceable node.
[0024] In a possible implementation of the second aspect, the central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
[0025] In a possible implementation of the second aspect, before displaying the central architecture diagram, the architecture diagram display system also obtains a global architecture diagram, wherein the global architecture diagram includes multiple nodes, each node is used to indicate an entity information, and then the hierarchy of the multiple entity information indicated by the multiple nodes is determined according to the hierarchical relationship between the nodes in the global architecture diagram. Afterwards, the architecture diagram display system determines the arrangement of the nodes of the multiple ring layers according to the hierarchy of the multiple entity information, wherein the nodes of the same ring layer indicate the same hierarchy of entity information, and the nodes of different ring layers indicate different hierarchies of entity information. Then, the architecture diagram display system constructs the central architecture diagram according to the arrangement of the nodes of the multiple ring layers.
[0026] In a third aspect, the present application provides an architecture diagram construction system. The system includes an acquisition module, a layout module, and a visualization module. The acquisition module is used to obtain multiple entity information and the relationship between the multiple entity information. The layout module is used to determine the first entity information, and to construct a central architecture diagram based on the relationship between the first entity information and the multiple entity information, wherein the first entity information is one of the multiple entity information. The visualization module is used to display the above-mentioned central architecture diagram, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple annular layers centered on the central node, each annular layer includes at least one node, and nodes in different annular layers have different relationships with the central node.
[0027] In a possible implementation of the third aspect, the layout module is further used to construct a global architecture diagram based on the plurality of entity information and the relationship between the plurality of entity information, wherein each node in the global architecture diagram indicates one entity information in the plurality of entity information. The visualization module is further used to display the global architecture diagram. The layout module is used to receive information generated when a user clicks on a first node in the global architecture diagram, and determine the first entity information corresponding to the first node based on the above information.
[0028] In a possible implementation of the third aspect, the layout module is used to determine the hierarchy of multiple entity information based on the hierarchical relationship between nodes in the global architecture diagram; determine the arrangement of nodes of multiple ring layers based on the hierarchy of the multiple entity information, wherein the nodes of the same ring layer indicate the same hierarchy of entity information, and the nodes of different ring layers indicate different hierarchies of entity information; and construct a central architecture diagram based on the arrangement of the nodes of the multiple ring layers.
[0029] In a possible implementation of the third aspect, the central architecture diagram is an enterprise process architecture diagram, which is used to represent the relationship between enterprise processes.
[0030] In a possible implementation of the third aspect, the architecture diagram construction system also includes an interaction module. The interaction module is used to receive an operation of expanding any node in the first annular layer of the central architecture diagram input by the user, wherein the node is used to indicate the second entity information among the multiple entity information, and the second entity information is associated with one or more lower-level entity information. The layout module is also used to update the central architecture diagram according to the operation of expanding the node. The visualization module is also used to display the updated central architecture diagram, wherein the updated central architecture diagram hides the node, and the updated central architecture diagram includes a second annular layer, and the second annular layer includes one or more child nodes associated with the node, and the child nodes associated with the node indicate the entity information of the lower layer of the second entity information.
[0031] In a possible implementation of the third aspect, the interaction module is used to receive an operation in which a user selects any node in the first annular layer and moves to an area where the second annular layer of the central architecture diagram is located.
[0032] In a possible implementation of the third aspect, the interaction module is further configured to receive an operation of replacing a central node input by a user. The layout module is further configured to update the central architecture diagram according to the operation of replacing the central node. The visualization module is further configured to display the updated central architecture diagram, wherein the updated central architecture diagram includes a new central node and nodes in multiple ring layers centered on the new central node.
[0033] In a possible implementation of the third aspect, the interaction module is used to receive an operation of a user selecting any node in the third annular layer of the central architecture diagram and moving it to an area where the original central node is located. Alternatively, the interaction module is used to receive an operation of a user selecting a replaceable node and moving it to an area where the original central node is located, wherein the replaceable node is a node displayed in the central architecture diagram when an operation acting on the original central node is detected.
[0034] In a possible implementation of the third aspect, the interaction module is further used to receive an operation of collapsing a second node in a fourth annular layer of the central architecture diagram input by a user, wherein the second node is used to indicate a third entity information among multiple entity information. The layout module is further used to update the central architecture diagram according to the above-mentioned operation of collapsing the second node. The visualization module is further used to display the updated central architecture diagram, wherein the updated central architecture diagram hides the second node and / or the third node in the fourth annular layer, the third node is used to indicate the fourth entity information among multiple entity information, and the updated central architecture diagram also includes a fifth annular layer, the fifth annular layer includes a fourth node, and the entity information of the lower layer associated with the entity information indicated by the fourth node includes the third entity information and the fourth entity information.
[0035] In a possible implementation manner of the third aspect, the interaction module is used to receive an operation of the user selecting the second node and moving it to an area where the fifth annular layer is located.
[0036] In a possible implementation manner of the third aspect, the central architecture diagram also includes an edge between the central node and the nodes of the ring layer, and the edge indicates the relationship between entity information indicated by the nodes at both ends of the edge.
[0037] In a possible implementation of the third aspect, the central architecture diagram includes a hierarchy of entity information indicated by any node. Alternatively, nodes in a ring layer connected to the central node in the central architecture diagram are represented by different primitives than nodes in other ring layers.
[0038] In a fourth aspect, the present application provides an architecture diagram display system. The system includes a visualization module and an interaction module. The visualization module is used to display a central architecture diagram, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple annular layers centered on the central node, each annular layer including at least one node. The interaction module is used to receive an operation of a user moving a first node in a first annular layer of the central architecture diagram to an area where a second annular layer is located, wherein the first node is used to indicate the second entity information. The visualization module is also used to hide the first node according to the user's operation on the first node, and to display the second node associated with the first node in the second annular layer, wherein the second node is used to indicate the third entity information, and the third entity information is associated with the second entity information.
[0039] In a possible implementation of the fourth aspect, the second node is a child node of the first node, and the third entity information is entity information of a lower layer of the second entity information. Alternatively, the second node is a parent node of the first node, and the third entity information is entity information of an upper layer of the second entity information.
[0040] In a possible implementation of the fourth aspect, the interaction module is further configured to receive an operation in which a user selects a third node in a third annular layer of the central architecture diagram and moves to an area where the central node is located, wherein the third node is used to indicate fourth entity information. The visualization module is further configured to display a new central node and nodes in multiple annular layers centered on the new central node according to the user's operation on the third node, wherein the new central node is the third node.
[0041] In a possible implementation of the fourth aspect, the interaction module is further used to receive an operation performed by a user on the central node. The visualization module is further used to display a replaceable node according to the operation, wherein the replaceable node is used to indicate the fifth entity information. The interaction module is further used to receive an operation of the user selecting a replaceable node and moving it to an area where the central node is located. The visualization module is further used to display a new central node and nodes in multiple annular layers centered on the new central node according to the user's operation on the replaceable node, wherein the new central node is a replaceable node.
[0042] In a possible implementation of the fourth aspect, the central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
[0043] In a possible implementation of the fourth aspect, the architecture diagram display system also includes a layout module. The layout module is used to obtain a global architecture diagram, wherein the global architecture diagram includes multiple nodes, and each node is used to indicate an entity information. The layout module is also used to determine the hierarchy of the multiple entity information indicated by the above multiple nodes according to the hierarchical relationship between the nodes in the global architecture diagram; according to the hierarchy of the above multiple entity information, determine the arrangement of the nodes of the multiple annular layers, wherein the nodes of the same annular layer indicate the same hierarchy of entity information, and the nodes of different annular layers indicate different hierarchies of entity information. The layout module is also used to construct the above central architecture diagram according to the arrangement of the nodes of the multiple annular layers.
[0044] In a fifth aspect, the present application provides a computing device. The computing device includes a processor and a memory. The processor is used to execute instructions stored in the memory to implement part or all of the methods described in the first aspect and any one of its implementations, the second aspect and any one of its implementations.
[0045] In a sixth aspect, the present application provides a computing device cluster. The computing device cluster includes at least one computing device, and each computing device includes a processor and a memory. The processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster performs part or all of the methods described in the first aspect and any one of its implementations, the second aspect and any one of its implementations.
[0046] In a seventh aspect, the present application provides a computer program product. The computer program product may be software or a program product that includes instructions and can be run on a computing device or stored in any available medium. When the computer program product is run on a computing device or a computing device cluster, the computing device or the computing device cluster executes part or all of the methods described in the aforementioned first aspect and any one of its implementations, and the second aspect and any one of its implementations.
[0047] In an eighth aspect, the present application provides a computer-readable storage medium. The computer storage medium includes computer program instructions, and when the computer program instructions are executed by a computing device or a computing device cluster, the computing device or the computing device cluster executes part or all of the methods described in the aforementioned first aspect and any one of its implementations, and the second aspect and any one of its implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a structural diagram of an architecture diagram construction system provided in an embodiment of the present application;
[0049] Figure 2 It is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0050] Figure 3A-Figure 3I is a schematic diagram of a user interface provided in an embodiment of the present application;
[0051] Figure 4 It is a schematic diagram of a method for constructing an architecture diagram provided in an embodiment of the present application;
[0052] Figure 5 It is a structural schematic diagram of an architecture diagram display system provided in an embodiment of the present application;
[0053] Figure 6 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0054] Figure 7 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;
[0055] Figure 8 It is a structural diagram of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The technical solution provided by the present application is described below in conjunction with the accompanying drawings.
[0057] An architecture diagram is a topological structure consisting of multiple nodes and at least one edge. Each node in an architecture diagram can indicate an entity information, and the edge in the architecture diagram can indicate the relationship between the entity information indicated by the nodes at both ends of the edge. Therefore, the architecture diagram can present entity information and the relationship between entity information to the user. However, the traditional architecture diagram has the problem of information flattening, that is, the architecture diagram will present all the entity information and the relationship between entity information to the user, so the more entity information there is and the more complex the relationship between entity information, the more nodes and edges there will be in the architecture diagram, resulting in poor overall visualization of the architecture diagram. Especially in the scenario where the user wants to focus on a single node in the architecture diagram, the large number of irrelevant nodes and edges in the architecture diagram will cause more visual interference to the user's observation.
[0058] For example, when managing and operating an enterprise, an architecture diagram (also referred to as an "enterprise process architecture diagram") can be used to present enterprise processes and the relationships between enterprise processes to users, so as to facilitate users to understand, manage and maintain enterprise processes, where enterprise processes refer to a set of standardized business operation rules and mechanisms in an enterprise. In the enterprise process architecture diagram, each node indicates a process architecture, and each edge indicates the integration relationship between the process architectures at both ends of the edge. The process architecture refers to a structured overall framework for enterprise processes, which describes the classification, hierarchy, boundary, scope, input / output relationship, etc. of enterprise processes, and reflects the operation mode and business characteristics of the enterprise. Moreover, a large process architecture can be further divided downward to form multiple lower-level process architectures, that is, one process architecture can be associated with multiple lower-level process architectures. Therefore, for an enterprise, there are a large number of low-level process architectures, and the relationships between low-level process architectures are very complex. Accordingly, the enterprise process architecture diagram includes a large number of nodes and edges. In this case, when a user wants to focus on a single enterprise process, the architecture diagram also displays a large number of irrelevant enterprise processes and the relationships between enterprise processes, which brings more visual interference to the user's observation.
[0059] In response to the above problems, an embodiment of the present application provides an architecture diagram construction system, through which the architecture diagram constructed by the system can present entity information and the relationship between entity information to the user in the form of a "star track". That is, the node corresponding to the entity information focused by the user in the architecture diagram is located at the center of the diagram, and the nodes corresponding to other entity information are arranged around the above-mentioned node located in the center, so that it is convenient for the user to use a single entity information as the observation center and understand the relationship between the entity information and other entity information. In order to distinguish it from the traditional architecture diagram, the architecture diagram constructed by the above-mentioned architecture diagram construction system will be referred to as the central architecture diagram below.
[0060] Figure 1The schematic diagram of the structure of a system for constructing an architecture diagram provided by an embodiment of the present application is shown. It should be understood that Figure 1 This is only an exemplary display of a division method of the structure of the architecture diagram construction system. In practical applications, the structure of the architecture diagram construction system may also have other division methods, which are not specifically limited in the embodiments of this application. Figure 1 As shown, the architecture diagram construction system 100 includes an acquisition module 101, a layout module 102, and a visualization module 103. Optionally, the architecture diagram construction system 100 may further include an interaction module 104.
[0061] The acquisition module 101 is used to obtain multiple entity information and the relationship between multiple entity information. Specifically, the acquisition module 101 can obtain multiple entity information and the relationship between multiple entity information from a database, or can obtain multiple entity information and the relationship between multiple entity information according to an operation input by a user (e.g., an administrator user). The entity information can be relevant information of an entity with hierarchical information, such as relevant information of a process architecture (e.g., the code and name of the process architecture), relevant information of an organizational unit (e.g., the name of a department), relevant information of a directory (e.g., the code and name of a directory), etc. The relationship between entity information can include an integrated relationship between entity information. The acquisition module 101 is also used to send the acquired multiple entity information and the relationship between multiple entity information to the layout module 102.
[0062] The layout module 102 is used to determine the first entity information, wherein the first entity information is one of the multiple entity information. The layout module 102 is also used to construct a central architecture diagram based on the relationship between the first entity information and the multiple entity information, wherein the central architecture diagram includes a central node, the central node indicates the first entity information, and the central architecture diagram also includes multiple annular layers centered on the central node, each annular layer includes at least one node, and nodes in different annular layers have different relationships with the central node. The layout module 102 is also used to send the constructed central architecture diagram to the visualization module 103.
[0063] Optionally, the layout module 102 is further configured to construct a global architecture diagram based on the plurality of entity information and the relationship between the plurality of entity information, and send the constructed global architecture diagram to the visualization module 103, wherein each node in the global architecture diagram indicates one of the plurality of entity information. Therefore, the layout module 102 can determine the first entity information in the following manner: the layout module 102 receives information generated by a user clicking on a first node in the global architecture diagram, and determines the first entity information corresponding to the first node based on the information.
[0064] Optionally, nodes in the same ring layer in the central architecture diagram indicate entity information at the same level, and nodes in different ring layers indicate entity information at different levels.
[0065] Optionally, the central architecture diagram further includes an edge between the central node and the nodes in the ring layer, where the edge is used to indicate the relationship between entity information indicated by the nodes at both ends of the edge.
[0066] The visualization module 103 is used to display the central architecture diagram constructed by the layout module 102. It should be understood that, from the aforementioned function of the layout module 102, the central architecture diagram constructed by the module highlights the central node, so as to facilitate the user to focus on the entity information indicated by the central node.
[0067] Optionally, the visualization module 103 is also used to display the global architecture diagram constructed by the layout module 102, so that the user can view the global architecture diagram and click on the first node in the global architecture diagram. Accordingly, the layout module 102 can receive information generated by the user clicking on the first node.
[0068] Optionally, the visualization module 103 is also used to optimize the central architecture diagram constructed by the layout module 102 to improve the visual effect of the central architecture diagram. For example, the hierarchy of entity information indicating a node or multiple indications is displayed. For another example, the nodes of the ring layer connected to the central node and the nodes of other ring layers are represented by different primitives.
[0069] In some embodiments, the architecture diagram construction system 100 may further include an interaction module 104 .
[0070] The interaction module 104 is used to receive the operation of the central architecture diagram input by the user, and send the operation of the central architecture diagram to the layout module 102. Accordingly, the layout module 102 is also used to update the central architecture diagram according to the operation of the central architecture diagram by the user, and send the updated central architecture diagram to the visualization module 103. The visualization module 103 is also used to display the updated central architecture diagram.
[0071] Optionally, the current central architecture diagram includes node a, node a is any node in the annular layer a, and node a indicates the second entity information in the above-mentioned multiple entity information. Then, the interaction module 104 can receive the operation of expanding node a input by the user, and then send the above-mentioned operation of expanding node a to the layout module 102. The layout module 102 updates the central architecture diagram according to the above-mentioned operation of expanding node a, and then sends the updated central architecture diagram to the visualization module 103. The visualization module 103 displays the updated central architecture diagram. Compared with the original central architecture diagram, the updated central architecture diagram hides node a, and displays the child nodes associated with node a on the annular layer b, wherein the child nodes associated with node a indicate the entity information of the lower layer associated with the second entity information. When node a in the original central architecture diagram is connected to the central node through an edge, the updated central architecture diagram also hides the edge between node a and the central node, and displays the edge between the child nodes associated with node a and the central node.
[0072] Optionally, the current central architecture diagram includes node d, node d is any node in the annular layer c, and node d indicates the third entity information in the above-mentioned multiple entity information. Then, the interaction module 104 can also receive the operation of retracting node d input by the user, and then send the operation of retracting node d to the layout module 102. The layout module 102 updates the central architecture diagram according to the operation of retracting node d, and then sends the updated central architecture diagram to the visualization module 103. The visualization module 103 displays the updated central architecture diagram. Compared with the original central architecture diagram, the updated central architecture diagram hides node d and / or node s in the annular layer c, and displays the parent node associated with node d in the annular layer d, wherein the parent node associated with node d is the same node as the parent node of node s, and node s indicates the fourth entity information in the above-mentioned multiple entity information, and the entity information of the lower layer associated with the entity information indicated by the parent node associated with node d includes the third entity information and the fourth entity information.
[0073] Optionally, the interaction module 104 may also receive an operation of replacing the central node input by the user, and then send the operation of replacing the central node to the layout module 102. The layout module 102 updates the central architecture diagram according to the operation of replacing the central node, and then sends the updated central architecture diagram to the visualization module 103. The visualization module 103 displays the updated central architecture diagram. Compared with the original central architecture diagram, the updated central architecture diagram displays the new central node and nodes in multiple ring layers centered on the new central node.
[0074] It can be seen from this that the architecture diagram construction system 100 provided in the embodiment of the present application can support the user to expand or collapse any node in the ring layer of the central architecture diagram, that is, the user can flexibly define the level of detail of the entity information displayed by the central architecture diagram according to needs. In addition, the architecture diagram construction system 100 provided in the embodiment of the present application also supports any node as the central node, that is, the user can focus on any entity information according to needs.
[0075] Optionally, the interaction module 104 is further configured to receive information generated when a user clicks on a first node in the global architecture diagram, and send the information to the layout module 102, so that the layout module 102 can determine the first entity information based on the above information.
[0076] In the embodiment of the present application, the architecture diagram construction system 100 may be a software system, a hardware device, or a combination of a software system and a hardware device.
[0077] When the architecture diagram construction system 100 is a software system, the architecture diagram construction system 100 can be deployed in a data center of a cloud environment. For example, the architecture diagram construction system 100 is a cloud service provided by a cloud service provider. In a specific implementation, the architecture diagram construction system 100 can be independently deployed on a computing instance in a data center of a cloud environment, or distributedly deployed on multiple computing instances in a data center of a cloud environment, wherein the computing instances include servers, virtual machines, and containers. Figure 2 As shown, the architecture diagram construction system 100 is deployed on the data center of the cloud environment and is abstracted as a cloud service by the cloud service provider. The administrator user can log in to the cloud platform through the client web page, select and purchase the cloud service corresponding to the architecture diagram construction system 100 on the cloud platform. After the purchase is successful, the administrator user can provide multiple entity information and the relationship between multiple entity information to the architecture diagram construction system 100 through the cloud platform. When an ordinary user wants to view the architecture diagram, the ordinary user logs in to the cloud platform through the local client web page, and through operation, the architecture diagram construction system 100 generates a central architecture diagram, optimizes the central architecture diagram, and displays the optimized central architecture diagram. Furthermore, the ordinary user can also expand or collapse any node in the ring line of the central architecture diagram to view the entity information of the lower or upper layer associated with the entity information indicated by the expanded or collapsed node. Alternatively, the ordinary user can also replace the central node in the central architecture diagram to explore other nodes as observation centers.
[0078] The architecture diagram construction system 100 can also be deployed on a terminal computing device. For example, the architecture diagram construction system 100 is a source code or component that can be run on one or more terminal computing devices. The terminal computing device includes a terminal server, a desktop, a smart phone, a laptop, a tablet computer, etc. In a possible deployment method, the acquisition module 101 and the layout module 102 in the architecture diagram construction system 100 are deployed on the back-end server, and the visualization module 103 and the interaction module 104 are deployed on the front-end server. For the user, when the user wants to view the architecture diagram, the back-end server constructs a central architecture diagram based on the obtained multiple entity information and the relationship between the multiple entity information, and returns the above-constructed central architecture diagram to the front-end server. Afterwards, the front-end server optimizes the above-mentioned central architecture diagram and presents the optimized central architecture diagram to the user. In addition, the user can also expand or collapse any node in the annular layer of the central architecture diagram through the front-end server, or replace the central node of the central architecture diagram. The back-end server will update the central architecture diagram according to the above-mentioned interactive operation, and then the front-end server will present the updated central architecture diagram to the user.
[0079] The architecture diagram construction system 100 can also be deployed in a distributed manner in different environments, including terminal computing devices and data centers in cloud environments. For example, the acquisition module 101 and layout module 102 of the architecture diagram construction system 100 are deployed in a data center in a cloud environment, and the visualization module 103 and interaction module 104 are deployed on a terminal computing device.
[0080] Below through Figure 3A-Figure 3I The described scenario describes the architecture diagram construction system 100 from the user's perspective.
[0081] This embodiment takes the enterprise process architecture diagram as an example. Through the enterprise process architecture diagram, users can understand the relationship between enterprise processes, such as the hierarchy, classification and boundary / scope of enterprise processes, and the integration relationship between enterprise processes (such as the input / output relationship between enterprise processes).
[0082] like Figure 3A As shown, the architecture diagram construction system 100 provides a user interface, which includes a toolbar, a directory bar, and a display bar. The toolbar includes editing tools for the architecture diagram, such as an undo button, a restore button, a refresh button, a favorite button, a download button, etc. The directory bar is used to display relevant information of the enterprise process, which may specifically include the code, name, and hierarchical information of the process architecture corresponding to the enterprise process. For example, Figure 3AThe process architecture information displayed in the directory column includes: code 1.0, name "integrated product development"; code 2.0, name "management finance"; code 3.0, name "management business change and information technology (management BT&IT)"; code 4.0, name "channel sales"; code 5.0, name "carrier business CRM", etc. The display column is used to show the center architecture diagram to the user.
[0083] When the user opens "2.0 Management Finance" and "2.5 Management Pricing" in the directory bar in turn, the architecture diagram construction system 100 will detect the operation acting on the directory bar, and in response to the operation, display the global architecture diagram in the display bar. The global architecture diagram includes node 1.0, node 3.0 to node 5.0, node 2.1 to node 2.7, and the child nodes associated with node 2.5 (i.e., node 2.5.1 to node 2.5.6), and the edges between these nodes. The process architecture indicated by node 1.0 is coded as 1.0, and its name is "Integrated Product Development"; the process architecture indicated by node 3.0 is coded as 3.0, and its name is "Management BT&IT"; the process architecture indicated by node 4.0 is coded as 4.0, and its name is "Channel Sales"; and so on. Each node in the global architecture diagram indicates a process architecture. The edges in the global architecture diagram indicate the integration relationship between the process architectures indicated by the nodes at both ends of the edge. The integration relationship between the process architectures indicated by each edge is not described here. Based on the global architecture diagram, users can observe the process architecture under "Manage Pricing" (for example, "Manage Business Model and Pricing Planning", "Manage Product Pricing"), as well as the relationship between these process architectures and other process architectures (for example, "Integrated Product Development", "Manage Plan Budget Forecasting", etc.).
[0084] like Figure 3B As shown, when the user wants to focus on "Manage Pricing Reviews and Forecasts", the user can Figure 3ANode 2.5.5 in the global architecture diagram shown selects the option of "Open central exploration mode". Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.5.5, and in response to the operation, displays the central architecture diagram in the display bar. As can be seen from the figure, the central node of the central architecture diagram is node 2.5.5, and the other nodes are arranged into three ring layers centered on node 2.5.5 according to the hierarchy of the process architecture indicated by the node (L1, L2, and L3 are shown in the figure). The central architecture diagram also includes edges connected to node 2.5.5, namely, the edge between node 2.5.5 and node 5.0, the edge between node 2.5.5 and node 2.1, the edge between node 2.5.5 and node 2.7, the edge between node 2.5.5 and node 2.5.1, the edge between node 2.5.5 and node 2.5.2, the edge between node 2.5.5 and node 2.5.3, and the edge between node 2.5.5 and node 2.5.4. Compared to Figure 3A The global architecture diagram shown in Figure 3B The central architecture diagram shown provides the user with another perspective of "Manage Pricing Review and Forecasting", and the user can more easily focus on "Manage Pricing Review and Forecasting" based on the central architecture diagram.
[0085] like Figure 3C As shown, when the user wants to further explore the relationship between "management pricing review and forecast" and "management plan budget forecast", the user can select node 2.1 in the middle ring layer of the central architecture diagram and move it to the outer ring layer. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.1, updates the central architecture diagram in response to the operation, and displays the updated central architecture diagram in the display bar. As can be seen from the figure, the updated central architecture diagram adds nodes 2.1.1 to 2.1.3, and the edge between node 2.1.2 and node 2.5.5, and hides node 2.6 and the edge between node 2.6 and node 2.5.5. Therefore, according to the updated central architecture diagram, the user can observe that the process architecture of the lower layer of "management plan budget forecast" includes "management budget generation", "management budget execution" and "management business planning", and among these three process architectures, only "management budget execution" and "management pricing review and forecast" have an integrated relationship, as well as the details of the integrated relationship.
[0086] like Figure 3DAs shown, when the user wants to focus on "managing product pricing", the user can select node 2.5.2 in the outer ring layer of the central architecture diagram and move to the area where node 2.5.5 is located. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.5.2, updates the central architecture diagram in response to the operation, and displays the updated central architecture diagram in the display bar. As can be seen from the figure, the central node of the updated central architecture diagram is node 2.5.2, and the other nodes are arranged into three ring layers with node 2.5.2 as the center. The updated central architecture diagram also includes the edges connected to node 2.5.2, namely, the edges between node 2.5.2 and node 2.2, the edges between node 2.5.2 and node 2.1.1, the edges between node 2.5.2 and node 2.5.1, the edges between node 2.5.2 and node 2.5.4, and the edges between node 2.5.2 and node 2.5.5. The central architecture diagram provides users with "managing product pricing" from another perspective, which is convenient for users to focus on "managing product pricing".
[0087] In addition, Figure 3E As shown in FIG. 1 , when the user wants to focus on “Manage Product Pricing”, the user can also hover the mouse over node 2.5.5 of the central architecture diagram. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.5.5, and in response to the operation, displays the nodes corresponding to the process architecture at level L3 near node 2.5.5 (shown as nodes 2.5.1 and 2.5.2 in the figure). Then, as shown in FIG. Figure 3F As shown, the user selects node 2.5.2 near node 2.5.5 and moves it to the area where node 2.5.5 is located. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.5.2, responds to the operation, updates the central architecture diagram, and displays the updated central architecture diagram in the display bar. As can be seen from the figure, the central node of the updated central architecture diagram is node 2.5.2, and the other nodes are arranged into three ring layers with node 2.5.2 as the center. The updated central architecture diagram also includes the edges connected to node 2.5.2, namely the edges between node 2.5.2 and node 2.2, the edges between node 2.5.2 and node 2.1.1, the edges between node 2.5.2 and node 2.5.1, the edges between node 2.5.2 and node 2.5.4, and the edges between node 2.5.2 and node 2.5.5. The central architecture diagram provides users with another perspective of "managing product pricing", which is convenient for users to focus on "managing product pricing".
[0088] By the above Figure 3E It can be seen that when the user hovers the mouse over the node 2.5.5 of the central architecture diagram, the architecture diagram construction system 100 will display the node corresponding to the process architecture at level L3 near the node 2.5.5. Figure 3GAs shown in the figure, when the user wants to display the nodes corresponding to the process architecture at level L1 near node 2.5.5, the user can click the level up button above node 2.5.5 and set the level to "L1". Accordingly, the architecture diagram construction system 100 detects the above operation and displays the nodes corresponding to the process architecture at level L1 near node 2.5.5 (shown as nodes 1.0 and 2.0 in the figure). When the user wants to focus on "Management Finance", as shown in the figure, Figure 3H As shown, the user selects node 2.0 and moves it to the area where node 2.5.5 is located. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.0, responds to the operation, updates the central architecture diagram, and displays the updated central architecture diagram in the display bar. As can be seen from the figure, the central node of the updated central architecture diagram is node 2.0, and other nodes are arranged with node 2.0 as the center. The updated central architecture diagram also includes edges on node 2.0, for example, edges between node 2.0 and node 1.0, edges between node 2.0 and node 3.0, edges between node 2.0 and node 4.0, and edges between node 2.0 and node 5.0. The central architecture diagram provides users with "management of finance" from another perspective, making it convenient for users to focus on "management of finance".
[0089] like Fig. 3I As shown, when the user wants to view the process architecture of the upper layer of "management budget generation", the user can select node 2.1.1 in the outer ring layer of the central architecture diagram and move it to the middle ring layer. Accordingly, the architecture diagram construction system 100 detects the operation acting on node 2.1.1, updates the central architecture diagram in response to the operation, and displays the updated central architecture diagram in the display bar. As can be seen from the figure, the updated central architecture diagram adds node 2.1 and the edge between node 2.1 and node 2.5.2, hides nodes 2.1.1 to node 2.1.3, and the edge between node 2.1.1 and node 2.5.2. According to the updated central architecture diagram, the user can observe that the upper process architecture of "management budget generation", "management budget execution" and "management business planning" is "management plan budget forecasting", and the integrated relationship between "management plan budget forecasting" and "management product pricing".
[0090] It should be understood that in order to facilitate the display of the architecture diagram, Figure 3B-Figure 3I The user interfaces shown all hide the directory bar. It should also be understood that Figure 3A-Figure 3IThe above is only an example of an application scenario of the architecture diagram construction system 100. In actual applications, the architecture diagram construction system 100 can also be applied to many other scenarios. For example, the central architecture diagram constructed by the architecture diagram construction system 100 can also be an organizational architecture diagram, which is used to present the organizational structure and functional relationship of the enterprise to the user. For another example, the central architecture diagram constructed by the architecture diagram construction system 100 can also be an architecture diagram about a network directory, which is used to present the network directory to the user, so that the user can find and browse the required information conveniently.
[0091] Combine the following Figure 4 The flowchart of the method for generating an architecture diagram is shown, and the functions of the architecture diagram construction system 100 are further described.
[0092] S101: The architecture diagram construction system 100 obtains a plurality of entity information and the relationship between the plurality of entity information.
[0093] The description of entity information and the relationship between entity information can be found in the previous text and will not be repeated here.
[0094] Specifically, the architecture diagram construction system 100 may obtain the plurality of entity information and the relationship between the plurality of entity information in any of the following ways:
[0095] Method 1: The architecture diagram construction system 100 obtains a plurality of entity information and the relationship between the plurality of entity information from a database.
[0096] Specifically, the database stores a plurality of entity information and the relationship between the plurality of entity information, and the architecture diagram construction system 100 can obtain the plurality of entity information and the relationship between the plurality of entity information by accessing the database.
[0097] Mode 2: The architecture diagram construction system 100 receives an operation input by a user (eg, an administrator user), and obtains a plurality of entity information and the relationship between the plurality of entity information according to the operation input by the user.
[0098] Specifically, the architecture diagram construction system 100 provides an access interface, such as an application programming interface (API), a graphical user interface (GUI), etc. The user can upload a file package to the architecture diagram construction system 100 through the access interface, wherein the file package includes multiple entity information and the relationship between the multiple entity information. After the architecture diagram construction system 100 receives the file package uploaded by the user, it can obtain the multiple entity information and the relationship between the multiple entity information by parsing the file package. In addition, the user can also create multiple entity information and the relationship between the multiple entity information on the architecture diagram construction system 100 through the access interface, so that the architecture diagram construction system 100 obtains the multiple entity information and the relationship between the multiple entity information.
[0099] S102: The architecture diagram construction system 100 constructs a central architecture diagram according to a plurality of entity information and the relationship between the plurality of entity information.
[0100] Specifically, the architecture diagram construction system 100 determines the first entity information, wherein the first entity information is one of the multiple entity information. Then, the architecture diagram construction system 100 constructs a central architecture diagram according to the relationship between the first entity information and the multiple entity information, wherein the central architecture diagram includes a central node, the central node is used to indicate the first entity information, and the central architecture diagram also includes multiple annular layers centered on the central node, each annular layer includes at least one node, and nodes in different annular layers have different relationships with the central node.
[0101] Optionally, the annular layer has various shapes, such as circular, elliptical, triangular, square, pentagonal, etc. For example, Figure 3B In the central architecture diagram shown, the shape of the annular layer is circular.
[0102] Optionally, the central architecture diagram also includes an edge connected to the central node, which is used to indicate the relationship between the entity information indicated by the nodes at both ends of the edge. It should be understood that when the central architecture diagram does not include the edge between the ring layer nodes, the user can more intuitively observe the relationship between the entity information indicated by the central node and other entity information.
[0103] In some embodiments, the first entity information may be specified by the user. Specifically, after acquiring the plurality of entity information and the plurality of entity information, the architecture diagram construction system 100 also constructs and displays a global architecture diagram based on the plurality of entity information and the relationship between the plurality of entity information. The global architecture diagram includes a plurality of nodes and a plurality of edges. Each node in the global architecture diagram is used to indicate one entity information among the plurality of entity information, and the edge in the global architecture diagram is used to indicate the relationship between the entity information indicated by the nodes at both ends of the edge. Afterwards, the architecture diagram construction system 100 receives the information generated by the user clicking on the first node in the global architecture diagram, and then determines the first entity information corresponding to the first node based on the information.
[0104] The first entity information may also be dynamically determined by the architecture diagram construction system 100 according to actual conditions. For example, the architecture diagram construction system 100 randomly selects the first entity information from multiple entity information.
[0105] In some embodiments, the global architecture diagram includes a hierarchical relationship between nodes, for example, Figure 3A In the global architecture diagram, nodes 1.0, 3.0 to 5.0 are nodes of the same level, nodes 2.1 to 2.5 are nodes of the same level, nodes 2.5.1 to 2.5.6 are nodes of the same level, and nodes 2.5.1 to 2.5.6 are subnodes of node 2.5. Therefore, the architecture diagram construction system 100 constructs a central architecture diagram according to the relationship between the first entity information and the first entity information, including: the architecture diagram construction system 100 determines the hierarchy of the above-mentioned multiple entity information according to the hierarchical relationship between the nodes in the global architecture diagram, and then determines the arrangement of the nodes of the multiple ring layers according to the hierarchy of the above-mentioned multiple entity information. Afterwards, the architecture diagram construction system 100 constructs a central architecture diagram according to the arrangement of the nodes of the multiple ring layers. In the central architecture diagram, the hierarchy of the entity information indicated by the nodes of the same ring layer is the same, and the hierarchy of the entity information indicated by the nodes of different ring layers is different. Accordingly, the nodes of different ring layers have different relationships with the central node, which may include: the relationship between the hierarchy of the entity information indicated by the nodes of different ring layers and the hierarchy of the first entity information is different.
[0106] Optionally, the level of entity information indicated by the nodes in the first annular layer is lower than the level of entity information indicated by the nodes in the second annular layer. The first annular layer is farther from the central node than the second annular layer. Figure 3BIn the central architecture diagram shown, the level of entity information indicated by the nodes in the outer annular layer is L3, the level of entity information indicated by the nodes in the middle annular layer is L2, and the level of entity information indicated by the nodes in the inner annular layer is L1. It should be understood that when a user observes the first entity information indicated by the central node, it may be necessary to expand the entity information related to the first entity information, which will result in adding nodes corresponding to the expanded entity information in the annular layer where the low-level nodes are located, and hiding the nodes corresponding to the expanded entity information in the annular layer where the high-level nodes are located. By setting the annular layer where the low-level nodes are located on the outside and the annular layer where the high-level nodes are located on the inside, the arrangement of the nodes in the central architecture diagram can be made more reasonable and beautiful.
[0107] In some embodiments, the architecture diagram construction system 100 determines the arrangement of nodes in multiple ring layers according to the levels of multiple entity information, including: the architecture diagram construction system 100 determines the number of nodes in each ring layer according to the levels of multiple entity information, and then determines the arrangement of nodes in each ring layer according to the number of nodes in each ring layer. Optionally, in order to improve the visual effect of the central architecture diagram, the nodes in the ring layer can be evenly arranged in the corresponding ring layer.
[0108] Since a ring layer may include multiple nodes, and these multiple nodes may include nodes connected to the central node and nodes not connected to the central node. In order to facilitate users to explore the relationship between the entity information indicated by the central node and other entity information, the nodes connected to the central node and the nodes not connected to the central node can be represented by primitives of different sizes. For simplicity, the size of the primitive corresponding to the node is referred to as the size of the node below. As an example, the size of the node of the ring layer connected to the central node is larger than the size of the node of the ring layer not connected to the central node. For example, in the previous text Figure 3B In the architecture diagram shown, node 2.1 is connected to the central node (i.e., node 2.5.5), node 2.2 is not connected to the central node, and the size of node 2.1 is larger than the size of node 2.2. Therefore, the architecture diagram construction system 100 determines the arrangement of the nodes in the ring layer according to the number of nodes in the ring layer, including: the architecture diagram construction system 100 determines the arrangement of the nodes in the ring layer according to the number and size of the nodes in the ring layer.
[0109] For example, the previous article Figure 3B For example, how to construct the architecture diagram construction system 100 Figure 3B The central architecture diagram shown is described.
[0110] The architecture diagram construction system 100 receives an operation in which a user clicks on node 2.5.1 in the global architecture diagram and selects the option "Open central exploration mode", determines the first entity information indicated by node 2.5.1 according to the operation, and further determines that the central node of the central architecture diagram is the node used to indicate the first entity information. The architecture diagram construction system 100 also determines the hierarchy of the entity information indicated by the nodes in the global architecture diagram according to the hierarchical relationship between the nodes in the global architecture diagram. Among them, the hierarchy of the entity information indicated by nodes 1.0, 3.0 to 5.0 in the global architecture diagram is the same, which is Figure 3B L1 shown in the figure; the level of entity information indicated by nodes 2.1 to 2.7 is the same, and this level is Figure 3B L2 shown in; the level of entity information indicated by nodes 2.5.1 to 2.5.6 is the same, which is Figure 3B L3 shown in ; and L1 is higher than L2, and L2 is higher than L3. Afterwards, the architecture diagram construction system determines that the central architecture diagram includes three ring layers according to the hierarchy of the entity information indicated by the nodes in the global architecture diagram, wherein the first ring layer includes nodes 1.0, nodes 3.0 to nodes 5.0, the second ring layer includes nodes 2.1 to nodes 2.4, nodes 2.6, and nodes 2.7, and the third ring layer includes nodes 2.5.1 to nodes 2.5.4, and nodes 2.5.6, and the above three ring layers are arranged in the first ring layer, the second ring layer, and the third ring layer.
[0111] For the nodes in the first annular layer, since the layer includes 4 nodes, and the entity information indicated by node 5.0 among the 4 nodes has an integrated relationship with the entity information indicated by the central node (i.e., node 2.5.5), the size of node 5.0 is larger than the sizes of the other 3 nodes, based on which nodes 1.0, 3.0 to 5.0 can be evenly arranged on the first annular layer. For the nodes in the second annular layer, since the layer includes 6 nodes, and the entity information indicated by node 2.1 and 2.7 among the 6 nodes has an integrated relationship with the entity information indicated by the central node, the sizes of node 2.1 and 2.7 are larger than the sizes of the other 4 nodes, based on which nodes 2.1 to 2.4, nodes 2.6, and nodes 2.7 can be evenly arranged on the second annular layer. For the nodes in the third ring layer, since this layer includes 5 nodes, and the entity information indicated by nodes 2.5.1 to 2.5.4 among these 5 nodes has an integrated relationship with the entity information indicated by the central node, the size of node 2.5.6 is smaller than that of the other 4 nodes. Based on this, nodes 2.5.1 to 2.5.4 and node 2.5.6 can be evenly arranged on the third ring layer. For details on the arrangement of the nodes in the above three ring layers, please refer to Figure 3B The central architecture diagram shown. It should be understood that Figure 3B The arrangement of the nodes in each ring layer in the central architecture diagram is only an example. In actual applications, there may be other arrangements. For example, the positions of the nodes 1.0 and 5.0 in the first ring layer may be interchanged.
[0112] S103: The architecture diagram construction system 100 displays a center architecture diagram.
[0113] In order to further improve the visualization effect of the central architecture diagram, the architecture diagram construction system 100 may further perform the following steps (ie, S104) before performing the above S103.
[0114] S104: The architecture diagram construction system 100 optimizes the central architecture diagram.
[0115] Specifically, the architecture diagram construction system 100 can optimize the central architecture diagram by any one or more of the following steps:
[0116] Step 1: The architecture graph construction system 100 determines the positions of the endpoints of the edge on the corresponding nodes according to the relative positions of the nodes at both ends of the edge.
[0117] Since the central node of the central architecture diagram may be connected to multiple nodes in the ring layer, that is, multiple edges may be connected to the central node, which may cause the multiple edges connected to the central node to cross and overlap with each other. In order to reduce the crossing and overlapping between the edges in the central architecture diagram, the architecture diagram construction system 100 can determine the positions of the endpoints of the edges between the central node and the nodes in the ring layer connected to it on the corresponding nodes according to the relative positions between the central node and the nodes in the ring layer connected to it. For example, Figure 3B In the central architecture diagram shown, the central node (i.e., node 2.5.5) is connected to 7 nodes in the ring layer, and there is no crossing or stacking between these 7 edges.
[0118] Step 2: The architecture diagram construction system 100 configures different primitives for the nodes of the ring layer connected to the central node and the nodes of other ring layers, wherein the different primitives include primitives of different sizes, primitives of different colors, primitives of different shapes, etc. For example, Figure 3B In the central architecture diagram shown, the size of the nodes in the ring layer connected to the central node (ie, node 2.5.5) (eg, node 5.0 and node 2.1) is larger than the size of the nodes in other ring layers.
[0119] Step 3: The architecture diagram construction system 100 displays the hierarchy of entity information indicated by any one or more nodes in the central architecture diagram, so as to facilitate the user to know the hierarchy of entity information indicated by each node in the central architecture diagram. Figure 3BIn the central architecture diagram shown, the level of entity information indicated by the central node (i.e., node 2.5.5) is displayed above the node (i.e., L3 in the diagram), the level of entity information indicated by the node is displayed near the inner ring layer (i.e., L1 in the diagram), the level of entity information indicated by the node is displayed near the middle ring layer (i.e., L2 in the diagram), and the level of entity information indicated by the node is displayed near the outer ring layer (i.e., L3 in the diagram).
[0120] Step 4: The architecture diagram construction system 100 sets the position of the central node to the middle position of the canvas.
[0121] The canvas refers to the display area of the central architecture diagram. It should be understood that when the central node is located in the middle of the canvas, since the nodes in the ring layer are arranged with the central node as the center, this step can make the entire central architecture diagram located in the middle area of the canvas, thereby improving the visual effect of the central architecture diagram.
[0122] Step 5: The architecture diagram construction system 100 configures the starting point or end point of any one or more edges in the central architecture diagram as different primitives. The different primitives include primitives of different colors, primitives of different shapes, primitives of different sizes, etc. For example, for a unidirectional edge in the architecture diagram, the starting point of the edge can be represented by a circle, and the end point can be represented by an arrow.
[0123] Step 6: The architecture diagram construction system 100 displays the identifiers of any one or more nodes in the central architecture diagram.
[0124] The node identifier includes the code and / or name of the corresponding entity information. Figure 3B The identification of the nodes in the central architecture diagram shown includes the name and code of the process architecture.
[0125] Step 7: The architecture diagram construction system 100 configures the central node and the nodes in the ring layer as different primitives, wherein the different primitives include primitives of different sizes, primitives of different colors, primitives of different shapes, etc. For example, Figure 3B In the central architecture diagram shown, the size of the central node is larger than the size of the nodes in the ring layer.
[0126] Step 8: The architecture diagram construction system 100 configures the nodes in different ring layers of the central architecture diagram into different primitives, where the different primitives include primitives of different sizes, primitives of different colors, primitives of different shapes, and the like.
[0127] Step 9: The architecture diagram construction system 100 configures the edges between the central node and the nodes in different ring layers as different line segments, where the different line segments include line segments of different colors or thicknesses.
[0128] After viewing the central architecture diagram displayed by the architecture diagram construction system 100, the user may also have the need to operate the central architecture diagram. For example, expand the nodes in the central architecture diagram to view the lower-level entity information associated with the entity information indicated by the expanded nodes. For another example, collapse the nodes in the central architecture diagram to view the upper-level entity information associated with the entity information indicated by the collapsed nodes. For another example, replace the central node of the central architecture diagram according to the needs to focus on the entity information indicated by the new central node. Therefore, after executing the above S103, the architecture diagram construction system 100 can also perform the following steps (i.e., S105):
[0129] S105 : In response to the operation input by the user, the architecture diagram construction system 100 updates the central architecture diagram and displays the updated central architecture diagram.
[0130] The following three cases describe this step:
[0131] Case 1: The user input operation is to expand the node a in the ring layer a of the central architecture diagram
[0132] Specifically, the architecture diagram construction system 100 receives an operation of expanding node a input by the user, then updates the central architecture diagram according to the operation of expanding node a, and then displays the updated central architecture diagram. It should be understood that the embodiment of the present application does not limit the operation by which the user expands node a. For example, node a may be selected and moved to annular layer b, wherein the level of entity information indicated by the nodes in annular layer a is higher than the level of entity information indicated by the nodes in annular layer b. For another example, it may be selecting a related option in the user interface for expanding node a, or filling in the related information in the user interface for expanding node a.
[0133] In some embodiments, node a is any node in the annular layer a, node a indicates the second entity information in the above-mentioned multiple entity information, and the second entity information is associated with one or more entity information of the lower layer. Then, the architecture diagram construction system 100 updates the central architecture diagram according to the above-mentioned operation of expanding node a, including: the architecture diagram construction system 100 hides node a in the annular layer a, and displays the child nodes associated with node a in the annular layer b, wherein the child nodes associated with node a indicate the entity information of the lower layer of the second entity information. In addition, when node a is connected to the central node through an edge, the architecture diagram construction system 100 also hides the edge between node a and the central node, and displays the edge between the child nodes associated with node a and the central node. It should be understood that the number of child nodes associated with node a included in the updated central architecture diagram can be one or more. When a child node associated with node a is included in the diagram, the child node indicates an entity information of the lower layer of the second entity information. When multiple child nodes associated with node a are included in the diagram, each of the multiple child nodes indicates an entity information of the lower layer of the second entity information.
[0134] In some embodiments, the architecture diagram construction system 100 displays the child nodes associated with node a in the annular layer b, including: the architecture diagram construction system 100 determines the arrangement of the child nodes associated with node a according to the number of child nodes associated with node a, and then displays the child nodes associated with node a in the annular layer b. More specifically, the architecture diagram construction system 100 determines the size of the child nodes associated with node a according to the relationship between the entity information indicated by the child nodes associated with node a and the first entity information, and then determines the arrangement of the child nodes associated with node a according to the number and size of the child nodes associated with node a, thereby displaying the child nodes associated with node a on the annular layer b.
[0135] Optionally, the annular layer b also includes node b, wherein the number of node b may be one or more. The architecture diagram construction system 100 also adjusts the position of node b in the annular layer b so that node b is not blocked by the child nodes associated with node a when the updated central architecture diagram is displayed. In some embodiments, node b may be a node affected by the above-mentioned expansion operation, that is, after the child nodes associated with node a are displayed in the annular layer b, if the position of node b is not adjusted, node b will be blocked by the child nodes associated with node a. In a specific implementation, the architecture diagram construction system 100 may adjust the position of node b in the following manner: the architecture diagram construction system 100 adjusts the position of node b according to the position of the child nodes associated with node a.
[0136] Optionally, the annular layer a includes a node c, wherein the number of nodes c may be one or more. The architecture diagram construction system 100 also adjusts the position of the node c in the annular layer a so that the arrangement of the nodes in the annular layer a is reasonable and beautiful when the updated central architecture diagram is displayed. In some embodiments, node c may be a node affected by the above-mentioned expansion operation, that is, after hiding the node a in the annular layer a, if the position of node c is not adjusted, the distance between node c and its adjacent nodes is large, thereby affecting the visual effect of the architecture diagram. In a specific implementation, the architecture diagram construction system 100 may adjust the position of node c in the following manner: the architecture diagram construction system 100 adjusts the position of node c according to the position of node a in the original central architecture diagram.
[0137] For example, the previous article Figure 3C Taking the central architecture diagram shown in FIG. 1 as an example, the following describes how the architecture diagram construction system 100 updates the central architecture diagram according to the operation of expanding nodes input by the user. Figure 3C It can be seen that when the architecture diagram construction system 100 detects the user input operation of expanding node 2.1 (i.e. selecting node 2.1 and moving it to the outer ring layer), in response to the operation, the architecture diagram construction system 100 hides node 2.1 in the middle ring layer and the edge between node 2.1 and node 2.5.5, and displays the child nodes of node 2.6 (i.e. nodes 2.1.1 to 2.1.3) and the edge between node 2.1.2 and node 2.5.5 in the outer ring layer. The architecture diagram construction system 100 also adjusts the arrangement of the nodes in the middle ring layer and the outer ring layer accordingly, so that the nodes in the two ring layers are evenly arranged.
[0138] Case 2: The user input operation is to collapse the node d in the ring layer c of the central architecture diagram
[0139] Specifically, the architecture diagram construction system 100 receives an operation of collapsing node d input by the user, then updates the central architecture diagram according to the above-mentioned collapsing operation, and then displays the updated central architecture diagram. It should be understood that the embodiment of the present application does not limit the operation by which the user collapses node d. For example, node d may be selected and moved to annular layer d, wherein the level of entity information indicated by the nodes in annular layer d is higher than the level of entity information indicated by the nodes in annular layer c. For another example, it may be selecting a related option in the user interface for collapsing node d, or filling in related information in the user interface for collapsing node d.
[0140] In some embodiments, the architecture diagram construction system 100 updates the central architecture diagram according to the above-mentioned operation of collapsing node d, including: the architecture diagram construction system 100 hides node d and / or node s in the annular layer c, and displays the parent and child nodes of node d in the annular layer d, wherein node d indicates the third entity information among the above-mentioned multiple entity information, node s indicates the fourth entity information among the above-mentioned multiple entity information, the parent node associated with node d and the parent node associated with node s are the same node, and the entity information of the lower layer associated with the entity information indicated by the parent node associated with node d includes the third entity information and the fourth entity information. In addition, when node d is connected to the central node through an edge, the architecture diagram construction system 100 also hides the edge between node d and the central node, and displays the edge between the parent node associated with node d and the central node.
[0141] In some embodiments, the architecture diagram construction system 100 displays the parent node associated with the node d in the annular layer d, including: the architecture diagram construction system 100 determines the arrangement of the node d, and then displays the node d in the annular layer d. More specifically, the architecture diagram construction system 100 determines the size of the node d according to the relationship between the entity information indicated by the node d and the entity information indicated by the central node, and then determines the arrangement of the node d according to the size of the node d, so as to display the node d in the annular layer d.
[0142] Optionally, the annular layer d also includes a node e, wherein the number of nodes e may be one or more. The architecture diagram construction system 100 also adjusts the position of node e in the annular layer d so that when the updated central architecture diagram is displayed, node e is not obscured by the parent node associated with node d. In some embodiments, node e may be a node affected by the above-mentioned collapse operation, that is, after the parent node associated with node d is displayed in the annular layer d, if the position of node e is not adjusted, node e will be obscured by the parent node associated with node d. In a specific implementation, the architecture diagram construction system 100 may adjust the position of node e in the following manner: the architecture diagram construction system 100 adjusts the position of node e according to the position of the parent node associated with node d.
[0143] Optionally, the annular layer c also includes a node f, wherein the number of nodes f may be one or more. The architecture diagram construction system 100 also adjusts the position of the node f in the annular layer c so that the arrangement of the nodes in the annular layer c is reasonable and beautiful when the updated central architecture diagram is displayed. In some embodiments, the node f may be a node affected by the above-mentioned folding operation, that is, after hiding the node d and / or the node s in the annular layer c, if the position of the node f is not adjusted, the distance between the node f and its adjacent nodes is large, thereby affecting the visual effect of the central architecture diagram. In a specific implementation, the architecture diagram construction system 100 may adjust the position of the node f in the following manner: the architecture diagram construction system 100 adjusts the position of the node f according to the position of the node d and / or the node s in the original central architecture diagram.
[0144] For example, the previous article Fig. 3I Taking the central architecture diagram shown in FIG. 1 as an example, the following describes how the architecture diagram construction system 100 updates the central architecture diagram according to the operation of collapsing nodes input by the user. Fig. 3I It can be seen that when the architecture diagram construction system 100 detects the user input operation of collapsing node 2.1.1 (i.e. selecting node 2.1.1 and moving it to the middle ring layer), in response to the operation, the architecture diagram construction system 100 hides nodes 2.1.1 to 2.1.3 in the outer ring layer, and the edge between node 2.1.1 and node 2.5.2, and displays the parent node of node 2.1.1 (i.e. node 2.1) and the edge between node 2.1 and node 2.5.2 in the middle ring layer. The architecture diagram construction system 100 also adjusts the arrangement of the nodes in the middle ring layer and the outer ring layer accordingly, so that the nodes in the two ring layers are evenly arranged.
[0145] Case 3: The user input operation is to replace the central node in the central architecture diagram
[0146] Specifically, the architecture diagram construction system 100 receives the operation of replacing the central node input by the user, and then updates the central architecture diagram according to the operation of replacing the central node, and then displays the updated central architecture diagram. The updated central architecture diagram includes the new central node and the nodes in multiple ring layers centered on the new central node. The updated central architecture diagram also includes the edges between the new central node and the nodes in the ring layers.
[0147] In some embodiments, the user may replace the central node in the central architecture diagram by any one or more of the following methods:
[0148] Method 1: The user selects node m on ring layer m and moves it to the area where the original central node is located, where the area where the original central node is located includes the location of the original central node and the area near it. Figure 3D In the example, the user selects the node 2.5.2 in the outer ring layer and moves it to the position of the central node (i.e., node 2.5.5), thereby replacing the original central node with node 2.5.2.
[0149] Method 2: The user selects a replaceable node and moves it to the area where the original central node is located, wherein the replaceable node can be a node displayed in the central architecture diagram when the architecture diagram construction system 100 detects the user's operation on the original central node.
[0150] Optionally, the user performs various operations on the original center node. For example, the user clicks the original center node, or the user hovers the mouse over the original center node (as described above). Figure 3EIn the example, after the user hovers the mouse over the node 2.5.5, the architecture diagram construction system 100 will display the node 2.5.1 and the node 2.5.2 near the node 2.5.5, which is not limited to this embodiment of the present application.
[0151] Optionally, the number of replaceable nodes can be one or more, and the replaceable nodes can be located near the original central node. In order to facilitate users to observe the replaceable nodes, the architecture diagram construction system 100 can configure different primitives for the replaceable nodes and other nodes (including the original central node and the nodes in the ring layer). For example, the replaceable nodes are represented by primitives in a rotating state, and the other nodes are represented by primitives in a stationary state. For another example, the replaceable nodes and other nodes are represented by primitives of different colors, sizes or shapes. Figure 3E Taking the central architecture diagram shown as an example, the replaceable nodes (i.e., node 2.5.1 and node 2.5.2) are located near the original central node (i.e., node 2.5.5), and the color and size of the replaceable nodes are different from those of the original central node and the nodes in the ring layer.
[0152] Optionally, the replaceable node may indicate the entity information indicated by the existing node in the central architecture diagram, for example, Figure 3E The entity information indicated by the two replaceable nodes shown in the figure corresponds to the entity information indicated by nodes 2.5.1 and 2.5.2 in the outer ring layer in the figure. The replaceable nodes can also indicate entity information indicated by nodes not shown in the central architecture diagram, for example, Figure 3G The replaceable nodes shown include node 2.0, which is not shown in the central architecture diagram. In this way, users can flexibly select entity information to explore.
[0153] Optionally, the replaceable node can be specified by the user according to the level indicated by the entity information. As an example, the central architecture diagram includes a level up / down button. When the user hovers the mouse over the position of the original central node, the replaceable node displayed in the central architecture diagram is at the same level as the entity information indicated by the original central node. For example, Figure 3E In the central architecture diagram, the level of entity information indicated by the replaceable nodes (i.e., nodes 2.5.1 and 2.5.2) is the same as that of the original central node (i.e., node 2.5.5), which is L3. When the user clicks the level up / down button, the level of entity information indicated by the replaceable nodes displayed in the central architecture diagram is different from that of the entity information indicated by the original central node. For example, Figure 3G In the diagram, the user clicks the level up button to make the replaceable nodes displayed in the central architecture diagram the nodes corresponding to the entity information at level L1 (ie, nodes 1.0 and 2.0 in the diagram).
[0154] It should be understood that in actual applications, the user can also achieve the purpose of replacing the central node through other operations. For example, the user can select relevant options in the user interface for replacing the central node, or fill in relevant information in the user interface for replacing the central node. This embodiment of the application is not limited to this.
[0155] In some embodiments, the architecture diagram construction system 100 updates the central architecture diagram according to the operation of replacing the central node, including: the architecture diagram construction system 100 determines the new central node and the nodes in multiple ring layers centered on the new central node, and then determines the arrangement of the above nodes, and obtains the updated central architecture diagram according to the arrangement of the above nodes. Among them, the position of the new central node is the position of the original central node, and the other nodes are arranged on at least one ring layer with the new central node as the center. It should be understood that for the sake of simplicity, this step does not describe in detail how the architecture diagram construction system 100 determines the arrangement of the nodes in the ring layer in the updated central architecture diagram. For details, please refer to the relevant steps of S102 above.
[0156] Optionally, since the technical solution provided in the embodiment of the present application is to provide users with another angle to observe the entity information indicated by the central node, the nodes of the ring layer in the updated central architecture diagram can be determined by the architecture diagram construction system 100 based on the new central node. For example, it can include nodes corresponding to entity information that has an integration relationship with the entity information indicated by the new central node.
[0157] Combined with the previous article Figure 1 The architecture diagram construction system 100 shown in the figure, the acquisition module 101, the layout module 102, the visualization module 103 and the interaction module 104 work together to achieve the above Figure 4 The steps performed by the architecture diagram construction system 100 in the described method embodiment. Specifically, the acquisition module 101 is used to execute S101. The layout module 102 is used to execute one or more of the following steps: S102, the steps related to updating the central architecture diagram in S105. The visualization module 103 is used to execute one or more of the following steps: S103, S104, and the steps related to displaying the updated central architecture diagram in S105. The interaction module 104 is used for one or more of the following steps: receiving the operation of the user clicking the first node in the global architecture diagram in S102, and receiving the user input for the operation on the central architecture diagram in S105.
[0158] The present application also provides an architecture diagram display system. Figure 5As shown, the architecture diagram display system 200 includes a visualization module 201 and an interaction module 202. Optionally, the architecture diagram display system 200 also includes a layout module 203. Specifically, the visualization module 201 is used to perform one or more of the following steps: S103, S104, and the steps related to displaying the updated central architecture diagram in S105. The interaction module 202 is used to perform one or more of the following steps: receiving the operation of the user clicking the first node in the global architecture diagram in S102, and receiving the user input for the operation on the central architecture diagram in S105. The layout module 203 is used to perform one or more of the following steps: S102, S105 related to updating the central architecture diagram.
[0159] In the embodiment of the present application, the architecture diagram shows that the system 200 can be a software system, a hardware device, or a combination of a software system and a hardware device.
[0160] When the architecture diagram display system 200 is a software system, the architecture diagram display system 200 can be deployed in a data center of a cloud environment. For example, the architecture diagram display system 200 is a cloud service provided by a cloud service provider. In a specific implementation, the architecture diagram display system 200 can be independently deployed on a computing instance in a data center of a cloud environment, or distributedly deployed on multiple computing instances in a data center of a cloud environment, wherein the computing instances include servers, virtual machines, containers, etc.
[0161] The architecture diagram display system 200 can also be deployed on a terminal computing device. For example, the architecture diagram display system 200 is a source code or component that can be run on one or more terminal computing devices. In a possible deployment method, the visualization module 201 and the interaction module 202 in the architecture diagram display system 200 are deployed on a front-end server, and the layout module 203 is deployed on a back-end server.
[0162] The architecture diagram display system 200 can also be deployed in a distributed manner in different environments, including terminal computing devices and data centers in a cloud environment. For example, the visualization module 201 and the interaction module 202 of the architecture diagram display system 200 are deployed on a terminal computing device, and the layout module 203 is deployed on a data center in a cloud environment.
[0163] The present application also provides a computing device. The computing device may be a terminal computing device or a server in a data center in a cloud environment. Figure 6 As shown, computing device 300 includes bus 301, processor 302, memory 303 and communication interface 304. Processor 302, memory 303 and communication interface 304 communicate with each other via bus 301.
[0164] The bus 301 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, Figure 6 Although only one line is used in the figure, this does not mean that the computing device 300 has only one bus or one type of bus. The bus 301 may include a path for transmitting information between various components of the computing device 300 (for example, the processor 302, the memory 303, and the communication interface 304).
[0165] The processor 302 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0166] The memory 303 may include a volatile memory, such as a random access memory (RAM). The memory 303 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid state drive (SSD).
[0167] An executable program code is stored in the memory 303. The processor 302 executes the executable program code stored in the memory 303 to perform some or all of the steps S101-S105 above, that is, the memory 303 stores program codes for implementing the functions of the architecture diagram construction system 100 (including the acquisition module 101, the layout module 102, the visualization module 103, and the interaction module 104), and / or the architecture diagram display system 200 (including the visualization module 201, the interaction module 202, and the layout module 203).
[0168] The communication interface 304 uses a transceiver module such as but not limited to a network interface card or a transceiver to implement communication between the computing device 300 and other devices or a communication network. For example, the computing device 300 displays a central architecture diagram to a user through the communication interface 304 .
[0169] The present application also provides a computing device cluster. The computing device cluster includes multiple computing devices, and the multiple computing devices in the computing device cluster may include one or more of terminal computing devices and servers in a data center of a cloud environment. Figure 7 As shown, the computing device cluster 400 includes multiple computing devices 300. The multiple computing devices 300 may be connected via a network (eg, a wide area network or a local area network, etc.).
[0170] The memory 303 of the multiple computing devices 300 in the computing device cluster 400 may store the same program code for executing part or all of the steps S101-S105. Alternatively, the memory 303 of the multiple computing devices 300 in the computing device cluster 400 respectively stores partial program codes for executing part or all of the steps S101-S105, that is, the combination of the multiple computing devices 300 jointly executes part or all of the steps S101-S105.
[0171] It should be understood that the present embodiment does not specifically limit which module in the architecture diagram construction system 100 and / or the architecture diagram display system 200 is deployed on which computing device 300. In practical applications, it can be adaptively deployed according to the computing power or specific needs of the computing device 300. Taking the architecture diagram construction system 100 as an example, considering how to present a central architecture diagram with better visualization effect to the user (for example, smooth interaction, timely page response, etc.), the present embodiment provides Figure 8 The deployment method shown in the figure. Figure 8 As shown, the computing device cluster 400 includes a computing device 300A and a computing device 300B. The computing device 300A and the computing device 300B are connected via a network, and specifically can be connected to the network via a communication interface in each computing device. The memory 303 in the computing device 300A stores instructions for implementing the functions of the acquisition module 101 and the layout module 102, and the memory 303 in the computing device 300B stores instructions for implementing the functions of the visualization module 103 and the interaction module 104.
[0172] The embodiment of the present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes the method for constructing the central architecture diagram described above.
[0173] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media, wherein the available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital versatile disc (DVD)), a semiconductor medium (e.g., an SSD), etc. The computer-readable storage medium includes instructions, wherein the instructions instruct the computing device to execute the method for constructing the central architecture diagram described above.
[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the protection scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for constructing a central architecture diagram, characterized in that: The method comprises: Acquire multiple entity information and the relationship between the multiple entity information; Determine first entity information, where the first entity information is one of the plurality of entity information; Constructing a central architecture diagram according to the relationship between the first entity information and the plurality of entity information; The central architecture diagram is displayed, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple ring layers centered on the central node, each ring layer includes at least one node, and nodes in different ring layers have different relationships with the central node.
2. The method according to claim 1, characterized in that: After acquiring the plurality of entity information and the relationship between the plurality of entity information, the method further includes: According to the plurality of entity information and the relationship between the plurality of entity information, construct and display a global architecture diagram, wherein each node in the global architecture diagram indicates one entity information among the plurality of entity information; The determining of the first entity information includes: receiving information generated by a user clicking on a first node in the global architecture diagram, and determining the first entity information corresponding to the first node according to the information.
3. The method according to claim 2, characterized in that The constructing a central architecture diagram according to the relationship between the first entity information and the plurality of entity information includes: Determining the hierarchy of the plurality of entity information according to the hierarchical relationship between the nodes in the global architecture diagram; Determine the arrangement of the nodes of the multiple ring layers according to the levels of the multiple entity information, wherein the levels of the entity information indicated by the nodes of the same ring layer are the same, and the levels of the entity information indicated by the nodes of different ring layers are different; The central architecture diagram is constructed according to the arrangement of the nodes of the multiple ring layers.
4. The method according to any one of claims 1 to 3, characterized in that: The central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
5. The method according to claim 3, characterized in that: The method further comprises: receiving an operation of expanding any node in the first annular layer of the central architecture diagram input by the user, wherein the any node is used to indicate second entity information among the plurality of entity information, and the second entity information is associated with one or more entity information of lower layers; The central architecture diagram is updated according to the operation of expanding any one of the nodes, and the updated central architecture diagram is displayed. The updated central architecture diagram hides any one of the nodes, and the updated central architecture diagram includes a second annular layer, and the second annular layer includes one or more child nodes associated with any one of the nodes, and the child nodes associated with any one of the nodes indicate entity information of the lower layer of the second entity information.
6. The method according to claim 5, characterized in that The operation of receiving the user input to expand any node in the first annular layer of the central architecture diagram includes: An operation of the user selecting any node and moving the node to the area where the second annular layer is located is received.
7. The method according to claim 3, characterized in that The method further comprises: receiving an operation of replacing the central node input by the user; The central architecture diagram is updated according to the operation of replacing the central node, and the updated central architecture diagram is displayed. The updated central architecture diagram includes a new central node and nodes in multiple ring layers centered on the new central node.
8. The method according to claim 7, characterized in that The operation of receiving the user input for replacing the central node includes: receiving an operation of the user selecting any node in the third annular layer of the central architecture diagram and moving the node to the area where the original central node is located; or, An operation of the user selecting a replaceable node and moving it to the area where the original central node is located is received, wherein the replaceable node is a node displayed in the central architecture diagram when the operation acting on the original central node is detected.
9. The method according to claim 3, characterized in that: The method further comprises: receiving an operation input by the user to collapse a second node in a fourth annular layer of the central architecture diagram, wherein the second node is used to indicate a third entity information among the plurality of entity information; The central architecture diagram is updated according to the operation of collapsing the second node, and the updated central architecture diagram is displayed, the updated central architecture diagram hides the second node and / or the third node in the fourth annular layer, the third node is used to indicate the fourth entity information among the multiple entity information, the updated central architecture diagram also includes a fifth annular layer, the fifth annular layer includes a fourth node, and the entity information of the lower layer associated with the entity information indicated by the fourth node includes the third entity information and the fourth entity information.
10. The method according to claim 9, characterized in that The operation of receiving the user input to collapse the second node in the fourth annular layer of the central architecture diagram includes: An operation of the user selecting the second node and moving it to the area where the fifth annular layer is located is received.
11. The method according to any one of claims 1 to 10, characterized in that: The central architecture diagram also includes an edge between the central node and the nodes of the ring layer, and the edge indicates the relationship between the entity information indicated by the nodes at both ends of the edge.
12. The method according to any one of claims 1 to 11, characterized in that: The central architecture diagram includes a hierarchy of entity information indicated by any node; or The nodes of the ring layer connected to the central node in the central architecture diagram are represented by different graphic elements than the nodes of other ring layers.
13. A method for displaying a central architecture diagram, characterized in that: The method comprises: Displaying a central architecture diagram, wherein a central node in the central architecture diagram is used to indicate first entity information, and the central architecture diagram further includes a plurality of ring layers centered on the central node, each ring layer including at least one node; receiving an operation of a user moving a first node in a first annular layer of the central architecture diagram to an area where a second annular layer is located, wherein the first node is used to indicate second entity information; According to the user's operation on the first node, the first node is hidden, and a second node associated with the first node is displayed in the second annular layer, wherein the second node is used to indicate third entity information, and the third entity information is associated with the second entity information.
14. The method according to claim 13, characterized in that The second node is a child node of the first node, and the third entity information is entity information of a lower layer of the second entity information; or, The second node is a parent node of the first node, and the third entity information is entity information in an upper layer of the second entity information.
15. The method according to claim 13 or 14, characterized in that The method further comprises: receiving an operation in which the user selects a third node in a third annular layer of the central architecture diagram and moves to an area where the central node is located, wherein the third node is used to indicate fourth entity information; According to the user's operation on the third node, a new central node and nodes in multiple ring layers centered on the new central node are displayed, and the new central node is the third node.
16. The method according to claim 13 or 14, characterized in that The method further comprises: Receiving an operation performed by the user on the central node; Displaying a replaceable node according to the operation performed by the user on the central node, wherein the replaceable node is used to indicate fifth entity information; receiving an operation by the user of selecting the replaceable node and moving it to the area where the central node is located; According to the user's operation on the replaceable node, a new central node and nodes in multiple ring layers centered on the new central node are displayed, and the new central node is the replaceable node.
17. The method according to any one of claims 14 to 16, characterized in that The central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
18. The method according to any one of claims 14 to 17, characterized in that Before presenting the center architecture diagram, the method further includes: Acquire a global architecture diagram, wherein the global architecture diagram includes a plurality of nodes, each node being used to indicate an entity information; Determining the hierarchy of the plurality of entity information indicated by the plurality of nodes according to the hierarchical relationship between the nodes in the global architecture diagram; Determine the arrangement of the nodes of the multiple ring layers according to the levels of the multiple entity information, wherein the levels of the entity information indicated by the nodes of the same ring layer are the same, and the levels of the entity information indicated by the nodes of different ring layers are different; The central architecture diagram is constructed according to the arrangement of the nodes of the multiple ring layers.
19. An architecture diagram construction system, characterized in that: The system comprises: An acquisition module, used to acquire multiple entity information and the relationship between the multiple entity information; a layout module, configured to determine first entity information, and construct a central architecture diagram according to a relationship between the first entity information and the plurality of entity information, wherein the first entity information is one of the plurality of entity information; A visualization module is used to display the central architecture diagram, wherein the central node in the central architecture diagram is used to indicate the first entity information, and the central architecture diagram also includes multiple ring layers centered on the central node, each ring layer includes at least one node, and nodes in different ring layers have different relationships with the central node.
20. The system according to claim 19, characterized in that The layout module is further used to construct a global architecture diagram according to the multiple entity information and the relationship between the multiple entity information, wherein each node in the global architecture diagram indicates one entity information in the multiple entity information; The visualization module is also used to display the global architecture diagram; The layout module is used to receive information generated by a user clicking on a first node in the global architecture diagram, and determine the first entity information corresponding to the first node according to the information.
21. The system according to claim 20, characterized in that The layout module is used to determine the hierarchy of the multiple entity information according to the hierarchical relationship between the nodes in the global architecture diagram; determine the arrangement of the nodes of the multiple ring layers according to the hierarchy of the multiple entity information, wherein the hierarchy of the entity information indicated by the nodes of the same ring layer is the same, and the hierarchy of the entity information indicated by the nodes of different ring layers is different; and construct the central architecture diagram according to the arrangement of the nodes of the multiple ring layers.
22. The system according to any one of claims 19 to 21, characterized in that The central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
23. The system according to claim 21, characterized in that The system also includes an interaction module, The interaction module is used to receive an operation of expanding any node in the first ring layer of the central architecture diagram input by the user, wherein the any node is used to indicate second entity information among the plurality of entity information, and the second entity information is associated with one or more entity information of lower layers; The layout module is further used to update the central architecture diagram according to the operation of expanding any node; The visualization module is also used to display the updated central architecture diagram, the updated central architecture diagram hides any of the nodes, and the updated central architecture diagram includes a second annular layer, the second annular layer includes one or more child nodes associated with any of the nodes, and the child nodes associated with any of the nodes indicate entity information of the lower layer of the second entity information.
24. The system according to claim 23, characterized in that The interaction module is used to receive an operation of the user selecting any node and moving it to the area where the second annular layer of the central architecture diagram is located.
25. The system according to claim 21, characterized in that The system also includes an interaction module, The interaction module is used to receive an operation of replacing the central node input by the user; The layout module is further used to update the central architecture diagram according to the operation of replacing the central node; The visualization module is also used to display the updated central architecture diagram, which includes a new central node and nodes in multiple ring layers centered on the new central node.
26. The system according to claim 25, characterized in that The interaction module is used to receive an operation in which the user selects any node in the third ring layer of the central architecture diagram and moves to the area where the original central node is located; or, to receive an operation in which the user selects a replaceable node and moves to the area where the original central node is located, where the replaceable node is a node displayed in the central architecture diagram when an operation acting on the original central node is detected.
27. The system according to claim 21, characterized in that The system also includes an interaction module, The interaction module is used to receive an operation input by the user to collapse a second node in a fourth ring layer of the central architecture diagram, wherein the second node is used to indicate a third entity information among the plurality of entity information; The layout module is further used to update the central architecture diagram according to the operation of folding the second node; The visualization module is also used to display the updated central architecture diagram, the updated central architecture diagram hides the second node and / or the third node in the fourth annular layer, the third node is used to indicate the fourth entity information among the multiple entity information, the updated central architecture diagram also includes a fifth annular layer, the fifth annular layer includes a fourth node, and the entity information of the lower layer associated with the entity information indicated by the fourth node includes the third entity information and the fourth entity information.
28. The system according to claim 27, characterized in that The interaction module is used to receive an operation of the user selecting the second node and moving it to the area where the fifth annular layer is located.
29. The system according to any one of claims 19 to 28, characterized in that The central architecture diagram also includes an edge between the central node and the nodes of the ring layer, and the edge indicates the relationship between the entity information indicated by the nodes at both ends of the edge.
30. The system according to any one of claims 19 to 29, characterized in that The central architecture diagram includes a hierarchy of entity information indicated by any node; or The nodes of the ring layer connected to the central node in the central architecture diagram are represented by different graphic elements than the nodes of other ring layers.
31. An architecture diagram display system, characterized in that: The system comprises: A visualization module, used to display a central architecture diagram, wherein a central node in the central architecture diagram is used to indicate first entity information, and the central architecture diagram further includes a plurality of annular layers centered on the central node, each annular layer including at least one node; An interaction module, configured to receive an operation of a user moving a first node in a first annular layer of the central architecture diagram to an area where a second annular layer is located, wherein the first node is used to indicate second entity information; The visualization module is further used to hide the first node according to the user's operation on the first node, and display the second node associated with the first node in the second annular layer, wherein the second node is used to indicate third entity information, and the third entity information is associated with the second entity information.
32. The system according to claim 31, characterized in that The second node is a child node of the first node, and the third entity information is entity information of a lower layer of the second entity information; or, The second node is a parent node of the first node, and the third entity information is entity information in an upper layer of the second entity information.
33. The system according to claim 31 or 32, characterized in that The interaction module is further used to receive an operation in which the user selects a third node in a third annular layer of the central architecture diagram and moves to an area where the central node is located, wherein the third node is used to indicate fourth entity information; The visualization module is further used to display a new central node and nodes in multiple ring layers centered on the new central node according to the user's operation on the third node, and the new central node is the third node.
34. The system according to claim 31 or 32, characterized in that The interaction module is further used to receive the operation performed by the user on the central node; The visualization module is further used to display a replaceable node according to the operation performed by the user on the central node, wherein the replaceable node is used to indicate fifth entity information; The interaction module is further used to receive an operation by the user to select the replaceable node and move it to the area where the central node is located; The visualization module is further used to display a new central node and nodes in multiple ring layers centered on the new central node according to the user's operation on the replaceable node, and the new central node is the replaceable node.
35. The system according to any one of claims 31 to 34, characterized in that The central architecture diagram is an enterprise process architecture diagram, and the enterprise process architecture diagram is used to represent the relationship between enterprise processes.
36. A system according to any one of claims 31 to 35, characterized in that The system also includes a layout module, The layout module is used to obtain a global architecture diagram, wherein the global architecture diagram includes multiple nodes, each node is used to indicate an entity information; according to the hierarchical relationship between the nodes in the global architecture diagram, the hierarchy of the multiple entity information indicated by the multiple nodes is determined; according to the hierarchy of the multiple entity information, the arrangement of the nodes of the multiple ring layers is determined, wherein the hierarchy of the entity information indicated by the nodes of the same ring layer is the same, and the hierarchy of the entity information indicated by the nodes of different ring layers is different; according to the arrangement of the nodes of the multiple ring layers, the central architecture diagram is constructed.
37. A computing device, characterized in that, The method comprises a processor and a memory, wherein the processor executes instructions stored in the memory to implement the method according to any one of claims 1 to 18.
38. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, which, when executed by a computing device, cause the computing device to perform the method according to any one of claims 1 to 18.
Citation Information
Cited By
Central architecture diagram construction method and architecture diagram construction system
EP4783028A1
Central architecture diagram construction method and architecture diagram construction system
WO2025077756A1