Downlink message congestion control method, system, device and storage medium
By identifying the congestion status of the cellular network and adjusting the downlink message sending strategy, the network congestion problem in narrowband IoT was solved, and the reliability and success rate of message transmission were improved.
Patent Information
- Application Number
- CN202111506172.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-10
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2041-12-10
AI Technical Summary
In narrowband IoT, when an IoT platform sends downlink messages to a large number of IoT terminals in the same cell at the same time, it can easily lead to network congestion. Existing technologies cannot effectively coordinate and process this, resulting in network congestion and reduced message transmission reliability.
By acquiring downlink messages, the cell to which the IoT terminal belongs can be determined, and the network congestion situation can be judged based on the number of messages sent but not received in the current time slot. The downlink message sending strategy can be adjusted, including direct sending, buffering or queue management, to reduce network congestion on the base station side.
It effectively reduces network congestion on the base station side and improves the reliability of IoT services and the success rate of message transmission.
Smart Images

Figure CN114363956B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a downlink message congestion control method, system, device and storage medium. BACKGROUND
[0002] The Internet of Things platform is a platform for Internet of Things application developers to provide rapid development, deployment and application management. The developers do not need to consider the expansion of the underlying infrastructure, data management and collection, communication protocols, communication security and other issues, thereby reducing development costs and greatly shortening development time. The Internet of Things platform has general basic capabilities such as terminal access, terminal management, data reporting, and instruction issuing. After the Internet of Things terminal accesses the Internet of Things platform, the Internet of Things application can send downlink messages to the Internet of Things terminal for remote control, instruction issuing, remote upgrading and other operations through the Internet of Things platform.
[0003] In narrowband Internet of Things, the scenario that the Internet of Things platform simultaneously issues downlink messages to a large number of Internet of Things terminals in the same cell often exceeds the downlink air interface paging capability of the cell base station, resulting in network congestion or even avalanche. Although a single customer can perform discrete processing on the Internet of Things terminals under his own application to try to avoid network congestion, he cannot perceive the Internet of Things terminals of other customers, and the Internet of Things terminals under multiple applications of the same base station cannot be processed collaboratively, which still leads to network congestion of the Internet of Things terminals in the cell where the base station is located. SUMMARY
[0004] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application provides a downlink message congestion control method, system, device and storage medium, which can reduce network congestion on the base station side and improve the reliability of Internet of Things services.
[0005] In one aspect, the present application embodiment provides a downlink message congestion control method, comprising the following steps:
[0006] Obtaining a downlink message;
[0007] Determining an Internet of Things terminal according to the downlink message;
[0008] Determining a cell to which the Internet of Things terminal belongs;
[0009] Obtaining a first number of messages that have been sent to the cell in a current time slot but have not been received;
[0010] Determining a network congestion situation of the cell according to the first number;
[0011] Sending the downlink message according to the network congestion situation.
[0012] According to some embodiments of the present invention, determining the cell to which the Internet of Things terminal belongs includes the following steps:
[0013] Obtain the login message of the IoT terminal;
[0014] The login message is parsed to determine the first cell number to which the IoT terminal belongs;
[0015] The second ID and the first ID of the IoT terminal are associated and stored in the terminal management library;
[0016] The cell to which the IoT terminal belongs is determined from the terminal management database based on the second number of the IoT terminal.
[0017] According to some embodiments of the present invention, determining the network congestion status of the cell based on the first quantity includes the following steps:
[0018] When the first quantity is greater than the congestion threshold of the current time slot, the cellular network is congested;
[0019] If the first quantity is less than or equal to the congestion threshold of the current time slot, then the cellular network is not congested.
[0020] The congestion threshold is obtained in the following way:
[0021] Divide the historical time interval into multiple historical time slots;
[0022] Obtain a second number of packets that have been sent and received to the cell for each historical time slot, and use the second number for each historical time slot as the congestion threshold, wherein the current time slot matches one of the historical time slots.
[0023] According to some embodiments of the present invention, before the step of sending the downlink message according to the network congestion situation, the downlink message congestion control method further includes the following steps:
[0024] Determine whether the IoT terminal has received uplink data within a preset time period prior to the current moment;
[0025] Once the uplink data from the IoT terminal has been received, the downlink message is sent directly.
[0026] If no uplink data has been received from the IoT terminal, then the step of sending the downlink message according to the network congestion situation is performed.
[0027] According to some embodiments of the present invention, sending the downlink message based on the network congestion situation includes the following steps:
[0028] If the cellular network is not congested, determine whether the process queue of the cellular is in an idle state.
[0029] When the process queue of the cell is idle, the downlink message is sent;
[0030] When the process queue of the cell is not idle, the downlink message is added to the process queue, and at most the first N downlink messages in the process queue are sent, where N is the difference between the congestion threshold of the current time slot and the first number of the current time slot.
[0031] According to some embodiments of the present invention, sending the downlink message based on the network congestion situation further includes the following steps:
[0032] When the cellular network is congested, it is determined whether the downlink message is an immediate instruction;
[0033] If the downlink message is an immediate command, an error message is returned to the application terminal;
[0034] If the downlink message is not an immediate instruction, then the downlink message is added to the process queue.
[0035] According to some embodiments of the present invention, the downlink message congestion control method further includes the following steps:
[0036] The process queue is periodically determined to be in an occupied state based on a preset timer value;
[0037] The cell network is determined to be uncongested based on the first number of current time slots and the congestion threshold of the current time slot;
[0038] Retrieve at most the first N downlink messages from the process queue;
[0039] Send downlink messages in the non-timeout state.
[0040] On the other hand, embodiments of the present invention also provide a downlink message congestion control system, comprising:
[0041] The first module is used to obtain downlink messages;
[0042] The second module is used to determine the IoT terminal based on the downlink message;
[0043] The third module is used to determine the cellular cell to which the IoT terminal belongs;
[0044] The fourth module is used to obtain the first number of packets that have been sent to the cell in the current time slot but have not been received;
[0045] The fifth module is used to determine the network congestion status of the cell based on the first quantity;
[0046] The sixth module is used to send the downlink message based on the network congestion situation.
[0047] On the other hand, embodiments of the present invention also provide a downlink message congestion control device, comprising:
[0048] At least one processor;
[0049] At least one memory for storing at least one program;
[0050] When the at least one program is executed by the at least one processor, the at least one processor implements the downlink message congestion control method as described above.
[0051] On the other hand, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the downlink message congestion control method as described above.
[0052] The above-described technical solution of the present invention has at least one of the following advantages or beneficial effects: After the IoT platform obtains the downlink message, it determines the IoT terminal to be sent and the cell to which the IoT terminal belongs based on the downlink message. Then, it obtains the first number of packets that have been sent to the cell but not received in the current time slot, and determines the network congestion status of the cell based on the first number. Then, it sends the downlink message in combination with the network congestion status, thereby coordinating the sending of downlink messages, reducing network congestion on the base station side, and improving the reliability of IoT services. Attached Figure Description
[0053] Figure 1 This is a flowchart of the downlink message congestion control method provided in an embodiment of the present invention;
[0054] Figure 2 This is a flowchart of a specific example of the downlink message congestion control method provided in this embodiment of the invention;
[0055] Figure 3 This is a flowchart of a specific example of a downlink message congestion control method provided in another embodiment of the present invention;
[0056] Figure 4 This is a schematic diagram of the downlink message congestion control system provided in an embodiment of the present invention;
[0057] Figure 5 This is a schematic diagram of a downlink message congestion control device provided in an embodiment of the present invention. Detailed Implementation
[0058] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar originals or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0059] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.
[0060] In the description of this invention, the use of terms such as "first," "second," etc., is merely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of technical features indicated, or implicitly indicating the order of the technical features indicated.
[0061] When users issue commands or perform remote upgrades to IoT terminals, if the base station simultaneously sends messages to a large number of IoT terminals in its cell, it will exceed the base station's air interface paging capacity, causing network congestion and packet loss, thus reducing the success rate of command issuance or remote upgrades. To reduce network congestion, users need to actively reduce the number of commands issued each time, which degrades the user experience. Analysis shows that the bottleneck in downlink message transmission performance is the paging concurrency capacity of the air interface. Therefore, this embodiment of the invention implements traffic congestion control for downlink messages under the same base station to improve the reliability of message issuance.
[0062] This invention provides a downlink message congestion control method, referring to... Figure 1 The downlink message congestion control method of this invention includes, but is not limited to, steps S110, S120, S130, S140, S150 and S160.
[0063] Step S110: Obtain downlink messages;
[0064] Step S120: Determine the IoT terminal based on the downlink message;
[0065] Step S130: Determine the cell to which the IoT terminal belongs;
[0066] Step S140: Obtain the first number of packets that have been sent to the cell in the current time slot but have not been received;
[0067] Step S150: Determine the network congestion status of the cell based on the first quantity;
[0068] Step S160: Send downlink messages based on network congestion conditions.
[0069] Specifically, the downlink message congestion control method can be applied to the Application Enablement Platform (AEP) of an IoT platform. As an aggregation platform for IoT terminal traffic, the AEP can sense the overall congestion status to control the number of downlink packets for multiple services, reducing network congestion at the base station and thus improving the reliability of IoT services. After obtaining downlink messages sent by application terminals, the AEP determines the IoT terminal to be sent and the cell to which the IoT terminal belongs based on the downlink messages. Then, it obtains the first number of packets sent to that cell in the current time slot that have not been received, and determines the network congestion status of that cell based on the first number. Finally, it sends downlink messages in conjunction with the network congestion status, thereby coordinating the transmission of downlink messages, reducing network congestion at the base station, and improving the reliability of IoT services.
[0070] It should be noted that after the application terminal sends a downlink message, it can either directly forward the downlink message in the AEP based on the network congestion situation, or it can store the user terminal's downlink message in the process queue in the AEP and retrieve the downlink message from the process queue when it needs to be forwarded.
[0071] It should be noted that narrowband IoT is built on cellular networks. A cellular network based on IoT consists of three parts: IoT terminals, a base station subsystem, and a network subsystem. Generally, a cellular cell is formed by six sides within a certain range centered on a base station. IoT terminals within a cellular cell all connect to the base station at the center of the cell, and interact with the network subsystem, i.e., the IoT platform, through the base station.
[0072] According to some specific embodiments of the present invention, step S130 may also include, but is not limited to, the following steps.
[0073] Obtain the login message from the IoT terminal;
[0074] Parse the login message to determine the first cell number to which the IoT terminal belongs;
[0075] The second and first serial numbers of the IoT terminal are associated and stored in the terminal management library;
[0076] The cell to which the IoT terminal belongs is determined from the terminal management database based on the second number of the IoT terminal.
[0077] Specifically, when an IoT terminal accesses an IoT platform using the LWM2M protocol, the IoT platform obtains the IoT terminal's login message, such as an LWM2M protocol / 4 / 0 / 8 message. It parses the login message to determine the first cell number (Cell ID) to which the IoT terminal belongs, and then associates the IoT terminal's second cell number with the Cell ID and stores them in the terminal management database. When a downlink message needs to be sent, the platform uses the second cell number to determine the IoT terminal's cell number from the terminal management database.
[0078] According to some specific embodiments of the present invention, step S140 may also include, but is not limited to, the following steps.
[0079] When the first number exceeds the congestion threshold of the current time slot, the cellular network is congested.
[0080] If the first quantity is less than or equal to the congestion threshold of the current time slot, the cellular network is not congested.
[0081] The congestion threshold is obtained in the following way:
[0082] Divide the historical time interval into multiple historical time slots;
[0083] Obtain the second number of messages that have been sent and received to the cell for each historical time slot, and use the second number of each historical time slot as the congestion threshold, wherein the current time slot is matched with one of the historical time slots.
[0084] Specifically, the network congestion status of the cell is determined by comparing a first quantity with a congestion threshold, which is obtained in the following way:
[0085] The historical time interval is divided into multiple historical time slots. The second number of packets sent and received to the cell in each historical time slot is obtained, and this second number is used as a congestion threshold. For example, the historical time interval can be one day, and each cell is divided into historical time slots every minute. One day can be divided into 24 * 60 = 1440 historical time slots. Then, the second number of packets sent and received to the cell every minute is obtained and calculated, and the corresponding second number for each historical time slot is used as the congestion threshold. It should be noted that when the AEP sends downlink messages to the IoT terminal, the AEP records the sending status and corresponding timestamp of each instruction. The sending status includes two states: sent but not received, and sent and received.
[0086] Based on the current time slot for sending downlink messages, the congestion threshold of a corresponding historical time slot is matched. For example, the current time slot at 13:01 can be matched with a historical time slot at 13:01 in the historical time zone, and the congestion threshold of that historical time slot is determined to be 20. Therefore, the congestion threshold of the current time slot is considered to be 20. Furthermore, the IoT platform can also statistically analyze the congestion threshold corresponding to each historical time slot of each cell over the past month, matching the current time slot with historical time slots by date and time. For example, the current time slot at 13:02 on February 20th can be matched with a historical time slot at 13:02 in the historical time zone of January 20th, and the congestion threshold of that historical time slot is determined to be 21. Therefore, the congestion threshold of the current time slot is considered to be 21. Then, the network congestion status of the cell is assessed. If the first quantity is greater than the congestion threshold of the current time slot, the cell network is congested; if the first quantity is less than or equal to the congestion threshold of the current time slot, the cell network is not congested.
[0087] According to some specific embodiments of the present invention, before step S160, the downlink message congestion control method of the present invention includes, but is not limited to, the following steps.
[0088] Determine whether uplink data from an IoT terminal has been received within a preset time period prior to the current moment;
[0089] Once the uplink data from the IoT terminal has been received, the downlink message is sent directly.
[0090] If no uplink data has been received from the IoT terminal, then step S160 is executed.
[0091] Specifically, before determining the network congestion status of a cell, it's possible to first check whether uplink data from IoT terminals has been received within a preset time period prior to the current moment. For example, if an IoT terminal sent data to the IoT platform within the previous 20 seconds, it indicates that the IoT terminal was online within those 20 seconds, confirming its current activity. If uplink data from IoT terminals has been received within the preset time period prior to the current moment, indicating that the IoT terminal is currently active, then downlink messages are sent directly. If no uplink data has been received from IoT terminals within the preset time period prior to the current moment, then the network congestion status of the cell is then assessed.
[0092] According to some specific embodiments of the present invention, step S160 includes, but is not limited to, the following steps.
[0093] When the cellular network is not congested, determine whether the process queue of the cellular is in an idle state;
[0094] When the process queue of a cell is idle, a downlink message is sent;
[0095] When the process queue of a cell is not idle, downlink messages are added to the process queue, and at most the first N downlink messages in the process queue are sent, where N is the difference between the congestion threshold of the current time slot and the first number of the current time slot.
[0096] Specifically, if it is determined that the cellular network is not congested, the process queue of the cell is further checked to see if it is idle. If the process queue of the cell is idle, it means that no other downlink messages are currently queued, so the downlink message is sent directly. If the process queue of the cell is not idle, it means that other downlink messages are currently queued, so the downlink message is added to the process queue, and at most the first N downlink messages in the process queue are sent. N is the congestion threshold of the current time slot minus the first number of the current time slot, which is the second number of sent and received packets in the historical time slots matching the current time slot minus the first number of sent but not received packets in the current time slot.
[0097] Specifically, when the number of downlink messages queued in the process queue is greater than or equal to N, the first N downlink messages are sent; when the number of downlink messages queued in the process queue is less than N, all downlink messages in the process queue are sent. This embodiment of the invention reduces network congestion at the base station by using a downlink message discretization sending mechanism.
[0098] According to some specific embodiments of the present invention, step S160 includes, but is not limited to, the following steps.
[0099] When the cellular network is congested, determine whether the downlink message is an immediate instruction;
[0100] When the downlink message is an immediate command, an error message is returned to the application terminal;
[0101] If the downlink message is not an immediate instruction, the downlink message is added to the process queue.
[0102] Specifically, if cellular network congestion is detected, it is further determined whether the downlink message is an immediate command. If the downlink message is an immediate command, an error message is returned to the application terminal and the downlink message is no longer sent; if the downlink message is not an immediate command, the downlink message is added to the process queue. This embodiment of the invention reduces the occurrence of network congestion at the base station side through a caching mechanism.
[0103] It should be noted that whether a downlink message is an immediate command can be determined by setting the downlink message TTL (Time To Live). When TTL = 0, it is an immediate command; when TTL > 0, it is not an immediate command.
[0104] According to some specific embodiments of the present invention, the downlink message congestion control method of the present invention includes, but is not limited to, the following steps.
[0105] The process queue is periodically determined to be in an occupied state based on a preset timer value;
[0106] The cell network is determined to be uncongested based on the first number of current time slots and the congestion threshold of the current time slots;
[0107] Retrieve at most the first N downlink messages from the process queue;
[0108] Send downlink messages in the non-timeout state.
[0109] Specifically, in addition to receiving user instructions to trigger the IoT platform to send downlink messages, it can also periodically determine the process queue as occupied based on preset time slots, for example, by determining the process queue as occupied every second. Furthermore, based on the first number of current time slots and the congestion threshold of the current time slot, if the current network of the cell is not congested, it can extract at most the first N downlink messages from the process queue and then send downlink messages that are in a non-timeout state. Whether the downlink message has timed out can be determined based on the TTL of the downlink message. If the downlink message is in a timeout state, the timed-out downlink message will not be sent and the downlink message state will be changed to TTL timeout.
[0110] Specifically, Figure 2 A flowchart illustrating a specific example of the downlink message congestion control method according to an embodiment of the present invention is shown. The downlink message congestion control method of this embodiment is applied when an application terminal sends a downlink message to an IoT platform, triggering the IoT platform to send a downlink message. The implementation steps of this specific example are as follows:
[0111] Step S210: Receive downlink message;
[0112] Step S220: Determine the IoT terminal based on the downlink message;
[0113] Step S230: Determine whether uplink data from the IoT terminal has been received within the previous preset time period at the current time. If uplink data from the IoT terminal has been received within the previous preset time period at the current time, proceed to step S240; if uplink data from the IoT terminal has not been received within the previous preset time period at the current time, proceed to step S250.
[0114] Step S240: Send the downlink message to the IoT terminal;
[0115] Step S250: Determine the cell to which the IoT terminal belongs and determine whether the cell network is congested. If the cell network is not congested, proceed to step S260; if the cell network is congested, proceed to step S270.
[0116] Step S260: Determine whether the process queue of the cell is in an idle state. If the process queue is in an idle state, proceed to step S240; if the process queue is not in an idle state, proceed to step S280.
[0117] Step S270: Determine whether the downlink message is an immediate instruction. If it is an immediate instruction, proceed to step S290. If it is not an immediate instruction, proceed to step S2110.
[0118] Step S280: Cache the downlink messages in the process queue and send at most the first N downlink messages in the process queue;
[0119] Step S290: Return error information to the application terminal;
[0120] Step S2110: Cache the downlink message to the process queue.
[0121] Specifically, Figure 3 A flowchart illustrating a specific example of a downlink message congestion control method according to another embodiment of the present invention is shown. The downlink message congestion control method of this embodiment is applied to the timer-triggered process queue of an IoT platform to send downlink messages. The implementation steps of this specific example are as follows:
[0122] Step S310: Periodically trigger the process queue to send out tasks according to the preset time value;
[0123] Step S320: Determine whether the process queue of the cell is in an occupied state. If it is in an occupied state, proceed to step S330; if it is not in an occupied state, i.e., in an idle state, proceed to step S340.
[0124] Step S330: Determine whether the cell network is congested. If the cell network is not congested, proceed to step S350; if the cell network is congested, proceed to step S340.
[0125] Step S340: Wait for the next cycle to trigger the process queue to enter the task distribution queue;
[0126] Step S350: Retrieve the top N downlink messages from the process queue and determine whether each retrieved downlink message is in a timeout state. If it is not in a timeout state, proceed to step S360; if it is in a timeout state, proceed to step S370.
[0127] Step S360: Send downlink message;
[0128] Step S370: Mark the downlink message as timed out and notify the application terminal.
[0129] This invention also provides a downlink message congestion control system, referring to... Figure 4 The downlink message congestion control system includes:
[0130] The first module is used to obtain downlink messages;
[0131] The second module is used to determine the IoT terminal based on the downlink message;
[0132] The third module is used to determine the cell to which the IoT terminal belongs;
[0133] The fourth module is used to obtain the first number of packets that have been sent to the cell in the current time slot but have not been received;
[0134] The fifth module is used to determine the network congestion status of the cell based on the first quantity;
[0135] The sixth module is used to send the downlink message based on network congestion.
[0136] It is understood that the content of the above-described downlink message congestion control method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above-described downlink message congestion control method embodiments, and the beneficial effects achieved are also the same as those achieved in the above-described downlink message congestion control method embodiments.
[0137] Reference Figure 5 , Figure 5 This is a schematic diagram of a downlink message congestion control device according to an embodiment of the present invention. The downlink message congestion control device of this embodiment includes one or more control processors and a memory. Figure 5 The example consists of a control processor and a memory.
[0138] The control processor and memory can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.
[0139] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the control processor, and these remote memories can be connected to the downlink message congestion control device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0140] Those skilled in the art will understand that Figure 5The device structure shown does not constitute a limitation on the downlink message congestion control device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0141] The non-transient software program and instructions required to implement the downlink message congestion control method applied to the downlink message congestion control device in the above embodiments are stored in the memory. When the controlled processor executes, the downlink message congestion control method applied to the downlink message congestion control device in the above embodiments is executed.
[0142] Furthermore, one embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions that are executed by one or more control processors, causing the one or more control processors to perform the downlink message congestion control method in the above method embodiment.
[0143] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0144] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.
Claims
1. A downlink message congestion control method, characterized in that, Includes the following steps: Get downlink messages; The IoT terminal is determined based on the downlink message; Determine the cellular cell to which the IoT terminal belongs; Get the first number of packets that have been sent to the cell in the current time slot but have not been received; The network congestion status of the cell is determined based on the first quantity; The downlink message is sent according to the network congestion situation; Determining the network congestion status of the cell based on the first quantity includes the following steps: When the first quantity is greater than the congestion threshold of the current time slot, the cellular network is congested; If the first quantity is less than or equal to the congestion threshold of the current time slot, then the cellular network is not congested. The congestion threshold is obtained in the following way: Divide the historical time interval into multiple historical time slots; Obtain the second number of packets that have been sent and received to the cell in each historical time slot, and use the second number of each historical time slot as the congestion threshold, wherein the current time slot matches one of the historical time slots; Sending the downlink message based on the network congestion situation includes the following steps: If the cellular network is not congested, determine whether the process queue of the cellular is in an idle state. When the process queue of the cell is idle, the downlink message is sent; When the process queue of the cell is not idle, the downlink message is added to the process queue, and at most the first N downlink messages in the process queue are sent, where N is the difference between the congestion threshold of the current time slot and the first number of the current time slot.
2. The downlink message congestion control method according to claim 1, characterized in that, Determining the cell to which the IoT terminal belongs includes the following steps: Obtain the login message of the IoT terminal; The login message is parsed to determine the first cell number to which the IoT terminal belongs; The second ID and the first ID of the IoT terminal are associated and stored in the terminal management library; The cell to which the IoT terminal belongs is determined from the terminal management database based on the second number of the IoT terminal.
3. The downlink message congestion control method according to claim 2, characterized in that, Prior to the step of sending the downlink message based on the network congestion situation, the downlink message congestion control method further includes the following steps: Determine whether the IoT terminal has received uplink data within a preset time period prior to the current moment; Once the uplink data from the IoT terminal has been received, the downlink message is sent directly. If no uplink data has been received from the IoT terminal, then the step of sending the downlink message according to the network congestion situation is performed.
4. The downlink message congestion control method according to claim 3, characterized in that, Sending the downlink message based on the network congestion situation further includes the following steps: When the cellular network is congested, it is determined whether the downlink message is an immediate instruction; If the downlink message is an immediate command, an error message is returned to the application terminal; If the downlink message is not an immediate instruction, then the downlink message is added to the process queue.
5. The downlink message congestion control method according to claim 4, characterized in that, The downlink message congestion control method further includes the following steps: The process queue is periodically determined to be in an occupied state based on a preset timer value; The cell network is determined to be uncongested based on the first number of current time slots and the congestion threshold of the current time slot; Retrieve at most the first N downlink messages from the process queue; Send downlink messages in the non-timeout state.
6. A downlink message congestion control system, characterized in that, include: The first module is used to obtain downlink messages; The second module is used to determine the IoT terminal based on the downlink message; The third module is used to determine the cellular cell to which the IoT terminal belongs; The fourth module is used to obtain the first number of packets that have been sent to the cell in the current time slot but have not been received; The fifth module is used to determine the network congestion status of the cell based on the first quantity; The sixth module is used to send the downlink message according to the network congestion situation; The fifth module is specifically used to perform the following steps: When the first quantity is greater than the congestion threshold of the current time slot, the cellular network is congested; If the first quantity is less than or equal to the congestion threshold of the current time slot, then the cellular network is not congested. The congestion threshold is obtained in the following way: Divide the historical time interval into multiple historical time slots; Obtain the second number of packets that have been sent and received to the cell in each historical time slot, and use the second number of each historical time slot as the congestion threshold, wherein the current time slot matches one of the historical time slots; The sixth module is specifically used to perform the following steps: If the cellular network is not congested, determine whether the process queue of the cellular is in an idle state. When the process queue of the cell is idle, the downlink message is sent; When the process queue of the cell is not idle, the downlink message is added to the process queue, and at most the first N downlink messages in the process queue are sent, where N is the difference between the congestion threshold of the current time slot and the first number of the current time slot.
7. A downlink message congestion control device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the downlink message congestion control method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a processor-executable program, characterized in that, When the processor executes the program, it is used to implement the downlink message congestion control method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Congestion control method and Internet of Things platform
CN110831065A
Radio communication system, policy control device, and communication control method
JP2016149619A