WO2023116449A1 - 一种控制网络切片状态的方法及相关设备 - Google Patents

一种控制网络切片状态的方法及相关设备 Download PDF

Info

Publication number
WO2023116449A1
WO2023116449A1 PCT/CN2022/137542 CN2022137542W WO2023116449A1 WO 2023116449 A1 WO2023116449 A1 WO 2023116449A1 CN 2022137542 W CN2022137542 W CN 2022137542W WO 2023116449 A1 WO2023116449 A1 WO 2023116449A1
Authority
WO
WIPO (PCT)
Prior art keywords
slice
network
bandwidth
network slice
value
Prior art date
Application number
PCT/CN2022/137542
Other languages
English (en)
French (fr)
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
Priority claimed from CN202210259509.2A external-priority patent/CN116389263A/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023116449A1 publication Critical patent/WO2023116449A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/26Resource reservation

Definitions

  • the present application relates to the field of communication technologies, and in particular to a method and related equipment for controlling the state of network slices.
  • Services carried by tunnels require sufficient resource guarantees. Therefore, multiple slices are usually deployed on interfaces of network devices, and sufficient resources are reserved for each slice.
  • the traffic carries a slice identity (slice ID), and the network device uses the resources reserved for the slice to forward the traffic, thereby ensuring the service quality of the traffic.
  • slice ID slice identity
  • the network device uses the resources reserved for the slice to forward the traffic, thereby ensuring the service quality of the traffic.
  • the resources reserved on the slice will be idle for a long time, resulting in low utilization of network resources.
  • the embodiments of the present application provide a method and related equipment for controlling the state of network slices, which can improve the utilization rate of network resources by flexibly controlling the state of network slices.
  • the embodiment of the present application provides a method for controlling the state of a network slice, the method is applied to a first network device, and the method may include, for example: after the first network device receives the first message belonging to the first network slice , in response to receiving the first packet, switching the state of the first network slice from the inactive state to the active state, and introducing the first packet into the first network slice in the active state.
  • the inactive state indicates that the first network slice is allowed to carry traffic that does not carry a slice identifier, and the value of the slice-specific bandwidth of the first network slice is smaller than the value of the required bandwidth
  • the activation state indicates that the first network slice A network slice is not allowed to carry traffic that does not carry a slice identifier, and the value of the slice-dedicated bandwidth of the first network slice is equal to the value of the required bandwidth, and the slice-dedicated bandwidth is dedicated to the first network slice The bandwidth for carrying traffic carrying the first slice identifier.
  • the active state and the inactive state are set for the network slice, and the state of the network slice is defaulted to the inactive state when the network slice deployment is completed, allowing the first network slice to carry traffic that does not carry the slice identifier.
  • the traffic of the network slice triggers the network device to switch the state of the network slice from the inactive state to the active state. It is defined that the network slice in the active state is only allowed to carry the traffic carrying the slice identifier of the network slice. In this way, on the network device After a network slice is deployed, even if there is no traffic of the network slice in the network slice, the network slice will not monopolize a large bandwidth according to the value of the required bandwidth.
  • the network slice Network slicing Only when there is traffic of the network slice in the slice network, the network slice Network slicing will occupy bandwidth according to the value of its own required bandwidth to ensure the quality of service provided by network slicing, which greatly improves the resource utilization in the slicing network.
  • the method may further include: the first network device acquires a slice of the first network slice information; the first network device configures the first network slice according to the slice information; the first network device determines the state of the first network slice as the inactive state.
  • the slice information includes at least one of the following information: the first slice identifier, the required bandwidth, interface information and priority information.
  • the newly deployed first network slice is determined to be in an inactive state, and the inactive state is defined as the first network slice allowing traffic that does not carry a slice identifier, and the value of the slice-dedicated bandwidth of the first network slice is less than the requirement The value of bandwidth improves the utilization of network resources.
  • the value of the slice-specific bandwidth is 0.
  • the first network device configuring the first network slice according to the slice information includes: the first network device configuring the first network slice according to the slice information, but not configuring the first network slice for the first network The slice allocates slice-dedicated bandwidth; then, the first network device switches the state of the first network slice from the inactive state to the active state, including: the first network device allocates slice-dedicated bandwidth for the first network slice Bandwidth, the value of the allocated slice-specific bandwidth is equal to the value of the required bandwidth of the first network slice. In this way, after the first network slice is deployed, the first network device does not need to deduct the required bandwidth of the first network slice from the total bandwidth, and the first network device can have more sufficient bandwidth to process other packets.
  • the first network device When the packet of the network slice arrives at the first network device, the first network device deducts the required bandwidth of the first network slice from the total bandwidth, and uses it as the dedicated bandwidth of the first network slice to ensure the services provided on the first network slice quality.
  • no scheduling queue also called a cache queue
  • the first network device Compared with the allocation of general bandwidth by the first network slice, the first network device only establishes the scheduling queue corresponding to the first network slice when it receives the packet of the first network slice.
  • the scheduling queue corresponding to the first network slice cannot contain packets that do not carry the slice identifier, so when processing the traffic of the first network slice, there is no need to wait for the scheduling queue to process other packets that do not carry the slice identifier message.
  • the first network device configuring the first network slice according to the slice information includes: the first network device allocating a general bandwidth for the first network slice, and setting the allocated general bandwidth It is allowed to carry traffic that does not carry a slice identifier, and the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice; then, the first network device switches the state of the first network slice from an inactive state
  • the activation state includes: the first network device setting the allocated general bandwidth as the slice-specific bandwidth of the first network slice.
  • the general bandwidth can be used by the first network device to carry For the traffic identified by the slice, until a packet of the first network slice arrives at the first network device, the first network device only needs to set the general bandwidth as the slice-specific bandwidth to ensure the quality of service provided on the first network slice.
  • the first network device after the first network slice is configured on the first network device, there is a scheduling queue corresponding to the first network slice, and the first network device only allocates a slice dedicated Compared with bandwidth, the first network device does not need to establish the scheduling queue corresponding to the first network slice when it receives the message of the first network slice, and can guide the message of the first network slice to the corresponding queue of the first network slice in a more timely manner. dispatch queue.
  • the value of the slice-specific bandwidth is N times the required bandwidth, where N is greater than 0 and less than 1.
  • the configuration of the first network slice by the first network device according to the slice information includes: the first network device allocates slice-dedicated bandwidth to the first network slice, and the allocated slice-dedicated bandwidth is The value is equal to the N times the value of the required bandwidth of the first network slice; then, the first network device switches the state of the first network slice from an inactive state to an active state, including: the first network slice A network device modifies the value of the slice-specific bandwidth allocated to the first network slice, and the modified value of the slice-dedicated bandwidth is equal to the value of the required bandwidth of the first network slice.
  • the first network device does not need to establish a scheduling queue for the first network slice when the packets of the first network slice arrive at the first network slice.
  • the device can introduce the traffic of the first network slice into the scheduling queue in time, and the first network device can deduct N times (for example, 0.1 times) of the required bandwidth of the first network slice from the total bandwidth as the dedicated bandwidth of the slice.
  • the value of the dedicated bandwidth is the value of the required bandwidth, that is, continue to allocate bandwidth (1-N) times the required bandwidth for the first network slice, and together with the slice dedicated bandwidth allocated in the configuration of the first network slice, constitute the first network slice new Slice dedicated bandwidth guarantees the quality of service provided on the first network slice.
  • the first network device configuring the first network slice according to the slice information includes: the first network device allocating a general bandwidth for the first network slice, and setting the allocated general bandwidth The bandwidth other than the N times of the general bandwidth is allowed to bear traffic that does not carry the slice identifier, and the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice; then, the first network device Switching the state of the first network slice from the inactive state to the active state includes: the first network device setting the allocated general bandwidth as the slice-specific bandwidth of the first network slice.
  • the general bandwidth is divided into two parts: N times the general bandwidth and (1-N) times of the general bandwidth, allowing (1-N) times of the general bandwidth to carry traffic that does not carry a slice identifier, and the remaining N times of bandwidth is the slice-specific bandwidth of the first network slice, allowing only the first network Sliced traffic usage; until a message from the first network slice reaches the first network device, the first network device only needs to set the full amount of the general bandwidth as the dedicated bandwidth of the slice to ensure the quality of service provided on the first network slice.
  • This example improves the utilization rate of network resources compared with the fact that only the traffic of the first network slice is allowed to be used after the required bandwidth of the first network slice is allocated.
  • the method may further include: the first network device determines that no traffic carrying the first slice identifier has been received for a preset period of time, then changing the state of the first network slice from the activated state to Switch to the inactive state.
  • the state of the network slice is switched to an inactive state, allowing all of the network slices to Or part of the required bandwidth is temporarily used by traffic that does not carry a slice identifier until traffic belonging to the network slice reappears, improving the utilization of network resources.
  • the present application also provides an apparatus for controlling a network slice state, which is applied to a first network device, and the apparatus may include: a receiving unit, a switching unit, and an importing unit.
  • the receiving unit is configured to receive the first message carrying the first slice identifier, and the first slice identifier indicates the first network slice
  • the switching unit is configured to switch the The state of the first network slice is switched from the inactive state to the active state, wherein the inactive state indicates that the first network slice allows traffic not carrying a slice identifier and the slice-dedicated bandwidth of the first network slice is The value is less than the value of the required bandwidth
  • the activation state indicates that the first network slice is not allowed to carry traffic that does not carry the slice identifier
  • the value of the slice-dedicated bandwidth of the first network slice is equal to the value of the required bandwidth
  • the slice-dedicated bandwidth is a bandwidth dedicated to carrying traffic carrying the first slice identifier by the first network slice
  • an importing unit is configured to import the first packet into
  • the apparatus may further include: an acquiring unit, a configuring unit, and a determining unit.
  • the acquiring unit is configured to acquire the slice information of the first network slice before receiving the first message carrying the first slice identifier;
  • the configuring unit is configured to configure the first network slice according to the slice information A slice;
  • a determining unit configured to determine the state of the first network slice as the inactive state.
  • the value of the slice-specific bandwidth is 0.
  • the configuration unit is specifically configured to: configure the first network slice according to the slice information, but does not allocate slice-specific bandwidth to the first network slice; then, the switching unit, It is specifically used for: allocating slice-specific bandwidth for the first network slice, where the value of the allocated slice-dedicated bandwidth is equal to the value of the required bandwidth of the first network slice.
  • the configuration unit is specifically configured to: allocate a general bandwidth for the first network slice, and set the allocated general bandwidth to allow traffic that does not carry a slice identifier, and the value of the general bandwidth is equal to the The value of the required bandwidth of the first network slice; then, the switching unit is specifically configured to: set the allocated general bandwidth as the slice-specific bandwidth of the first network slice.
  • the value of the slice-specific bandwidth is N times the required bandwidth, where N is greater than 0 and less than 1.
  • the configuration unit is specifically configured to: allocate slice-specific bandwidth for the first network slice, and the value of the allocated slice-specific bandwidth is equal to the value of the required bandwidth of the first network slice N times; then, the switching unit is specifically configured to: modify the value of the slice-dedicated bandwidth allocated for the first network slice, and the value of the modified slice-dedicated bandwidth is equal to the requirement of the first network slice The value of the bandwidth.
  • the configuration unit is specifically configured to: allocate a general bandwidth for the first network slice, and set bandwidth other than the N times of the general bandwidth in the allocated general bandwidth to allow the bearer not to carry For traffic identified by a slice, the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice; then, the switching unit is specifically configured to: set the allocated general bandwidth as the value of the first network slice Slice dedicated bandwidth.
  • the slice information includes at least one of the following information: the first slice identifier, the required bandwidth, interface information, and priority information.
  • the switching unit is further configured to: determine that the traffic carrying the first slice identifier has not been received for a preset period of time, then switch the state of the first network slice from the activated state for the inactive state.
  • the present application provides a network device, the network device includes a processor and a memory, the memory is used to store instructions or program codes, and the processor is used to call and run the instructions or program codes from the memory to execute the first The method in one aspect or any possible implementation of the first aspect.
  • the present application provides a computer-readable storage medium, which is characterized in that it includes instructions, programs or codes, which, when executed on a computer, cause the computer to execute any one of the first aspect or the first aspect.
  • the described method in a possible implementation.
  • the present application provides a computer program product, which, when the computer program product runs on a network device, causes the network device to execute all the above-mentioned first aspect or any possible implementation of the first aspect. described method.
  • FIG. 1 is a schematic flowchart of a method 100 for controlling the state of network slices in the present application
  • FIG. 2 is a schematic flowchart of another method 100 for controlling the state of network slicing in the present application
  • FIG. 3 is a schematic structural diagram of an apparatus 200 for controlling the state of network slicing in the present application
  • FIG. 4 is a schematic structural diagram of a network device 400 in the present application.
  • FIG. 5 is a schematic structural diagram of another network device 500 in the present application.
  • network slices when network slices are deployed on network devices in sliced networks, they are usually deployed based on slice information, including: configuring network slices based on slice identifiers, interface information, and priority information, and assigning a value equal to the value of the network slice to the network slice.
  • slice information including: configuring network slices based on slice identifiers, interface information, and priority information, and assigning a value equal to the value of the network slice to the network slice.
  • Slice dedicated bandwidth that requires bandwidth. For example, for deploying the first network slice on the network device, the network device can obtain the first slice information of the first network slice.
  • the first slice information can be manually configured on the network device, or it can be a network management or control entity If the device sends it to the network device, it is assumed that the first slice information includes: the required bandwidth of the first network slice is 100 megabits per second (Mbps), the slice ID of the first network slice is slice ID 1, and the interface information indicates interface 1 , the priority information indicates a high priority, then the process of deploying the first network slice by the network device may include: S11, the network device configures the first network slice according to the slice identifier, interface information and priority information in the first slice information, Specifically, it may include: the network device sets the slice ID of the first network slice as slice ID 1, and the first network slice is a high-priority network slice on interface 1; S12, the network device, according to the required bandwidth in the first slice information, is The first network slice allocates slice-dedicated bandwidth equal to the required bandwidth, that is, the first network device allocates 100 Mbps slice-dedicated bandwidth to the first network slice. So far, the network device has completed the deployment
  • the network device will allocate enough bandwidth resources for the network slice to meet the bandwidth requirements of the network slice. This part of the bandwidth allocated to the network slice Can only be used by traffic belonging to that network slice, not by other traffic. However, in many cases, after the network slice is deployed, there may be no traffic belonging to the network device slice in the sliced network for a long time, and the bandwidth allocated for the network slice on the network device will be idle for a long time, resulting in low utilization of network resources. .
  • the network slice on the backup path has no traffic transmission, and the bandwidth allocated by the network slice on the backup path has been idle;
  • the network slice may not be used until the deployment of the entire network is completed, that is, the bandwidth allocated for the network slice is always idle between the completion of the deployment of the network slice and the completion of the deployment of the entire network.
  • an active state and an inactive state are set for the network slice, and the utilization rate of network resources is improved by flexibly controlling the state of the network slice.
  • the method provided in this embodiment of the present application may include, for example: when deploying the first network slice on the first network device, the first network slice is in an inactive state, and the inactive state indicates that the first network slice allows bearer The traffic carrying the slice identifier, and the value of the slice-specific bandwidth of the first network slice is smaller than the value of the required bandwidth, and the slice-specific bandwidth is dedicated to carrying the traffic carrying the first slice identifier by the first network slice bandwidth; when the first network device receives the first message belonging to the first network slice, the first network device switches the state of the first network slice from the inactive state to the active state according to the first message, and The first message introduces the first network slice, and the activation state indicates that the first network slice is not allowed to carry traffic that does not carry a slice identifier, and the value of the slice-dedicated bandwidth
  • the active state and the inactive state are set for the network slice, and the state of the network slice is defaulted to the inactive state when the network slice deployment is completed, allowing the first network device to carry The traffic belonging to the network slice triggers the network device to switch the state of the network slice from the inactive state to the active state.
  • the network slice in the active state is only allowed to carry the traffic carrying the slice identifier of the network slice, so , after the network slice is deployed on the network device, even if there is no traffic of the network slice in the slice network, the network slice will not monopolize a larger bandwidth according to the value of its own required bandwidth, only the network slice exists in the slice network When there is a lot of traffic, the network slice will occupy the bandwidth according to the value of the required bandwidth to ensure the quality of service provided by the network slice, which greatly improves the resource utilization in the slice network.
  • Network slicing refers to the technology of separating multiple virtual end-to-end networks on the basis of network topology to realize on-demand networking.
  • Each virtual end-to-end network can be called a network slice, and the separated network can be called a slice network.
  • a virtual transport network (Virtual Transport Network, VTN) is a network slicing technology that can reserve sufficient resources for each VTN slice according to the resource requirements of the VTN slice, so that by carrying the VTN identifier (VTN ID or Slice ID), so that the network device uses the resources reserved for the slice corresponding to the VTN ID or Slice ID to forward the message, ensuring that the processing of the message can meet the resource requirements of the service, so that the corresponding The service quality of the business is guaranteed.
  • the resource may include bandwidth and scheduling priority, and in this embodiment of the application, the resource is bandwidth as an example for illustration.
  • the inactive state in this embodiment of the present application only limits that the first network slice is allowed to carry traffic that does not carry the slice identifier, and corresponds to whether the first network slice is allowed to carry traffic belonging to other networks other than the first network slice.
  • the traffic of the slice is not clearly defined in the definition of the inactive state. It is understandable that different network slices are isolated from each other, and each network slice should be guaranteed to have a bandwidth that meets the bandwidth requirements of the network slice when there is traffic belonging to the network slice.
  • the original intention of slicing networks is that the first network slice cannot allow traffic carrying the slice identifiers of other network slices.
  • the network device in the embodiment of the present application may refer to a communication device with a packet forwarding function, such as a switch, a router, a virtual routing device, or a virtual forwarding device.
  • a packet forwarding function such as a switch, a router, a virtual routing device, or a virtual forwarding device.
  • FIG. 1 is a schematic flowchart of a method 100 for controlling a network slice state provided by an embodiment of the present application.
  • the method 100 can be implemented by any network device in the sliced network.
  • FIG. 1 is described by taking the implementation of the method 100 by the first network device in the sliced network as an example.
  • the method 100 may include, for example, the following S101-S103:
  • the first network device receives a first packet carrying a first slice identifier, where the first slice identifier indicates a first network slice.
  • the first network device switches the state of the first network slice from the inactive state to the active state according to the first packet, where the inactive state indicates that the first network slice allows the bearer not to carry slice-identified traffic, and the slice-dedicated bandwidth value of the first network slice is less than the required bandwidth value, the activation state indicates that the first network slice is not allowed to carry traffic that does not carry a slice identifier, and the first network slice A value of the slice-dedicated bandwidth of the network slice is equal to a value of the required bandwidth, and the slice-dedicated bandwidth is a bandwidth dedicated to carrying traffic carrying the first slice identifier by the first network slice.
  • the method 100 may further include: S10a, the first network device obtains slice information of the first network slice; S10b, the first network device configures the slice information according to the slice information. The first network slice; S10c, the first network device determines the state of the first network slice as an inactive state.
  • the slice information of the first network slice may refer to related information required by the first network device to deploy the first network slice.
  • the slice information of the first network slice may include one or more of the following information: the first slice identifier, the required bandwidth, interface information, and priority information.
  • the first slice identifier is used to identify the first network slice
  • the interface information indicates the corresponding interface of the first network slice on the first network device
  • the priority information indicates the priority of the first network slice
  • the required bandwidth indicates the guarantee of the first network slice.
  • the quality of service provided by the network slice refers to the minimum bandwidth occupied by the traffic of the first network slice.
  • the slice information of the first network slice may include: Slice ID 1, 100Mbps, interface 1, and high priority, and the slice information is used to instruct the first network device to configure the first network whose slice ID is Slice ID 1 on interface 1. Slicing, the priority of the first network slice on the network device is high priority, and the required bandwidth of the first network slice is 100 Mbps, that is, the dedicated bandwidth of the slice when the first network slice is activated is at least 100 Mbps.
  • the slice-dedicated bandwidth refers to the bandwidth dedicated to transmitting the traffic of a certain network slice in the bandwidth of the network device.
  • the slice-dedicated bandwidth of the first network slice may refer to the bandwidth dedicated to transmitting the traffic of the first network slice .
  • S10a may manually configure the slice information of the first network slice on the first network device, so that the first network device obtains the manually configured slice information of the first network device; or, S10a may also be a control entity Or the network manager or the like sends the slice information of the first network device to the first network device, so that the first network device receives the slice information of the first network device sent by the control entity or the network manager or the like.
  • the first network device configures the first network slice according to the slice information of the first network slice obtained in S10a, there may be many different implementations, for example, the first network device only configures the first network slice based on the slice information slicing, without allocating slice-dedicated bandwidth to the first network device (it can also be understood that the allocated slice-dedicated bandwidth is 0); for another example, the first network device configures the first network slice based on slice information, and allocates General bandwidth, the value of the general bandwidth may be less than the value of the required bandwidth of the first network slice (such as equal to 10% or 0.1 times of the value of the required bandwidth of the first network slice), and the general bandwidth is regarded as the value of the first network slice Slice dedicated bandwidth; or, the value of the general bandwidth can also be equal to the value of the required bandwidth of the first network slice, but the value of the dedicated bandwidth of the first network slice is equal to 0 or equal to 10% of the value of the passed bandwidth in the inactive state or 0.1 times.
  • the first network device may set the state of the first network slice to an inactive state.
  • the first network device may set an indicator for each network slice to identify its state
  • S10c may include: the first network device sets the indicator for the first network slice, so that the indicator indicates the first network slice status is inactive.
  • the first network device may also set the permissions of the active state and the inactive state of the first network slice and the operations to be performed as different policies, and the state of the newly configured network slice is the inactive state by default.
  • S10c may include: the first network device setting a policy corresponding to the inactive state of the first network slice.
  • the first network device deploys the first network slice, and the state of the first network slice is inactive, and the inactive state indicates that the first network slice is allowed to bear the traffic that does not carry the slice identifier, And the value of the slice-specific bandwidth of the first network slice is smaller than the value of the required bandwidth.
  • the value of the dedicated bandwidth of the first network slice is smaller than the value of the required bandwidth, and the first network slice is allowed to bear the traffic that does not carry the slice identifier when the deployment is completed, compared to Currently, when network slicing is deployed, the dedicated bandwidth equal to the required bandwidth is allocated to the network slicing, which greatly improves the utilization of network resources.
  • the state of the first network slice when the deployment is completed, the state of the first network slice is inactive, and the state is switched from the inactive state to the active state in response to receiving the traffic of the first network slice.
  • the first network device executes S102 in response to receiving the first message carrying the first slice identifier, that is, the first network device switches the state of the first network slice from the inactive state to An activated state, wherein the first slice identifier indicates the first network slice.
  • the implementation manners of S102 when the state of the first network slice is inactive, the value of the slice-dedicated bandwidth of the first network slice is 0.
  • the implementation manners of S102 are also different, for details, refer to the following examples.
  • S10b may include: the first network device configures the first network slice according to slice information of the first network slice, but does not allocate slice-specific bandwidth to the first network slice; then, S102 may include: the first network device configures the first network slice for the first network slice.
  • a network slice allocates slice-specific bandwidth, and the value of the allocated slice-specific bandwidth is equal to the value of the required bandwidth of the first network slice.
  • the first network device may record the value of the required bandwidth of the first network slice after S10a, and allocate slice-specific bandwidth equal to the value of the required bandwidth of the first network slice to the first network slice during execution of S102.
  • the first network device does not need to deduct the required bandwidth of the first network slice from the total bandwidth, and the first network device can have more sufficient bandwidth to process other packets.
  • the first network device deducts the required bandwidth of the first network slice from the total bandwidth, and uses it as the dedicated bandwidth of the first network slice to ensure the services provided on the first network slice quality.
  • the first network device does not establish a scheduling queue (also called a cache queue) corresponding to the first network slice, which is different from the first network device allocating general bandwidth for the first network slice when S10b is executed.
  • the first network device only establishes the scheduling queue corresponding to the first network slice when it receives the packets of the first network slice, but the packets imported into the scheduling queue of the first network slice are all the traffic of the first network slice , the scheduling queue corresponding to the first network slice cannot contain packets that do not carry the slice identifier, so that when processing the traffic of the first network slice, there is no need to wait for the scheduling queue to process other packets that do not carry the slice identifier.
  • S10b may include: the first network device allocates a general bandwidth for the first network slice, and sets the allocated general bandwidth to allow traffic not carrying a slice identifier, and the value of the general bandwidth is equal to that of the first network slice.
  • the value of the required bandwidth of the slice then, S102 may include: the first network device setting the allocated general bandwidth as the slice-specific bandwidth of the first network slice.
  • the general bandwidth can be used by the first network device to carry For the traffic identified by the slice, until a packet of the first network slice arrives at the first network device, the first network device only needs to set the general bandwidth as the slice-specific bandwidth to ensure the quality of service provided on the first network slice.
  • the scheduling queue corresponding to the first network slice exists on the first network device after S10b.
  • the first network device does not need to establish the scheduling queue corresponding to the first network slice when receiving the packet of the first network slice, and can guide the packet of the first network slice to the scheduling queue corresponding to the first network slice in a more timely manner.
  • the value of the slice-specific bandwidth of the first network slice is N times the required bandwidth, where N is greater than 0 and less than 1.
  • the first network device does not need to establish the scheduling queue corresponding to the first network
  • the packets of the network slice are guided to the scheduling queue corresponding to the first network slice, and there is no unprocessed traffic not carrying the slice identifier in the scheduling queue, and the packets of the first network slice can be processed quickly.
  • the implementation manners of S102 are also different, for details, refer to the following examples.
  • S10b may include: the first network device allocates slice-dedicated bandwidth to the first network slice, and the value of the allocated slice-dedicated bandwidth is equal to the N times the value of the required bandwidth of the first network slice; then, S102 may include: the first network device modifies the value of the slice-specific bandwidth allocated to the first network slice, and the modified value of the slice-dedicated bandwidth is equal to the value of the required bandwidth of the first network slice. In this way, after the first network slice is deployed, the first network device does not need to establish a scheduling queue for the first network slice when the packets of the first network slice arrive at the first network slice.
  • the device can introduce the traffic of the first network slice into the scheduling queue in time, and the first network device can deduct N times (for example, 0.1 times) of the required bandwidth of the first network slice from the total bandwidth as the dedicated bandwidth of the slice. Deduct the required bandwidth of the first network slice, so that the first network device can have more sufficient bandwidth to process other packets; until a packet of the first network slice reaches the first network device, the first network device modifies the slice
  • the value of the dedicated bandwidth is the value of the required bandwidth, that is, continue to allocate bandwidth (1-N) times the required bandwidth for the first network slice, and together with the slice dedicated bandwidth allocated in S10b, constitute a new slice dedicated bandwidth for the first network slice , guaranteeing the quality of service provided on the first network slice.
  • S10b may include: the first network device allocates a general bandwidth to the first network slice, and sets a bandwidth other than the N times (for example, 0.1 times) of the general bandwidth in the allocated general bandwidth It is allowed to carry traffic that does not carry a slice identifier, and the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice; then, S102 may include: the first network device sets the allocated general bandwidth to the first Slice-specific bandwidth for network slices.
  • the general bandwidth is divided into two parts: N times the general bandwidth and (1-N) times of the general bandwidth, allowing (1-N) times of the general bandwidth to carry traffic that does not carry a slice identifier, and the remaining N times of bandwidth is the slice-specific bandwidth of the first network slice, allowing only the first network Sliced traffic usage; until a message from the first network slice reaches the first network device, the first network device only needs to set the full amount of the general bandwidth as the dedicated bandwidth of the slice to ensure the quality of service provided on the first network slice.
  • This example improves the utilization rate of network resources compared with the fact that only the traffic of the first network slice is allowed to be used after the required bandwidth of the first network slice is allocated.
  • the sum of the required bandwidth of all network slices deployed on the interface of the first network device should be less than or equal to the physical bandwidth of the interface, so as to ensure that the required bandwidth of all network slices deployed on the interface can be met.
  • the quality of service provided by each network slice can be guaranteed.
  • S102 may include: the first network device sets the indication flag of the first network slice, so that the indication flag indicates that the state of the first network slice is an active state .
  • the indication flag of the first network slice 1, indicating that the state of the first network slice is active
  • the first network device executes
  • the relevant operations of S102 in each of the foregoing examples can be regarded as the state of the first network device being an active state.
  • S10b includes: the first network device allocates a general bandwidth for the first network slice, and sets bandwidth other than the N times (for example, 0.1 times) of the general bandwidth in the allocated general bandwidth to allow the bearer not to carry For the traffic identified by the slice, if the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice, then in S102 "the first network device sets the allocated general bandwidth as the value of the first network slice
  • the slice-dedicated bandwidth is equivalent to switching the state of the first network slice from the inactive state to the active state by the first network device.
  • the first network device steers the first packet into the first network slice.
  • S103 may include: the first network device guides the first packet into the scheduling queue corresponding to the first network slice, and the first network device processes all packets belonging to the first network slice in the scheduling queue (including the first message).
  • the traffic of the network slice may not continue to appear in the slice network. Then, if the network slice is always active once there is traffic, occupying the dedicated bandwidth of the slice equal to the required bandwidth, it still exists.
  • the method 100 provided by the embodiment of the present application may further include: the first network device determines that the traffic carrying the first slice identifier has not been received for a preset period of time (such as 5 minutes), and then sends the first The state of the network slice is switched from the active state to the inactive state.
  • the method 100 provided by the embodiment of the present application may further include: the first network device may also switch the state of the first network slice from the activated state at a preset time (such as 10:01 am every day) for the inactive state.
  • the state of the network slice is switched to an inactive state, allowing all or part of the required bandwidth of the network slice to be temporarily used by traffic that does not carry the slice identifier. Use until the traffic belonging to the network slice reappears to improve the utilization of network resources.
  • At least one network slice can be deployed on the interface of the first network device, and each network slice can be used as the first network slice in the method 100, and the method 100 can be executed To control the state of network slicing, thereby improving the utilization of network resources.
  • an active state and an inactive state are set for the network slice, and the default state of the network slice is the inactive state when the network slice is deployed, and the first network slice is allowed to carry traffic that does not carry a slice identifier.
  • the traffic belonging to the network slice triggers the network device to switch the state of the network slice from the inactive state to the active state. It is defined that the network slice in the active state is only allowed to carry the traffic carrying the slice identifier of the network slice. In this way, in the network device After the network slice is deployed on the network, even if there is no traffic of the network slice in the slice network, the network slice will not monopolize a large bandwidth according to the value of its own required bandwidth.
  • the network slicing will occupy the bandwidth according to the value of its own required bandwidth to ensure the service quality provided by the network slicing, which greatly improves the resource utilization rate in the slicing network.
  • the embodiment of the present application also provides an apparatus 300 for controlling a state of a network slice, and the apparatus 300 is applied to a first network device, as shown in FIG. 3 .
  • the apparatus 300 may include: a receiving unit 301 , a switching unit 302 and an introducing unit 303 . in:
  • the receiving unit 301 is configured to receive a first message carrying a first slice identifier, where the first slice identifier indicates a first network slice.
  • the receiving unit 301 may execute S101 shown in FIG. 1 .
  • a switching unit 302 configured to switch the state of the first network slice from an inactive state to an active state according to the first packet, where the inactive state indicates that the first network slice allows bearers not to carry slice-identified traffic, and the slice-dedicated bandwidth value of the first network slice is less than the required bandwidth value, the activation state indicates that the first network slice is not allowed to carry traffic that does not carry a slice identifier, and the first network slice A value of the slice-dedicated bandwidth of the network slice is equal to a value of the required bandwidth, and the slice-dedicated bandwidth is a bandwidth dedicated to carrying traffic carrying the first slice identifier by the first network slice.
  • the switching unit 302 may execute S102 shown in FIG. 1 .
  • the importing unit 303 is configured to import the first packet into the first network slice.
  • the importing unit 303 may execute S103 shown in FIG. 1 .
  • the apparatus 300 may further include: an acquiring unit, a configuring unit, and a determining unit. in:
  • the obtaining unit is configured to obtain the slice information of the first network slice before receiving the first message carrying the first slice identifier.
  • the acquiring unit may execute S10a shown in FIG. 2 .
  • a configuring unit configured to configure the first network slice according to the slice information.
  • the configuration unit can execute S10b shown in FIG. 2 .
  • a determining unit configured to determine the state of the first network slice as the inactive state.
  • the determining unit may execute S10c shown in FIG. 2 .
  • the value of the slice-specific bandwidth is 0.
  • the configuration unit is specifically configured to: configure the first network slice according to the slice information, but no slice-specific bandwidth is allocated for the first network slice; then, the switching unit 302 , specifically for: allocating slice-dedicated bandwidth to the first network slice, where the value of the allocated slice-dedicated bandwidth is equal to the value of the required bandwidth of the first network slice.
  • the configuration unit is specifically configured to: allocate a general bandwidth for the first network slice, and set the allocated general bandwidth to allow traffic that does not carry a slice identifier, and the value of the general bandwidth is equal to the The value of the required bandwidth of the first network slice; then, the switching unit 302 is specifically configured to: set the allocated general bandwidth as the slice-specific bandwidth of the first network slice.
  • the value of the slice-specific bandwidth is N times the required bandwidth, where N is greater than 0 and less than 1.
  • the configuration unit is specifically configured to: allocate slice-specific bandwidth for the first network slice, and the value of the allocated slice-specific bandwidth is equal to the value of the required bandwidth of the first network slice N times; then, the switching unit 203 is specifically configured to: modify the value of the slice-dedicated bandwidth allocated for the first network slice, and the value of the modified slice-dedicated bandwidth is equal to that of the first network slice The value of the required bandwidth.
  • the configuration unit is specifically configured to: allocate a general bandwidth for the first network slice, and set bandwidth other than the N times of the general bandwidth in the allocated general bandwidth to allow the bearer not to carry For traffic identified by a slice, the value of the general bandwidth is equal to the value of the required bandwidth of the first network slice; then, the switching unit 302 is specifically configured to: set the allocated general bandwidth as the value of the first network slice of slice-dedicated bandwidth.
  • the slice information includes at least one of the following information: the first slice identifier, the required bandwidth, interface information, and priority information.
  • the switching unit 302 is further configured to: determine that the traffic carrying the first slice identifier has not been received for a preset period of time, then change the state of the first network slice from the activated state to Switch to the inactive state.
  • the embodiment of the present application provides a network device 400 (also referred to as a communication device 400 ).
  • the network device 400 may be the first network device in any of the foregoing embodiments, for example, may be the first network device in FIG. 1 or FIG. 2 .
  • the network device 400 can implement the functions of various network devices in the foregoing embodiments.
  • the network device 400 includes at least one processor 401 , a bus system 402 , a memory 403 and at least one communication interface 404 .
  • the network device 400 is an apparatus with a hardware structure, and can be used to implement the functional modules in the apparatus 300 shown in FIG. 3 .
  • the network device 400 may also be used to implement the functions of the first network device in any of the foregoing embodiments.
  • the processor 401 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC) , or one or more integrated circuits used to control the execution of the programs of this application.
  • CPU central processing unit
  • NP network processor
  • ASIC application-specific integrated circuit
  • the bus system 402 may include a path for transferring information between the above components.
  • the aforementioned communication interface 404 is used for communicating with other devices or communication networks.
  • the above-mentioned memory 403 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types that can store information and instructions.
  • ROM read-only memory
  • RAM random access memory
  • Type of dynamic storage device also can be electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), read-only disc (compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be used by Any other medium accessed by a computer, but not limited to.
  • the memory can exist independently and be connected to the processor through the bus. Memory can also be integrated with the processor.
  • the memory 403 is used to store the application program code for executing the solution of the present application, and the execution is controlled by the processor 401 .
  • the processor 401 is configured to execute the application program code stored in the memory 403, so as to realize the functions in the method of the present application.
  • the processor 401 may include one or more CPUs, for example, CPU0 and CPU1 in FIG. 4 .
  • the network device 400 may include multiple processors, for example, the processor 401 and the processor 407 in FIG. 4 .
  • Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • FIG. 5 is a schematic structural diagram of another network device 500 (also referred to as a communication device 500) provided by an embodiment of the present application.
  • the network device 500 may be the first network device in any of the above-mentioned embodiments, and may be the first network device in FIG. 1 or The first network device in Figure 2.
  • the network device 500 may implement various functions of the first network device in the foregoing embodiments.
  • the network device 500 includes: a main control board 510 and an interface board 530 .
  • the main control board 510 is also called a main processing unit (main processing unit, MPU) or a route processing card (route processor card). Equipment maintenance, protocol processing functions.
  • the main control board 510 includes: a CPU 511 and a memory 54 .
  • the interface board 530 is also called a line interface unit card (line processing unit, LPU), a line card (line card), or a service board.
  • the interface board 530 is used to provide various service interfaces and implement forwarding of data packets.
  • the service interface includes but is not limited to an Ethernet interface, a POS (Packet over SONET/SDH) interface, etc., and the Ethernet interface is, for example, a flexible Ethernet service interface (Flexible Ethernet Clients, FlexE Clients).
  • the interface board 530 includes: a central processing unit 531 , a network processor 532 , a forwarding entry storage 534 and a physical interface card (ph8sical interface card, PIC) 533 .
  • the CPU 531 on the interface board 530 is used to control and manage the interface board 530 and communicate with the CPU 511 on the main control board 510 .
  • the network processor 532 is configured to implement message forwarding processing.
  • the form of the network processor 532 may be a forwarding chip.
  • the processing of the uplink message includes: processing of the inbound interface of the message, lookup of the forwarding table; processing of the downlink message: lookup of the forwarding table, and so on.
  • the physical interface card 533 is used to realize the interconnection function of the physical layer, through which the original traffic enters the interface board 530 , and the processed packets are sent out from the physical interface card 533 .
  • the physical interface card 533 includes at least one physical interface, which is also called a physical interface, and the physical interface card 533 corresponds to the FlexE physical interface in the system architecture.
  • the physical interface card 533 is also called a daughter card, which can be installed on the interface board 530, and is responsible for converting the photoelectric signal into a message, checking the validity of the message and forwarding it to the network processor 532 for processing.
  • the central processing unit 531 of the interface board 530 can also execute the functions of the network processor 532 , such as implementing software forwarding based on a general-purpose CPU, so that the physical interface card 533 does not need the network processor 532 .
  • the network device 500 includes multiple interface boards.
  • the network device 500 further includes an interface board 540
  • the interface board 540 includes: a central processing unit 541 , a network processor 542 , a forwarding entry storage 544 and a physical interface card 543 .
  • the network device 500 further includes a switching fabric unit 520 .
  • the SFU 520 may also be called a SFU unit (switch fabric unit, SFU).
  • the switching fabric board 520 is used to complete data exchange between the interface boards.
  • the interface board 530 and the interface board 540 may communicate through the switching fabric board 520 .
  • the main control board 510 is coupled to the interface board 530 .
  • the main control board 510, the interface board 530, the interface board 540, and the switching fabric board 520 are connected to the system backplane through the system bus to realize intercommunication.
  • an inter-process communication protocol (inter-process communication, IPC) channel is established between the main control board 510 and the interface board 530, and the main control board 510 and the interface board 530 communicate through the IPC channel.
  • IPC inter-process communication
  • the network device 500 includes a control plane and a forwarding plane.
  • the control plane includes a main control board 510 and a central processing unit 531.
  • the forwarding plane includes various components for performing forwarding, such as forwarding entry storage 534, physical interface card 533, and network processing. device 532.
  • the control plane executes routers, generates forwarding tables, processes signaling and protocol packets, configures and maintains device status, and other functions.
  • the control plane sends the generated forwarding tables to the forwarding plane.
  • the network processor 532 The issued forwarding table looks up and forwards the packets received by the physical interface card 533 .
  • the forwarding table issued by the control plane may be stored in the forwarding table item storage 534 . In some embodiments, the control plane and the forwarding plane can be completely separated and not on the same device.
  • the network processor 532 may trigger the physical interface card 533 to receive the first packet belonging to the first network slice; the central processing unit 511 may respond to receiving the first packet, and transfer the The state of the first network slice is switched from the inactive state to the active state, and the first packet is introduced into the first network slice in the active state.
  • the receiving unit 301 in the device 300 and the communication interface 404 in the network device 400 may be equivalent to the physical interface card 533 or the physical interface card 543 in the network device 500; the switching unit 302 and the introduction unit 303, And the processor 401 in the network device 400 may be equivalent to the central processing unit 511 or the central processing unit 531 in the network device 500 .
  • the operations on the interface board 540 in the embodiment of the present application are consistent with the operations on the interface board 530 , and are not repeated for brevity.
  • the network device 500 in this embodiment may correspond to the apparatus 300 or the network device 400 in each method embodiment above, and the main control board 510, the interface board 530 and/or the interface board 540 in the network device 500 can realize the above-mentioned
  • the functions and/or various steps implemented by the apparatus 300 or the network device 400 in each method embodiment will not be repeated here.
  • main control boards there may be one or more main control boards, and when there are multiple main control boards, it may include an active main control board and a standby main control board.
  • the network device can have at least one SFU, through which the data exchange between multiple interface boards can be realized, and large-capacity data exchange and processing capabilities can be provided. Therefore, the data access and processing capabilities of network devices with a distributed architecture are greater than those with a centralized architecture.
  • the form of the network device can also be that there is only one board, that is, there is no switching fabric board, and the functions of the interface board and the main control board are integrated on this board.
  • the central processing unit and the main control board on the interface board The central processing unit on the board can be combined into one central processing unit on the board to perform the superimposed functions of the two.
  • the data exchange and processing capabilities of this form of equipment are low (for example, low-end switches or routers and other network equipment). Which architecture to use depends on the specific networking deployment scenario.
  • the foregoing network devices or network devices may be implemented as virtualization devices.
  • the virtualization device may be a virtual machine (English: Virtual Machine, VM) running a program for sending packets, and the virtual machine is deployed on a hardware device (for example, a physical server).
  • a virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment.
  • a virtual machine can be configured as each network device in this embodiment of the application.
  • various network devices or network devices may be implemented based on a common physical server combined with a Network Functions Virtualization (Network Functions Virtualization, NFV) technology.
  • Each network device or network device is a virtual host, a virtual router or a virtual switch.
  • NFV Network Functions Virtualization
  • the embodiment of the present application also provides a chip, including a processor and an interface circuit, the interface circuit is used to receive instructions and transmit them to the processor; the processor, for example, may be one of the devices for controlling the state of the network slice in the embodiment of the present application
  • the processor for example, may be one of the devices for controlling the state of the network slice in the embodiment of the present application
  • a specific implementation form can be used to implement the above method for controlling the state of network slices.
  • the processor is coupled with a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the system-on-a-chip implements the method in any one of the above method embodiments.
  • processors in the chip system there may be one or more processors in the chip system.
  • the processor can be realized by hardware or by software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in a memory.
  • the memory can be integrated with the processor, or can be set separately from the processor, which is not limited in this application.
  • the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be respectively arranged on different chips.
  • the setting method of the processor is not specifically limited.
  • the chip system may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (central processor unit, CPU), it can also be a network processor (network processor, NP), it can also be a digital signal processing circuit (digital signal processor, DSP), it can also be a microcontroller (micro controller unit, MCU), and can also be a programmable logic device (programmable logic device, PLD) or other integrated chips.
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • SoC system on chip
  • the embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium stores program codes or instructions. When it runs on a computer, the computer executes the implementation shown in FIG. 1 or FIG. 2. The method under any implementation mode in the example.
  • the embodiment of the present application also provides a computer program product, which, when running on a computer, causes the computer to execute the method in any implementation manner of the foregoing method 100 .
  • determining B based on A does not mean that B is determined only based on A, and B may also be determined based on A and/or other information.
  • each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments.
  • the description is relatively simple, and for relevant parts, please refer to the part of the description of the method embodiment.
  • the device and system embodiments described above are only illustrative, and the modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.

Landscapes

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

Abstract

本申请公开了一种控制网络切片状态的方法及相关设备,响应于接收属于第一网络切片的第一报文,第一网络设备将第一网络切片由非激活状态切换为激活状态,并将第一报文引入第一网络切片。其中,非激活状态指示第一网络切片允许承载不携带切片标识的流量、且第一网络切片的切片专用带宽的值小于需求带宽的值,激活状态指示第一网络切片不允许承载不携带切片标识的流量、且第一网络切片的切片专用带宽的值等于需求带宽的值,切片专用带宽是第一网络切片专用于承载携带第一切片标识的流量的带宽。可见,该方法只在切片网络中有网络切片的流量时,才会按照需求带宽的值占用带宽以保障网络切片提供的服务质量,提高切片网络中的资源利用率。

Description

一种控制网络切片状态的方法及相关设备
本申请要求于2021年12月24日提交中国国家知识产权局、申请号为202111599993.5、申请名称为“一种切片资源共享的方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请要求于2022年03月16日提交中国国家知识产权局、申请号为202210259509.2、申请名称为“一种控制网络切片状态的方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别是涉及一种控制网络切片状态的方法及相关设备。
背景技术
隧道承载的业务需要足够的资源保证,所以,通常在网络设备的接口上部署多个切片,并为每个切片预留足够的资源。在流量转发过程中,流量携带切片标识(slice identity,slice ID),网络设备使用为该切片预留的资源转发该流量,从而确保该流量的服务质量。但是,很多情况下,切片上预留的资源会较长时间被闲置,导致网络资源利用率低。
发明内容
基于此,本申请实施例提供了一种控制网络切片状态的方法及相关设备,通过灵活控制网络切片的状态,提高网络资源的利用率。
第一方面,本申请实施例提供了一种控制网络切片状态的方法,该方法应用于第一网络设备,该方法例如可以包括:第一网络设备接收属于第一网络切片的第一报文后,响应于接收该第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,并将第一报文引入处于激活状态的该第一网络切片。其中,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽。可见,该方法中,为网络切片设置了激活状态和非激活状态,并在网络切片部署完成时默认网络切片的状态为非激活状态,允许第一网络切片承载不携带切片标识的流量,由属于该网络切片的流量触发网络设备完成该网络切片状态的切换,从非激活状态切换为激活状态,定义激活状态的网络切片仅允许承载携带该网络切片的切片标识的流量,如此,在网络设备上部署了网络切片后,即使切片网络中没有该网络切片的流量,该网络切片也不会按照自己的需求带宽的值独占较大的带宽,只有在切片网络中有该网络切片的流量时,该网络切片才会按照自己的需求带宽的值占用带宽以保障网络切片提供的服务质量,大大的提高了切片网络中的资源利用率。
在一些实现方式中,在所述第一网络设备接收携带有第一切片标识的第一报文之前,所述方法还可以包括:所述第一网络设备获取所述第一网络切片的切片信息;所述第一网络设备根据所述切片信息配置所述第一网络切片;所述第一网络设备将所述第一网络切片的状态确定为所述非激活状态。其中,所述切片信息包括下列信息中的至少一种:所述第 一切片标识、所述需求带宽、接口信息和优先级信息。如此,将新部署的第一网络切片确定为非激活状态,并定义非激活状态是第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,提高了网络资源的利用率。
在一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为0。
作为一个示例,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:所述第一网络设备根据所述切片信息配置第一网络切片,但未为所述第一网络切片分配切片专用带宽;那么,所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:所述第一网络设备为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。如此,第一网络设备在部署完第一网络切片后,不需要从总带宽中扣除第一网络切片的需求带宽,第一网络设备可以有更加充足的带宽处理其他的报文,当有第一网络切片的报文到达第一网络设备时,第一网络设备再从总带宽中扣除第一网络切片的需求带宽,作为第一网络切片的切片专用带宽,保障了第一网络切片上提供的服务质量。该示例中,第一网络设备上在配置第一网络切片之后并未建立第一网络切片对应的调度队列(也可以称为缓存队列),与第一网络设备在配置第一网络切片执行时为第一网络切片分配通用带宽相比,第一网络设备在接收到第一网络切片的报文时才建立第一网络切片对应的调度队列,但是,引入该第一网络切片的调度队列中报文均为第一网络切片的流量,该第一网络切片对应的调度队列中不可能存在不携带切片标识的报文,从而处理第一网络切片的流量时无需等待该调度队列处理其他不携带切片标识的报文。
作为另一个示例,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:所述第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:所述第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。如此,第一网络设备在部署完第一网络切片后,虽然从总带宽中扣除第一网络切片的需求带宽,记作通用带宽,但是,该通用带宽能够被第一网络设备用于承载不携带切片标识的流量,直到有第一网络切片的报文到达第一网络设备时,第一网络设备仅需将该通用带宽设置为切片专用带宽,保障第一网络切片上提供的服务质量。该示例中,第一网络设备上在配置第一网络切片之后即存在第一网络切片对应的调度队列,与第一网络设备接收到第一网络切片的报文才为第一网络切片分配切片专用带宽相比,第一网络设备无需在接收到第一网络切片的报文时才建立第一网络切片对应的调度队列,能够更加及时的将第一网络切片的报文引导到第一网络切片对应的调度队列。但是,该调度队列中可能存在未处理的、不携带切片标识的流量,仍然要遵循队列先入先出的处理规则,先处理完先进入该调度队列的、不携带切片标识的流量后,才可以处理该第一网络切片的流量。
在另一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。
作为一个示例,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:所述第一网络设备为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;那么,所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:所述第一网络设备修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。如此,第一网络设备在部署完第一网络切片后,为了在第一网络切片的报文到达第一网络设备时,第一网络设备不需要再建立第一网络切片的调度队列,第一网络设备能够及时将第一网络切片的流量引入该调度队列,第一网络设备可以从总带宽中扣除第一网络切片的需求带宽的N倍(例如0.1倍)作为切片专用带宽,不需要从总带宽中扣除第一网络切片的需求带宽,使得第一网络设备可以有更加充足的带宽处理其他的报文;直到有第一网络切片的报文到达第一网络设备时,第一网络设备修改该切片专用带宽的值为需求带宽的值,即,继续为第一网络切片分配需求带宽的(1-N)倍的带宽,与配置第一网络切片中分配的切片专用带宽一起构成第一网络切片新的切片专用带宽,保障第一网络切片上提供的服务质量。
作为另一个示例,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:所述第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:所述第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。如此,第一网络设备在部署完第一网络切片后,虽然从总带宽中扣除第一网络切片的需求带宽,记作通用带宽,但是,该通用带宽分为两部分:通用带宽的N倍和通用带宽的(1-N)倍,允许通用带宽的(1-N)倍用于承载不携带切片标识的流量,其余N倍的带宽为第一网络切片的切片专用带宽,仅允许第一网络切片的流量使用;直到有第一网络切片的报文到达第一网络设备时,第一网络设备仅需将该通用带宽全量设置为切片专用带宽,保障第一网络切片上提供的服务质量。该示例与目前第一网络切片的需求带宽被分配后仅允许第一网络切片的流量使用相比,提高了网络资源的利用率。
在一些实现方式中,该方法还可以包括:第一网络设备确定预设时长未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。如此,针对某些流量不会持续出现在切片网络中的网络切片,在长时间未接收到属于该网络切片的流量时,将该网络切片的状态切换为非激活状态,允许该网络切片的全部或部分需求带宽被不携带切片标识的流量临时使用,直到有属于该网络切片的流量再次出现,提高网络资源的利用率。
第二方面,本申请还提供了一种控制网络切片状态的装置,应用于第一网络设备,该装置可以包括:接收单元、切换单元和引入单元。其中,接收单元,用于接收携带有第一切片标识的第一报文,所述第一切片标识指示第一网络切片;切换单元,用于根据所述第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,其中,所述非激活状 态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽;引入单元,用于并将所述第一报文引入所述第一网络切片。
在一些实现方式中,所述装置还可以包括:获取单元、配置单元和确定单元。其中,获取单元,用于在接收携带有第一切片标识的第一报文之前,获取所述第一网络切片的切片信息;配置单元,用于根据所述切片信息配置所述第一网络切片;确定单元,用于将所述第一网络切片的状态确定为所述非激活状态。
在一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为0。
该实现方式中,作为一个示例,所述配置单元,具体用于:根据所述切片信息配置第一网络切片,但未为所述第一网络切片分配切片专用带宽;那么,所述切换单元,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
作为另一个示例,所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述切换单元,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
在另一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。
该实现方式中,作为一个示例,所述配置单元,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;那么,所述切换单元,具体用于:修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
作为另一个示例,所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述切换单元,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
本申请中,所述切片信息包括下列信息中的至少一种:所述第一切片标识、所述需求带宽、接口信息和优先级信息。
在一些实现方式中,所述切换单元,还用于:确定预设时长未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。
需要说明的是,本申请提供的装置的具体实现方式以及达到的技术效果,可以参见第一方面提供的方法。
第三方面,本申请提供一种网络设备,所述网络设备包括处理器和存储器,存储器用于存储指令或程序代码,处理器用于从存储器中调用并运行所述指令或程序代码,以执行 第一方面或第一方面的任意一种可能的实现中的所述方法。
第四方面,本申请提供一种计算机可读存储介质,其特征在于,包括指令、程序或代码,当其在计算机上执行时,使得所述计算机执行第一方面或第一方面的任意一种可能的实现中的所述方法。
第五方面,本申请提供一种计算机程序产品,当所述计算机程序产品在网络设备上运行时,使得所述网络设备执行上述第一方面或第一方面的任意一种可能的实现中的所述方法。
附图说明
图1为本申请中一种控制网络切片状态的方法100的流程示意图;
图2为本申请中另一种控制网络切片状态的方法100的流程示意图;
图3为本申请中一种控制网络切片状态的装置200的结构示意图;
图4为本申请中一种网络设备400的结构示意图;
图5为本申请中另一种网络设备500的结构示意图。
具体实施方式
目前,在切片网络的网络设备部署网络切片时,通常基于切片信息进行部署,具体包括:基于切片标识、接口信息和优先级信息等配置网络切片,并为该网络切片分配数值等于该网络切片的需求带宽的切片专用带宽。例如,对于网络设备上部署第一网络切片,网络设备可以获得第一网络切片的第一切片信息,该第一切片信息可以是人工配置在网络设备上的,也可以是网管、控制实体等设备发送给网络设备的,假设第一切片信息包括:第一网络切片的需求带宽为100兆比特每秒(Mbps),第一网络切片的切片标识为slice ID 1,接口信息指示接口1,优先级信息指示高优先级,那么,网络设备部署第一网络切片的过程可以包括:S11,网络设备根据第一切片信息中的切片标识、接口信息和优先级信息配置第一网络切片,具体可以包括:网络设备设置第一网络切片的切片标识为slice ID 1,第一网络切片为接口1上高优先级的网络切片;S12,网络设备根据第一切片信息中的需求带宽,为第一网络切片分配与需求带宽数值相等的切片专用带宽,即,第一网络设备为第一网络切片分配100Mbps的切片专用带宽。至此,网络设备完成对第一网络切片的部署,该100Mbps的切片专用带宽只允许属于第一网络切片的流量使用,无论该切片网络中是否有属于第一网络切片的流量。
可见,目前部署网络切片的过程中,一旦网络切片在网络设备上部署,该网络设备上将为该网络切片分配足够满足该网络切片的需求带宽的带宽资源,这部分已经分配给网络切片的带宽只能被属于该网络切片的流量使用,而不能被其他流量使用。但很多情况下,网络切片部署完成后,切片网络中可能较长时间没有属于该网络设备切片的流量,网络设备上为该网络切片分配的带宽会较长时间被闲置,导致网络资源利用率低。例如,包括备用路径的网络切片部署完成后,在主用路径无故障时,备用路径上该网络切片一直没有流量传输,备用路径上该网络切片分配的带宽一直闲置;又例如,在网络部署阶段,网络切片部署完成后,很可能在整个网络都部署完成才可能使用该网络切片,即,在网络切片部署完成到整个网络部署完成之间,为该网络切片分配的带宽一直闲置。
基于此,本申请实施例中,为网络切片设置激活状态和非激活状态,通过灵活的控制网络切片的状态,提高网络资源的利用率。本申请实施例提供的方法例如可以包括:在第一网络设备上部署第一网络切片时,所述第一网络切片为非激活状态,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽;第一网络设备接收属于第一网络切片的的第一报文时,第一网络设备根据该第一报文,将第一网络切片的状态由非激活状态切换为激活状态,并将第一报文引入第一网络切片,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值。其中,第一报文属于第一网络切片,可以是第一报文携带用于指示第一网络切片的第一切片标识。
可见,本申请实施例提供的方法中,为网络切片设置了激活状态和非激活状态,并在网络切片部署完成时默认网络切片的状态为非激活状态,允许第一网络设备承载不携带切片标识的流量,由属于该网络切片的流量触发网络设备完成该网络切片状态的切换,从非激活状态切换为激活状态,定义激活状态的网络切片仅允许承载携带该网络切片的切片标识的流量,如此,在网络设备上部署了网络切片后,即使切片网络中没有该网络切片的流量,该网络切片也不会按照自己的需求带宽的值独占较大的带宽,只有在切片网络中有该网络切片的流量时,该网络切片才会按照自己的需求带宽的值占用带宽以保障网络切片提供的服务质量,大大的提高了切片网络中的资源利用率。
网络切片,是指在网络拓扑的基础上分离出多个虚拟的端到端网络以实现按需组网的技术,每个虚拟的端到端网络可以称为一个网络切片,被分离的网络可以称为切片网络。例如,虚拟传输网络(Virtual Transport Network,VTN)是一种网络切片技术,可以为每个VTN切片按照该VTN切片的资源需求预留足够的资源,从而,通过在报文中携带VTN标识(VTN ID或Slice ID),使得网络设备使用为VTN ID或Slice ID对应的切片预留的资源转发该报文,确保对该报文的处理能够满足该业务的资源需求,从而使得该报文对应的业务的服务质量得以保障。其中,资源可以包括带宽和调度优先级,本申请实施例中以资源是带宽为例进行说明。
需要说明的是,本申请实施例中的非激活状态,仅限定第一网络切片允许承载不携带切片标识的流量,而对应是否允许第一网络切片承载除了第一网络切片以外的、属于其他网络切片的流量,在非激活状态的定义中没有明确限定。可以理解的是,不同的网络切片之间是相互隔离的,每个网络切片均应该在有属于该网络切片的流量时,被保障有满足该网络切片的需求带宽的带宽被使用,这正是切片网络的初衷,第一网络切片不可能允许承载携带其他网络切片的切片标识的流量。
需要说明的是,本申请实施例中的网络设备,可以指交换机、路由器、虚拟路由设备或虚拟转发设备等具有报文转发功能的通信设备。
下面结合附图详细说明本申请实施例的具体实现方式。
图1为本申请实施例提供的一种控制网络切片状态的方法100的流程示意图。该方法 100可以被切片网络中的任何一个网络设备实施,图1以切片网络中第一网络设备实施该方法100为例进行描述。
如图1所示,该方法100例如可以包括下述S101~S103:
S101,第一网络设备接收携带有第一切片标识的第一报文,所述第一切片标识指示第一网络切片。
S102,第一网络设备根据所述第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,其中,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽。
需要说明的是,如图2所示,在S101之前,该方法100还可以包括:S10a,第一网络设备获取第一网络切片的切片信息;S10b,第一网络设备根据所述切片信息配置所述第一网络切片;S10c,第一网络设备将第一网络切片的状态确定为非激活状态。
第一网络切片的切片信息,可以指第一网络设备部署第一网络切片所需的相关信息。第一网络切片的切片信息可以包括下述信息中的一个或多个:所述第一切片标识、所述需求带宽、接口信息和优先级信息。其中,第一切片标识用于标识第一网络切片,接口信息指示第一网络切片在第一网络设备上对应的接口,优先级信息指示第一网络切片的优先级,需求带宽指示保障第一网络切片所提供的服务质量时第一网络切片的流量所要占用的最小带宽。例如,第一网络切片的切片信息可以包括:Slice ID 1、100Mbps、接口1和高优先级,该切片信息用于指示第一网络设备在接口1上配置切片标识为Slice ID 1的第一网络切片,该第一网络切片在网络设备上的优先级为高优先级,第一网络切片的需求带宽为100Mbps,即第一网络切片为激活状态时的切片专用带宽至少为100Mbps。需要说明的是,切片专用带宽是指网络设备的带宽中专用于传输某个网络切片的流量的带宽,例如,第一网络切片的切片专用带宽可以指专用于传输第一网络切片的流量的带宽。
具体实现时,S10a可以是人工在第一网络设备上配置第一网络切片的切片信息,从而第一网络设备获取到人工所配置的第一网络设备的切片信息;或者,S10a也可以是控制实体或网管等向第一网络设备发送第一网络设备的切片信息,从而第一网络设备接收控制实体或网管等发送的第一网络设备的切片信息。
对于S10b中第一网络设备根据S10a所获得的第一网络切片的切片信息配置所述第一网络切片,可以有多种不同的实现方式,例如,第一网络设备仅基于切片信息配置第一网络切片,而不给第一网络设备分配切片专用带宽(也可以理解为分配的切片专用带宽为0);又例如,第一网络设备基于切片信息配置第一网络切片,且为第一网络设备分配通用带宽,该通用带宽的值可以小于第一网络切片的需求带宽的值(如等于第一网络切片的需求带宽的值的10%或0.1倍),且该通用带宽视作第一网络切片的切片专用带宽;或者,该通用带宽的值也可以等于第一网络切片的需求带宽的值,但非激活状态下第一网络切片的专用带宽的值等于0或等于该通过带宽的值的10%或0.1倍。
对于S10c,第一网络设备在S10b之后,可以将第一网络切片的状态设置为非激活状态。一种情况下,第一网络设备可以为每个网络切片设置标识其状态的指示标识,那么,S10c可以包括:第一网络设备设置第一网络切片的指示标识,使得指示标识指示第一网络切片的状态为非激活状态。另一种情况下,第一网络设备也可以将第一网络切片的激活状态和非激活状态的权限以及执行的操作设置为不同的策略,在且默认新配置的网络切片的状态为非激活状态,那么,S10c可以包括:第一网络设备设置第一网络切片对应非激活状态的策略。
可见,经过上述S10a~S10c,第一网络设备部署了第一网络切片,且第一网络切片的状态为非激活状态,所述非激活状态指示第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值。如此,虽然部署了第一网络切片,但是第一网络切片的切片专用带宽的值小于需求带宽的值,且,第一网络切片在部署完成时被允许承载不携带切片标识的流量,相比于目前部署网络切片时为网络切片分配等于需求带宽的值的切片专用带宽,大大的提高了网络资源的利用率。
本申请实施例中,在部署完成时,第一网络切片的状态为非激活状态,响应于接收到第一网络切片的流量,实现状态从非激活状态到激活状态的切换。具体实现时,第一网络设备响应于接收携带第一切片标识的第一报文,执行S102,即,第一网络设备根据第一报文将第一网络切片的状态从非激活状态切换为激活状态,其中,第一切片标识指示第一网络切片。
在一些可能的实现方式中,当第一网络切片的状态为非激活状态时,第一网络切片的切片专用带宽的值为0。该实现方式下,基于S10b的不同实现方式,S102的实现方式也不同,具体可以参见下述示例。
作为一个示例,S10b可以包括:第一网络设备根据第一网络切片的切片信息配置第一网络切片,但未为第一网络切片分配切片专用带宽;那么,S102可以包括:第一网络设备为第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。其中,第一网络设备可以在S10a之后,记录第一网络切片的需求带宽的值,在S102执行时为第一网络切片分配值等于第一网络切片的需求带宽的值的切片专用带宽。如此,第一网络设备在部署完第一网络切片后,不需要从总带宽中扣除第一网络切片的需求带宽,第一网络设备可以有更加充足的带宽处理其他的报文,当有第一网络切片的报文到达第一网络设备时,第一网络设备再从总带宽中扣除第一网络切片的需求带宽,作为第一网络切片的切片专用带宽,保障了第一网络切片上提供的服务质量。该示例中,第一网络设备上在S10b之后并未建立第一网络切片对应的调度队列(也可以称为缓存队列),与第一网络设备在S10b执行时为第一网络切片分配通用带宽相比,第一网络设备在接收到第一网络切片的报文时才建立第一网络切片对应的调度队列,但是,引入该第一网络切片的调度队列中报文均为第一网络切片的流量,该第一网络切片对应的调度队列中不可能存在不携带切片标识的报文,从而处理第一网络切片的流量时无需等待该调度队列处理其他不携带切片标识的报文。
作为另一个示例,S10b可以包括:第一网络设备为第一网络切片分配通用带宽,且设 置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,S102可以包括:第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。如此,第一网络设备在部署完第一网络切片后,虽然从总带宽中扣除第一网络切片的需求带宽,记作通用带宽,但是,该通用带宽能够被第一网络设备用于承载不携带切片标识的流量,直到有第一网络切片的报文到达第一网络设备时,第一网络设备仅需将该通用带宽设置为切片专用带宽,保障第一网络切片上提供的服务质量。该示例中,第一网络设备上在S10b之后即存在第一网络切片对应的调度队列,与第一网络设备接收到第一网络切片的报文才为第一网络切片分配切片专用带宽相比,第一网络设备无需在接收到第一网络切片的报文时才建立第一网络切片对应的调度队列,能够更加及时的将第一网络切片的报文引导到第一网络切片对应的调度队列。但是,该调度队列中可能存在未处理的、不携带切片标识的流量,仍然要遵循队列先入先出的处理规则,先处理完先进入该调度队列的、不携带切片标识的流量后,才可以处理该第一网络切片的流量。
在另一些可能的实现方式中,当第一网络切片的状态为非激活状态时,第一网络切片的切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。这样,在S10b之后即存在第一网络切片对应的调度队列,第一网络设备无需在接收到第一网络切片的报文时才建立第一网络切片对应的调度队列,能够更加及时的将第一网络切片的报文引导到第一网络切片对应的调度队列,而且,该调度队列中不存在未处理的、不携带切片标识的流量,第一网络切片的报文能够快速的被处理。该实现方式下,基于S10b的不同实现方式,S102的实现方式也不同,具体可以参见下述示例。
作为一个示例,S10b可以包括:第一网络设备为第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;那么,S102可以包括:第一网络设备修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。如此,第一网络设备在部署完第一网络切片后,为了在第一网络切片的报文到达第一网络设备时,第一网络设备不需要再建立第一网络切片的调度队列,第一网络设备能够及时将第一网络切片的流量引入该调度队列,第一网络设备可以从总带宽中扣除第一网络切片的需求带宽的N倍(例如0.1倍)作为切片专用带宽,不需要从总带宽中扣除第一网络切片的需求带宽,使得第一网络设备可以有更加充足的带宽处理其他的报文;直到有第一网络切片的报文到达第一网络设备时,第一网络设备修改该切片专用带宽的值为需求带宽的值,即,继续为第一网络切片分配需求带宽的(1-N)倍的带宽,与S10b中分配的切片专用带宽一起构成第一网络切片新的切片专用带宽,保障第一网络切片上提供的服务质量。
作为另一个示例,S10b可以包括:第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍(例如0.1倍)以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,S102可以包括:第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。如此,第一网络设备在部署完第一网络切片后,虽然从总带宽中扣除第一网络 切片的需求带宽,记作通用带宽,但是,该通用带宽分为两部分:通用带宽的N倍和通用带宽的(1-N)倍,允许通用带宽的(1-N)倍用于承载不携带切片标识的流量,其余N倍的带宽为第一网络切片的切片专用带宽,仅允许第一网络切片的流量使用;直到有第一网络切片的报文到达第一网络设备时,第一网络设备仅需将该通用带宽全量设置为切片专用带宽,保障第一网络切片上提供的服务质量。该示例与目前第一网络切片的需求带宽被分配后仅允许第一网络切片的流量使用相比,提高了网络资源的利用率。
需要说明的是,第一网络设备的接口上部署的所有网络切片的需求带宽之和,应该小于或等于该接口的物理带宽,保障该接口上部署的所有网络切片的需求带宽均能够被满足,使得各网络切片提供的服务质量均能够得以保障。
如果第一网络设备为每个网络切片设置标识其状态的指示标识,那么,S102可以包括:第一网络设备设置第一网络切片的指示标识,使得指示标识指示第一网络切片的状态为激活状态。例如,第一网络切片的指示标识=0,指示该第一网络切片的状态为非激活状态,第一网络切片的指示标识=1,指示该第一网络切片的状态为激活状态,那么,S102之前,第一网络切片的指示标识=0,S102可以包括:将该第一网络切片的指示标识从0修改为1,即,S102之后到下次第一网络切片进入非激活状态之前,第一网络切片的指示标识=1。
如果第一网络设备未为每个网络切片设置标识其状态的指示标识,而是将激活状态和非激活状态的权限以及执行的操作设置为不同的策略,那么,S102中,第一网络设备执行上述各个示例中S102的相关操作,即可被视作第一网络设备的状态为激活状态。例如,S10b包括:第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍(例如0.1倍)以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值的情况下,那么,S102中“第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽”即可相当于第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态。
S103,第一网络设备将所述第一报文引入(steer)所述第一网络切片。
具体实现时,S103可以包括:第一网络设备将第一报文引导到第一网络切片对应的调度队列中,第一网络设备处理该调度队列中的、属于第一网络切片的所有报文(包括第一报文)。
在一些可能的实现方式中,网络切片的流量可能不会持续出现在切片网络中,那么,如果该网络切片一旦有流量出现就一直处于激活状态,占用与需求带宽相等的切片专用带宽,仍然存在网络资源利用率低的问题。基于此,本申请实施例提供的方法100中还可以包括:第一网络设备确定预设时长(如5分钟)未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。如此,针对某些流量不会持续出现在切片网络中的网络切片,在长时间未接收到属于该网络切片的流量时,将该网络切片的状态切换为非激活状态,允许该网络切片的全部或部分需求带宽被不携带切片标识的流量临时使用,直到有属于该网络切片的流量再次出现,提高网络资源的利用率。
在另一些可能的实现方式中,针对流量有出现规律(如每天的上午5点到10点出现) 的网络切片,如果该网络切片一旦有流量出现就一直处于激活状态,占用与需求带宽相等的切片专用带宽,仍然存在网络资源利用率低的问题。基于此,本申请实施例提供的方法100中还可以包括:第一网络设备还可以在预设时间(如每天上午10点01分)将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。如此,针对流量有出现规律的网络切片,在一个出现周期的结束点之后,将该网络切片的状态切换为非激活状态,允许该网络切片的全部或部分需求带宽被不携带切片标识的流量临时使用,直到有属于该网络切片的流量再次出现,提高网络资源的利用率。
需要说明的是,本申请实施例提供的技术方案中,第一网络设备的接口上可以部署至少一个网络切片,每个网络切片均可以作为该方法100中的第一网络切片,执行该方法100以控制网络切片状态,从而提高网络资源的利用率。
可见,该方法100中,为网络切片设置了激活状态和非激活状态,并在网络切片部署完成时默认网络切片的状态为非激活状态,允许第一网络切片承载不携带切片标识的流量,由属于该网络切片的流量触发网络设备完成该网络切片状态的切换,从非激活状态切换为激活状态,定义激活状态的网络切片仅允许承载携带该网络切片的切片标识的流量,如此,在网络设备上部署了网络切片后,即使切片网络中没有该网络切片的流量,该网络切片也不会按照自己的需求带宽的值独占较大的带宽,只有在切片网络中有该网络切片的流量时,该网络切片才会按照自己的需求带宽的值占用带宽以保障网络切片提供的服务质量,大大的提高了切片网络中的资源利用率。
相应的,本申请实施例还提供了一种控制网络切片状态的装置300,该装置300应用于第一网络设备,如图3所示。该装置300可以包括:接收单元301、切换单元302和引入单元303。其中:
接收单元301,用于接收携带有第一切片标识的第一报文,所述第一切片标识指示第一网络切片。该接收单元301可以执行图1所示的S101。
切换单元302,用于根据所述第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,其中,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽。该切换单元302可以执行图1所示的S102。
引入单元303,用于并将所述第一报文引入所述第一网络切片。该引入单元303可以执行图1所示的S103。
在一些实现方式中,所述装置300还可以包括:获取单元、配置单元和确定单元。其中:
获取单元,用于在接收携带有第一切片标识的第一报文之前,获取所述第一网络切片的切片信息。该获取单元可以执行图2所示的S10a。
配置单元,用于根据所述切片信息配置所述第一网络切片。该配置单元可以执行图2 所示的S10b。
确定单元,用于将所述第一网络切片的状态确定为所述非激活状态。该确定单元可以执行图2所示的S10c。
在一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为0。
该实现方式中,作为一个示例,所述配置单元,具体用于:根据所述切片信息配置第一网络切片,但未为所述第一网络切片分配切片专用带宽;那么,所述切换单元302,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
作为另一个示例,所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述切换单元302,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
在另一些实现方式中,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。
该实现方式中,作为一个示例,所述配置单元,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;那么,所述切换单元203,具体用于:修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
作为另一个示例,所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;那么,所述切换单元302,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
本申请中,所述切片信息包括下列信息中的至少一种:所述第一切片标识、所述需求带宽、接口信息和优先级信息。
在一些实现方式中,所述切换单元302,还用于:确定预设时长未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。
需要说明的是,本申请实施例提供的装置300的具体实现方式以及达到的技术效果,可以参见图1以及图2提供的方法100。
参见图4,本申请实施例提供了一种网络设备400(也可以称为通信设备400)。该网络设备400可以是上述任一实施例中的第一网络设备,例如可以是图1或图2中的第一网络设备。网络设备400可以实现上述实施例中各种网络设备的功能。该网络设备400包括至少一个处理器401,总线系统402,存储器403以及至少一个通信接口404。
该网络设备400是一种硬件结构的装置,可以用于实现图3所示的装置300中的功能模块。例如,本领域技术人员可以想到图3所示的装置300中的接收单元301、切换单元 302和引入单元303可以通过该至少一个处理器401调用存储器403中的代码来实现。
可选的,该网络设备400还可用于实现上述任一实施例中第一网络设备的功能。
可选的,上述处理器401可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
上述总线系统402可包括一通路,在上述组件之间传送信息。
上述通信接口404,用于与其他设备或通信网络通信。
上述存储器403可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,存储器403用于存储执行本申请方案的应用程序代码,并由处理器401来控制执行。处理器401用于执行存储器403中存储的应用程序代码,从而实现本申请方法中的功能。
在具体实现中,作为一种实施例,处理器401可以包括一个或多个CPU,例如图4中的CPU0和CPU1。
在具体实现中,作为一种实施例,该网络设备400可以包括多个处理器,例如图4中的处理器401和处理器407。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
图5是本申请实施例提供的另一种网络设备500(也可以称为通信设备500)的结构示意图,网络设备500可以是上述任一实施例中的第一网络设备,可以是图1或图2中的第一网络设备。网络设备500可以实现上述实施例中各种第一网络设备的功能。
网络设备500包括:主控板510和接口板530。
主控板510也称为主处理单元(main processing unit,MPU)或路由处理卡(route processor card),主控板510对网络设备500中各个组件的控制和管理,包括路由计算、设备管理、设备维护、协议处理功能。主控板510包括:中央处理器511和存储器54。
接口板530也称为线路接口单元卡(line processing unit,LPU)、线卡(line card)或业务板。接口板530用于提供各种业务接口并实现数据包的转发。业务接口包括而不限于以太网接口、POS(Packet over SONET/SDH)接口等,以太网接口例如是灵活以太网业务接口(Flexible Ethernet Clients,FlexE Clients)。接口板530包括:中央处理器531、网络处理器532、转发表项存储器534和物理接口卡(ph8sical interface card,PIC)533。
接口板530上的中央处理器531用于对接口板530进行控制管理并与主控板510上的中央处理器511进行通信。
网络处理器532用于实现报文的转发处理。网络处理器532的形态可以是转发芯片。具体而言,上行报文的处理包括:报文入接口的处理,转发表查找;下行报文的处理:转发表查找等等。
物理接口卡533用于实现物理层的对接功能,原始的流量由此进入接口板530,以及处理后的报文从该物理接口卡533发出。物理接口卡533包括至少一个物理接口,物理接口也称物理口,物理接口卡533对应于系统架构中的FlexE物理接口。物理接口卡533也称为子卡,可安装在接口板530上,负责将光电信号转换为报文并对报文进行合法性检查后转发给网络处理器532处理。在一些实施例中,接口板530的中央处理器531也可执行网络处理器532的功能,比如基于通用CPU实现软件转发,从而物理接口卡533中不需要网络处理器532。
可选地,网络设备500包括多个接口板,例如网络设备500还包括接口板540,接口板540包括:中央处理器541、网络处理器542、转发表项存储器544和物理接口卡543。
可选地,网络设备500还包括交换网板520。交换网板520也可以称为交换网板单元(switch fabric unit,SFU)。在网络设备有多个接口板530的情况下,交换网板520用于完成各接口板之间的数据交换。例如,接口板530和接口板540之间可以通过交换网板520通信。
主控板510和接口板530耦合。例如。主控板510、接口板530和接口板540,以及交换网板520之间通过系统总线与系统背板相连实现互通。在一种可能的实现方式中,主控板510和接口板530之间建立进程间通信协议(inter-process communication,IPC)通道,主控板510和接口板530之间通过IPC通道进行通信。
在逻辑上,网络设备500包括控制面和转发面,控制面包括主控板510和中央处理器531,转发面包括执行转发的各个组件,比如转发表项存储器534、物理接口卡533和网络处理器532。控制面执行路由器、生成转发表、处理信令和协议报文、配置与维护设备的状态等功能,控制面将生成的转发表下发给转发面,在转发面,网络处理器532基于控制面下发的转发表对物理接口卡533收到的报文查表转发。控制面下发的转发表可以保存在转发表项存储器534中。在一些实施例中,控制面和转发面可以完全分离,不在同一设备上。
如果网络设备500被配置为第一网络设备,网络处理器532可以触发物理接口卡533接收属于第一网络切片的第一报文;中央处理器511可以响应于接收该第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,并将第一报文引入处于激活状态的该第一网络切片。
应理解,装置300中的接收单元301、以及网络设备400中的通信接口404可以相当于网络设备500中的物理接口卡533或物理接口卡543;装置300中的切换单元302和引入单元303、以及网络设备400中的处理器401可以相当于网络设备500中的中央处理器511或中央处理器531。
应理解,本申请实施例中接口板540上的操作与接口板530的操作一致,为了简洁,不再赘述。应理解,本实施例的网络设备500可对应于上述各个方法实施例中的装置300或网络设备400,该网络设备500中的主控板510、接口板530和/或接口板540可以实现上述各个方法实施例中的装置300或网络设备400中所具有的功能和/或所实施的各种步骤,为了简洁,在此不再赘述。
应理解,主控板可能有一块或多块,有多块的时候可以包括主用主控板和备用主控板。接口板可能有一块或多块,网络设备的数据处理能力越强,提供的接口板越多。接口板上的物理接口卡也可以有一块或多块。交换网板可能没有,也可能有一块或多块,有多块的时候可以共同实现负荷分担冗余备份。在集中式转发架构下,网络设备可以不需要交换网板,接口板承担整个系统的业务数据的处理功能。在分布式转发架构下,网络设备可以有至少一块交换网板,通过交换网板实现多块接口板之间的数据交换,提供大容量的数据交换和处理能力。所以,分布式架构的网络设备的数据接入和处理能力要大于集中式架构的设备。可选地,网络设备的形态也可以是只有一块板卡,即没有交换网板,接口板和主控板的功能集成在该一块板卡上,此时接口板上的中央处理器和主控板上的中央处理器在该一块板卡上可以合并为一个中央处理器,执行两者叠加后的功能,这种形态设备的数据交换和处理能力较低(例如,低端交换机或路由器等网络设备)。具体采用哪种架构,取决于具体的组网部署场景。
在一些可能的实施例中,上述各网络设备或网络设备可以实现为虚拟化设备。例如,虚拟化设备可以是运行有用于发送报文功能的程序的虚拟机(英文:Virtual Machine,VM),虚拟机部署在硬件设备上(例如,物理服务器)。虚拟机指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。可以将虚拟机配置为本申请实施例中的各网络设备。例如,可以基于通用的物理服务器结合网络功能虚拟化(Network Functions Virtualization,NFV)技术来实现各网络设备或网络设备。各网络设备或网络设备为虚拟主机、虚拟路由器或虚拟交换机。本领域技术人员通过阅读本申请即可结合NFV技术在通用物理服务器上虚拟出具有上述功能的各网络设备或网络设备,此处不再赘述。
应理解,上述各种产品形态的网络设备,分别具有上述方法实施例中各网络设备或通信设备的任意功能,此处不再赘述。
本申请实施例还提供了一种芯片,包括处理器和接口电路,接口电路,用于接收指令并传输至处理器;处理器,例如可以是本申请实施例中控制网络切片状态的装置的一种具体实现形式,可以用于执行上述控制网络切片状态的方法。其中,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述任一方法实施例中的方法。
可选地,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在 一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。
示例性的,该芯片系统可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。
此外,本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质中存储有程序代码或指令,当其在计算机上运行时,使得计算机执行以上图1或图2所示实施例中任意一种实现方式下的方法。
此外,本申请实施例还提供了一种计算机程序产品,当其在计算机上运行时,使得计算机执行前述方法100中任意一种实现方式的方法。
应理解,本申请实施例中提到的“基于根据A确定B”并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。
本申请中提到的“第一报文”等名称中的“第一”只是用来做名字标识,并不代表顺序上的第一。该规则同样适用于“第二”等。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到上述实施例方法中的全部或部分步骤可借助软件加通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如只读存储器(英文:read-only memory,ROM)/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者诸如路由器等网络通信设备)执行本申请各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例和设备实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的设备及系统实施例仅仅是示意性的,其中作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上所述仅是本申请的优选实施方式,并非用于限定本申请的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (22)

  1. 一种控制网络切片状态的方法,其特征在于,所述方法包括:
    第一网络设备接收携带有第一切片标识的第一报文,所述第一切片标识指示第一网络切片;
    所述第一网络设备根据所述第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,其中,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽;
    所述第一网络设备将所述第一报文引入所述第一网络切片。
  2. 根据权利要求1所述的方法,其特征在于,在所述第一网络设备接收携带有第一切片标识的第一报文之前,所述方法还包括:
    所述第一网络设备获取所述第一网络切片的切片信息;
    所述第一网络设备根据所述切片信息配置所述第一网络切片;
    所述第一网络设备将所述第一网络切片的状态确定为所述非激活状态。
  3. 根据权利要求2所述的方法,其特征在于,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为0。
  4. 根据权利要求3所述的方法,其特征在于,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:
    所述第一网络设备根据所述切片信息配置第一网络切片,但未为所述第一网络切片分配切片专用带宽;
    所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:
    所述第一网络设备为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
  5. 根据权利要求3所述的方法,其特征在于,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:
    所述第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;
    所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:
    所述第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
  6. 根据权利要求2所述的方法,其特征在于,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。
  7. 根据权利要求6所述的方法,其特征在于,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:
    所述第一网络设备为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;
    所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:
    所述第一网络设备修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
  8. 根据权利要求6所述的方法,其特征在于,所述第一网络设备根据所述切片信息配置所述第一网络切片,包括:
    所述第一网络设备为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;
    所述第一网络设备将所述第一网络切片的状态由非激活状态切换为激活状态,包括:
    所述第一网络设备将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
  9. 根据权利要求2至8任一项所述的方法,其特征在于,所述切片信息包括下列信息中的至少一种:所述第一切片标识、所述需求带宽、接口信息和优先级信息。
  10. 根据权利要求1至9任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网络设备确定预设时长未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。
  11. 一种控制网络切片状态的装置,其特征在于,应用于第一网络设备,所述装置包括:
    接收单元,用于接收携带有第一切片标识的第一报文,所述第一切片标识指示第一网络切片;
    切换单元,用于根据所述第一报文,将所述第一网络切片的状态由非激活状态切换为激活状态,其中,所述非激活状态指示所述第一网络切片允许承载不携带切片标识的流量、且所述第一网络切片的切片专用带宽的值小于需求带宽的值,所述激活状态指示所述第一网络切片不允许承载不携带切片标识的流量、且所述第一网络切片的所述切片专用带宽的值等于所述需求带宽的值,所述切片专用带宽是所述第一网络切片专用于承载携带所述第一切片标识的流量的带宽;
    引入单元,用于并将所述第一报文引入所述第一网络切片。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    获取单元,用于在接收携带有第一切片标识的第一报文之前,获取所述第一网络切片的切片信息;
    配置单元,用于根据所述切片信息配置所述第一网络切片;
    确定单元,用于将所述第一网络切片的状态确定为所述非激活状态。
  13. 根据权利要求12所述的装置,其特征在于,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为0。
  14. 根据权利要求13所述的装置,其特征在于,
    所述配置单元,具体用于:根据所述切片信息配置第一网络切片,但未为所述第一网络切片分配切片专用带宽;
    所述切换单元,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
  15. 根据权利要求13所述的装置,其特征在于,
    所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;
    所述切换单元,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
  16. 根据权利要求12所述的装置,其特征在于,当所述第一网络切片的状态为所述非激活状态时,所述切片专用带宽的值为所述需求带宽的N倍,所述N大于0且小于1。
  17. 根据权利要求16所述的装置,其特征在于,
    所述配置单元,具体用于:为所述第一网络切片分配切片专用带宽,所分配的切片专用带宽的值等于所述第一网络切片的需求带宽的值的所述N倍;
    所述切换单元,具体用于:修改为所述第一网络切片分配的切片专用带宽的值,修改后的切片专用带宽的值等于所述第一网络切片的需求带宽的值。
  18. 根据权利要求16所述的装置,其特征在于,
    所述配置单元,具体用于:为所述第一网络切片分配通用带宽,且设置所分配的通用带宽中除了所述通用带宽的所述N倍以外的带宽允许承载不携带切片标识的流量,所述通用带宽的值等于所述第一网络切片的需求带宽的值;
    所述切换单元,具体用于:将所分配的通用带宽设置为所述第一网络切片的切片专用带宽。
  19. 根据权利要求12至18任一项所述的装置,其特征在于,所述切片信息包括下列信息中的至少一种:所述第一切片标识、所述需求带宽、接口信息和优先级信息。
  20. 根据权利要求11至19任一项所述的装置,其特征在于,
    所述切换单元,还用于:确定预设时长未接收到携带所述第一切片标识的流量,则,将所述第一网络切片的状态由所述激活状态切换为所述非激活状态。
  21. 一种网络设备,其特征在于,所述网络设备包括存储器和处理器;
    所述存储器,用于存储指令;
    所述处理器,用于执行所述存储器中的所述指令,执行权利要求1至10任意一项所述的方法。
  22. 一种计算机可读存储介质,其特征在于,包括指令,当所述指令在计算机上运行时,使得所述计算机执行以上权利要求1至10任意一项所述的方法。
PCT/CN2022/137542 2021-12-24 2022-12-08 一种控制网络切片状态的方法及相关设备 WO2023116449A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202111599993.5 2021-12-24
CN202111599993 2021-12-24
CN202210259509.2A CN116389263A (zh) 2021-12-24 2022-03-16 一种控制网络切片状态的方法及相关设备
CN202210259509.2 2022-03-16

Publications (1)

Publication Number Publication Date
WO2023116449A1 true WO2023116449A1 (zh) 2023-06-29

Family

ID=86901280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137542 WO2023116449A1 (zh) 2021-12-24 2022-12-08 一种控制网络切片状态的方法及相关设备

Country Status (1)

Country Link
WO (1) WO2023116449A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858986A (zh) * 2018-08-23 2020-03-03 中兴通讯股份有限公司 带宽调整方法、装置、通信设备及计算机可读存储介质
CN111050361A (zh) * 2018-10-12 2020-04-21 中国移动通信有限公司研究院 一种报文传送方法、装置及系统
CN112491713A (zh) * 2019-09-11 2021-03-12 华为技术有限公司 一种数据传输的控制方法及装置
CN113411834A (zh) * 2020-03-17 2021-09-17 华为技术有限公司 报文处理方法、装置、设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858986A (zh) * 2018-08-23 2020-03-03 中兴通讯股份有限公司 带宽调整方法、装置、通信设备及计算机可读存储介质
CN111050361A (zh) * 2018-10-12 2020-04-21 中国移动通信有限公司研究院 一种报文传送方法、装置及系统
CN112491713A (zh) * 2019-09-11 2021-03-12 华为技术有限公司 一种数据传输的控制方法及装置
CN113411834A (zh) * 2020-03-17 2021-09-17 华为技术有限公司 报文处理方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "cNSIId description clarification", 3GPP DRAFT; S5-215508, vol. SA WG5, 21 October 2021 (2021-10-21), pages 1 - 20, XP052071057 *

Similar Documents

Publication Publication Date Title
US10824477B2 (en) Network function virtualization service container creation
US11303577B2 (en) Prioritizing flows in software defined networks
US11095571B2 (en) Flexible and scalable enhanced transmission selection method for network fabrics
WO2016015559A1 (zh) 云化数据中心网络的承载资源分配方法、装置及系统
US20100287262A1 (en) Method and system for guaranteed end-to-end data flows in a local networking domain
WO2021189994A1 (zh) 基于FlexE传输业务流的方法及设备
US11140091B2 (en) Openflow protocol-based resource control method and system, and apparatus
WO2023142937A1 (zh) 一种网络拥塞控制方法及相关装置
US10778544B2 (en) Dynamic allocation of processing queues for control packets in software defined networks
US20230224236A1 (en) Routing Information Transmission Method and Apparatus
WO2023116449A1 (zh) 一种控制网络切片状态的方法及相关设备
EP4002779B1 (en) Method and apparatus for sharing information in redundant network, and computer storage medium
CN116155912A (zh) 网络系统中的性能调节
CN116389263A (zh) 一种控制网络切片状态的方法及相关设备
Elshuber et al. Dependable and predictable time-triggered Ethernet networks with COTS components
CN114816651A (zh) 一种通信方法、装置以及系统
WO2024087691A1 (zh) 一种报文处理方法及相关设备
WO2022143572A1 (zh) 一种报文处理方法及相关设备
US11996993B2 (en) Packet transmission method, apparatus, and system, and storage medium
CN113132500B (zh) 地址分配方法、装置、网络设备及存储介质
WO2023169285A1 (zh) 通信方法、装置、网络设备及系统
CN117395316B (zh) 出口流量管理方法、设备及可读存储介质
WO2023138390A1 (zh) 一种时隙分配的方法、网络设备和系统
WO2022237860A1 (zh) 报文处理方法、资源分配方法以及相关设备
US20210250308A1 (en) Backpressure from an external processing system transparently connected to a router

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: 22909764

Country of ref document: EP

Kind code of ref document: A1