CN109246639B - Data gateway system and communication method thereof - Google Patents

Data gateway system and communication method thereof Download PDF

Info

Publication number
CN109246639B
CN109246639B CN201811090127.1A CN201811090127A CN109246639B CN 109246639 B CN109246639 B CN 109246639B CN 201811090127 A CN201811090127 A CN 201811090127A CN 109246639 B CN109246639 B CN 109246639B
Authority
CN
China
Prior art keywords
upgrade package
data
data gateway
upgrade
cloud server
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
CN201811090127.1A
Other languages
Chinese (zh)
Other versions
CN109246639A (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 Laikang Sports Technology Co.,Ltd.
Original Assignee
Fast Lihua Beijing Network 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 Fast Lihua Beijing Network Technology Co Ltd filed Critical Fast Lihua Beijing Network Technology Co Ltd
Priority to CN201811090127.1A priority Critical patent/CN109246639B/en
Publication of CN109246639A publication Critical patent/CN109246639A/en
Application granted granted Critical
Publication of CN109246639B publication Critical patent/CN109246639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/045Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a communication method of a data gateway system, which comprises the following steps: A. the data gateway starts data acquisition according to the communication instruction, and performs information interaction with the sensor node through the 2.4G communication module to acquire data uploaded by the sensor node; B. and the data gateway compresses and encrypts the data and uploads the data to the cloud server through the WiFi communication module.

Description

Data gateway system and communication method thereof
Technical Field
The present invention relates to the field of communication technologies, and in particular, to a data gateway system and a communication method thereof.
Background
The existing data gateway system of a plurality of sensor nodes and a cloud server is mainly realized by acquiring sensor data through short-distance low-speed wireless communication technologies such as zigbee and the like and then uploading the sensor data to the server through high-speed long-distance communication technologies such as WiFi and the like.
For example, as for the content related in the invention patent with application number 201610859455.8, the gateway is only simple to collect and transmit, and does not perform any processing on the data itself, and cannot guarantee the validity and accuracy of the data, and cannot effectively solve the problems of large data volume and poor network quality.
Disclosure of Invention
The present invention is directed to a data gateway system and a communication method thereof, so as to overcome the above-mentioned drawbacks. The communication method of the data gateway system comprises the following steps:
A. the data gateway starts data acquisition according to the communication instruction, and performs information interaction with the sensor node through the 2.4G communication module to acquire data uploaded by the sensor node;
B. and the data gateway compresses and encrypts the data and uploads the data to the cloud server through the WiFi communication module.
Therefore, the data gateway can process the transmission data, the bandwidth occupation can be reduced by compressing the data, and the communication safety between the data gateway and the cloud server is realized by encrypting the data.
In the step B, the data gateway caches the data;
detecting a WiFi communication environment in real time, and when the WiFi communication environment is not good, pausing data uploading and marking at a pausing node so as to distinguish the uploaded data from data to be uploaded;
and when the WiFi communication environment is normal, continuously transmitting the data to be uploaded.
Therefore, real-time backup is carried out through the storage module, and interruption continuous transmission is supported. When the network environment is not good, the uploading is stopped; and when the network environment is normal, the data is acquired from the storage module and uploaded and then transmitted to the cloud server.
A communication method of a data gateway system, comprising the steps of:
A. the data gateway and the cloud server perform information interaction to determine to download the current upgrade package;
B. the data gateway analyzes the current upgrading packet to upgrade;
C. and the data gateway broadcasts the current upgrading packet to the sensor nodes, and the sensor nodes are upgraded based on the current upgrading packet.
Therefore, the data gateway can be accessed into the network through WIFI, and the air upgrading of the sensor nodes can be realized through a cluster type air upgrading technology under the scene that the sensor nodes do not support the networking function.
Wherein, the current upgrade package in step a includes:
the method comprises the steps of merging two independent files of a BootLoader upgrade package and an APP upgrade package into a merged upgrade package according to a preset algorithm, checking the merged upgrade package integrally, and writing a check code into a fixed address.
By last, through upgrading BootLoader and APP inclusion and can effectively improve the security. If a man-in-the-middle attacks, the corresponding upgrading file content is required to be acquired and modified, and even if the corresponding data information can be captured, the upgrading data cannot be analyzed even if the combined upgrading packet is captured because the preset algorithm cannot be acquired. Second, if the merged upgrade package is modified, the upgrade cannot be performed because the verification fails.
Wherein, step B includes:
and detecting the integrity of the merged upgrade package, and if and only if the merged upgrade package is checked to be complete, resolving the BootLoader and the APP upgrade package by adopting the preset algorithm, wherein the BootLoader is used as a bootstrap program of the APP upgrade package.
Therefore, if a man-in-the-middle attacks, the corresponding upgrade file content is required to be acquired and modified, and even if the corresponding data information can be captured, the upgrade data cannot be analyzed even if the combined upgrade package is captured, because the preset algorithm cannot be acquired. Second, if the merged upgrade package is modified, the upgrade cannot be performed because the verification fails.
Wherein, step C still includes: and detecting whether the upgrade is normal or not in real time in the upgrade process of the sensor node, and resetting if the upgrade process is abnormal.
And the sub-step of watchdog monitoring is configured, namely, each sensor detects whether the upgrade is normal in real time, and resets if the upgrade is normal, so that the problems of program runaway and the like caused by errors of the upgrade package can be effectively prevented.
Correspondingly, a data gateway system is also provided, which includes:
the data gateway, the sensor node and the cloud server are in communication connection with the data gateway respectively;
the data gateway includes:
the system comprises a main control module, a 2.4G communication module and a WiFi communication module, wherein the 2.4G communication module and the WiFi communication module are respectively connected with the main control module, the 2.4G communication module is in communication connection with the sensor nodes, the WiFi communication module is in communication connection with the cloud server, and the main control module is used for forwarding and analyzing data.
Therefore, the data gateway can process the transmission data, the bandwidth occupation can be reduced by compressing the data, and the communication safety between the data gateway and the cloud server is realized by encrypting the data.
Wherein, the data gateway also comprises a storage module which is connected with the main control module,
the storage module is used for caching data to be uploaded when the network environment is not good.
Therefore, real-time backup is carried out through the storage module, and interruption continuous transmission is supported. When the network environment is not good, the uploading is stopped; and when the network environment is normal, the data is acquired from the storage module and uploaded and then transmitted to the cloud server.
Drawings
FIG. 1 is a schematic diagram of a data gateway system;
FIG. 2 is a schematic diagram of a communication method of a data gateway system;
FIG. 3 is a schematic diagram of a method for over-the-air upgrade of sensor nodes.
Detailed Description
The data gateway system and the communication method thereof according to the present invention will be described in detail with reference to fig. 1 to 3.
Fig. 1 is a schematic diagram of a data gateway system, which includes a data gateway 100, and a sensor node 200, a cloud server 300, and a control terminal 400 communicatively connected thereto.
In this embodiment, the sensor node 200 includes a sensor that is installed in a gymnasium and can detect various measured information, and is used to detect exercise data. The sensor node 200 integrates a 2.4G communication module, and can wirelessly transmit the acquired data to the data gateway 100.
The data gateway 100 comprises a main control module 101, and a 2.4G communication module 102, a storage module 103 and a WiFi communication module 104 respectively connected thereto.
The cloud server 300 is used for independently providing internet infrastructure services such as computing, storage, online backup and the like.
The control terminal 400 includes a PAD or a smart device such as a mobile phone, and is used to control the data gateway 100 and the sensor node 200, so as to improve the interactivity of the data gateway system.
Fig. 2 is a schematic diagram of a communication method of a data gateway system, which includes the following steps:
a1: the control terminal 400 issues a data acquisition instruction to the sensor node 200.
A2: the WiFi communication module 104 receives the data collection instruction and forwards the data collection instruction to the main control module 101.
A3: the main control module 101 analyzes the data acquisition instruction, and starts communication with the 2.4G communication module 102 to acquire data therefrom.
A4: the 2.4G communication module 102 issues the current synchronous data acquisition command of each sensor in the sensor node 200 at a fixed period.
And the current synchronous data acquisition command comprises the ID of each sensor and the corresponding current synchronous period.
A5: after receiving the synchronous data acquisition command, each sensor in the sensor node 200 automatically finds its own synchronization period according to the ID, and sends the acquired data through its internal 2.4G communication module.
A6: the 2.4G communication module 102 receives data transmitted by each sensor in the sensor node 200.
A7: the main control module 101 analyzes the received data, and performs compression and encryption algorithm processing on the analyzed correct data.
In this step, the analysis process includes an encryption algorithm for data in the sensor node 200 and a decryption algorithm for data in the main control module 101, and the security of data transmission can be realized through the analysis.
The compression and encryption algorithm in the main control module 101 is a solution for increasing the communication speed in the communication process with the cloud server 300, the bandwidth occupation can be reduced by compressing data, and the communication security between the data gateway 100 and the cloud server 300 is realized by encryption.
A8: the main control module 101 performs fast backup storage on the data processed in step a7 through the storage module 103.
A9: the WiFi communication module 104 modulates the data processed in step a7 and outputs the modulated data in a wireless form.
A10: the cloud server 300 receives the wireless data sent in step a9, and outputs a reception feedback to the WiFi communication module 104.
A11: the WiFi communication module 104 receives the receiving feedback sent by the cloud server 300, and forwards the receiving feedback to the main control module 101.
A12: the main control module 101 parses the feedback received by the cloud server 300, and issues the next synchronous data acquisition command of each sensor in the sensor node 200 based on the current synchronization cycle of step a 4.
A13: the 2.4G communication module 102 issues the next synchronous data acquisition command of each sensor in the sensor node 200 at a fixed period.
A14: repeating the steps A5-A11, and monitoring the network environment in real time by the WiFi communication module 104;
when the network environment is not good, suspending data uploading, and marking the data to be uploaded to the cloud server 300 to distinguish the uploaded data from the data to be uploaded;
when the network environment is normal, firstly detecting whether data to be uploaded exist; if yes, data is continuously transmitted from the mark; and if not, uploading the data normally.
A15: the control terminal 400 issues a command to stop collecting data.
A16: the WiFi communication module 104 receives the command to stop collecting data, and forwards the command to the main control module 101.
A17: the main control module 101 analyzes the command for stopping data collection, and forwards the command to the 2.4G communication module 102, which broadcasts the command to each sensor in the sensor node 200.
A18: the main control module 101 forwards the command to stop collecting data to the WiFi communication module 104.
A19: the WiFi communication module 104 modulates the data collection stopping command and outputs the modulated data collection stopping command to the cloud server 300 in a wireless manner, and the process is ended.
The communication method performs analysis, compression and encryption algorithm processing on the acquired data uploaded by each sensor in the sensor node 200, uploads the processed data to the cloud server 300 in real time, and performs real-time backup through the storage module 103, so that interruption and continuous transmission are supported. When the network environment is not good, the uploading is stopped; when the network environment is normal, the data is obtained from the storage module 103 and uploaded to the cloud server 300.
In addition, the method and the system are suitable for the situation that the data gateway can be accessed into the network through WIFI, and under the scene that the sensor node 200 does not support the networking function, the air upgrading of the sensor node 200 can be achieved through a cluster type air upgrading technology. The specific process of the over-the-air upgrade of the sensor node 200 is shown in fig. 3, and includes the following steps:
b1: the data gateway 100 triggers the upgrade, detects the version information of the upgrade package, and sends a query version information command to the cloud server 300.
In this step, the data gateway 100 may trigger the upgrade by broadcasting through the cloud server 300, or by polling the upgrade at regular intervals through the data gateway 100. The particular form of triggering is not limited herein. In the above steps, the data gateway 100 implements interaction with the cloud server 300 and the sensor node 200 through the communication logic of each sub-module. However, the communication logic is not the focus of the over-the-air upgrade and is therefore omitted here and replaced by the data gateway 100.
B2: the cloud server 300 issues the version information of the current upgrade package to the data gateway 100.
B3: the data gateway 100 compares the received version information of the current upgrade package with the locally stored existing version information, and requests downloading if the version information is an updated version.
B4: the data gateway 100 downloads the current upgrade package from the cloud server 300.
B5: the data gateway 100 checks whether the current upgrade package is attacked, and feeds back a check result to the cloud server 300.
After a new version is developed by research personnel, the BootLoader and the APP upgrade package are combined, and the combined upgrade package is uploaded to the cloud server 300. The BootLoader is used as a bootstrap program of the APP upgrading package, namely, the operation upgrading is started from the BootLoader, and then the operation upgrading is jumped to the APP upgrading package.
When the BootLoader and the APP upgrade package are merged, two independent files of the BootLoader and the APP are merged into a whole according to a preset algorithm, namely the upgrade package is merged. For example, the BootLoader and the APP upgrade package may be merged together using information such as a shared function of the BootLoader and the APP upgrade package. The rules are stored in the data gateway 100, each sensor in the sensor node 200, and the cloud server 300, respectively, in advance.
Subsequently, the merged upgrade package is verified as a whole. For example, a Cyclic Redundancy Check (CRC) may be employed and the Check code written at a fixed address.
When the data gateway 100 checks whether the current upgrade package is attacked, the integrity of the merged upgrade package is first detected by using cyclic redundancy check. And if and only if the merged upgrade package is checked to be complete, then a preset algorithm is adopted to solve the BootLoader and the APP upgrade package. The data gateway 100 feeds back the inspection result to the cloud server 300.
In this step, the security can be effectively improved by merging the BootLoader and the APP. If a man-in-the-middle attacks, the corresponding upgrading file content is required to be acquired and modified, and even if the corresponding data information can be captured, the upgrading data cannot be analyzed even if the combined upgrading packet is captured because the preset algorithm cannot be acquired. Second, if the merged upgrade package is modified, the upgrade cannot be performed because the verification fails.
B6: data gateway 100 parses the current upgrade package for gateway upgrade.
B7: the data gateway 100 broadcasts the version information of the current upgrade package to the sensor node 200.
B8: each sensor in the sensor node 200 compares the received version information of the current upgrade package with the existing version information stored locally, and requests downloading if the version information is an updated version.
B9: the data gateway 100 broadcasts the current upgrade package n times.
B10: each sensor in the sensor node 200 feeds back the number of the received current upgrade package to the data gateway 100.
B11: the data gateway 100 determines whether all data transmission is completed according to the feedback of each sensor in the sensor node 200, and if so, sends an update start command.
B12: each sensor in the sensor node 200 checks whether the current upgrade package is attacked, and feeds back a check result to the data gateway 100.
The checking process of each sensor in the sensor node 200 in this step is the same as that in the step B5, and is not described herein again.
B13: each sensor in the sensor node 200 is upgraded.
In this step, dispose the substep of watchdog control, namely whether each sensor real-time detection upgrading is normal, if produce and run and fly the circumstances such as etc. and reset, thereby can effectively prevent to upgrade the package and have the mistake to lead to the program to run and fly the scheduling problem.
B14: the data gateway 100 feeds back the upgrade result to the cloud server 300.
B15: the cloud server 300 judges the upgrading result, and if the upgrading is successful, the process is ended; if the upgrade is unsuccessful, the cloud server 300 re-issues the upgrade file, that is, the steps B2 to B15 are performed in a circulating manner until the upgrade result is correspondingly successful.
In addition, except the mode that the BootLoader and the APP are combined to effectively improve the safety, the safety can be ensured by adopting other modes.
For example, the steps B3 to B5 may be replaced by the following steps in a manner of combining asymmetric encryption and symmetric encryption:
the data gateway 100 generates a key pair 1 (public key and private key), and when downloading is requested, the public key of the key pair 1 is sent to the cloud server 300;
the cloud server 300 encrypts the symmetric encrypted key 2 by using the public key of the key pair 1, and then sends the encrypted symmetric encrypted key 2 to the data gateway 100; next, the cloud server 300 encrypts the upgrade data by using the symmetric encrypted key 2, and sends the upgrade data to the data gateway 100;
the data gateway 100 decrypts the data through the private key of the key pair 1 stored by itself to obtain the symmetric encrypted key 2, and then decrypts the data by using the key 2 to obtain the upgrade data.
When the subsequent data gateway 100 interacts with the node, for example, in step B9, the data gateway 100 further generates a symmetric encrypted key 3, encrypts the current upgrade package with the key 3, and loads the key 3 in the current upgrade package to transmit to the sensor node 200;
in step B12, the sensor node 200 parses the current upgrade package from the received key 3.
Although the asymmetric encryption is high in safety, the encryption calculation is long in charge, and the calculation capacity of the sensor node 200 is insufficient. Therefore, the key for transmitting the symmetric encryption by adopting the asymmetric encryption not only realizes the transmission safety, but also ensures the transmission efficiency.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (4)

1. A communication method of a data gateway system, comprising the steps of:
b1: the data gateway (100) triggers upgrading, detects the version information of the upgrading package, and sends a version information inquiring command to the cloud server (300);
b2: the cloud server (300) issues the version information of the current upgrade package to the data gateway (100);
b3: the data gateway (100) compares the received version information of the current upgrade package with the locally stored existing version information, and requests downloading if the version information is an updated version;
b4: the data gateway (100) downloads the current upgrade package from the cloud server (300);
b5: the data gateway (100) checks whether the current upgrade package is attacked or not, and feeds back a check result to the cloud server (300);
b6: the data gateway (100) analyzes the current upgrade package to carry out gateway upgrade;
b7: the data gateway (100) broadcasts the version information of the current upgrade package to the sensor node (200);
b8: each sensor in the sensor node (200) compares the received version information of the current upgrade package with the locally stored existing version information, and requests downloading if the version information is an updated version;
b9: the data gateway (100) broadcasts the current upgrade package n times;
b10: each sensor in the sensor node (200) feeds back the number of the received current upgrade packages to the data gateway (100);
b11: the data gateway (100) judges whether the data transmission is completed completely according to the feedback of each sensor in the sensor node (200), and if so, sends an upgrade starting command;
b12: each sensor in the sensor node (200) checks whether the current upgrade package is attacked or not, and feeds back a check result to the data gateway (100);
b13: upgrading each sensor in the sensor node (200);
b14: the data gateway (100) feeds back an upgrade result to the cloud server (300);
b15: the cloud server (300) judges the upgrading result, and if the upgrading is successful, the process is ended; and if the upgrade is unsuccessful, the cloud server (300) re-issues the upgrade file.
2. The method of claim 1, wherein the current upgrade package comprises:
the method comprises the steps of merging two independent files of a BootLoader upgrade package and an APP upgrade package into a merged upgrade package according to a preset algorithm, checking the merged upgrade package integrally, and writing a check code into a fixed address.
3. The method of claim 2, wherein said checking whether the current upgrade package is attacked comprises:
and detecting the integrity of the merged upgrade package, and if and only if the merged upgrade package is checked to be complete, resolving the BootLoader and the APP upgrade package by adopting the preset algorithm, wherein the BootLoader is used as a bootstrap program of the APP upgrade package.
4. The method of claim 1, further comprising: and detecting whether the upgrade is normal or not in real time in the upgrade process of the sensor node (200), and resetting if the upgrade process is abnormal.
CN201811090127.1A 2018-09-18 2018-09-18 Data gateway system and communication method thereof Active CN109246639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811090127.1A CN109246639B (en) 2018-09-18 2018-09-18 Data gateway system and communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811090127.1A CN109246639B (en) 2018-09-18 2018-09-18 Data gateway system and communication method thereof

Publications (2)

Publication Number Publication Date
CN109246639A CN109246639A (en) 2019-01-18
CN109246639B true CN109246639B (en) 2021-08-06

Family

ID=65058353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811090127.1A Active CN109246639B (en) 2018-09-18 2018-09-18 Data gateway system and communication method thereof

Country Status (1)

Country Link
CN (1) CN109246639B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111337727A (en) * 2020-03-05 2020-06-26 山东泰开互感器有限公司 Current transformer and cloud computing-based current transformer information interaction system
CN113326056B (en) * 2021-06-28 2022-10-21 上海致景信息科技有限公司 Data processing method, data processing device, storage medium and processor

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106444662A (en) * 2016-09-23 2017-02-22 东莞团诚自动化设备有限公司 Data collecting device for Internet of Things and method
CN106911502A (en) * 2017-02-22 2017-06-30 烽火通信科技股份有限公司 A kind of upgrade method and system of intelligent home gateway equipment
CN107102621A (en) * 2017-05-10 2017-08-29 北京数码大方科技股份有限公司 Collecting method, equipment and system
CN206461664U (en) * 2017-02-16 2017-09-01 杭州景涛科技有限公司 A kind of data collecting system
CN108132797A (en) * 2016-11-30 2018-06-08 青岛海信电器股份有限公司 A kind of upgrade method of remote controler, SoC chip and its application program
US10061852B1 (en) * 2015-05-19 2018-08-28 Amazon Technologies, Inc. Transparent proxy tunnel caching for database access

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10061852B1 (en) * 2015-05-19 2018-08-28 Amazon Technologies, Inc. Transparent proxy tunnel caching for database access
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system
CN106444662A (en) * 2016-09-23 2017-02-22 东莞团诚自动化设备有限公司 Data collecting device for Internet of Things and method
CN108132797A (en) * 2016-11-30 2018-06-08 青岛海信电器股份有限公司 A kind of upgrade method of remote controler, SoC chip and its application program
CN206461664U (en) * 2017-02-16 2017-09-01 杭州景涛科技有限公司 A kind of data collecting system
CN106911502A (en) * 2017-02-22 2017-06-30 烽火通信科技股份有限公司 A kind of upgrade method and system of intelligent home gateway equipment
CN107102621A (en) * 2017-05-10 2017-08-29 北京数码大方科技股份有限公司 Collecting method, equipment and system

Also Published As

Publication number Publication date
CN109246639A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
US20210192579A1 (en) Smart broadcasting device
EP3633957B1 (en) Data storage method, storage server, storage medium and system
CN109246639B (en) Data gateway system and communication method thereof
CN103973421A (en) File transmitting method and device
CN113015165A (en) Internet of things platform device access method, device and system
CN103685337A (en) File sharing method, terminal equipment and relay server
US11714830B2 (en) Mechanisms for multi-dimension data operations
CN112714192B (en) Data synchronization method and device, computer readable medium and electronic equipment
KR20120048525A (en) Method and apparatus for controlling remote device via short messaging service
CN111131231A (en) Method and equipment for accessing data of vehicle-mounted terminal into Internet of vehicles monitoring platform
US20160150425A1 (en) System and method of providing a synthetic transaction platform for analyzing communication between a mobile device and a wireless network
CN112783541A (en) Equipment upgrading method and device and server
KR20140122964A (en) Apparatus and system for detecting malware based on cloud and method thereof
CN112445507A (en) Equipment upgrading method and device
CN113448601B (en) Software package installation method, device, equipment and system based on content distribution network
CN110661673B (en) Heartbeat detection method and device
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
CN113704785B (en) Safety protection detection method and device for smart home data
CN116132625A (en) Supervision method and device for transaction flow
CN105553774A (en) Internet data collection method and system
KR20190018432A (en) Signaling of what version information to use for byte-range file recovery
CN108334424B (en) Method for filtering redundant data of network communication management platform based on LPWAN technology
CN111970682A (en) Method and device for transmitting detection information of mobile network and storage medium
CN105704220A (en) Distributed data acquisition method and system
CN105812433B (en) Cloud adaptation processing method and device, terminal and cloud server

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 101102 Room 308, 3 / F, building 42, No. 16, huanke Middle Road, Jinqiao Science and technology industrial base, Tongzhou Park, Zhongguancun Science and Technology Park, Tongzhou District, Beijing

Applicant after: Fast Lihua (Beijing) Network Technology Co.,Ltd.

Address before: 101102 Room 308, 3 / F, building 42, No. 16, huanke Middle Road, Jinqiao Science and technology industrial base, Tongzhou Park, Zhongguancun Science and Technology Park, Tongzhou District, Beijing

Applicant before: KUAIKUAILEDONG (BEIJING) NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230508

Address after: 1130, 11th Floor, Building 29, Taihu North Lane, Tongzhou District, Beijing, 101100

Patentee after: Beijing Jiaguo Xincheng Enterprise Management Consulting Center (L.P.)

Address before: 101102 Room 308, 3 / F, building 42, No. 16, huanke Middle Road, Jinqiao Science and technology industrial base, Tongzhou Park, Zhongguancun Science and Technology Park, Tongzhou District, Beijing

Patentee before: Fast Lihua (Beijing) Network Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230831

Address after: No. 1-149, Wanganyuan Innovation Center, Xiji Town, Tongzhou District, Beijing, 101106

Patentee after: Beijing Laikang Sports Technology Co.,Ltd.

Address before: 1130, 11th Floor, Building 29, Taihu North Lane, Tongzhou District, Beijing, 101100

Patentee before: Beijing Jiaguo Xincheng Enterprise Management Consulting Center (L.P.)