Establishment method and device of simulation network topology structure and computer equipment

By building a simulated network topology through network digital twin management services, and utilizing multiple simulation engines and preset configuration tables, the problem of simulating large-scale heterogeneous vendor equipment was solved. This enabled security and stability assessment under existing network isolation conditions, and improved the efficiency and accuracy of building the simulated network topology.

CN120896858APending Publication Date: 2025-11-04PURPLE MOUNTAIN LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511189856.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-25
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

Traditional technologies cannot meet the simulation requirements of large-scale heterogeneous equipment from various vendors, resulting in unpredictable impacts of network operations on the existing network, affecting network security and stability.

Method used

Through network digital twin management services, a simulated network topology can be built using preset configuration tables and multiple simulation engines. It supports the simulation of network devices from various vendors, including receiving creation commands, monitoring commands, and deletion commands, obtaining simulated device information and link information, and realizing the visualization and management of the simulated network topology.

Benefits of technology

Under conditions of complete isolation of the existing network, evaluate the security and feasibility of network operation behaviors, ensure the security and stability of the existing network, and improve the efficiency and accuracy of building simulated network topology structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120896858A_ABST
    Figure CN120896858A_ABST
Patent Text Reader

Abstract

The invention relates to a construction method and device of a simulation network topology structure and computer equipment. The method comprises the following steps: a network digital twinning management service receives a creation instruction of a simulation network topology structure through a visual page; the creation instruction comprises simulation equipment information and link information corresponding to network equipment in the current network topology structure; the simulation equipment information comprises a simulation template corresponding to a to-be-determined simulation engine; building a simulation network topology structure through a network digital twinning management service according to a preset configuration table, the simulation template and the link information; the preset configuration table comprises a corresponding relationship between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices. By adopting the method, various simulation engines can be butted, and network equipment of different manufacturers can be simulated according to the various simulation engines, so that the analogue simulation requirements of large-scale heterogeneous manufacturer equipment are met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network, in particular to a method and device for building simulation network topology and computer equipment. BACKGROUND

[0002] With the rapid development of network technology, the network composition is increasingly complex, and a highly coupled operation structure is formed between various devices and business processes in the existing network, so that any network operation behavior, such as operation on any device, link, service, etc. in the existing network, may have unpredictable impact on the overall existing network state. In order to reduce the uncertain impact of network operation behavior on the existing network, the related network operation behavior needs to be pre-rehearsed, and the influence range of the related network operation behavior is confirmed before it is operated in the existing network.

[0003] In the traditional technology, the network topology structure of the existing network is simulated by simulating various network devices of the same manufacturer, such as switches, routers, firewalls, etc. in the simulation engine, to determine the influence of different network devices on the network topology structure.

[0004] However, the simulated network topology structure in the traditional technology may have the problem of being unable to meet the simulation of large-scale heterogeneous manufacturer devices. SUMMARY

[0005] Therefore, it is necessary to provide a method and device for building simulation network topology and computer equipment to solve the problem of being unable to meet the simulation of large-scale heterogeneous manufacturer devices.

[0006] In a first aspect, the present application provides a method for building simulation network topology, which comprises:

[0007] The network digital twin management service receives a creation instruction of the simulation network topology through a visual page; the creation instruction includes simulation device information and link information corresponding to the network devices in the existing network topology; the simulation device information includes a simulation template corresponding to the simulation engine to be determined;

[0008] The network digital twin management service builds the simulation network topology according to the preset configuration table, the simulation template and the link information; the preset configuration table includes the correspondence between the multiple simulation engines and the corresponding simulation templates; the multiple simulation engines are the simulation engines corresponding to multiple different types of network devices.

[0009] In one embodiment, the network digital twin management service builds the simulation network topology according to the preset configuration table, the simulation template and the link information, which comprises:

[0010] The network digital twin management service determines the simulation engine corresponding to the simulation template based on a preset correspondence relationship between a plurality of simulation templates and simulation engines in a configuration table.

[0011] The network digital twin management service calls the simulation engine corresponding to the simulation template to create a simulation device.

[0012] The network digital twin management service reads configuration information of a network device in a live network topology.

[0013] The network digital twin management service configures simulation device information of the simulation device to be simulated in the simulation engine according to the configuration information, to obtain a configured simulation device, and determines a connection relationship of the configured simulation device according to link information, to build a simulation network topology.

[0014] In one of the embodiments, the method further includes:

[0015] When the network digital twin management service receives a monitoring instruction through a visual page, the network digital twin management service acquires running information of the simulation network topology in response to the monitoring instruction.

[0016] In one of the embodiments, the running information includes resource utilization and link traffic information, and the network digital twin management service acquires the running information of the simulation network topology by:

[0017] The network digital twin management service calls the simulation engine to query resource utilization of the simulation device in the simulation engine.

[0018] The network digital twin management service acquires link traffic information of each simulation link in the simulation network topology.

[0019] In one of the embodiments, the method further includes:

[0020] The network digital twin management service receives a deletion instruction through a visual page, and the deletion instruction includes identification information of a simulation device to be deleted.

[0021] The network digital twin management service deletes the simulation device corresponding to the identification information in the simulation network topology in response to the deletion instruction.

[0022] In one of the embodiments, the method further includes:

[0023] The network digital twin management service acquires simulation templates corresponding to simulation engines of different types of network devices.

[0024] The network digital twin management service establishes a preset configuration table based on a correspondence relationship between the simulation engines of different types of network devices and the simulation templates corresponding to the simulation engines of different types of network devices.

[0025] In a second aspect, the application further provides a simulation testing device of a network structure, comprising:

[0026] The receiving module is configured to receive, based on the network digital twin management service, a creation instruction of the simulation network topology structure; the creation instruction comprises simulation device information and link information corresponding to network devices in the live network topology structure; the simulation device information comprises a simulation template corresponding to a simulation engine to be determined;

[0027] The building module is configured to build, by the network digital twin management service, the simulation network topology structure according to a preset configuration table, the simulation template and the link information; the preset configuration table comprises a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0028] In a third aspect, the application further provides a computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0029] The network digital twin management service receives, through a visual page, a creation instruction of the simulation network topology structure; the creation instruction comprises simulation device information and link information corresponding to network devices in the live network topology structure; the simulation device information comprises a simulation template corresponding to a simulation engine to be determined;

[0030] The simulation network topology structure is built by the network digital twin management service according to a preset configuration table, the simulation template and the link information; the preset configuration table comprises a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0031] In a fourth aspect, the application further provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the following steps:

[0032] The network digital twin management service receives, through a visual page, a creation instruction of the simulation network topology structure; the creation instruction comprises simulation device information and link information corresponding to network devices in the live network topology structure; the simulation device information comprises a simulation template corresponding to a simulation engine to be determined;

[0033] The simulation network topology structure is built by the network digital twin management service according to a preset configuration table, the simulation template and the link information; the preset configuration table comprises a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0034] In a fifth aspect, the application further provides a computer program product comprising a computer program, the computer program being executed by a processor to implement the following steps:

[0035] The network digital twin management service receives a creation instruction of a simulation network topology through a visualization page; the creation instruction includes simulation device information and link information corresponding to network devices in a live network topology; the simulation device information includes a simulation template corresponding to a simulation engine to be determined;

[0036] The network digital twin management service builds the simulation network topology according to a preset configuration table, the simulation template and the link information; the preset configuration table includes a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0037] The above simulation network topology building method, device and computer equipment, the method is deployed in a container cloud platform, the container cloud platform is deployed with a visualization page, a network digital twin management service and a database; the method includes: the network digital twin management service receives a creation instruction of a simulation network topology through a visualization page; the creation instruction includes simulation device information and link information corresponding to network devices in a live network topology; the simulation device information includes a simulation template corresponding to a simulation engine to be determined; the network digital twin management service builds the simulation network topology according to a preset configuration table, the simulation template and the link information; wherein, the preset configuration table includes a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices; that is, the preset configuration table includes simulation engines corresponding to different types of devices, can obtain a variety of simulation engines, and then simulate network devices of different manufacturers according to the variety of simulation engines, can meet the simulation of large-scale heterogeneous manufacturer devices, simulate and test network operation behaviors in the live network topology, and then determine the influence of different network operation behaviors on the live network topology, to ensure the security and stability of the live network. BRIEF DESCRIPTION OF DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or related art descriptions. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.

[0039] Figure 1 An application environment diagram of the simulation network topology building method in an embodiment;

[0040] Figure 2 A flowchart of the simulation network topology building method in an embodiment;

[0041] Figure 3 a flowchart of a process of building a simulation network topology in an embodiment;

[0042] Figure 4 a flowchart of a process of obtaining running information of a simulation network topology in an embodiment;

[0043] Figure 5 a flowchart of a process of building a preset configuration table in an embodiment;

[0044] Figure 6 a structural block diagram of a building device of a simulation network topology in an embodiment;

[0045] Figure 7 an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0047] In the live network environment such as campus network, school network and metropolitan area network, if the devices, links and services in the network are directly operated and take effect immediately, it may bring unpredictable influence. At the same time, such operation requires high safety awareness and network skill of users, and improper operation may lead to network instability or even paralysis. Once a fault occurs, the rollback and repair process of the live network is usually complex and time-consuming, which seriously affects the continuous and stable operation of the network. Therefore, the present application proposes a building method of a simulation network topology, which is suitable for the live network environment such as campus network, school network and metropolitan area network. By building a simulation network topology with consistent running configuration as the live network topology (i.e. digital twin network of the live network), the network operation of the live network is preformed and verified. Exemplarily, before the operator operates the devices, links or services in the live network, the operation preformation is performed in the simulation network topology to verify the influence of the operation in the network. When the safety of the operation in the simulation network topology is verified, the operation is applied to the live network, thereby effectively guaranteeing the safety and stability of the live network. In addition, the simulation network topology supports convenient problem rollback and can quickly recover to the preset stable running state.

[0048] In addition, in the prior art, in order to realize the pre-performance of the related network operation behavior, a single simulation engine such as eNSP, EVE-NG, PNetLab is usually used to construct a virtual environment, that is, network devices such as switches, routers, firewalls are simulated in the simulation engine to construct a virtual environment consistent with the existing network. In the prior art, due to the limitation of the type of simulation devices in each simulation engine, each simulation engine can only simulate a limited type or a single manufacturer's device, for example, the eNSP Pro simulation engine can only simulate the corresponding type of device. However, the network topology in the existing network often contains network devices of multiple manufacturers and multiple types, which leads to the fact that the virtual environment constructed by using a single simulation engine in the prior art cannot meet the network digital twinning demand of large-scale heterogeneous manufacturer devices. Therefore, the present application provides a method for building a simulation network topology, which can interface with multiple simulation engines and simulate network devices of different manufacturers according to the multiple simulation engines. Furthermore, the network digital twinning management service can build a simulation network topology according to the preset configuration table, the simulation template and the link information, which can meet the simulation and emulation demand of large-scale heterogeneous manufacturer devices.

[0049] The simulation test method of the network structure provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 The existing network topology 102 communicates with the computer device 104 through a network, and the existing network topology 102 includes multiple network devices of different types (manufacturers). The container cloud platform is deployed on the computer device 104, and the visual page, the network digital twinning management service and the database are deployed in the container cloud platform. The network digital twinning management service (DTN Manager service) can read the configuration information of the network devices of different types (manufacturers) in the existing network topology 102 and store the configuration information of the network devices of different types (manufacturers) into the database. The visual page is used for visualizing the building process of the simulation network topology and displaying the running information of the simulation devices in the simulation network topology. The DTN Manager service receives the creation instruction of the simulation network topology through the visual page. The creation instruction includes the simulation template and the link information corresponding to the network devices in the existing network topology. The network digital twinning management service builds the simulation network topology according to the preset configuration table, the simulation template and the link information. The existing network topology 102 can be but is not limited to various campus network topologies, school network topologies, metropolitan area network topologies, etc. The computer device 104 can be but is not limited to various servers, personal computers, notebook computers, etc.

[0050] In an exemplary embodiment, as Figure 2As shown, a method for building a simulation network topology is provided. The method is deployed in a container cloud platform in a computer device 104, and the container cloud platform has a visualization page, a network digital twin management service, and a database deployed therein. The method includes the following steps 202 to 204. Among them:

[0051] Step 202, the network digital twin management service receives a creation instruction of the simulation network topology through the visualization page; the creation instruction includes simulation device information and link information corresponding to network devices in the existing network topology; the simulation device information includes a simulation template corresponding to a simulation engine to be determined.

[0052] Among them, the simulation template refers to the template to which the simulation device belongs; the network digital twin management service (DTN Manager service) is a service for providing an interface to the visualization page to control the building of the simulation network topology.

[0053] Among them, the simulation device information corresponding to the network devices in the existing network topology refers to the information of the to-be-simulated device corresponding to the network devices in the existing network topology; the simulation device information includes to-be-simulated device name, device running CPU / memory, device management IP address, simulation template, etc. The link information corresponding to the links between the network devices in the existing network topology refers to the link information of the to-be-simulated link corresponding to the links between the network devices in the existing network topology, which includes link start device name, link start device port, link end device name, link end device port, etc.

[0054] Optionally, a user inputs a creation instruction of the simulation network topology based on the visualization page, and the DTN Manager service accepts the creation instruction of the simulation network topology and builds the simulation network topology based on the information in the creation instruction of the simulation network topology.

[0055] Step 204, the network digital twin management service builds the simulation network topology according to a preset configuration table, a simulation template, and link information; the preset configuration table includes a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0056] The preset configuration table is used to store the correspondence between the simulation engines of different types of devices and the device template information corresponding to the simulation engines of different types of devices. The simulation engines of different types of devices refer to the simulation engines corresponding to simulation devices of different types (manufacturers). Exemplarily, the simulation engines can be, but are not limited to, EVE-NG, PnetLab, ENSPPro, etc., and various different simulation engines support different types of simulation devices. The DTN Manager service can obtain the simulation templates corresponding to various simulation engines, and determine the preset configuration table according to the correspondence between various simulation engines and the simulation templates corresponding to various simulation engines.

[0057] The DTN Manager service receives the creation instruction of the simulation network topology, and obtains the simulation template corresponding to the to-be-simulated device based on the creation instruction, and then obtains the simulation engine to which the simulation template corresponding to the to-be-simulated device belongs from the preset configuration table. The DTN Manager service calls the simulation engine to which the simulation template belongs, creates a simulation device in the simulation engine, and then builds the simulation network topology based on the obtained link information and configuration information. Optionally, the DTN Manager service is in communication connection with the network devices in the live network topology, reads the configuration information of the network devices through ssh, netconf or snmp, and configures the configuration information to the simulation device corresponding to the network device, so that the simulation devices in the simulation network topology have the same running configuration as the network devices in the live network topology.

[0058] Optionally, the visualization page can include a simulation network topology building page, which is used to build the simulation network topology. For example, a first side of the simulation network topology building page displays selectable simulation devices, and a second side displays the simulation network topology. The user selects the selectable simulation devices from the first side based on the live network topology information, and drags the selected simulation devices to the simulation network topology on the second side in the visualization page. Further, the user can select two simulation devices in the simulation network topology according to the live network topology information to create a simulation link, and after the simulation link is created, the DTN Manager service is called to configure the configuration information of the network device to the corresponding simulation device to generate the simulation network topology. The selectable simulation devices on the first side can be pre-built on the simulation engines of different types of devices.

[0059] In this embodiment, based on the simulation template of the to-be-simulated device, the simulation engine corresponding to the simulation template is determined from the preset configuration table; wherein the preset configuration table includes the simulation engines corresponding to different types of devices, that is, the embodiment can connect multiple simulation engines, and then simulate network devices of different manufacturers according to the multiple simulation engines. The network digital twin management service receives the creation instruction of the simulation network topology structure through the visual page; and according to the preset configuration table, the simulation template and the link information, the simulation network topology structure is built through the network digital twin management service, which can meet the simulation simulation demand of large-scale heterogeneous manufacturer devices; by running the simulation network topology structure, the running information of each simulation device of the simulation network topology structure is obtained, which can evaluate the security and implementation feasibility of network operation behavior on the live network under the condition that the live network is completely isolated, thereby ensuring the security and stability of the network.

[0060] In one exemplary embodiment, as shown in Figure 3 The step 204 includes:

[0061] The step 302 determines the simulation engine corresponding to the simulation template based on the correspondence between the multiple simulation templates and the simulation engines in the preset configuration table through the network digital twin management service.

[0062] Optionally, the user inputs the creation instruction of the simulation network topology structure based on the visual page, the creation instruction of the simulation network topology structure can include the information of the to-be-simulated device corresponding to the network device in the live network topology structure, and the information of the to-be-simulated device includes the simulation template corresponding to the to-be-simulated device. The DTN Manager service acquires the simulation engine to which the simulation template corresponding to the to-be-simulated device belongs from the preset configuration table in response to the creation instruction of the simulation network topology structure.

[0063] The step 304 creates the simulation device by calling the simulation engine corresponding to the simulation template through the network digital twin management service.

[0064] The DTN Manager service calls the simulation engine to which the simulation template corresponding to the to-be-simulated device belongs, creates the to-be-simulated device in the simulation engine, and stores the simulation device information into the database after creating the simulation device.

[0065] The step 306 reads the configuration information of the network device in the live network topology structure through the network digital twin management service.

[0066] Exemplarily, the DTN Manager service creates a plurality of to-be-simulated devices in simulation engines of different types of devices to obtain a plurality of simulated devices. For each simulated device, the DTN Manager service connects the network device (in the live network topology) corresponding to the simulated device by means of ssh, netconf or snmp, and reads the configuration information of the network device corresponding to the simulated device.

[0067] In step 308, the simulation device information of the to-be-simulated device is configured according to the configuration information in the simulation engine by the network digital twin management service, to obtain a configured simulated device; and the connection relationship of the configured simulated device is determined according to the link information, and a simulation network topology structure is built.

[0068] Optionally, for each simulated device, the DTN Manager service generates a corresponding configuration instruction based on the configuration information of the network device corresponding to the simulated device that is read; and the simulation device information of the simulated device is configured based on the configuration instruction to obtain a configured simulated device; and the connection relationship of the configured simulated device is determined according to the link information, and a simulation network topology structure is built. The configuration instruction is used to configure the simulation device information of the simulated device. Optionally, after the simulation link between each simulated device is created based on the link information of the to-be-simulated link, the configuration instruction is issued to the corresponding simulated device.

[0069] Exemplarily, the user inputs a creation instruction of a simulation network topology structure based on a visual page, the creation instruction of the simulation network topology structure including link information of network devices in the live network topology (i.e. link information of the to-be-simulated link corresponding to the link between each network device in the live network topology); the link information includes link starting device name, link starting device port, link terminating device name, link terminating device port, etc.; the DTN Manager service determines the starting simulated device (or the starting configured simulated device) and the terminating simulated device (or the terminating configured simulated device) corresponding to the to-be-simulated link in response to the creation instruction, and obtains the simulation device information of the starting simulated device and the simulation device information of the terminating simulated device from the database, determines the simulation engine corresponding to the starting simulated device and the simulation engine corresponding to the terminating simulated device from a preset configuration table according to the simulation device information of the starting simulated device and the simulation device information of the terminating simulated device, and creates a simulation link in the simulation engine, and stores the link information of the simulation link in the database.

[0070] In the embodiment, the DTN Manager service builds the simulation network topology structure according to the configuration information and the link information in the simulation engine. The DTN Manager service can automatically read the configuration information of the network devices in the live network topology structure and configure the corresponding simulation devices based on the configuration information. Compared with the traditional technology for building the simulation network topology structure, the user usually manually inputs the configuration information of each network device in the live network topology structure to configure the simulation devices in the simulation network topology structure one by one, so that the simulation devices have the same configuration as the network devices. The efficiency is low. The process of configuring the simulation devices one by one depends on the user's familiarity with various network devices and configuration instructions. The simulation result may deviate from the actual network due to human error. The embodiment can improve the building efficiency and accuracy of the simulation network topology structure and ensure the consistency and effectiveness of the simulation network topology structure and the live network topology structure.

[0071] In an exemplary embodiment, the method further comprises: when the network digital twin management service receives a monitoring instruction through the visualization page, in response to the monitoring instruction, obtaining running information of the simulation network topology structure.

[0072] The running information includes device manufacturer, device type, management IP, CPU utilization, memory utilization, state and other information of each simulation device, and state, inflow speed, outflow speed and other information of the simulation link between each simulation device.

[0073] In the embodiment, the user inputs a monitoring instruction of the simulation network topology structure based on the visualization page. The DTN Manager service responds to the monitoring instruction and controls the simulation devices in the simulation network topology structure to run according to the configuration of the network devices in the live network topology structure. During the running of each simulation device, the DTN Manager service periodically or in real time collects the running information of each simulation device and transmits the running information of each simulation device to the visualization interface for display. Further, the user can perform a rehearsal of a target operation in the simulation network topology structure and analyze and verify the possible impact of the target operation in the live network topology structure based on the collected running information of each simulation device, so as to evaluate the safety and implementation feasibility of the target operation under the condition that the live network is completely isolated. The target operation refers to the network operation behavior that the user plans to implement in the live network environment, such as the operation on the devices, links or services in the live network topology structure.

[0074] In this embodiment, the running of the simulation network topology structure is performed to obtain the running information of each simulation device in the simulation network topology structure, so that the security and implementation feasibility of the network operation behavior on the live network can be evaluated under the condition that the live network is completely isolated, thereby ensuring the security and stability of the network.

[0075] In one exemplary embodiment, as shown in Figure 4 The running information includes resource utilization and link traffic information.

[0076] In step 402, the network digital twin management service calls the simulation engine to query the resource utilization of the simulation devices in the simulation engine.

[0077] The resource utilization of the simulation devices in the simulation network topology structure is displayed through the visualization page.

[0078] Optionally, the DTN Manager service calls each simulation engine to query the resource utilization (including CPU / memory utilization) of all simulation devices in each simulation engine and saves the resource utilization in the database.

[0079] The monitoring instruction of the simulation network topology structure input by the user based on the visualization page can include a simulation device resource utilization monitoring instruction, which can include device name and start time range information. The DTN Manager service queries the resource utilization data of the simulation devices meeting the conditions in the database in response to the simulation device resource utilization monitoring instruction, and returns the resource utilization data of the simulation devices meeting the conditions to the visualization page in json format for display.

[0080] In step 404, the network digital twin management service obtains the link traffic information of each simulation link in the simulation network topology structure.

[0081] The link traffic information of the simulation links in the simulation network topology structure is displayed through the visualization page.

[0082] Optionally, for each simulation link, the DTN Manager service queries the link starting device port of the simulation link to obtain the traffic of the link starting device port of the simulation link; takes the traffic of the link starting device port as the link traffic of the simulation link, and stores the link traffic information of the simulation link into the database. The monitoring instruction of the simulation network topology structure input by the user based on the visualization page can include a link traffic monitoring instruction, which can include link starting device information and link starting device port information; the DTN Manager service queries the link traffic information of the simulation link meeting the condition in the database in response to the link traffic monitoring instruction, and returns the link traffic information of the simulation link meeting the condition to the visualization page in the json format for display.

[0083] As an example, the DTN Manager service calls each simulation engine to query the resource utilization rate (including CPU / memory utilization rate) of the service to which each simulation engine belongs, and saves in the database. The monitoring instruction of the simulation network topology structure input by the user based on the visualization page can include a simulation engine resource utilization rate monitoring instruction, which can include simulation engine name and starting time range information; the DTN Manager service queries the resource utilization rate data of the simulation engine meeting the condition in the database in response to the simulation engine resource utilization rate monitoring instruction, and returns the resource utilization rate data of the simulation engine meeting the condition to the visualization page in the json format for display.

[0084] In this embodiment, the simulation devices in different simulation engines are uniformly operated and monitored through the visualization page, which can enhance the convenience of user operation; at the same time, through the simulation network topology structure and the visualization page, the security and implementation feasibility of network operation behavior on the live network can be evaluated under the condition that the live network is completely isolated, so as to ensure the security and stability of the network.

[0085] In an exemplary embodiment, the method further comprises: the network digital twin management service receiving a deletion instruction; the deletion instruction including identification information of a simulation device to be deleted; the network digital twin management service deleting the simulation device corresponding to the identification information in the simulation network topology structure in response to the deletion instruction.

[0086] The identification information of the simulation device to be deleted is the simulation device information of the simulation device to be deleted, including simulation device name, device running CPU / memory, device management IP address, simulation template, etc.

[0087] Optionally, the user inputs a deletion instruction based on the visualization page, the deletion instruction including a deletion instruction of the simulation device and a deletion instruction of the simulation link. When the user inputs the deletion instruction of the simulation device based on the visualization page, the deletion instruction includes identification information of the simulation device to be deleted; the DTN Manager service responds to the deletion instruction of the simulation device, and determines a simulation engine to which the simulation device to be deleted belongs according to the identification information of the simulation device to be deleted, wherein the DTN Manager service can determine the simulation engine to which the simulation device to be deleted belongs according to simulation template data in the identification information of the simulation device to be deleted; the DTN Manager service invokes the simulation engine to which the simulation device to be deleted belongs, deletes the simulation device to be deleted on the simulation engine to which the simulation device to be deleted belongs, and synchronously deletes simulation device information of the deleted simulation device in the database.

[0088] The deletion instruction also includes identification information of the simulation link to be deleted; and the identification information of the simulation link to be deleted is link information of the simulation link to be deleted. When the user inputs the deletion instruction of the simulation link based on the visualization page, the DTN Manager service responds to the deletion instruction of the simulation link, determines a starting simulation device and a terminal simulation device corresponding to the simulation link information to be deleted according to the identification information of the simulation link to be deleted, and determines simulation engines corresponding to the starting simulation device and the terminal simulation device; in the simulation engines corresponding to the starting simulation device and the terminal simulation device, the simulation link to be deleted is deleted, and link information of the deleted simulation link is synchronously deleted in the database.

[0089] As an example, the user can also input a query instruction based on the visualization page, the query instruction including a simulation template query instruction, a simulation engine query instruction, a simulation device query instruction, and a simulation link query instruction. When the user inputs the simulation template query instruction based on the visualization page, the simulation template query instruction can include device name, device type, device manufacturer, and other information; the DTN Manager service responds to the simulation template query instruction, queries simulation templates meeting the query condition in the database, and returns the simulation templates meeting the query condition to the visualization page for display. Optionally, the DTN Manager service can also acquire all simulation template data in the database based on the simulation template query instruction, so that all simulation template data in the database is displayed on the visualization page.

[0090] When a user enters a simulation engine query command on the visualization page, the DTN Manager service responds to the query command by retrieving information on all simulation engines from the database to form a list of simulation engine information, which is then returned to the visualization page for display. This list includes information such as simulation engine name, vendor, CPU utilization, memory utilization, and status.

[0091] When a user enters a simulation device query command on the visualization page, the query command includes information such as device name and device type. The DTN Manager service responds to this query command by searching the database for simulation devices that meet the query criteria and returning their information to the visualization page for display. Optionally, the DTN Manager service can also use the query command to retrieve simulation device information from all simulation devices in the database, forming a simulation device information list, and then return this list to the visualization page for display. This simulation device information list includes device name, device manufacturer, device type, management IP address, associated template, and status.

[0092] When a user inputs a simulated link query command on the visualization page, the command includes information such as the starting device name and the ending device name. The DTN Manager service responds to this query by searching the database for simulated links that meet the query criteria and returning their information to the visualization page. Optionally, the DTN Manager service can also use the query command to retrieve information from all simulated links in the database, creating a list of simulated links, and then return this list to the visualization page. This list includes information such as link name, starting device name, starting port name, ending device name, ending port name, bandwidth, and flow rate.

[0093] In this embodiment, the DTN Manager service performs corresponding operations based on the deletion command on the visual page, enabling the rapid deletion of simulated devices and links in the simulated network topology; enhancing the convenience of user operation and improving the efficiency and flexibility of simulated network topology construction. The DTN Manager service also performs corresponding operations based on the query command on the visual page, displaying real-time information on each simulated device and link in the simulated network topology, enabling real-time monitoring of the simulated network topology.

[0094] In one exemplary embodiment, such as Figure 5 As shown, the method further includes steps 502 to 504. Wherein,

[0095] At step 502, the simulation template corresponding to the simulation engine of the network device of different types is obtained through the network digital twin management service.

[0096] Exemplarily, the simulation engine of different types of devices is deployed on at least one server, and optionally, the server can support single simulation engine deployment or multiple simulation engine coexistence deployment. The simulation engine of different types of devices includes EVE-NG, PnetLab, ENSP Pro, etc., and each simulation engine supports simulation devices of different types (manufacturers). At the same time, a container cloud platform is deployed on another at least one server. The container cloud platform can be a Kubernetes cluster environment, that is, a container orchestration engine, which is a platform supporting automatic deployment, large-scale scalability, and application container management. The DTN Manager service, the database, and the visualization page are deployed in the form of microservices on the container cloud platform.

[0097] After the simulation engine of different types of devices is pre-deployed on the at least one server, the server information of each simulation engine is stored in the database, and the simulation template supported by each simulation engine is obtained through the DTN Manager service.

[0098] At step 504, the preset configuration table is established based on the correspondence between the simulation engine of different types of network devices and the simulation template corresponding to the simulation engine of different types of network devices through the network digital twin management service.

[0099] After the simulation template supported by each simulation engine is obtained through the DTN Manager service, the correspondence between the multiple simulation engines and the corresponding simulation templates is determined, and the multiple correspondences are written into the preset configuration table in the database. The simulation template information corresponding to the simulation template can also be included in the preset configuration table. The simulation template information includes device template name, device type, device manufacturer, cpu limit, memory limit, source, etc.

[0100] In this embodiment, by obtaining the simulation template corresponding to the pre-deployed simulation engine of different types of devices, and establishing the correspondence between the simulation engine of different types of devices and the simulation template corresponding to the simulation engine of different types of devices, the DTN Manager service can support the simulation requirements of multiple manufacturers and multiple types of devices, avoid the limitation of a single simulation engine, and solve the problem of being unable to meet the simulation and emulation of large-scale heterogeneous manufacturer devices.

[0101] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of the steps or stages is not necessarily sequential, but can be alternately or alternately executed with at least part of other steps or steps or stages in other steps.

[0102] Based on the same inventive concept, the embodiments of the present application also provide a network structure simulation test device for implementing the network structure simulation test method described above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more network structure simulation test device embodiments provided below can refer to the limitations of the network structure simulation test method in the above text, and will not be repeated here.

[0103] In one exemplary embodiment, as shown in Figure 6 A network structure simulation test device is provided, comprising: a receiving module 602 and a building module 604, wherein:

[0104] The receiving module 602 is configured to receive a creation instruction of a simulation network topology based on a network digital twin management service; the creation instruction includes simulation device information and link information corresponding to network devices in a live network topology; the simulation device information includes a simulation template corresponding to a simulation engine to be determined;

[0105] The building module 604 is configured to build a simulation network topology according to a preset configuration table, a simulation template, and link information through a network digital twin management service; the preset configuration table includes a correspondence between a plurality of simulation engines and corresponding simulation templates; the plurality of simulation engines are simulation engines corresponding to a plurality of different types of network devices.

[0106] In an example embodiment, the building module 504 is further configured to determine, by the network digital twin management service, a simulation engine corresponding to a simulation template based on a preset correspondence relationship between the simulation templates and the simulation engines in a configuration table; invoke, by the network digital twin management service, the simulation engine corresponding to the simulation template to create a simulation device; read, by the network digital twin management service, configuration information of a network device in a network topology structure; configure, by the network digital twin management service, simulation device information of the simulation device to be simulated in the simulation engine according to the configuration information, to obtain a configured simulation device; and determine a connection relationship of the configured simulation device according to link information, to build a simulation network topology structure.

[0107] In an example embodiment, the simulation test device of the network structure further comprises:

[0108] The monitoring module is configured to, when the network digital twin management service receives a monitoring instruction through a visual page, acquire running information of the simulation network topology structure in response to the monitoring instruction.

[0109] In an example embodiment, the running information comprises resource utilization and link flow information; the monitoring module is further configured to query resource utilization of the simulation device in the simulation engine by invoking the simulation engine through the network digital twin management service; and acquire link flow information of each simulation link in the simulation network topology structure through the network digital twin management service.

[0110] In an example embodiment, the simulation test device of the network structure further comprises:

[0111] The deleting module is configured to receive a deleting instruction through the visual page by the network digital twin management service; the deleting instruction comprises identification information of a simulation device to be deleted; and delete, by the network digital twin management service, the simulation device corresponding to the identification information in the simulation network topology structure in response to the deleting instruction.

[0112] In an example embodiment, the simulation test device of the network structure further comprises:

[0113] The configuration module is configured to acquire, by the network digital twin management service, simulation templates corresponding to simulation engines of different types of network devices; and establish, by the network digital twin management service, a preset configuration table based on a correspondence relationship between the simulation engines of the different types of network devices and the simulation templates corresponding to the simulation engines of the different types of network devices.

[0114] The modules in the device for building the simulation network topology can be realized by software, hardware, or a combination thereof. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the modules.

[0115] In an example embodiment, a computer device, which can be a server, has an internal structure as shown in Figure 7 The computer device includes a processor, a memory, an input / output interface, and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store device template information. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a simulation test method for a network structure.

[0116] Those skilled in the art can understand that Figure 7 The structure shown in the above description is only a block diagram of part of the structure related to the scheme of the present application, and does not limit the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0117] In an example embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0118] In an example embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.

[0119] In an example embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.

[0120] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.

[0121] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments of each method. Any reference to a memory, database or other medium used in the embodiments provided by the present application can include at least one of a non-volatile and volatile memory. The non-volatile memory can include a read-only memory (ROM), a magnetic tape, a floppy disk, a flash memory, an optical storage, a high-density embedded non-volatile memory, a resistive memory (ReRAM), a magnetoresistive random access memory (MRAM), a ferroelectric memory (FRAM), a phase change memory (PCM), a graphene memory, etc. The volatile memory can include a random access memory (RAM) or an external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided by the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided by the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0122] The technical features of the above embodiments can be combined in any way. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present disclosure.

[0123] The above embodiments only express several implementation ways of the present application, and the description is specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A method for constructing a simulated network topology, characterized in that, The method includes: The network digital twin management service receives a creation instruction for a simulated network topology; the creation instruction includes simulation device information and link information corresponding to network devices in the current network topology; the simulation device information includes a simulation template corresponding to the simulation engine to be determined; The network digital twin management service builds a simulated network topology based on a preset configuration table, the simulation template, and the link information. The preset configuration table includes the correspondence between multiple simulation engines and their corresponding simulation templates. The multiple simulation engines are simulation engines corresponding to multiple different types of network devices.

2. The method according to claim 1, characterized in that, The step of building a simulated network topology using the network digital twin management service based on a preset configuration table, the simulation template, and the link information includes: The network digital twin management service determines the simulation engine corresponding to the simulation template based on the correspondence between multiple simulation templates and simulation engines in the preset configuration table. The network digital twin management service is used to call the simulation engine corresponding to the simulation template to create a simulation device. The network digital twin management service is used to read the configuration information of network devices in the current network topology. The network digital twin management service configures the simulation device information of the device to be simulated in the simulation engine according to the configuration information to obtain the configured simulation device; and determines the connection relationship of the configured simulation device according to the link information to build the simulation network topology.

3. The method according to claim 1 or 2, characterized in that, The method further includes: When the network digital twin management service receives a monitoring instruction through the visualization page, it responds to the monitoring instruction and obtains the operating information of the simulated network topology.

4. The method according to claim 3, characterized in that, The operational information includes resource utilization and link traffic information; obtaining the operational information of the simulated network topology includes: The network digital twin management service calls the simulation engine to query the resource utilization rate of the simulation equipment within the simulation engine; The link traffic information of each simulated link in the simulated network topology is obtained through the network digital twin management service.

5. The method according to claim 1 or 2, characterized in that, The method further includes: The network digital twin management service receives a deletion command; the deletion command includes the identification information of the simulation device to be deleted; In response to the deletion command, the network digital twin management service deletes the simulation device corresponding to the identification information in the simulation network topology.

6. The method according to claim 1, characterized in that, The method further includes: The network digital twin management service obtains simulation templates corresponding to the simulation engines of different types of network devices. The network digital twin management service establishes the preset configuration table based on the correspondence between the simulation engines of different types of network devices and the corresponding simulation templates of the simulation engines of different types of network devices.

7. A device for constructing a simulated network topology, characterized in that, The device includes: The receiving module is used to receive a creation instruction for a simulated network topology based on the network digital twin management service; the creation instruction includes simulation device information and link information corresponding to the network devices in the current network topology; the simulation device information includes a simulation template corresponding to the simulation engine to be determined; The module is used to build a simulated network topology structure based on the network digital twin management service according to the preset configuration table, the simulation template, and the link information; the preset configuration table includes the correspondence between multiple simulation engines and corresponding simulation templates; the multiple simulation engines are simulation engines corresponding to multiple different types of network devices.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.