Terminal message sending opportunity control method and device, computer device and storage medium
Patent Information
- Application Number
- CN202211698748.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2042-12-28
AI Technical Summary
[0002]物联网终端在处理业务过程中,经常会频繁断电/休眠重启后立即上报数据或定期联网上报数据,如果相同时间点上瞬时上行连接和上报数据太多,将对无线基站及核心网造成严重负载冲击,同时也导致终端功耗很高
[0027]本发明与现有技术相比的有益效果是:本发明通过获取终端通过通信模组上报的相关信息,聚合同一基站上所有终端在相同时间区间内的连接信息和负载程度,并以此计算三元离散控制因子,以此由通信模组计算最佳上报时间,并在最佳上报时间将终端所上报的数据上报,实现减少核心网和平台负载冲击,增加网络和平台处理终端接入能力,同时提高终端应用运行效率、降低终端功耗效果。
Smart Images

Figure CN116095749B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to wireless communication methods, and more specifically to methods, apparatus, computer devices, and storage media for controlling the timing of terminal message transmission. Background Technology
[0002] During business processing, IoT terminals often report data immediately after power outages / sleep restarts or periodically connect to the network to report data. If there are too many uplink connections and data reports at the same time, it will cause a serious load impact on the wireless base station and core network, and also lead to high terminal power consumption.
[0003] Therefore, it is necessary to design a new method to reduce the load impact on the core network and platform, increase the network and platform's terminal access capabilities, and at the same time improve the operating efficiency of terminal applications and reduce terminal power consumption. Summary of the Invention
[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, apparatus, computer equipment and storage medium for controlling the timing of terminal message transmission.
[0005] To achieve the above objectives, the present invention adopts the following technical solution: a terminal message transmission timing control method, characterized in that it includes:
[0006] Obtain relevant information reported by the terminal through the communication module;
[0007] Based on the aforementioned relevant information, the connection information and load levels of all terminals on the same base station within the same time interval are aggregated.
[0008] Calculate the ternary discrete control factor based on the connection information and load level;
[0009] The ternary discrete control factor is sent to the communication module, which then persistently stores the ternary discrete control factor and notifies the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0010] The further technical solution is as follows: the calculation of the ternary discrete control factor based on the connection information and load level includes:
[0011] Based on the same product form, different time intervals, and a first-in-first-out discrete strategy, the three-element discrete control factor for each terminal is centrally calculated and allocated according to the connection information and load level.
[0012] The further technical solution is as follows: the three-element discrete control factor includes: wireless network signal level, packet discrete time interval, and discrete random number within the interval.
[0013] The further technical solution is as follows: The step of sending the ternary discrete control factor to the communication module, so that the communication module persistently stores the ternary discrete control factor and notifies the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, includes:
[0014] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level. Based on the ternary discrete control factor, it calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0015] The further technical solution is as follows: the ternary discrete control factor is sent to the communication module, so that the communication module persistently stores the ternary discrete control factor and notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, calculates the optimal data reporting time based on the ternary discrete control factor, and when the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal, including:
[0016] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the packets under the same wireless network signal level, multiplies it by a discrete random number within the interval, and calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0017] The further technical solution is as follows: after sending the ternary discrete control factor to the communication module, so that the communication module persistently stores the ternary discrete control factor, and notifying the terminal to report data, and after calculating the optimal data reporting time based on the ternary discrete control factor, it further includes:
[0018] The ternary discrete control factor is periodically calculated and updated, and the ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0019] The present invention also provides a terminal message transmission timing control device, comprising:
[0020] The information acquisition unit is used to acquire relevant information reported by the terminal through the communication module;
[0021] An aggregation unit is used to aggregate the connection information and load level of all terminals on the same base station within the same time interval based on the relevant information.
[0022] A factor calculation unit is used to calculate a ternary discrete control factor based on the connection information and the load level.
[0023] The sending unit is used to send the ternary discrete control factor to the communication module, so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0024] The further technical solution is as follows: The factor calculation unit is used to centrally calculate and allocate the ternary discrete control factor of each terminal based on the connection information and load level, according to the discrete strategy of different time intervals of the same product form and first-in-first-out allocation.
[0025] The present invention also provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the above-described method.
[0026] The present invention also provides a storage medium storing a computer program that, when executed by a processor, can implement the above-described method.
[0027] The beneficial effects of this invention compared with the prior art are as follows: This invention obtains relevant information reported by the terminal through the communication module, aggregates the connection information and load level of all terminals on the same base station within the same time interval, and calculates the ternary discrete control factor based on this. The communication module then calculates the optimal reporting time and reports the data reported by the terminal at the optimal reporting time. This reduces the load impact on the core network and platform, increases the network and platform's ability to process terminal access, and improves the operating efficiency of terminal applications while reducing terminal power consumption.
[0028] The present invention will be further described below with reference to the accompanying drawings and specific embodiments. Attached Figure Description
[0029] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a schematic diagram illustrating an application scenario of the terminal message transmission timing control method provided in an embodiment of the present invention.
[0031] Figure 2 A flowchart illustrating the terminal message transmission timing control method provided in an embodiment of the present invention;
[0032] Figure 3 A flowchart illustrating a terminal message transmission timing control method provided in another embodiment of the present invention;
[0033] Figure 4 A schematic block diagram of a terminal message transmission timing control device provided in an embodiment of the present invention;
[0034] Figure 5 A schematic block diagram of a terminal message transmission timing control device provided in another embodiment of the present invention;
[0035] Figure 6 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation
[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0037] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0038] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0039] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0040] Please see Figure 1 and Figure 2 , Figure 1 This is a schematic diagram illustrating an application scenario of the terminal message transmission timing control method provided in an embodiment of the present invention. Figure 2 This is a schematic flowchart illustrating the terminal message transmission timing control method provided in an embodiment of the present invention. This method is applied in a server. The server interacts with IoT terminals via a communication module. The terminals report information such as wireless network signal level and cellid. The server aggregates all terminals to calculate the optimal ternary discrete control factor. The communication module persistently stores the ternary discrete factor and matches it to calculate the optimal data reporting timing. The server periodically updates and distributes the ternary discrete control factor, thereby reducing the number of terminals online at the same time and the frequency of terminals reporting data, reducing the load on the wireless base station and core network, and simultaneously reducing terminal power consumption.
[0041] Figure 2 This is a flowchart illustrating the terminal message transmission timing control method provided in an embodiment of the present invention. Figure 2 As shown, the method includes the following steps S110 to S140.
[0042] S110. Obtain relevant information reported by the terminal through the communication module.
[0043] In this embodiment, the relevant information includes the terminal product model, wireless network signal level, cell identifier, and base station CellID information.
[0044] S120. Aggregate the connection information and load level of all terminals on the same base station within the same time interval based on the relevant information.
[0045] In this embodiment, connection information refers to the connection status of all terminals on the same base station within the same time interval, and load level refers to the load of all terminals on the same base station within the same time interval.
[0046] S130. Calculate the ternary discrete control factor based on the connection information and load level.
[0047] In this embodiment, the ternary discrete control factor includes: wireless network signal level, packet discrete time interval, and discrete random number within the interval.
[0048] Specifically, based on the same product form, different time intervals, and a first-in-first-out discrete strategy, the three-element discrete control factor for each terminal is centrally calculated and allocated according to the connection information and load level.
[0049] For example, for the same type of water utility terminals using NB-IoT networks to remotely report water meter data, they used to consistently go online and report data around 6 AM every day. This system and method, on the platform side, calculates and allocates the optimal interval (the strongest wireless signal and lowest base station load) among 12 intervals from 0 to 24 AM based on the wireless network signal level reported by the terminal in the previous period and the statistical information on the wireless base station load pressure for each time period. For data terminals with the same priority, the optimal allocation interval is assigned according to the first-in, first-out principle. At the same time, within each 2-hour interval, each terminal is given a random number from 1 to 999 as a discrete online factor within the sub-interval. In this way, each terminal will have a three-element discrete control factor containing the wireless network signal level, the discrete time interval of the group, and the discrete random number within the interval, which is used to determine the best time point for the terminal to go online and report data.
[0050] The server aggregates the connection information and load levels of all terminals on the same base station within the same time interval. Based on different time intervals of the same product form and a first-in-first-out (FIFO) allocation strategy, the platform centrally calculates and allocates the optimal three-element discrete control factor for each terminal: wireless network signal level, packet discrete time interval, and discrete random number within the interval. At the same time, the above three-element discrete control factor is sent to the terminal communication module by issuing service instruction messages.
[0051] Specifically, the original practice of non-discrete or simply randomized data reporting by terminals has been improved to aggregate all terminals on the platform, and based on the same product form, different time intervals, and a first-in-first-out (FIFO) allocation strategy, a three-element discrete control factor is centrally calculated, which includes the wireless network signal level, the discrete time interval of the group, and the discrete random number within the interval. This reduces the frequency of network connection and message transmission, greatly reduces the instantaneous impact on the load of wireless base stations and core networks, and effectively reduces terminal power consumption.
[0052] S140. Send the ternary discrete control factor to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0053] In this embodiment, the ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, calculates the optimal data reporting time based on the ternary discrete control factor, and reports the data reported by the terminal when the terminal's clock matches the optimal data reporting time.
[0054] Specifically, the three-element discrete control factor is sent to the communication module so that the communication module can persistently store the three-element discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the three-element discrete control factor and the current wireless signal level, matches the discrete time interval of the group under the same wireless network signal level of the current wireless signal level, and multiplies it by the discrete random number within the interval to calculate the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0055] The communication module persistently stores the ternary discrete control factors, ensuring that it can still retrieve the previous ternary discrete control factors locally after power-on restart, thereby ensuring that the terminal can always synchronize with the platform's optimal discrete reporting data timing after multiple restarts.
[0056] The aforementioned terminal message transmission timing control method obtains relevant information reported by the terminal through the communication module, aggregates the connection information and load level of all terminals on the same base station within the same time interval, and calculates a ternary discrete control factor based on this. The communication module then calculates the optimal reporting time and reports the data reported by the terminal at the optimal reporting time. This reduces the load impact on the core network and platform, increases the network and platform's ability to process terminal access, and simultaneously improves the operating efficiency of terminal applications and reduces terminal power consumption.
[0057] Figure 3 This is a flowchart illustrating a terminal message transmission timing control method according to another embodiment of the present invention. Figure 3 As shown, the terminal message transmission timing control method in this embodiment includes steps S210-S250. Steps S210-S240 are similar to steps S110-S140 in the above embodiment and will not be described again here. The following details the added step S250 in this embodiment.
[0058] S250. Periodically calculate and update the ternary discrete control factor, and perform step S240.
[0059] By periodically updating and calculating the ternary discrete control factor, the calculation and updating process is consistent with steps S210 to S230. The optimized reporting data time point is adaptively updated, thereby optimizing the network connection and message sending frequency, greatly reducing the instantaneous impact on the load of wireless base stations and core networks, and effectively reducing terminal power consumption.
[0060] By reporting terminal product information, wireless network signal level, base station information, and other metadata to the server via the communication module, the server centrally calculates the optimal grouping discrete interval and then sends the discrete factor to the terminal communication module. The module receives and persistently stores the discrete factor. When the terminal needs to go online, it uses the discrete factor stored in the module to perform a discrete strategy to connect to the network and log in to the platform. This achieves orderly segmented terminal access, reduces the load impact on the core network and platform, increases the network and platform's terminal access processing capacity, and improves the terminal application operating efficiency and reduces terminal power consumption.
[0061] Specifically, the above methods can be applied to scenarios where data is reported by IoT terminals from multiple different manufacturers at optimal times, improving the network and platform's ability to process terminal access. Furthermore, the persistent and adaptive updating of the ternary discrete factor data reported by IoT terminals can reduce terminal power consumption.
[0062] Figure 4 This is a schematic block diagram of a terminal message transmission timing control device 300 provided in an embodiment of the present invention. As shown in Figure 4, corresponding to the above-described terminal message transmission timing control method, the present invention also provides a terminal message transmission timing control device 300. This terminal message transmission timing control device 300 includes a unit for executing the above-described terminal message transmission timing control method, and this device can be configured in a server. Specifically, please refer to... Figure 4 The terminal message transmission timing control device 300 includes an information acquisition unit 301, an aggregation unit 302, a factor calculation unit 303, and a distribution unit 304.
[0063] Information acquisition unit 301 is used to acquire relevant information reported by the terminal through the communication module; aggregation unit 302 is used to aggregate the connection information and load level of all terminals on the same base station within the same time interval according to the relevant information; factor calculation unit 303 is used to calculate the ternary discrete control factor according to the connection information and load level; and sending unit 304 is used to send the ternary discrete control factor to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data so as to calculate the optimal data reporting time according to the ternary discrete control factor.
[0064] In one embodiment, the factor calculation unit 303 is used to centrally calculate and allocate a ternary discrete control factor for each terminal based on the connection information and load level, according to different time intervals of the same product form and a first-in-first-out discrete strategy.
[0065] In one embodiment, the sending unit 304 is used to send the ternary discrete control factor to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, calculates the optimal data reporting time based on the ternary discrete control factor, and when the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0066] In one embodiment, the sending unit 304 is used to send the ternary discrete control factor to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the same wireless network signal level of the current wireless signal level, and multiplies it by the discrete random number within the interval to calculate the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0067] Figure 5 This is a schematic block diagram of a terminal message transmission timing control device 300 provided in another embodiment of the present invention. Figure 5 As shown, the terminal message transmission timing control device 300 in this embodiment is based on the above embodiment with the addition of an update unit 305.
[0068] The update unit 305 is used to periodically calculate and update the ternary discrete control factor, and execute the sending of the ternary discrete control factor to the communication module so that the communication module can persistently store the ternary discrete control factor, and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0069] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the aforementioned terminal message transmission timing control device 300 and each unit can be referred to the corresponding description in the foregoing method embodiments. For the sake of convenience and brevity, it will not be repeated here.
[0070] The aforementioned terminal message transmission timing control device 300 can be implemented as a computer program, which can, for example... Figure 6It runs on the computer device shown.
[0071] Please see Figure 6 , Figure 6 This is a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a server, wherein the server can be a standalone server or a server cluster composed of multiple servers.
[0072] See Figure 6 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.
[0073] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a terminal message transmission timing control method.
[0074] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0075] The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a terminal message transmission timing control method.
[0076] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0077] The processor 502 is used to run a computer program 5032 stored in the memory to perform the following steps:
[0078] The system acquires relevant information reported by the terminal through the communication module; aggregates the connection information and load level of all terminals on the same base station within the same time interval based on the relevant information; calculates a ternary discrete control factor based on the connection information and load level; sends the ternary discrete control factor to the communication module for persistent storage, and notifies the terminal to report data to calculate the optimal data reporting time based on the ternary discrete control factor.
[0079] The three discrete control factors include: wireless network signal level, packet discrete time interval, and discrete random number within the interval.
[0080] In one embodiment, when the processor 502 implements the step of calculating the ternary discrete control factor based on the connection information and the load level, it specifically implements the following steps:
[0081] Based on the same product form, different time intervals, and a first-in-first-out discrete strategy, the three-element discrete control factor for each terminal is centrally calculated and allocated according to the connection information and load level.
[0082] In one embodiment, when the processor 502 implements the steps of sending the ternary discrete control factor to the communication module for persistent storage of the ternary discrete control factor and notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, the specific implementation steps are as follows:
[0083] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level. Based on the ternary discrete control factor, it calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0084] In one embodiment, the processor 502, when implementing the step of sending the ternary discrete control factor to the communication module for persistent storage and notifying the terminal to report data to the communication module, and the communication module, after receiving the reported data, reading the ternary discrete control factor and the current wireless signal level, calculating the optimal data reporting time based on the ternary discrete control factor, and when the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal, specifically implements the following steps:
[0085] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the packets under the same wireless network signal level, multiplies it by a discrete random number within the interval, and calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0086] In one embodiment, after implementing the steps of sending the ternary discrete control factor to the communication module for persistent storage by the communication module and notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, the processor 502 further implements the following steps:
[0087] The ternary discrete control factor is periodically calculated and updated, and the ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0088] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0089] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0090] Therefore, the present invention also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein when executed by a processor, the computer program causes the processor to perform the following steps:
[0091] The system acquires relevant information reported by the terminal through the communication module; aggregates the connection information and load level of all terminals on the same base station within the same time interval based on the relevant information; calculates a ternary discrete control factor based on the connection information and load level; sends the ternary discrete control factor to the communication module for persistent storage, and notifies the terminal to report data to calculate the optimal data reporting time based on the ternary discrete control factor.
[0092] In one embodiment, when the processor executes the computer program to implement the step of calculating the ternary discrete control factor based on the connection information and load level, it specifically implements the following steps:
[0093] Based on the same product form, different time intervals, and a first-in-first-out discrete strategy, the three-element discrete control factor for each terminal is centrally calculated and allocated according to the connection information and load level.
[0094] In one embodiment, when the processor executes the computer program to implement the steps of sending the ternary discrete control factor to the communication module for persistent storage of the ternary discrete control factor, and notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, the specific implementation is as follows:
[0095] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level. Based on the ternary discrete control factor, it calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0096] In one embodiment, the processor executes the computer program to send the ternary discrete control factor to the communication module, so that the communication module persistently stores the ternary discrete control factor, and notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, calculates the optimal data reporting time based on the ternary discrete control factor, and when the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal. The specific implementation of this step is as follows:
[0097] The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the packets under the same wireless network signal level, multiplies it by a discrete random number within the interval, and calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
[0098] In one embodiment, after the processor executes the computer program to implement the steps of sending the ternary discrete control factor to the communication module for persistent storage of the ternary discrete control factor, notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, the processor further implements the following steps:
[0099] The ternary discrete control factor is periodically calculated and updated, and the ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
[0100] The storage medium can be any computer-readable storage medium capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0101] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0102] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0103] The steps in the method of this invention can be adjusted, merged, or reduced in order according to actual needs. The units in the device of this invention can be merged, divided, or reduced according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0104] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
[0105] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling the timing of terminal message transmission, characterized in that, include: Obtain relevant information reported by the terminal through the communication module; Based on the aforementioned relevant information, the connection information and load levels of all terminals on the same base station within the same time interval are aggregated. Calculate the ternary discrete control factor based on the connection information and load level; The ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data so as to calculate the optimal data reporting time based on the ternary discrete control factor. The three-element discrete control factor includes: wireless network signal level, packet discrete time interval, and discrete random number within the interval; The step of sending the ternary discrete control factor to the communication module, so that the communication module persistently stores the ternary discrete control factor, and notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, includes: The ternary discrete control factor is sent to the communication module for persistent storage. The terminal is then notified to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level. Based on the ternary discrete control factor, the optimal data reporting time is calculated. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal. The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. Upon receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level. Based on the ternary discrete control factor, it calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal, including: The ternary discrete control factor is sent to the communication module for persistent storage. The communication module then notifies the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the packets under the same wireless network signal level, multiplies it by a discrete random number within the interval, and calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
2. The terminal message transmission timing control method according to claim 1, characterized in that, The calculation of the ternary discrete control factor based on the connection information and load level includes: Based on the same product form, different time intervals, and a first-in-first-out discrete strategy, the three-element discrete control factor for each terminal is centrally calculated and allocated according to the connection information and load level.
3. The terminal message transmission timing control method according to claim 1, characterized in that, The process of sending the ternary discrete control factor to the communication module, so that the communication module persistently stores the ternary discrete control factor, and notifying the terminal to report data, and calculating the optimal data reporting time based on the ternary discrete control factor, further includes: The ternary discrete control factor is periodically calculated and updated, and the ternary discrete control factor is sent to the communication module so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor.
4. A terminal message transmission timing control device, characterized in that, include: The information acquisition unit is used to acquire relevant information reported by the terminal through the communication module; An aggregation unit is used to aggregate the connection information and load level of all terminals on the same base station within the same time interval based on the relevant information. A factor calculation unit is used to calculate a ternary discrete control factor based on the connection information and the load level. The sending unit is used to send the ternary discrete control factor to the communication module, so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data, so as to calculate the optimal data reporting time based on the ternary discrete control factor. The three-element discrete control factor includes: wireless network signal level, packet discrete time interval, and discrete random number within the interval; The sending unit is used to send the ternary discrete control factor to the communication module, so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, calculates the optimal data reporting time based on the ternary discrete control factor, and when the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal. The sending unit is used to send the ternary discrete control factor to the communication module, so that the communication module can persistently store the ternary discrete control factor and notify the terminal to report data to the communication module. After receiving the reported data, the communication module reads the ternary discrete control factor and the current wireless signal level, matches the discrete time interval of the same wireless network signal level of the current wireless signal level, multiplies it by the discrete random number within the interval, and calculates the optimal data reporting time. When the terminal's clock matches the optimal data reporting time, the communication module reports the data reported by the terminal.
5. The terminal message transmission timing control device according to claim 4, characterized in that, The factor calculation unit is used to centrally calculate and allocate the ternary discrete control factor for each terminal based on the connection information and load level, according to the discrete strategy of the same product form, different time intervals and first-in-first-out allocation.
6. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1 to 3.
7. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, can implement the method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Communication method and device
CN110267351A
Data transmission method and device of Internet of Things equipment, and computer equipment
CN111787570A
Network optimization method and device, electronic equipment and storage medium
CN114302437A