CN103975623A - A method and device for congestion control - Google Patents
A method and device for congestion control Download PDFInfo
- Publication number
- CN103975623A CN103975623A CN201380002384.4A CN201380002384A CN103975623A CN 103975623 A CN103975623 A CN 103975623A CN 201380002384 A CN201380002384 A CN 201380002384A CN 103975623 A CN103975623 A CN 103975623A
- Authority
- CN
- China
- Prior art keywords
- sctp
- congestion
- signaling
- processing
- threshold
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/54—Store-and-forward switching systems
- H04L12/56—Packet switching systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例拥塞控制的方法和设备。其中,拥塞控制方法包括:获取流控制传输协议SCTP资源状况,判断所述SCTP资源状况是否满足拥塞判别条件,当所述SCTP资源状况满足所述拥塞判别条件时,执行SCTP拥塞控制处理。本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。
A method and device for congestion control in the embodiments of the present invention. Wherein, the congestion control method includes: obtaining the SCTP resource status of the stream control transmission protocol, judging whether the SCTP resource status satisfies the congestion judging condition, and executing SCTP congestion control processing when the SCTP resource status satisfies the congestion judging condition. The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery or reduces service requests, relieves the SCTP resource shortage of the eNB under the impact of a large number of signaling, and avoids A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
Description
技术领域technical field
本发明涉及无线通信技术领域,具体而言,涉及流控制传输协议(Steam Control Transmission Protocol,SCTP)的拥塞控制方法和设备。The present invention relates to the technical field of wireless communication, in particular, to a congestion control method and device for a Stream Control Transmission Protocol (Steam Control Transmission Protocol, SCTP).
背景技术Background technique
长期演进(Long Term Evolution,LTE)系统控制面消息用于保证系统的正常运转、业务连接的正常建立和退出等,因此控制面消息的可靠性在LTE系统中至关重要。增强型基站(Evolved Node Base station,eNB)和移动管理实体(Mobility Management Entity,MME)之间的S1信令以及eNB之间的X2信令是基于SCTP协议进行传输的。Long Term Evolution (LTE) system control plane messages are used to ensure the normal operation of the system, the normal establishment and exit of service connections, etc., so the reliability of the control plane messages is very important in the LTE system. The S1 signaling between the enhanced base station (Evolved Node Base station, eNB) and the mobility management entity (Mobility Management Entity, MME) and the X2 signaling between the eNBs are transmitted based on the SCTP protocol.
高负荷场景下,由于SCTP消息个数较大或消息流量较大,系统处于高度拥塞,几乎不能处理其它业务。为了防止SCTP信令拥塞造成SCTP偶联异常和基站/MME异常,需要进行拥塞控制,来提升系统信令处理性能。In a high-load scenario, due to the large number of SCTP messages or the large message traffic, the system is highly congested and can hardly handle other services. In order to prevent SCTP signaling congestion from causing SCTP coupling anomalies and base station/MME anomalies, congestion control is required to improve system signaling processing performance.
发明内容Contents of the invention
本发明提出了一种拥塞控制的方法和设备,旨在解决缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪。The present invention proposes a congestion control method and equipment, aiming at alleviating the shortage of SCTP resources of an eNB under the impact of a large number of signalings, and avoiding failure and paralysis of equipment under the impact of a large number of signalings.
第一方面,提出了一种拥塞控制方法,包括:获取流控制传输协议SCTP资源状况,判断所述SCTP资源状况是否满足拥塞判别条件,当所述SCTP资源状况满足所述拥塞判别条件时,执行SCTP拥塞控制处理。In the first aspect, a congestion control method is proposed, including: obtaining the SCTP resource status of the flow control transmission protocol, judging whether the SCTP resource status satisfies the congestion judging condition, and when the SCTP resource status satisfies the congestion judging condition, execute SCTP congestion control processing.
结合第一方面,所述SCTP资源状况包括处理SCTP信令的中央处理器CPU占有率和处理SCTP的信令消息数。With reference to the first aspect, the SCTP resource status includes the CPU occupancy rate of the central processing unit for processing SCTP signaling and the number of signaling messages for processing SCTP.
结合第一方面,所述拥塞判别条件包括处理SCTP信令的CPU占有率大于第一门限和处理SCTP的信令数大于第二门限。With reference to the first aspect, the congestion judging condition includes that the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and the number of SCTP signaling processing is greater than a second threshold.
结合第一方面,所述SCTP拥塞控制处理包括构造SCTP拥塞状态指示信息,S1的应用协议(S1-Application Protocol,S1-AP)层根据所述SCTP拥塞状态指示信息减少业务请求,所述S1-AP层包含本端设备的S1-AP层或对端设备的S1-AP层。With reference to the first aspect, the SCTP congestion control process includes constructing SCTP congestion status indication information, the application protocol (S1-Application Protocol, S1-AP) layer of S1 reduces service requests according to the SCTP congestion status indication information, and the S1- The AP layer includes the S1-AP layer of the local device or the S1-AP layer of the peer device.
第二方面,提出了一种拥塞控制设备,包括,拥塞检测模块和拥塞处理模块。拥塞检测模块包括拥塞监测单元和拥塞判别单元。In the second aspect, a congestion control device is proposed, including a congestion detection module and a congestion processing module. The congestion detection module includes a congestion monitoring unit and a congestion judging unit.
拥塞监测单元,用于获取流控制传输协议SCTP资源状况;拥塞判别单元,用于判断所述SCTP资源状况是否满足拥塞判别条件;拥塞处理模块,用于当所述SCTP资源状况满足所述拥塞判别条件时,执行SCTP拥塞控制处理。The congestion monitoring unit is used to obtain the SCTP resource status of the flow control transmission protocol; the congestion judging unit is used to judge whether the SCTP resource status satisfies the congestion judging condition; the congestion processing module is used for when the SCTP resource status satisfies the congestion judging condition, perform SCTP congestion control processing.
结合第二方面,所述SCTP资源状况包括处理SCTP信令的中央处理器CPU占有率和处理SCTP的信令消息数。With reference to the second aspect, the SCTP resource status includes the CPU occupancy rate of the central processing unit for processing SCTP signaling and the number of signaling messages for processing SCTP.
结合第二方面,所述拥塞判别条件包括处理SCTP信令的CPU占有率大于第一门限和处理SCTP的信令数大于第二门限。With reference to the second aspect, the congestion judging condition includes that the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and the number of SCTP signaling processing is greater than a second threshold.
结合第二方面,所述SCTP拥塞控制处理包括构造SCTP拥塞状态指示信息,S1的应用协议(S1-Application Protocol,S1-AP)层根据所述SCTP拥塞状态指示信息减少业务请求,所述S1-AP层包含本端设备的S1-AP层或对端设备的S1-AP层。With reference to the second aspect, the SCTP congestion control process includes constructing SCTP congestion status indication information, the application protocol (S1-Application Protocol, S1-AP) layer of S1 reduces service requests according to the SCTP congestion status indication information, and the S1- The AP layer includes the S1-AP layer of the local device or the S1-AP layer of the peer device.
第三方面,提出了一种拥塞控制设备,包括:接口,用于基站与核心网之间或者基站之间进行信令交互;存储器,用于存储可以执行的程序代码和/或数据。处理器,用于调用存储器中存储的程序代码,执行以下操作:获取流控制传输协议SCTP资源状况,判断所述SCTP资源状况是否满足拥塞判别条件,当所述SCTP资源状况满足所述拥塞判别条件时,执行SCTP拥塞控制处理。In a third aspect, a congestion control device is proposed, including: an interface for signaling interaction between a base station and a core network or between base stations; a memory for storing executable program codes and/or data. The processor is configured to call the program code stored in the memory, and perform the following operations: obtain the SCTP resource status of the stream control transmission protocol, and determine whether the SCTP resource status satisfies the congestion judging condition, and when the SCTP resource status satisfies the congestion judging condition , perform SCTP congestion control processing.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery or reduces service requests, relieves the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoids A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required in the embodiments of the present invention. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是无线通信网络示意图。FIG. 1 is a schematic diagram of a wireless communication network.
图2是S1协议栈结构图。Fig. 2 is a structural diagram of the S1 protocol stack.
图3是SCTP拥塞控制处理方法流程图。Fig. 3 is a flow chart of the SCTP congestion control processing method.
图4是SCTP拥塞控制处理方法流程图。Fig. 4 is a flow chart of the SCTP congestion control processing method.
图5是SCTP拥塞控制处理方法流程图。Fig. 5 is a flow chart of the SCTP congestion control processing method.
图6是S1接口下行SCTP拥塞控制处理方法流程图。Fig. 6 is a flow chart of the downlink SCTP congestion control processing method on the S1 interface.
图7是S1接口上行SCTP拥塞控制处理方法流程图。FIG. 7 is a flow chart of a method for processing SCTP congestion control uplink on an S1 interface.
图8是SCTP拥塞控制处理设备的结构示意图。FIG. 8 is a schematic structural diagram of an SCTP congestion control processing device.
图9是SCTP拥塞控制处理设备的结构示意图。FIG. 9 is a schematic structural diagram of an SCTP congestion control processing device.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
本发明的技术方案,可以应用于各种通信系统,例如:全球移动通信系统(GSM,Global System for Mobile Communications),码分多址接入(CDMA,Code Division Multiple Access)系统,宽带码分多址接入(WCDMA,Wideband Code Division Multiple Access)系统,长期演进(LTE,Long Term Evolution)系统等。The technical scheme of the present invention can be applied to various communication systems, for example: Global System for Mobile Communications (GSM, Global System for Mobile Communications), Code Division Multiple Access (CDMA, Code Division Multiple Access) system, broadband code division multiple access Access (WCDMA, Wideband Code Division Multiple Access) system, long-term evolution (LTE, Long Term Evolution) system, etc.
如图1所示的无线通信网络100,该无线通信网络可以为LTE网络或其他无线通信网络。该无线通信网络包括若干基站110和其他网络实体用以支撑若干用户设备120进行通信。As shown in FIG. 1 , the wireless communication network 100 may be an LTE network or other wireless communication networks. The wireless communication network includes several base stations 110 and other network entities to support several user equipments 120 for communication.
基站110,可以是GSM或CDMA中的基站(BTS,Base TransceiverStation),也可以是WCDMA中的基站(称为Node B),还可以是LTE中的演进型基站(称为eNB或e-NodeB,evolutional NodeB)。另外,一个基站可能支持/管理一个或多个小区(cell),UE需要和网络通信时,它将选择一个小区发起网络接入。The base station 110 may be a base station (BTS, Base TransceiverStation) in GSM or CDMA, or a base station in WCDMA (called Node B), or an evolved base station in LTE (called eNB or e-NodeB, evolutional NodeB). In addition, a base station may support/manage one or more cells (cells). When a UE needs to communicate with the network, it will select a cell to initiate network access.
用户设备120(UE,User Equipment)也可称之为移动终端(MT,Mobile Terminal)、移动台(MS,Mobile Station)等,可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信。UE与无线接入网交换语音和/或数据。User equipment 120 (UE, User Equipment) can also be called a mobile terminal (MT, Mobile Terminal), a mobile station (MS, Mobile Station), etc., and can communicate with a radio access network (for example, RAN, Radio Access Network) or multiple core networks for communication. The UE exchanges voice and/or data with the radio access network.
核心网设备130与一个或多个基站连接,核心网设备130由MME和/或其他网络实体组成。The core network device 130 is connected to one or more base stations, and the core network device 130 is composed of MME and/or other network entities.
为方便描述,以下以LTE网络为例进行说明,eNB和MME之间为S1接口,eNB之间为X2接口。S1接口的协议栈如图2所示,为了可靠地传输信令消息,在因特网协议(Internet Protocol,IP)层上增加了SCTP层。X2接口协议栈与S1接口一致。For convenience of description, the LTE network is taken as an example for description below, the S1 interface is used between the eNB and the MME, and the X2 interface is used between the eNBs. The protocol stack of the S1 interface is shown in FIG. 2 . In order to reliably transmit signaling messages, an SCTP layer is added on top of an Internet Protocol (Internet Protocol, IP) layer. The X2 interface protocol stack is consistent with the S1 interface.
eNB和MME之间的S1信令以及eNB之间的X2信令是基于SCTP协议进行传输的。高负荷场景下,由于SCTP消息个数较大或消息流量较大,系统处于高度拥塞,几乎不能处理其它业务。为了防止SCTP信令拥塞造成SCTP偶联异常和基站/MME异常,需要进行拥塞控制,来提升系统信令处理性能。由于协议的对等性,SCTP拥塞控制,对S1接口和X2接口都适用。即对S1接口描述时,下行是MME和eNB之间,上行是eNB和MME之间;对X2接口描述时,下行是相邻eNB和源eNB之间,上行是源eNB和相邻eNB之间。The S1 signaling between the eNB and the MME and the X2 signaling between the eNBs are transmitted based on the SCTP protocol. In a high-load scenario, due to the large number of SCTP messages or the large message traffic, the system is highly congested and can hardly handle other services. In order to prevent SCTP signaling congestion from causing SCTP coupling anomalies and base station/MME anomalies, congestion control is required to improve system signaling processing performance. Due to the equivalence of the protocol, SCTP congestion control is applicable to both the S1 interface and the X2 interface. That is, when describing the S1 interface, the downlink is between the MME and the eNB, and the uplink is between the eNB and the MME; when describing the X2 interface, the downlink is between the adjacent eNB and the source eNB, and the uplink is between the source eNB and the adjacent eNB .
在实际应用中,发现中央处理器(Central Processiong Unit,CPU)的处理能力是导致信令拥塞的重要原因。而现有的SCTP拥塞控制技术,没有考虑CPU的处理能力。本发明实施例在拥塞检测阶段,通过考虑CPU处理能力带来的影响,结合SCTP信令的处理水平,进而进行拥塞控制,减少STCP信令下发或者减少业务请求,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。In practical applications, it is found that the processing capability of a central processing unit (Central Processing Unit, CPU) is an important cause of signaling congestion. However, the existing SCTP congestion control technology does not consider the processing capability of the CPU. In the congestion detection stage, the embodiment of the present invention considers the impact of the CPU processing capability and combines the SCTP signaling processing level to perform congestion control, reduce STCP signaling or reduce service requests, and avoid the impact of a large number of signaling on the device. In this way, the SCTP congestion control can be achieved to ensure the normal operation of the eNB.
以下将结合图3,详细描述根据本发明实施例的SCTP拥塞控制方法,包括如下步骤。The SCTP congestion control method according to the embodiment of the present invention will be described in detail below with reference to FIG. 3 , including the following steps.
31,获取SCTP资源状况。31. Obtain the SCTP resource status.
在通信过程中,eNB与MME之间需要交互SCTP信令,eNB处理SCTP信令需要占用SCTP资源。在SCTP拥塞控制机制下,eNB通过监控获取SCTP资源状况。SCTP资源状况包括处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。处理SCTP的信令消息数可以为下行接收的SCTP的信令消息数,或上行处理的SCTP的信令消息数。During the communication process, SCTP signaling needs to be exchanged between the eNB and the MME, and the eNB needs to occupy SCTP resources to process the SCTP signaling. Under the SCTP congestion control mechanism, the eNB obtains the SCTP resource status through monitoring. The SCTP resource status includes the CPU occupancy rate for processing SCTP signaling and/or the number of signaling messages for processing SCTP. The number of SCTP signaling messages processed may be the number of SCTP signaling messages received downlink, or the number of SCTP signaling messages processed uplink.
32,判断SCTP资源状况是否满足拥塞判别条件。32. Judging whether the SCTP resource status meets the congestion judging condition.
eNB获取SCTP资源状况后,需要进行拥塞判别,当所述SCTP资源状况满足拥塞判别条件时,表明系统拥塞,执行SCTP拥塞处理。After the eNB acquires the SCTP resource status, it needs to perform congestion judgment. When the SCTP resource status satisfies the congestion judgment condition, it indicates that the system is congested, and performs SCTP congestion processing.
当不满足上述判断条件时,继续步骤31的处理过程。When the above judgment conditions are not met, continue with the process of step 31.
33,SCTP拥塞控制处理。33. SCTP congestion control processing.
当满足步骤32的判断条件时,即达到SCTP拥塞状态,执行SCTP拥塞控制处理过程,从而减少信令下发或者减少业务请求。When the judging condition in step 32 is met, the SCTP congestion state is reached, and the SCTP congestion control process is executed, thereby reducing signaling or service requests.
本发明实施例SCTP拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,保证eNB的业务正常进行。The SCTP congestion control in the embodiment of the present invention reduces SCTP signaling delivery or service requests, relieves the SCTP resource shortage of eNB under the impact of a large number of signaling, avoids equipment failure and paralysis under the impact of a large number of signaling, and ensures the service of eNB Work properly.
图4详细描述本发明实施例的SCTP拥塞控制方法,包括如下步骤:Fig. 4 describes in detail the SCTP congestion control method of the embodiment of the present invention, comprises the following steps:
41,获取SCTP资源状况,SCTP资源状况为处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。41. Obtain SCTP resource status, where the SCTP resource status is the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed.
在通信过程中,eNB与MME之间需要交互SCTP信令,eNB处理SCTP信令需要占用CPU资源,相对整个CPU资源来说,存在处理SCTP信令对应的CPU占有率,也可以称为CPU负荷。在SCTP拥塞控制机制下,eNB通过监控SCTP资源状况可以获取处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。处理SCTP的信令消息数可以为下行接收的SCTP的信令消息数,或上行处理的SCTP的信令消息数。During the communication process, SCTP signaling needs to be exchanged between eNB and MME, and eNB needs to occupy CPU resources to process SCTP signaling. Compared with the entire CPU resources, there is a CPU occupancy rate corresponding to SCTP signaling, which can also be called CPU load. . Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of signaling messages processing SCTP by monitoring the status of SCTP resources. The number of SCTP signaling messages processed may be the number of SCTP signaling messages received downlink, or the number of SCTP signaling messages processed uplink.
42,判断SCTP资源状况是否满足拥塞判别条件,即处理SCTP信令的CPU占有率是否大于第一门限和/或处理SCTP的信令数是否大于第二门限。42. Determine whether the SCTP resource status meets the congestion judging condition, that is, whether the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and/or whether the number of SCTP signaling processing is greater than a second threshold.
eNB获取处理SCTP信令的CPU占有率和/或处理SCTP信令消息数后,需要进行拥塞判别,当所述处理SCTP信令的CPU占有率大于第一门限,和/或处理SCTP的信令数大于第二门限时,表明系统拥塞,执行SCTP拥塞控制处理。After the eNB acquires the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed, it needs to perform congestion judgment, when the CPU occupancy rate for processing SCTP signaling is greater than the first threshold, and/or processes SCTP signaling When the number is greater than the second threshold, it indicates that the system is congested, and SCTP congestion control processing is performed.
当不满足上述判断条件时,继续步骤41的处理过程。When the above judgment conditions are not satisfied, continue to the processing procedure of step 41 .
可选的,对于处理SCTP信令的CPU占有率等于第一门限,和/或处理SCTP的信令数等于第二门限的情况,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Optionally, for the case that the CPU occupancy rate for processing SCTP signaling is equal to the first threshold, and/or the number of SCTP signaling processing is equal to the second threshold, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
43,SCTP拥塞控制处理。43. SCTP congestion control processing.
当满足步骤42的判断条件时,即达到SCTP拥塞状态,执行SCTP拥塞控制处理过程,从而减少信令下发或者减少业务请求。When the judging condition in step 42 is met, the SCTP congestion state is reached, and the SCTP congestion control process is executed, thereby reducing signaling or service requests.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery or reduces service requests, relieves the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoids A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
图5详细描述本发明实施例的SCTP拥塞控制方法,包括如下步骤:Fig. 5 describes in detail the SCTP congestion control method of the embodiment of the present invention, comprises the following steps:
51,获取SCTP资源状况,SCTP资源状况为SCTP发送缓冲区占用率。51. Obtain SCTP resource status, where the SCTP resource status is the SCTP sending buffer occupancy rate.
在通信过程中,eNB与MME之间需要交互SCTP信令,eNB发送SCTP信令需要占用SCTP发送缓冲区。在SCTP发送缓冲区资源消耗殆尽情况下,eNB处理STCP信令需要占用大量的CPU资源,进而影响eNB业务的正常进行。在SCTP拥塞控制机制下,eNB通过监控SCTP资源状况SCTP发送缓冲区占用率。During the communication process, the eNB and the MME need to exchange SCTP signaling, and the eNB needs to occupy the SCTP sending buffer to send the SCTP signaling. When the SCTP transmission buffer resources are exhausted, the eNB needs to occupy a large amount of CPU resources to process the STCP signaling, thereby affecting the normal operation of the eNB service. Under the SCTP congestion control mechanism, the eNB monitors the SCTP resource status and the SCTP transmission buffer occupancy rate.
52,判断SCTP资源状况是否满足拥塞判别条件,即SCTP发送缓冲区占用率是否大于第三门限。52. Determine whether the SCTP resource status meets the congestion judging condition, that is, whether the SCTP sending buffer occupancy rate is greater than a third threshold.
eNB获取SCTP发送缓冲区占用率后,需要进行拥塞判别,当所述SCTP发送缓冲区占用率大于第三门限,表明系统拥塞,执行SCTP拥塞控制处理。After the eNB obtains the SCTP transmission buffer occupancy rate, it needs to perform congestion judgment. When the SCTP transmission buffer occupancy rate is greater than the third threshold, it indicates that the system is congested, and performs SCTP congestion control processing.
当不满足上述判断条件时,继续步骤51的处理过程。When the above judgment conditions are not satisfied, continue to the processing of step 51 .
53,SCTP拥塞控制处理。53. SCTP congestion control processing.
当满足步骤52的判断条件时,即达到SCTP拥塞状态,执行SCTP拥塞控制处理过程,从而减少减少业务请求。When the judging condition in step 52 is satisfied, the SCTP congestion state is reached, and the SCTP congestion control process is executed, thereby reducing service requests.
本发明实施例通过拥塞控制,减少SCTP业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention reduces SCTP service requests through congestion control, relieves the SCTP resource shortage of the eNB under the impact of a large amount of signaling, and avoids equipment failure and paralysis under the impact of a large amount of signaling, thereby achieving the purpose of SCTP congestion control and ensuring eNB business as usual.
下面以LTE网络S1接口为例,详细描述上下行SCTP拥塞控制方法。The following takes the S1 interface of the LTE network as an example to describe the uplink and downlink SCTP congestion control method in detail.
图6是S1接口下行SCTP拥塞控制处理方法流程图。Fig. 6 is a flow chart of the downlink SCTP congestion control processing method on the S1 interface.
S1接口下行SCTP拥塞控制处理是指MME和eNB之间的SCTP拥塞控制处理。MME向eNB发送SCTP信令,当信令负荷较大时,会造成eNB的SCTP资源紧张,包括eNB处理接收的SCTP会占用大量的CPU资源以及SCTP缓存区资源等,这种情况下会影响业务正常进行。The downlink SCTP congestion control process on the S1 interface refers to the SCTP congestion control process between the MME and the eNB. When the MME sends SCTP signaling to the eNB, when the signaling load is heavy, the SCTP resources of the eNB will be strained, including the processing and receiving of the SCTP by the eNB will occupy a large amount of CPU resources and SCTP buffer resources, etc., which will affect the business. Work properly.
61,获取处理SCTP信令的CPU占有率和/或接收的SCTP的信令消息数。61. Acquire the CPU occupancy rate for processing SCTP signaling and/or the number of received SCTP signaling messages.
MME向eNB发送SCTP信令,在SCTP拥塞控制机制下,eNB通过监控SCTP资源状况可以获取处理SCTP信令的CPU占有率和/或接收的来自MME的SCTP的信令消息数,进而进行拥塞判别。MME sends SCTP signaling to eNB. Under the SCTP congestion control mechanism, eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages received from MME by monitoring the SCTP resource status, and then perform congestion discrimination. .
62,判断处理SCTP信令的CPU占有率是否大于第一门限和/或处理SCTP的信令数是否大于第二门限。62. Determine whether the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and/or whether the number of SCTP signaling processing is greater than a second threshold.
eNB获取处理SCTP信令的CPU占有率和/或处理SCTP信令消息数后,进行拥塞判别,当所述处理SCTP信令的CPU占有率大于第一门限,和/或处理SCTP的信令数大于第二门限时,表明系统拥塞。系统拥塞时需要进行拥塞控制处理,以保证大信令业务时,eNB正常工作。After the eNB acquires the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed, it performs congestion judgment. When the CPU occupancy rate for processing SCTP signaling is greater than the first threshold, and/or the number of SCTP signaling messages is processed When it is greater than the second threshold, it indicates that the system is congested. When the system is congested, congestion control processing is required to ensure that the eNB works normally when there is a large signaling service.
第一门限以及第二门限的设置可以根据系统处理能力进行预先配置。本发明实施例不对第一门限以及第二门限的设置进行限定。The settings of the first threshold and the second threshold can be pre-configured according to system processing capability. The embodiment of the present invention does not limit the setting of the first threshold and the second threshold.
具体的,处理SCTP的信令数可以是每秒处理的SCTP信令数,第一门限取值为85%,第二门限取值为3500包/秒(即每秒处理的信令包)。Specifically, the number of SCTP signaling processed may be the number of SCTP signaling processed per second, the first threshold is 85%, and the second threshold is 3500 packets/second (that is, signaling packets processed per second).
当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When the number of signaling is used for congestion judgment, specifically: when the number of signaling for processing SCTP is greater than 3500 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 3500, it is judged that the system is in a congested state, and congestion control is required.
可选的,对于处理SCTP信令的CPU占有率等于85%,和/或处理SCTP的信令数等于3500包/秒时,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Optionally, when the CPU occupancy rate for processing SCTP signaling is equal to 85%, and/or the number of SCTP signaling processing is equal to 3500 packets/second, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
当不满足上述判断条件时,继续监控SCTP资源状况。When the above judgment conditions are not met, continue to monitor the SCTP resource status.
63,SCTP拥塞控制处理。63. SCTP congestion control processing.
当系统处于SCTP拥塞状态时,执行SCTP拥塞控制处理。具体处理如下:When the system is in SCTP congestion state, perform SCTP congestion control processing. The specific treatment is as follows:
eNB对超过第二门限的SCTP信令存储在SCTP信令缓存区中,不进行处理。同时进行缓存区长度计算,获取缓存区剩余长度信息。The eNB stores the SCTP signaling exceeding the second threshold in the SCTP signaling buffer and does not process it. At the same time, the length of the buffer area is calculated to obtain the remaining length information of the buffer area.
构造SCTP拥塞状态指示信息,S1的应用协议(S1-ApplicationProtocol,S1-AP)层根据SCTP拥塞状态指示信息减少业务请求。S1的应用协议(S1-Application Protocol,S1-AP)层包含本端设备的S1-AP层或对端设备的S1-AP层。The SCTP congestion status indication information is constructed, and the application protocol (S1-ApplicationProtocol, S1-AP) layer of S1 reduces service requests according to the SCTP congestion status indication information. The application protocol (S1-Application Protocol, S1-AP) layer of S1 includes the S1-AP layer of the local device or the S1-AP layer of the peer device.
对于eNB和MME之间的SCTP拥塞控制,eNB将SCTP拥塞状态指示信息通过S1接口发送给MME,使MME的S1的应用协议(S1-Application Protocol,S1-AP)层根据接收的SCTP拥塞状态指示信息减少业务请求。对于eNB和相邻eNB之间的SCTP拥塞控制,eNB将SCTP拥塞状态指示信息通过X2接口发送给相邻eNB,使相邻eNB的S1的应用协议(S1-Application Protocol,S1-AP)层根据接收的SCTP拥塞状态指示信息减少业务请求。For SCTP congestion control between eNB and MME, eNB sends SCTP congestion status indication information to MME through the S1 interface, so that the application protocol (S1-Application Protocol, S1-AP) layer of MME S1 according to the received SCTP congestion status indication Information reduces business requests. For SCTP congestion control between eNB and neighboring eNB, eNB sends SCTP congestion status indication information to neighboring eNB through X2 interface, so that the application protocol (S1-Application Protocol, S1-AP) layer of S1 of neighboring eNB according to The received SCTP congestion status indication information reduces the service request.
eNB根据缓存区剩余长度信息构造SCTP拥塞状态指示信息,并将SCTP拥塞状态指示信息通过S1接口发送给MME,SCTP拥塞状态指示信息包含所述缓存区剩余长度信息。MME的SCTP层获取SCTP拥塞状态指示信息后,反压给MME的S1-AP层,S1-AP层减少相应的业务请求,即核心网根据下行SCTP拥塞指示信息,减少初始的S1-AP消息,如寻呼消息等。同时在SCTP拥塞没有解除前,MME S1-AP可确保高优先级信令优先传输,低优先级信令暂时缓存一段时间(50ms)后再进行传输,甚至可以丢弃低优先级的信令。MME减少业务请求,对eNB来说即是减少SCTP信令下发。The eNB constructs SCTP congestion status indication information according to the buffer remaining length information, and sends the SCTP congestion status indication information to the MME through the S1 interface, and the SCTP congestion status indication information includes the buffer remaining length information. After the SCTP layer of the MME obtains the SCTP congestion status indication information, it backpressures the S1-AP layer of the MME, and the S1-AP layer reduces the corresponding service request, that is, the core network reduces the initial S1-AP message according to the downlink SCTP congestion indication information, Such as paging messages, etc. At the same time, before SCTP congestion is resolved, MME S1-AP can ensure that high-priority signaling is transmitted first, and low-priority signaling is temporarily buffered for a period of time (50ms) before transmission, and even discards low-priority signaling. The reduction of service requests by the MME means the reduction of SCTP signaling for the eNB.
可选的,如果MME不能确保拥塞控制,则eNB将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,eNB可以达到减少SCTP信令下发的目的。Optionally, if the MME cannot ensure congestion control, the eNB notifies the S1-AP layer of the eNB of the SCTP congestion status indication information, and the S1-AP layer of the eNB uses this to prioritize high-priority signaling and identify low-priority signaling Signaling, low-priority signaling is temporarily buffered for a period of time (50ms) before processing, and even low-priority signaling can be discarded. By delaying the processing or discarding of low-priority signaling, the eNB can achieve the purpose of reducing SCTP signaling.
对于通过X2接口与相邻基站进行SCTP拥塞控制处理,其过程相同。For SCTP congestion control processing with adjacent base stations through the X2 interface, the process is the same.
64,拥塞解除。64. The congestion is relieved.
在系统拥塞状态时,eNB进行拥塞控制处理,进而降低eNB处理SCTP信令的CPU占有率。eNB通过监控SCTP资源状况可以获取处理SCTP信令的CPU占有率,当所述处理SCTP信令的CPU占有率小于第一门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。When the system is in a congested state, the eNB performs congestion control processing, thereby reducing the CPU occupancy rate of the eNB for processing SCTP signaling. The eNB can obtain the CPU occupancy rate for processing SCTP signaling by monitoring the SCTP resource status. When the CPU occupancy rate for processing SCTP signaling is less than the first threshold, it indicates that the system congestion has been relieved, and the system congestion state can be released.
具体的,当处理SCTP信令的CPU占有率小于85%时,可以解除系统拥塞状态。Specifically, when the CPU occupation rate for processing SCTP signaling is less than 85%, the system congestion state may be released.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发,缓解eNB在大量信令冲击下的SCTP资源紧张,避免eNB在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capacity on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery, alleviates the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoids the eNB under the impact of a large number of signaling. In this way, the SCTP congestion control can be achieved to ensure the normal operation of the eNB.
图7是S1接口上行SCTP拥塞控制处理方法流程图。FIG. 7 is a flow chart of a method for processing SCTP congestion control uplink on an S1 interface.
S1接口上行SCTP拥塞控制处理是指eNB和MME之间的SCTP拥塞控制处理。eNB向MME发送SCTP信令,当信令负荷较大时,会造成eNB的SCTP资源紧张,包括eNB的上行SCTP发送缓冲区资源耗尽,占用大量的CPU资源等,这种情况下导致eNB链路异常释放和业务中断。The uplink SCTP congestion control process on the S1 interface refers to the SCTP congestion control process between the eNB and the MME. The eNB sends SCTP signaling to the MME. When the signaling load is heavy, the SCTP resources of the eNB will be strained, including the exhaustion of the uplink SCTP sending buffer resources of the eNB, which will occupy a large amount of CPU resources. In this case, the eNB chain abnormal channel release and service interruption.
71,获取处理SCTP信令的CPU占有率和/或处理的SCTP的信令消息数,或者获取SCTP发送缓冲区占用率。71. Acquire the CPU occupancy rate for processing SCTP signaling and/or the number of processed SCTP signaling messages, or acquire the occupancy rate of the SCTP sending buffer.
eNB向MME发送发送SCTP信令,在SCTP拥塞控制机制下,eNB通过监控SCTP资源状况可以获取处理SCTP信令的CPU占有率和/或处理的SCTP的信令消息数,进而进行拥塞判别。The eNB sends SCTP signaling to the MME. Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed by monitoring the SCTP resource status, and then perform congestion judgment.
eNB向MME发送发送SCTP信令,所述信令存在SCTP发送缓冲区中。可选的,eNB可以获取SCTP发送缓冲区占用率。当信令负荷较大时,会造成eNB的SCTP发送缓冲区资源耗尽,即缓冲区容量的占用率已达100%。The eNB sends the SCTP signaling to the MME, and the signaling is stored in the SCTP sending buffer. Optionally, the eNB may obtain the SCTP sending buffer occupancy rate. When the signaling load is heavy, the SCTP sending buffer resources of the eNB will be exhausted, that is, the buffer capacity occupancy rate has reached 100%.
72,判断处理SCTP信令的CPU占有率是否大于第一门限和/或处理SCTP的信令数是否大于第二门限,或者判断SCTP发送缓冲区占用率是否大于第三门限。72. Determine whether the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and/or whether the number of SCTP signaling processes is greater than a second threshold, or determine whether the SCTP sending buffer occupancy rate is greater than a third threshold.
eNB获取处理SCTP信令的CPU占有率以及处理SCTP信令消息数后,进行拥塞判别,当所述处理SCTP信令的CPU占有率大于第一门限,和/或处理SCTP的信令数大于第二门限时,表明系统拥塞。系统拥塞时需要进行拥塞控制处理,以保证大信令业务时,eNB正常工作。After obtaining the CPU occupancy rate for processing SCTP signaling and the number of processed SCTP signaling messages, the eNB performs congestion judgment, when the CPU occupancy rate for processing SCTP signaling is greater than the first threshold, and/or the number of SCTP signaling processing is greater than the first threshold When the threshold is two, it indicates that the system is congested. When the system is congested, congestion control processing is required to ensure that the eNB works normally when there is a large signaling service.
第一门限以及第二门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第一门限以及第二门限的设置进行限定。上行SCTP拥塞控制机制下,第一门限及第二门限的具体值可以与下行SCTP拥塞控制的第一门限及第二门限的具体值不同。The setting of the first threshold and the second threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the first threshold and the second threshold. Under the uplink SCTP congestion control mechanism, the specific values of the first threshold and the second threshold may be different from the specific values of the first threshold and the second threshold of the downlink SCTP congestion control.
具体的,第一门限取值为85%,第二门限取值为2700包/秒(即每秒处理的信令包)。Specifically, the value of the first threshold is 85%, and the value of the second threshold is 2700 packets/second (that is, signaling packets processed per second).
当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When judging congestion based on the number of signalings, specifically: when the number of signalings processed by SCTP is greater than 2700 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 2700, it is judged that the system is in a congested state, and congestion control is required.
可选的,对于处理SCTP信令的CPU占有率等于85%,和/或处理SCTP的信令数等于2700包/秒时,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Optionally, when the CPU occupancy rate for processing SCTP signaling is equal to 85%, and/or the number of SCTP signaling processing is equal to 2700 packets/second, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
当不满足上述判断条件时,继续监控SCTP资源状况。When the above judgment conditions are not met, continue to monitor the SCTP resource status.
可选的,eNB可以只依据SCTP发送缓冲区占用率进行拥塞判别。当SCTP发送缓冲区占用率大于第三门限时,判别系统处于拥塞状态。第三门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第三门限的设置进行限定。Optionally, the eNB may perform congestion judgment only based on the SCTP sending buffer occupancy rate. When the SCTP sending buffer occupancy rate is greater than the third threshold, it is determined that the system is in a congested state. The setting of the third threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the third threshold.
具体的,第三门限取值80%,当SCTP发送缓冲区占用率大于80%时,判别系统处于拥塞状态。对于SCTP发送缓冲区占用率等于80%的情况,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Specifically, the third threshold takes a value of 80%, and when the SCTP sending buffer occupancy rate is greater than 80%, it is determined that the system is in a congested state. For the case where the SCTP send buffer occupancy rate is equal to 80%, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
当不满足SCTP发送缓冲区占用率的判断条件时,继续监控SCTP资源状况。When the judging condition of the SCTP sending buffer occupancy rate is not met, continue to monitor the SCTP resource status.
73,SCTP拥塞控制处理。73. SCTP congestion control processing.
当系统处于SCTP拥塞状态时,执行SCTP拥塞控制处理。When the system is in SCTP congestion state, perform SCTP congestion control processing.
eNB根据处理SCTP信令的CPU占有率以及处理SCTP信令消息数构造SCTP拥塞状态指示信息,或者根据SCTP发送缓冲区占用率构造SCTP拥塞状态指示信息。The eNB constructs the SCTP congestion status indication information according to the CPU occupancy rate for processing SCTP signaling and the number of processed SCTP signaling messages, or constructs the SCTP congestion status indication information according to the SCTP sending buffer occupancy rate.
eNB将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,减少SCTP业务请求。The eNB notifies the S1-AP layer of the eNB of the SCTP congestion status indication information, and the S1-AP layer of the eNB processes the high-priority signaling first, and recognizes the low-priority signaling, and temporarily buffers the low-priority signaling for a period of time (50ms) before processing, and even discard low-priority signaling. Delay the processing or discarding of low-priority signaling to reduce SCTP service requests.
74,拥塞解除。74. The congestion is relieved.
在系统拥塞状态时,eNB进行拥塞控制处理,进而降低eNB处理SCTP信令的CPU占有率或者降低SCTP发送缓冲区占用率。当处理SCTP信令的CPU占有率小于第一门限时或者或者SCTP发送缓冲区占用率小于第三门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。When the system is in a congested state, the eNB performs congestion control processing, thereby reducing the CPU occupancy rate of the eNB for processing SCTP signaling or reducing the occupancy rate of the SCTP sending buffer. When the CPU occupancy rate of the SCTP signaling is less than the first threshold or the SCTP sending buffer occupancy rate is less than the third threshold, it indicates that the system congestion has been alleviated, and the system congestion state can be released.
具体的,当处理SCTP信令的CPU占有率小于85%时或者SCTP发送缓冲区占用率小于80%时,可以解除系统拥塞状态。Specifically, when the occupancy rate of the CPU for processing SCTP signaling is less than 85% or the occupancy rate of the SCTP sending buffer is less than 80%, the system congestion state may be released.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少业务请求,从而减少SCTP信令发送,缓解eNB在大量信令冲击下的SCTP资源紧张,避免eNB在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control to reduce service requests, thereby reducing SCTP signaling transmission, alleviating the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoiding eNB A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
与本发明拥塞控制方法的实施例相对应,本发明还提供了拥塞控制的设备实施例。Corresponding to the embodiment of the congestion control method of the present invention, the present invention also provides a device embodiment of congestion control.
图8是根据本发明的实施例的设备80的结构性示意图。FIG. 8 is a structural schematic diagram of a device 80 according to an embodiment of the present invention.
该设备包括:拥塞检测模块81、拥塞处理模块82。拥塞检测模块81包含:拥塞监测单元810、拥塞判别单元811。The device includes: a congestion detection module 81 and a congestion processing module 82 . The congestion detection module 81 includes: a congestion monitoring unit 810 and a congestion judging unit 811 .
拥塞监测单元810,用于获取SCTP资源状况,SCTP资源状况为处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。The congestion monitoring unit 810 is configured to obtain SCTP resource status, where the SCTP resource status is the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages.
在通信过程中,eNB与MME之间需要交互SCTP信令,eNB处理SCTP信令需要占用CPU资源,相对整个CPU资源来说,存在处理SCTP信令对应的CPU占有率,也可以称为CPU负荷。在SCTP拥塞控制机制下,eNB通过拥塞监测单元810可以获取SCTP资源状况,SCTP资源状况为:处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。处理SCTP的信令消息数可以为下行接收的SCTP的信令消息数,或上行处理的SCTP的信令消息数。During the communication process, SCTP signaling needs to be exchanged between eNB and MME, and eNB needs to occupy CPU resources to process SCTP signaling. Compared with the entire CPU resources, there is a CPU occupancy rate corresponding to SCTP signaling, which can also be called CPU load. . Under the SCTP congestion control mechanism, the eNB can obtain the SCTP resource status through the congestion monitoring unit 810 , and the SCTP resource status is: the CPU occupation rate for processing SCTP signaling and/or the number of SCTP signaling messages processed. The number of SCTP signaling messages processed may be the number of SCTP signaling messages received downlink, or the number of SCTP signaling messages processed uplink.
对于下行拥塞控制,MME向eNB发送SCTP信令,在SCTP拥塞控制机制下,eNB通过拥塞监测单元810可以获取处理SCTP信令的CPU占有率和/或接收的来自MME的SCTP的信令消息数,进而进行拥塞判别。For downlink congestion control, the MME sends SCTP signaling to the eNB. Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages received from the MME through the congestion monitoring unit 810 , and then carry out congestion judgment.
对于上行拥塞控制,eNB向MME发送发送SCTP信令,在SCTP拥塞控制机制下,eNB通过拥塞监测单元810可以获取处理SCTP信令的CPU占有率和/或处理的SCTP的信令消息数,进而进行拥塞判别。对于上行拥塞控制,可选的,eNB通过拥塞监测单元810可以获取SCTP发送缓冲区占用率,即仅把SCTP发送缓冲区占用率作为可用的SCTP资源状况。For uplink congestion control, the eNB sends SCTP signaling to the MME. Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed through the congestion monitoring unit 810, and then Carry out congestion judgment. For uplink congestion control, optionally, the eNB can obtain the SCTP transmission buffer occupancy rate through the congestion monitoring unit 810, that is, only use the SCTP transmission buffer occupancy rate as the available SCTP resource status.
拥塞判别单元811,用于判断SCTP资源状况是否满足拥塞判别条件,即处理SCTP信令的CPU占有率是否大于第一门限和/或处理SCTP的信令数是否大于第二门限。The congestion judging unit 811 is configured to judge whether the SCTP resource status meets the congestion judging condition, that is, whether the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and/or whether the number of SCTP signaling processing is greater than a second threshold.
当所述处理SCTP信令的CPU占有率大于第一门限,和/或处理SCTP的信令数大于第二门限时,表明系统拥塞,执行SCTP拥塞控制处理。When the CPU occupancy rate for processing SCTP signaling is greater than the first threshold, and/or the number of SCTP signaling processing is greater than the second threshold, it indicates that the system is congested, and SCTP congestion control processing is performed.
当不满足上述判断条件时,继续进行SCTP资源状况监测。When the above judgment condition is not met, continue to monitor the SCTP resource status.
可选的,对于处理SCTP信令的CPU占有率等于第一门限,和/或处理SCTP的信令数等于第二门限的情况,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Optionally, for the case that the CPU occupancy rate for processing SCTP signaling is equal to the first threshold, and/or the number of SCTP signaling processing is equal to the second threshold, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
对于下行拥塞控制,具体的,第一门限取值为85%,第二门限取值为3500包/秒。当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当不满足上述判断条件时,继续监控SCTP资源状况。For downlink congestion control, specifically, the value of the first threshold is 85%, and the value of the second threshold is 3500 packets/second. When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When the number of signaling is used for congestion judgment, specifically: when the number of signaling for processing SCTP is greater than 3500 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 3500, it is judged that the system is in a congested state, and congestion control is required. When the above judgment conditions are not met, continue to monitor the SCTP resource status.
对于上行拥塞控制,具体的,第一门限取值为85%,第二门限取值为2700包/秒。当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当不满足上述判断条件时,继续监控SCTP资源状况。For uplink congestion control, specifically, the value of the first threshold is 85%, and the value of the second threshold is 2700 packets/second. When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When judging congestion based on the number of signalings, specifically: when the number of signalings processed by SCTP is greater than 2700 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 2700, it is judged that the system is in a congested state, and congestion control is required. When the above judgment conditions are not met, continue to monitor the SCTP resource status.
第一门限以及第二门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第一门限以及第二门限的设置进行限定。上行SCTP拥塞控制机制下,第一门限及第二门限的具体值可以与下行SCTP拥塞控制的第一门限及第二门限的具体值不同。The setting of the first threshold and the second threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the first threshold and the second threshold. Under the uplink SCTP congestion control mechanism, the specific values of the first threshold and the second threshold may be different from the specific values of the first threshold and the second threshold of the downlink SCTP congestion control.
对于上行拥塞控制,可选的,eNB可以根据拥塞监测单元810获取SCTP发送缓冲区占用率,通过拥塞判别单元811进行拥塞判别。即当SCTP发送缓冲区占用率大于第三门限时,判别系统处于拥塞状态。第三门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第三门限的设置进行限定。具体的,第三门限取值80%,当SCTP发送缓冲区占用率大于80%时,判别系统处于拥塞状态。当不满足SCTP发送缓冲区占用率的判断条件时,继续监控SCTP资源状况。For uplink congestion control, optionally, the eNB can obtain the SCTP transmission buffer occupancy rate according to the congestion monitoring unit 810 , and perform congestion discrimination through the congestion discrimination unit 811 . That is, when the SCTP sending buffer occupancy rate is greater than the third threshold, it is determined that the system is in a congested state. The setting of the third threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the third threshold. Specifically, the third threshold takes a value of 80%, and when the SCTP sending buffer occupancy rate is greater than 80%, it is determined that the system is in a congested state. When the judging condition of the SCTP sending buffer occupancy rate is not met, continue to monitor the SCTP resource status.
拥塞处理模块82,用于在拥塞状态下,进行拥塞控制处理。The congestion processing module 82 is configured to perform congestion control processing in a congestion state.
对于下行拥塞控制,拥塞控制处理如下:For downlink congestion control, the congestion control process is as follows:
eNB对超过第二门限的SCTP信令存储在SCTP信令缓存区中,不进行处理。同时进行缓存区长度计算,获取缓存区剩余长度信息。The eNB stores the SCTP signaling exceeding the second threshold in the SCTP signaling buffer and does not process it. At the same time, the length of the buffer area is calculated to obtain the remaining length information of the buffer area.
eNB根据缓存区剩余长度信息构造SCTP拥塞状态指示信息,并将SCTP拥塞状态指示信息通过S1接口发送给MME,SCTP拥塞状态指示信息包含所述缓存区剩余长度信息。MME的SCTP层获取SCTP拥塞状态指示信息后,反压给MME的S1的应用协议(S1-Application Protocol,S1-AP)层,S1-AP层减少相应的业务请求,即核心网根据下行SCTP拥塞指示信息,减少初始的S1-AP消息,如寻呼消息等。同时在SCTP拥塞没有解除前,MME S1-AP可确保高优先级信令优先传输,低优先级信令暂时缓存一段时间(50ms)后再进行传输,甚至可以丢弃低优先级的信令。MME减少业务请求,对eNB来说即是减少SCTP信令下发。The eNB constructs SCTP congestion status indication information according to the buffer remaining length information, and sends the SCTP congestion status indication information to the MME through the S1 interface, and the SCTP congestion status indication information includes the buffer remaining length information. After the SCTP layer of the MME obtains the SCTP congestion status indication information, it backpressures the S1 application protocol (S1-Application Protocol, S1-AP) layer of the MME, and the S1-AP layer reduces the corresponding service request, that is, the core network Indicates information to reduce initial S1-AP messages, such as paging messages. At the same time, before SCTP congestion is resolved, MME S1-AP can ensure that high-priority signaling is transmitted first, and low-priority signaling is temporarily buffered for a period of time (50ms) before transmission, and even discards low-priority signaling. The reduction of service requests by the MME means the reduction of SCTP signaling for the eNB.
可选的,如果MME不能确保拥塞控制,则eNB将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,eNB可以达到减少SCTP信令下发的目的。Optionally, if the MME cannot ensure congestion control, the eNB notifies the S1-AP layer of the eNB of the SCTP congestion status indication information, and the S1-AP layer of the eNB uses this to prioritize high-priority signaling and identify low-priority signaling Signaling, low-priority signaling is temporarily buffered for a period of time (50ms) before processing, and even low-priority signaling can be discarded. By delaying the processing or discarding of low-priority signaling, the eNB can achieve the purpose of reducing SCTP signaling.
对于上行拥塞控制,拥塞控制处理如下:For uplink congestion control, the congestion control process is as follows:
eNB根据处理SCTP信令的CPU占有率以及处理SCTP信令消息数构造SCTP拥塞状态指示信息,或者根据SCTP发送缓冲区占用率构造SCTP拥塞状态指示信息。The eNB constructs the SCTP congestion status indication information according to the CPU occupancy rate for processing SCTP signaling and the number of processed SCTP signaling messages, or constructs the SCTP congestion status indication information according to the SCTP sending buffer occupancy rate.
eNB将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,减少SCTP业务请求。The eNB notifies the S1-AP layer of the eNB of the SCTP congestion status indication information, and the S1-AP layer of the eNB processes the high-priority signaling first, and recognizes the low-priority signaling, and temporarily buffers the low-priority signaling for a period of time (50ms) before processing, and even discard low-priority signaling. Delay the processing or discarding of low-priority signaling to reduce SCTP service requests.
拥塞判别单元811,还可以用于拥塞解除处理。The congestion judging unit 811 can also be used for congestion relief processing.
在系统拥塞状态时,eNB通过拥塞处理模块82进行拥塞控制处理,进而降低eNB处理SCTP信令的CPU占有率。eNB通过拥塞监测单元810监控SCTP资源状况可以获取处理SCTP信令的CPU占有率,,进而通过拥塞判别单元811进行拥塞判别,当所述处理SCTP信令的CPU占有率小于第一门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。具体的,当处理SCTP信令的CPU占有率小于85%时,可以解除系统拥塞状态。When the system is in a congested state, the eNB performs congestion control processing through the congestion processing module 82, thereby reducing the CPU occupancy rate of the eNB for processing SCTP signaling. The eNB monitors the SCTP resource status through the congestion monitoring unit 810 to obtain the CPU occupancy rate for processing SCTP signaling, and then performs congestion discrimination through the congestion determination unit 811. When the CPU occupancy rate for processing SCTP signaling is less than the first threshold, it indicates The system congestion has been relieved, and the system congestion state can be released. Specifically, when the CPU occupation rate for processing SCTP signaling is less than 85%, the system congestion state may be released.
对于上行拥塞控制,可选的,在系统拥塞状态时,eNB通过拥塞处理模块82进行拥塞控制处理,进而降低SCTP发送缓冲区占用率。eNB通过拥塞监测单元810监控SCTP资源状况可以获取SCTP发送缓冲区占用率,进而通过拥塞判别单元811进行拥塞判别,当所述SCTP发送缓冲区占用率小于第三门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。具体的,当SCTP发送缓冲区占用率小于80%时,可以解除系统拥塞状态。For uplink congestion control, optionally, when the system is in a congested state, the eNB performs congestion control processing through the congestion processing module 82, thereby reducing the SCTP sending buffer occupancy rate. The eNB monitors the SCTP resource status through the congestion monitoring unit 810 to obtain the SCTP sending buffer occupancy rate, and then performs congestion judgment through the congestion judging unit 811. When the SCTP sending buffer occupancy rate is less than the third threshold, it indicates that the system congestion has been alleviated. The system congestion state can be relieved. Specifically, when the occupancy rate of the SCTP sending buffer is less than 80%, the system congestion state may be released.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery or reduces service requests, relieves the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoids A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
图9是根据本发明的实施例的设备90的结构性示意图。FIG. 9 is a structural schematic diagram of a device 90 according to an embodiment of the present invention.
该拥塞控制处理设备90可以是图1中的一个基站110,包括:接口91、处理器92、存储器93。接口91、处理器92和存储器93通过总线相连。当然,设备还可以包括收发天线、中射频处理部件等通用部件,本发明实施例在此不再任何限制。The congestion control processing device 90 may be a base station 110 in FIG. 1 , and includes: an interface 91 , a processor 92 , and a memory 93 . The interface 91, the processor 92 and the memory 93 are connected through a bus. Of course, the device may also include common components such as a transceiver antenna and an intermediate radio frequency processing component, which are not limited in this embodiment of the present invention.
接口91,可以为基站与核心网的S1接口,也可以为基站间的X2接口。该接口用于基站与核心网之间或者基站之间进行信令交互。The interface 91 may be an S1 interface between the base station and the core network, or an X2 interface between the base stations. This interface is used for signaling interaction between the base station and the core network or between base stations.
存储器93可以是包括随机存取存储器(RAM,Random AccessMemory)和只读存储器(ROM,Read-Only Memory)、或任何固定的存储介质、或可移动的存储介质,用于存储可以执行本发明实施例的程序代码和/或本发明实施例中待处理的数据。Memory 93 may include random access memory (RAM, Random Access Memory) and read-only memory (ROM, Read-Only Memory), or any fixed storage medium, or removable storage medium, for storing the The program code of the example and/or the data to be processed in the embodiment of the present invention.
处理器92用于调用存储器中存储的程序代码,执行以下操作:The processor 92 is used to call the program code stored in the memory to perform the following operations:
获取SCTP资源状况,SCTP资源状况为处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。The SCTP resource status is acquired, where the SCTP resource status is the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages.
在通信过程中,eNB与MME之间通过接口91交互SCTP信令,eNB处理SCTP信令需要占用CPU资源,相对整个CPU资源来说,存在处理SCTP信令对应的CPU占有率,也可以称为CPU负荷。在SCTP拥塞控制机制下,eNB通过处理器92可以获取SCTP资源状况,SCTP资源状况为:处理SCTP信令的CPU占有率和/或处理SCTP的信令消息数。处理SCTP的信令消息数可以为下行接收的SCTP的信令消息数,或上行处理的SCTP的信令消息数。During the communication process, the eNB and the MME exchange SCTP signaling through the interface 91. The eNB needs to occupy CPU resources to process the SCTP signaling. Compared with the entire CPU resource, there is a CPU occupancy rate corresponding to the SCTP signaling, which can also be called CPU load. Under the SCTP congestion control mechanism, the eNB can obtain the SCTP resource status through the processor 92, and the SCTP resource status is: the CPU occupation rate for processing SCTP signaling and/or the number of signaling messages for processing SCTP. The number of SCTP signaling messages processed may be the number of SCTP signaling messages received downlink, or the number of SCTP signaling messages processed uplink.
对于下行拥塞控制,MME向eNB发送SCTP信令,在SCTP拥塞控制机制下,eNB通过处理器92可以获取处理SCTP信令的CPU占有率和/或接收的来自MME的SCTP的信令消息数,进而进行拥塞判别。For downlink congestion control, the MME sends SCTP signaling to the eNB. Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing the SCTP signaling and/or the number of SCTP signaling messages received from the MME through the processor 92, Then perform congestion judgment.
对于上行拥塞控制,eNB向MME发送发送SCTP信令,在SCTP拥塞控制机制下,eNB通过处理器92可以获取处理SCTP信令的CPU占有率和/或处理的SCTP的信令消息数,进而进行拥塞判别。对于上行拥塞控制,可选的,eNB通过处理器92可以获取SCTP发送缓冲区占用率,即仅把SCTP发送缓冲区占用率作为可用的SCTP资源状况。For uplink congestion control, the eNB sends SCTP signaling to the MME. Under the SCTP congestion control mechanism, the eNB can obtain the CPU occupancy rate for processing SCTP signaling and/or the number of SCTP signaling messages processed by the eNB through the processor 92, and then perform Congestion discrimination. For uplink congestion control, optionally, the eNB can obtain the SCTP transmission buffer occupancy rate through the processor 92, that is, only use the SCTP transmission buffer occupancy rate as the available SCTP resource status.
处理器92还用于判断获取的SCTP资源状况是否满足拥塞判别条件,即处理SCTP信令的CPU占有率是否大于第一门限和/或处理SCTP的信令数是否大于第二门限。The processor 92 is also configured to determine whether the acquired SCTP resource status meets the congestion judging condition, that is, whether the CPU occupancy rate for processing SCTP signaling is greater than a first threshold and/or whether the number of SCTP signaling processing is greater than a second threshold.
当所述处理SCTP信令的CPU占有率大于第一门限,和/或处理SCTP的信令数大于第二门限时,表明系统拥塞,执行SCTP拥塞控制处理。When the CPU occupancy rate for processing SCTP signaling is greater than the first threshold, and/or the number of SCTP signaling processing is greater than the second threshold, it indicates that the system is congested, and SCTP congestion control processing is performed.
当不满足上述判断条件时,继续进行SCTP资源状况监测。When the above judgment condition is not met, continue to monitor the SCTP resource status.
可选的,对于处理SCTP信令的CPU占有率等于第一门限,和/或处理SCTP的信令数等于第二门限的情况,可以判别系统处于拥塞状态,也可以判别系统处于非拥塞状态。Optionally, for the case that the CPU occupancy rate for processing SCTP signaling is equal to the first threshold, and/or the number of SCTP signaling processing is equal to the second threshold, it can be judged that the system is in a congested state, or it can be judged that the system is in a non-congested state.
对于下行拥塞控制,具体的,第一门限取值为85%,第二门限取值为3500包/秒。当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于3500包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当不满足上述判断条件时,继续监控SCTP资源状况。For downlink congestion control, specifically, the value of the first threshold is 85%, and the value of the second threshold is 3500 packets/second. When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When the number of signaling is used for congestion judgment, specifically: when the number of signaling for processing SCTP is greater than 3500 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 3500, it is judged that the system is in a congested state, and congestion control is required. When the above judgment conditions are not met, continue to monitor the SCTP resource status.
对于上行拥塞控制,具体的,第一门限取值为85%,第二门限取值为2700包/秒。当只用处理SCTP信令的CPU占有率进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%时,判别系统处于拥塞状态,需要进行拥塞控制;当只用处理SCTP的信令数进行拥塞判别时,具体为:当处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当用处理SCTP信令的CPU占有率和处理SCTP的信令数这两个条件进行拥塞判别时,具体为:当处理SCTP信令的CPU占有率大于85%,和处理SCTP的信令数大于2700包/秒时,判别系统处于拥塞状态,需要进行拥塞控制。当不满足上述判断条件时,继续监控SCTP资源状况。For uplink congestion control, specifically, the value of the first threshold is 85%, and the value of the second threshold is 2700 packets/second. When only the CPU occupancy of SCTP signaling is used for congestion judgment, the specifics are: when the CPU occupancy of SCTP signaling is greater than 85%, it is judged that the system is in a congested state and congestion control needs to be performed; when only SCTP signaling is used When judging congestion based on the number of signalings, specifically: when the number of signalings processed by SCTP is greater than 2700 packets/second, it is judged that the system is in a congested state and congestion control is required. When judging congestion based on the CPU occupancy of SCTP signaling and the number of SCTP signaling, the specific conditions are: when the CPU occupancy of SCTP signaling is greater than 85%, and the number of SCTP signaling is greater than When the packet/second is 2700, it is judged that the system is in a congested state, and congestion control is required. When the above judgment conditions are not met, continue to monitor the SCTP resource status.
第一门限以及第二门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第一门限以及第二门限的设置进行限定。上行SCTP拥塞控制机制下,第一门限及第二门限的具体值可以与下行SCTP拥塞控制的第一门限及第二门限的具体值不同。The setting of the first threshold and the second threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the first threshold and the second threshold. Under the uplink SCTP congestion control mechanism, the specific values of the first threshold and the second threshold may be different from the specific values of the first threshold and the second threshold of the downlink SCTP congestion control.
对于上行拥塞控制,可选的,eNB可以只根据处理器92获取SCTP发送缓冲区占用率,通过处理器92进行拥塞判别。即当SCTP发送缓冲区占用率大于第三门限时,判别系统处于拥塞状态。第三门限的设置可以根据系统处理能力进行预先配置,本发明实施例不对第三门限的设置进行限定。具体的,第三门限取值80%,当SCTP发送缓冲区占用率大于80%时,判别系统处于拥塞状态。当不满足SCTP发送缓冲区占用率的判断条件时,继续监控SCTP资源状况。For uplink congestion control, optionally, the eNB may only obtain the SCTP transmission buffer occupancy rate according to the processor 92, and perform congestion judgment through the processor 92. That is, when the SCTP sending buffer occupancy rate is greater than the third threshold, it is determined that the system is in a congested state. The setting of the third threshold may be pre-configured according to the system processing capability, and the embodiment of the present invention does not limit the setting of the third threshold. Specifically, the third threshold takes a value of 80%, and when the SCTP sending buffer occupancy rate is greater than 80%, it is determined that the system is in a congested state. When the judging condition of the SCTP sending buffer occupancy rate is not met, continue to monitor the SCTP resource status.
处理器92还用于在拥塞状态下,进行拥塞控制处理。The processor 92 is also configured to perform congestion control processing in a congestion state.
对于下行拥塞控制,拥塞控制处理如下:For downlink congestion control, the congestion control process is as follows:
对超过第二门限的SCTP信令存储在SCTP信令缓存区中,即存储器93,不进行处理。同时进行缓存区长度计算,获取缓存区剩余长度信息。The SCTP signaling exceeding the second threshold is stored in the SCTP signaling buffer, that is, the memory 93, and is not processed. At the same time, the length of the buffer area is calculated to obtain the remaining length information of the buffer area.
根据缓存区剩余长度信息构造SCTP拥塞状态指示信息,并将SCTP拥塞状态指示信息通过接口91发送给MME,SCTP拥塞状态指示信息包含所述缓存区剩余长度信息。MME的SCTP层获取SCTP拥塞状态指示信息后,反压给MME的S1-AP层,S1-AP层减少相应的业务请求,即核心网根据下行SCTP拥塞指示信息,减少初始的S1-AP消息,如寻呼消息等。同时在SCTP拥塞没有解除前,MME S1-AP可确保高优先级信令优先传输,低优先级信令暂时缓存一段时间(50ms)后再进行传输,甚至可以丢弃低优先级的信令。MME减少业务请求,对eNB来说即是减少SCTP信令下发。Construct SCTP congestion status indication information according to the buffer remaining length information, and send the SCTP congestion status indication information to the MME through the interface 91, where the SCTP congestion status indication information includes the buffer remaining length information. After the SCTP layer of the MME obtains the SCTP congestion status indication information, it backpressures the S1-AP layer of the MME, and the S1-AP layer reduces the corresponding service request, that is, the core network reduces the initial S1-AP message according to the downlink SCTP congestion indication information, Such as paging messages, etc. At the same time, before SCTP congestion is resolved, MME S1-AP can ensure that high-priority signaling is transmitted first, and low-priority signaling is temporarily buffered for a period of time (50ms) before transmission, and even discards low-priority signaling. The reduction of service requests by the MME means the reduction of SCTP signaling for the eNB.
可选的,如果MME不能确保拥塞控制,则将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,eNB可以达到减少SCTP信令下发的目的。Optionally, if the MME cannot ensure congestion control, it will notify the S1-AP layer of the eNB of the SCTP congestion status indication information, and the S1-AP layer of the eNB will preferentially process high-priority signaling and identify low-priority signaling low-priority signaling is temporarily buffered for a period of time (50ms) before processing, and even low-priority signaling can be discarded. By delaying the processing or discarding of low-priority signaling, the eNB can achieve the purpose of reducing SCTP signaling.
对于上行拥塞控制,拥塞控制处理如下:For uplink congestion control, the congestion control process is as follows:
根据处理SCTP信令的CPU占有率以及处理SCTP信令消息数构造SCTP拥塞状态指示信息,或者根据SCTP发送缓冲区占用率构造SCTP拥塞状态指示信息。SCTP发送缓冲区也是存储器93的一部分。The SCTP congestion status indication information is constructed according to the CPU occupancy rate for processing SCTP signaling and the number of processed SCTP signaling messages, or the SCTP congestion status indication information is constructed according to the SCTP sending buffer occupancy rate. The SCTP send buffer is also part of memory 93 .
将SCTP拥塞状态指示信息通知给eNB的S1-AP层,eNB的S1-AP层以此优先处理高优先级信令,并识别出低优先级信令,低优先级信令暂时缓存一段时间(50ms)后再进行处理,甚至可以丢弃低优先级的信令。延迟低优先级信令的处理或者丢弃,减少SCTP业务请求。Notify the SCTP congestion status indication information to the S1-AP layer of the eNB, and the S1-AP layer of the eNB will process the high-priority signaling first, and identify the low-priority signaling, and temporarily buffer the low-priority signaling for a period of time ( 50ms) before processing, and even discard low-priority signaling. Delay the processing or discarding of low-priority signaling to reduce SCTP service requests.
处理器92还用于拥塞解除处理。Processor 92 is also used for congestion relief processing.
在系统拥塞状态时,eNB通过处理器92进行拥塞控制处理,进而降低eNB处理SCTP信令的CPU占有率。eNB通过处理器92监控SCTP资源状况可以获取处理SCTP信令的CPU占有率,,进而处理器92进行拥塞判别,当所述处理SCTP信令的CPU占有率小于第一门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。具体的,当处理SCTP信令的CPU占有率小于85%时,可以解除系统拥塞状态。When the system is in a congested state, the eNB performs congestion control processing through the processor 92, thereby reducing the CPU occupancy rate of the eNB for processing SCTP signaling. The eNB monitors the SCTP resource status through the processor 92 to obtain the CPU occupancy rate for processing SCTP signaling, and then the processor 92 performs congestion judgment. When the CPU occupancy rate for processing SCTP signaling is less than the first threshold, it indicates that the system is congested. Relief, which can relieve the system congestion state. Specifically, when the CPU occupation rate for processing SCTP signaling is less than 85%, the system congestion state may be released.
对于上行拥塞控制,可选的,在系统拥塞状态时,eNB通过处理器92进行拥塞控制处理,进而降低SCTP发送缓冲区占用率。eNB通过处理器92监控SCTP资源状况可以获取SCTP发送缓冲区占用率,进而通过处理器92进行拥塞判别,当所述SCTP发送缓冲区占用率小于第三门限时,表明系统拥塞已缓解,可以解除系统拥塞状态。具体的,当SCTP发送缓冲区占用率小于80%时,可以解除系统拥塞状态。For uplink congestion control, optionally, when the system is in a congested state, the eNB performs congestion control processing through the processor 92, thereby reducing the SCTP sending buffer occupancy rate. The eNB monitors the SCTP resource status through the processor 92 to obtain the SCTP transmission buffer occupancy rate, and then performs congestion judgment through the processor 92. When the SCTP transmission buffer occupancy rate is less than the third threshold, it indicates that the system congestion has been alleviated and can be released. The system is congested. Specifically, when the occupancy rate of the SCTP sending buffer is less than 80%, the system congestion state may be released.
本发明实施例通过考虑CPU处理能力对信令拥塞带来的影响,进而进行拥塞控制,减少SCTP信令下发或者减少业务请求,缓解eNB在大量信令冲击下的SCTP资源紧张,避免设备在大量信令冲击下导致故障、出现瘫痪,从而达到SCTP拥塞控制的目的,保证eNB的业务正常进行。The embodiment of the present invention considers the impact of CPU processing capability on signaling congestion, and then performs congestion control, reduces SCTP signaling delivery or reduces service requests, relieves the SCTP resource shortage of eNB under the impact of a large number of signaling, and avoids A large number of signaling impacts lead to failures and paralysis, so as to achieve the purpose of SCTP congestion control and ensure the normal operation of eNB services.
应理解,本发明的每个权利要求所叙述的方案也应看作是一个实施例,并且是权利要求中的特征是可以结合的,如本发明中的判断步骤后的执行的不同分支的步骤可以作为不同的实施例。It should be understood that the solution described in each claim of the present invention should also be regarded as an embodiment, and the features in the claims can be combined, such as the steps of different branches executed after the judgment step in the present invention Can be used as different embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and other media that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (21)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/071146 WO2014117342A1 (en) | 2013-01-30 | 2013-01-30 | Congestion control method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103975623A true CN103975623A (en) | 2014-08-06 |
Family
ID=51243485
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201380002384.4A Pending CN103975623A (en) | 2013-01-30 | 2013-01-30 | A method and device for congestion control |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103975623A (en) |
| WO (1) | WO2014117342A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109246836A (en) * | 2017-06-06 | 2019-01-18 | 中兴通讯股份有限公司 | A kind of X2 interface establishes management method, device and base station |
| CN110784344A (en) * | 2019-10-17 | 2020-02-11 | 京信通信系统(中国)有限公司 | Data processing method, apparatus, computer equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7304948B1 (en) * | 2000-12-29 | 2007-12-04 | Nortel Networks Limited | Congestion control for signalling transport protocols |
| CN101087244A (en) * | 2006-06-07 | 2007-12-12 | 华为技术有限公司 | An implementation method for congestion control in stream control transmission |
| CN101098307A (en) * | 2006-06-29 | 2008-01-02 | 日本电气株式会社 | Communication network control system, radio communication apparatus, and communication network control method |
| CN101938400A (en) * | 2009-06-30 | 2011-01-05 | 华为技术有限公司 | Method and device for network congestion control |
| CN101965007A (en) * | 2009-07-21 | 2011-02-02 | 中兴通讯股份有限公司 | Congestion control method and device for base station |
-
2013
- 2013-01-30 CN CN201380002384.4A patent/CN103975623A/en active Pending
- 2013-01-30 WO PCT/CN2013/071146 patent/WO2014117342A1/en active Application Filing
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7304948B1 (en) * | 2000-12-29 | 2007-12-04 | Nortel Networks Limited | Congestion control for signalling transport protocols |
| CN101087244A (en) * | 2006-06-07 | 2007-12-12 | 华为技术有限公司 | An implementation method for congestion control in stream control transmission |
| CN101098307A (en) * | 2006-06-29 | 2008-01-02 | 日本电气株式会社 | Communication network control system, radio communication apparatus, and communication network control method |
| CN101938400A (en) * | 2009-06-30 | 2011-01-05 | 华为技术有限公司 | Method and device for network congestion control |
| CN101965007A (en) * | 2009-07-21 | 2011-02-02 | 中兴通讯股份有限公司 | Congestion control method and device for base station |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109246836A (en) * | 2017-06-06 | 2019-01-18 | 中兴通讯股份有限公司 | A kind of X2 interface establishes management method, device and base station |
| CN110784344A (en) * | 2019-10-17 | 2020-02-11 | 京信通信系统(中国)有限公司 | Data processing method, apparatus, computer equipment and storage medium |
| CN110784344B (en) * | 2019-10-17 | 2022-05-03 | 京信网络系统股份有限公司 | Data processing method, data processing device, computer equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2014117342A1 (en) | 2014-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8843175B2 (en) | Apparatus and methods for mitigating protocol-induced back-offs in a communication network | |
| EP3826274A1 (en) | Flow control method and apparatus | |
| CN107306438B (en) | Method for generating wireless access network slice, wireless access network and slice manager | |
| US11510083B2 (en) | Method and apparatus for sending data volume report | |
| KR102384282B1 (en) | Apparatus and method for controllong congestion in wireless communication system | |
| US10321513B2 (en) | Method for PDCP control PDU transmission by user equipment (UE) | |
| JP4843090B2 (en) | Mobile station, base station apparatus, communication control method, and mobile communication system | |
| US11751096B2 (en) | Congestion control method and device, and base station | |
| US20140177448A1 (en) | Method for data transmission, offload point device, user equipment and system | |
| CN102598825A (en) | Quality of Service Control in Repeaters | |
| CN104301066A (en) | Data packet transmission method and device | |
| CN104685930B (en) | A communication method and terminal | |
| WO2015081553A1 (en) | Data transmission method, apparatus and system | |
| KR20200116908A (en) | Data transmission control method and related products | |
| CN108476174B (en) | Congestion control method, device and related equipment | |
| CN103369674A (en) | Distribution method of air interface resources and equipment | |
| CN101982951A (en) | Data transmission control method and intermediate node | |
| US11184860B2 (en) | Data sending method and apparatus | |
| EP3682665A1 (en) | Packet latency reduction in mobile radio access networks | |
| WO2023179669A1 (en) | Data processing method, apparatus, communication device and readable storage medium | |
| CN116235542A (en) | Routing method, device and system | |
| WO2022121934A1 (en) | Rerouting method and apparatus, and communication device | |
| WO2012155783A1 (en) | Data transmission method and system | |
| CN103975623A (en) | A method and device for congestion control | |
| WO2024207313A1 (en) | Method and apparatus for wireless communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140806 |