A flow control method, device and storage medium
By obtaining the CPU load value in the 5G network and discarding sgNB-related messages in proportion, the problem of excessive load on the main control CPU is solved, and the effective reduction of CPU load and the improvement of signaling processing capabilities are achieved.
Patent Information
- Application Number
- CN202011480688.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-15
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2040-12-15
AI Technical Summary
In the NSA/SA hybrid networking scenario of 5G network, the main control CPU is overloaded, resulting in a reduced signaling processing capability, affecting user perception and measurement tracking functions.
By obtaining the load value of the base station CPU, when the load value exceeds the first preset value, the auxiliary base station sgNB related messages are discarded in the preset ratio, such as adding, modifying and/or releasing the first message, to avoid X2 link signaling overload and reduce CPU load.
It effectively reduces the problem of excessive CPU load caused by excessive signaling, avoids signaling overload on X2 links, and reduces the impact on user perception.
Smart Images

Figure CN114641039B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a traffic control method, apparatus, and storage medium. Background Art
[0002] In the current mixed networking scenario of the 5th generation mobile networks (5G) non-standalone (NSA) and standalone (SA), the signaling interaction between NSA users and 4G base stations (gNB) is carried by 5G base stations (eNB), and the signaling interaction such as the addition, deletion, or modification of secondary base stations (sgNB) is handed over to the X2 interface. Under the conditions of multiple links and multiple users, it will cause signaling overload on the X2 link, and the main control CPU needs to process the signaling of SA users and NSA users simultaneously, which will inevitably lead to an increase in the load of the main control CPU and a decrease in processing capacity, affecting functions such as user perception and measurement tracking. Summary of the Invention
[0003] Embodiments of this application provide a traffic control method, apparatus, and storage medium to solve the problem of heavy main control load and low processing capacity, so as to achieve the control of main control traffic.
[0004] In a first aspect, an embodiment of this application provides a traffic control method, including:
[0005] Obtain the load value of the central processing unit (CPU) of the base station;
[0006] When the load value of the CPU is greater than a first preset value, discard the messages related to the secondary base station (sgNB) according to a preset ratio, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages.
[0007] In a second aspect, an embodiment of this application provides a traffic control apparatus, including a memory, a transceiver, and a processor:
[0008] The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer programs in the memory and perform the following operations:
[0009] Obtain the load value of the central processing unit (CPU) of the base station;
[0010] When the load value of the CPU is greater than a first preset value, discard the messages related to the secondary base station (sgNB) according to a preset ratio, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages.
[0011] In a third aspect, an embodiment of this application provides a traffic control apparatus, including:
[0012] An acquisition module, configured to acquire the load value of the central processing unit (CPU) of a base station;
[0013] A message discarding module, configured to discard secondary base station (sgNB)-related messages according to a preset ratio when the load value of the CPU is greater than a first preset value, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages.
[0014] In a fourth aspect, an embodiment of the present application provides a processor-readable storage medium storing a computer program, where the computer program is used to cause a processor to execute the method described in the first aspect.
[0015] The traffic control method, device, and storage medium provided by the embodiments of the present application acquire the load value of the CPU of a base station, and when the load value is greater than the first preset value, discard sgNB-related messages according to a preset ratio, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages, avoiding X2 link signaling overload caused by excessive messages and reducing the CPU load caused by excessive signaling, and solving the problem of excessive CPU load caused by excessive signaling. Description of the Drawings
[0016] To more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0017] Figure 1 It is a schematic diagram of an existing NSA / SA hybrid networking structure;
[0018] Figure 2 It is a schematic diagram of an existing sgNB addition / modification / release process;
[0019] Figure 3 It is a flowchart of the steps of the traffic control method in the embodiments of the present application;
[0020] Figure 4 It is a schematic diagram of the specific process of the traffic control method in the embodiments of the present application;
[0021] Figure 5 It is a schematic diagram of the structure of the traffic control device in the embodiments of the present application;
[0022] Figure 6 It is a block diagram of the modules of the traffic control device in the embodiments of the present application. Detailed Embodiments
[0023] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0024] With the development of 5G networks, the overall mobile network has now entered the NSA / SA hybrid networking structure stage, which can support both NSA users (NSA UEs) and SA users (SA UEs) simultaneously. The networking structure is as Figure 1 shown.
[0025] Among them, the gNB processes the relevant mutual signaling between SA UEs and the 5G core network (5GC), such as broadcast messages, random access, radio resource control (RRC) connection management, context management, and protocol data unit (PDU) session management, etc. The load status of the main control CPU is the same as that of LTE, and as the number of users increases and mobility-related signaling increases, the CPU load will gradually increase. In Figure 1 the shown networking structure, based on the above, the gNB needs to process the relevant signaling of NSA UEs through the X2 interface, such as signaling processes for adding / deleting / modifying multiple X2 links of the sgNB.
[0026] In addition, the sgNB addition / modification / release process is as Figure 2 shown. Among them, the eNB sends a secondary base station addition, modification, or release request (sgNB addition (modification / Release) request) to the gNB and receives the secondary base station addition, modification, or release request acknowledgment (sgNB addition (modification / Release) request Ack) returned by the gNB. Then, the eNB sends a radio resource control connection reconfiguration (RRC Connnection Reconfig) message to the UE and receives the RRC connection reconfiguration complete (RRC Connnection Reconfig Complete) message returned by the UE, and sends a secondary base station reconfiguration complete (sgNB Reconfig Complete) message to the gNB.
[0027] From the above overall process, the gNB needs to handle signaling processes such as broadcast messages, paging messages, random access, context management, and PDU management in the SA network, and needs to handle the reporting of measurement reports (MRs) requested by customers, signaling tracking, and the interactions of the base station itself. At the same time, it also needs to handle signaling processes such as the addition / deletion / modification of multiple X2 links to the sgNB, which will increase the load on the main control and cause signaling processing congestion. In addition, there is currently no limit on the number of Stream Control Transmission Protocol (SCTP) links in the protocol. From the current implementation, it can support 128 SCTP links. In extreme cases, a gNB site can be configured with 128 anchor stations, that is, there are 128 X2 links performing the above signaling interactions simultaneously, which will also cause X2 link signaling overload.
[0028] Therefore, the embodiments of the present application provide a traffic control method, device, and storage medium to solve the problem of excessive load on the main control CPU.
[0029] Among them, the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving problems are similar, the implementation of the device and the method can be referred to each other, and the repeated parts will not be elaborated.
[0030] The technical solutions provided by the embodiments of the present application can be applied to a variety of systems, especially 5G systems. For example, the applicable systems can be Global System of Mobile Communication (GSM) systems, Code Division Multiple Access (CDMA) systems, Wideband Code Division Multiple Access (WCDMA) General Packet Radio Service (GPRS) systems, Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Long Term Evolution Advanced (LTE-A) systems, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) systems, 5G New Radio (NR) systems, etc. Both terminal devices and network devices are included in these various systems. The system may also include a core network part, such as an Evolved Packet System (EPS), 5G System (5GS), etc.
[0031] In addition, it should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures, or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner.
[0032] The following is a specific description of the present application.
[0033] As Figure 3 shown, it is a step flowchart of the traffic control method in the embodiments of the present application, and the method includes the following steps:
[0034] Step 301: Obtain the load value of the CPU of the base station.
[0035] Specifically, the base station can be a 5G base station, and the CPU can be the main control CPU of the base station; that is, in this embodiment, the load value of the main control CPU of the 5G base station is obtained in the architecture of NSA and SA hybrid networking.
[0036] In this embodiment, when obtaining the load value of the CPU of the base station, it can be obtained regularly by the high-level module. Specifically, the high-level module can be the X2AP module. Among them, the driver module regularly obtains the load value of the CPU, and the maintenance and management module regularly obtains the load value of the CPU from the driver module and passes it to the high-level module.
[0037] Step 302: When the load value of the CPU is greater than the first preset value, discard the sgNB-related messages according to a preset ratio.
[0038] Specifically, the sgNB-related messages include the initial messages of sgNB addition, modification, and / or release. That is, the sgNB-related messages can include at least one of the initial messages of sgNB addition, modification, and release.
[0039] Among them, the initial message of sgNB addition is the sgNB addition request message, the initial message of sgNB modification is the sgNB modification request message, and the initial message of sgNB release is the sgNB release request message.
[0040] In addition, specifically, the first preset value can be set according to requirements. For example, it can be judged according to the average value of the CPU load within a preset time period. For example, it can be set to 85%.
[0041] In addition, in this step, when it is detected that the load value of the CPU is greater than the first preset value, start discarding the sgNB-related messages according to a preset ratio, that is, discard the initial messages of sgNB addition, modification, and / or release according to a preset ratio, so as to avoid the X2 link signaling overload caused by too many messages and reduce the CPU load caused by too much signaling.
[0042] Specifically, the preset ratio for discarding the sgNB-related messages can be set as needed. However, in order to avoid affecting the user perception, the value of the preset ratio can be set to 10% to 30%.
[0043] In this way, in this embodiment, by discarding the initial messages of sgNB addition, modification, and / or release according to a preset ratio when it is detected that the load value of the CPU is greater than the first preset value, the X2 link signaling overload caused by too many messages is avoided, the CPU load caused by too much signaling is reduced, and the problem of excessive CPU load caused by too much signaling is solved.
[0044] In addition, optionally, when discarding sgNB-related messages according to a preset ratio in this embodiment, the operation can be performed in a preset time period as an execution cycle, and the sgNB-related messages are discarded according to the preset ratio within at least one execution cycle.
[0045] For example, the value range of the execution cycle can be 1 s - 60 s. In this embodiment, the operation of discarding sgNB-related messages according to a preset ratio can be performed once within one execution cycle. At this time, when discarding sgNB-related messages according to the preset ratio within at least one cycle, it is possible to discard at least one set of sgNB-related messages according to the preset ratio, thereby achieving the ability to discard sgNB-related messages multiple times according to the preset ratio, and further reducing the problem of excessive CPU load caused by too many messages.
[0046] In addition, optionally, after discarding the sgNB-related messages according to the preset ratio in this embodiment, the following steps may further be included:
[0047] When it is detected that the load value of the CPU is still greater than the first preset value, continue to discard the sgNB-related messages according to the preset ratio, and obtain the first total number of discarded times of the sgNB-related messages; and when the first total number of discarded times does not exceed the first preset number of times, and the load value of the CPU is still greater than the first preset value after each time of discarding the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the first preset value or the first total number of discarded times reaches the first preset number of times.
[0048] Specifically, after discarding the sgNB-related messages according to the preset ratio, if the load value of the CPU is already less than the first preset value but greater than the second preset value, the sgNB-related messages can continue to be discarded according to the preset ratio, and the second total number of discarded times of the sgNB-related messages is counted. Specifically, if the second total number of discarded times does not exceed the second preset number of times, and the load value of the CPU is still greater than the second preset value after each time of discarding the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the second preset value or the second total number of discarded times reaches the second preset number of times, thereby reducing the load value of the CPU.
[0049] Specifically, discarding the sgNB-related messages once means discarding the sgNB-related messages according to the preset ratio once, and the first total number of discarded times refers to the total number of discarded sgNB-related messages calculated from the first time of discarding the sgNB-related messages; the value of the first preset number of times can be set according to the expected value of load reduction. For example, if the expected value of load reduction is 15%, the value of the first preset number of times can be set to 5 times. Of course, no specific limitation is made here.
[0050] Of course, it should be noted here that the value of the preset ratio can be adjusted after each discard of the sgNB-related messages according to the preset ratio, that is, the preset ratio can be a dynamic value. For example, the value of the preset ratio can be 10% when discarding the sgNB-related messages for the first time, and the value of the preset ratio can be 15% when discarding the sgNB-related messages for the second time. No specific limitation is imposed here.
[0051] In addition, specifically, it should also be noted that when the first total discard count exceeds the first preset count and the load value of the CPU is still greater than the first preset value, a preset load reduction method other than discarding the sgNB-related messages is adopted to reduce the load value of the CPU.
[0052] Specifically, the preset load reduction method can include existing load reduction methods such as admission control, congestion control, and handover control, thereby effectively reducing the load of the CPU.
[0053] In addition, optionally, after discarding the sgNB-related messages according to the preset ratio, the following steps may further be included in this embodiment:
[0054] When it is detected that the load value of the CPU is less than the first preset value and greater than the second preset value, continue to discard the sgNB-related messages according to the preset ratio, and obtain the second total discard count of the sgNB-related messages; and when the second total discard count does not exceed the second preset count, and the load value of the CPU is still greater than the second preset value after each discard of the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the second preset value or reaches the second preset count.
[0055] Specifically, after discarding the sgNB-related messages according to the preset ratio, if the load value of the CPU is less than the first preset value but greater than the second preset value, the sgNB-related messages can continue to be discarded according to the preset ratio, and the second total discard count of the sgNB-related messages is counted. Specifically, if the second total discard count does not exceed the second preset count, and the load value of the CPU is still greater than the second preset value after each discard of the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the second preset value or the second total discard count reaches the second preset count, thereby reducing the load value of the CPU.
[0056] Specifically, the first preset value is greater than the second preset value, and the second preset value can be set according to requirements. For example, it can be set to 70%, and no specific limitation is imposed here.
[0057] In addition, the second total discard count refers to the total number of discarded sgNB-related messages starting from the first time sgNB-related messages are discarded; of course, it should be noted here that the values of the first total discard count and the second total discard count can be the same or different, and no specific restrictions are imposed here. In addition, the value of the second preset count can be set according to the expected value of load reduction. For example, if the expected value of load reduction is 30%, the value of the second preset count can be set to 10 times. Of course, no specific limitations are imposed here; it should be noted that the values of the first preset count and the second preset count can be the same or different, and no specific limitations are imposed here.
[0058] In addition, specifically, it should also be noted that when the second total discard count exceeds the second preset count and the load value of the CPU is still greater than the second preset value, a preset load reduction method other than discarding sgNB-related messages is adopted to reduce the load value of the CPU.
[0059] In this way, by combining the discarding of sgNB-related messages and other preset load reduction methods, the load value of the CPU can be effectively reduced.
[0060] The following uses a specific embodiment to illustrate a specific process of the present application.
[0061] As Figure 4 shown, a specific process of the present application may include the following steps:
[0062] Step 1, the high-level module obtains the load value of the main control CPU.
[0063] Specifically, it can be defined that the main control CPU load includes normal load and high load. Specifically, the load value can be the average load over a period of time, and the high-level module can obtain it from the maintenance management module, and the maintenance management module obtains the average CPU load value within a certain period of time through an internal private interface.
[0064] When the CPU load value is greater than the first preset value (for example, 85%), the CPU load is considered to be high load.
[0065] Step 2, determine whether the load value of the main control CPU is normal. If it is normal, continue to obtain the load value of the main control CPU; if it is not normal, determine whether the load value is greater than the first preset value.
[0066] When it is not greater than the first preset value, continue to obtain the load value of the main control CPU. When it is greater than the first preset value, the load status of the main control CPU is considered to be high load. At this time, start discarding sgNB-related messages according to a preset ratio (for example, 10%), and the execution period is T1.
[0067] Step 3: Determine whether the load value of the master CPU still exceeds the first preset value;
[0068] If it still exceeds the first preset value, continue to discard the sgNB-related messages according to the preset ratio, and count the number of discarded sgNB-related messages N1;
[0069] If the number of discarded times N1 is less than the first preset number (for example, 5), continue to discard the sgNB-related messages according to the preset ratio and determine whether the load value of the master CPU still exceeds the first preset value;
[0070] If the number of discarded times N1 is greater than the first preset number (for example, 5) and the load value of the master CPU is still greater than the first preset value, in order to reduce the load of the master CPU as expected (for example, the expected load reduction is 15%), and at the same time avoid congestion caused by X2 signaling overload, other load reduction schemes are executed. The other load reduction schemes include, for example, admission control, congestion control, handover control, etc.
[0071] It should be noted that in order to avoid impacts, the preset ratio of discarding sgNB-related messages cannot exceed 30%.
[0072] In this way, the load reduction method of discarding sgNB-related messages in this application exists in parallel with other load reduction schemes, and the method of discarding sgNB-related messages is preferentially adopted, so as to effectively reduce the load value of the master CPU while reducing the impact on user perception.
[0073] Step 4: When the load value of the master CPU is less than the first preset value, determine whether it exceeds the second preset value;
[0074] If it does not exceed the second preset value, enter the next traffic control cycle, that is, continue to obtain the load value of the master CPU;
[0075] If it exceeds the second preset value, continue to discard the sgNB-related messages according to the preset ratio, and count the number of discarded sgNB-related messages N2;
[0076] If the number of discarded times N2 is less than the second preset number (for example, 10), continue to discard the sgNB-related messages according to the preset ratio and determine whether the load value of the master CPU still exceeds the second preset value; Of course, before determining whether the load value of the master CPU still exceeds the second preset value, it can be determined whether the load value of the master CPU still exceeds the first preset value;
[0077] If the discard count N2 is greater than two preset counts (e.g., 10) and the load value of the master CPU is still greater than the second preset value, in order to reduce the load of the master CPU as expected (e.g., the expected load reduction is 30%), and at the same time avoid congestion caused by X2 signaling overload, other load reduction schemes are executed. Such other load reduction schemes include, for example, admission control, congestion control, handover control, etc., and may also include CellBar and whole station Bar schemes, etc. for load reduction.
[0078] In this way, through the above-mentioned multiple discarding of sgNB-related messages according to the preset ratio and combining other load reduction schemes, the load value of the master CPU is reduced, and the problem of high CPU load caused by excessive messages is avoided.
[0079] Figure 5 It is a schematic structural diagram of a traffic control device provided by an embodiment of the present application, including a memory 520, a transceiver 500, and a processor 510.
[0080] Among them, in Figure 5 the bus architecture may include any number of interconnected buses and bridges, specifically, various circuits of one or more processors represented by the processor 510 and the memory represented by the memory 520 are linked together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, and therefore, they will not be further described herein. The bus interface provides an interface. The transceiver 500 may be multiple elements, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, and these transmission mediums include wireless channels, wired channels, optical fiber cables, etc. The processor 510 is responsible for managing the bus architecture and general processing, and the memory 520 may store data used by the processor 510 when executing operations.
[0081] The processor 510 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD), and the processor may also adopt a multi-core architecture.
[0082] The memory 520 is used to store a computer program; the transceiver 500 is used to transmit and receive data under the control of the processor; the processor 510 is used to read the computer program in the memory and perform the following operations:
[0083] Obtain the load value of the central processing unit (CPU) of the base station;
[0084] When the load value of the CPU is greater than a first preset value, discard the secondary base station sgNB-related messages according to a preset ratio, where the sgNB-related messages include sgNB addition, modification, and / or release first messages.
[0085] Optionally, the discarding of the secondary base station sgNB-related messages according to a preset ratio includes:
[0086] Use a preset time period as the execution cycle, and discard the sgNB-related messages according to a preset ratio within at least one of the execution cycles.
[0087] Optionally, after discarding the secondary base station sgNB-related messages according to a preset ratio, it includes:
[0088] When it is detected that the load value of the CPU is still greater than the first preset value, continue to discard the sgNB-related messages according to a preset ratio, and obtain the first total discard count of the sgNB-related messages;
[0089] When the first total discard count does not exceed a first preset count, and the load value of the CPU is still greater than the first preset value after each discarding of the sgNB-related messages according to a preset ratio, continue to discard the sgNB-related messages according to a preset ratio until the load value of the CPU is less than the first preset value or the first total discard count reaches the first preset count.
[0090] Optionally, when the first total discard count exceeds the first preset count and the load value of the CPU is still greater than the first preset value, adopt a preset load reduction method other than discarding the sgNB-related messages to reduce the load value of the CPU.
[0091] Optionally, after discarding the secondary base station sgNB-related messages according to a preset ratio, it includes:
[0092] When it is detected that the load value of the CPU is less than the first preset value and greater than a second preset value, continue to discard the sgNB-related messages according to a preset ratio, and obtain the second total discard count of the sgNB-related messages;
[0093] When the second total discard count does not exceed a second preset count, and the load value of the CPU is still greater than the second preset value after each discarding of the sgNB-related messages according to a preset ratio, continue to discard the sgNB-related messages according to a preset ratio until the load value of the CPU is less than the second preset value or reaches the second preset count.
[0094] Optionally, when the second total discard count exceeds the second preset count and the load value of the CPU is still greater than the second preset value, a preset load reduction method other than discarding sgNB-related messages is adopted to reduce the load value of the CPU.
[0095] As can be seen from the above embodiments, it avoids the X2 link signaling overload caused by excessive messages, reduces the CPU load caused by excessive signaling, and solves the problem of excessive CPU load caused by excessive signaling.
[0096] Figure 6 It is a module block diagram of a traffic control device provided by an embodiment of the present application. The device includes:
[0097] An acquisition module 601, configured to acquire the load value of the central processing unit (CPU) of the base station;
[0098] A message discard module 602, configured to discard sgNB-related messages according to a preset ratio when the load value of the CPU is greater than a first preset value, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages.
[0099] Optionally, the message discard module 602 is specifically configured to use a preset time period as an execution cycle, and discard the sgNB-related messages according to a preset ratio within at least one of the execution cycles.
[0100] Optionally, it further includes:
[0101] A first acquisition unit, configured to continue to discard the sgNB-related messages according to a preset ratio and acquire the first total discard count of the sgNB-related messages when it is detected that the load value of the CPU is still greater than the first preset value;
[0102] A first discard unit, configured to continue to discard the sgNB-related messages according to a preset ratio until the load value of the CPU is less than the first preset value or the first total discard count reaches the first preset value when the first total discard count does not exceed the first preset count and the load value of the CPU is still greater than the first preset value after each discard of the sgNB-related messages according to the preset ratio.
[0103] Optionally, it further includes:
[0104] A second discard unit, configured to adopt a preset load reduction method other than discarding sgNB-related messages to reduce the load value of the CPU when the first total discard count exceeds the first preset count and the load value of the CPU is still greater than the first preset value.
[0105] Optionally, it further includes:
[0106] A second obtaining unit, configured to continue discarding the sgNB-related messages according to a preset ratio and obtain a second total discard count of the sgNB-related messages when it is detected that the load value of the CPU is less than the first preset value and greater than the second preset value;
[0107] A third discarding unit, configured to continue discarding the sgNB-related messages according to a preset ratio until the load value of the CPU is less than the second preset value or reaches the second preset count when the second total discard count does not exceed the second preset count and the load value of the CPU is still greater than the second preset value after each discard of the sgNB-related messages according to the preset ratio.
[0108] Optionally, it further includes:
[0109] A fourth discarding unit, configured to reduce the load value of the CPU by using a preset load reduction method other than discarding the sgNB-related messages when the second total discard count exceeds the second preset count and the load value of the CPU is still greater than the second preset value.
[0110] It should be noted that the division of units in the embodiments of the present application is illustrative, merely a logical function division, and there may be other division methods in actual implementation. In addition, each functional unit in the embodiments of the present application may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0111] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a processor-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0112] It should be noted here that the above device provided by the embodiments of the present application can implement all the method steps implemented by the above method embodiments and can achieve the same technical effects. Therefore, the same parts and beneficial effects as those in the method embodiments will not be specifically described in this embodiment.
[0113] On the other hand, the embodiments of the present application also provide a processor-readable storage medium storing a computer program for causing the processor to execute the method described in the above embodiments.
[0114] The processor-readable storage medium may be any available medium or data storage device accessible by the processor, including but not limited to magnetic memories (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memories (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memories (such as ROM, EPROM, EEPROM, non-volatile memories (NANDFLASH), solid-state drives (SSD)).
[0115] As can be seen from the above embodiments, the processor-readable storage medium stores a computer program for causing the processor to execute the above traffic control method.
[0116] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) containing computer-usable program code.
[0117] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one or more of the flows or multiple flows and / or blocks Figure 1 one or more of the blocks or multiple blocks.
[0118] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the processor-readable memory produce a manufacture including instruction means that implement the functions specified in one process or more processes and / or blocks Figure 1 one or more processes and / or blocks Figure 1 specified in the block or blocks.
[0119] These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in one process or more processes and / or blocks Figure 1 one or more processes and / or blocks Figure 1 specified in the block or blocks.
[0120] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A flow control method, characterized in that, Including: Obtaining the load value of the central processing unit (CPU) of the base station; When the load value of the CPU is greater than a first preset value, discarding secondary base station (sgNB) related messages according to a preset ratio, where the sgNB related messages include sgNB addition, modification, and / or release initial messages; when it is detected that the load value of the CPU is still greater than the first preset value, continuing to discard the sgNB related messages according to the preset ratio, and obtaining the first total discard count of the sgNB related messages; when the first total discard count does not exceed a first preset count and the load value of the CPU is still greater than the first preset value after each discard of the sgNB related messages according to the preset ratio, continuing to discard the sgNB related messages according to the preset ratio until the load value of the CPU is less than the first preset value or the first total discard count reaches the first preset count.
2. The flow control method according to claim 1, wherein The discarding of the secondary base station (sgNB) related messages according to the preset ratio includes: Taking a preset time period as an execution cycle, and discarding the sgNB related messages according to the preset ratio within at least one of the execution cycles.
3. The traffic control method according to claim 1, characterized in that When the first total discard count exceeds the first preset count and the load value of the CPU is still greater than the first preset value, adopting a preset load reduction method other than discarding the sgNB related messages to reduce the load value of the CPU.
4. The flow control method according to claim 1, wherein After the discarding of the secondary base station (sgNB) related messages according to the preset ratio, it includes: When it is detected that the load value of the CPU is less than the first preset value and greater than a second preset value, continuing to discard the sgNB related messages according to the preset ratio, and obtaining the second total discard count of the sgNB related messages; When the second total discard count does not exceed a second preset count and the load value of the CPU is still greater than the second preset value after each discard of the sgNB related messages according to the preset ratio, continuing to discard the sgNB related messages according to the preset ratio until the load value of the CPU is less than the second preset value or reaches the second preset count.
5. The traffic control method according to claim 4, characterized in that When the second total discard count exceeds the second preset count and the load value of the CPU is still greater than the second preset value, adopting a preset load reduction method other than discarding the sgNB related messages to reduce the load value of the CPU.
6. A flow control device, characterized in that, Including a memory, a transceiver, and a processor: The memory is used for storing a computer program; the transceiver is used for transceiving data under the control of the processor; the processor is used for reading the computer program in the memory and performing the following operations: Obtaining the load value of the central processing unit (CPU) of the base station; When the load value of the CPU is greater than a first preset value, discard the secondary base station sgNB-related messages according to a preset ratio, where the sgNB-related messages include sgNB addition, modification, and / or release initial messages; when it is detected that the load value of the CPU is still greater than the first preset value, continue to discard the sgNB-related messages according to the preset ratio, and obtain the first total discard times of the sgNB-related messages; When the first total discard times do not exceed a first preset number of times, and the load value of the CPU is still greater than the first preset value after each time discarding the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the first preset value or the first total discard times reach the first preset number of times.
7. The flow control device according to claim 6, characterized in that, The discarding of the secondary base station sgNB-related messages according to the preset ratio includes: Taking a preset time period as an execution period, and discarding the sgNB-related messages according to the preset ratio within at least one of the execution periods.
8. The traffic control device according to claim 6, wherein When the first total discard times exceed the first preset number of times and the load value of the CPU is still greater than the first preset value, adopt a preset load reduction method other than discarding sgNB-related messages to reduce the load value of the CPU.
9. The flow control device according to claim 6, characterized in that, After the discarding of the secondary base station sgNB-related messages according to the preset ratio, it includes: When it is detected that the load value of the CPU is less than the first preset value and greater than a second preset value, continue to discard the sgNB-related messages according to the preset ratio, and obtain the second total discard times of the sgNB-related messages; When the second total discard times do not exceed a second preset number of times, and the load value of the CPU is still greater than the second preset value after each time discarding the sgNB-related messages according to the preset ratio, continue to discard the sgNB-related messages according to the preset ratio until the load value of the CPU is less than the second preset value or reaches the second preset number of times.
10. The traffic control device according to claim 9, wherein When the second total discard times exceed the second preset number of times and the load value of the CPU is still greater than the second preset value, adopt a preset load reduction method other than discarding sgNB-related messages to reduce the load value of the CPU.
11. A flow control device, characterized in that, It includes: An acquisition module, configured to acquire the load value of the central processing unit CPU of the base station; A message discarding module, configured to discard secondary base station sgNB related messages according to a preset ratio when the load value of the CPU is greater than a first preset value, where the sgNB related messages include sgNB addition, modification, and / or release initial messages; when it is detected that the load value of the CPU is still greater than the first preset value, continue to discard the sgNB related messages according to the preset ratio, and obtain a first total discard count of the sgNB related messages; when the first total discard count does not exceed a first preset count, and the load value of the CPU is still greater than the first preset value after each time the sgNB related messages are discarded according to the preset ratio, continue to discard the sgNB related messages according to the preset ratio until the load value of the CPU is less than the first preset value or the first total discard count reaches the first preset count.
12. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the traffic control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Cell configuration optimization method, base station and cell configuration optimization system
CN106658619A