CN110995792A - Trigger method for timing task randomization of Internet of things equipment - Google Patents
Trigger method for timing task randomization of Internet of things equipment Download PDFInfo
- Publication number
- CN110995792A CN110995792A CN201911127393.1A CN201911127393A CN110995792A CN 110995792 A CN110995792 A CN 110995792A CN 201911127393 A CN201911127393 A CN 201911127393A CN 110995792 A CN110995792 A CN 110995792A
- Authority
- CN
- China
- Prior art keywords
- timing task
- constant
- timing
- internet
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to a method for triggering randomization of a timing task of Internet of things equipment, which comprises a period value T, a constant K and an interval constant P of the timing task, and comprises the following steps: obtaining a serial number SN of electronic equipment in the Internet of things, converting the serial number SN into a corresponding integer value I according to a unified method, dividing the integer value I by a constant K, then taking a remainder, multiplying the remainder by an interval constant P to obtain a product, and finally adding the product and a random value X between 0 and P-1 to obtain a sum, wherein the sum is a trigger time point t of a timing task; and triggering a timing task when a time point t is reached through the timing of a timer. The method can disperse the timing tasks to the time points from 0 to T according to the periodic value T of the timing tasks, and reduces the concurrent number of the timing tasks of the electronic equipment, thereby greatly reducing the load pressure of a control platform at a certain time point and expanding the overall number of control equipment of the control platform.
Description
Technical Field
The invention relates to the field of Internet of things equipment, in particular to a method for randomly triggering a timing task of Internet of things equipment for online monitoring of the state of the equipment in a network.
Background
With the continuous popularization of electronic devices in the internet of things, the number of devices managed by a device control platform is increasing, and devices often have a requirement for reporting the state of the devices at regular time.
Disclosure of Invention
In order to solve the problems, the invention provides the method for randomly triggering the timing task of the internet of things equipment, which can automatically and randomly distribute the timing task triggering time of each piece of electronic equipment according to the requirement.
In order to achieve the purpose, the method for triggering the randomization of the timing task of the internet of things equipment comprises the steps of obtaining a sequence number SN of electronic equipment in the internet of things by a period value T, a constant K and an interval constant P of the timing task, converting the sequence number SN into a corresponding integer value I according to a unified method, dividing the integer value I by the constant K, taking a remainder, multiplying the remainder by the interval constant P to obtain a product, and adding the product and a random value X between 0 and P-1 to obtain a sum, wherein the sum is a triggering time point T of the timing task; and triggering a timing task when a time point t is reached through the timing of a timer.
In a further aspect, the period value T = a constant K × an interval constant P.
Compared with the prior art, the method for triggering the randomization of the timing task of the internet of things equipment can disperse the timing task to the time points from 0 to T according to the period value T of the timing task, and the larger the value T is, the more the distribution points of the time points are. The time point t obtained by calculation is fixed for each electronic device, and is randomly distributed to different time points, so that the concurrency number of timing tasks of the electronic devices is reduced, the load pressure of a control platform at a certain time point is greatly reduced, and the whole number of control devices of the control platform is enlarged. Furthermore, the relation between the period value T and the constant K and the interval constant P is determined, and the relation between the constant K and the constant P can be set according to needs, so that the value of the obtained time point T is further controlled according to needs, and the starting time point is controlled according to the load condition of the control platform.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below.
Example 1.
The method for triggering the randomization of the timing task of the internet of things device described in this embodiment includes the following steps:
s110: determining the timing task period value to be 24 hours, namely the period value T =86400 seconds; if the interval constant P =30, the constant K =86400/30=2880 is set.
S120: the electronic device serial number SN =123456789 is obtained.
S130: the device serial number is converted to an integer value.
The device serial number in this embodiment may have various numbering modes due to different numbering methods of different device manufacturers. One way always can be found to convert the serial number to an integer value. The present invention does not specifically limit the specific manner of converting the device serial number into the integer value, and it is considered that the present invention can accept a method of converting different device serial numbers into different integer values.
The device serial number SN =123456789 is a character string, and six-bit characters are taken from the character string and converted into an integer value I = 456789.
S140: the remainder is obtained by dividing the integer value I by a constant K associated with the period value T, which is 456789/2880, and the remainder is 1479.
S150: the remainder is multiplied by the interval constant P, i.e. 1497 × 30= 44910.
S160: finally, adding a random value X between 0 and P-1 to the obtained product to obtain a time t between 44910 and 44939, wherein the time t is expressed in seconds and is converted into 12: 28: 30 and 12: 28: 59, at a point in time.
Claims (2)
1. The method for triggering the randomization of the timing task of the Internet of things equipment comprises a period value T, a constant K and an interval constant P of the timing task, and is characterized in that a serial number SN of electronic equipment in the Internet of things is obtained, the serial number SN is converted into a corresponding integer value I according to a unified method, the integer value I is divided by the constant K to obtain a remainder, the remainder is multiplied by the interval constant P to obtain a product, and finally the product and a random value X between 0 and P-1 are added to obtain a sum, wherein the sum is a triggering time point T of the timing task; and triggering a timing task when a time point t is reached through the timing of a timer.
2. The method for triggering randomization of a timing task of an internet of things device of claim 1, wherein the period value T = a constant K x an interval constant P.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911127393.1A CN110995792A (en) | 2019-11-18 | 2019-11-18 | Trigger method for timing task randomization of Internet of things equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911127393.1A CN110995792A (en) | 2019-11-18 | 2019-11-18 | Trigger method for timing task randomization of Internet of things equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110995792A true CN110995792A (en) | 2020-04-10 |
Family
ID=70084785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911127393.1A Pending CN110995792A (en) | 2019-11-18 | 2019-11-18 | Trigger method for timing task randomization of Internet of things equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110995792A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102239417A (en) * | 2008-12-04 | 2011-11-09 | 高通股份有限公司 | Methods for delaying data update requests pseudorandomly in order to reduce server overload |
CN105119769A (en) * | 2015-07-01 | 2015-12-02 | 北京梅泰诺通信技术股份有限公司 | System for time hashing of periodic data report |
CN106538055A (en) * | 2014-05-09 | 2017-03-22 | 奥斯兰姆施尔凡尼亚公司 | Synchronized PWM-dimming with random phase |
CN109347989A (en) * | 2018-12-11 | 2019-02-15 | 武汉盛帆电子股份有限公司 | Meter design method, apparatus and system design method based on NB-IoT Internet of Things |
CN109769025A (en) * | 2019-01-18 | 2019-05-17 | 廊坊新奥燃气设备有限公司 | The method that Internet of Things gas meter, flow meter and solution Internet of Things gas meter, flow meter concurrently report conflict |
CN109862123A (en) * | 2019-03-29 | 2019-06-07 | 深圳开立生物医疗科技股份有限公司 | Data processing method, Internet of Things module and equipment |
-
2019
- 2019-11-18 CN CN201911127393.1A patent/CN110995792A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102239417A (en) * | 2008-12-04 | 2011-11-09 | 高通股份有限公司 | Methods for delaying data update requests pseudorandomly in order to reduce server overload |
CN106538055A (en) * | 2014-05-09 | 2017-03-22 | 奥斯兰姆施尔凡尼亚公司 | Synchronized PWM-dimming with random phase |
CN105119769A (en) * | 2015-07-01 | 2015-12-02 | 北京梅泰诺通信技术股份有限公司 | System for time hashing of periodic data report |
CN109347989A (en) * | 2018-12-11 | 2019-02-15 | 武汉盛帆电子股份有限公司 | Meter design method, apparatus and system design method based on NB-IoT Internet of Things |
CN109769025A (en) * | 2019-01-18 | 2019-05-17 | 廊坊新奥燃气设备有限公司 | The method that Internet of Things gas meter, flow meter and solution Internet of Things gas meter, flow meter concurrently report conflict |
CN109862123A (en) * | 2019-03-29 | 2019-06-07 | 深圳开立生物医疗科技股份有限公司 | Data processing method, Internet of Things module and equipment |
Non-Patent Citations (2)
Title |
---|
NIKOLAOS MANTHOS; GEORGIOS SIDIROPOULOS; PASCHALIS VICHOUDIS: ""A programmable trigger Emulator based on True Random bits"", 《2006 IEEE NUCLEAR SCIENCE SYMPOSIUM CONFERENCE RECORD》 * |
U284YHL03: ""是否有将时间序列号转换成某年某月某日的函数"", 《天涯问答_天涯社区》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Han et al. | Modeling human dynamics with adaptive interest | |
EP2665234A1 (en) | Method and device for scheduling service processing resource | |
CN110149259B (en) | GJB289A bus scheduling method and device based on hybrid triggering | |
CN110413462B (en) | Server pressure testing method and device | |
CN110995792A (en) | Trigger method for timing task randomization of Internet of things equipment | |
CN110765714A (en) | Quantum shor algorithm-oriented simulation method and device | |
EP2908240A1 (en) | Apparatus and method for stabilizing output sequence of real random number generator | |
CN109039595B (en) | Method, device and server for reducing time delay of issuing temporary password of Internet of things terminal | |
CN103580887B (en) | Client, upgrade method and system | |
CN101038232A (en) | Method for generating non Gaussian random vibration pumping signal and device thereof | |
CN107729062A (en) | Using freezing method and related product | |
CN111815059B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN111045031B (en) | SBAS message automatic arranging method and device and storage medium | |
CN116501997A (en) | Short link generation method, device, electronic equipment and storage medium | |
CN109298934B (en) | Heartbeat period adjusting method, device and system | |
CN108896707A (en) | A kind of calculation method of NOX small hourly value and annual average | |
CN106789720B (en) | Dynamic token bucket generation method based on system hardware utilization rate | |
CN114726860A (en) | Load balancing system and load balancing method for streaming media transmission | |
CN111211992B (en) | Information transmission method and device | |
JP4014429B2 (en) | Automatic gain controller | |
CN107465573B (en) | Method for improving online monitoring efficiency of SSR client | |
CN111025178B (en) | Stability test method for main-standby switching of power supply module and related components | |
CN108170462B (en) | Function recommendation table group maintenance method and system | |
WO2021081567A3 (en) | Contention resolution in wireless communication systems | |
CN116449970B (en) | Keyboard scanning method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200410 |
|
RJ01 | Rejection of invention patent application after publication |