Network simulator-based slice management simulation system and construction method
By constructing the overall framework and virtualization functional layer of the network simulator, the feasibility and application value of the slice management simulation system in the existing technology are solved, efficient allocation and flexible arrangement of resources are achieved, and the practical application value of the simulation system is improved. and user experience.
Patent Information
- Application Number
- CN202410730765.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-03
AI Technical Summary
The existing network simulator-based slice management simulation system has challenges in feasibility and application value in terms of technology, algorithm and user experience, and it is difficult to achieve efficient resource allocation and flexible adaptation to business needs.
By building the overall framework of the network simulator, including the virtual network function layer, central control node and routing node, virtualize the physical functions, create virtual machine instances and virtual network functions, and use the slice manager, slice storage and virtual network function orchestrator to perform Resource allocation, configuration and monitoring, realizing resource orchestration and scheduling.
The practical application value and feasibility of the simulation system are ensured. By customizing the slicing model and topology structure, abstracting hardware resources into virtual resources, realizing the orchestration and life cycle management of virtualized network functions, improving resource utilization and simulation accuracy.
Smart Images

Figure CN118590401A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network simulator simulation systems, and in particular to a slice management simulation system based on a network simulator and a construction method. Background Art
[0002] The slice management simulation system based on the general network simulator is an innovative technology that has attracted much attention in the current communication field. Traditional communication networks are difficult to flexibly adapt to different business needs, network resources are unevenly allocated, and efficiency and performance are limited. The slice management platform virtualizes network resources into multiple independent slices to provide customized network services for different business scenarios, thereby achieving optimal allocation and utilization of resources. The core idea of this platform is to integrate the general network simulator simulation engine with network slicing technology to achieve highly realistic network environment simulation. Powerful general network simulators such as OMNeT++, NS3, OPNET, etc. can simulate complex communication scenarios and take into account multiple factors such as network topology, data transmission, and congestion control. Slicing technology allows network resources to be divided according to different business needs. Each slice runs independently without interfering with each other, thus providing a highly customizable network experience for different businesses.
[0003] In this slice management simulation system based on a general network simulator, it is first necessary to build a real-world network topology. This can include different types of network nodes, links, transmission equipment, etc. Then, according to business needs, network resources are divided into different slices, and each slice has an independent resource pool, such as link bandwidth, computing resources, storage resources, etc. Next, the network simulator simulates communication activities in different slices, including data transmission, flow control, etc., to evaluate the performance of different slices in the network in a near-real scenario.
[0004] The advantage of the slice management simulation system is that it can provide network administrators and business parties with a new perspective and management method. Network administrators can test different resource allocation strategies in a virtual environment to optimize network performance and improve resource utilization. Business parties can predict network performance under different business scenarios in the simulation platform to better plan their business development.
[0005] However, it is not easy to realize a perfect slice management simulation system based on a network simulator. First, it is necessary to deeply integrate the network simulator with the slice technology to ensure the accuracy and reliability of the simulation environment. Secondly, the simulation system needs to provide an intuitive user interface so that network administrators and business parties can easily operate and manage it. In addition, in order to ensure the credibility of the simulation results, the simulation system also needs to consider the differences between the actual network environment and the simulation environment, and make reasonable calibration and adjustments. In summary, the slice management simulation system based on a general network simulator is a technological innovation with great potential in the field of communications. By combining simulation technology with slicing technology, a more intelligent and efficient solution can be provided for network management and business. However, achieving this goal requires in-depth research and exploration in many aspects such as technology, algorithms and user experience to ensure the practical application value and feasibility of the simulation system. Summary of the invention
[0006] In view of the problems existing in the existing method of constructing a slice management simulation system based on a network simulator, the present invention is proposed.
[0007] Therefore, the problem to be solved by the present invention is how to conduct in-depth research and exploration from multiple aspects such as technology, algorithm and user experience to ensure the practical application value and feasibility of the simulation system.
[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0009] In the first aspect, an embodiment of the present invention provides a method for constructing a slice management simulation system based on a network simulator, which includes constructing an overall framework of the network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node, and a routing node; based on the overall framework, virtualizing physical functions that require dependence on dedicated hardware, creating virtual machine instances in the virtual network function layer, and instantiating various virtual network functions in the virtual network function layer; constructing a slice manager, a slice storage, and a virtual network function orchestrator, and using network slicing to allocate resources, configure, and monitor virtualized network functions, and orchestrate and schedule various resources and services.
[0010] As a preferred solution of the construction method of the slice management simulation system based on the network simulator described in the present invention, before constructing the overall framework of the network simulator in the simulation environment, it also includes: defining and preprocessing initialization parameters, drawing network topology, initializing link resources, initializing the physical layer, dividing network resources and evaluating network delay; the definition and preprocessing of initialization parameters are to define the network topology, traffic model, routing policy data, and preprocess them to form initialization parameters; the drawing of the network topology is to draw each node device according to the initialization parameters and physically connect the physical devices according to the set connection method to clearly represent the network structure and relationship; the initialization of link resources is to initialize the physical link bandwidth resources and delay, so that each slice has the highest bandwidth in all links. The requirements are consistent, and the delay of each physical link is input; the initialization of the physical layer is to set and configure the physical components of the network, configure the rate range of each node according to the initialization parameters, and select the appropriate physical layer model according to the parameter requirements; at the same time, the channel model will be configured to simulate the attenuation and interference of the signal during transmission; ensure that the configuration of the physical layer is consistent with the requirements of the simulation environment; the division of network resources is to create multiple virtual network slices according to the initialized network resource management; configure the flow table rules for each slice, and define the scheduling method and forwarding packet strategy of the traffic in the slice; the evaluation of network delay is to measure the time difference experienced by the data from the sender to the receiver, and obtain the end-to-end delay by statistics, evaluate the delay of network communication, and output the statistical information in the form of a text file.
[0011] As a preferred solution of the construction method of the slice management simulation system based on the network simulator described in the present invention, wherein: the overall framework of the network simulator is constructed in the simulation environment, including virtualizing the physical functions that need to rely on dedicated hardware, dividing the physical resources into multiple virtual instances, and forming virtual network functions. The process of virtualizing the physical functions includes establishing a topological network, establishing nodes, and connecting the nodes to simulate data paths for communication. The channel bandwidth and transmission power are simulated by setting parameters for the nodes to simulate the transmission situation in reality. Create, configure and orchestrate virtual machines, deploy virtual network functions, build a flexible virtual function set, and place routing control and packet forwarding virtual network functions on virtual machines. Establish a virtual network function manager at each routing node, receive the orchestration and flow table results of the central controller, maintain local virtual network function instances, and maintain local flow tables; the virtual network function manager is responsible for receiving results and issuing commands, and the actual operation is located in the slice manager. Establish a virtual network function orchestrator at the central control node to orchestrate the virtual network functions of the slices and form flow tables to distribute to the virtual network function managers of each node.
[0012] As a preferred solution of the construction method of the slice management simulation system based on the network simulator described in the present invention, wherein: the process of network function virtualization includes: traversing each node, calling the computeNodeToSetWeight method, and calculating the weight of each target node. Based on the weight of each target node, the shortest path from the current node to all other nodes is calculated, and the interface index on the path is recorded to determine the routing table. According to the obtained routing table, the message data packet is processed. The weight calculation of the target node includes obtaining performance parameters, obtaining performance parameters by weighted calculation, and using a suitable exponential function to process the performance parameters to obtain performance values. The determination of the routing table includes obtaining the source node and target node of each slice, determining the passable links around the source node and the target node according to the topological map, calculating the shortest path from the current node to the target node, recording the node index on the path, converting the node index on the path into a string, and storing it in the corresponding slice module. The processing of the message data packet includes checking the target address of the data packet to confirm whether it is the address of the module where the current node is located. If the target address is the address of the module where the current node is located, the data packet is sent to the local output interface. If the target address is not the address of the module where the current node is located, the routing table is searched to obtain the output interface index and forward the data packet to the corresponding interface.
[0013] As a preferred solution of the construction method of the slice management simulation system based on the network simulator described in the present invention, wherein: the construction of the slice manager includes: storing the topology information in the slice memory so that the topology data can be used when creating and managing network slices. Call selectBestNodeForSlice to check the available node requirements to ensure the feasibility of the slice scheme. The specific steps of the inspection include obtaining all slice modules and VNF type modules, creating a new VNF list; storing all created VNFs; looping numVNFs times, creating a VNF submodule each time and adding it to the VNF list; updating the parameters of the slice, and storing the VNF list in the slice parameters. If the inspection result is feasible, call createVnfsForSlice to dynamically create a specified number of VNFs on the node where the slice is located to meet the demand, and finally start the delay test on the source virtual network function in the slice and record the delay data. Finally, start the delay test on the source virtual network function in the slice and record the delay data. If the information verification is not feasible, the infeasible result is output.
[0014] As a preferred solution of the method for constructing a slice management simulation system based on a network simulator of the present invention, the construction of the virtual network function orchestrator includes: based on the inspection process, inputting the requirements, topology information, and resource allocation of each slice in the slice manager into the virtual network function orchestrator. According to the specific situation, the slice requirements, network topology, resource allocation, implementation functions, and algorithm complexity and scalability are comprehensively considered to select a suitable orchestration algorithm.
[0015] As a preferred solution of the construction method of the slice management simulation system based on the network simulator described in the present invention, wherein: the selection of the orchestration algorithm includes obtaining the parameter information of all VNFs in the node, calculating the performance score of each node by exponentially summing the parameters in the node, comparing the performance score of the computer itself with the performance score calculated by the VNF, and judging whether to deploy the VNF at the node. If it is deployed at the node, the deployment information is added to the selectedVnfNode list. If it is not deployed at the node, the performance score of the next computer itself is compared with the performance score calculated by the VNF. According to the orchestration results, a routing plan between virtual network nodes is generated, and the routing plan is distributed to the corresponding network nodes. The virtual links between the slice manager, the slice storage, the virtual network function orchestrator, and the virtual network function manager are connected to achieve the interaction of information, services and functions.
[0016] In the second aspect, an embodiment of the present invention provides a slice management simulation system based on a network simulator, which includes: a construction module, which is used to construct an overall framework of the network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node and a routing node; a virtualization module, which is used to virtualize the physical functions that need to rely on dedicated hardware according to the overall framework, create virtual machine instances in the virtual network function layer, and instantiate various virtual network functions in the virtual network function layer; a management module, which is used to build a slice manager, a slice storage and a virtual network function orchestrator, and use network slicing to allocate resources, configure and monitor virtual network functions, and orchestrate and schedule various resources and services.
[0017] As a preferred solution of a slice management simulation system based on a network simulator described in the present invention, wherein: the construction module is used to construct the overall framework of the network simulator in the simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node and a routing node.
[0018] As a preferred solution of the slice management simulation system based on a network simulator described in the present invention, the virtualization module is used to virtualize the physical functions that need to rely on dedicated hardware according to the overall framework, create virtual machine instances in the virtual network function layer, and instantiate various virtual network functions in the virtual network function layer.
[0019] As a preferred solution of the slice management simulation system based on a network simulator described in the present invention, the management module is used to build a slice manager, a slice storage and a virtual network function orchestrator, and use network slices to allocate resources, configure and monitor virtual network functions, and orchestrate and schedule various resources and services.
[0020] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, it implements any step of the above-mentioned method for constructing a slice management simulation system based on a network simulator.
[0021] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, wherein: when the computer program is executed by a processor, any step of the above-mentioned method for constructing a slice management simulation system based on a network simulator is implemented.
[0022] The beneficial effect of the present invention is that the present invention combines simulation technology with slicing technology to create different types of slice models in the platform, define the resources, implementation functions, and topological structures configured by the slices, abstract hardware resources into virtual resources for use by virtual network functions, and realize the orchestration and life cycle management of virtualized network functions, thereby ensuring the practical application value and feasibility of the simulation system. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0024] Figure 1 It is the overall flow chart of the present invention;
[0025] Figure 2 A specific flow chart for initializing the network settings of the present invention;
[0026] Figure 3 A specific flow chart of the overall framework of the network simulator of the present invention;
[0027] Figure 4 A specific flow chart constructed for the virtual network function manager of the present invention;
[0028] Figure 5 A specific flow chart constructed for the virtual network orchestrator of the present invention. DETAILED DESCRIPTION
[0029] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0031] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0032] Example 1
[0033] Reference Figure 1 to Figure 5 , which is the first embodiment of the present invention, and provides a method for constructing a slice management simulation system based on a network simulator, including:
[0034] S1: Constructing an overall framework of a network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node, and a routing node.
[0035] Before constructing the overall framework of the network simulator in the simulation environment, the network settings are initialized in the simulation environment through the network simulator.
[0036] Network setup initialization includes defining and preprocessing initialization parameters, initializing link resources, initializing the physical layer, partitioning network resources, and evaluating network latency;
[0037] Collect various required data, such as network topology, number of pre-generated slices, nodes at both ends of each slice, and resource utilization of nodes, and pre-process them to become various parameters required for initialization.
[0038] Draw the network topology, configure each node device and physically connect the physical devices according to the connection method set by the initialization parameters to clearly represent the network structure and relationships.
[0039] Initialize the physical link bandwidth resources and latency so that the bandwidth requirements of a slice are consistent across all links, and input the latency of each physical link.
[0040] Initialize the physical layer, set up and configure the network physical components, and select the appropriate physical layer model based on the initialization parameter requirements. The physical layer model is usually divided into different abstraction levels. The higher-level model has a small amount of calculation but low accuracy, while the lower-level model has a large amount of calculation but high accuracy. It is necessary to weigh the appropriate model complexity based on the accuracy requirements of the simulation and the available computing resources.
[0041] Furthermore, the model complexity considerations include the accuracy requirements, available computing resources, simulation scale and latency requirements, and the trade-off between model accuracy.
[0042] If the simulation purpose is mainly to focus on the performance of high-level protocols and the requirements for physical layer details are not high, a more abstract physical layer model should be selected.
[0043] If the simulation purpose is to evaluate the physical layer technology itself, such as modulation and demodulation, channel estimation, MIMO, etc., a detailed physical layer model needs to be selected.
[0044] If computing resources are limited, the model complexity needs to be appropriately reduced and a simpler physical layer model can be used.
[0045] If the network topology is large-scale or the simulation runs for a long time, using a sophisticated model will result in excessive computational delays. For scenarios that require higher latency performance, such as real-time simulation, the model complexity needs to be appropriately simplified.
[0046] At the same time, the channel model will be configured to simulate the attenuation and interference of the signal during the transmission process; the data rate range of each node will also be configured according to the parameter settings.
[0047] Create an information display platform to centrally display key performance indicators, data, and charts.
[0048] Divide virtual slices or logical groups, then configure the flow table (i.e. routing table) rules, and define the processing methods of data packets in different slices or groups, such as using strict priority algorithm, frame preemption algorithm TAS algorithm and other traffic scheduling algorithms.
[0049] Measure the total time it takes for data to travel from the sender to the receiver, calculate the end-to-end delay, evaluate network communication delay and other statistical performance, and output statistical information such as delay.
[0050] The physical functions to be simulated (such as central processing unit CPU resources, physical transmission bandwidth resources, running memory resources, etc.) are virtualized, and the physical resources are divided into multiple virtual instances to form virtual network functions.
[0051] Furthermore, the specific steps of virtualization are as follows:
[0052] Establish a topological network, create nodes, connect the nodes, and simulate data paths for communication.
[0053] The channel bandwidth and transmission power are simulated by setting the parameters of the nodes to simulate the actual transmission situation.
[0054] Creating, configuring and orchestrating virtual machines and deploying virtual network functions will build a flexible set of virtual functions and place routing control and packet forwarding virtual network functions on virtual machines.
[0055] A virtual network function manager is established at each routing node to receive the orchestration and flow table results from the central controller, maintain local virtual network function instances, and maintain local flow tables. The virtual network function manager is responsible for receiving results and issuing commands, and the actual operation is located in the slice manager.
[0056] A virtual network function orchestrator is established at the central control node to orchestrate the virtual network functions of the slices and form flow tables to distribute to the virtual network function managers of each node.
[0057] S2. Based on the overall framework, the physical functions that need to rely on dedicated hardware are virtualized, virtual machine instances are created in the virtual network function layer, and various virtual network functions are instantiated in the virtual network function layer.
[0058] Traverse each node except the current node.
[0059] Call the computeNodeToSetWeight method to calculate the weight of each target node.
[0060] Furthermore, the calculation of the weight includes: obtaining the required performance parameters; obtaining the performance parameters through weighted calculation, and processing the performance parameters using a suitable exponential function to obtain a performance value. k The processing result is used as the performance parameter to obtain the performance value. Where k represents the resource utilization of the target node and α is the weight coefficient.
[0061] Furthermore, based on the weight of each target node, the shortest path from the current node to all other nodes is calculated, and the interface index on the path is recorded to determine the routing table, which specifically includes:
[0062] Get the source node and target node of each slice;
[0063] According to the topology map, determine the accessible links around the source node and the target node;
[0064] Calculate the shortest path from the current node to the target node and record the node index on the path;
[0065] Convert the node index on the path into a string and store it in the corresponding slice module.
[0066] Further, the message data packet is processed according to the obtained routing table, and the processing includes:
[0067] Check the destination address of the data packet to confirm whether it is the address of this module;
[0068] If the destination address is the address of this module, the data packet will be sent to the local output interface; if the destination address is not the address of this module, the routing table will be searched to obtain the output interface index and forward the data packet to the corresponding interface.
[0069] S3. Build a slice manager, slice storage, and virtual network function orchestrator, and use network slicing to allocate resources, configure, and monitor virtualized network functions, and to orchestrate and schedule various resources and services.
[0070] Build a slice storage to store information such as slices, topology, and virtual links.
[0071] Build a slice manager to manage and coordinate the creation of virtual network slices, resource allocation, policy management and other functions.
[0072] Furthermore, the specific steps for constructing the slice manager are as follows:
[0073] Storing topology information in slice memory allows the topology data to be utilized when creating and managing network slices.
[0074] Call selectBestNodeForSlice to check the available node requirements to ensure the feasibility of the slicing solution.
[0075] If the test result is feasible, createVnfsForSlice is called to dynamically create a specified number of VNFs on the node where the slice is located to meet the demand.
[0076] Furthermore, the specific steps for dynamically creating a specified number of VNFs include: obtaining all slice modules and VNF type modules; creating a new VNF list to store all created VNFs; looping numVNFs times, creating a VNF submodule each time and adding it to the VNF list; updating the slice parameters and storing the VNF list in the slice parameters.
[0077] Finally, start the latency test on the source virtual network function in the slice and record the latency data. If the information verification is not feasible, the infeasible result will be output.
[0078] Build a virtual network function orchestrator to automatically manage and coordinate the creation, deployment, connection, and operation of virtual network functions, and automatically orchestrate resources.
[0079] Furthermore, the construction of the virtual network function orchestrator specifically includes:
[0080] The requirements, topology information, resource allocation, etc. of each slice in the slice manager are input into the virtual network function orchestrator.
[0081] Select a suitable orchestration algorithm based on the specific situation, taking into account slicing requirements, network topology, resource allocation, implementation functions, and algorithm complexity and scalability.
[0082] The orchestration algorithm uses the ant colony algorithm. By constructing a "virtual network function-physical node" bipartite graph, set X represents all virtual network function instances that need to be deployed, and set Y represents all available physical nodes in the network. The edge connecting X and Y indicates that the VNF instance can be deployed on the corresponding physical node. The weight of the edge is an indicator such as deployment cost and resource occupancy.
[0083] The process of further determining the ant structure is:
[0084] m ants start from the starting point X0 and loop through each VNF instance xi∈X; calculate the transition probability of the ant k on all allowed edges (xi,yj)
[0085] The formula for calculating the transition probability is:
[0086]
[0087] Among them, p(xi,yj) k(t) represents the probability that the kth ant will transfer from the virtual network function xi to the physical node yj at time t. τ(xi,yj) represents the pheromone concentration on the edge (xi,yj), reflecting the accumulated experience of other ants choosing this edge in history. A high pheromone concentration indicates that the edge is more likely to be selected. η(xi,yj) represents the heuristic factor, which is used to guide the ants in the right direction. In the VNF orchestration scenario, the heuristic factor is generally set to η(xi,yj)=1 / d(xi,yj), where d(xi,yj) represents the deployment cost or resource overhead of deploying VNF xi to node yj. α is the pheromone importance factor, which is used to control the relative importance of pheromone concentration in ant path selection. The larger the α value, the more the ant tends to choose the edge with higher pheromone concentration on the historial. β is the heuristic factor importance, which is used to determine the relative importance of the heuristic value in the ant path selection. The larger the β value, the more the ant tends to choose the edge with a smaller deployment cost. Σ[τ(xi,yl) α *η(xi,yl) β ] is a normalization factor, which is the sum of the heuristic weights of all neighboring edges that the ant can choose from the current VNF xi, ensuring that the sum of all probability values is 1.
[0088] In summary, among all the allowed edge choices, the probability that ant k chooses to transfer from VNF xi to node yj is equal to the heuristic weight of the edge (the weighted value of pheromone concentration and heuristic factor) divided by the sum of the heuristic weights of all candidate edges. By properly setting parameters such as α and β, it is possible to control whether the ant is inclined to use the existing historical information accumulation (exploitation) or to use the newly discovered better solution (exploration) to obtain a more optimized orchestration solution.
[0089] According to the transfer probability, an edge is randomly selected from the allowed edges to complete a transfer, and the above process is repeated until all VNF instances are assigned. Then a feasible solution is obtained and its path cost is recorded.
[0090] Furthermore, an initial parameter range is given for parameters such as α and β through the empirical value method, and then combined with the characteristics of the specific problem, appropriate adaptive or optimization strategies are introduced to dynamically adjust the values of α and β to obtain the expected values.
[0091] Among them, the empirical value method is used through a large number of experiments to try a variety of α and β value combinations in different problem scenarios. The convergence speed of the algorithm, solution quality and other indicators are observed, and a set of empirical values with better performance are selected as the initial parameters.
[0092] It is generally believed that a good balance effect can be achieved when the α value is in the range of 1-5 and the β value is in the range of 2-5.
[0093] Furthermore, the selection process of the orchestration algorithm includes: obtaining parameter information of all VNFs in the node; calculating the performance score of each node by exponentially summing the parameters in the node; comparing the performance score of the computer itself with the performance score calculated by the VNF to determine whether to deploy the VNF at the node; if deployed at the node, adding the deployment information to the selectedVnfNode list; if not deployed at the node, comparing the performance score of the next computer itself with the performance score calculated by the VNF.
[0094] According to the orchestration results, a routing plan between virtual network nodes is generated, and the routing plan (i.e., flow table) is distributed to the corresponding network nodes.
[0095] Connect the virtual links between the slice manager, slice storage, virtual network function orchestrator, and virtual network function manager to achieve the interaction of information, services, and functions.
[0096] In summary, the present invention combines simulation technology with slicing technology to create different types of slice models in the platform, define the resources, implementation functions, and topological structures configured by the slices, abstract hardware resources into virtual resources for use by virtual network functions, and realize the orchestration and life cycle management of virtualized network functions, thereby ensuring the practical application value and feasibility of the simulation system.
[0097] Example 2
[0098] Reference Figure 1 Based on the first embodiment, this embodiment further provides a slice management simulation system based on a network simulator, including:
[0099] A construction module is used to construct an overall framework of a network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node, and a routing node;
[0100] A virtualization module, for virtualizing physical functions that need to rely on dedicated hardware according to the overall framework, creating virtual machine instances in the virtual network function layer, and instantiating various virtual network functions in the virtual network function layer;
[0101] The management module is used to build a slice manager, slice storage, and virtual network function orchestrator, and use network slicing to allocate resources, configure, and monitor virtual network functions, and to orchestrate and schedule various resources and services.
[0102] The construction module is used to construct the overall framework of the network simulator in the simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node and a routing node.
[0103] The virtualization module is used to virtualize the physical functions that need to rely on dedicated hardware according to the overall framework, create virtual machine instances in the virtual network function layer, and instantiate various virtual network functions in the virtual network function layer.
[0104] The management module is used to build a slice manager, a slice storage and a virtual network function orchestrator, and use network slicing to allocate resources, configure and monitor virtual network functions, and orchestrate and schedule various resources and services.
[0105] This embodiment also provides a computer device, which is suitable for the method of constructing a slice management simulation system based on a network simulator, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method of constructing a slice management simulation system based on a network simulator as proposed in the above embodiment.
[0106] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0107] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, it implements the method for constructing a slice management simulation system based on a network simulator as proposed in the above embodiment.
[0108] The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0109] Example 3
[0110] Based on the previous two embodiments, this embodiment provides a method for constructing a slice management simulation system based on a network simulator. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.
[0111] In a typical 5G mobile scenario, three different types of network slices need to be deployed: enhanced mobile broadband (eMBB), massive machine type communication (mMTC), and ultra-reliable low latency communication (uRLLC). We use the method of the present invention and the existing NS3 simulator to evaluate the performance of the above three slices, focusing on comparing key indicators such as end-to-end latency, throughput, and resource utilization.
[0112] Simulation settings:
[0113] Topology: 7 base station nodes, 50 user devices evenly distributed
[0114] eMBB slice: 20 users, requiring high throughput;
[0115] mMTC slice: 20 users, requiring a large number of connections;
[0116] uRLLC slice: 10 users, requiring low latency.
[0117] The comparison results are shown in Table 1:
[0118] Table 1 Comparison data table
[0119] Evaluation Metrics eMBB Slicing mMTC Slicing uRLLC slices End-to-end delay (ms) Current: 28 Current: 62 Current: 22 The invention: 19 The invention: 39 The present invention: 9 Throughput (Mbps) Current: 82 Current: 55 Current: 28 Invention: 105 Invention: 68 The present invention: 36 Resource utilization (%) Current: 67 Current: 52 Current: 61 The present invention: 79 Invention: 73 Invention: 82
[0120] It can be seen from the table that the method of the present invention achieves significant latency reduction under three different slice types: eMBB, mMTC and uRLLC. Specifically, the latency of eMBB slices is reduced from 28ms to 19ms, a decrease of 32.1%; the latency of mMTC slices is reduced from 62ms to 39ms, a decrease of 37.1%; and the latency of uRLLC slices is reduced from 22ms to 9ms, a decrease of 59.1%.
[0121] This is due to the intelligent routing algorithm and queue scheduling strategy proposed in the method of the present invention. Intelligent routing avoids unnecessary data detours by calculating the shortest path; while queue scheduling queues data flows reasonably according to the priorities of different slices, ensuring that high-priority slices such as uRLLC obtain lower latency. These innovative means effectively shorten the end-to-end latency.
[0122] In the three types of slices, eMBB, mMTC and uRLLC, the throughput of the method of the present invention has been improved to varying degrees. The throughput of the eMBB slice increased from 82Mbps to 105Mbps, an increase of 28.0%; the throughput of the mMTC slice increased from 55Mbps to 68Mbps, an increase of 23.6%; and the throughput of the uRLLC slice increased from 28Mbps to 36Mbps, an increase of 28.6%.
[0123] The improvement in throughput mainly comes from the dynamic bandwidth slicing technology and virtual network function orchestration strategy in the present invention. Dynamic slicing can flexibly adjust the bandwidth resources of each slice according to traffic changes; and the VNF orchestrator can efficiently deploy and schedule virtual network functions to ensure efficient data processing and forwarding, thereby comprehensively enhancing the data processing capabilities of the system.
[0124] Compared with the existing simulator, the resource utilization of the method of the present invention on the three slices of eMBB, mMTC and uRLLC is greatly improved, from 67%, 52% and 61% to 79%, 73% and 82% respectively, with an average improvement of more than 20%.
[0125] Existing simulators are inefficient in resource allocation due to lack of slice awareness. However, the slice manager, memory and orchestrator in the method of the present invention can comprehensively consider various resource constraints such as computing, storage, bandwidth, etc., and perform intelligent orchestration from a global perspective, so that resources can be efficiently packaged and reused, avoiding idle waste of resources and greatly improving utilization efficiency.
[0126] In general, the method of the present invention has shown outstanding superiority in terms of delay performance, throughput and resource utilization.
[0127] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for constructing a slice management simulation system based on a network simulator, characterized in that: include: Constructing an overall framework of a network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node, and a routing node; Based on the overall framework, the physical functions that need to rely on dedicated hardware are virtualized, virtual machine instances are created in the virtual network function layer, and various virtual network functions are instantiated in the virtual network function layer; Build a slice manager, slice storage, and virtual network function orchestrator, and use network slicing to allocate resources, configure, and monitor virtual network functions, and orchestrate and schedule various resources and services.
2. The method for constructing a slice management simulation system based on a network simulator according to claim 1, characterized in that: Before building the overall framework of the network simulator in the simulation environment, it also includes: defining and preprocessing initialization parameters, drawing network topology, initializing link resources, initializing the physical layer, dividing network resources, and evaluating network delay; The definition and preprocessing of initialization parameters are to define the network topology, traffic model, and routing policy data, and perform preprocessing to form initialization parameters; Drawing the network topology is to draw each node device according to the initialization parameters and physically connect the physical devices according to the set connection mode, so as to clearly show the network structure and relationship; The initialization link resources are initialization physical link bandwidth resources and delay, so that each slice has the same bandwidth requirement in all links, and inputs the delay of each physical link; The initialization of the physical layer is to set up and configure the physical components of the network, configure the rate range of each node according to the initialization parameters, and select the appropriate physical layer model according to the parameter requirements; at the same time, the channel model will be configured to simulate the attenuation and interference of the signal during the transmission process; ensure that the configuration of the physical layer is consistent with the simulation environment requirements; The network resource division is to create multiple virtual network slices according to the initialized network resource management; configure flow table rules for each slice, and define the scheduling method and forwarding packet strategy of the traffic in the slice; The network delay evaluation is to measure the time difference experienced by the data from the sending end to the receiving end, obtain the end-to-end delay by statistics, evaluate the delay of network communication, and output the statistical information in the form of a text file.
3. The method for constructing a slice management simulation system based on a network simulator according to claim 1, characterized in that: The overall framework of the network simulator is constructed in the simulation environment, including: Virtualize physical functions that rely on dedicated hardware, separate physical resources into multiple virtual instances, and form virtual network functions; The process of virtualizing the physical functions includes establishing a topological network, establishing nodes, and connecting the nodes to simulate data paths for communication; simulating channel bandwidth and transmission power by setting parameters for the nodes to simulate actual transmission conditions; creating, configuring and orchestrating virtual machines, deploying virtual network functions, building virtual function sets, and placing routing control and packet forwarding virtual network functions on virtual machines; establishing a virtual network function manager at each routing node, receiving the orchestration and flow table results from the central controller, maintaining local virtual network function instances, and maintaining local flow tables; establishing a virtual network function orchestrator at the central control node, orchestrating sliced virtual network functions, and forming flow tables to distribute to the virtual network function managers of each node.
4. The method for constructing a slice management simulation system based on a network simulator according to claim 3, characterized in that: The process of network function virtualization includes: Traverse each node and call the computeNodeToSetWeight method to calculate the weight of each target node; Based on the weight of each target node, the shortest path from the current node to all other nodes is calculated, and the interface index on the path is recorded to determine the routing table; Process the message data packet according to the obtained routing table; The weight calculation of the target node includes obtaining performance parameters, obtaining performance parameters through weighted calculation, and using a suitable exponential function αe k The processing result is used as a performance parameter to obtain a performance value; Where k represents the resource utilization of the target node, and α is the weight coefficient; Determining the routing table includes obtaining the source node and the target node of each slice, determining the passable links around the source node and the target node according to the topology map, calculating the shortest path from the current node to the target node, recording the node index on the path, converting the node index on the path into a string, and storing it in the corresponding slice module; The processing of the message data packet includes checking the target address of the data packet to confirm whether it is the address of the module where the current node is located. If the target address is the address of the module where the current node is located, the data packet is sent to the local output interface. If the target address is not the address of the module where the current node is located, the routing table is searched to obtain the output interface index and forward the data packet to the corresponding interface.
5. The method for constructing a slice management simulation system based on a network simulator according to claim 4, characterized in that: The construction slice manager includes: Storing topology information in slice storage and utilizing topology data when creating and managing network slices; Call selectBestNodeForSlice to check the available node requirements; The specific steps of the inspection include obtaining all slice modules and VNF type modules, creating a new VNF list; storing all created VNFs; looping numVNFs times, creating a VNF submodule each time and adding it to the VNF list; updating the slice parameters and storing the VNF list in the slice parameters; If the test result is feasible, then call createVnfsForSlice to dynamically create a specified number of VNFs on the node where the slice is located; start the latency test on the source virtual network function in the slice and record the latency data; The construction of the virtual network function orchestrator includes: Based on the verification process, the requirements, topology information, and resource allocation of each slice in the slice manager are input into the virtual network function orchestrator; Select an orchestration algorithm based on the specific situation, taking into account slicing requirements, network topology, resource allocation, implementation functions, and algorithm complexity and scalability.
6. The method for constructing a slice management simulation system based on a network simulator according to claim 5, characterized in that: The selection of the arrangement algorithm includes: Get the parameter information of all VNFs in the node, calculate the performance score of each node by exponentially summing the parameters in the node, compare the performance score of the computer itself with the performance score calculated by the VNF, and determine whether to deploy the VNF in the node. If it is deployed in the node, add the deployment information to the selectedVnfNode list. If it is not deployed in the node, compare the performance score of the next computer itself with the performance score calculated by the VNF. According to the orchestration results, a routing solution between virtual network nodes is generated and the routing solution is distributed to the corresponding network nodes; Connects the virtual links between the slice manager, slice storage, virtual network function orchestrator, and virtual network function manager.
7. A slice management simulation system based on a network simulator, characterized in that: include, A construction module is used to construct an overall framework of a network simulator in a simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node, and a routing node; A virtualization module, for virtualizing physical functions that need to rely on dedicated hardware according to the overall framework, creating virtual machine instances in the virtual network function layer, and instantiating various virtual network functions in the virtual network function layer; The management module is used to build a slice manager, slice storage, and virtual network function orchestrator, and use network slicing to allocate resources, configure, and monitor virtual network functions, and to orchestrate and schedule various resources and services.
8. A slice management simulation system based on a network simulator as claimed in claim 7, characterized in that: The construction module is used to construct the overall framework of the network simulator in the simulation environment, wherein the overall framework includes constructing a virtual network function layer, a central control node and a routing node.
9. A slice management simulation system based on a network simulator as claimed in claim 7, characterized in that: The virtualization module is used to virtualize the physical functions that need to rely on dedicated hardware according to the overall framework, create virtual machine instances in the virtual network function layer, and instantiate various virtual network functions in the virtual network function layer.
10. A slice management simulation system based on a network simulator as claimed in claim 7, characterized in that: The management module is used to build a slice manager, a slice storage and a virtual network function orchestrator, and use network slicing to allocate resources, configure and monitor virtual network functions, and orchestrate and schedule various resources and services.
Citation Information
Cited By
Method and system for optimizing resource allocation in RAN (Radio Access Network) slice
CN119835702A
