CN116266812A - Overload processing method, network equipment and system - Google Patents

Overload processing method, network equipment and system Download PDF

Info

Publication number
CN116266812A
CN116266812A CN202210468547.9A CN202210468547A CN116266812A CN 116266812 A CN116266812 A CN 116266812A CN 202210468547 A CN202210468547 A CN 202210468547A CN 116266812 A CN116266812 A CN 116266812A
Authority
CN
China
Prior art keywords
message
rate
speed
equipment
overload
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210468547.9A
Other languages
Chinese (zh)
Inventor
张耀坤
牛承光
娄如思
尹建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2022/137860 priority Critical patent/WO2023109669A1/en
Publication of CN116266812A publication Critical patent/CN116266812A/en
Pending legal-status Critical Current

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

Abstract

The application discloses an overload processing method, network equipment and a system, wherein the method is applied to a network comprising a CP device and a plurality of UP devices, and the plurality of UP devices comprise a first UP device. The CP device acquires a first message sent by the first UP device, and determines a first speed limiting strategy of the first UP device when the CP device is overloaded. Based on the first speed limiting strategy, the first message can be subjected to speed limiting processing in a targeted manner, so that the effect of overload processing can be improved.

Description

Overload processing method, network equipment and system
The present application claims priority from the national intellectual property agency, application number 202111552185.3, application name "a method for controlling CP-plane overload of a vbas CU separation system", filed on 12 months 17 of 2021, the entire contents of which are incorporated herein by reference.
Technical Field
The present invention relates to the field of communications, and in particular, to an overload processing method, a network device, and a system.
Background
With the development of software defined network (software defined network, SDN) technology and network function virtualization (network functions virtualization, NFV) technology, data communication networks evolve from traditional network-centric architectures to data-centric network architectures. Traditional network devices have evolved from specialized towards generalized. In view of this, control plane and user plane separation (control plane and user plane disaggregated, CU separation) techniques have been developed and are a research hotspot in the art. CU split refers to a network architecture in which Control Plane (CP) and User Plane (UP) are decoupled.
When the CU separated network architecture is adopted to process the service, part of the service is forwarded to the CP device for processing through the UP device. In the case where the CP device manages a plurality of UP devices, the traffic of the service to be handled by the CP device is large, and an overload problem may occur. At present, the effect of the processing method for the overload of the CP equipment is poor, and the requirement of processing the service is difficult to meet.
Disclosure of Invention
The application provides an overload processing method, network equipment and a system, which can carry out overload processing based on a speed limiting strategy of the granularity of UP equipment and improve the effect of the overload processing.
Based on this, the technical scheme that this application provided is as follows:
in a first aspect, a method of overload processing is provided, the method being applied to a network, the network comprising a CP device and at least two UP devices. The CP device acquires a first message sent by a first UP device included by at least two UP devices. If the CP device determines that the device is overloaded, a first speed limit policy of the first UP device is determined. The first speed limiting strategy is used for carrying out speed limiting processing on the first message. Based on a first speed limiting strategy of the first UP device, speed limiting can be performed on the first message. And determining a corresponding first speed limiting strategy aiming at the first UP equipment to limit the speed of the first message, so that the speed limit of the first message is more in line with the overload processing requirement of the CP equipment, and the overload processing effect of the CP equipment is improved.
In some possible implementations, the first message is adjusted by the first UP device based on the first speed limit policy. The CP device sends a second message including the first speed limit policy to the first UP device. The first UP equipment can carry out speed limiting processing on the first message based on a first speed limiting strategy carried by the second message.
In some possible implementations, before the CP device sends the second message to the first UP device, the CP device determines that the first UP device can rate limit the first message. As an example, the CP device obtains that the first UP device transmits a third message including the first capability information. The first capability information indicates that the first UP device is capable of rate limiting the first message. Based on the first capability information, the CP device can determine that the first UP device can limit the speed of the first message, and then send a second message including the first speed limiting policy to the first UP device.
In some possible implementations, as an example, after the CP device acquires the third message and determines that the first UP device can rate limit the first message, the CP device can send a fourth message including the first rate to the first UP device without overload. The first rate is a guiding value of a first message sending rate sent by the CP device to the first UP device. The first rate is used to instruct the first UP device to send a first message to the CP device based on the first rate. As another example, the CP device first initiates the negotiation. That is, the CP device transmits a fourth message including the first rate to the first UP device. The first UP device sends a third message including the first capability information to the CP device in response to the fourth message.
In some possible implementations, if the overload recovery condition is met, the CP device sends a fifth message including the second rate to the first UP device. The second rate is a guiding value of the CP device for sending the first message, which is sent to the first UP device, under the condition of overload recovery. 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. Wherein the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
In some possible implementations, the second message includes overload information in addition to the first speed limit policy. The overload information is used to indicate the overload degree of the CP device.
In some possible implementations, the second packet is a packet forwarding control PFCP protocol packet.
In some possible implementations, the second message includes a message redirection interface control information Pri Control information field. The Pri Control information field carries the first speed limit policy.
In some possible implementations, the second packet is a control plane and user plane separation protocol CUSP packet.
In some possible implementations, the second message includes a type length value TLV field. The TLV field carries a first speed limit policy.
In some possible implementations, the first message is adjusted by the CP device based on the first speed limit policy. After determining the first speed limiting strategy, the CP equipment limits the speed of the first message based on the first speed limiting strategy.
In some possible implementations, the CP device can discard the first packet based on the first speed limit policy, so as to implement speed limit of the first packet.
In some possible implementations, the CP device determines that the first UP device cannot rate-limit the first message before rate-limiting the first message based on the first rate-limiting policy. Therefore, under the condition that the first UP equipment does not support the speed limitation of the first message, the CP equipment limits the speed of the first message, and overload processing can be ensured.
In some possible implementations, the CP device sends a sixth message including the third rate to the first UP device. The third rate is a guiding value of the CP device guiding the first UP device to send the first message. If the CP equipment acquires a seventh message carrying the second capability information fed back by the first UP equipment or does not acquire a feedback message sent by the first UP equipment within a preset time, the CP equipment determines that the first UP equipment does not support speed limiting of the first message. The second capability information indicates that the first UP device does not support speed limiting of the first message, that is, the first UP device does not have a function of speed limiting of the first message.
In some possible implementations, the CP device processes the first message based on the fourth rate when the CP device determines that it is not overloaded. The fourth rate is a guiding value for adjusting the rate of the first message in case the CP device is not overloaded.
In some possible implementations, the first speed limit policy is determined based on a priority of the first UP device;
or the first speed limiting strategy is determined based on the flow of the first message;
or the first speed limiting strategy limits the speed of the first message according to a first speed limiting rate in a first time period, limits the speed of the first message according to a second speed limiting rate in a second time period, wherein the first time period is a guaranteed sending time period of the first UP equipment, and the first speed limiting rate is larger than the second speed limiting rate;
or the first speed limiting strategy limits the speed of the first message according to a third speed limiting rate in a third time period, limits the speed of the first message according to a fourth speed limiting rate in a fourth time period, wherein the third time period is earlier than the fourth time period, and the third speed limiting rate is smaller than the fourth speed limiting rate;
or the first speed limiting strategy is to limit the speed of the first message according to a fifth speed limiting rate, wherein the fifth speed limiting rate is smaller than the transmission rate of the first message before the speed of the first message is limited.
In some possible implementations, the network includes at least two UP devices including a second UP device. The CP device also acquires an eighth message transmitted by the second UP device. If the CP device is determined to be overloaded, the CP device determines a second speed limit policy for the second UP device. And the second speed limiting strategy is used for carrying out speed limiting processing on the eighth message. And determining a corresponding second speed limiting strategy aiming at the second UP equipment to limit the speed of the eighth message, so that the speed limit of the eighth message is more in line with the overload processing requirement of the CP equipment, and the overload processing effect of the CP equipment is improved. The first speed limiting strategy and the second speed limiting strategy may be different, so that differential processing for different UP devices is realized, and a better overload processing effect can be obtained.
In some possible implementations, the first speed limiting policy is used to instruct to perform speed limiting processing on the first packet according to a sixth speed limiting rate, the second speed limiting policy is used to instruct to perform speed limiting processing on the eighth packet according to a seventh speed limiting rate, the priority of the first UP device is higher than that of the second UP device, the sixth speed limiting rate is greater than that of the seventh speed limiting rate, or the flow of the first packet is greater than that of the eighth packet, and a difference between the sixth speed limiting rate and the transmission rate of the first packet before speed limiting on the first packet is greater than a difference between the seventh speed limiting rate and the transmission rate of the eighth packet before speed limiting on the eighth packet.
In some possible implementations, the condition for determining that the CP device is overloaded is one or more of a determination that the resource utilization of the CP device exceeds a first threshold and a determination that the CP device processing delay exceeds a second threshold.
In some possible implementations, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
In some possible implementations, the CP device and the at least two UP devices belong to a virtual broadband remote access server vbas.
In some possible implementations, the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, where the first message is a dial-UP message or an access message for a user.
In some possible implementations, the first message is one of a DHCP discover message, a DHCPv6 request message, an IPv4 packet, an IPv6 packet, and a PADI active discovery initiation packet.
In a second aspect, a method of overload processing is provided, the method being applied to a network comprising a control plane CP device and at least two user plane UP devices, the at least two UP devices comprising a first UP device. The first UP device sends a first message to the CP device. The first UP device obtains a second message which is sent by the CP device and comprises a first speed limiting strategy, and limits the speed of the first message based on the first speed limiting strategy. Therefore, the first UP equipment can more accurately limit the speed of the first message based on the first speed limiting strategy, and a better overload processing effect is achieved.
In one possible implementation, before the first UP device limits the speed of the first message based on the first speed limit policy, the first UP device sends a third message including the first capability information to the CP device. The first capability information indicates that the first UP device can limit the speed of the first message. The first UP device sends a third message to the CP device, so that negotiation with the CP device can be realized, the CP device determines that the first UP device can limit the speed of the first message, and then sends a second message comprising a first speed limiting strategy to the first UP device.
In one possible implementation, as an example, the first UP device actively negotiates and sends a third message to the CP device. And the CP equipment sends a fourth message to the first UP equipment after determining that the first UP equipment supports adjustment of the first message based on the third message. The fourth message includes the first rate. The first rate is used to instruct the first UP device to send a first message to the CP device according to the first rate. The first rate is a guiding value sent by the CP device to the first UP device and used for sending the first message. And after the first UP device acquires the fourth message, the first UP device sends the first message to the CP device based on the first rate. As another example, the CP device actively negotiates to send a fourth message to the first UP device first. The first UP device responds to the fourth message and sends the third message to the CP device. The first UP device sends a first message to the CP device based on the first rate.
In one possible implementation, after the first UP device limits the speed of the first packet based on the first speed limiting policy, the first UP device feeds back a ninth packet to the CP device. The ninth message includes the first capability information and a fifth rate. The first capability information indicates that the first UP device is capable of rate limiting the first message. The fifth rate is the rate at which the first UP device sends the first message after the first message is rate-limited 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 continuous adjustment of the first speed limiting policy.
In one possible implementation, the first UP device configures a rate parameter based on the first speed limit policy, and adjusts a rate at which the first message is sent based on the rate parameter.
In one possible implementation, the rate parameter is a queue parameter or a committed information rate, CAR, parameter.
In one possible implementation, if the overload recovery condition is met, the CP device generates a fifth message including the second rate, and sends the fifth message to the first UP device. The first UP device obtains the fifth message and sends the first message 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 for indicating the first UP device to send the first message to the CP device according to the second rate.
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.
In one possible implementation, the second packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second message includes a message redirection interface control information Pri Control information field, and the Pri Control information field carries the first speed limiting policy.
In one possible implementation manner, the third packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second packet is a CUSP protocol packet.
In one possible implementation, the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
In one possible implementation, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
In one possible implementation, the CP device and the at least two UP devices belong to a virtual broadband access system vbas.
In a possible implementation manner, the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, where the first message is a dial-UP message or a user access message.
In one possible implementation manner, the first message is one of a DHCP discovery discover message, a DHCPv6 request message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initial packet.
In a third aspect, an apparatus for overload processing is provided, where the apparatus is applied to a CP device in a network, and the network includes a control plane CP device and at least two user plane UP devices, and the apparatus includes:
an obtaining unit, configured to obtain a first packet sent by a first UP device, where the first UP device is one of the at least two UP devices;
and the processing unit is used for determining a first speed limiting strategy of the first UP equipment in response to the overload of the CP equipment, wherein the first speed limiting strategy is used for limiting the speed of the first message.
In one possible implementation, the apparatus further includes:
and the sending unit is used for sending a second message to the first UP equipment, wherein the second message comprises the first speed limiting strategy.
In a possible implementation manner, the obtaining unit is further configured to obtain 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 speed limit the first packet.
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 instruct the first UP device to send the first packet to the CP device based on the first rate.
In one possible implementation manner, the sending unit is further configured to send a fifth packet to the first UP device in response to meeting an overload recovery condition, where the fifth packet includes a second rate, and 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, and the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
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.
In one possible implementation, the second packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second message includes a message redirection interface control information Pri Control information field, and the Pri Control information field carries the first speed limiting policy.
In one possible implementation manner, the second packet is a control plane and user plane separation protocol CUSP packet.
In one possible implementation, the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
In a possible implementation manner, the processing unit is further configured to limit the speed of the first packet based on the first speed limit policy.
In one possible implementation manner, the processing unit is configured to limit the speed of the first packet based on the first speed limiting policy, and includes:
the processing unit is configured to discard the first packet based on the first speed limiting policy.
In a possible implementation manner, the processing unit is further configured to determine that the first UP device does not support speed limiting of the first packet.
In a possible implementation manner, the processing unit is configured to determine that the first UP device does not support speed limiting on the first packet, and includes:
the sending unit is configured to send a sixth packet to the first UP device, where the sixth packet includes a third rate, and 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 processing unit is configured to respond to the CP device obtaining a seventh packet sent by the first UP device, or not obtaining a feedback packet sent by the first UP device within a preset time, where the CP device determines that the first UP device does not support speed limiting of the first packet, the seventh packet includes second capability information, and the second capability information indicates that the first UP device does not support speed limiting of the first packet.
In one possible implementation, the processing unit is further configured to process the first packet based on a fourth rate in response to determining that the CP device is not overloaded.
In one possible implementation, the first speed limit policy is determined based on a priority of the first UP device;
or the first speed limiting strategy is determined based on the flow of the first message;
or the first speed limiting strategy limits the speed of the first message according to a first speed limiting rate in a first time period, limits the speed of the first message according to a second speed limiting rate in a second time period, wherein the first time period is a guaranteed sending time period of the first UP equipment, and the first speed limiting rate is larger than the second speed limiting rate;
Or the first speed limiting strategy limits the speed of the first message according to a third speed limiting rate in a third time period, limits the speed of the first message according to a fourth speed limiting rate in a fourth time period, wherein the third time period is earlier than the fourth time period, and the third speed limiting rate is smaller than the fourth speed limiting rate;
or the first speed limiting strategy is to limit the speed of the first message according to a fifth speed limiting rate, wherein the fifth speed limiting rate is smaller than the transmission rate of the first message before the speed of the first message is limited.
In a possible implementation manner, the at least two UP devices include a second UP device, and the acquiring unit is further configured to acquire an eighth packet sent by the second UP device;
and the processing unit is further configured to determine a second speed limit policy of the second UP device in response to determining that the CP device is overloaded, where the second speed limit policy is used to perform speed limit processing on the eighth packet.
In one possible implementation manner, the first speed limiting policy is used for indicating that the first packet is subjected to speed limiting processing according to a sixth speed limiting rate, the second speed limiting policy is used for indicating that the eighth packet is subjected to speed limiting processing according to a seventh speed limiting rate, the priority of the first UP device is higher than that of the second UP device, the sixth speed limiting rate is greater than that of the seventh speed limiting rate, or the flow of the first packet is greater than that of the eighth packet, and the difference between the sixth speed limiting rate and the transmission rate of the first packet before the speed limiting of the first packet is greater than the difference between the seventh speed limiting rate and the transmission rate of the eighth packet before the speed limiting of the eighth packet.
In one possible implementation, the determining that the CP device is overloaded includes one or more of determining that a resource utilization of the CP device exceeds a first threshold and determining that the CP device processing delay exceeds a second threshold.
In one possible implementation, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
In one possible implementation, the CP device and the at least two UP devices belong to a virtual broadband remote access server vbas.
In a possible implementation manner, the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, where the first message is a dial-UP message or a user access message.
In one possible implementation manner, the first message is one of a DHCP discovery discover message, a DHCPv6 request message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initial packet.
In a fourth aspect, an apparatus for overload processing is provided, where the apparatus is applied to a first UP device in 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 the first UP device, and the apparatus includes:
the acquisition unit is used for acquiring a second message sent by the CP equipment, wherein the second message comprises a first speed limiting strategy;
and the processing unit is used for limiting the speed of a first message based on the first speed limiting strategy, wherein the first message is a message sent by the first UP equipment to the CP equipment.
In one possible implementation, the apparatus further includes:
and the sending unit is used for sending a third message to the CP equipment, wherein the third message comprises first capability information, and the first capability information indicates that the first UP equipment can limit the speed of the first message.
In a possible implementation manner, the obtaining unit is further configured to obtain a fourth packet sent by the CP device, where the fourth packet includes a first rate, and 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 sending unit is further configured to send a first packet to the CP device based on the first rate.
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, where the first capability information indicates that the first UP device is capable of limiting a speed of the first packet, and the fifth rate is a rate at which the first UP device sends the first packet after limiting the speed of the first packet.
In one possible implementation manner, the processing unit is configured to limit the speed of the first packet based on the first speed limiting policy, and includes:
the processing unit is configured to configure a rate parameter based on the first speed limit policy, and adjust a rate of sending the first message to the CP device based on the rate parameter.
In one possible implementation, the rate parameter is a queue parameter or a committed information rate, CAR, parameter.
In a possible implementation manner, the obtaining unit is further configured to obtain a fifth packet sent by the CP device, where the fifth packet includes a second rate, where 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, and the fifth packet is generated and sent by the CP device in response to meeting an overload recovery condition, where the overload recovery condition includes 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.
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.
In one possible implementation, the second packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second message includes a message redirection interface control information Pri Control information field, and the Pri Control information field carries the first speed limiting policy.
In one possible implementation manner, the third packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second packet is a CUSP protocol packet.
In one possible implementation, the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
In one possible implementation, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
In one possible implementation, the CP device and the at least two UP devices belong to a virtual broadband access system vbas.
In a possible implementation manner, the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, where the first message is a dial-UP message or a user access message.
In one possible implementation manner, the first message is one of a DHCP discovery discover message, a DHCPv6 request message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initial packet.
In a fifth aspect, a system for overload processing is provided, where the system includes a control plane CP device and at least two user plane UP devices;
the CP device is configured to obtain a first packet sent by a first UP device, and determine, in response to determining that the CP device is overloaded, a first speed limit policy of the first UP device, where the first UP device is one of the at least two UP devices, and the first speed limit policy is used to limit a speed of the first packet.
In a possible implementation manner, the CP device is further configured to send a second packet to the first UP device, where the second packet includes the first speed limiting policy;
The first UP device is configured to obtain a second message sent by the CP device, limit a speed of the first message based on the first speed limit policy, where the first message is a message sent by the first UP device to the CP device.
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 first UP device can speed limit the first packet;
the CP device is further configured to obtain 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 is capable of limiting a speed of the first packet.
In one 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 instruct the first UP device to send the first packet to the CP device based on the first rate.
The first UP device is further configured to obtain a fourth packet sent by the CP device, send a first packet to the CP device based on the first rate, where the fourth packet includes a first rate, and 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.
In a possible implementation manner, the first UP device is further configured to send a ninth packet to the CP device, where the ninth packet includes first capability information and a fifth rate, where the first capability information indicates that the first UP device is capable of limiting a speed of the first packet, and the fifth rate is a rate at which the first UP device sends the first packet after limiting the speed of the first packet.
In one possible implementation manner, the first UP device is configured to limit a speed of a first packet based on the first speed limiting policy, and includes:
the first UP device is configured to configure a rate parameter based on the first speed limit policy, and adjust a rate of sending the first message to the CP device based on the rate parameter.
In one possible implementation, the rate parameter is a queue parameter or a committed information rate, CAR, parameter.
In one possible implementation manner, the CP device is further configured to send a fifth packet to the first UP device in response to meeting an overload recovery condition, where the fifth packet includes a second rate, and 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, and the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time;
The first UP device is further configured to obtain a fifth packet sent by the CP device, and send a first packet to the CP device based on the second rate.
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.
In one possible implementation, the second packet is a packet forwarding control PFCP protocol packet.
In one possible implementation, the second message includes a message redirection interface control information Pri Control information field, and the Pri Control information field carries the first speed limiting policy.
In one possible implementation manner, the second packet is a control plane and user plane separation protocol CUSP packet.
In one possible implementation, the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
In one possible implementation manner, the CP device is further configured to rate-limit the first packet based on the first rate-limiting policy.
In one possible implementation manner, the CP device is configured to rate-limit the first packet based on the first rate-limiting policy, and includes:
And the CP equipment is used for discarding the first message based on the first speed limiting strategy.
In one possible implementation manner, the CP device is configured to determine that the first UP device does not support speed limiting of the first packet.
In a possible implementation manner, the CP device is configured to determine that the first UP device does not support speed limiting processing of the first packet, where the CP device includes:
the CP device is configured to send a sixth packet to the first UP device, and in response to the CP device obtaining a seventh packet sent by the first UP device, or not obtaining a feedback packet sent by the first UP device within a preset time, determine that the first UP device does not support speed limiting for the first packet, where the sixth packet includes a third rate, and the third rate is configured to instruct the first UP device to send the first packet to the CP device based on the third rate, and the seventh packet includes second capability information, where the second capability information indicates that the first UP device does not support speed limiting for the first packet.
In one possible implementation, the CP device is further configured to process the first packet based on a fourth rate in response to determining that the CP device is not overloaded.
In one possible implementation, the first speed limit policy is determined based on a priority of the first UP device;
or the first speed limiting strategy is determined based on the flow of the first message;
or the first speed limiting strategy limits the speed of the first message according to a first speed limiting rate in a first time period, limits the speed of the first message according to a second speed limiting rate in a second time period, wherein the first time period is a guaranteed sending time period of the first UP equipment, and the first speed limiting rate is larger than the second speed limiting rate;
or the first speed limiting strategy limits the speed of the first message according to a third speed limiting rate in a third time period, limits the speed of the first message according to a fourth speed limiting rate in a fourth time period, wherein the third time period is earlier than the fourth time period, and the third speed limiting rate is smaller than the fourth speed limiting rate;
or the first speed limiting strategy is to limit the speed of the first message according to a fifth speed limiting rate, wherein the fifth speed limiting rate is smaller than the transmission rate of the first message before the speed of the first message is limited.
In one possible implementation manner, the at least two UP devices include a second UP device, the CP device is further configured to obtain an eighth packet sent by the second UP device, and in response to determining that the CP device is overloaded, determine a second speed limit policy of the second UP device, where the second speed limit policy is used to perform speed limit processing on the eighth packet.
In one possible implementation manner, the first speed limiting policy is used for indicating that the first packet is subjected to speed limiting processing according to a sixth speed limiting rate, the second speed limiting policy is used for indicating that the eighth packet is subjected to speed limiting processing according to a seventh speed limiting rate, the priority of the first UP device is higher than that of the second UP device, the sixth speed limiting rate is greater than that of the seventh speed limiting rate, or the flow of the first packet is greater than that of the eighth packet, and the difference between the sixth speed limiting rate and the transmission rate of the first packet before the speed limiting of the first packet is greater than the difference between the seventh speed limiting rate and the transmission rate of the eighth packet before the speed limiting of the eighth packet.
In one possible implementation, the determining that the CP device is overloaded includes one or more of determining that a resource utilization of the CP device exceeds a first threshold and determining that the CP device processing delay exceeds a second threshold.
In one possible implementation, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
In one possible implementation, the CP device and the at least two UP devices belong to a virtual broadband remote access server vbas.
In a possible implementation manner, the first message is transmitted through a message redirection interface PRi between the CP device and the first UP device, where the first message is a dial-UP message or a user access message.
In one possible implementation manner, the first message is one of a DHCP discovery discover message, a DHCPv6 request message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initial packet.
In a sixth aspect, embodiments of the present application provide a control plane device, where the control plane device includes a processor chip and a memory, where the memory is configured to store instructions or program code, and where the processor chip is configured to invoke and execute the instructions or program code from the memory to perform the method of overload processing as described in the foregoing first aspect.
In a seventh aspect, embodiments of the present application provide a user plane device, where the user plane device includes a processor chip and a memory, where the memory is configured to store instructions or program code, and where the processor chip is configured to invoke and execute the instructions or program code from the memory to perform the method of overload processing according to the foregoing second aspect.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium comprising instructions, a program or code, which when executed on a computer, causes the computer to perform the method of overload processing according to the first aspect or the method of overload processing according to the second aspect.
In a ninth aspect, embodiments of the present application provide a computer program product which, when run on a network device, causes the network device to perform the method of overload processing according to the first aspect, or the method of overload processing according to the second aspect.
Drawings
FIG. 1 is a schematic diagram of a network architecture;
FIG. 2 is a schematic diagram of a system architecture for implementing overload processing;
fig. 3 is a schematic architecture diagram of a system for implementing overload processing according to an embodiment of the present application;
fig. 4 is a schematic flow chart of an overload processing method according to an embodiment of the present application;
fig. 5 is a flow chart of another overload processing method according to an embodiment of the present application;
fig. 6 is a schematic diagram of a PFCP packet extension format provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a format of Pri Control information field according to an embodiment of the present disclosure;
Fig. 8a is a schematic diagram of another format of Pri Control information field provided in an embodiment of the present application;
fig. 8b is a schematic diagram of a format of a Pri Control information field according to an embodiment of the present application;
fig. 9 is a schematic format diagram of TLV fields included in a second packet according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a negotiation process between a CP device and a first UP device provided in an embodiment of the present application;
fig. 11 is a flowchart illustrating a negotiation process between another CP device and a first UP device provided in an embodiment of the present application;
fig. 12 is a flowchart illustrating a negotiation process between another CP device and a first UP device according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a CU separation system according to an embodiment of the present disclosure;
fig. 14 is a schematic flow chart of overload processing according to an embodiment of the present application;
fig. 15 is a flow chart of yet another overload processing method according to an embodiment of the present application;
FIG. 16 is a schematic diagram illustrating a structure of another CU separation system according to an embodiment of the present disclosure;
fig. 17 is a schematic flow chart of another overload processing provided in an embodiment of the present application;
fig. 18 is a schematic structural diagram of an apparatus for overload processing according to an embodiment of the present application;
Fig. 19 is a schematic structural diagram of another device for overload processing according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a system for overload processing according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of an apparatus according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of an apparatus according to an embodiment of the present application.
Detailed Description
Included in the broadband network is a network device that provides access to broadband network services for the subscriber. Network devices implemented to provide access to broadband network services for subscribers are, for example, broadband network gateways (broadband network gateway, BNG) or broadband remote access servers (broadband remote access server, BRAS).
In part of the broadband network, a virtual broadband remote access server (virtual broadband remote access server, vbas) is employed to provide services to subscribers accessing the broadband network. Compared with the entity BRAS, the vBRAS can realize CU separation based on SDN technology and NFV technology, can fully utilize resources, and is convenient for management and maintenance. Wherein the vbas may comprise one CP device and at least two UP devices. The CP device is able to manage multiple UP devices belonging to the same vbas.
Referring to fig. 1, a schematic diagram of a network architecture according to an embodiment of the present application is shown. The network comprises a terminal device 1, a terminal device 2, a home gateway (residential gateway, RG), an optical line terminal (optical line termination, OLT), an UP device 1, an UP device 2, a CP device and an authentication server. Wherein the terminal device 1 and the terminal device 2 are respectively connected with the home gateway. The home gateway is connected with the optical line terminal. The optical line terminals are connected to the UP device 1 and the UP device 2, respectively. The UP device 1 and the UP device 2 are connected to CP devices, respectively. The CP devices are respectively connected with a remote subscriber dial-in authentication service (remote authentication dial in user service, RADIUS) server, a dynamic host configuration protocol (dynamic host configuration protocol, DHCP) server, network function virtualization management and orchestration (network functions virtualization management andorchestration, MANO), and a network element management system (element management system, EMS). The CP equipment interacts with the RADIUS server and the DHCP server to realize authentication of the user and allocation of the IP address. The CP devices are under management control of the MANO and the EMS. The EMS is also connected to a UP device 1, a UP device, and a Core Router (CR), respectively, to implement management control of the UP device 1, the UP device, and the CR. The UP device 1 and the UP device 2 also access the network through CR, respectively. The UP device 1 is for providing a broadband access service to the terminal device 1, and the UP device 2 is for providing a broadband access service to the terminal device 2. See the dashed arrow in fig. 1, which identifies the transmission flow of the user access message. When the user 1 needs to access the broadband network, the terminal device 1 sends a user access message 1 to the UP device 1 providing broadband access service through the RG and the OLT. When the user 2 needs to access the broadband network, the terminal device 2 sends a user access message 2 to the UP device 2 providing broadband access service through the RG and the 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 equipment processes the user access message 1 and the user access message 2 respectively, and performs information interaction with the RADIUS server to finish authentication and authorization of the user 1 and the user 2. The CP device issues the entry of user 1 to UP device 1 so that UP device 1 provides service for user 1 to access broadband based on the entry of user 1. The CP device issues an entry of user 2 to UP device 2 so that UP device 2 provides user 2 with a service to access broadband based on the entry of user 2. See the solid arrows in fig. 1, which identify the transmission flow of the user data stream. When the user 1 transmits data after accessing the network, the user accesses the network through the RG, OLT, UP device 1 and CR. When the user 2 transmits data after accessing the network, the user accesses the network through the RG, OLT, UP device 2 and CR.
It can be seen that the CP device processes the user access message forwarded after the redirection of the plurality of UP devices. In some cases, for example, after a network failure recovery occurs, or the CP device is restarted, the CP device may acquire a large number of user access messages in a short time. The CP device cannot normally and quickly process a large number of user access messages, resulting in the CP device running beyond a specified bearing capacity, i.e., being overloaded. When the CP device is overloaded, it is difficult to normally process the user access message, which may cause that the user cannot access the broadband network, and affect the user to use the broadband network.
At present, there are three methods for overload processing of CP devices, and overload processing is performed by the UP device, a gateway of a network where the CP device is located, and the CP device respectively for overload situations. Referring to fig. 2, a flow chart of CU separation system service is shown. Wherein, the home gateway (residential gateway, RGW) at the user side is connected with 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 with the authentication server. The UP device is connected to the network through the CR. In an overload control method, when user access message is forwarded to a CP device, an UP device can perform overload control to prevent network attack flow from impacting the CP device. In another overload control method, the DC-gateway device deploys an access control list (access control list, ACL). The DC-gateway device uses the ACL to prevent the counterfeit UP device from sending attack messages to the CP device. In another overload control method, an overload control module is deployed in the CP device to control the user access messages with a larger number forwarded by the UP device, so as to prevent the service processing module in the CP device from being affected by the user access messages with the larger number. However, the above three methods are independently processed by the UP device, the gateway device and the CP device, and are difficult to coordinate based on the transmission condition of the user access message, so that the overload processing effect is poor.
In order to solve the above-mentioned problems, an embodiment of the present application provides an overload processing method. The overload processing method is applied to a network comprising a CP device and a plurality of UP devices, wherein the plurality of UP devices comprise a first UP device. The CP device acquires a first message sent by the first UP device, and determines a first speed limiting strategy of the first UP device when the CP device is overloaded. Based on the first speed limiting strategy, the first message can be subjected to speed limiting processing in a targeted manner, so that the effect of overload processing can be improved.
For convenience of understanding, an application scenario of the overload processing method provided in the embodiment of the present application is first described. Referring to fig. 3, a schematic architecture diagram of a system for implementing overload processing according to an embodiment of the present application is shown. 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 terminal device 301 is connected to UP device 303, terminal device 302 is connected to UP device 304, UP device 303 and UP device 304 are respectively connected to CP device 305, and CP device 305 is connected to server 306. The UP device 303 and the UP device 304 access the network 307, respectively.
Wherein terminal device 301 and terminal device 302 are devices that provide login services for the user. Terminal device 301 and terminal device 302 are devices that support access to a broadband network. The terminal device 301 and the terminal device 302 may be a desktop computer, a notebook computer, a customer terminal device (customer premise equipment, CPE), a digital video conversion box (STB), or the like. It should be noted that in some possible implementations, the user is determined based on the user identification, regardless of the device providing the login service. The user identification is, for example, a user name for a broadband dial of the user, or a family name of the family to which the user belongs. A user may log on to a number of different devices. The same device can also realize login of multiple users. The UP device 303, the UP device 304, and the CP device 305 belong to the same system providing access to broadband network services. In one possible implementation, the UP device 303, the UP device 304, and the CP device 305 belong to the same vbas. The UP device 303, the UP device 304, and the CP device 305 are in the form of virtual network functions (virtual network function, VNFs). The UP device 303 and the UP device 304 are vbas-UP devices. CP device 305 is a vbas-CP device. Server 306 is a server in the network that handles user authentication and provides authentication authorization services. Server 306 is, for example, an authentication, authorization, and accounting (authentication, authorization, accounting, AAA) server, or a remote authentication dial-in user service (remote authentication dial in user service, RADIUS) server.
It should be noted that the system architecture schematic shown in fig. 3 is only one example provided in the embodiment of the present application. The overload processing method provided by the embodiment of the present application is not limited to the scenario shown in fig. 3. For example, the overload processing method provided in the embodiment of the present application can be applied to the system architecture shown in fig. 1 and fig. 2.
An overload processing method provided in the embodiment of the present application is described below with reference to fig. 3. Referring to fig. 4, the flow chart of an overload processing method provided in the embodiment of the present application is shown. The overload processing method provided by the embodiment of the application comprises S401-S402.
S401: the CP device acquires a first message sent by a first UP device.
The CP device and the first UP device belong to the same system for providing broadband network access service to the user. In one possible implementation, the CP device manages multiple UP devices. That is, a system for providing broadband network access service to one user includes a CP device and a plurality of UP devices. The first UP device is one of a plurality of UP devices managed by the CP device. As an example, the CP device and the first UP device belong to a vbas.
As shown in connection with fig. 3, the CP device is a CP device 305, and the first UP device is either a UP device 303 or a UP device 304.
The first message is generated by a terminal device of the first UP device providing broadband network access service. Taking the above example of fig. 3, the first UP device is UP device 303. The UP device 303 is used to provide broadband network access services to users logged on to the terminal device 301. The terminal device 301 generates a first message for accessing the broadband network based on the information of the logged-in user, and transmits the first message to the UP device 303. After the UP device 303 acquires the first packet, it redirects 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 interfaces. The three interfaces are a management Interface (Mi), a report Wen Chongding to Interface (packet redirection Interface, PRi) and a state control Interface (state control Interface, SCi), respectively. The CP device sends configuration information to the first UP device through Mi. And the CP equipment acquires a first message sent by the first UP equipment through the PRi. As an example, PRi is a user plane generic wireless packet service tunneling protocol (general packet radio service tunnel protocol for the user plane, GTP-U) tunnel extended in the TR459 specification, or a virtual extensible local area network generic protocol extension (virtual extensible local area network generic Protocol extension, VXLAN GPE) tunnel in the TR487 specification. And the CP equipment transmits user session (session) information to the first UP equipment through the SCi, and acquires statistics or detection results of the user session reported by the first UP equipment. As an example, SCi is established based on the third generation partnership project (3rd generation partnership project,3GPP) messaging control protocol (packet forwarding control protocol, PFCP) extended in the TR459 specification, or based on the control plane and user plane separation protocol (control plane and user plane separated protocol, CUSP) in the TR487 specification.
The first message is used for realizing the access of the user to the broadband network. The first message is a dial message or a user access message. The specific type of the first message is related to the traffic type. As an example, the traffic 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 one of a DHCP discover (discover) message, a version 6 dynamic host configuration protocol (dynamic host configuration protocol version, dhcpv 6) request (solicit) message, a version six internet protocol (internet protocol version, ipv 6) packet, and a version four internet protocol (internet protocol version, ipv 4) packet. As another example, the traffic type is a point-to-point protocol over ethernet (PPPoE) type over ethernet. The first message is a PPPoE active discovery initiation packet (PPPoE active discovery initiation, PADI).
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 message.
Overload of a CP device refers to a state in which the CP device operates beyond a standard load. The overload of the CP device can be judged based on the operation condition of the CP device.
The embodiment of the application is not limited to a specific implementation manner of judging whether the CP device is overloaded. In one possible implementation, the usage of the internal components and resources of the CP device is detected in real time, where the detection content includes, but is not limited to, central processing unit (central processing unit, CPU) utilization, memory utilization, RADIUS authentication timeout rate, and system internal module processing delay variation. And comprehensively judging whether the CP equipment is overloaded according to the current use condition and the index of each detection content. As some examples, threshold values for the respective detection contents are set in advance. The threshold value may be customized based on the particular detection. The overload of the CP device is determined when the correlation value of one or more detected content exceeds the threshold value of the detected content. As other examples, in some cases, the difference between the correlation value of the detected content and the threshold value of the detected content is within a preset range, and the overload of the CP device is determined.
For example, in one possible implementation, the resource utilization of the CP device is obtained. And when the resource utilization rate of the CP equipment exceeds a first threshold value, determining that the CP equipment is overloaded. The first threshold is a threshold of resource utilization. And when the resource utilization rate of the CP equipment exceeds a first threshold value, determining that the CP equipment is not overloaded. The resource utilization rate is, for example, a memory utilization rate, or is, for example, a CPU utilization rate. In another possible implementation, the CP device processing delay is obtained. And when the processing delay of the CP equipment exceeds a second threshold value, determining that the CP equipment is overloaded. And when the processing delay of the CP equipment does not exceed the second threshold value, determining that the CP equipment is not overloaded. Wherein the CP device processing delay is a delay of the CP device processing the service. The second threshold is a threshold of the CP device processing delay. The CP device processes the delay, such as the timeout period for user authentication, and also, such as the delay for processing the first message by the CP device system. In yet another possible implementation, whether the CP device is overloaded is determined comprehensively based on the resource utilization of the CP device and the CP device processing delay. And when the resource utilization rate of the CP equipment exceeds a first threshold value and the processing delay of the CP equipment exceeds a second threshold value, determining that the CP equipment is overloaded.
In response to the CP device being overloaded, the CP device determines a first speed limit policy for the first UP device. The first speed limiting strategy is a speed limiting strategy aiming at the speed limit of the first message. According to the first speed limiting strategy, accurate speed limiting processing can be performed on the first message based on the transmission condition of the first message or based on the operation condition of the first UP device, so that messages to be processed by the CP device are reduced, and overload condition of the CP device is relieved. Thus, the first message is subjected to speed limiting processing, and the overload relieving effect of the CP equipment is good.
As one example, the first rate limiting policy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending. The transmission speed-limiting rate is the speed-limiting rate of the first UP equipment for transmitting the first message. The rate percentage is the percentage of the rate of the first UP device transmitting the first message after the speed limit of the first UP device to the rate of the first message before the speed limit. And the sending stopping time length is the time length of stopping sending the first message by the first UP equipment.
It should be noted that the embodiments of the present application do not limit the number of times the CP device determines the first speed limit policy during overload of the CP device. In some possible implementation manners, the CP device can determine the first speed limiting policy multiple times based on the transmission condition of the first message, so that the determined first speed limiting policy is relatively matched with the operation condition of the CP device and the transmission condition of the first message, and a relatively good overload processing effect is achieved.
Embodiments of the present application are not limited to a particular implementation of determining the first speed limit policy. As an example, the CP device can determine the first speed limit policy based on a preset manner of determining the first speed limit policy and an algorithm. Five possible specific implementations of determining the first speed limit strategy are described below.
First kind: and presetting conditions.
The preset condition refers to preset priority of the UP device.
In determining the first speed limit policy, the first speed limit policy is determined based on the priority of the first UP device.
The CP device can determine a first speed limit 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. The embodiment of the application does not limit the implementation manner of setting the priority of the first UP device. In one possible implementation, a definition interface is provided externally, through which the user can set the priority of the first UP device. In another possible implementation, the priority of the first UP device is determined based on the region in which the first UP device is located. For example, if the first UP device is located in a more critical area that provides a service for the user to access the network, the priority of the first UP device is higher.
Second kind: and (5) punishment judgment.
The penalty judgment refers to determining the speed limiting strategy of the UP equipment according to the flow of a message sent by the UP equipment to the CP equipment. For example, for an UP device with more traffic for sending a redirected message to a CP device, in a corresponding speed limiting policy, the greater the degree of limitation on the message sent to the CP device. For the UP device with less traffic for sending the redirected message to the CP device, the restriction degree of the message sent to the CP device is smaller in the corresponding speed limiting strategy.
And when the first speed limit strategy of the first UP equipment is determined, determining the first speed limit strategy based on the flow of the first message sent by the first UP equipment.
The CP device determines a first speed limiting strategy based on the flow of the first message sent by the first UP device. And when the flow of the first message is large, the limitation degree of the first message is improved. And when the flow of the first message is smaller, reducing the limitation degree of the first message. In one possible implementation, the algorithm is used to determine the first speed limit policy based on the traffic of the transmitted first message.
Third kind: and (5) weight polling.
The weight polling refers to determining the speed limiting strategy of the UP equipment according to the guaranteed sending time period of each UP equipment after overload. In the guaranteed sending time period of the UP device, the limitation degree of the message sent to the CP device by the UP device is lower. The guaranteed transmit time periods for different UP devices may be different. So can adjust UP equipment by batch according to guarantee transmission time period.
When the first speed limit strategy of the first UP device is determined, the first speed limit strategy is determined based on the guaranteed sending time period of the first UP device.
The guaranteed sending time period is a time period for guaranteeing the first UP equipment to send the first message. The time period may be divided by a time window timer, with different UP devices having corresponding guard time periods. Therefore, different UP devices can limit the speed of the message according to batches.
The guard transmission period of the first UP device is predetermined. For example, the first message is limited according to a first speed limit rate in a first time period, and the first message is limited according to a second speed limit rate in a second time period. The first time period is a guaranteed sending time period of the first UP device. The first rate of speed is greater than the second rate of speed.
Fourth kind: and (5) weighting successively.
Successive weighting means that the speed limiting strategy of the UP device is adjusted according to the overload condition of the CP device in different time periods along with the time. For example, after the CP device is overloaded, the limitation degree of the message sent by the UP device to the CP device is first increased. And after overload of the subsequent CP equipment is relieved, the limitation degree of the message sent by the UP equipment to the CP equipment is reduced.
In determining the first speed limit policy of the first UP device, the first speed limit policy is determined based on the time period.
And determining corresponding speed limiting rates in different time periods according to the overload processing condition of the CP equipment. The time period may be divided by a time window timer. In one possible implementation, the earlier time period corresponds to a lower rate of speed limit and the later time period corresponds to a higher rate of speed limit. For example, the first message is limited in a third time period according to a third speed limiting rate, and the first message is limited in a fourth time period according to a fourth speed limiting rate. Wherein the third time period is earlier than the fourth time period, and the third rate-limiting rate is less than the fourth rate-limiting rate.
Fifth: default policies.
The default policy refers to that after the CP device is overloaded, messages sent by all UP devices to the CP device are more evenly limited.
And when the first speed limit strategy of the first UP equipment is determined, determining the first speed limit strategy based on the transmission rate of the first message.
And determining a fifth speed limit rate included in the first speed limit strategy based on the transmission rate of the first message. In one possible implementation, the fifth rate of speed is less than the transmission rate of the first message prior to the first message being speed limited.
And after the first speed limiting strategy is determined, carrying out speed limiting processing on the first message based on the first speed limiting strategy. In one possible implementation, after the CP device determines the first speed limit policy, the CP device sends the first speed limit policy to the first UP device. The first UP equipment can adjust the process of sending the first message based on the first speed limiting strategy, and speed limiting processing of the first message is achieved. In another possible implementation manner, after the CP device determines the first speed limit policy, the CP device performs speed limit processing on the first message based on the first speed limit policy. The two processes of speed limiting processing on the first message are respectively described below.
First kind: the first UP device limits the speed of the first message based on a first speed limiting strategy.
Referring to fig. 5, a flow chart of another overload processing method according to an embodiment of the present application is shown. The overload processing method provided by the embodiment of the application comprises S501-S505.
S501: the CP device acquires a first message sent by a first UP device.
S502: in response to determining that the CP device is overloaded, the CP device determines a first speed limit policy for the first UP device.
It should be noted that S501-S502 are similar to S401-S402, and are specifically described above, and are not repeated here.
S503: the CP device sends a second message including the first speed limit policy to the first UP device.
The CP device can generate and send a second message including the first speed limit policy to the first UP device. In one possible implementation, the CP device sends the second message to the first UP device through the SCi.
The second message is, for example, an update connection request (association update request). The embodiment of the application is not limited to the specific type of the second message. As some examples, specific types of two second messages are provided below.
In one possible implementation, the second message is a packet forwarding control protocol (Packet Forwarding Control Protocol, PFCP) message.
Referring to fig. 6, the diagram is a schematic diagram of a PFCP packet extension format provided in an embodiment of the present application. The message Wen Chongding is configured to interface control information (Pri Control information) as an extended grouped IE in the PFCP message. Wherein the message Wen Chongding occupies the first byte and the second byte to an interface control information element type (Pri Control information (to-CP) information elements type) field. The length field occupies the third byte and the fourth byte. The information element (information elements, IE) field occupies the following byte.
The information elements field may be an Overload Metric (Overload Metric) field, a rate limit (rate limit with kbps, RBPS) field of a transport stream, and a rate limit (rate limit with packets per second, RPKTS) field of a transport message.
Wherein the IE type of the Overload Metric field is a Metric (Metric) type. The priority (P) of the Overload Metric field is optional (O). The value of the Overload Metric field is used to indicate the Overload condition of the CP device. Values are expressed as percent values ranging from 0 to 100. The larger the value, the greater the degree of overload of the CP device. The smaller the value, the smaller the overload level of the CP device.
The IE type of the RBPS field is an RBPS type. The RBPS field has priority of a mandatory (M) option. The RBPS field carries a value representing the rate limit rate. The RBPS field carries a value in kbps representing the traffic of a data stream in kbps transmitted per second. The RBPS field indicates a rate limiting rate indicating that the UP device uses a numerical representation to rate control a message redirected to a message transmitted to the CP device through the Pri interface, that is, a message transmitted to the CP device.
The IE type of the RPKTS field is an RPKTS type. The priority of the RPKTS field is Conditional (C). The value carried by the RPKTS field represents the rate limit rate. The unit of the value carried by the RPKTS field is packets/1second, which represents the number of messages transmitted per second. The RPKTS field instructs the UP device to rate control the redirection to a message sent to the CP device over the Pri interface using the numerically represented rate-limiting rate. The unit is packets/1second, which indicates the number of messages sent per second. In addition, the RPKTS field can also carry a secondary information elements field. The secondary information elements field carries a rate parameter indicating rate control with the rate parameter.
The second message includes a message redirection interface control information (Pri Control information) field. The Pri Control information field carries a first speed limit policy.
Taking the example that the first speed limiting policy includes a transmission speed limiting rate as an example, referring to fig. 7, this is a schematic diagram of a format of Pri Control information fields provided in an embodiment of the present application. Wherein the type field occupies two bytes. The length field occupies two bytes. The information element (information elements) field is a plurality of bytes. The information element field carries the transmission rate limit rate. m is a positive integer greater than 5.
Specifically, in one possible implementation, the transmission limiting rate is a rate limit (rate limit with kbps, RBPS) of the transmission data stream. The RBPS is used to indicate the traffic of a data stream in kbps transmitted per second. Referring to fig. 8a, a schematic diagram of another format of Pri Control information field according to an embodiment of the present application is shown. Wherein the first byte and the second byte are type fields, the third byte to the sixth byte are information elements fields, and the information elements field carries an RBPS.
In another possible implementation, the transmission rate limiting rate is a rate limit (rate limit with packets per second, RPKTS) for transmitting messages. The RPKTS is used to indicate the number of messages transmitted per second. Referring to fig. 8b, a schematic format of a further Pri Control information field according to an embodiment of the present application is shown. Wherein the first byte and the second byte are type fields, the third byte to the sixth byte are information elements fields, and the information elements field carries RPKTS.
In another possible implementation, the second message is a CUSP message.
The second message includes a type length value (type length value, TLV) field. The TLV field carries a first speed limit policy. Referring to fig. 9, the format schematic diagram of TLV fields included in a second packet according to an embodiment of the present application is shown. 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 a transmission rate limit rate, a rate percentage, and a stop sending time duration included in the first rate limiting policy.
As an example, the traffic type is PPPoE type and the first speed limiting policy includes a transmission speed limiting rate. The second message carries the committed access rate (committed access rate, CAR). The CAR is used for indicating the transmission speed limiting rate of the first message. The value of the type field in the TLV field carried by the second message is CUCTLI_TLV_PADI_SET_CAR, the value of the length field is 329, and the value field is the value of the transmission speed limiting rate.
The second message can include overload information in addition to the first speed limit policy. The overload information is used to indicate the overload degree of the CP device. Taking the second message as a PFCP message as an example, a 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 range is from 0 to 100. The larger the overload parameter value is, the higher the overload degree of the CP equipment is; the smaller the overload parameter value, the lower the overload degree of the CP device.
S504: the first UP device acquires a second message sent by the CP device.
S505: the first UP device limits the speed of the first message based on a first speed limiting strategy.
The first UP device can obtain the first speed limit policy from the second message. And the first UP equipment carries out speed limiting processing on the first message based on a first speed limiting strategy.
In some possible implementations, the first rate limiting policy includes a transmission rate limit. The first UP device can control the rate at which the first message is sent based on the transmission rate limiting rate configuration. For example, the first UP device configures a rate parameter for controlling the sending of the first message based on the transmission rate-limiting rate, and sends the first message based on the configured rate parameter. Wherein the rate parameter is a queue parameter or a CAR parameter.
And the first UP equipment limits the speed of the first message sent to the CP equipment by using the first speed limiting strategy, and realizes overload processing on the UP equipment, so that the number of the first messages required to be processed by the CP equipment is reduced. The first speed limiting strategy determined by the first UP equipment or the first message can be matched with the transmission condition of the first message, so that a better overload control effect is achieved.
In some possible implementations, the first UP device further sends a ninth message to the CP device after the first UP device rate limits the first message based on the first rate limiting policy. The ninth message 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 limit the speed of the first message. The fifth rate is the rate at which the first UP device actually transmits the first message after the first UP device limits the first message based on the first speed limiting policy. The CP device can determine, based on the ninth message, that the first UP device performs speed limiting processing on the first message based on the first speed limiting policy, and can determine, based on the fifth speed, a current situation in which the first UP device transmits the first message.
In some possible implementations, before the CP device sends the second packet to the first UP device, it needs to be predetermined that the first UP device has a function of performing speed limiting processing on the first packet. The process by which the CP device determines whether the first UP device has speed limit processing for the first message is also referred to as a negotiation process. The embodiments of the present application are not limited to the device that initiates the negotiation process. In one possible implementation, the first UP device can actively initiate the negotiation. In another possible implementation, the CP device actively initiates the negotiation.
The overload processing method of negotiation initiated by the CP device and by the first UP device will be described below, respectively.
First, a procedure of the first UP device initiating negotiation will be described.
Referring to fig. 10, the flowchart of a negotiation process between a CP device and a first UP device provided in the embodiment of the present application includes S1001-S1003.
S1001: the first UP device sends a third message to the CP device.
The first UP device generates a third message including first capability information based on the capability of supporting the first message by itself. The first capability information indicates that the first UP device can limit the speed of the first message. In one possible implementation, the first capability information is a parameter indicating that the first UP device has a capability to rate limit the first message. In another possible implementation manner, the first capability information is a transmission rate at which the first UP device transmits the first message currently.
The third message is, for example, a request to establish a connection (association setup request). The embodiment of the application is not limited to the specific type of the third message. As an example, the third packet is a PFCP packet. The third message includes a user plane extension capability item (UP Function Feature) field. The UP Function Feature field carries first capability information. The first capability information is carried, for example, in a CP device overload control (CP overload control) field included in the UP Function Feature field.
As another example, the third message is a CUSP message. The third message includes a TLV field. The TLV field carries first capability information. As an example, the traffic type is PPPoE type. The second message 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 of the first message transmitted by the current first UP device.
The embodiment of the present application does not limit the condition for triggering S1001. In one possible implementation, the first UP device generates and sends the third message to the CP device in response to the first UP device successfully registering with the CP device, that is, in response to the first UP device successfully connecting with the CP device.
The first UP device can send a third message to the CP device through the SCi.
S1002: and the CP equipment acquires the third message.
The CP device can obtain the third message sent by the first UP device through the SCi.
S1003: the CP device determines that the first UP device can limit the speed of the first message based on the third message.
The CP device can determine that the first UP device can limit the speed of the first message according to the first capability information included in the third message. Upon determining that overload has occurred, the CP device can send a second message including the first speed limit policy to the first UP device.
In addition, the CP device can also record an UP device supporting the speed limit of sending a message to the CP device, so as to send a corresponding speed limit policy to the UP device. For example, after determining that the first UP device is capable of rate limiting the first message, the CP device records a device identification of the first UP device in a database or a management list.
In one possible implementation, after the CP device determines that the first UP device can rate limit the first message, the CP device can instruct the first UP device to transmit the rate of the first message.
Referring to fig. 11, the flow chart of a negotiation process between another CP device and a first UP device provided in the embodiment of the present application is shown. In addition to the above S1001 to S1003, S1004 and S1006 are included.
S1004: the CP device sends a fourth message including the first rate to the first UP device.
The first rate carried by the fourth message is used for indicating the first UP device to send the first message to the CP device based on the first rate. The first rate is a preset sending rate of the first message under the non-overload condition. As one example, the first rate is greater than a transmission rate limit included in the first rate limiting policy.
The fourth message is, for example, a connection establishment response (association setup response). As an example, the fourth packet is a PFCP packet. The fourth message includes 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 a first message to the CP device based on the first rate. As another example, the fourth message is a CUSP message. The fourth message includes a TLV field. The TLV field carries a first rate. As an example, the traffic 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 by 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 a fourth message to the first UP device through the SCi.
S1005: the first UP equipment acquires a fourth message.
The first UP device can receive the fourth message sent by the CP device through the SCi.
S1006: the first UP device adjusts a rate at which the first message is sent based on the first rate.
The first UP device adjusts the sending rate of the first message based on the first rate in the fourth message. In one possible implementation, the first UP device is capable of configuring a rate parameter based on the first rate, and adjusting a rate at which the first message is sent based on the rate parameter. Wherein the rate parameter is a queue parameter or a CAR parameter.
The above description is given to the procedure of the first UP device actively initiating the negotiation, and the following description is given to the procedure of the CP device actively initiating the negotiation.
Referring to fig. 12, the flowchart of a negotiation process between another CP device and a first UP device provided in the embodiment of the present application includes S1201-S1206.
S1201: the CP device sends a fourth message including the first rate to the first UP device.
The present embodiment does not limit the condition that triggers S1201. In one possible implementation, the CP device generates the fourth message including the first rate in response to the first UP device successfully registering with the CP device, that is, in response to the CP device successfully connecting with the first UP device.
The first rate carried by the fourth message is used for indicating the first UP device to send the first message to the CP device based on the first rate. The first rate is a preset sending rate of the first message under the non-overload condition. As one example, the first rate is greater than a transmission rate limit included in the first rate limiting policy.
The fourth message is, for example, a connection establishment request (association setup request). As an example, the fourth packet is a PFCP packet. The fourth message includes 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 a first message to the CP device based on the first rate. As another example, the fourth message is a CUSP message. The fourth message includes a TLV field. The TLV field carries a first rate. As an example, the traffic 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 by 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 a fourth message to the first UP device through the SCi.
S1202: the first UP equipment acquires a fourth message.
The first UP device can acquire a fourth message sent by the CP device through the SCi.
S1203: the first UP device adjusts a rate at which the first message is sent based on the first rate.
The first UP device has a function of adjusting a transmission rate of the first message. The first UP device adjusts the sending rate of the first message based on the first rate in the fourth message. In one possible implementation, the first UP device is capable of configuring a rate parameter based on the first rate, and adjusting a rate at which the first message is sent based on the rate parameter. Wherein the rate parameter is a queue parameter or a CAR parameter.
S1204: the first UP device sends a third message to the CP device.
The first UP device generates a third message including the first capability information. The first capability information indicates that the first UP device can limit the speed of the first message. In one possible implementation, the first capability information is a parameter indicating that the first UP device has a capability to rate limit the first message. In another possible implementation manner, the first capability information is a transmission rate at which the first UP device transmits the first message currently. It should be noted that, the current transmission rate of the first UP device to transmit the first packet is an actual transmission rate of the first UP device to transmit the first packet based on the first rate.
In some possible implementations, the third message is, for example, a set-up connection reply (association setup response). The embodiment of the application is not limited to the specific type of the third message. As an example, the third packet is a PFCP packet. The third message includes a user plane extension capability item (UP Function Feature) field. The UP Function Feature field carries first capability information. As another example, the third message is a CUSP message. The third message includes a TLV field. The TLV field carries first capability information.
S1205: and the CP equipment acquires the third message.
The CP device can obtain the third message sent by the first UP device through the SCi.
S1206: the CP device determines that the first UP device can limit the speed of the first message based on the third message.
The CP device can determine that the first UP device can limit the speed of the first message according to the first capability information included in the third message. Upon determining that overload has occurred, the CP device can send a second message including the first speed limit policy to the first UP device.
In addition, the CP device can also record an UP device supporting the speed limit of sending a message to the CP device, so as to send a corresponding speed limit policy to the UP device. For example, after determining that the first UP device is capable of rate limiting the first message, the CP device records a device identification of the first UP device in a database or a management list.
Through the overload process, the overload condition of the CP device may be eliminated, that is, 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 is matched with the running state of the CP equipment.
Further, the overload processing method further comprises the following steps:
a1: in response to the overload recovery condition being met, the CP device sends a fifth message 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 normal. As one example, the overload recovery condition includes one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
Wherein, the overload of the CP device is not judged based on the operation condition of the CP device. In one possible implementation, the resource utilization of the CP device is obtained. And when the resource utilization rate of the CP equipment is lower than a first threshold value, determining that the CP equipment is not overloaded. The resource utilization rate is, for example, a memory utilization rate, or is, for example, a CPU utilization rate. In another possible implementation, the CP device processing delay is obtained. And when the processing delay of the CP equipment is lower than a second threshold value, determining that the CP equipment is not overloaded. Wherein the CP device processing delay is a delay of the CP device processing the service. The CP device processes the delay, such as the timeout period for user authentication, and also, such as the delay for processing the first message by the CP device system. In yet another possible implementation, whether the CP device is overloaded is determined comprehensively based on the resource utilization of the CP device and the CP device processing delay. And when the resource utilization rate of the CP equipment is lower than a first threshold value and the processing delay of the CP equipment is lower than a second threshold value, determining that the CP equipment is not overloaded.
The preset recovery time is the time for the preset CP equipment to recover to normal operation. The preset restoration time can be determined based on the operation state of the CP device or the overload processing manner of the CP device.
After determining that the overload recovery condition is met, the CP device needs to adjust the transmission rate of the first message. The CP device sends a fifth message including the second rate to the first UP device. The second rate is used for indicating the first UP device to send the first message 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 in the case that the CP device is not overloaded. In some possible implementations, the second rate is greater than the first rate.
The CP device can send a fifth message 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 application is not limited to the specific type of the fifth message. As an example, the fifth packet is a PFCP packet. The fifth message includes Pri Control information field. The Pri Control information field carries the second rate. As another example, the fifth message is a CUSP message. The fifth message includes a TLV field. The TLV field carries a second rate.
A2: the first UP device acquires a fifth message including the second rate transmitted by the CP device.
A3: the first UP device sends a first message to the CP device based on the second rate.
The first UP device can adjust a sending rate of the first message based on a second rate included in the fifth message. In one possible implementation, the first UP device is capable of configuring a rate parameter based on the second rate, and adjusting the rate at which the first message is sent based on the rate parameter. Wherein the rate parameter is a queue parameter or a CAR parameter.
In addition, the first UP device can also transmit an update connection reply to the CP device after adjusting the transmission rate of the first message based on the second rate included in the fifth message. The update connection reply includes the first capability information. The first capability information indicates that the first UP device can limit the speed of the first message. The CP device can determine, based on the ninth message, that the update connection reply 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 following describes an overload processing method provided in the embodiments of the present application with reference to a specific scenario. Referring to fig. 13, the structure of a CU separation system according to an embodiment of the present application is shown. Wherein, the home gateway RGW at the user side is connected with the first UP device through the OLT. The first UP device is connected to the CP device through a DC-gateway device. The CP device is connected with the authentication server. The first UP device is connected to a network through a CR. In the embodiment of the application, the first UP device limits the speed of the first message based on the first speed limiting policy. The CP equipment comprises 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 equipment judges overload by utilizing the overload sampling module, a first speed limiting strategy of the first UP equipment is determined by utilizing the strategy module, and the first speed limiting strategy is issued to the UP overload control module of the first UP equipment by utilizing the CP overload control module. The UP overload control module of the first UP device is configured to receive a first speed limiting policy and configure the PRi rate control module based on the first speed limiting policy. And the PRi rate control module is used for realizing speed limiting processing on the first message.
Referring to fig. 14, a schematic flow chart of overload processing is provided in 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 UP overload control module 1404 and PRi rate control module 1405.
Wherein, the overload sampling module 1401 is configured to determine whether the CP device is overloaded. In one possible implementation, the oversampling module 1401 obtains the resource utilization of the CP device. The overload sampling module 1401 determines that the CP device is overloaded when the resource utilization of the CP device exceeds a first threshold. When the resource utilization of the CP device exceeds a first threshold, 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 is, for example, a CPU utilization rate. In another possible implementation, the oversampling module 1401 obtains the CP device processing delay. The overload sampling module 1401 determines that the CP device is overloaded when the CP device processing delay exceeds a second threshold. When the CP device processing delay does not exceed the second threshold, the oversampling module 1401 determines that the CP device is not overloaded. Wherein the CP device processing delay is a delay of the CP device processing the service. The CP device processes the delay, such as the timeout period for user authentication, and also, such as the delay for processing the first message by the CP device system. In yet another possible implementation, whether the CP device is overloaded is determined comprehensively based on the resource utilization of the CP device and the CP device processing delay. And when the resource utilization rate of the CP equipment exceeds a first threshold value and the processing delay of the CP equipment exceeds a second threshold value, determining that the CP equipment is overloaded.
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 state to the CP overload control module 1402. The overload state includes both an overload and a non-overload state. In the case of determining that the CP device is overloaded, the overload sampling module 1401 transmits a message that the overload state is overloaded to the CP overload control module 1402.
The CP overload control module 1402 determines the first speed limit policy of the first UP device based on the policy module 1403 after receiving the notification issued by the overload sampling module 1401. As one example, CP overload control module 1402 sends a parameter request to policy module 1403. The parameter request carries the related information of the first UP equipment.
The policy module 1403 determines a first speed limit policy for the first UP device based on the obtained parameter request. The embodiments of the present application do not limit the specific implementation of the policy module 1403 in determining the first speed limit policy of the first UP device. In some possible implementations, the policy module 1403 can determine the first speed limit policy in the five ways of determining the speed limit policy described above. Please refer to the above, and detailed description thereof is omitted herein. The policy module 1403 sends the UP device speed limit list to the CP overload control module 1402. The UP device speed limit list includes speed limit policies of respective UP devices that send user access messages to the CP devices. The UP device speed limit list includes a first speed limit policy of the first UP device.
The CP overload control module 1402 sends the first speed limit policy to the first UP device through the SCi interface connected to the first UP device after determining the first speed limit policy of the first UP device.
The UP overload control module 1404 of the first UP device is configured to receive a first rate limit rate issued 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 limiting processing on a PRi interface where the first UP device is connected to the CP device according to the first rate limiting policy. For example, a first message sent to the CP device is discarded based on a first speed limit policy.
In addition, CP overload control module 1402 and UP overload control module 1404 are further configured to implement negotiation of the CP device with the first UP device. In one possible implementation, negotiations are actively initiated by the CP device. The CP overload control module 1402 sends a fourth message to the UP overload control module 1404. The UP overload control module 1404 sends a third message carrying the first capability information to the CP overload control module 1402 based on the fourth message. The CP overload control module 1402 determines, according to the third message, that the first UP device is capable of limiting the speed of the first message. In another possible implementation, the negotiation is actively initiated by the first UP device. The UP overload control module 1404 sends a third message carrying the first capability information to the CP overload control module 1402. The CP overload control module 1402 determines that the first UP device is capable of rate limiting the first message based on the first capability information. The CP overload control module 1402 also can send a fourth message to the UP overload control module 1404. The fourth message carries the first rate. The first rate is used to direct the first UP device to send a first message.
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, reference is made to the detailed description of the corresponding steps in the foregoing embodiments, and will not be repeated here
The above is a procedure in which the first UP device adjusts the sending of the first message based on the first speed limit policy. The following describes the speed limiting process of the first message by the CP device based on the first speed limiting policy.
Second kind: the CP device limits the first message based on a first speed limit policy.
Referring to fig. 15, a flow chart of another overload processing method according to an embodiment of the present application is shown. The overload processing method provided by the embodiment of the application comprises S1501-S1503.
S1501: the CP device acquires a first message sent by a first UP device.
S1502: in response to determining that the CP device is overloaded, the CP device determines a first speed limit policy for the first UP device.
It should be noted that S1501-S1502 are similar to S401-S402, and are specifically described above, and are not repeated here.
S1503: the CP device limits the first message based on a first speed limit policy.
And the CP equipment carries out speed limiting processing on the acquired first message based on the determined first speed limiting strategy of the first UP equipment. The embodiment of the application does not limit the specific implementation manner of the CP device to limit the speed of the first message based on the first speed limiting policy. As one example, the first rate limiting policy includes a transmission rate limiting rate. Based on the transmission speed limit rate, the CP equipment only acquires the first message in the transmission speed limit rate limit, and discards the first message exceeding the transmission speed limit rate. As another example, the first speed limit policy includes a length of time to stop sending, and the CP device discards the first message acquired during the length of time to stop sending.
In some possible implementations, the CP device determines that the first UP device does not support rate limiting the first message before rate limiting the first message based on the first rate limiting policy.
As one 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 message.
As another example, the CP device negotiates with the first UP device, and determines that the first UP device does not have a function of limiting the speed of the first message based on a procedure of the negotiation. Specifically, the CP device sends a sixth packet including the third rate to the first UP device. The third rate is used for indicating the first UP device to send the first message 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, which does not have the first message sending rate adjustment, cannot adjust the sending rate of the first message based on the third rate after acquiring the sixth message. In one possible implementation, the first UP device sends a seventh message including the second capability information to the CP device. The second capability information indicates that the first UP device does not support rate limiting of the first message. After the CP device acquires the seventh message, the CP device can determine that the first UP device does not support speed limiting of the first message based on the second capability information. In another possible implementation, the first UP device that does not have the function of adjusting the first packet transmission rate cannot negotiate with the CP device. Correspondingly, after the CP device sends the sixth message, the CP device does not acquire the feedback message sent by the first UP device within a preset time, and determines that the first UP device does not have a function of adjusting the sending rate of the first message. As an example, after sending the sixth message, if the CP device does not obtain the feedback message sent by the first UP device within the feedback time, the CP device resends the sixth message to the first UP device. If the number of times the CP device sends the sixth message reaches the threshold, the CP device determines that the first UP device does not have a function of adjusting the sending rate of the first message. The CP device can send a sixth message to the first UP device through the SCi. As an example, the sixth packet is a PFCP packet. The sixth message includes Pri Control information field. The Pri Control information field carries the third rate. As another example, the sixth message is a CUSP message. The sixth message includes a TLV field. The TLV field carries a third rate.
The CP device processes the first message based on the fourth rate when the CP device is not overloaded. And the fourth rate is the rate of acquiring the first message when the CP equipment is not overloaded. In some possible implementations, the fourth rate is preset. In other possible implementations, the fourth rate is determined based on the operating conditions of the CP device. As one example, the fourth rate is greater than the first rate.
It should be noted that the CP device is capable of managing at least two UP devices. In one possible implementation, the at least two UP devices managed by the CP device include a second UP device in addition to the first UP device. And when the CP equipment is overloaded, the speed limiting strategy corresponding to the second UP equipment is determined in addition to the speed limiting strategy corresponding to the first UP equipment.
Specifically, in addition to the above steps, the overload processing method provided in the embodiment of the present application further includes the following steps:
b1: and the CP equipment acquires the eighth message sent by the second UP equipment.
The CP device and the second UP device belong to the same system for providing broadband network access service to the user. As an example, the CP device and the second UP device belong to the same vbas.
The eighth message is generated by the terminal device providing the broadband network access service by the second UP device. Taking the above fig. 3 as an example, the first UP device is a UP device 303, and the second UP device is a UP device 304. The UP device 304 is used to provide broadband network access services to users logged on to 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 transmits the eighth message to the UP device 304. After acquiring the eighth message, the UP device 304 redirects the eighth message and sends the eighth message to the CP device 305.
The CP device and the second UP device are connected through three interfaces, which are Mi, PRi and SCi, respectively. The functions of Mi, PRi and SCi are similar to those of Mi, PRi and SCi between the CP device and the first UP device, and are specifically referred to above, and are not described herein.
The eighth message is used for realizing the access of the user to the broadband network. The eighth message is a dialing message or a user access message. The specific type of the eighth message is related to the traffic type. As an example, the traffic type is an IPOE type or a DHCP type. The eighth message is one of a DHCP discovery (discover) message, a DHCPv6 request (policy) message, an IPv6 data packet, and an IPv4 data packet. As another example, the traffic type is PPPoE type. The first message is PADI.
B2: in response to determining that the CP device is overloaded, the CP device determines a second speed limit policy for the second UP device to limit the speed of the eighth message.
Overload of a CP device refers to a state in which the CP device operates beyond a standard load. The overload of the CP device can be determined based on the operation condition of the CP device, and the specific determination method is described above.
In response to the CP device being overloaded, the CP device determines a second speed limit policy for the second UP device. The second speed limiting strategy is a speed limiting strategy aiming at the speed limit of the eighth message. According to the second speed limiting strategy, accurate speed limiting processing can be performed on the eighth message based on the transmission condition of the eighth message or based on the operation condition of the second UP device, so that messages to be processed by the CP device are reduced, and overload condition of the CP device is relieved. Thus, the eighth message is subjected to speed limiting processing, and the effect of relieving overload of the CP equipment is better.
As one example, the second rate limiting strategy includes one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending. The transmission speed-limiting rate is the speed-limiting rate of the second UP equipment for transmitting the first message. The rate percentage is the percentage of the rate of transmitting the eighth message by the second UP device after the speed limit of the second UP device to the rate of transmitting the eighth message before the speed limit. And the transmission stopping time length is the time length of stopping the transmission of the eighth message by the second UP device.
Embodiments of the present application are not limited to a particular implementation of determining the second speed limit policy. For example, the second speed limit policy is determined based on the priority of the second UP device, or the second speed limit policy is determined based on the traffic of the eighth message, or the second speed limit policy is determined based on the guaranteed transmission time period, or the second speed limit policy is determined based on the transmission rate of the eighth message.
As one example, the first speed limit strategy includes a sixth speed limit strategy. The first speed limiting strategy is used for indicating to carry out speed limiting processing on the first message according to the sixth speed limiting rate. The second speed limit strategy includes a seventh speed limit strategy. The second speed limiting strategy is used for indicating to carry out speed limiting processing on the eighth message according to the seventh speed limiting rate.
In one possible implementation, the speed limit policy is determined using the priority of the UP device. The higher the priority of the UP device, the higher the rate limiting policy includes. For example, the first UP device has a higher priority than the second UP device. Correspondingly, the sixth rate is greater than the seventh rate.
In another possible implementation, the speed limit policy is determined based on the traffic of the message. The larger the flow of the message transmitted by the UP equipment, the larger the limit of the speed limiting strategy to the message transmission. For example, the flow of the first message transmitted by the first UP device is greater than the flow of the second message transmitted by the second UP device. Correspondingly, the difference between the sixth speed limiting rate and the transmission rate before the speed limiting of the first message is larger than the difference between the seventh speed limiting rate and the transmission rate before the speed limiting of the eighth message.
An overload processing method provided in this embodiment of the present application is described below with reference to an embodiment. Referring to fig. 16, a schematic structural diagram of another CU separation system according to an embodiment of the present disclosure is shown. Wherein, the home gateway RGW at the user side is connected with the first UP device through the OLT. The first UP device is connected to the CP device through a DC-gateway device. The CP device is connected with the authentication server. The first UP device is connected to a network through a CR. In the embodiment of the application, the CP device limits the speed of the first message based on the first speed limiting policy. The CP device includes an oversampling module, a CP overload control module, a policy module, and an Input/Output (I/O) LOAD balancing (LOAD Balance) module. The CP equipment judges overload by utilizing the overload sampling module, a first speed limiting strategy of the first UP equipment is determined by utilizing the strategy module, and the first speed limiting strategy is issued to the input/output load balancing module by utilizing the CP overload control module. The input/output load balancing module is used for receiving the first speed limiting strategy and realizing speed limiting processing on the first message based on the first speed limiting strategy.
Referring to fig. 17, a schematic flow chart of another overload processing according to an embodiment of the present application is shown. The CP device includes, among other things, an oversampling module 1701, a CP overload control module 1702, a policy module 1703, and an Input/Output (I/O) LOAD balancing (LOAD Balance) module 1704.
The oversampling module 1701 is configured to determine whether the CP device is overloaded. In one possible implementation, the oversampling module 1701 obtains a resource utilization of the CP device. The overload sampling module 1701 determines that the CP device is overloaded when the resource utilization of the CP device exceeds a first threshold. The overload sampling module 1701 determines that the CP device is not overloaded when the resource utilization of the CP device exceeds a first threshold. The resource utilization rate is, for example, a memory utilization rate, or is, for example, a CPU utilization rate. In another possible implementation, the oversampling module 1701 obtains CP device processing delay. The overload sampling module 1701 determines that the CP device is overloaded when the CP device processing delay exceeds the second threshold. When the CP device processing delay does not exceed the second threshold, the oversampling module 1701 determines that the CP device is not overloaded. Wherein the CP device processing delay is a delay of the CP device processing the service. The CP device processes the delay, such as the timeout period for user authentication, and also, such as the delay for processing the first message by the CP device system. In yet another possible implementation, whether the CP device is overloaded is determined comprehensively based on the resource utilization of the CP device and the CP device processing delay. And when the resource utilization rate of the CP equipment exceeds a first threshold value and the processing delay of the CP equipment exceeds a second threshold value, determining that the CP equipment is overloaded.
In response to determining that the CP device is overloaded, the overload sampling module 1701 informs the CP overload control module 1702. As an example, the overload sampling module 1701 sends a message carrying an overload state to the CP overload control module 1702. The overload state includes both an overload and a non-overload state. In the event that an overload of the CP device is determined, the overload sampling module 1701 sends a message to the CP overload control module 1702 that the overload state is overloaded.
The CP overload control module 1702, upon receiving the notification issued by the overload sampling module 1701, determines a first speed limit policy for 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 the related information of the first UP equipment.
The policy module 1703 determines a first speed limit policy for the first UP device based on the obtained parameter request. The embodiments of the present application do not limit the specific implementation of the policy module 1703 to determine the first speed limit policy of the first UP device. In some possible implementations, the policy module 1703 can determine the first speed limit policy in the five ways described above to determine the speed limit policy. Please refer to the above, and detailed description thereof is omitted herein. The policy module 1703 sends an UP device speed limit list to the CP overload control module 1702. The UP device speed limit list includes speed limit policies of respective UP devices that send user access messages to the CP devices. The UP device speed limit list includes a first speed limit policy of the first UP device.
After determining the first speed limit policy of the first UP device, the CP overload control module 1702 sends the first speed limit policy of the first UP device to the I/olad Balance module 1704 through the internal interface.
The I/O LOAD bearer module 1704 is a packet entry module of the CP device, configured to obtain a first packet sent by the first UP device. The I/O LOAD Balance module 1704 performs speed limit processing on the first message based on the first speed limit policy. For example, the first message is discarded based on the first speed limit policy.
Fig. 18 is a schematic structural diagram of an apparatus for overload processing according to an embodiment of the present application. The overload processing apparatus can implement the function of the control plane device in the above method example. Referring to fig. 18, the apparatus 1800 for overload processing includes an acquisition unit 1801 and a processing unit 1802. An acquisition unit 1801, for executing S401 in fig. 4 by the apparatus 1800 for supporting overload processing; a processing unit 1802 for executing S402 in fig. 4 by the apparatus 1800 for supporting overload processing; and/or other processes performed by control plane devices in the techniques described herein. For example, an acquiring unit 1801, configured to perform various receiving operations performed by the control plane device in the above-described method embodiment; a processing unit 1802, configured to perform various processing operations of the control plane device in the foregoing method embodiment. For example, the obtaining unit 1801 is configured to obtain a first packet sent by a first UP device, where the first UP device is one of the at least two UP devices; a processing unit 1802, configured to determine a first speed limit policy of the first UP device in response to determining that the CP device is overloaded, where the first speed limit policy is used to speed limit the first message. Reference is made to the detailed description of the corresponding steps in the embodiments shown in any of the above fig. 4 to 17, and details thereof are not repeated here.
Fig. 19 is a schematic structural diagram of another device for overload processing according to an embodiment of the present application. The overload processing device can realize the function of the first user plane device in the method example. Referring to fig. 19, an apparatus 1900 for overload processing includes an acquisition unit 1901 and a processing unit 1902. An acquisition unit 1901 for executing S504 in fig. 5 by the apparatus 1900 supporting overload processing; a processing unit 1902, configured to execute S505 in fig. 5 by the apparatus 1900 supporting overload processing; and/or other processes performed by the first user plane device in the techniques described herein. For example, the obtaining unit 1901 is configured to perform various receiving operations performed by the first user plane device in the foregoing method embodiment; a processing unit 1902, configured to execute various processing operations of the first user plane device in the foregoing method embodiment. For example, an obtaining unit 1901 is configured to obtain a second message sent by the CP device, where the second message includes a first speed limiting policy; and a processing unit 1902, configured to limit a first packet based on the first speed limit policy, where the first packet is a packet sent by the first UP device to the CP device. Reference is made to the detailed description of the corresponding steps in the embodiments shown in any of the above fig. 5 to 12, and detailed descriptions thereof are omitted herein.
It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice. Each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. For example, in the above embodiment, the acquisition unit and the processing unit may be the same unit or different units. The integrated units may be implemented in hardware or in software functional units.
Fig. 20 is a schematic structural diagram of a system for overload processing according to an embodiment of the present application. The system 2000 for controlling overload processing is used for the method for overload processing in the above-described method embodiment. The system 2000 for overload processing comprises a control plane device 2001 and at least two user plane devices. Wherein the at least two user plane devices comprise a 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 of figures 4-17. The first user plane device 2002 may implement the functionality of the first user plane device in the embodiments shown in any of the figures 5-12. Reference is made to the detailed description of the corresponding steps in the embodiments shown in any of the above fig. 4 to 17 for specific implementation, and details are not repeated here.
Optionally, the overload processing system 2000 may further include a second user plane device, configured to send an eighth packet to the CP device 2001. Please refer to the above, and a detailed description thereof is omitted herein.
Fig. 21 is a schematic structural diagram of an apparatus according to an embodiment of the present application. The control plane device above, or the user plane device, may be implemented by the device shown in fig. 21. As shown in fig. 21, the device 2100 includes at least one processor 2101, a communication bus 2102, and at least one network interface 2104, and optionally the device 2100 may also include 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. In one implementation, the processor 2101 may also be a traffic management (traffic management, TM) chip or hardware that integrates NP and TM chips that may perform the methods of scheduling queues provided by embodiments of the present application on queues in TM chips. Processor 710 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof. The processor may be configured to implement the method of overload processing provided in the embodiments of the present application.
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, in response to determining that the control plane device is overloaded, a first speed limiting policy of the first UP device for limiting a speed of the first packet, where specific functional implementation may refer to a processing portion of the corresponding control plane device in an embodiment of a method.
For example, when the first ue in fig. 5 is implemented by the device shown in fig. 21, the processor may be configured to rate limit the first packet based on the first rate-limiting policy, and for specific functional implementation, reference may be made to a processing portion corresponding to the first ue in the method embodiment.
The communication bus 2102 is used to transfer information between the processor 2101, the network interface 2104, and the memory 2103. The bus system 2102 may be a peripheral component interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus system 2102 may be divided into address buses, data buses, control buses, etc., and is represented by only one thick line in fig. 21, but does not represent only one bus or one type of bus.
The Memory 2103 may be, but is not limited to, a read-only Memory (ROM) or other type of static storage device capable of storing static information and instructions, the Memory 2103 may also be a random access Memory (random access Memory, RAM) or other type of dynamic storage device capable of storing information and instructions, a compact disk (compact disc read-only Memory, CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing the desired program code in the form of instructions or data structures and capable of being accessed by a computer. The memory 2103 may be self-contained and coupled to the processor 2101 via the communication bus 2102. The memory 2103 may also be integrated with the processor 2101.
Optionally, the memory 2103 is used for storing program codes or instructions for executing the aspects of the present application, and the execution is controlled by the processor 2101. The processor 2101 is used to execute program code or instructions stored in the memory 2103. One or more software modules may be included in the program code. Alternatively, the processor 2101 may store program code or instructions for performing aspects of the present application, in which case the processor 2101 need not read the program code or instructions into the memory 2103.
The network interface 2104 may be a device, such as a transceiver, for communicating with other devices or communication networks, which may be ethernet, radio Access Network (RAN) or wireless local area network (wireless local area networks, WLAN), etc. In the embodiment of the present application, the network interface 2104 may be used to receive a packet sent by another node in the segment routing network, and may also send a packet to another node in the segment routing network. The network interface 2104 may be an ethernet interface, a Fast Ethernet (FE) interface, a Gigabit Ethernet (GE) interface, or the like.
In a particular implementation, the device 2100 may include multiple processors, such as the processor 2101 and the processor 2107 shown in fig. 21, as one embodiment. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Fig. 22 is a schematic structural diagram of an apparatus 2200 provided in an embodiment of the present application. The control plane device and the user plane device provided in the embodiments of the present application may be implemented by the device shown in fig. 22.
Referring to the device architecture diagram of fig. 22, a device 2200 includes a master board and one or more interface boards. The main control board is in communication connection with the interface board. The main control board, also called a main processing unit (main processing unit, MPU) or routing processing card (route processor card), comprises a CPU and a memory, and is responsible for controlling and managing the various components in the device 2200, including routing computation, device management and maintenance functions. The interface board is also called a line processing unit (line processing unit, LPU) or line card (line card) for receiving and transmitting messages.
In some embodiments, communication is via a bus between the master control board and the interface board or between the interface board and the interface board. In some embodiments, the interface boards communicate via a switch fabric, in which case the device 2200 also includes a switch fabric communicatively coupled to the master board and the interface boards, the switch fabric configured to forward data between the interface boards, which may also be referred to as a switch fabric unit (switch fabric unit, SFU). The interface board includes a CPU, memory, forwarding engine, and 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, a GE interface, or the like. The CPU is in communication connection 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 sub-card, can be installed on the interface board, and is responsible for converting the photoelectric signal into a data frame, and forwarding the data frame to a forwarding engine for processing or an interface board CPU after performing validity check. In some embodiments, the CPU may also perform the functions of a forwarding engine, such as 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 field programmable gate array (field programmable gate array, FPGA). In some embodiments, the memory storing the forwarding table may also be integrated into the forwarding engine as part of the forwarding engine.
The embodiment of the application also provides a chip system, which comprises: a processor coupled to a memory for storing programs or instructions which, when executed by the processor, cause the system-on-a-chip to implement the method of overload processing provided in the embodiments shown in any of the above figures 4-9.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory. Alternatively, the memory in the system-on-chip may be one or more. The memory may be integral with the processor or separate from the processor, and is not limited in this application. For example, the memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately provided on different chips, and the type of memory and the manner of providing the memory and the processor are not specifically limited in this application.
The system-on-chip may be, for example, an FPGA, an ASIC, a system-on-chip (SoC), a CPU, an NP, a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chips.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor.
The present application also provides a computer readable storage medium including instructions which, when run on a computer, cause the computer to perform the overload processing method provided by the above method embodiment and performed by the control plane device or the user plane device.
The present application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the overload processing method provided by the above method embodiment 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 in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. "A and/or B" is considered herein to include A alone, B alone, and A+B.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, and the division of the units, for example, is merely a logic module division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be acquired 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 in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units described above may be implemented either in hardware or in software module units.
The integrated units, if implemented in the form of software module units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these 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 foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, including embodiments and advantages thereof, and are not meant to limit the scope of the invention.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (54)

1. A method of overload processing, the method being applied to a network comprising a control plane CP device and at least two user plane UP devices, the method comprising:
the CP equipment acquires a first message sent by first UP equipment, wherein the first UP equipment is one of the at least two UP equipment;
in response to determining that the CP device is overloaded, the CP device determines a first speed limit policy of the first UP device, where the first speed limit policy is used to speed limit the first message.
2. The method according to claim 1, wherein the method further comprises:
and the CP equipment sends a second message to the first UP equipment, wherein the second message comprises the first speed limiting strategy.
3. The method of claim 2, wherein prior to the CP device sending a second message to the first UP device, the method further comprises:
the CP equipment acquires a third message sent by the first UP equipment, wherein the third message comprises first capability information, and the first capability information indicates that the first UP equipment can limit the speed of the first message.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
The CP device sends a fourth message to the first UP device, wherein the fourth message comprises a first rate, and the first rate is used for indicating the first UP device to send the first message to the CP device based on the first rate.
5. The method according to any one of claims 1-4, further comprising:
in response to an overload recovery condition being met, the CP device sends a fifth message to the first UP device, the fifth message including a second rate, the second rate being used to instruct the first UP device to send the first message to the CP device based on the second rate, the overload recovery condition including one or more of determining that the CP device is not overloaded and reaching a preset recovery time.
6. The method according to any of claims 2-5, wherein the second message further comprises overload information, the overload information being used to indicate the overload degree of the CP device.
7. The method according to any of claims 2-6, wherein the second packet is a packet forwarding control PFCP protocol packet.
8. The method of claim 7, wherein the second message includes a message redirection interface control information Pri Control information field, the Pri Control information field carrying the first speed limit policy.
9. The method according to any of claims 2-6, wherein the second message is a control plane and user plane separation protocol, CUSP, message.
10. The method of claim 9, wherein the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
11. The method according to claim 1, wherein the method further comprises:
and the CP equipment limits the speed of the first message based on the first speed limiting strategy.
12. The method of claim 11, wherein the CP device limits the speed of the first message based on the first speed limit policy, comprising:
and the CP equipment discards the first message based on the first speed limiting strategy.
13. The method of claim 11, wherein prior to the CP device rate limiting the first message based on the first rate limiting policy, the method further comprises:
and the CP equipment determines that the first UP equipment does not support speed limiting of the first message.
14. The method of claim 13 wherein the CP device determining that the first UP device does not support rate-limiting processing of the first message comprises:
The CP equipment sends a sixth message to the first UP equipment, wherein the sixth message comprises a third rate, and the third rate is used for indicating the first UP equipment to send the first message to the CP equipment based on the third rate;
and responding to the CP equipment to acquire a seventh message sent by the first UP equipment or not acquire a feedback message sent by the first UP equipment within preset time, wherein the CP equipment determines that the first UP equipment does not support speed limiting of the first message, the seventh message comprises second capability information, and the second capability information indicates that the first UP equipment does not support speed limiting of the first message.
15. The method according to any one of claims 11-14, further comprising:
in response to determining that the CP device is not overloaded, the CP device processes the first message based on a fourth rate.
16. The method of any of claims 1-15 wherein the first speed limit policy is determined based on a priority of the first UP device;
or the first speed limiting strategy is determined based on the flow of the first message;
or the first speed limiting strategy limits the speed of the first message according to a first speed limiting rate in a first time period, limits the speed of the first message according to a second speed limiting rate in a second time period, wherein the first time period is a guaranteed sending time period of the first UP equipment, and the first speed limiting rate is larger than the second speed limiting rate;
Or the first speed limiting strategy limits the speed of the first message according to a third speed limiting rate in a third time period, limits the speed of the first message according to a fourth speed limiting rate in a fourth time period, wherein the third time period is earlier than the fourth time period, and the third speed limiting rate is smaller than the fourth speed limiting rate;
or the first speed limiting strategy is to limit the speed of the first message according to a fifth speed limiting rate, wherein the fifth speed limiting rate is smaller than the transmission rate of the first message before the speed of the first message is limited.
17. The method of any of claims 1-16, wherein the at least two UP devices include a second UP device, the method further comprising:
the CP equipment acquires an eighth message sent by the second UP equipment;
and in response to determining that the CP equipment is overloaded, the CP equipment determines a second speed limiting strategy of the second UP equipment, wherein the second speed limiting strategy is used for carrying out speed limiting processing on the eighth message.
18. The method of claim 17 wherein the first speed limiting policy is configured to instruct speed limiting the first message at a sixth speed limiting rate, wherein the second speed limiting policy is configured to instruct speed limiting the eighth message at a seventh speed limiting rate, wherein the first UP device has a higher priority than the second UP device, wherein the sixth speed limiting rate is greater than the seventh speed limiting rate, or wherein the first message has a greater flow than the eighth message, wherein a difference between the sixth speed limiting rate and a transmission rate of the first message before the first message is greater than a difference between the seventh speed limiting rate and a transmission rate of the eighth message before the eighth message is greater than the speed limiting rate.
19. The method of any of claims 1-18, wherein the determining that the CP device is overloaded comprises one or more of determining that a resource utilization of the CP device exceeds a first threshold and determining that a processing delay of the CP device exceeds a second threshold.
20. The method of any of claims 1-15, wherein the first rate limiting strategy comprises one or more of a transmission rate limit rate, a rate percentage, and a length of time to stop sending.
21. The method of any of claims 1-20, wherein the CP device and the at least two UP devices belong to a virtual broadband remote access server vbas.
22. The method of any 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, the first message being a dial-UP message or an access message for a user.
23. The method according to any one of claims 1-22, wherein the first message is one of a DHCP discover message, a DHCPv6 request policy message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initiation packet.
24. A method of overload processing, the method being applied to a network comprising a control plane, CP, device and at least two user plane, UP, devices, the at least two UP devices comprising a first UP device, the method comprising:
the first UP equipment acquires a second message sent by the CP equipment, wherein the second message comprises a first speed limiting strategy;
and the first UP equipment limits the speed of a first message based on the first speed limiting strategy, wherein the first message is a message sent by the first UP equipment to the CP equipment.
25. The method of claim 24 wherein before the first UP device limits the speed of the first message based on the first speed limit policy, the method further comprises:
the first UP device sends a third message to the CP device, wherein the third message comprises first capability information, and the first capability information indicates that the first UP device can limit the speed of the first message.
26. The method of claim 25, wherein the method further comprises:
the first UP device obtains a fourth message sent by the CP device, wherein the fourth message comprises a first rate, and the first rate is used for indicating the first UP device to send the first message to the CP device according to the first rate;
And the first UP equipment sends a first message to the CP equipment based on the first rate.
27. The method of any of claims 24-26 wherein after the first UP device rate limits the first message based on the first rate limiting policy, the method further comprises:
the first UP device sends a ninth message to the CP device, the ninth message comprises first capability information and a fifth rate, the first capability information indicates that the first UP device can limit the speed of the first message, and the fifth rate is the rate of sending the first message after the first UP device limits the speed of the first message.
28. The method of any of claims 24-27 wherein the first UP device rate limiting the first message based on the first rate limiting policy comprises:
the first UP device configures a rate parameter based on the first speed limit policy;
and the first UP equipment adjusts the rate of sending the first message to the CP equipment based on the rate parameter.
29. The method of claim 28, wherein the rate parameter is a queue parameter or a committed information rate, CAR, parameter.
30. The method according to any one of claims 24-29, further comprising:
the first UP device obtains a fifth message sent by the CP device, wherein the fifth message comprises a second rate, the second rate is used for indicating the first UP device to send 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 the fact that an overload recovery condition is met, and the overload recovery condition comprises one or more of determining that the CP device is not overloaded and reaching a preset recovery time;
and the first UP equipment sends a first message to the CP equipment based on the second rate.
31. The method according to any of claims 24-30, wherein the second message further comprises overload information, the overload information being used to indicate the overload level of the CP device.
32. The method according to any of claims 24-31, wherein the second message is a packet forwarding control, PFCP, protocol message.
33. The method of claim 32, wherein the second message includes a message redirection interface control information Pri Control information field, the Pri Control information field carrying the first speed limiting policy.
34. The method according to claim 32 or 33, wherein the third message is a packet forwarding control PFCP protocol message.
35. The method according to any of claims 24-30, wherein the second message is a CUSP protocol message.
36. The method of claim 35, wherein the second message includes a type length value TLV field, the TLV field carrying the first speed limit policy.
37. The method of any one of claims 24-36, wherein the first rate limiting strategy comprises one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
38. The method of any of claims 24-37, wherein the CP device and the at least two UP devices belong to a virtual broadband access system vbas.
39. The method of any 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, the first message being a dial-UP message or an access message for a user.
40. The method of any one of claims 24-39, wherein the first message is one of a DHCP discover message, a DHCPv6 request policy message, an IPv4 data packet, an IPv6 data packet, and a PADI active discovery initiation packet.
41. A system for overload processing, characterized in that the system comprises a control plane CP device and at least two user plane UP devices;
the CP device is configured to obtain a first packet sent by a first UP device, and determine, in response to determining that the CP device is overloaded, a first speed limit policy of the first UP device, where the first UP device is one of the at least two UP devices, and the first speed limit policy is used to limit a speed of the first packet.
42. The system of claim 41 wherein the CP device is further configured to send a second message to the first UP device, the second message including the first speed limit policy.
43. The system of claim 42 wherein the CP device is further configured to send a fourth message to the first UP device, the fourth message including a first rate, the first rate being configured to instruct the first UP device to send the first message to the CP device based on the first rate.
44. The system of claim 41, wherein the CP device is further configured to rate limit the first message based on the first rate limiting policy.
45. The system of claim 44, wherein the CP device is further configured to rate limit the first message based on the first rate limiting policy, comprising:
The CP device is further configured to discard the first packet based on the first speed limit policy.
46. The system of any of claims 41-45 wherein the at least two UP devices include a second UP device;
the second UP device is used for sending an eighth message to the CP device;
the CP device is further configured to obtain an eighth packet sent by the second UP device, and in response to determining that the CP device is overloaded, the CP device determines a second speed limit policy of the second UP device, where the second speed limit policy is used to perform speed limit processing on the eighth packet.
47. The system of any one of claims 41-46, wherein the first rate limiting strategy comprises one or more of a transmission rate limit, a rate percentage, and a length of time to stop sending.
48. The system of any of claims 41-47 wherein the CP device and the at least two UP devices belong to a virtual broadband remote access server vbas.
49. The system of any 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, the first message being a dial-UP message or an access message for a user.
50. The system of any one of claims 41-49, wherein the first message is one of a dynamic host configuration protocol, DHCP, discovery message, an internet protocol version 6 dynamic host configuration protocol, DHCPv6, request policy message, an internet protocol version 4, IPv4, internet protocol version 6, IPv6, data packet, and a point-to-point protocol over ethernet active discovery initiation packet, PADI.
51. A control plane device, characterized in that the control plane device comprises a processor chip and a memory, the memory being arranged to store instructions or program code, the processor chip being arranged to call and execute the instructions or program code from the memory to perform the method of overload processing according to any one of claims 1-23.
52. A user plane device comprising a processor chip and a memory, the memory being for storing instructions or program code, the processor chip being for invoking from the memory and executing the instructions or program code to perform the method of overload processing according to any of claims 24 to 40.
53. A computer readable storage medium comprising program instructions which, when executed on a computer, cause the computer to perform the method of overload processing according to any one of claims 1 to 23 or to perform the method of overload processing according to any one of claims 24 to 40.
54. A computer program product, which when run on a network device causes the network device to perform the method of overload processing according to any one of claims 1 to 23 or to perform the method of overload processing according to any one of claims 24 to 40.
CN202210468547.9A 2021-12-17 2022-04-29 Overload processing method, network equipment and system Pending CN116266812A (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111552185 2021-12-17
CN2021115521853 2021-12-17

Publications (1)

Publication Number Publication Date
CN116266812A true CN116266812A (en) 2023-06-20

Family

ID=86744093

Family Applications (1)

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

Country Status (2)

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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1788752A1 (en) * 2005-11-21 2007-05-23 Alcatel Lucent Network node with control plane processor overload protection
US8693335B2 (en) * 2012-03-22 2014-04-08 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
CN106941456B (en) * 2017-05-17 2019-08-30 华中科技大学 The load-balancing method and system of plane are controlled in a kind of software defined network
CN109587782B (en) * 2017-09-28 2021-04-30 中兴通讯股份有限公司 Synchronization 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
WO2023109669A1 (en) 2023-06-22

Similar Documents

Publication Publication Date Title
EP1766827B1 (en) System and method for loadbalancing in a network environment using feedback information
US7970878B1 (en) Method and apparatus for limiting domain name server transaction bandwidth
US20130275583A1 (en) Methods, systems, and computer readable media for performing diameter overload control
EP1655899A1 (en) Device and method for port enabling based on link status monitoring
US9001650B2 (en) TCP relay apparatus
EP3890257B1 (en) Flow balancing method and device
US7478168B2 (en) Device, method and program for band control
CN101099353A (en) Providing access bearer related information in a packet data network
US9800479B2 (en) Packet processing method, forwarder, packet processing device, and packet processing system
WO2018223825A1 (en) Data flow processing method and device
US20230156828A1 (en) Session establishment method and apparatus, system, and computer storage medium
EP4164148A1 (en) Message processing method, up device and cp device
US6633539B1 (en) Device, method and article of manufacture for call setup pacing in connection-oriented networks
Krishnan et al. Mechanisms for optimizing link aggregation group (LAG) and equal-cost multipath (ECMP) component link utilization in networks
JP4561980B2 (en) Session relay apparatus and session relay method
JP6044020B2 (en) Data packet processing method, system, and device
CN116266812A (en) Overload processing method, network equipment and system
US20230122810A1 (en) Communication Method, UP Device, and CP Device
US20100166011A1 (en) Method, apparatus and system for realizing dynamic correlation of control plane traffic rate
CN112040513A (en) Data transmission method, data transmission device and data transmission system
EP4358476A1 (en) Message processing method, apparatus and system, and computer-readable storage medium
WO2022033157A1 (en) Network attack defense method, and cp device and up device
US20230164052A1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture
US20230239359A1 (en) Integrated broadband network gateway (bng) device for providing a bng control plane for one or more distributed bng user plane devices
KR20240012128A (en) Device in control plane and device in user plane, packet processing method performed on the device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication