CN112398928A - Operation method of Internet of things equipment software - Google Patents
Operation method of Internet of things equipment software Download PDFInfo
- Publication number
- CN112398928A CN112398928A CN202011213363.5A CN202011213363A CN112398928A CN 112398928 A CN112398928 A CN 112398928A CN 202011213363 A CN202011213363 A CN 202011213363A CN 112398928 A CN112398928 A CN 112398928A
- Authority
- CN
- China
- Prior art keywords
- equipment
- data
- internet
- uploading
- operation method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000006855 networking Effects 0.000 claims abstract description 17
- 238000012423 maintenance Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 abstract description 7
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
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/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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
- H04J3/0667—Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
-
- 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/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- 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/14—Session management
- H04L67/141—Setup of application sessions
Abstract
In order to solve the problems of slow data reporting, server line congestion, data loss and the like of the equipment of the Internet of things, the invention provides an operation method of equipment software of the Internet of things, which optimizes a networking mode of the equipment of the Internet of things and integrates and processes data, so that the length of transmitted data is shorter, the transmission times are fewer, the transmission efficiency is improved, and the load pressure of a base station is reduced, and the method comprises an equipment networking control step for controlling the equipment to be connected or disconnected with a network according to the networking requirement of the equipment and a data acquisition step before the data is uploaded; firstly, powering on the equipment, synchronizing and executing the data acquisition step through NTP, integrating data for uploading after a random uploading period is reached, and networking the equipment according to the equipment networking control step; and the equipment networking control step is that the equipment is controlled to be networked only when NTP synchronization, registration and data uploading are required by the equipment according to the configuration parameters, and the rest time is controlled to be in an offline state.
Description
Technical Field
The invention relates to the field of software, in particular to an operation method for equipment software of an Internet of things.
Background
The vigorous development of the internet of things industry, the base station communication based on the mobile equipment has great advantages, is not limited by regions, and has great competitiveness in the market, but has the following problems that the equipment data volume scale sharply rises due to the fact that a large number of internet of things equipment are accessed into the base station, if the equipment deployment is concentrated, data reporting is carried out in a short interval period, the load on the base station is high, data reporting is slow, the line of a server is blocked, data loss and the like are easily caused, and even the server of the base station is down, so that other base station resources are influenced.
Disclosure of Invention
In order to solve the problems generated by the devices in a network connection mode through a base station of a mobile operator, the invention provides an operation method of equipment software of the internet of things, which optimizes the network connection mode of the equipment of the internet of things and integrates data transmission, so that the data length is shorter and the transmission times are fewer when the same data quantity is transmitted, the transmission efficiency is improved, and the load pressure of the base station is reduced, and the specific technical contents are as follows:
an operation method of equipment software of the Internet of things comprises an equipment networking control step for controlling the equipment to be connected with or disconnected from a network according to the equipment networking requirement, and a data acquisition step before data uploading; firstly, the equipment is electrified to synchronize and execute the data acquisition step through NTP, data are integrated for uploading after a random uploading period is reached, and the equipment is networked according to the equipment networking control step.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the data acquisition step includes: and after the difference between the current equipment and the next hour is calculated, a timer is used for counting down the difference, and after the counting down is finished, the effective data acquisition operation is carried out.
In one or more embodiments of the present invention, after the uploading is completed, the network is disconnected, and if the device is powered on for the first time, the device needs to be registered and the configuration parameters need to be transmitted.
In one or more embodiments of the present invention, after the uploading is completed, the network is disconnected, and the registration includes the following steps: firstly, acquiring the equipment SN, storing a registration file, connecting a server and registering by using the registration file.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the configuration parameters include: a random reporting period for uploading data and a time for collecting data at the same time.
In one or more embodiments of the present invention, after the uploading is completed, the network connection control step of the device includes that the device controls the device to perform network connection only when NTP synchronization, registration and data uploading are required according to the configuration parameters, and the rest of the time is controlled to be in an offline state.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the device networking control step includes connecting to a server through a GPRS network using a TCP protocol.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the device networking control step further includes a login step for confirming that the device has completed the registration and transmitting the configuration parameters.
In one or more embodiments of the present invention, the network is disconnected after the uploading is completed, and the method further includes setting a watchdog module for restarting the device when the device is abnormally operated.
In one or more embodiments of the present invention, the network is disconnected after the uploading is completed, and an automatic maintenance mode of the device is entered; the automatic maintenance mode is used for clearing and resetting extra interference data generated in the operation process of the equipment.
The invention has the beneficial effects that: by optimizing the internal operation algorithm of the equipment, the working stability of the equipment is greatly improved, data validity and reasonable data acquisition are carried out, meanwhile, the reasonable distribution of network resources reduces the flow consumption, the data reporting efficiency is also improved, the load pressure of a base station is reduced, and the method has important significance for the centralized deployment of the equipment of the Internet of things.
Drawings
Fig. 1 is a schematic flow chart of an operation method of the internet of things device software according to the present invention.
Detailed Description
The scheme of the application is further described as follows:
referring to fig. 1, after the device is powered on, after a delay of 1 second, NTP synchronization is started, a watchdog module is started, a TCP module is loaded and whether a GPRS network is successfully connected is detected while the device is powered on, if the GPRS network is not successfully connected, the watchdog module restarts the device, after the connection is successfully connected, the inside of the device automatically detects whether the device is powered on for the first time, if the device is not powered on for the first time and a file with an SN is stored, if the device is powered on for the first time, the device SN is acquired and stored, and then, whether the device is registered is detected, if the device is registered and the device has a registration file therein, and if the device is not registered, the connection server completes registration, and the method includes the steps of: firstly, acquiring the equipment SN and storing a registration file, then connecting a server and using the registration file for registration, transmitting configuration parameters such as the whole-point acquisition time and the random uploading period to the equipment, disconnecting the network and acquiring data according to the whole-point acquisition time by the equipment after the registration is finished, wherein the data acquisition step is as follows: after the difference between the current equipment and the next integral point time is calculated, a timer is used for counting down the difference, and after the counting down is finished, effective data acquisition operation is carried out;
NTP synchronization, guarantee the time accuracy of the data of reporting, can provide the data support for the said integral point to buffer the data in time at the same time, use TCP agreement to carry on the network connection, guarantee the stability of the data, use GPRS network at the same time, does not need any wiring, and can move at will; the hardware watchdog module is arranged in the equipment to ensure that the equipment can be restarted to automatically recover the abnormal operation of the equipment caused by network fluctuation or other unknown external factors in the operation process of the equipment; registering the equipment, namely, conveniently managing, and transmitting configuration parameters such as the random uploading period, the whole-point acquisition time and the like; the network cache data is disconnected, so that the flow can be greatly saved, the power consumption of the equipment is reduced, and the hardware data error caused by the heating of the equipment is reduced; by means of integral point data acquisition, data of different devices at the same time are highly consistent, and the contrast and effectiveness are improved;
after the random uploading period is reached, loading a TCP module and detecting whether the GPRS network is successfully connected or not, if the connection is not successful, the watchdog module restarts the device, after the connection is successful, the device will connect to the server and log in, if the log-in fails, the watchdog module restarts the device, and after logging successfully, the watchdog module integrates the effective data collected at the point, the fixed and unchangeable data is collected only once, the integrated data capacity is as close as possible but not more than 1K, meanwhile, reporting the ICCID of the SIM card on the equipment, if the reporting is lost and failed, reporting again after restarting the next time, uploading the effective data according to a random uploading period after finishing the integration, after receiving the server reply message, disconnecting the network after the uploading is finished, entering an equipment automatic maintenance mode, and if the server reply message is not received, restarting the equipment by the watchdog module;
logging in to confirm whether the equipment is registered and the configuration parameters are transmitted, and confirming whether the equipment is successfully connected with the server; reporting the ICCID of the SIM card on the equipment to monitor the SIM card of the equipment; a plurality of data are integrated, the fixed and unchangeable data are collected only once, and the integrated data capacity is as close as possible to 1K but not more than 1K, so that the data capacity is smaller and the transmission times are fewer when the same data volume is transmitted; the random uploading period method is used, the number of the connection equipment at the same time is optimized, the transmission efficiency is improved, and the load pressure of the base station is reduced; the equipment disconnects the network at the uploading completion position, automatically enters an automatic maintenance mode to operate, can clear and reset extra interference data generated in the operation process of the equipment, and improves the stability of the equipment in a long-term working scene.
The above preferred embodiments should be considered as examples of the embodiments of the present application, and technical deductions, substitutions, improvements and the like similar to, similar to or based on the embodiments of the present application should be considered as the protection scope of the present patent.
Claims (10)
1. An operation method for equipment software of the Internet of things is characterized in that: the method comprises a device networking control step for controlling the connection or disconnection of the device and a network according to the networking requirement of the device, and a data acquisition step before uploading data; firstly, the equipment is electrified to synchronize and execute the data acquisition step through NTP, data are integrated for uploading after a random uploading period is reached, and the equipment is networked according to the equipment networking control step.
2. The operation method for running the internet-of-things device software according to claim 1, characterized in that: the data acquisition steps are as follows: and after the difference between the current equipment and the next hour is calculated, a timer is used for counting down the difference, and after the counting down is finished, the effective data acquisition operation is carried out.
3. The operation method for running the internet-of-things device software according to claim 1, characterized in that: if the device is powered on for the first time, the device also needs to be registered and configuration parameters need to be transmitted.
4. The operation method for running the internet-of-things device software according to claim 3, characterized in that: the registration comprises the following steps: firstly, acquiring the equipment SN, storing a registration file, connecting a server and registering by using the registration file.
5. The operation method for running the internet-of-things device software according to claim 3, characterized in that: the configuration parameters include: a random reporting period for uploading data and a time for collecting data at the same time.
6. The operation method for running the internet-of-things device software according to claim 1, characterized in that: and the equipment networking control step is that the equipment is controlled to be networked only when NTP synchronization, registration and data uploading are required by the equipment according to the configuration parameters, and the rest time is controlled to be in an offline state.
7. The operation method for running the internet-of-things device software according to claim 6, characterized in that: the device networking control step includes connecting to a server over a GPRS network using a TCP protocol.
8. The operation method for running the internet-of-things device software according to claim 6, characterized in that: the device networking control step comprises a login step for confirming that the device is registered and transmitting the configuration parameters.
9. The operation method for running the internet-of-things device software according to claim 1, characterized in that: the method also comprises the step of setting a watchdog module for restarting the required equipment when the equipment is abnormally operated.
10. The operation method for running the internet-of-things device software according to claim 1, characterized in that: disconnecting the network after the uploading is finished, and entering an automatic maintenance mode of the equipment; the automatic maintenance mode is used for clearing and resetting extra interference data generated in the operation process of the equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011213363.5A CN112398928B (en) | 2020-11-04 | 2020-11-04 | Operation method of Internet of things equipment software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011213363.5A CN112398928B (en) | 2020-11-04 | 2020-11-04 | Operation method of Internet of things equipment software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112398928A true CN112398928A (en) | 2021-02-23 |
CN112398928B CN112398928B (en) | 2024-04-16 |
Family
ID=74598020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011213363.5A Active CN112398928B (en) | 2020-11-04 | 2020-11-04 | Operation method of Internet of things equipment software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112398928B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1926790A (en) * | 2004-03-03 | 2007-03-07 | 日本电气株式会社 | Positioning system, positioning method, and program thereof |
CN102542773A (en) * | 2011-12-31 | 2012-07-04 | 北京佳讯飞鸿电气股份有限公司 | System capable of utilizing remote meteorological monitoring to realize disaster prevention and method therefor |
CN103149899A (en) * | 2013-02-01 | 2013-06-12 | 华迪计算机集团有限公司 | Grain bin intelligent sensor integration terminal |
CN105246160A (en) * | 2015-10-13 | 2016-01-13 | 海能达通信股份有限公司 | Data uploading method, apparatus, system and communication device in private network communication |
CN107426806A (en) * | 2017-07-17 | 2017-12-01 | 深圳市盛路物联通讯技术有限公司 | Internet-of-things terminal transmits the method and device of data |
CN107969015A (en) * | 2017-11-06 | 2018-04-27 | 江苏省邮电规划设计院有限责任公司 | A kind of 5G Internet of Things electric power data acquisition terminal access controlling method |
CN108309233A (en) * | 2017-12-21 | 2018-07-24 | 速眠创新科技(深圳)有限公司 | Sleep quality monitoring method, system, computer equipment and storage medium |
CN108737519A (en) * | 2018-05-07 | 2018-11-02 | 郑州科技学院 | A kind of industrial Internet of Things cloud service platform intelligent acquisition method |
CN109040315A (en) * | 2018-09-18 | 2018-12-18 | 北京先见智控科技有限公司 | Internet-of-things terminal and the Internet of Things Congestion Avoidance system dispatched based on server centered |
CN109196791A (en) * | 2016-03-07 | 2019-01-11 | 瑞典爱立信有限公司 | The UE in method and access node and wireless communication system for supporting UE and the corresponding method by UE execution |
CN109548051A (en) * | 2019-01-17 | 2019-03-29 | 泰华智慧产业集团股份有限公司 | Wireless data transmission of internet of things method and terminal |
CN110209514A (en) * | 2019-08-01 | 2019-09-06 | 奥特酷智能科技(南京)有限公司 | In the method that embedded type sensor access platform realizes DDS service |
CN111510876A (en) * | 2020-04-01 | 2020-08-07 | 北京未来感知科技有限公司 | UWB technology-based wireless sensing system clock synchronization method, receiving end system and transmitting end system |
CN111678554A (en) * | 2020-06-22 | 2020-09-18 | 成都思晗科技股份有限公司 | Trench cable state monitoring device and state monitoring method thereof |
-
2020
- 2020-11-04 CN CN202011213363.5A patent/CN112398928B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1926790A (en) * | 2004-03-03 | 2007-03-07 | 日本电气株式会社 | Positioning system, positioning method, and program thereof |
CN102542773A (en) * | 2011-12-31 | 2012-07-04 | 北京佳讯飞鸿电气股份有限公司 | System capable of utilizing remote meteorological monitoring to realize disaster prevention and method therefor |
CN103149899A (en) * | 2013-02-01 | 2013-06-12 | 华迪计算机集团有限公司 | Grain bin intelligent sensor integration terminal |
CN105246160A (en) * | 2015-10-13 | 2016-01-13 | 海能达通信股份有限公司 | Data uploading method, apparatus, system and communication device in private network communication |
CN109196791A (en) * | 2016-03-07 | 2019-01-11 | 瑞典爱立信有限公司 | The UE in method and access node and wireless communication system for supporting UE and the corresponding method by UE execution |
CN107426806A (en) * | 2017-07-17 | 2017-12-01 | 深圳市盛路物联通讯技术有限公司 | Internet-of-things terminal transmits the method and device of data |
CN107969015A (en) * | 2017-11-06 | 2018-04-27 | 江苏省邮电规划设计院有限责任公司 | A kind of 5G Internet of Things electric power data acquisition terminal access controlling method |
CN108309233A (en) * | 2017-12-21 | 2018-07-24 | 速眠创新科技(深圳)有限公司 | Sleep quality monitoring method, system, computer equipment and storage medium |
CN108737519A (en) * | 2018-05-07 | 2018-11-02 | 郑州科技学院 | A kind of industrial Internet of Things cloud service platform intelligent acquisition method |
CN109040315A (en) * | 2018-09-18 | 2018-12-18 | 北京先见智控科技有限公司 | Internet-of-things terminal and the Internet of Things Congestion Avoidance system dispatched based on server centered |
CN109548051A (en) * | 2019-01-17 | 2019-03-29 | 泰华智慧产业集团股份有限公司 | Wireless data transmission of internet of things method and terminal |
CN110209514A (en) * | 2019-08-01 | 2019-09-06 | 奥特酷智能科技(南京)有限公司 | In the method that embedded type sensor access platform realizes DDS service |
CN111510876A (en) * | 2020-04-01 | 2020-08-07 | 北京未来感知科技有限公司 | UWB technology-based wireless sensing system clock synchronization method, receiving end system and transmitting end system |
CN111678554A (en) * | 2020-06-22 | 2020-09-18 | 成都思晗科技股份有限公司 | Trench cable state monitoring device and state monitoring method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN112398928B (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105843645B (en) | Firmware upgrading method and device for zigbee equipment | |
CN110764801B (en) | Remote upgrading method and device for high-speed power line carrier | |
CN105511929A (en) | Remote wireless upgrading method for equipment | |
CN102098590A (en) | Automatic upgrading method and system of firmware version of optical network unit | |
CN110445683B (en) | Server, equipment, method and system for monitoring survival state of server | |
CN110445682B (en) | Method, server, equipment and system for monitoring survival state of networking node | |
US10469620B2 (en) | Method for transferring a new software version to at least one electricity meter via a communication network | |
CN109194744B (en) | Data transmission method and device, storage medium and monitoring equipment | |
CN105140886A (en) | Protective relaying system and method for gathering data using thereof | |
CN112417255A (en) | Method and device for receiving online state, storage medium and electronic device | |
CN109459960B (en) | NB-IoT-based Internet of things acquisition control system and control method | |
CN114915671A (en) | NB-IoT-based remote upgrading method for street lamp controller | |
JP2017536759A (en) | Method and apparatus for self-healing after disconnection of base station | |
CN112398928A (en) | Operation method of Internet of things equipment software | |
US20170075343A1 (en) | Field device, method for operating a field device and cloud service | |
CN113542318B (en) | Equipment fault repairing method | |
CN109889368B (en) | GPRS remote upgrading method based on STM32 controller | |
CN109660428B (en) | High availability cluster system | |
CN104580507A (en) | Field station data transmission and integration method | |
CN104579848A (en) | Data analyzing and network monitoring integration method for OBS instrument | |
CN112312376B (en) | Method and system for remotely and interactively managing multifunctional electric meter | |
EP2988476A1 (en) | Method and apparatus for processing operation on endpoint peripheral | |
CN113341833A (en) | Acquisition and transmission method for operating state data of ground equipment of airport apron | |
CN114201202A (en) | Module upgrading method and system | |
CN108289309B (en) | Data processing method, system and equipment of terminal equipment |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210318 Address after: 518000 Tangtou community, Shiyan street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: Guangdong Yuanyuan Technology Co.,Ltd. Applicant after: Beijing Zhixin Yida Technology Co.,Ltd. Address before: 518000 Tangtou community, Shiyan street, Bao'an District, Shenzhen City, Guangdong Province Applicant before: Guangdong Yuanyuan Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |