CN114286374A - Congestion grade detection and processing method, system, equipment and storage medium - Google Patents

Congestion grade detection and processing method, system, equipment and storage medium Download PDF

Info

Publication number
CN114286374A
CN114286374A CN202111539240.5A CN202111539240A CN114286374A CN 114286374 A CN114286374 A CN 114286374A CN 202111539240 A CN202111539240 A CN 202111539240A CN 114286374 A CN114286374 A CN 114286374A
Authority
CN
China
Prior art keywords
network layer
congestion level
message
level
timer
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.)
Granted
Application number
CN202111539240.5A
Other languages
Chinese (zh)
Other versions
CN114286374B (en
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN202111539240.5A priority Critical patent/CN114286374B/en
Publication of CN114286374A publication Critical patent/CN114286374A/en
Application granted granted Critical
Publication of CN114286374B publication Critical patent/CN114286374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a system, equipment and a storage medium for detecting and processing congestion levels, wherein the method comprises the following steps: counting the number of messages sent from a message inlet to a network layer, and executing a polling operation when the number of the messages reaches a specified number; the polling operation is: sending a polling message to a message inlet, and starting a first timer; when a polling completion message is received within the timing duration, resetting the first timer, reducing or maintaining the congestion level of the network layer, correspondingly updating the numerical value of the designated number, clearing the number of messages, and counting the number of messages sent to the network layer again; otherwise, resetting the first timer; maintaining or raising the congestion level of the network layer, correspondingly updating the numerical value of the designated number, clearing the number of the messages, and counting the number of the messages sent to the network layer again; the higher the congestion level, the smaller the number of specified numbers updated. The congestion level is detected and processed based on a polling mechanism, and the load self-regulation of a network layer is realized under the condition of not depending on an external network element.

Description

Congestion grade detection and processing method, system, equipment and storage medium
Technical Field
The present invention relates to the field of large-scale machine communication, and more particularly, to a method, system, device, and storage medium for detecting and processing congestion levels.
Background
With the rapid deployment of new generation mobile communication technologies, the explosive growth of end users using 5G network services also occurs. One of the three application scenarios proposed by 5G is a large-scale machine communication application scenario, which is a network access scenario oriented to mass devices, and the scenario requires realization of ultra-reliability and low time delay, so that a great challenge is provided for the stability and instantaneous impact resistance of a running system of a base station in a high-load state. Under the condition that a base station system processes numerous messages, how to ensure that the internal congestion state can be solved in time and how to ensure the normal service of the accessed terminal becomes a problem to be solved by the base station system under the high concurrency scene. Congestion refers to the phenomenon that the number of messages arriving in the network is too large, so that the part of the network is too late to process, and the performance of the part and even the whole network is reduced, and in severe cases, the network communication service is even stopped.
The prior art detection and processing of a high load state or congestion degree of a base station is generally directed to load coordination between base station systems or load coordination within a base station system. There are various detection criteria for the congestion level, such as access request by the terminal, usage of currently available slices, and processing of the data plane of the base station system. The main body of the congestion degree judgment and execution is also various, for example, whether the service module is congested is judged through the core network, and then the base station is triggered and controlled to perform congestion control, or after the base station judges whether the service module is congested, the base station informs the accessed terminal to adopt an evading mode to reduce the congestion degree of the base station, or the terminal judges whether the load of the serving cell exceeds an overload threshold, and automatically reselects the cell to reduce the congestion.
In the judgment of the congestion degree, if the detection of congestion is realized by depending on an external network element, a certain time delay exists, and after the judgment, the congestion is still avoided by controlling the external network element, and the problem of time delay also exists, so that the low-delay requirement under the application scene cannot be met.
Disclosure of Invention
The present invention is directed to overcoming at least one of the above-mentioned drawbacks of the prior art and providing a method, a system, a device and a storage medium for detecting and processing a congestion level of a base station system, which are used for solving the problem of time delay in the detection and processing of the congestion level of the base station system from a control plane of the base station system.
The technical scheme adopted by the invention comprises the following steps:
in a first aspect, the present invention provides a congestion level detection and processing method, including: counting the number of messages sent from a message inlet of a network layer to the network layer, and executing a polling operation when the number of the messages reaches a specified number; the polling operation is: sending a polling message to the message inlet, and starting a first timer to time; when a polling completion message is received within the timing duration of the first timer, resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the reduced or maintained congestion level, clearing the number of messages, and counting the number of messages sent from the message inlet to the network layer again; resetting the first timer when a polling completion message is not received within the timing duration of the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the maintained or increased congestion level, clearing the number of the messages, and counting the number of the messages sent from the message inlet to the network layer again; the higher the congestion level, the smaller the updated numerical value of the specified number.
In a second aspect, the present invention provides a congestion level detection and processing system, including: the message counting module is used for counting the number of messages sent to the network layer from a message inlet of the network layer; the polling starting and processing module is used for executing a polling operation when the number of the messages counted by the message counting module reaches a specified number; the polling operation is: sending a polling message to the message inlet, and starting a first timer to time; when a polling completion message is received within the timing duration of the first timer, resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical value of the designated number according to the reduced or maintained congestion level; resetting the first timer when a polling completion message is not received within the timing duration of the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical value of the designated number according to the maintained or increased congestion level; the higher the congestion level is, the smaller the numerical value of the specified number updated by the polling starting and processing module is; the message counting module is further configured to clear the counted number of messages after the polling start and processing module decreases, maintains or increases the congestion level of the network layer, and count the number of messages sent to the network layer from the message entry again.
In a third aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the congestion level detection and processing method when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the above described congestion level detection and processing method.
Compared with the prior art, the invention has the beneficial effects that:
the congestion level detection and processing method, system, device and medium provided by the invention are used for detecting and processing the congestion level of the network layer based on a polling mechanism, transmitting polling messages to message inlets of the network layer so that each service module of the network layer receives and processes the polling messages, reflecting the congestion level of the network layer based on the time length of the received polling completion messages, thereby adjusting the congestion level of the network layer, intuitively reflecting the congestion level of the network layer, and meanwhile, adaptively changing the trigger execution time interval of the next polling operation, avoiding the situation that the next polling operation is triggered too fast so as to increase the burden of the network layer, or avoiding the situation that the next polling operation is triggered too slow so as to further worsen the congestion condition of the network layer. Based on the congestion level detection and processing method, the congestion level detection and processing system, the congestion level detection and processing equipment and the congestion level processing medium, the load self-regulation of a network layer is realized under the condition of not depending on an external network element, and the network layer can be ensured to provide low-delay and normal services.
Drawings
FIG. 1 is a flowchart illustrating steps S110-S160 according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of data interaction between a 5G base station system and an external network element in the embodiment of the present invention.
FIG. 3 is a flowchart illustrating steps S210-S270 according to an embodiment of the present invention.
FIG. 4 is a flowchart illustrating steps S310-S370 according to an embodiment of the present invention.
Fig. 5 is a block diagram of a congestion level detection and processing system according to an embodiment of the present invention.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For a better understanding of the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The present embodiment provides a congestion level detection and processing method, which is used for performing congestion detection and processing on a base station system from a network layer in a control plane protocol stack of the base station system, so that a congestion situation of the base station system can be discovered in time and corresponding countermeasures can be taken.
The base station system refers to a radio transceiver station for performing message transmission with a mobile terminal through a mobile communication switching center in a certain radio coverage area. The control plane protocol stack of the base station system is mainly responsible for the connection establishment between the base station system and the external network element, and is a protocol stack adopted by the transmission of the control signaling of the base station system. The network layer is a third layer of the Control plane protocol stack and includes a Non-access stratum (NAS) layer and a Radio Resource Control (RRC) layer. The second layer of the control plane protocol stack is a data link layer, and the first layer is a physical layer. The method provided by the embodiment detects the congestion level of the service module in the network layer, initiatively detects the congestion of the network layer in the control plane of the base station system, reflects the congestion degree of the base station system by the congestion level of the service module in the network layer, does not need to introduce an external network element to participate in the execution of the method, can realize the real-time congestion detection of the service module in the network layer, and timely takes corresponding measures.
As shown in fig. 1, the method comprises the steps of:
s110: counting the number of messages sent from a message inlet of a network layer to the network layer;
the network layer generally has two message inlets, which are an air interface inlet and a network interface inlet, where the air interface inlet is located on an air interface side of the network layer and is used to receive an air interface message and an interactive message with a bottom layer, the air interface message refers to a message transmitted through the air interface, the air interface refers to a transmission interface between the network layer and a terminal, and the bottom layer refers to a radio resource control layer in the network layer. The network interface inlet is located at a network port side of the network layer and is used for receiving an interactive signaling of an external network element through the network interface, the network interface refers to a transmission interface between the network layer and the external network element, and the external network element includes a core network and other base station systems, such as a 5G base station system or a 4G base station system.
The number of messages sent from each message inlet to the network layer is independently counted in the step, and the counted number of messages is a factor for judging whether the polling operation can be executed in the subsequent step.
S120: judging whether the counted number of the messages reaches the specified number, if so, executing a polling operation; if not, executing step S110 to continue counting the number of the messages;
in this step, since the number of messages sent from each message entry to the network layer is counted independently, each time the number of messages sent to the network layer via one message entry reaches a specified number, the execution of one polling operation is triggered. The counted number of messages reaching the specified number indicates that the number of messages currently sent to the network layer has reached a certain degree, and the network layer may have a congestion condition, so that a polling operation needs to be triggered for congestion detection. Specifically, an initial value of the designated number is preset, and the initial value of the designated number sets the maximum number of the concurrent messages that can be processed by the network layer in the control plane protocol stack of the reference base station system. The specified number in this step refers to a current value of the specified number, which may be an initial value.
The execution of the polling operation comprises the steps of:
s130: sending a polling message to a message inlet, and starting a first timer to time;
in this step, the polling message refers to a message that sends a polling request to a plurality of service modules in the network layer through the message entry, and the polling message is received and processed in the plurality of service modules in the network layer in sequence, and when the last service module completes processing of the polling message and sends a polling completion message, it indicates that a round of polling is completed. In the polling process, when a polling message reaches a received message queue of a service module therein, if the load of the service module is heavy, the polling message cannot be received and processed in time, so that the time for transmitting the polling message to the next service module is delayed, and the completion time of the polling message can reflect the congestion degree of the service module in the network layer.
The initial value of the timing duration of the first timer is preset, the time length value of the timing duration can be referred to, when a network layer processing system in a control plane protocol stack of a base station system supports the maximum number of concurrent messages, a plurality of service modules in a network layer complete the average time value required by a round of polling, and the timing duration of the first timer can be used as an effective condition for judging whether the service modules in the network layer are congested.
S140: judging whether a polling completion message is received within the timing duration of the first timer, if so, executing the step S150, and if not, executing the step S160;
the polling completion message is sent by the last service module of the network layer, which processes the polling message, and when the polling completion message is received within the timing duration of the first timer, the polling message is indicated to be received and processed in time in a plurality of service modules of the network layer, and step S150 is executed; when the polling completion message is not received within the timing duration of the first timer, which indicates that the polling message is not received and processed on time in several service modules of the network layer, step S160 is executed.
If the polling completion message is received after the timing of the first timer is over, no processing is performed on the polling completion message.
Optionally, in this step, it may be preset that the first timer sends out a polling timeout message when the timing is finished, if the polling completion message is received within the timing duration of the first timer, step S150 is executed, and if the polling timeout message is received, step S160 is executed.
S150: resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the reduced or maintained congestion level, clearing the number of the messages, and re-executing the step S110 to count the number of the messages;
in this step, it is known that the polling message can be received and processed in time among several service modules in the network layer, and it is known that the service modules in the network layer are in an uncongested state. The congestion level of the network layer refers to a level that can represent the congestion state of the network layer, and the congestion level may be preset in several numbers, including at least one lowest level and one highest level. The initial congestion level of the network layer may be preset, and may be preset to any level of the congestion levels, and the initial congestion level may correspond to an initial value of a designated number.
When the service module of the network layer is determined to be in the non-congestion state, the congestion level of the network layer should be reduced or maintained, but the congestion level is determined to be reduced or maintained according to the current congestion level of the network layer, if the current congestion level is already a lower or lowest level, the congestion level of the network layer can be selectively maintained, if the current congestion level is a higher level, the congestion level of the network layer can be selectively reduced, and when the congestion level is reduced, one level or a plurality of levels can be reduced to indicate that the service module of the network layer is not in the congestion state.
When the congestion level of the network layer is reduced or maintained, updating the numerical value of the designated number according to the reduced or maintained congestion level, wherein the higher the congestion level of the network layer is, the smaller the updated numerical value of the designated number is, so that the operation of updating the designated number in this step means increasing or maintaining the numerical value of the designated number. Since the number of messages needs to reach the specified number before triggering the execution of one polling operation, if the messages are continuously sent from the message inlet to the service module of the network layer, increasing or maintaining the specified number can prolong or keep the time interval for the next polling operation to be executed. When the congestion level of the network layer is reduced or maintained, the numerical values of the specified number are synchronously updated, so that the time interval for next polling operation can be longer, the polling of the network layer is prevented from being frequently started under the condition that the network layer is known to be in the non-congestion state, and unnecessary load is added to the polling.
Specifically, the number of the designated number satisfies a condition that the number is greater than a preset minimum value of the designated number and is less than a preset maximum value of the designated number. The preset specified number minimum value is used to prevent the polling operation from being repeatedly performed too frequently, and the preset specified number maximum value is used to prevent the polling operation from being repeatedly performed too slowly. The value of the preset minimum value of the designated number can refer to the maximum quantity of the concurrent messages supported by the network layer of the base station system and take the percentage, and can also be adjusted according to the actual situation.
S160: resetting the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the maintained or increased congestion level, clearing the number of the messages, and re-executing the step S110 to count the number of the messages;
in this step, it is known that the polling message cannot be received and processed on time in a plurality of service modules in the network layer, and it is known that the service modules in the network layer are in a relatively congested state. When the service module of the network layer is determined to be in a relatively congested state, the congestion level of the network layer should be increased or maintained, but the congestion level is determined to be increased or maintained according to the current congestion level of the network layer, if the current congestion level is already a higher or highest level, the congestion level of the network layer can be selectively maintained, if the current congestion level is a lower level, the congestion level of the network layer can be selectively increased, and when the congestion level is increased, the congestion level can be increased by one level or a plurality of levels to indicate that the service module of the network layer is already in the congested state and needs to be processed in time.
When the congestion level of the network layer has been raised or maintained, the numerical value of the designated number is updated according to the raised or maintained congestion level, and it is known that the higher the congestion level of the network layer is, the smaller the numerical value of the designated number is updated, so the operation updated in this step means to lower or maintain the numerical value of the designated number. Since the number of messages needs to reach the designated number before triggering the execution of one polling operation, if the messages are continuously sent from the message inlet to the service module of the network layer, reducing or maintaining the designated number can shorten or keep the time interval for the next polling operation to be executed. When the congestion level is increased or maintained, the numerical values of the specified number are synchronously updated, so that the time interval for next polling operation is set to be shorter, the next polling operation can be started to determine whether the next polling operation is continuously in the congestion state or not more quickly under the condition that the network layer is known to be in the congestion state, and the congestion condition of the network layer is prevented from being discovered and processed in time and further worsened.
Specifically, when it is known that a service module of a network layer is in a relatively congested state, the condition needs to be dealt with in time to relieve the congestion condition of the network layer.
In this step, when the congestion level of the network layer is raised or maintained to the highest level, the network layer is controlled to reject all messages that should be processed. All messages that should be processed by the network layer refer to messages that are sent from the message entry to the network layer.
When the congestion level of the network layer is raised, lowered or maintained to be an intermediate level, the network layer may be selectively controlled to reject half of messages to be processed and keep processing the other half of messages to be processed, or the network layer may be controlled to reject a part of messages to be processed and keep processing the other part of messages to be processed, and the measures specifically taken for the congestion level of the intermediate level may be determined according to actual situations. An intermediate level refers to a level intermediate the highest level and the lowest level.
When the congestion level of the network layer is reduced or maintained to a minimum level, the control network layer keeps processing all messages that should be processed normally.
Alternatively, a countermeasure to be taken when the congestion level of the network layer is raised, lowered, or maintained at a certain level may be set in advance, and the countermeasure may be determined according to actual circumstances, and is not limited herein.
Specifically, when the message entry of the network layer is an air interface entry, the message that the network layer should process includes a radio resource control protocol setup request (RrcSetupRequest), a radio resource control protocol recovery setup request (rrcsumerequest), a radio resource control protocol reestablishment request (rrcconnefastrequest), an underlying inter-professional interworking message, a no-data indication message of the data link layer, and an out-of-synchronization indication message. Here, the establishment request of the radio resource control protocol is generally issued by the terminal, and indicates that a radio resource control connection (RRC connection) is to be established with the base station system. Similarly, the request for restoring the rrc protocol and the request for reestablishing the rrc protocol are both sent by the terminal, indicating that the rrc connection with the base station system is to be restored or reestablished. The inter-professional interactive message of the bottom layer refers to an interactive message with a radio resource control layer. The out-of-sync indication message refers to indication messages sent out based on an out-of-sync detection mechanism in uplink and downlink.
When the message inlet of the network layer is an air interface inlet and the congestion level of the network layer is raised or maintained to the highest level, the network layer is controlled to refuse to process all messages which should be processed. When the congestion level of the network layer is raised, lowered or maintained to an intermediate level, the control network layer rejects processing a radio resource control protocol setup request (RrcSetupRequest) issued by a new terminal, keeps processing a radio resource control protocol resume setup request (rrcsresumerrequest), a radio resource control protocol reestablishment request (rrcconnestablishrequest), an underlying inter-professional interaction message, a data-free indication message of the data link layer, and an out-of-synchronization indication message. When the congestion level of the network layer is lowered or maintained to a minimum level, the control network layer keeps processing all information that should be processed normally.
Specifically, when the message entry of the network layer is a network interface entry of the network layer, the message to be processed by the network layer includes a paging message and a hand-in request message, the paging message is specifically a paging message of the radio access network, a paging message of other base station systems, and a paging message of a lower layer of a protocol stack, and the hand-in request message is specifically a hand-in request message of the radio access network and a hand-in request message of other base station systems. More specifically, when the base station system in this embodiment is a 5G base station system, as shown in fig. 2, the paging message is specifically paging information received by the network layer through an NG control plane interface, an XN interface and an F1 interface, the NG control plane interface is an interface where the network layer performs information interaction with an Access and Mobility Management Function (AMF), the XN interface is an interface where the network layer interacts information with other 5G base station systems, and the F1 interface is an interface between a Central Unit (CU) and a Distribution Unit (DU) in the 5G base station. The hand-in request information is specifically a hand-in request message received by the network layer through an NG control plane interface, an XN interface, and an EndcX2 interface, and the EndcX2 interface is an interface for the network layer to exchange information with other 4G base station systems.
When the message inlet of the network layer is the network interface inlet and the congestion level of the network layer is raised or maintained to the highest level, the network layer is controlled to refuse to process all messages which should be processed. When the congestion level of the network layer is raised, lowered or maintained to an intermediate level, the control network layer rejects processing paging information received through the NG control plane interface, the XN interface, and the F1 interface, and keeps processing hand-in request messages received through the NG control plane interface, the XN interface, and the EndcX2 interface. When the congestion level of the network layer is lowered or maintained to a minimum level, the control network layer keeps processing all information that should be processed normally.
In the congestion level detection and processing method provided by the embodiment, the network layer in the control plane protocol stack of the base station system is used as an entry point for congestion detection and processing, and under the condition of not depending on an external network element, the judgment and processing of the congestion state of the control plane are independently completed in the base station system, so that the self-regulation of the load of the base station is realized. The method comprises the steps of triggering polling operation by counting the comparison of the number of messages sent from a message inlet to a network layer and a specified number, sending polling messages to the network layer based on a polling mechanism so that each service module in the network layer receives and processes the messages, determining the time for polling according to the time point of the last service module for feeding back a polling completion message, reflecting the congestion degree of the network layer through the used time, reducing, maintaining or increasing the congestion degree of the network layer according to whether the polling completion message is received within a preset time, visually reflecting the congestion degree through the congestion degree, and correspondingly reducing, maintaining or increasing the numerical value of the specified number at the same time so as to make the triggering time interval of the next polling operation adaptively change according to the congestion degree, avoid frequently triggering the polling operation or avoid further deterioration of the congestion condition of the network layer, when the increased or maintained congestion level is higher or highest, corresponding countermeasures can be taken in time, normal service is provided for the terminal accessed by the base station system, and the impact resistance of the base station system is enhanced.
Based on the same idea as the above embodiments, in one embodiment, a congestion level detection and processing method is provided, in which another timer is set as a supplementary condition for triggering a polling operation, so that the polling operation is guaranteed to be executed at least once in a certain period, and the congestion condition of the network layer is continuously monitored. Based on this, as shown in fig. 3, the method comprises the following steps:
s210: starting a second timer for timing;
in this step, the initial value of the timing duration of the second timer is preset, the timing duration of the second timer is one of the factors for determining whether the polling operation can be executed in the subsequent step, and is used as a supplement to the counted number of messages, that is, when determining whether the polling operation can be executed in the subsequent step, two factors need to be considered, which are not limited to one of the factors.
S220: counting the number of messages sent from a message inlet of a network layer to the network layer;
s230: judging whether the number of the messages sent from the message inlet to the network layer reaches the specified number within the timing duration of the second timer or not, or whether the number of the messages does not reach the specified number when the timing of the second timer is finished, if so, executing a polling operation; if not, executing step S220 to continue counting the number of the messages;
in this step, there are two cases that a polling operation is triggered to be executed, one is that the number of messages sent from the message entry to the network layer reaches a specified number within the timing duration of the second timer, which indicates that the number of messages currently sent to the network layer has reached a certain degree, and the network layer may have a congestion situation, so that the polling operation needs to be triggered to perform congestion detection. And secondly, when the second timer finishes timing, the number of the messages does not reach the designated number, which indicates that the network layer does not receive the messages which can reach the designated number for a long time, in order to avoid detecting the congestion state of the network layer for a long time, when the timing of the second timer finishes and the counted number of the messages still does not reach the designated number, a polling operation needs to be triggered and executed, the value of the timing duration of the second timer can be set to be slightly longer, and a minute-level numerical value is preferably adopted.
The polling operation includes the steps of:
s240: sending a polling message to a message inlet, and starting a first timer to time;
s250: judging whether a polling completion message is received within the timing duration of the first timer, if so, executing step S260, and if not, executing step S270;
the polling completion message is sent by the last service module of the network layer, which processes the polling message, and when the polling completion message is received within the timing duration of the first timer, the polling message is indicated to be received and processed in time in a plurality of service modules of the network layer, and step S260 is executed; when the polling completion message is not received within the timing duration of the first timer, which indicates that the polling message is not received and processed on time in a plurality of service modules of the network layer, step S270 is executed;
s260: resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the reduced or maintained congestion level, clearing the number of the messages, updating the timing duration of the second timer according to the reduced or maintained congestion level, controlling the second timer to count again, and re-executing the step S220 to count the number of the messages;
in this step, it is known that the polling message can be received and processed in time in several service modules of the network layer, and it is known that the service modules of the network layer are in an uncongested state, and the congestion level of the network layer should be reduced or maintained according to the current congestion level of the network layer to indicate that the service modules of the network layer are not in a congested state.
When the congestion level of the network layer is reduced or maintained, updating the numerical value of the designated number according to the reduced or maintained congestion level, wherein the higher the congestion level is, the smaller the updated numerical value of the designated number is, so the operation updated in the step refers to increasing or maintaining the numerical value of the designated number, so that the time interval for next polling operation can be longer, the polling on the network layer is prevented from being started too frequently, and unnecessary load is added. Specifically, the number of the designated number satisfies a condition that the number is greater than a preset minimum value of the designated number and is less than a preset maximum value of the designated number.
And meanwhile, updating the timing duration of the second timer according to the reduced or maintained congestion level, wherein the higher the congestion level is, the shorter the updated timing duration of the second timer is. The operation updated in this step therefore refers to raising or maintaining the value of the timed length. Since the value of the timing duration is also one of the factors for determining whether to execute the polling operation in the above steps, assuming that the message is continuously sent from the message inlet to the service module of the network layer, on the premise that the counted number of the messages does not reach the specified number, the increased or maintained timing duration can extend or maintain the time interval in which the next polling operation is executed. And after the congestion level is reduced or maintained, the timing duration of the second timer is synchronously updated, so that the time interval for next polling operation can be longer, and the polling of the network layer is prevented from being started too frequently under the condition that the network layer is known to be in an uncongested state, thereby adding unnecessary load to the network layer.
Specifically, the timing duration of the second timer satisfies a minimum value greater than a preset timing duration and a maximum value less than the preset timing duration. The preset minimum value of the timing length is used for preventing the polling operation from being repeatedly executed too frequently, and the preset maximum value of the timing length is used for preventing the polling operation from being repeatedly executed too slowly.
S270: resetting the first timer, increasing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the increased or maintained congestion level, clearing the number of the messages, updating the timing duration of the second timer according to the increased or maintained congestion level, controlling the second timer to count again, and re-executing the step S220 to count the number of the messages;
in this step, it is known that the polling message cannot be received and processed on time in a plurality of service modules in the network layer, and it is known that the service modules in the network layer are in a relatively congested state. When the service module of the network layer is determined to be in a relatively congested state, the congestion level of the network layer should be raised or maintained according to the current congestion level of the network layer to indicate that the service module of the network layer is already in the congested state and needs to be processed in time.
When the congestion level of the network layer is increased or maintained, the numerical value of the designated number is updated according to the increased or maintained congestion level, and it is known that the higher the congestion level is, the smaller the numerical value of the designated number is, so the operation updated in this step refers to decreasing or maintaining the numerical value of the designated number, thereby realizing shortening or maintaining the time interval for the next polling operation to be executed, being capable of starting the next polling operation more quickly, and avoiding further deterioration of the congestion condition of the network layer.
Meanwhile, the timing length of the second timer is updated according to the raised or maintained congestion level, and it is known that the higher the congestion level is, the shorter the updated timing length of the second timer is, so the operation updated in this step means to decrease or maintain the value of the timing length. Assuming that the messages are continuously sent from the message inlet to the service module of the network layer, on the premise that the counted number of the messages does not reach the specified number, the reduced or maintained timing duration can shorten or keep the time interval for the next polling operation to be executed, so as to avoid the congestion condition of the network layer from being detected and processed in time, thereby further worsening.
Specifically, when it is known that a traffic module of the network layer is in a relatively congested state, it is necessary to deal with the congestion state in time to relieve the congestion state of the network layer, so that when the congestion level of the network layer is maintained or increased to a highest level, the network layer is controlled to reject all messages that should be processed. All messages that should be processed by the network layer refer to messages that are sent from the message entry to the network layer. When the congestion level of the network layer is raised, lowered or maintained at an intermediate level, the control network layer rejects a portion of the messages that should be processed and keeps processing another portion of the messages that should be processed. When the congestion level of the network layer is reduced or maintained to a minimum level, the control network layer keeps processing all messages that should be processed. Alternatively, a countermeasure to be taken when the congestion level of the network layer is raised, lowered, or maintained at a certain level may be set in advance, and the countermeasure may be determined according to actual circumstances, and is not limited herein.
The same definitions, the same principles of steps and the advantages thereof in this embodiment as those in the above embodiment can be found in the description of the above embodiment, and are not repeated herein.
In the congestion level detection and processing method provided by this embodiment, a network layer in a control plane protocol stack of a base station system is used as an entry point for congestion detection and processing, and the judgment and processing of the congestion state of the control plane are independently completed in the base station system, so that the self-regulation of the base station load is realized. In the embodiment, the polling operation is triggered by counting the comparison between the number of the messages sent from the message inlet to the network layer and the specified number, and meanwhile, the polling operation is triggered by considering the factor that whether the number of the messages still does not reach the specified number when the second timer finishes timing, so that the situation that the congestion detection and processing are not performed on the network layer for a long time is avoided. And the congestion level of the network layer is reduced, maintained or increased according to whether the polling completion message is received within the preset time length or not, the congestion degree is intuitively reflected through the congestion level, and meanwhile, the numerical values of the specified number and the numerical value of the timing time length of the second timer are correspondingly reduced, maintained or increased, so that the triggering time interval of the next polling operation is adaptively changed according to the congestion level, the polling operation is prevented from being triggered frequently, or the congestion condition of the network layer is prevented from further deteriorating.
Based on the same idea as the foregoing embodiment, in an embodiment, a congestion level detection and processing method is provided, where the congestion levels are preset to three levels, which are respectively a first level, a middle level and a high level, the first level indicates that a network layer is in an uncongested state, the middle level indicates that the network layer is in a relatively congested state, a portion of the network layer that needs to be controlled to reject processing of messages to relieve the congested state is required, and the high level indicates that the network layer is in a very congested state, and the network layer that needs to be controlled to reject processing of all messages that need to be processed is provided.
Based on this, as shown in fig. 4, the method comprises the following steps:
s310: starting a second timer for timing;
in this step, an initial value of the timing length of the second timer is preset, and may be recorded as T1, and a value of the timing length of the second timer may be set to be slightly longer, preferably to be a minute-scale value. The timing duration of the second timer is complementary to the counted number of messages, that is, two factors need to be considered when determining whether the polling operation can be executed in the subsequent step, and the counting duration is not limited to one of the factors.
S320: counting the number of messages sent from a message inlet of a network layer to the network layer;
in this step, the message entries are an air interface entry and a network interface entry of the network layer, respectively, and the number of messages sent from each message entry to the network layer is independently counted.
S330: judging whether the number of the messages sent from the message inlet to the network layer reaches the specified number within the timing duration of the second timer or not, or whether the number of the messages does not reach the specified number when the timing of the second timer is finished, if so, executing a polling operation; if not, executing step S320 to continue counting the number of the messages;
in this step, the initial value of the designated number is preset, and may be denoted as N1, and the value of the designated number sets the maximum number of concurrent messages that can be supported and processed by the network layer in the control plane protocol stack of the reference base station system. The specified number refers to a current value of the specified number in this step, and the current value may be an initial value N1.
In this step, two situations may trigger to execute a polling operation, one is whether the number of messages sent from the message entry to the network layer reaches a specified number within the timing duration of the second timer, and the other is that the number of messages does not reach the specified number when the timing of the second timer is finished.
Since the number of messages sent from each message entry to the network layer is counted independently, each time the number of messages sent to the network layer via a message entry reaches a specified number, the execution of a polling operation is triggered. Whether the counted number of the messages reaches the specified number or not indicates that the number of the messages currently sent to the network layer reaches a certain degree, and the network layer may have a congestion condition, so that a polling operation needs to be triggered for congestion detection.
The polling operation includes the steps of:
s340: sending a polling message to a message inlet, and starting a first timer to time;
the initial value of the timing duration of the first timer is preset, the initial value can be recorded as T0, the time length value of the timing duration can be referred to, when the network layer processing system in the control plane protocol stack of the base station system supports the maximum number of concurrent messages, the average time value required by a plurality of service modules in the network layer to complete a round of polling is taken, and the timing duration T0 of the first timer can be used as an effective condition for judging whether the service modules in the network layer are congested.
S350: judging whether a polling completion message is received within the timing duration of the first timer, if so, executing step S360, and if not, executing step S370;
the polling completion message is sent by the last service module of the network layer for processing the polling message, and when the polling completion message is received within the timing duration of the first timer, the polling message can be received and processed in time in a plurality of service modules of the network layer, and step S360 is executed; when the polling completion message is not received within the timing duration of the first timer, which indicates that the polling message is not received and processed on time in a plurality of service modules of the network layer, step S370 is executed;
s360: resetting the first timer, reducing or maintaining the congestion level of the network layer to be an initial level, updating the numerical value of the designated number for the initial level according to the congestion level, clearing the number of the messages, updating the timing duration of the second timer for the initial level according to the congestion level, controlling the second timer to count again, and re-executing the step S320 to count the number of the messages;
in this step, it is known that the polling message can be received and processed in time in a plurality of service modules of the network layer, and it is known that the service modules of the network layer are in an uncongested state, and the congestion level of the network layer should be reduced or maintained to be the initial level, if the current congestion level of the network layer is the medium level or the high level, the current congestion level of the network layer is reduced to be the initial level, and if the current congestion level of the network layer is the initial level, the current congestion level of the network layer is maintained to be the initial level. The initial congestion level of the network layer may be preset to an initial level, a medium level, or a high level.
Preferably, the initial congestion level of the network layer is preset as an initial level, the initial value N1 of the designated number, and the initial value T1 of the timing duration of the second timer all correspond to the initial level, which means that when the congestion level of the network layer is the initial level, the number of the designated number should be updated to N1, and the timing duration of the second timer should be updated to T1.
The congestion level and the designated number have a negative correlation relationship, and the higher the congestion level of the network layer is, the smaller the updated numerical value of the designated number is. Since the congestion level is lowered or maintained at the initial level when this step is performed, the operation of updating the specified number means to raise or maintain the numerical value of the specified number. If the congestion level of the network layer is reduced from the middle level to the initial level when the step is executed, the numerical value of the designated number after the increase is the initial value N1 of the designated number corresponding to the initial level, the numerical value of the designated number before the increase corresponds to the congestion level being the middle level, the numerical value is marked as N2, and N2 meets the condition that N2 < N1. If the congestion level of the network layer is reduced from a high level to an initial level when the step is executed, the specified number of values before the increase corresponds to the congestion level being a high level, the number is marked as N3, and N3 satisfies N3 < N2 < N1. If the congestion level of the network layer is maintained at a low level while this step is being performed, the value of the specified number is maintained at N1. After the numerical values of the designated number are increased or maintained, the time interval for next polling operation can be prolonged or maintained, the polling of the network layer is prevented from being frequently started on the premise that the network layer is known to be in an uncongested state, and unnecessary load is added to the network layer.
Specifically, the designated number of values N1, N2 and N3 all satisfy the conditions that the number is greater than the preset designated number minimum value Nmin and less than the preset designated number maximum value Nmax, that is, N1, N2 and N3 satisfy Nmin < N3 < N2 < N1 < Nmax. The preset specified number minimum value Nmin is for preventing the polling operation from being repeatedly performed too frequently, and the preset specified number maximum value Nmax is for preventing the polling operation from being repeatedly performed too slowly. The value of the preset minimum value Nmin of the designated number can refer to the maximum quantity of the concurrent messages supported by the network layer of the base station system, and can also be adjusted according to the actual situation.
And a negative correlation exists between the congestion level and the timing duration of the second timer, and the higher the congestion level of the network layer is, the shorter the updated timing duration of the second timer is. Since the congestion level is lowered or maintained at the initial level when this step is performed, the operation of updating the count duration of the second timer means to raise or maintain the value of the count duration. If the congestion level of the network layer is lowered from the middle level to the initial level when the step is executed, the timing duration of the second timer after the step is raised is an initial value T1 corresponding to the timing duration of the second timer at the initial level, the timing duration of the second timer before the step is raised corresponds to the congestion level being the middle level, which is denoted as T2, and T2 satisfies T2 < T1. If the congestion level of the network layer is lowered from the high level to the initial level when the step is executed, the timing duration of the second timer before the rise corresponds to the high level of the congestion level, which is denoted as T3, and T3 satisfies T3 < T2 < T1. If the congestion level of the network layer is maintained at a low level while this step is performed, the count duration of the second timer is maintained at T1. Since the timing duration of the second timer is also one of the factors for determining whether to execute the polling operation in the above steps, assuming that the message is continuously sent from the message inlet to the service module of the network layer, on the premise that the counted number of messages does not reach the specified number, the increased or maintained timing duration extends or maintains the time interval in which the next polling operation is executed. It is avoided that polling of the network layer is initiated too quickly on the premise that the network layer is known to be in an uncongested state, adding unnecessary load to it.
Specifically, the initial values T1, T2, and T3 of the timing length of the second timer all satisfy being greater than the preset minimum value Tmin of the timing length and being less than the preset maximum value Tmax of the timing length, i.e., T1, T2, and T3 satisfy Tmin < T3 < T2 < T1 < Tmax. The preset minimum value of the timing length is used to prevent the polling operation from being repeatedly performed too frequently, and the preset maximum value of the timing length is used to prevent the polling operation from being repeatedly performed too slowly.
S370: resetting the first timer, raising the congestion level of the network layer to a medium level or a high level, or maintaining the congestion level to a high level, updating the numerical value of the designated number according to the congestion level as the medium level or the high level, clearing the number of the messages, updating the timing duration of the second timer according to the congestion level as the medium level or the high level, controlling the second timer to count again, and executing the step S320 again to count the number of the messages;
in this step, it is known that the polling message cannot be received and processed in time in a plurality of service modules in the network layer, and it is known that the service modules in the network layer are in a relatively congested or very congested state, and the congestion level of the network layer should be raised to a medium level or a high level, or maintained to a high level. If the current congestion level of the network layer is the initial level, the current congestion level is increased to be the middle level, if the current congestion level of the network layer is the middle level, the current congestion level is increased to be the high level, and if the current congestion level of the network layer is the high level, the current congestion level is maintained to be the high level.
The congestion level and the designated number have a negative correlation relationship, and the higher the congestion level of the network layer is, the smaller the updated numerical value of the designated number is. Since the congestion level is raised to a middle level or a high level or maintained to a high level when this step is performed, updating the specified number of operations means lowering or maintaining the value of the specified number. If the congestion level of the network layer is increased from the initial level to the intermediate level, the value of the designated number before the decrease is N1, and the value of the designated number after the decrease is N2, corresponding to the congestion level being the intermediate level, N2 satisfies N2 < N1. If the congestion level of the network layer is increased from the middle level to the high level when the step is performed, the value of the designated number before the decrease is N2, and the value of the designated number after the decrease is N3, N3 satisfies N3 < N2 < N1. If the congestion level of the network layer is maintained at a high level while this step is performed, the value of the specified number is maintained at N3. In this step, after the number of the specified number is decreased or maintained, the time interval for the next polling operation to be executed can be shortened or maintained, and it is avoided that the next polling operation is not started in time when the network layer is known to be in a relatively congested or very congested state, so that the congestion condition of the network layer is further worsened.
And a negative correlation exists between the congestion level and the timing duration of the second timer, and the higher the congestion level of the network layer is, the shorter the updated timing duration of the second timer is. Since the congestion level is raised to a middle level or a high level, or maintained at a high level when this step is performed, the operation of updating the count-time duration of the second timer means to decrease or maintain the value of the count-time duration. If the congestion level of the network layer is increased from the initial level to the intermediate level when the step is performed, the timing length of the second timer after the decrease is T2, the timing length of the second timer before the decrease is T1, and T2 satisfies T2 < T1. If the congestion level of the network layer is raised from the middle level to the high level when this step is performed, the timing length of the second timer after the lowering is T3, the timing length of the second timer before the lowering is T2, and T3 satisfies T3 < T2 < T1. If the congestion level of the network layer is maintained at a high level while this step is performed, the count duration of the second timer is maintained at T3.
Specifically, when it is known that a service module of a network layer is in a relatively congested state, the condition needs to be dealt with in time to relieve the congestion condition of the network layer.
When the congestion level of the network layer is raised to a high level or maintained to a high level, the network layer is controlled to reject all messages that should be processed.
When the message entry of the network layer is an air interface entry, the message to be processed includes a radio resource control protocol establishment request (RrcSetupRequest), a radio resource control protocol restoration establishment request (rrcoremarequest), a radio resource control protocol reestablishment request (rrcconnestablishrequest), an underlying inter-professional interaction message, a data-free indication message of the data link layer, and an out-of-synchronization indication message.
When the message entry of the network layer is a network interface entry, the message to be processed includes a paging message and a hand-in request message, and specifically, the paging message is paging information received by the network layer through the NG control plane interface, the XN interface, and the F1 interface. The hand-in request message is a hand-in request message received by the network layer through the NG control plane interface, the XN interface, and the EndcX2 interface.
When the congestion level of the network layer is raised to a medium level, the network layer is controlled to reject the message to be processed by the processing part and keep processing the message to be processed by the other part.
Specifically, when the congestion level of the network layer is raised to a medium level and the message entry of the network layer is an air interface entry, the control network layer rejects processing a radio resource control protocol establishment request (RrcSetupRequest) issued by a new terminal, and keeps processing a radio resource control protocol recovery establishment request (rrcsresumerrequest), a radio resource control protocol reestablishment request (rrcconnefastrequest), an underlying inter-professional interworking message, a data-free indication message of the data link layer, and an out-of-synchronization indication message.
When the congestion level of the network layer is raised to a middle level and the message inlet of the network layer is a network interface inlet, the network layer is controlled to refuse to process the paging information received through the NG control plane interface, the XN interface and the F1 interface, and keep processing the switching-in request message received through the NG control plane interface, the XN interface and the EndcX2 interface.
When the congestion level of the network layer is reduced or maintained to a minimum level, the network layer is controlled to keep processing all information that should be processed normally.
The same definitions, the same principles of steps and the advantages thereof in this embodiment as those in the above embodiment can be found in the description of the above embodiment, and are not repeated herein.
Based on the same idea as the above embodiments, in one embodiment, there is provided a congestion level detection and processing system, as shown in fig. 5, including:
a message counting module 410, configured to count the number of messages sent from a message entry of the network layer to the network layer;
a polling starting and processing module 420, configured to perform a polling operation when the number of messages counted by the message counting module 410 reaches a specified number.
The polling operation is: sending a polling message to a message inlet, and starting a first timer to time; when the polling completion message is received within the timing duration of the first timer, resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical values of the designated number according to the reduced or maintained congestion level; resetting the first timer when the polling completion message is not received within the timing duration of the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical value of the designated number according to the maintained or increased congestion level;
the higher the congestion level is, the smaller the numerical value of the specified number updated by the polling starting and processing module is;
the message counting module 410 is further configured to clear the counted number of messages and re-count the number of messages sent to the network layer after the polling initiation and processing module 420 decreases, maintains or increases the congestion level of the network layer.
Specifically, the system further includes a second timer control module 430 for starting a second timer to start timing.
The polling initiation and processing module 420 specifically includes:
a polling starting module 421, configured to execute a polling operation when the number of messages counted by the message counting module 410 reaches a specified number within the timing duration of the second timer, or when the timing of the second timer is finished and the number of messages does not reach the specified number;
a polling operation executing module 422, configured to execute a polling operation.
The second timer control module 430 is further configured to control the second timer to count again after the polling operation execution module 422 clears the number of messages in the process of performing the polling operation.
Specifically, the second timer control module 430 includes:
a second timer starting module 431, configured to start a second timer to start timing;
a second timer re-timing module 432, configured to update the timing duration of the second timer according to the reduced or maintained congestion level, and control the second timer to re-time; and updating the timing duration of the second timer according to the raised or maintained congestion level, and controlling the second timer to count again.
Wherein the higher the congestion level is, the shorter the timing duration of the updated second timer is.
Specifically, the updated number of the designated numbers is greater than the preset minimum number of the designated numbers and less than the preset maximum number of the designated numbers.
Specifically, the system further comprises a congestion handling module 440 for controlling the network layer to reject all pending messages when the polling operation execution module 422 raises or maintains the congestion level of the network layer to the highest level when performing the polling operation.
Specifically, when the message entry is an air interface entry of a network layer, the message to be processed includes a radio resource control protocol establishment request, a radio resource control protocol recovery establishment request, a radio resource control protocol reconstruction request, an underlying interaction message, a data link layer no-data indication message, and an out-of-synchronization indication message.
Specifically, the congestion processing module 440 is further configured to, when the message entry is an air interface entry of the network layer, and the polling operation executing module 422 raises, lowers or maintains the congestion level of the network layer to an intermediate level when performing the polling operation, control the network layer to reject the establishment request of the radio resource control protocol, and keep processing the recovery establishment request of the radio resource control protocol, the reestablishment request of the radio resource control protocol, the bottom layer interworking message, the no-data indication message of the data link layer, and the out-of-synchronization indication message.
Specifically, when the message entry is a network interface entry of the network layer, the message to be processed includes a paging message and a hand-in request message,
specifically, the congestion processing module 440 is further configured to control the network layer to reject the paging message and keep processing the hand-in request message when the message entry is a network interface entry of the network layer and the polling operation execution module 422 increases, decreases or maintains the congestion level of the network layer to an intermediate level when performing the polling operation.
Specifically, the congestion level includes a primary level, a middle level, and a high level;
the polling operation executing module 422 is configured to, when performing a polling operation, maintain the congestion level of the network layer as the initial level when the current congestion level of the network layer is the initial level; and when the current congestion level of the network layer is a medium level or a high level, reducing the congestion level of the network layer to be an initial level.
The polling operation executing module 422 is configured to, when performing a polling operation, raise the congestion level of the network layer to a medium level when the current congestion level of the network layer is the initial level; when the current congestion level of the network layer is a medium level, increasing the congestion level of the network layer to be a high level; and when the current congestion level of the network layer is a high level, maintaining the congestion level of the network layer to be the high level.
The same definitions, the same principles of steps and the advantages thereof in this embodiment as those in the above embodiment can be found in the description of the above embodiment, and are not repeated herein.
Based on the same idea as the foregoing embodiments, in one embodiment, a computer device is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the congestion level detection and processing method in the foregoing embodiments when executing the computer program.
Based on the same idea as the above-described embodiments, in one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the congestion level detection and processing method in the above-described embodiments.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention claims should be included in the protection scope of the present invention claims.

Claims (13)

1. A method for detecting and processing congestion level is characterized by comprising the following steps: counting the number of messages sent from a message inlet of a network layer to the network layer, and executing a polling operation when the number of the messages reaches a specified number;
the polling operation is:
sending a polling message to the message inlet, and starting a first timer to time;
when a polling completion message is received within the timing duration of the first timer, resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the reduced or maintained congestion level, clearing the number of messages, and counting the number of messages sent from the message inlet to the network layer again;
resetting the first timer when a polling completion message is not received within the timing duration of the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, updating the numerical value of the designated number according to the maintained or increased congestion level, clearing the number of the messages, and counting the number of the messages sent from the message inlet to the network layer again;
the higher the congestion level, the smaller the updated numerical value of the specified number.
2. The congestion level detection and processing method according to claim 1, further comprising: starting a second timer to start timing;
when the number of the messages reaches the designated number, executing a polling operation, specifically: when the number of the messages reaches the specified number within the timing duration of the second timer, or when the timing of the second timer is finished and the number of the messages does not reach the specified number, executing a polling operation;
clearing the number of the messages, and continuously counting the number of the messages sent to the network layer, wherein the method specifically comprises the following steps: and clearing the number of the messages, controlling the second timer to count again, and continuously counting the number of the messages sent to the network layer.
3. The method of claim 2, wherein controlling the second timer to restart comprises:
updating the timing duration of the second timer according to the reduced or maintained congestion level, and controlling the second timer to count again; updating the timing duration of the second timer according to the increased or maintained congestion level, and controlling the second timer to count again;
the higher the congestion level is, the shorter the updated timing length of the second timer is.
4. The method according to claim 1, wherein the updated number of the designated numbers is greater than a preset minimum number of the designated numbers and less than a preset maximum number of the designated numbers.
5. The congestion level detection and processing method according to claim 1, further comprising: and when the congestion level of the network layer after the increase or maintenance is the highest level, controlling the network layer to reject all messages to be processed.
6. The congestion level detection and processing method according to claim 5,
when the message entry is an air interface entry of the network layer, the message to be processed includes a request for establishing a radio resource control protocol, a request for restoring and establishing the radio resource control protocol, a request for reestablishing the radio resource control protocol, a bottom layer interaction message, a data-free indication message of a data link layer, and an out-of-step indication message.
7. The congestion level detection and processing method according to claim 6,
when the message inlet is an air interface inlet of the network layer and the congestion level of the network layer after being increased, reduced or maintained is an intermediate level, controlling the network layer to reject the establishment request of the radio resource control protocol, and keeping processing the recovery establishment request of the radio resource control protocol, the reconstruction request of the radio resource control protocol, the bottom layer interaction message, the no-data indication message of the data link layer and the out-of-synchronization indication message.
8. The method of claim 5, wherein when the message entry is a network interface entry of the network layer, the message to be processed comprises a paging message and a hand-in request message.
9. The congestion level detection and processing method according to claim 8,
and when the message inlet is a network interface inlet of the network layer and the congestion level of the network layer after being increased, decreased or maintained is an intermediate level, controlling the network layer to reject the paging message and keep processing the switching-in request message.
10. The congestion level detection and handling method according to any of claims 1 to 9,
the congestion level comprises a primary level, a middle level and a high level;
reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, specifically: if the current congestion level of the network layer is the initial level, maintaining the congestion level of the network layer as the initial level; if the current congestion level of the network layer is a medium level or a high level, reducing the congestion level of the network layer to be a primary level;
increasing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, specifically:
if the current congestion level of the network layer is the initial level, increasing the congestion level of the network layer to be a medium level; if the current congestion level of the network layer is a medium level, increasing the congestion level of the network layer to be a high level; and if the current congestion level of the network layer is high, maintaining the congestion level of the network layer to be high.
11. A congestion level detection and processing system, comprising:
the message counting module is used for counting the number of messages sent to the network layer from a message inlet of the network layer;
the polling starting and processing module is used for executing a polling operation when the number of the messages counted by the message counting module reaches a specified number; the polling operation is: sending a polling message to the message inlet, and starting a first timer to time; when a polling completion message is received within the timing duration of the first timer, resetting the first timer, reducing or maintaining the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical value of the designated number according to the reduced or maintained congestion level; resetting the first timer when a polling completion message is not received within the timing duration of the first timer; maintaining or increasing the congestion level of the network layer according to the current congestion level of the network layer, and updating the numerical value of the designated number according to the maintained or increased congestion level;
the higher the congestion level is, the smaller the numerical value of the specified number updated by the polling starting and processing module is;
the message counting module is further configured to clear the counted number of messages and re-count the number of messages sent from the message inlet to the network layer after the polling starting and processing module reduces, maintains or increases the congestion level of the network layer.
12. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the method of congestion level detection and processing according to any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the congestion level detection and processing method according to any one of claims 1 to 10.
CN202111539240.5A 2021-12-15 2021-12-15 Congestion level detection and processing method, system, equipment and storage medium Active CN114286374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111539240.5A CN114286374B (en) 2021-12-15 2021-12-15 Congestion level detection and processing method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111539240.5A CN114286374B (en) 2021-12-15 2021-12-15 Congestion level detection and processing method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114286374A true CN114286374A (en) 2022-04-05
CN114286374B CN114286374B (en) 2023-08-25

Family

ID=80872429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111539240.5A Active CN114286374B (en) 2021-12-15 2021-12-15 Congestion level detection and processing method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114286374B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173323B1 (en) * 1997-12-24 2001-01-09 Lucent Technologies Inc. Adaptive polling rate algorithm for SNMP-based network monitoring
CN102404865A (en) * 2010-09-10 2012-04-04 财团法人工业技术研究院 Prioritized random access method
CN106162739A (en) * 2016-09-27 2016-11-23 京信通信技术(广州)有限公司 Method for controlling network congestion and system
CN109739148A (en) * 2019-01-23 2019-05-10 上海智共荟智能科技有限公司 For industrial processing equipment large data sets at optimization processing transmission system and method
CN110602744A (en) * 2019-09-06 2019-12-20 南京大鱼半导体有限公司 Method and device for congestion control of Internet of things, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6173323B1 (en) * 1997-12-24 2001-01-09 Lucent Technologies Inc. Adaptive polling rate algorithm for SNMP-based network monitoring
CN102404865A (en) * 2010-09-10 2012-04-04 财团法人工业技术研究院 Prioritized random access method
CN106162739A (en) * 2016-09-27 2016-11-23 京信通信技术(广州)有限公司 Method for controlling network congestion and system
CN109739148A (en) * 2019-01-23 2019-05-10 上海智共荟智能科技有限公司 For industrial processing equipment large data sets at optimization processing transmission system and method
CN110602744A (en) * 2019-09-06 2019-12-20 南京大鱼半导体有限公司 Method and device for congestion control of Internet of things, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114286374B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
JP5719058B2 (en) Method for transmitting MAC PDU
US8811325B2 (en) Network side device and method for transmitting configuration information of pathloss power threshold thereof
JP6279551B2 (en) Improved user equipment for diverse data usage
KR102370099B1 (en) Terminal device, network node and method for random access in coverage enhancement operation
EP2512198A1 (en) Method and apparatus for contention based resource configuration
WO2017118142A1 (en) Method and device for communication on unlicensed frequency band
CN110225546B (en) Method for controlling auxiliary node in double connection and base station
US10057903B2 (en) Method and apparatus for determining power offset parameters
CN104429152A (en) Telecommunication systems with discontinuous reception
EP2525620A1 (en) Method, device and communication system for dormancy timer control
WO2021195843A1 (en) Method and apparatus for data transmission
EP2627119A1 (en) Method and device for delayed release of temporary block flow
GB2513313A (en) Infrastructure equipment, mobile communications network and method
WO2011070041A1 (en) Access control of machine-to-machine communication via a communications network
WO2021062783A1 (en) Random access channel type selection method and device
CN116803193A (en) SDT failure reporting method, terminal equipment and network equipment
WO2023071055A1 (en) Method for configuring and updating random access resources in multi-antenna mimo scenario
CN110475304B (en) Radio resource control connection method and device
JP4548125B2 (en) Congestion control method and apparatus
CN114286374B (en) Congestion level detection and processing method, system, equipment and storage medium
CN116056143A (en) Network congestion processing method, device, electronic equipment and storage medium
CN102480747A (en) Service bearer counting check method and apparatus thereof
WO2021063109A1 (en) Uplink authorization request control method, device, terminal and storage medium
CN114567908A (en) Method and system for avoiding congestion of mobile opportunity network node
CN104159301A (en) Bearing mode selection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant