IT infrastructure total factor influence analysis method and device based on digital twinning
Through automated information collection and digital twin technology, the topological network and digital twin of IT infrastructure are built, which solves the problems of incomplete information collection and intuition in IT infrastructure management, and realizes real-time and visual analysis of the impact of all factors of IT infrastructure, improving operation and maintenance efficiency and the accuracy of risk assessment.
Patent Information
- Application Number
- CN202411954893.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-04
AI Technical Summary
In the existing IT infrastructure management, due to incomplete collection of component information, inauspicious topology structure construction, and indirect analysis of the impact scope, operation and maintenance efficiency and inaccurate risk assessment.
By combining automated information collection and digital twin technology, we will build a topological network and digital twin by comprehensively obtaining all-factor information such as hardware servers, virtual machines, containers and software in the IT infrastructure, and realize real-time analysis and visualization of the impact on all-factors of IT infrastructure.
It improves operation and maintenance efficiency, enhances the identification and display of complex dependencies of IT infrastructure, realizes real-time and visual analysis of the impact of all factors on IT infrastructure, and reduces the inaccuracy of risk assessment.
Smart Images

Figure CN119759501A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of IT infrastructure, and in particular to a method and device for analyzing the full impact of IT infrastructure based on digital twins. Background Art
[0002] With the rapid development of information technology, the stability and reliability of hardware facilities such as servers, storage devices, network equipment, data centers, and related software systems are directly related to the business continuity and data security of organizations. However, in the actual operation process, IT infrastructure faces many uncertainties and potential risks. How to ensure the normal operation of these facilities in various complex environments and continue to provide business value has become an urgent problem to be solved.
[0003] IT infrastructure in a broad sense refers not only to hardware equipment such as computer rooms, but also to software, networks, data centers, etc. It involves a wide range of areas, high difficulty, many devices and components, and cross-disciplinary and cross-domain. To achieve IT infrastructure impact analysis and simulation, the topology of IT infrastructure is often used to analyze and simulate the entire infrastructure and the impact of each component on the whole through the call and dependency relationship of each component. However, the topology of IT infrastructure is currently mainly achieved by manual drawing, which is cumbersome and error-prone. It is impossible to automatically update the topology map according to IT infrastructure data, and the timeliness is poor. At the same time, based on the above reasons, the construction of topology is often only focused on the field of hardware equipment, and it is not possible to achieve cross-domain and generate the topology of all elements of the infrastructure. In terms of topological structure display and simulation effect, even if digital twin technology is used, it is often only for hardware, that is, the physical world. In the scenario of all elements of IT infrastructure, software, networks, data centers, etc. are not included, resulting in the failure to analyze the impact of IT infrastructure on the business in the impact analysis scenario. The effect and value of the final topological structure are affected.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for analyzing the full factors of IT infrastructure based on digital twins, so as to at least solve the technical problems of low operation and maintenance efficiency and inaccurate risk assessment caused by incomplete component information collection, non-automatic topology structure construction and non-intuitive impact range analysis in existing IT infrastructure management.
[0006] According to one aspect of an embodiment of the present invention, a method for full-factor impact analysis of IT infrastructure based on digital twins is provided, including: obtaining full-factor information of IT infrastructure, wherein the full-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software; based on the full-factor information of IT infrastructure, constructing a topological network and multiple digital twins, wherein the topological network is used to characterize the connection relationship between corresponding nodes of IT infrastructure; obtaining a selection operation on multiple digital twins, and determining a first target digital twin based on the selection operation; determining the influence range of the first target digital twin in the topological network based on the topological network, and obtaining an impact analysis result, wherein the impact analysis result corresponds to the first target digital twin.
[0007] Furthermore, the method also includes: determining a second target digital twin based on the influence range, wherein the second target digital twin is a digital twin included in the influence range; and adjusting a display style of the second target digital twin to a preset style.
[0008] Furthermore, based on the full-factor information of the IT infrastructure, a topological network and multiple digital twins are constructed, including: creating nodes based on the full-factor information of the IT infrastructure; creating node relationships based on the nodes, wherein the node relationships include: belonging relationships and calling relationships; and obtaining a topological network based on the nodes and node relationships.
[0009] Furthermore, based on the information of all elements of IT infrastructure, nodes are created, including: based on the information of hardware servers, creating hardware server nodes; based on the information of virtual machines, creating virtual machine nodes; based on the information of containers, creating container nodes; based on the information of software, creating software nodes.
[0010] Further, based on the nodes, a node relationship is created, including: in response to the IP address of the physical machine where the virtual machine is located matching the IP address of the hardware server, determining that the node relationship between the virtual machine node and the hardware server node is an ownership relationship.
[0011] Further, based on the nodes, creating a node relationship includes: in response to a match between the name of the virtual machine where the container is located and the name of the virtual machine, determining that the node relationship between the container node and the virtual machine node is an ownership relationship.
[0012] Furthermore, based on the nodes, a node relationship is created, including: based on the software information, determining the call information between the software nodes; based on the call information, determining that the node relationship between the multiple software nodes is a call relationship.
[0013] According to another aspect of an embodiment of the present invention, a device for analyzing the full factors of IT infrastructure based on digital twins is also provided, including: an acquisition module, the acquisition module is used to acquire full-factor information of IT infrastructure, wherein the full-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software; a construction module, the construction module is used to construct a topological network and multiple digital twins based on the full-factor information of IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of IT infrastructure; a first determination module, the determination module is used to obtain a selection operation on multiple digital twins, and determine a first target digital twin based on the selection operation; a second determination module, the second determination module is used to determine the influence range of the first target digital twin in the topological network based on the topological network, and obtain an impact analysis result, wherein the impact analysis result corresponds to the first target digital twin.
[0014] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0016] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0017] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0018] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.
[0019] In an embodiment of the present invention, a combination of automated information collection and digital twin technology is adopted to comprehensively acquire information on all elements of the IT infrastructure, such as hardware servers, virtual machines, containers, and software, and to construct a topological network and a digital twin based on this information. The interface of the digital twin provides intuitive operation of the digital twin, allowing the user to quickly locate and select the first target digital twin as the analysis target. Based on the topological network, the system can accurately calculate the influence range of the first target digital twin. Through precise matching and association, the system can automatically identify and display the complex dependencies between components. By querying and analyzing the direct and indirect dependencies between components, the system can quickly identify the influence range of the first target digital twin, thereby achieving real-time analysis and visualization of the impact of all elements of the IT infrastructure, thereby solving the technical problems of low operation and maintenance efficiency and inaccurate risk assessment in the existing IT infrastructure management due to incomplete component information collection, non-automatic topological structure construction, and non-intuitive influence range analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 A hardware structure block diagram of a computer terminal for implementing a digital twin-based IT infrastructure full-factor impact analysis method is shown;
[0022] Figure 2 It is a flowchart of a first embodiment of a method for analyzing the impact of all factors of IT infrastructure based on digital twins provided in an embodiment of the present application;
[0023] Figure 3 It is a structural schematic diagram of a first embodiment of an IT infrastructure full-factor impact analysis device based on digital twins provided according to an embodiment of the present application;
[0024] Figure 4 It is a structural schematic diagram of a second embodiment of an IT infrastructure full-factor impact analysis device based on digital twins provided according to an embodiment of the present application;
[0025] Figure 5 It is a flowchart of a second embodiment of the IT infrastructure full-factor impact analysis method based on digital twins provided in an embodiment of the present application;
[0026] Figure 6 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0030] IT infrastructure is the infrastructure that supports the operation of IT systems and applications, including hardware, software, networks, data center facilities and services.
[0031] All elements of IT infrastructure specifically refer to the hardware, software, data center and other components of IT infrastructure.
[0032] Example 1
[0033] According to an embodiment of the present application, a method embodiment of a full-factor impact analysis of IT infrastructure based on digital twins is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0034] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a digital twin-based IT infrastructure full-factor impact analysis method is shown. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0035] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0036] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the Z method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above-mentioned Z method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0037] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0038] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0039] Under the above operating environment, this application provides Figure 2 The figure shows the full-factor impact analysis method of IT infrastructure based on digital twins. Figure 2 It is a flowchart of the method for analyzing the full factors of IT infrastructure based on digital twins according to Example 1 of the present application.
[0040] Step S101, obtaining all-factor information of IT infrastructure, wherein the all-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software;
[0041] In step S101, the information of the above hardware server uses the SNMP monitoring function provided by the Zabbix software, that is, by adopting the SNMP protocol, the hardware information is automatically obtained, and the automatic discovery of new devices is supported. And the corresponding information is obtained through the Zabbix interface. The hardware information to be collected includes: hardware brand name, server IP address, CPU usage, memory usage, memory capacity, and physical temperature.
[0042] The above virtual machine information is obtained using libvirt technology. Through the hardware IP information in the previous step, the libvirt API is called to obtain the virtual machine information in the hardware server with the IP address. The virtual machine information to be collected includes: server IP address, virtual machine name, maximum memory, available memory, number of virtual CPUs, and running status.
[0043] The above container information includes: virtual machine name, container node address, and software module name.
[0044] The above software information includes: software module name, container node, middleware or database IP address to be called, database instance name, domain name or address for calling other interfaces, and software core business.
[0045] Step S102, constructing a topological network and multiple digital twins based on all-factor information of the IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure;
[0046] In step S102, the above-mentioned topological network is used to characterize the logical and physical connection relationship between various nodes (such as servers, virtual machines, containers, software, etc.) in the IT infrastructure, which helps to understand the system architecture and the dependencies between components. The above-mentioned digital twin is a 3D virtual representation of each component in the IT infrastructure, combining the properties, status and topological network relationships of the components. By storing these topological relationships and node information in a graph database, the persistence and queryability of the data are guaranteed, and the digital twin provides intuitive visualization and interaction capabilities.
[0047] Step S103, obtaining a selection operation on multiple digital twins, and determining a first target digital twin according to the selection operation;
[0048] In step S103, the digital twin has a display interface through which the user can directly interact with the model and select a specific digital twin to view or modify. When the user selects one or more components by clicking or dragging the mouse, the system will identify and determine the selected components as the first target digital twin and prepare to perform further impact analysis on these components. This step emphasizes the intuitiveness and ease of use of the user interface design, allowing the user to flexibly control the scope and depth of the analysis.
[0049] Step S104, determining the influence range of the first target digital twin in the topological network based on the topological network, and obtaining an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
[0050] In step S104, the system will query other components that have direct or indirect dependencies on the first target digital twin selected by the user in the topological network, and then calculate the impact range of the operation or failure on the entire IT infrastructure. This impact analysis result can indicate which components will be affected by the state change of the first target digital twin, as well as the possible risk of business interruption. By feeding the results back to the digital twin display interface, users can not only see a visual representation of the impact range, but also evaluate the impact of specific operations or changes on the overall system performance and business operations, providing an important basis for decision-making.
[0051] Through the above steps, a combination of automated information collection and digital twin technology is adopted to comprehensively obtain all-factor information such as hardware servers, virtual machines, containers, and software in the IT infrastructure, and build a topological network and digital twin based on this information. The interface of the digital twin provides intuitive operation of the digital twin, allowing users to quickly locate and select the first target digital twin as the analysis target. Based on the topological network, the system can accurately calculate the influence range of the first target digital twin. Through precise matching and association, the system can automatically identify and display the complex dependencies between components. By querying and analyzing the direct and indirect dependencies between components, the system can quickly identify the influence range of the first target digital twin, thereby realizing real-time analysis and visualization of the impact of all elements of IT infrastructure, thereby solving the technical problems of low operation and maintenance efficiency and inaccurate risk assessment in the existing IT infrastructure management due to incomplete component information collection, non-automatic topological structure construction, and non-intuitive impact range analysis.
[0052] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, the method further includes:
[0053] Step S105, determining a second target digital twin according to the influence range, wherein the second target digital twin is a digital twin included in the influence range;
[0054] In step S105, after completing the impact analysis of the first target digital twin, the system automatically identifies and determines all IT components affected by it, and the digital twins of these IT components are defined as the second target digital twin. This process is achieved through the query mechanism preset in the topological network, ensuring the accuracy and comprehensiveness of the impact range.
[0055] Step S106, adjusting the display style of the second target digital twin to a preset style.
[0056] In step S106, in order to make the impact range more intuitive and easy to understand, the system automatically adjusts the display style of the second target digital twin, usually using preset visualization rules or styles to highlight the affected components. For example, these components can be significantly distinguished in the digital twin display interface by changing colors, adding flashing effects, or adjusting transparency, thereby intuitively indicating which IT resources may be at risk or need attention. This visual feedback mechanism strengthens the user's understanding of the status of the IT infrastructure and speeds up the identification and response of problems.
[0057] Through the above steps, the system can not only dynamically calculate and display the impact range of the first target digital twin, but also highlight the affected second target digital twin through intuitive visual effects, thereby realizing real-time, visual analysis of the impact of all elements of IT infrastructure. This method significantly improves the operation and maintenance personnel's understanding and control capabilities of complex IT environments, helps to perform preventive maintenance before problems occur, avoid business interruptions, and quickly locate problems when failures occur, reducing recovery time, thereby effectively solving the technical problems of unintuitive impact analysis and low operation and maintenance efficiency caused by complex dependencies between IT infrastructure components.
[0058] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, a topological network and multiple digital twins are constructed based on full-factor information of the IT infrastructure, including:
[0059] Step S1021, creating a node based on all-factor information of the IT infrastructure;
[0060] In step S1021, the collected information of all elements of IT infrastructure is converted into nodes in the graph database. For example, each hardware server, virtual machine, container, software module, etc. is regarded as an independent node, and a corresponding record is created in the graph database to store its attributes, status, location, and identification. The creation of nodes is the basis for the construction of the topological network. It ensures that each IT component is accurately represented and provides data support for subsequent connection and analysis.
[0061] Step S1022, creating a node relationship based on the node, wherein the node relationship includes: belonging relationship and calling relationship;
[0062] In step S1022, the above-mentioned belonging relationships are used to characterize the hierarchical relationships between hardware servers and virtual machines, virtual machines and containers, etc., while the calling relationships are used to characterize the dependencies and interaction patterns between software modules. These relationships are established by analyzing the properties of nodes and the data flows between them, ensuring that the topology network can accurately reflect the interdependence and action mechanisms of components in the IT infrastructure.
[0063] Step S1023, obtaining a topological network based on the nodes and node relationships.
[0064] In step S1023, it should be noted that the above-mentioned topology network not only includes static information of IT components (e.g., hardware servers, virtual machines, containers, software modules), but also combines dynamic connections and dependencies, thereby providing a comprehensive perspective for visualization, simulation, and impact range analysis of IT infrastructure.
[0065] Through the above steps, through the process of relationship modeling and network construction, a graphical representation and logical connection of all elements of IT infrastructure is achieved. This series of steps not only enhances the readability and usability of the data, but also provides a basis for subsequent impact range analysis and visualization.
[0066] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, creating a node based on IT infrastructure full-factor information includes:
[0067] Step S10211, creating a hardware server node based on the information of the hardware server;
[0068] In step S10211, the system converts detailed information collected from the hardware server (such as model, IP address, CPU usage, memory capacity, etc.) into a node in the graph database, representing the actual hardware server.
[0069] Step S10212, creating a virtual machine node based on the virtual machine information;
[0070] In step S10212, the system converts the virtual machine information (including the name of the virtual machine, the running status, the IP address of the host machine, etc.) into nodes, which represent the virtual environment running on the hardware server.
[0071] Step S10213, creating a container node based on the container information;
[0072] In step S10213, the system converts the container information (including the name of the software module running in the container, the container node address, and the host information) into a container node.
[0073] Step S10214: Create a software node based on the software information.
[0074] In step S10214, the system converts the software information (such as software name, version, dependent database and network service, etc.) into software nodes. These nodes represent the application layer in the IT infrastructure.
[0075] Through the above steps, the system can fully and accurately represent the various components of the IT infrastructure, from the underlying hardware servers to the upper-level software modules, and each key element is converted into a node in the graph database. The creation of such nodes not only ensures the integrity and accuracy of the data, but also provides a basis for building node relationships and topological networks in subsequent steps.
[0076] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, creating a node relationship based on nodes includes:
[0077] Step S10221, in response to the IP address of the physical machine where the virtual machine is located matching the IP address of the hardware server, determining that the node relationship between the virtual machine node and the hardware server node is an ownership relationship.
[0078] Through the above steps, determining the ownership relationship not only clarifies the hierarchical structure of the IT infrastructure, but also provides key connection information for topology network construction and impact range analysis. For example, when operating a hardware server or evaluating the impact of its failure, the system can quickly identify all virtual machines running on the server, and then analyze the health status of these virtual machines and their impact on upper-layer software and services, achieving a comprehensive impact assessment of all elements of the IT infrastructure.
[0079] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, creating a node relationship based on nodes includes:
[0080] Step S10222: In response to the name of the virtual machine where the container is located matching the name of the virtual machine, determining that the node relationship between the container node and the virtual machine node is an ownership relationship.
[0081] In step S10222, the operating environment of the container (i.e., the virtual machine) is identified by a specific name. When the virtual machine name in the container node matches the virtual machine node name in the system, it can be considered that the container is running on the virtual machine, thereby establishing a relationship of ownership between them.
[0082] Optionally, in the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application, creating a node relationship based on nodes includes:
[0083] Step S10223, based on the software information, determining the call information between the software nodes;
[0084] In step S10223, the system will conduct an in-depth analysis of the information of the software modules, identify and extract the call relationship data between the software. The software call information may include the software module names of the caller and the callee, the interface address of the call, the call frequency, and the degree of dependency of the call. By parsing the software's log files, configuration files, API interface definitions, etc., the system can accurately identify the call links between software modules.
[0085] Step S10224: Based on the calling information, determine that the node relationship between the multiple software nodes is a calling relationship.
[0086] In step S10224, after obtaining the call information between the software, the system converts this information into the relationship between the software nodes, namely the "call relationship". In the graph database, each software node represents an independent software module, and the call relationship describes the interaction and dependency between these software modules. By mapping the call information to the call relationship, the system can intuitively display the dependency network in the software ecosystem.
[0087] Through the above steps, the system can automatically identify and build the calling relationship between software nodes. The establishment of software calling relationship not only provides detailed software interaction information for the digital twin model, but also provides a direct basis for the subsequent analysis of the impact range.
[0088] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0089] Example 2
[0090] The embodiment of the present application also provides an IT infrastructure full-factor impact analysis device based on digital twins. It should be noted that the IT infrastructure full-factor impact analysis device based on digital twins in the embodiment of the present application can be used to execute the IT infrastructure full-factor impact analysis method based on digital twins provided in the embodiment of the present application. The following introduces the IT infrastructure full-factor impact analysis device based on digital twins provided in the embodiment of the present application.
[0091] According to an embodiment of the present application, a device for implementing the above-mentioned IT infrastructure full-factor impact analysis method based on digital twins is also provided, such as Figure 3 As shown, the device includes: an acquisition module 201, the acquisition module 201 is used to obtain all-factor information of IT infrastructure, wherein the all-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software; a construction module 202, the construction module 202 is used to construct a topological network and multiple digital twins based on the all-factor information of IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of IT infrastructure; a first determination module 203, the first determination module 203 is used to obtain a selection operation on multiple digital twins, and determine a first target digital twin according to the selection operation; a second determination module 204, the second determination module 204 is used to determine the influence range of the first target digital twin in the topological network based on the topological network, and obtain an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
[0092] The digital twin-based IT infrastructure full-factor impact analysis device provided in the embodiment of the present application adopts a combination of automated information collection and digital twin technology. By comprehensively acquiring full-factor information such as hardware servers, virtual machines, containers, and software in the IT infrastructure, a topological network and a digital twin are constructed based on this information. The digital twin interface provides intuitive operation of the digital twin, allowing the user to quickly locate and select the first target digital twin as the analysis target. Based on the topological network, the system can accurately calculate the impact range of the first target digital twin. Through precise matching and association, the system can automatically identify and display the complex dependencies between components. By querying and analyzing the direct and indirect dependencies between components, the system can quickly identify the impact range of the first target digital twin, thereby realizing real-time analysis and visualization of the impact of all elements of the IT infrastructure, thereby solving the technical problems of low operation and maintenance efficiency and inaccurate risk assessment in the existing IT infrastructure management due to incomplete component information collection, non-automatic topological structure construction, and non-intuitive impact range analysis.
[0093] Optionally, in the digital twin-based IT infrastructure full-factor impact analysis device provided in an embodiment of the present application, the device also includes: a third determination module and an adjustment module, the third determination module is used to determine the second target digital twin according to the impact range, wherein the second target data twin is the digital twin included in the impact range; the adjustment module is used to adjust the display style of the second target digital twin to a preset style.
[0094] Optionally, in the digital twin-based IT infrastructure full-factor impact analysis device provided in an embodiment of the present application, the above-mentioned construction module 202 includes: a first creation module, a second creation module, and an acquisition module, the first creation module is used to create nodes based on the full-factor information of the IT infrastructure; the second creation module is used to create node relationships based on the nodes, wherein the node relationships include: belonging relationships and calling relationships; the acquisition module is used to obtain a topological network based on nodes and node relationships.
[0095] Optionally, in the digital twin-based IT infrastructure full-factor impact analysis device provided in an embodiment of the present application, the above-mentioned first creation module includes: a first creation sub-module, a second creation sub-module, a third creation sub-module, and a fourth creation sub-module. The first creation sub-module is used to create a hardware server node based on the information of the hardware server; the second creation sub-module is used to create a virtual machine node based on the information of the virtual machine; the third creation sub-module is used to create a container node based on the information of the container; and the fourth creation sub-module is used to create a software node based on the information of the software.
[0096] Optionally, in the IT infrastructure full-factor impact analysis device based on digital twins provided in an embodiment of the present application, the above-mentioned second creation module includes: a first determination sub-module, the first determination sub-module is used to determine that the node relationship between the virtual machine node and the hardware server node is an ownership relationship in response to the IP address of the physical machine where the virtual machine is located matching the IP address of the hardware server.
[0097] Optionally, in the digital twin-based IT infrastructure full-factor impact analysis device provided in an embodiment of the present application, the above-mentioned second creation module includes: a second determination sub-module, the second determination sub-module is used to determine that the node relationship between the container node and the virtual machine node is an ownership relationship in response to the name of the virtual machine where the container is located matching the name of the virtual machine.
[0098] Optionally, in the digital twin-based IT infrastructure full-factor impact analysis device provided in an embodiment of the present application, the above-mentioned second creation module includes: a third determination sub-module and a fourth determination sub-module, the third determination sub-module is used to determine the call information between software nodes based on software information; the fourth determination sub-module is used to determine that the node relationship between multiple software nodes is a call relationship based on the call information.
[0099] It should be noted that the acquisition module 201, the construction module 202, the first determination module 203, and the second determination module 204 correspond to steps S101 to S104 in Example 1, and the four modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above-mentioned modules can also be part of the device and can be run in the computer terminal 10 provided in Example 1.
[0100] Example 3
[0101] The embodiments of the present application can provide an IT infrastructure full-factor impact analysis device based on digital twins, such as Figure 4 As shown in the figure, the IT infrastructure full-factor impact analysis device based on digital twins includes:
[0102] Information collection module: Use various automated means to collect end-to-end information on all elements of the entire IT infrastructure. It is necessary to collect physical facility information, virtual machine information, container software information, middleware information, database information, business software information, and software call information, that is, all kinds of call and interdependent information of all elements of the IT infrastructure.
[0103] Topology relationship construction and impact analysis module: automatically parse and match the collected interrelated IT infrastructure information to build topological relationships. At the same time, based on the operation feedback of the digital twin module and the IT infrastructure topological relationship, automatically calculate and analyze the impact range of the current operation on each infrastructure element, and send the impact range data to the digital twin module.
[0104] Digital twin simulation display and operation module: This component models multiple IT infrastructure components based on digital twin technology. Combined with topological relationship data, it realizes the topological relationship display of all elements of the enterprise IT infrastructure. It can also calculate the impact range of a single or multiple components. Finally, the impact results are displayed to view the impact of the component on other components and businesses.
[0105] Example 4
[0106] The embodiments of the present application can provide a method for analyzing the impact of all factors of IT infrastructure based on digital twins, such as Figure 5 As shown, it includes three steps:
[0107] Step 1: Information collection process: Based on the classification of IT infrastructure, data is collected on hardware information, virtual machine information, container software information, business software information in container software, middleware information, business services, etc. through various methods and technologies such as SNMP protocol, libvirt, and rancher kubectl commands. At the same time, for data that is difficult to collect automatically, managers are supported to enter or update IT infrastructure information on the page according to prompts.
[0108] Step 2: Topology construction process: After collecting data from various types of infrastructure information, perform data parsing and matching to generate a topology structure. There are two main relationships between various types of IT infrastructure, one is the ownership relationship and the other is the call relationship. The matching of the ownership relationship is mainly through two different types of data objects. If the same data items have the same data, the match is successful. The matching of the call relationship is mainly through obtaining the call relationship data between the software, parsing the call data to directly obtain the matching situation. Finally, the matching results are established in the graph database respectively. Nodes and relationships are completed to persist the topology structure. If there is any mismatch, an alarm reminder will be issued through the page, and the administrator will manually perform the matching.
[0109] Among them, the IT infrastructure display and simulation operation process: 3D modeling of the entire IT infrastructure is carried out through 3D graphics and image software, and the 3D effect on the Web side is achieved using the JavaScript framework based on WebGL. The ownership and dependency relationship of each IT infrastructure component is displayed on the page, and the user can view operations such as mouse dragging and zooming. At the same time, the mouse can be clicked to select a single or multiple components to view the results of the component impact range and display them.
[0110] Step 3: Simulation scope impact calculation process: After the user operates the 3D model, this calculation process is called. The process quickly queries and obtains the relevant impact nodes by calling the query language of the graph database with persistent topology structure. For the calculation of impact nodes, the response scope is only propagated upward according to the affiliation and dependency relationship, that is, it affects the components of the same layer or upper layer, and will not affect the components of the lower layer. Finally, the impact scope result is returned to the digital twin for display.
[0111] Example 5
[0112] An embodiment of the present application may provide an electronic device, Figure 6 is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 6 As shown, the electronic device may include: one or more ( Figure 6 (only one is shown) processor 1002, memory 1004, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0113] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0114] The processor may call the information and application program stored in the memory through the transmission device to perform the following steps:
[0115] Step S101, obtaining all-factor information of IT infrastructure, wherein the all-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software;
[0116] Step S102, constructing a topological network and multiple digital twins based on all-factor information of the IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure;
[0117] Step S103, obtaining a selection operation on multiple digital twins, and determining a first target digital twin according to the selection operation;
[0118] Step S104, determining the influence range of the first target digital twin in the topological network based on the topological network, and obtaining an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
[0119] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: determine the second target digital twin based on the influence range, wherein the second target data twin is the digital twin included in the influence range; adjust the display style of the second target digital twin to a preset style.
[0120] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: create nodes based on the information of all elements of the IT infrastructure, including: creating hardware server nodes based on the information of the hardware server; creating virtual machine nodes based on the information of the virtual machine; creating container nodes based on the information of the container; creating software nodes based on the information of the software.
[0121] Based on the full-factor information of IT infrastructure, a topological network and multiple digital twins are constructed, including: creating nodes based on the full-factor information of IT infrastructure; creating node relationships based on nodes, wherein the node relationships include: belonging relationships and calling relationships; and obtaining a topological network based on nodes and node relationships.
[0122] The processor can also call the information and applications stored in the memory through the transmission device to perform the following steps: based on the node, create a node relationship, including: in response to the IP address of the physical machine where the virtual machine is located matching the IP address of the hardware server, determine that the node relationship between the virtual machine node and the hardware server node is an ownership relationship.
[0123] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: based on the node, create a node relationship, including: in response to the name of the virtual machine where the container is located matching the name of the virtual machine, determining that the node relationship between the container node and the virtual machine node is an ownership relationship.
[0124] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: based on the node, create a node relationship, including: based on the software information, determine the call information between software nodes; based on the call information, determine that the node relationship between multiple software nodes is a call relationship.
[0125] By adopting the embodiment of the present application, a method for analyzing the impact of all factors of IT infrastructure based on digital twins is provided. By combining automated information collection with digital twin technology, all factor information such as hardware servers, virtual machines, containers, and software in IT infrastructure is fully acquired, and a topological network and a digital twin are constructed based on this information. The interface of the digital twin provides intuitive operation of the digital twin, allowing users to quickly locate and select the first target digital twin as the analysis target. Based on the topological network, the system can accurately calculate the impact range of the first target digital twin. Through precise matching and association, the system can automatically identify and display the complex dependencies between components. By querying and analyzing the direct and indirect dependencies between components, the system can quickly identify the impact range of the first target digital twin, thereby realizing the real-time analysis and visualization of the impact of all factors of IT infrastructure, thereby solving the technical problems of low operation and maintenance efficiency and inaccurate risk assessment caused by incomplete component information collection, non-automatic topological structure construction, and non-intuitive impact range analysis in the existing IT infrastructure management.
[0126] It can be understood by those skilled in the art that Figure 6 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 6 The structure of the electronic device is not limited. Figure 6 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 6 Different configurations are shown.
[0127] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0128] Example 6
[0129] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the digital twin-based IT infrastructure full-factor impact analysis method provided in the first embodiment.
[0130] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0131] Step S101, obtaining all-factor information of IT infrastructure, wherein the all-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software;
[0132] Step S102, constructing a topological network and multiple digital twins based on all-factor information of the IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure;
[0133] Step S103, obtaining a selection operation on multiple digital twins, and determining a first target digital twin according to the selection operation;
[0134] Step S104, determining the influence range of the first target digital twin in the topological network based on the topological network, and obtaining an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
[0135] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0136] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0137] Example 7
[0138] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the program steps of a method for analyzing the full factors of IT infrastructure based on digital twins.
[0139] Optionally, in this embodiment, the computer program product may be configured as a computer program for executing the following steps:
[0140] Step S101, obtaining all-factor information of IT infrastructure, wherein the all-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software;
[0141] Step S102, constructing a topological network and multiple digital twins based on all-factor information of the IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure;
[0142] Step S103, obtaining a selection operation on multiple digital twins, and determining a first target digital twin according to the selection operation;
[0143] Step S104, determining the influence range of the first target digital twin in the topological network based on the topological network, and obtaining an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
[0144] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0145] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0146] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0147] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0149] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0150] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for analyzing the impact of all factors of IT infrastructure based on digital twins, characterized in that: include: Obtaining full-factor information of IT infrastructure, wherein the full-factor information includes at least: information of hardware servers, information of virtual machines, information of containers, and information of software; Based on the full-factor information of the IT infrastructure, a topological network and a plurality of digital twins are constructed, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure; Obtaining a selection operation on the plurality of digital twins, and determining a first target digital twin according to the selection operation; Based on the topological network, the influence range of the first target digital twin in the topological network is determined to obtain an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
2. The IT infrastructure full-factor impact analysis method based on digital twins according to claim 1 is characterized in that: The method further comprises: Determine a second target digital twin according to the influence range, wherein the second target digital twin is a digital twin included in the influence range; Adjust the display style of the second target digital twin to a preset style.
3. The IT infrastructure full-factor impact analysis method based on digital twins according to claim 1 is characterized in that: Based on the full-factor information of the IT infrastructure, a topological network and multiple digital twins are constructed, including: Creating nodes based on all-element information of the IT infrastructure; Based on the nodes, creating a node relationship, wherein the node relationship includes: a belonging relationship and a calling relationship; Based on the nodes and the node relationships, the topological network is obtained.
4. The method for analyzing the impact of all factors of IT infrastructure based on digital twins according to claim 3 is characterized in that: Based on the IT infrastructure information, create a node, including: Based on the information of the hardware server, create a hardware server node; Based on the information of the virtual machine, create a virtual machine node; Based on the information of the container, create a container node; Based on the information of the software, a software node is created.
5. The method for analyzing the impact of all factors of IT infrastructure based on digital twins according to claim 4 is characterized in that: Based on the nodes, a node relationship is created, including: In response to the IP address of the physical machine where the virtual machine is located matching the IP address of the hardware server, it is determined that the node relationship between the virtual machine node and the hardware server node is a belonging relationship.
6. The method for analyzing the impact of all factors of IT infrastructure based on digital twins according to claim 4 is characterized in that: Based on the nodes, a node relationship is created, including: In response to the name of the virtual machine where the container is located matching the name of the virtual machine, it is determined that the node relationship between the container node and the virtual machine node is an ownership relationship.
7. The method for analyzing the impact of all factors of IT infrastructure based on digital twins according to claim 4 is characterized in that: Based on the nodes, a node relationship is created, including: Based on the information of the software, determining the call information between the software nodes; Based on the calling information, it is determined that the node relationship between the plurality of software nodes is a calling relationship.
8. An IT infrastructure full-factor impact analysis device based on digital twins, characterized in that: include: An acquisition module, the acquisition module is used to acquire all-factor information of IT infrastructure, wherein the all-factor information at least includes: information of hardware servers, information of virtual machines, information of containers, and information of software; A construction module, wherein the construction module is used to construct a topological network and a plurality of digital twins based on all-element information of the IT infrastructure, wherein the topological network is used to characterize the connection relationship between corresponding nodes of the IT infrastructure; A first determination module, the first determination module is used to obtain a selection operation on the multiple digital twins, and determine a first target digital twin according to the selection operation; A second determination module, the second determination module is used to determine the influence range of the first target digital twin in the topological network based on the topological network, and obtain an influence analysis result, wherein the influence analysis result corresponds to the first target digital twin.
9. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.