WO2023109669A1 - Overload processing method, network device, and system - Google Patents

Overload processing method, network device, and system Download PDF

Info

Publication number
WO2023109669A1
WO2023109669A1 PCT/CN2022/137860 CN2022137860W WO2023109669A1 WO 2023109669 A1 WO2023109669 A1 WO 2023109669A1 CN 2022137860 W CN2022137860 W CN 2022137860W WO 2023109669 A1 WO2023109669 A1 WO 2023109669A1
Authority
WO
WIPO (PCT)
Prior art keywords
rate
packet
message
overload
limit
Prior art date
Application number
PCT/CN2022/137860
Other languages
French (fr)
Chinese (zh)
Inventor
张耀坤
牛承光
娄如思
尹建平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023109669A1 publication Critical patent/WO2023109669A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Definitions

  • the present application relates to the communication field, in particular to an overload processing method, network equipment and system.
  • CU separation refers to the network architecture in which the control plane (control plane, CP) and the user plane (user plane, UP) are decoupled.
  • the present application provides an overload processing method, a network device and a system, which can perform overload processing based on a speed limit policy at the UP device granularity, and improve the effect of overload processing.
  • a method for handling overload is provided, the method is applied to a network, and the network includes a CP device and at least two UP devices.
  • the CP device obtains the first message sent by the first UP device included in the at least two UP devices. If the CP device determines that it is overloaded, it determines the first rate limiting policy of the first UP device.
  • the first rate limiting policy is used to perform rate limiting processing on the first packet. Based on the first rate limiting policy of the first UP device, the rate limit can be performed on the first packet.
  • the rate limit of the first packet is determined by using the corresponding first rate limit policy determined for the first UP device, so that the rate limit of the first message is more in line with the overload processing requirements of the CP device, and the effect of overload processing on the CP device is improved.
  • the first UP device adjusts the first packet based on the first rate limiting policy.
  • the CP device sends the second packet including the first rate limiting policy to the first UP device.
  • the first UP device can perform rate limit processing on the first message based on the first rate limit policy carried in the second message.
  • the CP device before the CP device sends the second packet to the first UP device, the CP device first determines that the first UP device can limit the rate of the first packet. As an example, the CP device acquires that the first UP device sends the third packet including the first capability information. The first capability information indicates that the first UP device can limit the rate of the first packet. Based on the first capability information, the CP device can determine that the first UP device can limit the rate of the first message, and then send the second message including the first rate limit policy to the first UP device.
  • the CP device can send The first UP device sends a fourth packet including the first rate.
  • the first rate is a guide value of the rate at which the CP device sends the first packet to the first UP device.
  • the first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  • the CP device initiates the negotiation first. That is to say, the CP device sends the fourth packet including the first rate to the first UP device.
  • the first UP device sends the third packet including the first capability information to the CP device.
  • the CP device sends the fifth packet including the second rate to the first UP device.
  • the second rate is a guide value for sending the first message sent by the CP device to the first UP device in the case of overload recovery.
  • the second rate is used to instruct the first UP device to send the first packet to the CP device based on the second rate.
  • the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
  • the second packet in addition to including the first rate limiting policy, also includes overload information.
  • the overload information is used to indicate the overload degree of the CP device.
  • the second message is a packet forwarding control PFCP protocol message.
  • the second packet includes a Pri Control information field of packet redirection interface control information.
  • the Pri Control information field carries the first rate limiting policy.
  • the second message is a control plane and user plane separation protocol CUSP message.
  • the second packet includes a Type Length Value TLV field.
  • the TLV field carries the first rate limiting policy.
  • the CP device adjusts the first packet based on the first rate limiting policy. After determining the first rate limiting policy, the CP device limits the rate of the first packet based on the first rate limiting policy.
  • the CP device can discard the first packet based on the first rate limiting policy, so as to implement rate limiting on the first packet.
  • the CP device before limiting the rate of the first packet based on the first rate limiting policy, the CP device first determines that the first UP device cannot limit the rate of the first packet. In this way, when the first UP device does not support rate limiting for the first message, the CP device can limit the rate of the first message to ensure overload handling.
  • the CP device sends the sixth packet including the third rate to the first UP device.
  • the third rate is a guiding value of the rate at which the CP device instructs the first UP device to send the first packet. If the CP device obtains the seventh message carrying the second capability information fed back by the first UP device, or does not obtain the feedback message sent by the first UP device within the preset time, the CP device determines that the first UP device does not Supports rate limiting for the first packet. Wherein, the second capability information indicates that the first UP device does not support rate limiting for the first packet, that is, the first UP device does not have the function of rate limiting for the first packet.
  • the CP device when the CP device determines that it is not overloaded, the CP device processes the first packet based on the fourth rate.
  • the fourth rate is a guide value for adjusting the rate of the first packet when the CP device is not overloaded.
  • the first rate limiting policy is determined based on the priority of the first UP device
  • the first rate limiting policy is determined based on the traffic of the first packet
  • the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate within the first time period, and limit the rate of the first message according to the second rate limit rate within the second time period.
  • a document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
  • the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period.
  • speed limit the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
  • the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
  • the at least two UP devices included in the network include the second UP device.
  • the CP device also obtains the eighth packet sent by the second UP device. If it is determined that the CP device is overloaded, the CP device determines the second rate limiting policy of the second UP device.
  • the second rate limiting policy is used to perform rate limiting processing on the eighth packet.
  • the rate limit of the eighth message is determined by using the second rate limit policy corresponding to the second UP device, so that the rate limit of the eighth message is more in line with the overload processing requirements of the CP device, and the effect of overload processing on the CP device is improved. There may be differences between the first rate limiting strategy and the second rate limiting strategy, so that differential processing for different UP devices can be achieved, and a better effect of overload processing can be obtained.
  • the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limiting rate
  • the second rate limiting policy is used to indicate that the first packet is processed according to the seventh rate limiting rate.
  • the condition for determining that the CP device is overloaded is to satisfy one or more items of determining that the resource utilization rate of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold.
  • the first rate limiting policy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
  • the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a user Access message.
  • the first message is a DHCP discovery message, an Internet Protocol version 6 DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 packet, or an Internet Protocol version 4 IPv4 packet.
  • a method for handling overload is provided, the method is applied to a network, and the network includes a control plane CP device and at least two user plane UP devices, and the at least two UP devices include a first UP device.
  • the first UP device sends the first packet to the CP device.
  • the first UP device obtains the second packet sent by the CP device and includes the first rate limiting policy, and limits the rate of the first packet based on the first rate limiting policy. In this way, based on the first rate limiting strategy, the first UP device can more accurately limit the rate of the first packet to achieve a better overload handling effect.
  • the first UP device before the first UP device limits the rate of the first packet based on the first rate limiting policy, the first UP device first sends the third packet including the first capability information to the CP device.
  • the first capability information indicates that the first UP device can limit the rate of the first packet.
  • the first UP device sends the third message to the CP device, which can realize the negotiation with the CP device, so that the CP device determines that the first UP device can limit the rate of the first message, and then sends the first UP device including the first The second packet of the speed policy.
  • the first UP device actively negotiates, and sends the third packet to the CP device.
  • the CP device sends the fourth message to the first UP device.
  • the fourth packet includes the first rate.
  • the first rate is used to instruct the first UP device to send the first packet to the CP device according to the first rate.
  • the first rate is a guide value delivered by the CP device to the first UP device for sending the first packet.
  • the first UP device sends the first packet to the CP device based on the first rate.
  • the CP device actively negotiates, and first sends the fourth packet to the first UP device.
  • the first UP device sends the third packet to the CP device.
  • the first UP device sends the first packet to the CP device based on the first rate.
  • the first UP device feeds back the ninth packet to the CP device.
  • the ninth packet includes the first capability information and the fifth rate.
  • the first capability information indicates that the first UP device can limit the rate of the first packet.
  • the fifth rate is the rate at which the first UP device sends the first packet after limiting the rate of the first packet based on the first rate limiting policy.
  • the CP device can determine the result of the overload processing, so as to facilitate subsequent adjustment of the first speed limiting policy.
  • the first UP device configures a rate parameter based on the first rate limiting policy, and then adjusts the rate of sending the first packet based on the rate parameter.
  • the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
  • the CP device if the overload recovery condition is satisfied, the CP device generates a fifth packet including the second rate, and sends the fifth packet to the first UP device.
  • the first UP device acquires the fifth packet, and sends the first packet to the CP device based on the second rate.
  • the load recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
  • the second rate is used to instruct the first UP device to send the first packet to the CP device according to the second rate.
  • the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
  • the second message is a packet forwarding control PFCP protocol message.
  • the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
  • the third message is a packet forwarding control PFCP protocol message.
  • the second packet is a CUSP protocol packet.
  • the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  • the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the CP device and the at least two UP devices belong to a virtual broadband access system vBRAS.
  • the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
  • the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
  • an overload processing device is provided, the device is applied to a CP device in a network, the network includes a control plane CP device and at least two user plane UP devices, and the device includes:
  • an acquiring unit configured to acquire a first message sent by a first UP device, where the first UP device is one of the at least two UP devices;
  • a processing unit configured to, in response to determining that the CP device is overloaded, determine a first rate limiting strategy of the first UP device, where the first rate limiting strategy is used to limit the rate of the first packet.
  • the device further includes:
  • a sending unit configured to send a second packet to the first UP device, where the second packet includes the first rate limiting policy.
  • the acquiring unit is further configured to acquire a third packet sent by the first UP device, where the third packet includes first capability information, and the first capability information indicates The first UP device can limit the rate of the first packet.
  • the sending unit is further configured to send a fourth packet to the first UP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first packet to the CP device based on the first rate.
  • the sending unit is further configured to send a fifth packet to the first UP device in response to satisfying an overload recovery condition, where the fifth packet includes a second rate, and the The second rate is used to instruct the first UP device to send the first message to the CP device based on the second rate, and the overload recovery condition includes determining that the CP device is not overloaded and a preset recovery time is reached one or more of.
  • the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
  • the second message is a packet forwarding control PFCP protocol message.
  • the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
  • the second message is a control plane and user plane separation protocol CUSP message.
  • the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  • the processing unit is further configured to limit the rate of the first packet based on the first rate limit policy.
  • the processing unit is configured to limit the rate of the first packet based on the first rate limit strategy, including:
  • the processing unit is configured to discard the first packet based on the first rate limiting policy.
  • the processing unit is further configured to determine that the first UP device does not support rate limiting for the first packet.
  • the processing unit configured to determine that the first UP device does not support rate limiting for the first packet, includes:
  • the sending unit is configured to send a sixth message to the first UP device, where the sixth message includes a third rate, and the third rate is used to instruct the first UP device based on the third rate sending the first packet to the CP device at a rate;
  • the processing unit is configured to respond to the CP device obtaining the seventh message sent by the first UP device, or failing to obtain the feedback message sent by the first UP device within a preset time, the The CP device determines that the first UP device does not support rate limiting for the first packet, and the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not support rate limiting for the first packet. Describe the rate limit for the first packet.
  • the processing unit is further configured to, in response to determining that the CP device is not overloaded, process the first packet based on a fourth rate.
  • the first rate limiting policy is determined based on the priority of the first UP device
  • the first rate limiting policy is determined based on the traffic of the first packet
  • the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate in the first time period, and limit the rate of the first message according to the second rate limit rate in the second time period.
  • a document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
  • the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period.
  • speed limit the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
  • the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
  • the at least two UP devices include a second UP device, and the obtaining unit is further configured to obtain an eighth message sent by the second UP device;
  • the processing unit is further configured to, in response to determining that the CP device is overloaded, determine a second rate limiting policy of the second UP device, where the second rate limiting policy is used to limit the rate of the eighth packet deal with.
  • the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limit rate
  • the second rate limit policy is used to indicate that the first packet is processed according to the seventh rate limit rate.
  • the speed limit rate performs speed limit processing on the eighth message
  • the priority of the first UP device is higher than the priority of the second UP device
  • the sixth speed limit rate is greater than the seventh speed limit rate rate
  • the flow rate of the first packet is greater than the flow rate of the eighth packet
  • the difference between the sixth rate limiting rate and the transmission rate of the first packet before limiting the rate of the first packet The value is greater than the difference between the seventh rate limiting rate and the transmission rate of the eighth packet before limiting the rate of the eighth packet.
  • the determining that the CP device is overloaded includes determining that the resource utilization of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold, or multiple.
  • the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
  • the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
  • the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
  • an overload processing device is provided, the device is applied to a first UP device in a network, the network includes a control plane CP device and at least two user plane UP devices, and the at least two UP devices Including the first UP device, the apparatus includes:
  • an acquiring unit configured to acquire a second message sent by the CP device, where the second message includes a first rate limiting policy
  • a processing unit configured to limit the rate of a first packet based on the first rate limiting policy, where the first packet is a packet sent by the first UP device to the CP device.
  • the device further includes:
  • a sending unit configured to send a third packet to the CP device, where the third packet includes first capability information, and the first capability information indicates that the first UP device can restrict the first packet speed.
  • the acquiring unit is further configured to acquire a fourth packet sent by the CP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first message to the CP device according to the first rate;
  • the sending unit is further configured to send a first packet to the CP device based on the first rate.
  • the sending unit is configured to send a ninth packet to the CP device, where the ninth packet includes first capability information and a fifth rate, and the first capability information indicates The first UP device can limit the rate of the first packet, and the fifth rate is the rate at which the first UP device sends the first packet after limiting the rate of the first packet.
  • the processing unit configured to limit the rate of the first packet based on the first rate limiting strategy, includes:
  • the processing unit is configured to configure a rate parameter based on the first rate limiting policy, and adjust the rate of sending the first packet to the CP device based on the rate parameter.
  • the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
  • the acquiring unit is further configured to acquire a fifth packet sent by the CP device, where the fifth packet includes a second rate, and the second rate is used to indicate the The first UP device sends the first message to the CP device according to the second rate, the fifth message is generated and sent by the CP device in response to meeting an overload recovery condition, and the overload recovery
  • the conditions include one or more of determining that the CP device is not overloaded and reaching a preset recovery time;
  • the sending unit is further configured to send a first packet to the CP device based on the second rate.
  • the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
  • the second message is a packet forwarding control PFCP protocol message.
  • the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
  • the third message is a packet forwarding control PFCP protocol message.
  • the second packet is a CUSP protocol packet.
  • the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  • the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the CP device and the at least two UP devices belong to a virtual broadband access system vBRAS.
  • the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
  • the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
  • an overload handling system wherein the system includes a control plane CP device and at least two user plane UP devices;
  • the CP device is configured to obtain the first message sent by the first UP device, and determine a first rate limiting policy of the first UP device in response to determining that the CP device is overloaded, and the first UP device is For one of the at least two UP devices, the first rate limiting policy is used to limit the rate of the first packet.
  • the CP device is further configured to send a second message to the first UP device, where the second message includes the first rate limiting policy;
  • the first UP device is configured to obtain the second message sent by the CP device, and limit the rate of the first message based on the first rate limiting policy, and the first message is the first UP device A message sent to the CP device.
  • the first UP device is further configured to send a third packet to the CP device, where the third packet includes first capability information, and the first capability information indicates that the The first UP device can limit the rate of the first packet;
  • the CP device is further configured to obtain a third message sent by the first UP device, where the third message includes first capability information, and the first capability information indicates that the first UP device can Describe the rate limit for the first packet.
  • the CP device is further configured to send a fourth packet to the first UP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first packet to the CP device based on the first rate.
  • the first UP device is further configured to obtain a fourth message sent by the CP device, and send a first message to the CP device based on the first rate, and the fourth message includes the first rate , the first rate is used to instruct the first UP device to send the first packet to the CP device according to the first rate.
  • the first UP device is further configured to send a ninth message to the CP device, where the ninth message includes first capability information and a fifth rate, and the first The capability information indicates that the first UP device can limit the rate of the first message, and the fifth rate is the rate at which the first UP device sends the first message after the first UP device limits the rate of the first message .
  • the first UP device configured to limit the rate of the first packet based on the first rate limiting strategy, includes:
  • the first UP device is configured to configure a rate parameter based on the first rate limiting policy, and adjust a rate of sending the first packet to the CP device based on the rate parameter.
  • the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
  • the CP device is further configured to send a fifth packet to the first UP device in response to satisfying an overload recovery condition, where the fifth packet includes a second rate, and the The second rate is used to instruct the first UP device to send the first message to the CP device based on the second rate, and the overload recovery condition includes determining that the CP device is not overloaded and a preset recovery time is reached one or more of;
  • the first UP device is further configured to obtain the fifth packet sent by the CP device, and send the first packet to the CP device based on the second rate.
  • the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
  • the second message is a packet forwarding control PFCP protocol message.
  • the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
  • the second message is a control plane and user plane separation protocol CUSP message.
  • the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  • the CP device is further configured to limit the rate of the first packet based on the first rate limit policy.
  • the CP device is configured to limit the rate of the first packet based on the first rate limit policy, including:
  • the CP device is configured to discard the first packet based on the first rate limiting policy.
  • the CP device is configured to determine that the first UP device does not support rate limiting for the first packet.
  • the CP device is configured to determine that the first UP device does not support rate limiting processing on the first packet, including:
  • the CP device is configured to send a sixth message to the first UP device, and respond to the CP device obtaining the seventh message sent by the first UP device, or failing to obtain the seventh message sent by the first UP device within a preset time According to the feedback message sent by the first UP device, it is determined that the first UP device does not support the rate limit for the first message, and the sixth message includes a third rate, and the third rate is used to indicate the The first UP device sends the first packet to the CP device based on the third rate, the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not Support rate limiting for the first packet.
  • the CP device is further configured to, in response to determining that the CP device is not overloaded, process the first packet based on a fourth rate.
  • the first rate limiting policy is determined based on the priority of the first UP device
  • the first rate limiting policy is determined based on the traffic of the first packet
  • the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate within the first time period, and limit the rate of the first message according to the second rate limit rate within the second time period.
  • a document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
  • the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period.
  • speed limit the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
  • the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
  • the at least two UP devices include a second UP device
  • the CP device is further configured to acquire an eighth message sent by the second UP device, and in response to determining that the The CP device is overloaded, and determines a second rate-limiting policy of the second UP device, where the second rate-limiting policy is used to perform rate-limiting processing on the eighth packet.
  • the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limit rate
  • the second rate limit policy is used to indicate that the first packet is processed according to the seventh rate limit rate.
  • the speed limit rate performs speed limit processing on the eighth message
  • the priority of the first UP device is higher than the priority of the second UP device
  • the sixth speed limit rate is greater than the seventh speed limit rate rate
  • the flow rate of the first packet is greater than the flow rate of the eighth packet
  • the difference between the sixth rate limiting rate and the transmission rate of the first packet before limiting the rate of the first packet The value is greater than the difference between the seventh rate limiting rate and the transmission rate of the eighth packet before limiting the rate of the eighth packet.
  • the determining that the CP device is overloaded includes determining that the resource utilization of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold, or multiple.
  • the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
  • the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
  • the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
  • an embodiment of the present application provides a control plane device, the control plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the Instructions or program codes to execute the overload handling method described in the aforementioned first aspect.
  • the embodiment of the present application provides a user plane device, the user plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the Instructions or program codes to execute the overload handling method described in the aforementioned second aspect.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, programs or codes, which, when executed on a computer, cause the computer to perform the overload processing method as described in the first aspect above , or the overload handling method described in the second aspect.
  • the embodiment of the present application provides a computer program product.
  • the computer program product When the computer program product is run on a network device, it causes the network device to perform the overload processing method described in the first aspect, or the method described in the second aspect. The method of overload handling.
  • FIG. 1 is a schematic diagram of a network architecture
  • FIG. 2 is a schematic diagram of the architecture of a system for implementing overload processing
  • FIG. 3 is a schematic structural diagram of a system for implementing overload processing provided by an embodiment of the present application
  • FIG. 4 is a schematic flow chart of an overload processing method provided in an embodiment of the present application.
  • FIG. 5 is a schematic flow chart of another overload processing method provided in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a PFCP message extension format provided by an embodiment of the present application.
  • Fig. 7 is a schematic diagram of the format of a Pri Control information field provided by the embodiment of the present application.
  • Figure 8a is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application.
  • Figure 8b is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application.
  • FIG. 9 is a schematic diagram of the format of a TLV field included in a second message provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a negotiation process between a CP device and a first UP device provided in an embodiment of the present application
  • FIG. 11 is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application
  • FIG. 12 is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application
  • FIG. 13 is a schematic structural diagram of a CU separation system provided in an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of an overload processing provided by an embodiment of the present application.
  • FIG. 15 is a schematic flowchart of another overload processing method provided by the embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of another CU separation system provided by an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of another overload processing provided by the embodiment of the present application.
  • FIG. 18 is a schematic structural diagram of an overload treatment device provided in an embodiment of the present application.
  • FIG. 19 is a schematic structural diagram of another overload treatment device provided in the embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of an overload processing system provided by an embodiment of the present application.
  • Fig. 21 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • FIG. 22 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the broadband network includes network equipment that provides users with access to broadband network services.
  • a network device that enables users to access broadband network services such as a broadband network gateway (broadband network gateway, BNG) or a broadband remote access server (broadband remote access server, BRAS).
  • BNG broadband network gateway
  • BRAS broadband remote access server
  • a virtual broadband remote access server (vBRAS) is used to provide users with broadband network access services.
  • vBRAS can realize CU separation based on SDN technology and NFV technology, can make full use of resources, and facilitate management and maintenance.
  • the vBRAS may include one CP device and at least two UP devices.
  • a CP device can manage multiple UP devices belonging to the same vBRAS.
  • the figure is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • the network includes terminal equipment 1, terminal equipment 2, residential gateway (residential gateway, RG), optical line terminal (optical line termination, OLT), UP equipment 1, UP equipment 2, CP equipment and authentication server.
  • the terminal device 1 and the terminal device 2 are respectively connected to the home gateway.
  • the home gateway is connected with the optical line terminal.
  • the optical line terminals are connected to UP equipment 1 and UP equipment 2 respectively.
  • UP device 1 and UP device 2 are respectively connected to the CP device.
  • the CP device communicates with remote authentication dial in user service (RADIUS) server, dynamic host configuration protocol (dynamic host configuration protocol, DHCP) server, network functions virtualization management and orchestration (network functions virtualization management and orchestration, MANO) respectively. ) and network element management system (element management system, EMS) connection.
  • the CP device interacts with the RADIUS server and the DHCP server to implement user authentication and IP address allocation.
  • CP equipment is managed and controlled by MANO and EMS.
  • the EMS is also connected to the UP device 1, the UP device, and a core router (core router, CR) respectively, so as to realize the management and control of the UP device 1, the UP device, and the CR.
  • UP device 1 and UP device 2 also access the network through CR respectively.
  • the UP device 1 is used to provide the terminal device 1 with a broadband access service
  • the UP device 2 is used to provide the terminal device 2 with a broadband access service.
  • the dotted arrow indicates the transmission process of the user access message.
  • user 1 needs to access the broadband network
  • he uses terminal device 1 to send user access message 1 to UP device 1 that provides broadband access service through RG and OLT.
  • user 2 needs to access the broadband network
  • the UP device 1 sends a user access message 1 to the CP device.
  • the UP device 2 sends a user access message 2 to the CP device.
  • the CP device processes user access packet 1 and user access packet 2 respectively, and exchanges information with the RADIUS server to complete authentication and authorization of user 1 and user 2.
  • the CP device sends the entry of user 1 to the UP device 1, so that the UP device 1 provides the broadband access service for user 1 based on the entry of user 1.
  • the CP device delivers the user 2 entry to the UP device 2, so that the UP device 2 provides the user 2 with a broadband access service based on the user 2 entry.
  • the solid line arrows in FIG. 1 the solid line arrows indicate the transmission process of the user data stream.
  • User 1 accesses the network through the RG, OLT, UP device 1, and CR when transmitting data after accessing the network.
  • User 2 accesses the network through the RG, OLT, UP device 2, and CR when transmitting data after accessing the network.
  • the CP device will process the user access packets forwarded after being redirected by multiple UP devices.
  • the CP device will obtain a large number of user access packets within a short period of time.
  • the CP device cannot normally and quickly process a large number of user access packets, causing the CP device to run beyond the specified capacity, that is, overload.
  • the CP device is overloaded, it is difficult to process user access packets normally, which may cause users to be unable to access the broadband network and affect users' use of the broadband network.
  • FIG. 2 the figure is a schematic flow diagram of a CU separation system service.
  • the residential gateway residential gateway, RGW
  • the UP device is connected to the CP device through a domain controller (domain controller)-gateway device.
  • the CP device is connected to the authentication server.
  • the UP device is connected to the network through the CR.
  • the UP device performs overload control when forwarding user access packets to the CP device, so as to prevent network attack flows from impacting the CP device.
  • the DC-gateway device deploys an access control list (ACL). The DC-gateway device uses the ACL to prevent the fake UP device from sending attack packets to the CP device.
  • the CP device internally deploys an overload control module to control the large number of user access packets forwarded by the UP device and prevent the large number of user access packets from affecting the CP device. business processing module.
  • the above three methods are independently processed by the UP device, the gateway device, and the CP device, and it is difficult to coordinate based on the transmission status of user access packets, resulting in a poor effect of overload processing.
  • an embodiment of the present application provides an overload handling method.
  • the overload processing method is applied in a network including a CP device and multiple UP devices, and the multiple UP devices include the first UP device.
  • the CP device obtains the first packet sent by the first UP device, and determines the first rate limiting policy of the first UP device when responding to determining that the CP device is overloaded. Based on the first rate limiting strategy, rate limiting processing can be performed on the first packet in a targeted manner, thereby improving the effect of overload processing.
  • FIG. 3 the figure is a schematic structural diagram of a system for implementing overload handling provided by an embodiment of the present application.
  • the system includes a terminal device 301 , a terminal device 302 , a UP device 303 , a UP device 304 , a CP device 305 , a server 306 and a network 307 .
  • the terminal device 301 is connected to the UP device 303
  • the terminal device 302 is connected to the UP device 304
  • the UP device 303 and the UP device 304 are respectively connected to the CP device 305
  • the CP device 305 is connected to the server 306 .
  • the UP device 303 and the UP device 304 access the network 307 respectively.
  • the terminal device 301 and the terminal device 302 are devices that provide login services for users.
  • Terminal device 301 and terminal device 302 are devices that support broadband network access.
  • the terminal equipment 301 and the terminal equipment 302 may be desktop computers, notebook computers, customer premise equipment (customer premise equipment, CPE) and digital video conversion boxes (set top box, STB) and so on.
  • CPE customer premise equipment
  • STB digital video conversion boxes
  • the user is determined based on the user identifier, and has nothing to do with the device that provides the login service.
  • User identification such as the user name for the user's broadband dial-up, or the family name of the household to which the user belongs. Users can log in on multiple different devices. The same device can also realize the login of multiple users.
  • the UP device 303, the UP device 304, and the CP device 305 belong to the same system that provides broadband network access services. In a possible implementation manner, the UP device 303, the UP device 304, and the CP device 305 belong to the same vBRAS.
  • the UP device 303, the UP device 304, and the CP device 305 are all in the form of a virtual network function (virtual network function, VNF).
  • UP device 303 and UP device 304 are vBRAS-UP devices.
  • the CP device 305 is a vBRAS-CP device.
  • the server 306 is a server in the network that processes user authentication and provides authentication and authorization services.
  • the server 306 is, for example, an authentication, authorization, and accounting (authentication, authorization, accounting, AAA) server, or a remote authentication dial in user service (RADIUS) server.
  • the schematic diagram of the system architecture shown in FIG. 3 is only an example provided by the embodiment of the present application.
  • the overload handling method provided in this embodiment of the present application is not limited to the scenario shown in FIG. 3 above.
  • the overload handling method provided in the embodiment of the present application can be applied to the system architecture shown in FIG. 1 and FIG. 2 .
  • FIG. 4 the figure is a schematic flowchart of an overload processing method provided in an embodiment of the present application.
  • the overload handling method provided in the embodiment of the present application includes S401-S402.
  • the CP device obtains the first packet sent by the first UP device.
  • the CP device and the first UP device belong to the same system that provides broadband network access services for users.
  • the CP device manages multiple UP devices. That is to say, a system for providing broadband network access services to users includes a CP device and multiple UP devices.
  • the first UP device is one of multiple UP devices managed by the CP device.
  • the CP device and the first UP device belong to the vBRAS.
  • the CP device is CP device 305
  • the first UP device is UP device 303 or UP device 304 .
  • the first message is generated by the terminal device that the first UP device provides broadband network access service.
  • the first UP device is the UP device 303 .
  • the UP device 303 is used to provide broadband network access services for users logged in on the terminal device 301 .
  • the terminal device 301 generates a first packet for accessing the broadband network based on the information of the logged-in user, and sends the first packet to the UP device 303 .
  • the UP device 303 After acquiring the first packet, the UP device 303 performs redirection processing on the first packet, and sends the first packet to the CP device 305 .
  • the CP device and the first UP device are connected through three types of interfaces.
  • the three interfaces are management interface (Manage Interface, Mi), packet redirection interface (packet redirection interface, PRi) and state control interface (state control interface, SCi).
  • the CP device sends configuration information to the first UP device through Mi.
  • the CP device acquires the first packet sent by the first UP device through the PRi.
  • PRi is a general packet radio service tunnel protocol for the user plane (GTP-U) tunnel extended in the TR459 specification, or a virtual scalable local area network in the TR487 specification Generic protocol extension (virtual extensible local area network generic Protocol extension, VXLAN GPE) tunnel.
  • GTP-U general packet radio service tunnel protocol for the user plane
  • VXLAN GPE virtual extensible local area network generic Protocol extension
  • the CP device delivers user session (session) information to the first UP device through the SCi, and obtains statistics or detection results of the user session reported by the first UP device.
  • SCi is established based on the extended third generation partnership project (3rd generation partnership project, 3GPP) packet forwarding control protocol (PFCP) in the TR459 specification, or based on the control plane and
  • PFCP packet forwarding control protocol
  • the user plane separation protocol (control plane and user plane separated protocol, CUSP) is established.
  • the first message is used to enable the user to access the broadband network.
  • the first message is a dial-up message or a user access message.
  • the specific type of the first packet is related to the service type.
  • the service type is an Ethernet-based Internet protocol (internet protocol over ethernet, IPOE) type or a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) type.
  • the first message is a DHCP discovery (discover) message, a dynamic host configuration protocol version 6 (DHCPv6) request (solicit) message, and a sixth version of the Internet Protocol (internet protocol version 6, IPv6) A data packet and a type of Internet protocol version 4 (IPv4) data packet.
  • the service type is a point-to-point protocol over ethernet (PPPoE) type.
  • the first packet is a PPPoE active discovery initiation packet (PPPoE active discovery initiation, PADI).
  • the CP device determines a first rate limiting policy of the first UP device for limiting the rate of the first packet.
  • CP device overload refers to the state that the CP device operates beyond the standard load.
  • the CP device overload can be judged based on the running status of the CP device.
  • the embodiment of the present application does not limit the specific implementation manner of judging whether the CP device is overloaded.
  • the usage of internal components and resources of the CP device is detected in real time, and the detection content includes but is not limited to central processing unit (central processing unit, CPU) utilization, memory utilization, RADIUS authentication timeout rate and The internal modules of the system process delay changes, etc.
  • the current usage and indicators of each detection content comprehensively judge whether the CP device is overloaded.
  • threshold values for each detected content are preset. The threshold value can be customized according to specific detection content. When the relevant values of one or more detected contents exceed the threshold value of the detected contents, it is determined that the CP device is overloaded. As another example, in some cases, if the difference between the relevant numerical value of the detected content and the threshold value of the detected content is within a preset range, it is determined that the CP device is overloaded.
  • the resource utilization rate of the CP device is acquired.
  • the first threshold is a threshold value of resource utilization.
  • the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate.
  • the processing delay of the CP device is acquired. When the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
  • the processing delay of the CP device When the processing delay of the CP device does not exceed the second threshold, it is determined that the CP device is not overloaded.
  • the CP device processing delay is the service processing delay of the CP device.
  • the second threshold is a threshold value of the processing delay of the CP device.
  • the processing delay of the CP device such as the user authentication timeout period, or the delay of processing the first packet for the CP device system.
  • whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
  • the CP device determines a first rate limiting policy of the first UP device.
  • the first rate limiting strategy is a rate limiting strategy for limiting the rate of the first packet.
  • the rate-limiting process for the first message can be performed more accurately based on the transmission status of the first message or based on the operation status of the first UP device, thereby reducing the messages to be processed by the CP device and alleviating CP.
  • Equipment overload conditions In this way, the speed limit processing is performed on the first packet, and the effect of alleviating the overload of the CP device is better.
  • the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the transmission rate limit rate is the rate limit rate at which the first UP device transmits the first packet.
  • the rate percentage is the percentage of the rate at which the first UP device transmits the first packet after rate limiting to the rate at which the first UP device transmits the first packet before the rate limit.
  • the time length for stopping sending is the time length during which the first UP device stops sending the first packet.
  • the embodiment of the present application does not limit the number of times the CP device determines the first rate limiting policy during the overload period of the CP device.
  • the CP device can determine the first rate limiting policy multiple times based on the transmission of the first message, so that the determined first rate limit policy is related to the operation of the CP device and the transmission of the first message. The situation is relatively matched, and a better overload handling effect is achieved.
  • the embodiment of the present application does not limit the specific implementation manner of determining the first speed limit policy.
  • the CP device can determine the first rate limiting policy based on a preset manner and algorithm for determining the first rate limiting policy. Five possible specific implementation manners for determining the first speed limit strategy are introduced below.
  • the first type preconditions.
  • the preset condition refers to setting the priority of the UP device in advance.
  • the first rate limiting strategy is determined based on the priority of the first UP device.
  • the CP device can determine the first rate limiting policy of the first UP device based on the priority of the first UP device.
  • the priority of the first UP device may be preset. This embodiment of the present application does not limit the implementation manner of setting the priority of the first UP device.
  • a definition interface is provided externally, and the user can set the priority of the first UP device through the definition interface.
  • the priority of the first UP device is determined based on the area where the first UP device is located. For example, if the first UP device is located in a more critical area that provides services for users to access the network, the priority of the first UP device is higher.
  • the second type punishment judgment.
  • Punishment judgment refers to determining the rate limit policy of the UP device according to the flow of packets sent by the UP device to the CP device. For example, for a UP device that sends more redirected packets to the CP device, in the corresponding rate limiting policy, the degree of restriction on the packets sent to the CP device is greater. For the UP device that sends redirected packets to the CP device with less traffic, in the corresponding rate limiting policy, the degree of restriction on the packets sent to the CP device is smaller.
  • the first rate limiting policy is determined based on the flow of the first packet sent by the first UP device.
  • the CP device determines the first rate limiting policy based on the traffic of the first packet sent by the first UP device.
  • the degree of restriction on the first packet is increased.
  • the degree of restriction on the first packet is reduced.
  • an algorithm is used to determine the first rate limiting policy based on the traffic of the first packet transmitted.
  • the third type weight polling.
  • Weight polling refers to determining the speed limit strategy of UP devices according to the guaranteed sending time period of each UP device after overloading.
  • the degree of restriction on the message sent by the UP device to the CP device is relatively low.
  • the guaranteed sending time periods of different UP devices may be different. In this way, UP devices can be adjusted in batches according to the guaranteed sending time period.
  • the first rate limiting policy is determined based on the guaranteed sending time period of the first UP device.
  • the guaranteed sending time period is a time period guaranteed to send the first packet by the first UP device.
  • the time period may be divided by a time window timer, and different UP devices have corresponding guaranteed time periods. In this way, different UP devices can limit the rate of packets in batches.
  • the guaranteed sending time period of the first UP device is predetermined. For example, the rate of the first packet is limited according to the first speed limit rate in the first time period, and the rate of the first packet is limited according to the second rate limit rate in the second time period.
  • the first time period is a guaranteed sending time period of the first UP device.
  • the first speed limit rate is greater than the second speed limit rate.
  • the fourth type successive weighting.
  • Gradual weighting refers to adjusting the speed limit strategy of UP devices in different time periods according to the overload of CP devices as time goes by. For example, after the CP device is overloaded, first increase the degree of restriction on the message sent by the UP device to the CP device. After the subsequent overload of the CP device is relieved, the degree of restriction on the message sent by the UP device to the CP device is lowered.
  • the first rate limiting policy is determined based on a time period.
  • the corresponding speed limit rate is determined in different time periods.
  • the time period may be divided using a time window timer.
  • the earlier time period corresponds to a lower speed limit rate
  • the later time period corresponds to a higher speed limit rate.
  • limit the speed of the first packet according to the third speed limit rate in the third time period and limit the speed of the first packet according to the fourth speed limit rate in the fourth time period.
  • the third time period is earlier than the fourth time period, and the third speed limit rate is smaller than the fourth speed limit rate.
  • the default policy means that after the CP device is overloaded, the packets sent by all UP devices to the CP device are restricted on an average basis.
  • the first rate limiting strategy is determined based on the transmission rate of the first packet.
  • a fifth rate limiting rate included in the first rate limiting policy is determined based on the transmission rate of the first packet.
  • the fifth rate limit rate is lower than the transmission rate of the first packet before the first packet rate limit.
  • rate limiting processing is performed on the first packet based on the first rate limiting strategy.
  • the CP device determines the first rate limiting policy
  • the CP device sends the first rate limiting policy to the first UP device.
  • the first UP device can adjust the process of sending the first packet based on the first rate limiting policy, so as to implement rate limiting processing on the first packet.
  • the CP device performs rate limiting processing on the first packet based on the first rate limiting policy. The two processes of performing rate-limiting processing on the first packet are respectively introduced below.
  • the first type the first UP device limits the rate of the first packet based on the first rate limit policy.
  • FIG. 5 this figure is a schematic flowchart of another overload processing method provided by the embodiment of the present application.
  • the overload handling method provided in the embodiment of the present application includes S501-S505.
  • the CP device acquires the first packet sent by the first UP device.
  • the CP device determines a first rate limiting policy of the first UP device.
  • S501-S502 are similar to the above-mentioned S401-S402, please refer to the above description for details, and details will not be repeated here.
  • the CP device sends the second packet including the first rate limiting policy to the first UP device.
  • the CP device can generate and send the second packet including the first rate limiting policy to the first UP device.
  • the CP device sends the second packet to the first UP device through the SCi.
  • the second message is, for example, an update connection request (association update request).
  • association update request association update request
  • the embodiment of the present application does not limit the specific type of the second packet.
  • two specific types of the second message are provided below.
  • the second message is a Packet Forwarding Control Protocol (Packet Forwarding Control Protocol, PFCP) message.
  • PFCP Packet Forwarding Control Protocol
  • the figure is a schematic diagram of a PFCP message extension format provided by the embodiment of the present application.
  • the packet redirection interface control information (Pri Control information) is used as an extended grouped IE in the PFCP packet.
  • the packet redirection interface control information element type (Pri Control information (to-CP) information elements type) field occupies the first byte and the second byte.
  • the length (length) field occupies the third byte and the fourth byte.
  • the information elements (IE) field occupies subsequent bytes.
  • the information elements field may be an overload metric (Overload Metric) field, a rate limit with kbps (RBPS) field for transmitting data streams, and a rate limit with packets per second (RPKTS) field for transmitting packets.
  • overload Metric Overload Metric
  • RBPS rate limit with kbps
  • RPKTS rate limit with packets per second
  • the IE type of the Overload Metric field is the Metric type.
  • the priority (preference, P) of the Overload Metric field is optional (optional, O).
  • the value of the Overload Metric field is used to indicate that the CP device is overloaded. Values are expressed as percentiles on a scale of 0-100. The larger the value, the greater the overload of the CP device. The smaller the value, the smaller the overload of the CP device.
  • the IE type of the RBPS field is the RBPS type.
  • the priority of the RBPS field is mandatory (mandatory, M).
  • the value carried in the RBPS field indicates the speed limit rate.
  • the unit of the value carried in the RBPS field is kbps, which indicates the traffic of the data stream transmitted in kbps per second.
  • the RBPS field indicates that the UP device uses the rate-limited rate indicated by the numerical value to perform rate control on the packets redirected to the CP device through the Pri interface, that is, the packets sent to the CP device.
  • the IE type of the RPKTS field is the RPKTS type.
  • the priority of the RPKTS field is conditional (Conditional, C).
  • the value carried in the RPKTS field indicates the rate limit.
  • the unit of the value carried in the RPKTS field is packets/1second, indicating the number of packets transmitted per second.
  • the RPKTS field instructs the UP device to control the rate of packets redirected to the CP device through the Pri interface using the rate-limited rate indicated by the numerical value.
  • the unit is packets/1second, indicating the number of packets sent per second.
  • the RPKTS field can also carry the secondary information elements field.
  • the secondary information elements field carries the rate parameter, indicating that rate control is performed using the rate parameter.
  • the second packet includes a packet redirection interface control information (Pri Control information) field.
  • Pri Control information carries the first rate limiting policy.
  • FIG. 7 is a schematic diagram of the format of a Pri Control information field provided by the embodiment of the present application.
  • the type (type) field occupies two bytes.
  • the length field occupies two bytes.
  • the information elements field is multiple bytes.
  • the information element field carries the transmission rate limit rate.
  • m is a positive integer greater than 5.
  • the transmission rate limit rate is a rate limit with kbps (RBPS) of the transmission data stream.
  • RBPS is used to indicate the flow rate of a data stream in kbps transmitted per second.
  • FIG. 8a is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application.
  • the first byte and the second byte are the type field
  • the third byte to the sixth byte are the information elements field
  • the information elements field carries the RBPS.
  • the transmission rate limit rate is a rate limit with packets per second (RPKTS) for transmitting packets.
  • RPKTS is used to indicate the number of packets transmitted per second.
  • FIG. 8b is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application. Among them, the first byte and the second byte are the type field, the third byte to the sixth byte are the information elements field, and the information elements field carries RPKTS.
  • the second packet is a CUSP packet.
  • the second packet includes a type length value (type length value, TLV) field.
  • the TLV field carries the first rate limiting policy.
  • FIG. 9 the figure is a schematic diagram of a format of a TLV field included in a second packet provided by an embodiment of the present application.
  • the type field is used to indicate the type of the TLV field.
  • the value of the length field is the length of the TLV field.
  • the value field carries one or more of the transmission rate limit rate, rate percentage and stop sending time length included in the first rate limit policy.
  • the service type is PPPoE type
  • the first rate limiting policy includes transmission rate limiting rate.
  • the second packet carries a committed access rate (committed access rate, CAR).
  • the CAR is used to indicate the transmission rate limit of the first packet.
  • the value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_SET_CAR, the value of the length field is 329, and the value field is the numerical value of the transmission rate limit.
  • the second packet can also include overload information.
  • the overload information is used to indicate the overload degree of the CP device.
  • the information elements field included in the PFCP message carries overload information.
  • the information elements field includes a CP device overload control (CP overload control) field.
  • the value of the CP overload control field is an overload parameter.
  • the overload parameter is a percentage value, and the value ranges from 0-100. The larger the value of the overload parameter, the higher the overload degree of the CP device; the smaller the value of the overload parameter, the lower the overload degree of the CP device.
  • the first UP device acquires the second packet sent by the CP device.
  • the first UP device limits the rate of the first packet based on the first rate limit policy.
  • the first UP device can obtain the first rate limiting policy from the second packet.
  • the first UP device performs rate limit processing on the first packet based on the first rate limit policy.
  • the first rate limiting strategy includes a transmission rate limiting rate.
  • the first UP device can control the rate at which the first packet is sent based on the transmission rate limit rate configuration. For example, the first UP device configures a rate parameter for controlling sending of the first packet based on the transmission rate limit rate, and then sends the first packet based on the configured rate parameter.
  • the rate parameter is a queue parameter or a CAR parameter.
  • the first UP device uses the first rate limiting policy to limit the rate of the first message sent to the CP device, implement overload processing on the UP device, and reduce the number of first messages that the CP device needs to process.
  • the first rate limiting strategy determined for the first UP device or the first message can better match the transmission situation of the first message, and achieve a better overload control effect.
  • the first UP device further sends the ninth packet to the CP device.
  • the ninth packet includes the first capability information and the fifth rate.
  • the ninth message is, for example, an update connection response (association update response).
  • the first capability information indicates that the first UP device can process the first packet with rate limit.
  • the fifth rate is the current rate at which the first UP device actually transmits the first packet after the first UP device limits the rate of the first packet based on the first rate limiting policy.
  • the CP device can determine based on the ninth packet that the first UP device performs rate limiting processing on the first packet based on the first rate limiting policy, and can determine the current situation of the first UP device transmitting the first packet based on the fifth rate.
  • the CP device before the CP device sends the second packet to the first UP device, it needs to be determined in advance that the first UP device has a function of performing rate-limiting processing on the first packet.
  • the process in which the CP device determines whether the first UP device has rate-limit processing for the first packet is also referred to as a negotiation process.
  • the embodiment of this application does not limit the device that initiates the negotiation process.
  • the first UP device can actively initiate negotiation.
  • the CP device actively initiates the negotiation.
  • this figure is a schematic flowchart of a negotiation process between a CP device and a first UP device according to an embodiment of the present application, including S1001-S1003.
  • the first UP device sends a third packet to the CP device.
  • the first UP device generates a third packet including the first capability information based on its own ability to support the first packet.
  • the first capability information indicates that the first UP device can limit the rate of the first packet.
  • the first capability information is a parameter indicating that the first UP device has a capability of limiting the rate of the first packet.
  • the first capability information is a current transmission rate of the first packet transmitted by the first UP device.
  • the third message is, for example, a connection establishment request (association setup request).
  • association setup request The embodiment of the present application does not limit the specific type of the third packet.
  • the third message is a PFCP message.
  • the third packet includes a user plane extended capability item (UP Function Feature) field.
  • the UP Function Feature field carries the first capability information.
  • the first capability information is, for example, carried in a CP device overload control (CP overload control) field included in the UP Function Feature field.
  • CP overload control CP overload control
  • the third packet is a CUSP packet.
  • the third packet includes a TLV field.
  • the TLV field carries first capability information.
  • the service type is PPPoE type.
  • the second packet carries the CAR of the first UP device.
  • the value of the type field in the TLV field carried by the second message is CUCTLI_TLV_PADI_ACK_CAR_ABLI, the value of the length field is 60, and the value field is the value of the transmission rate at which the first UP device transmits the first message.
  • the embodiment of the present application does not limit the conditions for triggering S1001.
  • the first UP device in response to the successful registration of the first UP device on the CP device, that is, in response to the successful connection between the first UP device and the CP device, the first UP device generates and sends a third message to the CP device .
  • the first UP device can send the third packet to the CP device through the SCi.
  • the CP device can acquire the third packet sent by the first UP device through the SCi.
  • the CP device determines based on the third packet that the first UP device can limit the rate of the first packet.
  • the CP device can determine, according to the first capability information included in the third packet, that the first UP device can limit the rate of the first packet. When it is determined that the overload occurs, the CP device can send the second packet including the first rate limiting policy to the first UP device.
  • the CP device can also record the UP devices that support the rate limit for sending packets to the CP device, so as to send the corresponding rate limit policy to the UP device. For example, after determining that the first UP device can limit the rate of the first packet, the CP device records the device identifier of the first UP device in the database or management list.
  • the CP device can instruct the first UP device to transmit the first packet at a rate.
  • FIG. 11 is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application.
  • S1001-S1003, S1004 and S1006 are also included.
  • the CP device sends a fourth packet including the first rate to the first UP device.
  • the first rate carried in the fourth packet is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  • the first rate is a preset rate at which the first packet is sent under a non-overload condition.
  • the first rate is greater than the transmission rate limit rate included in the first rate limit policy.
  • the fourth message is, for example, an association setup response.
  • the fourth message is a PFCP message.
  • the fourth packet includes a Pri Control information field.
  • the Pri Control information field carries the first rate.
  • the first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  • the fourth packet is a CUSP packet.
  • the fourth packet includes a TLV field.
  • the TLV field carries the first rate.
  • the service type is PPPoE type.
  • the fourth packet carries the CAR of the first UP device.
  • the value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_GET_CAR_ABLI, the value of the length field is 60, and the value field is the value of the first rate.
  • the CP device can send the fourth packet to the first UP device through the SCi.
  • the first UP device can receive the fourth message sent by the CP device through the SCi.
  • the first UP device adjusts the rate of sending the first packet based on the first rate.
  • the first UP device adjusts the sending rate of the first packet based on the first rate in the fourth packet.
  • the first UP device can configure a rate parameter based on the first rate, and then adjust a rate for sending the first packet based on the rate parameter.
  • the rate parameter is a queue parameter or a CAR parameter.
  • this figure is a schematic flowchart of another negotiation process between the CP device and the first UP device provided in the embodiment of the present application, including S1201-S1206.
  • the CP device sends a fourth packet including the first rate to the first UP device.
  • the embodiment of the present application does not limit the conditions for triggering S1201.
  • the CP device in response to the successful registration of the first UP device on the CP device, that is, in response to the successful connection between the CP device and the first UP device, the CP device generates the fourth message including the first rate.
  • the first rate carried in the fourth packet is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  • the first rate is a preset rate at which the first packet is sent under a non-overload condition.
  • the first rate is greater than the transmission rate limit rate included in the first rate limit policy.
  • the fourth message is, for example, a connection establishment request (association setup request).
  • the fourth message is a PFCP message.
  • the fourth packet includes a Pri Control information field.
  • the Pri Control information field carries the first rate.
  • the first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  • the fourth packet is a CUSP packet.
  • the fourth packet includes a TLV field.
  • the TLV field carries the first rate.
  • the service type is PPPoE type.
  • the fourth packet carries the CAR of the first UP device.
  • the value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_GET_CAR_ABLI, the value of the length field is 60, and the value field is the value of the first rate.
  • the CP device can send the fourth packet to the first UP device through the SCi.
  • S1202 The first UP device obtains the fourth packet.
  • the first UP device can acquire the fourth message sent by the CP device through the SCi.
  • the first UP device adjusts the rate of sending the first packet based on the first rate.
  • the first UP device has the function of adjusting the sending rate of the first packet.
  • the first UP device adjusts the sending rate of the first packet based on the first rate in the fourth packet.
  • the first UP device can configure a rate parameter based on the first rate, and then adjust a rate for sending the first packet based on the rate parameter.
  • the rate parameter is a queue parameter or a CAR parameter.
  • S1204 The first UP device sends a third packet to the CP device.
  • the first UP device generates a third packet including the first capability information.
  • the first capability information indicates that the first UP device can limit the rate of the first packet.
  • the first capability information is a parameter indicating that the first UP device has a capability of limiting the rate of the first packet.
  • the first capability information is a current transmission rate of the first packet transmitted by the first UP device. It should be noted that the current transmission rate at which the first UP device transmits the first packet is an actual transmission rate at which the first UP device transmits the first packet based on the first rate.
  • the third packet is, for example, an association setup response (association setup response).
  • association setup response The embodiment of the present application does not limit the specific type of the third packet.
  • the third message is a PFCP message.
  • the third packet includes a user plane extended capability item (UP Function Feature) field.
  • the UP Function Feature field carries the first capability information.
  • the third packet is a CUSP packet.
  • the third packet includes a TLV field.
  • the TLV field carries first capability information.
  • the CP device can acquire the third packet sent by the first UP device through the SCi.
  • the CP device determines based on the third packet that the first UP device can limit the rate of the first packet.
  • the CP device can determine, according to the first capability information included in the third packet, that the first UP device can limit the rate of the first packet. When it is determined that the overload occurs, the CP device can send the second packet including the first rate limiting policy to the first UP device.
  • the CP device can also record the UP devices that support the rate limit for sending packets to the CP device, so as to send the corresponding rate limit policy to the UP device. For example, after determining that the first UP device can limit the rate of the first packet, the CP device records the device identifier of the first UP device in the database or management list.
  • the overload situation of the CP device may be eliminated, that is to say, the CP device resumes normal operation.
  • the transmission process of the first message needs to be adjusted so that the transmission process of the first message matches the running state of the CP device.
  • the above overload processing method also includes the following steps:
  • the CP device In response to satisfying the overload recovery condition, the CP device sends a fifth packet including the second rate to the first UP device.
  • the overload recovery condition is a judgment condition for determining that the CP device changes from an overloaded state to a normal one.
  • the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
  • the fact that the CP device is not overloaded can be judged based on the running status of the CP device.
  • the resource utilization rate of the CP device is acquired. When the resource utilization rate of the CP device is lower than the first threshold, it is determined that the CP device is not overloaded. Wherein, the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate.
  • the processing delay of the CP device is obtained. When the processing delay of the CP device is lower than the second threshold, it is determined that the CP device is not overloaded. Wherein, the CP device processing delay is the service processing delay of the CP device.
  • the processing delay of the CP device such as the user authentication timeout period, or the delay of processing the first packet for the CP device system.
  • whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device is lower than the first threshold and the processing delay of the CP device is lower than the second threshold, it is determined that the CP device is not overloaded.
  • the preset recovery time is the preset time for the CP device to resume normal operation.
  • the preset recovery time can be determined based on the running state of the CP device or the overload handling method of the CP device.
  • the CP device After determining that the overload recovery condition is satisfied, the CP device needs to adjust the transmission rate of the first packet.
  • the CP device sends the fifth packet including the second rate to the first UP device.
  • the second rate is used to instruct the first UP device to send the first packet to the CP device based on the second rate.
  • the second rate may be a preset rate at which the first UP device sends the first message to the CP device when the CP device is not overloaded. In some possible implementations, the second rate is greater than the first rate.
  • the CP device can send the fifth packet to the first UP device through the SCi.
  • the fifth message is, for example, an update connection request (association update request).
  • the embodiment of the present application does not limit the specific type of the fifth packet.
  • the fifth message is a PFCP message.
  • the fifth packet includes a Pri Control information field.
  • the Pri Control information field carries the second rate.
  • the fifth packet is a CUSP packet.
  • the fifth packet includes a TLV field.
  • the TLV field carries the second rate.
  • the first UP device obtains the fifth packet including the second rate sent by the CP device.
  • A3 The first UP device sends the first packet to the CP device based on the second rate.
  • the first UP device can adjust the sending rate of the first packet based on the second rate included in the fifth packet.
  • the first UP device can configure a rate parameter based on the second rate, and then adjust the rate at which the first packet is sent based on the rate parameter.
  • the rate parameter is a queue parameter or a CAR parameter.
  • the first UP device after the first UP device adjusts the sending rate of the first message based on the second rate included in the fifth message, it can also send a connection update response to the CP device.
  • the update connection reply includes first capability information.
  • the first capability information indicates that the first UP device can process the first packet with rate limit.
  • the CP device can determine based on the ninth message that the update connection response can determine that the first UP device has the ability to adjust the sending rate of the first message based on the second rate.
  • the home gateway RGW on the user side is connected to the first UP device through the OLT.
  • the first UP device is connected to the CP device through the DC-gateway device.
  • the CP device is connected to the authentication server.
  • the first UP device is connected to the network through the CR.
  • the first UP device limits the rate of the first packet based on the first rate limit policy.
  • the CP device includes an overload sampling module, a CP overload control module and a strategy module.
  • the first UP device includes a UP overload control module and a PRi rate control module.
  • the CP device uses the overload sampling module to realize overload judgment, uses the strategy module to determine the first speed limit strategy of the first UP device, and uses the CP overload control module to issue the first speed limit strategy to the UP overload control module of the first UP device.
  • the UP overload control module of the first UP device is configured to receive the first rate limiting strategy, and configure the PRi rate control module based on the first rate limiting strategy.
  • the PRi rate control module is configured to implement rate limit processing on the first packet.
  • the figure is a schematic flowchart of an overload processing provided by an embodiment of the present application.
  • the CP device includes an overload sampling module 1401 , a CP overload control module 1402 and a policy module 1403 .
  • the first UP device includes a UP overload control module 1404 and a PRi rate control module 1405 .
  • the overload sampling module 1401 is used to judge whether the CP device is overloaded.
  • the overload sampling module 1401 acquires the resource utilization rate of the CP device.
  • the overload sampling module 1401 determines that the CP device is overloaded.
  • the overload sampling module 1401 determines that the CP device is not overloaded.
  • the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate.
  • the overload sampling module 1401 obtains the processing delay of the CP device.
  • the overload sampling module 1401 determines that the CP device is overloaded.
  • the overload sampling module 1401 determines that the CP device is not overloaded.
  • the CP device processing delay is the service processing delay of the CP device.
  • the processing delay of the CP device such as the user authentication timeout period, or the delay of processing the first packet for the CP device system.
  • whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
  • the overload sampling module 1401 In response to determining that the CP device is overloaded, the overload sampling module 1401 notifies the CP overload control module 1402 . As an example, the overload sampling module 1401 sends a message carrying an overload status to the CP overload control module 1402 .
  • the overload state includes two states: overload and non-overload. When it is determined that the CP device is overloaded, the overload sampling module 1401 sends a message that the overload status is overload to the CP overload control module 1402 .
  • the CP overload control module 1402 After receiving the notification sent by the overload sampling module 1401, the CP overload control module 1402 determines the first rate limiting strategy of the first UP device based on the policy module 1403. As an example, the CP overload control module 1402 sends a parameter request to the policy module 1403 .
  • the parameter request carries relevant information of the first UP device.
  • the policy module 1403 determines the first rate limiting policy of the first UP device based on the obtained parameter request.
  • the embodiment of the present application does not limit the specific implementation manner in which the policy module 1403 determines the first rate limiting policy of the first UP device.
  • the policy module 1403 can determine the first speed limit policy in the above five manners for determining the speed limit policy. Please refer to the above for relevant content, and will not repeat them here.
  • the policy module 1403 sends the UP device rate limit list to the CP overload control module 1402 .
  • the UP device rate limit list includes rate limit policies of each UP device that sends user access packets to the CP device.
  • the UP device rate limit list includes the first rate limit policy of the first UP device.
  • the CP overload control module 1402 After determining the first rate limiting strategy of the first UP device, the CP overload control module 1402 sends the first rate limiting strategy to the first UP device through the SCi interface connected to the first UP device.
  • the UP overload control module 1404 of the first UP device is configured to receive the first rate limit delivered by the CP device.
  • the UP overload control module 1404 configures the PRi rate control module 1405 based on the first rate limiting rate.
  • the PRi rate control module 1405 implements rate limit processing on the PRi interface connecting the first UP device and the CP device according to the first rate limit policy. For example, the first packet sent to the CP device is discarded based on the first rate limiting policy.
  • the CP overload control module 1402 and the UP overload control module 1404 are also used to implement the negotiation between the CP device and the first UP device.
  • the CP device actively initiates the negotiation.
  • the CP overload control module 1402 sends the fourth message to the UP overload control module 1404 .
  • the UP overload control module 1404 sends a third packet carrying the first capability information to the CP overload control module 1402 based on the fourth packet.
  • the CP overload control module 1402 determines according to the third packet that the first UP device can limit the rate of the first packet.
  • the first UP device actively initiates the negotiation.
  • the UP overload control module 1404 sends the third packet carrying the first capability information to the CP overload control module 1402 .
  • the CP overload control module 1402 determines based on the first capability information that the first UP device can limit the rate of the first packet.
  • the CP overload control module 1402 can also send the fourth message to the UP overload control module 1404 .
  • the fourth packet carries the first rate.
  • the first rate is used to guide the first UP device to send the first packet.
  • the above is the process in which the first UP device adjusts and sends the first packet based on the first rate limiting policy.
  • the following describes how the CP device performs rate limiting processing on the first packet based on the first rate limiting policy.
  • the second type the CP device limits the rate of the first packet based on the first rate limit policy.
  • FIG. 15 this figure is a schematic flowchart of another overload processing method provided by the embodiment of the present application.
  • the overload handling method provided in this embodiment of the application includes S1501-S1503.
  • the CP device obtains the first packet sent by the first UP device.
  • the CP device determines a first rate limiting policy of the first UP device.
  • S1501-S1502 are similar to the above-mentioned S401-S402, please refer to the above description for details, and details will not be repeated here.
  • the CP device limits the rate of the first packet based on the first rate limit policy.
  • the CP device performs rate limiting processing on the acquired first packet based on the determined first rate limiting policy of the first UP device.
  • the embodiment of the present application does not limit the specific implementation manner of the CP device limiting the rate of the first packet based on the first rate limiting policy.
  • the first rate limiting policy includes a transmission rate limiting rate. Based on the transmission rate limit, the CP device only acquires the first packet within the transmission rate limit, and discards the first packet exceeding the transmission rate limit.
  • the first rate limiting policy includes a length of time for stopping sending, and the CP device discards the first packet acquired within the time length of stopping sending.
  • the CP device determines that the first UP device does not support rate limiting of the first packet.
  • the CP device determines based on the configuration parameters of the first UP device that the first UP device cannot adjust the sending rate of the first packet.
  • the CP device negotiates with the first UP device, and determines based on the negotiation process that the first UP device does not have the function of limiting the rate of the first packet. Specifically, the CP device sends the sixth packet including the third rate to the first UP device. Wherein, the third rate is used to instruct the first UP device to send the first packet to the CP device based on the third rate. The sixth message is used to implement negotiation between the CP device and the first UP device. The first UP device that does not have the ability to adjust the sending rate of the first packet cannot adjust the sending rate of the first packet based on the third rate after obtaining the sixth packet. In a possible implementation manner, the first UP device sends the seventh packet including the second capability information to the CP device.
  • the second capability information indicates that the first UP device does not support rate limiting for the first packet.
  • the CP device can determine based on the second capability information that the first UP device does not support rate limiting for the first packet.
  • the first UP device that does not have the function of adjusting the sending rate of the first packet cannot negotiate with the CP device.
  • the CP device sends the sixth message, it does not obtain the feedback message sent by the first UP device within a preset time, and determines that the first UP device does not have the function of adjusting the sending rate of the first message.
  • the CP device after sending the sixth packet, if the CP device does not obtain the feedback packet sent by the first UP device within the feedback time, it resends the sixth packet to the first UP device. If the number of times the CP device sends the sixth packet reaches the threshold, the CP device determines that the first UP device does not have the function of adjusting the sending rate of the first packet. Wherein, the CP device can send the sixth message to the first UP device through the SCi.
  • the sixth message is a PFCP message.
  • the sixth packet includes a Pri Control information field.
  • the Pri Control information field carries the third rate.
  • the sixth packet is a CUSP packet.
  • the sixth packet includes a TLV field. The TLV field carries the third rate.
  • the fourth rate is the rate at which the CP device obtains the first packet when it is not overloaded.
  • the fourth rate is preset.
  • the fourth rate is determined based on the running condition of the CP device. As an example, the fourth rate is greater than the first rate.
  • the CP device can manage at least two UP devices.
  • the at least two UP devices managed by the CP device include a second UP device in addition to the first UP device.
  • the CP device is overloaded, in addition to determining the rate limiting policy corresponding to the first UP device, it also determines the rate limiting policy corresponding to the second UP device.
  • an overload handling method provided in the embodiment of the present application further includes the following steps:
  • the CP device obtains the eighth packet sent by the second UP device.
  • the CP device and the second UP device belong to the same system that provides users with broadband network access services.
  • the CP device and the second UP device belong to the same vBRAS.
  • the eighth message is generated by the terminal device that the second UP device provides broadband network access service.
  • the first UP device is the UP device 303
  • the second UP device is the UP device 304 .
  • the UP device 304 is used to provide broadband network access services for users logged in on the terminal device 302 .
  • the terminal device 302 generates an eighth message for accessing the broadband network based on the information of the logged-in user, and sends the eighth message to the UP device 304 .
  • the UP device 304 After obtaining the eighth packet, the UP device 304 performs redirection processing on the eighth packet, and sends the eighth packet to the CP device 305 .
  • the CP device and the second UP device are connected through three interfaces, and the three interfaces are respectively Mi, PRi and SCi.
  • the functions of Mi, PRi, and SCi are similar to the functions of Mi, PRi, and SCi between the CP device and the first UP device. For details, please refer to the above description, and details will not be repeated here.
  • the eighth message is used to enable the user to access the broadband network.
  • the eighth packet is a dial-up packet or a user access packet.
  • the specific type of the eighth message is related to the service type.
  • the service type is IPOE type or DHCP type.
  • the eighth packet is one of a DHCP discovery (discover) packet, a DHCPv6 request (solicit) packet, an IPv6 data packet, and an IPv4 data packet.
  • the service type is PPPoE type.
  • the first message is PADI.
  • the CP device determines a second rate limiting policy of the second UP device for limiting the rate of the eighth packet.
  • CP device overload refers to the state that the CP device operates beyond the standard load.
  • the CP device overload can be judged based on the running status of the CP device. For details, see the description above.
  • the CP device determines the second rate limiting policy of the second UP device.
  • the second rate limiting strategy is a rate limiting strategy for rate limiting of the eighth packet.
  • the eighth message can be processed more accurately based on the transmission status of the eighth message or based on the operation status of the second UP device, thereby reducing the number of messages that the CP device needs to process and alleviating the CP Equipment overload conditions. In this way, the speed limit processing is performed on the eighth packet, and the effect of alleviating the overload of the CP device is better.
  • the second rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
  • the transmission rate limit rate is the rate limit rate at which the second UP device transmits the first packet.
  • the rate percentage is the percentage of the eighth packet transmission rate of the second UP device after the rate limitation to the eighth packet transmission rate of the second UP device before the rate limitation.
  • the time length for stopping sending is the time length during which the second UP device stops sending the eighth packet.
  • the embodiment of the present application does not limit the specific implementation manner of determining the second speed limit strategy.
  • the second rate-limiting policy is determined based on the priority of the second UP device, or the second rate-limiting policy is determined based on the flow of the eighth packet, or the second rate-limiting policy is determined based on the guaranteed sending time period, or determined based on the time period
  • the second rate limiting strategy or determine the second rate limiting strategy based on the transmission rate of the eighth packet.
  • the first speed limiting strategy includes a sixth speed limiting strategy.
  • the first rate-limiting policy is used to indicate that the first packet is subjected to rate-limiting processing according to the sixth rate-limiting rate.
  • the second speed limiting strategy includes a seventh speed limiting strategy.
  • the second rate limiting policy is used to instruct to perform rate limiting processing on the eighth packet according to the seventh rate limiting rate.
  • the priority of the UP device is used to determine the rate limiting policy.
  • the priority of the first UP device is higher than the priority of the second UP device.
  • the sixth speed limit rate is greater than the seventh speed limit rate.
  • the rate limiting policy is determined based on packet traffic.
  • the traffic of the first packet transmitted by the first UP device is greater than the traffic of the second packet transmitted by the second UP device.
  • the difference between the sixth rate-limiting rate and the transmission rate before rate-limiting the first packet is greater than the difference between the seventh rate-limiting rate and the transmission rate before rate-limiting the eighth message.
  • FIG. 16 is a schematic structural diagram of another CU separation system provided by an embodiment of the present application.
  • the home gateway RGW on the user side is connected to the first UP device through the OLT.
  • the first UP device is connected to the CP device through the DC-gateway device.
  • the CP device is connected to the authentication server.
  • the first UP device is connected to the network through the CR.
  • the CP device limits the rate of the first packet based on the first rate limit policy.
  • the CP device includes an overload sampling module, a CP overload control module, a strategy module, and an input/output (Input/Output, I/O) load balancing (LOAD Balance) module.
  • the CP device uses the overload sampling module to realize overload judgment, uses the policy module to determine the first speed limit strategy of the first UP device, and uses the CP overload control module to issue the first speed limit strategy to the input/output load balancing module.
  • the input/output load balancing module is configured to receive the first rate limiting strategy, and implement rate limiting processing on the first packet based on the first rate limiting strategy.
  • the CP device includes an overload sampling module 1701, a CP overload control module 1702, a policy module 1703, and an input/output (Input/Output, I/O) load balance (LOAD Balance) module 1704.
  • an overload sampling module 1701 a CP overload control module 1702
  • a policy module 1703 a policy module 1703
  • I/O input/output load balance
  • the overload sampling module 1701 is used to judge whether the CP device is overloaded.
  • the overload sampling module 1701 acquires the resource utilization rate of the CP device.
  • the overload sampling module 1701 determines that the CP device is overloaded.
  • the overload sampling module 1701 determines that the CP device is not overloaded.
  • the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate.
  • the overload sampling module 1701 obtains the processing delay of the CP device.
  • the overload sampling module 1701 determines that the CP device is overloaded.
  • the overload sampling module 1701 determines that the CP device is not overloaded.
  • the CP device processing delay is the service processing delay of the CP device.
  • the processing delay of the CP device such as the user authentication timeout period, or the delay of processing the first packet for the CP device system.
  • whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
  • the overload sampling module 1701 In response to determining that the CP device is overloaded, the overload sampling module 1701 notifies the CP overload control module 1702 . As an example, the overload sampling module 1701 sends a message carrying an overload status to the CP overload control module 1702 .
  • the overload state includes two states: overload and non-overload. When it is determined that the CP device is overloaded, the overload sampling module 1701 sends a message that the overload status is overload to the CP overload control module 1702 .
  • the CP overload control module 1702 After receiving the notification sent by the overload sampling module 1701, the CP overload control module 1702 determines the first speed limit strategy of the first UP device based on the policy module 1703. As an example, the CP overload control module 1702 sends a parameter request to the policy module 1703 .
  • the parameter request carries relevant information of the first UP device.
  • the policy module 1703 determines the first rate limiting policy of the first UP device based on the obtained parameter request.
  • the embodiment of the present application does not limit the specific implementation manner in which the policy module 1703 determines the first rate limiting policy of the first UP device.
  • the policy module 1703 can determine the first speed limit policy in the above five manners for determining the speed limit policy. Please refer to the above for relevant content, and will not repeat them here.
  • the policy module 1703 sends the UP device rate limit list to the CP overload control module 1702 .
  • the UP device rate limit list includes rate limit policies of each UP device that sends user access packets to the CP device.
  • the UP device rate limit list includes the first rate limit policy of the first UP device.
  • the CP overload control module 1702 After the CP overload control module 1702 determines the first rate limiting strategy of the first UP device, it sends the first rate limiting strategy of the first UP device to the I/O LOAD Balance module 1704 through an internal interface.
  • the I/O LOAD Balance module 1704 is a message entry module of the CP device, and is used to obtain the first message sent by the first UP device.
  • the I/O LOAD Balance module 1704 performs rate limit processing on the first packet based on the first rate limit policy. For example, the first packet is discarded based on the first rate limiting policy.
  • an overload processing apparatus 1800 includes an acquisition unit 1801 and a processing unit 1802 .
  • the acquisition unit 1801 is configured to support the overload processing apparatus 1800 to execute S401 in FIG. 4;
  • the processing unit 1802 is configured to support the overload processing apparatus 1800 to execute S402 in FIG. 4; and/or the control plane device in the technology described herein other processes performed.
  • the acquiring unit 1801 is configured to perform various receiving operations performed by the control plane device in the above method embodiments;
  • the processing unit 1802 is configured to perform various processing operations performed by the control plane device in the above method embodiments.
  • the obtaining unit 1801 is configured to obtain a first message sent by a first UP device, the first UP device being one of the at least two UP devices; the processing unit 1802 is configured to respond to the determined The CP device is overloaded, and determines a first rate limiting policy of the first UP device, where the first rate limiting policy is used to limit the rate of the first packet.
  • the CP device is overloaded, and determines a first rate limiting policy of the first UP device, where the first rate limiting policy is used to limit the rate of the first packet.
  • an overload processing apparatus 1900 includes an acquisition unit 1901 and a processing unit 1902 .
  • the acquiring unit 1901 is configured to execute S504 in FIG. 5 by the apparatus 1900 supporting overload processing;
  • the processing unit 1902 is configured to execute S505 in FIG. 5 by the apparatus 1900 supporting overload processing; and/or the first user in the technology described herein Other processes performed by surface devices.
  • the acquiring unit 1901 is configured to perform various receiving operations performed by the first user plane device in the above method embodiments; the processing unit 1902 is configured to perform various processing operations performed by the first user plane device in the above method embodiments.
  • the obtaining unit 1901 is configured to obtain the second packet sent by the CP device, the second packet includes a first rate limiting policy; the processing unit 1902 is configured to The rate of the first message is limited, and the first message is a message sent by the first UP device to the CP device.
  • the specific execution process please refer to the detailed description of the corresponding steps in the embodiment shown in any one of the drawings in FIG. 5 to FIG.
  • each functional unit in the embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit.
  • the acquisition unit and the processing unit may be the same unit or different units.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • FIG. 20 is a schematic structural diagram of an overload handling system provided by an embodiment of the present application.
  • the overload handling system 2000 is used for the overload handling method in the above method embodiment.
  • the overload processing system 2000 includes a control plane device 2001 and at least two user plane devices. Wherein, at least two user plane devices include the first user plane device 2002 .
  • the control plane device 2001 may implement the functions of the control plane device in the embodiments shown in any one of Fig. 4 to Fig. 17 .
  • the first user plane device 2002 may implement the function of the first user plane device in the embodiment shown in any one of Fig. 5 to Fig. 12 .
  • For the specific execution process please refer to the detailed description of the corresponding steps in the embodiment shown in any one of the drawings in FIG. 4 to FIG.
  • the overload handling system 2000 may further include a second user plane device, configured to send the eighth packet to the CP device 2001 . Please refer to the above for details, and details will not be repeated here.
  • Fig. 21 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the above-mentioned control plane device or user plane device may be realized by the device shown in FIG. 21 .
  • the device 2100 includes at least one processor 2101 , a communication bus 2102 and at least one network interface 2104 .
  • the device 2100 may further include a memory 2103 .
  • the processor 2101 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP.
  • the processor 2101 can also be a traffic management (traffic management, TM) chip or hardware integrating NP and TM chips, and the TM chip or hardware integrating NP and TM chips can control the The queue executes the queue scheduling method provided by the embodiment of this application.
  • the processor 710 may further include a hardware chip.
  • the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the aforementioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL) or any combination thereof.
  • the processor may be used to implement the overload handling method provided in the embodiment of the present application.
  • the processor may be configured to determine the first UP device's rate limit for the first packet in response to determining that the control plane device is overloaded.
  • the first rate limiting policy for specific function implementation, please refer to the processing part of the corresponding control plane device in the method embodiment.
  • the processor can be used to limit the rate of the first packet based on the first rate limit strategy, and the specific function implementation can refer to the implementation method The example corresponds to the processing part of the first user plane device.
  • Communication bus 2102 is used to transfer information between processor 2101 , network interface 2104 and memory 2103 .
  • the bus system 2102 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus system 2102 can be divided into address bus, data bus, control bus, etc., which are represented by only one thick line in FIG. 21 , but it does not mean that there is only one bus or one type of bus.
  • the memory 2103 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, and the memory 2103 can also be a random access memory (random access memory, RAM) or can store information and other types of dynamic storage devices for instructions, and can also be compact disc read-only Memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray optical discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
  • the memory 2103 may exist independently, and is connected to the processor 2101 through the communication bus 2102 .
  • the memory 2103 can also be integrated with the processor 2101.
  • the memory 2103 is used to store program codes or instructions for implementing the solution of the present application, and the execution is controlled by the processor 2101 .
  • the processor 2101 is used to execute program codes or instructions stored in the memory 2103 .
  • One or more software modules may be included in the program code.
  • the processor 2101 may also store program codes or instructions for executing the solutions of the present application. In this case, the processor 2101 does not need to read the program codes or instructions from the memory 2103 .
  • the network interface 2104 may be a device such as a transceiver for communicating with other devices or a communication network, and the communication network may be Ethernet, radio access network (RAN) or wireless local area networks (wireless local area networks, WLAN), etc. In this embodiment of the present application, the network interface 2104 may be used to receive messages sent by other nodes in the segment routing network, and may also send messages to other nodes in the segment routing network.
  • the network interface 2104 may be an Ethernet interface (ethernet) interface, a fast ethernet (fast ethernet, FE) interface or a gigabit ethernet (gigabit ethernet, GE) interface, etc.
  • the device 2100 may include multiple processors, for example, the processor 2101 and the processor 2107 shown in FIG. 21 .
  • 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. 22 is a schematic structural diagram of a device 2200 provided in an embodiment of the present application.
  • the control plane device and the user plane device provided in the embodiment of the present application may be implemented by the device shown in FIG. 22 .
  • the device 2200 includes a main control board and one or more interface boards.
  • the main control board is communicatively connected with the interface board.
  • the main control board is also called a main processing unit (main processing unit, MPU) or a route processing card (route processor card).
  • the main control board includes a CPU and a memory. Route calculation, device management and maintenance functions.
  • the interface board is also called a line processing unit (line processing unit, LPU) or a line card (line card), and is used to receive and send packets.
  • the communication between the main control board and the interface board or between the interface board and the interface board is through a bus.
  • the interface boards communicate through the SFU.
  • the device 2200 also includes the SFU.
  • the SFU communicates with the main control board and the interface board.
  • the SFU is used to forward the interface board.
  • the data between them, the SFU can also be called a switch fabric unit (SFU).
  • the interface board includes a CPU, a memory, a forwarding engine, and an interface card (interface card, IC), where the interface card may include one or more network interfaces.
  • the network interface may be an Ethernet interface, an FE interface, or a GE interface.
  • the CPU communicates with the memory, the forwarding engine and the interface card respectively.
  • the forwarding engine may be a network processor (network processor, NP).
  • the interface card is also called a daughter card, which can be installed on the interface board. It is responsible for converting the photoelectric signal into a data frame, and checking the validity of the data frame before forwarding it to the forwarding engine for processing or the CPU of the interface board.
  • the CPU can also perform the function of the forwarding engine, such as implementing soft forwarding based on a general-purpose CPU, so that no forwarding engine is needed in the interface board.
  • the forwarding engine may be implemented by an ASIC or a field programmable gate array (field programmable gate array, FPGA).
  • the memory storing the forwarding table can also be integrated into the forwarding engine as a part of the forwarding engine.
  • the embodiment of the present application also provides a chip system, including: a processor, the processor is coupled with a memory, and the memory is used to store programs or instructions, and when the programs or instructions are executed by the processor, the The system-on-a-chip implements the overload handling method provided in the embodiments shown in any one of the drawings in FIG. 4 to FIG. 9 above.
  • 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 system-on-a-chip can be an FPGA, an ASIC, a system on chip (SoC), a CPU, an NP, or a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (micro controller unit, MCU), can also be a programmable controller (programmable logic device, PLD) or other integrated chips.
  • SoC system on chip
  • DSP digital signal processing circuit
  • MCU microcontroller
  • PLD programmable controller
  • each step in the foregoing method embodiments may be implemented by an integrated logic circuit of hardware in a processor or instructions in the form of software.
  • the method steps disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
  • the embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the overload handling method provided by the above method embodiment and performed by the control plane device or the user plane device.
  • the embodiment of the present application also provides a computer program product containing instructions, which, when running on a computer, causes the computer to execute the overload handling method provided by the above method embodiments and performed by the control plane device or the user plane device.
  • At least one (one) means one or more, and “multiple” means two or more.
  • At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
  • “A and/or B” is considered to include A alone, B alone, and A+B.
  • the disclosed system, device and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical module division.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be obtained according to actual needs to achieve the purpose of the solution of this embodiment.
  • each module unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software module units.
  • the integrated unit is implemented in the form of a software module unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
  • the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof.
  • the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage media may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

The present application discloses an overload processing method, a network device, and a system. The method is applied to a network comprising a CP device and a plurality of UP devices, the plurality of UP devices comprising a first UP device. The CP device obtains a first packet sent by a first UP device, and determines a first rate limit policy of the first UP device when responding to determining that the CP device is overloaded. On the basis of the first rate limit policy, the first packet can be subjected to rate limit processing in a targeted mode, so that the overload processing effect can be improved.

Description

一种过载处理方法、网络设备及系统An overload processing method, network equipment and system
本申请要求于2021年12月17日提交国家知识产权局、申请号为202111552185.3、申请名称为“一种vBRAS CU分离系统CP面过载控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中,以及要求于2022年04月29日提交中国国家知识产权局、申请号为202210468547.9、发明名称为“一种过载处理方法、网络设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on December 17, 2021, with the application number 202111552185.3 and the application name "A Method for Controlling CP Surface Overload of a vBRAS CU Separation System", the entire content of which is by reference Incorporated in this application, and claiming the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on April 29, 2022, with the application number 202210468547.9 and the title of the invention "A method, network equipment and system for overload processing", The entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及通信领域,特别是涉及一种过载处理方法、网络设备及系统。The present application relates to the communication field, in particular to an overload processing method, network equipment and system.
背景技术Background technique
随着软件定义网络(software defined network,SDN)技术和网络功能虚拟化(network functions virtualization,NFV)技术的发展,数据通信网络由传统的以网络为核心的架构向以数据中心为核心的网络架构演进。传统的网络设备也从专业化朝着通用化演进。有鉴于此,控制面和用户面分离(control plane and user plane disaggregated,CU分离)技术应运而生,成为本领域的研究热点。CU分离是指控制面(control plane,CP)和用户面(user plane,UP)解耦的网络架构。With the development of software defined network (software defined network, SDN) technology and network function virtualization (network functions virtualization, NFV) technology, the data communication network has changed from a traditional network-centric architecture to a data center-centric network architecture. evolve. Traditional network equipment is also evolving from specialization to generalization. In view of this, control plane and user plane disaggregated (CU separation) technology emerged as the times require and has become a research hotspot in this field. CU separation refers to the network architecture in which the control plane (control plane, CP) and the user plane (user plane, UP) are decoupled.
在采用CU分离的网络架构处理业务时,部分业务会经UP设备转发至CP设备进行处理。在CP设备管理多个UP设备的情况下,CP设备所要处理的业务的业务量较大,可能出现过载的问题。目前,对于CP设备过载的处理方法效果不佳,难以满足处理业务的需要。When using the CU-separated network architecture to process services, some services will be forwarded to the CP device through the UP device for processing. In the case where the CP device manages multiple UP devices, the business volume to be processed by the CP device is relatively large, and an overload problem may occur. At present, the method for dealing with the overload of the CP equipment is not effective, and it is difficult to meet the needs of processing services.
发明内容Contents of the invention
本申请提供了一种过载处理方法、网络设备及系统,能够基于UP设备粒度的限速策略进行过载处理,提高过载处理的效果。The present application provides an overload processing method, a network device and a system, which can perform overload processing based on a speed limit policy at the UP device granularity, and improve the effect of overload processing.
基于此,本申请提供的技术方案如下:Based on this, the technical scheme provided by the application is as follows:
第一方面,提供了一种过载处理的方法,该方法应用于网络,网络包括CP设备和至少两个UP设备。其中,CP设备获取由至少两个UP设备包括的第一UP设备发送的第一报文。如果CP设备确定自身过载,则确定第一UP设备的第一限速策略。第一限速策略用于对第一报文进行限速处理。基于第一UP设备的第一限速策略,能够针对第一报文进行限速。利用针对第一UP设备确定对应的第一限速策略对第一报文进行限速,使得第一报文的限速更加符合CP设备过载处理的需要,提高对CP设备进行过载处理的效果。In a first aspect, a method for handling overload is provided, the method is applied to a network, and the network includes a CP device and at least two UP devices. Wherein, the CP device obtains the first message sent by the first UP device included in the at least two UP devices. If the CP device determines that it is overloaded, it determines the first rate limiting policy of the first UP device. The first rate limiting policy is used to perform rate limiting processing on the first packet. Based on the first rate limiting policy of the first UP device, the rate limit can be performed on the first packet. The rate limit of the first packet is determined by using the corresponding first rate limit policy determined for the first UP device, so that the rate limit of the first message is more in line with the overload processing requirements of the CP device, and the effect of overload processing on the CP device is improved.
在一些可能的实现方式中,由第一UP设备基于第一限速策略调整第一报文。CP设备向第一UP设备发送包括第一限速策略的第二报文。第一UP设备能够基于第二报文携带的第一限速策略对第一报文进行限速处理。In some possible implementation manners, the first UP device adjusts the first packet based on the first rate limiting policy. The CP device sends the second packet including the first rate limiting policy to the first UP device. The first UP device can perform rate limit processing on the first message based on the first rate limit policy carried in the second message.
在一些可能的实现方式中,在CP设备向第一UP设备发送第二报文之前,CP设备先确定第一UP设备能够对第一报文进行限速。作为一种示例,CP设备获取第一UP设备发送包括第一能力信息的第三报文。第一能力信息指示第一UP设备能够对第一报文限速。 CP设备基于第一能力信息,能够确定第一UP设备能够对第一报文限速,再向第一UP设备发送包括第一限速策略的第二报文。In some possible implementation manners, before the CP device sends the second packet to the first UP device, the CP device first determines that the first UP device can limit the rate of the first packet. As an example, the CP device acquires that the first UP device sends the third packet including the first capability information. The first capability information indicates that the first UP device can limit the rate of the first packet. Based on the first capability information, the CP device can determine that the first UP device can limit the rate of the first message, and then send the second message including the first rate limit policy to the first UP device.
在一些可能的实现方式中,作为一种示例,CP设备在获取到第三报文,确定第一UP设备能够对第一报文限速之后,在未发生过载的情况下,CP设备能够向第一UP设备发送包括第一速率的第四报文。第一速率为CP设备向第一UP设备下发的第一报文发送速率的指导值。第一速率用于指示第一UP设备基于第一速率向CP设备发送第一报文。作为另一种示例,CP设备先发起协商。也就是说,CP设备向第一UP设备发送包括第一速率的第四报文。第一UP设备响应于获取第四报文,向CP设备发送包括第一能力信息的第三报文。In some possible implementation manners, as an example, after the CP device obtains the third message and determines that the first UP device can limit the rate of the first message, the CP device can send The first UP device sends a fourth packet including the first rate. The first rate is a guide value of the rate at which the CP device sends the first packet to the first UP device. The first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate. As another example, the CP device initiates the negotiation first. That is to say, the CP device sends the fourth packet including the first rate to the first UP device. In response to obtaining the fourth packet, the first UP device sends the third packet including the first capability information to the CP device.
在一些可能的实现方式中,如果满足过载恢复条件,CP设备向第一UP设备发送包括第二速率的第五报文。第二速率为在过载恢复的情况,CP设备下发到第一UP设备的发送第一报文的指导值。第二速率用于指示第一UP设备基于第二速率向CP设备发送第一报文。其中,过载恢复条件包括确定CP设备未过载以及到达预设恢复时间中的一个或者多个。In some possible implementation manners, if the overload recovery condition is satisfied, the CP device sends the fifth packet including the second rate to the first UP device. The second rate is a guide value for sending the first message sent by the CP device to the first UP device in the case of overload recovery. The second rate is used to instruct the first UP device to send the first packet to the CP device based on the second rate. Wherein, the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
在一些可能的实现方式中,第二报文除了包括第一限速策略以外,还包括过载信息。过载信息用于指示CP设备的过载程度。In some possible implementation manners, in addition to including the first rate limiting policy, the second packet also includes overload information. The overload information is used to indicate the overload degree of the CP device.
在一些可能的实现方式中,第二报文为包转发控制PFCP协议报文。In some possible implementation manners, the second message is a packet forwarding control PFCP protocol message.
在一些可能的实现方式中,第二报文包括报文重定向接口控制信息Pri Control information字段。Pri Control information字段携带所述第一限速策略。In some possible implementation manners, the second packet includes a Pri Control information field of packet redirection interface control information. The Pri Control information field carries the first rate limiting policy.
在一些可能的实现方式中,第二报文为控制面和用户面分离协议CUSP报文。In some possible implementation manners, the second message is a control plane and user plane separation protocol CUSP message.
在一些可能的实现方式中,第二报文包括类型长度值TLV字段。TLV字段携带第一限速策略。In some possible implementation manners, the second packet includes a Type Length Value TLV field. The TLV field carries the first rate limiting policy.
在一些可能的实现方式中,由CP设备基于第一限速策略调整第一报文。CP设备在确定第一限速策略后,基于第一限速策略对第一报文限速。In some possible implementation manners, the CP device adjusts the first packet based on the first rate limiting policy. After determining the first rate limiting policy, the CP device limits the rate of the first packet based on the first rate limiting policy.
在一些可能的实现方式中,CP设备能够基于第一限速策略丢弃第一报文,实现对第一报文的限速。In some possible implementation manners, the CP device can discard the first packet based on the first rate limiting policy, so as to implement rate limiting on the first packet.
在一些可能的实现方式中,CP设备在基于第一限速策略对第一报文限速之前,先确定第一UP设备不能对第一报文限速。如此能够在第一UP设备不支持对第一报文限速的情况下,由CP设备对第一报文限速,确保能够进行过载处理。In some possible implementation manners, before limiting the rate of the first packet based on the first rate limiting policy, the CP device first determines that the first UP device cannot limit the rate of the first packet. In this way, when the first UP device does not support rate limiting for the first message, the CP device can limit the rate of the first message to ensure overload handling.
在一些可能的实现方式中,CP设备向第一UP设备发送包括第三速率的第六报文。第三速率为CP设备指导第一UP设备发送第一报文的速率的指导值。如果CP设备获取由第一UP设备反馈的携带第二能力信息的第七报文,或者在预设时间内没有获取到第一UP设备发送的反馈报文,则CP设备确定第一UP设备不支持对第一报文限速。其中,第二能力信息指示第一UP设备不支持对第一报文限速,也就是说,第一UP设备不具有对第一报文限速的功能。In some possible implementation manners, the CP device sends the sixth packet including the third rate to the first UP device. The third rate is a guiding value of the rate at which the CP device instructs the first UP device to send the first packet. If the CP device obtains the seventh message carrying the second capability information fed back by the first UP device, or does not obtain the feedback message sent by the first UP device within the preset time, the CP device determines that the first UP device does not Supports rate limiting for the first packet. Wherein, the second capability information indicates that the first UP device does not support rate limiting for the first packet, that is, the first UP device does not have the function of rate limiting for the first packet.
在一些可能的实现方式中,在CP设备确定未过载时,CP设备基于第四速率处理第一报文。第四速率为在CP设备未过载的情况下调整第一报文的速率的指导值。In some possible implementation manners, when the CP device determines that it is not overloaded, the CP device processes the first packet based on the fourth rate. The fourth rate is a guide value for adjusting the rate of the first packet when the CP device is not overloaded.
在一些可能的实现方式中,所述第一限速策略基于所述第一UP设备的优先级确定;In some possible implementation manners, the first rate limiting policy is determined based on the priority of the first UP device;
或者,所述第一限速策略基于所述第一报文的流量确定;Or, the first rate limiting policy is determined based on the traffic of the first packet;
或者,所述第一限速策略为在第一时间段内按照第一限速速率对所述第一报文限速, 在第二时间段内按照第二限速速率对所述第一报文限速,所述第一时间段为所述第一UP设备的保障发送时间段,所述第一限速速率大于所述第二限速速率;Alternatively, the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate within the first time period, and limit the rate of the first message according to the second rate limit rate within the second time period. A document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
或者,所述第一限速策略为在第三时间段内按照第三限速速率对所述第一报文限速,在第四时间段内按照第四限速速率对所述第一报文限速,所述第三时间段早于所述第四时间段,所述第三限速速率小于所述第四限速速率;Alternatively, the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period. speed limit, the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
或者,所述第一限速策略为按照第五限速速率对所述第一报文进行限速处理,所述第五限速速率小于对所述第一报文限速之前所述第一报文的传输速率。Alternatively, the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
在一些可能的实现方式中,网络包括的至少两个UP设备包括第二UP设备。CP设备还获取由第二UP设备发送的第八报文。如果确定CP设备过载,CP设备确定第二UP设备的第二限速策略。第二限速策略用于对第八报文进行限速处理。利用针对第二UP设备确定对应的第二限速策略对第八报文进行限速,使得第八报文的限速更加符合CP设备过载处理的需要,提高对CP设备进行过载处理的效果。第一限速策略和第二限速策略可能存在不同,如此实现对于不同的UP设备的差分处理,能够得到更好的过载处理效果。In some possible implementation manners, the at least two UP devices included in the network include the second UP device. The CP device also obtains the eighth packet sent by the second UP device. If it is determined that the CP device is overloaded, the CP device determines the second rate limiting policy of the second UP device. The second rate limiting policy is used to perform rate limiting processing on the eighth packet. The rate limit of the eighth message is determined by using the second rate limit policy corresponding to the second UP device, so that the rate limit of the eighth message is more in line with the overload processing requirements of the CP device, and the effect of overload processing on the CP device is improved. There may be differences between the first rate limiting strategy and the second rate limiting strategy, so that differential processing for different UP devices can be achieved, and a better effect of overload processing can be obtained.
在一些可能的实现方式中,第一限速策略用于指示按照第六限速速率对所述第一报文进行限速处理,所述第二限速策略用于指示按照第七限速速率对所述第八报文进行限速处理,所述第一UP设备的优先级高于所述第二UP设备的优先级,所述第六限速速率大于所述第七限速速率,或者所述第一报文的流量大于所述第八报文的流量,所述第六限速速率与对所述第一报文限速之前所述第一报文的传输速率的差值,大于所述第七限速速率与对所述第八报文限速之前所述第八报文的传输速率的差值。In some possible implementation manners, the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limiting rate, and the second rate limiting policy is used to indicate that the first packet is processed according to the seventh rate limiting rate. performing speed limit processing on the eighth packet, the priority of the first UP device is higher than the priority of the second UP device, and the sixth speed limit rate is greater than the seventh speed limit rate, or The flow rate of the first message is greater than the flow rate of the eighth message, and the difference between the sixth rate limiting rate and the transmission rate of the first message before limiting the rate of the first message is greater than A difference between the seventh rate limiting rate and the transmission rate of the eighth packet before rate limiting for the eighth packet.
在一些可能的实现方式中,确定CP设备过载的条件是满足确定CP设备的资源利用率超过第一阈值和确定所述CP设备处理时延超过第二阈值中的一项或者多项。In some possible implementation manners, the condition for determining that the CP device is overloaded is to satisfy one or more items of determining that the resource utilization rate of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold.
在一些可能的实现方式中,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。In some possible implementation manners, the first rate limiting policy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
在一些可能的实现方式中,所述CP设备和所述至少两个UP设备属于虚拟宽带远程接入服务器vBRAS。In some possible implementation manners, the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
在一些可能的实现方式中,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。In some possible implementation manners, the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a user Access message.
在一些可能的实现方式中,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。In some possible implementations, the first message is a DHCP discovery message, an Internet Protocol version 6 DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 packet, or an Internet Protocol version 4 IPv4 packet. One of the protocol version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
第二方面,提供了一种过载处理的方法,所述方法应用于网络,所述网络包括控制面CP设备和至少两个用户面UP设备,所述至少两个UP设备包括第一UP设备。第一UP设备向CP设备发送第一报文。第一UP设备获取CP设备发送的包括第一限速策略的第二报文,并基于第一限速策略对第一报文限速。如此,第一UP设备基于第一限速策略,能够更为精准地对第一报文进行限速,达到较好的过载处理效果。In a second aspect, a method for handling overload is provided, the method is applied to a network, and the network includes a control plane CP device and at least two user plane UP devices, and the at least two UP devices include a first UP device. The first UP device sends the first packet to the CP device. The first UP device obtains the second packet sent by the CP device and includes the first rate limiting policy, and limits the rate of the first packet based on the first rate limiting policy. In this way, based on the first rate limiting strategy, the first UP device can more accurately limit the rate of the first packet to achieve a better overload handling effect.
在一种可能的实现方式中,在第一UP设备基于第一限速策略对第一报文限速之前,第一UP设备先向CP设备发送包括第一能力信息的第三报文。其中,第一能力信息指示第 一UP设备能够对第一报文限速。第一UP设备向CP设备发送第三报文,能够实现与CP设备的协商,使得CP设备确定第一UP设备能够对第一报文进行限速,进而向第一UP设备发送包括第一限速策略的第二报文。In a possible implementation manner, before the first UP device limits the rate of the first packet based on the first rate limiting policy, the first UP device first sends the third packet including the first capability information to the CP device. Wherein, the first capability information indicates that the first UP device can limit the rate of the first packet. The first UP device sends the third message to the CP device, which can realize the negotiation with the CP device, so that the CP device determines that the first UP device can limit the rate of the first message, and then sends the first UP device including the first The second packet of the speed policy.
在一种可能的实现方式中,作为一种示例,第一UP设备主动协商,向CP设备发送第三报文。CP设备在基于第三报文确定第一UP设备支持调整第一报文后,向第一UP设备发送第四报文。第四报文包括第一速率。第一速率用于指示第一UP设备根据第一速率向CP设备发送第一报文。第一速率为CP设备向第一UP设备下发的发送第一报文的指导值。第一UP设备在获取到第四报文后,基于第一速率向CP设备发送第一报文。作为另一种示例,CP设备主动协商,先向第一UP设备发送第四报文。第一UP设备响应于获取第四报文,向CP设备发送第三报文。第一UP设备基于第一速率向CP设备发送第一报文。In a possible implementation manner, as an example, the first UP device actively negotiates, and sends the third packet to the CP device. After determining, based on the third message, that the first UP device supports adjustment of the first message, the CP device sends the fourth message to the first UP device. The fourth packet includes the first rate. The first rate is used to instruct the first UP device to send the first packet to the CP device according to the first rate. The first rate is a guide value delivered by the CP device to the first UP device for sending the first packet. After obtaining the fourth packet, the first UP device sends the first packet to the CP device based on the first rate. As another example, the CP device actively negotiates, and first sends the fourth packet to the first UP device. In response to acquiring the fourth packet, the first UP device sends the third packet to the CP device. The first UP device sends the first packet to the CP device based on the first rate.
在一种可能的实现方式中,在第一UP设备基于第一限速策略对第一报文限速后,第一UP设备向CP设备反馈第九报文。第九报文包括第一能力信息和第五速率。第一能力信息指示第一UP设备能够对第一报文限速。第五速率为第一UP设备基于第一限速策略对第一报文限速后,发送第一报文的速率。CP设备基于第九报文,能够确定过载处理的结果,便于后续继续调整第一限速策略。In a possible implementation manner, after the first UP device limits the rate of the first packet based on the first rate limiting policy, the first UP device feeds back the ninth packet to the CP device. The ninth packet includes the first capability information and the fifth rate. The first capability information indicates that the first UP device can limit the rate of the first packet. The fifth rate is the rate at which the first UP device sends the first packet after limiting the rate of the first packet based on the first rate limiting policy. Based on the ninth message, the CP device can determine the result of the overload processing, so as to facilitate subsequent adjustment of the first speed limiting policy.
在一种可能的实现方式中,第一UP设备基于第一限速策略配置速率参数,再基于速率参数调整发送第一报文的速率。In a possible implementation manner, the first UP device configures a rate parameter based on the first rate limiting policy, and then adjusts the rate of sending the first packet based on the rate parameter.
在一种可能的实现方式中,所述速率参数为队列参数或者承诺信息速率CAR参数。In a possible implementation manner, the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
在一种可能的实现方式中,如果满足过载恢复条件,CP设备生成包括第二速率的第五报文,并向第一UP设备发送第五报文。第一UP设备获取第五报文,并基于第二速率向CP设备发送第一报文。其中,载恢复条件包括确定CP设备未过载和到达预设恢复时间中的一个或者多个。第二速率用于指示第一UP设备根据第二速率向CP设备发送第一报文。In a possible implementation manner, if the overload recovery condition is satisfied, the CP device generates a fifth packet including the second rate, and sends the fifth packet to the first UP device. The first UP device acquires the fifth packet, and sends the first packet to the CP device based on the second rate. Wherein, the load recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time. The second rate is used to instruct the first UP device to send the first packet to the CP device according to the second rate.
在一种可能的实现方式中,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。In a possible implementation manner, the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
在一种可能的实现方式中,所述第二报文为包转发控制PFCP协议报文。In a possible implementation manner, the second message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
在一种可能的实现方式中,所述第三报文为包转发控制PFCP协议报文。In a possible implementation manner, the third message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文为CUSP协议报文。In a possible implementation manner, the second packet is a CUSP protocol packet.
在一种可能的实现方式中,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
在一种可能的实现方式中,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。In a possible implementation manner, the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
在一种可能的实现方式中,所述CP设备和所述至少两个UP设备属于虚拟宽带接入系统vBRAS。In a possible implementation manner, the CP device and the at least two UP devices belong to a virtual broadband access system vBRAS.
在一种可能的实现方式中,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。In a possible implementation manner, the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
在一种可能的实现方式中,所述第一报文为动态主机配置协议DHCP发现discover报 文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。In a possible implementation manner, the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
第三方面,提供了一种过载处理的装置,所述装置应用于网络中的CP设备,所述网络包括控制面CP设备和至少两个用户面UP设备,所述装置包括:In a third aspect, an overload processing device is provided, the device is applied to a CP device in a network, the network includes a control plane CP device and at least two user plane UP devices, and the device includes:
获取单元,用于获取由第一UP设备发送的第一报文,所述第一UP设备为所述至少两个UP设备中的一个;an acquiring unit, configured to acquire a first message sent by a first UP device, where the first UP device is one of the at least two UP devices;
处理单元,用于响应于确定所述CP设备过载,确定所述第一UP设备的第一限速策略,所述第一限速策略用于对所述第一报文限速。A processing unit, configured to, in response to determining that the CP device is overloaded, determine a first rate limiting strategy of the first UP device, where the first rate limiting strategy is used to limit the rate of the first packet.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
发送单元,用于向所述第一UP设备发送第二报文,所述第二报文包括所述第一限速策略。A sending unit, configured to send a second packet to the first UP device, where the second packet includes the first rate limiting policy.
在一种可能的实现方式中,所述获取单元,还用于获取所述第一UP设备发送的第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速。In a possible implementation manner, the acquiring unit is further configured to acquire a third packet sent by the first UP device, where the third packet includes first capability information, and the first capability information indicates The first UP device can limit the rate of the first packet.
在一种可能的实现方式中,所述发送单元,还用于向所述第一UP设备发送第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备基于所述第一速率向所述CP设备发送所述第一报文。In a possible implementation manner, the sending unit is further configured to send a fourth packet to the first UP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first packet to the CP device based on the first rate.
在一种可能的实现方式中,所述发送单元,还用于响应于满足过载恢复条件,向所述第一UP设备发送第五报文,所述第五报文包括第二速率,所述第二速率用于指示所述第一UP设备基于所述第二速率向所述CP设备发送所述第一报文,所述过载恢复条件包括确定所述CP设备未过载和到达预设恢复时间中的一个或者多个。In a possible implementation manner, the sending unit is further configured to send a fifth packet to the first UP device in response to satisfying an overload recovery condition, where the fifth packet includes a second rate, and the The second rate is used to instruct the first UP device to send the first message to the CP device based on the second rate, and the overload recovery condition includes determining that the CP device is not overloaded and a preset recovery time is reached one or more of.
在一种可能的实现方式中,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。In a possible implementation manner, the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
在一种可能的实现方式中,所述第二报文为包转发控制PFCP协议报文。In a possible implementation manner, the second message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
在一种可能的实现方式中,所述第二报文为控制面和用户面分离协议CUSP报文。In a possible implementation manner, the second message is a control plane and user plane separation protocol CUSP message.
在一种可能的实现方式中,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
在一种可能的实现方式中,所述处理单元,还用于基于所述第一限速策略,对所述第一报文限速。In a possible implementation manner, the processing unit is further configured to limit the rate of the first packet based on the first rate limit policy.
在一种可能的实现方式中,所述处理单元,用于基于所述第一限速策略,对所述第一报文限速,包括:In a possible implementation manner, the processing unit is configured to limit the rate of the first packet based on the first rate limit strategy, including:
所述处理单元,用于基于所述第一限速策略,丢弃所述第一报文。The processing unit is configured to discard the first packet based on the first rate limiting policy.
在一种可能的实现方式中,所述处理单元,还用于确定所述第一UP设备不支持对所述第一报文限速。In a possible implementation manner, the processing unit is further configured to determine that the first UP device does not support rate limiting for the first packet.
在一种可能的实现方式中,所述处理单元,用于确定所述第一UP设备不支持对所述 第一报文限速,包括:In a possible implementation manner, the processing unit, configured to determine that the first UP device does not support rate limiting for the first packet, includes:
所述发送单元,用于向所述第一UP设备发送第六报文,所述第六报文包括第三速率,所述第三速率用于指示所述第一UP设备基于所述第三速率向所述CP设备发送所述第一报文;The sending unit is configured to send a sixth message to the first UP device, where the sixth message includes a third rate, and the third rate is used to instruct the first UP device based on the third rate sending the first packet to the CP device at a rate;
所述处理单元,用于响应于所述CP设备获取由所述第一UP设备发送的第七报文,或者在预设时间内未获取所述第一UP设备发送的反馈报文,所述CP设备确定所述第一UP设备不支持对所述第一报文限速,所述第七报文包括第二能力信息,所述第二能力信息指示所述第一UP设备不支持对所述第一报文限速。The processing unit is configured to respond to the CP device obtaining the seventh message sent by the first UP device, or failing to obtain the feedback message sent by the first UP device within a preset time, the The CP device determines that the first UP device does not support rate limiting for the first packet, and the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not support rate limiting for the first packet. Describe the rate limit for the first packet.
在一种可能的实现方式中,所述处理单元,还用于响应于确定所述CP设备未过载,基于第四速率处理所述第一报文。In a possible implementation manner, the processing unit is further configured to, in response to determining that the CP device is not overloaded, process the first packet based on a fourth rate.
在一种可能的实现方式中,所述第一限速策略基于所述第一UP设备的优先级确定;In a possible implementation manner, the first rate limiting policy is determined based on the priority of the first UP device;
或者,所述第一限速策略基于所述第一报文的流量确定;Or, the first rate limiting policy is determined based on the traffic of the first packet;
或者,所述第一限速策略为在第一时间段内按照第一限速速率对所述第一报文限速,在第二时间段内按照第二限速速率对所述第一报文限速,所述第一时间段为所述第一UP设备的保障发送时间段,所述第一限速速率大于所述第二限速速率;Alternatively, the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate in the first time period, and limit the rate of the first message according to the second rate limit rate in the second time period. A document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
或者,所述第一限速策略为在第三时间段内按照第三限速速率对所述第一报文限速,在第四时间段内按照第四限速速率对所述第一报文限速,所述第三时间段早于所述第四时间段,所述第三限速速率小于所述第四限速速率;Alternatively, the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period. speed limit, the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
或者,所述第一限速策略为按照第五限速速率对所述第一报文进行限速处理,所述第五限速速率小于对所述第一报文限速之前所述第一报文的传输速率。Alternatively, the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
在一种可能的实现方式中,所述至少两个UP设备包括第二UP设备,所述获取单元,还用于获取由所述第二UP设备发送的第八报文;In a possible implementation manner, the at least two UP devices include a second UP device, and the obtaining unit is further configured to obtain an eighth message sent by the second UP device;
所述处理单元,还用于响应于确定所述CP设备过载,确定所述第二UP设备的第二限速策略,所述第二限速策略用于对所述第八报文进行限速处理。The processing unit is further configured to, in response to determining that the CP device is overloaded, determine a second rate limiting policy of the second UP device, where the second rate limiting policy is used to limit the rate of the eighth packet deal with.
在一种可能的实现方式中,所述第一限速策略用于指示按照第六限速速率对所述第一报文进行限速处理,所述第二限速策略用于指示按照第七限速速率对所述第八报文进行限速处理,所述第一UP设备的优先级高于所述第二UP设备的优先级,所述第六限速速率大于所述第七限速速率,或者所述第一报文的流量大于所述第八报文的流量,所述第六限速速率与对所述第一报文限速之前所述第一报文的传输速率的差值,大于所述第七限速速率与对所述第八报文限速之前所述第八报文的传输速率的差值。In a possible implementation manner, the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limit rate, and the second rate limit policy is used to indicate that the first packet is processed according to the seventh rate limit rate. The speed limit rate performs speed limit processing on the eighth message, the priority of the first UP device is higher than the priority of the second UP device, and the sixth speed limit rate is greater than the seventh speed limit rate rate, or the flow rate of the first packet is greater than the flow rate of the eighth packet, and the difference between the sixth rate limiting rate and the transmission rate of the first packet before limiting the rate of the first packet The value is greater than the difference between the seventh rate limiting rate and the transmission rate of the eighth packet before limiting the rate of the eighth packet.
在一种可能的实现方式中,所述确定所述CP设备过载,包括确定所述CP设备的资源利用率超过第一阈值和确定所述CP设备处理时延超过第二阈值中的一项或者多项。In a possible implementation manner, the determining that the CP device is overloaded includes determining that the resource utilization of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold, or multiple.
在一种可能的实现方式中,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。In a possible implementation manner, the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
在一种可能的实现方式中,所述CP设备和所述至少两个UP设备属于虚拟宽带远程接入服务器vBRAS。In a possible implementation manner, the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
在一种可能的实现方式中,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。In a possible implementation manner, the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
在一种可能的实现方式中,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。In a possible implementation manner, the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
第四方面,提供了一种过载处理的装置,所述装置应用于网络中的第一UP设备,所述网络包括控制面CP设备和至少两个用户面UP设备,所述至少两个UP设备包括第一UP设备,所述装置包括:In a fourth aspect, an overload processing device is provided, the device is applied to a first UP device in a network, the network includes a control plane CP device and at least two user plane UP devices, and the at least two UP devices Including the first UP device, the apparatus includes:
获取单元,用于获取所述CP设备发送的第二报文,所述第二报文包括第一限速策略;an acquiring unit, configured to acquire a second message sent by the CP device, where the second message includes a first rate limiting policy;
处理单元,用于基于所述第一限速策略对第一报文限速,所述第一报文为所述第一UP设备向所述CP设备发送的报文。A processing unit, configured to limit the rate of a first packet based on the first rate limiting policy, where the first packet is a packet sent by the first UP device to the CP device.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
发送单元,用于向所述CP设备发送第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速。a sending unit, configured to send a third packet to the CP device, where the third packet includes first capability information, and the first capability information indicates that the first UP device can restrict the first packet speed.
在一种可能的实现方式中,所述获取单元,还用于获取由所述CP设备发送的第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备根据所述第一速率向所述CP设备发送所述第一报文;In a possible implementation manner, the acquiring unit is further configured to acquire a fourth packet sent by the CP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first message to the CP device according to the first rate;
所述发送单元,还用于基于所述第一速率向所述CP设备发送第一报文。The sending unit is further configured to send a first packet to the CP device based on the first rate.
在一种可能的实现方式中,所述发送单元,用于向所述CP设备发送第九报文,所述第九报文包括第一能力信息和第五速率,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速,所述第五速率为所述第一UP设备对所述第一报文限速后,发送第一报文的速率。In a possible implementation manner, the sending unit is configured to send a ninth packet to the CP device, where the ninth packet includes first capability information and a fifth rate, and the first capability information indicates The first UP device can limit the rate of the first packet, and the fifth rate is the rate at which the first UP device sends the first packet after limiting the rate of the first packet.
在一种可能的实现方式中,所述处理单元,用于基于所述第一限速策略对第一报文限速,包括:In a possible implementation manner, the processing unit, configured to limit the rate of the first packet based on the first rate limiting strategy, includes:
所述处理单元,用于基于所述第一限速策略配置速率参数,基于所述速率参数调整向所述CP设备发送所述第一报文的速率。The processing unit is configured to configure a rate parameter based on the first rate limiting policy, and adjust the rate of sending the first packet to the CP device based on the rate parameter.
在一种可能的实现方式中,所述速率参数为队列参数或者承诺信息速率CAR参数。In a possible implementation manner, the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
在一种可能的实现方式中,所述获取单元,还用于获取由所述CP设备发送的第五报文,所述第五报文包括第二速率,所述第二速率用于指示所述第一UP设备根据所述第二速率向所述CP设备发送所述第一报文,所述第五报文为所述CP设备响应于满足过载恢复条件生成并发送的,所述过载恢复条件包括确定所述CP设备未过载和到达预设恢复时间中的一个或者多个;In a possible implementation manner, the acquiring unit is further configured to acquire a fifth packet sent by the CP device, where the fifth packet includes a second rate, and the second rate is used to indicate the The first UP device sends the first message to the CP device according to the second rate, the fifth message is generated and sent by the CP device in response to meeting an overload recovery condition, and the overload recovery The conditions include one or more of determining that the CP device is not overloaded and reaching a preset recovery time;
所述发送单元,还用于基于所述第二速率向所述CP设备发送第一报文。The sending unit is further configured to send a first packet to the CP device based on the second rate.
在一种可能的实现方式中,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。In a possible implementation manner, the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
在一种可能的实现方式中,所述第二报文为包转发控制PFCP协议报文。In a possible implementation manner, the second message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
在一种可能的实现方式中,所述第三报文为包转发控制PFCP协议报文。In a possible implementation manner, the third message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文为CUSP协议报文。In a possible implementation manner, the second packet is a CUSP protocol packet.
在一种可能的实现方式中,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
在一种可能的实现方式中,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。In a possible implementation manner, the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
在一种可能的实现方式中,所述CP设备和所述至少两个UP设备属于虚拟宽带接入系统vBRAS。In a possible implementation manner, the CP device and the at least two UP devices belong to a virtual broadband access system vBRAS.
在一种可能的实现方式中,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。In a possible implementation manner, the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
在一种可能的实现方式中,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。In a possible implementation manner, the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
第五方面,提供了一种过载处理的系统,其特征在于,所述系统包括控制面CP设备和至少两个用户面UP设备;In a fifth aspect, an overload handling system is provided, wherein the system includes a control plane CP device and at least two user plane UP devices;
所述CP设备,用于获取由第一UP设备发送的第一报文,响应于确定所述CP设备过载,确定所述第一UP设备的第一限速策略,所述第一UP设备为所述至少两个UP设备中的一个,所述第一限速策略用于对所述第一报文限速。The CP device is configured to obtain the first message sent by the first UP device, and determine a first rate limiting policy of the first UP device in response to determining that the CP device is overloaded, and the first UP device is For one of the at least two UP devices, the first rate limiting policy is used to limit the rate of the first packet.
在一种可能的实现方式中,所述CP设备,还用于向所述第一UP设备发送第二报文,所述第二报文包括所述第一限速策略;In a possible implementation manner, the CP device is further configured to send a second message to the first UP device, where the second message includes the first rate limiting policy;
所述第一UP设备,用于获取所述CP设备发送的第二报文,基于所述第一限速策略对第一报文限速,所述第一报文为所述第一UP设备向所述CP设备发送的报文。The first UP device is configured to obtain the second message sent by the CP device, and limit the rate of the first message based on the first rate limiting policy, and the first message is the first UP device A message sent to the CP device.
在一种可能的实现方式中,所述第一UP设备,还用于向所述CP设备发送第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速;In a possible implementation manner, the first UP device is further configured to send a third packet to the CP device, where the third packet includes first capability information, and the first capability information indicates that the The first UP device can limit the rate of the first packet;
所述CP设备,还用于获取所述第一UP设备发送的第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速。The CP device is further configured to obtain a third message sent by the first UP device, where the third message includes first capability information, and the first capability information indicates that the first UP device can Describe the rate limit for the first packet.
在一种可能的实现方式中,所述CP设备,还用于向所述第一UP设备发送第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备基于所述第一速率向所述CP设备发送所述第一报文。In a possible implementation manner, the CP device is further configured to send a fourth packet to the first UP device, where the fourth packet includes a first rate, and the first rate is used to indicate the The first UP device sends the first packet to the CP device based on the first rate.
所述第一UP设备,还用于获取由所述CP设备发送的第四报文,基于所述第一速率向所述CP设备发送第一报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备根据所述第一速率向所述CP设备发送所述第一报文。The first UP device is further configured to obtain a fourth message sent by the CP device, and send a first message to the CP device based on the first rate, and the fourth message includes the first rate , the first rate is used to instruct the first UP device to send the first packet to the CP device according to the first rate.
在一种可能的实现方式中,所述第一UP设备,还用于向所述CP设备发送第九报文,所述第九报文包括第一能力信息和第五速率,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速,所述第五速率为所述第一UP设备对所述第一报文限速后,发送第一报文的速率。In a possible implementation manner, the first UP device is further configured to send a ninth message to the CP device, where the ninth message includes first capability information and a fifth rate, and the first The capability information indicates that the first UP device can limit the rate of the first message, and the fifth rate is the rate at which the first UP device sends the first message after the first UP device limits the rate of the first message .
在一种可能的实现方式中,所述第一UP设备,用于基于所述第一限速策略对第一报 文限速,包括:In a possible implementation manner, the first UP device, configured to limit the rate of the first packet based on the first rate limiting strategy, includes:
所述第一UP设备,用于基于所述第一限速策略配置速率参数,基于所述速率参数调整向所述CP设备发送所述第一报文的速率。The first UP device is configured to configure a rate parameter based on the first rate limiting policy, and adjust a rate of sending the first packet to the CP device based on the rate parameter.
在一种可能的实现方式中,所述速率参数为队列参数或者承诺信息速率CAR参数。In a possible implementation manner, the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
在一种可能的实现方式中,所述CP设备,还用于响应于满足过载恢复条件,向所述第一UP设备发送第五报文,所述第五报文包括第二速率,所述第二速率用于指示所述第一UP设备基于所述第二速率向所述CP设备发送所述第一报文,所述过载恢复条件包括确定所述CP设备未过载和到达预设恢复时间中的一个或者多个;In a possible implementation manner, the CP device is further configured to send a fifth packet to the first UP device in response to satisfying an overload recovery condition, where the fifth packet includes a second rate, and the The second rate is used to instruct the first UP device to send the first message to the CP device based on the second rate, and the overload recovery condition includes determining that the CP device is not overloaded and a preset recovery time is reached one or more of;
所述第一UP设备,还用于获取由所述CP设备发送的第五报文,基于所述第二速率向所述CP设备发送第一报文。The first UP device is further configured to obtain the fifth packet sent by the CP device, and send the first packet to the CP device based on the second rate.
在一种可能的实现方式中,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。In a possible implementation manner, the second message further includes overload information, where the overload information is used to indicate an overload degree of the CP device.
在一种可能的实现方式中,所述第二报文为包转发控制PFCP协议报文。In a possible implementation manner, the second message is a packet forwarding control PFCP protocol message.
在一种可能的实现方式中,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Pri Control information field of packet redirection interface control information, and the Pri Control information field carries the first rate limiting policy.
在一种可能的实现方式中,所述第二报文为控制面和用户面分离协议CUSP报文。In a possible implementation manner, the second message is a control plane and user plane separation protocol CUSP message.
在一种可能的实现方式中,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。In a possible implementation manner, the second packet includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
在一种可能的实现方式中,所述CP设备,还用于基于所述第一限速策略,对所述第一报文限速。In a possible implementation manner, the CP device is further configured to limit the rate of the first packet based on the first rate limit policy.
在一种可能的实现方式中,所述CP设备,用于基于所述第一限速策略,对所述第一报文限速,包括:In a possible implementation manner, the CP device is configured to limit the rate of the first packet based on the first rate limit policy, including:
所述CP设备,用于基于所述第一限速策略,丢弃所述第一报文。The CP device is configured to discard the first packet based on the first rate limiting policy.
在一种可能的实现方式中,所述CP设备,用于确定所述第一UP设备不支持对所述第一报文限速。In a possible implementation manner, the CP device is configured to determine that the first UP device does not support rate limiting for the first packet.
在一种可能的实现方式中,所述CP设备,用于确定所述第一UP设备不支持对所述第一报文进行限速处理,包括:In a possible implementation manner, the CP device is configured to determine that the first UP device does not support rate limiting processing on the first packet, including:
所述CP设备,用于向所述第一UP设备发送第六报文,响应于所述CP设备获取由所述第一UP设备发送的第七报文,或者在预设时间内未获取所述第一UP设备发送的反馈报文,确定所述第一UP设备不支持对所述第一报文限速,所述第六报文包括第三速率,所述第三速率用于指示所述第一UP设备基于所述第三速率向所述CP设备发送所述第一报文,所述第七报文包括第二能力信息,所述第二能力信息指示所述第一UP设备不支持对所述第一报文限速。The CP device is configured to send a sixth message to the first UP device, and respond to the CP device obtaining the seventh message sent by the first UP device, or failing to obtain the seventh message sent by the first UP device within a preset time According to the feedback message sent by the first UP device, it is determined that the first UP device does not support the rate limit for the first message, and the sixth message includes a third rate, and the third rate is used to indicate the The first UP device sends the first packet to the CP device based on the third rate, the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not Support rate limiting for the first packet.
在一种可能的实现方式中,所述CP设备,还用于响应于确定所述CP设备未过载,基于第四速率处理所述第一报文。In a possible implementation manner, the CP device is further configured to, in response to determining that the CP device is not overloaded, process the first packet based on a fourth rate.
在一种可能的实现方式中,所述第一限速策略基于所述第一UP设备的优先级确定;In a possible implementation manner, the first rate limiting policy is determined based on the priority of the first UP device;
或者,所述第一限速策略基于所述第一报文的流量确定;Or, the first rate limiting policy is determined based on the traffic of the first packet;
或者,所述第一限速策略为在第一时间段内按照第一限速速率对所述第一报文限速, 在第二时间段内按照第二限速速率对所述第一报文限速,所述第一时间段为所述第一UP设备的保障发送时间段,所述第一限速速率大于所述第二限速速率;Alternatively, the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate within the first time period, and limit the rate of the first message according to the second rate limit rate within the second time period. A document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
或者,所述第一限速策略为在第三时间段内按照第三限速速率对所述第一报文限速,在第四时间段内按照第四限速速率对所述第一报文限速,所述第三时间段早于所述第四时间段,所述第三限速速率小于所述第四限速速率;Alternatively, the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period. speed limit, the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
或者,所述第一限速策略为按照第五限速速率对所述第一报文进行限速处理,所述第五限速速率小于对所述第一报文限速之前所述第一报文的传输速率。Alternatively, the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
在一种可能的实现方式中,所述至少两个UP设备包括第二UP设备,所述CP设备,还用于获取由所述第二UP设备发送的第八报文,响应于确定所述CP设备过载,确定所述第二UP设备的第二限速策略,所述第二限速策略用于对所述第八报文进行限速处理。In a possible implementation manner, the at least two UP devices include a second UP device, and the CP device is further configured to acquire an eighth message sent by the second UP device, and in response to determining that the The CP device is overloaded, and determines a second rate-limiting policy of the second UP device, where the second rate-limiting policy is used to perform rate-limiting processing on the eighth packet.
在一种可能的实现方式中,所述第一限速策略用于指示按照第六限速速率对所述第一报文进行限速处理,所述第二限速策略用于指示按照第七限速速率对所述第八报文进行限速处理,所述第一UP设备的优先级高于所述第二UP设备的优先级,所述第六限速速率大于所述第七限速速率,或者所述第一报文的流量大于所述第八报文的流量,所述第六限速速率与对所述第一报文限速之前所述第一报文的传输速率的差值,大于所述第七限速速率与对所述第八报文限速之前所述第八报文的传输速率的差值。In a possible implementation manner, the first rate limiting policy is used to indicate that the first packet is processed according to the sixth rate limit rate, and the second rate limit policy is used to indicate that the first packet is processed according to the seventh rate limit rate. The speed limit rate performs speed limit processing on the eighth message, the priority of the first UP device is higher than the priority of the second UP device, and the sixth speed limit rate is greater than the seventh speed limit rate rate, or the flow rate of the first packet is greater than the flow rate of the eighth packet, and the difference between the sixth rate limiting rate and the transmission rate of the first packet before limiting the rate of the first packet The value is greater than the difference between the seventh rate limiting rate and the transmission rate of the eighth packet before limiting the rate of the eighth packet.
在一种可能的实现方式中,所述确定所述CP设备过载,包括确定所述CP设备的资源利用率超过第一阈值和确定所述CP设备处理时延超过第二阈值中的一项或者多项。In a possible implementation manner, the determining that the CP device is overloaded includes determining that the resource utilization of the CP device exceeds a first threshold and determining that the processing delay of the CP device exceeds a second threshold, or multiple.
在一种可能的实现方式中,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。In a possible implementation manner, the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending.
在一种可能的实现方式中,所述CP设备和所述至少两个UP设备属于虚拟宽带远程接入服务器vBRAS。In a possible implementation manner, the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
在一种可能的实现方式中,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。In a possible implementation manner, the first packet is transmitted through a packet redirection interface PRi between the CP device and the first UP device, and the first packet is a dial-up packet or a User access message.
在一种可能的实现方式中,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。In a possible implementation manner, the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, an Internet Protocol version 4 IPv4 data packet, One of the Internet Protocol Version 6 IPv6 packets and the Point-to-Point Protocol over Ethernet Active Discovery Init Packet PADI.
第六方面,本申请实施例提供了一种控制面设备,所述控制面设备包括处理器芯片和存储器,存储器用于存储指令或程序代码,处理器芯片用于从存储器中调用并运行所述指令或程序代码,以执行如前述第一方面所述的过载处理的方法。In a sixth aspect, an embodiment of the present application provides a control plane device, the control plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the Instructions or program codes to execute the overload handling method described in the aforementioned first aspect.
第七方面,本申请实施例提供了一种用户面设备,所述用户面设备包括处理器芯片和存储器,存储器用于存储指令或程序代码,处理器芯片用于从存储器中调用并运行所述指令或程序代码,以执行如前述第二方面所述的过载处理的方法。In the seventh aspect, the embodiment of the present application provides a user plane device, the user plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the Instructions or program codes to execute the overload handling method described in the aforementioned second aspect.
第八方面,本申请实施例提供了一种计算机可读存储介质,包括指令、程序或代码,当其在计算机上执行时,使得所述计算机执行如前述第一方面所述的过载处理的方法,或者第二方面所述的过载处理的方法。In the eighth aspect, the embodiment of the present application provides a computer-readable storage medium, including instructions, programs or codes, which, when executed on a computer, cause the computer to perform the overload processing method as described in the first aspect above , or the overload handling method described in the second aspect.
第九方面,本申请实施例提供了一种计算机程序产品,当该计算机程序产品在网络设 备上运行时,使得网络设备执行第一方面所述的过载处理的方法,或者第二方面所述的过载处理的方法。In the ninth aspect, the embodiment of the present application provides a computer program product. When the computer program product is run on a network device, it causes the network device to perform the overload processing method described in the first aspect, or the method described in the second aspect. The method of overload handling.
附图说明Description of drawings
图1为一种网络架构示意图;FIG. 1 is a schematic diagram of a network architecture;
图2为一种实现过载处理的系统的架构示意图;FIG. 2 is a schematic diagram of the architecture of a system for implementing overload processing;
图3为本申请实施例提供的实现过载处理的系统的架构示意图;FIG. 3 is a schematic structural diagram of a system for implementing overload processing provided by an embodiment of the present application;
图4为本申请实施例提供的一种过载处理方法的流程示意图;FIG. 4 is a schematic flow chart of an overload processing method provided in an embodiment of the present application;
图5为本申请实施例提供的另一种过载处理方法的流程示意图;FIG. 5 is a schematic flow chart of another overload processing method provided in the embodiment of the present application;
图6本申请实施例提供的一种PFCP报文扩展格式的示意图;FIG. 6 is a schematic diagram of a PFCP message extension format provided by an embodiment of the present application;
图7为本申请实施例提供的一种Pri Control information字段的格式示意图;Fig. 7 is a schematic diagram of the format of a Pri Control information field provided by the embodiment of the present application;
图8a为本申请实施例提供的另一种Pri Control information字段的格式示意图;Figure 8a is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application;
图8b为本申请实施例提供的又一种Pri Control information字段的格式示意图;Figure 8b is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application;
图9为本申请实施例提供的一种第二报文包括的TLV字段的格式示意图;FIG. 9 is a schematic diagram of the format of a TLV field included in a second message provided by an embodiment of the present application;
图10为本申请实施例提供的一种CP设备与第一UP设备的协商过程的流程示意图;FIG. 10 is a schematic flowchart of a negotiation process between a CP device and a first UP device provided in an embodiment of the present application;
图11为本申请实施例提供的另一种CP设备与第一UP设备的协商过程的流程示意图;FIG. 11 is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application;
图12为本申请实施例提供的另一种CP设备与第一UP设备的协商过程的流程示意图;FIG. 12 is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application;
图13为本申请实施例提供的一种CU分离系统的结构示意图;FIG. 13 is a schematic structural diagram of a CU separation system provided in an embodiment of the present application;
图14为本申请实施例提供的一种过载处理的流程示意图;FIG. 14 is a schematic flowchart of an overload processing provided by an embodiment of the present application;
图15为本申请实施例提供的又一种过载处理方法的流程示意图;FIG. 15 is a schematic flowchart of another overload processing method provided by the embodiment of the present application;
图16为本申请实施例提供的另一种CU分离系统的结构示意图;FIG. 16 is a schematic structural diagram of another CU separation system provided by an embodiment of the present application;
图17为本申请实施例提供的另一种过载处理的流程示意图;FIG. 17 is a schematic flowchart of another overload processing provided by the embodiment of the present application;
图18为本申请实施例提供的一种过载处理的装置的结构示意图;FIG. 18 is a schematic structural diagram of an overload treatment device provided in an embodiment of the present application;
图19为本申请实施例提供的另一种过载处理的装置的结构示意图;FIG. 19 is a schematic structural diagram of another overload treatment device provided in the embodiment of the present application;
图20为本申请实施例提供的一种过载处理的系统的结构示意图;FIG. 20 is a schematic structural diagram of an overload processing system provided by an embodiment of the present application;
图21为本申请实施例提供的一种设备的结构示意图;Fig. 21 is a schematic structural diagram of a device provided by an embodiment of the present application;
图22为本申请实施例提供的一种设备的结构示意图。FIG. 22 is a schematic structural diagram of a device provided by an embodiment of the present application.
具体实施方式Detailed ways
宽带网络中包括为用户提供接入宽带网络服务的网络设备。实现为用户提供接入宽带网络服务的网络设备,例如为宽带网络网关(broadband network gateway,BNG)或者宽带远程接入服务器(broadband remote access server,BRAS)。The broadband network includes network equipment that provides users with access to broadband network services. A network device that enables users to access broadband network services, such as a broadband network gateway (broadband network gateway, BNG) or a broadband remote access server (broadband remote access server, BRAS).
在部分宽带网络中,采用虚拟宽带远程接入服务器(virtual broadband remote access server,vBRAS)为用户提供接入宽带网络的服务。相较于实体BRAS,vBRAS能够基于SDN技术和NFV技术实现CU分离,能够充分利用资源,便于管理维护。其中,vBRAS可以包括一个CP设备和至少两个UP设备。CP设备能够管理属于相同的vBRAS的多个UP设备。In some broadband networks, a virtual broadband remote access server (vBRAS) is used to provide users with broadband network access services. Compared with physical BRAS, vBRAS can realize CU separation based on SDN technology and NFV technology, can make full use of resources, and facilitate management and maintenance. Wherein, the vBRAS may include one CP device and at least two UP devices. A CP device can manage multiple UP devices belonging to the same vBRAS.
参见图1所示,该图为本申请实施例提供的一种网络架构示意图。其中,网络包括终 端设备1、终端设备2、家庭网关(residential gateway,RG)、光线路终端(optical line termination,OLT)、UP设备1、UP设备2、CP设备和认证服务器。其中,终端设备1和终端设备2分别与家庭网关连接。家庭网关与光线路终端连接。光线路终端分别与UP设备1和UP设备2连接。UP设备1和UP设备2分别与CP设备连接。CP设备分别与远程用户拨号认证服务(remote authentication dial in user service,RADIUS)服务器、动态主机配置协议(dynamic host configuration protocol,DHCP)服务器、网络功能虚拟化管理与编排(network functions virtualization management andorchestration,MANO)以及网元管理系统(element management system,EMS)连接。CP设备与RADIUS服务器和DHCP服务器交互,实现用户的认证以及IP地址的分配。CP设备受到MANO以及EMS的管理控制。EMS还分别与UP设备1、UP设备以及核心路由器(core router,CR)连接,实现对UP设备1、UP设备以及CR的管理控制。UP设备1和UP设备2还分别通过CR接入网络。UP设备1用于向终端设备1提供宽带接入服务,UP设备2用于向终端设备2提供宽带接入服务。参见图1中的虚线箭头所示,该虚线箭头标识用户接入报文的传输流程。用户1需要接入宽带网络时,利用终端设备1,通过RG和OLT向提供宽带接入服务的UP设备1发送用户接入报文1。用户2需要接入宽带网络时,利用终端设备2,通过RG和OLT向提供宽带接入服务的UP设备2发送用户接入报文2。UP设备1向CP设备发送用户接入报文1。UP设备2向CP设备发送用户接入报文2。CP设备分别处理用户接入报文1和用户接入报文2,并与RADIUS服务器进行信息交互,完成对用户1和用户2的认证和授权。CP设备将用户1的表项下发至UP设备1,以便UP设备1基于用户1的表项为用户1提供接入宽带的服务。CP设备将用户2的表项下发至UP设备2,以便UP设备2基于用户2的表项为用户2提供接入宽带的服务。参见图1中的实线箭头所示,该实线箭头标识用户数据流的传输流程。用户1在接入网络后传输数据时,通过RG、OLT、UP设备1以及CR访问网络。用户2在接入网络后传输数据时,通过RG、OLT、UP设备2以及CR访问网络。Referring to FIG. 1 , the figure is a schematic diagram of a network architecture provided by an embodiment of the present application. Wherein, the network includes terminal equipment 1, terminal equipment 2, residential gateway (residential gateway, RG), optical line terminal (optical line termination, OLT), UP equipment 1, UP equipment 2, CP equipment and authentication server. Wherein, the terminal device 1 and the terminal device 2 are respectively connected to the home gateway. The home gateway is connected with the optical line terminal. The optical line terminals are connected to UP equipment 1 and UP equipment 2 respectively. UP device 1 and UP device 2 are respectively connected to the CP device. The CP device communicates with remote authentication dial in user service (RADIUS) server, dynamic host configuration protocol (dynamic host configuration protocol, DHCP) server, network functions virtualization management and orchestration (network functions virtualization management and orchestration, MANO) respectively. ) and network element management system (element management system, EMS) connection. The CP device interacts with the RADIUS server and the DHCP server to implement user authentication and IP address allocation. CP equipment is managed and controlled by MANO and EMS. The EMS is also connected to the UP device 1, the UP device, and a core router (core router, CR) respectively, so as to realize the management and control of the UP device 1, the UP device, and the CR. UP device 1 and UP device 2 also access the network through CR respectively. The UP device 1 is used to provide the terminal device 1 with a broadband access service, and the UP device 2 is used to provide the terminal device 2 with a broadband access service. Referring to the dotted arrow in FIG. 1 , the dotted arrow indicates the transmission process of the user access message. When user 1 needs to access the broadband network, he uses terminal device 1 to send user access message 1 to UP device 1 that provides broadband access service through RG and OLT. When user 2 needs to access the broadband network, use terminal device 2 to send user access message 2 to UP device 2 that provides broadband access service through RG and OLT. The UP device 1 sends a user access message 1 to the CP device. The UP device 2 sends a user access message 2 to the CP device. The CP device processes user access packet 1 and user access packet 2 respectively, and exchanges information with the RADIUS server to complete authentication and authorization of user 1 and user 2. The CP device sends the entry of user 1 to the UP device 1, so that the UP device 1 provides the broadband access service for user 1 based on the entry of user 1. The CP device delivers the user 2 entry to the UP device 2, so that the UP device 2 provides the user 2 with a broadband access service based on the user 2 entry. Referring to the solid line arrows in FIG. 1 , the solid line arrows indicate the transmission process of the user data stream. User 1 accesses the network through the RG, OLT, UP device 1, and CR when transmitting data after accessing the network. User 2 accesses the network through the RG, OLT, UP device 2, and CR when transmitting data after accessing the network.
由此可知,CP设备会处理多个UP设备重定向后转发的用户接入报文。在一些情况下,比如,出现网络故障恢复后,或者,CP设备重启,CP设备会在短时间内获取大量的用户接入报文。CP设备无法正常地快速处理完成大量的用户接入报文,导致CP设备运行超过规定的承受能力,也就是过载。CP设备过载时,难以正常处理用户接入报文,可能会导致用户无法接入宽带网络,影响用户使用宽带网络。It can be seen that the CP device will process the user access packets forwarded after being redirected by multiple UP devices. In some cases, for example, after a network failure occurs and is recovered, or the CP device is restarted, the CP device will obtain a large number of user access packets within a short period of time. The CP device cannot normally and quickly process a large number of user access packets, causing the CP device to run beyond the specified capacity, that is, overload. When the CP device is overloaded, it is difficult to process user access packets normally, which may cause users to be unable to access the broadband network and affect users' use of the broadband network.
目前有三种CP设备过载处理的方法,分别由UP设备、CP设备所在网络的网关以及CP设备针对过载情况进行过载处理。参见图2所示,该图为一种CU分离系统业务的流程示意图。其中,用户侧的家庭网关(residential gateway,RGW)通过OLT与UP设备连接。UP设备通过域控制器(domain controller)-网关设备与CP设备连接。CP设备与认证服务器连接。UP设备通过CR与网络连接。在一种过载控制方法中,UP设备在向CP设备转发用户接入报文时,会进行过载控制,防止网络攻击流冲击到CP设备。在另一种过载控制方法中,DC-网关设备部署访问控制列表(access control list,ACL)。DC-网关设备利用ACL防止假冒的UP设备向CP设备发送攻击报文。在又一种过载控制方法中,CP设备内部部署过载控制模块,以实现对UP设备转发的数量较大的用户接入报文进行控制,防止数量较大的用户接入报文影响CP设备内部的业务处理模块。但是,上述三种方法是由UP设备、 网关设备以及CP设备分别独立处理,难以基于用户接入报文的传输情况进行协调,导致过载处理的效果不佳。Currently, there are three methods for handling the overload of the CP device. The UP device, the gateway of the network where the CP device is located, and the CP device perform overload processing for the overload situation. Referring to FIG. 2 , the figure is a schematic flow diagram of a CU separation system service. Wherein, the residential gateway (residential gateway, RGW) on the user side is connected to the UP device through the OLT. The UP device is connected to the CP device through a domain controller (domain controller)-gateway device. The CP device is connected to the authentication server. The UP device is connected to the network through the CR. In an overload control method, the UP device performs overload control when forwarding user access packets to the CP device, so as to prevent network attack flows from impacting the CP device. In another overload control method, the DC-gateway device deploys an access control list (ACL). The DC-gateway device uses the ACL to prevent the fake UP device from sending attack packets to the CP device. In yet another overload control method, the CP device internally deploys an overload control module to control the large number of user access packets forwarded by the UP device and prevent the large number of user access packets from affecting the CP device. business processing module. However, the above three methods are independently processed by the UP device, the gateway device, and the CP device, and it is difficult to coordinate based on the transmission status of user access packets, resulting in a poor effect of overload processing.
为了解决上述问题,本申请实施例提供一种过载处理方法。该过载处理方法应用于包括CP设备和多个UP设备的网络中,多个UP设备包括第一UP设备。CP设备获取第一UP设备发送的第一报文,并在响应于确定CP设备过载时,确定第一UP设备的第一限速策略。基于第一限速策略,能够针对性地对第一报文进行限速处理,如此能够提高过载处理的效果。In order to solve the above problem, an embodiment of the present application provides an overload handling method. The overload processing method is applied in a network including a CP device and multiple UP devices, and the multiple UP devices include the first UP device. The CP device obtains the first packet sent by the first UP device, and determines the first rate limiting policy of the first UP device when responding to determining that the CP device is overloaded. Based on the first rate limiting strategy, rate limiting processing can be performed on the first packet in a targeted manner, thereby improving the effect of overload processing.
为方便理解,首先对本申请实施例提供的过载处理方法的应用场景进行介绍。参见图3所示,该图为本申请实施例提供的实现过载处理的系统的架构示意图。该系统包括终端设备301、终端设备302、UP设备303、UP设备304、CP设备305、服务器306和网络307。其中,终端设备301与UP设备303连接,终端设备302与UP设备304连接,UP设备303和UP设备304分别与CP设备305连接,CP设备305与服务器306连接。UP设备303和UP设备304分别接入网络307。For the convenience of understanding, the application scenario of the overload handling method provided in the embodiment of the present application is firstly introduced. Referring to FIG. 3 , the figure is a schematic structural diagram of a system for implementing overload handling provided by an embodiment of the present application. The system includes a terminal device 301 , a terminal device 302 , a UP device 303 , a UP device 304 , a CP device 305 , a server 306 and a network 307 . Wherein, the terminal device 301 is connected to the UP device 303 , the terminal device 302 is connected to the UP device 304 , the UP device 303 and the UP device 304 are respectively connected to the CP device 305 , and the CP device 305 is connected to the server 306 . The UP device 303 and the UP device 304 access the network 307 respectively.
其中,终端设备301和终端设备302是为用户提供登录服务的设备。终端设备301和终端设备302是支持接入宽带网络的设备。终端设备301和终端设备302可以是台式电脑、笔记本电脑、客户终端设备(customer premise equipment,CPE)以及数字视频变换盒(set top box,STB)等。需要说明的是,在一些可能的实现方式中,用户基于用户标识确定,与提供登录服务的设备无关。用户标识,例如为用户的宽带拨号的用户名,或者用户所属的家庭的家庭名称。用户可以在多个不同的设备上登录。同一个设备也可以实现多个用户的登录。UP设备303、UP设备304和CP设备305属于同一个提供接入宽带网络服务的系统。在一种可能的实现方式中,UP设备303、UP设备304和CP设备305属于同一个vBRAS。UP设备303、UP设备304和CP设备305均为虚拟网络功能(virtual network function,VNF)形态。UP设备303和UP设备304为vBRAS-UP设备。CP设备305为vBRAS-CP设备。服务器306为网络中处理用户认证以及提供验证授权服务的服务器。服务器306例如为验证、授权和记账(authentication、authorization、accounting,AAA)服务器,或者为远程认证拨号用户服务(remote authentication dial in user service,RADIUS)服务器。Wherein, the terminal device 301 and the terminal device 302 are devices that provide login services for users. Terminal device 301 and terminal device 302 are devices that support broadband network access. The terminal equipment 301 and the terminal equipment 302 may be desktop computers, notebook computers, customer premise equipment (customer premise equipment, CPE) and digital video conversion boxes (set top box, STB) and so on. It should be noted that, in some possible implementation manners, the user is determined based on the user identifier, and has nothing to do with the device that provides the login service. User identification, such as the user name for the user's broadband dial-up, or the family name of the household to which the user belongs. Users can log in on multiple different devices. The same device can also realize the login of multiple users. The UP device 303, the UP device 304, and the CP device 305 belong to the same system that provides broadband network access services. In a possible implementation manner, the UP device 303, the UP device 304, and the CP device 305 belong to the same vBRAS. The UP device 303, the UP device 304, and the CP device 305 are all in the form of a virtual network function (virtual network function, VNF). UP device 303 and UP device 304 are vBRAS-UP devices. The CP device 305 is a vBRAS-CP device. The server 306 is a server in the network that processes user authentication and provides authentication and authorization services. The server 306 is, for example, an authentication, authorization, and accounting (authentication, authorization, accounting, AAA) server, or a remote authentication dial in user service (RADIUS) server.
需要说明的是,图3所示的系统架构示意图仅是本申请实施例提供的一种示例。本申请实施例提供的过载处理方法不限于上述图3所示的场景。比如,本申请实施例提供的过载处理方法能够应用于图1和图2所示的系统架构。It should be noted that the schematic diagram of the system architecture shown in FIG. 3 is only an example provided by the embodiment of the present application. The overload handling method provided in this embodiment of the present application is not limited to the scenario shown in FIG. 3 above. For example, the overload handling method provided in the embodiment of the present application can be applied to the system architecture shown in FIG. 1 and FIG. 2 .
下面结合上述图3,对本申请实施例提供的一种过载处理方法进行介绍。参见图4所示,该图为本申请实施例提供的一种过载处理方法的流程示意图。本申请实施例提供的过载处理方法包括S401-S402。An overload handling method provided in the embodiment of the present application will be introduced below with reference to the foregoing FIG. 3 . Referring to FIG. 4 , the figure is a schematic flowchart of an overload processing method provided in an embodiment of the present application. The overload handling method provided in the embodiment of the present application includes S401-S402.
S401:CP设备获取由第一UP设备发送的第一报文。S401: The CP device obtains the first packet sent by the first UP device.
CP设备和第一UP设备为属于同一个为用户提供宽带网络接入服务的系统。在一种可能的实现方式中,CP设备管理多个UP设备。也就是说,一个用户提供宽带网络接入服务的系统包括CP设备和多个UP设备。第一UP设备为CP设备管理的多个UP设备中的一个。作为一种示例,CP设备和第一UP设备属于vBRAS。The CP device and the first UP device belong to the same system that provides broadband network access services for users. In a possible implementation manner, the CP device manages multiple UP devices. That is to say, a system for providing broadband network access services to users includes a CP device and multiple UP devices. The first UP device is one of multiple UP devices managed by the CP device. As an example, the CP device and the first UP device belong to the vBRAS.
结合图3所示,CP设备为CP设备305,第一UP设备为UP设备303或者UP设备304。As shown in FIG. 3 , the CP device is CP device 305 , and the first UP device is UP device 303 or UP device 304 .
第一报文是由第一UP设备提供宽带网络接入服务的终端设备生成的。以上述图3为例,第一UP设备为UP设备303。UP设备303用于为终端设备301上登录的用户提供宽带网络接入服务。终端设备301基于登录的用户的信息,生成用于接入宽带网络的第一报文,并向UP设备303发送第一报文。UP设备303在获取到第一报文后,对第一报文进行重定向处理,向CP设备305发送第一报文。The first message is generated by the terminal device that the first UP device provides broadband network access service. Taking the above-mentioned FIG. 3 as an example, the first UP device is the UP device 303 . The UP device 303 is used to provide broadband network access services for users logged in on the terminal device 301 . The terminal device 301 generates a first packet for accessing the broadband network based on the information of the logged-in user, and sends the first packet to the UP device 303 . After acquiring the first packet, the UP device 303 performs redirection processing on the first packet, and sends the first packet to the CP device 305 .
CP设备和第一UP设备之间通过三种接口连接。三种接口分别是管理接口(Manage Interface,Mi)、报文重定向接口(packet redirection interface,PRi)和状态控制接口(state control interface,SCi)。其中,CP设备通过Mi向第一UP设备发送配置信息。CP设备通过PRi获取第一UP设备发送的第一报文。作为一种示例,PRi为TR459规范中扩展的用户层面的通用无线分组业务隧道传输协议(general packet radio service tunnel protocol for the user plane,GTP-U)隧道,或者为TR487规范中的虚拟可扩展局域网通用协议扩展(virtual extensible local area network generic Protocol extension,VXLAN GPE)隧道。CP设备通过SCi向第一UP设备下发用户会话(session)信息,并且,获取第一UP设备上报的用户会话的统计或者探测结果。作为一种示例,SCi基于TR459规范中扩展的第三代合作伙伴计划(3rd generation partnership project,3GPP)报文转发控制协议(packet forwarding control protocol,PFCP)建立,或者基于TR487规范中的控制面和用户面分离协议(control plane and user plane separated protocol,CUSP)建立。The CP device and the first UP device are connected through three types of interfaces. The three interfaces are management interface (Manage Interface, Mi), packet redirection interface (packet redirection interface, PRi) and state control interface (state control interface, SCi). Wherein, the CP device sends configuration information to the first UP device through Mi. The CP device acquires the first packet sent by the first UP device through the PRi. As an example, PRi is a general packet radio service tunnel protocol for the user plane (GTP-U) tunnel extended in the TR459 specification, or a virtual scalable local area network in the TR487 specification Generic protocol extension (virtual extensible local area network generic Protocol extension, VXLAN GPE) tunnel. The CP device delivers user session (session) information to the first UP device through the SCi, and obtains statistics or detection results of the user session reported by the first UP device. As an example, SCi is established based on the extended third generation partnership project (3rd generation partnership project, 3GPP) packet forwarding control protocol (PFCP) in the TR459 specification, or based on the control plane and The user plane separation protocol (control plane and user plane separated protocol, CUSP) is established.
第一报文用于实现用户接入宽带网络。第一报文为拨号报文或者为用户接入报文。第一报文的具体类型与业务类型相关。作为一种示例,业务类型为基于以太网的因特网协议(internet protocol over ethernet,IPOE)类型或者动态主机配置协议(dynamic host configuration protocol,DHCP)类型。第一报文为DHCP发现(discover)报文、第6版动态主机配置协议(dynamic host configuration protocol version 6,DHCPv6)请求(solicit)报文、第六版互联网协议(internet protocol version 6,IPv6)数据包以及第四版互联网协议(internet protocol version 4,IPv4)数据包中的一种。作为另一种示例,业务类型为以太网上的点对点协议(point-to-point protocol over ethernet,PPPoE)类型。第一报文为PPPoE主动发现初始包(PPPoE active discovery initiation,PADI)。The first message is used to enable the user to access the broadband network. The first message is a dial-up message or a user access message. The specific type of the first packet is related to the service type. As an example, the service type is an Ethernet-based Internet protocol (internet protocol over ethernet, IPOE) type or a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) type. The first message is a DHCP discovery (discover) message, a dynamic host configuration protocol version 6 (DHCPv6) request (solicit) message, and a sixth version of the Internet Protocol (internet protocol version 6, IPv6) A data packet and a type of Internet protocol version 4 (IPv4) data packet. As another example, the service type is a point-to-point protocol over ethernet (PPPoE) type. The first packet is a PPPoE active discovery initiation packet (PPPoE active discovery initiation, PADI).
S402:响应于确定CP设备过载,CP设备确定第一UP设备的用于对第一报文限速的第一限速策略。S402: In response to determining that the CP device is overloaded, the CP device determines a first rate limiting policy of the first UP device for limiting the rate of the first packet.
CP设备过载是指CP设备运行超过标准负荷的状态。CP设备过载能够基于CP设备的运行情况判断。CP device overload refers to the state that the CP device operates beyond the standard load. The CP device overload can be judged based on the running status of the CP device.
本申请实施例不限定判断CP设备是否过载的具体实现方式。在一种可能的实现方式中,实时检测CP设备内部部件以及资源等的使用情况,检测内容包括且不限于中央处理器(central processing unit,CPU)利用率、内存利用率、RADIUS认证超时率以及系统内部模块处理时延变化等。根据各个检测内容的当前的使用情况和指标,综合判断CP设备是否过载。作为一些示例,预先设置各个检测内容的门限值。门限值可以是根据具体的检测内容自定义的。当一个或者多个检测内容的相关数值超过该检测内容的门限值时,确定CP设备过载。作为另一些示例,在一些情况下,检测内容的相关数值与检测内容的门限值的差距在预设范围内,确定CP设备过载。The embodiment of the present application does not limit the specific implementation manner of judging whether the CP device is overloaded. In a possible implementation, the usage of internal components and resources of the CP device is detected in real time, and the detection content includes but is not limited to central processing unit (central processing unit, CPU) utilization, memory utilization, RADIUS authentication timeout rate and The internal modules of the system process delay changes, etc. According to the current usage and indicators of each detection content, comprehensively judge whether the CP device is overloaded. As some examples, threshold values for each detected content are preset. The threshold value can be customized according to specific detection content. When the relevant values of one or more detected contents exceed the threshold value of the detected contents, it is determined that the CP device is overloaded. As another example, in some cases, if the difference between the relevant numerical value of the detected content and the threshold value of the detected content is within a preset range, it is determined that the CP device is overloaded.
比如,在一种可能的实现方式中,获取CP设备的资源利用率。在CP设备的资源利用率超过第一阈值时,确定CP设备过载。其中,第一阈值为资源利用率的门限值。在CP设备的资源利用率超过第一阈值时,确定CP设备未过载。其中,资源利用率,例如为内存利用率,又或者例如为CPU利用率。在另一种可能的实现方式中,获取CP设备处理时延。CP设备处理时延超过第二阈值时,确定CP设备过载。CP设备处理时延未超过第二阈值时,确定CP设备未过载。其中,CP设备处理时延是CP设备处理业务的时延。第二阈值为CP设备处理时延的门限值。CP设备处理时延,比如为用户认证超时时长,又比如为CP设备系统处理第一报文的时延。在又一种可能的实现方式中,基于CP设备的资源利用率和CP设备处理时延综合判断CP设备是否过载。在CP设备的资源利用率超过第一阈值以及CP设备的处理时延超过第二阈值时,确定CP设备过载。For example, in a possible implementation manner, the resource utilization rate of the CP device is acquired. When the resource utilization rate of the CP device exceeds the first threshold, it is determined that the CP device is overloaded. Wherein, the first threshold is a threshold value of resource utilization. When the resource utilization rate of the CP device exceeds the first threshold, it is determined that the CP device is not overloaded. Wherein, the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate. In another possible implementation manner, the processing delay of the CP device is acquired. When the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded. When the processing delay of the CP device does not exceed the second threshold, it is determined that the CP device is not overloaded. Wherein, the CP device processing delay is the service processing delay of the CP device. The second threshold is a threshold value of the processing delay of the CP device. The processing delay of the CP device, such as the user authentication timeout period, or the delay of processing the first packet for the CP device system. In yet another possible implementation manner, whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
响应于CP设备过载,CP设备确定第一UP设备的第一限速策略。第一限速策略是针对第一报文限速的限速策略。根据第一限速策略,能够基于第一报文的传输情况或者基于第一UP设备的运行情况针对第一报文进行较为准确地限速处理,进而减少CP设备需要处理的报文,缓解CP设备的过载情况。如此针对第一报文进行限速处理,缓解CP设备的过载的效果较好。In response to the overload of the CP device, the CP device determines a first rate limiting policy of the first UP device. The first rate limiting strategy is a rate limiting strategy for limiting the rate of the first packet. According to the first rate-limiting strategy, the rate-limiting process for the first message can be performed more accurately based on the transmission status of the first message or based on the operation status of the first UP device, thereby reducing the messages to be processed by the CP device and alleviating CP. Equipment overload conditions. In this way, the speed limit processing is performed on the first packet, and the effect of alleviating the overload of the CP device is better.
作为一种示例,第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。其中,传输限速速率为第一UP设备传输第一报文的限速速率。速率百分比为第一UP设备限速后传输第一报文的速率占限速前第一UP设备传输第一报文的速率的百分比。停止发送时间长度为第一UP设备停止发送第一报文的时间长度。As an example, the first rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending. Wherein, the transmission rate limit rate is the rate limit rate at which the first UP device transmits the first packet. The rate percentage is the percentage of the rate at which the first UP device transmits the first packet after rate limiting to the rate at which the first UP device transmits the first packet before the rate limit. The time length for stopping sending is the time length during which the first UP device stops sending the first packet.
需要说明的是,本申请实施例不限定在CP设备过载期间,CP设备确定第一限速策略的次数。在一些可能的实现方式中,CP设备能够基于第一报文的传输情况,多次确定第一限速策略,使得确定的第一限速策略与CP设备的运行情况以及第一报文的传输情况较为匹配,实现较好的过载处理的效果。It should be noted that the embodiment of the present application does not limit the number of times the CP device determines the first rate limiting policy during the overload period of the CP device. In some possible implementations, the CP device can determine the first rate limiting policy multiple times based on the transmission of the first message, so that the determined first rate limit policy is related to the operation of the CP device and the transmission of the first message. The situation is relatively matched, and a better overload handling effect is achieved.
本申请实施例不限定确定第一限速策略的具体实现方式。作为一种示例,CP设备能够基于预设的确定第一限速策略的方式以及算法确定第一限速策略。下面介绍五种可能的确定第一限速策略的具体实现方式。The embodiment of the present application does not limit the specific implementation manner of determining the first speed limit policy. As an example, the CP device can determine the first rate limiting policy based on a preset manner and algorithm for determining the first rate limiting policy. Five possible specific implementation manners for determining the first speed limit strategy are introduced below.
第一种:预设条件。The first type: preconditions.
预设条件是指预先设置UP设备的优先级。The preset condition refers to setting the priority of the UP device in advance.
在确定第一限速策略时,基于第一UP设备的优先级确定第一限速策略。When determining the first rate limiting strategy, the first rate limiting strategy is determined based on the priority of the first UP device.
CP设备能够基于第一UP设备的优先级确定第一UP设备的第一限速策略。第一UP设备的优先级可以是预先设置的。本申请实施例不限定设置第一UP设备的优先级的实现方式。在一种可能的实现方式中,对外提供定义接口,用户能够通过定义接口设置第一UP设备的优先级。在另一种可能的实现方式中,第一UP设备的优先级是基于第一UP设备所在的区域确定的。比如,第一UP设备位于较为关键的为用户提供接入网络的服务的区域,则第一UP设备的优先级较高。The CP device can determine the first rate limiting policy of the first UP device based on the priority of the first UP device. The priority of the first UP device may be preset. This embodiment of the present application does not limit the implementation manner of setting the priority of the first UP device. In a possible implementation manner, a definition interface is provided externally, and the user can set the priority of the first UP device through the definition interface. In another possible implementation manner, the priority of the first UP device is determined based on the area where the first UP device is located. For example, if the first UP device is located in a more critical area that provides services for users to access the network, the priority of the first UP device is higher.
第二种:惩罚判断。The second type: punishment judgment.
惩罚判断是指根据UP设备向CP设备发送的报文的流量确定UP设备的限速策略。比如,对于向CP设备发送重定向的报文的流量较多的UP设备,对应的限速策略中,对向 CP设备发送的报文的限制程度越大。对于向CP设备发送重定向的报文的流量较少的UP设备,对应的限速策略中,对向CP设备发送的报文的限制程度越小。Punishment judgment refers to determining the rate limit policy of the UP device according to the flow of packets sent by the UP device to the CP device. For example, for a UP device that sends more redirected packets to the CP device, in the corresponding rate limiting policy, the degree of restriction on the packets sent to the CP device is greater. For the UP device that sends redirected packets to the CP device with less traffic, in the corresponding rate limiting policy, the degree of restriction on the packets sent to the CP device is smaller.
在确定第一UP设备的第一限速策略时,基于第一UP设备发送的第一报文的流量确定第一限速策略。When determining the first rate limiting policy of the first UP device, the first rate limiting policy is determined based on the flow of the first packet sent by the first UP device.
CP设备基于第一UP设备发送第一报文的流量,确定第一限速策略。在第一报文的流量较大时,提高对第一报文的限制程度。在第一报文的流量较小时,降低对第一报文的限制程度。在一种可能的实现方式中,利用算法基于传输第一报文的流量确定第一限速策略。The CP device determines the first rate limiting policy based on the traffic of the first packet sent by the first UP device. When the traffic of the first packet is relatively large, the degree of restriction on the first packet is increased. When the traffic of the first packet is small, the degree of restriction on the first packet is reduced. In a possible implementation manner, an algorithm is used to determine the first rate limiting policy based on the traffic of the first packet transmitted.
第三种:权重轮询。The third type: weight polling.
权重轮询是指过载后根据每个UP设备的保障发送时间段确定UP设备的限速策略。在UP设备的保障发送时间段内,针对该UP设备向CP设备发送的报文的限制程度较低。不同的UP设备的保障发送时间段可能不同。如此能够根据保障发送时间段,按批次调整UP设备。Weight polling refers to determining the speed limit strategy of UP devices according to the guaranteed sending time period of each UP device after overloading. During the guaranteed sending time period of the UP device, the degree of restriction on the message sent by the UP device to the CP device is relatively low. The guaranteed sending time periods of different UP devices may be different. In this way, UP devices can be adjusted in batches according to the guaranteed sending time period.
在确定第一UP设备的第一限速策略时,基于第一UP设备的保障发送时间段确定第一限速策略。When determining the first rate limiting policy of the first UP device, the first rate limiting policy is determined based on the guaranteed sending time period of the first UP device.
保障发送时间段为保障第一UP设备发送第一报文的时间段。时间段可以是利用时间窗定时器划分的,不同的UP设备具有对应的保障时间段。如此能够实现不同的UP设备按照批次对报文进行限速处理。The guaranteed sending time period is a time period guaranteed to send the first packet by the first UP device. The time period may be divided by a time window timer, and different UP devices have corresponding guaranteed time periods. In this way, different UP devices can limit the rate of packets in batches.
第一UP设备的保障发送时间段是预先确定的。比如,在第一时间段内按照第一限速速率对第一报文限速,在第二时间段内按照第二限速速率对第一报文限速。其中,第一时间段为第一UP设备的保障发送时间段。第一限速速率大于第二限速速率。The guaranteed sending time period of the first UP device is predetermined. For example, the rate of the first packet is limited according to the first speed limit rate in the first time period, and the rate of the first packet is limited according to the second rate limit rate in the second time period. Wherein, the first time period is a guaranteed sending time period of the first UP device. The first speed limit rate is greater than the second speed limit rate.
第四种:逐次加权。The fourth type: successive weighting.
逐次加权是指随着时间的推移,在不同的时间段根据CP设备的过载情况调整UP设备的限速策略。例如,在CP设备过载后,先提高对UP设备向CP设备发送的报文的限制程度。在后续CP设备的过载缓解后,再降低对UP设备向CP设备发送的报文的限制程度。Gradual weighting refers to adjusting the speed limit strategy of UP devices in different time periods according to the overload of CP devices as time goes by. For example, after the CP device is overloaded, first increase the degree of restriction on the message sent by the UP device to the CP device. After the subsequent overload of the CP device is relieved, the degree of restriction on the message sent by the UP device to the CP device is lowered.
在确定第一UP设备的第一限速策略时,基于时间段确定第一限速策略。When determining the first rate limiting policy of the first UP device, the first rate limiting policy is determined based on a time period.
根据对CP设备过载处理的情况,在不同的时间段确定对应的限速速率。时间段可以是利用时间窗定时器划分的。在一种可能的实现方式中,较早的时间段对应的限速速率较低,较晚的时间段对应的限速速率较高。比如,在第三时间段内按照第三限速速率对所述第一报文限速,在第四时间段内按照第四限速速率对所述第一报文限速。其中,第三时间段早于第四时间段,第三限速速率小于第四限速速率。According to the situation of handling the overload of the CP device, the corresponding speed limit rate is determined in different time periods. The time period may be divided using a time window timer. In a possible implementation, the earlier time period corresponds to a lower speed limit rate, and the later time period corresponds to a higher speed limit rate. For example, limit the speed of the first packet according to the third speed limit rate in the third time period, and limit the speed of the first packet according to the fourth speed limit rate in the fourth time period. Wherein, the third time period is earlier than the fourth time period, and the third speed limit rate is smaller than the fourth speed limit rate.
第五种:默认策略。Fifth: default strategy.
默认策略是指在CP设备过载后,对所有UP设备向CP设备发送的报文进行较为平均地限制。The default policy means that after the CP device is overloaded, the packets sent by all UP devices to the CP device are restricted on an average basis.
在确定第一UP设备的第一限速策略时,基于第一报文的传输速率确定第一限速策略。When determining the first rate limiting strategy of the first UP device, the first rate limiting strategy is determined based on the transmission rate of the first packet.
基于第一报文的传输速率确定第一限速策略包括的第五限速速率。在一种可能的实现方式中,第五限速速率小于第一报文限速之前传输第一报文的传输速率。A fifth rate limiting rate included in the first rate limiting policy is determined based on the transmission rate of the first packet. In a possible implementation manner, the fifth rate limit rate is lower than the transmission rate of the first packet before the first packet rate limit.
在确定第一限速策略后,基于第一限速策略对第一报文进行限速处理。在一种可能的实现方式中,在CP设备确定第一限速策略后,CP设备向第一UP设备发送第一限速策略。 第一UP设备能够基于第一限速策略调整发送第一报文的过程,实现对第一报文的限速处理。在另一种可能的实现方式中,在CP设备确定第一限速策略后,CP设备基于第一限速策略对第一报文进行限速处理。下面对这两种对第一报文进行限速处理的过程分别进行介绍。After the first rate limiting strategy is determined, rate limiting processing is performed on the first packet based on the first rate limiting strategy. In a possible implementation manner, after the CP device determines the first rate limiting policy, the CP device sends the first rate limiting policy to the first UP device. The first UP device can adjust the process of sending the first packet based on the first rate limiting policy, so as to implement rate limiting processing on the first packet. In another possible implementation manner, after the CP device determines the first rate limiting policy, the CP device performs rate limiting processing on the first packet based on the first rate limiting policy. The two processes of performing rate-limiting processing on the first packet are respectively introduced below.
第一种:第一UP设备基于第一限速策略对第一报文限速。The first type: the first UP device limits the rate of the first packet based on the first rate limit policy.
参见图5所示,该图为本申请实施例提供的另一种过载处理方法的流程示意图。本申请实施例提供的过载处理方法包括S501-S505。Referring to FIG. 5 , this figure is a schematic flowchart of another overload processing method provided by the embodiment of the present application. The overload handling method provided in the embodiment of the present application includes S501-S505.
S501:CP设备获取由第一UP设备发送的第一报文。S501: The CP device acquires the first packet sent by the first UP device.
S502:响应于确定CP设备过载,CP设备确定第一UP设备的第一限速策略。S502: In response to determining that the CP device is overloaded, the CP device determines a first rate limiting policy of the first UP device.
需要说明的是,S501-S502与上述S401-S402类似,具体请参见上文描述,在此不再赘述。It should be noted that S501-S502 are similar to the above-mentioned S401-S402, please refer to the above description for details, and details will not be repeated here.
S503:CP设备向第一UP设备发送包括第一限速策略的第二报文。S503: The CP device sends the second packet including the first rate limiting policy to the first UP device.
CP设备能够生成并向第一UP设备发送包括第一限速策略的第二报文。在一种可能的实现方式中,CP设备通过SCi向第一UP设备发送第二报文。The CP device can generate and send the second packet including the first rate limiting policy to the first UP device. In a possible implementation manner, the CP device sends the second packet to the first UP device through the SCi.
第二报文例如为更新连接请求(association update request)。本申请实施例不限定第二报文的具体类型。作为一些示例,下面提供两种第二报文的具体类型。The second message is, for example, an update connection request (association update request). The embodiment of the present application does not limit the specific type of the second packet. As some examples, two specific types of the second message are provided below.
在一种可能的实现方式中,第二报文为包转发控制协议(Packet Forwarding Control Protocol,PFCP)报文。In a possible implementation manner, the second message is a Packet Forwarding Control Protocol (Packet Forwarding Control Protocol, PFCP) message.
参见图6所示,该图为本申请实施例提供的一种PFCP报文扩展格式的示意图。其中,报文重定向接口控制信息(Pri Control information)作为PFCP报文中的扩展的grouped IE。其中,报文重定向接口控制信息信息元素类型(Pri Control information(to-CP)information elements type)字段占第一个字节和第二个字节。长度(length)字段占第三个字节和第四个字节。信息元素(information elements,IE)字段占据后续的字节。Referring to FIG. 6 , the figure is a schematic diagram of a PFCP message extension format provided by the embodiment of the present application. Wherein, the packet redirection interface control information (Pri Control information) is used as an extended grouped IE in the PFCP packet. Among them, the packet redirection interface control information element type (Pri Control information (to-CP) information elements type) field occupies the first byte and the second byte. The length (length) field occupies the third byte and the fourth byte. The information elements (IE) field occupies subsequent bytes.
information elements字段可以为过载度量(Overload Metric)字段、传输数据流的速率限制(rate limit with kbps,RBPS)字段和传输报文的速率限制(rate limit with packets per second,RPKTS)字段。The information elements field may be an overload metric (Overload Metric) field, a rate limit with kbps (RBPS) field for transmitting data streams, and a rate limit with packets per second (RPKTS) field for transmitting packets.
其中,Overload Metric字段的IE类型为度量(Metric)类型。Overload Metric字段的优先级(preferance,P)为可选择携带(optional,O)。Overload Metric字段的数值用于指示CP设备过载的情况。数值表示为百分值,范围为0-100。数值越大,表示CP设备的过载程度越大。数值越小,表示CP设备的过载程度较小。Wherein, the IE type of the Overload Metric field is the Metric type. The priority (preference, P) of the Overload Metric field is optional (optional, O). The value of the Overload Metric field is used to indicate that the CP device is overloaded. Values are expressed as percentiles on a scale of 0-100. The larger the value, the greater the overload of the CP device. The smaller the value, the smaller the overload of the CP device.
RBPS字段的IE类型为RBPS类型。RBPS字段的优先级为必选项(mandatory,M)。RBPS字段携带的数值表示限速速率。RBPS字段携带的数值的单位是kbps,表示每秒传输的以kbp为单位的数据流的流量。RBPS字段指示指示UP设备使用数值表示的限速速率对重定向到通过Pri接口向CP设备发送的报文,也就是向CP设备发送的报文进行速率控制。The IE type of the RBPS field is the RBPS type. The priority of the RBPS field is mandatory (mandatory, M). The value carried in the RBPS field indicates the speed limit rate. The unit of the value carried in the RBPS field is kbps, which indicates the traffic of the data stream transmitted in kbps per second. The RBPS field indicates that the UP device uses the rate-limited rate indicated by the numerical value to perform rate control on the packets redirected to the CP device through the Pri interface, that is, the packets sent to the CP device.
RPKTS字段的IE类型为RPKTS类型。RPKTS字段的优先级为条件的(Conditional,C)。RPKTS字段携带的数值表示限速速率。RPKTS字段携带的数值的单位为packets/1second,表示每秒传输的报文的个数。RPKTS字段指示UP设备使用数值表示的限速速率对重定向到通过Pri接口向CP设备发送的报文进行速率控制。单位是packets/1second,表 示每秒上送报文个数。此外,RPKTS字段还能够携带次information elements字段。次information elements字段携带速率参数,指示利用速率参数进行速率控制。The IE type of the RPKTS field is the RPKTS type. The priority of the RPKTS field is conditional (Conditional, C). The value carried in the RPKTS field indicates the rate limit. The unit of the value carried in the RPKTS field is packets/1second, indicating the number of packets transmitted per second. The RPKTS field instructs the UP device to control the rate of packets redirected to the CP device through the Pri interface using the rate-limited rate indicated by the numerical value. The unit is packets/1second, indicating the number of packets sent per second. In addition, the RPKTS field can also carry the secondary information elements field. The secondary information elements field carries the rate parameter, indicating that rate control is performed using the rate parameter.
第二报文包括报文重定向接口控制信息(Pri Control information)字段。Pri Control information字段携带第一限速策略。The second packet includes a packet redirection interface control information (Pri Control information) field. The Pri Control information field carries the first rate limiting policy.
以第一限速策略包括传输限速速率为例,作为一种示例,参见图7所示,该图为本申请实施例提供的一种Pri Control information字段的格式示意图。其中,类型(type)字段占两个字节。长度(length)字段占两个字节。信息元素(information elements)字段多个字节。信息元素字段携带传输限速速率。m为大于5的正整数。Take the first rate limiting policy including the transmission rate limit rate as an example, as shown in FIG. 7 , which is a schematic diagram of the format of a Pri Control information field provided by the embodiment of the present application. Wherein, the type (type) field occupies two bytes. The length field occupies two bytes. The information elements field is multiple bytes. The information element field carries the transmission rate limit rate. m is a positive integer greater than 5.
具体的,在一种可能的实现方式中,传输限速速率为传输数据流的速率限制(rate limit with kbps,RBPS)。RBPS用于指示每秒传输的以kbp为单位的数据流的流量。参见图8a所示,该图为本申请实施例提供的另一种Pri Control information字段的格式示意图。其中,第一字节和第二字节为type字段,第三字节到第六字节为information elements字段,information elements字段携带RBPS。Specifically, in a possible implementation manner, the transmission rate limit rate is a rate limit with kbps (RBPS) of the transmission data stream. RBPS is used to indicate the flow rate of a data stream in kbps transmitted per second. Refer to FIG. 8a, which is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application. Among them, the first byte and the second byte are the type field, the third byte to the sixth byte are the information elements field, and the information elements field carries the RBPS.
在另一种可能的实现方式中,传输限速速率为传输报文的速率限制(rate limit with packets per second,RPKTS)。RPKTS用于指示每秒传输的报文的个数。参见图8b所示,该图为本申请实施例提供的又一种Pri Control information字段的格式示意图。其中,第一字节和第二字节为type字段,第三字节到第六字节为information elements字段,information elements字段携带RPKTS。In another possible implementation manner, the transmission rate limit rate is a rate limit with packets per second (RPKTS) for transmitting packets. RPKTS is used to indicate the number of packets transmitted per second. Refer to FIG. 8b, which is a schematic diagram of the format of another Pri Control information field provided by the embodiment of the present application. Among them, the first byte and the second byte are the type field, the third byte to the sixth byte are the information elements field, and the information elements field carries RPKTS.
在另一种可能的实现方式中,第二报文为CUSP报文。In another possible implementation manner, the second packet is a CUSP packet.
第二报文包括类型长度值(type length value,TLV)字段。TLV字段携带第一限速策略。参见图9所示,该图为本申请实施例提供的一种第二报文包括的TLV字段的格式示意图。其中,type字段用于表示TLV字段的类型。length字段的值为TLV字段的长度。value字段携带第一限速策略包括的传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。The second packet includes a type length value (type length value, TLV) field. The TLV field carries the first rate limiting policy. Referring to FIG. 9 , the figure is a schematic diagram of a format of a TLV field included in a second packet provided by an embodiment of the present application. Wherein, the type field is used to indicate the type of the TLV field. The value of the length field is the length of the TLV field. The value field carries one or more of the transmission rate limit rate, rate percentage and stop sending time length included in the first rate limit policy.
作为一种示例,业务类型为PPPoE类型,第一限速策略包括传输限速速率。第二报文中携带承诺访问速率(committed access rate,CAR)。CAR用于指示第一报文的传输限速速率。第二报文携带的TLV字段中的type字段取值为CUCTLI_TLV_PADI_SET_CAR,length字段取值为329,value字段为传输限速速率的数值。As an example, the service type is PPPoE type, and the first rate limiting policy includes transmission rate limiting rate. The second packet carries a committed access rate (committed access rate, CAR). The CAR is used to indicate the transmission rate limit of the first packet. The value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_SET_CAR, the value of the length field is 329, and the value field is the numerical value of the transmission rate limit.
第二报文除了包括第一限速策略以外,还能够包括过载信息。过载信息用于指示CP设备的过载程度。以第二报文为PFCP报文为例,PFCP报文包括的information elements字段携带过载信息。具体的,information elements字段包括CP设备过载控制(CP overload control)字段。CP overload control字段的数值为过载参数。过载参数为百分值,取值范围从0-100。过载参数取值越大,说明CP设备的过载程度越高;过载参数取值越小,说明CP设备的过载程度越低。In addition to including the first rate limiting policy, the second packet can also include overload information. The overload information is used to indicate the overload degree of the CP device. Taking the second message as an example of a PFCP message, the information elements field included in the PFCP message carries overload information. Specifically, the information elements field includes a CP device overload control (CP overload control) field. The value of the CP overload control field is an overload parameter. The overload parameter is a percentage value, and the value ranges from 0-100. The larger the value of the overload parameter, the higher the overload degree of the CP device; the smaller the value of the overload parameter, the lower the overload degree of the CP device.
S504:第一UP设备获取CP设备发送的第二报文。S504: The first UP device acquires the second packet sent by the CP device.
S505:第一UP设备基于第一限速策略对第一报文限速。S505: The first UP device limits the rate of the first packet based on the first rate limit policy.
第一UP设备能够从第二报文中获取第一限速策略。第一UP设备基于第一限速策略对第一报文进行限速处理。The first UP device can obtain the first rate limiting policy from the second packet. The first UP device performs rate limit processing on the first packet based on the first rate limit policy.
在一些可能的实现方式中,第一限速策略包括传输限速速率。第一UP设备能够基于传输限速速率配置控制第一报文发送的速率。比如,第一UP设备基于传输限速速率配置用于控制第一报文发送的速率参数,再基于配置后的速率参数发送第一报文。其中,速率参数为队列参数或者CAR参数。In some possible implementation manners, the first rate limiting strategy includes a transmission rate limiting rate. The first UP device can control the rate at which the first packet is sent based on the transmission rate limit rate configuration. For example, the first UP device configures a rate parameter for controlling sending of the first packet based on the transmission rate limit rate, and then sends the first packet based on the configured rate parameter. Wherein, the rate parameter is a queue parameter or a CAR parameter.
第一UP设备利用第一限速策略对向CP设备发送的第一报文进行限速,在UP设备上实现过载处理,减少CP设备需要处理的第一报文的数量。针对第一UP设备或者第一报文确定的第一限速策略,更能与第一报文的传输情况匹配,达到较好的过载控制效果。The first UP device uses the first rate limiting policy to limit the rate of the first message sent to the CP device, implement overload processing on the UP device, and reduce the number of first messages that the CP device needs to process. The first rate limiting strategy determined for the first UP device or the first message can better match the transmission situation of the first message, and achieve a better overload control effect.
在一些可能的实现方式中,在第一UP设备基于第一限速策略对第一报文限速之后,第一UP设备还向CP设备发送第九报文。其中,第九报文包括第一能力信息和第五速率。第九报文例如为更新连接应答(association update response)。其中,第一能力信息指示第一UP设备能够对第一报文限速处理。第五速率为第一UP设备基于第一限速策略对第一报文限速后当前第一UP设备实际传输第一报文的速率。CP设备基于第九报文能够确定第一UP设备基于第一限速策略对第一报文进行限速处理,并且能够基于第五速率确定当前第一UP设备传输第一报文的情况。In some possible implementation manners, after the first UP device limits the rate of the first packet based on the first rate limiting policy, the first UP device further sends the ninth packet to the CP device. Wherein, the ninth packet includes the first capability information and the fifth rate. The ninth message is, for example, an update connection response (association update response). Wherein, the first capability information indicates that the first UP device can process the first packet with rate limit. The fifth rate is the current rate at which the first UP device actually transmits the first packet after the first UP device limits the rate of the first packet based on the first rate limiting policy. The CP device can determine based on the ninth packet that the first UP device performs rate limiting processing on the first packet based on the first rate limiting policy, and can determine the current situation of the first UP device transmitting the first packet based on the fifth rate.
在一些可能的实现方式中,在CP设备向第一UP设备发送第二报文之前,需要预先确定第一UP设备具有对第一报文进行限速处理的功能。CP设备确定第一UP设备是否具有对第一报文限速处理的过程也称为协商过程。本申请实施例不限定发起协商过程的设备。在一种可能的实现方式中,第一UP设备能够主动发起协商。在另一种可能的实现方式中,CP设备主动发起协商。In some possible implementation manners, before the CP device sends the second packet to the first UP device, it needs to be determined in advance that the first UP device has a function of performing rate-limiting processing on the first packet. The process in which the CP device determines whether the first UP device has rate-limit processing for the first packet is also referred to as a negotiation process. The embodiment of this application does not limit the device that initiates the negotiation process. In a possible implementation manner, the first UP device can actively initiate negotiation. In another possible implementation manner, the CP device actively initiates the negotiation.
下面分别对由CP设备和由第一UP设备发起协商的过载处理方法进行介绍。The overload handling methods for negotiation initiated by the CP device and the first UP device are introduced respectively below.
首先对第一UP设备发起协商的过程进行说明。Firstly, the process of initiating negotiation by the first UP device will be described.
参见图10所示,该图为本申请实施例提供的一种CP设备与第一UP设备的协商过程的流程示意图,包括S1001-S1003。Referring to FIG. 10 , this figure is a schematic flowchart of a negotiation process between a CP device and a first UP device according to an embodiment of the present application, including S1001-S1003.
S1001:第一UP设备向CP设备发送第三报文。S1001: The first UP device sends a third packet to the CP device.
第一UP设备基于自身支持对第一报文的能力,生成包括第一能力信息的第三报文。其中,第一能力信息指示第一UP设备能够对第一报文限速。在一种可能的实现方式中,第一能力信息为指示第一UP设备具有对第一报文限速的能力的参数。在另一种可能的实现方式中,第一能力信息为当前第一UP设备传输第一报文的传输速率。The first UP device generates a third packet including the first capability information based on its own ability to support the first packet. Wherein, the first capability information indicates that the first UP device can limit the rate of the first packet. In a possible implementation manner, the first capability information is a parameter indicating that the first UP device has a capability of limiting the rate of the first packet. In another possible implementation manner, the first capability information is a current transmission rate of the first packet transmitted by the first UP device.
第三报文例如为建立连接请求(association setup request)。本申请实施例不限定第三报文的具体类型。作为一种示例,第三报文为PFCP报文。第三报文包括用户面扩展能力项(UP Function Feature)字段。UP Function Feature字段携带第一能力信息。第一能力信息例如携带在UP Function Feature字段包括的CP设备过载控制(CP overload control)字段中。The third message is, for example, a connection establishment request (association setup request). The embodiment of the present application does not limit the specific type of the third packet. As an example, the third message is a PFCP message. The third packet includes a user plane extended capability item (UP Function Feature) field. The UP Function Feature field carries the first capability information. The first capability information is, for example, carried in a CP device overload control (CP overload control) field included in the UP Function Feature field.
作为另一种示例,第三报文为CUSP报文。第三报文包括TLV字段。TLV字段携带第一能力信息。作为一种示例,业务类型为PPPoE类型。第二报文中携带第一UP设备的CAR。第二报文携带的TLV字段中的type字段取值为CUCTLI_TLV_PADI_ACK_CAR_ABLI,length字段取值为60,value字段为当前第一UP设备传输第一报文的传输速率的数值。As another example, the third packet is a CUSP packet. The third packet includes a TLV field. The TLV field carries first capability information. As an example, the service type is PPPoE type. The second packet carries the CAR of the first UP device. The value of the type field in the TLV field carried by the second message is CUCTLI_TLV_PADI_ACK_CAR_ABLI, the value of the length field is 60, and the value field is the value of the transmission rate at which the first UP device transmits the first message.
需要说明的是,本申请实施例不限定触发S1001的条件。在一种可能的实现方式中,响应于第一UP设备在CP设备上成功注册,也就是响应于第一UP设备与CP设备成功连 接,第一UP设备生成并向CP设备发送第三报文。It should be noted that the embodiment of the present application does not limit the conditions for triggering S1001. In a possible implementation, in response to the successful registration of the first UP device on the CP device, that is, in response to the successful connection between the first UP device and the CP device, the first UP device generates and sends a third message to the CP device .
第一UP设备能够通过SCi向CP设备发送第三报文。The first UP device can send the third packet to the CP device through the SCi.
S1002:CP设备获取第三报文。S1002: The CP device acquires the third packet.
CP设备能够通过SCi获取第一UP设备发送的第三报文。The CP device can acquire the third packet sent by the first UP device through the SCi.
S1003:CP设备基于第三报文确定第一UP设备能够对第一报文限速。S1003: The CP device determines based on the third packet that the first UP device can limit the rate of the first packet.
CP设备根据第三报文包括的第一能力信息,能够确定第一UP设备能够对第一报文限速。在确定发生过载时,CP设备能够向第一UP设备发送包括第一限速策略的第二报文。The CP device can determine, according to the first capability information included in the third packet, that the first UP device can limit the rate of the first packet. When it is determined that the overload occurs, the CP device can send the second packet including the first rate limiting policy to the first UP device.
此外,CP设备还能够记录支持向CP设备发送报文限速的UP设备,以便向UP设备发送对应的限速策略。例如,在确定第一UP设备能够对第一报文限速后,CP设备将第一UP设备的设备标识记录在数据库或者管理列表中。In addition, the CP device can also record the UP devices that support the rate limit for sending packets to the CP device, so as to send the corresponding rate limit policy to the UP device. For example, after determining that the first UP device can limit the rate of the first packet, the CP device records the device identifier of the first UP device in the database or management list.
在一种可能的实现方式中,在CP设备确定第一UP设备能够对第一报文限速后,CP设备能够指导第一UP设备传输第一报文的速率。In a possible implementation manner, after the CP device determines that the first UP device can limit the rate of the first packet, the CP device can instruct the first UP device to transmit the first packet at a rate.
参见图11所示,该图为本申请实施例提供的另一种CP设备与第一UP设备的协商过程的流程示意图。除上述S1001-S1003以外,还包括S1004和S1006。Refer to FIG. 11 , which is a schematic flowchart of another negotiation process between a CP device and a first UP device according to an embodiment of the present application. In addition to the above S1001-S1003, S1004 and S1006 are also included.
S1004:CP设备向第一UP设备发送包括第一速率的第四报文。S1004: The CP device sends a fourth packet including the first rate to the first UP device.
第四报文携带的第一速率用于指示第一UP设备基于第一速率向CP设备发送第一报文。第一速率为预先设置的在非过载情况下第一报文的发送速率。作为一种示例,第一速率大于第一限速策略包括的传输限速速率。The first rate carried in the fourth packet is used to instruct the first UP device to send the first packet to the CP device based on the first rate. The first rate is a preset rate at which the first packet is sent under a non-overload condition. As an example, the first rate is greater than the transmission rate limit rate included in the first rate limit policy.
第四报文例如为建立连接应答(association setup response)。作为一种示例,第四报文为PFCP报文。第四报文包括Pri Control information字段。Pri Control information字段携带第一速率。第一速率用于指示第一UP设备基于第一速率向CP设备发送第一报文。作为另一种示例,第四报文为CUSP报文。第四报文包括TLV字段。TLV字段携带第一速率。作为一种示例,业务类型为PPPoE类型。第四报文中携带第一UP设备的CAR。第二报文携带的TLV字段中的type字段取值为CUCTLI_TLV_PADI_GET_CAR_ABLI,length字段取值为60,value字段为第一速率的数值。The fourth message is, for example, an association setup response. As an example, the fourth message is a PFCP message. The fourth packet includes a Pri Control information field. The Pri Control information field carries the first rate. The first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate. As another example, the fourth packet is a CUSP packet. The fourth packet includes a TLV field. The TLV field carries the first rate. As an example, the service type is PPPoE type. The fourth packet carries the CAR of the first UP device. The value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_GET_CAR_ABLI, the value of the length field is 60, and the value field is the value of the first rate.
CP设备能够通过SCi向第一UP设备发送第四报文。The CP device can send the fourth packet to the first UP device through the SCi.
S1005:第一UP设备获取第四报文。S1005: The first UP device obtains the fourth packet.
第一UP设备能够通过SCi接收CP设备发送的第四报文。The first UP device can receive the fourth message sent by the CP device through the SCi.
S1006:第一UP设备基于第一速率调整发送第一报文的速率。S1006: The first UP device adjusts the rate of sending the first packet based on the first rate.
第一UP设备基于第四报文中的第一速率,调整第一报文的发送速率。在一种可能的实现方式中,第一UP设备能够基于第一速率配置速率参数,再基于速率参数调整发送第一报文的速率。其中,速率参数为队列参数或者CAR参数。The first UP device adjusts the sending rate of the first packet based on the first rate in the fourth packet. In a possible implementation manner, the first UP device can configure a rate parameter based on the first rate, and then adjust a rate for sending the first packet based on the rate parameter. Wherein, the rate parameter is a queue parameter or a CAR parameter.
以上为第一UP设备主动发起协商的过程的说明,下面对CP设备主动发起协商的过程进行说明。The above is the description of the process of the first UP device actively initiating the negotiation, and the following describes the process of the CP device actively initiating the negotiation.
参见图12所示,该图为本申请实施例提供的另一种CP设备与第一UP设备的协商过程的流程示意图,包括S1201-S1206。Referring to FIG. 12 , this figure is a schematic flowchart of another negotiation process between the CP device and the first UP device provided in the embodiment of the present application, including S1201-S1206.
S1201:CP设备向第一UP设备发送包括第一速率的第四报文。S1201: The CP device sends a fourth packet including the first rate to the first UP device.
本申请实施例不限定触发S1201的条件。在一种可能的实现方式中,响应于第一UP 设备在CP设备上成功注册,也就是响应于CP设备与第一UP设备成功连接,CP设备生成包括第一速率的第四报文。The embodiment of the present application does not limit the conditions for triggering S1201. In a possible implementation manner, in response to the successful registration of the first UP device on the CP device, that is, in response to the successful connection between the CP device and the first UP device, the CP device generates the fourth message including the first rate.
第四报文携带的第一速率用于指示第一UP设备基于第一速率向CP设备发送第一报文。第一速率为预先设置的在非过载情况下第一报文的发送速率。作为一种示例,第一速率大于第一限速策略包括的传输限速速率。The first rate carried in the fourth packet is used to instruct the first UP device to send the first packet to the CP device based on the first rate. The first rate is a preset rate at which the first packet is sent under a non-overload condition. As an example, the first rate is greater than the transmission rate limit rate included in the first rate limit policy.
需要说明的是,第四报文例如为建立连接请求(association setup request)。作为一种示例,第四报文为PFCP报文。第四报文包括Pri Control information字段。Pri Control information字段携带第一速率。第一速率用于指示第一UP设备基于第一速率向CP设备发送第一报文。作为另一种示例,第四报文为CUSP报文。第四报文包括TLV字段。TLV字段携带第一速率。作为一种示例,业务类型为PPPoE类型。第四报文中携带第一UP设备的CAR。第二报文携带的TLV字段中的type字段取值为CUCTLI_TLV_PADI_GET_CAR_ABLI,length字段取值为60,value字段为第一速率的数值。CP设备能够通过SCi向第一UP设备发送第四报文。It should be noted that, the fourth message is, for example, a connection establishment request (association setup request). As an example, the fourth message is a PFCP message. The fourth packet includes a Pri Control information field. The Pri Control information field carries the first rate. The first rate is used to instruct the first UP device to send the first packet to the CP device based on the first rate. As another example, the fourth packet is a CUSP packet. The fourth packet includes a TLV field. The TLV field carries the first rate. As an example, the service type is PPPoE type. The fourth packet carries the CAR of the first UP device. The value of the type field in the TLV field carried in the second message is CUCTLI_TLV_PADI_GET_CAR_ABLI, the value of the length field is 60, and the value field is the value of the first rate. The CP device can send the fourth packet to the first UP device through the SCi.
S1202:第一UP设备获取第四报文。S1202: The first UP device obtains the fourth packet.
第一UP设备能够通过SCi获取CP设备发送的第四报文。The first UP device can acquire the fourth message sent by the CP device through the SCi.
S1203:第一UP设备基于第一速率调整发送第一报文的速率。S1203: The first UP device adjusts the rate of sending the first packet based on the first rate.
第一UP设备具有调整第一报文的发送速率的功能。第一UP设备基于第四报文中的第一速率,调整第一报文的发送速率。在一种可能的实现方式中,第一UP设备能够基于第一速率配置速率参数,再基于速率参数调整发送第一报文的速率。其中,速率参数为队列参数或者CAR参数。The first UP device has the function of adjusting the sending rate of the first packet. The first UP device adjusts the sending rate of the first packet based on the first rate in the fourth packet. In a possible implementation manner, the first UP device can configure a rate parameter based on the first rate, and then adjust a rate for sending the first packet based on the rate parameter. Wherein, the rate parameter is a queue parameter or a CAR parameter.
S1204:第一UP设备向CP设备发送第三报文。S1204: The first UP device sends a third packet to the CP device.
第一UP设备生成包括第一能力信息的第三报文。其中,第一能力信息指示第一UP设备能够对第一报文限速。在一种可能的实现方式中,第一能力信息为指示第一UP设备具有对第一报文限速的能力的参数。在另一种可能的实现方式中,第一能力信息为当前第一UP设备传输第一报文的传输速率。需要说明的是,当前第一UP设备传输第一报文的传输速率是第一UP设备基于第一速率传输第一报文的实际传输速率。The first UP device generates a third packet including the first capability information. Wherein, the first capability information indicates that the first UP device can limit the rate of the first packet. In a possible implementation manner, the first capability information is a parameter indicating that the first UP device has a capability of limiting the rate of the first packet. In another possible implementation manner, the first capability information is a current transmission rate of the first packet transmitted by the first UP device. It should be noted that the current transmission rate at which the first UP device transmits the first packet is an actual transmission rate at which the first UP device transmits the first packet based on the first rate.
在一些可能的实现方式中,第三报文例如为建立连接应答(association setup response)。本申请实施例不限定第三报文的具体类型。作为一种示例,第三报文为PFCP报文。第三报文包括用户面扩展能力项(UP Function Feature)字段。UP Function Feature字段携带第一能力信息。作为另一种示例,第三报文为CUSP报文。第三报文包括TLV字段。TLV字段携带第一能力信息。In some possible implementation manners, the third packet is, for example, an association setup response (association setup response). The embodiment of the present application does not limit the specific type of the third packet. As an example, the third message is a PFCP message. The third packet includes a user plane extended capability item (UP Function Feature) field. The UP Function Feature field carries the first capability information. As another example, the third packet is a CUSP packet. The third packet includes a TLV field. The TLV field carries first capability information.
S1205:CP设备获取第三报文。S1205: The CP device obtains the third packet.
CP设备能够通过SCi获取第一UP设备发送的第三报文。The CP device can acquire the third packet sent by the first UP device through the SCi.
S1206:CP设备基于第三报文确定第一UP设备能够对第一报文限速。S1206: The CP device determines based on the third packet that the first UP device can limit the rate of the first packet.
CP设备根据第三报文包括的第一能力信息,能够确定第一UP设备能够对第一报文限速。在确定发生过载时,CP设备能够向第一UP设备发送包括第一限速策略的第二报文。The CP device can determine, according to the first capability information included in the third packet, that the first UP device can limit the rate of the first packet. When it is determined that the overload occurs, the CP device can send the second packet including the first rate limiting policy to the first UP device.
此外,CP设备还能够记录支持向CP设备发送报文限速的UP设备,以便向UP设备发送对应的限速策略。例如,在确定第一UP设备能够对第一报文限速后,CP设备将第一 UP设备的设备标识记录在数据库或者管理列表中。In addition, the CP device can also record the UP devices that support the rate limit for sending packets to the CP device, so as to send the corresponding rate limit policy to the UP device. For example, after determining that the first UP device can limit the rate of the first packet, the CP device records the device identifier of the first UP device in the database or management list.
经过过载处理,CP设备的过载情况可能被消除,也就是说CP设备恢复正常运行。对应的,需要对第一报文的传输过程进行调整,使得第一报文的传输过程与CP设备的运行状态匹配。After overload processing, the overload situation of the CP device may be eliminated, that is to say, the CP device resumes normal operation. Correspondingly, the transmission process of the first message needs to be adjusted so that the transmission process of the first message matches the running state of the CP device.
进一步的,上述过载处理方法还包括以下步骤:Further, the above overload processing method also includes the following steps:
A1:响应于满足过载恢复条件,CP设备向所述第一UP设备发送包括第二速率的第五报文。A1: In response to satisfying the overload recovery condition, the CP device sends a fifth packet including the second rate to the first UP device.
过载恢复条件是确定CP设备从过载的状态变化为正常的判断条件。作为一种示例,过载恢复条件包括确定CP设备未过载和到达预设恢复时间中的一个或者多个。The overload recovery condition is a judgment condition for determining that the CP device changes from an overloaded state to a normal one. As an example, the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
其中,CP设备未过载能够基于CP设备的运行情况判断。在一种可能的实现方式中,获取CP设备的资源利用率。在CP设备的资源利用率低于第一阈值时,确定CP设备未过载。其中,资源利用率,例如为内存利用率,又或者例如为CPU利用率。在另一种可能的实现方式中,获取CP设备处理时延。在CP设备处理时延低于第二阈值时,确定CP设备未过载。其中,CP设备处理时延是CP设备处理业务的时延。CP设备处理时延,比如为用户认证超时时长,又比如为CP设备系统处理第一报文的时延。在又一种可能的实现方式中,基于CP设备的资源利用率和CP设备处理时延综合判断CP设备是否过载。在CP设备的资源利用率低于第一阈值以及CP设备的处理时延低于第二阈值时,确定CP设备未过载。The fact that the CP device is not overloaded can be judged based on the running status of the CP device. In a possible implementation manner, the resource utilization rate of the CP device is acquired. When the resource utilization rate of the CP device is lower than the first threshold, it is determined that the CP device is not overloaded. Wherein, the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate. In another possible implementation manner, the processing delay of the CP device is obtained. When the processing delay of the CP device is lower than the second threshold, it is determined that the CP device is not overloaded. Wherein, the CP device processing delay is the service processing delay of the CP device. The processing delay of the CP device, such as the user authentication timeout period, or the delay of processing the first packet for the CP device system. In yet another possible implementation manner, whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device is lower than the first threshold and the processing delay of the CP device is lower than the second threshold, it is determined that the CP device is not overloaded.
预设恢复时间为预先设置的CP设备恢复正常运行的时间。预设恢复时间能够基于CP设备的运行状态或者CP设备的过载处理方式确定。The preset recovery time is the preset time for the CP device to resume normal operation. The preset recovery time can be determined based on the running state of the CP device or the overload handling method of the CP device.
在确定满足过载恢复条件后,CP设备需要对第一报文的传输速率进行调整。CP设备向第一UP设备发送包括第二速率的第五报文。其中,第二速率用于指示第一UP设备基于第二速率向CP设备发送第一报文。第二速率可以是预先设置的CP设备在未过载的情况下,第一UP设备向CP设备发送第一报文的速率。在一些可能的实现方式中,第二速率大于第一速率。After determining that the overload recovery condition is satisfied, the CP device needs to adjust the transmission rate of the first packet. The CP device sends the fifth packet including the second rate to the first UP device. Wherein, the second rate is used to instruct the first UP device to send the first packet to the CP device based on the second rate. The second rate may be a preset rate at which the first UP device sends the first message to the CP device when the CP device is not overloaded. In some possible implementations, the second rate is greater than the first rate.
CP设备能够通过SCi向第一UP设备发送第五报文。第五报文例如为更新连接请求(association update request)。本申请实施例不限定第五报文的具体类型。作为一种示例,第五报文为PFCP报文。第五报文包括Pri Control information字段。Pri Control information字段携带第二速率。作为另一种示例,第五报文为CUSP报文。第五报文包括TLV字段。TLV字段携带第二速率。The CP device can send the fifth packet to the first UP device through the SCi. The fifth message is, for example, an update connection request (association update request). The embodiment of the present application does not limit the specific type of the fifth packet. As an example, the fifth message is a PFCP message. The fifth packet includes a Pri Control information field. The Pri Control information field carries the second rate. As another example, the fifth packet is a CUSP packet. The fifth packet includes a TLV field. The TLV field carries the second rate.
A2:第一UP设备获取由CP设备发送的包括第二速率的第五报文。A2: The first UP device obtains the fifth packet including the second rate sent by the CP device.
A3:第一UP设备基于第二速率向CP设备发送第一报文。A3: The first UP device sends the first packet to the CP device based on the second rate.
第一UP设备能够基于第五报文包括的第二速率调整第一报文的发送速率。在一种可能的实现方式中,第一UP设备能够基于第二速率配置速率参数,再基于速率参数调整发送第一报文的速率。其中,速率参数为队列参数或者CAR参数。The first UP device can adjust the sending rate of the first packet based on the second rate included in the fifth packet. In a possible implementation manner, the first UP device can configure a rate parameter based on the second rate, and then adjust the rate at which the first packet is sent based on the rate parameter. Wherein, the rate parameter is a queue parameter or a CAR parameter.
此外,第一UP设备在基于第五报文包括的第二速率调整第一报文的发送速率之后,还能够向CP设备发送更新连接应答。更新连接应答包括第一能力信息。其中,第一能力信息指示第一UP设备能够对第一报文限速处理。CP设备基于第九报文能够确定更新连接 应答能够确定第一UP设备有能力基于第二速率调整第一报文的发送速率。下面结合具体场景对本申请实施例提供的一种过载处理方法进行说明。参见图13所示,该图为本申请实施例提供的一种CU分离系统的结构示意图。其中,用户侧的家庭网关RGW通过OLT与第一UP设备连接。第一UP设备通过DC-网关设备与CP设备连接。CP设备与认证服务器连接。第一UP设备通过CR与网络连接。在本申请实施例中,由第一UP设备基于第一限速策略对第一报文限速。CP设备包括过载采样模块、CP过载控制模块以及策略模块。第一UP设备包括UP过载控制模块以及PRi速率控制模块。CP设备利用过载采样模块实现对过载的判断,利用策略模块确定第一UP设备的第一限速策略,利用CP过载控制模块向第一UP设备的UP过载控制模块下发第一限速策略。第一UP设备的UP过载控制模块用于接收第一限速策略,并基于第一限速策略配置PRi速率控制模块。PRi速率控制模块用于对第一报文实现限速处理。In addition, after the first UP device adjusts the sending rate of the first message based on the second rate included in the fifth message, it can also send a connection update response to the CP device. The update connection reply includes first capability information. Wherein, the first capability information indicates that the first UP device can process the first packet with rate limit. The CP device can determine based on the ninth message that the update connection response can determine that the first UP device has the ability to adjust the sending rate of the first message based on the second rate. An overload handling method provided in the embodiment of the present application will be described below in combination with specific scenarios. Referring to FIG. 13 , this figure is a schematic structural diagram of a CU separation system provided by an embodiment of the present application. Wherein, the home gateway RGW on the user side is connected to the first UP device through the OLT. The first UP device is connected to the CP device through the DC-gateway device. The CP device is connected to the authentication server. The first UP device is connected to the network through the CR. In this embodiment of the present application, the first UP device limits the rate of the first packet based on the first rate limit policy. The CP device includes an overload sampling module, a CP overload control module and a strategy module. The first UP device includes a UP overload control module and a PRi rate control module. The CP device uses the overload sampling module to realize overload judgment, uses the strategy module to determine the first speed limit strategy of the first UP device, and uses the CP overload control module to issue the first speed limit strategy to the UP overload control module of the first UP device. The UP overload control module of the first UP device is configured to receive the first rate limiting strategy, and configure the PRi rate control module based on the first rate limiting strategy. The PRi rate control module is configured to implement rate limit processing on the first packet.
参见图14所示,该图为本申请实施例提供的一种过载处理的流程示意图。其中,CP设备包括过载采样模块1401、CP过载控制模块1402以及策略模块1403。第一UP设备包括UP过载控制模块1404以及PRi速率控制模块1405。Referring to FIG. 14 , the figure is a schematic flowchart of an overload processing provided by an embodiment of the present application. Wherein, the CP device includes an overload sampling module 1401 , a CP overload control module 1402 and a policy module 1403 . The first UP device includes a UP overload control module 1404 and a PRi rate control module 1405 .
其中,过载采样模块1401用于判断CP设备是否过载。在一种可能的实现方式中,过载采样模块1401获取CP设备的资源利用率。在CP设备的资源利用率超过第一阈值时,过载采样模块1401确定CP设备过载。在CP设备的资源利用率超过第一阈值时,过载采样模块1401确定CP设备未过载。其中,资源利用率,例如为内存利用率,又或者例如为CPU利用率。在另一种可能的实现方式中,过载采样模块1401获取CP设备处理时延。CP设备处理时延超过第二阈值时,过载采样模块1401确定CP设备过载。CP设备处理时延未超过第二阈值时,过载采样模块1401确定CP设备未过载。其中,CP设备处理时延是CP设备处理业务的时延。CP设备处理时延,比如为用户认证超时时长,又比如为CP设备系统处理第一报文的时延。在又一种可能的实现方式中,基于CP设备的资源利用率和CP设备处理时延综合判断CP设备是否过载。在CP设备的资源利用率超过第一阈值以及CP设备的处理时延超过第二阈值时,确定CP设备过载。Wherein, the overload sampling module 1401 is used to judge whether the CP device is overloaded. In a possible implementation manner, the overload sampling module 1401 acquires the resource utilization rate of the CP device. When the resource utilization rate of the CP device exceeds the first threshold, the overload sampling module 1401 determines that the CP device is overloaded. When the resource utilization rate of the CP device exceeds the first threshold, the overload sampling module 1401 determines that the CP device is not overloaded. Wherein, the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate. In another possible implementation manner, the overload sampling module 1401 obtains the processing delay of the CP device. When the processing delay of the CP device exceeds the second threshold, the overload sampling module 1401 determines that the CP device is overloaded. When the processing delay of the CP device does not exceed the second threshold, the overload sampling module 1401 determines that the CP device is not overloaded. Wherein, the CP device processing delay is the service processing delay of the CP device. The processing delay of the CP device, such as the user authentication timeout period, or the delay of processing the first packet for the CP device system. In yet another possible implementation manner, whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
响应于确定CP设备过载,过载采样模块1401通知CP过载控制模块1402。作为一种示例,过载采样模块1401向CP过载控制模块1402发送携带过载状态的消息。过载状态包括过载和未过载两种状态。在确定CP设备过载的情况下,过载采样模块1401向CP过载控制模块1402发送过载状态为过载的消息。In response to determining that the CP device is overloaded, the overload sampling module 1401 notifies the CP overload control module 1402 . As an example, the overload sampling module 1401 sends a message carrying an overload status to the CP overload control module 1402 . The overload state includes two states: overload and non-overload. When it is determined that the CP device is overloaded, the overload sampling module 1401 sends a message that the overload status is overload to the CP overload control module 1402 .
CP过载控制模块1402在接收到过载采样模块1401下发的通知后,基于策略模块1403确定第一UP设备的第一限速策略。作为一种示例,CP过载控制模块1402向策略模块1403发送参数请求。参数请求中携带第一UP设备的相关信息。After receiving the notification sent by the overload sampling module 1401, the CP overload control module 1402 determines the first rate limiting strategy of the first UP device based on the policy module 1403. As an example, the CP overload control module 1402 sends a parameter request to the policy module 1403 . The parameter request carries relevant information of the first UP device.
策略模块1403基于获取的参数请求,确定第一UP设备的第一限速策略。本申请实施例不限定策略模块1403确定第一UP设备的第一限速策略的具体实现方式。在一些可能的实现方式中,策略模块1403能够采用上述五种确定限速策略的方式确定第一限速策略。相关内容请参见上文,在此不再赘述。策略模块1403向CP过载控制模块1402发送UP设备限速列表。UP设备限速列表包括向CP设备发送用户接入报文的各个UP设备的限速策略。UP设备限速列表包括第一UP设备的第一限速策略。The policy module 1403 determines the first rate limiting policy of the first UP device based on the obtained parameter request. The embodiment of the present application does not limit the specific implementation manner in which the policy module 1403 determines the first rate limiting policy of the first UP device. In some possible implementation manners, the policy module 1403 can determine the first speed limit policy in the above five manners for determining the speed limit policy. Please refer to the above for relevant content, and will not repeat them here. The policy module 1403 sends the UP device rate limit list to the CP overload control module 1402 . The UP device rate limit list includes rate limit policies of each UP device that sends user access packets to the CP device. The UP device rate limit list includes the first rate limit policy of the first UP device.
CP过载控制模块1402在确定第一UP设备的第一限速策略后,通过与第一UP设备连接的SCi接口向第一UP设备发送第一限速策略。After determining the first rate limiting strategy of the first UP device, the CP overload control module 1402 sends the first rate limiting strategy to the first UP device through the SCi interface connected to the first UP device.
第一UP设备的UP过载控制模块1404用于接收CP设备下发的第一限速速率。UP过载控制模块1404基于第一限速速率配置PRi速率控制模块1405。The UP overload control module 1404 of the first UP device is configured to receive the first rate limit delivered by the CP device. The UP overload control module 1404 configures the PRi rate control module 1405 based on the first rate limiting rate.
PRi速率控制模块1405根据第一限速策略,在第一UP设备与CP设备连接的PRi接口上实现限速处理。比如,将向CP设备发送的第一报文基于第一限速策略进行丢弃。The PRi rate control module 1405 implements rate limit processing on the PRi interface connecting the first UP device and the CP device according to the first rate limit policy. For example, the first packet sent to the CP device is discarded based on the first rate limiting policy.
此外,CP过载控制模块1402和UP过载控制模块1404还用于实现CP设备与第一UP设备的协商。在一种可能的实现方式中,由CP设备主动发起协商。CP过载控制模块1402向UP过载控制模块1404发送第四报文。UP过载控制模块1404基于第四报文向CP过载控制模块1402发送携带第一能力信息的第三报文。CP过载控制模块1402根据第三报文确定第一UP设备能够对第一报文进行限速。在另一种可能的实现方式中,由第一UP设备主动发起协商。UP过载控制模块1404向CP过载控制模块1402发送携带第一能力信息的第三报文。CP过载控制模块1402基于第一能力信息确定第一UP设备能够对第一报文进行限速。CP过载控制模块1402还能向UP过载控制模块1404发送第四报文。第四报文携带第一速率。第一速率用于指导第一UP设备发送第一报文。In addition, the CP overload control module 1402 and the UP overload control module 1404 are also used to implement the negotiation between the CP device and the first UP device. In a possible implementation manner, the CP device actively initiates the negotiation. The CP overload control module 1402 sends the fourth message to the UP overload control module 1404 . The UP overload control module 1404 sends a third packet carrying the first capability information to the CP overload control module 1402 based on the fourth packet. The CP overload control module 1402 determines according to the third packet that the first UP device can limit the rate of the first packet. In another possible implementation manner, the first UP device actively initiates the negotiation. The UP overload control module 1404 sends the third packet carrying the first capability information to the CP overload control module 1402 . The CP overload control module 1402 determines based on the first capability information that the first UP device can limit the rate of the first packet. The CP overload control module 1402 can also send the fourth message to the UP overload control module 1404 . The fourth packet carries the first rate. The first rate is used to guide the first UP device to send the first packet.
需要说明的是,过载采样模块1401、CP过载控制模块1402、策略模块1403、UP过载控制模块1404以及PRi速率控制模块1405的具体执行过程请参考上述实施例中相应步骤的详细描述,在此不再一一赘述It should be noted that, for the specific execution process of the overload sampling module 1401, the CP overload control module 1402, the policy module 1403, the UP overload control module 1404, and the PRi rate control module 1405, please refer to the detailed description of the corresponding steps in the above-mentioned embodiments. Repeat it one by one
以上为第一UP设备基于第一限速策略调整发送第一报文的过程。下面对CP设备基于第一限速策略对第一报文进行限速处理进行说明。The above is the process in which the first UP device adjusts and sends the first packet based on the first rate limiting policy. The following describes how the CP device performs rate limiting processing on the first packet based on the first rate limiting policy.
第二种:CP设备基于第一限速策略对第一报文限速。The second type: the CP device limits the rate of the first packet based on the first rate limit policy.
参见图15所示,该图为本申请实施例提供的又一种过载处理方法的流程示意图。本申请实施例提供的过载处理方法包括S1501-S1503。Referring to FIG. 15 , this figure is a schematic flowchart of another overload processing method provided by the embodiment of the present application. The overload handling method provided in this embodiment of the application includes S1501-S1503.
S1501:CP设备获取由第一UP设备发送的第一报文。S1501: The CP device obtains the first packet sent by the first UP device.
S1502:响应于确定CP设备过载,CP设备确定第一UP设备的第一限速策略。S1502: In response to determining that the CP device is overloaded, the CP device determines a first rate limiting policy of the first UP device.
需要说明的是,S1501-S1502与上述S401-S402类似,具体请参见上文描述,在此不再赘述。It should be noted that S1501-S1502 are similar to the above-mentioned S401-S402, please refer to the above description for details, and details will not be repeated here.
S1503:CP设备基于第一限速策略对第一报文限速。S1503: The CP device limits the rate of the first packet based on the first rate limit policy.
CP设备基于确定的第一UP设备的第一限速策略,对获取的第一报文进行限速处理。本申请实施例不限定CP设备基于第一限速策略对第一报文限速的具体实现方式。作为一种示例,第一限速策略包括传输限速速率。CP设备基于传输限速速率,仅获取传输限速速率限制内的第一报文,将超出传输限速速率的第一报文丢弃。作为另一种示例,第一限速策略包括停止发送时间长度,CP设备将停止发送时间长度内获取的第一报文丢弃。The CP device performs rate limiting processing on the acquired first packet based on the determined first rate limiting policy of the first UP device. The embodiment of the present application does not limit the specific implementation manner of the CP device limiting the rate of the first packet based on the first rate limiting policy. As an example, the first rate limiting policy includes a transmission rate limiting rate. Based on the transmission rate limit, the CP device only acquires the first packet within the transmission rate limit, and discards the first packet exceeding the transmission rate limit. As another example, the first rate limiting policy includes a length of time for stopping sending, and the CP device discards the first packet acquired within the time length of stopping sending.
在一些可能的实现方式中,CP设备在基于第一限速策略对第一报文限速之前,确定第一UP设备不支持对第一报文限速。In some possible implementation manners, before limiting the rate of the first packet based on the first rate limiting policy, the CP device determines that the first UP device does not support rate limiting of the first packet.
作为一种示例,CP设备基于第一UP设备的配置参数确定第一UP设备不能调整第一报文的发送速率。As an example, the CP device determines based on the configuration parameters of the first UP device that the first UP device cannot adjust the sending rate of the first packet.
作为另一种示例,CP设备与第一UP设备协商,基于协商的过程确定第一UP设备不 具有对第一报文限速的功能。具体的,CP设备向第一UP设备发送包括的第三速率的第六报文。其中,第三速率用于指示第一UP设备基于第三速率向CP设备发送第一报文。第六报文用于实现CP设备与第一UP设备进行协商。未具有调整第一报文发送速率的第一UP设备,在获取到第六报文后,无法基于第三速率调整第一报文的发送速率。在一种可能的实现方式中,第一UP设备向CP设备发送包括第二能力信息的第七报文。第二能力信息指示第一UP设备不支持对第一报文限速。CP设备在获取到第七报文后,基于第二能力信息能够确定第一UP设备不支持对第一报文限速。在另一种可能的实现方式中,未具有调整第一报文发送速率的功能的第一UP设备无法与CP设备进行协商。对应的,CP设备在发送第六报文后,在预设时间内未获取第一UP设备发送的反馈报文,确定第一UP设备不具有调整第一报文的发送速率的功能。作为一种示例,CP设备在发送第六报文后,若在反馈时间内未获取第一UP设备发送的反馈报文,向第一UP设备重新发送第六报文。若CP设备发送第六报文的次数达到阈值,则CP设备确定第一UP设备不具有调整第一报文的发送速率的功能。其中,CP设备能够通过SCi向第一UP设备发送第六报文。作为一种示例,第六报文为PFCP报文。第六报文包括Pri Control information字段。Pri Control information字段携带第三速率。作为另一种示例,第六报文为CUSP报文。第六报文包括TLV字段。TLV字段携带第三速率。As another example, the CP device negotiates with the first UP device, and determines based on the negotiation process that the first UP device does not have the function of limiting the rate of the first packet. Specifically, the CP device sends the sixth packet including the third rate to the first UP device. Wherein, the third rate is used to instruct the first UP device to send the first packet to the CP device based on the third rate. The sixth message is used to implement negotiation between the CP device and the first UP device. The first UP device that does not have the ability to adjust the sending rate of the first packet cannot adjust the sending rate of the first packet based on the third rate after obtaining the sixth packet. In a possible implementation manner, the first UP device sends the seventh packet including the second capability information to the CP device. The second capability information indicates that the first UP device does not support rate limiting for the first packet. After acquiring the seventh packet, the CP device can determine based on the second capability information that the first UP device does not support rate limiting for the first packet. In another possible implementation manner, the first UP device that does not have the function of adjusting the sending rate of the first packet cannot negotiate with the CP device. Correspondingly, after the CP device sends the sixth message, it does not obtain the feedback message sent by the first UP device within a preset time, and determines that the first UP device does not have the function of adjusting the sending rate of the first message. As an example, after sending the sixth packet, if the CP device does not obtain the feedback packet sent by the first UP device within the feedback time, it resends the sixth packet to the first UP device. If the number of times the CP device sends the sixth packet reaches the threshold, the CP device determines that the first UP device does not have the function of adjusting the sending rate of the first packet. Wherein, the CP device can send the sixth message to the first UP device through the SCi. As an example, the sixth message is a PFCP message. The sixth packet includes a Pri Control information field. The Pri Control information field carries the third rate. As another example, the sixth packet is a CUSP packet. The sixth packet includes a TLV field. The TLV field carries the third rate.
在当CP设备未过载时,CP设备基于第四速率处理第一报文。第四速率为CP设备未过载时获取第一报文的速率。在一些可能的实现方式中,第四速率为预先设置的。在另一些可能的实现方式中,第四速率是基于CP设备的运行情况确定的。作为一种示例,第四速率大于第一速率。When the CP device is not overloaded, the CP device processes the first packet based on the fourth rate. The fourth rate is the rate at which the CP device obtains the first packet when it is not overloaded. In some possible implementation manners, the fourth rate is preset. In some other possible implementation manners, the fourth rate is determined based on the running condition of the CP device. As an example, the fourth rate is greater than the first rate.
需要说明的是,CP设备能够管理至少两个UP设备。在一种可能的实现方式中,CP设备管理的至少两个UP设备除第一UP设备外,还包括第二UP设备。CP设备在过载时,除了确定第一UP设备对应的限速策略以外,还确定第二UP设备对应的限速策略。It should be noted that the CP device can manage at least two UP devices. In a possible implementation manner, the at least two UP devices managed by the CP device include a second UP device in addition to the first UP device. When the CP device is overloaded, in addition to determining the rate limiting policy corresponding to the first UP device, it also determines the rate limiting policy corresponding to the second UP device.
具体的,除上述步骤以外,本申请实施例提供的一种过载处理方法还包括以下步骤:Specifically, in addition to the above steps, an overload handling method provided in the embodiment of the present application further includes the following steps:
B1:CP设备获取由所述第二UP设备发送的第八报文。B1: The CP device obtains the eighth packet sent by the second UP device.
CP设备和第二UP设备为属于同一个为用户提供宽带网络接入服务的系统。作为一种示例,CP设备和第二UP设备属于同一个vBRAS。The CP device and the second UP device belong to the same system that provides users with broadband network access services. As an example, the CP device and the second UP device belong to the same vBRAS.
第八报文是由第二UP设备提供宽带网络接入服务的终端设备生成的。以上述图3为例,第一UP设备为UP设备303,第二UP设备为UP设备304。UP设备304用于为终端设备302上登录的用户提供宽带网络接入服务。终端设备302基于登录的用户的信息,生成用于接入宽带网络的第八报文,并向UP设备304发送第八报文。UP设备304在获取到第八报文后,对第八报文进行重定向处理,向CP设备305发送第八报文。The eighth message is generated by the terminal device that the second UP device provides broadband network access service. Taking the above-mentioned FIG. 3 as an example, the first UP device is the UP device 303 , and the second UP device is the UP device 304 . The UP device 304 is used to provide broadband network access services for users logged in on the terminal device 302 . The terminal device 302 generates an eighth message for accessing the broadband network based on the information of the logged-in user, and sends the eighth message to the UP device 304 . After obtaining the eighth packet, the UP device 304 performs redirection processing on the eighth packet, and sends the eighth packet to the CP device 305 .
CP设备和第二UP设备之间通过三种接口连接,三种接口分别是Mi、PRi和SCi。Mi、PRi和SCi的功能与上述CP设备与第一UP设备之间的Mi、PRi和SCi的功能类似,具体请参见上文描述,在此不再赘述。The CP device and the second UP device are connected through three interfaces, and the three interfaces are respectively Mi, PRi and SCi. The functions of Mi, PRi, and SCi are similar to the functions of Mi, PRi, and SCi between the CP device and the first UP device. For details, please refer to the above description, and details will not be repeated here.
第八报文用于实现用户接入宽带网络。第八报文为拨号报文或者为用户接入报文。第八报文的具体类型与业务类型相关。作为一种示例,业务类型为IPOE类型或者DHCP类型。第八报文为DHCP发现(discover)报文、DHCPv6请求(solicit)报文、IPv6数据包 以及IPv4数据包中的一种。作为另一种示例,业务类型为PPPoE类型。第一报文为PADI。The eighth message is used to enable the user to access the broadband network. The eighth packet is a dial-up packet or a user access packet. The specific type of the eighth message is related to the service type. As an example, the service type is IPOE type or DHCP type. The eighth packet is one of a DHCP discovery (discover) packet, a DHCPv6 request (solicit) packet, an IPv6 data packet, and an IPv4 data packet. As another example, the service type is PPPoE type. The first message is PADI.
B2:响应于确定所述CP设备过载,CP设备确定第二UP设备的用于对第八报文限速的第二限速策略。B2: In response to determining that the CP device is overloaded, the CP device determines a second rate limiting policy of the second UP device for limiting the rate of the eighth packet.
CP设备过载是指CP设备运行超过标准负荷的状态。CP设备过载能够基于CP设备的运行情况判断,具体判断方法请参见上文描述。CP device overload refers to the state that the CP device operates beyond the standard load. The CP device overload can be judged based on the running status of the CP device. For details, see the description above.
响应于CP设备过载,CP设备确定第二UP设备的第二限速策略。第二限速策略是针对第八报文限速的限速策略。根据第二限速策略,能够基于第八报文的传输情况或者基于第二UP设备的运行情况针对第八报文进行较为准确地限速处理,进而减少CP设备需要处理的报文,缓解CP设备的过载情况。如此针对第八报文进行限速处理,缓解CP设备过载的效果较好。In response to the overload of the CP device, the CP device determines the second rate limiting policy of the second UP device. The second rate limiting strategy is a rate limiting strategy for rate limiting of the eighth packet. According to the second rate limiting strategy, the eighth message can be processed more accurately based on the transmission status of the eighth message or based on the operation status of the second UP device, thereby reducing the number of messages that the CP device needs to process and alleviating the CP Equipment overload conditions. In this way, the speed limit processing is performed on the eighth packet, and the effect of alleviating the overload of the CP device is better.
作为一种示例,第二限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。其中,传输限速速率为第二UP设备传输第一报文的限速速率。速率百分比为第二UP设备限速后传输第八报文的速率占限速前第二UP设备传输第八报文的速率的百分比。停止发送时间长度为第二UP设备停止发送第八报文的时间长度。As an example, the second rate limiting strategy includes one or more of a transmission rate limit rate, a rate percentage, and a time length for stopping sending. Wherein, the transmission rate limit rate is the rate limit rate at which the second UP device transmits the first packet. The rate percentage is the percentage of the eighth packet transmission rate of the second UP device after the rate limitation to the eighth packet transmission rate of the second UP device before the rate limitation. The time length for stopping sending is the time length during which the second UP device stops sending the eighth packet.
本申请实施例不限定确定第二限速策略的具体实现方式。比如,基于第二UP设备的优先级确定第二限速策略,或者基于第八报文的流量确定第二限速策略,或者基于保障发送时间段确定第二限速策略,或者基于时间段确定第二限速策略,或者基于第八报文的传输速率确定第二限速策略。The embodiment of the present application does not limit the specific implementation manner of determining the second speed limit strategy. For example, the second rate-limiting policy is determined based on the priority of the second UP device, or the second rate-limiting policy is determined based on the flow of the eighth packet, or the second rate-limiting policy is determined based on the guaranteed sending time period, or determined based on the time period The second rate limiting strategy, or determine the second rate limiting strategy based on the transmission rate of the eighth packet.
作为一种示例,第一限速策略包括第六限速策略。第一限速策略用于指示按照第六限速速率对第一报文进行限速处理。第二限速策略包括第七限速策略。第二限速策略用于指示按照第七限速速率对第八报文进行限速处理。As an example, the first speed limiting strategy includes a sixth speed limiting strategy. The first rate-limiting policy is used to indicate that the first packet is subjected to rate-limiting processing according to the sixth rate-limiting rate. The second speed limiting strategy includes a seventh speed limiting strategy. The second rate limiting policy is used to instruct to perform rate limiting processing on the eighth packet according to the seventh rate limiting rate.
在一种可能的实现方式中,利用UP设备的优先级确定限速策略。UP设备的优先级越高,限速策略包括的限速速率越高。比如,第一UP设备的优先级高于第二UP设备的优先级。对应的,第六限速速率大于第七限速速率。In a possible implementation manner, the priority of the UP device is used to determine the rate limiting policy. The higher the priority of the UP device, the higher the rate limit included in the rate limit policy. For example, the priority of the first UP device is higher than the priority of the second UP device. Correspondingly, the sixth speed limit rate is greater than the seventh speed limit rate.
在另一种可能的实现方式中,基于报文的流量确定限速策略。UP设备传输的报文的流量越大,限速策略对报文传输的限制越大。比如,第一UP设备传输的第一报文的流量大于第二UP设备传输的第二报文的流量。对应的,第六限速速率与对第一报文限速之前的传输速率的差值,大于第七限速速率对第八报文限速之前的传输速率的差值。In another possible implementation manner, the rate limiting policy is determined based on packet traffic. The greater the packet traffic transmitted by the UP device, the greater the restriction on packet transmission by the rate limiting policy. For example, the traffic of the first packet transmitted by the first UP device is greater than the traffic of the second packet transmitted by the second UP device. Correspondingly, the difference between the sixth rate-limiting rate and the transmission rate before rate-limiting the first packet is greater than the difference between the seventh rate-limiting rate and the transmission rate before rate-limiting the eighth message.
下面结合实施例对本申请实施例提供的一种过载处理方法进行说明。参见图16所示,该图为本申请实施例提供的另一种CU分离系统的结构示意图。其中,用户侧的家庭网关RGW通过OLT与第一UP设备连接。第一UP设备通过DC-网关设备与CP设备连接。CP设备与认证服务器连接。第一UP设备通过CR与网络连接。在本申请实施例中,由CP设备基于第一限速策略对第一报文限速。CP设备包括过载采样模块、CP过载控制模块、策略模块以及输入/输出(Input/Output,I/O)负载平衡(LOAD Balance)模块。CP设备利用过载采样模块实现对过载的判断,利用策略模块确定第一UP设备的第一限速策略,利用CP过载控制模块向输入/输出负载平衡模块下发第一限速策略。输入/输出负载平衡模块用于接收第一限速策略,并基于第一限速策略对第一报文实现限速处理。An overload handling method provided in the embodiment of the present application will be described below in conjunction with the embodiments. Referring to FIG. 16 , this figure is a schematic structural diagram of another CU separation system provided by an embodiment of the present application. Wherein, the home gateway RGW on the user side is connected to the first UP device through the OLT. The first UP device is connected to the CP device through the DC-gateway device. The CP device is connected to the authentication server. The first UP device is connected to the network through the CR. In the embodiment of the present application, the CP device limits the rate of the first packet based on the first rate limit policy. The CP device includes an overload sampling module, a CP overload control module, a strategy module, and an input/output (Input/Output, I/O) load balancing (LOAD Balance) module. The CP device uses the overload sampling module to realize overload judgment, uses the policy module to determine the first speed limit strategy of the first UP device, and uses the CP overload control module to issue the first speed limit strategy to the input/output load balancing module. The input/output load balancing module is configured to receive the first rate limiting strategy, and implement rate limiting processing on the first packet based on the first rate limiting strategy.
参见图17所示,该图为本申请实施例提供的另一种过载处理的流程示意图。其中,CP 设备包括过载采样模块1701、CP过载控制模块1702、策略模块1703以及输入/输出(Input/Output,I/O)负载平衡(LOAD Balance)模块1704。Refer to FIG. 17 , which is a schematic flowchart of another overload processing provided by the embodiment of the present application. Wherein, the CP device includes an overload sampling module 1701, a CP overload control module 1702, a policy module 1703, and an input/output (Input/Output, I/O) load balance (LOAD Balance) module 1704.
其中,过载采样模块1701用于判断CP设备是否过载。在一种可能的实现方式中,过载采样模块1701获取CP设备的资源利用率。在CP设备的资源利用率超过第一阈值时,过载采样模块1701确定CP设备过载。在CP设备的资源利用率超过第一阈值时,过载采样模块1701确定CP设备未过载。其中,资源利用率,例如为内存利用率,又或者例如为CPU利用率。在另一种可能的实现方式中,过载采样模块1701获取CP设备处理时延。CP设备处理时延超过第二阈值时,过载采样模块1701确定CP设备过载。CP设备处理时延未超过第二阈值时,过载采样模块1701确定CP设备未过载。其中,CP设备处理时延是CP设备处理业务的时延。CP设备处理时延,比如为用户认证超时时长,又比如为CP设备系统处理第一报文的时延。在又一种可能的实现方式中,基于CP设备的资源利用率和CP设备处理时延综合判断CP设备是否过载。在CP设备的资源利用率超过第一阈值以及CP设备的处理时延超过第二阈值时,确定CP设备过载。Wherein, the overload sampling module 1701 is used to judge whether the CP device is overloaded. In a possible implementation manner, the overload sampling module 1701 acquires the resource utilization rate of the CP device. When the resource utilization rate of the CP device exceeds the first threshold, the overload sampling module 1701 determines that the CP device is overloaded. When the resource utilization rate of the CP device exceeds the first threshold, the overload sampling module 1701 determines that the CP device is not overloaded. Wherein, the resource utilization rate is, for example, a memory utilization rate, or, for example, a CPU utilization rate. In another possible implementation manner, the overload sampling module 1701 obtains the processing delay of the CP device. When the processing delay of the CP device exceeds the second threshold, the overload sampling module 1701 determines that the CP device is overloaded. When the processing delay of the CP device does not exceed the second threshold, the overload sampling module 1701 determines that the CP device is not overloaded. Wherein, the CP device processing delay is the service processing delay of the CP device. The processing delay of the CP device, such as the user authentication timeout period, or the delay of processing the first packet for the CP device system. In yet another possible implementation manner, whether the CP device is overloaded is comprehensively judged based on the resource utilization rate of the CP device and the processing delay of the CP device. When the resource utilization rate of the CP device exceeds the first threshold and the processing delay of the CP device exceeds the second threshold, it is determined that the CP device is overloaded.
响应于确定CP设备过载,过载采样模块1701通知CP过载控制模块1702。作为一种示例,过载采样模块1701向CP过载控制模块1702发送携带过载状态的消息。过载状态包括过载和未过载两种状态。在确定CP设备过载的情况下,过载采样模块1701向CP过载控制模块1702发送过载状态为过载的消息。In response to determining that the CP device is overloaded, the overload sampling module 1701 notifies the CP overload control module 1702 . As an example, the overload sampling module 1701 sends a message carrying an overload status to the CP overload control module 1702 . The overload state includes two states: overload and non-overload. When it is determined that the CP device is overloaded, the overload sampling module 1701 sends a message that the overload status is overload to the CP overload control module 1702 .
CP过载控制模块1702在接收到过载采样模块1701下发的通知后,基于策略模块1703确定第一UP设备的第一限速策略。作为一种示例,CP过载控制模块1702向策略模块1703发送参数请求。参数请求中携带第一UP设备的相关信息。After receiving the notification sent by the overload sampling module 1701, the CP overload control module 1702 determines the first speed limit strategy of the first UP device based on the policy module 1703. As an example, the CP overload control module 1702 sends a parameter request to the policy module 1703 . The parameter request carries relevant information of the first UP device.
策略模块1703基于获取的参数请求,确定第一UP设备的第一限速策略。本申请实施例不限定策略模块1703确定第一UP设备的第一限速策略的具体实现方式。在一些可能的实现方式中,策略模块1703能够采用上述五种确定限速策略的方式确定第一限速策略。相关内容请参见上文,在此不再赘述。策略模块1703向CP过载控制模块1702发送UP设备限速列表。UP设备限速列表包括向CP设备发送用户接入报文的各个UP设备的限速策略。UP设备限速列表包括第一UP设备的第一限速策略。The policy module 1703 determines the first rate limiting policy of the first UP device based on the obtained parameter request. The embodiment of the present application does not limit the specific implementation manner in which the policy module 1703 determines the first rate limiting policy of the first UP device. In some possible implementation manners, the policy module 1703 can determine the first speed limit policy in the above five manners for determining the speed limit policy. Please refer to the above for relevant content, and will not repeat them here. The policy module 1703 sends the UP device rate limit list to the CP overload control module 1702 . The UP device rate limit list includes rate limit policies of each UP device that sends user access packets to the CP device. The UP device rate limit list includes the first rate limit policy of the first UP device.
CP过载控制模块1702在确定第一UP设备的第一限速策略后,通过内部接口向I/O LOAD Balance模块1704发送第一UP设备的第一限速策略。After the CP overload control module 1702 determines the first rate limiting strategy of the first UP device, it sends the first rate limiting strategy of the first UP device to the I/O LOAD Balance module 1704 through an internal interface.
I/O LOAD Balance模块1704是CP设备的报文入口模块,用于获取第一UP设备发送的第一报文。I/O LOAD Balance模块1704基于第一限速策略,对第一报文进行限速处理。比如,基于第一限速策略对第一报文进行丢弃。The I/O LOAD Balance module 1704 is a message entry module of the CP device, and is used to obtain the first message sent by the first UP device. The I/O LOAD Balance module 1704 performs rate limit processing on the first packet based on the first rate limit policy. For example, the first packet is discarded based on the first rate limiting policy.
图18是本申请实施例提供的一种过载处理的装置的结构示意图。该过载处理的装置能够实现上述方法示例中控制面设备的功能。参见图18所示,过载处理的装置1800包括获取单元1801和处理单元1802。获取单元1801,用于支持过载处理的装置1800执行图4中的S401;处理单元1802,用于支持过载处理的装置1800执行图4中的S402;和/或本文所描述的技术中控制面设备执行的其它过程。例如,获取单元1801,用于执行上述方法实施例中控制面设备执行的各种接收操作;处理单元1802,用于执行上述方法实施例中控制面设备各种处理操作。举例来说,获取单元1801,用于获取由第一UP设备发送的第一报文, 所述第一UP设备为所述至少两个UP设备中的一个;处理单元1802,用于响应于确定所述CP设备过载,确定所述第一UP设备的第一限速策略,所述第一限速策略用于对所述第一报文限速。具体执行过程请参考上述图4-图17中任一附图所示实施例中相应步骤的详细描述,在此不再一一赘述。Fig. 18 is a schematic structural diagram of an overload treatment device provided by an embodiment of the present application. The apparatus for overload processing can realize the function of the control plane device in the above method example. Referring to FIG. 18 , an overload processing apparatus 1800 includes an acquisition unit 1801 and a processing unit 1802 . The acquisition unit 1801 is configured to support the overload processing apparatus 1800 to execute S401 in FIG. 4; the processing unit 1802 is configured to support the overload processing apparatus 1800 to execute S402 in FIG. 4; and/or the control plane device in the technology described herein other processes performed. For example, the acquiring unit 1801 is configured to perform various receiving operations performed by the control plane device in the above method embodiments; the processing unit 1802 is configured to perform various processing operations performed by the control plane device in the above method embodiments. For example, the obtaining unit 1801 is configured to obtain a first message sent by a first UP device, the first UP device being one of the at least two UP devices; the processing unit 1802 is configured to respond to the determined The CP device is overloaded, and determines a first rate limiting policy of the first UP device, where the first rate limiting policy is used to limit the rate of the first packet. For the specific execution process, please refer to the detailed description of the corresponding steps in the embodiment shown in any one of the drawings in FIG. 4-FIG.
图19是本申请实施例提供的另一种过载处理的装置的结构示意图。该过载处理的装置能够实现上述方法示例中第一用户面设备的功能。参见图19所示,过载处理的装置1900包括获取单元1901和处理单元1902。获取单元1901,用于支持过载处理的装置1900执行图5中的S504;处理单元1902,用于支持过载处理的装置1900执行图5中的S505;和/或本文所描述的技术中第一用户面设备执行的其它过程。例如,获取单元1901,用于执行上述方法实施例中第一用户面设备执行的各种接收操作;处理单元1902,用于执行上述方法实施例中第一用户面设备各种处理操作。举例来说,获取单元1901,用于获取所述CP设备发送的第二报文,所述第二报文包括第一限速策略;处理单元1902,用于基于所述第一限速策略对第一报文限速,所述第一报文为所述第一UP设备向所述CP设备发送的报文。具体执行过程请参考上述图5-图12中任一附图所示实施例中相应步骤的详细描述,在此不再一一赘述。Fig. 19 is a schematic structural diagram of another overload treatment device provided by an embodiment of the present application. The apparatus for overload processing can realize the function of the first user plane device in the above method example. Referring to FIG. 19 , an overload processing apparatus 1900 includes an acquisition unit 1901 and a processing unit 1902 . The acquiring unit 1901 is configured to execute S504 in FIG. 5 by the apparatus 1900 supporting overload processing; the processing unit 1902 is configured to execute S505 in FIG. 5 by the apparatus 1900 supporting overload processing; and/or the first user in the technology described herein Other processes performed by surface devices. For example, the acquiring unit 1901 is configured to perform various receiving operations performed by the first user plane device in the above method embodiments; the processing unit 1902 is configured to perform various processing operations performed by the first user plane device in the above method embodiments. For example, the obtaining unit 1901 is configured to obtain the second packet sent by the CP device, the second packet includes a first rate limiting policy; the processing unit 1902 is configured to The rate of the first message is limited, and the first message is a message sent by the first UP device to the CP device. For the specific execution process, please refer to the detailed description of the corresponding steps in the embodiment shown in any one of the drawings in FIG. 5 to FIG.
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。本申请实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。例如,上述实施例中,获取单元和处理单元可以是同一个单元,也不同的单元。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation. Each functional unit in the embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. For example, in the foregoing embodiments, the acquisition unit and the processing unit may be the same unit or different units. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
图20是本申请实施例提供的一种过载处理的系统的结构示意图。控过载处理的系统2000用于上述方法实施例中过载处理的方法。该过载处理的系统2000包括控制面设备2001和至少两个用户面设备。其中,至少两个用户面设备包括第一用户面设备2002。控制面设备2001可以实现图4-图17中任一附图所示的实施例中控制面设备的功能。第一用户面设备2002可以实现图5-图12中任一附图所示的实施例中第一用户面设备的功能。具体执行过程请参考上述图4-图17中任一附图所示实施例中相应步骤的详细描述,这里不再一一赘述。FIG. 20 is a schematic structural diagram of an overload handling system provided by an embodiment of the present application. The overload handling system 2000 is used for the overload handling method in the above method embodiment. The overload processing system 2000 includes a control plane device 2001 and at least two user plane devices. Wherein, at least two user plane devices include the first user plane device 2002 . The control plane device 2001 may implement the functions of the control plane device in the embodiments shown in any one of Fig. 4 to Fig. 17 . The first user plane device 2002 may implement the function of the first user plane device in the embodiment shown in any one of Fig. 5 to Fig. 12 . For the specific execution process, please refer to the detailed description of the corresponding steps in the embodiment shown in any one of the drawings in FIG. 4 to FIG.
可选的,过载处理的系统2000还可以包括第二用户面设备,用于向CP设备2001发送第八报文。具体请参见上文,在此不再一一赘述。Optionally, the overload handling system 2000 may further include a second user plane device, configured to send the eighth packet to the CP device 2001 . Please refer to the above for details, and details will not be repeated here.
图21是本申请实施例提供的一种设备的结构示意图。上文中的控制面设备,或者用户面设备可以通过图21所示的设备实现。参见图21所示,该设备2100包括至少一个处理器2101,通信总线2102以及至少一个网络接口2104,可选地,该设备2100还可以包括存储器2103。Fig. 21 is a schematic structural diagram of a device provided by an embodiment of the present application. The above-mentioned control plane device or user plane device may be realized by the device shown in FIG. 21 . Referring to FIG. 21 , the device 2100 includes at least one processor 2101 , a communication bus 2102 and at least one network interface 2104 . Optionally, the device 2100 may further include a memory 2103 .
处理器2101可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。在一种实现方式中,处理器2101还可为流量管理(traffic management,TM)芯片或者是集成了NP和TM芯片的硬件,TM芯片或者集成了NP和TM芯片的硬件可对TM芯片中的队列执行本申请实施例提供的调度队列的方法。处理器710还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路 (application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。处理器可以用于实现本申请实施例中提供的过载处理的方法。The processor 2101 may be a central processing unit (central processing unit, CPU), a network processor (network processor, NP) or a combination of CPU and NP. In one implementation, the processor 2101 can also be a traffic management (traffic management, TM) chip or hardware integrating NP and TM chips, and the TM chip or hardware integrating NP and TM chips can control the The queue executes the queue scheduling method provided by the embodiment of this application. The processor 710 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The aforementioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL) or any combination thereof. The processor may be used to implement the overload handling method provided in the embodiment of the present application.
比如,当图4中的控制面设备通过图21所示的设备来实现时,该处理器可以用于响应于确定控制面设备过载,确定第一UP设备的用于对第一报文限速的第一限速策略,具体功能实现可参考方法实施例中对应控制面设备的处理部分。For example, when the control plane device in FIG. 4 is implemented by the device shown in FIG. 21, the processor may be configured to determine the first UP device's rate limit for the first packet in response to determining that the control plane device is overloaded. For the first rate limiting policy, for specific function implementation, please refer to the processing part of the corresponding control plane device in the method embodiment.
比如,当图5中的第一用户面设备通过图21所示的设备来实现时,该处理器可以用于基于第一限速策略对第一报文限速,具体功能实现可参考方法实施例中对应第一用户面设备的处理部分。For example, when the first user plane device in Figure 5 is implemented by the device shown in Figure 21, the processor can be used to limit the rate of the first packet based on the first rate limit strategy, and the specific function implementation can refer to the implementation method The example corresponds to the processing part of the first user plane device.
通信总线2102用于在处理器2101、网络接口2104和存储器2103之间传送信息。总线系统2102可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线系统2102可以分为地址总线、数据总线、控制总线等,图21中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 Communication bus 2102 is used to transfer information between processor 2101 , network interface 2104 and memory 2103 . The bus system 2102 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc. The bus system 2102 can be divided into address bus, data bus, control bus, etc., which are represented by only one thick line in FIG. 21 , but it does not mean that there is only one bus or one type of bus.
存储器2103可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,存储器2103还可以是随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,也可以是只读光盘(compact disc read-only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器2103可以是独立存在,通过通信总线2102与处理器2101相连接。存储器2103也可以和处理器2101集成在一起。The memory 2103 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, and the memory 2103 can also be a random access memory (random access memory, RAM) or can store information and other types of dynamic storage devices for instructions, and can also be compact disc read-only Memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray optical discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory 2103 may exist independently, and is connected to the processor 2101 through the communication bus 2102 . The memory 2103 can also be integrated with the processor 2101.
可选地,存储器2103用于存储执行本申请方案的程序代码或指令,并由处理器2101来控制执行。处理器2101用于执行存储器2103中存储的程序代码或指令。程序代码中可以包括一个或多个软件模块。可选地,处理器2101也可以存储执行本申请方案的程序代码或指令,在这种情况下处理器2101不需要到存储器2103中读取程序代码或指令。Optionally, the memory 2103 is used to store program codes or instructions for implementing the solution of the present application, and the execution is controlled by the processor 2101 . The processor 2101 is used to execute program codes or instructions stored in the memory 2103 . One or more software modules may be included in the program code. Optionally, the processor 2101 may also store program codes or instructions for executing the solutions of the present application. In this case, the processor 2101 does not need to read the program codes or instructions from the memory 2103 .
网络接口2104可以为收发器一类的装置,用于与其它设备或通信网络通信,通信网络可以为以太网、无线接入网(RAN)或无线局域网(wireless local area networks,WLAN)等。在本申请实施例中,网络接口2104可以用于接收分段路由网络中的其他节点发送的报文,也可以向分段路由网络中的其他节点发送报文。网络接口2104可以为以太接口(ethernet)接口、快速以太(fast ethernet,FE)接口或千兆以太(gigabit ethernet,GE)接口等。The network interface 2104 may be a device such as a transceiver for communicating with other devices or a communication network, and the communication network may be Ethernet, radio access network (RAN) or wireless local area networks (wireless local area networks, WLAN), etc. In this embodiment of the present application, the network interface 2104 may be used to receive messages sent by other nodes in the segment routing network, and may also send messages to other nodes in the segment routing network. The network interface 2104 may be an Ethernet interface (ethernet) interface, a fast ethernet (fast ethernet, FE) interface or a gigabit ethernet (gigabit ethernet, GE) interface, etc.
在具体实现中,作为一种实施例,设备2100可以包括多个处理器,例如图21中所示的处理器2101和处理器2107。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the device 2100 may include multiple processors, for example, the processor 2101 and the processor 2107 shown in FIG. 21 . 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).
图22是本申请实施例提供的一种设备2200的结构示意图。本申请实施例中所提供的控制面设备以及用户面设备可以通过图22所示的设备来实现。FIG. 22 is a schematic structural diagram of a device 2200 provided in an embodiment of the present application. The control plane device and the user plane device provided in the embodiment of the present application may be implemented by the device shown in FIG. 22 .
参见图22所示的设备结构示意图,设备2200包括主控板和一个或多个接口板。主控板与接口板通信连接。主控板也称为主处理单元(main processing unit,MPU)或路由处理卡(route processor card),主控板包括CPU和存储器,主控板负责对设备2200中各个组件的控制和管理,包括路由计算、设备管理和维护功能。接口板也称为线处理单元(line processing unit,LPU)或线卡(line card),用于接收和发送报文。Referring to the schematic structural diagram of the device shown in FIG. 22 , the device 2200 includes a main control board and one or more interface boards. The main control board is communicatively connected with the interface board. The main control board is also called a main processing unit (main processing unit, MPU) or a route processing card (route processor card). The main control board includes a CPU and a memory. Route calculation, device management and maintenance functions. The interface board is also called a line processing unit (line processing unit, LPU) or a line card (line card), and is used to receive and send packets.
在一些实施例中,主控板与接口板之间或接口板与接口板之间通过总线通信。在一些实施例中,接口板之间通过交换网板通信,在这种情况下设备2200也包括交换网板,交换网板与主控板、接口板通信连接,交换网板用于转发接口板之间的数据,交换网板也可以称为交换网板单元(switch fabric unit,SFU)。接口板包括CPU、存储器、转发引擎和接口卡(interface card,IC),其中接口卡可以包括一个或多个网络接口。网络接口可以为Ethernet接口、FE接口或GE接口等。CPU与存储器、转发引擎和接口卡分别通信连接。转发引擎可以是网络处理器(network processor,NP)。接口卡也称为子卡,可安装在接口板上,负责将光电信号转换为数据帧,并对数据帧进行合法性检查后转发给转发引擎处理或接口板CPU。在一些实施例中,CPU也可执行转发引擎的功能,比如基于通用CPU实现软转发,从而接口板中不需要转发引擎。在一些实施例中,转发引擎可以通过ASIC或现场可编程门阵列(field programmable gate array,FPGA)实现。在一些实施例中,存储转发表的存储器也可以集成到转发引擎中,作为转发引擎的一部分。In some embodiments, the communication between the main control board and the interface board or between the interface board and the interface board is through a bus. In some embodiments, the interface boards communicate through the SFU. In this case, the device 2200 also includes the SFU. The SFU communicates with the main control board and the interface board. The SFU is used to forward the interface board. The data between them, the SFU can also be called a switch fabric unit (SFU). The interface board includes a CPU, a memory, a forwarding engine, and an interface card (interface card, IC), where the interface card may include one or more network interfaces. The network interface may be an Ethernet interface, an FE interface, or a GE interface. The CPU communicates with the memory, the forwarding engine and the interface card respectively. The forwarding engine may be a network processor (network processor, NP). The interface card is also called a daughter card, which can be installed on the interface board. It is responsible for converting the photoelectric signal into a data frame, and checking the validity of the data frame before forwarding it to the forwarding engine for processing or the CPU of the interface board. In some embodiments, the CPU can also perform the function of the forwarding engine, such as implementing soft forwarding based on a general-purpose CPU, so that no forwarding engine is needed in the interface board. In some embodiments, the forwarding engine may be implemented by an ASIC or a field programmable gate array (field programmable gate array, FPGA). In some embodiments, the memory storing the forwarding table can also be integrated into the forwarding engine as a part of the forwarding engine.
本申请实施例还提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述图4-图9任一附图所示的实施例中提供的过载处理的方法。The embodiment of the present application also provides a chip system, including: a processor, the processor is coupled with a memory, and the memory is used to store programs or instructions, and when the programs or instructions are executed by the processor, the The system-on-a-chip implements the overload handling method provided in the embodiments shown in any one of the drawings in FIG. 4 to FIG. 9 above.
可选地,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。Optionally, there may be one or more processors in the chip system. The processor can be realized by hardware or by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented by software, the processor may be a general-purpose processor implemented by reading software codes stored in a memory.
可选地,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。Optionally, there may be one or more memories in the chip system. The memory can be integrated with the processor, or can be set separately from the processor, which is not limited in this application. Exemplarily, 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.
示例性的,该芯片系统可以是FPGA,可以是ASIC,还可以是系统芯片(system on chip,SoC),还可以是CPU,还可以是NP,还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。Exemplarily, the system-on-a-chip can be an FPGA, an ASIC, a system on chip (SoC), a CPU, an NP, or a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (micro controller unit, MCU), can also be a programmable controller (programmable logic device, PLD) or other integrated chips.
应理解,上述方法实施例中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that each step in the foregoing method embodiments may be implemented by an integrated logic circuit of hardware in a processor or instructions in the form of software. The method steps disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行以上方法实施例提供的、由控制面设备或者用户面设备执行的过载处理方 法。The embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the overload handling method provided by the above method embodiment and performed by the control plane device or the user plane device.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行以上方法实施例提供的、由控制面设备或者用户面设备执行的过载处理方法。The embodiment of the present application also provides a computer program product containing instructions, which, when running on a computer, causes the computer to execute the overload handling method provided by the above method embodiments and performed by the control plane device or the user plane device.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包括,例如,包括了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily to describe specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device comprising a series of steps or elements that is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
本申请中“至少一项(个)”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。本申请中认为“A和/或B”包括单独A,单独B,和A+B。In this application, "at least one (one)" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple . In this application, "A and/or B" is considered to include A alone, B alone, and A+B.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑模块划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical module division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要获取其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be obtained according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各模块单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件模块单元的形式实现。In addition, each module unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software module units.
所述集成的单元如果以软件模块单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software module unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可 以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已。The specific implementation manners described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above descriptions are only specific implementation modes of the present invention.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions described in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the various embodiments of the application.

Claims (54)

  1. 一种过载处理的方法,其特征在于,所述方法应用于网络,所述网络包括控制面CP设备和至少两个用户面UP设备,所述方法包括:A method for overload handling, wherein the method is applied to a network, and the network includes a control plane CP device and at least two user plane UP devices, and the method includes:
    所述CP设备获取由第一UP设备发送的第一报文,所述第一UP设备为所述至少两个UP设备中的一个;The CP device obtains the first message sent by the first UP device, and the first UP device is one of the at least two UP devices;
    响应于确定所述CP设备过载,所述CP设备确定所述第一UP设备的第一限速策略,所述第一限速策略用于对所述第一报文限速。In response to determining that the CP device is overloaded, the CP device determines a first rate limiting strategy of the first UP device, where the first rate limiting strategy is used to limit the rate of the first packet.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述CP设备向所述第一UP设备发送第二报文,所述第二报文包括所述第一限速策略。The CP device sends a second packet to the first UP device, where the second packet includes the first rate limiting policy.
  3. 根据权利要求2所述的方法,其特征在于,在所述CP设备向所述第一UP设备发送第二报文之前,所述方法还包括:The method according to claim 2, wherein before the CP device sends the second message to the first UP device, the method further comprises:
    所述CP设备获取所述第一UP设备发送的第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速。The CP device acquires a third packet sent by the first UP device, where the third packet includes first capability information, and the first capability information indicates that the first UP device can text speed limit.
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:The method according to claim 2 or 3, characterized in that the method further comprises:
    所述CP设备向所述第一UP设备发送第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备基于所述第一速率向所述CP设备发送所述第一报文。The CP device sends a fourth message to the first UP device, where the fourth message includes a first rate, and the first rate is used to instruct the first UP device to send a message to the first UP device based on the first rate. The CP device sends the first packet.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    响应于满足过载恢复条件,所述CP设备向所述第一UP设备发送第五报文,所述第五报文包括第二速率,所述第二速率用于指示所述第一UP设备基于所述第二速率向所述CP设备发送所述第一报文,所述过载恢复条件包括确定所述CP设备未过载和到达预设恢复时间中的一个或者多个。In response to satisfying the overload recovery condition, the CP device sends a fifth packet to the first UP device, where the fifth packet includes a second rate, and the second rate is used to instruct the first UP device based on The first message is sent to the CP device at the second rate, and the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
  6. 根据权利要求2-5任一项所述的方法,其特征在于,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。The method according to any one of claims 2-5, wherein the second message further includes overload information, and the overload information is used to indicate the overload degree of the CP device.
  7. 根据权利要求2-6任一项所述的方法,其特征在于,所述第二报文为包转发控制PFCP协议报文。The method according to any one of claims 2-6, wherein the second message is a packet forwarding control PFCP protocol message.
  8. 根据权利要求7所述的方法,其特征在于,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。The method according to claim 7, wherein the second message includes a Pri Control information field of message redirection interface control information, and the Pri Control information field carries the first rate limiting strategy.
  9. 根据权利要求2-6任一项所述的方法,其特征在于,所述第二报文为控制面和用户面分离协议CUSP报文。The method according to any one of claims 2-6, wherein the second message is a control plane and user plane separation protocol CUSP message.
  10. 根据权利要求9所述的方法,其特征在于,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。The method according to claim 9, wherein the second message includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  11. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述CP设备基于所述第一限速策略,对所述第一报文限速。The CP device limits the rate of the first packet based on the first rate limit policy.
  12. 根据权利要求11所述的方法,其特征在于,所述CP设备基于所述第一限速策略,对所述第一报文限速,包括:The method according to claim 11, wherein the CP device limits the rate of the first packet based on the first rate limiting policy, including:
    所述CP设备基于所述第一限速策略,丢弃所述第一报文。The CP device discards the first packet based on the first rate limiting policy.
  13. 根据权利要求11所述的方法,其特征在于,在所述CP设备基于所述第一限速策略,对所述第一报文限速之前,所述方法还包括:The method according to claim 11, wherein, before the CP device limits the rate of the first packet based on the first rate limiting policy, the method further comprises:
    所述CP设备确定所述第一UP设备不支持对所述第一报文限速。The CP device determines that the first UP device does not support rate limiting for the first packet.
  14. 根据权利要求13所述的方法,其特征在于,所述CP设备确定所述第一UP设备不支持对所述第一报文进行限速处理,包括:The method according to claim 13, wherein the CP device determines that the first UP device does not support rate-limiting processing of the first message, comprising:
    所述CP设备向所述第一UP设备发送第六报文,所述第六报文包括第三速率,所述第三速率用于指示所述第一UP设备基于所述第三速率向所述CP设备发送所述第一报文;The CP device sends a sixth message to the first UP device, where the sixth message includes a third rate, and the third rate is used to instruct the first UP device to send a message to the first UP device based on the third rate. The CP device sends the first message;
    响应于所述CP设备获取由所述第一UP设备发送的第七报文,或者在预设时间内未获取所述第一UP设备发送的反馈报文,所述CP设备确定所述第一UP设备不支持对所述第一报文限速,所述第七报文包括第二能力信息,所述第二能力信息指示所述第一UP设备不支持对所述第一报文限速。In response to the CP device obtaining the seventh message sent by the first UP device, or failing to obtain the feedback message sent by the first UP device within a preset time, the CP device determines that the first UP device The UP device does not support rate limiting for the first packet, the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not support rate limiting for the first packet .
  15. 根据权利要求11-14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11-14, wherein the method further comprises:
    响应于确定所述CP设备未过载,所述CP设备基于第四速率处理所述第一报文。In response to determining that the CP device is not overloaded, the CP device processes the first packet based on a fourth rate.
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述第一限速策略基于所述第一UP设备的优先级确定;The method according to any one of claims 1-15, wherein the first rate limiting policy is determined based on the priority of the first UP device;
    或者,所述第一限速策略基于所述第一报文的流量确定;Or, the first rate limiting policy is determined based on the traffic of the first packet;
    或者,所述第一限速策略为在第一时间段内按照第一限速速率对所述第一报文限速,在第二时间段内按照第二限速速率对所述第一报文限速,所述第一时间段为所述第一UP设备的保障发送时间段,所述第一限速速率大于所述第二限速速率;Alternatively, the first rate limiting strategy is to limit the rate of the first message according to the first rate limit rate in the first time period, and limit the rate of the first message according to the second rate limit rate in the second time period. A document speed limit, the first time period is the guaranteed sending time period of the first UP device, and the first speed limit rate is greater than the second speed limit rate;
    或者,所述第一限速策略为在第三时间段内按照第三限速速率对所述第一报文限速,在第四时间段内按照第四限速速率对所述第一报文限速,所述第三时间段早于所述第四时间段,所述第三限速速率小于所述第四限速速率;Alternatively, the first rate limiting policy is to limit the rate of the first message according to the third rate limit rate within the third time period, and limit the rate of the first message according to the fourth rate limit rate within the fourth time period. speed limit, the third time period is earlier than the fourth time period, and the third speed limit rate is less than the fourth speed limit rate;
    或者,所述第一限速策略为按照第五限速速率对所述第一报文进行限速处理,所述第五限速速率小于对所述第一报文限速之前所述第一报文的传输速率。Alternatively, the first rate-limiting strategy is to perform rate-limiting processing on the first packet according to a fifth rate-limiting rate, where the fifth rate-limiting rate is lower than the first Packet transmission rate.
  17. 根据权利要求1-16任一项所述的方法,其特征在于,所述至少两个UP设备包括第二UP设备,所述方法还包括:The method according to any one of claims 1-16, wherein the at least two UP devices include a second UP device, and the method further comprises:
    所述CP设备获取由所述第二UP设备发送的第八报文;The CP device obtains the eighth message sent by the second UP device;
    响应于确定所述CP设备过载,所述CP设备确定所述第二UP设备的第二限速策略,所述第二限速策略用于对所述第八报文进行限速处理。In response to determining that the CP device is overloaded, the CP device determines a second rate limiting policy of the second UP device, where the second rate limiting policy is used to perform rate limiting processing on the eighth packet.
  18. 根据权利要求17所述的方法,其特征在于,所述第一限速策略用于指示按照第六限速速率对所述第一报文进行限速处理,所述第二限速策略用于指示按照第七限速速率对所述第八报文进行限速处理,所述第一UP设备的优先级高于所述第二UP设备的优先级,所述第六限速速率大于所述第七限速速率,或者所述第一报文的流量大于所述第八报文的流量,所述第六限速速率与对所述第一报文限速之前所述第一报文的传输速率的差值,大于所述第七限速速率与对所述第八报文限速之前所述第八报文的传输速率的差值。The method according to claim 17, wherein the first rate-limiting policy is used to indicate that the first packet is subjected to rate-limiting processing according to a sixth rate-limiting rate, and the second rate-limiting policy is used to Instructing to perform speed limit processing on the eighth packet according to the seventh rate limit rate, the priority of the first UP device is higher than the priority of the second UP device, and the sixth rate limit rate is greater than the The seventh speed limit rate, or the flow rate of the first packet is greater than the flow rate of the eighth packet, and the sixth speed limit rate is the same as that of the first packet before the speed limit for the first packet The difference of the transmission rate is greater than the difference between the seventh rate limiting rate and the transmission rate of the eighth packet before the eighth packet is limited.
  19. 根据权利要求1-18任一项所述的方法,其特征在于,所述确定所述CP设备过载,包括确定所述CP设备的资源利用率超过第一阈值和确定所述CP设备处理时延超过第二阈值中的一项或者多项。The method according to any one of claims 1-18, wherein the determining that the CP device is overloaded includes determining that the resource utilization rate of the CP device exceeds a first threshold and determining the processing delay of the CP device Exceeds one or more of the second thresholds.
  20. 根据权利要求1-15任一项所述的方法,其特征在于,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。The method according to any one of claims 1-15, wherein the first rate limiting strategy includes one or more of transmission rate limit rate, rate percentage, and stop sending time length.
  21. 根据权利要求1-20任一项所述的方法,其特征在于,所述CP设备和所述至少两个UP设备属于虚拟宽带远程接入服务器vBRAS。The method according to any one of claims 1-20, wherein the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
  22. 根据权利要求1-21任一项所述的方法,其特征在于,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。The method according to any one of claims 1-21, wherein the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, and the first message A message is a dial-up message or a user access message.
  23. 根据权利要求1-22任一项所述的方法,其特征在于,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。The method according to any one of claims 1-22, wherein the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, One of Internet Protocol Version 4 IPv4 packets, Internet Protocol Version 6 IPv6 packets, and Point-to-Point Protocol over Ethernet Active Discovery Initial Packet PADI.
  24. 一种过载处理的方法,其特征在于,所述方法应用于网络,所述网络包括控制面CP设备和至少两个用户面UP设备,所述至少两个UP设备包括第一UP设备,所述方法包括:A method for overload handling, wherein the method is applied to a network, the network includes a control plane CP device and at least two user plane UP devices, the at least two UP devices include a first UP device, the Methods include:
    所述第一UP设备获取所述CP设备发送的第二报文,所述第二报文包括第一限速策略;The first UP device acquires a second message sent by the CP device, where the second message includes a first rate limiting policy;
    所述第一UP设备基于所述第一限速策略对第一报文限速,所述第一报文为所述第一UP设备向所述CP设备发送的报文。The first UP device limits the rate of the first packet based on the first rate limiting policy, and the first packet is a packet sent by the first UP device to the CP device.
  25. 根据权利要求24所述的方法,其特征在于,在所述第一UP设备基于所述第一限速策略对第一报文限速之前,所述方法还包括:The method according to claim 24, wherein before the first UP device limits the rate of the first packet based on the first rate limiting strategy, the method further comprises:
    所述第一UP设备向所述CP设备发送第三报文,所述第三报文包括第一能力信息,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速。The first UP device sends a third packet to the CP device, where the third packet includes first capability information, and the first capability information indicates that the first UP device can process the first packet speed limit.
  26. 根据权利要求25所述的方法,其特征在于,所述方法还包括:The method according to claim 25, further comprising:
    所述第一UP设备获取由所述CP设备发送的第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备根据所述第一速率向所述CP设备发送所述第一报文;The first UP device acquires a fourth packet sent by the CP device, the fourth packet includes a first rate, and the first rate is used to instruct the first UP device to sending the first packet to the CP device;
    所述第一UP设备基于所述第一速率向所述CP设备发送第一报文。The first UP device sends a first packet to the CP device based on the first rate.
  27. 根据权利要求24-26任一项所述的方法,其特征在于,在所述第一UP设备基于所述第一限速策略对第一报文限速之后,所述方法还包括:The method according to any one of claims 24-26, wherein after the first UP device limits the rate of the first packet based on the first rate limiting policy, the method further comprises:
    所述第一UP设备向所述CP设备发送第九报文,所述第九报文包括第一能力信息和第五速率,所述第一能力信息指示所述第一UP设备能够对所述第一报文限速,所述第五速率为所述第一UP设备对所述第一报文限速后,发送第一报文的速率。The first UP device sends a ninth packet to the CP device, the ninth packet includes first capability information and a fifth rate, and the first capability information indicates that the first UP device can The first packet rate is limited, and the fifth rate is the rate at which the first UP device sends the first packet after the first UP device limits the rate of the first packet.
  28. 根据权利要求24-27任一项所述的方法,其特征在于,所述第一UP设备基于所述第一限速策略对第一报文限速,包括:The method according to any one of claims 24-27, wherein the first UP device limits the rate of the first packet based on the first rate limiting policy, including:
    所述第一UP设备基于所述第一限速策略配置速率参数;The first UP device configures a rate parameter based on the first rate limiting strategy;
    所述第一UP设备基于所述速率参数调整向所述CP设备发送所述第一报文的速率。The first UP device adjusts the rate of sending the first packet to the CP device based on the rate parameter.
  29. 根据权利要求28所述的方法,其特征在于,所述速率参数为队列参数或者承诺信息速率CAR参数。The method according to claim 28, wherein the rate parameter is a queue parameter or a committed information rate (CAR) parameter.
  30. 根据权利要求24-29任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 24-29, further comprising:
    所述第一UP设备获取由所述CP设备发送的第五报文,所述第五报文包括第二速率,所述第二速率用于指示所述第一UP设备根据所述第二速率向所述CP设备发送所述第一报文,所述第五报文为所述CP设备响应于满足过载恢复条件生成并发送的,所述过载恢复 条件包括确定所述CP设备未过载和到达预设恢复时间中的一个或者多个;The first UP device acquires a fifth packet sent by the CP device, the fifth packet includes a second rate, and the second rate is used to instruct the first UP device to sending the first message to the CP device, the fifth message is generated and sent by the CP device in response to meeting an overload recovery condition, and the overload recovery condition includes determining that the CP device is not overloaded and arriving one or more of the preset recovery times;
    所述第一UP设备基于所述第二速率向所述CP设备发送第一报文。The first UP device sends the first packet to the CP device based on the second rate.
  31. 根据权利要求24-30任一项所述的方法,其特征在于,所述第二报文还包括过载信息,所述过载信息用于指示所述CP设备的过载程度。The method according to any one of claims 24-30, wherein the second message further includes overload information, and the overload information is used to indicate the overload degree of the CP device.
  32. 根据权利要求24-31任一项所述的方法,其特征在于,所述第二报文为包转发控制PFCP协议报文。The method according to any one of claims 24-31, wherein the second message is a packet forwarding control PFCP protocol message.
  33. 根据权利要求32所述的方法,其特征在于,所述第二报文包括报文重定向接口控制信息Pri Control information字段,所述Pri Control information字段携带所述第一限速策略。The method according to claim 32, wherein the second message includes a Pri Control information field of message redirection interface control information, and the Pri Control information field carries the first rate limiting strategy.
  34. 根据权利要求32或33所述的方法,其特征在于,所述第三报文为包转发控制PFCP协议报文。The method according to claim 32 or 33, wherein the third message is a packet forwarding control PFCP protocol message.
  35. 根据权利要求24-30任一项所述的方法,其特征在于,所述第二报文为CUSP协议报文。The method according to any one of claims 24-30, wherein the second message is a CUSP protocol message.
  36. 根据权利要求35所述的方法,其特征在于,所述第二报文包括类型长度值TLV字段,所述TLV字段携带所述第一限速策略。The method according to claim 35, wherein the second message includes a Type Length Value TLV field, and the TLV field carries the first rate limiting policy.
  37. 根据权利要求24-36任一项所述的方法,其特征在于,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。The method according to any one of claims 24-36, wherein the first rate limiting strategy includes one or more of transmission rate limit rate, rate percentage, and stop sending time length.
  38. 根据权利要求24-37任一项所述的方法,其特征在于,所述CP设备和所述至少两个UP设备属于虚拟宽带接入系统vBRAS。The method according to any one of claims 24-37, wherein the CP device and the at least two UP devices belong to a virtual broadband access system vBRAS.
  39. 根据权利要求24-38任一项所述的方法,其特征在于,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。The method according to any one of claims 24-38, wherein the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, and the second A message is a dial-up message or a user access message.
  40. 根据权利要求24-39任一项所述的方法,其特征在于,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。The method according to any one of claims 24-39, wherein the first message is a Dynamic Host Configuration Protocol (DHCP) discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol (DHCPv6) request solicit message, One of Internet Protocol Version 4 IPv4 packets, Internet Protocol Version 6 IPv6 packets, and Point-to-Point Protocol over Ethernet Active Discovery Initial Packet PADI.
  41. 一种过载处理的系统,其特征在于,所述系统包括控制面CP设备和至少两个用户面UP设备;A system for overload handling, characterized in that the system includes a control plane CP device and at least two user plane UP devices;
    所述CP设备,用于获取由第一UP设备发送的第一报文,响应于确定所述CP设备过载,确定所述第一UP设备的第一限速策略,所述第一UP设备为所述至少两个UP设备中的一个,所述第一限速策略用于对所述第一报文限速。The CP device is configured to obtain the first message sent by the first UP device, and determine a first rate limiting policy of the first UP device in response to determining that the CP device is overloaded, and the first UP device is For one of the at least two UP devices, the first rate limiting policy is used to limit the rate of the first packet.
  42. 根据权利要求41所述的系统,其特征在于,所述CP设备,还用于向所述第一UP设备发送第二报文,所述第二报文包括所述第一限速策略。The system according to claim 41, wherein the CP device is further configured to send a second message to the first UP device, and the second message includes the first rate limiting policy.
  43. 根据权利要求42所述的系统,其特征在于,所述CP设备,还用于向所述第一UP设备发送第四报文,所述第四报文包括第一速率,所述第一速率用于指示所述第一UP设备基于所述第一速率向所述CP设备发送所述第一报文。The system according to claim 42, wherein the CP device is further configured to send a fourth message to the first UP device, the fourth message includes a first rate, and the first rate It is used to instruct the first UP device to send the first packet to the CP device based on the first rate.
  44. 根据权利要求41所述的系统,其特征在于,所述CP设备,还用于基于所述第一限速策略,对所述第一报文限速。The system according to claim 41, wherein the CP device is further configured to limit the rate of the first packet based on the first rate limit strategy.
  45. 根据权利要求44所述的系统,其特征在于,所述CP设备,还用于基于所述第一限速策略,对所述第一报文限速,包括:The system according to claim 44, wherein the CP device is further configured to limit the rate of the first packet based on the first rate limiting strategy, including:
    所述CP设备,还用于基于所述第一限速策略,丢弃所述第一报文。The CP device is further configured to discard the first packet based on the first rate limiting policy.
  46. 根据权利要求41-45任一项所述的系统,其特征在于,所述至少两个UP设备包括第二UP设备;The system according to any one of claims 41-45, wherein the at least two UP devices comprise a second UP device;
    所述第二UP设备,用于向所述CP设备发送第八报文;The second UP device is configured to send an eighth message to the CP device;
    所述CP设备,还用于获取由所述第二UP设备发送的第八报文,响应于确定所述CP设备过载,所述CP设备确定所述第二UP设备的第二限速策略,所述第二限速策略用于对所述第八报文进行限速处理。The CP device is further configured to obtain an eighth message sent by the second UP device, and in response to determining that the CP device is overloaded, the CP device determines a second rate limiting policy of the second UP device, The second rate limiting strategy is used to perform rate limiting processing on the eighth packet.
  47. 根据权利要求41-46任一项所述的系统,其特征在于,所述第一限速策略包括传输限速速率、速率百分比以及停止发送时间长度中的一种或者多种。The system according to any one of claims 41-46, wherein the first rate limiting policy includes one or more of transmission rate limit rate, rate percentage, and stop sending time length.
  48. 根据权利要求41-47任一项所述的系统,其特征在于,所述CP设备和所述至少两个UP设备属于虚拟宽带远程接入服务器vBRAS。The system according to any one of claims 41-47, wherein the CP device and the at least two UP devices belong to a virtual broadband remote access server vBRAS.
  49. 根据权利要求41-48任一项所述的系统,其特征在于,所述第一报文通过所述CP设备与所述第一UP设备之间的报文重定向接口PRi传输,所述第一报文为拨号报文或者为用户接入报文。The system according to any one of claims 41-48, wherein the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, and the second A message is a dial-up message or a user access message.
  50. 根据权利要求41-49任一项所述的系统,其特征在于,所述第一报文为动态主机配置协议DHCP发现discover报文、互联网协议第6版动态主机配置协议DHCPv6请求solicit报文、互联网协议第4版IPv4数据包、互联网协议第6版IPv6数据包和以太网上的点对点协议主动发现初始包PADI中的一种。The system according to any one of claims 41-49, wherein the first message is a Dynamic Host Configuration Protocol DHCP discovery message, an Internet Protocol version 6 Dynamic Host Configuration Protocol DHCPv6 request solicit message, One of Internet Protocol Version 4 IPv4 packets, Internet Protocol Version 6 IPv6 packets, and Point-to-Point Protocol over Ethernet Active Discovery Initial Packet PADI.
  51. 一种控制面设备,其特征在于,所述控制面设备包括处理器芯片和存储器,存储器用于存储指令或程序代码,处理器芯片用于从存储器中调用并运行所述指令或程序代码,以执行如权利要求1-23任一项所述的过载处理的方法。A control plane device, characterized in that the control plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the instructions or program codes from the memory, to The method for performing overload handling according to any one of claims 1-23.
  52. 一种用户面设备,其特征在于,所述用户面设备包括处理器芯片和存储器,存储器用于存储指令或程序代码,处理器芯片用于从存储器中调用并运行所述指令或程序代码,以执行如权利要求24-40任一项所述的过载处理的方法。A user plane device, characterized in that the user plane device includes a processor chip and a memory, the memory is used to store instructions or program codes, and the processor chip is used to call and run the instructions or program codes from the memory, to The method for performing overload handling according to any one of claims 24-40.
  53. 一种计算机可读存储介质,其特征在于,包括程序指令,当所述程序指令在计算机上执行时,使得所述计算机执行如权利要求1-23任一项所述的过载处理的方法,或者执行如权利要求24-40任一项所述的过载处理的方法。A computer-readable storage medium, characterized in that it includes program instructions, and when the program instructions are executed on a computer, the computer is made to perform the overload processing method according to any one of claims 1-23, or The method for performing overload handling according to any one of claims 24-40.
  54. 一种计算机程序产品,其特征在于,当所述计算机程序产品在网络设备上运行时,使得所述网络设备执行上述权利要求1-23任一项所述的过载处理的方法,或者执行如权利要求24-40任一项所述的过载处理的方法。A computer program product, characterized in that, when the computer program product is run on a network device, the network device is made to perform the overload processing method described in any one of claims 1-23 above, or to perform the overload processing method described in any one of claims 1-23 The overload handling method described in any one of requirements 24-40.
PCT/CN2022/137860 2021-12-17 2022-12-09 Overload processing method, network device, and system WO2023109669A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202111552185 2021-12-17
CN202111552185.3 2021-12-17
CN202210468547.9A CN116266812A (en) 2021-12-17 2022-04-29 Overload processing method, network equipment and system
CN202210468547.9 2022-04-29

Publications (1)

Publication Number Publication Date
WO2023109669A1 true WO2023109669A1 (en) 2023-06-22

Family

ID=86744093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137860 WO2023109669A1 (en) 2021-12-17 2022-12-09 Overload processing method, network device, and system

Country Status (2)

Country Link
CN (1) CN116266812A (en)
WO (1) WO2023109669A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972248A (en) * 2005-11-21 2007-05-30 阿尔卡特公司 Network node with control plane processor overload protection
US20130250763A1 (en) * 2012-03-22 2013-09-26 Avaya, Inc. Method and Apparatus for Control Plane CPU Overload Protection
CN104702560A (en) * 2013-12-04 2015-06-10 华为技术有限公司 Method and device for preventing message attack
CN106941456A (en) * 2017-05-17 2017-07-11 华中科技大学 The load-balancing method and system of control plane in a kind of software defined network
CN109587782A (en) * 2017-09-28 2019-04-05 中兴通讯股份有限公司 A kind of synchronous method and device
CN113746750A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Method, network node, system and storage medium for forwarding data message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972248A (en) * 2005-11-21 2007-05-30 阿尔卡特公司 Network node with control plane processor overload protection
US20130250763A1 (en) * 2012-03-22 2013-09-26 Avaya, Inc. Method and Apparatus for Control Plane CPU Overload Protection
CN104702560A (en) * 2013-12-04 2015-06-10 华为技术有限公司 Method and device for preventing message attack
CN106941456A (en) * 2017-05-17 2017-07-11 华中科技大学 The load-balancing method and system of control plane in a kind of software defined network
CN109587782A (en) * 2017-09-28 2019-04-05 中兴通讯股份有限公司 A kind of synchronous method and device
CN113746750A (en) * 2020-05-30 2021-12-03 华为技术有限公司 Method, network node, system and storage medium for forwarding data message

Also Published As

Publication number Publication date
CN116266812A (en) 2023-06-20

Similar Documents

Publication Publication Date Title
US9497661B2 (en) Implementing EPC in a cloud computer with openflow data plane
EP2831733B1 (en) Implementing epc in a cloud computer with openflow data plane
WO2021207922A1 (en) Packet transmission method, device, and system
US10461986B2 (en) Data transmission method, apparatus, and system
JP2007535876A (en) System and method for improving network service quality
US9001650B2 (en) TCP relay apparatus
US20180254921A1 (en) Packet processing method, apparatus, and system
US9713051B2 (en) Session aware access point load balancing
EP3890257A1 (en) Flow balancing method and device
WO2018223825A1 (en) Data flow processing method and device
US9800479B2 (en) Packet processing method, forwarder, packet processing device, and packet processing system
US20220061129A1 (en) Priority channels for distributed broadband network gateway control packets
US20230156828A1 (en) Session establishment method and apparatus, system, and computer storage medium
Ricart‐Sanchez et al. Toward hardware‐accelerated QoS‐aware 5G network slicing based on data plane programmability
WO2022001735A1 (en) Message processing method, up device and cp device
JP6044020B2 (en) Data packet processing method, system, and device
WO2023109669A1 (en) Overload processing method, network device, and system
US20220166721A1 (en) Traffic balancing method, network device, and electronic device
US11570080B1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture
EP4358476A1 (en) Message processing method, apparatus and system, and computer-readable storage medium
US11824786B2 (en) Dynamic traffic handling for low latency traffic in a layer 2 modem
WO2023246616A1 (en) Network congestion control method and apparatus
WO2023011006A1 (en) Communication method and apparatus, and device
WO2023103926A1 (en) Method, device, and system for controlling user to access network
WO2022033157A1 (en) Network attack defense method, and cp device and up device

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

Country of ref document: EP

Kind code of ref document: A1