A layout and visualization method for multi-layer IT structures
Through hybrid layout algorithms and GPU parallel programming, the problems of complex relationships and low efficiency in the IT system structure are solved, multi-level visualization of the IT system is realized, and the clarity and efficiency of the layout are improved.
Patent Information
- Application Number
- CN202011038709.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-09-28
AI Technical Summary
Existing IT system structure visualization methods have problems such as opaque structure, unclear layout, and low efficiency when dealing with complex multi-level relationships. A single layout algorithm is difficult to adapt to complex relationships and a large number of nodes.
Using a hybrid layout algorithm combined with GPU parallel programming, preprocessing and data level definition are performed by obtaining the original data of the IT system structure, and matching the corresponding layout algorithm (hierarchical, star, ring) to achieve multi-level visualization, adapting to different node numbers and Layout requirements for relational complexity.
It achieves a clear, balanced, and beautiful multi-level layout of the IT system structure, improves visualization efficiency and user experience, and can quickly build and display complex topology structures.
Smart Images

Figure CN114282328B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional visualization, and in particular to a layout and visualization method for a multi-layer IT structure. Background Art
[0002] In recent years, with the rapid growth of application systems and the continuous upgrading of system architecture, IT systems have become increasingly complex. In the actual IT system management work, there are practical problems such as opaque IT architecture information, and often face problems such as volatile system architecture, unclear access relationships between systems, and untimely troubleshooting. Therefore, the research on end-to-end multi-level visualization of IT system structure has received more and more attention and is regarded as one of the important issues facing the operation and maintenance management of modern IT systems, and is an important means to solve the opacity of IT architecture information.
[0003] As a means to solve these problems, this paper proposes a multi-level visualization method for IT system structure, establishes a multi-level visualization model, realizes end-to-end visualization management, and expands the visualization field from physical facilities to multiple logical levels such as systems, businesses, and applications, making the internal structural relationships of the IT architecture clearly visible.
[0004] At present, there are complex relationships between nodes in the IT system structure, such as inclusion, initiation, dependency, belonging, etc. The use of effective layout algorithms can help users clearly and intuitively understand the node layout in the scene, intuitively control the local and global status of the scene, and facilitate managers to evaluate the overall system. The existing layout algorithms mainly include orthogonal layout algorithms, tree layout algorithms, graph layout algorithms, hierarchical layout algorithms, etc. The hierarchical layout algorithm is also a widely used layout algorithm with a very clear sense of hierarchy. However, when the number of nodes is large, the hierarchical layout algorithm will have an uneven distribution of nodes at different levels, resulting in top-heavy. Some people use the spiral transformation method to implement the hierarchical layout algorithm of the IT system structure to avoid the top-heavy problem in the process of node growth in the hierarchical layout. In the representation of the concept lattice, the traditional three-dimensional visualization layout algorithm has the problem of unclear representation of the complex concept lattice structure and unsightly graphics. There are also improvements to the layout algorithm by adding virtual nodes, but the method based on the probability graph layout has the problem of too long running time and unstable graph layout. Some people use the algorithm based on the multi-layer graph layout to make up for the defects of the uncertainty network visualization method based on the probability graph layout.
[0005] However, the above methods all use a single layout algorithm to implement the IT system structure, which has certain limitations and cannot be well applied to problems with complex IT system structure relationships and many types of relationships. Therefore, this paper uses a hybrid layout algorithm to implement the multi-level layout of the IT system architecture, and also takes into account the problem of low layout rendering efficiency. The parallel programming method of GPU is used to accelerate the parsing of the multi-level visualization model of the IT system structure and the layout rendering efficiency. Summary of the invention
[0006] The purpose of the present invention is to provide a layout and visualization method for multi-layer IT structures to solve the problems of opaque IT architecture and complex structural relationships in IT system structure visualization; by establishing a multi-level visualization model of the IT system structure and adopting an end-to-end design concept, objects, elements, rules and relationships from the underlying IT infrastructure to the upper-level systems, applications and other logical levels are presented in a three-dimensional visualization form, making the internal structure relationship of IT clearly visible. Application scenarios: computer rooms, physical equipment, cabinets, switches, security equipment... A hybrid layout algorithm is used to adapt the corresponding layout algorithm to the different characteristics of IT structural relationships, so as to adapt to the complex and changeable IT system structural relationships.
[0007] The technical solution adopted by the present invention to achieve the above-mentioned purpose is: a layout and visualization method for a multi-layer IT structure, comprising the following steps:
[0008] 1) Obtaining original data of the IT system structure, wherein the original data includes attributes of a source node of the IT system structure and the level to which it belongs;
[0009] The attributes of the source node include device type information, level type information, device relationship information, and device location information;
[0010] The source node belongs to a layer including an application layer, a physical layer and a service layer;
[0011] 2) Preprocessing the original data of the IT system structure, defining the data hierarchy and data nodes according to the attributes of the source node and the hierarchy to which it belongs, and obtaining a hierarchy containing the corresponding application layer, physical layer and business layer, and a node containing node attributes for mapping the hierarchy to which the source node belongs;
[0012] The data hierarchy definition is used to set at least one of the application layer, physical layer and business layer of the display IT system structure; the data node definition is used to set the node in the display hierarchy;
[0013] 3) Matching the corresponding layout algorithm according to the node attributes, obtaining the association relationship between the node data according to the matched layout algorithm, and completing the layout of the node data in the display layer;
[0014] 4) After performing collision detection adjustment on the node data of the completed layout, the adjusted node data is visualized in multiple levels through a 3D visualization engine.
[0015] In step 2), the node attributes include: the level to which it belongs, the constraints used to match the layout algorithm, the length of the display level, the user terminal icon, the external system icon, the access channel icon, the firewall icon, the web server icon, the location information, and the node relationship data.
[0016] In step 3), the corresponding layout algorithm is matched according to the node attributes.
[0017] Specifically: if there is an association relationship between multiple nodes, the hierarchical layout algorithm is executed to connect multiple associated nodes; otherwise, the hybrid layout algorithm is executed.
[0018] The hierarchical layout algorithm includes the following steps:
[0019] Step 1: Obtain node data, analyze the node data to obtain the level information, location information, and node relationship data in the node attributes;
[0020] Step 2: Divide each node into levels;
[0021] Step 3: Connect the nodes according to the association between the node data.
[0022] The hybrid layout algorithm is specifically executed as follows:
[0023] When the number of nodes exceeds the set threshold, the star layout algorithm is executed to realize a star structure composed of multiple nodes;
[0024] When the number of nodes is lower than the set threshold, the ring layout algorithm is executed to achieve that when a certain node and the nodes connected to it are one-to-many, a certain node corresponds to other nodes around the node to form a ring structure;
[0025] The star-shaped structure is a single star-shaped structure or a double star-shaped structure; the ring-shaped structure is one of a single ring-shaped structure, a ring-cutting ring-shaped structure and a ring-intersecting ring-shaped structure.
[0026] The star layout algorithm comprises the following steps:
[0027] Step 1: Get the node attributes corresponding to the node data, divide the node into corresponding sub-levels according to the node attributes, the number of sub-levels can be dynamically increased, and the central node is determined according to the counter;
[0028] Step 2: For the divided sub-levels, in a certain sub-level, the radius distance R is set according to the central node to evenly distribute the nodes, and the layout of the distributed nodes is performed according to the node rules; the nodes are connected to the associated nodes through the star algorithm;
[0029] Step 3: Connect the nodes with association relationships respectively to realize the star structure layout.
[0030] The determining of the central node according to the counter is specifically as follows:
[0031] Set m nodes as B1...Bm respectively. When the number of other nodes connected to a certain node among the m nodes exceeds a set value, set the node as the central node.
[0032] The step 2 is specifically:
[0033] Among the nodes that meet the center, connections are made according to the relationship attributes associated with the center node. The connection rule is first based on how many nodes the center node has associated with it, and then based on the number of nodes and the set radius distance R, that is, the distance from each node to the center node, the nodes are allocated according to the angle; the formula is as follows:
[0034] The degree between each node: a = 360 / n;
[0035] Where a is the angle between the node and the node it is connected to, and n is the number of nodes;
[0036] The star-shaped structure layout evenly distributes nodes according to the set radius distance R to achieve the layout of the distributed nodes.
[0037] The ring layout algorithm is as follows:
[0038] Step 1: Get the node attributes corresponding to the node data, and divide the corresponding sub-levels according to the node attributes. The number of sub-levels can be increased dynamically. The sub-levels are connected through node relationships, and the sub-levels are connected to the next level branch nodes;
[0039] Step 2: For the divided sub-levels, in a specific sub-level, the nodes are connected to the nodes in the distributed sub-level through a ring algorithm, thereby realizing the layout of A1, A2, A3...An nodes;
[0040] Step 3: Then connect a node of the first level in the sub-level with its associated next sub-level branch application node.
[0041] The present invention has the following beneficial effects and advantages:
[0042] 1. Aiming at the layout of multi-level IT system structure, the present invention proposes hierarchical display and viewing operations, which determines the level of the application node through the attributes of the application node information, and when the viewing operation is monitored, the node set is traversed to display all nodes of each layer and the connections between nodes of each layer, making the network topology layout more hierarchical.
[0043] 2. The present invention adopts a hybrid layout algorithm, which effectively solves the layout clarity problem in the visualization topology structure, and the user can have an intuitive visualization experience.
[0044] 3. The present invention can complete the construction and layout of complex topologies with multiple levels and multiple nodes in a relatively short time, thereby improving the efficiency of visual layout. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flow chart of a layout and visualization method for a multi-level IT system structure involved in the present invention;
[0046] Figure 2 It is a flow chart of the hierarchical layout algorithm of the present invention. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0048] like Figure 1 As shown, the present invention relates to a layout and visualization flowchart for a multi-level IT system structure. First, the format of JSON string data is used to assemble it into a JSON string according to the data structure definition for data transmission and data processing of functional modules.
[0049] Acquire original data of the IT system structure, wherein the original data includes attributes of a source node of the IT system structure and a hierarchy to which it belongs;
[0050] The attributes of the source node include device type information, level type information, device relationship information, and device location information;
[0051] The source node belongs to a layer including an application layer, a physical layer and a service layer;
[0052] 2) Preprocess the original data of the IT system structure, define the data hierarchy and data nodes according to the attributes of the source node and the hierarchy to which it belongs. These points are for attribute analysis. Each node has its own unique attribute value. Parse the data according to the attribute value, filter the nodes, and then hierarchize according to the attribute value in the node.
[0053] Obtaining a layer for mapping the source node to which the source node belongs and including a layer corresponding to the application layer, the physical layer and the business layer, and a node including node attributes;
[0054] The data hierarchy definition is used to set at least one of the application layer, physical layer and business layer that display the IT system structure; the data node definition is used to set the nodes in the display hierarchy; the node attributes include: the hierarchy to which it belongs, the constraints used to match the layout algorithm, the length of the display hierarchy, the user terminal icon, the external system icon, the access channel icon, the firewall icon, the web server icon, the location information, and the node relationship data.
[0055] 3) Matching the corresponding layout algorithm according to the node attributes, obtaining the association relationship between the node data according to the matched layout algorithm, and completing the layout of the node data in the display layer;
[0056] If there is an association relationship between multiple nodes, the hierarchical layout algorithm is executed to connect multiple associated nodes; otherwise, the hybrid layout algorithm is executed.
[0057] like Figure 2 As shown, it is a flowchart of the hierarchical layout algorithm of the present invention, which obtains the information of the data connection node from the back end, and then analyzes the data connection node information, finds the corresponding connection relationship according to the analyzed node information results, divides the application nodes according to the level, and divides them into different layers according to the node and connection attributes. The above information is input into the GPU end, and then all application nodes are divided into corresponding levels, and different application nodes are divided into their corresponding levels.
[0058] Step 1: Get the data and analyze it, filter out the dirty node data, that is, filter out some node information that does not conform to our layered architecture.
[0059] Step 2: Since the number of nodes is relatively small, only a few hundred, the node levels can be clarified by the node level attributes, and then the node levels can be divided accordingly. The node attributes include the level, constraints, length, user terminal, external system, access channel, firewall, web server, etc.
[0060] Step 3: Input the above node information into the system, and then divide all application nodes into corresponding layers, and divide different application nodes into their corresponding layers. The number of layers can be displayed dynamically (dynamic addition is not limited to 3 layers).
[0061] Among them, the hybrid layout algorithm is executed, specifically:
[0062] When the number of nodes exceeds the set threshold, the star layout algorithm is executed to realize a star structure composed of multiple nodes;
[0063] When the number of nodes is lower than the set threshold, the ring layout algorithm is executed to achieve that when a certain node and the nodes connected to it are one-to-many, a certain node corresponds to other nodes around the node to form a ring structure;
[0064] The star-shaped structure is a single star-shaped structure or a double star-shaped structure; the ring-shaped structure is one of a single ring-shaped structure, a ring-cutting ring-shaped structure and a ring-intersecting ring-shaped structure.
[0065] The star layout algorithm comprises the following steps:
[0066] Step 1: Get the node attributes corresponding to the node data, divide the node into corresponding sub-levels according to the node attributes, the number of sub-levels can be dynamically increased, and the central node is determined according to the counter;
[0067] Step 2: For the divided sub-levels, in a certain sub-level, the radius distance R is set according to the central node to evenly distribute the nodes, and the layout of the distributed nodes is performed according to the node rules; the nodes are connected to the associated nodes through the star algorithm;
[0068] Step 3: Connect the nodes with association relationships respectively to realize the star structure layout.
[0069] The determining of the central node according to the counter is specifically as follows:
[0070] Set m nodes as B1...Bm respectively. When the number of other nodes connected to a certain node among the m nodes exceeds a set value, set the node as the central node.
[0071] The step 2 is specifically:
[0072] Among the nodes that meet the center, connections are made according to the relationship attributes associated with the center node. The connection rule is first based on how many nodes the center node has associated with it, and then based on the number of nodes and the set radius distance R, that is, the distance from each node to the center node, the nodes are allocated according to the angle; the formula is as follows:
[0073] The degree between each node: a = 360 / n;
[0074] Where a is the angle between the node and the node it is connected to, and n is the number of nodes;
[0075] The star-shaped structure layout evenly distributes nodes according to the set radius distance R to achieve the layout of the distributed nodes.
[0076] The ring layout algorithm is as follows:
[0077] Step 1: Get the node attributes corresponding to the node data, and divide the corresponding sub-levels according to the node attributes. The number of sub-levels can be increased dynamically. The sub-levels are connected through node relationships, and the sub-levels are connected to the next level branch nodes;
[0078] Step 2: For the divided sub-levels, in a specific sub-level, the nodes are connected to the nodes in the distributed sub-level through a ring algorithm, thereby realizing the layout of A1, A2, A3...An nodes;
[0079] Step 3: Then connect a node of the first level in the sub-level with its associated next sub-level branch application node.
[0080] By comparing the effects before and after using the star layout algorithm flow chart, it can be clearly compared that the visualization effect of the IT structure by using the proposed layout algorithm, the layout of the nodes is more balanced, the nodes are clearer and more beautiful, and the lines between nodes and between levels can still remain clear and beautiful when the number of nodes and the number of relationships are large. First, the levels are divided according to the node attributes. For the divided levels, in a specific layer, the application nodes are connected to the nodes of the subsystem through the star algorithm, so as to realize the layout of nodes such as A1, A2, A3...An. Then the related application nodes are connected to achieve three-dimensional visualization.
[0081] 4) Finally, after collision detection adjustment is performed on the node data of the completed layout, the adjusted node data is visualized in multiple levels through a 3D visualization engine.
Claims
1. A layout and visualization method for multi-layer IT structures, It is characterized in that The following steps are involved: 1) Acquire original data of the IT system structure, wherein the original data includes attributes of a source node of the IT system structure and the level to which it belongs; The attributes of the source node include device type information, level type information, device relationship information, and device location information; The source node belongs to a layer including an application layer, a physical layer and a service layer; 2) Preprocess the original data of the IT system structure, define the data hierarchy and data nodes according to the attributes of the source node and the hierarchy to which it belongs, and obtain the hierarchy for mapping the source node, the hierarchy corresponding to the application layer, the physical layer and the business layer, and the nodes containing the node attributes; The data hierarchy definition is used to set at least one of the application layer, physical layer and business layer of the display IT system structure; the data node definition is used to set the node in the display hierarchy; 3) Match the corresponding layout algorithm according to the node attributes, obtain the association relationship between the node data according to the matched layout algorithm, and complete the layout of each node data in the display level; The layout algorithm is matched according to the node attributes, specifically: If there is an association relationship between multiple nodes, the hierarchical layout algorithm is executed to connect multiple associated nodes; otherwise, the hybrid layout algorithm is executed; The hierarchical layout algorithm includes the following steps: Step 1: Obtain node data, analyze the node data to obtain the level information, location information, and node relationship data in the node attributes; Step 2: Divide each node into levels; Step 3: Connect the nodes according to the association relationship between the node data; The hybrid layout algorithm is specifically executed as follows: When the number of nodes exceeds the set threshold, the star layout algorithm is executed to realize a star structure composed of multiple nodes; When the number of nodes is lower than the set threshold, the ring layout algorithm is executed. When a node and the nodes connected to it are one-to-many, the other nodes on the circumference of the corresponding node form a ring structure. The star-shaped structure is a single star-shaped structure or a double star-shaped structure; the ring-shaped structure is one of a single ring-shaped structure, a ring-cutting ring-shaped structure and a ring-intersecting ring-shaped structure; 4) After performing collision detection adjustment on the node data of the completed layout, the adjusted node data is visualized in multiple levels through a 3D visualization engine.
2. A layout and visualization method for a multi-layer IT structure according to claim 1, It is characterized in that In step 2), the node attributes include: the level to which it belongs, the constraints of the matching layout algorithm, the length of the display level, the user terminal icon, the external system icon, the access channel icon, the firewall icon, the web server icon, the location information, and the node relationship data.
3. A layout and visualization method for a multi-layer IT structure according to claim 1, It is characterized in that The star layout algorithm comprises the following steps: Step 3.1: Get the node attributes corresponding to the node data, divide the node into corresponding sub-levels according to the node attributes, the number of sub-levels can be dynamically increased, and the central node is determined according to the counter; Step 3.2: For the divided sub-levels, in a certain sub-level, the nodes are evenly distributed according to the radius distance R set by the central node, and the layout of the nodes is distributed according to the node rules; the nodes are connected to the associated nodes through the star algorithm; Step 3.3: Connect the nodes with association relationships respectively to realize the star structure layout.
4. A layout and visualization method for a multi-layer IT structure according to claim 3, It is characterized in that The determining of the central node according to the counter is specifically as follows: Set m nodes as B1...Bm respectively. For a certain node among the m nodes, when the number of other nodes connected to the node itself exceeds the set value, the node is set as the central node.
5. A layout and visualization method for a multi-layer IT structure according to claim 3, It is characterized in that The step 3.2 is specifically as follows: Among the nodes that meet the center, connections are made according to the relationship attributes associated with the center node. The connection rule is first based on how many nodes the center node has associated with it, and then based on the number of nodes and the set radius distance R, that is, the distance from each node to the center node, the nodes are allocated according to the angle; the formula is as follows: The degree between each node: a = 360 / n; Where a is the angle between the node and the node it is connected to, and n is the number of nodes; The star-shaped structure layout evenly distributes nodes according to the set radius distance R to achieve the layout of the distributed nodes.
6. A layout and visualization method for a multi-layer IT structure according to claim 1, It is characterized in that The ring layout algorithm is as follows: Step 6.1: Get the node attributes corresponding to the node data, and divide the corresponding sub-levels according to the node attributes. The number of sub-levels can be increased dynamically. The sub-levels are connected through node relationships. The node connected to the current sub-level is the branch node of the next level. Step 6.2: For the divided sub-levels, in a specific sub-level, the nodes are connected to the nodes in the distributed sub-level through a ring algorithm, thereby realizing the layout of A1, A2, A3...An nodes; Step 6.3: Then connect a node of the first level in the sub-level with a branch application node of the next sub-level associated with a node of the first level.
