KR20130015243A - Apparatus and method for upgrading firmware of zigbee module - Google Patents
Apparatus and method for upgrading firmware of zigbee module Download PDFInfo
- Publication number
- KR20130015243A KR20130015243A KR1020110077133A KR20110077133A KR20130015243A KR 20130015243 A KR20130015243 A KR 20130015243A KR 1020110077133 A KR1020110077133 A KR 1020110077133A KR 20110077133 A KR20110077133 A KR 20110077133A KR 20130015243 A KR20130015243 A KR 20130015243A
- Authority
- KR
- South Korea
- Prior art keywords
- firmware
- zigbee
- upgrade
- image
- zigbee device
- Prior art date
Links
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Abstract
According to the disclosure herein, a method of upgrading the firmware of a Zigbee device to the OTA method is provided. The method includes receiving a firmware image from a server; Identifying an attribute associated with an over-the-air upgrade; If the attribute is a first value, transmitting the firmware image or firmware extracted from the firmware image to at least one Zigbee device; If the attribute is the second value, the method may include upgrading the firmware by using the firmware image.
Description
The present invention relates to a Zigbee (Zigbee) device and a method of upgrading the firmware (Firmware), and more particularly to a method and apparatus for upgrading the firmware of a Zigbee device using an over-the-air (OTA) method.
Recently, interest in green energy and technology is increasing, and in response to global environmental problems, smart grid (SG) technology is emerging as an important eco-friendly technology by inducing efficient use of energy. SG can be understood as the informatization and networking of the power grid, which enables the reception and reprocessing of power-related information at home. Therefore, the necessity of embedding the SG function in home appliances is being discussed, and the actual implementation / demonstration projects are in progress at home and abroad.
ZigBee is a standard for communication between devices in the SG network and plays a key role in device control and information exchange. Zigbee communication hardware consists of CPU, memory, ROM, and the application program, Smart Energy Profile (SEP), may be upgraded according to the development stage or error correction may be required.
In the above case, conventionally, a method of upgrading firmware of a Zigbee device (Frimware, F / W) using a separate upgrade wired device has been generally used. However, there is a problem that takes a lot of cost and time when upgrading to the wired method. ZigBee devices are generally installed in a distributed manner, and all devices must be visited wherever they are installed in order to upgrade them. Or, it was proposed to upgrade distributed ZigBee devices in one place and to upgrade them at the same time.
In order to solve the above problems, a method for wirelessly upgrading ZigBee devices has been proposed. However, in the conventional method, the firmware to be upgraded is sequentially transmitted from the Zigbee coordinator to the end device via the router. In other words, one Zigbee device is connected to the Zigbee Coordinator in order to receive firmware at a time. As a result, when the number of end devices increased, much time was required to upgrade all the end devices in the Zigbee network.
Accordingly, an object of the present invention is to allow the upgrade of several ZigBee devices at the same time by transmitting the firmware image to other ZigBee devices that have requested a firmware upgrade. That is, the purpose of the present invention is to reduce the time and cost of ZigBee network maintenance by reducing the firmware upgrade time of ZigBee devices.
In order to achieve the above object, according to one disclosure in the present specification, a method of upgrading a firmware of a Zigbee device to an OTA method is provided. The method includes receiving a firmware image from a server; Identifying an attribute associated with an over-the-air upgrade; If the attribute is a first value, transmitting the firmware image or firmware extracted from the firmware image to at least one Zigbee device; If the attribute is the second value, the method may include upgrading the firmware by using the firmware image.
If the attribute is a first value, the method may further include upgrading firmware by using the firmware image.
The attribute may be FloodUpgrade.
The value of the attribute may be set at the server.
The transmitting of the firmware image to the at least one ZigBee device may preferentially transmit to a ZigBee device whose wireless channel state meets a predetermined criterion.
The predetermined criterion may include one or more of RF received power, noise and interference levels of a wireless channel, and frame error rate.
The transmitting of the firmware image to the at least one ZigBee device may be performed by establishing a server / client relationship with the at least one ZigBee device.
The at least one ZigBee device may be a ZigBee device which transmits a firmware upgrade request according to a preset request period, or may be a ZigBee device which transmits a firmware upgrade request in response to a previously received firmware upgrade notification.
The firmware upgrade notification may be an Image Notify Command.
The firmware upgrade request may be a Query Next Image Request Command.
According to another disclosure herein, a Zigbee device is provided to achieve the above object. The device identifies attributes associated with over-the-air upgrade and, if the attribute is a first value, transmits the firmware image or firmware extracted from the firmware image to at least one ZigBee device. And a controller for controlling to upgrade firmware by using the firmware image when the attribute is a second value; The wireless communication unit may receive the firmware image from the server under the control of the controller, and transmit the firmware image to at least one Zigbee device.
The attribute may be FloodUpgrade.
The controller may control the at least one Zigbee device to establish a server / client relationship and transmit the firmware image or firmware extracted from the firmware image.
The controller may be configured to transmit the firmware or firmware extracted from the firmware image to a ZigBee device having a wireless channel state among the at least one ZigBee device satisfying a predetermined criterion.
According to the embodiment of the present invention, it is possible to reduce the time for upgrading the firmware of all the Zigbee devices constituting the Zigbee network. In addition, adding file compression and decompression to a ZigBee device that delivers firmware has an additional effect of saving memory of an end device.
1 is a diagram exemplarily illustrating a network topology formed by a Zigbee system.
2 is a structural diagram of a protocol stack showing an area of data processed in a Zigbee system.
3 is a conceptual diagram of a server and a client of an OTA upgrade.
4 is a flowchart illustrating an example of signaling for firmware upgrade in an OTA scheme.
5 is a conceptual diagram of an OTA upgrade according to the prior art.
6 is a conceptual diagram of an OTA upgrade according to an embodiment of the present invention.
7 is a flowchart showing a method according to the first embodiment of the present invention.
8 is a flowchart illustrating a method according to a second embodiment of the present invention.
9 is a block diagram schematically illustrating a Zigbee device according to an embodiment of the present invention.
It is to be noted that the technical terms used herein are merely used to describe particular embodiments, and are not intended to limit the present invention. It is also to be understood that the technical terms used herein are to be interpreted in a sense generally understood by a person skilled in the art to which the present invention belongs, Should not be construed to mean, or be interpreted in an excessively reduced sense. In addition, when the technical terms used herein are incorrect technical terms that do not accurately express the spirit of the present invention, they should be replaced with technical terms that can be understood correctly by those skilled in the art. In addition, the general terms used in the present invention should be interpreted according to a predefined or prior context, and should not be construed as being excessively reduced.
Also, the singular forms "as used herein include plural referents unless the context clearly dictates otherwise. In the present application, the term "comprising" or "comprising" or the like should not be construed as necessarily including the various elements or steps described in the specification, Or may be further comprised of additional components or steps.
In addition, the suffixes "module" and "unit" for the components used herein are given or mixed in consideration of ease of specification, and do not have distinct meanings or roles from each other.
Furthermore, terms including ordinals such as first, second, etc. used in this specification can be used to describe various elements, but the elements should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals refer to like or similar elements throughout the several views, and redundant description thereof will be omitted.
In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. It is to be noted that the accompanying drawings are only for the purpose of facilitating understanding of the present invention, and should not be construed as limiting the scope of the present invention with reference to the accompanying drawings.
FIG. 1 is a diagram illustrating a network topology formed by a Zigbee system.
Referring to FIG. 1, three network topologies that a Zigbee system composed of a plurality of Zigbee devices can be formed by processing a network protocol are illustrated. FIG. 1A illustrates a star network. FIG. 1B illustrates a mesh type network, and FIG. 1C illustrates a cluster tree type network.
The star network may operate ZigBee devices to maintain battery life for a long time, and the mesh network may form one or more data transmission paths in a peer-to-peer form and thus have high data reliability and connection recognition rate. . The cluster tree type network is a complex type of star type and mesh type and can implement the advantages of both networks.
In FIG. 1, a Zigbee device denoted by "F" means a Full Function Device (FFD) module, and a Zigbee device denoted by "R" means an RFD (Reduced Function Device) module. The Zigbee device denoted by "means a PAN Personal Area Network coordinator module.
The FFD module performs functions such as network initialization, node management, and node information storage. The FFD module for allowing the remaining Zigbee devices to configure any one of the three networks described above is called a "PAN coordinator module." .
The FFD module is a module capable of performing a coordinator function. The FFD module may configure the three types of networks, and may communicate with all of the FFD module or the RFD module. In order to perform the coordinator function, since a relatively large amount of power is consumed, power is usually supplied by wire.
On the other hand, the RFD module is a Zigbee device that does not perform a coordinator function, and is a coordinating target of the FFD module.
That is, the RFD module communicates only with the FFD module and is dedicated to the network function, thereby making it possible to use a stack structure having a minimum size and to save computational / memory resources.
Therefore, since the RFD module finds a PAN coordinator module and transmits data, the RFD module can immediately disconnect the connection and enter a sleep mode, so the power consumption is very low and can be operated for a long time even with battery power.
The
That is, the configuration of the network, the division of roles of the ZigBee device, and the like differ depending on which network service the
2 is a structural diagram of a protocol stack representing an area of data processed in a Zigbee system.
As can be seen with reference to Figure 2, the ZigBee protocol stack is largely divided into a physical (PHY) layer (105) (105), a media access control (MAC)
The
The FFD performs functions such as network initialization, node management, and node information storage, and can communicate with all other FFDs or RFDs. In addition, the FFD that allows the remaining Zigbee devices to configure any one of the three nodes described above is called a personal area network (PAN) coordinator.
The PAN coordinator (hereinafter, coordinator) configures a PAN identified by a channel and a PAN ID, and assigns a network address to a router or an RFD.
The RFD does not perform a coordinator function and a routing function, and is a Zigbee device that operates as an end device. The RFD may be a coordinator and may communicate with a router or coordinator. That is, the RFD may participate in a PAN configured with the same channel and PAN ID.
The FFD, which is controlled by the coordinator and processes a routing path and delivers data to the RFD, is called a router. The router participates in a PAN composed of the same channel and PAN ID, and assigns a network address to another router or RFD that has not yet participated in the PAN to participate in the PAN.
3 is a conceptual diagram of a server and a client of an OTA upgrade.
A Zigbee network is generally composed of a coordinator and a router and end devices. Depending on the size of the network, many routers will be required around the end devices to reduce power consumption for each device, expand the range of communication and miniaturize the modules. In order to maintain and maintain such a network, it is necessary to replace the firmware (Firmware, F / W) of the Zigbee device. In this case, over-the-air (OTA) services are used to wirelessly replace firmware of routers and end devices.
The Zigbee Alliance has defined an OTA Upgrade Cluster for the OTA service. A cluster is a set of associated commands and attributes, hereinafter referred to as attributes, which together define an interface to a particular function. For example, an OTA upgrade cluster defines the commands and attributes used to upgrade firmware in an OTA manner.
In FIG. 3, the
The coordinator and ZigBee devices in the ZigBee network may establish an upgrade server and upgrade client relationship using the OTA upgrade cluster.
4 is a flowchart illustrating an example of signaling for firmware upgrade in an OTA scheme.
The
The
The
Upon receiving the Query Next Image Request Command, the
When the
The
If the Upgrade End Request Command includes an indicator indicating the reception success, the
The
5 is a conceptual diagram of an OTA upgrade according to the prior art.
For convenience of explanation, it is assumed that the Zigbee network is composed of one
In this case, if the time taken for the firmware image to move from one device to another is T, the time at which the firmware image is transmitted from the
This is because the upgrade server and the upgrade client must be set in a 1: 1 relationship. Therefore, upgrades must be made sequentially from ED1 (100c) to ED4 (100c), in which case the router (100b) only serves as a path through which the firmware image is transmitted from the coordinator (100a) to the end device (100c).
6 is a conceptual diagram of an OTA upgrade according to an embodiment of the present invention.
According to the method proposed in this specification, a specific attribute is added to the OTA upgrade cluster, and the operation of the
If the value of the attribute is the first value, the
When the value of the attribute is the second value, the
The attribute is FloodUpgrade The first value may be 0xff and the second value may be 0x00.
Table 1 shows a ZigBee OTA upgrade cluster attribute including the FloodUpgrade.
32-bit integer
32-bit integer
16-bit integer
-0xffff
32-bit integer
16-bit integer
-0xffff
-0xff
-0xffff
-0xffff
-0xff
The attributes and their values in Table 1 may be delivered in the OTA upgrade signaling process or may be preset in each Zigbee device. When the values of the attributes of Table 1 are delivered in the OTA upgrade signaling process, they may be delivered through the commands described in FIG. 4 or may be delivered through a separately defined command or message.
As shown in FIG. 5, it is assumed that the Zigbee network is composed of one
When transmitting the firmware in the above manner, it takes 4 * T time to transmit the firmware to the four end devices (100c), the time required can be reduced by 50% compared to the conventional method described above in FIG.
7 is a flowchart showing a method according to the first embodiment of the present invention.
The
Upon receiving the firmware image, the
When the attribute related to the OTA upgrade is the first value as a result of checking the attribute related to the OTA upgrade, the received firmware image may be stored (S203). In this case, the first value may be 0xff.
After the step S203, the
The firmware upgrade request of the at least one
Upon receiving the firmware upgrade request, the
Also. When transmitting the firmware image, if the firmware image is a compressed file, the firmware image is decompressed and then transmitted. Alternatively, the firmware is preferably extracted from the firmware image and transmitted. This is because the
When the transmission of the firmware image is completed, the
As a result of checking the attribute related to the OTA upgrade, if the attribute related to the OTA upgrade is the second value, the own firmware is upgraded by using the received firmware image. At this time, the second value may be 0x00.
8 is a flowchart illustrating a method according to a second embodiment of the present invention.
The
Upon receiving the firmware image, the
As a result of checking the attribute related to the OTA upgrade, when the attribute related to the OTA upgrade is the first value, the received firmware image may be stored (S303). In this case, the first value may be 0xff.
After the process S303, the
The firmware upgrade request of the at least one
At this time, when the firmware upgrade request is received from two or more ZigBee devices, the
The determination of the wireless channel state may be based on one or more of RF received power, noise and interference levels of the wireless channel, and frame error rate.
As a result of the comparison, when any one of the
Also. When transmitting the firmware image, if the firmware image is a compressed file, the firmware image is decompressed and then transmitted. Alternatively, the firmware is preferably extracted from the firmware image and transmitted. This is because the
When the transmission of the firmware image is completed, the
As a result of checking the attribute related to the OTA upgrade, if the attribute related to the OTA upgrade is the second value, the own firmware is upgraded by using the received firmware image. At this time, the second value may be 0x00.
9 is a block diagram schematically illustrating a Zigbee device according to an embodiment of the present invention.
9, the
The
The
The
The
In addition, the
In addition, the
The various embodiments described so far may be implemented in a recording medium readable by a computer or similar device using, for example, software, hardware or a combination thereof.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, May be modified, modified, or improved.
100: Zigbee Gear
Claims (14)
Identifying an attribute associated with an over-the-air upgrade;
If the attribute is a first value, transmitting the firmware image or firmware extracted from the firmware image to at least one Zigbee device; And
If the attribute is a second value, upgrading firmware using the firmware image
How to upgrade the firmware of the Zigbee (Zigbee) device comprising an OTA method.
Upgrading the firmware of the Zigbee device to the OTA method further comprising the step of upgrading the firmware by using the firmware image.
The attribute is a method of upgrading the firmware of a Zigbee (Zigbee) device, characterized in that the FloodUpgrade OTA method.
The value of the attribute is a method of upgrading the firmware of a Zigbee device (Zigbee) device, characterized in that set in the server.
A method of upgrading the firmware of a Zigbee device to an OTA method, characterized in that the radio channel state is transmitted to a Zigbee device that satisfies a predetermined criterion.
Upgrade the firmware of a Zigbee device to the OTA method, which includes at least one of RF received power, noise and interference levels of the wireless channel, and frame error rate How to.
How to upgrade the firmware of the Zigbee (Zigbee) device to the OTA method, characterized in that by establishing a server / client relationship with the at least one Zigbee device.
The Zigbee device that has sent a firmware upgrade request at a preset request interval, or
Or a Zigbee device that transmits a firmware upgrade request in response to a previously received firmware upgrade notification.
The firmware upgrade notification is an image notify command. The method of upgrading a firmware of a Zigbee device to an OTA method.
The firmware upgrade request is a Query Next Image Request Command. The method of upgrading a firmware of a Zigbee device by OTA method.
If the attribute is a first value, transmit the firmware image or firmware extracted from the firmware image to at least one ZigBee device,
A control unit for controlling to upgrade the firmware by using the firmware image when the attribute is a second value; And
And a wireless communication unit which receives the firmware image from the server and transmits the firmware image to at least one Zigbee device under the control of the controller.
Zigbee device characterized by FloodUpgrade.
And establishing a server / client relationship with the at least one ZigBee device and controlling to transmit the firmware image or firmware extracted from the firmware image.
And controlling the ZigBee device to transmit the firmware or firmware extracted from the firmware image to a ZigBee device of which the wireless channel state among the at least one ZigBee device satisfies a predetermined criterion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110077133A KR20130015243A (en) | 2011-08-02 | 2011-08-02 | Apparatus and method for upgrading firmware of zigbee module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110077133A KR20130015243A (en) | 2011-08-02 | 2011-08-02 | Apparatus and method for upgrading firmware of zigbee module |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130015243A true KR20130015243A (en) | 2013-02-13 |
Family
ID=47895090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110077133A KR20130015243A (en) | 2011-08-02 | 2011-08-02 | Apparatus and method for upgrading firmware of zigbee module |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130015243A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425508A (en) * | 2013-05-27 | 2013-12-04 | 林永宗 | Zigbee firmware compressing and updating method |
KR101497934B1 (en) * | 2013-03-15 | 2015-03-03 | (주)로엔케이 | Method for upgrading firmware of power line communication modem |
CN106470114A (en) * | 2015-08-20 | 2017-03-01 | 青岛海信移动通信技术股份有限公司 | A kind of collocation method of OTA AKU and device |
CN107656751A (en) * | 2017-10-27 | 2018-02-02 | 深圳市银河风云网络系统股份有限公司 | User program upgrade method and device |
CN109002313A (en) * | 2018-09-12 | 2018-12-14 | 青岛海信移动通信技术股份有限公司 | Method for upgrading software, device, equipment and storage medium based on OTA |
EP3614789A1 (en) * | 2018-08-20 | 2020-02-26 | NXP USA, Inc. | Rf transceiver and wireless mesh network |
-
2011
- 2011-08-02 KR KR1020110077133A patent/KR20130015243A/en not_active Application Discontinuation
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101497934B1 (en) * | 2013-03-15 | 2015-03-03 | (주)로엔케이 | Method for upgrading firmware of power line communication modem |
CN103425508A (en) * | 2013-05-27 | 2013-12-04 | 林永宗 | Zigbee firmware compressing and updating method |
CN106470114A (en) * | 2015-08-20 | 2017-03-01 | 青岛海信移动通信技术股份有限公司 | A kind of collocation method of OTA AKU and device |
CN107656751A (en) * | 2017-10-27 | 2018-02-02 | 深圳市银河风云网络系统股份有限公司 | User program upgrade method and device |
EP3614789A1 (en) * | 2018-08-20 | 2020-02-26 | NXP USA, Inc. | Rf transceiver and wireless mesh network |
CN110855311A (en) * | 2018-08-20 | 2020-02-28 | 恩智浦美国有限公司 | RF transceiver and wireless mesh network |
US10924589B2 (en) | 2018-08-20 | 2021-02-16 | Nxp Usa, Inc. | RF transceiver and wireless mesh network |
CN109002313A (en) * | 2018-09-12 | 2018-12-14 | 青岛海信移动通信技术股份有限公司 | Method for upgrading software, device, equipment and storage medium based on OTA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20130015243A (en) | Apparatus and method for upgrading firmware of zigbee module | |
EP2484173B1 (en) | Wlan peer-to-peer group owner negotiation | |
CN1835496B (en) | Communication apparatus and method of controlling same | |
US9135208B1 (en) | Method and system for group management | |
CN110383899A (en) | Method and system for the wake-up trigger by out-of-band communication | |
US20110093536A1 (en) | Group owner selection with crossing requests | |
KR20010072117A (en) | Construction method of radio network system and radio transmission device | |
CN101291272A (en) | Network formation method and communication apparatus | |
US10652090B2 (en) | Method for self-constructing a multi-hop structured wireless communication network | |
CN106470458B (en) | Method and device for controlling in WiFi network | |
US8787274B2 (en) | Communication system | |
CN105637937A (en) | Control device, base station, and communication terminal | |
US11140644B2 (en) | Method for sending sync beacon message by NAN device, and device | |
CN111026426B (en) | Repeater upgrading method and device | |
CN113498156B (en) | Low-power consumption wireless sensor network | |
CN105430597A (en) | Bluetooth device, and Bluetooth Scatternet networking method and device thereof | |
JP2009207050A (en) | Wireless communication apparatus, wireless communication method and wireless communication control program | |
CN102202430B (en) | Zigbee wireless gateway and data transmission method thereof | |
JP2009112037A (en) | Apparatus for optimizing transmission power of network | |
CN110493338B (en) | Equipment mutual control method, system and computer readable storage medium | |
WO2021103026A1 (en) | Method for performing communication on bandwidth part | |
CN103249010A (en) | Communication device and communication method | |
CN110582060A (en) | communication method, communication device, node equipment and storage medium thereof | |
CN105162849A (en) | Intelligent camera device and off-network access control method thereof | |
JP7152452B2 (en) | Server device, communication device, terminal device, communication system, program and update method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |