CN112398928B - Operation method of Internet of things equipment software - Google Patents

Operation method of Internet of things equipment software Download PDF

Info

Publication number
CN112398928B
CN112398928B CN202011213363.5A CN202011213363A CN112398928B CN 112398928 B CN112398928 B CN 112398928B CN 202011213363 A CN202011213363 A CN 202011213363A CN 112398928 B CN112398928 B CN 112398928B
Authority
CN
China
Prior art keywords
equipment
data
networking
uploading
control step
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.)
Active
Application number
CN202011213363.5A
Other languages
Chinese (zh)
Other versions
CN112398928A (en
Inventor
冯鸣
房明
王志双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhixin Yida Technology Co ltd
Guangdong Yuanyuan Technology Co ltd
Original Assignee
Beijing Zhixin Yida Technology Co ltd
Guangdong Yuanyuan Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Zhixin Yida Technology Co ltd, Guangdong Yuanyuan Technology Co ltd filed Critical Beijing Zhixin Yida Technology Co ltd
Priority to CN202011213363.5A priority Critical patent/CN112398928B/en
Publication of CN112398928A publication Critical patent/CN112398928A/en
Application granted granted Critical
Publication of CN112398928B publication Critical patent/CN112398928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

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)
  • Mobile Radio Communication Systems (AREA)

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 the software of the equipment of the Internet of things, which optimizes the networking mode of the equipment of the Internet of things, integrates and processes the data, so that the length of the transmission data is shorter, the transmission times are fewer, the transmission efficiency is improved, the load pressure of a base station is lightened, and the method comprises an equipment networking control step for controlling the equipment to be connected or disconnected with a network according to the equipment networking requirement and a data acquisition step before uploading the data; firstly, powering up the device to synchronize and execute the data acquisition step through NTP, integrating data to upload after reaching a random uploading period, and networking the device according to the device networking control step; the equipment networking control step is that the equipment networking is carried out only when the equipment is controlled to need NTP synchronization, registration and uploading data according to the configuration parameters, and the rest time is controlled to be in an offline state.

Description

Operation method of Internet of things equipment software
Technical Field
The invention relates to the field of software, in particular to an operation method of equipment software of the Internet of things.
Background
The mobile equipment-based base station communication has great advantages, is not limited by regions, and has great competitiveness in the market, but the following problems are that because a large number of equipment of the Internet of things are accessed to a base station, equipment data gauge modules rapidly rise, if equipment deployment is centralized, data reporting is performed in a shorter interval period, the load on the base station is higher, the data reporting is slow, a server line is congested, data is lost and the like, even a base station server is down, and other base station resources are affected.
Disclosure of Invention
In order to solve the problem of the above equipment in a mobile operator base station networking mode, the invention provides an operation method of the operation of the equipment software of the internet of things, optimizes the networking mode of the equipment of the internet of things, and performs integration processing on data transmission, so that the data length is shorter and the transmission times are fewer when the same data amount is transmitted, the transmission efficiency is improved, the load pressure of the base station is lightened, and the specific technical contents are as follows:
the running operation method of the equipment software of the Internet of things comprises an equipment networking control step for controlling the equipment to be connected or disconnected with a network according to equipment networking requirements, and a data acquisition step before uploading data; firstly, powering up the device to synchronize and execute the data acquisition step through NTP, integrating data to upload after reaching a random uploading period, and networking the device according to the device networking control step.
In one or more embodiments of the present invention, when the uploading is completed, the network is disconnected, and the data acquisition steps are as follows: and after the difference value between the current equipment and the next integral time is calculated, using a timer to count down the difference value, and after the count down is finished, performing effective data acquisition operation.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, if the device is powered on for the first time, the device needs to be registered and the configuration parameters are transmitted.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the registering includes the steps of: firstly, the equipment SN is acquired, a registration file is stored, and then a server is connected and the registration file is used for registration.
In one or more embodiments of the present invention, when the uploading is completed, disconnecting the network, the configuration parameters include: and the random reporting period is used for uploading data and the whole point acquisition time is used for data acquisition.
In one or more embodiments of the present invention, when the network is disconnected after the uploading is completed, the device networking control step is that the device networking is performed only when the device needs NTP synchronization, registration and uploading data according to the configuration parameters, and the rest of the time is controlled in an offline state.
In one or more embodiments of the invention, the device networking control step includes connecting to a server via a GPRS network using TCP protocol when the network is disconnected after the uploading.
In one or more embodiments of the present invention, the device networking control step includes setting up a login step for confirming that the device has completed registration and transmitting configuration parameters when the network is disconnected after the uploading is completed.
In one or more embodiments of the present invention, disconnecting the network after the uploading is completed, and setting up a watchdog module for restarting the device to be restarted when the device is abnormal.
In one or more embodiments of the present invention, when the uploading is completed, the network is disconnected, and the device automatic maintenance mode is entered; the automatic maintenance mode is used for clearing and resetting extra interference data generated in the running process of the equipment.
The beneficial effects of the invention are as follows: through the optimization of the internal operation algorithm of the equipment, the working stability of the equipment is greatly improved, the data validity is improved, the data acquisition is reasonably carried out, meanwhile, the reasonable distribution of network resources is realized, the flow consumption is reduced, the data reporting efficiency is improved, the load pressure of a base station is reduced, and the method has important significance for centralized deployment of the equipment of the Internet of things.
Drawings
Fig. 1 is a flow chart of an operation method of running 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, starting NTP synchronization and starting a watchdog module after 1 second delay, powering on and loading a TCP module at the same time and detecting whether a GPRS network is successfully connected, if not, restarting the device by the watchdog module, and after the connection is successful, automatically detecting whether the device is powered on for the first time, if not, powering on a file with SN in the device for the first time, if the device on the first time side is to acquire the SN in the device and save the file, then detecting whether the device is registered, if so, registering the device with a registration file in the device, and if not, completing registration by a connection server, wherein the steps are as follows: firstly, acquiring equipment SN and storing a registration file, connecting a server and registering by using the registration file, transmitting configuration parameters such as whole point acquisition time, random uploading period and the like to the equipment, disconnecting the network and acquiring data according to the whole point acquisition time by the equipment after registering, wherein the data acquisition steps are as follows: after the difference value between the current equipment and the next integral time is calculated, a timer is used for counting down the difference value, and after the counting down is finished, effective data acquisition operation is carried out;
the NTP is synchronous, so that the time accuracy of reporting data is ensured, meanwhile, data support can be provided for the whole point in time for data caching, the TCP protocol is used for network connection, the stability of the data is ensured, and meanwhile, the GPRS network is used, no wiring is needed, and the whole point can be moved at will; the hardware watchdog module is arranged in the equipment, so that the equipment operation abnormality caused by network fluctuation or other unknown external factors in the operation process of the equipment can be automatically recovered by restarting the equipment; the equipment is registered, so that the management is convenient, and configuration parameters such as the random uploading period, the whole point acquisition time and the like are transmitted; 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; the data of different devices at the same moment are highly consistent in a whole-point data acquisition mode, so that the contrast ratio and the effectiveness are improved;
after the random uploading period is reached, a TCP module is loaded and whether the GPRS network is successfully connected is detected, if the connection is not successful, the watchdog module restarts the equipment, after the connection is successful, the equipment is connected with the server and logs in, if the login is failed, the watchdog module restarts the equipment, the effective data collected at the whole point is integrated after the login is successful, the fixed data is collected only once, the integrated data capacity is as close as possible but not more than 1K, meanwhile, the ICCID of the SIM card on the equipment is reported, if the report is failed, the effective data is reported again after the next restart, the effective data is uploaded according to the random uploading period after the integration is completed, after the server reply message is received, the network is disconnected after the uploading is completed, the equipment is in an automatic maintenance mode, and if the server reply message is not received, the watchdog module restarts the equipment;
logging in to confirm whether the device is registered and transmit configuration parameters, and confirm whether the device is successfully connected with the server; the ICCID of the SIM card on the equipment is reported to monitor the SIM card of the equipment; the data are integrated, the fixed data are collected only once, and the integrated data capacity is as close as possible but not more than 1K, so that the data capacity is smaller and the transmission times are smaller when the same data amount is transmitted; the random uploading periodic method is used for optimizing the number of the connecting devices at the same moment, improving the transmission efficiency and relieving the load pressure of the base station; the device cuts off the network at the completion of uploading, automatically enters an automatic maintenance mode for operation, can clear and reset extra interference data generated in the operation process of the device, and improves the stability of the device in a long-term working scene.
The above-mentioned preferred embodiments should be regarded as illustrative examples of embodiments of the present application, and all such technical deductions, substitutions, improvements and the like which are made on the basis of the embodiments of the present application, are considered to be within the scope of protection of the present patent.

Claims (1)

1. The running operation method of the equipment software of the Internet of things is characterized by comprising the following steps of: 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, powering up the device to synchronize and execute the data acquisition step through NTP, integrating data to upload after reaching a random uploading period, and networking the device according to the device networking control step;
the data acquisition steps are as follows: after the difference value between the current equipment and the next whole time is calculated, a timer is used for counting down the difference value, and after the counting down is finished, effective data acquisition operation is carried out;
the method also comprises the step of setting up a watchdog module for restarting the equipment to be restarted when the equipment runs abnormally;
if the equipment is electrified for the first time, the equipment is required to be registered and configuration parameters are transmitted;
the registering includes the following steps: firstly, acquiring the equipment SN, saving a registration file, connecting a server and registering by using the registration file;
the configuration parameters include: the random reporting period is used for uploading data and the whole point acquisition time is used for acquiring the data;
the equipment networking control step is that the equipment networking is carried out only when the equipment is controlled to need NTP synchronization, registration and uploading data according to the configuration parameters, and the rest time is controlled in an offline state;
the device networking control step comprises connecting to a server through a GPRS network by using a TCP protocol;
the device networking control step comprises a login step for confirming that the device has completed registration and transmitting configuration parameters;
disconnecting the network after the uploading is completed, and entering an automatic equipment maintenance mode; the automatic maintenance mode is used for clearing and resetting extra interference data generated in the running process of the equipment.
CN202011213363.5A 2020-11-04 2020-11-04 Operation method of Internet of things equipment software Active CN112398928B (en)

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 CN112398928A (en) 2021-02-23
CN112398928B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (14)

* Cited by examiner, † Cited by third party
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
CN112398928A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
US10064137B2 (en) Hybrid monitoring-sleeping method of wireless sensor and wireless sensor
CN110445683B (en) Server, equipment, method and system for monitoring survival state of server
CN112071050A (en) Concentrator terminal and electricity consumption data acquisition system
CN110445682B (en) Method, server, equipment and system for monitoring survival state of networking node
CN108174400B (en) Data processing method, system and equipment of terminal equipment
CN112134754A (en) Pressure testing method and device, network equipment and storage medium
CN102064605B (en) Method for realizing mutual hot backup of electric energy acquisition systems
CN112886683A (en) Storage battery monitoring system
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
CN112398928B (en) Operation method of Internet of things equipment software
CN112417255A (en) Method and device for receiving online state, storage medium and electronic device
EP3660679A1 (en) Data backup method, device and system
US20170075343A1 (en) Field device, method for operating a field device and cloud service
CN117278590A (en) Small hydropower station real-time data monitoring and early warning system and method
CN111131341B (en) Method, device and equipment for controlling data processing and storage medium
CN102014054A (en) Sending method and equipment for keep-alive messages
CN110601914B (en) Method and system for monitoring survival state of server
CN104580507A (en) Field station data transmission and integration method
CN104579848A (en) Data analyzing and network monitoring integration method for OBS instrument
CN107920347B (en) Data processing method, system and equipment of terminal equipment
CN108055659B (en) Data processing method, system and equipment of terminal equipment
CN113114386A (en) Radio frequency parameter monitoring and early warning method and device for road side unit
CN108289307B (en) Data processing method, system and equipment of terminal equipment
CN114143825B (en) RRU management method and system based on multimode base station
CN113923615B (en) Automatic recovery method for 5G DTU fault in Internet of things

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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant