A network optimization method, apparatus, medium, and product
By acquiring the network configuration information of the network to be simulated and performing simulation and optimization operations, and by using the network optimization device to interact with the orchestrator, the mapping problem between the modification of the simulated network and the modification of the network to be simulated in virtual network simulation technology is solved, and fast and accurate network optimization is achieved.
Patent Information
- Application Number
- CN202411645462.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-11-15
AI Technical Summary
Existing virtual network simulation technology cannot achieve rapid mapping between modifications to the simulated network and modifications to the network to be simulated. It requires collaboration from multiple personnel, which can easily lead to deviations and affect the implementation effect of the simulation network.
By acquiring network configuration information of the network to be simulated over multiple time periods, the system responds to network simulation requests to perform simulations, optimizes the network to be simulated based on optimization operations, and utilizes network optimization equipment to interact with the physical orchestrator and network protocol orchestrator to achieve rapid mapping between modifications to the simulated network and modifications to the network to be simulated.
It enables rapid mapping between modified simulated networks and modified networks to be simulated, simplifies user operations, reduces the risk of network modification, and improves the efficiency and accuracy of network optimization.
Smart Images

Figure CN119496706B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and in particular to a network optimization method, apparatus, medium and product. Background Technology
[0002] With the development of internet technology and the continuous expansion of networks, networks contain a large number of nodes and complex connections. Manually building and testing such large-scale networks 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 techniques cannot accurately map modifications to the simulation network onto the network to be simulated. This requires collaboration among multiple personnel, and deviations are more likely to occur during application, affecting the implementation effect of the simulation network.
[0004] Therefore, general techniques cannot achieve rapid mapping between modifications to the simulated network and modifications to the network to be simulated. Summary of the Invention
[0005] This disclosure provides a network optimization method, apparatus, medium, and product, aiming to solve the problem that general techniques cannot achieve rapid mapping between simulated network modifications and the network to be simulated.
[0006] To achieve the above objectives, this application adopts the following technical solution:
[0007] Firstly, a network optimization method is provided, including: obtaining network configuration information of the network to be simulated in multiple time periods; responding 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 the simulated network for the first time period; and responding to an optimization operation on the simulated network for the first time period, optimizing the network to be simulated according to the optimization operation.
[0008] Optionally, the network configuration information of the network to be simulated in multiple time periods can be obtained, including: obtaining the network configuration information of the network to be simulated in multiple time periods from a pre-stored index relationship; the index relationship includes: the network configuration information of the network to be simulated in each time period.
[0009] Optionally, in response to the optimization operation of the simulation network in the 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 multiple first types, the simulation network in the first time period is optimized according to each first type of operation to obtain the simulation network corresponding to each first type of operation; the first type is the operation type that optimizes different network configuration information; the network to be simulated is optimized according to the simulation network corresponding to each first type of operation.
[0010] Optionally, in response to the optimization operation of the simulation network in the 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 multiple second types, the simulation network in the first time period is optimized sequentially according to the preset order of the multiple second types of operations to obtain the simulation network corresponding to the multiple second types of operations; the second type is the operation type that optimizes the same network configuration information; the network to be simulated is optimized according to the simulation network corresponding to the multiple second types of operations.
[0011] Optionally, the network optimization method further includes: determining 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 after the first time period; configuring the network configuration change information into the simulation network of the first time period after the optimization operation to obtain the simulation network of the second time period after the optimization operation.
[0012] Optionally, network configuration information includes: network device information, and / or, network protocol information; network device information includes at least one of the following: network device information, network topology, and network status; network protocol information includes at least one of the following: network protocol configuration information and routing status information.
[0013] Secondly, a network optimization device is provided, comprising: a communication unit and a processing unit; the communication unit is used to acquire network configuration information of the 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 to 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; the processing unit is also used to respond to an optimization operation of the simulated network of the first time period, and to 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 of 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 of multiple first types, optimizing the simulation network of the first time period according to each first type of operation to obtain the simulation network corresponding to each first type of operation; the first type is the operation type that optimizes 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: optimize the simulation network of the first time period in a preset order according to the operation type of the optimization operation when the operation type of the optimization operation is multiple second types, so as to obtain the simulation network corresponding to the multiple second types of operations; the second type is the operation type that optimizes the same network configuration information; optimize the network to be simulated according to the simulation network corresponding to the multiple second types of operations.
[0017] Optionally, the processing unit is further configured 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 further configured to configure the network configuration change information into the simulation network of the first time period after the optimization operation, so as to obtain the simulation network of the second time period after the optimization operation.
[0018] Optionally, network configuration information includes: network device information, and / or, network protocol information; network device information includes at least one of the following: network device information, network topology, and network status; network protocol information includes at least one of the following: network protocol configuration information and routing status information.
[0019] Thirdly, a network optimization device is provided, including a memory and a processor; the memory is used to store computer-executed instructions, and the processor is connected to the memory via a bus; when the network optimization device is running, the processor executes the computer-executed instructions stored in the memory, so that the network optimization device performs the network optimization method of the first aspect.
[0020] The network optimization device can be an electronic device or a component of an electronic device, such as a chip system within an electronic device. The chip system supports the electronic device in implementing the functions involved in the first aspect and any of its possible implementations, such as acquiring and determining the data and / or information involved in the aforementioned network optimization method. The chip system includes a chip, but may also include other discrete devices or circuit structures.
[0021] Fourthly, a computer-readable storage medium is provided, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the network optimization method described in the first aspect.
[0022] Fifthly, a computer program product is also provided, comprising a computer program or instructions that, when executed on a network optimization device, cause the network optimization device to perform the network optimization method as described in the first aspect above.
[0023] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the network optimization device, or it may be packaged separately from the processor of the network optimization device; this application does not limit this.
[0024] The descriptions of the second, third, fourth, and fifth aspects of this application can be referenced to the detailed description of the first aspect.
[0025] In the embodiments of this application, the names of the aforementioned network optimization devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be called a receiving module, receiver, etc. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalents.
[0026] The technical solution provided in this application brings at least the following beneficial effects:
[0027] Based on any of the above aspects, embodiments of this application provide a network optimization method. First, network configuration information of the 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 the simulated network of the first time period. Next, 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.
[0028] As shown above, this application can simulate the network to be simulated based on the network configuration information of the first time period among multiple time periods, thereby obtaining the simulation network for the first time period. Furthermore, it can respond to optimization operations on the simulation network for the first time period and optimize the network to be simulated based on these optimization operations. Not only can it determine the simulation network corresponding to the network to be simulated based on the network configuration information of the network to be simulated, but it can also optimize the network to be simulated based on the optimization operations of the simulation network, achieving a rapid mapping between modifications to the simulation network and modifications to the network to be simulated.
[0029] The beneficial effects of the first, second, third, fourth, and fifth aspects of this application can all be referred to in the analysis of the above-mentioned beneficial effects, and will not be repeated here. Attached Figure Description
[0030] Figure 1 This application provides a schematic diagram of the structure of an NFV server system according to 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 this application;
[0032] Figure 3 A flowchart illustrating a network optimization method provided in an embodiment of this application;
[0033] Figure 4 A flowchart illustrating an NFV server system provided in this application embodiment;
[0034] Figure 5 A flowchart illustrating yet another network optimization method provided in an embodiment of this application;
[0035] Figure 6 A flowchart illustrating yet another network optimization method provided in an embodiment of this application;
[0036] Figure 7 A flowchart illustrating yet another network optimization method provided in an embodiment of this application;
[0037] Figure 8 A flowchart illustrating yet another network optimization method provided in an embodiment of this application;
[0038] Figure 9 A schematic diagram illustrating the change correspondence between the network to be simulated and the simulation network, provided for an embodiment of this application;
[0039] Figure 10 This is a schematic diagram of a network optimization device provided in an embodiment of this application. Detailed Implementation
[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0042] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.
[0043] Before providing a detailed introduction to the network optimization method provided in this application, let's briefly introduce the application scenarios and implementation environment involved in this application.
[0044] First, a brief introduction to the application scenarios involved in this application will be given.
[0045] As described in the background section, with the development of Internet technology and the continuous expansion of networks, networks contain a large number of nodes and complex connections. Manually building and testing such large-scale networks 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 technologies employ third-party platforms or containerized management platforms (such as Docker) to simulate the basic nodes in the network to be simulated. However, there is a one-to-one relationship between nodes in the simulated network and network devices in the network to be simulated (also known as the actual network or physical network). However, third-party platforms and Docker cannot interact with the physical device cluster in the network to be simulated. Therefore, existing virtual network simulation technologies are limited by third-party platforms (or single-machine resources), making it difficult to further expand the scale of the simulated network (i.e., simulation scale is limited).
[0047] General virtual network simulation technology introduces network protocol orchestrators with Software Defined Networking (SDN) as their primary function to control software-defined aspects (e.g., network protocol configuration and resource management) in the network to be simulated. However, existing network protocol orchestrators cannot provide the same level of control over the simulated network (also known as a virtual network).
[0048] Furthermore, if modifications in the simulation network are to be applied to the network to be simulated, common techniques cannot accurately map the modifications to the simulation network to the network to be simulated (i.e., the actual physical network). This requires collaboration from multiple personnel, and deviations are more likely to occur during the application process, affecting the implementation effect of the simulation network.
[0049] Therefore, general techniques cannot achieve rapid mapping between modifications to the simulated network and modifications to the network to be simulated.
[0050] To address the aforementioned issues, this application provides a network optimization method. First, network configuration information of the network to be simulated is obtained over multiple time periods. Then, in response to a network simulation request for a first time period, the network to be simulated is simulated based on the network configuration information of the first time period to obtain a simulated network for the first time period. Next, in response to an optimization operation on the simulated network for the first time period, the network to be simulated is optimized based on the optimization operation.
[0051] As shown above, this application can simulate the network to be simulated based on the network configuration information of the first time period among multiple time periods, thereby obtaining the simulation network for the first time period. Furthermore, it can respond to optimization operations on the simulation network for the first time period and optimize the network to be simulated based on these optimization operations. Not only can it determine the simulation network corresponding to the network to be simulated based on the network configuration information of the network to be simulated, but it can also optimize the network to be simulated based on the optimization operations of the simulation network, achieving a rapid mapping between modifications to the simulation network and modifications to the network to be simulated.
[0052] The implementation environment for the above network optimization method can be the NFV server system provided in the embodiments of this application.
[0053] Figure 1 A schematic diagram of the structure of an NFV server system provided in an embodiment of this application is shown. Figure 1 As shown, the NFV server system includes: a network optimization device (also known as an NFV server) 101, a physical orchestrator 102, and a network protocol orchestrator 103.
[0054] The network optimization device 101 is communicatively connected to the physical orchestrator 102 and the network protocol orchestrator 103, respectively.
[0055] The physical device of the network optimization device 101 can be an NFV server, used to run various virtualized network functions, that is, to realize network simulation functions.
[0056] The physical orchestrator 102 is used to orchestrate and manage the device status, network topology link configuration, network connection status, and efficiency information of network devices (also known as physical devices) in the network to be simulated (also known as the actual physical network).
[0057] Optionally, the physical orchestrator 102 can also map modifications in the simulation network to the network to be simulated, thereby achieving a two-way mapping between the simulation network and the network to be simulated.
[0058] The network protocol orchestrator 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 can 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 uniformity 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, and this application embodiment does not limit this.
[0061] Optionally, the server mentioned above can be one of the servers in a server cluster (composed of multiple servers), a chip in the server, a system-on-a-chip in the server, or a virtual machine (VM) deployed on a physical machine. This application embodiment does not limit this.
[0062] Network optimization devices in NFV server systems include, for example: Figure 2 The components included. The following are examples. Figure 2 Taking the communication device shown as an example, the hardware structure of the network optimization device is introduced.
[0063] Figure 2 The diagram shown is a hardware structure schematic of a communication device provided in an embodiment of this 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 are connected via the bus 24.
[0064] Processor 21 is the control center of the communication device. It can be a single processor or a collective term for multiple processing elements. For example, 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 one embodiment, processor 21 may include one or more CPUs, for example Figure 2 CPU0 and CPU1 are shown in the diagram.
[0066] The memory 22 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0067] In one possible implementation, the memory 22 can exist independently of the processor 21. The memory 22 can be connected to the processor 21 via a bus 24 and is used to store instructions or program code. When the processor 21 calls and executes the instructions or program code stored in the memory 22, it can implement the network optimization method provided in the following embodiments of this application.
[0068] In this embodiment, the software programs stored in memory 22 differ for each communication device, resulting in different functions implemented by the communication devices. The functions performed by each device will be described in conjunction with the following flowcharts.
[0069] In another possible implementation, the memory 22 can also be integrated with the processor 21.
[0070] Communication interface 23 is used for connecting the communication device to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc. Communication interface 23 may include a receiving unit for receiving data and a transmitting unit for sending data.
[0071] Bus 24 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0072] It should be pointed out that, Figure 2 The structure shown 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 illustrated, or combine certain components, or have different component arrangements.
[0073] The network optimization method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0074] The network optimization method provided in this application embodiment is applied to Figure 1 The network optimization device 101 in the NFV server system shown is as follows: Figure 3 As shown, the network optimization method provided in this application includes:
[0075] S301. The network optimization device acquires the network configuration information of the network to be simulated in multiple time periods.
[0076] In one feasible approach, the network optimization device can acquire network configuration information of the proxy network across multiple time periods. Upon responding to a network simulation request for the first time period, the device simulates the proxy network based on the network configuration information for that first time period, thus obtaining the simulated network for that specific time period and simulating the network to be simulated. Furthermore, the device responds to optimization operations on the simulated network for the first time period, optimizing the network to be simulated accordingly. This allows for rapid mapping between modifications to the simulated network and modifications to the network to be simulated.
[0077] In some embodiments, network configuration information includes: network device information, and / or network protocol information; network device information includes at least one of the following: network device information, network topology, and network status; network protocol information includes at least one of the following: network protocol configuration information and routing status information.
[0078] Network device information (also known as 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 device's system resource usage.
[0080] Hardware information includes: device model, serial number, hardware version, number and type of physical ports.
[0081] Device connection information refers to the connection relationship between a device and other devices, including: the connected port, the type of cable, and the name or IP address of the connected device.
[0082] Network topology (also known as network topology connection state) refers to the layout of the physical or logical connections between nodes 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 latency, 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 capabilities.
[0087] Combination Figure 1 Network optimization equipment obtains network device information for multiple time periods through a physical orchestrator.
[0088] Optionally, the physical orchestrator can periodically acquire network device information, namely network device information, network topology, and network status, through device probes.
[0089] Combination Figure 1 Network optimization devices obtain network protocol information (also known as network protocol configuration information) for multiple time periods through a network protocol orchestrator.
[0090] Optionally, the network protocol orchestrator can periodically obtain network protocol configuration information through the SDN controller.
[0091] Optionally, the network protocol orchestrator can obtain routing information and routing status of multiple routing nodes through the routing management interface.
[0092] For example, Figure 4 (a) in the diagram shows a flowchart 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 enables the management of physical device information for a physical device cluster.
[0095] The network protocol orchestrator enables network protocol management for physical device clusters.
[0096] Network optimization equipment obtains network device information through a physical orchestrator.
[0097] Network optimization equipment obtains network protocol information through a network protocol orchestrator.
[0098] S302. In response to a network simulation request for the first time period among multiple time periods, the network optimization device performs simulation on the network to be simulated based on the network configuration information of the first time period to obtain the simulated network for the first time period.
[0099] In one feasible approach, after responding to a network simulation request for the first time period out of multiple time periods, the network optimization device can simulate the network to be simulated based on the network configuration information of the first time period to obtain the simulated network for the first time period, thus simulating the network to be simulated. The network optimization device then responds to the optimization operation of the simulated network for the first time period and optimizes the network to be simulated accordingly. This allows for a rapid mapping between modifications to the simulated network and modifications to the network to be simulated.
[0100] The network optimization device can simulate the network to be simulated based on the network configuration information of the first time period to obtain the simulated network for the first time period.
[0101] Optionally, before the network optimization device performs the first simulation based on the network to be simulated, a simulation platform needs to be built on the NFV server system.
[0102] Specifically, first, the network optimization device installs the Kubernetes containerization management platform and Docker containerization tools on the NFV server system. Then, the network optimization device installs the Meshnet Container Network Interface (meshnet-cni) plugin on the Kubernetes containerization management platform (also known as the Kubernetes environment). Next, the network optimization device submits the Ubuntu image.
[0103] The Ubuntu image includes: the Free Range Routing (FRRouting) software suite, a network protocol orchestrator, and the Ubuntu command-line interface (Ubuntu shell).
[0104] Optionally, the network optimization device can create a simulation network corresponding to the network to be simulated in the first time period on the Kubernetes containerization management platform.
[0105] Specifically, firstly, the network optimization device creates container groups (pods) in the Kubernetes cluster on the Kubernetes containerization management platform based on the network device information of the first time period, under the namespace corresponding to the network device information (which may include: device identifier, device Internet Protocol (IP), port identifier, and port IP). Next, based on the network protocol information of the first time period, the network optimization device creates the corresponding network interface card information and establishes connections within the pods.
[0106] Links between pods on the same server are virtual Ethernet (veth) links, while links between pods on different servers are virtual scalable local area network (vxlan) links.
[0107] Optionally, if an interface exists in the virtual network but no actual connection is established at either end, the network optimization device creates a corresponding virtual network interface card (NIC) in the corresponding pod of the Kubernetes cluster so that the protocol can be sent to the NIC normally.
[0108] Optionally, network optimization devices can persistently record the namespace, name, model, and port of each pod in the Kubernetes cluster, and remember network reachability information.
[0109] Optionally, the network optimization device can introduce real nodes from the network to be simulated into the simulated network to act as components for network protocol management. This can improve the support of virtual nodes in the simulated network for various protocols, thereby improving the simulation accuracy of each node in the simulated network.
[0110] Optionally, the network optimization device can introduce a routing protocol management suite into the simulated network to enable network protocol configuration for each node in the simulated network.
[0111] Optionally, network optimization devices can utilize the standardized interfaces provided by the SDN controller to achieve accurate simulation of the network protocols of each node in the network to be simulated.
[0112] As shown above, network optimization devices can leverage the large-scale orchestration capabilities of image containers and the inter-container network communication construction capabilities of corresponding network management components on a containerized management platform to perform virtual simulation of the network topology of the network to be simulated. In this way, network optimization devices can achieve multi-level network simulation, including device information, topology (including network topology), network status, protocol configuration, and device routing (including device routing configuration, device routing protocols, and device routing tables). They can also perform one-to-many simulations across multiple time periods and various configurations, achieving bidirectional, multi-level, large-scale, and precise two-end mapping between simulated networks. This enhances simulation results, simplifies human operation, and improves the efficiency of network optimization.
[0113] 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.
[0114] In one feasible approach, the network optimization device, in response to an optimization operation on the simulated network for a first time period, can optimize the network to be simulated based on the optimization operation. The simulation network optimization operation can be mapped to the network to be simulated, enabling rapid mapping between modifications to the simulation network and modifications to the network to be simulated.
[0115] Network optimization equipment can optimize the simulated network during the first time period of operation.
[0116] Optimization operations include: optimizing network devices, optimizing topology (also known as optimizing network topology), optimizing network status, optimizing protocol configuration (also known as optimizing network protocol configuration), and optimizing device routing (also known as optimizing routing status information).
[0117] Optimizing network equipment includes: deleting network equipment, adding network equipment, and upgrading network equipment.
[0118] Optimizing the topology includes: deleting nodes, deleting links, adding nodes, and adding links.
[0119] Optimizing network status includes adjusting bandwidth allocation and controlling traffic.
[0120] Optimizing protocol configurations includes adjusting network protocols and routing protocols.
[0121] Optimizing device routing includes: deleting routes, adding routes, and adjusting route parameters.
[0122] After optimizing the operation simulation network, the network optimization device can optimize the network to be simulated based on the optimization operation.
[0123] For example, Figure 4 (b) shows a flowchart 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 network configuration information for a specific time period and generates a new simulated network based on this information. The device can modify the simulated network and generate network modification information (also known as simulated network change information). The device then applies this modification information to the simulated network and submits the modified simulated network.
[0126] The network optimization device applies the modifications of the simulated network device to the physical device cluster through the physical orchestrator.
[0127] Specifically, the network optimization device sends simulated network device modification information to the physical orchestrator, which then applies the modified network device configuration to the physical device cluster.
[0128] The network optimization device applies the modified simulated network protocol 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, which then applies the modified network protocol configuration to the physical device cluster.
[0130] As can be seen from the above, network optimization devices can interact with network protocol orchestrators and physical orchestrators to quickly map changes in the simulated network to the network to be simulated. This simplifies user operations, reduces the risk of network modification, and enables bidirectional communication between the simulated network and the network to be simulated (also known as the virtual network and the real network).
[0131] In some embodiments, combined with Figure 3 ,like Figure 5 As shown in S301, the network optimization device acquires network configuration information of the network to be simulated over multiple time periods, specifically including:
[0132] S501. The network optimization device obtains the network configuration information of the network to be simulated in multiple time periods from the pre-stored index relationship.
[0133] In one feasible approach, the network optimization device can pre-store indexes of multiple time periods and their corresponding network configuration information. The device can then retrieve the network configuration information of the network to be simulated across these multiple time periods from the pre-stored indexes. In this way, the device can simulate the network to be simulated based on the network configuration information of any given time period, thus obtaining the simulated network for that specific time period.
[0134] The index relationship includes: the network configuration information of the network to be simulated for each time period.
[0135] The network optimization device acquires network device information of the network to be simulated over multiple time periods and generates network snapshots based on the network device information.
[0136] Network optimization devices can compare network snapshots of the current time period with those of the previous time period, and record network device change logs of the current time period compared to the previous time period.
[0137] The network optimization device generates a network snapshot index based on network snapshots, network device change logs, and network usage data over multiple time periods.
[0138] The network optimization device acquires network protocol information of the network to be simulated over multiple time periods and forms a routing snapshot based on the network protocol information.
[0139] Network optimization devices can compare the routing snapshot of the current time period with the routing snapshot of the previous time period to record the routing configuration changes in the current time period compared to the previous time period.
[0140] Optionally, the network optimization device can compare changes in network protocol information and generate protocol change configurations.
[0141] The network optimization device generates a route snapshot index relationship based on route snapshots and route change configurations over multiple time periods.
[0142] Optionally, the network optimization device can select the network configuration information corresponding to the time period based on the index relationship (or time, moment) and generate a new simulation network (or generate a new management branch) on the basis of the existing simulation network.
[0143] For example, the network optimization device can obtain the network configuration information for the second time period based on the index relationship and the time period index. Based on the simulation network of the first time period, it can generate the simulation network for the second time period (also known as creating a simulation instance) and save the simulation network for the second time period.
[0144] Another example is that the network optimization device can obtain the network configuration information for the third time period based on the index relationship and the time period index, generate the simulation network for the third time period based on the simulation network for the second time period, and save the simulation network for the third time period.
[0145] Optionally, the network optimization device can persistently store multiple new simulated networks in the same format.
[0146] As shown above, the network optimization device references index relationships, enabling the simulated network to possess temporal attributes. This allows for the reconstruction of the network to be simulated at any given time period, freeing the simulation network from being limited to future scenario testing. The network optimization device can reconstruct the network state at any given time. Thus, after a failure occurs in the simulated network, the network optimization device can effectively trace the source of the failure before the fault and assist in fault recovery.
[0147] In some embodiments, combined with Figure 5 ,like Figure 6 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:
[0148] S601. When the operation type of the optimization operation is multiple first types, the network optimization device optimizes the simulation network of the first time period according to each first type of operation to obtain the simulation network corresponding to each first type of operation.
[0149] In one feasible approach, when the optimization operation type is a first type that optimizes different network configuration information, the network optimization device can optimize the simulated network for a first time period according to each first type of operation to obtain the simulated network corresponding to each first type of operation. In this way, the network optimization device can simulate network optimization operations for multiple aspects separately to verify the simulation effect.
[0150] The first type is the operation type that optimizes different network configuration information.
[0151] Optimization types include: performance optimization, security optimization, and reliability optimization.
[0152] Performance optimization includes: bandwidth optimization, latency optimization, and throughput optimization.
[0153] Security optimizations include: access control optimization, defense optimization, and data encryption optimization.
[0154] Reliability optimization includes: redundancy configuration optimization and fault recovery optimization.
[0155] Optionally, when a network device is optimized for one type of optimization, multiple optimization operations are typically performed.
[0156] For example, when the optimization type is performance optimization, the optimization operations include: optimizing network devices, optimizing topology, optimizing network status, and optimizing protocol configuration.
[0157] Another example is that, when the optimization type is security optimization, the optimization operations include: optimizing network status, optimizing protocol configuration, and optimizing device routing.
[0158] Another example is that, when the optimization type is reliability optimization, the optimization operations include: optimizing the topology, optimizing the network status, and optimizing the protocol configuration.
[0159] When the operation type of the optimization operation is multiple first types, the network optimization device can optimize the simulated network in the first time period according to each first type of operation.
[0160] Specifically, first, the network optimization device retains the simulated network for the first time period and generates a new simulated network for the first time period (which can also be described as creating a branch based on the existing simulated network). Then, the network optimization device optimizes the new simulated network for the first time period according to the first type of operation. Finally, the network optimization device saves the optimized simulated network for the first time period.
[0161] Optionally, the network optimization device can simultaneously generate multiple new simulation networks for the first time period, and optimize the multiple new simulation networks for the first time period according to each type of operation, so as to obtain the simulation network corresponding to each type of operation.
[0162] S602, The network optimization device optimizes the network to be simulated according to the simulation network corresponding to each type of first operation.
[0163] In one feasible approach, the network optimization device can optimize the network to be simulated based on the simulated network corresponding to each type of operation. Simulation network optimization operations can be mapped to the network to be simulated, enabling rapid mapping between simulation network modifications and modifications to the network to be simulated.
[0164] The network optimization device can optimize the network to be simulated based on the simulation network corresponding to each type of first-type operation.
[0165] Specifically, in combination Figure 1 First, the network optimization device can map the optimization operations configured on network devices in the simulated network to the physical orchestrator. Then, the network optimization device can simplify the optimization operations configured on the network devices in the physical orchestrator to obtain a more streamlined optimization procedure. Next, the physical orchestrator optimizes the network devices in the network to be simulated based on the streamlined optimization procedure.
[0166] Specifically, in combination Figure 1 First, the network optimization device can map the optimization operations of the network protocol configuration in the simulated network to the network protocol orchestrator. Then, the network optimization device can simplify the optimization operations of the network protocol configuration in the network protocol orchestrator to obtain a more streamlined optimization procedure. Next, the network protocol orchestrator optimizes the network protocol of the network to be simulated in the form of protocol configuration, based on the more streamlined optimization procedure.
[0167] Optionally, the network protocol orchestrator can modify the network protocol of the network to be simulated through the SDN controller.
[0168] Optionally, the network optimization device can compare the network to be simulated before and after optimization to analyze the effect of the optimization operation.
[0169] Specifically, network optimization equipment can analyze the effectiveness of optimization operations based on the topology, network status, and device routing before and after optimization.
[0170] In some embodiments, combined with 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 multiple second types, the network optimization device optimizes the simulated network of the first time period in a preset order of multiple second types of operations to obtain the simulated network corresponding to the multiple second types of operations.
[0172] In one feasible approach, when the optimization operation type is a second type that optimizes the same network configuration information, the network optimization device can sequentially optimize the simulated network of the first time period according to a preset order of multiple second-type operations to obtain simulated networks corresponding to multiple second-type operations. In this way, the network optimization device can further optimize a single aspect of the network optimization operation to achieve better simulation results.
[0173] The second type is the operation type that optimizes the same network configuration information.
[0174] After the network optimization device optimizes the simulated network for 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 can optimize the simulated network in sequence according to the second type of operation.
[0175] Specifically, first, the network optimization device retains the simulated network for the first time period and generates a new simulated network for the first time period (which can also be described as creating a branch based on the existing simulated network). Then, the network optimization device optimizes the new simulated network for the first time period according to the second type of operation. Finally, the network optimization device saves the optimized simulated network for the first time period.
[0176] Optionally, the network optimization device can optimize the simulation network of the new first time period based on the second type of operation to obtain the simulation network corresponding to the second type of operation.
[0177] Optionally, the network optimization device can optimize the simulated network sequentially according to a preset order of various second-type operations to obtain an optimized simulated network.
[0178] For example, firstly, the network optimization device can optimize the simulated network according to a first type of operation to obtain an optimized first simulated network. Then, the network optimization device can optimize the first simulated network according to a second type of operation to obtain an optimized second simulated network. Next, the network optimization device can optimize the second simulated network according to a third type of operation to obtain an optimized third simulated network. And so on, the network optimization device can optimize the simulated network sequentially according to multiple types of operations in a preset order to obtain a final optimized simulated network.
[0179] S702, the network optimization device optimizes the network to be simulated based on the simulation network corresponding to various second-type operations.
[0180] In one feasible approach, the network optimization device can optimize the network to be simulated based on the simulated network corresponding to each type of operation. Simulation network optimization operations can be mapped to the network to be simulated, enabling rapid mapping between simulation network modifications and modifications to the network to be simulated.
[0181] The network optimization device can optimize the network to be simulated based on the simulated network corresponding to various second-type operations.
[0182] Specifically, in combination Figure 1 First, the network optimization device can map the optimization operations configured on network devices in the simulated network to the physical orchestrator. Then, the network optimization device can simplify the optimization operations configured on the network devices in the physical orchestrator to obtain a more streamlined optimization procedure. Next, the physical orchestrator optimizes the network devices in the network to be simulated based on the streamlined optimization procedure.
[0183] Specifically, in combination Figure 1 First, the network optimization device can map the optimization operations of the network protocol configuration in the simulated network to the network protocol orchestrator. Then, the network optimization device can simplify the optimization operations of the network protocol configuration in the network protocol orchestrator to obtain a more streamlined optimization procedure. Next, the network protocol orchestrator optimizes the network protocol of the network to be simulated in the form of protocol configuration, based on the more streamlined optimization procedure.
[0184] In some embodiments, combined with Figure 5 ,like Figure 8 As shown, network optimization methods also include:
[0185] S801, the network optimization device determines 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.
[0186] In one feasible approach, 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 simulation network of the first time period after the optimization operation, thereby obtaining the simulation network of the second time period after the optimization operation.
[0187] The second time period follows the first time period.
[0188] During the simulation optimization of the network to be simulated in the first time period, the network configuration information of the network to be simulated changes from the network configuration information in the first time period to the network configuration information in 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 in the second time period and the network configuration information in the first time period.
[0189] Optionally, network configuration change information includes: changing network devices, changing topology, changing network status, changing protocol configuration, and changing device routing.
[0190] Changing network equipment includes: deleting network equipment, adding network equipment, and upgrading network equipment.
[0191] Changing the topology includes: deleting nodes, deleting links, adding nodes, and adding links.
[0192] Changing network status includes: adjusting allocated bandwidth and controlling traffic.
[0193] Changing protocol configurations includes: adjusting network protocols and adjusting routing protocols.
[0194] Changing device routes includes: deleting routes, adding routes, and adjusting route parameters.
[0195] The network configuration information for the first time period includes: network device information and network protocol information for the first time period.
[0196] The network configuration information for the second time period includes: network device information for the second time period and network protocol information for 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 can simultaneously simulate multiple optimization types (also known as multiple states) of the simulated network, forming a simulated network of the same network to be simulated in multiple states (also known as a simulated network instance cluster).
[0199] After network device information changes, the network optimization device can determine the changed network device information based on the network device information in the second time period and the network device information in the first time period. The network optimization device can then merge the changed network device information with the optimized network device information to obtain the simulated network for the second time period after optimization.
[0200] Optionally, the network optimization device can modify the simulated network for the first time period (the simulated network for the first time period without optimization) according to network device change information to obtain the simulated network for the second time period. The network optimization device then modifies the simulated network for the second time period (also known as rebasing the network device optimization information) according to the network device optimization information to obtain the optimized simulated network for the second time period.
[0201] After 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 then merge the network protocol change information with the network protocol optimization information to obtain the simulated network for the second time period after optimization.
[0202] Optionally, the network optimization device can modify the simulated network for the first time period based on network protocol change information to obtain the simulated network for the second time period. The network optimization device then modifies the simulated network for the second time period based on network protocol optimization information to obtain the optimized simulated network for the second time period.
[0203] The aforementioned changes to network device information occur when the user modifies the physical device cluster through the physical orchestrator, and the physical orchestrator applies the changes to the physical device cluster.
[0204] The aforementioned changes to network protocol information occur when the user modifies the physical device cluster using a network protocol orchestrator.
[0205] Optionally, the above-mentioned network protocol information may also change after periodic data submission, when the device routing in the physical device cluster changes, and the network protocol orchestrator applies the changes to the physical device cluster.
[0206] Optionally, the network optimization device can simultaneously simulate the network to be simulated for multiple time periods.
[0207] Optionally, the network optimization device can 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 for the first time period after the optimization operation, so as to obtain the simulated network for the second time period after the optimization operation.
[0209] In one feasible approach, the network optimization device can incorporate network configuration change information into the simulated network for a first time period after the optimization operation, thereby obtaining the simulated network for a 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 incorporate the changes into the network simulation for the first time period, directly obtaining the simulated network for the second time period after the optimization operation.
[0210] The network optimization device can configure network configuration change information into the simulated network for the first time period after the optimization operation, thus obtaining the simulated network for the second time period after the optimization operation.
[0211] For example, Figure 4 (c) in the diagram shows a flowchart 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 a network optimization device simultaneously simulates multiple states of the same network to be simulated, the network optimization device performs simulation based on the multiple states of the network to be simulated, thus obtaining a cluster of simulated network instances.
[0214] After the physical orchestrator modifies the physical devices, it 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 modifications to the simulated network devices (the merged modifications to the simulated network devices) to the physical device cluster through the physical orchestrator.
[0217] Specifically, the physical orchestrator modifies the network device configuration for physical device clusters.
[0218] After the network protocol orchestrator modifies the device protocol, it 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 modification (the merged simulated network protocol modification) to the physical device cluster through the network protocol orchestrator.
[0221] Specifically, the network protocol orchestrator modifies the network protocol configuration for physical device clusters.
[0222] As shown above, network optimization equipment can simulate multiple networks under different states of the same network to be simulated, using time as the dimension. Furthermore, it synchronizes modifications to the network to be simulated across multiple simulation networks, ensuring that the simulation network never deviates from the state of the network to be simulated, thus obtaining accurate simulation results.
[0223] For example, Figure 9 A schematic diagram showing the correspondence between changes to the network to be simulated and the simulation network is shown.
[0224] The network optimization equipment modifies the network to be simulated.
[0225] The network optimization device simulates the network to be simulated in version 1 and creates the main simulation branch of the simulated network.
[0226] The network optimization device modifies the network to be simulated in version 1 (changing device information and network topology status). The network optimization device creates simulation branch 1 of the simulation network based on the main simulation branch.
[0227] The network optimization device modifies the network to be simulated in version 2 (changing the topology, protocol configuration, and device routing). The network optimization device creates simulation branch 2 of the simulation network based on simulation branch 1.
[0228] Meanwhile, on the main simulation branch, the network optimization device makes modifications in the corresponding locations based on changes in topology, protocol configuration, and device routing.
[0229] The network optimization device modifies the network to be simulated in version 3 (changing the network status and device routing). Accordingly, the network optimization device makes modifications in the corresponding places in simulation branch 1 and simulation branch 2 based on the changes in network status and device routing.
[0230] The network optimization device modifies the network to be simulated in version 4 (changes device information). Accordingly, the network optimization device makes modifications in the corresponding places in the main simulation branch and simulation branch 1 based on the changes in device information.
[0231] The network optimization device modifies the network to be simulated (version 5, protocol configuration, device routing) to obtain the network to be simulated (version 6). Accordingly, the network optimization device makes modifications in the corresponding parts of the simulation main branch and simulation branch 2 based on the changes in topology, protocol configuration, and device routing.
[0232] As shown above, network optimization equipment can achieve a large-scale simulation of one network to be simulated corresponding to multiple simulation networks. Through change operations, the network optimization equipment can create new simulation network branches on the main simulation branch of the simulation network, and can also merge simulation branches from the same source, ensuring that each simulation network branch can be synchronously updated with changes to the network to be simulated.
[0233] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0234] This application embodiment can divide the network optimization device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0235] Figure 10 A schematic diagram of a network optimization device provided in an embodiment of this application is shown. Figure 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 acquire network configuration information of the network to be simulated in multiple time periods; the processing unit 1002 is used to respond to the network simulation request for the first time period in the multiple time periods, and to 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; the processing unit 1002 is also used to respond to the optimization operation of the simulated network of the first time period, and to 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 of 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 multiple first types, optimizing the simulation network of the first time period according to each first type of operation to obtain the simulation network corresponding to each first type of operation; the first type is the operation type that optimizes 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 to: optimize the simulation network of the first time period in the order of the preset sequence of the multiple second types of operations when the operation type of the optimization operation is multiple second types, so as to obtain the simulation network corresponding to the multiple second types of operations; the second type is the operation type that optimizes the same network configuration information; optimize the network to be simulated according to the simulation network corresponding to the multiple second types of operations.
[0240] Optionally, the processing unit 1002 is further configured 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 1002 is further configured to configure the network configuration change information into the simulation network of the first time period after the optimization operation, so as to obtain the simulation network of the second time period after the optimization operation.
[0241] Optionally, network configuration information includes: network device information, and / or, network protocol information; network device information includes at least one of the following: network device information, network topology, and network status; network protocol information includes at least one of the following: network protocol configuration information and routing status information.
[0242] This application also provides a computer-readable storage medium, which includes computer-executable instructions that, when executed on a computer, cause the computer to perform the network optimization method provided in the above embodiments.
[0243] This application also provides a computer program that 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 embodiments.
[0244] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0245] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above 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 the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and other division methods may exist in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0247] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to general technology, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0248] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A network optimization method, characterized in that, The method includes: Obtain network configuration information of the network to be simulated over multiple time periods; 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, and network status; the network protocol information includes at least one of the following: network protocol configuration information and routing status information; In response to a network simulation request for a first time period among the plurality of time periods, the network to be simulated is simulated according to the network configuration information of the first time period to obtain the simulated network for the first time period. In response to the optimization operation of the simulated network in the first time period, the network to be simulated is optimized according to the optimization operation; the optimization operation includes: optimizing network devices, optimizing topology, optimizing network status, optimizing protocol configuration, and optimizing device routing; The optimization operation in response to the simulation network in the first time period, optimizing the network to be simulated according to the optimization operation, includes: When the operation type of the optimization operation is multiple first types, the simulation network of the first time period is optimized according to each first type of operation to obtain the simulation network corresponding to each first type of operation; the first type is the operation type that optimizes different network configuration information; Optimize the network to be simulated based on the simulation network corresponding to each of the first types of operations; When the operation type of the optimization operation is multiple second types, the simulation network of the first time period is optimized sequentially according to the preset order of the multiple second types of operations to obtain the simulation network corresponding to the multiple second types of operations; the second type is the operation type that optimizes the same network configuration information; The network to be simulated is optimized based on the simulation network corresponding to the various second-type operations.
2. The method according to claim 1, characterized in that, The process of obtaining network configuration information of the network to be simulated over multiple time periods includes: The network configuration information of the network to be simulated in the multiple time periods is obtained from the pre-stored index relationship; the index relationship includes the network configuration information of the network to be simulated in each time period.
3. The method according to claim 1, characterized in that, The method further includes: Based on the network configuration information of the second time period and the network configuration information of the first time period, the network configuration change information of the network to be simulated is determined; the second time period is located after the first time period. The network configuration change information is configured into the simulation network of the first time period after the optimization operation to obtain the simulation network of the second time period after the optimization operation.
4. A network optimization device, characterized in that, The device includes: a communication unit and a processing unit; The communication unit is used to acquire network configuration information of the network to be simulated over multiple time periods; 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, and network status; the network protocol information includes at least one of the following: network protocol configuration information and routing status information; The processing unit is configured to respond to a network simulation request for a first time period among the plurality of time periods, and to simulate the network to be simulated according to the network configuration information of the first time period, so as to obtain the simulated network of the first time period. The processing unit is further configured to respond to an optimization operation on the simulated network during the first time period, and optimize the simulated network according to the optimization operation; the optimization operation includes: optimizing network devices, optimizing topology, optimizing network status, optimizing protocol configuration, and optimizing device routing; The processing unit is specifically configured to: when the operation type of the optimization operation is multiple first types, optimize the simulation network of the first time period according to each first type of operation to obtain the simulation network corresponding to each first type of operation; the first type is the operation type that optimizes different network configuration information; Optimize the network to be simulated based on the simulation network corresponding to each of the first types of operations; When the operation type of the optimization operation is multiple second types, the simulation network of the first time period is optimized sequentially according to the preset order of the multiple second types of operations to obtain the simulation network corresponding to the multiple second types of operations; the second type is the operation type that optimizes the same network configuration information; The network to be simulated is optimized based on the simulation network corresponding to the various second-type operations.
5. A network optimization device, characterized in that, include: A processor and a memory; wherein the memory is used to store one or more programs, the one or more programs including computer-executable instructions, wherein when the device is running, the processor executes the computer-executable instructions stored in the memory to cause the device to perform the method of any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the processor of the network optimization device, the network optimization device is capable of performing the method as described in any one of claims 1 to 3.
7. A computer program product, characterized in that, The computer program product includes: a computer program or instructions that, when run on a computer, cause the computer to perform the method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Communication network optimization simulation system, method and device based on OPNET
CN114285758A
Simulation system, method and device, electronic equipment and storage medium
CN116112373A