WO2022166348A1 - Routing method, routing apparatus, controller and computer-readable storage medium - Google Patents

Routing method, routing apparatus, controller and computer-readable storage medium Download PDF

Info

Publication number
WO2022166348A1
WO2022166348A1 PCT/CN2021/134526 CN2021134526W WO2022166348A1 WO 2022166348 A1 WO2022166348 A1 WO 2022166348A1 CN 2021134526 W CN2021134526 W CN 2021134526W WO 2022166348 A1 WO2022166348 A1 WO 2022166348A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
information
bandwidth
network slice
network
Prior art date
Application number
PCT/CN2021/134526
Other languages
French (fr)
Chinese (zh)
Inventor
季洪
张天祥
张凯
王万元
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022166348A1 publication Critical patent/WO2022166348A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup

Definitions

  • the embodiments of the present application relate to, but are not limited to, the field of communications technologies, and in particular, relate to a routing method, a routing device, a controller, and a computer-readable storage medium.
  • queue management and scheduling are usually adopted.
  • SDN Software Defined Network
  • QoS Quality of Service
  • the above queue-based resource allocation or scheduling strategy has the following disadvantages: since it needs to calculate the feasible route of the service by calculating the remaining available bandwidth on the network link in real time, the time to calculate the feasible route is relatively long, and the requests in the queue need to be In order to process, that is, the traditional technology can only perform routing calculation in a serial manner. Therefore, the traditional queue-based resource allocation or scheduling strategy seriously affects routing efficiency and reduces user service quality.
  • Embodiments of the present application provide a routing method, a routing device, a controller, and a computer-readable storage medium.
  • an embodiment of the present application provides a routing method, including: receiving a plurality of routing calculation requests for first services, the routing calculation requests carrying first service information; for each of the first services, according to The first service information determines the target network slice corresponding to the first service from multiple network slices, wherein the multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane; the slice topology information and the first service information of the target network slice corresponding to the first service, and determine the first forwarding path information of the first service on the target network slice; The information is sent to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
  • an embodiment of the present application further provides a routing device, comprising: a request receiving unit configured to receive a plurality of routing calculation requests of the first service, the routing calculation requests carrying first service information; service deployment a unit configured to, for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same The physical structure is obtained by dividing the physical network structure of the forwarding plane; the path determination unit is configured to determine the first service according to the slice topology information of the target network slice corresponding to the first service and the first service information the first forwarding path information of the service on the target network slice; the path sending unit is configured to send the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards according to the first The path information forwards the first service.
  • an embodiment of the present application further provides a controller, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the computer
  • the routing method as described in the first aspect above is implemented in the program.
  • an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the routing method described in the first aspect.
  • FIG. 1 is a schematic diagram of a system architecture platform for executing a routing method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a routing method provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a service slice allocation method based on reinforcement learning in a routing method provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of an interaction flow between an agent and an environment in reinforcement learning provided by an embodiment of the present application
  • FIG. 5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application
  • FIG. 6 is a flowchart of routing compensation for deployment failure services in a routing method provided by an embodiment of the present application
  • FIG. 8 is a schematic diagram of dividing the physical network topology of the forwarding plane into multiple network slices according to an embodiment of the present application
  • FIG. 9 is a schematic diagram of the bandwidth resource status of each network slice provided by an embodiment of the present application after the first three services are deployed;
  • FIG. 10 is a schematic diagram of the bandwidth resource status of each network slice after dynamically adjusting the bandwidth resources between network slices according to an embodiment of the present application;
  • FIG. 11 is a schematic diagram of a routing device provided by an embodiment of the present application.
  • the controller can collect global topology information.
  • SDN Session Initiation Network
  • NFV Network Functions Virtualization
  • the controller can collect global topology information.
  • the user's new services are activated in batches or the network is turbulent and the affected services need to be rerouted, It is necessary to decide how to deploy these services and ensure the QoS of these services.
  • queue management and scheduling are usually adopted.
  • packets in a queue may have different priorities, and in some examples, earlier packets may have higher priority than other packets.
  • queue-based scheduling techniques are widely used to ensure high QoS. Among them, the traffic to be transmitted is divided into QoS flow and optimal flow, and is allocated to different queues according to the priority.
  • the above queue-based resource allocation or scheduling strategy has the following disadvantages: since it needs to calculate the feasible route of the service by calculating the remaining available bandwidth on the network link in real time, the time to calculate the feasible route is relatively long, and the requests in the queue need to be In order to process, that is, the traditional technology can only perform routing calculation in a serial manner. Therefore, the traditional queue-based resource allocation or scheduling strategy seriously affects routing efficiency and reduces user service quality.
  • the routing method includes the following steps: receiving a plurality of routing calculation requests of the first service, and the routing calculation request carries a First service information; for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same physical structure and are determined by the physical structure of the forwarding plane.
  • the network structure is divided and obtained; the first forwarding path information of the first service on the target network slice is determined according to the slice topology information and the first service information of the target network slice corresponding to the first service; the first forwarding path information is sent to the forwarding plane
  • the device enables the forwarding plane device to forward the first service according to the first forwarding path information.
  • the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the network bandwidth resource utilization rate and ensure the service quality of the service, and can also improve the success rate and time-consuming performance of service routing.
  • FIG. 1 is a schematic diagram of a system architecture platform 100 for executing a routing method provided by an embodiment of the present application.
  • the system architecture platform 100 is provided with a processor 110 and a memory 120 , wherein the processor 110 and the memory 120 may be connected by a bus or in other ways.
  • the connection by a bus is taken as an example.
  • the memory 120 can be used to store non-transitory software programs and non-transitory computer-executable programs. Additionally, memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 may include memory located remotely from processor 110, which may be connected to the system architecture platform through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • system architecture platform can be applied to a 3G communication network system, an LTE communication network system, a 5G communication network system, and a subsequently evolved mobile communication network system, etc., which is not specifically limited in this embodiment.
  • system architecture platform shown in FIG. 1 does not constitute a limitation on the embodiments of the present application, and may include more or less components than those shown in the figure, or combine some components, or different Component placement.
  • the processor 110 can call the routing program stored in the memory 120 to execute the routing method.
  • FIG. 2 is a flowchart of a routing method provided by an embodiment of the present application.
  • the routing method includes but is not limited to step S100 , step S200 , step S300 and step S400 .
  • Step S100 receiving a plurality of routing calculation requests of the first service, where the routing calculation requests carry the first service information;
  • Step S200 for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same physical structure and are determined by the physical network structure of the forwarding plane. divided;
  • Step S300 according to the slice topology information and the first service information of the target network slice corresponding to the first service, determine the first forwarding path information of the first service on the target network slice;
  • Step S400 Send the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
  • the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the network bandwidth resource utilization rate and ensure the service quality of the service, and can also improve the success rate and time-consuming performance of service routing.
  • steps S100, S200, S300 and S400 may all be executed by the SDN controller.
  • bandwidths of the above-mentioned multiple network slices may be set uniformly or randomly.
  • the slice topology information about the above-mentioned target network slice may include, but is not limited to, node information, link bandwidth information, and link inherent delay information.
  • first service information may include, but is not limited to, source point information, sink point information, and service bandwidth information.
  • the above network slicing refers to dividing a physical network into multiple virtual end-to-end networks.
  • the network slicing in this embodiment of the present application is a horizontal slicing based on network bandwidth resources, that is, each network slice has The same physical structure, but the bandwidth resources are independent of each other, which is different from the traditional vertical slicing.
  • this embodiment of the present application can use the slice structure to first perform slice attribution allocation for the batch of multiple first services, that is, first determine each Which network slice a first service should be deployed to. Due to the scarcity of network slicing bandwidth resources, some first services cannot be transmitted, which will affect the transmission success rate of the first service.
  • the embodiments of the present application provide the following: The collaborative method in FIG. 3 and FIG. 5 , wherein FIG.
  • FIG. 3 is a flowchart of the reinforcement learning-based service slice allocation method in the routing method provided by an embodiment of the present application, so as to determine which network slice each first service should be allocated to Deploy on the above;
  • FIG. 5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for allocating service slices based on reinforcement learning in a routing method provided by an embodiment of the present application.
  • determining from multiple network slices according to the first service information includes but is not limited to step S500.
  • Step S500 Input the slice topology information and the first service information of the multiple network slices into the service deployment model to obtain the target network slice corresponding to the first service, wherein the service deployment model is composed of the slice topology information of the multiple network slices and the multiple network slices.
  • a second service information is obtained through training.
  • the embodiment of the present application also needs to obtain the required service deployment model through machine learning training, wherein RL (Reinforcement Learning, reinforcement learning) is a branch of machine learning, mainly It is to solve how to take actions according to the environment to maximize the cumulative expected return; the reinforcement learning model includes the environmental state set State, the action set A, the state transition probability and the immediate return after the state transition.
  • RL Reinforcement Learning, reinforcement learning
  • the agent in reinforcement learning makes a decision , it can obtain rewards from the environment and learn a strategy to achieve a specific goal by continuously interacting with the environment.
  • the embodiment of the present application needs to obtain a network slice equivalent to the first service before allocating the network slice.
  • the trained business deployment model of the above agent is
  • reinforcement learning models can be, but are not limited to, DQN (Deep Q-Network) model, DDPG (Deep Deterministic Policy Gradient, deep deterministic policy gradient) model, PPO (Proximal Policy Optimization , proximal policy optimization) model, A3C (Asynchronous Advantage Actor-Critic, asynchronous advantage action evaluation) model, etc., among which, the interaction process between the agent and the environment in reinforcement learning can be seen in Figure 4.
  • DQN Deep Q-Network
  • DDPG Deep Deterministic Policy Gradient, deep deterministic policy gradient
  • PPO Proximal Policy Optimization , proximal policy optimization
  • A3C Asynchronous Advantage Actor-Critic, asynchronous advantage action evaluation
  • this embodiment of the present application can model the network fragmentation problem as a Markov decision problem, where the environmental state set State, the action set A, the reward function, and the state transition probability in the model are respectively as follows:
  • the state in the above model specifically refers to the information observed by the agent.
  • the reward function in the above model can be: in Indicates whether service i can be deployed successfully when deployed to network slice j according to the model prediction result. If successful, the value is 1; It reflects the correctness of the agent's decision.
  • the transition probability is deterministic, which depends on the deployment mode of the service, including the routing scheme and the resource dynamic adjustment strategy between bandwidths.
  • FIG. 5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application.
  • the first network slice includes a first link
  • the second network slice includes a second link corresponding to the first link.
  • the routing method in this embodiment of the present application includes, but is not limited to, step S600.
  • Step S600 when the bandwidth of the first link is less than the bandwidth of all the first services to be routed through the first link, transfer the idle bandwidth of the second link to the first link, so that the bandwidth of the first link is greater than that of the first link. or equal to the bandwidth of all first services to be routed through the first link.
  • the embodiment of the present application can reasonably utilize the idle bandwidth in each network slice according to the current network bandwidth and service characteristics and according to a certain adjustment strategy, thereby improving the utilization rate of the network bandwidth and further improving the throughput of service deployment. .
  • the embodiments of the present application can enable links that are often transmitted in network slices to obtain higher bandwidth, so that network slices can dynamically adapt to changes in scenarios.
  • the embodiments of this application include but are not limited to the following four operations: the first operation is to accept bandwidth supplements, which specifically means that the second network slice transfers excess bandwidth resources to the current first network slice, and the current The first network slice of the network slice expands the bandwidth of the links involved in the transfer; the second operation is routing calculation, which specifically refers to the routing calculation of the services to be allocated to the current first network slice according to its routing strategy; the third operation is routing calculation.
  • the operation is to respond to the application for bandwidth expansion of the first network slice, specifically referring to the resource transfer request sent by the current first network slice, judging whether the transfer conditions are met, and if so, transferring the excess bandwidth of the second network slice to the current first network slice.
  • a network slice; the fourth operation is to send a bandwidth request request. After the above routing calculation is completed, the current network slice will deduct the bandwidth resources of the service whose route has ended. Due to the reduction of bandwidth resources on some links, it can be Other slices send bandwidth expansion applications, wherein the size of the expansion resources currently applied for by the network slice may be the service bandwidth value.
  • routing calculation and the other three operations are serial, that is, the routing calculation will only be performed when the network bandwidth resource status is fixed.
  • FIG. 6 is a flowchart of performing routing compensation for a deployment failure service in a routing method provided by an embodiment of the present application.
  • the routing method in this embodiment of the present application includes, but is not limited to, steps S710 and S720.
  • Step S710 according to the first service information of the service that fails to deploy, calculate the second forwarding path information of the service that fails to deploy on the physical network structure of the forwarding plane;
  • Step S720 Send the second forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the deployment failure service according to the second forwarding path information.
  • the embodiment of the present application uses the original physical network structure to perform routing compensation for services that fail to be deployed, so as to further ensure that all services have reachable paths, thereby ensuring the success rate of routing services.
  • an embodiment of the present application provides a flowchart of an overall routing method, as shown in FIG. 7 .
  • the overall routing method in FIG. 7 includes but is not limited to steps S801, S802, S803, S804, S805, S806, S807, S808, S809, and S810.
  • Step S801 the controller collects network topology information and second service information
  • the SDN controller collects various information, where the information includes network topology information on the forwarding plane and information about the second service to be forwarded. Specifically, the forwarding plane device will report the above information to the SDN controller through a protocol.
  • network topology information includes but is not limited to node information, link bandwidth information and link inherent delay information, where node information refers to information of routers, switches or other network devices.
  • the above-mentioned second service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
  • Step S802 dividing the physical network structure of the forwarding plane into multiple network slices having the same physical structure according to the collected network topology information;
  • the embodiment of the present application will initialize the network bandwidth resources, thereby forming a plurality of mutually isolated network slices.
  • the plurality of mutually isolated network slices formed by the embodiments of the present application can provide an interactive environment for the deep reinforcement learning algorithm in the subsequent steps.
  • the manner of dividing the network slice in this embodiment of the present application may be, but not limited to, uniform bandwidth division or random division.
  • Step S803 inputting slice topology information of multiple network slices and multiple second service information into a service deployment model to obtain a trained service deployment model;
  • the embodiments of the present application will perform deep reinforcement learning algorithm model training. Specifically, the embodiments of the present application will simulate a real network slicing scene, and interact with the network slicing environment in the above step S802 to make the service
  • the deployment model can learn a service deployment strategy, wherein the service deployment model in the embodiment of the present application is equivalent to the above-mentioned agent.
  • the input of the service deployment model is the topology information of multiple network slices and the second service information of a batch of second services to be deployed, and the output is the slice attribution index of the batch of second services. Know the network slice to which each second service belongs.
  • the business deployment model can finally learn a better allocation strategy, so as to obtain a trained business deployment model to realize the deployment of new services.
  • the slice topology information about the above-mentioned multiple network slices specifically refers to an adjacency matrix of a topology graph, wherein each element in the matrix is a link bandwidth value between two nodes.
  • the above-mentioned second service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
  • Step S804 receiving a plurality of routing calculation requests of the first service, where the routing calculation requests carry the first service information;
  • the embodiment of the present application can implement the deployment of new services.
  • the SDN controller will receive batch routing calculation requests of multiple first services, where the routing calculation request carries first service information.
  • first service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
  • Step S805 calling the trained service deployment model, and inputting slice topology information of multiple network slices and multiple first service information into the service deployment model to obtain the slice attribution index of each first service;
  • this embodiment of the present application will call the training data obtained in the above step S803.
  • the service deployment model is based on the service deployment model, and the first service information of the first service to be deployed and the slice topology information in each current network slice are used as input, and then the service deployment model will output the slice attribution index corresponding to each first service.
  • the slice attribution index can determine the target network slice to be deployed for each first service.
  • Step S806 dynamically adjusting bandwidth resources between network slices
  • the network bandwidth in each network slice will gradually be unevenly distributed.
  • the idle bandwidth in each network slice is rationally utilized, thereby improving the utilization rate of the network bandwidth, thereby improving the throughput of service deployment.
  • the above-mentioned multiple network slices include a first network slice and a second network slice, the first network slice includes a first link, and the second network slice includes a second link corresponding to the first link, when The bandwidth of the first link is smaller than the bandwidth of all the first services to be routed through the first link, and the idle bandwidth of the second link is transferred to the first link, so that the bandwidth of the first link is greater than or equal to the bandwidth to be routed Bandwidth of all first traffic over the first link.
  • Step S807 calculating the first forwarding path information of each first service on the target network slice in parallel;
  • the target network slice to be deployed for each first service can be determined.
  • this The application embodiment will calculate in parallel the first forwarding path information of each first service on the corresponding target network slice according to the slice topology information and the first service information of the target network slice corresponding to the first service.
  • the first forwarding path information is sent to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
  • the above-mentioned parallel computing method can significantly reduce the routing time, and at the same time, the bandwidth resources between the various network slices will be continuously adjusted to each other according to the strategy in the above step S806, thereby maximizing the bandwidth resource utilization of the network.
  • Step S808 determine whether there is a first service for which the route calculation fails, and when there is a first service for which the route calculation fails, execute step S809; otherwise, execute step S810;
  • Step S809 performing routing supplementary calculation on the first service for which the routing calculation fails
  • the embodiment of the present application uses the original physical network structure to perform route compensation for the first service for which route calculation fails to further ensure that all services have reachable paths, thereby enabling Guarantees the success rate of service routing.
  • Step S810 end and output the route calculation result.
  • FIG. Figure 9 is a schematic diagram of the bandwidth resource status of each network slice provided by an embodiment of the present application after the first three services are deployed
  • Figure 10 is a schematic diagram provided by an embodiment of the present application.
  • the original physical network topology T0 of the forwarding plane includes four nodes (A, B, C, D) and four links between nodes, wherein each link corresponds to the current bandwidth of the link , weight, assuming that the business calculates the route according to the minimum weight strategy.
  • each link corresponds to the current bandwidth of the link , weight, assuming that the business calculates the route according to the minimum weight strategy.
  • the current bandwidth of the link between node A and node B in the original physical network topology T0 is 30, and the weight is 1; node A and node B in the original physical network topology T0
  • the current bandwidth of the link between C is 30, and the weight is 1; the current bandwidth of the link between node B and node D in the original physical network topology T0 is 16, and the weight is 3; the original physical network topology T0
  • the current bandwidth of the link between node C and node D is 30, and the weight is 1.
  • the original physical network topology T0 in Figure 8 can be divided into three network slices (T1, T2, T3), where the current bandwidth of the link between node A and node B in network slice T1 is 12 , the weight is 1; the current bandwidth of the link between node A and node C in network slice T1 is 12, and the weight is 1; the current bandwidth of the link between node B and node D in network slice T1 is 5, and the weight is 3; the current bandwidth of the link between node C and node D in the network slice T1 is 12, and the weight is 1.
  • the current bandwidth of the link between node A and node B in network slice T2 is 10, and the weight is 1; the current bandwidth of the link between node A and node C in network slice T2 is 10, and the weight is 1 1; the current bandwidth of the link between node B and node D in network slice T2 is 3, and the weight is 3; the current bandwidth of the link between node C and node D in network slice T2 is 10, and the weight is 3.
  • the value is 1.
  • the current bandwidth of the link between node A and node B in network slice T3 is 8, and the weight is 1; the current bandwidth of the link between node A and node C in network slice T3 is 8, and the weight is 1 1; the current bandwidth of the link between node B and node D in network slice T3 is 8, and the weight is 3; the current bandwidth of the link between node C and node D in network slice T3 is 8, and the weight is 8. The value is 1.
  • the link bandwidth between node A and node B in the original physical network topology T0 is equal to the link bandwidth between node A and node B in network slice T1 and between node A and node B in network slice T2 and the sum of the link bandwidth between node A and node B in network slice T3.
  • the embodiment of the present application will call the trained service deployment model to predict the deployment of the four services. It is assumed that a number "1" is used to mark a service in the network slice. The deployment in T1 is successful, the number “2” marks the successful deployment of a service in network slice T2, and the number “3” marks the successful deployment of a service in network slice T3, when there are four services in network slices T1, T2, T3, T2 is deployed, and the output of the business deployment model is ⁇ 1,2,3,2 ⁇ .
  • the source point of service 1 is node B, the sink point is node D, the bandwidth is 10, the current slice is network slice T1 and can be successfully allocated to network slice T1, and service 1 is in network slice T1.
  • the forwarding path is from B through A and C to D in turn; the source point of service 2 is node B, the sink point is node D, the bandwidth is 10, the current home slice is network slice T2 and can be successfully allocated to network slice T2,
  • the forwarding path of service 2 in network slice T2 is from B through A and C to D in sequence;
  • the source point of service 3 is node B, the sink point is node D, the bandwidth is 5, and the current home slice is network slice T3 and can be It is successfully allocated to network slice T3, and the forwarding path of service 3 in network slice T3 is from B to D.
  • the remaining bandwidth information in each network slice can be referred to as shown in Figure 9.
  • the link bandwidth between Node A and Node B is changed from the original 12 Reduced to 2
  • the link bandwidth between node A and node C is reduced from the original 12 to 2
  • the link bandwidth between node C and node D is reduced from the original 12 to 2
  • the link bandwidth between node A and node B is reduced from the original 10 to 0
  • the link bandwidth between node A and node C is reduced from the original 10 to
  • the link bandwidth between node C and node D The path bandwidth is reduced from the original 10 to 0
  • the link bandwidth between the node B and the node D is reduced from the original 8 to 3.
  • the source point of service 4 is node B
  • the sink point is node D
  • the bandwidth is 4
  • the current home slice is network slice T2
  • the forwarding path is from B through A and C to D in sequence; 1.
  • the link bandwidth between node A and node B, the link bandwidth between node A and node C, and the link between node C and node D in network slice T2 The bandwidth is reduced to 0, and the bandwidth required by service 4 is 4. Therefore, in network slice T2, the link bandwidth between node A and node B, the link bandwidth between node A and node C, the link bandwidth between node C and node C, and The link bandwidth between nodes D cannot meet the bandwidth value required by service 4. Therefore, service 4 will fail to be deployed on network slice T2.
  • the embodiment of the present application will dynamically adjust the bandwidth resources between network slices, because the link bandwidth between node A and node B in network slice T3 after the deployment of service 1, service 2 and service 3 is completed,
  • the link bandwidth between node C and the link bandwidth between node C and node D are all greater than the bandwidth value required by service 4. Therefore, in this embodiment of the present application, the network slice T3 is directly connected from B through A and C to the network slice T3. Part of the bandwidth value of path D is allocated to network slice T2, so that the adjusted bandwidth of network slice T2 can meet the bandwidth requirement of service 4.
  • the bandwidth resource status of each network slice after dynamically adjusting the bandwidth resources between network slices can refer to As shown in FIG.
  • the embodiment of the present application can effectively avoid a situation where a large number of idle bandwidth resources exist in a certain network slice, so that service 4 can be successfully transmitted.
  • service 1, service 2, service 3 and service 4 before and after dynamic adjustment is shown in Table 3:
  • the embodiments of the present application can perform routing computations in a parallel manner based on the slice architecture, which significantly improves routing efficiency; the network resource allocation and service deployment are organically combined to obtain better network resource allocation and Business deployment strategy.
  • the embodiment of the present application can perform the training of the deep reinforcement learning algorithm model in an offline manner. In practical applications, it is only necessary to read the stored service deployment model, which takes a short time.
  • the embodiment of the present application uses a network slicing architecture, combined with a deep reinforcement learning algorithm, and performs rerouting in a parallel manner, which can improve the time-consuming performance of routing several times.
  • FIG. 11 is a schematic diagram of a routing apparatus 200 provided by an embodiment of the present application.
  • the routing apparatus 200 includes, but is not limited to, a request receiving unit 210 , a service deploying unit 220 , a path determining unit 230 and a path sending unit 240 .
  • the request receiving unit 210 is configured to receive a plurality of routing calculation requests of the first service, and the routing calculation requests carry the first service information;
  • the service deployment unit 220 is configured to, for each first service, according to the first service information
  • the target network slice corresponding to the first service is determined from the multiple network slices, wherein the multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane;
  • the path determination unit 230 is configured to correspond to the first service according to the The slice topology information and the first service information of the target network slice, and determine the first forwarding path information of the first service on the target network slice;
  • the path sending unit 240 is configured to send the first forwarding path information to the forwarding plane device so that the The forwarding plane device forwards the first service according to the first forwarding path information.
  • the service deployment unit 220 is also configured to input the slice topology information of multiple network slices and the first service information into the service deployment model, so as to obtain the target network slice corresponding to the first service, wherein the service deployment model It is obtained by training the slice topology information of multiple network slices and multiple second service information.
  • the routing device 200 when multiple network slices include a first network slice and a second network slice, the first network slice includes a first link, and the second network slice includes a link with the first network slice For the corresponding second link, the routing device 200 further includes, but is not limited to, a dynamic adjustment unit 250 .
  • the dynamic adjustment unit 250 is configured to transfer the idle bandwidth of the second link to the first link when the bandwidth of the first link is smaller than the bandwidth of all the first services to be routed through the first link, so that the The bandwidth of the first link is greater than or equal to the bandwidth of all the first services to be routed through the first link.
  • the routing device 200 when the first service includes a deployment failure service in which the calculation of the first forwarding path information fails, the routing device 200 further includes, but is not limited to, a service compensating unit 260 with a failure and a failure Service path sending unit 270 .
  • the failed service compensation unit 260 is configured to calculate the second forwarding path information of the failed service deployment on the physical network structure of the forwarding plane according to the first service information of the failed service deployment; the failed service path sending unit 270 is configured to The second forwarding path information is successfully sent to the forwarding plane device, so that the forwarding plane device forwards the deployment failure service according to the second forwarding path information.
  • one embodiment of the present application provides a controller including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor and memory may be connected by a bus or otherwise.
  • controller in this embodiment may correspond to including the memory and the processor in the embodiment shown in FIG. 1 , and can constitute a part of the system architecture platform in the embodiment shown in FIG. 1 , and the two belong to The same inventive concept, therefore, both have the same realization principle and beneficial effects, and will not be described in detail here.
  • the controller in this embodiment of the present application may be an SDN controller.
  • the non-transitory software programs and instructions required to implement the routing method of the above-mentioned embodiment or the routing method are stored in the memory, and when executed by the processor, the routing method of the above-mentioned embodiment is executed.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, when the computer-executable instructions are used to execute the above routing method, for example, to execute the above description
  • the method steps S100 to S400 in FIG. 2 the method step S500 in FIG. 3 , the method step S600 in FIG. 5 , the method steps S710 to S720 in FIG. 6 , and the method steps S801 to S810 in FIG. 7 .
  • the embodiments of the present application include: the controller receives a plurality of route calculation requests of the first service, wherein the route calculation requests carry the first service information; then the controller will, for each first service, select from the plurality of first service information according to the first service information.
  • the target network slice corresponding to the first service is determined from the network slices, wherein multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane; then, the controller will determine the target network slice corresponding to the first service according to the target network slice of the first service.
  • the slicing topology information and the first service information are obtained, and determine the first forwarding path information of the first service on the target network slice; finally, the controller will send the first forwarding path information to the forwarding plane device to make the forwarding plane device follow the first The forwarding path information forwards the first service.
  • the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the utilization rate of network bandwidth resources and ensure the service quality of services, and can also improve the success rate and time-consuming performance of service routing.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A routing method, a routing apparatus, a controller and a computer-readable storage medium, the method comprising: receiving a routing computation request, which carries first service information, of a plurality of first services; for each first service, determining, according to the first service information, a target network slice from a plurality of network slices, wherein the plurality of network slices have the same physical structure and are obtained by division of a physical network structure of a forwarding plane; according to slice topology information of the target network slice which corresponds to the first service and according to the first service information, determining first forwarding path information, which is on the target network slice, of the first service; and sending the first forwarding path information to a forwarding plane device, such that the forwarding plane device forwards the first service.

Description

路由方法、路由装置、控制器和计算机可读存储介质Routing method, routing apparatus, controller, and computer-readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202110153959.9、申请日为2021年2月4日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110153959.9 and the filing date of February 4, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请实施例涉及但不限于通信技术领域,尤其涉及一种路由方法、路由装置、控制器和计算机可读存储介质。The embodiments of the present application relate to, but are not limited to, the field of communications technologies, and in particular, relate to a routing method, a routing device, a controller, and a computer-readable storage medium.
背景技术Background technique
传统技术中,为了充分利用网络资源进行流量调度,通常所采用的方法是队列管理和调度。在SDN(Software Defined Network,软件定义网络)中,基于队列的调度技术被广泛用于保证高QoS(Quality of Service,服务质量)。然而,上述基于队列的资源分配或调度策略存在如下缺点:由于其需要通过实时计算网络链路上剩余可用带宽来计算业务的可行路由,而计算可行路由的时间比较长,并且队列中的请求需要按顺序处理,即传统技术只能按照串行的方式进行路由计算,因此,传统的基于队列的资源分配或调度策略严重影响了路由效率,降低了用户服务质量。In traditional technologies, in order to make full use of network resources for traffic scheduling, queue management and scheduling are usually adopted. In SDN (Software Defined Network), queue-based scheduling technology is widely used to ensure high QoS (Quality of Service). However, the above queue-based resource allocation or scheduling strategy has the following disadvantages: since it needs to calculate the feasible route of the service by calculating the remaining available bandwidth on the network link in real time, the time to calculate the feasible route is relatively long, and the requests in the queue need to be In order to process, that is, the traditional technology can only perform routing calculation in a serial manner. Therefore, the traditional queue-based resource allocation or scheduling strategy seriously affects routing efficiency and reduces user service quality.
发明内容SUMMARY OF THE INVENTION
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请实施例提供了一种路由方法、路由装置、控制器和计算机可读存储介质。Embodiments of the present application provide a routing method, a routing device, a controller, and a computer-readable storage medium.
第一方面,本申请实施例提供了一种路由方法,包括:接收多个第一业务的路由计算请求,所述路由计算请求携带有第一业务信息;针对每个所述第一业务,根据所述第一业务信息从多个网络切片中确定所述第一业务对应的目标网络切片,其中,所述多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;根据所述第一业务对应的所述目标网络切片的切片拓扑信息和所述第一业务信息,确定所述第一业务在所述目标网络切片上的第一转发路径信息;将所述第一转发路径信息发送至所述转发面设备以使所述转发面设备按照所述第一转发路径信息转发所述第一业务。In a first aspect, an embodiment of the present application provides a routing method, including: receiving a plurality of routing calculation requests for first services, the routing calculation requests carrying first service information; for each of the first services, according to The first service information determines the target network slice corresponding to the first service from multiple network slices, wherein the multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane; the slice topology information and the first service information of the target network slice corresponding to the first service, and determine the first forwarding path information of the first service on the target network slice; The information is sent to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
第二方面,本申请实施例还提供了一种路由装置,包括:请求接收单元,被设置成接收多个第一业务的路由计算请求,所述路由计算请求携带有第一业务信息;业务部署单元,被设置成针对每个所述第一业务,根据所述第一业务信息从多个网络切片中确定所述第一业务对应的目标网络切片,其中,所述多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;路径确定单元,被设置成根据所述第一业务对应的所述目标网络切片的切片拓扑信息和所述第一业务信息,确定所述第一业务在所述目标网络切片上的第一转发路径信息;路径发送单元,被设置成将所述第一转发路径信息发送至所述转发面设备以使所述转发面设备按照所述第一转发路径信息转发所述第一业务。In a second aspect, an embodiment of the present application further provides a routing device, comprising: a request receiving unit configured to receive a plurality of routing calculation requests of the first service, the routing calculation requests carrying first service information; service deployment a unit configured to, for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same The physical structure is obtained by dividing the physical network structure of the forwarding plane; the path determination unit is configured to determine the first service according to the slice topology information of the target network slice corresponding to the first service and the first service information the first forwarding path information of the service on the target network slice; the path sending unit is configured to send the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards according to the first The path information forwards the first service.
第三方面,本申请实施例还提供了一种控制器,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一方面所述的路由方法。In a third aspect, an embodiment of the present application further provides a controller, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the computer The routing method as described in the first aspect above is implemented in the program.
第四方面,本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上述第一方面所述的路由方法。In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the routing method described in the first aspect.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the description, claims and drawings.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification. They are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.
图1是本申请一个实施例提供的用于执行路由方法的系统架构平台的示意图;1 is a schematic diagram of a system architecture platform for executing a routing method provided by an embodiment of the present application;
图2是本申请一个实施例提供的路由方法的流程图;2 is a flowchart of a routing method provided by an embodiment of the present application;
图3是本申请一个实施例提供的路由方法中的基于强化学习的业务切片分配方法的流程图;FIG. 3 is a flowchart of a service slice allocation method based on reinforcement learning in a routing method provided by an embodiment of the present application;
图4是本申请一个实施例提供的强化学习中的智能体与环境的交互流程示意图;4 is a schematic diagram of an interaction flow between an agent and an environment in reinforcement learning provided by an embodiment of the present application;
图5是本申请一个实施例提供的路由方法中的各个网络切片之间带宽资源动态调整方法的流程图;5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application;
图6是本申请一个实施例提供的路由方法中的对于部署失败业务进行路由补算的流程图;6 is a flowchart of routing compensation for deployment failure services in a routing method provided by an embodiment of the present application;
图7是本申请一个实施例提供的整体的路由方法的流程图;7 is a flowchart of an overall routing method provided by an embodiment of the present application;
图8是本申请一个实施例提供的将转发面的物理网络拓扑划分为多个网络切片的示意图;8 is a schematic diagram of dividing the physical network topology of the forwarding plane into multiple network slices according to an embodiment of the present application;
图9是本申请一个实施例提供的在前三个业务部署后各个网络切片的带宽资源状态示意图;9 is a schematic diagram of the bandwidth resource status of each network slice provided by an embodiment of the present application after the first three services are deployed;
图10是本申请一个实施例提供的在动态调整网络切片间的带宽资源后各个网络切片的带宽资源状态示意图;10 is a schematic diagram of the bandwidth resource status of each network slice after dynamically adjusting the bandwidth resources between network slices according to an embodiment of the present application;
图11是本申请一个实施例提供的路由装置的示意图。FIG. 11 is a schematic diagram of a routing device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书、权利要求书或上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the modules may be divided differently from the device, or executed in the order in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification, claims or the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
随着网络技术的快速发展,如SDN、NFV(Network Functions Virtualization,网络功能虚拟化),如何有效利用有限的网络带宽资源、在保证网络质量的同时提高业务路由效率,成为了各个设备厂商重点研究的问题。在SDN场景下,控制器可以收集全局拓扑信息,当有 批量的业务需要进行部署时,在一些示例中,当用户新业务的批量开通或者网络发生动荡需要对受影响的业务进行重新路由时,需要决策如何部署这些业务以及保证这些业务的QoS。With the rapid development of network technologies, such as SDN and NFV (Network Functions Virtualization), how to effectively utilize limited network bandwidth resources and improve service routing efficiency while ensuring network quality has become a key research topic for various equipment manufacturers. The problem. In the SDN scenario, the controller can collect global topology information. When there are batches of services that need to be deployed, in some examples, when the user's new services are activated in batches or the network is turbulent and the affected services need to be rerouted, It is necessary to decide how to deploy these services and ensure the QoS of these services.
在传统技术中,为了充分利用网络资源进行流量调度,通常所采用的方法是队列管理和调度。通常,队列中的包可能具有不同的优先级,在一些示例中,前面的包可能比其它包具有更高的优先级。在基于Floodlight的SDN网络中,基于队列的调度技术被广泛用于保证高QoS。其中,将需要传输的流量分为QoS流和最优流,并根据优先级分配到不同的队列。然而,上述基于队列的资源分配或调度策略存在如下缺点:由于其需要通过实时计算网络链路上剩余可用带宽来计算业务的可行路由,而计算可行路由的时间比较长,并且队列中的请求需要按顺序处理,即传统技术只能按照串行的方式进行路由计算,因此,传统的基于队列的资源分配或调度策略严重影响了路由效率,降低了用户服务质量。In traditional technologies, in order to make full use of network resources for traffic scheduling, queue management and scheduling are usually adopted. Typically, packets in a queue may have different priorities, and in some examples, earlier packets may have higher priority than other packets. In Floodlight-based SDN networks, queue-based scheduling techniques are widely used to ensure high QoS. Among them, the traffic to be transmitted is divided into QoS flow and optimal flow, and is allocated to different queues according to the priority. However, the above queue-based resource allocation or scheduling strategy has the following disadvantages: since it needs to calculate the feasible route of the service by calculating the remaining available bandwidth on the network link in real time, the time to calculate the feasible route is relatively long, and the requests in the queue need to be In order to process, that is, the traditional technology can only perform routing calculation in a serial manner. Therefore, the traditional queue-based resource allocation or scheduling strategy seriously affects routing efficiency and reduces user service quality.
基于上述情况,本申请实施例提供了一种路由方法、路由装置、控制器和计算机可读存储介质,该路由方法包括如下步骤:接收多个第一业务的路由计算请求,路由计算请求携带有第一业务信息;针对每个第一业务,根据第一业务信息从多个网络切片中确定第一业务对应的目标网络切片,其中,多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;根据第一业务对应的目标网络切片的切片拓扑信息和第一业务信息,确定第一业务在目标网络切片上的第一转发路径信息;将第一转发路径信息发送至转发面设备以使转发面设备按照第一转发路径信息转发第一业务。根据本申请实施例的技术方案,本申请实施例通过将转发面的物理网络结构的网络带宽进行横向切片,并且网络切片带宽资源彼此间隔离,从而能够并行计算出各个业务的转发路径,因此,本申请实施例在提高网络带宽资源利用率以及保证业务的服务质量的同时,还能够提升业务路由的成功率与耗时性能。Based on the above situation, the embodiments of the present application provide a routing method, a routing device, a controller, and a computer-readable storage medium. The routing method includes the following steps: receiving a plurality of routing calculation requests of the first service, and the routing calculation request carries a First service information; for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same physical structure and are determined by the physical structure of the forwarding plane. The network structure is divided and obtained; the first forwarding path information of the first service on the target network slice is determined according to the slice topology information and the first service information of the target network slice corresponding to the first service; the first forwarding path information is sent to the forwarding plane The device enables the forwarding plane device to forward the first service according to the first forwarding path information. According to the technical solutions of the embodiments of the present application, in the embodiments of the present application, the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the network bandwidth resource utilization rate and ensure the service quality of the service, and can also improve the success rate and time-consuming performance of service routing.
下面结合附图,对本申请实施例作进一步阐述。The embodiments of the present application will be further described below with reference to the accompanying drawings.
如图1所示,图1是本申请一个实施例提供的用于执行路由方法的系统架构平台100的示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a system architecture platform 100 for executing a routing method provided by an embodiment of the present application.
在图1的示例中,该系统架构平台100设置有处理器110和存储器120,其中,处理器110和存储器120可以通过总线或者其他方式连接,图1中以通过总线连接为例。In the example of FIG. 1 , the system architecture platform 100 is provided with a processor 110 and a memory 120 , wherein the processor 110 and the memory 120 may be connected by a bus or in other ways. In FIG. 1 , the connection by a bus is taken as an example.
存储器120作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器120可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器120可包括相对于处理器110远程设置的存储器,这些远程存储器可以通过网络连接至该系统架构平台。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, the memory 120 can be used to store non-transitory software programs and non-transitory computer-executable programs. Additionally, memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 may include memory located remotely from processor 110, which may be connected to the system architecture platform through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
本领域技术人员可以理解的是,该系统架构平台可以应用于3G通信网络系统、LTE通信网络系统、5G通信网络系统以及后续演进的移动通信网络系统等,本实施例对此并不作具体限定。Those skilled in the art can understand that the system architecture platform can be applied to a 3G communication network system, an LTE communication network system, a 5G communication network system, and a subsequently evolved mobile communication network system, etc., which is not specifically limited in this embodiment.
本领域技术人员可以理解的是,图1中示出的系统架构平台并不构成对本申请实施例的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It can be understood by those skilled in the art that the system architecture platform shown in FIG. 1 does not constitute a limitation on the embodiments of the present application, and may include more or less components than those shown in the figure, or combine some components, or different Component placement.
在图1所示的系统架构平台中,处理器110可以调用储存在存储器120中的路由程序,从而执行路由方法。In the system architecture platform shown in FIG. 1 , the processor 110 can call the routing program stored in the memory 120 to execute the routing method.
基于上述系统架构平台,下面提出本申请的路由方法的各个实施例。Based on the above-mentioned system architecture platform, various embodiments of the routing method of the present application are proposed below.
如图2所示,图2是本申请一个实施例提供的路由方法的流程图,该路由方法包括但不限于有步骤S100、步骤S200、步骤S300和步骤S400。As shown in FIG. 2 , FIG. 2 is a flowchart of a routing method provided by an embodiment of the present application. The routing method includes but is not limited to step S100 , step S200 , step S300 and step S400 .
步骤S100,接收多个第一业务的路由计算请求,路由计算请求携带有第一业务信息;Step S100, receiving a plurality of routing calculation requests of the first service, where the routing calculation requests carry the first service information;
步骤S200,针对每个第一业务,根据第一业务信息从多个网络切片中确定第一业务对应的目标网络切片,其中,多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;Step S200, for each first service, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have the same physical structure and are determined by the physical network structure of the forwarding plane. divided;
步骤S300,根据第一业务对应的目标网络切片的切片拓扑信息和第一业务信息,确定第一业务在目标网络切片上的第一转发路径信息;Step S300, according to the slice topology information and the first service information of the target network slice corresponding to the first service, determine the first forwarding path information of the first service on the target network slice;
步骤S400,将第一转发路径信息发送至转发面设备以使转发面设备按照第一转发路径信息转发第一业务。Step S400: Send the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
根据本申请实施例的技术方案,本申请实施例通过将转发面的物理网络结构的网络带宽进行横向切片,并且网络切片带宽资源彼此间隔离,从而能够并行计算出各个业务的转发路径,因此,本申请实施例在提高网络带宽资源利用率以及保证业务的服务质量的同时,还能够提升业务路由的成功率与耗时性能。According to the technical solutions of the embodiments of the present application, in the embodiments of the present application, the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the network bandwidth resource utilization rate and ensure the service quality of the service, and can also improve the success rate and time-consuming performance of service routing.
需要说明的是,关于上述步骤S100、步骤S200、步骤S300和步骤S400,均可以是SDN控制器执行的。It should be noted that the above steps S100, S200, S300 and S400 may all be executed by the SDN controller.
可以理解的是,关于上述多个网络切片的带宽,可以是均匀设置或者是随机设置。It can be understood that the bandwidths of the above-mentioned multiple network slices may be set uniformly or randomly.
另外,可以理解的是,关于上述的目标网络切片的切片拓扑信息,可以包括但不限于有节点信息、链路带宽信息和链路固有时延信息。In addition, it can be understood that the slice topology information about the above-mentioned target network slice may include, but is not limited to, node information, link bandwidth information, and link inherent delay information.
另外,可以理解的是,关于上述的第一业务信息,可以包括但不限于有源点信息、宿点信息和业务带宽信息。In addition, it can be understood that the above-mentioned first service information may include, but is not limited to, source point information, sink point information, and service bandwidth information.
值得注意的是,关于上述的网络切片,是将一个物理网络分割成多个虚拟的端到端网络,本申请实施例中的网络切片是基于网络带宽资源的横向分片,即各个网络切片具有相同的物理结构,但是带宽资源相互独立,区别于传统的纵向切片。It is worth noting that the above network slicing refers to dividing a physical network into multiple virtual end-to-end networks. The network slicing in this embodiment of the present application is a horizontal slicing based on network bandwidth resources, that is, each network slice has The same physical structure, but the bandwidth resources are independent of each other, which is different from the traditional vertical slicing.
对于上述步骤S100和步骤S200,当需要对批量的多个第一业务进行路由计算时,本申请实施例能够借助切片结构,对批量的多个第一业务先进行切片归属分配,即先确定每一个第一业务应该部署到哪个网络切片。由于网络切片带宽资源稀缺会导致某些第一业务无法传输,从而会影响到第一业务的传输成功率,对此,为了解决该问题,基于上述的网络切片架构,本申请实施例提供了如图3和图5中的协同方法,其中,图3是本申请一个实施例提供的路由方法中的基于强化学习的业务切片分配方法的流程图,以确定各个第一业务应该分配到哪个网络切片上进行部署;图5是本申请一个实施例提供的路由方法中的各个网络切片之间带宽资源动态调整方法的流程图。本申请实施例通过上述两种协同方法相结合,可以保证在不牺牲部署成功率以及QoS的情况下加速路由计算。For the above steps S100 and S200, when it is necessary to perform routing calculation on a batch of multiple first services, this embodiment of the present application can use the slice structure to first perform slice attribution allocation for the batch of multiple first services, that is, first determine each Which network slice a first service should be deployed to. Due to the scarcity of network slicing bandwidth resources, some first services cannot be transmitted, which will affect the transmission success rate of the first service. To solve this problem, based on the above network slicing architecture, the embodiments of the present application provide the following: The collaborative method in FIG. 3 and FIG. 5 , wherein FIG. 3 is a flowchart of the reinforcement learning-based service slice allocation method in the routing method provided by an embodiment of the present application, so as to determine which network slice each first service should be allocated to Deploy on the above; FIG. 5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application. By combining the above two coordination methods, the embodiment of the present application can ensure that the route calculation can be accelerated without sacrificing the deployment success rate and QoS.
如图3所示,图3是本申请一个实施例提供的路由方法中的基于强化学习的业务切片分配方法的流程图,关于上述步骤S200中的根据第一业务信息从多个网络切片中确定第一业务对应的目标网络切片,包括但不限于有步骤S500。As shown in FIG. 3 , FIG. 3 is a flowchart of a method for allocating service slices based on reinforcement learning in a routing method provided by an embodiment of the present application. Regarding the above step S200 , determining from multiple network slices according to the first service information The target network slice corresponding to the first service includes but is not limited to step S500.
步骤S500,将多个网络切片的切片拓扑信息和第一业务信息输入至业务部署模型,以得到第一业务对应的目标网络切片,其中,业务部署模型由多个网络切片的切片拓扑信息和多个第二业务信息训练得到。Step S500: Input the slice topology information and the first service information of the multiple network slices into the service deployment model to obtain the target network slice corresponding to the first service, wherein the service deployment model is composed of the slice topology information of the multiple network slices and the multiple network slices. A second service information is obtained through training.
具体地,在对第一业务分配网络切片之前,本申请实施例还需要通过机器学习来训练得到所需要的业务部署模型,其中,RL(Reinforcement Learning,强化学习)是机器学习的一个分支,主要是解决如何根据环境采取行动,以最大化累计期望收益;强化学习模型包括环境状态集合State、动作集合A,状态转移概率以及状态转移后的即时回报,当强化学习中的智能体做出决策之后,它可以从环境中获得奖励,通过不断地与环境进行交互,从而学到一个达到特定目标的策略。基于此,为了能够根据每个网络切片的切片拓扑信息以及第一业务信息来决定将第一业务要部署的网络切片,本申请实施例需要在对第一业务分配网络切片之前,得到一个相当于上述智能体的已训练好的业务部署模型。Specifically, before allocating network slices to the first service, the embodiment of the present application also needs to obtain the required service deployment model through machine learning training, wherein RL (Reinforcement Learning, reinforcement learning) is a branch of machine learning, mainly It is to solve how to take actions according to the environment to maximize the cumulative expected return; the reinforcement learning model includes the environmental state set State, the action set A, the state transition probability and the immediate return after the state transition. When the agent in reinforcement learning makes a decision , it can obtain rewards from the environment and learn a strategy to achieve a specific goal by continuously interacting with the environment. Based on this, in order to determine the network slice to be deployed for the first service according to the slice topology information of each network slice and the first service information, the embodiment of the present application needs to obtain a network slice equivalent to the first service before allocating the network slice. The trained business deployment model of the above agent.
可以理解的是,关于上述的强化学习模型,可以但不限于是DQN(Deep Q-Network,深度Q网络)模型、DDPG(Deep Deterministic Policy Gradient,深度确定性策略梯度)模型、PPO(Proximal Policy Optimization,近端策略优化)模型、A3C(Asynchronous Advantage Actor-Critic,异步优势动作评价)模型等,其中,强化学习中的智能体与环境的交互流程可参见图4所示。It can be understood that the above reinforcement learning models can be, but are not limited to, DQN (Deep Q-Network) model, DDPG (Deep Deterministic Policy Gradient, deep deterministic policy gradient) model, PPO (Proximal Policy Optimization , proximal policy optimization) model, A3C (Asynchronous Advantage Actor-Critic, asynchronous advantage action evaluation) model, etc., among which, the interaction process between the agent and the environment in reinforcement learning can be seen in Figure 4.
具体地,本申请实施例可以将该网络分片问题建模为一个马尔科夫决策问题,其中,模型中的环境状态集合State、动作集合A、奖赏函数和状态转移概率分别如下所示:Specifically, this embodiment of the present application can model the network fragmentation problem as a Markov decision problem, where the environmental state set State, the action set A, the reward function, and the state transition probability in the model are respectively as follows:
关于上述模型中的状态,具体是指智能体观测到的信息,其中,智能体观测到的信息包括两部分,一部分是所有网络切片的切片拓扑信息,另一部分是待部署业务的业务信息,即State={O s,O f},其中,O s表示每个网络切片可用带宽的邻接矩阵,O f表示待部署业务的源点、汇点以及所需要的带宽大小。 The state in the above model specifically refers to the information observed by the agent. The information observed by the agent includes two parts, one part is the slice topology information of all network slices, and the other part is the service information of the service to be deployed, namely State={O s , Of }, where O s represents the adjacency matrix of the available bandwidth of each network slice, and Of represents the source, sink and required bandwidth of the service to be deployed.
另外,关于上述模型中的动作集合A,具体是指每个待部署业务去往的切片索引号,在一些示例中,若有k个网络切片,则动作集合A={1,2,…,k}。In addition, regarding the action set A in the above model, it specifically refers to the slice index number to which each service to be deployed goes. In some examples, if there are k network slices, then the action set A={1,2,..., k}.
另外,关于上述模型中的奖赏函数,可以是:
Figure PCTCN2021134526-appb-000001
其中
Figure PCTCN2021134526-appb-000002
表示业务i根据模型预测结果部署到网络切片j时是否能够部署成功,若能成功则值为1,若失败则为-1,本申请实施例能够以这种方式设计奖励函数,可以很好地反映智能体决策的正确性。
In addition, regarding the reward function in the above model, it can be:
Figure PCTCN2021134526-appb-000001
in
Figure PCTCN2021134526-appb-000002
Indicates whether service i can be deployed successfully when deployed to network slice j according to the model prediction result. If successful, the value is 1; It reflects the correctness of the agent's decision.
另外,关于上述模型中的状态转移概率,转移概率是确定性的,其取决于业务的部署方式,包括路由方案以及带宽间的资源动态调整策略。In addition, regarding the state transition probability in the above model, the transition probability is deterministic, which depends on the deployment mode of the service, including the routing scheme and the resource dynamic adjustment strategy between bandwidths.
当网络切片的带宽资源能满足待部署业务的需求时,说明智能体做出了正确的决策,智能体将被给予正回报;反之,错误的决策总是会产生负的回报。When the bandwidth resources of the network slicing can meet the needs of the service to be deployed, it means that the agent has made a correct decision, and the agent will be given a positive reward; otherwise, a wrong decision will always produce a negative reward.
如图5所示,图5是本申请一个实施例提供的路由方法中的各个网络切片之间带宽资源动态调整方法的流程图,当上述的多个网络切片包括第一网络切片和第二网络切片,第一网络切片包括第一链路,第二网络切片包括与第一链路对应的第二链路,本申请实施例的路由方法包括但不限于有步骤S600。As shown in FIG. 5 , FIG. 5 is a flowchart of a method for dynamically adjusting bandwidth resources between network slices in a routing method provided by an embodiment of the present application. When the above-mentioned multiple network slices include a first network slice and a second network slice Slicing, the first network slice includes a first link, and the second network slice includes a second link corresponding to the first link. The routing method in this embodiment of the present application includes, but is not limited to, step S600.
步骤S600,当第一链路的带宽小于待路经第一链路的所有第一业务的带宽,将第二链路的空闲带宽转移至第一链路,以使第一链路的带宽大于或等于待路经第一链路的所有第一业务的带宽。Step S600, when the bandwidth of the first link is less than the bandwidth of all the first services to be routed through the first link, transfer the idle bandwidth of the second link to the first link, so that the bandwidth of the first link is greater than that of the first link. or equal to the bandwidth of all first services to be routed through the first link.
根据本申请实施例的技术方案,由于网络带宽以及新的待部署业务的特性是不断变化的,因此各个网络切片中的网络带宽会逐渐分布得很不均匀。对此,本申请实施例能够根据当前的网络带宽以及业务特征,按照一定的调整策略,将各个网络切片中的空闲带宽合理利用起来,从而提高网络带宽的利用率,进而提高业务部署的吞吐量。According to the technical solutions of the embodiments of the present application, since the network bandwidth and the characteristics of the new services to be deployed are constantly changing, the network bandwidth in each network slice is gradually distributed unevenly. In this regard, the embodiment of the present application can reasonably utilize the idle bandwidth in each network slice according to the current network bandwidth and service characteristics and according to a certain adjustment strategy, thereby improving the utilization rate of the network bandwidth and further improving the throughput of service deployment. .
具体地,本申请实施例的能够使得经常在网络切片中传递的链路获得更高的带宽,使得网络切片可以动态适应场景的变化。其中,对于网络切片,本申请实施例包括但不限于如下四种操作:第一种操作是接受带宽补充,具体是指第二网络切片将多余的带宽资源转移到当前的第一网络切片,当前的第一网络切片对转移涉及到的链路进行带宽的扩充;第二种操作是路由计算,具体是指即将分配到当前第一网络切片的业务按照其算路策略进行路由计算;第三种操作是响应第一网络切片带宽扩充申请,具体是指对于当前的第一网络切片发送的资源转移请求,判断是否满足转移条件,如果满足,则将第二网络切片多余的带宽转移到当前的第一网络切片;第四种操作是发送带宽申请请求,结束上述的路由计算后,当前网络切片内会对路由结束的这个业务进行带宽资源扣除,由于某些链路上带宽资源的减少,可以向其它切片发送带宽扩充申请,其中,当前网络切片申请的扩充资源大小可以是该业务带宽值。Specifically, the embodiments of the present application can enable links that are often transmitted in network slices to obtain higher bandwidth, so that network slices can dynamically adapt to changes in scenarios. Among them, for network slicing, the embodiments of this application include but are not limited to the following four operations: the first operation is to accept bandwidth supplements, which specifically means that the second network slice transfers excess bandwidth resources to the current first network slice, and the current The first network slice of the network slice expands the bandwidth of the links involved in the transfer; the second operation is routing calculation, which specifically refers to the routing calculation of the services to be allocated to the current first network slice according to its routing strategy; the third operation is routing calculation. The operation is to respond to the application for bandwidth expansion of the first network slice, specifically referring to the resource transfer request sent by the current first network slice, judging whether the transfer conditions are met, and if so, transferring the excess bandwidth of the second network slice to the current first network slice. A network slice; the fourth operation is to send a bandwidth request request. After the above routing calculation is completed, the current network slice will deduct the bandwidth resources of the service whose route has ended. Due to the reduction of bandwidth resources on some links, it can be Other slices send bandwidth expansion applications, wherein the size of the expansion resources currently applied for by the network slice may be the service bandwidth value.
值得注意的是,对于单个网络切片的上述四种操作,路由计算与其它三项操作是串行的,即只有等网络带宽资源状态固定了,才会进行路由计算。It is worth noting that for the above four operations of a single network slice, the routing calculation and the other three operations are serial, that is, the routing calculation will only be performed when the network bandwidth resource status is fixed.
如图6所示,图6是本申请一个实施例提供的路由方法中的对于部署失败业务进行路由补算的流程图,当第一业务包括有第一转发路径信息计算失败的部署失败业务,本申请实施例的路由方法包括但不限于有步骤S710和步骤S720。As shown in FIG. 6 , FIG. 6 is a flowchart of performing routing compensation for a deployment failure service in a routing method provided by an embodiment of the present application. When the first service includes a deployment failure service for which the first forwarding path information calculation fails, The routing method in this embodiment of the present application includes, but is not limited to, steps S710 and S720.
步骤S710,根据部署失败业务的第一业务信息,计算出部署失败业务在转发面的物理网络结构上的第二转发路径信息;Step S710, according to the first service information of the service that fails to deploy, calculate the second forwarding path information of the service that fails to deploy on the physical network structure of the forwarding plane;
步骤S720,将第二转发路径信息发送至转发面设备以使转发面设备按照第二转发路径信息转发部署失败业务。Step S720: Send the second forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the deployment failure service according to the second forwarding path information.
具体地,经过上述步骤S300的路由计算后,不排除有路由计算失败的业务,其中,路由计算失败原因包括:由于划分多个网络切片之后会导致带宽稀释,使得各个网络切片的带宽均不足以支持大业务。对此,本申请实施例针对部署失败业务,利用原始的物理网络结构进行路由补算,进一步保障所有的业务有可达路径,从而能够保证业务的路由成功率。Specifically, after the route calculation in the above step S300, it is not excluded that there are services that fail in route calculation, wherein the reasons for the failure of route calculation include: bandwidth dilution after dividing multiple network slices, so that the bandwidth of each network slice is insufficient Support big business. In this regard, the embodiment of the present application uses the original physical network structure to perform routing compensation for services that fail to be deployed, so as to further ensure that all services have reachable paths, thereby ensuring the success rate of routing services.
基于上述图2、图3、图5和图6的方法步骤,本申请实施例提供了一种整体的路由方法的流程图,如图7所示。其中,图7中的整体路由方法包括但不限于有步骤S801、步骤S802、步骤S803、步骤S804、步骤S805、步骤S806、步骤S807、步骤S808、步骤S809、步骤S810。Based on the method steps of FIG. 2 , FIG. 3 , FIG. 5 , and FIG. 6 , an embodiment of the present application provides a flowchart of an overall routing method, as shown in FIG. 7 . The overall routing method in FIG. 7 includes but is not limited to steps S801, S802, S803, S804, S805, S806, S807, S808, S809, and S810.
步骤S801,控制器收集网络拓扑信息和第二业务信息;Step S801, the controller collects network topology information and second service information;
具体地,SDN控制器会收集各种信息,其中,这些信息包括转发面的网络拓扑信息以及要转发的第二业务信息。具体地,转发面设备会通过协议将上述信息上报给SDN控制器。Specifically, the SDN controller collects various information, where the information includes network topology information on the forwarding plane and information about the second service to be forwarded. Specifically, the forwarding plane device will report the above information to the SDN controller through a protocol.
可以理解的是,关于上述的网络拓扑信息,包括但不限于有节点信息、链路带宽信息和链路固有时延信息,其中,节点信息是指路由器、交换机或者其他网络设备的信息。It can be understood that the above-mentioned network topology information includes but is not limited to node information, link bandwidth information and link inherent delay information, where node information refers to information of routers, switches or other network devices.
另外,可以理解的是,关于上述的第二业务信息,包括但不限于有源点信息、宿点信息和业务带宽大小等信息。In addition, it can be understood that the above-mentioned second service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
步骤S802,根据所收集到的网络拓扑信息将转发面的物理网络结构划分成多个具有相同的物理结构的网络切片;Step S802, dividing the physical network structure of the forwarding plane into multiple network slices having the same physical structure according to the collected network topology information;
具体地,根据上述步骤S801中所采集的网络拓扑信息,本申请实施例会对网络带宽资源进行初始化,从而形成多个互相隔离的网络切片。Specifically, according to the network topology information collected in the foregoing step S801, the embodiment of the present application will initialize the network bandwidth resources, thereby forming a plurality of mutually isolated network slices.
需要说明的是,本申请实施例所形成的多个互相隔离的网络切片能够为后续步骤的深度强化学习算法提供交互环境。It should be noted that the plurality of mutually isolated network slices formed by the embodiments of the present application can provide an interactive environment for the deep reinforcement learning algorithm in the subsequent steps.
另外,可以理解的是,本申请实施例对网络切片的划分方式,可以但不限于是均匀带宽划分或者随机划分。In addition, it can be understood that the manner of dividing the network slice in this embodiment of the present application may be, but not limited to, uniform bandwidth division or random division.
步骤S803,将多个网络切片的切片拓扑信息和多个第二业务信息输入至业务部署模型,以得到训练好的业务部署模型;Step S803, inputting slice topology information of multiple network slices and multiple second service information into a service deployment model to obtain a trained service deployment model;
根据本申请实施例的技术方案,本申请实施例会进行深度强化学习算法模型训练,具体地,本申请实施例会模拟真实的网络切片场景,通过与上述步骤S802中的网络切片环境进行交互,使得业务部署模型能够学到一种业务部署的策略,其中,本申请实施例中的业务部署模型相当于上述所提及到的智能体。具体地,业务部署模型的输入为多个网络切片的拓扑信息与一批待部署的第二业务的第二业务信息,输出为这批第二业务的切片归属索引,通过该切片归属索引可以清楚知道各个第二业务各自所归属的网络切片。通过一定次数的与环境交互,会使得业务部署模型最终能够学习到一个比较好的分配策略,从而得到一个训练好的业务部署模型来实现对新业务的部署。According to the technical solutions of the embodiments of the present application, the embodiments of the present application will perform deep reinforcement learning algorithm model training. Specifically, the embodiments of the present application will simulate a real network slicing scene, and interact with the network slicing environment in the above step S802 to make the service The deployment model can learn a service deployment strategy, wherein the service deployment model in the embodiment of the present application is equivalent to the above-mentioned agent. Specifically, the input of the service deployment model is the topology information of multiple network slices and the second service information of a batch of second services to be deployed, and the output is the slice attribution index of the batch of second services. Know the network slice to which each second service belongs. Through a certain number of interactions with the environment, the business deployment model can finally learn a better allocation strategy, so as to obtain a trained business deployment model to realize the deployment of new services.
可以理解的是,关于上述的多个网络切片的切片拓扑信息,具体是指拓扑图的邻接矩阵,其中,矩阵中的每一个元素为两节点间的链路带宽值。另外,可以理解的是,关于上述的第二业务信息,包括但不限于有源点信息、宿点信息和业务带宽大小等信息。It can be understood that the slice topology information about the above-mentioned multiple network slices specifically refers to an adjacency matrix of a topology graph, wherein each element in the matrix is a link bandwidth value between two nodes. In addition, it can be understood that the above-mentioned second service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
步骤S804,接收多个第一业务的路由计算请求,路由计算请求携带有第一业务信息;Step S804, receiving a plurality of routing calculation requests of the first service, where the routing calculation requests carry the first service information;
具体地,在完成网络切片的划分以及完成业务部署模型的训练之后,本申请实施例就可以实现对新业务的部署。当本申请实施例需要对新的多个第一业务进行批量部署时,SDN控制器会接收多个第一业务的批量路由计算请求,其中,该路由计算请求携带有第一业务信息。Specifically, after the division of network slices and the training of the service deployment model are completed, the embodiment of the present application can implement the deployment of new services. When the embodiment of the present application needs to perform batch deployment of multiple new first services, the SDN controller will receive batch routing calculation requests of multiple first services, where the routing calculation request carries first service information.
可以理解的是,关于上述的第一业务信息,包括但不限于有源点信息、宿点信息和业务带宽大小等信息。It can be understood that the above-mentioned first service information includes but is not limited to information such as source point information, sink point information, and service bandwidth size.
步骤S805,调用训练好的业务部署模型,并将多个网络切片的切片拓扑信息和多个第一业务信息输入至业务部署模型,以得到各个第一业务的切片归属索引;Step S805, calling the trained service deployment model, and inputting slice topology information of multiple network slices and multiple first service information into the service deployment model to obtain the slice attribution index of each first service;
具体地,当SDN控制器接收到多个第一业务的批量路由计算请求后,为了能够更好更智能地对多个第一业务进行部署,本申请实施例会调用上述步骤S803所得到的训练好的业务部署模型,并将待部署的第一业务的第一业务信息以及当前各个网络切片中的切片拓扑信息作为输入,接着业务部署模型会输出各个第一业务各自所对应的切片归属索引,根据该切片归属索引,可以确定各个第一业务要部署的目标网络切片。Specifically, after the SDN controller receives the batch routing calculation requests of multiple first services, in order to better and more intelligently deploy the multiple first services, this embodiment of the present application will call the training data obtained in the above step S803. The service deployment model is based on the service deployment model, and the first service information of the first service to be deployed and the slice topology information in each current network slice are used as input, and then the service deployment model will output the slice attribution index corresponding to each first service. The slice attribution index can determine the target network slice to be deployed for each first service.
步骤S806,动态调整网络切片间的带宽资源;Step S806, dynamically adjusting bandwidth resources between network slices;
具体地,由于网络带宽以及新来业务的特性是不断变化的,因此各个网络切片中的网络带宽会逐渐分布得很不均匀。根据当前的网络带宽以及业务特征,按照一定的调整策略,将各个网络切片中的空闲带宽合理利用起来,从而提高网络带宽的利用率,进而提高业务部署的吞吐量。Specifically, since the network bandwidth and the characteristics of the incoming services are constantly changing, the network bandwidth in each network slice will gradually be unevenly distributed. According to the current network bandwidth and service characteristics, according to a certain adjustment strategy, the idle bandwidth in each network slice is rationally utilized, thereby improving the utilization rate of the network bandwidth, thereby improving the throughput of service deployment.
在一些示例中,上述的多个网络切片包括第一网络切片和第二网络切片,第一网络切片包括第一链路,第二网络切片包括与第一链路对应的第二链路,当第一链路的带宽小于待路经第一链路的所有第一业务的带宽,将第二链路的空闲带宽转移至第一链路,以使第一链路的带宽大于或等于待路经第一链路的所有第一业务的带宽。In some examples, the above-mentioned multiple network slices include a first network slice and a second network slice, the first network slice includes a first link, and the second network slice includes a second link corresponding to the first link, when The bandwidth of the first link is smaller than the bandwidth of all the first services to be routed through the first link, and the idle bandwidth of the second link is transferred to the first link, so that the bandwidth of the first link is greater than or equal to the bandwidth to be routed Bandwidth of all first traffic over the first link.
步骤S807,并行计算出各个第一业务在目标网络切片上的第一转发路径信息;Step S807, calculating the first forwarding path information of each first service on the target network slice in parallel;
具体地,根据上述步骤S805中所得到的各个第一业务各自所对应的切片归属索引,从而 可以确定各个第一业务要部署的目标网络切片,当动态调整网络切片间的带宽资源之后,接着本申请实施例会根据第一业务对应的目标网络切片的切片拓扑信息和第一业务信息,并行计算出各个第一业务在各自对应的目标网络切片上的第一转发路径信息,然后本申请实施例会将该第一转发路径信息发送至转发面设备以使转发面设备按照第一转发路径信息转发第一业务。通过上述并行计算的方式可以显著地减少路由时间,同时,各个网络切片之间的带宽资源会根据上述步骤S806的策略不断互相调整,从而最大化网络的带宽资源利用率。Specifically, according to the slice attribution index corresponding to each first service obtained in the above step S805, the target network slice to be deployed for each first service can be determined. After dynamically adjusting the bandwidth resources between the network slices, this The application embodiment will calculate in parallel the first forwarding path information of each first service on the corresponding target network slice according to the slice topology information and the first service information of the target network slice corresponding to the first service. The first forwarding path information is sent to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information. The above-mentioned parallel computing method can significantly reduce the routing time, and at the same time, the bandwidth resources between the various network slices will be continuously adjusted to each other according to the strategy in the above step S806, thereby maximizing the bandwidth resource utilization of the network.
步骤S808,判断是否存在有路由计算失败的第一业务,当存在有路由计算失败的第一业务,则执行步骤S809,否则执行步骤S810;Step S808, determine whether there is a first service for which the route calculation fails, and when there is a first service for which the route calculation fails, execute step S809; otherwise, execute step S810;
具体地,由于划分多个网络切片之后会导致带宽稀释,使得各个网络切片的带宽均不足以支持大业务,因此,当存在带宽需要较大的第一业务时,则有可能会导致路由计算失败。Specifically, dividing multiple network slices will lead to bandwidth dilution, so that the bandwidth of each network slice is insufficient to support large services. Therefore, when there is a first service that requires a large bandwidth, route calculation may fail. .
步骤S809,对路由计算失败的第一业务进行路由补算;Step S809, performing routing supplementary calculation on the first service for which the routing calculation fails;
具体地,当存在路由计算失败的第一业务时,本申请实施例会针对路由计算失败的第一业务,利用原始的物理网络结构进行路由补算,进一步保障所有的业务有可达路径,从而能够保证业务的路由成功率。Specifically, when there is a first service for which route calculation fails, the embodiment of the present application uses the original physical network structure to perform route compensation for the first service for which route calculation fails to further ensure that all services have reachable paths, thereby enabling Guarantees the success rate of service routing.
步骤S810,结束并输出路由计算结果。Step S810, end and output the route calculation result.
基于上述各个附图的方法步骤,本申请提供了一种具体实施例以对上述方法步骤进行详细说明,如图8至图10所示,其中,图8是本申请一个实施例提供的将转发面的物理网络拓扑划分为多个网络切片的示意图,图9是本申请一个实施例提供的在前三个业务部署后各个网络切片的带宽资源状态示意图,图10是本申请一个实施例提供的在动态调整网络切片间的带宽资源后各个网络切片的带宽资源状态示意图。Based on the method steps of the above figures, the present application provides a specific embodiment to describe the above method steps in detail, as shown in FIG. 8 to FIG. 10 , wherein FIG. Figure 9 is a schematic diagram of the bandwidth resource status of each network slice provided by an embodiment of the present application after the first three services are deployed, and Figure 10 is a schematic diagram provided by an embodiment of the present application. A schematic diagram of the bandwidth resource status of each network slice after dynamically adjusting the bandwidth resources between network slices.
如图8所示,转发面的原始物理网络拓扑T0包括有四个节点(A、B、C、D)和节点间的四条链路,其中,每条链路上对应有链路的当前带宽、权值,假设业务按照权值最小策略进行算路。在一些示例中,如图8所示,原始物理网络拓扑T0中的节点A和节点B之间的链路的当前带宽为30,权值为1;原始物理网络拓扑T0中的节点A和节点C之间的链路的当前带宽为30,权值为1;原始物理网络拓扑T0中的节点B和节点D之间的链路的当前带宽为16,权值为3;原始物理网络拓扑T0中的节点C和节点D之间的链路的当前带宽为30,权值为1。As shown in Figure 8, the original physical network topology T0 of the forwarding plane includes four nodes (A, B, C, D) and four links between nodes, wherein each link corresponds to the current bandwidth of the link , weight, assuming that the business calculates the route according to the minimum weight strategy. In some examples, as shown in FIG. 8 , the current bandwidth of the link between node A and node B in the original physical network topology T0 is 30, and the weight is 1; node A and node B in the original physical network topology T0 The current bandwidth of the link between C is 30, and the weight is 1; the current bandwidth of the link between node B and node D in the original physical network topology T0 is 16, and the weight is 3; the original physical network topology T0 The current bandwidth of the link between node C and node D is 30, and the weight is 1.
对图8中的原始物理网络拓扑T0进行划分,可以划分为三个网络切片(T1、T2、T3),其中,网络切片T1中的节点A和节点B之间的链路的当前带宽为12,权值为1;网络切片T1中的节点A和节点C之间的链路的当前带宽为12,权值为1;网络切片T1中的节点B和节点D之间的链路的当前带宽为5,权值为3;网络切片T1中的节点C和节点D之间的链路的当前带宽为12,权值为1。网络切片T2中的节点A和节点B之间的链路的当前带宽为10,权值为1;网络切片T2中的节点A和节点C之间的链路的当前带宽为10,权值为1;网络切片T2中的节点B和节点D之间的链路的当前带宽为3,权值为3;网络切片T2中的节点C和节点D之间的链路的当前带宽为10,权值为1。网络切片T3中的节点A和节点B之间的链路的当前带宽为8,权值为1;网络切片T3中的节点A和节点C之间的链路的当前带宽为8,权值为1;网络切片T3中的节点B和节点D之间的链路的当前带宽为8,权值为3;网络切片T3中的节点C和节点D之间的链路的当前带宽为8,权值为1。The original physical network topology T0 in Figure 8 can be divided into three network slices (T1, T2, T3), where the current bandwidth of the link between node A and node B in network slice T1 is 12 , the weight is 1; the current bandwidth of the link between node A and node C in network slice T1 is 12, and the weight is 1; the current bandwidth of the link between node B and node D in network slice T1 is 5, and the weight is 3; the current bandwidth of the link between node C and node D in the network slice T1 is 12, and the weight is 1. The current bandwidth of the link between node A and node B in network slice T2 is 10, and the weight is 1; the current bandwidth of the link between node A and node C in network slice T2 is 10, and the weight is 1 1; the current bandwidth of the link between node B and node D in network slice T2 is 3, and the weight is 3; the current bandwidth of the link between node C and node D in network slice T2 is 10, and the weight is 3. The value is 1. The current bandwidth of the link between node A and node B in network slice T3 is 8, and the weight is 1; the current bandwidth of the link between node A and node C in network slice T3 is 8, and the weight is 1 1; the current bandwidth of the link between node B and node D in network slice T3 is 8, and the weight is 3; the current bandwidth of the link between node C and node D in network slice T3 is 8, and the weight is 8. The value is 1.
根据图8中的原始物理网络拓扑T0、网络切片T1、网络切片T2和网络切片T3,可以看到所有网络切片对应的链路带宽之和等于原始物理网络拓扑中的链路带宽。在一些示例中, 原始物理网络拓扑T0中节点A和节点B之间的链路带宽等于网络切片T1中节点A和节点B之间的链路带宽、网络切片T2中节点A和节点B之间的链路带宽、网络切片T3中节点A和节点B之间的链路带宽的总和。According to the original physical network topology T0, network slice T1, network slice T2 and network slice T3 in FIG. 8, it can be seen that the sum of link bandwidths corresponding to all network slices is equal to the link bandwidth in the original physical network topology. In some examples, the link bandwidth between node A and node B in the original physical network topology T0 is equal to the link bandwidth between node A and node B in network slice T1 and between node A and node B in network slice T2 and the sum of the link bandwidth between node A and node B in network slice T3.
基于上述图8中的切片划分结果,当有四个业务需要部署,本申请实施例会调用已训练好的业务部署模型对四个业务进行部署预测,假设用数字“1”标记某业务在网络切片T1中部署成功,数字“2”标记某业务在网络切片T2中部署成功,数字“3”标记某业务在网络切片T3中部署成功,当有四个业务分别在网络切片T1、T2、T3、T2中部署,并且业务部署模型的输出为{1,2,3,2}。Based on the slice division result in Figure 8 above, when four services need to be deployed, the embodiment of the present application will call the trained service deployment model to predict the deployment of the four services. It is assumed that a number "1" is used to mark a service in the network slice. The deployment in T1 is successful, the number "2" marks the successful deployment of a service in network slice T2, and the number "3" marks the successful deployment of a service in network slice T3, when there are four services in network slices T1, T2, T3, T2 is deployed, and the output of the business deployment model is {1,2,3,2}.
其中,根据业务部署模型的结果,获取当前业务的部署情况,若前三个业务的部署情况如表1所示:Among them, according to the results of the business deployment model, the deployment of the current business is obtained. If the deployment of the first three businesses is shown in Table 1:
业务IDBusiness ID 源点Source 宿点place to stay 带宽bandwidth 带宽调整前业务是否成功部署Whether the service was successfully deployed before bandwidth adjustment
业务1Business 1 BB DD 1010 成功部署到网络切片T1Successfully deployed to network slice T1
业务2Business 2 BB DD 1010 成功部署到网络切片T2Successfully deployed to network slice T2
业务3Business 3 BB DD 55 成功部署到网络切片T3Successfully deployed to network slice T3
表1Table 1
由上述的表1可知,业务1的源点是节点B,宿点是节点D,带宽是10,当前归属的切片是网络切片T1并且可以成功分配至网络切片T1,业务1在网络切片T1中的转发路径是由B依次经过A和C到D;业务2的源点是节点B,宿点是节点D,带宽是10,当前归属的切片是网络切片T2并且可以成功分配至网络切片T2,业务2在网络切片T2中的转发路径是由B依次经过A和C到D;业务3的源点是节点B,宿点是节点D,带宽是5,当前归属的切片是网络切片T3并且可以成功分配至网络切片T3,业务3在网络切片T3中的转发路径是由B到D。As can be seen from the above Table 1, the source point of service 1 is node B, the sink point is node D, the bandwidth is 10, the current slice is network slice T1 and can be successfully allocated to network slice T1, and service 1 is in network slice T1. The forwarding path is from B through A and C to D in turn; the source point of service 2 is node B, the sink point is node D, the bandwidth is 10, the current home slice is network slice T2 and can be successfully allocated to network slice T2, The forwarding path of service 2 in network slice T2 is from B through A and C to D in sequence; the source point of service 3 is node B, the sink point is node D, the bandwidth is 5, and the current home slice is network slice T3 and can be It is successfully allocated to network slice T3, and the forwarding path of service 3 in network slice T3 is from B to D.
当完成业务1、业务2和业务3的部署后,各个网络切片中的剩余带宽信息可以参照图9所示,对于网络切片T1,节点A和节点B之间的链路带宽的由原来的12减少至2,节点A和节点C之间的链路带宽的由原来的12减少至2,节点C和节点D之间的链路带宽的由原来的12减少至2;另外,对于网络切片T2,节点A和节点B之间的链路带宽的由原来的10减少至0,节点A和节点C之间的链路带宽的由原来的10减少至0,节点C和节点D之间的链路带宽的由原来的10减少至0;另外,对于网络切片T3,节点B和节点D之间的链路带宽的由原来的8减少至3。After the deployment of Service 1, Service 2 and Service 3 is completed, the remaining bandwidth information in each network slice can be referred to as shown in Figure 9. For network slice T1, the link bandwidth between Node A and Node B is changed from the original 12 Reduced to 2, the link bandwidth between node A and node C is reduced from the original 12 to 2, and the link bandwidth between node C and node D is reduced from the original 12 to 2; in addition, for network slice T2 , the link bandwidth between node A and node B is reduced from the original 10 to 0, the link bandwidth between node A and node C is reduced from the original 10 to 0, the link bandwidth between node C and node D The path bandwidth is reduced from the original 10 to 0; in addition, for the network slice T3, the link bandwidth between the node B and the node D is reduced from the original 8 to 3.
另外,对于第四个业务,其部署情况如表2所示:In addition, for the fourth business, its deployment situation is shown in Table 2:
业务IDBusiness ID 源点Source 宿点place to stay 带宽bandwidth 带宽调整前业务是否成功部署Whether the service was successfully deployed before bandwidth adjustment
业务4Business 4 BB DD 44 部署到网络切片T2失败Deployment to network slice T2 fails
表2Table 2
由上述的表2可知,业务4的源点是节点B,宿点是节点D,带宽是4,当前归属的切片是网络切片T2,转发路径是由B依次经过A和C到D;由于业务1、业务2和业务3的完成部署后网络切片T2中的节点A和节点B之间的链路带宽、节点A和节点C之间的链路带宽、节点C和节点D之间的链路带宽均减少至0,而业务4所需求的带宽是4,因此,网络切片T2中的节点A和节点B之间的链路带宽、节点A和节点C之间的链路带宽、节点C和节点D 之间的链路带宽无法满足业务4所需求的带宽值,因此,业务4会在网络切片T2上部署失败。It can be seen from the above Table 2 that the source point of service 4 is node B, the sink point is node D, the bandwidth is 4, the current home slice is network slice T2, and the forwarding path is from B through A and C to D in sequence; 1. After the deployment of services 2 and 3, the link bandwidth between node A and node B, the link bandwidth between node A and node C, and the link between node C and node D in network slice T2 The bandwidth is reduced to 0, and the bandwidth required by service 4 is 4. Therefore, in network slice T2, the link bandwidth between node A and node B, the link bandwidth between node A and node C, the link bandwidth between node C and node C, and The link bandwidth between nodes D cannot meet the bandwidth value required by service 4. Therefore, service 4 will fail to be deployed on network slice T2.
对此,本申请实施例会动态调整网络切片之间的带宽资源,由于业务1、业务2和业务3的完成部署后网络切片T3中的节点A和节点B之间的链路带宽、节点A和节点C之间的链路带宽、节点C和节点D之间的链路带宽均大于业务4所需求的带宽值,因此,本申请实施例会直接将网络切片T3上由B依次经过A和C到D路径的部分带宽值分配给网络切片T2,使得调整后的网络切片T2的带宽能够满足业务4的带宽需求,其中,上述动态调整网络切片间的带宽资源后各个网络切片的带宽资源状态可以参照图10所示,因此,本申请实施例可以有效地避免某一个网络切片的带宽资源存在大量空闲的情形,从而成功地传输业务4。具体地,业务1、业务2、业务3和业务4在动态调整前和动态调整后的部署情况如表3所示:In this regard, the embodiment of the present application will dynamically adjust the bandwidth resources between network slices, because the link bandwidth between node A and node B in network slice T3 after the deployment of service 1, service 2 and service 3 is completed, The link bandwidth between node C and the link bandwidth between node C and node D are all greater than the bandwidth value required by service 4. Therefore, in this embodiment of the present application, the network slice T3 is directly connected from B through A and C to the network slice T3. Part of the bandwidth value of path D is allocated to network slice T2, so that the adjusted bandwidth of network slice T2 can meet the bandwidth requirement of service 4. The bandwidth resource status of each network slice after dynamically adjusting the bandwidth resources between network slices can refer to As shown in FIG. 10 , therefore, the embodiment of the present application can effectively avoid a situation where a large number of idle bandwidth resources exist in a certain network slice, so that service 4 can be successfully transmitted. Specifically, the deployment of service 1, service 2, service 3 and service 4 before and after dynamic adjustment is shown in Table 3:
Figure PCTCN2021134526-appb-000003
Figure PCTCN2021134526-appb-000003
表3table 3
根据上述实施例的技术方案,本申请实施例能够基于切片架构,使用并行的方式进行路由计算,显著提升路由效率;将网络资源分配与业务部署进行有机地结合,得到更优的网络资源分配以及业务部署策略。其次,本申请实施例可以采用离线的方式进行深度强化学习算法模型训练,在实际应用中只需要读取存储好的业务部署模型即可,耗时短。另外,本申请实施例使用网络切片架构,结合深度强化学习算法,利用并行的方式进行重路由,能够数倍提升路由耗时性能。According to the technical solutions of the foregoing embodiments, the embodiments of the present application can perform routing computations in a parallel manner based on the slice architecture, which significantly improves routing efficiency; the network resource allocation and service deployment are organically combined to obtain better network resource allocation and Business deployment strategy. Secondly, the embodiment of the present application can perform the training of the deep reinforcement learning algorithm model in an offline manner. In practical applications, it is only necessary to read the stored service deployment model, which takes a short time. In addition, the embodiment of the present application uses a network slicing architecture, combined with a deep reinforcement learning algorithm, and performs rerouting in a parallel manner, which can improve the time-consuming performance of routing several times.
基于上述实施例的路由方法,下面提出本申请的路由装置的各个实施例。Based on the routing methods of the foregoing embodiments, various embodiments of the routing apparatus of the present application are proposed below.
如图11所示,图11是本申请一个实施例提供的路由装置200的示意图。该路由装置200包括但不限于有请求接收单元210、业务部署单元220、路径确定单元230和路径发送单元240。As shown in FIG. 11 , FIG. 11 is a schematic diagram of a routing apparatus 200 provided by an embodiment of the present application. The routing apparatus 200 includes, but is not limited to, a request receiving unit 210 , a service deploying unit 220 , a path determining unit 230 and a path sending unit 240 .
具体地,请求接收单元210被设置成接收多个第一业务的路由计算请求,路由计算请求携带有第一业务信息;业务部署单元220被设置成针对每个第一业务,根据第一业务信息从多个网络切片中确定第一业务对应的目标网络切片,其中,多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;路径确定单元230被设置成根据第一业务对应的目标网络切片的切片拓扑信息和第一业务信息,确定第一业务在目标网络切片上的第一转发路径信息;路径发送单元240被设置成将第一转发路径信息发送至转发面设备以使转发面设备按照第一转发路径信息转发第一业务。Specifically, the request receiving unit 210 is configured to receive a plurality of routing calculation requests of the first service, and the routing calculation requests carry the first service information; the service deployment unit 220 is configured to, for each first service, according to the first service information The target network slice corresponding to the first service is determined from the multiple network slices, wherein the multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane; the path determination unit 230 is configured to correspond to the first service according to the The slice topology information and the first service information of the target network slice, and determine the first forwarding path information of the first service on the target network slice; the path sending unit 240 is configured to send the first forwarding path information to the forwarding plane device so that the The forwarding plane device forwards the first service according to the first forwarding path information.
另外,关于上述的业务部署单元220,还被设置成将多个网络切片的切片拓扑信息和第一业务信息输入至业务部署模型,以得到第一业务对应的目标网络切片,其中,业务部署模型由多个网络切片的切片拓扑信息和多个第二业务信息训练得到。In addition, regarding the above-mentioned service deployment unit 220, it is also configured to input the slice topology information of multiple network slices and the first service information into the service deployment model, so as to obtain the target network slice corresponding to the first service, wherein the service deployment model It is obtained by training the slice topology information of multiple network slices and multiple second service information.
参照如图11所示,关于上述的路由装置200,当多个网络切片包括第一网络切片和第二网络切片,第一网络切片包括第一链路,第二网络切片包括与第一链路对应的第二链路,则 该路由装置200还包括不限于有动态调整单元250。Referring to FIG. 11 , regarding the above-mentioned routing device 200, when multiple network slices include a first network slice and a second network slice, the first network slice includes a first link, and the second network slice includes a link with the first network slice For the corresponding second link, the routing device 200 further includes, but is not limited to, a dynamic adjustment unit 250 .
具体地,动态调整单元250被设置成当第一链路的带宽小于待路经第一链路的所有第一业务的带宽,将第二链路的空闲带宽转移至第一链路,以使第一链路的带宽大于或等于待路经第一链路的所有第一业务的带宽。Specifically, the dynamic adjustment unit 250 is configured to transfer the idle bandwidth of the second link to the first link when the bandwidth of the first link is smaller than the bandwidth of all the first services to be routed through the first link, so that the The bandwidth of the first link is greater than or equal to the bandwidth of all the first services to be routed through the first link.
参照如图11所示,关于上述的路由装置200,当第一业务包括有第一转发路径信息计算失败的部署失败业务,则该路由装置200还包括不限于有失败业务补算单元260和失败业务路径发送单元270。Referring to FIG. 11 , regarding the above-mentioned routing device 200, when the first service includes a deployment failure service in which the calculation of the first forwarding path information fails, the routing device 200 further includes, but is not limited to, a service compensating unit 260 with a failure and a failure Service path sending unit 270 .
具体地,失败业务补算单元260被设置成根据部署失败业务的第一业务信息,计算出部署失败业务在转发面的物理网络结构上的第二转发路径信息;失败业务路径发送单元270被设置成将第二转发路径信息发送至转发面设备以使转发面设备按照第二转发路径信息转发部署失败业务。Specifically, the failed service compensation unit 260 is configured to calculate the second forwarding path information of the failed service deployment on the physical network structure of the forwarding plane according to the first service information of the failed service deployment; the failed service path sending unit 270 is configured to The second forwarding path information is successfully sent to the forwarding plane device, so that the forwarding plane device forwards the deployment failure service according to the second forwarding path information.
值得注意的是,本申请实施例的路由装置的技术效果,可对应参照上述路由方法的实施例。It should be noted that, for the technical effects of the routing device in the embodiments of the present application, reference may be made to the above-mentioned routing method embodiments.
基于上述路由方法,下面分别提出本申请的控制器和计算机可读存储介质的各个实施例。Based on the above routing method, various embodiments of the controller and the computer-readable storage medium of the present application are respectively proposed below.
另外,本申请的一个实施例提供了一种控制器,该控制器包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。In addition, one embodiment of the present application provides a controller including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
处理器和存储器可以通过总线或者其他方式连接。The processor and memory may be connected by a bus or otherwise.
需要说明的是,本实施例中的控制器,可以对应为包括有如图1所示实施例中的存储器和处理器,能够构成图1所示实施例中的系统架构平台的一部分,两者属于相同的发明构思,因此两者具有相同的实现原理以及有益效果,此处不再详述。It should be noted that the controller in this embodiment may correspond to including the memory and the processor in the embodiment shown in FIG. 1 , and can constitute a part of the system architecture platform in the embodiment shown in FIG. 1 , and the two belong to The same inventive concept, therefore, both have the same realization principle and beneficial effects, and will not be described in detail here.
具体地,本申请实施例的控制器可以为SDN控制器。Specifically, the controller in this embodiment of the present application may be an SDN controller.
实现上述实施例的路由方法或者路由方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例的路由方法,例如,执行以上描述的图2中的方法步骤S100至S400、图3中的方法步骤S500、图5中的方法步骤S600、图6中的方法步骤S710至S720、图7中的方法步骤S801至S810。The non-transitory software programs and instructions required to implement the routing method of the above-mentioned embodiment or the routing method are stored in the memory, and when executed by the processor, the routing method of the above-mentioned embodiment is executed. Method steps S100 to S400 , method step S500 in FIG. 3 , method step S600 in FIG. 5 , method steps S710 to S720 in FIG. 6 , method steps S801 to S810 in FIG. 7 .
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The apparatus embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
此外,本申请的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,当计算机可执行指令用于执行上述的路由方法,例如,执行以上描述的图2中的方法步骤S100至S400、图3中的方法步骤S500、图5中的方法步骤S600、图6中的方法步骤S710至S720、图7中的方法步骤S801至S810。In addition, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, when the computer-executable instructions are used to execute the above routing method, for example, to execute the above description The method steps S100 to S400 in FIG. 2 , the method step S500 in FIG. 3 , the method step S600 in FIG. 5 , the method steps S710 to S720 in FIG. 6 , and the method steps S801 to S810 in FIG. 7 .
本申请实施例包括:控制器接收多个第一业务的路由计算请求,其中,该路由计算请求携带有第一业务信息;接着控制器会针对每个第一业务,根据第一业务信息从多个网络切片中确定第一业务对应的目标网络切片,其中,多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;然后,控制器会根据第一业务对应的目标网络切片的切片拓扑信息和第一业务信息,确定第一业务在目标网络切片上的第一转发路径信息;最后,控制器会将第一转发路径信息发送至转发面设备以使转发面设备按照第一转发路径信息转发第一业务。根据本申请实施例的技术方案,本申请实施例通过将转发面的物理网络结构的网络带宽 进行横向切片,并且网络切片带宽资源彼此间隔离,从而能够并行计算出各个业务的转发路径,因此,本申请实施例在提高网络带宽资源利用率以及保证业务的服务质量的同时,还能够提升业务路由的成功率与耗时性能。The embodiments of the present application include: the controller receives a plurality of route calculation requests of the first service, wherein the route calculation requests carry the first service information; then the controller will, for each first service, select from the plurality of first service information according to the first service information. The target network slice corresponding to the first service is determined from the network slices, wherein multiple network slices have the same physical structure and are obtained by dividing the physical network structure of the forwarding plane; then, the controller will determine the target network slice corresponding to the first service according to the target network slice of the first service. The slicing topology information and the first service information are obtained, and determine the first forwarding path information of the first service on the target network slice; finally, the controller will send the first forwarding path information to the forwarding plane device to make the forwarding plane device follow the first The forwarding path information forwards the first service. According to the technical solutions of the embodiments of the present application, in the embodiments of the present application, the network bandwidth of the physical network structure of the forwarding plane is sliced horizontally, and the bandwidth resources of the network slices are isolated from each other, so that the forwarding paths of each service can be calculated in parallel. Therefore, The embodiments of the present application can improve the utilization rate of network bandwidth resources and ensure the service quality of services, and can also improve the success rate and time-consuming performance of service routing.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包括计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的共享条件下还可作出种种等同的变形或替换,这些等同的变形或替换均包括在本申请权利要求所限定的范围内。The above is a specific description of some implementations of the application, but the application is not limited to the above-mentioned embodiments, and those skilled in the art can make various equivalent deformations or replacements under the shared conditions that do not violate the scope of the application. Equivalent modifications or substitutions are included within the scope defined by the claims of the present application.

Claims (10)

  1. 一种路由方法,包括:A routing method that includes:
    接收多个第一业务的路由计算请求,所述路由计算请求携带有第一业务信息;receiving a plurality of route calculation requests of the first service, where the route calculation requests carry the first service information;
    针对每个所述第一业务,根据所述第一业务信息从多个网络切片中确定所述第一业务对应的目标网络切片,其中,所述多个网络切片具有相同的物理结构并且由转发面的物理网络结构划分得到;For each first service, a target network slice corresponding to the first service is determined from multiple network slices according to the first service information, wherein the multiple network slices have the same physical structure and are forwarded by The physical network structure of the plane is divided;
    根据所述第一业务对应的所述目标网络切片的切片拓扑信息和所述第一业务信息,确定所述第一业务在所述目标网络切片上的第一转发路径信息;determining the first forwarding path information of the first service on the target network slice according to the slice topology information and the first service information of the target network slice corresponding to the first service;
    将所述第一转发路径信息发送至所述转发面设备以使所述转发面设备按照所述第一转发路径信息转发所述第一业务。Sending the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
  2. 根据权利要求1所述的路由方法,其中,所述根据所述第一业务信息从多个网络切片中确定所述第一业务对应的目标网络切片,包括:The routing method according to claim 1, wherein the determining a target network slice corresponding to the first service from a plurality of network slices according to the first service information comprises:
    将多个网络切片的切片拓扑信息和所述第一业务信息输入至业务部署模型,以得到所述第一业务对应的目标网络切片,其中,所述业务部署模型由所述多个网络切片的切片拓扑信息和多个第二业务信息训练得到。Input the slice topology information of multiple network slices and the first service information into the service deployment model to obtain the target network slice corresponding to the first service, wherein the service deployment model is composed of the multiple network slices. The slice topology information and a plurality of second service information are obtained by training.
  3. 根据权利要求1所述的路由方法,其中,所述多个网络切片包括第一网络切片和第二网络切片,所述第一网络切片包括第一链路,所述第二网络切片包括与所述第一链路对应的第二链路,所述路由方法还包括:The routing method according to claim 1, wherein the plurality of network slices include a first network slice and a second network slice, the first network slice includes a first link, and the second network slice includes a The second link corresponding to the first link, the routing method further includes:
    当所述第一链路的带宽小于待路经所述第一链路的所有所述第一业务的带宽,将所述第二链路的空闲带宽转移至所述第一链路,以使所述第一链路的带宽大于或等于待路经所述第一链路的所有所述第一业务的带宽。When the bandwidth of the first link is smaller than the bandwidth of all the first services to be routed through the first link, the idle bandwidth of the second link is transferred to the first link, so that the The bandwidth of the first link is greater than or equal to the bandwidth of all the first services to be routed through the first link.
  4. 根据权利要求1所述的路由方法,其中,当所述第一业务包括有第一转发路径信息计算失败的部署失败业务,所述路由方法还包括:The routing method according to claim 1, wherein, when the first service includes a deployment failure service in which the calculation of the first forwarding path information fails, the routing method further comprises:
    根据所述部署失败业务的第一业务信息,计算出所述部署失败业务在所述转发面的物理网络结构上的第二转发路径信息;calculating, according to the first service information of the deployment failure service, second forwarding path information of the deployment failure service on the physical network structure of the forwarding plane;
    将所述第二转发路径信息发送至所述转发面设备以使所述转发面设备按照所述第二转发路径信息转发所述部署失败业务。The second forwarding path information is sent to the forwarding plane device, so that the forwarding plane device forwards the deployment failure service according to the second forwarding path information.
  5. 根据权利要求1所述的路由方法,其中,所述多个网络切片的带宽均匀设置或者随机设置。The routing method according to claim 1, wherein the bandwidths of the plurality of network slices are set uniformly or randomly.
  6. 根据权利要求1至5任意一项所述的路由方法,其中:所述目标网络切片的切片拓扑信息包括节点信息、链路带宽信息和链路固有时延信息。The routing method according to any one of claims 1 to 5, wherein the slice topology information of the target network slice includes node information, link bandwidth information and link inherent delay information.
  7. 根据权利要求1至5任意一项所述的路由方法,其中:所述第一业务信息包括源点信息、宿点信息和业务带宽信息。The routing method according to any one of claims 1 to 5, wherein: the first service information includes source point information, sink point information and service bandwidth information.
  8. 一种路由装置,包括:A routing device, comprising:
    请求接收单元,被设置成接收多个第一业务的路由计算请求,所述路由计算请求携带有第一业务信息;a request receiving unit, configured to receive a plurality of route calculation requests of the first service, the route calculation requests carrying the first service information;
    业务部署单元,被设置成针对每个所述第一业务,根据所述第一业务信息从多个网络切片中确定所述第一业务对应的目标网络切片,其中,所述多个网络切片具有相同的物理结构 并且由转发面的物理网络结构划分得到;A service deployment unit is configured to, for each of the first services, determine a target network slice corresponding to the first service from multiple network slices according to the first service information, wherein the multiple network slices have The same physical structure and is divided by the physical network structure of the forwarding plane;
    路径确定单元,被设置成根据所述第一业务对应的所述目标网络切片的切片拓扑信息和所述第一业务信息,确定所述第一业务在所述目标网络切片上的第一转发路径信息;A path determination unit, configured to determine a first forwarding path of the first service on the target network slice according to the slice topology information of the target network slice corresponding to the first service and the first service information information;
    路径发送单元,被设置成将所述第一转发路径信息发送至所述转发面设备以使所述转发面设备按照所述第一转发路径信息转发所述第一业务。A path sending unit, configured to send the first forwarding path information to the forwarding plane device, so that the forwarding plane device forwards the first service according to the first forwarding path information.
  9. 一种控制器,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至7中任意一项所述的路由方法。A controller, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, when the processor executes the computer program, the implementation of claims 1 to 7 The routing method described in any of the above.
  10. 一种计算机可读存储介质,存储有计算机可执行指令,其中,所述计算机可执行指令用于执行如权利要求1至7中任意一项所述的路由方法。A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the routing method according to any one of claims 1 to 7.
PCT/CN2021/134526 2021-02-04 2021-11-30 Routing method, routing apparatus, controller and computer-readable storage medium WO2022166348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110153959.9A CN114938327A (en) 2021-02-04 2021-02-04 Routing method, routing device, controller and computer readable storage medium
CN202110153959.9 2021-02-04

Publications (1)

Publication Number Publication Date
WO2022166348A1 true WO2022166348A1 (en) 2022-08-11

Family

ID=82741847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134526 WO2022166348A1 (en) 2021-02-04 2021-11-30 Routing method, routing apparatus, controller and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114938327A (en)
WO (1) WO2022166348A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695280A (en) * 2022-09-06 2023-02-03 中国电信股份有限公司 Routing method and device based on edge node, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212932A1 (en) * 2005-01-10 2006-09-21 Robert Patrick System and method for coordinating network incident response activities
CN110461027A (en) * 2018-05-07 2019-11-15 华为技术有限公司 A kind of network slice selection method and device
CN110881207A (en) * 2019-10-31 2020-03-13 华为技术有限公司 Network slice selection method and related product
CN111416730A (en) * 2019-01-08 2020-07-14 三星电子株式会社 Management apparatus and method for controlling end-to-end network in wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212932A1 (en) * 2005-01-10 2006-09-21 Robert Patrick System and method for coordinating network incident response activities
CN110461027A (en) * 2018-05-07 2019-11-15 华为技术有限公司 A kind of network slice selection method and device
CN111416730A (en) * 2019-01-08 2020-07-14 三星电子株式会社 Management apparatus and method for controlling end-to-end network in wireless communication system
CN110881207A (en) * 2019-10-31 2020-03-13 华为技术有限公司 Network slice selection method and related product

Also Published As

Publication number Publication date
CN114938327A (en) 2022-08-23

Similar Documents

Publication Publication Date Title
CN110505099B (en) Service function chain deployment method based on migration A-C learning
JP7417825B2 (en) slice-based routing
US9871730B2 (en) Network element configured to operate in an information centric network
CN112822050A (en) Method and apparatus for deploying network slices
WO2021218718A1 (en) Method and device for determining function and information provision of user plane, and medium
CN109151077B (en) Calculation unloading method based on target guidance
US20210006459A1 (en) Network and Method for Servicing a Computation Request
Gong et al. A fuzzy delay-bandwidth guaranteed routing algorithm for video conferencing services over SDN networks
US20160269297A1 (en) Scaling the LTE Control Plane for Future Mobile Access
AU2015230738A1 (en) Utility-based cross layering
EP3767886B1 (en) Cluster oriented dynamic routing
CN113328953B (en) Method, device and storage medium for network congestion adjustment
WO2022166348A1 (en) Routing method, routing apparatus, controller and computer-readable storage medium
CN112087382B (en) Service routing method and device
WO2017133587A1 (en) Traffic engineering method for use in communication network, and controller
EP3063969B1 (en) System and method for traffic engineering using link buffer status
WO2021083228A1 (en) Message forwarding method, device, and computer storage medium
CN115914078A (en) Message forwarding method and device and dragonfly network
US20230069626A1 (en) Traffic monitoring method, related device, and system
CN113852554B (en) Data transmission method, device and equipment
Xiao et al. A sub-action aided deep reinforcement learning framework for latency-sensitive network slicing
US11012378B2 (en) Methods and apparatus for shared buffer allocation in a transport node
CN109450809B (en) Data center scheduling system and method
Sarddar et al. A novel approach on weight based optimized routing for mobile cloud computing
KR101627625B1 (en) Multi-protocol routing system and method driven by application and network in convergence

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21924343

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 11/12/2023)