[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113826357A - Device updating method and system, first Internet of things device and computer readable medium - Google Patents

Device updating method and system, first Internet of things device and computer readable medium Download PDF

Info

Publication number
CN113826357A
CN113826357A CN201980096245.XA CN201980096245A CN113826357A CN 113826357 A CN113826357 A CN 113826357A CN 201980096245 A CN201980096245 A CN 201980096245A CN 113826357 A CN113826357 A CN 113826357A
Authority
CN
China
Prior art keywords
internet
update data
update
things device
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980096245.XA
Other languages
Chinese (zh)
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Publication of CN113826357A publication Critical patent/CN113826357A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A device updating method, a system, a first Internet of things device and a computer readable medium are provided, wherein the device updating method is applied to the first Internet of things device and comprises the following steps: receiving a first update packet (401); detecting whether a target update data item is included in a first update data packet (402); updating (403) the first internet of things device by using the target updating data item, deleting the target updating data item from the first updating data packet, and obtaining a second updating data packet (404); the second update packet is sent to the second networked device (405). The traffic load of the update server when the Internet of things equipment is updated can be reduced.

Description

Device updating method and system, first Internet of things device and computer readable medium Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device updating method, a device updating system, a first internet of things device, and a computer-readable medium.
Background
With the continuous development and progress of the internet of things technology, various types of internet of things devices are widely used in industrial production, such as Programmable Logic Controllers (PLCs), conveyor belts, sensors, and the like. In the use process of the internet of things equipment, the internet of things equipment is often required to be updated, updating the internet of things equipment mainly comprises updating firmware of the internet of things equipment or upgrading software running on the internet of things equipment, and a plurality of pieces of internet of things equipment in the same network topology are often required to be updated.
At present, when internet of things equipment is updated, an update data packet including a plurality of update data items is prepared in advance, an update server sends the update data packet to each internet of things equipment in a broadcast mode, and the internet of things equipment selects a matched update data item from the update data packet to update firmware or software after receiving the update data packet.
For the existing method for updating the internet of things devices, because the update data packet includes a plurality of update data items for updating different internet of things devices, the update data packet generally has a large data volume, and the update server needs to send the update data packet to each internet of things device in a broadcast manner, which increases the traffic load of the update server.
Disclosure of Invention
In view of this, the device updating method and system, the first internet of things device and the computer readable medium provided by the invention can reduce the traffic load of the update server when the internet of things device is updated.
In a first aspect, an embodiment of the present invention provides an apparatus updating method, including:
a first internet of things device located in a network topology receives a first updating data packet, wherein the first updating data packet comprises at least one updating data item;
detecting whether a target update data item is included in the first update data packet, wherein the target update data item is used for updating the firmware of the first internet of things device or the software running on the first internet of things device;
if the first updating data packet comprises the target updating data item, updating the first Internet of things equipment by using the target updating data item, and deleting the target updating data item from the first updating data packet to obtain a second updating data packet;
if the second update data packet includes at least one update data item, determining whether the internet of things equipment needing to be updated exists in the network topology, and if the internet of things equipment needing to be updated exists, determining that the internet of things equipment needing to be updated exists in the network topology
And determining the next Internet of things device needing to be updated as a second Internet of things device, and sending the second updating data packet to the second Internet of things device.
In a second aspect, an embodiment of the present invention further provides a first internet of things device, including:
the data packet receiving module is used for receiving a first updating data packet, wherein the first updating data packet comprises at least one updating data item;
a data packet detection module, configured to detect whether the first update data packet received by the data packet receiving module includes a target update data item, where the target update data item is used to update the firmware of the first internet of things device or software running on the first internet of things device;
a device update module, configured to update the first internet of things device with the target update data item when the packet detection module determines that the first update packet includes the target update data item;
a data packet update module, configured to delete the target update data item from the first update data packet after the device update module updates the first internet of things device, so as to obtain a second update data packet;
and the first data packet sending module is used for determining the next internet of things device needing to be updated as a second internet of things device and sending the second updating data packet to the second internet of things device under the condition that the second updating data packet obtained by the data packet updating module comprises at least one new data item and the internet of things device needing to be updated exists in the network topology.
In a third aspect, an embodiment of the present invention further provides another first internet of things device, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention further provides an apparatus updating system, including: at least two first internet-of-things devices provided by the second aspect or the third aspect and an update server;
the at least two first internet of things devices are sequentially connected in the same network topology, and the updating server is connected with one first internet of things device located at the end part;
the update server is used for sending an update data packet including at least one update data item to the connected first internet of things device.
In a fifth aspect, the present invention also provides a computer-readable medium, on which computer instructions are stored, and when executed by a processor, the computer instructions cause the processor to execute the method provided in the first aspect.
According to the technical scheme, after receiving the first update data packet, the first internet of things device detects whether the first update data packet includes a target update data item for updating firmware of the first internet of things device or software running on the first internet of things device, if the first update data packet includes the target update data item, the first internet of things device is updated by using the target update data item, and the target update data item is deleted from the first update data packet after the update is completed to obtain a second update data packet, and then under the condition that the second update data packet includes the update data item and the internet of things device needing to be updated exists in the network topology, the next internet of things device needing to be updated is determined to be the second internet of things device, and the second update data packet is sent to the second internet of things device. Therefore, the updating data packets comprising the plurality of updating data items can be sequentially transmitted among the Internet of things devices, the Internet of things devices receiving the updating data packets can be updated by using the corresponding updating data items in the updating data packets, the used updating data items are deleted from the updating data packets after the updating is completed, and then the updating data packets are transmitted to the next Internet of things device, so that the updating of the Internet of things devices needing to be updated can be performed by using one updating data packet, the updating server only needs to send one updating data packet to one Internet of things device, and the redundant load of the updating server is reduced, so that the flow load of the updating server in the process of updating the Internet of things devices can be reduced.
In a first possible implementation manner, with reference to any one of the foregoing aspects, after detecting whether the first update packet includes the target update data item, the method further includes:
if the first updating data packet does not include the target updating data item, determining whether the Internet of things equipment needing to be updated exists in the network topology, and if the Internet of things equipment needing to be updated exists, determining whether the Internet of things equipment needing to be updated exists in the network topology or not
And determining the next Internet of things device needing to be updated as a third Internet of things device, and sending the first updating data packet to the third Internet of things device.
In the embodiment of the invention, if the target updating data item does not exist in the first updating data packet, the first updating data packet is sent to the next internet of things device to be updated under the condition that the internet of things device to be updated still exists in the network topology, so that the updating data packet can be transmitted to the internet of things device to be updated, and the updating process of the internet of things device can be smoothly carried out.
In a second possible implementation manner, with reference to any one of the above aspects or the first possible implementation manner, when detecting whether the first update packet includes the target update data item, the following may be implemented:
for each update data item included in the first update data packet, if a target device address included in the update data item is the same as the device address of the first internet of things device, determining the update data item as the target update data item.
In this embodiment of the present invention, the first update data packet includes at least one update data item, and each update data item includes a target device address, where the target device address is used to identify an internet of things device whose update data item can be updated. For each update data item, after comparing the target device address included in the update data item with the device address of the first internet of things device, if the target device address included in the update data item is the same as the device address of the first internet of things device, it indicates that the first internet of things device can be updated by using the update data item, and then the update data item is determined as the target update data item. Whether each updating data item is a target updating data item capable of updating the first internet of things equipment or not is distinguished based on the target equipment address included in the updating data item, whether the target updating data item is included in the first updating data packet or not is guaranteed to be accurately determined, then the first internet of things equipment can accurately select a mode for processing the first updating data packet, and the updating process of the internet of things equipment is guaranteed to be normally carried out.
In a third possible implementation manner, with reference to any one of the above aspects or the first possible implementation manner, when the first internet of things device is updated by using each target update data item, the method may be implemented as follows:
acquiring a security code and a first version number which are included in the target updating data item, wherein the security code is used for verifying whether the target updating data item is matched with the first internet of things device, and the first version number is used for identifying the version of the target updating data item;
acquiring a second version number of an update object corresponding to the target update data item on the first internet of things device, wherein the update object comprises firmware of the first internet of things device or software running on the internet of things;
verifying whether the security code is matched with the first Internet of things device by using a private key of the first Internet of things device, and judging whether the first version number is higher than the second version number;
and if the security code is matched with the first Internet of things device and the first version number is higher than the second version number, updating the update object by using the target update data item.
In the embodiment of the invention, the security code and the first version number included in the target update data item are firstly obtained, the second version number of the update object corresponding to the target update data item on the first internet of things device is obtained, then whether the security code is matched with the first internet of things device is verified by using a private key of the first internet of things device, whether the first version number is higher than the second version number is verified, and the update object on the first internet of things device is updated by using the target update data item only when the security code is matched with the first internet of things device and the first version number is higher than the second version number. The validity of the target updating data item can be judged by verifying the security code, so that the security problem caused by updating the Internet of things equipment by using the target updating data item which is maliciously tampered or illegally created is avoided, and the updating security of the Internet of things equipment can be ensured. By comparing the first version number with the second version number, the updating of the internet of things equipment into upgrading updating can be guaranteed, the degradation updating of the internet of things equipment caused by the fact that updating data items of low versions are put into updating data packets by human errors is avoided, and therefore the reliability of updating the internet of things equipment can be guaranteed.
In a fourth possible implementation manner, with reference to any one of the above aspects, the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, when sending the second update packet to the second networked device, the following may be implemented:
acquiring a next update device address included in the target update data item, wherein the next update device address is used for identifying the third internet of things device in the network topology;
and sending the second updating data packet to the second networking equipment according to the address of the next updating equipment.
In the embodiment of the present invention, for a case that a target update data item exists in a first update data packet, a next update device address is included in the target update data item, where the next update device address is defined when the update data packet is created, and is used to identify a second networking device that needs to be updated next in a network topology. Therefore, after the first internet of things device is updated by using the target update data packet, the next update device address can be obtained from the target update data packet, and then the second update data packet is sent to the second internet of things device according to the obtained next update device address. The updating data packet is transmitted to the next internet of things device according to the next updating device address included by the target updating data item, so that the updating data packet can be transmitted according to a predefined transmission path, the updating data packet can be transmitted to the internet of things devices needing updating, the updating data packet can be transmitted to each internet of things device needing updating as soon as possible, and the updating efficiency of the internet of things devices is guaranteed.
In a fifth possible implementation manner, with reference to the first possible implementation manner, when the first update packet is sent to the third internet of things device, the following may be implemented:
determining a target transmission path, wherein the target transmission path is a path connecting the first internet of things device and each fourth internet of things device in the network topology, and the first update data packet includes the update data item for updating each fourth internet of things device;
determining one fourth internet of things device closest to the first internet of things device in the target transmission path as the third internet of things device;
and sending the first updating data packet to the third Internet of things equipment.
In the embodiment of the present invention, for a case that the target update data item does not exist in the first update data packet, first, fourth internet-of-things devices that can be updated by using each update data item in the first update data packet are determined from the network topology, then, target transmission paths connecting the first internet-of-things devices and the fourth internet-of-things devices are determined, then, one fourth internet-of-things device closest to the first internet-of-things device in the target transmission paths is determined as a third internet-of-things device, and then, the first update data packet is sent to the third internet-of-things device. The method comprises the steps of determining fourth internet of things equipment needing to be updated based on each updating data item in an updating data packet, then determining a target transmission path capable of connecting the first internet of things equipment and the fourth internet of things equipment in a network topology, enabling the updating data packet to be transmitted according to the target transmission path, and enabling the passing internet of things equipment of the updating data packet to be as few as possible on the premise of ensuring that the internet of things equipment needing to be updated is updated, so that the time consumed by transmission of the updating data packet can be shortened, and the efficiency of updating the internet of things equipment is improved.
Drawings
FIG. 1 is a schematic diagram of a device update system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a connection relationship of devices in the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another connection relationship of internet of things devices according to an embodiment of the present invention;
fig. 4 is a flowchart of a device update method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an update data item according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for updating an internet of things device according to an embodiment of the present invention;
fig. 7 is a flowchart of a second update packet transmission method according to an embodiment of the present invention;
fig. 8 is a flowchart of a first update packet transmission method according to an embodiment of the present invention;
FIG. 9 is a flow chart of another method for device update provided by an embodiment of the present invention;
FIG. 10 is a schematic diagram of a linear topology provided by one embodiment of the present invention;
FIG. 11 is a schematic diagram of another device update system provided by an embodiment of the present invention;
fig. 12 is a schematic diagram of an internet of things device update process according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a first internet of things device according to an embodiment of the present invention;
fig. 14 is a schematic diagram of a first internet of things device including a second packet sending module according to an embodiment of the present invention;
fig. 15 is a schematic diagram of another first internet-of-things device according to an embodiment of the present invention;
fig. 16 is a schematic diagram of a first internet of things device according to an embodiment of the present invention;
fig. 17 is a schematic diagram of a further first internet of things device according to an embodiment of the present invention;
fig. 18 is a schematic diagram of a first internet of things device including a memory and a processor according to an embodiment of the present invention.
List of reference numerals:
10: the update server 20: the first internet of things device 30: second networking device
40: the third internet of things device 201: the packet receiving module 202: data packet detection module
203: the device update module 204: the packet update module 205: first data packet sending module
206: the second packet transmission module 2031: the first information acquisition unit 2032: second information acquisition unit
2033: the information matching unit 2034: the object update unit 2051: address acquisition unit
2052: first transmission unit 2061: the path determination unit 2062: equipment screening unit
2063: second transmitting section 207: the memory 208: processor with a memory having a plurality of memory cells
501: security code 502: target device address 503: version number
504: update content 505: protocol information 506: status information
507: next update device address 1001: the internet of things device 1002: internet of things equipment
1003: the internet of things device 1004: the internet of things device 1005: internet of things equipment
1101: update server 1102: the gateway 1103: internet of things equipment
1104: the internet of things device 1105: the internet of things device 1106: internet of things equipment
1107: the internet of things device 1108: update package 1201: user' s
1202: update management system 1203: the gateway 1204: internet of things equipment
120 n: internet of things equipment
401: receiving a first update packet
402: detecting whether the first update package includes the target update data item
403: updating a first internet of things device with a target update data item
404: deleting the target update data item from the first update data packet to obtain a second update data packet
405: sending the second updating data packet to the second networking equipment
601: obtaining the security code and the first version number included in the target update data item
602: obtaining a second version number of an update object corresponding to the target update data item on the first Internet of things device
603: verifying whether the security code matches the first Internet of things device by using a private key of the first Internet of things device
604: judging whether the first version number is higher than the second version number
605: updating an update object with a target update data item
606: end the current flow
701: obtaining the next update device address included in the target update data item
702: sending a second updating data packet to second networking equipment according to the obtained address of the next updating equipment
801: determining a target transmission path
802: determining a fourth Internet of things device closest to the first Internet of things device as a third Internet of things device
803: sending the first update data packet to a third internet of things device
901: the updating server sends the updating data packet to the Internet of things equipment at the end part
902: the Internet of things equipment receiving the update data packet detects whether the update data packet comprises a target update data item
903: verifying whether the security code included in the target update data item matches the Internet of things device
904: verifying whether the version number included in the target update data item is higher than the version number of the update object on the Internet of things equipment
905: updating the update object by the Internet of things equipment by using the target update data item
906: the Internet of things equipment deletes the target update data item from the update data packet
907: the Internet of things equipment detects whether the update data packet comprises an update data item
908: internet of things equipment detects whether a second Internet of things equipment/third Internet of things equipment needing to be updated exists or not
909: the Internet of things equipment sends the update data packet to the second Internet of things equipment/the third Internet of things equipment
910: deleting the update data packet by the Internet of things equipment, and finishing the update
Detailed Description
As described above, the update server currently sends the update data packet to each internet of things device in a broadcast manner, but because the update data packet includes a plurality of update data items for updating a plurality of internet of things devices, the update data packet generally has a large data volume, and therefore the update server needs to send the update data packet with a large data volume to each internet of things device, which results in a large traffic load of the update server.
In the embodiment of the invention, after one piece of internet of things equipment receives the update data packet, the internet of things equipment acquires the corresponding target update data item from the update data packet to update the firmware of the internet of things equipment or the software running on the internet of things equipment, deleting the target update data item from the update data packet after the update is completed, then sending the update data packet to the next internet of things device by the internet of things device, updating and transmitting the data packet by the next internet of things device according to the same operation mode as the internet of things device until all the internet of things devices are updated, the updating server only needs to send the updating data packet to the Internet of things equipment once, and the updating data packet can be sequentially transmitted to the Internet of things equipment to be updated to realize the updating of the Internet of things equipment, so that the flow load of the updating server can be reduced when the Internet of things equipment is updated.
The following describes an apparatus updating method and system and a first internet of things apparatus provided by the embodiments of the present invention in detail with reference to the accompanying drawings. It should be noted that, in each of the following embodiments, the first internet of things device, the second internet of things device, the third internet of things device, and the fourth internet of things device are internet of things devices in the same network topology, and there is no difference between hierarchies among the internet of things devices, and the network topology may be a star topology, a tree topology, a line topology, a ring topology, or the like.
As shown in fig. 1, an embodiment of the present invention provides an apparatus updating system, including: an update server 10 and at least two first internet of things devices 20;
at least two first internet of things devices 20 are sequentially connected in the same network topology, and the update server 10 is connected with one first internet of things device 20 located at the end;
the update server 10 is configured to send an update data packet including at least one update data item to the connected first internet of things device 20.
In the embodiment of the present invention, since the first internet-of-things devices 20 are sequentially connected in the same network topology, and the update server 10 is connected to one first internet-of-things device 20 located at the end, for any one first internet-of-things device 20, if the first internet-of-things device 20 is directly connected to the update server 10, the first internet-of-things device 20 receives the update data packet from the update server 10, and if the first internet-of-things device 20 is not directly connected to the update server 10, the first internet-of-things device 20 receives the update data packet from the other first internet-of-things devices 20 directly connected thereto.
It should be noted that, in the above embodiment, the first internet of things device 20 directly connected to the update server 10 refers to an internet of things device that is directly connected to the update server 10 without passing through other internet of things devices in a physical network, the first internet of things device that is not directly connected to the update server 10 refers to an internet of things device that is connected to the update server 20 without passing through one or more other internet of things devices in the physical network, and the two first internet of things devices 20 directly connected to each other refer to two internet of things devices that are directly connected to each other without passing through other internet of things devices in a network topology, but the two internet of things devices in the physical network may be connected to each other without passing through the other internet of things devices, or may be connected to each other through one or more other internet of things devices.
In the following embodiment, for any one of the first internet-of-things devices 20, in order to distinguish between the update data packet received by the first internet-of-things device 20 and the update data packet of the first internet-of-things device 20 after deleting the target update data item, the update data packet received by the first internet-of-things device 20 is defined as a first update data packet, and the update data packet of the first internet-of-things device 20 after deleting the target update data item is defined as a second update data packet.
For any one of the first internet-of-things devices 20, after the first internet-of-things device 20 receives the first update data packet, according to the difference of the update data items included in the received first update data packet, the first internet-of-things device 20 may adopt three different processing manners, i.e., the following a to C:
A. if the first update data packet includes a target update data item for updating the firmware of the first internet-of-things device 20 or the software running on the first internet-of-things device 20, the first internet-of-things device 20 updates with the target update data item, and then deletes the target update data item from the first update data packet to obtain a second update data packet.
After obtaining the second update data packet, according to whether there is an internet of things device that needs to be updated in the network topology and whether the second update data packet includes an update data item, the first internet of things device 20 may adopt the following three processing manners a-1 to a-3:
a-1, as shown in fig. 2, if there is an internet of things device that needs to be updated in the network topology and the second update data packet includes at least one update data item, the first internet of things device 20 sends the second update data packet to the next second internet of things device 30 that needs to be updated. At this time, the first internet of things device 20 sends the second update packet to the second internet of things device 30, so that the second internet of things device 30 can update in the same method.
And A-2, if the Internet of things equipment which needs to be updated does not exist in the network topology, the first Internet of things equipment 20 deletes the second updating data packet, and the equipment updating process is terminated. At this time, since there is no internet-of-things device that needs to be updated in the network topology, the first internet-of-things device 20 deletes the second update packet, and then terminates updating the internet-of-things device.
And A-3, if the second updating data packet does not comprise any updating data item, the first Internet of things device 20 deletes the second updating data packet, and the device updating process is terminated. At this time, since there is no update data item available for updating the internet of things device in the second update data packet, it is not necessary to continue to transmit the empty second update data packet, so that the first internet of things device 20 deletes the second update data packet, and terminates updating the internet of things device.
B. As shown in fig. 3, if the first update data packet does not include a target update data item for updating the firmware of the first internet of things device 20 or the software running on the first internet of things device 20, and there is an internet of things device that needs to be updated in the network topology, the first internet of things device 20 sends the first update data packet to a next third internet of things device 40 that needs to be updated. At this time, since the first update data packet does not include the target update data item for updating the first internet of things device 20, it is indicated that the updating of the internet of things device does not need to update the first internet of things device 20, and the first internet of things device 20 directly sends the received first update data packet to the next third internet of things device 40 that needs to be updated, so that the subsequent internet of things devices can update.
C. If the first update data packet does not include a target update data item for updating the firmware of the first internet of things device 20 or the software running on the first internet of things device 20, and there is no internet of things device in the network topology that needs to be updated, the first internet of things device 20 deletes the first update data packet, and the device update process is terminated. At this time, since there is no internet-of-things device that needs to be updated in the network topology, although the first update data packet still includes the update data item, the first update data packet does not need to be continuously transmitted, and after the first update data packet is deleted by the first internet-of-things device 20, the updating of the internet-of-things device is terminated.
It should be noted that, in the processing manner a-1 and the processing manner B, the second internet of things device 30 and the third internet of things device 40 are internet of things devices that need to be updated in a network topology, and in the network topology, the first internet of things device 20, the second internet of things device 30, and the third internet of things device 40 may be directly connected or not directly connected. When the first internet of things device 20 is directly connected to the second internet of things device 30 and the third internet of things device 40 in the network topology, the first internet of things device 20 may directly send the second update packet to the second internet of things device 30 or directly send the first update packet to the third internet of things device 40. When the first internet of things device 20 is not directly connected to the second internet of things device 30 and the third internet of things device 40 in the network topology, the first internet of things device 20 needs to send the first update data packet or the second update data packet to the internet of things device which is located between the first internet of things device 20 and the second internet of things device 30 and the third internet of things device 40 in the network topology and does not need to be updated, and the internet of things device which does not need to be updated can transmit the first update data packet or the second update data packet to the second internet of things device 30 or the third internet of things device 40 according to the processing mode B after receiving the first update data packet or the second update data packet.
In the device update system provided in the embodiment of the present invention, after the update server 10 sends the update data packet to one first internet of things device 20, the first internet of things device 20 that acquires the update data packet determines a target update data item that can be updated for the update data packet from the update data packet, deletes the determined target update data item from the update data packet after the update is completed by using the determined target update data item, and then sends the update data packet to the next first internet of things device 20 until there is no internet of things device that needs to be updated in the network topology or the update data packet does not include any update data item. Therefore, the update data packets are transmitted among the first internet of things devices 20, each first internet of things device 20 acquires the required update data items from the update data packets to update, and deletes the used update data items after the update is completed until all the first internet of things devices 20 with the update requirements are updated, and the update server 10 only needs to send the update data packets once, so that the redundant load of the update server 10 is reduced, and the traffic load of the update server 10 in the process of updating the internet of things devices can be reduced.
It should be noted that at least two first internet of things devices 20 connected in sequence may be located in various types of network topologies, such as a star topology, a tree topology, a line topology, and a ring topology. For the star topology and the tree topology, a transmission path of the update data packet may be determined by defining parameters of the update data packet, where the transmission path of the update data packet is each of the first internet of things devices 20 connected in sequence. For the line topology and the ring topology, since both do not have branches, both themselves are composed of a plurality of first internet of things devices 20 connected in sequence, and only the first and last two first internet of things devices 20 in the ring topology are connected together to form a ring.
It should be further noted that, in the embodiment of the present invention, the first internet of things device 20, the second internet of things device 30, and the third internet of things device are located in the same network topology, where the network topology includes which internet of things devices that can be predefined, and the update packet sent from the update server is used to update the internet of things devices in the network topology. In specific implementation, the network topology can be defined according to the application scenario:
such as: the network topology includes all internet of things devices included in an actual physical network.
For another example: the network topology comprises all internet of things equipment of a certain type predefined in an actual physical network;
for another example: the network topology comprises a plurality of internet of things devices which are predetermined in an actual physical network, wherein a device list can be formed according to identification information such as device addresses and device names of the internet of things devices, and the update data item comprises identification information of the next internet of things device to be updated.
The above several ways are only examples, and in specific implementation, as long as the network topology of the internet of things device that needs to be updated is defined in advance, in the updating process of the internet of things device, the update data packet is transmitted between the devices, and the update data items in the update data packet are gradually reduced, so that the data transmission delay between the internet of things devices is reduced, and the updating efficiency of the internet of things device is improved.
In the above description, the actual physical network may be a network of network devices of a plant, a network of network devices in a plant of the plant, or a network of network devices in a production line in a plant of the plant. In the above description, for a network topology in which a device type is predefined, the device type may be a PLC, an industrial host, or the like.
The following describes a device update method provided by an embodiment of the present invention, which may be performed by the first internet-of-things device 20. As stated in no particular way, the update server involved in the following method embodiments may be the aforementioned update server 10, the first internet of things device involved in the following method embodiments may be the aforementioned first internet of things device 20, the second internet of things device involved in the following method embodiments may be the aforementioned second internet of things device 30, and the third internet of things device involved in the following method embodiments may be the aforementioned third internet of things device 40.
In the device updating method provided by the embodiment of the invention, the first internet of things device determines whether to perform updating processing according to different updating data items in the received updating data packet, and determines whether to continue to transmit the updating data packet according to whether the internet of things device which needs to be updated exists in the network topology. As shown in fig. 4, the method may specifically include the following steps:
step 401: receiving a first updating data packet, wherein the first updating data packet comprises at least one updating data item;
step 402: detecting whether a target updating data item is included in the first updating data packet;
step 403: if the target updating data item exists in the first updating data packet, updating the first Internet of things equipment by using the target updating data item;
step 404: deleting the target updating data item from the first updating data packet to obtain a second updating data packet;
step 405: if the second update data packet includes at least one update data item and the internet of things device needing to be updated in the network topology, determining that the next internet of things device needing to be updated is the second internet of things device, and sending the second update data packet to the second internet of things device.
In the embodiment of the invention, after receiving a first update data packet, it is detected whether the first update data packet includes a target update data item for updating firmware of a first internet of things device or software running on the first internet of things device, if the first update data packet includes the target update data item, the first internet of things device is updated by using the target update data item, and after the update is completed, each target update data item is deleted from the first update data packet to obtain a second update data packet, and then the second update data packet is sent to a second internet of things device under the condition that the second update data packet includes the update data item and the internet of things device needing to be updated exists in a network topology. Therefore, the updating data packets comprising the plurality of updating data items can be sequentially transmitted among the Internet of things devices, the Internet of things devices receiving the updating data packets can be updated by using the corresponding updating data items in the updating data packets, the used updating data items are deleted from the updating data packets after the updating is completed, and then the updating data packets are transmitted to the next Internet of things device, so that the updating of the Internet of things devices needing to be updated can be performed by using one updating data packet, the updating server only needs to send one updating data packet to one Internet of things device, and the redundant load of the updating server is reduced, so that the flow load of the updating server in the process of updating the Internet of things devices can be reduced.
In the embodiment of the present invention, if a target update data item for updating the firmware of the first internet of things device or the software running on the first internet of things device exists in the first update data packet, after the first internet of things device is updated by using the target update data item, the first update data packet from which the target update data item is deleted is used as the second update data packet, and then the second update data packet may be sent to the second internet of things device. Because the firmware of different internet of things devices and the software running on the firmware are different, the updating data items for updating different internet of things devices are different, the used updating data items are deleted from the updating data packet, so that the data volume of the updating data packet is continuously reduced along with the transmission process of the updating data packet, the network bandwidth required by the transmission of the updating data packet can be reduced, the transmission rate of the updating data packet can be improved, and the updating efficiency of the internet of things devices is improved.
In the embodiment of the invention, if the internet of things equipment needing to be updated does not exist in the network topology, the transmission of the second updating data packet is stopped, and the updating of the internet of things equipment is finished. In addition, if the second update data packet does not have the update data item for updating the internet of things device, even if the internet of things device needing to be updated exists in the network topology, the second update data packet which does not include the update data item does not need to be transmitted to other internet of things devices, at this moment, the transmission of the second update data packet is stopped, and the updating of the internet of things device is finished.
Optionally, on the basis of the device updating method shown in fig. 4, after detecting whether the first update packet includes the target update data item, if the middle of the first update packet includes the target update data item, it may be further determined whether an internet of things device that needs to be updated exists in the network topology, and if an internet of things device that needs to be updated exists in the network topology, it is determined that the next internet of things device that needs to be updated serves as a third internet of things device, and then the first update packet is sent to the third internet of things device.
In the embodiment of the invention, if the target updating data item does not exist in the first updating data packet, the first updating data packet is sent to the next internet of things device to be updated under the condition that the internet of things device to be updated still exists in the network topology, so that the updating data packet can be transmitted to the internet of things device to be updated, and the updating process of the internet of things device can be smoothly carried out.
Optionally, on the basis of the device updating method shown in fig. 4, when step 402 detects whether the first update data packet includes the target update data item, it may detect whether each update data item included in the first update data packet is the target update data item, so as to determine whether the first update data packet includes the target update data item.
Specifically, for each update data item included in the first update data packet, a target device address included in the update data item is obtained, and if the obtained target device address is the same as the device address of the first internet of things device, the update data item is determined to be one target update data item. After traversing all the update data items in the first update data packet, if one update data item in the first update data packet is determined as a target update data item, it is determined that the target update data item is included in the first update data packet, that is, it is stated that an update data item for updating the first internet of things device exists in the first update data packet.
In the embodiment of the present invention, each update data item includes a target device address, where the target device address is used to identify an internet of things device that needs to be updated, and after an internet of things device receives an update data packet, the internet of things device can determine whether an update data packet includes a target update data item for updating the internet of things device by detecting a target device address included in each update data item in the update data packet, and then can determine to update firmware and software or directly forward the obtained update data packet to a next internet of things device. Therefore, partial Internet of things equipment in the network topology can be updated, and normal transmission of the update data packet can be guaranteed.
It should be noted that the destination device address may be an IP address, a MAC address, or the like. In addition, the structure of the update data item may be specifically shown in fig. 5, and in addition to the target device address 502, the update data item may further include a security code 501, a version number 503, update content 504, protocol information 505, state information 506, a next update device address 507, and the like, where the security code 501 is used to verify the update data item, the version number 503 is used to identify the version of the update content, the update content 504 is specific update data, the protocol information 505 is used to identify a network transmission protocol, the state information 506 is used to identify an operating state of the internet of things device, and the next update device address 507 is used to identify a next internet of things device that receives the update data packet. The security code 501, the version number 503, and the next updated device address 507 will be described in detail in the following embodiments, and the protocol information 505 may specifically be TFTP, SNMP, NFS, DNS, BOOTP, or the like.
Optionally, on the basis of the device updating method shown in fig. 4, before the step 403 updates the first internet of things device with the target update data item, it is necessary to verify the security of the target update data item according to the security code included in the target update data item, and to verify whether the update process is an upgrade process according to the version number included in the target update data item, and after the two kinds of verification are passed, the target update data item is used to update the first internet of things device. As shown in fig. 6, the method for updating the first internet of things device by using the target update data item may include the following steps:
step 601: the method comprises the steps that a security code and a first version number which are included by a target updating data item are obtained, wherein the security code is used for verifying whether the target updating data item is matched with the first Internet of things device, and the first version number is used for identifying the version of the target updating data item;
step 602: acquiring a second version number of an update object corresponding to the target update data item on the first internet of things device, wherein the update object comprises firmware of the first internet of things device or software running on the internet of things;
step 603: verifying whether the security code is matched with the first Internet of things device by using a private key of the first Internet of things device, if so, executing step 604, and if not, executing step 606;
step 604: judging whether the first version number is higher than the second version number, if so, executing a step 605, and if not, executing a step 606;
step 605: updating the update object by using the target update data item;
step 606: the current flow is ended.
In the embodiment of the invention, whether the security code included in the target updating data item is matched with the first internet of things equipment is verified by using the private key of the first internet of things equipment, and the first internet of things equipment can be updated by using the target updating data item only when the security code is matched with the first internet of things equipment, so that the phenomenon that the updated internet of things equipment runs abnormally due to malicious tampering of the target updating data item is avoided, and the updating safety and reliability can be ensured.
Furthermore, the security code included in the target update data item may be encrypted by the public key of the first internet of things device, and if the security code can be successfully decrypted by using the private key of the first internet of things device, it indicates that the security code matches the first internet of things device, and if the security code cannot be successfully decrypted by using the private key of the first internet of things device, it indicates that the security code does not match the first internet of things device.
In the embodiment of the invention, after the security code included in the target update data item is determined to be matched with the first internet of things device, whether the first version number included in the target update data item is higher than the second version number of the corresponding update object on the first internet of things device can be further judged, and the update object on the first internet of things device can be updated by using the target update data item only when the first version number is higher than the second version number, so that the update of the internet of things device is ensured to be an upgrading process, the degradation or flat updating of the internet of things device due to misoperation is avoided, and the reliability of updating the internet of things device is further ensured.
It should be noted that, in each of the above embodiments and subsequent embodiments, the updating of the internet of things device is essentially to update the firmware of the internet of things device or the software program run on the internet of things device, that is, the update object is the firmware of the internet of things device or the software program run on the internet of things device. And when judging whether the first version number is higher than the second version number, judging whether the version corresponding to the updating content in the target updating data item is higher than the existing version of the updating object.
It should be further noted that the target update data item may include one or more update data sub-items, and each update data sub-item is used to update one update object, so as to be suitable for the requirement of updating multiple software programs on the same internet of things device or the firmware and the software programs of the internet of things device at the same time. In addition, the structure of each update data sub-item has the structure shown in fig. 5.
Alternatively, on the basis of the device update method shown in fig. 4, when step 405 sends the second update packet to the second networked device, it is first necessary to determine the second networked device that receives the next update packet. As shown in fig. 7, the method for sending the second update packet to the second networked device may specifically include the following steps:
step 701: acquiring a next updating equipment address included in the target updating data item, wherein the next updating equipment address is used for identifying second networking equipment in the network topology;
step 702: and sending the second updating data packet to the second networking equipment according to the acquired address of the next updating equipment.
In the embodiment of the present invention, each target update data item includes information of a next update device address, and after a second update data packet is obtained by deleting the target update data item from the first update data packet, a next update device address can be obtained from the target update data item, where the update device address is used to identify a next internet of things device that needs to be updated in the network topology, and further determine the next internet of things device that needs to be updated as a second internet of things device, so that the second update data packet can be conveniently sent to the second internet of things device according to the next update device address, and the update data packet is transmitted between the internet of things devices.
Optionally, when the first update data packet is sent to the third internet of things device, because the target update data item does not exist in the first update data packet, the next internet of things device that needs to be updated cannot be determined according to the next update device address in the target update data item, at this time, the transmission path of the update data packet needs to be determined according to the internet of things device corresponding to each update data item in the first update data packet, and then the third internet of things device is determined according to the determined transmission path. As shown in fig. 8, the method for sending the first update packet to the third internet of things device may specifically include the following steps:
step 801: determining a target transmission path, wherein the target transmission path is a path connecting the first internet of things device and each fourth internet of things device in a network topology, and an update data item for updating each fourth internet of things device exists in the first update data packet;
step 802: determining a fourth internet of things device closest to the first internet of things device in the target transmission path as a third internet of things device;
step 803: and sending the first updating data packet to the third Internet of things equipment.
In the embodiment of the present invention, after it is determined that a target update data item for updating the first internet of things device does not exist in the first update data packet, for each update data item included in the first update data packet, a fourth internet of things device that can be updated by using the update data item in the network topology is determined according to a target device address included in the update data item. After the fourth internet of things device corresponding to each update data item in the first update data packet is determined, a path connecting the first internet of things device and each fourth internet of things device in the network topology is determined to be a target path, then a fourth internet of things device closest to the first internet of things device in the target path is determined to be a third internet of things device, and then the first update data packet can be sent to the determined third internet of things device.
Since the target update data item for updating the first internet of things device is not included in the first update data packet, the third internet of things device cannot be determined according to the target device address included in the target update data item. At this moment, the fourth internet of things device corresponding to each updating data item in the first updating data packet is determined respectively, then a target transmission path capable of being connected with the first internet of things device and each fourth internet of things device is determined, so that the updating data packets can be transmitted to each fourth internet of things device in sequence according to the target transmission path, in order to transmit the first updating data packet to the next internet of things device needing updating, a fourth internet of things device closest to the first internet of things device in the target path is determined to be the third internet of things device, and then the first updating data packet is sent to the third internet of things device.
In the embodiment of the present invention, when updating the internet of things devices in the same network topology, all the internet of things devices in the network topology may not be updated, so that the internet of things devices located on the target transmission path may not be only the first internet of things device and each fourth internet of things device, that is, other internet of things devices that do not need to be updated may exist between the first internet of things device and the fourth internet of things device or between two fourth internet of things devices on the target transmission path.
Taking the updating of the internet of things device in the linear topology as an example, the device updating method provided by the embodiment of the present invention is further described in detail below, and as shown in fig. 9, the method may include the following steps:
step 901: and the updating server sends the updating data packet to the Internet of things equipment at the end part.
In the embodiment of the present invention, as shown in fig. 10, the line type topology includes an internet of things device 1001 to an internet of things device 1005 that are connected in sequence, and the update data packet includes an update data item 1 to an update data item 4, where the update data item 1 and the update data item 2 are used to update the internet of things device 1001, the update data item 3 is used to update the internet of things device 3, and the update data item 4 is used to update the internet of things device 4. When the internet of things device starts to be updated, the update server first sends an update packet to the internet of things device 1001.
Step 902: the internet of things equipment receiving the update data packet detects whether the update data packet includes the target update data item, if yes, step 903 is executed, and if not, step 908 is executed.
In the embodiment of the present invention, after an internet of things device in a network topology receives an update data packet from an update server or other internet of things devices, the internet of things device first detects whether there is a target update data item for updating itself in the update data packet, if the target update data item exists, it needs to update itself, and correspondingly performs step 903, and if the target update data item does not exist, it needs to send the update data packet to the next internet of things device, and correspondingly performs step 908. Specifically, after receiving the update data packet, the internet of things device may detect whether a target device address included in at least one update data item in the update data packet is the same as a device address of the internet of things device, determine that the target update data item exists in the update data packet if the target update data item exists, and determine that the update data item including the target device address that is the same as the device address of the internet of things device is the target update data item.
For example, after receiving the update packet from the update server, the internet of things device 1001 detects that the target device addresses included in the update data item 1 and the update data item 2 are the same as the device address of the internet of things device 1001, determines the update data item 1 and the update data item 2 as the target update data item of the internet of things device 1001, and accordingly performs step 903. After the internet of things device 1002 receives the update data packet from the internet of things device 1001, since the target device address included in the update data item in the update data packet is not the same as the device address of the internet of things device 1002, the internet of things device 1002 executes step 908.
Step 903: and verifying whether the security code included in the target updating data item is matched with the Internet of things equipment, if so, executing step 904, and if not, executing step 906.
In the embodiment of the present invention, after the internet of things device determines the target update data item, the private key of the internet of things device is used to verify whether the security code included in the target update data item matches with the internet of things device, if yes, step 904 is performed on the target update data item, and if not, step 906 is performed on the target update data item.
For example, after the internet of things device 1003 determines the update data item 3 as its own target update data item, the internet of things device 1003 verifies whether the security code included in the update data item 3 matches the internet of things device 1003 by using its private key, and if the verification result is that the security code included in the update data item 3 matches the internet of things device 1003, the internet of things device 1003 executes step 904 for the update data item 3. After the internet of things device 1004 determines the update data item 4 as its own target update data item, the internet of things device 1004 verifies whether the security code included in the update data item 4 matches the internet of things device 1004 by using its private key, and if the verification result is that the security code included in the update data item 4 does not match the internet of things device 1004, the internet of things device 1004 executes step 906 on the update data item 4.
Step 904: and verifying whether the version number included in the target updating data item is higher than the version number of the updating object on the Internet of things equipment, if so, executing step 905, and if not, executing step 906.
In the embodiment of the present invention, after verifying that the security code included in the target update data item matches the internet of things device, determining an update object used by the target update data item for updating, and verifying whether the version number included in the target update data item is higher than the version number of the update object, if so, performing step 905 for the target update data item, otherwise, performing step 906 for the target update data item.
For example, after it is determined that the update data item 1 is used to update the internet of things device 1001 firmware, and the update data item 2 is used to update the software 1 on the internet of things device 1001, the version number of the internet of things device 1001 firmware and the version number of the software 1 are obtained, the version number of the internet of things device 1001 firmware and the version number included in the update data item 1 are compared, the version number included in the software 1 and the version number included in the update data item 2 are compared, and as a result of the comparison, the version number included in the update data item 1 is higher than the version number of the internet of things device firmware, and the version number included in the update data item 2 is higher than the version number of the software 1, the internet of things device 1001 executes step 905 for the update data item 1 and the update data item 2.
For another example, after it is determined that the update data item 3 is used to update the firmware of the internet of things device 1003, the version number of the firmware of the internet of things device 1003 is obtained, and the version number of the firmware of the internet of things device 1003 is compared with the version number included in the update data item 3, and if the comparison result is that the version number included in the update data item 3 is lower than the version number of the firmware of the internet of things device 1003, the internet of things device 1003 executes step 906 on the update data item 3.
Step 905: and the Internet of things equipment updates the update object by using the target update data item.
In the embodiment of the present invention, after determining that the version number included in the target update data item is higher than the version number of the update object on the internet of things device, the internet of things device updates the update object by using the target update data item.
For example, the internet of things device 1001 updates the firmware of the internet of things device 1001 with the update data item 1, and the internet of things device 1001 updates the software 1 on the internet of things device 1001 with the update data item 2.
Step 906: and the Internet of things equipment deletes the target update data item from the update data packet.
In the embodiment of the present invention, for each determined target update data item, after determining that the security code included in the target update data item does not match the internet of things device, or determining that the version number included in the target update data item is lower than or equal to the version number of the update object on the internet of things device, or after the corresponding update object has been updated by using the target update data item, the target update data item is deleted from the update data packet.
For example, the internet of things device 1001 deletes the update data item 1 and the update data item 2 from the acquired update data package, the internet of things device 1003 deletes the update data item 3 from the acquired update data package, and the internet of things device 1004 deletes the update data item 4 from the acquired update data package.
Step 907: the internet of things device detects whether the update data packet includes the update data item, if yes, step 908 is executed, and if no, step 810 is executed.
In the embodiment of the present invention, for each internet of things device, if a target update data item exists in an update data packet received by the internet of things device, after deleting the target update data item from the update data packet, determining whether at least one update data item still exists in the update data packet, if so, performing step 908, otherwise, performing step 910; if the target update data item does not exist in the update data packet received by the internet of things device, the step of deleting the target update data item does not need to be performed, so that at least one update data item inevitably exists in the update data packet, and then step 908 is performed.
For example, after the internet of things device 1001 deletes the update data item 1 and the update data item 2 from the update data packet, since the update data item 3 and the update data item 4 are also included in the update data packet, the internet of things device 1001 executes step 908. The internet of things device 1002 does not perform the operation of deleting the target update data item, and the update data packet acquired from the internet of things device 1001 includes the update data item 3 and the update data item 4, so the internet of things device 1002 executes step 908. After the internet of things device 1003 deletes the update data item 3 from the update data packet, since the update data item 4 is also included in the update data packet, the internet of things device 1003 executes step 908. After the internet-of-things device 1004 deletes the update data item 4 from the update package, since the update package does not already include any update data item, the internet-of-things device 1004 performs step 910.
Step 908: the internet of things device detects whether a second internet of things device/a third internet of things device which needs to be updated exists, if yes, step 909 is executed, and if not, step 910 is executed.
In the embodiment of the present invention, after deleting the target update data item from the update data packet, if it is determined that the update data item is also included in the update data packet, the internet of things device determines whether a second internet of things device that needs to be updated exists in the network topology, if so, step 909 is executed, otherwise, step 910 is executed. After determining that the target update data item is not included in the update data packet, the internet of things device determines whether a third internet of things device that needs to be updated exists in the network topology, if so, step 909 is executed, otherwise, step 910 is executed.
For example, the internet of things device 1002 is a second internet of things device 1001, and therefore the internet of things device 1001 performs step 909 after determining that the update data item exists in the update data packet. Even if the internet of things device 1005 determines that the update data item exists in the update data packet, the internet of things device 1005 executes step 910.
Step 909: and the Internet of things equipment sends the update data packet to the second Internet of things equipment/third Internet of things equipment.
In the embodiment of the present invention, after the internet of things device determines that the update data item exists in the update data packet and that the second internet of things device/the third internet of things device that needs to be updated exists, the internet of things device sends the update data packet to the second internet of things device/the third internet of things device, and the second internet of things device/the third internet of things device that receives the update data packet continues to update the internet of things device or transfer the update data packet according to steps 902 to 909.
For example, the internet of things device 1001 sends the update packet to the internet of things device 1002, the internet of things device 1002 sends the update packet to the internet of things device 1003, and the internet of things device 1003 sends the update packet to the internet of things device 1004.
Step 910: and deleting the update data packet by the Internet of things equipment, and ending the update.
In the embodiment of the present invention, when the internet of things device is located at the end of the network topology or the update data packet does not include the update data item, the internet of things device deletes the empty update data packet, and the update of the internet of things device is completed this time.
Next, a transmission process of the update data packet between the internet of things devices is further described with reference to the drawings, as shown in fig. 11, the update server 1101 is connected to the gateway 1102, the gateway 1102 is connected to the internet of things devices 1103, the internet of things devices 1103 to 1107 are sequentially connected, and the internet of things devices 1107 are connected to the gateway 1102.
After the update server 1101 sends the update data packet 1108 to the gateway 1102, the gateway 1102 sends the update data packet 1108 to the internet of things device 1103, and at this time, the update data packet 1108 includes a plurality of update data items respectively used for updating the internet of things devices 1103 to 1107. As shown in fig. 11, shading is used to represent the update data items included in the update data packet 1108, and it can be seen that the update data packet 1108 sent by the gateway 1102 to the internet of things device 1103 includes all the update data items, for example, the data size of the update data packet 1108 is 64K at this time.
After receiving the update data packet 1108, the internet-of-things device 1103 updates the update data item by using the corresponding update data item in the update data packet 1108, deletes the update data item for updating the internet-of-things device 1103 from the update data packet 1108, and then sends the update data packet 1108 to the internet-of-things device 1104. As shown in fig. 11, the update data items in the update data packet 1108 sent by the internet-of-things device 1103 to the internet-of-things device 1104 are reduced, specifically, the update data items for updating the internet-of-things device 1103 are not included, for example, the data size of the update data packet 1108 is 50K at this time.
After receiving the update data packet 1108, the internet of things device 1104 updates the update data item by using the corresponding update data item in the update data packet 1108, deletes the update data item for updating the internet of things device 1104, and then sends the update data packet 1108 to the internet of things device 1105. As shown in fig. 11, the update data items in the update data packet 1108 sent by the internet of things device 1104 to the internet of things device 1105 are further reduced, specifically, the update data items for updating the internet of things device 1103 and the internet of things device 1104 are not included, for example, the data volume of the update data packet 1108 is 40K at this time.
After receiving the update data packet 1108, the internet of things device 1105 updates by using the corresponding update data item in the update data packet 1108, then deletes the update data item for updating the internet of things device 1105, and then sends the update data packet 1108 to the internet of things device 1106. As shown in fig. 11, the update data items in the update data packet 1108 sent by the internet of things device 1105 to the internet of things device 1106 are further reduced, specifically, the update data items for updating the internet of things devices 1103 to 1105 are not included, for example, the data volume of the update data packet 1108 is 30K at this time.
After receiving the update data packet 1108, the internet of things device 1106 updates the update data item by using the corresponding update data item in the update data packet 1108, deletes the update data item for updating the internet of things device 1106, and then sends the update data packet 1108 to the internet of things device 1107. As shown in fig. 11, the update data items in the update data packet 1108 sent by the internet of things device 1106 to the internet of things device 1107 further decrease, specifically, the update data items for updating the internet of things devices 1103 to 1106 are not included, for example, the data volume of the update data packet 1108 is 11K at this time.
After receiving the update data packet 1108, the internet of things device 1107 updates by using the corresponding update data item in the update data packet 1108, then deletes the update data item for updating the internet of things device 1106, and then sends the update data packet 1108 to the gateway 1102. As shown in fig. 11, the update data packet 1108 sent by the internet of things device 1107 to the gateway 1102 does not include any update data item, for example, the data size of the update data packet 1108 is 0K at this time.
The process of updating the internet of things device is further described with reference to the drawings, as shown in fig. 12, the updating process involves a user 1201, an update management system 1202, a gateway 1203 and internet of things devices 1204 to 120n, and the specifically designed operation steps include:
s01: the user 1201 uploads the update package to the update management system 1202;
s02: the update management system 1202 transmits the update packet to the gateway 1203;
s03: verifying and matching the security codes included in the update data packet;
s04: upgrading software and firmware by using an update data item corresponding to the current Internet of things equipment in the update data packet;
s05: deleting the update data item corresponding to the current Internet of things equipment from the update data packet;
s06: sending the rest update data packets to the next Internet of things device;
s07: indication information indicating that the update is completed is sent to the gateway 1203.
It should be noted that, for each of the internet of things devices 1204 to 120n, the internet of things device performs S03 to S06, except that the internet of things device 1204 performs S03 to S06 for the update packet from the gateway 1203, and the rest of the internet of things devices perform S03 to S06 for the update packet from the previous internet of things device. In addition, the internet of things device 120n at the end performs S07 after performing S03 to S06 to notify the gateway 1203 that the update of the internet of things device for the update packet is completed.
As shown in fig. 13, an embodiment of the present invention provides a first internet of things device 20, including:
a data packet receiving module 201, configured to receive a first update data packet, where the first update data packet includes at least one update data item;
a data packet detection module 202, configured to detect whether a first update data packet received by the data packet receiving module 201 includes a target update data item, where the target update data item is used to update a firmware of the first internet of things device 20 or a software running on the first internet of things device;
a device update module 203, configured to update the first internet of things device 20 with the target update data item when the data packet detection module 202 determines that the first update data packet includes the target update data item;
a data packet updating module 204, configured to delete the target update data item from the first update data packet after the device updating module 203 updates the first internet of things device 20, so as to obtain a second update data packet;
a first data packet sending module 205, configured to determine, when the second update data packet obtained by the data packet updating module 204 includes at least one new data item and there is an internet of things device that needs to be updated in the network topology, a next internet of things device that needs to be updated as the second networked device 30, and send the second update data packet to the second networked device 30.
In this embodiment of the present invention, the packet receiving module 201 may be configured to perform step 401 in the above-mentioned method embodiment, the packet detecting module 202 may be configured to perform step 402 in the above-mentioned method embodiment, the device updating module 203 may be configured to perform step 403 in the above-mentioned method embodiment, the packet updating module 204 may be configured to perform step 404 in the above-mentioned method embodiment, and the first packet sending module 205 may be configured to perform step 405 in the above-mentioned method embodiment.
Optionally, on the basis of the first internet-of-things device 20 shown in fig. 13, as shown in fig. 14, the first internet-of-things device 20 further includes:
a second packet sending module 206, configured to, when the packet detecting module 202 determines that the first update packet does not include the target update data item and that the internet of things device that needs to be updated exists in the network topology, determine a next internet of things device that needs to be updated as the third internet of things device 40, and send the first update packet to the third internet of things device 40.
Optionally, on the basis of the first internet of things device 20 shown in fig. 13 or fig. 14, the data packet detection module 202 is configured to, for each update data item included in the first update data packet, determine that the update data item is a target update data item if a target device address included in the update data item is the same as the device address of the first internet of things device 20.
Optionally, on the basis of the first internet of things device 20 shown in fig. 13 or fig. 14, as shown in fig. 15, the device updating module 203 includes:
a first information obtaining unit 2031, configured to obtain a security code and a first version number that are included in the target update data item, where the security code is used to verify whether the target update data item matches the first internet of things device 20, and the first version number is used to identify a version of the target update data item;
a second information obtaining unit 2032, configured to obtain a second version number of an update object corresponding to the target update data item on the first internet of things device 20, where the update object includes firmware of the first internet of things device 20 or software running on the internet of things;
an information matching unit 2033, configured to verify, by using a private key of the first internet of things device 20, whether the security code acquired by the first information acquisition unit 2031 is matched with the first internet of things device 20, and determine whether the first version number acquired by the first information acquisition unit 2031 is higher than the second version number acquired by the second information acquisition unit 2032;
an object updating unit 2034, configured to update the update object with the target update data item when the information matching unit 2033 determines that the security code included in the target update data item matches with the first internet of things device 20 and the first version number included in the target update data item is higher than the second version number.
In the embodiment of the present invention, the first information acquiring unit 2031 may be configured to perform step 601 in the above-described method embodiment, the second information acquiring unit 2032 may be configured to perform step 602 in the above-described method embodiment, the information matching unit 2033 may be configured to perform step 603 and step 604 in the above-described method embodiment, and the object updating unit 2034 may be configured to perform step 605 and step 606 in the above-described method embodiment.
Optionally, on the basis of the first internet of things device 20 shown in fig. 13, as shown in fig. 16, the first data packet sending module 205 includes:
an address obtaining unit 2051, configured to obtain a next update device address included in the target update data item, where the next update device address is used to identify the third internet-of-things device 40 in the network topology;
a first sending unit 2052, configured to send the second update packet to the second networking device 30 according to the next update device address obtained by the address obtaining unit 2051.
In the embodiment of the present invention, the address obtaining unit 2051 may be configured to perform step 701 in the above method embodiment, and the first sending unit 2052 may be configured to perform step 702 in the above method embodiment.
Optionally, on the basis of the first internet of things device 20 shown in fig. 14, as shown in fig. 17, the second packet sending module 206 includes:
a path determining unit 2061, configured to determine a target transmission path, where the target transmission path is a path connecting the first internet of things device 20 and each fourth internet of things device in the network topology, and an update data item for updating each fourth internet of things device exists in the first update data packet;
an equipment screening unit 2062, configured to determine, as the third internet-of-things equipment 40, a fourth internet-of-things equipment that is closest to the first internet-of-things equipment 20 in the target transmission path determined by the path determining unit 2061;
a second sending unit 2063, configured to send the first update data packet to the third internet-of-things device 40 determined by the device screening unit 2062.
In this embodiment of the present invention, the path determining unit 2061 may be configured to perform step 801 in the above-described method embodiment, the device screening unit 2062 may be configured to perform step 802 in the above-described method embodiment, and the second sending unit 2063 may be configured to perform step 803 in the above-described method embodiment.
As shown in fig. 18, an embodiment of the present invention provides a first internet of things device 20, including:
at least one memory 207 configured to store executable instructions;
at least one processor 208 coupled with the at least one memory 207, which when executing the executable instructions, is configured to:
a first internet of things device 20 located in a network topology receives a first update data packet, wherein the first update data packet includes at least one update data item;
detecting whether a target update data item is included in the first update data packet, where the target update data item is used to update the firmware of the first internet of things device 20 or software running on the first internet of things device;
if the first update data packet includes the target update data item, updating the first internet of things device 20 by using the target update data item, and deleting the target update data item from the first update data packet to obtain a second update data packet;
if the second update data packet includes at least one update data item, determining whether the internet of things equipment needing to be updated exists in the network topology, and if the internet of things equipment needing to be updated exists, determining that the internet of things equipment needing to be updated exists in the network topology
And determining that the next internet of things device needing to be updated is the second internet of things device 30, and sending the second update data packet to the second internet of things device 30.
Optionally, on the basis of the first internet of things device 20 shown in fig. 18, the at least one processor 208, when executing the executable instructions, is further configured to:
if the first update data packet does not include the target update data item, determining whether the internet of things device needing to be updated exists in the network topology, if so, determining the next internet of things device needing to be updated as the third internet of things device 40, and sending the first update data packet to the third internet of things device 40.
Optionally, on the basis of the first internet of things device 20 shown in fig. 18, the at least one processor 208, when executing the executable instructions, is further configured to:
for each update data item included in the first update data packet, if the target device address included in the update data item is the same as the device address of the first internet-of-things device 20, the update data item is determined to be the target update data item.
Optionally, on the basis of the first internet of things device 20 shown in fig. 18, the at least one processor 208, when executing the executable instructions, is further configured to:
acquiring a security code and a first version number which are included in a target updating data item, wherein the security code is used for verifying whether the target updating data item is matched with the first internet of things device 20, and the first version number is used for identifying the version of the target updating data item;
acquiring a second version number of an update object corresponding to the target update data item on the first internet of things device 20, wherein the update object includes firmware of the first internet of things device 20 or software running on the internet of things;
verifying whether the security code is matched with the first internet of things device 20 by using a private key of the first internet of things device 20, and judging whether the first version number is higher than the second version number;
if the security code matches the first internet of things device 20 and the first version number is higher than the second version number, the update object is updated with the target update data item.
Optionally, on the basis of the first internet of things device 20 shown in fig. 18, the at least one processor 208, when executing the executable instructions, is further configured to:
acquiring a next update device address included in the target update data item, wherein the next update device address is used for identifying the second networking device 30 in the network topology;
and sending the second updating data packet to the second networking equipment 30 according to the address of the next updating equipment.
Optionally, on the basis of the first internet of things device 20 shown in fig. 18, the at least one processor 208, when executing the executable instructions, is further configured to:
determining a target transmission path, where the target transmission path is a path connecting the first internet of things device 20 and each fourth internet of things device in the network topology, and an update data item for updating each fourth internet of things device exists in the first update data packet;
determining a fourth internet of things device closest to the first internet of things device 20 in the target transmission path as a third internet of things device 40;
the first update packet is sent to the third internet of things device 40.
The present invention also provides a computer-readable medium storing instructions for causing a computer to perform a device update method as described herein. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution sequence of each step is not fixed, and can be adjusted according to needs. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (15)

  1. An apparatus update method, comprising:
    a first internet of things device (20) located in a network topology receives a first updating data packet, wherein the first updating data packet comprises at least one updating data item;
    detecting whether a target update data item is included in the first update data packet, wherein the target update data item is used for updating the firmware of the first internet of things device (20) or the software running on the first internet of things device;
    if the first update data packet includes the target update data item, then
    Updating the first internet of things device (20) with the target update data item;
    deleting the target update data item from the first update data packet to obtain a second update data packet;
    if the second update data packet includes at least one update data item, determining whether the internet of things equipment needing to be updated exists in the network topology, and if the internet of things equipment needing to be updated exists, determining that the internet of things equipment needing to be updated exists in the network topology
    And determining the next Internet of things device needing to be updated as a second Internet of things device (30), and sending the second updating data packet to the second Internet of things device (30).
  2. The method according to claim 1, wherein after said detecting whether the first update packet includes the target update data item, further comprising:
    if the target update data item is not included in the first update data packet, determining whether the internet of things equipment needing to be updated exists in the network topology, and if the internet of things equipment needing to be updated exists, determining that the internet of things equipment needing to be updated exists in the network topology
    And determining the next IOT device needing updating as a third IOT device (40), and sending the first updating data packet to the third IOT device (40).
  3. The method according to claim 1 or 2, wherein the detecting whether the first update packet includes the target update data item comprises:
    for each update data item included in the first update data packet, if the target device address included in the update data item is the same as the device address of the first internet of things device (20), determining the update data item as the target update data item.
  4. The method of claim 1 or 2, wherein the updating the first internet of things device (20) with the target update data item comprises:
    acquiring a security code and a first version number which are included in the target updating data item, wherein the security code is used for verifying whether the target updating data item is matched with the first internet of things device (20), and the first version number is used for identifying the version of the target updating data item;
    acquiring a second version number of an update object corresponding to the target update data item on the first internet of things device (20), wherein the update object comprises firmware of the first internet of things device (20) or software running on the internet of things;
    verifying whether the security code matches the first internet of things device (20) by using a private key of the first internet of things device (20), and judging whether the first version number is higher than the second version number;
    and if the security code is matched with the first Internet of things device (20) and the first version number is higher than the second version number, updating the update object by using the target update data item.
  5. The method according to any of claims 1 to 4, wherein said sending said second update packet to said second networked device (30) comprises:
    acquiring a next update device address included in the target update data item, wherein the next update device address is used for identifying the second networked device (30) in the network topology;
    and sending the second updating data packet to the second networking equipment (30) according to the next updating equipment address.
  6. The method of claim 2, wherein said sending the first update packet to the third internet of things device (40) comprises:
    determining a target transmission path, wherein the target transmission path is a path connecting the first internet of things device (20) and each fourth internet of things device in the network topology, and the first update data packet includes the update data item for updating each fourth internet of things device;
    determining one of the fourth internet-of-things devices closest to the first internet-of-things device (20) in the target transmission path as the third internet-of-things device (40);
    sending the first update data packet to the third internet of things device (40).
  7. A first internet of things device (20), comprising:
    a data packet receiving module (201) for receiving a first update data packet, wherein the first update data packet includes at least one update data item;
    a data packet detection module (202) configured to detect whether the first update data packet received by the data packet receiving module (201) includes a target update data item, where the target update data item is used to update the firmware of the first internet of things device (20) or software running on the first internet of things device;
    a device update module (203) for updating the first internet-of-things device (20) with the target update data item when the packet detection module (202) determines that the first update packet includes the target update data item;
    a packet update module (204) configured to delete the target update data item from the first update packet after the device update module (203) updates the first internet-of-things device (20), so as to obtain a second update packet;
    a first data packet sending module (205), configured to determine, when the second update data packet obtained by the data packet updating module (204) includes at least one new data item and there is an internet of things device that needs to be updated in the network topology, a next internet of things device that needs to be updated as a second internet of things device (30), and send the second update data packet to the second internet of things device (30).
  8. The first internet-of-things device (20) of claim 7, further comprising:
    and a second packet sending module (206) configured to, if the packet detection module (202) determines that the target update data item is not included in the first update packet and there is an internet of things device that needs to be updated in the network topology, determine a next internet of things device that needs to be updated as a third internet of things device (40), and send the first update packet to the third internet of things device (40).
  9. The first Internet of things device (20) of claim 7 or 8,
    the data packet detection module (202) is configured to, for each update data item included in the first update data packet, determine that the update data item is a target update data item if a target device address included in the update data item is the same as a device address of the first internet of things device (20).
  10. The first internet-of-things device (20) of claim 7 or 8, wherein the device update module (203) comprises:
    a first information obtaining unit (2031) configured to obtain a security code and a first version number included in the target update data item, wherein the security code is used to verify whether the target update data item matches the first internet of things device (20), and the first version number is used to identify a version of the target update data item;
    a second information obtaining unit (2032) configured to obtain a second version number of an update object corresponding to the target update data item on the first internet of things device (20), wherein the update object includes firmware of the first internet of things device (20) or software running on the internet of things;
    an information matching unit (2033) configured to verify, by using a private key of the first internet of things device (20), whether the security code acquired by the first information acquisition unit (2031) matches the first internet of things device (20), and determine whether the first version number acquired by the first information acquisition unit (2031) is higher than the second version number acquired by the second information acquisition unit (2032);
    an object updating unit (2034) configured to update the update object with the target update data item when the information matching unit (2033) determines that the security code included in the target update data item matches the first internet of things device (20) and the first version number included in the target update data item is higher than the second version number.
  11. The first internet-of-things device (20) according to any one of claims 7 to 10, wherein the first packet sending module (205) comprises:
    an address obtaining unit (2051) configured to obtain a next update device address included in the target update data item, wherein the next update device address is used for identifying the third internet-of-things device (40) in the network topology;
    and the first sending unit (2052) is configured to send the second update data packet to the second networked device (30) according to the next update device address obtained by the address obtaining unit (2051).
  12. The first internet-of-things device (20) of claim 8, wherein the second packet sending module (206) comprises:
    a path determining unit (2061) configured to determine a target transmission path, where the target transmission path is a path connecting the first internet of things device (20) and each fourth internet of things device in the network topology, and the first update packet includes the update data item for updating each fourth internet of things device;
    a device screening unit (2062) configured to determine, as the third internet-of-things device (40), one of the fourth internet-of-things devices that is closest to the first internet-of-things device (20) in the target transmission path determined by the path determining unit (2061);
    a second sending unit (2063) configured to send the first update packet to the third internet-of-things device (40) determined by the device screening unit (2062).
  13. A first internet of things device (20), comprising: at least one memory (207) and at least one processor (208);
    the at least one memory (207) for storing a machine readable program;
    the at least one processor (208) configured to invoke the machine readable program to perform the method of any of claims 1 to 6.
  14. An equipment update system, comprising: an update server (10) and at least two first internet of things devices (20) as claimed in any one of claims 7 to 13;
    the at least two first internet of things devices (20) are sequentially connected in the same network topology, and the update server (10) is connected with one first internet of things device (20) located at the end;
    the update server (10) is used for sending an update data packet comprising at least one update data item to the connected first internet of things device (20).
  15. Computer readable medium, characterized in that it has stored thereon computer instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 6.
CN201980096245.XA 2019-07-15 2019-07-15 Device updating method and system, first Internet of things device and computer readable medium Pending CN113826357A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/096044 WO2021007756A1 (en) 2019-07-15 2019-07-15 Device update method and system, and first internet of things device and computer-readable medium

Publications (1)

Publication Number Publication Date
CN113826357A true CN113826357A (en) 2021-12-21

Family

ID=74210113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980096245.XA Pending CN113826357A (en) 2019-07-15 2019-07-15 Device updating method and system, first Internet of things device and computer readable medium

Country Status (2)

Country Link
CN (1) CN113826357A (en)
WO (1) WO2021007756A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401190A (en) * 2021-12-24 2022-04-26 卡斯柯信号有限公司 Trackside security platform data updating method and system based on data compression algorithm

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009633A (en) * 2006-01-27 2007-08-01 华为技术有限公司 A data transfer method and transfer system with the route information
CN101374072A (en) * 2007-08-24 2009-02-25 西门子公司 Method for updating configuration of electric force monitoring apparatus, electric force monitoring apparatus and energy management system
CN104202183A (en) * 2014-08-21 2014-12-10 清华大学深圳研究生院 Method and device for solving SDN (software defined networking) flow level configuration consistency updating
US20160162557A1 (en) * 2014-12-03 2016-06-09 Sas Institute Inc. System to convert semantic layer metadata to support database conversion
US20160294605A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
CN107579896A (en) * 2017-09-11 2018-01-12 深圳市盛路物联通讯技术有限公司 Internet of things data transmission method and storage medium based on loop network
CN108429820A (en) * 2018-05-23 2018-08-21 深圳远征技术有限公司 A kind of communication means of internet of things application layer, system and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907998B (en) * 2010-08-17 2016-03-30 中兴通讯股份有限公司 The renewal system and method for embedded system
CN107332909B (en) * 2017-07-03 2020-03-31 中兴通讯股份有限公司 Method and device for realizing data transmission
CN109362122B (en) * 2018-09-12 2020-09-04 中国科学院计算技术研究所 Transmission scheduling method and system for communication data in low-power-consumption wide area network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009633A (en) * 2006-01-27 2007-08-01 华为技术有限公司 A data transfer method and transfer system with the route information
CN101374072A (en) * 2007-08-24 2009-02-25 西门子公司 Method for updating configuration of electric force monitoring apparatus, electric force monitoring apparatus and energy management system
US20160294605A1 (en) * 2014-07-07 2016-10-06 Symphony Teleca Corporation Remote Embedded Device Update Platform Apparatuses, Methods and Systems
CN104202183A (en) * 2014-08-21 2014-12-10 清华大学深圳研究生院 Method and device for solving SDN (software defined networking) flow level configuration consistency updating
US20160162557A1 (en) * 2014-12-03 2016-06-09 Sas Institute Inc. System to convert semantic layer metadata to support database conversion
CN107579896A (en) * 2017-09-11 2018-01-12 深圳市盛路物联通讯技术有限公司 Internet of things data transmission method and storage medium based on loop network
CN108429820A (en) * 2018-05-23 2018-08-21 深圳远征技术有限公司 A kind of communication means of internet of things application layer, system and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401190A (en) * 2021-12-24 2022-04-26 卡斯柯信号有限公司 Trackside security platform data updating method and system based on data compression algorithm

Also Published As

Publication number Publication date
WO2021007756A1 (en) 2021-01-21

Similar Documents

Publication Publication Date Title
US8892699B2 (en) Automatic firmware updates for intelligent electronic devices
CN109995866B (en) Distributed file verification method and device, computer device and storage medium
US20070076625A1 (en) Data communication apparatus
US7290164B1 (en) Method of reverting to a recovery configuration in response to device faults
US20090241188A1 (en) Communication monitoring apparatus and communication monitoring method
CN106105154B (en) The method, apparatus and system of data upload
US20150305008A1 (en) Method and apparatus for updating information regarding specific resource in wireless communication system
US10405361B2 (en) Switching-on method, base station, base station controller, switching-on system and storage medium
CN110166299B (en) SDN controller configuration recovery method and device
US10735308B2 (en) Attestation based routing
CN107145562A (en) A kind of method of data synchronization, apparatus and system
US8407329B2 (en) Reporting information to a network
CN112134893A (en) Internet of things safety protection method and device, electronic equipment and storage medium
CN104980407A (en) Misinformation detecting method and device
US10296746B2 (en) Information processing device, filtering system, and filtering method
CN113826357A (en) Device updating method and system, first Internet of things device and computer readable medium
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
EP2557755B1 (en) Securely Performing Commands from a Remote Source
CN102761481A (en) EVI (Ethernet Virtualization Interconnection) network based version upgrading method and device
CN111131484A (en) Node mounting method, device, network node and storage medium
CN113992508A (en) Local area network automatic networking method of intelligent equipment and intelligent equipment
CN111064798B (en) Node network access method, device, client node and storage medium
CN110602732A (en) Wireless configuration parameter synchronization method, device, network equipment and computer readable storage medium
CN106302715B (en) File management method, device and system
CN112153173B (en) IPv6 address rapid deployment and distribution method and device

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