Network optimization method and device, medium and product

By obtaining the multi-time network configuration information of the network to be simulated and simulating and optimizing, the mapping problem between the simulation network modification and the network to be simulated in the prior art is solved, and rapid mapping and efficient optimization are achieved.

CN119496706AActive Publication Date: 2025-02-21CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411645462.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-15
Publication Date
2025-02-21
Estimated Expiration
2044-11-15

AI Technical Summary

Technical Problem

The prior art cannot realize the rapid mapping between the simulation network modification and the network to be simulated, resulting in the impact of the implementation effect of the simulation network.

Method used

By obtaining the network configuration information of the network to be simulated over multiple time periods, simulate the network to be simulated in response to the network simulation request, and optimize the network to be simulated according to the optimization operation, so as to achieve a fast mapping between the simulation network modification and the network to be simulated.

Benefits of technology

It realizes a rapid mapping between simulated network modification and network modification to be simulated, improves the efficiency and accuracy of network optimization, simplifies user operations and reduces the risk of network modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496706A_ABST
    Figure CN119496706A_ABST
Patent Text Reader

Abstract

The invention provides a network optimization method and device, a medium and a product, relates to the technical field of Internet, and aims to solve the problem that quick mapping between simulation network modification and to-be-simulated network modification cannot be realized by a universal technology. The network optimization method comprises the following steps: acquiring network configuration information of a to-be-simulated network in a plurality of time periods; in response to a network simulation request for a first time period in the plurality of time periods, simulating a to-be-simulated network according to the network configuration information of the first time period to obtain a simulated network of the first time period; and in response to the optimization operation on the simulation network in the first time period, optimizing the to-be-simulated network according to the optimization operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a network optimization method, device, medium and product. Background Art

[0002] With the development of Internet technology and the continuous expansion of the network, the network contains a large number of nodes and complex connection relationships. Manually building and testing such a large-scale network is costly, inefficient and prone to errors. Virtual network simulation technology can simulate complex network structures in a virtual environment and perform network design and testing.

[0003] General technology cannot map the modifications to the simulated network to the network to be simulated well, and requires the cooperation of staff from multiple aspects. Deviations are more likely to occur during the application process, affecting the implementation effect of the simulated network.

[0004] Therefore, general technology cannot achieve rapid mapping between simulated network modifications and to-be-simulated network modifications. Summary of the invention

[0005] The embodiments of the present disclosure provide a network optimization method, device, medium and product, aiming to solve the problem that common technologies cannot achieve fast mapping of simulated network modifications and to-be-simulated network modifications.

[0006] In order to achieve the above objectives, this application adopts the following technical solutions:

[0007] In a first aspect, a network optimization method is provided, comprising: obtaining network configuration information of a network to be simulated in multiple time periods; in response to a network simulation request for a first time period among the multiple time periods, simulating the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period; in response to an optimization operation on the simulated network of the first time period, optimizing the network to be simulated according to the optimization operation.

[0008] Optionally, obtaining network configuration information of the network to be simulated in multiple time periods includes: obtaining network configuration information of the network to be simulated in multiple time periods from a pre-stored index relationship; the index relationship includes: network configuration information corresponding to the network to be simulated in each time period.

[0009] Optionally, in response to an optimization operation on a simulated network in a first time period, the network to be simulated is optimized according to the optimization operation, including: when the operation type of the optimization operation is a plurality of first types, optimizing the simulated network in the first time period according to each first type of operation respectively to obtain a simulated network corresponding to each first type of operation; the first type is an operation type for optimizing different network configuration information; and optimizing the network to be simulated according to the simulated network corresponding to each first type of operation.

[0010] Optionally, in response to an optimization operation on a simulated network in a first time period, the network to be simulated is optimized according to the optimization operation, including: when the operation type of the optimization operation is a plurality of second types, optimizing the simulated network in the first time period in sequence according to a preset order of the plurality of second types of operations to obtain simulated networks corresponding to the plurality of second types of operations; the second type is an operation type for optimizing the same network configuration information; and optimizing the network to be simulated according to the simulated networks corresponding to the plurality of second types of operations.

[0011] Optionally, the network optimization method also includes: determining network configuration change information of the network to be simulated based on the network configuration information of the second time period and the network configuration information of the first time period; the second time period is located after the first time period; and configuring the network configuration change information to the simulated network of the first time period after the optimization operation to obtain the simulated network of the second time period after the optimization operation.

[0012] Optionally, the network configuration information includes: network device information, and / or network protocol information; the network device information includes at least one of the following: network device information, network topology, network status; the network protocol information includes at least one of the following: network protocol configuration information, routing status information.

[0013] In a second aspect, a network optimization device is provided, which includes: a communication unit and a processing unit; the communication unit is used to obtain network configuration information of a network to be simulated in multiple time periods; the processing unit is used to respond to a network simulation request for a first time period among the multiple time periods, and simulate the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period; the processing unit is also used to respond to an optimization operation on the simulated network of the first time period, and optimize the network to be simulated according to the optimization operation.

[0014] Optionally, the communication unit is specifically used to: obtain network configuration information of the network to be simulated in multiple time periods from a pre-stored index relationship; the index relationship includes: network configuration information corresponding to the network to be simulated in each time period.

[0015] Optionally, the processing unit is specifically used for: when the operation type of the optimization operation is a plurality of first types, optimizing the simulation network of the first time period according to each first type of operation respectively, so as to obtain the simulation network corresponding to each first type of operation; the first type is the operation type for optimizing different network configuration information; optimizing the network to be simulated according to the simulation network corresponding to each first type of operation.

[0016] Optionally, the processing unit is specifically used to: when the operation type of the optimization operation is multiple second types, optimize the simulation network of the first time period in sequence according to the preset order of the multiple second types of operations to obtain simulation networks corresponding to the multiple second types of operations; the second type is an operation type for optimizing the same network configuration information; and optimize the network to be simulated according to the simulation networks corresponding to the multiple second types of operations.

[0017] Optionally, the processing unit is also used to determine the network configuration change information of the network to be simulated based on the network configuration information of the second time period and the network configuration information of the first time period; the second time period is located after the first time period; the processing unit is also used to configure the network configuration change information to the simulated network of the first time period after the optimization operation to obtain the simulated network of the second time period after the optimization operation.

[0018] Optionally, the network configuration information includes: network device information, and / or network protocol information; the network device information includes at least one of the following: network device information, network topology, network status; the network protocol information includes at least one of the following: network protocol configuration information, routing status information.

[0019] In the third aspect, a network optimization device is provided, including a memory and a processor; the memory is used to store computer execution instructions, and the processor and the memory are connected through a bus; when the network optimization device is running, the processor executes the computer execution instructions stored in the memory, so that the network optimization device executes the network optimization method of the first aspect.

[0020] The network optimization device may be an electronic device or a part of an electronic device, such as a chip system in an electronic device. The chip system is used to support the electronic device to implement the functions involved in the first aspect and any possible implementation thereof, for example, to obtain and determine the data and / or information involved in the above-mentioned network optimization method. The chip system includes a chip and may also include other discrete devices or circuit structures.

[0021] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, and when the computer execution instructions are executed on a computer, the computer executes the network optimization method described in the first aspect.

[0022] In a fifth aspect, a computer program product is also provided, which includes a computer program or instructions. When the computer instructions are executed on a network optimization device, the network optimization device executes the network optimization method as described in the first aspect above.

[0023] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the network optimization device, or may be packaged separately from the processor of the network optimization device, which is not limited in the embodiments of the present application.

[0024] The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect.

[0025] In the embodiments of the present application, the name of the network optimization device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. For example, the receiving unit may also be called a receiving module, a receiver, etc. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.

[0026] The technical solution provided by this application brings at least the following beneficial effects:

[0027] Based on any of the above aspects, an embodiment of the present application provides a network optimization method, first, obtaining network configuration information of a network to be simulated in multiple time periods, and then, in response to a network simulation request for a first time period among the multiple time periods, simulating the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period, and then, in response to an optimization operation on the simulated network of the first time period, optimizing the network to be simulated according to the optimization operation.

[0028] As can be seen from the above, the present application can simulate the network to be simulated according to the network configuration information of the first time period in multiple time periods to obtain the simulated network of the first time period, and can also respond to the optimization operation of the simulated network of the first time period and optimize the network to be simulated according to the optimization operation. Not only can the simulated network corresponding to the network to be simulated be determined according to the network configuration information of the network to be simulated, but the network to be simulated can also be optimized according to the optimization operation of the simulated network, thereby realizing the rapid mapping of the modification of the simulated network and the modification of the network to be simulated.

[0029] The beneficial effects of the first, second, third, fourth and fifth aspects of the present application can all be referred to the analysis of the above beneficial effects, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the structure of an NFV server system provided in an embodiment of the present application;

[0031] Figure 2 A schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application;

[0032] Figure 3 A flowchart of a network optimization method provided in an embodiment of the present application;

[0033] Figure 4 A flow chart of a NFV server system provided in an embodiment of the present application;

[0034] Figure 5 A flowchart of another network optimization method provided in an embodiment of the present application;

[0035] Figure 6 A flowchart of another network optimization method provided in an embodiment of the present application;

[0036] Figure 7 A flowchart of another network optimization method provided in an embodiment of the present application;

[0037] Figure 8 A flowchart of another network optimization method provided in an embodiment of the present application;

[0038] Fig. 9 A schematic diagram of the correspondence between a network to be simulated and a simulated network provided in an embodiment of the present application;

[0039] Fig.10 A schematic diagram of the structure of a network optimization device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 are within the scope of protection of this application.

[0041] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0042] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.

[0043] Before introducing the network optimization method provided by the present application in detail, a brief introduction to the application scenarios and implementation environment involved in the present application is first given.

[0044] First, a brief introduction to the application scenarios involved in this application is given.

[0045] As described in the background technology, with the development of Internet technology and the continuous expansion of the network, the network contains a large number of nodes and complex connection relationships. Manually building and testing such a large-scale network is costly, inefficient and prone to errors. Virtual network simulation technology can simulate complex network structures in a virtual environment and perform network design and testing.

[0046] Existing virtual network simulation technology uses containerized management of third-party platforms or containerized platforms (Docker) to achieve simulation of basic nodes in the simulated network. However, there is a one-to-one relationship between the nodes in the simulated network and the network devices in the simulated network (also called the actual network, physical network). However, third-party platforms and Docker cannot interact with the physical device cluster in the simulated network. Therefore, the existing virtual network simulation technology is limited by the third-party platform (or single-machine resources) and it is difficult to further expand the scale of the simulated network (i.e., the simulation scale is limited).

[0047] General virtual network simulation technology introduces a network protocol orchestrator with software defined networking (SDN) as its main function to achieve software definition control (e.g., network protocol configuration and resource management) in the simulated network. However, existing network protocol orchestrators cannot perform the same level of control over simulated networks (also known as virtual networks).

[0048] Moreover, if the modifications in the simulated network are to be applied to the network to be simulated, general technology cannot map the modifications to the simulated network to the network to be simulated (i.e. the actual physical network) well, and cooperation of multiple staff is required. Deviations are more likely to occur during the application process, affecting the implementation effect of the simulated network.

[0049] Therefore, general technology cannot achieve rapid mapping between simulated network modifications and to-be-simulated network modifications.

[0050] In response to the above problems, an embodiment of the present application provides a network optimization method. First, network configuration information of a network to be simulated in multiple time periods is obtained. Then, in response to a network simulation request for a first time period among the multiple time periods, the network to be simulated is simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period. Then, in response to an optimization operation on the simulated network of the first time period, the network to be simulated is optimized according to the optimization operation.

[0051] As can be seen from the above, the present application can simulate the network to be simulated according to the network configuration information of the first time period in multiple time periods to obtain the simulated network of the first time period, and can also respond to the optimization operation of the simulated network of the first time period and optimize the network to be simulated according to the optimization operation. Not only can the simulated network corresponding to the network to be simulated be determined according to the network configuration information of the network to be simulated, but the network to be simulated can also be optimized according to the optimization operation of the simulated network, thereby realizing the rapid mapping of the modification of the simulated network and the modification of the network to be simulated.

[0052] The implementation environment of the above network optimization method can be the NFV server system provided in the embodiment of the present application.

[0053] Figure 1 The structure diagram of a NFV server system provided by an embodiment of the present application is shown. Figure 1 As shown, the NFV server system includes: a network optimization device (also referred to as a NFV server) 101, a physical orchestrator 102, and a network protocol orchestrator 103.

[0054] The network optimization device 101 is respectively connected to the physical orchestrator 102 and the network protocol orchestrator 103 for communication.

[0055] The physical device of the network optimization device 101 may be a NFV server, which is used to run various virtualized network functions, that is, to implement a network simulation function.

[0056] The physical orchestrator 102 is used to orchestrate and manage the device status of network devices (also referred to as physical devices) in the simulated network (also referred to as the actual physical network), the configuration of network topology links, the status of network connections, and efficiency information.

[0057] Optionally, the physical orchestrator 102 may also map the modification in the simulated network to the network to be simulated, so as to achieve dual-end mapping between the simulated network and the network to be simulated.

[0058] The network protocol arranger 103 is used to manage and configure the network protocol configuration information, routing status, and routing information of the network to be simulated.

[0059] Optionally, the network protocol orchestrator 103 may also include the simulated network in the management scope, so that the configuration of the simulated network is synchronized with the configuration of the network to be simulated, so as to ensure the unification of the simulated network and the network to be simulated at the protocol layer.

[0060] Optionally, the physical device of the network optimization device 101 may be a server or other types of electronic devices, which is not limited in the embodiments of the present application.

[0061] Optionally, the above-mentioned server can be a server in a server cluster (consisting of multiple servers), or a chip in the server, or a system on a chip in the server, or can be implemented by a virtual machine (VM) deployed on a physical machine, which is not limited in the embodiments of the present application.

[0062] The network optimization devices in the NFV server system include: Figure 2 The following are the components included. Figure 2 Taking the communication device shown as an example, the hardware structure of the network optimization equipment is introduced.

[0063] Figure 2 , which is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application. The communication device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 can be connected via a bus 24.

[0064] The processor 21 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0065] As an embodiment, the processor 21 may include one or more CPUs, for example Figure 2 CPU0 and CPU1 are shown in the figure.

[0066] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0067] In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 to store instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the network optimization method provided in the following embodiments of the present application can be implemented.

[0068] In the embodiment of the present application, for the communication device, the software programs stored in the memory 22 are different, so the functions implemented by the communication device are different. The functions performed by each device will be described in conjunction with the following flowchart.

[0069] In another possible implementation, the memory 22 may also be integrated with the processor 21 .

[0070] The communication interface 23 is used for the communication device to connect with other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.

[0071] The bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0072] It should be pointed out that Figure 2 The structure shown in the figure does not constitute a limitation on the communication device, except Figure 2 In addition to the components shown, the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0073] The network optimization method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0074] The network optimization method provided in the embodiment of the present application is applied to Figure 1 The network optimization device 101 in the NFV server system shown in FIG. Figure 3 As shown, the network optimization method provided in the embodiment of the present application includes:

[0075] S301. A network optimization device obtains network configuration information of a network to be simulated in multiple time periods.

[0076] In one achievable manner, the network optimization device can obtain network configuration information of the generation simulation network in multiple time periods, so that after the network optimization device responds to the network simulation request of the first time period among the multiple time periods, it simulates the generation simulation network according to the network configuration information of the first time period to obtain the simulation network of the first time period, thereby simulating the network to be simulated. And the network optimization device responds to the optimization operation of the simulation network of the first time period, and optimizes the network to be simulated according to the optimization operation. In this way, rapid mapping of the modification of the simulation network and the modification of the network to be simulated can be achieved.

[0077] In some embodiments, the network configuration information includes: network device information, and / or, network protocol information; the network device information includes at least one of the following: network device information, network topology, network status; the network protocol information includes at least one of the following: network protocol configuration information, routing status information.

[0078] Network device information (also called physical device information) refers to the software information, hardware information, and device connection information of various devices in the network (including routers, switches, firewalls, servers, and wireless access points).

[0079] The software information includes: the operating system running on the device and the system resource usage of the device.

[0080] Hardware information includes: device model, serial number, hardware version, and number and type of physical ports.

[0081] Device connection information refers to the link relationship between the device and other devices, including: the connected port, the connected cable type, and the connected device name or IP address.

[0082] The network topology structure (also called the network topology connection state) refers to the layout of the physical or logical connection mode between each node in the network to be simulated.

[0083] Network topologies include: star topology, bus topology, ring topology, and mesh topology.

[0084] Network status (also known as network usage) includes: network connectivity, bandwidth utilization, network delay, and packet loss rate.

[0085] Network protocol configuration information includes: IP address configuration, routing protocol configuration, and network service protocol configuration.

[0086] Routing status information (including: routing information and routing status) refers to the status of the routing table inside a router or a device with routing function.

[0087] Combination Figure 1 ,The network optimization device obtains network device information in multiple time periods through the physical ,orchestrator.

[0088] Optionally, the physical orchestrator may periodically obtain network device information, namely, network device information, network topology, and network status, through device probes.

[0089] Combination Figure 1 The network optimization device obtains network protocol information (also called network protocol configuration information) of multiple time periods through the network protocol orchestrator.

[0090] Optionally, the network protocol orchestrator may obtain network protocol configuration information periodically through the SDN controller.

[0091] Optionally, the network protocol orchestrator may obtain routing information and routing status of multiple routing nodes through a routing management interface.

[0092] For example, Figure 4 (a) shows a flow chart of the NFV server system.

[0093] The physical orchestrator and network protocol orchestrator in the NFV server system interact with the physical device cluster respectively.

[0094] The physical orchestrator manages the physical device information of the physical device cluster.

[0095] The network protocol orchestrator implements network protocol management for physical device clusters.

[0096] The network optimization device obtains network device information through the physical orchestrator.

[0097] The network optimization device obtains network protocol information through the network protocol orchestrator.

[0098] S302: In response to a network simulation request for a first time period among multiple time periods, the network optimization device simulates the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period.

[0099] In one possible implementation, after the network optimization device responds to the network simulation request of the first time period among the multiple time periods, the network optimization device can simulate the simulated network according to the network configuration information of the first time period to obtain the simulated network of the first time period, thereby simulating the network to be simulated. The network optimization device is also enabled to respond to the optimization operation of the simulated network of the first time period, and optimize the network to be simulated according to the optimization operation. In this way, rapid mapping of the modification of the simulated network and the modification of the network to be simulated can be achieved.

[0100] The network optimization device may simulate the network to be simulated according to the network configuration information of the first time period to obtain the simulated network of the first time period.

[0101] Optionally, before the network optimization device simulates the network to be simulated for the first time, a simulation platform needs to be built on the NFV server system.

[0102] Specifically, first, the network optimization device installs the Kubernetes container management platform and the docker containerization tool on the NFV server system. Then, the network optimization device installs the meshnet Container Network Interface (meshnet-cni) plug-in on the Kubernetes container management platform (also known as the Kubernetes environment). Next, the network optimization device submits the Ubuntu image.

[0103] The Ubuntu image includes: Free Range Routing (FRRouting) software suite, network protocol orchestrator and Ubuntu command line interface (Ubuntu shell).

[0104] Optionally, the network optimization device may create a simulated network on the Kubernetes containerized management platform corresponding to the network to be simulated in the first time period.

[0105] Specifically, first, the network optimization device establishes a container group (pod) under a namespace (namespace) corresponding to the network device information (which may include: device identification, device Internet Protocol (IP), port identification, port IP) in the Kubernetes cluster on the Kubernetes container management platform according to the network device information in the first time period. Then, the network optimization device establishes the corresponding network card information and connection in the pod according to the network protocol information in the first time period.

[0106] The links between pods on the same server are virtual Ethernet (veth) links, and the links between pods on different servers are virtual extensible LAN (vxlan) links.

[0107] Optionally, when there is an interface in the virtual network but no actual link is established at both ends of the link, the network optimization device creates a corresponding virtual network card in the pod corresponding to the Kubernetes cluster so that the protocol can be sent to the network card normally.

[0108] Optionally, the network optimization device can persistently record the namespace, name, model, and port of each pod in the Kubernetes cluster and memorize the network reachability information.

[0109] Optionally, the network optimization device can introduce real nodes in the simulated network to act as components of network protocol management, which can improve the support of virtual nodes in the simulated network for various protocols and improve the simulation accuracy of each node in the simulated network.

[0110] Optionally, the network optimization device may introduce a routing protocol management suite into the simulated network to implement network protocol configuration for each node in the simulated network.

[0111] Optionally, the network optimization device may utilize the standardized interface provided by the SDN controller to achieve accurate simulation of the network protocol of each node in the simulated network.

[0112] From the above, it can be seen that the network optimization device can use the large-scale orchestration capabilities of the image container and the corresponding network management component's inter-container network communication construction capabilities on the containerized management platform to realize virtualized simulation of the network topology structure of the simulated network. In this way, the network optimization device realizes multi-level network simulation such as device information, topology structure (including network topology structure), network status, protocol configuration, device routing (including device routing configuration, device routing protocol, and device internal routing table). It can also realize one-to-many simulation of multiple time periods and multiple configurations, and realize two-way, multi-level, large-scale, and precise dual-end mapping between simulated networks and simulated networks. In this way, the network optimization device can enhance the simulation results, simplify personnel operations, and improve the efficiency of network optimization.

[0113] S303: The network optimization device optimizes the network to be simulated according to the optimization operation in response to the optimization operation on the simulated network in the first time period.

[0114] In one achievable manner, the network optimization device can optimize the network to be simulated according to the optimization operation in response to the optimization operation of the simulated network in the first time period. The simulated network optimization operation can be mapped to the network to be simulated to achieve rapid mapping of simulated network modification and simulated network modification.

[0115] The network optimization device may optimize the simulated network operating in a first time period.

[0116] The optimization operations include: optimizing network devices, optimizing topology (also called optimizing network topology), optimizing network status, optimizing protocol configuration (also called optimizing network protocol configuration), and optimizing device routing (also called optimizing routing status information).

[0117] Among them, optimizing network equipment includes: deleting network equipment, adding network equipment, and upgrading network equipment.

[0118] Optimizing the topology structure includes: deleting nodes, deleting links, adding nodes, and adding links.

[0119] Optimizing network status includes: adjusting allocated bandwidth and controlling traffic.

[0120] Optimizing protocol configuration includes: adjusting network protocols and adjusting routing protocols.

[0121] Optimizing device routes includes: deleting routes, adding routes, and adjusting route parameters.

[0122] After optimizing the simulated network, the network optimization device can optimize the simulated network according to the optimization operation.

[0123] For example, Figure 4 (b) shows a flow chart of the NFV server system.

[0124] The physical orchestrator and network protocol orchestrator in the NFV server system interact with the physical device cluster respectively.

[0125] The network optimization device selects the network configuration information of a certain time period and generates a new simulated network based on the network configuration information of a certain time period. The network optimization device can modify the simulated network and generate network modification information (also called simulated network change information). The network optimization device applies the network modification information to the simulated network modification and submits the modified simulated network.

[0126] The network optimization device applies the simulated network device modifications to the physical device cluster through the physical orchestrator.

[0127] Specifically, the network optimization device sends the simulated network device modification information to the physical orchestrator, and the physical orchestrator applies the modified network device configuration to the physical device cluster.

[0128] The network optimization device applies the simulated network protocol modifications to the physical device cluster through the network protocol orchestrator.

[0129] Specifically, the network optimization device sends simulated network protocol modification information to the network protocol orchestrator, and the network protocol orchestrator modifies the network protocol configuration for the physical device cluster application.

[0130] From the above, we can see that the network optimization device can interact with the network protocol orchestrator and the physical orchestrator to quickly map the change operations in the simulated network to the network to be simulated, which can simplify user operations, reduce the risk of network modification, and achieve two-way intercommunication between the simulated network and the network to be simulated (also called the virtual network and the real network).

[0131] In some embodiments, in combination Figure 3 ,like Figure 5 As shown, in S301, the network optimization device obtains network configuration information of the network to be simulated in multiple time periods, specifically including:

[0132] S501. The network optimization device obtains network configuration information of a network to be simulated in multiple time periods from pre-stored index relationships.

[0133] In one achievable manner, the network optimization device may pre-store index relationships between multiple time periods and network configuration information corresponding to the multiple time periods, and the network optimization device may obtain network configuration information of the network to be simulated in multiple time periods from the pre-stored index relationships. In this way, the network optimization device may simulate the network to be simulated according to the network configuration information of any time period, and obtain a simulated network of any time period.

[0134] The index relationship includes: network configuration information corresponding to the network to be simulated in each time period.

[0135] The network optimization device obtains network device information of the network to be simulated in multiple time periods, and forms a network snapshot based on the network device information.

[0136] The network optimization device can compare the network snapshot of the current time period with the network snapshot of the previous time period, and record the network device change log of the current time period compared with the previous time period.

[0137] The network optimization device forms a network snapshot index relationship according to time based on network snapshots, network device change logs and network usage in multiple time periods.

[0138] The network optimization device obtains network protocol information of the network to be simulated in multiple time periods, and forms a routing snapshot according to the network protocol information.

[0139] The network optimization device can compare the route snapshot of the current time period with the route snapshot of the previous time period, and record the route change configuration of the current time period compared with the previous time period.

[0140] Optionally, the network optimization device may compare changes in network protocol information and generate a protocol change configuration.

[0141] The network optimization device forms a routing snapshot index relationship according to time based on routing snapshots and routing change configurations in multiple time periods.

[0142] Optionally, the network optimization device can select network configuration information corresponding to the time period (or time or moment) based on the index relationship and index, and generate a new simulated network (also called generating a new management branch) based on the existing simulated network.

[0143] Exemplarily, the network optimization device can obtain network configuration information of the second time period based on the index relationship and the time period as the index, generate a simulation network of the second time period based on the simulation network of the first time period (also known as creating a simulation instance), and save the simulation network of the second time period.

[0144] In another example, the network optimization device can obtain network configuration information of the third time period based on the index relationship and the time period as the index, generate a simulated network of the third time period based on the simulated network of the second time period, and save the simulated network of the third time period.

[0145] Optionally, the network optimization device may store multiple new simulated network data in a persistent manner in the same format.

[0146] As can be seen from the above, the network optimization device references the index relationship, which can make the simulated network have time attributes and restore the simulated network in any time period, so that the simulated network is no longer limited to the test of future scenarios. The network optimization device can restore the network status in any time period. In this way, after the simulated network fails, the network optimization device can effectively trace the source of the simulated network before the failure and help recover from the failure.

[0147] In some embodiments, in combination Figure 5 ,like Figure 6 As shown, in S303, the network optimization device optimizes the network to be simulated according to the optimization operation in response to the optimization operation of the simulated network in the first time period, specifically including:

[0148] S601. When the operation type of the optimization operation is a plurality of first types, the network optimization device optimizes the simulated network in the first time period according to each first type of operation, so as to obtain a simulated network corresponding to each first type of operation.

[0149] In one achievable manner, when the operation type of the optimization operation is a first type of optimization of different network configuration information, the network optimization device can optimize the simulated network in the first time period according to each first type of operation to obtain a simulated network corresponding to each first type of operation. In this way, the network optimization device can simulate network optimization operations in multiple aspects to verify the simulation effect.

[0150] The first type is an operation type for optimizing different network configuration information.

[0151] Optimization types include: performance optimization, security optimization, and reliability optimization.

[0152] Among them, performance optimization includes: bandwidth optimization, latency optimization, and throughput optimization.

[0153] Security optimization includes: access control optimization, defense optimization, and data encryption optimization.

[0154] Reliability optimization includes: redundant configuration optimization and fault recovery optimization.

[0155] Optionally, when a network device is optimized for one optimization type, multiple optimization operations are usually taken.

[0156] Exemplarily, when the optimization type is performance optimization, the optimization operations include: optimizing network equipment, optimizing topology structure, optimizing network status, and optimizing protocol configuration.

[0157] As another example, when the optimization type is security optimization, the optimization operation includes: optimizing network status, optimizing protocol configuration, and optimizing device routing.

[0158] As another example, when the optimization type is reliability optimization, the optimization operation includes: optimizing the topology structure, optimizing the network status, and optimizing the protocol configuration.

[0159] In the case where the operation type of the optimization operation is a plurality of first types, the network optimization device may optimize the simulated network in the first time period respectively according to each first type of operation.

[0160] Specifically, first, the network optimization device retains the simulated network of the first time period and generates a new simulated network of the first time period (which can also be called creating a branch based on the existing simulated network). Then, the network optimization device optimizes the new simulated network of the first time period according to the first type of operation, and then, the network optimization device saves the optimized simulated network of the first time period.

[0161] Optionally, the network optimization device may simultaneously generate multiple new simulation networks of the first time period, and optimize the multiple new simulation networks of the first time period according to each first type of operation, so as to obtain a simulation network corresponding to each first type of operation.

[0162] S602: The network optimization device optimizes the network to be simulated according to the simulated network corresponding to each first type of operation.

[0163] In one possible implementation, the network optimization device can optimize the network to be simulated according to the simulated network corresponding to each type of operation. The simulated network optimization operation can be mapped to the network to be simulated to achieve fast mapping of simulated network modification and simulated network modification.

[0164] The network optimization device can optimize the network to be simulated according to the simulated network corresponding to each first type of operation.

[0165] Specific, combined Figure 1 First, the network optimization device can map the optimization operation of the network device configuration in the simulated network to the physical orchestrator. Then, the network optimization device can simplify the optimization operation of the network device configuration in the physical orchestrator to obtain a more streamlined optimization operation step. Then, the physical orchestrator optimizes the network devices of the simulated network according to the more streamlined optimization operation steps.

[0166] Specific, combined Figure 1 First, the network optimization device can map the optimization operation of the network protocol configuration in the simulated network to the network protocol orchestrator. Then, the network optimization device can simplify the optimization operation of the network protocol configuration in the network protocol orchestrator to obtain a more streamlined optimization operation step. Then, the network protocol orchestrator optimizes the network protocol of the simulated network in the form of protocol configuration according to the more streamlined optimization operation steps.

[0167] Optionally, the network protocol orchestrator may modify the network protocol of the network to be simulated through the SDN controller.

[0168] Optionally, the network optimization device may compare the network to be simulated before and after the optimization to analyze the effect of the optimization operation.

[0169] Specifically, the network optimization device can analyze the effect of the optimization operation based on the topological structure, network status and device routing before and after the optimization.

[0170] In some embodiments, in combination Figure 6 ,like Figure 7 As shown, in S303, the network optimization device responds to the optimization operation of the simulated network in the first time period, and optimizes the network to be simulated according to the optimization operation, specifically including:

[0171] S701. When the operation type of the optimization operation is a plurality of second types, the network optimization device sequentially optimizes the simulation network of the first time period according to a preset sequence of the plurality of second types of operations to obtain the simulation network corresponding to the plurality of second types of operations.

[0172] In one practicable manner, when the operation type of the optimization operation is a second type of optimization of the same network configuration information, the network optimization device can optimize the simulated network of the first time period in sequence according to a preset sequence of multiple second types of operations to obtain simulated networks corresponding to multiple second types of operations. In this way, the network optimization device can further optimize a single aspect of the network optimization operation to obtain a better simulation effect.

[0173] The second type is an operation type for optimizing the same network configuration information.

[0174] After the network optimization device optimizes the simulated network in the first time period according to the first type of operation and obtains the simulated network corresponding to the first type of operation, the network optimization device may optimize the simulated network in sequence according to the second type of operation.

[0175] Specifically, first, the network optimization device retains the simulated network of the first time period and generates a new simulated network of the first time period (which can also be called creating a branch based on the existing simulated network). Then, the network optimization device optimizes the new simulated network of the first time period according to the second type of operation, and then, the network optimization device saves the optimized simulated network of the first time period.

[0176] Optionally, the network optimization device may optimize the simulated network in the new first time period according to the second type of operation to obtain a simulated network corresponding to the second type of operation.

[0177] Optionally, the network optimization device may optimize the simulated network in sequence according to a plurality of second-type operations and in a preset order of the plurality of second-type operations to obtain an optimized simulated network.

[0178] Exemplarily, first, the network optimization device can optimize the simulated network according to the first second type of operation to obtain an optimized first simulated network. Then, the network optimization device can optimize the first simulated network according to the second second type of operation to obtain an optimized second simulated network. Next, the network optimization device can optimize the second simulated network according to the third second type of operation to obtain an optimized third simulated network. By analogy, the network optimization device can optimize the simulated network according to multiple second types of operations and in a preset order of multiple second types of operations to obtain an optimized final simulated network.

[0179] S702: The network optimization device optimizes the network to be simulated according to the simulated networks corresponding to the multiple second types of operations.

[0180] In one possible implementation, the network optimization device can optimize the network to be simulated according to the simulated network corresponding to each type of operation. The simulated network optimization operation can be mapped to the network to be simulated to achieve fast mapping of simulated network modification and simulated network modification.

[0181] The network optimization device can optimize the network to be simulated according to the simulated networks corresponding to the multiple second types of operations.

[0182] Specific, combined Figure 1 First, the network optimization device can map the optimization operation of the network device configuration in the simulated network to the physical orchestrator. Then, the network optimization device can simplify the optimization operation of the network device configuration in the physical orchestrator to obtain a more streamlined optimization operation step. Then, the physical orchestrator optimizes the network devices of the simulated network according to the more streamlined optimization operation steps.

[0183] Specific, combined Figure 1 First, the network optimization device can map the optimization operation of the network protocol configuration in the simulated network to the network protocol orchestrator. Then, the network optimization device can simplify the optimization operation of the network protocol configuration in the network protocol orchestrator to obtain a more streamlined optimization operation step. Then, the network protocol orchestrator optimizes the network protocol of the simulated network in the form of protocol configuration according to the more streamlined optimization operation steps.

[0184] In some embodiments, in combination Figure 5 ,like Figure 8 As shown, the network optimization method also includes:

[0185] S801. A network optimization device determines network configuration change information of a network to be simulated according to network configuration information of a second time period and network configuration information of a first time period.

[0186] In one achievable method, the network optimization device can determine the network configuration change information of the network to be simulated based on the network configuration information of the second time period and the network configuration information of the first time period, so as to configure the network configuration change information into the simulated network of the first time period after the optimization operation, and obtain the simulated network of the second time period after the optimization operation.

[0187] The second time period is located after the first time period.

[0188] During the process of simulating and optimizing the network to be simulated in the first time period, the network configuration information of the network to be simulated changes, and the network configuration information of the network to be simulated changes from the network configuration information of the first time period to the network configuration information of the second time period. The network optimization device can determine the network configuration change information of the network to be simulated based on the network configuration information of the second time period and the network configuration information of the first time period.

[0189] Optionally, the network configuration change information includes: changing network equipment, changing topology, changing network status, changing protocol configuration, and changing device routing.

[0190] Among them, changing network equipment includes: deleting network equipment, adding network equipment, and upgrading network equipment.

[0191] Changing the topology structure includes: deleting nodes, deleting links, adding nodes, and adding links.

[0192] Changing the network status includes: adjusting the allocated bandwidth and controlling the traffic.

[0193] Changing the protocol configuration includes: adjusting the network protocol and adjusting the routing protocol.

[0194] Changing device routes includes: deleting routes, adding routes, and adjusting route parameters.

[0195] The network configuration information of the first time period includes: network device information of the first time period and network protocol information of the first time period.

[0196] The network configuration information of the second time period includes: network device information of the second time period and network protocol information of the second time period.

[0197] Network configuration change information includes: network device change information and network protocol change information.

[0198] Optionally, the network optimization device may simulate simulated networks of multiple optimization types (also referred to as multiple states) simultaneously to form simulated networks of the same network to be simulated in multiple states (also referred to as a simulated network instance cluster).

[0199] After the network device information changes, the network optimization device can determine the network device change information based on the network device information of the second time period and the network device information of the first time period. The network optimization device can merge the network device change information with the network device optimization information to obtain the simulated network of the second time period after the optimization operation.

[0200] Optionally, the network optimization device may modify the simulated network in the first time period based on the simulated network in the first time period (the simulated network in the first time period without optimization operation) according to the network device change information to obtain the simulated network in the second time period. The network optimization device then modifies the simulated network in the second time period according to the network device optimization information (also referred to as rebasing the network device optimization information) to obtain the optimized simulated network in the second time period.

[0201] After the network protocol information changes, the network optimization device can determine the network protocol change information based on the network protocol information of the second time period and the network protocol information of the first time period. The network optimization device can merge the network protocol change information with the network protocol optimization information to obtain the simulated network of the second time period after the optimization operation.

[0202] Optionally, the network optimization device can modify the simulated network in the first time period according to the network protocol change information based on the simulated network in the first time period to obtain the simulated network in the second time period. The network optimization device then modifies the simulated network in the second time period according to the network protocol optimization information to obtain the optimized simulated network in the second time period.

[0203] The above network device information is changed when the user modifies the physical device cluster through the physical orchestrator, and the physical orchestrator applies the modification to the physical device cluster.

[0204] The above network protocol information is changed when the user modifies the physical device cluster through the network protocol orchestrator.

[0205] Optionally, the network protocol information may be changed after periodic data submission, when a device route in the physical device cluster is changed, and the network protocol orchestrator applies the change to the physical device cluster.

[0206] Optionally, the network optimization device may simulate the network to be simulated in multiple time periods simultaneously.

[0207] Optionally, the network optimization device may also apply the network configuration change information of the simulated network in the second time period to the simulated network in the second time period.

[0208] S802: The network optimization device configures the network configuration change information into the simulated network in the first time period after the optimization operation to obtain the simulated network in the second time period after the optimization operation.

[0209] In one achievable manner, the network optimization device can configure the network configuration change information into the simulated network in the first time period after the optimization operation to obtain the simulated network in the second time period after the optimization operation. In this way, even if the network configuration information of the network to be simulated changes, the network optimization device can configure the change into the network simulation in the first time period to directly obtain the simulated network in the second time period after the optimization operation.

[0210] The network optimization device may configure the network configuration change information into the simulated network in the first time period after the optimization operation, and obtain the simulated network in the second time period after the optimization operation.

[0211] For example, Figure 4 (c) in the figure shows a flow chart of the NFV server system.

[0212] The physical orchestrator and network protocol orchestrator in the NFV server system interact with the physical device cluster respectively.

[0213] When the network optimization device simulates multiple states of the same network to be simulated simultaneously, the network optimization device simulates the network to be simulated in multiple states to obtain a simulated network instance cluster.

[0214] After the physical orchestrator modifies the physical device, the physical orchestrator synchronizes the device modification information to the network optimization device.

[0215] The network optimization device compares the device modification information with the device optimization information, merges the device modification information and the device optimization information, and obtains the merged device modification information.

[0216] The network optimization device applies the simulated network device modifications (the merged simulated network device modifications) to the physical device cluster through the physical orchestrator.

[0217] Specifically, the physical orchestrator applies the modified network device configuration to the physical device cluster.

[0218] After the network protocol orchestrator modifies the device protocol, the network protocol orchestrator synchronizes the protocol modification information to the network optimization device.

[0219] The network optimization device compares the protocol modification information with the protocol optimization information, merges the protocol modification information and the protocol optimization information, and the merged device modification information is the protocol modification information.

[0220] The network optimization device applies the simulated network protocol modifications (the merged simulated network protocol modifications) to the physical device cluster through the network protocol orchestrator.

[0221] Specifically, the network protocol orchestrator modifies the network protocol configuration for the physical device cluster application.

[0222] As can be seen from the above, the network optimization device can use time as a dimension to simulate multiple simulated networks in different states under the same simulated network. And synchronize the modification of the simulated network in multiple simulated networks, so that the simulated network never deviates from the state of the simulated network, so as to obtain accurate simulation results.

[0223] For example, Fig. 9 A schematic diagram showing the correspondence between changes in a network to be simulated and a simulated network is shown.

[0224] The network optimization device modifies the network to be simulated.

[0225] The network optimization device simulates the version 1 network to be simulated, and creates a simulation main branch of the simulation network.

[0226] The network optimization device modifies the version 1 of the network to be simulated (changes the device information and the network topology status), and the network optimization device creates a simulation branch 1 of the simulated network based on the simulation main branch.

[0227] The network optimization device modifies the version 2 of the network to be simulated (changes the topology structure, protocol configuration, and device routing), and the network optimization device creates a simulation branch 2 of the simulated network based on the simulation branch 1.

[0228] At the same time, on the simulation main branch, the network optimization device makes modifications to the corresponding places in the simulation main branch according to the change information of the topology structure, the change information of the protocol configuration and the change information of the device routing.

[0229] The network optimization device modifies the version 3 of the network to be simulated (changes the network status and device routing). Accordingly, the network optimization device modifies the corresponding places in simulation branch 1 and simulation branch 2 according to the change information of the network status and the change information of the device routing.

[0230] The network optimization device modifies the version 4 of the network to be simulated (changes the device information). Accordingly, the network optimization device modifies the corresponding places in the simulation main branch and the simulation branch 1 according to the change information of the device information.

[0231] The network optimization device modifies the network to be simulated of version 5 (changing the topology, protocol configuration, and device routing) to obtain the network to be simulated of version 6. Accordingly, the network optimization device modifies the corresponding places in the simulation main branch and simulation branch 2 according to the change information of the topology, the change information of the protocol configuration, and the change information of the device routing.

[0232] As can be seen from the above, the network optimization device can achieve a large-scale correspondence between one simulated network and multiple simulated networks. The network optimization device can create a new simulated network branch on the simulated main branch of the simulated network through the change operation, and can also merge the simulated branches from the same source to ensure that each simulated network branch can be synchronized with the changes of the simulated network.

[0233] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0234] The embodiment of the present application can divide the functional modules of the network optimization device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0235] Fig.10 FIG. 1 is a schematic diagram showing the structure of a network optimization device provided in an embodiment of the present application. Fig.10 As shown, the network optimization device includes: a communication unit 1001 and a processing unit 1002;

[0236] The communication unit 1001 is used to obtain network configuration information of the network to be simulated in multiple time periods; the processing unit 1002 is used to respond to a network simulation request for a first time period among the multiple time periods, and simulate the network to be simulated according to the network configuration information of the first time period to obtain a simulated network in the first time period; the processing unit 1002 is also used to respond to an optimization operation on the simulated network in the first time period, and optimize the network to be simulated according to the optimization operation.

[0237] Optionally, the communication unit 1001 is specifically used to: obtain network configuration information of the network to be simulated in multiple time periods from a pre-stored index relationship; the index relationship includes: network configuration information corresponding to the network to be simulated in each time period.

[0238] Optionally, the processing unit 1002 is specifically used for: when the operation type of the optimization operation is a plurality of first types, optimizing the simulation network of the first time period according to each first type of operation respectively, so as to obtain the simulation network corresponding to each first type of operation; the first type is the operation type for optimizing different network configuration information; optimizing the network to be simulated according to the simulation network corresponding to each first type of operation.

[0239] Optionally, the processing unit 1002 is specifically used for: when the operation type of the optimization operation is multiple second types, optimizing the simulation network of the first time period in sequence according to the preset order of the multiple second types of operations to obtain simulation networks corresponding to the multiple second types of operations; the second type is an operation type for optimizing the same network configuration information; optimizing the network to be simulated according to the simulation networks corresponding to the multiple second types of operations.

[0240] Optionally, processing unit 1002 is also used to determine network configuration change information of the network to be simulated based on the network configuration information of the second time period and the network configuration information of the first time period; the second time period is located after the first time period; processing unit 1002 is also used to configure the network configuration change information to the simulated network of the first time period after the optimization operation to obtain the simulated network of the second time period after the optimization operation.

[0241] Optionally, the network configuration information includes: network device information, and / or network protocol information; the network device information includes at least one of the following: network device information, network topology, network status; the network protocol information includes at least one of the following: network protocol configuration information, routing status information.

[0242] The embodiment of the present application also provides a computer-readable storage medium, which includes computer execution instructions. When the computer execution instructions are executed on a computer, the computer executes the network optimization method provided in the above embodiment.

[0243] An embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the network optimization method provided in the above embodiment.

[0244] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.

[0245] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0246] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or 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 device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

[0247] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. 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 readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the general technology 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, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a disk, or an optical disk.

[0248] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A network optimization method, characterized in that: The method comprises: Obtain network configuration information of the network to be simulated in multiple time periods; In response to a network simulation request for a first time period among the multiple time periods, simulating the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period; In response to the optimization operation on the simulated network in the first time period, the network to be simulated is optimized according to the optimization operation.

2. The method according to claim 1, characterized in that The obtaining of network configuration information of the network to be simulated in multiple time periods includes: The network configuration information of the network to be simulated in the multiple time periods is obtained from a pre-stored index relationship; the index relationship includes: the network configuration information corresponding to the network to be simulated in each time period.

3. The method according to claim 1, characterized in that In response to the optimization operation on the simulated network in the first time period, optimizing the network to be simulated according to the optimization operation includes: In the case where the operation type of the optimization operation is a plurality of first types, optimizing the simulated network in the first time period respectively according to each first type of operation to obtain a simulated network corresponding to each first type of operation; the first type is an operation type for optimizing different network configuration information; The network to be simulated is optimized according to the simulated network corresponding to each of the first type operations.

4. The method according to claim 1, characterized in that: In response to the optimization operation on the simulated network in the first time period, optimizing the network to be simulated according to the optimization operation includes: In the case where the operation type of the optimization operation is a plurality of second types, optimizing the simulated network of the first time period in sequence according to the preset order of the plurality of second types of operations to obtain the simulated network corresponding to the plurality of second types of operations; the second type is an operation type for optimizing the same network configuration information; The network to be simulated is optimized according to the simulated networks corresponding to the multiple second types of operations.

5. The method according to claim 1, characterized in that The method further comprises: Determining network configuration change information of the network to be simulated according to network configuration information of a second time period and network configuration information of the first time period; the second time period is after the first time period; The network configuration change information is configured into the simulated network in the first time period after the optimization operation to obtain the simulated network in the second time period after the optimization operation.

6. The method according to claim 1, characterized in that The network configuration information includes: network device information, and / or network protocol information; the network device information includes at least one of the following: network device information, network topology, network status; the network protocol information includes at least one of the following: network protocol configuration information, routing status information.

7. A network optimization device, characterized in that: The device comprises: a communication unit and a processing unit; The communication unit is used to obtain network configuration information of the network to be simulated in multiple time periods; The processing unit is configured to, in response to a network simulation request for a first time period among the multiple time periods, simulate the network to be simulated according to the network configuration information of the first time period to obtain a simulated network of the first time period; The processing unit is further configured to, in response to an optimization operation on the simulated network in the first time period, optimize the network to be simulated according to the optimization operation.

8. A network optimization device, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the device is running, the processor executes the computer-executable instructions stored in the memory to enable the device to perform the method described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of a network optimization device, the network optimization device is capable of performing the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises: a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to perform the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Network simulation method and device

    CN111585790A

  • Network simulation method and device, equipment and storage medium

    CN113037545A

  • Communication network optimization simulation system, method and device based on OPNET

    CN114285758A

  • Simulation network generation method and device

    CN114615150A

  • Network security vulnerability analysis method and system based on digital twin

    CN116015983A