CN111585801A - ZigBee device upgrading method and related device - Google Patents
ZigBee device upgrading method and related device Download PDFInfo
- Publication number
- CN111585801A CN111585801A CN202010354962.2A CN202010354962A CN111585801A CN 111585801 A CN111585801 A CN 111585801A CN 202010354962 A CN202010354962 A CN 202010354962A CN 111585801 A CN111585801 A CN 111585801A
- Authority
- CN
- China
- Prior art keywords
- firmware
- zigbee
- differential
- upgrading
- zigbee device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 109
- 230000002085 persistent effect Effects 0.000 claims description 9
- 230000001052 transient effect Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 abstract description 20
- 230000008569 process Effects 0.000 description 31
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 230000003993 interaction Effects 0.000 description 8
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006837 decompression Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W80/00—Wireless network protocols or protocol adaptations to wireless operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/16—Gateway arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a ZigBee device upgrading method which is used for upgrading a ZigBee device. The method in the embodiment of the application comprises the following steps: the ZigBee equipment receives differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by the ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware; the ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain a target version firmware; and the ZigBee equipment is upgraded according to the target version firmware. By the method, the number of times that the ZigBee device asks for data from the ZigBee gateway is reduced in the transmission process of the differential firmware, the power consumption of the ZigBee device in the transmission process is reduced, and the practicability of the ZigBee device is improved.
Description
Technical Field
The embodiment of the application relates to the field of communication, in particular to a ZigBee device upgrading method and a related ZigBee device.
Background
The ZigBee protocol (ZigBee) is a wireless network protocol for low-speed short-distance transmission, and is mainly characterized by low speed, low power consumption, low cost, support of a large number of network nodes, support of various network topologies, low complexity, rapidness, reliability and safety. ZigBee is a novel wireless communication technology, and is suitable for a series of electronic component devices with short transmission range and low data transmission rate. The ZigBee wireless communication technology can realize the mutual coordination communication among thousands of tiny sensors by depending on special radio standards. The ZigBee wireless communication technology can also be applied to the fields of control, automation and the like based on wireless communication in a small range, can save wired cables among computer equipment and a series of digital equipment, and can further realize wireless networking among various different digital equipment to realize mutual communication or access the Internet.
For ZigBee equipment using ZigBee protocol to carry out data interaction, when firmware carried by the ZigBee protocol is upgraded, a method for upgrading a full-amount mirror image block carried by the ZigBee protocol is generally used. And then the ZigBee gateway sends a mirror image data block to the ZigBee device according to the size of the claimed mirror image block. And after receiving, the ZigBee device asks for the ZigBee gateway again, and the finished new-version firmware file is obtained through multiple transmissions so as to ensure the stability of the data transmission process.
In the upgrading process, the ZigBee device is required to send a request for fetching a data block to the ZigBee gateway for multiple times, the request times are determined by the size ratio of a new firmware version file to a mirror image data block, for the low-power-consumption dormant ZigBee device, the number of the sent requests is large, the power consumption is high, and inconvenience is caused for normal use of the ZigBee device.
Disclosure of Invention
A first aspect of an embodiment of the present application provides a ZigBee device upgrading method, including:
the method comprises the steps that a server obtains a target version firmware and a current version firmware, wherein the current version firmware is a firmware used by ZigBee equipment at present, and the target version firmware is obtained by upgrading the current version firmware;
the server operates a differential algorithm according to the target version firmware and the current version firmware to obtain differential firmware;
and the server sends the differential firmware to a ZigBee gateway so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and finishes upgrading.
Based on the first aspect of the embodiment of the present application, optionally, before the server sends the differential firmware to the ZigBee gateway, the method further includes:
the server judges whether an upgrading triggering instruction exists or not, wherein the upgrading triggering instruction is sent by a user;
and if the upgrading triggering instruction exists, executing the step that the server sends the differential firmware to the ZigBee gateway.
Based on the first aspect of the embodiment of the present application, optionally, the server sends the differential firmware to a ZigBee gateway, including;
the server divides the differential firmware into a plurality of data blocks;
and the server sends the data blocks to the ZigBee gateway.
Based on the first aspect of the embodiment of the present application, optionally, the ZigBee device is an embedded device.
Based on the first aspect of the embodiment of the present application, optionally, before the server sends the differential firmware to the ZigBee gateway, the method further includes:
the server compresses the differential firmware.
A second aspect of the present application provides a ZigBee device upgrading method, including:
the ZigBee gateway receives differential firmware, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through running a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
and the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol so that the ZigBee device can be upgraded according to the differential firmware.
Based on the second aspect of the embodiment of the present application, optionally, the ZigBee gateway may send the differential firmware to a plurality of ZigBee devices simultaneously according to a ZigBee protocol.
Based on the second aspect of the embodiment of the present application, optionally, the receiving, by the ZigBee gateway, the differential firmware includes: the ZigBee gateway receives differential firmware sent in the form of a plurality of data blocks.
Based on the second aspect of the embodiment of the present application, optionally, the ZigBee device is an embedded device.
Based on the second aspect of the embodiment of the present application, optionally, the sending, by the ZigBee gateway, the differential firmware to the ZigBee device according to a ZigBee protocol includes:
and the ZigBee gateway sends the differential firmware to the ZigBee device in a data page mode according to a ZigBee protocol.
Based on the second aspect of the embodiment of the present application, optionally, the sending, by the ZigBee gateway, the differential firmware to the ZigBee device according to a ZigBee protocol includes sending the differential firmware to the ZigBee device according to a ZigBee protocol, and sending the differential firmware to the ZigBee device according to a ZigBee protocol includes sending the differential firmware to the ZigBee device according to a ZigBee protocol
And the ZigBee gateway sends the differential firmware to the ZigBee device in a data block form according to a ZigBee protocol.
A third aspect of the present application provides a ZigBee device upgrading method, including:
the ZigBee equipment receives differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by the ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
the ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain a target version firmware;
and the ZigBee equipment is upgraded according to the target version firmware.
Based on the third aspect of the embodiment of the present application, optionally, the upgrading, by the ZigBee device, according to the target version firmware includes:
and the ZigBee device replaces the current version firmware with the target version firmware, or the ZigBee device modifies a firmware operating address into a storage address of the target version firmware.
Based on the third aspect of the embodiment of the present application, optionally, the ZigBee device is an embedded device.
Based on the third aspect of the embodiment of the present application, optionally, the ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware, and before the running, the method further includes:
and the ZigBee device decompresses the differential firmware.
Based on the third aspect of the embodiment of the present application, optionally, the receiving, by the ZigBee device, the differential firmware includes: the ZigBee device receives the differential firmware transmitted in the form of a data page.
Based on the third aspect of the embodiment of the present application, optionally, the receiving, by the ZigBee device, the differential firmware includes: the ZigBee device receives the differential firmware transmitted in the form of a data block.
A fourth aspect of the embodiments of the present application provides a server, including:
the acquisition unit is used for acquiring a target version firmware and a current version firmware, wherein the current version firmware is a firmware currently used by the ZigBee device, and the target version firmware is obtained by upgrading the current version firmware;
the difference unit is used for operating a difference algorithm according to the target version firmware and the current version firmware to obtain difference firmware;
and the sending unit is used for sending the differential firmware to the ZigBee gateway so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and finishes upgrading.
A fifth aspect of the present application provides a ZigBee gateway, including:
the receiving unit is used for receiving differential firmware, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
and the transmitting unit is used for transmitting the differential firmware to the ZigBee device according to a ZigBee protocol so that the ZigBee device can be upgraded according to the differential firmware.
A sixth aspect of the present embodiment provides a ZigBee device, including:
the receiving unit is used for receiving differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
the difference unit is used for operating a difference algorithm according to the current version firmware and the difference firmware to obtain a target version firmware;
and the upgrading unit is used for upgrading according to the target version firmware.
A seventh aspect of embodiments of the present application provides a server, including:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, and the instructions in the memory are executed on the server to perform the method according to any one of the first aspect of the embodiments of the present application.
An eighth aspect of the present application provides a ZigBee gateway, including:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processing unit is configured to communicate with the memory, and execute the instruction operation in the memory on the ZigBee gateway to execute the method according to any one of the second aspect of the embodiments of the present application.
A ninth aspect of an embodiment of the present application provides a ZigBee device, including:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processing unit is configured to communicate with the memory, and execute the instruction operations in the memory on the ZigBee device to execute the method according to any one of the third aspects of the embodiments of the present application.
A tenth aspect of embodiments of the present application provides a computer-readable storage medium, comprising instructions that, when executed on a computer, cause the computer to perform the method according to any one of the first, second, and third aspects of embodiments of the present application.
An eleventh aspect of embodiments of the present application provides a computer program product comprising instructions, which when run on a computer, cause the computer to perform the method according to any one of the first, second and third aspects of embodiments of the present application.
According to the technical scheme, the embodiment of the application has the following advantages: the method comprises the steps of differentiating a new version firmware file to be transmitted and a current version file operated by the ZigBee device to obtain a differential upgrade package, and transmitting the differential upgrade package to the ZigBee device according to a ZigBee protocol, so that the ZigBee device only needs to ask for the differential upgrade package, and the volume of the differential upgrade package is smaller than that of the complete new version firmware file, so that the frequency of asking for data from the ZigBee gateway by the ZigBee device is reduced in the transmission process of the differential upgrade package, the power consumption of the ZigBee device in the transmission process is reduced, and the practicability of the ZigBee device is improved.
Drawings
FIG. 1 is a schematic diagram of an environment of a device used in the upgrading method of the ZigBee device;
FIG. 2 is a schematic flow chart of a ZigBee device upgrading method of the present application;
fig. 3 is another schematic flow chart of the upgrading method of the ZigBee device according to the present application;
fig. 4 is another schematic flow chart of the upgrading method of the ZigBee device according to the present application;
fig. 5 is another schematic flow chart of the upgrading method of the ZigBee device according to the present application;
fig. 6 is another schematic flow chart of the upgrading method of the ZigBee device according to the present application;
fig. 7 is another schematic flow chart of the upgrading method of the ZigBee device according to the present application;
FIG. 8 is a schematic diagram of a server according to the present application;
FIG. 9 is a schematic structural diagram of a ZigBee gateway of the present application;
FIG. 10 is a schematic structural diagram of a ZigBee device of the present application;
FIG. 11 is a schematic diagram of another embodiment of a server according to the present application;
fig. 12 is another schematic structural diagram of a ZigBee gateway according to the present application;
fig. 13 is another schematic structural diagram of a ZigBee device according to the present application.
Detailed Description
The embodiment of the application provides a ZigBee equipment upgrading method, which is used for upgrading firmware of ZigBee equipment based on a ZigBee communication protocol.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprise," "have," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or ZigBee device that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or ZigBee device.
The embodiment of the application can be used in the environment of the ZigBee device shown in fig. 1, and includes: the system comprises a cloud server (1001), a mobile terminal APP (1002), a ZigBee gateway (1003) and ZigBee devices (1004, 1005 and 1006). And the ZigBee equipment and the ZigBee gateway perform data interaction through a ZigBee protocol. The ZigBee gateway and the cloud server can be connected through the Internet to perform data interaction. The mobile terminal APP is used for reminding a user whether to upgrade or not for the APP used on the user mobile phone or other ZigBee equipment, and then data interaction between the cloud server and the ZigBee gateway is triggered. It can be understood that the number relationship shown in this figure is only an illustration, and in an actual use process, a plurality of ZigBee devices may be interconnected with a ZigBee gateway, or a plurality of ZigBee gateways may be interconnected with a cloud server, and the specific details are not limited herein.
Referring to fig. 2, an embodiment of a ZigBee device upgrading method according to the present application includes: step 201-step 203.
201. The server acquires the target version firmware and the current version firmware.
The method comprises the steps that a server obtains a target version firmware and a current version firmware, wherein the current version firmware is a firmware currently used by ZigBee equipment, the target version firmware is obtained by upgrading the current version firmware, the server needs to obtain the current version firmware currently operated by the ZigBee equipment for upgrading the ZigBee equipment, specifically, the server can inquire upgrading records of the ZigBee equipment to obtain the firmware currently used by the ZigBee equipment, and can also perform data interaction with a ZigBee gateway mutually connected with the ZigBee equipment to inquire to obtain the firmware currently used by the ZigBee equipment. Meanwhile, a target version firmware is required to be obtained, the target version firmware is obtained by upgrading a current version firmware used by the ZigBee device, and certain difference or optimization exists compared with the current version firmware so as to adapt to the current use condition. It can be understood that the ZigBee device can normally operate both in the case of using the target version firmware and in the case of using the current version firmware. The server may be a server provided locally, or may be a cloud server formed by a plurality of servers, and is not limited herein.
202. And the server operates a differential algorithm according to the target version firmware and the current version firmware to obtain differential firmware.
And the server operates a differential algorithm according to the target version firmware and the current version firmware to obtain differential firmware. The difference firmware is obtained by comparing the target version firmware and the current version firmware by the server according to a difference algorithm, and mainly comprises difference files between the target version firmware and the current version firmware, and information such as the corresponding relation of storage addresses of the difference files. The differential upgrading firmware and the current version firmware can be restored through a differential algorithm to obtain the target version firmware. At present, the upgrading method generally adopted by the ZigBee device which adopts the ZigBee standard protocol for communication is an OTA full upgrading method of the ZigBee standard protocol, namely, the complete target version firmware is sent to the ZigBee device through the ZigBee standard protocol, and the ZigBee device uses the complete target version firmware to replace the currently operated version firmware to complete upgrading. The mode of using differential package is different from the mode of full upgrade in the 'starting point'. The full upgrade can be directly carried out without an old version upgrade package, so that the full upgrade can be applied to ZigBee devices of all versions, and the differential upgrade package is used between two determined versions. The size of the differential upgrade package may vary greatly due to differences between versions, but is generally much smaller than the entire package, while the size of the full upgrade package is determined by the entire package, and the amount of data is generally large. The use of simultaneous differential packetization has a large limitation and cannot be applied to all versions as full-size packets. Therefore, the differential packet is usually required to be detected and verified when in use so as to ensure the normal operation of the upgraded ZigBee device. The upgrade security of the differential upgrade package is high.
203. And the server sends the differential firmware to the ZigBee gateway.
And the server sends the differential firmware to a ZigBee gateway so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and finishes upgrading. The ZigBee gateway is a coordinator node or a router node in the ZigBee network, has the functions of being responsible for building, maintaining and managing the network, is responsible for forwarding data packets, and relays communication between terminal ZigBee equipment and a server. The work performed by a specific server can refer to the process of generating and transmitting differential firmware to the ZigBee gateway, which mainly includes 3. And after receiving the differential firmware, the ZigBee gateway sends the differential firmware to the ZigBee device according to the ZigBee protocol, so that the ZigBee device finishes the upgrading process according to the differential firmware.
Referring to fig. 4, an embodiment of a ZigBee device upgrading method according to the present application includes: step 401-step 402.
401. The ZigBee gateway receives the differential firmware.
The ZigBee gateway receives differential firmware, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through running a differential algorithm, the current version firmware is a firmware currently used by the ZigBee device, and the target version firmware is obtained by upgrading the current version firmware.
The ZigBee gateway has the capability of receiving data sent by the server, and can perform data interaction with the ZigBee device through the ZigBee protocol at the same time, as described in the corresponding embodiment of fig. 2. Meanwhile, in order to ensure that the ZigBee device is normally upgraded, the ZigBee gateway can verify the differential firmware to determine the validity of the differential firmware, and then determine whether the differential firmware is accepted, if the version of the differential firmware cannot be applied to upgrading of the ZigBee device connected with the ZigBee gateway, the ZigBee gateway can also return corresponding error information to the server, and the specific details are not limited herein.
402. And the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol.
And the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol so that the ZigBee device can be upgraded according to the differential firmware. The ZigBee gateway sends the differential firmware to the ZigBee device after receiving the differential firmware, and the sending process of the differential firmware follows the ZigBee protocol, and the method specifically comprises the following steps:
(1) the ZigBee gateway sends specific information of the differential firmware to the ZigBee device, so that the ZigBee device determines whether to be upgraded according to the differential firmware.
(2) And the ZigBee device sends a data request to the ZigBee gateway, wherein the data request comprises the size of the data block which can be received by the ZigBee device.
(3) And the ZigBee gateway decomposes the differential firmware into data blocks with the size acceptable by the ZigBee device according to the data request information, and sends one data block to the differential firmware.
(4) And after receiving the data block, the ZigBee device sends a data request to the ZigBee gateway again to obtain the next data block.
(5) And the ZigBee gateway sends the next data block. And repeating the steps (3) and (4) for multiple times until the differential firmware transmission is completed.
The data transmission process of the ZigBee protocol is completed, and since the data transmission process follows the ZigBee protocol, those skilled in the art can easily know the specific transmission process, the detailed description is omitted here. Meanwhile, it can be understood that the data requested by the ZigBee device may also be a data page including a plurality of data blocks, thereby reducing the number of data request requests sent by the ZigBee device.
Because the difference upgrading packet is smaller than the full upgrading packet, under the condition that the data amount required by the ZigBee device every time is not changed, the data requiring request times required to be sent by the ZigBee device are less, and the power consumption of the ZigBee device in the upgrading process is reduced.
According to the technical scheme, the embodiment of the application has the following advantages: the method comprises the steps of differentiating a new version firmware file to be transmitted and a current version file operated by ZigBee equipment to obtain a differential upgrade package, and transmitting the differential upgrade package to the ZigBee equipment according to a ZigBee protocol, so that the ZigBee equipment can complete upgrading only by asking for the differential upgrade package, and the volume of the differential upgrade package is smaller than that of the complete new version firmware file, so that the frequency of asking for data from a ZigBee gateway by the ZigBee equipment is reduced in the transmission process of the differential upgrade package, the power consumption of the ZigBee equipment in the transmission process is reduced, and the practicability of the ZigBee equipment is improved.
Referring to fig. 5, an embodiment of a ZigBee device upgrading method according to the present application includes: 501-503.
501. The ZigBee device receives the differential firmware.
The ZigBee equipment receives differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by the ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware; the ZigBee gateway may be as the ZigBee gateway in the corresponding embodiment of fig. 2, and is configured to receive the differential firmware from the server, and send the differential firmware to the ZigBee device that can perform data interaction through the ZigBee communication protocol.
The ZigBee communication protocol is a novel communication protocol, is a wireless network protocol for low-speed short-distance transmission, has the characteristics of low speed, low power consumption, low cost, support of a large number of network nodes and the like, and can be installed on furniture or electric appliances such as security doors, lighting systems, refrigerators, gas stoves and the like so as to realize the effect of achieving the interconnection of everything for the intelligent control of household products. And the differential firmware is obtained by the server according to the version firmware currently operated by the ZigBee device and the version firmware to be upgraded. The receiving process of the ZigBee device is completed through a ZigBee communication module arranged on the ZigBee device, the specific data transmission process is similar to the process described in step 402 in the corresponding embodiment of the above FIG. 4, the differential firmware is decomposed into a plurality of data blocks or a plurality of data pages to be transmitted in sequence according to the ZigBee communication protocol, and after the ZigBee device receives the differential firmware, the differential firmware is stored according to the offset addresses of the data blocks or the data pages, so that the complete differential firmware is obtained.
502. The ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain the target version firmware.
The ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain a target version firmware; after receiving the differential firmware, the ZigBee device runs a differential algorithm, wherein the differential algorithm corresponds to a differential algorithm used when the server generates the differential firmware, but the server side uses the differential algorithm to obtain the differential packet, and the ZigBee device side reduces the differential packet. The difference algorithm may be written into a storage space of the ZigBee device when the ZigBee device leaves a factory, so as to facilitate upgrading, or may be received from the ZigBee gateway after the ZigBee device establishes a stable network connection with the gateway, and the specific details are not limited herein.
503. And the ZigBee equipment is upgraded according to the target version firmware.
And the ZigBee equipment is upgraded according to the target version firmware. And the ZigBee device can be upgraded after acquiring the target version firmware according to the current version firmware and the differential firmware. In order to ensure the security of the upgrading process, referring to fig. 6, the specific implementation process of the ZigBee device mainly includes that the ZigBee device receives a differential firmware from the gateway, and uses a differential algorithm to obtain a target version firmware, and then upgrades the target version firmware according to the target version firmware, the ZigBee device can verify the target version firmware in the specific upgrading process, upgrade is performed after the security of the target version firmware is determined, the ZigBee device can replace the current version firmware with the target version firmware in the upgrading process, and can also set an operation address as the target version firmware, and the specific implementation process is not limited herein.
According to the technical scheme, the embodiment of the application has the following advantages: the method comprises the steps of differentiating a new version firmware file to be transmitted and a current version file operated by ZigBee equipment to obtain a differential upgrade package, and transmitting the differential upgrade package to the ZigBee equipment according to a ZigBee protocol, so that the ZigBee equipment can complete upgrading only by asking for the differential upgrade package, and the volume of the differential upgrade package is smaller than that of the complete new version firmware file, so that the frequency of asking for data from a ZigBee gateway by the ZigBee equipment is reduced in the transmission process of the differential upgrade package, the power consumption of the ZigBee equipment in the transmission process is reduced, and the practicability of the ZigBee equipment is improved.
To better explain the scheme, the following describes the scheme from a server, a ZigBee gateway, and multiple sides of a ZigBee device, please refer to fig. 7, and an embodiment of the upgrading method for a ZigBee device in the present application includes: 701-710.
701. The server acquires the target version firmware and the current version firmware.
702. And the server operates a differential algorithm according to the target version firmware and the current version firmware to obtain differential firmware.
The steps 701 and 702 are similar to the steps 201 and 202 in the corresponding embodiment of fig. 2, and are not described in detail here, it is to be noted that, since the ZigBee device is an embedded device, the differential algorithm used should be adjusted accordingly to ensure that the obtained differential firmware can be normally used on the ZigBee device.
703. The server compresses the differential firmware.
The server compresses the differential firmware. After the upgraded firmware is obtained, the server compresses the firmware to further reduce the volume of a firmware package, and further reduces the data volume required to be transmitted when the ZigBee gateway interacts with the ZigBee device. The data request times required to be sent in the upgrading process of the ZigBee equipment are reduced, and the implementation of the scheme is improved.
704. The server judges whether an upgrading triggering instruction exists or not.
After obtaining the differential firmware available for upgrading, the server may interact with the user to determine whether to perform data transmission to perform an upgrading process, for example, to send version upgrading information to a mobile phone or an APP used by the user, so that the user determines whether to need upgrading according to the version upgrading information, and if the user sends an upgrading trigger instruction to the server, it indicates that the user has an upgrading requirement, and the data should be sent to the ZigBee device.
705. The server divides the differential firmware into a plurality of data blocks.
In the actual use process, the situation that the storage capacity of the ZigBee gateway is poor and the complete differential firmware cannot be stored possibly exists, so that the differential firmware can be divided into a plurality of data blocks to adapt to the storage capacity of the ZigBee gateway, and the divided data blocks are sent to the ZigBee gateway, so that the ZigBee gateway sends the data blocks to the ZigBee device in batches, and then upgrading is completed.
706. The server sends a plurality of data blocks to the ZigBee gateway
And the server sends the divided data blocks to the ZigBee gateway, so that the ZigBee gateway stores the received data blocks and sends the data blocks to the ZigBee device.
707. And the ZigBee gateway sends the differential firmware to the ZigBee device according to the ZigBee protocol.
After the ZigBee gateway receives the differential firmware, the differential firmware information can be sent to the ZigBee device, so that the ZigBee device can verify the differential firmware, and if the differential firmware is verified correctly, the ZigBee device sends a data acquisition request to the ZigBee gateway, and then triggers the sending process of the ZigBee gateway to the differential firmware. The ZigBee gateway can also execute a verification process of the differential firmware, and the differential firmware is sent to the ZigBee device after verification is completed. The specific process is similar to step 402 in the embodiment corresponding to fig. 4, and is not described here again. It should be noted that, when the data stored in the ZigBee gateway is some data blocks constituting the differential firmware, after the ZigBee gateway completes sending the stored data blocks, the server needs to delete the sent data blocks, and then obtain other data blocks again and send the data blocks until the differential firmware is completely sent. The specific data sending form of the ZigBee gateway to the ZigBee device may be sent in a data page form, or in a data block form, and is specifically determined according to the model of the ZigBee device, it can be understood that the ZigBee gateway may send the differential firmware to a plurality of ZigBee devices according to a ZigBee protocol, and due to the property of the ZigBee network, one ZigBee gateway may have a plurality of ZigBee devices having a data interaction relationship with the ZigBee gateway, and therefore, in the sending process, the ZigBee gateway may send the differential firmware to each ZigBee device one by one, or may send the differential firmware to a plurality of ZigBee devices at the same time, and is specifically determined according to an actual situation, and the present disclosure is not limited herein.
708. And the ZigBee device decompresses the differential firmware.
Since the differential firmware is compressed differential firmware, before the differential firmware is used, the differential firmware needs to be decompressed to obtain decompressed differential firmware, so that the differential firmware is convenient to use, a decompression algorithm used in a decompression process corresponds to an algorithm used when the compressed differential firmware is generated by a server, and meanwhile, the decompression algorithm can be written into the ZigBee device in advance when the ZigBee device leaves a factory, or can be sent to the ZigBee device by the ZigBee gateway after the ZigBee device establishes network connection with a network manager, and the specific details are not limited herein.
709. The ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain the target version firmware.
The ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain the target version firmware. The target firmware is the firmware to which the ZigBee device needs to be upgraded, and this step is similar to step 502 in the implementation corresponding to fig. 5, and is not described here in detail.
710. And the ZigBee equipment is upgraded according to the target version firmware.
And the ZigBee equipment is upgraded according to the target version firmware. After the ZigBee device obtains the target version firmware, the ZigBee device can verify the target version firmware and judge whether the differential algorithm is correctly executed to verify whether the firmware can be normally used. And if the verification is successful, upgrading according to the target version firmware. The specific upgrading mode comprises the following steps:
(1) and the ZigBee device replaces the current version firmware with the target version firmware. The ZigBee device can copy the target version firmware and cover the target version firmware over the current version firmware, so that the firmware used by the ZigBee device is replaced by the target version firmware to complete upgrading.
(2) And the ZigBee device modifies the firmware operating address, and modifies the firmware operating address originally pointing to the firmware of the current version into the storage address of the firmware of the current target version in the ZigBee device, so that the operating firmware in a use state is the firmware of the target version, and the upgrading process is completed. In a specific using process, the ZigBee device can select an upgrading mode according to the self condition, and the specific use is not limited herein.
Referring to fig. 8, an embodiment of the present application provides a server including:
an obtaining unit 801, configured to obtain a target version firmware and a current version firmware, where the current version firmware is a firmware currently used by a ZigBee device, and the target version firmware is obtained by upgrading the current version firmware;
a difference unit 802, configured to run a difference algorithm according to the target version firmware and the current version firmware to obtain a difference firmware;
a sending unit 803, configured to send the differential firmware to a ZigBee gateway, so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and completes upgrading.
In this embodiment, the flow executed by each unit is similar to the method flow described in the embodiment corresponding to fig. 2, and is not described again here.
Referring to fig. 9, an embodiment of the present application provides a ZigBee gateway including:
a receiving unit 901, configured to receive a differential firmware, where the differential firmware is obtained by a server by running a differential algorithm according to a target version firmware and a current version firmware, the current version firmware is a currently used firmware of a ZigBee device, and the target version firmware is obtained by upgrading the current version firmware;
a sending unit 902, configured to send the differential firmware to the ZigBee device according to a ZigBee protocol, so that the ZigBee device is upgraded according to the differential firmware.
In this embodiment, the process executed by each unit in the ZigBee gateway is similar to the method process described in the embodiment corresponding to fig. 4, and is not described herein again.
Referring to fig. 10, an embodiment of the present application provides a ZigBee device including:
the receiving unit 1001 is configured to receive a differential firmware, where the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server by running a differential algorithm according to a target version firmware and a current version firmware, the current version firmware is a firmware currently used by a ZigBee device, and the target version firmware is obtained by upgrading the current version firmware;
a difference unit 1002, configured to run a difference algorithm according to the current version firmware and the difference firmware to obtain a target version firmware;
an upgrading unit 1003, configured to upgrade according to the target version firmware.
In this embodiment, the process executed by each unit in the ZigBee device is similar to the method process described in the embodiment corresponding to fig. 5, and is not described herein again.
Fig. 11 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 1100 may include one or more Central Processing Units (CPUs) 1101 and a memory 1105, where the memory 1105 stores one or more application programs or data.
In this embodiment, the specific functional module division in the central processing unit 1101 may be similar to the functional module division manner of the units such as the obtaining unit, the difference unit, and the sending unit described in fig. 8, and is not described herein again.
The server 1100 may also include one or more power supplies 1102, one or more wired or wireless network interfaces 1103, one or more input-output interfaces 1104, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 1101 may perform the operations performed by the server in the embodiment shown in fig. 2, which are not described herein again.
Fig. 12 is a schematic structural diagram of a ZigBee gateway according to an embodiment of the present application, where the server 1200 may include one or more Central Processing Units (CPUs) 1201 and a memory 1205, and one or more applications or data are stored in the memory 1205.
In this embodiment, the specific functional module division in the central processing unit 1201 may be similar to the functional module division of the receiving unit and the sending unit described in fig. 9, and details are not repeated here.
The memory 1205 may be volatile memory or persistent storage, among others. The program stored in the memory 1205 may include one or more modules, each of which may include a sequence of instructions operating on a server. Further, the central processor 1201 may be configured to communicate with the memory 1205, to execute a sequence of instruction operations in the memory 1205 on the server 1200.
The server 1200 may also include one or more power supplies 1202, one or more wired or wireless network interfaces 1203, one or more input-output interfaces 1204, and/or one or more operating systems such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 1201 may perform the operations performed by the ZigBee gateway in the embodiment shown in fig. 4, which are not described herein again.
Fig. 13 is a schematic structural diagram of a ZigBee device according to an embodiment of the present application, where the server 1300 may include one or more Central Processing Units (CPUs) 1301 and a memory 1305, where the memory 1305 stores one or more application programs or data.
In this embodiment, the specific functional module division in the central processing unit 1301 may be similar to the functional module division of the receiving unit, the difference unit, the upgrading unit, and the like described in fig. 13, and details thereof are not repeated here.
The server 1300 may also include one or more power supplies 1302, one or more wired or wireless network interfaces 1303, one or more input-output interfaces 1304, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 1301 may perform the operations performed by the ZigBee device in the embodiment shown in fig. 5, which are not described herein again.
The embodiment of the application also provides a computer storage medium, which is used for storing computer software instructions used for the above and comprises a program for executing the program designed for the ZigBee device upgrading method.
The ZigBee device upgrading method may be as the ZigBee device upgrading method described in the foregoing fig. 2, fig. 4, fig. 5, or fig. 7.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer software instructions, and the computer software instructions may be loaded by a processor to implement a flow of the ZigBee device upgrading method in any one of fig. 2, fig. 4, fig. 5, or fig. 7.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer ZigBee device (which may be a personal computer, a server, or a network ZigBee device, etc.) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
Claims (25)
1. A ZigBee device upgrading method is characterized by comprising the following steps:
the method comprises the steps that a server obtains a target version firmware and a current version firmware, wherein the current version firmware is a firmware used by ZigBee equipment at present, and the target version firmware is obtained by upgrading the current version firmware;
the server operates a differential algorithm according to the target version firmware and the current version firmware to obtain differential firmware;
and the server sends the differential firmware to a ZigBee gateway so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and finishes upgrading.
2. The ZigBee device upgrade method according to claim 1, wherein the server sends the differential firmware to a ZigBee gateway, before the method further comprises:
the server judges whether an upgrading triggering instruction exists or not, wherein the upgrading triggering instruction is sent by a user;
and if the upgrading triggering instruction exists, executing the step that the server sends the differential firmware to the ZigBee gateway.
3. The ZigBee device upgrade method according to claim 1, wherein the server sends the differential firmware to a ZigBee gateway, including;
the server divides the differential firmware into a plurality of data blocks;
and the server sends the data blocks to the ZigBee gateway.
4. The ZigBee device upgrading method of claim 1, wherein the ZigBee device is an embedded device.
5. The ZigBee device upgrade method according to claim 1, wherein before the server sends the differential firmware to the ZigBee gateway, the method further comprises:
the server compresses the differential firmware.
6. A ZigBee device upgrading method is characterized by comprising the following steps:
the ZigBee gateway receives differential firmware, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through running a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
and the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol so that the ZigBee device can be upgraded according to the differential firmware.
7. The ZigBee device upgrading method according to claim 6, wherein the ZigBee gateway can simultaneously transmit the differential firmware to a plurality of ZigBee devices according to a ZigBee protocol.
8. The ZigBee device upgrading method of claim 6, wherein the ZigBee gateway receiving the differential firmware comprises: the ZigBee gateway receives differential firmware sent in the form of a plurality of data blocks.
9. The ZigBee device upgrading method of claim 6, wherein the ZigBee device is an embedded device.
10. The ZigBee device upgrading method of claim 6, wherein the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol, and the method comprises the following steps:
and the ZigBee gateway sends the differential firmware to the ZigBee device in a data page mode according to a ZigBee protocol.
11. The ZigBee device upgrading method of claim 6, wherein the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol, comprising
And the ZigBee gateway sends the differential firmware to the ZigBee device in a data block form according to a ZigBee protocol.
12. A ZigBee device upgrading method is characterized by comprising the following steps:
the ZigBee equipment receives differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by the ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
the ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware to obtain a target version firmware;
and the ZigBee equipment is upgraded according to the target version firmware.
13. The ZigBee device upgrading method of claim 12,
the ZigBee device is upgraded according to the target version firmware, and the upgrading method comprises the following steps:
and the ZigBee device replaces the current version firmware with the target version firmware, or the ZigBee device modifies a firmware operating address into a storage address of the target version firmware.
14. The ZigBee device upgrading method according to claim 12, wherein the ZigBee device is an embedded device.
15. The ZigBee device upgrading method according to claim 12, wherein the ZigBee device runs a differential algorithm according to the current version firmware and the differential firmware, and before the method further comprises:
and the ZigBee device decompresses the differential firmware.
16. The ZigBee device upgrading method according to claim 12, wherein the ZigBee device receives differential firmware, comprising: the ZigBee device receives the differential firmware transmitted in the form of a data page.
17. The ZigBee device upgrading method according to claim 12, wherein the ZigBee device receives differential firmware, comprising: the ZigBee device receives the differential firmware transmitted in the form of a data block.
18. A server, comprising:
the acquisition unit is used for acquiring a target version firmware and a current version firmware, wherein the current version firmware is a firmware currently used by the ZigBee device, and the target version firmware is obtained by upgrading the current version firmware;
the difference unit is used for operating a difference algorithm according to the target version firmware and the current version firmware to obtain difference firmware;
and the sending unit is used for sending the differential firmware to the ZigBee gateway so that the ZigBee gateway sends the differential firmware to the ZigBee device according to a ZigBee protocol and finishes upgrading.
19. A ZigBee gateway, comprising:
the receiving unit is used for receiving differential firmware, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
and the transmitting unit is used for transmitting the differential firmware to the ZigBee device according to a ZigBee protocol so that the ZigBee device can be upgraded according to the differential firmware.
20. A ZigBee device, comprising:
the receiving unit is used for receiving differential firmware, the differential firmware is sent by a ZigBee gateway according to a ZigBee protocol, the differential firmware is obtained by a server according to a target version firmware and a current version firmware through a differential algorithm, the current version firmware is a firmware currently used by ZigBee equipment, and the target version firmware is obtained by upgrading the current version firmware;
the difference unit is used for operating a difference algorithm according to the current version firmware and the difference firmware to obtain a target version firmware;
and the upgrading unit is used for upgrading according to the target version firmware.
21. A server, comprising:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory being executable on the server to perform the method of any of claims 1-5.
22. A ZigBee gateway, comprising:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory being executed on the ZigBee gateway to perform the method of any one of claims 6 to 11.
23. A ZigBee device, comprising:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory being executable on the ZigBee device to perform the method of any one of claims 12 to 18.
24. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-18.
25. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010354962.2A CN111585801A (en) | 2020-04-29 | 2020-04-29 | ZigBee device upgrading method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010354962.2A CN111585801A (en) | 2020-04-29 | 2020-04-29 | ZigBee device upgrading method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111585801A true CN111585801A (en) | 2020-08-25 |
Family
ID=72116951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010354962.2A Pending CN111585801A (en) | 2020-04-29 | 2020-04-29 | ZigBee device upgrading method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111585801A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988211A (en) * | 2021-02-25 | 2021-06-18 | 广东省安心加科技有限公司 | Equipment upgrading method and control device based on Zigbee |
CN113407934A (en) * | 2021-08-20 | 2021-09-17 | 博流智能科技(南京)有限公司 | Safe multi-firmware fusion system and multi-firmware fusion control method |
CN114090114A (en) * | 2021-10-28 | 2022-02-25 | 中国航发控制系统研究所 | Software loading control method and system for airborne equipment |
CN115885256A (en) * | 2020-10-16 | 2023-03-31 | Lg电子株式会社 | Software update gateway and method for updating software of IOT devices |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847067A (en) * | 2016-05-25 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for upgrading Zigbee equipment |
CN107066303A (en) * | 2017-05-04 | 2017-08-18 | 深圳市欧瑞博电子有限公司 | Firmware comparison method and device |
CN107104836A (en) * | 2017-05-04 | 2017-08-29 | 深圳市欧瑞博电子有限公司 | The firmware upgrade method and device of Zigbee equipment |
CN108345466A (en) * | 2018-05-09 | 2018-07-31 | 烽火通信科技股份有限公司 | A kind of ONU upgrade methods and system |
CN108833526A (en) * | 2018-06-08 | 2018-11-16 | 太仓市同维电子有限公司 | A kind of intelligent gateway upgrade method |
-
2020
- 2020-04-29 CN CN202010354962.2A patent/CN111585801A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847067A (en) * | 2016-05-25 | 2016-08-10 | 北京小米移动软件有限公司 | Method and device for upgrading Zigbee equipment |
US20170344357A1 (en) * | 2016-05-25 | 2017-11-30 | Beijing Xiaomi Mobile Software Co., Ltd. | Method, apparatus, and computer-readable storage medium for upgrading a zigbee device |
CN107066303A (en) * | 2017-05-04 | 2017-08-18 | 深圳市欧瑞博电子有限公司 | Firmware comparison method and device |
CN107104836A (en) * | 2017-05-04 | 2017-08-29 | 深圳市欧瑞博电子有限公司 | The firmware upgrade method and device of Zigbee equipment |
CN108345466A (en) * | 2018-05-09 | 2018-07-31 | 烽火通信科技股份有限公司 | A kind of ONU upgrade methods and system |
CN108833526A (en) * | 2018-06-08 | 2018-11-16 | 太仓市同维电子有限公司 | A kind of intelligent gateway upgrade method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115885256A (en) * | 2020-10-16 | 2023-03-31 | Lg电子株式会社 | Software update gateway and method for updating software of IOT devices |
CN112988211A (en) * | 2021-02-25 | 2021-06-18 | 广东省安心加科技有限公司 | Equipment upgrading method and control device based on Zigbee |
CN113407934A (en) * | 2021-08-20 | 2021-09-17 | 博流智能科技(南京)有限公司 | Safe multi-firmware fusion system and multi-firmware fusion control method |
CN114090114A (en) * | 2021-10-28 | 2022-02-25 | 中国航发控制系统研究所 | Software loading control method and system for airborne equipment |
CN114090114B (en) * | 2021-10-28 | 2023-05-23 | 中国航发控制系统研究所 | Software loading control method and system of airborne equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111585801A (en) | ZigBee device upgrading method and related device | |
CN110032512B (en) | Debugging method of small program, related equipment and terminal | |
CN102685210B (en) | Wireless routing equipment, mobile terminal, management system and method | |
CN102355500B (en) | Service push method and device | |
CN105471686A (en) | Terminal control method, terminal control apparatus and system | |
CN109041140B (en) | Method for rapidly switching wireless network, intelligent hardware and terminal equipment | |
CN110933170A (en) | Multi-device linkage control method and device of ZigBee gateway and storage medium | |
CN104702665A (en) | Information sharing method and information sharing device | |
CN110635957B (en) | Method and device for network distribution of Internet of things equipment and mobile terminal | |
CN104270204A (en) | Testing method and testing equipment for wireless communication module | |
CN113168334A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN102412993A (en) | Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface | |
CN105959188B (en) | Method and device for controlling user terminal to be on-line | |
CN105245418A (en) | Method, device and system for controlling smart home devices | |
CN103345828A (en) | Method and system for controlling computer through intelligent terminal | |
CN115175152A (en) | Intelligent device binding method and device, storage medium and electronic device | |
CN105511275A (en) | Method and device for controlling intelligent electric appliance | |
CN105530268A (en) | Heterogeneous protocol interconnection method and controller | |
CN113596792A (en) | Binding method and device of electronic equipment, storage medium and electronic device | |
CN112333295A (en) | Multipath connection method and device, electronic equipment and storage medium | |
CN111682965A (en) | FOTA controller | |
US20130097228A1 (en) | Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device | |
CN110769399B (en) | Internet of things equipment connection networking method, internet of things equipment system and information access and transmission method | |
CN102891888B (en) | A kind of data access method and relevant device, system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200825 |
|
RJ01 | Rejection of invention patent application after publication |