WO2011137793A1 - Method, apparatus and network system for achieving remote update of zigbee devices - Google Patents

Method, apparatus and network system for achieving remote update of zigbee devices Download PDF

Info

Publication number
WO2011137793A1
WO2011137793A1 PCT/CN2011/074361 CN2011074361W WO2011137793A1 WO 2011137793 A1 WO2011137793 A1 WO 2011137793A1 CN 2011074361 W CN2011074361 W CN 2011074361W WO 2011137793 A1 WO2011137793 A1 WO 2011137793A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware
upgrade
zigbee
zigbee device
gateway
Prior art date
Application number
PCT/CN2011/074361
Other languages
French (fr)
Chinese (zh)
Inventor
张永靖
卞永刚
丁传锁
黄成�
牟伦建
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011137793A1 publication Critical patent/WO2011137793A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, device, and network system for implementing a remote upgrade of a Zi gbee device.
  • Machine-to-Machine Communications is a networked application and service centered on machine intelligence interaction. By embedding wireless or wired communication modules and application processing logic inside the machine, no manual intervention is required. Data communication to meet the information needs of users in monitoring, command and dispatch, data acquisition and measurement.
  • Figure 1 shows a typical M2M system architecture in which various M2M terminals (such as sensors, microcontrollers, etc.) are connected to the M2M gateway through sensor network technology, and then use the remote access technology (such as 2G) through the M2M gateway.
  • various M2M terminals such as sensors, microcontrollers, etc.
  • 2G remote access technology
  • Asymmetric Digital Subscriber Line (ADSL) technology is connected to the M2M service platform, and various applications (such as power meter reading, intelligent transportation, etc.) are obtained through the M2M service platform. Data collected by the M2M terminal or remotely controlled and managed by the M2M terminal.
  • ADSL Digital Subscriber Line
  • Remote device management is an important function of the M2M system.
  • the remote device management means that the M2M application or the M2M service provider needs to remotely manage and maintain the M2M terminal in the terminal sensing network through the M2M service platform and the M2M gateway. It includes functions such as remote configuration management, performance management, fault management, and software/firmware upgrade for M2M terminals. These device management functions need to be completed through the M2M service platform and the device management capability components in the M2M gateway.
  • the remote device management technology based on the wide area network mainly has an Open Mobile Alliance (Open
  • DM Device Management
  • OMA Mobile Alliance
  • TR069 TR069 specification
  • BSL Fixed broadband network environments
  • DM is mainly used in mobile network environments (such as 2G/3G cellular networks)
  • TR069 is mainly used in fixed broadband network environments (such as ADSL)
  • ADSL fixed broadband network environments
  • Zigbee technology which not only provides basic communication capabilities between devices in the local sensor network, but also provides certain device management capabilities.
  • firmware upgrade Zigbee OTA Upgrade
  • Zigbee technology supports firmware upgrades for multiple Zigbee network devices simultaneously, as well as multiple firmware upgrades.
  • the device management capability component in the M2M service platform can remotely manage the M2M gateway by using the above-mentioned WAN-based remote device management technology (DM or TR069); the device management capability component in the M2M gateway can adopt the above-mentioned sensor network device management technology.
  • DM or TR069 WAN-based remote device management technology
  • the device management capability component in the M2M gateway can adopt the above-mentioned sensor network device management technology.
  • (Zigbee) Local management of M2M terminals at the end of the sensor network.
  • the M2M application or the M2M service provider cannot directly manage the M2M terminal through the M2M service platform and the M2M gateway by using the WAN-based device management technology. .
  • the prior art provides a method for remotely managing an M2M terminal by using a Simple Network Management Protocol (SNMP) protocol, as shown in FIG. 2, wherein the management application module on the SNMP management station passes the device through the SNMP protocol.
  • the upgrade request is sent to the Simple Network Management Protocol Agent SNMP Agent on the Access Point (AP).
  • the device upgrade request is forwarded to the SNMP Agent on the M2M terminal, and the SNMP Agent on the M2M terminal and the SNMP established locally.
  • the Management Information Base (MIB) exchanges information to implement firmware upgrades for M2M terminals.
  • MIB Management Information Base
  • the prior art requires an SNMP agent and an SNMP management information base (MIB) on the M2M terminal, that is, the M2M terminal needs to support the SNMP protocol, but a large number of M2M terminals that are currently applied to the sensing network do not support the SNMP protocol, and therefore, firmware is required. When upgrading, the M2M terminals that have been applied have been greatly modified, which increases operating costs.
  • MIB SNMP management information base
  • the embodiments of the present invention provide a method, a device, and a network system for implementing remote upgrade of a Zigbee device, which can perform remote firmware upgrade when the M2M terminal adopting Zigbee technology has little change.
  • a method for implementing remote upgrade of a Zigbee device including: Receiving, by using a remote device management protocol, a firmware download instruction sent by the device management server, and acquiring firmware according to the firmware download instruction;
  • the Zigbee device firmware upgrade management protocol to deliver the acquired firmware to the Zigbee device to which the firmware is applicable, and controlling the firmware according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware.
  • the Zigbee device to which the firmware is applied performs a firmware upgrade operation.
  • a gateway including:
  • a remote management information interaction unit configured to receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, device range indication information applicable to the firmware, and firmware delivery and upgrade indication information;
  • a firmware obtaining unit configured to obtain firmware according to the firmware downloading instruction
  • An upgrade unit configured to deliver the obtained firmware to a Zigbee device to which the firmware is applied, according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware, by using a Zigbee device firmware upgrade management protocol. And controlling the Zigbee device to which the firmware is applied to perform a firmware upgrade operation.
  • a network system including the foregoing gateway and device management server, wherein
  • a device management server configured to send, by using a remote device management protocol, a firmware download instruction, device range indication information, and firmware delivery and upgrade indication information, to the gateway.
  • the gateway determines, according to the device range indication information that the firmware is sent by the device management server, the Zigbee device to which the firmware is applied, and sends the firmware delivery and upgrade indication information sent by the device management server to the firmware.
  • the applicable Zigbee device delivers the firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade.
  • the Zigbee device does not need to support the SNMP protocol, so the changes to the Zigbee device are small.
  • FIG. 1 is a structural diagram of an M2M network provided by the prior art
  • FIG. 3 is a flowchart of a method for implementing remote upgrade of a Zigbee device according to an embodiment of the present invention
  • FIG. 4 is a firmware upgrade for an M2M device according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a method for implementing remote upgrade of a Zi gbee device based on the DM protocol according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a remote upgrade method in an ordinary manner according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for triggering a Zigbee device to distribute firmware and triggering an upgrade thereof according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a firmware recovery operation method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a download file supported by the TR069 protocol
  • FIG. 12 is a flowchart of a method for implementing remote upgrade of a Zigbee device based on the TR069 protocol according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
  • FIG. 13B is a structural diagram of an upgrade unit according to an embodiment of the present invention.
  • FIG. 13C is another structural diagram of an upgrade unit according to an embodiment of the present invention.
  • FIG. 13D is a structural diagram of an upgrade unit according to an embodiment of the present invention.
  • 14A is a result diagram of a firmware delivery unit according to an embodiment of the present invention.
  • FIG. 14B is a result of another firmware delivery unit according to an embodiment of the present invention.
  • FIG. 15 is a structural diagram of a network system according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for upgrading a Zigbee device, where the method includes:
  • the firmware download instruction can carry the firmware
  • the step can directly obtain the firmware from the firmware download instruction, or the firmware download instruction carries the firmware download address, then the step is based on the firmware Download the address and download the firmware.
  • 302. Receive, by using a remote device management protocol, device range indication information and firmware delivery and upgrade indication information applicable to the firmware sent by the device management server.
  • steps 301 and 302 have no sequential sequence.
  • the executor of the embodiment of the present invention may be a gateway.
  • the device management server in the embodiment of the present invention may be an M2M service platform, and the Zigbee device may be an M2M device.
  • the remote device management protocol in the embodiments of the present invention may be the DM protocol or the TR069 protocol.
  • the device management server may use the DM protocol to configure the device range indication information applicable to the firmware (that is, the device range description information in the subsequent embodiment) on the corresponding node of the management tree in the gateway, or extend the firmware file by using the TR069 protocol.
  • the Zigbee device range command is applied to the firmware file, and the Zigbee device range command includes the Zigbee device range indication information that is applicable to the firmware, and then the extended firmware file is sent to the gateway, as described in the following embodiments. A detailed description.
  • the device range indication information that is applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier and an energy applicable to the firmware. At least one of the firmware version range indication information currently used by the Zigbee device upgraded to the acquired firmware.
  • the device management server may use the DM protocol to send an indication that triggers the gateway to perform firmware delivery and upgrade, so as to trigger an executable command that is sent on the node of the management tree in the gateway to indicate that the firmware is delivered and upgraded; or, by TR069
  • the protocol extends the firmware file, and the firmware upgrade mode command is added to the firmware file, wherein the firmware upgrade mode command is a command to indicate that the Zigbee device is immediately upgraded after the firmware is distributed and distributed, or the firmware distribution and all Zigbee devices are successfully downloaded after the firmware is successfully synchronized.
  • the command to perform the firmware upgrade, or the command to update the Zigbee device after the firmware distribution and distribution is scheduled to be upgraded, and then send the extended firmware file to the gateway, as described in detail in the subsequent embodiments.
  • the firmware delivery and upgrade indication information includes: firmware delivery indication information and upgrade indication information; before receiving the upgrade indication information sent by the remote device management server by using the remote device management protocol, the method further includes: Sending a firmware download result of the Zigbee device to which the firmware is applied; receiving the swell sent by the remote device management server by using the remote device management protocol
  • the level indication information is specifically: after sending the firmware download result of the Zigbee device to which the firmware is applied to the device management server, receiving the upgrade indication information sent by the device management server, where the upgrade indication information is that the device management server is
  • the firmware download result of the Zigbee device to which the firmware is applied determines that it is sent when the upgrade indication information needs to be sent.
  • the upgrade indication information may indicate a specific upgrade manner, as described in the following embodiments.
  • the Zigbee device firmware upgrade management protocol is used to deliver the acquired firmware to the Zigbee device to which the firmware is applied according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware, and control The Zigbee device to which the firmware is applied performs a firmware upgrade operation.
  • Specific delivery firmware includes but is not limited to the following two methods:
  • the first mode is: determining, according to the device range indication information that is applicable to the firmware, that the Zigbee device to which the firmware is applicable, sending a notification message to the Zigbee device to which the firmware is applied in a unicast manner to notify the firmware
  • the applicable Zigbee device downloads the firmware, and the notification message may be an Image Notify message.
  • the second method is to send a notification message to all Zigbee devices managed by the gateway in a broadcast manner, where the notification message carries information about a Zigbee device to which the firmware is applied, where the Zigbee device to which the firmware is applied.
  • the information includes: at least one of a manufacturer identifier and a category identifier of a Zigbee device to which the firmware is applicable, and the notification message may be an Image Notify message.
  • the firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation immediately after the firmware is successfully downloaded, and the gateway uses the Zigbee device firmware upgrade management protocol to indicate that the Zigbee device to which the firmware is applied is The firmware is downloaded on the gateway, and the prompt information for immediate upgrade is sent to each Zigbee device that successfully downloads; or the firmware delivery and upgrade indication information indicates that all Zigbee devices that are applicable to the firmware are successfully executed after downloading the firmware.
  • the gateway uses a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applicable to download the firmware from the gateway, after all Zigbee devices to which the firmware is applied successfully download the firmware, All Zigbee devices to which the firmware is applied send an indication of an immediate upgrade, or the gateway uses a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applicable to download the firmware from the gateway, where the firmware is applicable.
  • the apparatus selects all Zigbee firmware are applied at a point in time of the active state, respectively the All Zigbee devices to which the firmware is applied send indications indicating firmware upgrades at selected points in time; or, firmware delivery and upgrade instructions indicate that each Zigbee device to which the firmware is applied successfully downloads firmware after a predetermined upgrade time Performing a firmware upgrade operation, the gateway instructing the Zigbee device to which the firmware is applicable to download the firmware from the gateway by using a Zigbee device firmware upgrade management protocol, and sending an indication to each of the Zigbee devices to which the firmware applies, respectively, to the predetermined Upgrade time for instructions for firmware upgrade.
  • the method further includes: querying, by using the Zigbee device firmware upgrade management protocol, the Zigbee device performing the firmware upgrade operation to query the upgrade result.
  • the method further includes: receiving, by using a remote device management protocol, an upgrade result request message sent by the device management server, and sending a response message to the device management server according to the query result.
  • the method further includes: when the query result indicates that at least one Zigbee device upgrade fails, the Zigbee device firmware upgrade management protocol is utilized. Sending a firmware recovery command to the Zigbee device that fails to be upgraded, the firmware recovery command is used to indicate that the upgraded Zigbee device resumes using the firmware before the upgrade; or, when the query result indicates that at least one Zigbee device upgrade fails, using the Zigbee device firmware upgrade
  • the management protocol sends a firmware recovery command to all Zigbee devices that perform firmware upgrade operations, which are used to indicate that the firmware prior to the upgrade was restored.
  • the firmware recovery command before sending the firmware recovery command to the Zigbee device, sending, by using a remote device management protocol, an upgrade result of the Zigbee device to which the firmware is applied to the device management server, and receiving a firmware recovery indication sent by the device management server, where The firmware recovery indication indicates that the Zigbee device that failed the upgrade needs to perform the recovery operation, or that all Zigbee devices that perform the firmware upgrade operation need to perform the recovery operation.
  • the gateway determines, according to the device range indication information that the firmware is sent by the device management server, the Zigbee device to which the firmware is applied, and sends the firmware delivery and upgrade indication information sent by the device management server to the firmware.
  • the applicable Zigbee device issues firmware and controls its firmware upgrade operation, so that the device management server can control the Zigbee device to perform firmware.
  • the upgrade does not require the Zigbee device to support the SNMP protocol, so the changes to the Zigbee device are small.
  • the firmware sent by the gateway to the Zigbee device in the subsequent embodiments of the present invention is referred to as new firmware.
  • the invention is improved by the gateway, so that when the gateway is facing the device management server (such as DM/TR069 Server) in the M2M service platform, it acts as the DM/TR069 management client itself, when facing the Zigbee device managed in the Zigbee network, Serves as an upgrade server for Zigbee firmware (Zigbee OTA Upgrade Server).
  • the tree structure management object (MO) structure model for Zigbee device firmware upgrade in the gateway is introduced as follows, as shown in FIG. 4, where "./" is the root node of the management tree in the gateway. Each box represents an MO node or its child nodes in the management tree, and the characters in the box are the node names.
  • the node name is marked with a different symbol.
  • the symbol "?” means that the node may have zero or one instance; the symbol “*” means that the node may have zero or more instances; there is no symbol. Indicates that the node may have one and only one instance; the symbol "+” indicates that the node may have one or more instances.
  • the node name is
  • the child nodes under the ./Devlnfo node record the basic information of the device of the gateway itself, where Devld, Man, Mod record the device identifier, manufacturer identifier and model identifier of the gateway respectively; 2) under the .DevDetail node The child node records the device details of the gateway itself, where
  • DevTyp and FwV respectively record the type of the gateway (such as the gateway in the Zigbee network) and the firmware version number;
  • the child node under the ./GW node records some specific information of the gateway device, one of which is a ./DevList node, which is used to record all Zigbee device information connected to the gateway, and each Zigbee device information Represented by a ⁇ > node, ⁇ x> includes the Devlnfo and DevDetail nodes, which are used to record basic and detailed information for each Zigbee device.
  • the remote device management server can view the .GW/DevList node to learn the basic information and detailed information of all Zigbee devices under the gateway, so as to determine whether and how to upgrade the Zigbee device under the gateway when needed.
  • the child nodes under the ./ZigbeeFw node are used to record all the firmware-related MO information required for firmware upgrade through the gateway.
  • the MO information of each firmware is represented by an ⁇ x> node, and each ⁇ x> node includes The following child nodes:
  • ⁇ ApplyTo records the range of Zigbee devices for the applicable firmware upgrade, and describes the filter conditions in the range with a ⁇ > child node.
  • Each filter condition can also contain multiple sub-filter conditions.
  • the ⁇ > sub-node can include multiple
  • Each child node records a filter condition. These filter conditions are related to each other.
  • the specific filter sub-conditions include:
  • Devld records the category ID of the Zigbee device for which the firmware is upgraded
  • MaxVersion records the maximum version number of the current old firmware of the Zigbee device that can be upgraded
  • MinVersion records the minimum version number of the current old firmware of the Zigbee device that can be upgraded
  • Ext indicates that other filtering conditions can also be extended, such as limiting the Zigbee device that can be upgraded to meet the values of other parameters or attributes, and so on;
  • the child nodes under the Download node are used to record the firmware upgrade execution mode after downloading the firmware indirectly.
  • the subnodes under the Download node are:
  • the node saves an executable command, which downloads the firmware package to the gateway according to PkgURL, and does not perform firmware distribution and upgrade;
  • This node saves the executable command, which is distributed to the ApplyTo node and is filtered according to the PkgURL after downloading the firmware package to the gateway.
  • This node saves the executable command, which is distributed to the matching filter record recorded in the ApplyTo node after downloading the firmware package to the gateway according to PkgURL. On the Zigbee device, and immediately perform the normal upgrade process;
  • This node saves the executable command, which is distributed to the Zigbee device recorded in the ApplyTo node according to the filtering condition after the firmware package is downloaded to the gateway according to the PkgURL, and the synchronization upgrade process is performed;
  • This node saves the executable command. After downloading the firmware package to the gateway according to PkgURL, the command is distributed to the Zigbee device that matches the filtering conditions recorded in the ApplyTo node, and performs the timing upgrade process.
  • the child nodes under the De ivered node are used to record the firmware upgrade execution mode after downloading the firmware directly, including the following subnodes:
  • Opera t ions Record the firmware upgrade method that needs to be performed.
  • the node includes the following child nodes:
  • This node saves the executable command, which distributes the downloaded firmware to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and does not perform the firmware upgrade temporarily;
  • This node saves the executable command, which distributes the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and immediately performs the normal upgrade process;
  • This node saves the executable command, which distributes the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and performs the synchronization upgrade process;
  • This node saves an executable command for distributing the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and performs a scheduled upgrade process;
  • the child nodes under the Sta te node are used to record the results of the firmware upgrade, including the following child nodes:
  • Each sub-node ⁇ x > corresponds to a Zigbee device that is distributed and upgraded successfully.
  • Sub-node ⁇ x> includes: Devld sub-node, which is used to record the Zigbee device. The unique identifier of the Zigbee device;
  • Each sub-node ⁇ x> corresponds to a Zigbee device that fails to be distributed or upgraded.
  • Sub-node ⁇ x> includes: Devld sub-node for recording The unique identifier of the Zigbee device;
  • the node under the Recover node is used to record how the firmware version is restored when the device firmware upgrade fails.
  • the Recover node itself can be defined as an executable node to receive firmware recovery operation instructions of the device management server.
  • the Recover node includes the following sub-nodes: • Policy: A specific policy for recording firmware version recovery, including at least the following possible values One:
  • the above management tree model for Zigbee device firmware upgrade is only a typical example, in which a specific node may change its relative position or name in the management tree in actual deployment (for example, DevList can be directly connected to the root node. / Underneath without having to go through the /GW node, and the node used to store the various firmware information can also be directly connected to the root node. / or other nodes).
  • multiple executable nodes representing multiple upgrade methods defined under the ⁇ x>/Download/Operat ions and ⁇ x>/Del ivered/Operat ions nodes can also be associated with multiple attributes with a single executable node. The node description distinguishes between different execution modes (similar to the design principle of the ⁇ x>/Recover node).
  • an embodiment of the present invention provides a method for implementing a remote upgrade of a Zigbee device.
  • a DM protocol is adopted between a device management server and a gateway, and the method specifically includes: 501.
  • the Zigbee device determines the gateway that is managed in the local network.
  • the first mode the Zigbee device is pre-configured with the IEEE address of the gateway (each IEEE address uniquely identifies a gateway), and the Zigbee device determines that the gateway identified by the IEEE address is a gateway for managing itself, and the Zigbee device can also be based on the IEEE address.
  • the Zigbee device object network address request ZDO Nwk_addr_req request is sent, and the network address of the gateway is obtained from the received response message, so that the management information is subsequently exchanged with the gateway by using the network address.
  • the second mode if the Zigbee device does not pre-configure the IEEE address of the gateway, the Zigbee device object matching description request ZDO Ma tch_Desc_reci request is sent to the local network, where the firmware upgrade cluster identifier OTA Cluster ID is carried, and the identifier indicates that the support supports the Zi gbee firmware.
  • the gateway in the local network sends a Zigbee device object matching description response ZDO Ma tch_Desc_rs message to the Zi gbee device, where the network address of the gateway is carried, and then the Zi gbee device can And sending a Zigbee device object IEEE address request ZDO IEEE_addr_req request to the gateway according to the network address of the gateway, and if the Zi gbee device receives the IEEE address of the gateway, it is confirmed that the gateway is a gateway managing itself.
  • the gateway uses the Zigbee device management command to obtain detailed information of the Zigbee device, so as to configure information on the .GW//DevList node in the management tree as shown in FIG. 4.
  • the gateway sends a device information query request message to the Zi gbee device, for example, the Zi gbee device object node description request ZDO Node_Desc_req, the Zi gbee device object simple description request ZDO Simple_Desc_req message, and the like, for requesting to obtain detailed information of the Zigbee device;
  • the device sends a response message to the gateway, where the response message carries the device description information such as the manufacturer identifier and device type of the Zigbee device.
  • the gateway then sends a Zigbee cluster library attribute to the Zigbee device to read the ZCL Read_Attributes request message, where the message carries the current firmware version CurrentFirmwareVersion parameter, to "query the firmware version of the Zigbee device; the Zigbee device sends a response message to the gateway, the response The message carries the firmware version information of the Zigbee device.
  • the gateway configures the detailed information of the Zigbee device into the relevant node of the management tree, and specifically, is configured in the MO management tree as shown in FIG. 4/DevList node in the GW. 504.
  • the gateway establishes a device management session with the device management server by using a remote device management protocol.
  • the gateway receives the device management notification message from the device management server, and then establishes a device management session with the device management server, and provides the basic information of the gateway itself (the information recorded in the ./Devlnfo node) by replacing the Relplace command.
  • the device management server acquires the detailed information of the gateway (the information recorded in the ./DevDetail node) by acquiring the Get command, and the information of all the Zigbee devices connected to the gateway (./GW/DevList/record in the node) Information).
  • the device management server configures the new firmware basic information and the range description information of the Zigbee device applicable to the new firmware in the relevant node of the gateway management tree by using the Replace command.
  • the device management server uses the established device management session to perform remote firmware upgrade operation on the Zigbee device through the gateway.
  • the gateway configures the detailed information of the Zigbee device to the relevant node of the management tree.
  • the conversion of parameter names and data types needs to be performed. Table 1 lists the conversion mappings of the parameters that need to be supported by the firmware upgrade.
  • the Uniform Resource Name (URN) is a string with a special qualified format. Types of.
  • Figure 6 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway, that is, the normal upgrade mode.
  • the normal upgrade mode means that each Zigbee device is upgraded immediately after obtaining new firmware, and is compatible with other new firmware.
  • the upgrade time of the Zigbee device is irrelevant, including: 601.
  • the device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating that the Zigbee device is immediately upgraded after the firmware is distributed and distributed.
  • the information of the Zigbee device managed by the Zigbee device is configured in the gateway, and the device management server establishes a management session for the remote firmware upgrade of the Zigbee device through the gateway, and a new configuration is configured in the gateway.
  • the device management server can determine the Zigbee device to be upgraded in a normal upgrade manner according to the Zigbee device information under the gateway and the impact of the new firmware on the current Zigbee network and applications.
  • This step specifically includes the following implementation methods:
  • This method is suitable for the device management server to download the new firmware to the gateway by direct download.
  • the device management server directly writes the new firmware to the ZigbeeFw/ ⁇ x>/Delivered/PkgData node of the gateway through the Replace command, and triggers the execution of the executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/Upgrade node.
  • This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download.
  • the device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway management tree through the Replace command; the device management server executes the ZigbeeFw/ ⁇ x>/Download/Operations/DownloadUpgrade node by triggering the gateway.
  • the executable command on the screen instructs the gateway to download new firmware from the download address, and then immediately performs a firmware upgrade operation on the Zigbee device to which the new firmware is applied, wherein the gateway can adopt a file transfer protocol or other download protocol, from ZigbeeFw/ Download address on ⁇ x>/Download/PkgURL node Download the new firmware.
  • This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download.
  • the device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway through the Replace command; the device management server executes the ZigbeeFw/ ⁇ x>/Download/Operations/Download node by triggering the gateway.
  • An executable command instructing the gateway to download the new firmware; the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/ ⁇ x>/Download/PkgURL node, and reports the new firmware download to the device management server.
  • the device management server instructs the gateway to perform a firmware upgrade operation on the Zigbee device to which the new firmware is applied by executing an executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/Upgrade node by triggering the gateway.
  • the executable command in the gateway execution management tree indicates that the Zigbee device is upgraded immediately after the firmware distribution and distribution, and the updated Zigbee device range description information and the self-managed Zigbee device according to the new firmware recorded by the node in the management tree.
  • Information using existing Zigbee firmware download technology, distributes the new firmware to the Zigbee device for the new firmware.
  • the gateway may send a mirror notification to all Zigbee devices by using a broadcast message.
  • the Image Notify message which carries the description information of the new firmware, may include: at least one of the applicable Zigbee device model and the device manufacturer identifier of the new firmware. If the device management server writes the Zigbee device's category ID for the applicable firmware upgrade, the maximum version number of the current old firmware of the Zigbee device that can be upgraded, or the minimum version number of the current old firmware of the Zigbee device that can be upgraded, the Image Notify message itself cannot Carrying the above information, the gateway determines, according to the information of each Zigbee device stored on the management tree node, the Zigbee device to which the new firmware is applied, and sends an Image Notify message to the determined Zigbee device in a unicast manner, and the Image Notify message is used at this time.
  • the Zigbee device After receiving the Image Notify message, the Zigbee device determines whether it needs to perform firmware upgrade according to whether it is a unicast message or according to the applicable description of the new firmware carried in the Image Notify message when it is not a unicast message. If yes, Send a query to the gateway for the next mirror request Query Next Image Request, requesting to obtain new firmware, the message carries its own device model (that is, the information saved on the mod node in the management tree), the device manufacturer identifier (that is, the information saved on the man node in the management tree), and the current Information such as the firmware version number.
  • the gateway sends the size of the new firmware and the size of the download chunk to the Zigbee device.
  • the Zigbee device downloads the new firmware from the gateway according to the size of the new firmware and the size of the download chunk.
  • the gateway instructs the Zigbee device to perform a firmware upgrade immediately.
  • the gateway sends an upgrade end response Upgrade End Response message to each Zigbee device that has successfully downloaded the new firmware, and carries a parameter indicating that the Zigbee device immediately upgrades the new firmware.
  • Figure 7 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway, that is, the method for controlling the synchronous upgrade of the Zigbee device, including:
  • the device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating the firmware distribution and the Zigbee device synchronization upgrade after the distribution.
  • the executable command is an indication that the firmware distribution and all Zigbee devices successfully perform a firmware upgrade after successfully downloading the new firmware.
  • the device management server determines, according to the Zigbee device information under the gateway and the impact of the new firmware on the current Zigbee network and the application, determining that the firmware upgrade process of each Zigbee device may affect the communication or application of the Zigbee local network, and therefore each Zigbee is required.
  • the device performs the upgrade at the same time at the same time. Therefore, it is determined that the Zigbee device under the gateway is remotely upgraded by means of synchronous upgrade.
  • This step specifically includes the following implementation methods:
  • This method is suitable for the device management server to download the new firmware to the gateway by direct download.
  • the device management server directly writes the new firmware to the ZigbeeFw/ ⁇ x>/Delivered/PkgData node of the gateway through the Replace command, and triggers the gateway to execute the executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/UpgradeSync node, indicating the gateway.
  • the Zigbee device to which the new firmware is applied is synchronized to perform a firmware upgrade operation.
  • This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download.
  • the device management server directly writes the download address of the new firmware through the Replace command. Entering the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway; the device management server instructs the gateway to download new firmware from the download address by triggering the gateway to execute an executable command on the ZigbeeFw/ ⁇ x>/Download/Operations/DownloadUpgradeSync node And then immediately control the Zigbee device to which the new firmware is applied to perform a synchronous upgrade operation.
  • the gateway may use a file transfer protocol or other download protocol to download new firmware from the download address on the ZigbeeFw/ ⁇ x>/Download/PkgURL node.
  • This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download.
  • the device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway MO through the Replace command; the device management server executes the ZigbeeFw/ ⁇ x>/Download/Operations/Download node by triggering the gateway.
  • Executable command instructing the gateway to download the new firmware
  • the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/ ⁇ x>/Download/PkgURL node and report the new firmware download to the device management server Successfully
  • the device management server instructs the gateway to control the Zigbee device to which the new firmware is applied to perform the firmware upgrade operation by executing an executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/Upgrade Sync node by triggering the gateway.
  • the executable command in the gateway execution management tree indicates that the Zigbee device is upgraded after the firmware is distributed and distributed, and the updated Zigbee device range description information and the self-managed Zigbee device are used according to the new firmware recorded by the node in the management tree.
  • Information using existing Zigbee firmware download technology, distributes the new firmware to the Zigbee device for the new firmware.
  • the gateway instructs the Zigbee device to perform a synchronization firmware upgrade.
  • the gateway sends an Upgrade End Response message to each Zigbee device that applies the new firmware, where the information carries the information indicating that the Zigbee device temporarily does not perform the firmware upgrade operation; the gateway sends a ZCL Read_Attributes message to each Zigbee device that applies the new firmware, so as to obtain each The new firmware download status of the Zigbee device, after determining that all Zigbee devices have successfully downloaded the new firmware, simultaneously sends a Run Upgrade Request message to each Zigbee device, carrying parameters indicating that the Zigbee device immediately upgrades to the new firmware.
  • the gateway sets each Zigbee according to the locally recorded applicable new firmware.
  • the backup information selects all Zigbee devices to which the new firmware is applied, is in an active state, and sends a Run Upgrade Request message to the Zigbee device in the active state, which carries instructions indicating that the firmware upgrade is performed at the selected time.
  • the gateway selects a time point, and sends an indication to the Zigbee device to perform a firmware upgrade at the selected time point when the Zigbee device is in an active state, and if the Zigbee device is in a dormant state at the selected time point, the Zigbee device
  • the sleep time is adjusted to ensure that it is in an active state at this point in time, and the subsequent execution process is the same as step 803 in the embodiment shown in FIG.
  • FIG. 8 shows a manner in which the device management server remotely upgrades the Zigbee device through the gateway, that is, a method for controlling the timing upgrade of the Zigbee device, including:
  • the device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating that the Zigbee device is upgraded at a predetermined upgrade time after the firmware is distributed and distributed.
  • This step specifically includes the following implementation methods:
  • the first method is applicable to the device management server to directly download the new firmware to the gateway.
  • the device management server directly writes the new firmware into the ZigbeeFw/ ⁇ x>/Delivered/PkgData node in the management tree of the gateway through the Replace command. , write the scheduled upgrade time to the ZigbeeFw/ ⁇ x>/Delivered/ Operations/UpgradeSched/UTCTime node, or write ZigbeeFw/ ⁇ x>/Delivered/Operations/UpgradeSched/OffsetTime relative to the current time offset
  • the device management server triggers the gateway to execute executable commands on the ZigbeeFw/ ⁇ x>/Delivered/Operations/UpgradeSched node.
  • This method is suitable for the device management server to indirectly download new firmware to the gateway.
  • the device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway through the Replace command, writes the scheduled upgrade time or writes it with respect to the current time offset.
  • the device management server executes by triggering the gateway Order, instruct the gateway to use the file transfer protocol or other download protocol, from
  • the download address on the ZigbeeFw/ ⁇ x>/Delivered/PkgURL node downloads the new firmware, and then controls the Zigbee device for the new firmware to perform the firmware upgrade operation at the specific upgrade time.
  • This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download.
  • the device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway through the Replace command, and writes the scheduled upgrade time to the ZigbeeFw/ ⁇ x>/Delivered/Operations/UpgradeSched/UTCTime node.
  • the device management server executes ZigbeeFw/ ⁇ x>/Download/Operations by triggering the gateway
  • An executable command on the /Download node instructs the gateway to download the new firmware
  • the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/ ⁇ x>/Download/PkgURL node and to the device management server Report that the new firmware download was successful.
  • the device management server executes the Zigbee device on the ZigbeeFw/ ⁇ x>/Delivered/Operations/UpgradeSched node by triggering the gateway to enable the Zigbee device that applies the new firmware to perform the firmware upgrade operation during the specific upgrade time.
  • the executable node in the gateway execution management tree indicates that the Zigbee device upgrades the firmware at the predetermined upgrade time after the firmware distribution and distribution, and the updated Zigbee device scope description information is applied according to the new firmware recorded by the node in the management tree.
  • the information of each Zigbee device managed by itself is distributed to the Zigbee device to which the new firmware is applied by using the existing Zigbee firmware download technology.
  • the gateway instructs the Zigbee device to perform a firmware upgrade at a predetermined upgrade time.
  • This step specifically has the following implementations:
  • the first method is: the gateway sends an upgrade end response message to each Zigbee device to which the new firmware is applied, where the upgrade time parameter carries the upgrade time parameter, and the upgrade time parameter indicates the specific time for the Zigbee device to perform the firmware upgrade, which may be an absolute time value. It may be relative to the current relative time value that does not affect the implementation of the present invention.
  • the second method is: the gateway sends an upgrade End Response message to each Zigbee device to which the new firmware is applied, where the information carries the information indicating that the Zigbee device does not perform the firmware upgrade operation temporarily;
  • the gateway sends the Zigbee cluster library attribute to the Zigbee device that needs to be upgraded to read the ZCL Read_Attributes message, in order to obtain the new firmware download status of each Zigbee device. After determining that all Zigbee devices that need to be upgraded have successfully downloaded the new firmware, all needs are needed.
  • the upgraded Zigbee device sends a Run Upgrade Request message, which carries the upgrade time parameter.
  • Figure 9 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway.
  • the method is to first distribute the new firmware to the Zigbee device, and then trigger the Zigbee device to adopt the normal upgrade mode, the synchronous upgrade mode, or the timed upgrade mode.
  • Control each Zigbee device for firmware upgrade which specifically includes:
  • the device management server downloads the new firmware to the gateway, and triggers an executable command on the gateway to distribute the new firmware.
  • This step specifically has the following implementations:
  • This method is suitable for the device management server to download the new firmware to the gateway by direct download.
  • the device management server directly writes the new firmware to the ZigbeeFw/ ⁇ x>/Delivered/PkgData node of the MO of the gateway through the Replace command, and triggers the gateway to execute the executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/Distribute node. Instructs the gateway to perform a distribution firmware operation on the Zigbee device to which the new firmware applies.
  • the second mode The device management server directly writes the download address of the new firmware to the ZigbeeFw/ ⁇ x>/Download/PkgURL node of the gateway management tree through the Replace command, and executes ZigbeeFw/ ⁇ x>/Download/Operations/ by triggering the gateway.
  • An executable command on the DownloadDistribute node instructing the gateway to download the new firmware from the download address and then immediately distributing the new firmware to the Zigbee device to which the new firmware is applied.
  • the device management server directly writes the download address of the new firmware to the gateway ZigbeeFw/ ⁇ x>/Download/PkgURL node through the Replace command, and executes the ZigbeeFw/ ⁇ x>/Download/Operations/Download node by triggering the gateway.
  • Executable command instructing the gateway to download the new firmware
  • the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/ ⁇ x>/Download/PkgURL node and report the new firmware download to the device management server Successful
  • the device management server instructs the gateway by executing an executable command on the ZigbeeFw/ ⁇ x>/Delivered/Operations/Distribute node by triggering the gateway Distribute new firmware to Zigbee devices with new firmware.
  • the gateway sends a message indicating that the firmware upgrade operation is not performed to each Zigbee device that applies the new firmware.
  • the gateway sends an Upgrade End Response message to each Zigbee device that applies the new firmware, and carries information indicating that the Zigbee device temporarily does not perform the firmware upgrade operation.
  • the gateway queries each Zigbee device that applies the new firmware for a new firmware download status.
  • the gateway sends a ZCL Read_Attributes message to each Zigbee device that applies the new firmware, requesting a new firmware download status for each Zigbee device.
  • the gateway reports the distribution of the new firmware to the device management server according to the new firmware download status of each Zigbee device, that is, the firmware download result of the Zigbee device to which the new firmware is applied.
  • the distribution of the new firmware is reported to the device management server by sending an Alert command.
  • the device management server determines, according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network, the firmware upgrade mode of the Zigbee device, and triggers the gateway to execute an executable command of the firmware upgrade mode determined on the node in the management tree.
  • the device management server determines whether the Zigbee device needs to be upgraded according to the new firmware distribution. Then, the device management server determines the specific firmware upgrade mode of the Zigbee device according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network.
  • the firmware upgrade mode of the Zigbee device determined in the step may be a normal upgrade mode.
  • the device management server triggers an executable command on the gateway indicating that the Zigbee device is immediately upgraded after the firmware is distributed; and the firmware upgrade manner of the determined Zigbee device is determined.
  • the device can be in the synchronous upgrade mode.
  • the device management server triggers the executable command on the gateway to indicate that the Zigbee device is upgraded after the firmware is distributed.
  • the firmware upgrade mode of the determined Zigbee device can be the timed upgrade mode. In this case, the device management server triggers.
  • the executable command on the gateway indicates that the Zigbee device is upgraded at the scheduled upgrade time after the firmware is distributed.
  • the device management server may re-determine the scope of the Zigbee device applicable to the new firmware according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network, and re-notify the gateway, and the subsequent gateway executes under the trigger of the device management server.
  • An executable command sends a message indicating the upgrade to the re-determined Zigbee device to which the new component is applied.
  • the device management server may also pass
  • the Replace command configures the firmware recovery policy when the Zigbee device fails to be upgraded on the ⁇ >/1 ⁇ (;0 ⁇ 61 ⁇ 01 node of the management tree. Specifically, it can be configured as "All" or “Failed” or as " None", when configured as "None", it means that no specific firmware recovery policy is currently configured.
  • the gateway needs to send the upgrade result information to the device management server.
  • the device management server reconfigures the specific firmware recovery policy according to the upgrade result information. After the Zigbee device performs the upgrade operation, the method further includes:
  • the gateway obtains an upgrade result of the Zigbee device.
  • the gateway may send a Zigbee cluster library attribute to the Zigbee device to read the ZCL Read_Attributes request message, which carries a CurrentFirmware Vers ion parameter, where the parameter indicates that the gateway requests to obtain the latest firmware version number of the Zigbee device, and the Zigbee device sends the Zigbee device to the gateway.
  • the response message of the latest firmware version number the gateway can judge whether the Zigbee device is successfully upgraded according to the latest firmware version number, and record ZigbeeFw/ ⁇ x>/State/SuccessfulList and/or ZigbeeFw/ ⁇ x>/State/FailList according to the judgment result.
  • step 1006 when the policy node is None, the current firmware recovery policy is not present, and the gateway reports the upgrade result of the Zigbee device to the device management server by using the Alert command, where the upgrade result status information is carried, and the status information of the upgrade result may be all/partially successful. All/partial failures, etc.
  • the Policy node is configured as "All" or "Failed" go to step 1006.
  • the device management server obtains detailed upgrade status information of the ZigbeeFw/ ⁇ x>/State node from the gateway management tree by using the Get command (for example, obtaining ZigbeeFw/ ⁇ x>/State/Value, and/or ⁇ x>/ State/FailedList, and / or information recorded on the ZigbeeFw/ ⁇ x>/State/SuccessfulList node).
  • the Get command for example, obtaining ZigbeeFw/ ⁇ x>/State/Value, and/or ⁇ x>/ State/FailedList, and / or information recorded on the ZigbeeFw/ ⁇ x>/State/SuccessfulList node.
  • the device management server can also obtain the upgrade result by reading the firmware version information from the . /GW/DevList/ node.
  • the device management server reconfigures the firmware recovery policy to All or Failed by using the Replace command in the ⁇ x>/Recover/Policy node in the gateway management tree according to the obtained detailed upgrade status information.
  • the device management server triggers an executable command on the ⁇ /Recover node in the gateway. 1006.
  • the gateway executes the executable command on the 4i" ⁇ x>/Recover node, and sends a firmware recovery command to all Zigbee devices applicable to the new firmware when the firmware recovery policy on the ⁇ x>/Recover/Policy node is All.
  • a firmware recovery command is sent to the upgraded Zigbee device, where the firmware recovery command is used to instruct the Zigbee device to resume using the firmware before the upgrade.
  • the gateway queries the current version number of the Zigbee device that receives the firmware recovery command, and determines whether the version before the upgrade has been restored.
  • the process of querying the current version number of the Zigbee device that receives the firmware recovery command includes:
  • the gateway may send a ZCL Read_Attributes request message to the Zigbee device, where
  • the gateway sends a firmware recovery result to the device management server by using an Alert command, and the firmware recovery result may be that each Zigbee device successfully recovers, or the upgraded Zigbee device has successfully recovered.
  • the device management server sends a device management termination command Final to the gateway, and ends the device management session.
  • TR069 Agreement and The DM protocol has great similarities in the interaction mechanism between the device management server and the gateway and the design of the management tree data structure.
  • the remote device management session between the device management server and the gateway is established, and the session is in the session.
  • the gateway manages the data of the nodes in the tree to implement the remote device management function.
  • the main difference is that the nodes in the TR069 protocol have no executable attributes, that is, they cannot trigger a node ( -k 1 ZigbeeFw/ ⁇ x> An executable command on /Download/Operations/Download ) instructs the gateway to perform the appropriate action.
  • the TR069 protocol carries a series of dedicated device management commands (such as Download, Reboot, ...) in the device management message or in a new firmware file downloaded by the gateway.
  • 11 is a structure of a download file supported by the TR069 protocol.
  • the device management command list related to the file may carry a series of descriptions and commands related to device firmware upgrade, including The file usage, firmware version information, applicable device version range, etc. can be extended to include new Zigbee device range commands, new firmware upgrade mode commands, etc. for the new firmware.
  • an embodiment of the present invention provides a method for implementing a remote upgrade of a Zigbee device.
  • the device management server and the gateway adopt a TR069 protocol, and the method specifically includes: 1201-1203 is the same as 501-503.
  • the gateway establishes a device management session with the device management server by using the TR069 protocol. Specifically, the device management server sends a device management notification message to the gateway.
  • the gateway Based on the message, the gateway establishes a device management session with the device management server, and provides the basic device information of the gateway through the Deviceld parameter in the Inform command, which specifically includes the manufacturer identifier, the device identifier (SerialNumber), and the device. Model (ProductClass) and other information;
  • the device management server can further obtain detailed device information of the gateway (information on the ./DevDetail node) by obtaining the parameter value GetParameterValues command, and all Zigbee device information managed by the gateway (./GW/DevList) Information on the node).
  • the gateway may also actively provide the device management server with basic device information and detailed device information of the gateway itself.
  • the device management server configures new firmware information on the ZigbeeFw/ ⁇ x> node in the gateway by setting a parameter value SetPammeterValues command.
  • the device management server can pass Add the object AddObject command to create the node.
  • the device management server downloads a new firmware file to the gateway by using a TR069 protocol, where the new firmware file carries a Zigbee device firmware upgrade management command, and the Zigbee device firmware upgrade management command is pre-written by the device management server.
  • the step includes: the device management server instructs the gateway to download a new firmware file from the specified address (URL) by using a Download command; the gateway downloads a new firmware file from the specified address, the new firmware file includes: new firmware and Zigbee device firmware upgrade management Command, Zigbee device firmware upgrade management commands include new firmware upgrade mode command, Zigbee device range command for new firmware, firmware recovery policy command when upgrade fails, etc., where the new firmware upgrade mode command indicates the firmware distribution and distribution after Zigbee A command to upgrade the device immediately, or a command to instruct the firmware distribution and all Zigbee devices to successfully perform a firmware upgrade after successfully downloading the new firmware, or a command to upgrade the Zigbee device at a scheduled upgrade time after the firmware is distributed and distributed.
  • the new firmware upgrade mode command indicates the firmware distribution and distribution after Zigbee A command to upgrade the device immediately, or a command to instruct the firmware distribution and all Zigbee devices to successfully perform a firmware upgrade after successfully downloading the new firmware, or a command to upgrade the Zigbee
  • the gateway uses the Zigbee device firmware upgrade management command to download the new firmware to each Zigbee device to which the new firmware is applied, and instructs each Zigbee device to which the new firmware is applied for firmware upgrade.
  • the ordinary upgrade mode the synchronous upgrade mode, and the timed upgrade mode can be adopted.
  • the gateway obtains an upgrade result of the Zigbee device.
  • the gateway reports the upgrade result of the Zigbee device to the device management server, where the upgrade result status information is carried, and the upgrade result status information may be all/partial Success, all/partial failure, etc.
  • the firmware recovery policy carried in the new firmware file is indicated as " ⁇ 1 ⁇ , or "Failed", go to step 1212.
  • the device management server obtains detailed upgrade status information of the ZigbeeFw/ ⁇ x>/State node from the gateway management tree by using the Get Parameter Value command (for example, obtaining ZigbeeFw/ ⁇ x>/State/Value, and/or ⁇ x ⁇ /State/FailedList, and/or information recorded on the ZigbeeFw/ ⁇ x>/State/SuccessfulList node).
  • the Get Parameter Value command for example, obtaining ZigbeeFw/ ⁇ x>/State/Value, and/or ⁇ x ⁇ /State/FailedList, and/or information recorded on the ZigbeeFw/ ⁇ x>/State/SuccessfulList node.
  • the device management server sends a Recover command to the gateway according to the obtained detailed upgrade status information, where the command carries a firmware recovery policy indication, and the firmware recovery policy indication in the command is “All” or “Failed”. 1212.
  • the gateway sends a firmware recovery command to all Zigbee devices or upgrade failed Zigbee devices to which the new firmware applies according to the firmware recovery policy indication.
  • the gateway queries the current version number of the Zigbee device that receives the firmware recovery command, determines whether the version before the upgrade has been restored, and updates the information on the ZigbeeFw/ ⁇ x>/State/Value node according to the determined result.
  • step 1007 The specific implementation is the same as step 1007, and details are not described herein again.
  • the gateway sends a firmware recovery result to the device management server by using the TransportComplete command.
  • the firmware recovery result may be that each Zigbee device successfully recovers, or the upgraded Zigbee device has successfully recovered.
  • the device management server sends a device management termination command to the gateway, and ends the device management session.
  • This embodiment extends the device management command in the new firmware file downloaded by the gateway, or does not extend the new firmware file, but uses a dedicated device management command to notify the gateway without affecting the implementation of the present invention.
  • an embodiment of the present invention provides a gateway, including:
  • the remote management information interaction unit 10 is configured to receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, device range indication information applicable to the firmware, and firmware delivery and upgrade indication information;
  • the device range indication information that is applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier and an energy applicable to the firmware. At least one of the firmware version range indication information currently used by the Zigbee device upgraded to the acquired firmware.
  • the firmware obtaining unit 20 is configured to obtain firmware according to the firmware downloading instruction.
  • the firmware downloading instruction may carry firmware, and the firmware acquiring unit 20 directly obtains firmware from the firmware downloading instruction, or the firmware downloading instruction carries the firmware.
  • the firmware acquisition unit 20 downloads the firmware based on the download address of the firmware.
  • the upgrading unit 30 is configured to deliver the acquired information to the Zigbee device to which the firmware is applied by using the Zigbee device firmware upgrade management protocol according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware. Firmware, and control the Zigbee device to which the firmware is applied to perform firmware upgrade operations.
  • the gateway further includes: The query unit 40 is configured to query the Zigbee device that performs the firmware upgrade operation to query the upgrade result.
  • the remote management information interaction unit 20 is further configured to receive an upgrade result request message sent by the device management server, and send a response message to the device management server according to the query result.
  • the method further includes: a recovery unit 50, configured to use the Zigbee device when the query result indicates that at least one Zigbee device fails to be upgraded.
  • the firmware upgrade management protocol sends a firmware recovery command to the upgraded Zigbee device or a firmware recovery command to all Zigbee devices that perform the firmware upgrade operation, the firmware recovery command is used to indicate that the firmware before the upgrade is restored.
  • the remote management information interaction unit 20 is further configured to receive, by using a remote device management protocol, a firmware recovery indication sent by the device management server, where the firmware recovery indication is that the device management server determines at least one according to the received upgrade result. Sent when the Zigbee device fails to be upgraded; the firmware recovery indication indicates that the Zigbee device that failed the upgrade needs to perform a recovery operation or all Zigbee devices that perform the firmware upgrade operation need to perform a recovery operation.
  • the firmware delivery and update instruction information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation immediately after the firmware is successfully downloaded.
  • the upgrade unit 30 includes: a firmware delivery unit 301, configured to utilize Zigbee.
  • the device firmware upgrade management protocol indicates that the Zigbee device to which the firmware is applied downloads the acquired firmware; the determining unit 302 is configured to determine whether the Zigbee device to which the firmware is applied has successfully downloaded the firmware; the first upgrade indication sending unit 303 , is used to send instructions for immediate upgrade to the Zigbee device that has been successfully downloaded.
  • the firmware delivery and upgrade indication information is an indication that triggers execution of an executable command on the gateway that indicates that the Zigbee device is immediately upgraded after the firmware is distributed and distributed; or the firmware delivery and upgrade indication information includes triggering execution on the gateway.
  • the firmware delivery and upgrade indication information is a command for obtaining an immediate upgrade of the Zigbee device after the firmware distribution and distribution is obtained from the firmware file sent by the device management server.
  • the firmware delivery and upgrade indication information indicates that the firmware upgrade operation is performed synchronously after all the Zigbee devices applicable to the firmware successfully download the firmware; at this time, the upgrade unit 30 includes: firmware The issuing unit 301 is configured to use the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware.
  • the download result determining unit 304 is configured to determine whether each Zigbee device to which the firmware is applied has been Successfully downloading the firmware; the second upgrade indication sending unit 306 is configured to: when the determination result of the download result determining unit is yes, send the indication information of the immediate upgrade to all Zigbee devices to which the firmware is applied; or, select a time Pointing, the indication information indicating that the firmware upgrade is performed at the selected time point is sent to all the Zigbee devices that are applicable to the firmware.
  • the upgrading unit 30 may further include: a device status determining unit 305, configured to determine the firmware Whether the applicable Zigbee devices are in an active state; the second upgrade indication sending unit 306 is specifically configured to: when the determination result of the download result judging unit is yes and the device state judging unit is yes, all Zigbee devices applicable to the firmware Send instructions for immediate upgrade; judgment in the download result judgment unit If the result of the disconnection is yes, and the device status determination unit is no, all the Zigbee devices to which the firmware is applied are selected to be in an active state at a point in time, and an indication is sent to all Zigbee devices to which the firmware applies, at the selected time. Click the instructions for the firmware upgrade.
  • a device status determining unit 305 configured to determine the firmware Whether the applicable Zigbee devices are in an active state
  • the second upgrade indication sending unit 306 is specifically configured to: when the determination result of the download result judging unit is yes and the device state judging unit is yes, all Zigbee devices applicable to the firmware Send
  • the firmware delivery and upgrade indication information is an indication of an executable command that triggers execution of the firmware distribution on the gateway and the firmware upgrade is performed immediately after all the Zigbee devices successfully download the firmware; or the firmware delivery and upgrade indication information Including an instruction to trigger an executable command on the execution gateway indicating that the firmware is distributed, and a trigger execution received after the firmware download status of the Zigbee device to which the firmware is applied to the device management server indicates that all Zigbee devices successfully execute the firmware after downloading An indication of an executable command of the firmware upgrade; or the firmware delivery and upgrade indication information is a command to obtain a firmware upgrade from the firmware file sent from the device management server to indicate that the firmware distribution and all Zigbee devices successfully download the firmware.
  • the firmware delivery and the upgrade indication information indicate that each Zigbee device to which the firmware is applied successfully performs the firmware upgrade operation after the firmware is successfully downloaded.
  • the upgrade unit includes: a firmware delivery unit 301, Using the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware; the third upgrade indication sending unit 307 is configured to send an indication to each of the Zigbee devices to which the firmware is applicable, respectively. Upgrade time for instructions on firmware upgrades.
  • the firmware delivery and upgrade indication information includes: a time parameter indicating the predetermined upgrade time, and an indication of an executable command that triggers execution of the firmware distribution and distribution on the gateway after the Zigbee device upgrades at the predetermined upgrade time.
  • the information includes: an indication of executing an executable command on the execution gateway indicating that the firmware is distributed, and a time parameter indicating the predetermined upgrade time received after the firmware download status of the Zigbee device to which the firmware is applied is reported to the device management server, and triggering
  • the Zigbee device indication information after the firmware distribution is performed on the execution gateway includes: obtaining, from the firmware file sent by the device management server, a command indicating that the Zigbee device upgrades at a predetermined upgrade time after the firmware distribution and distribution.
  • the firmware delivery unit 301 specifically includes:
  • the application range determining unit 3011 is configured to determine, according to the device range indication information that is applicable to the firmware and the acquired information of each Zigbee device, the Zigbee device to which the firmware is applied; and the first notification message sending unit 3012, Using the Zigbee device firmware upgrade management protocol, sending a notification message to the Zigbee device to which the firmware is applied in a unicast manner to notify the Zigbee device to which the firmware is applicable to download the firmware; and downloading unit 3013 for The firmware is downloaded to the Zigbee device that receives the notification message;
  • the firmware sending unit 301 specifically includes: a second notification message sending unit 3014, configured to use the Zigbee device firmware upgrade management protocol to broadcast to each Zigbee device according to the acquired information of each Zigbee device.
  • the notification message carries the information of the Zigbee device to which the firmware is applied, where the information of the Zigbee device to which the firmware is applied includes: a manufacturer identifier and a category of the Zigbee device to which the firmware is applied And at least one of the identifiers; and a downloading unit 3013, configured to download the firmware to the Zigbee device that requests the firmware, where the Zigbee device that requests the firmware determines that the Zigbee device that can apply the firmware according to the notification message .
  • the gateway further includes: a Zigbee device information obtaining unit 60, configured to acquire information of the corresponding Zigbee device from each Zigbee device managed by the Zigbee device firmware upgrade management protocol.
  • the firmware delivery and upgrade indication information includes: firmware delivery indication information and upgrade indication information; the remote management information interaction unit 10 is specifically configured to send, to the device management server, a firmware download result of the Zigbee device to which the firmware is applied, Receiving the upgrade indication information sent by the device management server, where the upgrade indication information is sent when the device management server determines that the upgrade indication information needs to be sent according to the firmware download result of the Zigbee device to which the firmware is applied.
  • the gateway determines, according to the device range indication information that the new firmware is sent by the device management server, the Zigbee device to which the new firmware is applied, according to the firmware delivery and upgrade indication information sent by the device management server.
  • the Zigbee device for the new firmware delivers new firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade.
  • the Zigbee device does not need to support the SNMP protocol. Therefore, the Zigbee device has little change. .
  • an embodiment of the present invention provides a network system, including a gateway and a device management server.
  • the functions of the gateway and the device management server are described in the foregoing method and device description, and details are not described herein.
  • the gateway determines, according to the device range indication information that the new firmware is sent by the device management server, the Zigbee device to which the new firmware is applied, according to the firmware delivery and upgrade indication information sent by the device management server.
  • the Zigbee device for the new firmware delivers new firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade.
  • the Zigbee device does not need to support the SNMP protocol. Therefore, the Zigbee device has little change. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

A method for achieving remote update of Zigbee devices includes: receiving, by utilizing a remote device management protocol, a firmware downloading instruction sent from a device management server; obtaining firmware according to the firmware downloading instruction; receiving, by utilizing the remote device management protocol, the range indication information of the devices to which the firmware is applicable and firmware distribution and update indication information sent from the remote device management server; according to the firmware distribution and update indication information and the range indication information of the devices to which the firmware is applicable, by utilizing the firmware update management protocol of Zigbee devices, distributing the obtained firmware to the Zigbee devices to which the firmware is applicable, and controlling the Zigbee devices to which the firmware is applicable to perform firmware update operations. Application of the present invention can perform remote firmware update with little modification for Machine to Machine (M2M) terminals using Zigbee technology.

Description

实现 Zigbee设备 升级的方法、 装置及网络系统 本申请要求于 2010 年 10 月 21 日提交中国专利局、 申请号为 201010526831.4、发明名称为 "实现 Zigbee设备远程升级的方法、 装置及网络 系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method, device and network system for implementing Zigbee device upgrade This application claims to be submitted to the China Patent Office on October 21, 2010, the application number is 201010526831.4, and the invention name is "Method, device and network system for realizing Zigbee device remote upgrade" Priority of the patent application, the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信技术领域, 特别涉及一种实现 Zi gbee设备远程升级的方 法、 装置及网络系统。  The present invention relates to the field of communications technologies, and in particular, to a method, device, and network system for implementing a remote upgrade of a Zi gbee device.
背景技术 Background technique
机器通信 ( Machine-to-Machine Communications, M2M )是一种以机器智 能交互为核心的、 网络化的应用与服务, 通过在机器内部嵌入无线或有线通信 模块以及应用处理逻辑,实现无需人工干预的数据通信,以便满足用户对监控、 指挥调度、数据采集和测量等方面的信息化需求。图 1示出了一种典型的 M2M 系统架构, 其中, 各种 M2M终端 (如传感器、 微控制器等 )通过传感网络技 术连接到 M2M网关, 再通过 M2M网关利用远程接入技术(如 2G/3G无线蜂 窝网络技术、非对称数字用户环路( Asymmetric Digital Subscriber Line, ADSL ) 技术)连接到 M2M业务平台, 而各种应用 (如电力抄表、 智能交通等)则是 通过 M2M业务平台获取 M2M终端采集的数据或者对 M2M终端进行远程的 控制和管理。  Machine-to-Machine Communications (M2M) is a networked application and service centered on machine intelligence interaction. By embedding wireless or wired communication modules and application processing logic inside the machine, no manual intervention is required. Data communication to meet the information needs of users in monitoring, command and dispatch, data acquisition and measurement. Figure 1 shows a typical M2M system architecture in which various M2M terminals (such as sensors, microcontrollers, etc.) are connected to the M2M gateway through sensor network technology, and then use the remote access technology (such as 2G) through the M2M gateway. /3G wireless cellular network technology, Asymmetric Digital Subscriber Line (ADSL) technology is connected to the M2M service platform, and various applications (such as power meter reading, intelligent transportation, etc.) are obtained through the M2M service platform. Data collected by the M2M terminal or remotely controlled and managed by the M2M terminal.
远程设备管理是 M2M系统的一个重要功能, 远程设备管理是指 M2M应 用或 M2M服务提供商需要通过 M2M业务平台以及 M2M网关远程地对处于 末梢传感网络中的 M2M终端进行日常管理和维护, 具体包括对 M2M终端的 远程配置管理、 性能管理、 故障管理、 软件 /固件升级等多个方面的功能。 这 些设备管理功能需要通过 M2M业务平台和 M2M网关中的设备管理能力组件 来配合完成。  Remote device management is an important function of the M2M system. The remote device management means that the M2M application or the M2M service provider needs to remotely manage and maintain the M2M terminal in the terminal sensing network through the M2M service platform and the M2M gateway. It includes functions such as remote configuration management, performance management, fault management, and software/firmware upgrade for M2M terminals. These device management functions need to be completed through the M2M service platform and the device management capability components in the M2M gateway.
现有技术中,基于广域网的远程设备管理技术主要有开放移动联盟( Open In the prior art, the remote device management technology based on the wide area network mainly has an Open Mobile Alliance (Open
Mobile Alliance, OMA )所定义的设备管理(Device Management, DM )规范 (以下简称 DM ),以及宽带论坛( Broadband Forum )所定义的 TR069规范(以 下简称 TR069 )。 其中, DM主要应用于移动网络环境(如 2G/3G蜂窝网络) 中, 而 TR069则主要用于固定宽带网络环境(如 ADSL ), 二者都能提供对单 个设备的远程管理维护功能。 而在传感网络中, 目前 M2M终端常用的一种技 术是 Z字舞蜜蜂(Zigbee )技术, 它不仅提供了本地传感网络中设备之间的基 本通信能力, 也提供了一定的设备管理能力, 比如固件升级( Zigbee OTA Upgrade )。 Zigbee技术支持同时对多个 Zigbee网络设备进行固件升级操作, 也提供了多种固件升级的执行方式。 The Device Management (DM) specification (hereinafter referred to as DM) defined by Mobile Alliance, OMA), and the TR069 specification (hereinafter referred to as TR069) defined by the Broadband Forum. Among them, DM is mainly used in mobile network environments (such as 2G/3G cellular networks), while TR069 is mainly used in fixed broadband network environments (such as ADSL), both of which can provide single-pair Remote management and maintenance functions of devices. In the sensor network, one of the commonly used technologies of M2M terminals is the Zigbee technology, which not only provides basic communication capabilities between devices in the local sensor network, but also provides certain device management capabilities. , such as firmware upgrade (Zigbee OTA Upgrade). Zigbee technology supports firmware upgrades for multiple Zigbee network devices simultaneously, as well as multiple firmware upgrades.
现在, M2M业务平台中的设备管理能力组件能够采用上述基于广域网的 远程设备管理技术(DM或者 TR069 )对 M2M网关进行远程管理; M2M网 关中的设备管理能力组件可以采用上述传感网络设备管理技术(Zigbee )对传 感网络末梢的 M2M终端进行本地管理。 然而, 由于广域网的远程设备管理技 术和传感网设备管理技术存在的差异性, M2M应用或 M2M服务提供商却无 法利用基于广域网的设备管理技术通过 M2M 业务平台和 M2M 网关直接对 M2M终端进行管理。  Now, the device management capability component in the M2M service platform can remotely manage the M2M gateway by using the above-mentioned WAN-based remote device management technology (DM or TR069); the device management capability component in the M2M gateway can adopt the above-mentioned sensor network device management technology. (Zigbee) Local management of M2M terminals at the end of the sensor network. However, due to the differences between the remote device management technology of the WAN and the device management technology of the sensor network, the M2M application or the M2M service provider cannot directly manage the M2M terminal through the M2M service platform and the M2M gateway by using the WAN-based device management technology. .
现有技术提供一种使用简单网络管理协议 ( Simple Network Management Protocol, SNMP )协议对 M2M终端进行远程管理的方法, 如图 2所示, 其中, SNMP管理站上的管理应用模块通过 SNMP协议将设备升级请求发送到接入 点 ( Network Access Point, AP )上的简单网络管理协议代理 SNMP Agent, 该 设备升级请求被转发到 M2M终端上的 SNMP Agent,由 M2M终端上的 SNMP Agent与本地建立的 SNMP 管理信息库( MIB )进行信息交互, 从而实现对 M2M终端进行固件升级。  The prior art provides a method for remotely managing an M2M terminal by using a Simple Network Management Protocol (SNMP) protocol, as shown in FIG. 2, wherein the management application module on the SNMP management station passes the device through the SNMP protocol. The upgrade request is sent to the Simple Network Management Protocol Agent SNMP Agent on the Access Point (AP). The device upgrade request is forwarded to the SNMP Agent on the M2M terminal, and the SNMP Agent on the M2M terminal and the SNMP established locally. The Management Information Base (MIB) exchanges information to implement firmware upgrades for M2M terminals.
现有技术需要 M2M终端上具有 SNMP Agent和 SNMP管理信息库( MIB ), 即需要 M2M终端支持 SNMP协议,但是现已应用于传感网络的大量 M2M终 端并不支持 SNMP协议, 因此, 需要进行固件升级时, 对现已应用的 M2M终 端的改动很大, 提高了运营成本。  The prior art requires an SNMP agent and an SNMP management information base (MIB) on the M2M terminal, that is, the M2M terminal needs to support the SNMP protocol, but a large number of M2M terminals that are currently applied to the sensing network do not support the SNMP protocol, and therefore, firmware is required. When upgrading, the M2M terminals that have been applied have been greatly modified, which increases operating costs.
发明内容 Summary of the invention
本发明实施例提供一种实现 Z i gbee设备远程升级的方法、 装置及网络系 统, 能够在对采用 Zigbee技术的 M2M终端, 改动很小的情况下进行远程固件升 级。  The embodiments of the present invention provide a method, a device, and a network system for implementing remote upgrade of a Zigbee device, which can perform remote firmware upgrade when the M2M terminal adopting Zigbee technology has little change.
有鉴于此, 本发明实施例提供:  In view of this, the embodiments of the present invention provide:
一种实现 Zigbee设备远程升级的方法, 包括: 利用远程设备管理协议接收设备管理服务器发送的固件下载指令,根据所 述固件下载指令获取固件; A method for implementing remote upgrade of a Zigbee device, including: Receiving, by using a remote device management protocol, a firmware download instruction sent by the device management server, and acquiring firmware according to the firmware download instruction;
利用远程设备管理协议接收远程设备管理服务器发送的所述固件所适用 的设备范围指示信息和固件下发及升级指示信息;  Receiving, by using a remote device management protocol, device range indication information and firmware delivery and upgrade indication information applicable to the firmware sent by the remote device management server;
根据所述固件下发及升级指示信息和所述固件所适用的设备范围指示信 息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备下发 所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件升级操作。  And using the Zigbee device firmware upgrade management protocol to deliver the acquired firmware to the Zigbee device to which the firmware is applicable, and controlling the firmware according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware. The Zigbee device to which the firmware is applied performs a firmware upgrade operation.
一种网关, 包括:  A gateway, including:
远程管理信息交互单元,用于利用远程设备管理协议接收设备管理服务器 发送的固件下载指令、所述固件所适用的设备范围指示信息和固件下发及升级 指示信息;  a remote management information interaction unit, configured to receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, device range indication information applicable to the firmware, and firmware delivery and upgrade indication information;
固件获取单元, 用于根据所述固件下载指令, 获取固件;  a firmware obtaining unit, configured to obtain firmware according to the firmware downloading instruction;
升级单元,用于根据所述固件下发及升级指示信息和所述固件所适用的设 备范围指示信息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备下发所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件 升级操作。  An upgrade unit, configured to deliver the obtained firmware to a Zigbee device to which the firmware is applied, according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware, by using a Zigbee device firmware upgrade management protocol. And controlling the Zigbee device to which the firmware is applied to perform a firmware upgrade operation.
一种网络系统, 包括上述网关和设备管理服务器, 其中,  A network system, including the foregoing gateway and device management server, wherein
设备管理服务器, 用于利用远程设备管理协议, 向所述网关发送固件下载 指令、 所述固件所适用的设备范围指示信息和固件下发及升级指示信息。  And a device management server, configured to send, by using a remote device management protocol, a firmware download instruction, device range indication information, and firmware delivery and upgrade indication information, to the gateway.
本发明实施例中网关根据设备管理服务器发送的固件所适用的设备范围 指示信息, 确定该固件所适用的 Zigbee设备, 根据所述设备管理服务器发送 的固件下发及升级指示信息, 向所述固件所适用的 Zigbee设备下发该固件, 并控制其执行固件升级操作, 这样可以实现设备管理服务器控制 Zigbee设备 进行固件升级, 不需要 Zigbee设备支持 SNMP协议, 因此对 Zigbee设备的改 动很小。  In the embodiment of the present invention, the gateway determines, according to the device range indication information that the firmware is sent by the device management server, the Zigbee device to which the firmware is applied, and sends the firmware delivery and upgrade indication information sent by the device management server to the firmware. The applicable Zigbee device delivers the firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade. The Zigbee device does not need to support the SNMP protocol, so the changes to the Zigbee device are small.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使 用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可 以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. In the field of ordinary people, without creative efforts, Other drawings are obtained in accordance with these figures.
图 1是现有技术提供的 M2M网络结构图; 图 3是本发明一实施例提供的实现 Zigbee设备远程升级的方法的流程图; 图 4是本发明实施例提供的用于 M2M设备固件升级的树状结构模型图; 图 5是本发明实施例提供的基于 DM协议的实现 Zi gbee设备远程升级的方 法的流程图;  1 is a structural diagram of an M2M network provided by the prior art; FIG. 3 is a flowchart of a method for implementing remote upgrade of a Zigbee device according to an embodiment of the present invention; FIG. 4 is a firmware upgrade for an M2M device according to an embodiment of the present invention. FIG. 5 is a flowchart of a method for implementing remote upgrade of a Zi gbee device based on the DM protocol according to an embodiment of the present invention;
图 6是本发明实施例提供的采用普通方式的远程升级方法流程图;  6 is a flowchart of a remote upgrade method in an ordinary manner according to an embodiment of the present invention;
图 9是本发明实施例提供的先触发 Zigbee设备分发固件, 再触发其升级的 方法流程图; FIG. 9 is a flowchart of a method for triggering a Zigbee device to distribute firmware and triggering an upgrade thereof according to an embodiment of the present invention;
图 10是本发明实施例提供的固件恢复操作方法流程图;  FIG. 10 is a flowchart of a firmware recovery operation method according to an embodiment of the present invention;
图 11是 TR069协议所支持的下载文件的结构示意图;  11 is a schematic structural diagram of a download file supported by the TR069 protocol;
图 12是本发明实施例提供的基于 TR069协议实现 Zigbee设备远程升级的方 法的流程图;  FIG. 12 is a flowchart of a method for implementing remote upgrade of a Zigbee device based on the TR069 protocol according to an embodiment of the present invention;
图 13A是本发明实施例提供的网关结构图;  FIG. 13 is a schematic structural diagram of a gateway according to an embodiment of the present invention; FIG.
图 13B是本发明实施例提供的升级单元的一种结构图;  FIG. 13B is a structural diagram of an upgrade unit according to an embodiment of the present invention; FIG.
图 13C是本发明实施例提供的升级单元另的一种结构图;  FIG. 13C is another structural diagram of an upgrade unit according to an embodiment of the present invention; FIG.
图 13D是本发明实施例提供的升级单元又的一种结构图;  FIG. 13D is a structural diagram of an upgrade unit according to an embodiment of the present invention; FIG.
图 14A是本发明实施例提供的一种固件下发单元结果图;  14A is a result diagram of a firmware delivery unit according to an embodiment of the present invention;
图 14B是本发明实施例提供的另一种固件下发单元结果图;  FIG. 14B is a result of another firmware delivery unit according to an embodiment of the present invention; FIG.
图 15是本发明实施例提供的网络系统结构图。  FIG. 15 is a structural diagram of a network system according to an embodiment of the present invention.
具体实施方式 detailed description
参阅图 3, 本发明实施例提供一种 Zigbee设备升级的方法, 该方法包括: Referring to FIG. 3, an embodiment of the present invention provides a method for upgrading a Zigbee device, where the method includes:
301、 利用远程设备管理协议接收设备管理服务器发送的固件下载指令, 根据所述固件下载指令, 获取固件。 301. Receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, and obtain firmware according to the firmware download instruction.
其中, 固件下载指令中可以携带固件, 则该步骤可以直接从固件下载指令 中获取固件,或者固件下载指令中携带固件的下载地址, 则该步骤根据固件的 下载地址, 下载固件。 Wherein, the firmware download instruction can carry the firmware, the step can directly obtain the firmware from the firmware download instruction, or the firmware download instruction carries the firmware download address, then the step is based on the firmware Download the address and download the firmware.
302、 利用远程设备管理协议接收设备管理服务器发送的所述固件所适用 的设备范围指示信息和固件下发及升级指示信息。  302. Receive, by using a remote device management protocol, device range indication information and firmware delivery and upgrade indication information applicable to the firmware sent by the device management server.
需要说明的是, 步骤 301和步骤 302没有时序上的先后顺序。  It should be noted that steps 301 and 302 have no sequential sequence.
其中, 本发明实施例的执行主体可以为网关, 本发明实施例中的设备管理 月良务器可以是 M2M业务平台, Zigbee设备可以是 M2M设备。  The executor of the embodiment of the present invention may be a gateway. The device management server in the embodiment of the present invention may be an M2M service platform, and the Zigbee device may be an M2M device.
其中, 本发明各实施例中的远程设备管理协议可以为 DM协议或者 TR069 协议。 具体的, 设备管理服务器可以采用 DM协议将固件所适用的设备范围指 示信息(即后续实施例中的设备范围描述信息)配置在网关中管理树的相应节 点上, 也可以通过 TR069协议扩展固件文件, 在固件文件中加入固件所适用的 Zigbee设备范围命令, Zigbee设备范围命令中包括该固件所适用的 Zigbee设备 范围指示信息, 然后将扩展后的固件文件下发给网关, 具体见后续实施例的详 细描述。  The remote device management protocol in the embodiments of the present invention may be the DM protocol or the TR069 protocol. Specifically, the device management server may use the DM protocol to configure the device range indication information applicable to the firmware (that is, the device range description information in the subsequent embodiment) on the corresponding node of the management tree in the gateway, or extend the firmware file by using the TR069 protocol. The Zigbee device range command is applied to the firmware file, and the Zigbee device range command includes the Zigbee device range indication information that is applicable to the firmware, and then the extended firmware file is sent to the gateway, as described in the following embodiments. A detailed description.
其中, 所述固件所适用的设备范围指示信息包括: 所述固件所适用的 Zigbee设备的标识、 所述固件所适用的 Zigbee设备生产商的标识、 所述固件所 适用的 Zigbee设备类别标识和能升级到所获取的固件的 Zigbee设备当前使用的 固件版本范围指示信息中至少一个。  The device range indication information that is applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier and an energy applicable to the firmware. At least one of the firmware version range indication information currently used by the Zigbee device upgraded to the acquired firmware.
具体的, 设备管理服务器可以采用 DM协议发送触发网关执行固件下发及 升级的指示,以便触发网关中管理树的节点上保存的表示固件下发及升级的可 执行命令; 或者, 也可以通过 TR069协议扩展固件文件, 在固件文件中加入固 件升级方式命令, 其中, 固件升级方式命令为指示固件分发及分发后 Zigbee设 备立即升级的命令, 或者, 指示固件分发及所有 Zigbee设备都成功下载固件后 同步执行固件升级的命令, 或者, 指示固件分发及分发后 Zigbee设备在预定的 升级时间进行升级的命令等, 然后将扩展后的固件文件发送给网关, 具体见后 续实施例的详细描述。  Specifically, the device management server may use the DM protocol to send an indication that triggers the gateway to perform firmware delivery and upgrade, so as to trigger an executable command that is sent on the node of the management tree in the gateway to indicate that the firmware is delivered and upgraded; or, by TR069 The protocol extends the firmware file, and the firmware upgrade mode command is added to the firmware file, wherein the firmware upgrade mode command is a command to indicate that the Zigbee device is immediately upgraded after the firmware is distributed and distributed, or the firmware distribution and all Zigbee devices are successfully downloaded after the firmware is successfully synchronized. The command to perform the firmware upgrade, or the command to update the Zigbee device after the firmware distribution and distribution is scheduled to be upgraded, and then send the extended firmware file to the gateway, as described in detail in the subsequent embodiments.
其中, 所述固件下发及升级指示信息包括: 固件下发指示信息和升级指示 信息;在利用远程设备管理协议接收远程设备管理服务器发送的升级指示信息 之前, 该方法还包括: 向设备管理服务器发送所述固件所适用的 Zigbee设备的 固件下载结果;所述利用远程设备管理协议接收远程设备管理服务器发送的升 级指示信息具体为: 在向设备管理服务器发送所述固件所适用的 Zigbee设备的 固件下载结果之后,接收所述设备管理服务器发送的升级指示信息,所述升级 指示信息是所述设备管理服务器根据所述固件所适用的 Zigbee设备的固件下 载结果确定需要发送升级指示信息时所发送的。其中,升级指示信息可以指示 具体的升级方式, 见后续实施例的描述。 The firmware delivery and upgrade indication information includes: firmware delivery indication information and upgrade indication information; before receiving the upgrade indication information sent by the remote device management server by using the remote device management protocol, the method further includes: Sending a firmware download result of the Zigbee device to which the firmware is applied; receiving the swell sent by the remote device management server by using the remote device management protocol The level indication information is specifically: after sending the firmware download result of the Zigbee device to which the firmware is applied to the device management server, receiving the upgrade indication information sent by the device management server, where the upgrade indication information is that the device management server is The firmware download result of the Zigbee device to which the firmware is applied determines that it is sent when the upgrade indication information needs to be sent. The upgrade indication information may indicate a specific upgrade manner, as described in the following embodiments.
303、 根据所述固件下发及升级指示信息和所述固件所适用的设备范围指 示信息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备 下发所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件升级操作。  303. The Zigbee device firmware upgrade management protocol is used to deliver the acquired firmware to the Zigbee device to which the firmware is applied according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware, and control The Zigbee device to which the firmware is applied performs a firmware upgrade operation.
具体的下发固件括但不限于如下两种方式:  Specific delivery firmware includes but is not limited to the following two methods:
第一种方式: 根据所述固件所适用的设备范围指示信息, 确定所述固件所 适用的 Zigbee设备, 采用单播方式向所述固件所适用的 Zigbee设备发送通知消 息, 以通知所述固件所适用的 Zigbee设备下载所述固件, 该通知消息可以是 Image Notify消息。  The first mode is: determining, according to the device range indication information that is applicable to the firmware, that the Zigbee device to which the firmware is applicable, sending a notification message to the Zigbee device to which the firmware is applied in a unicast manner to notify the firmware The applicable Zigbee device downloads the firmware, and the notification message may be an Image Notify message.
第二种方式: 采用广播方式向所述网关所管理的所有 Zigbee设备下发通知 消息, 所述通知消息中携带所述固件所适用的 Zigbee设备的信息, 其中, 所述 固件所适用的 Zigbee设备的信息包括: 所述固件所适用的 Zigbee设备的生产商 标识、 类别标识中至少一个, 该通知消息可以是 Image Notify消息。  The second method is to send a notification message to all Zigbee devices managed by the gateway in a broadcast manner, where the notification message carries information about a Zigbee device to which the firmware is applied, where the Zigbee device to which the firmware is applied The information includes: at least one of a manufacturer identifier and a category identifier of a Zigbee device to which the firmware is applicable, and the notification message may be an Image Notify message.
具体的, 固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备 成功下载固件后立即执行固件升级操作, 网关利用 Zigbee设备固件升级管理协 议指示所述固件所适用的 Zigbee设备从所述网关上下载所述固件, 分别向各下 载成功的 Zigbee设备发送立即升级的指示信息; 或者, 固件下发及升级指示信 息指示在所述固件所适用的所有 Zigbee设备都成功下载固件后立即执行固件 升级操作, 网关利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备从所述网关上下载所述固件, 在所述固件所适用的所有 Zigbee设备 都成功下载固件之后, 向所述固件所适用的所有 Zigbee设备发送立即升级的指 示信息, 或者, 网关利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备从所述网关上下载所述固件, 在所述固件所适用的所有 Zigbee设备 成功下载之后, 当某些固件所适用的 Zigbee设备当前正处于休眠状态时, 则选 择所述固件所适用的所有 Zigbee设备都处于激活态的一个时间点, 分别向所述 固件所适用的所有 Zigbee设备发送指示在所选时间点进行固件升级的指示信 息; 或者, 固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成 功下载固件后在预定的升级时间执行固件升级操作, 网关利用 Zigbee设备固件 升级管理协议指示所述固件所适用的 Zigbee设备从所述网关上下载所述固件, 分别向所述固件所适用的所有 Zigbee设备发送指示在所述预定的升级时间进 行固件升级的指示信息。 Specifically, the firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation immediately after the firmware is successfully downloaded, and the gateway uses the Zigbee device firmware upgrade management protocol to indicate that the Zigbee device to which the firmware is applied is The firmware is downloaded on the gateway, and the prompt information for immediate upgrade is sent to each Zigbee device that successfully downloads; or the firmware delivery and upgrade indication information indicates that all Zigbee devices that are applicable to the firmware are successfully executed after downloading the firmware. a firmware upgrade operation, the gateway uses a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applicable to download the firmware from the gateway, after all Zigbee devices to which the firmware is applied successfully download the firmware, All Zigbee devices to which the firmware is applied send an indication of an immediate upgrade, or the gateway uses a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applicable to download the firmware from the gateway, where the firmware is applicable. After all Zigbee devices have been successfully downloaded When some firmware applicable Zigbee device is currently in a sleep state, the apparatus selects all Zigbee firmware are applied at a point in time of the active state, respectively the All Zigbee devices to which the firmware is applied send indications indicating firmware upgrades at selected points in time; or, firmware delivery and upgrade instructions indicate that each Zigbee device to which the firmware is applied successfully downloads firmware after a predetermined upgrade time Performing a firmware upgrade operation, the gateway instructing the Zigbee device to which the firmware is applicable to download the firmware from the gateway by using a Zigbee device firmware upgrade management protocol, and sending an indication to each of the Zigbee devices to which the firmware applies, respectively, to the predetermined Upgrade time for instructions for firmware upgrade.
进一步的, 为了使设备管理服务器获知升级结果, 该方法还包括: 利用 Zigbee设备固件升级管理协议向执行固件升级操作的 Zigbee设备查询升级结 果。  Further, in order for the device management server to know the upgrade result, the method further includes: querying, by using the Zigbee device firmware upgrade management protocol, the Zigbee device performing the firmware upgrade operation to query the upgrade result.
进一步的, 为了能够向设备管理服务器提供升级结果, 该方法还包括: 利 用远程设备管理协议接收设备管理服务器发送的升级结果请求消息,根据查询 结果向所述设备管理服务器发送响应消息。  Further, in order to provide an upgrade result to the device management server, the method further includes: receiving, by using a remote device management protocol, an upgrade result request message sent by the device management server, and sending a response message to the device management server according to the query result.
进一步的, 为了在有 Zigbee设备升级失败时, 不影响执行固件升级操作 后的 Zigbee网络的正常运行,该方法还包括: 当查询结果表示至少一个 Zigbee 设备升级失败时, 利用 Zigbee设备固件升级管理协议向升级失败的 Zigbee设 备发送固件恢复命令, 所述固件恢复命令用于指示升级失败的 Zigbee设备恢 复使用升级之前的固件; 或者, 当查询结果表示至少一个 Zigbee设备升级失 败时, 利用 Zigbee设备固件升级管理协议向执行固件升级操作的所有 Zigbee 设备都发送固件恢复命令,所述固件恢复命令用于指示恢复使用升级之前的固 件。  Further, in order to prevent the normal operation of the Zigbee network after performing the firmware upgrade operation when the Zigbee device fails to be upgraded, the method further includes: when the query result indicates that at least one Zigbee device upgrade fails, the Zigbee device firmware upgrade management protocol is utilized. Sending a firmware recovery command to the Zigbee device that fails to be upgraded, the firmware recovery command is used to indicate that the upgraded Zigbee device resumes using the firmware before the upgrade; or, when the query result indicates that at least one Zigbee device upgrade fails, using the Zigbee device firmware upgrade The management protocol sends a firmware recovery command to all Zigbee devices that perform firmware upgrade operations, which are used to indicate that the firmware prior to the upgrade was restored.
可选的, 向 Zigbee设备发送固件恢复命令之前, 利用远程设备管理协议 向设备管理服务器发送所述固件所适用的 Zigbee设备的升级结果, 并接收所 述设备管理服务器发送的固件恢复指示, 所述固件恢复指示表示升级失败的 Zigbee设备需执行恢复操作, 或者, 所有执行固件升级操作的所有 Zigbee设 备都需执行恢复操作。  Optionally, before sending the firmware recovery command to the Zigbee device, sending, by using a remote device management protocol, an upgrade result of the Zigbee device to which the firmware is applied to the device management server, and receiving a firmware recovery indication sent by the device management server, where The firmware recovery indication indicates that the Zigbee device that failed the upgrade needs to perform the recovery operation, or that all Zigbee devices that perform the firmware upgrade operation need to perform the recovery operation.
本发明实施例中网关根据设备管理服务器发送的固件所适用的设备范围 指示信息, 确定该固件所适用的 Zigbee设备, 根据所述设备管理服务器发送的 固件下发及升级指示信息, 向所述固件所适用的 Zigbee设备下发固件, 并控制 其执行固件升级操作, 这样可以实现设备管理服务器控制 Zigbee设备进行固件 升级, 不需要 Zigbee设备支持 SNMP协议, 因此对 Zigbee设备的改动很小。 需要说明的是, 为了描述方便, 本发明后续实施例中会将网关向 Zigbee设 备下发的固件称为新固件。 In the embodiment of the present invention, the gateway determines, according to the device range indication information that the firmware is sent by the device management server, the Zigbee device to which the firmware is applied, and sends the firmware delivery and upgrade indication information sent by the device management server to the firmware. The applicable Zigbee device issues firmware and controls its firmware upgrade operation, so that the device management server can control the Zigbee device to perform firmware. The upgrade does not require the Zigbee device to support the SNMP protocol, so the changes to the Zigbee device are small. It should be noted that, for convenience of description, the firmware sent by the gateway to the Zigbee device in the subsequent embodiments of the present invention is referred to as new firmware.
本发明通过网关进行改进, 使网关当面向 M2M业务平台中的设备管理服 务器(比如 DM/TR069 Server )时, 本身作为 DM/TR069管理客户端, 当面向 Zigbee 网络中被管理的 Zigbee设备时, 则充当 Zigbee 固件的升级服务器 ( Zigbee OTA Upgrade Server )。 为了实现上述功能, 如下先介绍网关中用于 Zigbee设备固件升级的树状管理对象(Management Object, MO )结构模型, 如图 4所示, 其中, "./" 为网关中管理树的根节点, 每个方框表示管理树中的 一个 MO节点或其子节点,方框中的字符为节点名称。有些节点方框中节点名 称后标注不同的符号, 符号 "?", 则表示该节点可能有零个或一个实例; 符 号 "*" 表示该节点可能有零个或多个实例; 没有任何符号则表明节点可能有 且只有一个实例; 符号 "+" 表示该节点可能有一个或多个实例。 节点名称为 The invention is improved by the gateway, so that when the gateway is facing the device management server (such as DM/TR069 Server) in the M2M service platform, it acts as the DM/TR069 management client itself, when facing the Zigbee device managed in the Zigbee network, Serves as an upgrade server for Zigbee firmware (Zigbee OTA Upgrade Server). In order to achieve the above functions, the tree structure management object (MO) structure model for Zigbee device firmware upgrade in the gateway is introduced as follows, as shown in FIG. 4, where "./" is the root node of the management tree in the gateway. Each box represents an MO node or its child nodes in the management tree, and the characters in the box are the node names. In some node boxes, the node name is marked with a different symbol. The symbol "?" means that the node may have zero or one instance; the symbol "*" means that the node may have zero or more instances; there is no symbol. Indicates that the node may have one and only one instance; the symbol "+" indicates that the node may have one or more instances. The node name is
"<x>" 时表明该节点名称可以任意指定, 但是需要保证多个实例间不重复。 需要说明的是, 图 4并未示出管理树中所有的节点, 而仅是列出了与本发明相 关的一些节点信息。 "<x>" indicates that the node name can be arbitrarily specified, but it is necessary to ensure that multiple instances are not duplicated. It should be noted that Figure 4 does not show all the nodes in the management tree, but only some node information related to the present invention.
如下介绍各 MO节点的含义:  The meaning of each MO node is as follows:
1 ) ./Devlnfo 节点之下的子节点记录了网关本身的设备基本信息, 其中 Devld、 Man, Mod分别记录了网关的设备标识、 生产商标识、 型号标识; 2 ) ./DevDetail节点之下的子节点记录了网关本身的设备详细信息, 其中 1) The child nodes under the ./Devlnfo node record the basic information of the device of the gateway itself, where Devld, Man, Mod record the device identifier, manufacturer identifier and model identifier of the gateway respectively; 2) under the .DevDetail node The child node records the device details of the gateway itself, where
DevTyp、 FwV分别记录了网关的类型 (如 Zigbee网络中的网关)、 固件版本 号; DevTyp and FwV respectively record the type of the gateway (such as the gateway in the Zigbee network) and the firmware version number;
3 ) ./GW节点之下的子节点记录了网关设备的一些特定信息, 其中一个子 节点为 ./DevList节点, 该节点用于记录与该网关相连的所有 Zigbee设备信息, 每一个 Zigbee设备信息由一个< 〉节点表示, <x〉包括 Devlnfo和 DevDetail 节点, 这两个节点分别用于记录每个 Zigbee设备的基本信息和详细信息。 远 程的设备管理服务器可通过查看. /GW/DevList节点,了解该网关下所有 Zigbee 设备的基本信息和详细信息, 以便判断是否需要、 以及需要时如何对网关下的 Zigbee设备进行固件升级; 4 ) ./ZigbeeFw 节点之下的子节点用于记录所有通过该网关进行固件升级 所需的固件相关 MO信息, 每一个固件的 MO信息由一个 <x〉节点表示, 每个 <x〉节点包括如下子节点: 3) The child node under the ./GW node records some specific information of the gateway device, one of which is a ./DevList node, which is used to record all Zigbee device information connected to the gateway, and each Zigbee device information Represented by a <> node, <x> includes the Devlnfo and DevDetail nodes, which are used to record basic and detailed information for each Zigbee device. The remote device management server can view the .GW/DevList node to learn the basic information and detailed information of all Zigbee devices under the gateway, so as to determine whether and how to upgrade the Zigbee device under the gateway when needed. 4) The child nodes under the ./ZigbeeFw node are used to record all the firmware-related MO information required for firmware upgrade through the gateway. The MO information of each firmware is represented by an <x> node, and each <x> node includes The following child nodes:
■ PkgName: i己录了固件的名称;  ■ PkgName: i has recorded the name of the firmware;
■ PkgVersion: i己录了固件的版本号;  ■ PkgVersion: i has recorded the version number of the firmware;
■ ApplyTo: 记录了适用固件升级的 Zigbee设备范围, 并用一个< 〉子节点描 述该范围内的过滤条件, 每个过滤条件中还可以包含多个子过滤条件, 这 时< 〉子节点下可以包括多个子节点, 每个子节点记录了一个过滤条件, 这些过滤条件之间是相与的运算关系, 具体的过滤子条件包括:  ■ ApplyTo: records the range of Zigbee devices for the applicable firmware upgrade, and describes the filter conditions in the range with a <> child node. Each filter condition can also contain multiple sub-filter conditions. In this case, the <> sub-node can include multiple Each child node records a filter condition. These filter conditions are related to each other. The specific filter sub-conditions include:
• Devld: 记录适用固件升级的 Zigbee设备的类别标识;  • Devld: records the category ID of the Zigbee device for which the firmware is upgraded;
• Man: 记录适用固件升级的 Zigbee设备的生产商标识;  • Man: Record the manufacturer's identification of the Zigbee device for the firmware upgrade;
• Mod: 记录适用固件升级的 Zigbee设备的型号;  • Mod: Record the model number of the Zigbee device for which the firmware is upgraded;
• MaxVersion: 记录能升级的 Zigbee设备当前旧固件的最大版本号; • MaxVersion: records the maximum version number of the current old firmware of the Zigbee device that can be upgraded;
• MinVersion: 记录能升级的 Zigbee设备当前旧固件的最小版本号;;• MinVersion: records the minimum version number of the current old firmware of the Zigbee device that can be upgraded;
• Ext: 表示还可以扩展其他过滤条件, 比如限定能升级的 Zigbee设备需 要满足其它参数或属性的取值等等; • Ext: indicates that other filtering conditions can also be extended, such as limiting the Zigbee device that can be upgraded to meet the values of other parameters or attributes, and so on;
■ Download 节点之下的子节点用于记录通过间接方式下载固件后的固件升 级执行方式, Download节点之下的各子节点分别为:  ■ The child nodes under the Download node are used to record the firmware upgrade execution mode after downloading the firmware indirectly. The subnodes under the Download node are:
• PkgURL: 记录固件包的间接下载地址;  • PkgURL: Record the indirect download address of the firmware package;
• Operations: 记录下载固件后所需执行的固件升级方式, 该节点下的子 节点包括:  • Operations: Record the firmware upgrade method that needs to be performed after downloading the firmware. The subnodes under this node include:
- Download: 该节点保存可执行命令, 该命令为根据 PkgURL下载该 固件包到网关上, 暂不执行固件分发和升级;  - Download: The node saves an executable command, which downloads the firmware package to the gateway according to PkgURL, and does not perform firmware distribution and upgrade;
- DownloadDistribute:该节点保存可执行命令,该命令为根据 PkgURL 下载该固件包到网关后, 分发到 ApplyTo 节点中符合过滤条件的 - DownloadDistribute: This node saves the executable command, which is distributed to the ApplyTo node and is filtered according to the PkgURL after downloading the firmware package to the gateway.
Zigbee设备上, 暂不执行固件升级; On the Zigbee device, the firmware upgrade is not performed temporarily;
- DownloadUpgrade: 该节点保存可执行命令, 该命令为根据 PkgURL 下载该固件包到网关后, 分发到 ApplyTo节点中记录的符合过滤条 件的 Zigbee设备上, 并立即执行普通升级过程; - DownloadUpgrade: This node saves the executable command, which is distributed to the matching filter record recorded in the ApplyTo node after downloading the firmware package to the gateway according to PkgURL. On the Zigbee device, and immediately perform the normal upgrade process;
- DownloadUpgradeSync: 该节点保存可执行命令, 该命令为根据 PkgURL下载该固件包到网关后, 分发到 ApplyTo节点中记录的符 合过滤条件的 Zigbee设备上, 并执行同步升级过程;  - DownloadUpgradeSync: This node saves the executable command, which is distributed to the Zigbee device recorded in the ApplyTo node according to the filtering condition after the firmware package is downloaded to the gateway according to the PkgURL, and the synchronization upgrade process is performed;
- DownloadUpgradeSched: 该节点保存可执行命令, 该命令为根据 PkgURL下载该固件包到网关后, 分发到 ApplyTo节点中记录的符 合过滤条件的 Zigbee设备上, 并执行定时升级过程;  - DownloadUpgradeSched: This node saves the executable command. After downloading the firmware package to the gateway according to PkgURL, the command is distributed to the Zigbee device that matches the filtering conditions recorded in the ApplyTo node, and performs the timing upgrade process.
Ext: 表示还可以扩展其它固件升级的执行方式;  Ext: indicates that it is also possible to extend the execution of other firmware upgrades;
■ De l ivered 节点之下的子节点用于记录通过直接方式下载固件后的固件升 级执行方式, 包括以下子节点:  ■ The child nodes under the De ivered node are used to record the firmware upgrade execution mode after downloading the firmware directly, including the following subnodes:
• PkgDa ta: 用于存储待升级的固件;  • PkgDa ta: used to store the firmware to be upgraded;
• Opera t ions : 记录所需执行的固件升級方式, 该节点包括如下子节点: • Opera t ions : Record the firmware upgrade method that needs to be performed. The node includes the following child nodes:
- Di s t r ibute: 该节点保存可执行命令, 该命令为将所下载的固件分 发到 ApplyTo节点中记录的符合过滤条件的 Zigbee设备上, 暂不执 行固件升级; - Di s t r ibute: This node saves the executable command, which distributes the downloaded firmware to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and does not perform the firmware upgrade temporarily;
- Upgrade: 该节点保存可执行命令, 该命令为将所下载的固件包分发 到 ApplyTo节点中记录的符合过滤条件的 Zigbee设备上, 并立即执 行普通升级过程;  - Upgrade: This node saves the executable command, which distributes the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and immediately performs the normal upgrade process;
- UpgradeSync: 该节点保存可执行命令, 该命令为将所下载的固件包 分发到 ApplyTo节点中记录的符合过滤条件的 Zigbee设备上,并执 行同步升级过程;  - UpgradeSync: This node saves the executable command, which distributes the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and performs the synchronization upgrade process;
- UpgradeSched: 该节点保存可执行命令, 该命令为将所下载的固件 包分发到 ApplyTo节点中记录的符合过滤条件的 Zigbee设备上, 并 执行定时升级过程;  - UpgradeSched: This node saves an executable command for distributing the downloaded firmware package to the Zigbee device that matches the filter condition recorded in the ApplyTo node, and performs a scheduled upgrade process;
- Ext : 表示还可以扩展其它固件升级执行方式;  - Ext : Indicates that other firmware upgrade execution modes can also be extended;
■ Sta te节点之下的子节点用于记录固件升级的结果, 包括以下子节点: ■ The child nodes under the Sta te node are used to record the results of the firmware upgrade, including the following child nodes:
• Va lue: 用于记录固件升级状态, 比如全部升级成功、 部分升级成功、 全部升级失败、 其还可以记录固件下载和分发状态等等; • SuccessfulList: 用于记录所有分发且升级成功的 Zigbee设备信息, 其每一个子节点 <x>对应一个分发且升级成功的 Zigbee设备,子节点 <x> 下包括: Devld子节点, 用于记录该 Zigbee设备的唯一标识;• Va lue: Used to record firmware upgrade status, such as all upgrade success, partial upgrade success, full upgrade failure, it can also record firmware download and distribution status, etc. • SuccessfulList: It is used to record all Zigbee device information that is distributed and upgraded successfully. Each sub-node < x > corresponds to a Zigbee device that is distributed and upgraded successfully. Sub-node <x> includes: Devld sub-node, which is used to record the Zigbee device. The unique identifier of the Zigbee device;
• FailedList: 用于记录所有分发或升级失败的 Zigbee设备信息, 其每 一个子节点 <x>对应一个分发或升级失败的 Zigbee设备, 子节点 <x>下 包括: Devld子节点, 用于记录该 Zigbee设备的唯一标识; • FailedList: Used to record Zigbee device information for all distribution or upgrade failures. Each sub-node <x> corresponds to a Zigbee device that fails to be distributed or upgraded. Sub-node <x> includes: Devld sub-node for recording The unique identifier of the Zigbee device;
■ Recover 节点之下的节点用于记录当设备固件升级失败时, 如何进行固件 版本恢复的方法。 Recover 节点本身可以定义为可执行节点, 以便接收设 备管理服务器的固件恢复操作指令, 该 Recover节点包括如下子节点: · Policy: 用于记录固件版本恢复的具体策略, 至少包括如下几种可能取 值之一: ■ The node under the Recover node is used to record how the firmware version is restored when the device firmware upgrade fails. The Recover node itself can be defined as an executable node to receive firmware recovery operation instructions of the device management server. The Recover node includes the following sub-nodes: • Policy: A specific policy for recording firmware version recovery, including at least the following possible values One:
- All: 如果有一个设备的固件升级失败, 则将本次固件升级所涉及的 所有 Zigbee设备(即 ApplyTo节点中记录的符合过滤条件的 Zigbee 设备)都恢复到升级前的固件版本;  - All: If the firmware upgrade of one device fails, all the Zigbee devices involved in this firmware upgrade (that is, the Zigbee devices recorded in the ApplyTo node) are restored to the firmware version before the upgrade;
- Failed: 如果有设备的固件升级失败, 仅将升级失败的 Zigbee设备 恢复到升级前的固件版本;  - Failed: If the firmware upgrade of the device fails, only the Zigbee device that failed the upgrade is restored to the firmware version before the upgrade;
- one: 不作任何固件版本回复操作, 而是报告设备管理服务器的后 续操作指令。  - one: Does not perform any firmware version reply operation, but reports the subsequent operation instructions of the device management server.
需要说明的是, 上述用于 Zigbee设备固件升级的管理树模型只是一个典型 示例, 其中具体节点可能在实际部署中更改其在管理树中的相对位置或名称 (比如 DevList可直接连接到根节点. /之下而无需经过. /GW节点, 而用于存 储各个固件信息的节点也可以直接连接到根节点. /或其它节点之下)。 另外, 对于 <x>/Download/Operat ions 和 <x>/Del ivered/Operat ions 节点下所定义 的代表多种升级方式的多个可执行节点也可以用单个可执行节点配合相关的 多种属性节点描述来区分不同的执行方式(与 <x>/Recover节点的设计原则类 似 )。  It should be noted that the above management tree model for Zigbee device firmware upgrade is only a typical example, in which a specific node may change its relative position or name in the management tree in actual deployment (for example, DevList can be directly connected to the root node. / Underneath without having to go through the /GW node, and the node used to store the various firmware information can also be directly connected to the root node. / or other nodes). In addition, multiple executable nodes representing multiple upgrade methods defined under the <x>/Download/Operat ions and <x>/Del ivered/Operat ions nodes can also be associated with multiple attributes with a single executable node. The node description distinguishes between different execution modes (similar to the design principle of the <x>/Recover node).
参阅图 5, 本发明实施例提供一种实现 Zigbee设备远程升级的方法, 该方 法中, 设备管理服务器与网关之间采用 DM协议, 该方法具体包括: 501、 Zigbee设备确定本地网络中对其进行管理的网关。 Referring to FIG. 5, an embodiment of the present invention provides a method for implementing a remote upgrade of a Zigbee device. In this method, a DM protocol is adopted between a device management server and a gateway, and the method specifically includes: 501. The Zigbee device determines the gateway that is managed in the local network.
具体可以有如下两种方式:  Specifically, there are two ways:
第一种方式: Zigbee设备中预先配置了网关的 IEEE地址(每个 IEEE地 址唯一标识一个网关), Zigbee设备确定该 IEEE地址所标识的网关为管理自 己的网关, Zigbee设备还可以根据该 IEEE地址发送 Zigbee设备对象网络地 址请求 ZDO Nwk_addr_req请求,从接收的响应消息中获取网关的网络地址, 以便利用该网络地址后续与所述网关进行管理信息交互。  The first mode: the Zigbee device is pre-configured with the IEEE address of the gateway (each IEEE address uniquely identifies a gateway), and the Zigbee device determines that the gateway identified by the IEEE address is a gateway for managing itself, and the Zigbee device can also be based on the IEEE address. The Zigbee device object network address request ZDO Nwk_addr_req request is sent, and the network address of the gateway is obtained from the received response message, so that the management information is subsequently exchanged with the gateway by using the network address.
第二种方式: 如果 Zigbee设备中没有预先配置网关的 IEEE地址则向本 地网络广播 Zigbee设备对象匹配描述请求 ZDO Ma tch_Desc_reci请求, 其中 携带固件升级簇标识 OTA Cluster ID,该标识表明查找支持 Zi gbee固件升级 功能的网关, 本地网络中的网关收到该请求后, 向所述 Zi gbee 设备发送 Zigbee设备对象匹配描述响应 ZDO Ma tch_Desc_rs 消息, 其中携带所述网 关的网络地址, 然后所述 Zi gbee设备可以才艮据所述网关的网络地址, 向所 述网关发送 Zigbee设备对象 IEEE地址请求 ZDO IEEE_addr _req请求, 如果 Zi gbee设备接收到网关的 IEEE地址, 则确认该网关是管理自己的网关。  The second mode: if the Zigbee device does not pre-configure the IEEE address of the gateway, the Zigbee device object matching description request ZDO Ma tch_Desc_reci request is sent to the local network, where the firmware upgrade cluster identifier OTA Cluster ID is carried, and the identifier indicates that the support supports the Zi gbee firmware. After the gateway of the upgrade function receives the request, the gateway in the local network sends a Zigbee device object matching description response ZDO Ma tch_Desc_rs message to the Zi gbee device, where the network address of the gateway is carried, and then the Zi gbee device can And sending a Zigbee device object IEEE address request ZDO IEEE_addr_req request to the gateway according to the network address of the gateway, and if the Zi gbee device receives the IEEE address of the gateway, it is confirmed that the gateway is a gateway managing itself.
502、 网关利用 Zigbee设备管理命令获取 Zigbee设备的详细信息, 以便 配置如图 4所示的管理树中. /GW./DevList节点上的信息。  502. The gateway uses the Zigbee device management command to obtain detailed information of the Zigbee device, so as to configure information on the .GW//DevList node in the management tree as shown in FIG. 4.
具体的, 网关向 Zi gbee设备发送设备信息查询请求消息, 例如 Zi gbee 设备对象节点描述请求 ZDO Node_Desc_req、 Zi gbee设备对象简单描述请求 ZDO Simple_Desc_req 消息等等, 用于请求获取 Zigbee设备的详细信息; Zigbee设备向网关发送响应消息, 该响应消息中携带 Zigbee设备的生产商标 识、 设备类型等设备描述信息。 网关再向 Zigbee设备发送 Zigbee簇库属性读 取 ZCL Read_Attributes 请求消息, 该消息中携带当前固件版本 CurrentFirmwareVersion参数, 以" i青求查询 Zigbee设备的固件版本; 该 Zigbee 设备向网关发送响应消息, 该响应消息中携带所述 Zigbee设备的固件版本信 息。  Specifically, the gateway sends a device information query request message to the Zi gbee device, for example, the Zi gbee device object node description request ZDO Node_Desc_req, the Zi gbee device object simple description request ZDO Simple_Desc_req message, and the like, for requesting to obtain detailed information of the Zigbee device; The device sends a response message to the gateway, where the response message carries the device description information such as the manufacturer identifier and device type of the Zigbee device. The gateway then sends a Zigbee cluster library attribute to the Zigbee device to read the ZCL Read_Attributes request message, where the message carries the current firmware version CurrentFirmwareVersion parameter, to "query the firmware version of the Zigbee device; the Zigbee device sends a response message to the gateway, the response The message carries the firmware version information of the Zigbee device.
503、网关将 Zigbee设备的详细信息配置到管理树的相关节点中,具体的, 配置到如图 4所示的 MO管理树中. /GW下 DevList节点中。 504、 网关利用远程设备管理协议, 与设备管理服务器间建立设备管理会 话。 503. The gateway configures the detailed information of the Zigbee device into the relevant node of the management tree, and specifically, is configured in the MO management tree as shown in FIG. 4/DevList node in the GW. 504. The gateway establishes a device management session with the device management server by using a remote device management protocol.
具体的, 网关接收到来自设备管理服务器的设备管理通知消息, 然后与该 设备管理服务器建立设备管理会话,并通过替换 Relplace命令提供网关自身的 基本信息 (./Devlnfo节点中记录的信息)给所述设备管理服务器; 设备管理服务 器通过获取 Get命令获取网关的详细信息 (./DevDetail节点中记录的信息), 以 及与所述网关相连的所有 Zigbee设备的信息 (./GW/DevList/节点中记录的信 息)。  Specifically, the gateway receives the device management notification message from the device management server, and then establishes a device management session with the device management server, and provides the basic information of the gateway itself (the information recorded in the ./Devlnfo node) by replacing the Relplace command. The device management server; the device management server acquires the detailed information of the gateway (the information recorded in the ./DevDetail node) by acquiring the Get command, and the information of all the Zigbee devices connected to the gateway (./GW/DevList/record in the node) Information).
505、 设备管理服务器通过 Replace命令在网关管理树的相关节点中配置 新固件基本信息和新固件所适用的 Zigbee设备的范围描述信息。  505. The device management server configures the new firmware basic information and the range description information of the Zigbee device applicable to the new firmware in the relevant node of the gateway management tree by using the Replace command.
具体的, 在 PkgName节点中配置新固件名称、 在 PkgVersion节点中配置 版本、 在 ApplyTo中配置新固件所适用的 Zigbee设备范围描述信息。  Specifically, configure the new firmware name in the PkgName node, configure the version in the PkgVersion node, and configure the Zigbee device range description information for the new firmware in ApplyTo.
506、 设备管理服务器利用所建立的设备管理会话, 通过网关对 Zigbee设 备进行远程固件升级操作。  506. The device management server uses the established device management session to perform remote firmware upgrade operation on the Zigbee device through the gateway.
该步骤请参见后续实施例的详细描述。  Please refer to the detailed description of the subsequent embodiments for this step.
需要说明的是, 由于远程设备管理协议( DM/TR069 )与 Zigbee协议二者 在参数命名、 数据类型上并非完全兼容, 因此步骤 503 中网关将 Zigbee设备 的详细信息配置到管理树的相关节点时需要执行参数名称和数据类型的转换 工作, 表 1列举了固件升级所需要支持的参数的转换映射关系, 其中, 统一资 源名称 (Uniform Resource Name, URN) 是一种具体有特殊限定格式的字符串 类型。  It should be noted that, since the remote device management protocol (DM/TR069) and the Zigbee protocol are not completely compatible in parameter naming and data type, in step 503, the gateway configures the detailed information of the Zigbee device to the relevant node of the management tree. The conversion of parameter names and data types needs to be performed. Table 1 lists the conversion mappings of the parameters that need to be supported by the firmware upgrade. The Uniform Resource Name (URN) is a string with a special qualified format. Types of.
DM/TR069 (参数类型) Zigbee (参数类型) 参数说明DM/TR069 (parameter type) Zigbee (parameter type) Parameter description
./Devlnfo/Devid (URN) IEEE Address (Unsigned 64-bit) 设备唯一标识./Devlnfo/Devid (URN) IEEE Address (Unsigned 64-bit) device unique identifier
./DevInfo/Man( string) ./DevInfo/Man( string)
Manufacturer identifier (Unsigned 16-bit) 生产商标识  Manufacturer identifier (Unsigned 16-bit) Manufacturer ID
./DevInfo/Mod(string) Manufacturer Device Identifier (Unsigned 生产商设备标识或 ./DevInfo/Mod(string) Manufacturer Device Identifier (Unsigned Manufacturer Device ID or
16-bit) 产品型号 ./DevDetail/Fw (string) 16-bit) Product Model ./DevDetail/Fw (string)
Firmware version (Unsigned 32-bit) 固件版本号 Firmware version (Unsigned 32-bit) Firmware version number
<x>/Pkg Version (string) 表 1  <x>/Pkg Version (string) Table 1
图 6示出了设备管理服务器通过网关实现对 Zigbee设备远程升级的一种 方式, 即普通升级方式, 普通升级方式是指各 Zigbee设备在获得新固件后立 即升级, 而且与其他适用于新固件的 Zigbee设备的升级时间无关, 具体包括: 601、 设备管理服务器控制网关下载新固件, 并触发网关执行管理树中节 点上表示固件分发及分发后 Zigbee设备立即升级的可执行命令。  Figure 6 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway, that is, the normal upgrade mode. The normal upgrade mode means that each Zigbee device is upgraded immediately after obtaining new firmware, and is compatible with other new firmware. The upgrade time of the Zigbee device is irrelevant, including: 601. The device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating that the Zigbee device is immediately upgraded after the firmware is distributed and distributed.
在上述实施例中的步骤 501 ~ 504中, 网关中配置了其管理的 Zigbee设备 的信息, 同时设备管理服务器通过网关建立了用于 Zigbee设备远程固件升级 的管理会话, 并且在网关中配置了新固件的基本信息和新固件升级所适用的 Zigbee设备范围。 该步骤中设备管理服务器可以根据网关下的 Zigbee设备信 息以及新固件对当前 Zigbee 网络和应用的影响, 确定采用普通升级的方式对 Zigbee设备进行远程升级。  In steps 501 to 504 in the above embodiment, the information of the Zigbee device managed by the Zigbee device is configured in the gateway, and the device management server establishes a management session for the remote firmware upgrade of the Zigbee device through the gateway, and a new configuration is configured in the gateway. Basic information about the firmware and the range of Zigbee devices to which the new firmware upgrade applies. In this step, the device management server can determine the Zigbee device to be upgraded in a normal upgrade manner according to the Zigbee device information under the gateway and the impact of the new firmware on the current Zigbee network and applications.
该步骤具体包括如下几种实现方式:  This step specifically includes the following implementation methods:
第一种方式:该方式适用于设备管理服务器采用直接下载的方式将新固件 下载到网关。 设备管理服务器通过 Replace 命令直接将新固件写入网关的的 ZigbeeFw/<x>/Delivered/PkgData 节 点 中 , 并 触 发 网 关 执 行 ZigbeeFw/<x>/Delivered/Operations/Upgrade节点上的可执行命令。  The first way: This method is suitable for the device management server to download the new firmware to the gateway by direct download. The device management server directly writes the new firmware to the ZigbeeFw/<x>/Delivered/PkgData node of the gateway through the Replace command, and triggers the execution of the executable command on the ZigbeeFw/<x>/Delivered/Operations/Upgrade node.
第二种方式: 该方式适用于设备管理服务器采用间接下载的方式将新固 件下载到网关上。 设备管理服务器通过 Replace命令直接将新固件的下载地址 写入网关管理树的 ZigbeeFw/<x〉/Download/PkgURL节点中; 设备管理服务器 通过触发网关执行 ZigbeeFw/<x>/Download/Operations/DownloadUpgrade节点 上的可执行命令, 指示网关从所述下载地址下载新固件, 然后立即对所述新固 件所适用的 Zigbee设备执行固件升级操作, 其中, 网关可以采用文件传输协 议或者其他下载协议, 从 ZigbeeFw/<x〉/Download/PkgURL节点上的下载地址 下载新固件。 The second way: This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download. The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway management tree through the Replace command; the device management server executes the ZigbeeFw/<x>/Download/Operations/DownloadUpgrade node by triggering the gateway. The executable command on the screen instructs the gateway to download new firmware from the download address, and then immediately performs a firmware upgrade operation on the Zigbee device to which the new firmware is applied, wherein the gateway can adopt a file transfer protocol or other download protocol, from ZigbeeFw/ Download address on <x>/Download/PkgURL node Download the new firmware.
第三种方式: 该方式适用于设备管理服务器采用间接下载的方式将新固 件下载到网关上。 设备管理服务器通过 Replace命令直接将新固件的下载地址 写入网关的 ZigbeeFw/<x〉/Download/PkgURL节点中; 设备管理服务器通过触 发网关执行 ZigbeeFw/<x>/Download/Operations/Download 节点上的可执行命 令, 指示网关下载该新固件; 网关采用文件传输协议或者其他下载协议, 从 ZigbeeFw/<x>/Download/PkgURL节点上的下载地址下载新固件, 并向设备管 理服务器报告新固件下载成功; 设备管理服务器通过触发网关执行 ZigbeeFw/<x>/Delivered/Operations/Upgrade节点上的可执行命令,指示网关对 所述新固件所适用的 Zigbee设备立即执行固件升级操作。  The third way: This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download. The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway through the Replace command; the device management server executes the ZigbeeFw/<x>/Download/Operations/Download node by triggering the gateway. An executable command instructing the gateway to download the new firmware; the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/<x>/Download/PkgURL node, and reports the new firmware download to the device management server. The device management server instructs the gateway to perform a firmware upgrade operation on the Zigbee device to which the new firmware is applied by executing an executable command on the ZigbeeFw/<x>/Delivered/Operations/Upgrade node by triggering the gateway.
602、 网关执行管理树中节点上表示固件分发及分发后 Zigbee设备立即升 级的可执行命令, 根据管理树中节点记录的新固件所适用升级的 Zigbee设备 范围描述信息和自己管理的各 Zigbee设备的信息, 采用现有的 Zigbee固件下 载技术, 将新固件分发到新固件所适用的 Zigbee设备上。  602. The executable command in the gateway execution management tree indicates that the Zigbee device is upgraded immediately after the firmware distribution and distribution, and the updated Zigbee device range description information and the self-managed Zigbee device according to the new firmware recorded by the node in the management tree. Information, using existing Zigbee firmware download technology, distributes the new firmware to the Zigbee device for the new firmware.
具体的, 网关可以采用广播消息向所有的 Zigbee设备都发送镜像通知 Specifically, the gateway may send a mirror notification to all Zigbee devices by using a broadcast message.
Image Notify消息, 该 Image Notify消息中携带新固件的适用范围描述信息, 具体可以包括: 新固件的适用的 Zigbee设备型号、 设备生产商标识中至少一 个。 如果设备管理服务器写入的适用固件升级的 Zigbee设备的类别标识、 能 升级的 Zigbee设备当前旧固件的最大版本号或者能升级的 Zigbee设备当前旧 固件的最小版本号, 则由于 Image Notify消息本身不能携带上述信息, 则网关 根据管理树节点上存储的各 Zigbee设备的信息, 确定适用新固件的 Zigbee设 备,采用单播的方式向所确定的 Zigbee设备发送 Image Notify消息,此时 Image Notify消息用于通知 Zigbee设备下载新固件。 其中, 该步骤中采用广播消息 或者单播消息向 Zigbee设备发送 Image Notify消息时, 需要参照表 1执行参 数名称和数据类型的转换工作, 在此不再赘述。 The Image Notify message, which carries the description information of the new firmware, may include: at least one of the applicable Zigbee device model and the device manufacturer identifier of the new firmware. If the device management server writes the Zigbee device's category ID for the applicable firmware upgrade, the maximum version number of the current old firmware of the Zigbee device that can be upgraded, or the minimum version number of the current old firmware of the Zigbee device that can be upgraded, the Image Notify message itself cannot Carrying the above information, the gateway determines, according to the information of each Zigbee device stored on the management tree node, the Zigbee device to which the new firmware is applied, and sends an Image Notify message to the determined Zigbee device in a unicast manner, and the Image Notify message is used at this time. Inform the Zigbee device to download the new firmware. If the broadcast message or the unicast message is used to send the Image Notify message to the Zigbee device in this step, the conversion of the parameter name and the data type needs to be performed with reference to Table 1, and details are not described herein.
Zigbee设备收到 Image Notify消息之后, 根据其是否为单播消息, 以及在 不是单播消息时根据 Image Notify消息中携带的新固件的适用范围描述信息, 确定自己是否需要进行固件升级, 如果是, 向网关发送查询下一镜像请求 Query Next Image Request,请求获取新固件,该消息中携带自身的设备型号(即 管理树中 mod节点上保存的信息)、 设备生产商标识 (即管理树中 man节点上 保存的信息) 、以及当前固件版本号等信息。 网关向 Zigbee设备发送新固件的 大小和下载分块的大小, Zigbee设备根据新固件的大小和下载分块的大小,从 网关下载新固件。 After receiving the Image Notify message, the Zigbee device determines whether it needs to perform firmware upgrade according to whether it is a unicast message or according to the applicable description of the new firmware carried in the Image Notify message when it is not a unicast message. If yes, Send a query to the gateway for the next mirror request Query Next Image Request, requesting to obtain new firmware, the message carries its own device model (that is, the information saved on the mod node in the management tree), the device manufacturer identifier (that is, the information saved on the man node in the management tree), and the current Information such as the firmware version number. The gateway sends the size of the new firmware and the size of the download chunk to the Zigbee device. The Zigbee device downloads the new firmware from the gateway according to the size of the new firmware and the size of the download chunk.
603、 网关指示 Zigbee设备立即进行固件升级。  603. The gateway instructs the Zigbee device to perform a firmware upgrade immediately.
具体的, 网关向每个已经成功下载新固件的 Zigbee设备发送升级结束响 应 Upgrade End Response消息, 其中携带指示所述 Zigbee设备立即升级新固 件的参数。  Specifically, the gateway sends an upgrade end response Upgrade End Response message to each Zigbee device that has successfully downloaded the new firmware, and carries a parameter indicating that the Zigbee device immediately upgrades the new firmware.
图 7示出了设备管理服务器通过网关实现对 Zigbee设备远程升级的一种 方式, 即控制 Zigbee设备同步升级的方式, 具体包括:  Figure 7 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway, that is, the method for controlling the synchronous upgrade of the Zigbee device, including:
701、 设备管理服务器控制网关下载新固件, 并触发网关执行管理树中节 点上表示固件分发及分发后 Zigbee设备同步升级的可执行命令。  701. The device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating the firmware distribution and the Zigbee device synchronization upgrade after the distribution.
其中, 该可执行命令为表示固件分发及所有 Zigbee设备都成功下载新固 件后同步执行固件升级的指示。  The executable command is an indication that the firmware distribution and all Zigbee devices successfully perform a firmware upgrade after successfully downloading the new firmware.
该步骤中设备管理服务器根据网关下的 Zigbee设备信息以及新固件对当 前 Zigbee网络和应用的影响,判断各 Zigbee设备的固件升级过程可能对 Zigbee 本地网络的通信或者应用产生影响相互, 因此需要各 Zigbee设备在同一时间 同时执行升级, 于是确定采用同步升级的方式对网关下的 Zigbee设备进行远 程升级。  In this step, the device management server determines, according to the Zigbee device information under the gateway and the impact of the new firmware on the current Zigbee network and the application, determining that the firmware upgrade process of each Zigbee device may affect the communication or application of the Zigbee local network, and therefore each Zigbee is required. The device performs the upgrade at the same time at the same time. Therefore, it is determined that the Zigbee device under the gateway is remotely upgraded by means of synchronous upgrade.
该步骤具体包括如下几种实现方式:  This step specifically includes the following implementation methods:
第一种方式:该方式适用于设备管理服务器采用直接下载的方式将新固件 下载到网关。 设备管理服务器通过 Replace 命令直接将新固件写入网关的 ZigbeeFw/<x>/Delivered/PkgData 节 点 中 , 并 触 发 网 关 执 行 ZigbeeFw/<x>/Delivered/Operations/UpgradeSync节点上的可执行命令,指示网 关控制所述新固件所适用的 Zigbee设备同步执行固件升级操作。  The first way: This method is suitable for the device management server to download the new firmware to the gateway by direct download. The device management server directly writes the new firmware to the ZigbeeFw/<x>/Delivered/PkgData node of the gateway through the Replace command, and triggers the gateway to execute the executable command on the ZigbeeFw/<x>/Delivered/Operations/UpgradeSync node, indicating the gateway. The Zigbee device to which the new firmware is applied is synchronized to perform a firmware upgrade operation.
第二种方式:该方式适用于设备管理服务器采用间接下载的方式将新固件 下载到网关上。 设备管理服务器通过 Replace命令直接将新固件的下载地址写 入网关的 ZigbeeFw/<x〉/Download/PkgURL节点中; 设备管理服务器通过触发 网关执行 ZigbeeFw/<x>/Download/Operations/DownloadUpgradeSync节点上的 可执行命令,指示网关从所述下载地址下载新固件, 然后立即控制所述新固件 所适用的 Zigbee设备执行同步升级操作。 其中, 网关可以采用文件传输协议 或者其他下载协议, 从 ZigbeeFw/<x〉/Download/PkgURL节点上的下载地址下 载新固件。 The second way: This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download. The device management server directly writes the download address of the new firmware through the Replace command. Entering the ZigbeeFw/<x>/Download/PkgURL node of the gateway; the device management server instructs the gateway to download new firmware from the download address by triggering the gateway to execute an executable command on the ZigbeeFw/<x>/Download/Operations/DownloadUpgradeSync node And then immediately control the Zigbee device to which the new firmware is applied to perform a synchronous upgrade operation. The gateway may use a file transfer protocol or other download protocol to download new firmware from the download address on the ZigbeeFw/<x>/Download/PkgURL node.
第三种方式:该方式适用于设备管理服务器采用间接下载的方式将新固件 下载到网关上。 设备管理服务器通过 Replace命令直接将新固件的下载地址写 入网关 MO的 ZigbeeFw/<x〉/Download/PkgURL节点中;设备管理服务器通过 触发网关执行 ZigbeeFw/<x>/Download/Operations/Download 节点上的可执行 命令, 指示网关下载该新固件; 网关采用文件传输协议或者其他下载协议, 从 ZigbeeFw/<x>/Download/PkgURL节点上的下载地址下载新固件, 并向设备管 理服务器报告新固件下载成功; 设备管理服务器通过触发网关执行 ZigbeeFw/<x>/Delivered/Operations/Upgrade Sync节点上的可执行命令,指示网 关控制所述新固件所适用的 Zigbee设备同步执行固件升级操作。  The third way: This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download. The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway MO through the Replace command; the device management server executes the ZigbeeFw/<x>/Download/Operations/Download node by triggering the gateway. Executable command instructing the gateway to download the new firmware; the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/<x>/Download/PkgURL node and report the new firmware download to the device management server Successfully; the device management server instructs the gateway to control the Zigbee device to which the new firmware is applied to perform the firmware upgrade operation by executing an executable command on the ZigbeeFw/<x>/Delivered/Operations/Upgrade Sync node by triggering the gateway.
702、 网关执行管理树中节点上表示固件分发及分发后 Zigbee设备同步升 级的可执行命令, 根据管理树中节点记录的新固件所适用升级的 Zigbee设备 范围描述信息和自己管理的各 Zigbee设备的信息, 采用现有的 Zigbee固件下 载技术, 将新固件分发到新固件所适用的 Zigbee设备上。  702. The executable command in the gateway execution management tree indicates that the Zigbee device is upgraded after the firmware is distributed and distributed, and the updated Zigbee device range description information and the self-managed Zigbee device are used according to the new firmware recorded by the node in the management tree. Information, using existing Zigbee firmware download technology, distributes the new firmware to the Zigbee device for the new firmware.
703、 网关指示 Zigbee设备进行同步固件升级。  703. The gateway instructs the Zigbee device to perform a synchronization firmware upgrade.
具体的, 网关向适用新固件的各 Zigbee设备发送 Upgrade End Response 消息, 其中携带指示 Zigbee设备暂时不执行固件升级操作的信息; 网关向适 用新固件的的各 Zigbee设备发送 ZCL Read_Attributes 消息, 以便获得每个 Zigbee设备的新固件下载状态, 在确定所有 Zigbee设备都已经成功下载新固 件后, 向各 Zigbee设备同时发送 Run Upgrade Request消息, 其中携带指示 Zigbee设备立即升级到新固件的参数。  Specifically, the gateway sends an Upgrade End Response message to each Zigbee device that applies the new firmware, where the information carries the information indicating that the Zigbee device temporarily does not perform the firmware upgrade operation; the gateway sends a ZCL Read_Attributes message to each Zigbee device that applies the new firmware, so as to obtain each The new firmware download status of the Zigbee device, after determining that all Zigbee devices have successfully downloaded the new firmware, simultaneously sends a Run Upgrade Request message to each Zigbee device, carrying parameters indicating that the Zigbee device immediately upgrades to the new firmware.
当前某个适用新固件的 Zigbee设备正处于休眠状态, 无法接收并执行相 关的升级命令, 所以该步骤中网关根据本地记录的适用新固件的各 Zigbee设 备的信息, 选择新固件所适用的所有 Zigbee设备都处于激活态的一个时间, 并向处于激活态的 Zigbee设备分别发送 Run Upgrade Request消息, 其中携带 指示在所选时间点进行固件升级的指示信息; 或者, 网关选择一个时间点, 在 Zigbee设备处于激活态时向 Zigbee设备发送指示在所选时间点进行固件升级 的指示信息, 如果该 Zigbee设备在所选时间点处于休眠态, 则该 Zigbee设备 调整休眠时间,保证在该时间点处于激活态,后续执行过程与图 8所示的实施 例中的步骤 803相同。 Currently, a Zigbee device that is suitable for new firmware is in a dormant state and cannot receive and execute related upgrade commands. Therefore, in this step, the gateway sets each Zigbee according to the locally recorded applicable new firmware. The backup information, selects all Zigbee devices to which the new firmware is applied, is in an active state, and sends a Run Upgrade Request message to the Zigbee device in the active state, which carries instructions indicating that the firmware upgrade is performed at the selected time. Or, the gateway selects a time point, and sends an indication to the Zigbee device to perform a firmware upgrade at the selected time point when the Zigbee device is in an active state, and if the Zigbee device is in a dormant state at the selected time point, the Zigbee device The sleep time is adjusted to ensure that it is in an active state at this point in time, and the subsequent execution process is the same as step 803 in the embodiment shown in FIG.
图 8示出了设备管理服务器通过网关实现对 Zigbee设备远程升级的一种 方式, 即控制 Zigbee设备定时升级的方式, 具体包括:  FIG. 8 shows a manner in which the device management server remotely upgrades the Zigbee device through the gateway, that is, a method for controlling the timing upgrade of the Zigbee device, including:
801、 设备管理服务器控制网关下载新固件, 并触发网关执行管理树中节 点上表示固件分发及分发后 Zigbee设备在预定的升级时间进行升级的可执行 命令。  801. The device management server controls the gateway to download the new firmware, and triggers the gateway to execute an executable command on the node in the management tree indicating that the Zigbee device is upgraded at a predetermined upgrade time after the firmware is distributed and distributed.
该步骤具体包括如下几种实现方式:  This step specifically includes the following implementation methods:
第一种方式: 该方式适用于设备管理服务器直接将新固件下载到网关上, 设备管理服务器通过 Replace 命令直接将新固件写入网关的管理树中的 ZigbeeFw/<x>/Delivered/PkgData 节点 中 , 将预定的升级时 间 写入 ZigbeeFw/<x>/Delivered/ Operations/UpgradeSched/UTCTime节点中, 或者, 将 相 对 于 当 前 的 时 间 偏 移 量 写 入 ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/ OffsetTime节点中, 设备管 理服务器触发网关执行 ZigbeeFw/<x〉/Delivered/Operations/UpgradeSched节点 上的可执行命令。  The first method: This method is applicable to the device management server to directly download the new firmware to the gateway. The device management server directly writes the new firmware into the ZigbeeFw/<x>/Delivered/PkgData node in the management tree of the gateway through the Replace command. , write the scheduled upgrade time to the ZigbeeFw/<x>/Delivered/ Operations/UpgradeSched/UTCTime node, or write ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/OffsetTime relative to the current time offset In the node, the device management server triggers the gateway to execute executable commands on the ZigbeeFw/<x>/Delivered/Operations/UpgradeSched node.
第二种方式: 该方式适用于设备管理服务器间接将新固件下载到网关上。 设备管理服务器通过 Replace 命令直接将新固件的下载地址写入网关的 ZigbeeFw/<x>/Download/PkgURL 节点 中 , 将预定的升级时间 写入 或 者 , 将 相 对 于 当 前 的 时 间 偏 移 量 写 入 中 , 设 备 管 理 服 务 器 通 过 触 发 网 关 执 行 令, 指 示 网 关采用 文件传输协议或者其他下载协议 , 从The second way: This method is suitable for the device management server to indirectly download new firmware to the gateway. The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway through the Replace command, writes the scheduled upgrade time or writes it with respect to the current time offset. , the device management server executes by triggering the gateway Order, instruct the gateway to use the file transfer protocol or other download protocol, from
ZigbeeFw/<x>/Delivered/PkgURL 节点上的所述下载地址下载新固件, 然后控 制适用新固件的 Zigbee设备在具体的升级时间执行固件升级操作。 The download address on the ZigbeeFw/<x>/Delivered/PkgURL node downloads the new firmware, and then controls the Zigbee device for the new firmware to perform the firmware upgrade operation at the specific upgrade time.
第三种方式:该方式适用于设备管理服务器采用间接下载的方式将新固件 下载到网关上。 设备管理服务器通过 Replace命令直接将新固件的下载地址写 入网关的 ZigbeeFw/<x〉/Download/PkgURL 节点中, 将预定的升级时间写入 ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/UTCTime节点中, 或者, 将 相 对 于 当 前 的 时 间 偏 移 量 写 入 ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/OffsetTime节点中;设备管理 月良务器通过触发网关执行 ZigbeeFw/<x>/Download/Operations/Download 节点 上的可执行命令, 指示网关下载该新固件; 网关采用文件传输协议或者其他下 载协议, 从 ZigbeeFw/<x〉/Download/PkgURL节点上的下载地址下载新固件, 并向设备管理服务器报告新固件下载成功。设备管理服务器通过触发网关执行 ZigbeeFw/<x>/Delivered/Operations/UpgradeSched 节点上的可执行命令, 使网 关控制适用新固件的 Zigbee设备在具体的升级时间执行固件升级操作。  The third way: This method is suitable for the device management server to download the new firmware to the gateway by means of indirect download. The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway through the Replace command, and writes the scheduled upgrade time to the ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/UTCTime node. Or, write the current time offset to the ZigbeeFw/<x>/Delivered/Operations/UpgradeSched/OffsetTime node; the device management server executes ZigbeeFw/<x>/Download/Operations by triggering the gateway An executable command on the /Download node instructs the gateway to download the new firmware; the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/<x>/Download/PkgURL node and to the device management server Report that the new firmware download was successful. The device management server executes the Zigbee device on the ZigbeeFw/<x>/Delivered/Operations/UpgradeSched node by triggering the gateway to enable the Zigbee device that applies the new firmware to perform the firmware upgrade operation during the specific upgrade time.
802、 网关执行管理树中节点上表示固件分发及分发后 Zigbee设备在所述 预定的升级时间进行升级的可执行命令,根据管理树中节点记录的新固件所适 用升级的 Zigbee设备范围描述信息和自己管理的各 Zigbee设备的信息, 采用 现有的 Zigbee固件下载技术,将新固件分发到新固件所适用的 Zigbee设备上。  802. The executable node in the gateway execution management tree indicates that the Zigbee device upgrades the firmware at the predetermined upgrade time after the firmware distribution and distribution, and the updated Zigbee device scope description information is applied according to the new firmware recorded by the node in the management tree. The information of each Zigbee device managed by itself is distributed to the Zigbee device to which the new firmware is applied by using the existing Zigbee firmware download technology.
803、 网关指示 Zigbee设备在预定的升级时间进行固件升级。  803. The gateway instructs the Zigbee device to perform a firmware upgrade at a predetermined upgrade time.
该步骤具体有如下几种实现方式:  This step specifically has the following implementations:
第一种方式: 网关向新固件适用的各 Zigbee 设备发送 Upgrade End Response消息, 其中携带升级时间参数, 该升级时间参数指示了 Zigbee设备 进行固件升级的具体时间, 其可以是一个绝对时间值,也可以是相对于当前的 相对时间值, 不影响本发明的实现。  The first method is: the gateway sends an upgrade end response message to each Zigbee device to which the new firmware is applied, where the upgrade time parameter carries the upgrade time parameter, and the upgrade time parameter indicates the specific time for the Zigbee device to perform the firmware upgrade, which may be an absolute time value. It may be relative to the current relative time value that does not affect the implementation of the present invention.
第二种方式: 网关向新固件适用的各 Zigbee 设备发送 Upgrade End Response消息, 其中携带指示 Zigbee设备暂时不执行固件升级操作的信息; 网关向需要升级的各 Zigbee 设备发送 Zigbee 簇库属性读取 ZCL Read_Attributes 消息, 以便获得每个 Zigbee设备的新固件下载状态, 在确定 所有需要升级的 Zigbee 设备都已经成功下载新固件后, 向所有需要升级的 Zigbee设备发送 Run Upgrade Request消息, 其中携带升级时间参数。 The second method is: the gateway sends an upgrade End Response message to each Zigbee device to which the new firmware is applied, where the information carries the information indicating that the Zigbee device does not perform the firmware upgrade operation temporarily; The gateway sends the Zigbee cluster library attribute to the Zigbee device that needs to be upgraded to read the ZCL Read_Attributes message, in order to obtain the new firmware download status of each Zigbee device. After determining that all Zigbee devices that need to be upgraded have successfully downloaded the new firmware, all needs are needed. The upgraded Zigbee device sends a Run Upgrade Request message, which carries the upgrade time parameter.
图 9示出了设备管理服务器通过网关实现对 Zigbee设备远程升级的一种 方式, 该方式是先分发新固件到 Zigbee设备上, 然后再触发 Zigbee设备采用 普通升级方式、 同步升级方式或者定时升级方式控制各 Zigbee设备进行固件 升级, 其具体包括:  Figure 9 shows a way for the device management server to remotely upgrade the Zigbee device through the gateway. The method is to first distribute the new firmware to the Zigbee device, and then trigger the Zigbee device to adopt the normal upgrade mode, the synchronous upgrade mode, or the timed upgrade mode. Control each Zigbee device for firmware upgrade, which specifically includes:
901、 设备管理服务器将新固件下载到网关上, 触发网关上表示分发新固 件的可执行命令。  901. The device management server downloads the new firmware to the gateway, and triggers an executable command on the gateway to distribute the new firmware.
该步骤具体有如下几种实现方式:  This step specifically has the following implementations:
第一种方式:该方式适用于设备管理服务器采用直接下载的方式将新固件 下载到网关。 设备管理服务器通过 Replace命令直接将新固件写入网关的 MO 的 ZigbeeFw/<x〉/Delivered/PkgData 节 点 中 , 并 触 发 网 关 执 行 ZigbeeFw/<x>/Delivered/Operations/Distribute 节点上的可执行命令, 指示网关 对新固件适用的 Zigbee设备执行分发固件操作。  The first way: This method is suitable for the device management server to download the new firmware to the gateway by direct download. The device management server directly writes the new firmware to the ZigbeeFw/<x>/Delivered/PkgData node of the MO of the gateway through the Replace command, and triggers the gateway to execute the executable command on the ZigbeeFw/<x>/Delivered/Operations/Distribute node. Instructs the gateway to perform a distribution firmware operation on the Zigbee device to which the new firmware applies.
第二种方式: 设备管理服务器通过 Replace命令直接将新固件的下载地址 写入网关管理树的 ZigbeeFw/<x〉/Download/PkgURL节点中, 通过触发网关执 行 ZigbeeFw/<x>/Download/Operations/DownloadDistribute 节点上的可执行命 令,指示网关从所述下载地址下载新固件, 然后立即对将新固件分发给适用该 新固件的 Zigbee设备。  The second mode: The device management server directly writes the download address of the new firmware to the ZigbeeFw/<x>/Download/PkgURL node of the gateway management tree through the Replace command, and executes ZigbeeFw/<x>/Download/Operations/ by triggering the gateway. An executable command on the DownloadDistribute node instructing the gateway to download the new firmware from the download address and then immediately distributing the new firmware to the Zigbee device to which the new firmware is applied.
第三种方式: 设备管理服务器通过 Replace命令直接将新固件的下载地址 写入网关 ZigbeeFw/<x〉/Download/PkgURL 节点中, 通过触发网关执行 ZigbeeFw/<x>/Download/Operations/Download节点上的可执行命令, 指示网关 下载该新固件; 网关采用文件传输协议或者其他下载协议, 从 ZigbeeFw/<x>/Download/PkgURL节点上的下载地址下载新固件, 并向设备管 理服务器报告新固件下载成功; 设备管理服务器通过触发网关执行 ZigbeeFw/<x>/Delivered/Operations/Distribute 节点上的可执行命令, 指示网关 向适用新固件的 Zigbee设备执行分发新固件。 The third way: The device management server directly writes the download address of the new firmware to the gateway ZigbeeFw/<x>/Download/PkgURL node through the Replace command, and executes the ZigbeeFw/<x>/Download/Operations/Download node by triggering the gateway. Executable command instructing the gateway to download the new firmware; the gateway uses the file transfer protocol or other download protocol to download the new firmware from the download address on the ZigbeeFw/<x>/Download/PkgURL node and report the new firmware download to the device management server Successful; the device management server instructs the gateway by executing an executable command on the ZigbeeFw/<x>/Delivered/Operations/Distribute node by triggering the gateway Distribute new firmware to Zigbee devices with new firmware.
902、 网关执行管理树中节点上表示分发新固件的可执行命令, 采用现有 的 Zigbee固件下载技术,根据管理树中节点记录的新固件所适用升级的 Zigbee 设备范围描述信息和自己管理的各 Zigbee设备的信息, 将新固件分发到新固 件所适用的 Zigbee设备上。  902. Executable commands for distributing new firmware on the node in the gateway execution management tree, using the existing Zigbee firmware downloading technology, and the updated Zigbee device scope description information and the self-managed each according to the new firmware recorded by the node in the management tree. Information about the Zigbee device, distributing the new firmware to the Zigbee device for which the new firmware is applied.
903、 网关向适用新固件的各 Zigbee设备发送指示暂时不执行固件升级操 作的信息的消息。  903. The gateway sends a message indicating that the firmware upgrade operation is not performed to each Zigbee device that applies the new firmware.
具体的, 网关向适用新固件的各 Zigbee设备发送 Upgrade End Response 消息, 其中携带指示 Zigbee设备暂时不执行固件升级操作的信息。  Specifically, the gateway sends an Upgrade End Response message to each Zigbee device that applies the new firmware, and carries information indicating that the Zigbee device temporarily does not perform the firmware upgrade operation.
904、 网关向适用新固件的各 Zigbee设备查询新固件下载状态。  904. The gateway queries each Zigbee device that applies the new firmware for a new firmware download status.
具体的, 网关向适用新固件的各 Zigbee设备发送 ZCL Read_Attributes 消 息, 请求获得每个 Zigbee设备的新固件下载状态。  Specifically, the gateway sends a ZCL Read_Attributes message to each Zigbee device that applies the new firmware, requesting a new firmware download status for each Zigbee device.
905、 网关根据每个 Zigbee设备的新固件下载状态, 向设备管理服务器报 告新固件的分发情况, 即该新固件所适用的 Zigbee设备的固件下载结果。  905. The gateway reports the distribution of the new firmware to the device management server according to the new firmware download status of each Zigbee device, that is, the firmware download result of the Zigbee device to which the new firmware is applied.
具体的, 通过发送 Alert命令向设备管理服务器报告新固件的分发情况。 Specifically, the distribution of the new firmware is reported to the device management server by sending an Alert command.
906、 设备管理服务器根据新固件分发情况、 新固件对 Zigbee设备和网络 的影响, 确定 Zigbee设备的固件升级方式, 触发网关执行管理树中节点上所 确定的固件升级方式的可执行命令。 906. The device management server determines, according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network, the firmware upgrade mode of the Zigbee device, and triggers the gateway to execute an executable command of the firmware upgrade mode determined on the node in the management tree.
其中, 设备管理服务器根据新固件分发情况确定是否需要升级 Zigbee设 备, 然后设备管理服务器根据新固件分发情况、 新固件对 Zigbee设备和网络 的影响, 确定 Zigbee设备的具体固件升级方式。  The device management server determines whether the Zigbee device needs to be upgraded according to the new firmware distribution. Then, the device management server determines the specific firmware upgrade mode of the Zigbee device according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network.
其中, 该步骤中确定的 Zigbee设备的固件升级方式可以是普通升级方式, 此时, 设备管理服务器触发网关上表示固件分发后 Zigbee设备立即升级的可 执行命令; 所确定的 Zigbee设备的固件升级方式可以是同步升级方式, 此时, 设备管理服务器触发网关上表示固件分发后 Zigbee设备同步升级的可执行命 令; 所确定的 Zigbee设备的固件升级方式可以是定时升级方式, 此时, 设备 管理服务器触发网关上表示固件分发后 Zigbee设备在预定的升级时间进行升 级的可执行命令。 可选的, 设备管理服务器可以根据新固件分发情况、 新固件对 Zigbee设 备和网络的影响, 重新确定新固件适用的 Zigbee设备范围, 并重新通知网关, 后续网关在设备管理服务器的触发下,执行可执行命令, 向重新确定的适用该 新部件的 Zigbee设备发送指示升级的消息。 The firmware upgrade mode of the Zigbee device determined in the step may be a normal upgrade mode. At this time, the device management server triggers an executable command on the gateway indicating that the Zigbee device is immediately upgraded after the firmware is distributed; and the firmware upgrade manner of the determined Zigbee device is determined. The device can be in the synchronous upgrade mode. In this case, the device management server triggers the executable command on the gateway to indicate that the Zigbee device is upgraded after the firmware is distributed. The firmware upgrade mode of the determined Zigbee device can be the timed upgrade mode. In this case, the device management server triggers. The executable command on the gateway indicates that the Zigbee device is upgraded at the scheduled upgrade time after the firmware is distributed. Optionally, the device management server may re-determine the scope of the Zigbee device applicable to the new firmware according to the new firmware distribution, the impact of the new firmware on the Zigbee device and the network, and re-notify the gateway, and the subsequent gateway executes under the trigger of the device management server. An executable command sends a message indicating the upgrade to the re-determined Zigbee device to which the new component is applied.
需要说明的是,在前面实施例的步骤 505中,设备管理服务器还可以通过 It should be noted that, in step 505 of the previous embodiment, the device management server may also pass
Replace命令在管理树的<〉/1^(;0¥61^01 节点上配置 Zigbee设备升级失败时 的固件恢复策略, 具体的, 可以配置为 "All"或者 "Failed",也可以配置为 "None" , 配置为 "None" 时表示当前没有配置具体的固件恢复策略, 需要网 关向设备管理服务器发送升级结果信息,设备管理服务器根据升级结果信息再 配置具体的固件恢复策略, 在适用新固件的 Zigbee设备执行升级操作之后, 该方法还包括: The Replace command configures the firmware recovery policy when the Zigbee device fails to be upgraded on the <>/1^(;0¥61^01 node of the management tree. Specifically, it can be configured as "All" or "Failed" or as " None", when configured as "None", it means that no specific firmware recovery policy is currently configured. The gateway needs to send the upgrade result information to the device management server. The device management server reconfigures the specific firmware recovery policy according to the upgrade result information. After the Zigbee device performs the upgrade operation, the method further includes:
1001、 网关获取 Zigbee设备的升级结果。  1001. The gateway obtains an upgrade result of the Zigbee device.
具体的, 网关可以向 Zigbee 设备发送 Zigbee 簇库属性读取 ZCL Read_Attributes清求消息, 其中携带 CurrentFirmware Vers ion参数, 该参数指 示网关请求获取 Zigbee设备的最新固件版本号, Zigbee设备向网关发送携带 Zigbee设备的最新固件版本号的响应消息,网关可以根据该最新固件版本号判 断 Zigbee 设 备 是 否 升 级 成 功 , 并 根 据 判 断 结 果 记 录 ZigbeeFw/<x>/State/SuccessfulList和 /或 ZigbeeFw/<x>/State/FailList中的 Zigbee 设备信息, 或者即时更新 ./GW/DevList/节点下的 Zigbee设备固件版本信息。  Specifically, the gateway may send a Zigbee cluster library attribute to the Zigbee device to read the ZCL Read_Attributes request message, which carries a CurrentFirmware Vers ion parameter, where the parameter indicates that the gateway requests to obtain the latest firmware version number of the Zigbee device, and the Zigbee device sends the Zigbee device to the gateway. The response message of the latest firmware version number, the gateway can judge whether the Zigbee device is successfully upgraded according to the latest firmware version number, and record ZigbeeFw/<x>/State/SuccessfulList and/or ZigbeeFw/<x>/State/FailList according to the judgment result. Zigbee device information in the middle, or instant update of the Zigbee device firmware version information under the ./GW/DevList/ node.
1002、当 Policy节点为 None,表示当前没有固件恢复策略,网关通过 Alert 命令向设备管理服务器上报 Zigbee设备的升级结果, 其中携带升级结果状态 信息, 该升级结果状态信息可以是表示全部 /部分成功、 全部 /部分失败等。 当 Policy节点配置为 "All"或者 "Failed", 执行步骤 1006。  1002, when the policy node is None, the current firmware recovery policy is not present, and the gateway reports the upgrade result of the Zigbee device to the device management server by using the Alert command, where the upgrade result status information is carried, and the status information of the upgrade result may be all/partially successful. All/partial failures, etc. When the Policy node is configured as "All" or "Failed", go to step 1006.
1003、 设备管理服务器通过 Get 命令, 从网关管理树中获取 ZigbeeFw/<x>/State 节点 下 的详细升级状态信息 ( 比如, 获取 ZigbeeFw/<x>/State/Value, 和 / 或 者 <x〉/State/FailedList, 和 / 或 者 ZigbeeFw/<x>/State/SuccessfulList节点上记录的信息)。  1003. The device management server obtains detailed upgrade status information of the ZigbeeFw/<x>/State node from the gateway management tree by using the Get command (for example, obtaining ZigbeeFw/<x>/State/Value, and/or <x>/ State/FailedList, and / or information recorded on the ZigbeeFw/<x>/State/SuccessfulList node).
可选的, 如果网关及时的更新了 ./GW/DevList/节点下的 Zigbee设备的固 件版本信息,则该设备管理服务器也可以通过读取从. /GW/DevList/节点下的固 件版本信息, 获知升级结果。 Optionally, if the gateway updates the Zigbee device under the ./GW/DevList/ node in time For the version information, the device management server can also obtain the upgrade result by reading the firmware version information from the . /GW/DevList/ node.
1004、 设备管理服务器根据获取的详细升级状态信息, 通过 Replace命令 在网关管理树中的 <x〉/Recover/Policy节点重新配置固件恢复策略为 All或者 Failed。  1004. The device management server reconfigures the firmware recovery policy to All or Failed by using the Replace command in the <x>/Recover/Policy node in the gateway management tree according to the obtained detailed upgrade status information.
具体的,也可以根据获取的详细升级状态信息和设备管理服务器预置的策 略, 重新配置固件恢复策略为 All或者 Failed, 或者, 根据管理员的操作指示 重新配置固件恢复策略为 All或者 Failed。  Specifically, you can reconfigure the firmware recovery policy to All or Failed according to the obtained detailed upgrade status information and the policy preset by the device management server, or reconfigure the firmware recovery policy to All or Failed according to the administrator's operation instructions.
1005、 设备管理服务器触发网关中的^^/Recover节点上的可执行命令。 1006、 网关执 4i"<x〉/Recover节点上的可执行命令, 当 <x〉/Recover/Policy 节点上的固件恢复策略为 All时,向适用于该新固件的所有 Zigbee设备发送固 件恢复命令, 当固件恢复策略为 Failed时, 向升级失败的 Zigbee设备发送固 件恢复命令, 其中, 固件恢复命令用于指示 Zigbee设备恢复使用升级之前的 固件。  1005. The device management server triggers an executable command on the ^^/Recover node in the gateway. 1006. The gateway executes the executable command on the 4i"<x>/Recover node, and sends a firmware recovery command to all Zigbee devices applicable to the new firmware when the firmware recovery policy on the <x>/Recover/Policy node is All. When the firmware recovery policy is Failed, a firmware recovery command is sent to the upgraded Zigbee device, where the firmware recovery command is used to instruct the Zigbee device to resume using the firmware before the upgrade.
1007、 网关查询接收固件恢复命令的 Zigbee设备当前的版本号, 确定是 否已经恢复到升级前的版本。  1007. The gateway queries the current version number of the Zigbee device that receives the firmware recovery command, and determines whether the version before the upgrade has been restored.
具体的, 查询接收固件恢复命令的 Zigbee设备当前的版本号的过程包括: 网关可以向 Zigbee 设备发送 ZCL Read_Attributes 请求消息, 其中携带 Specifically, the process of querying the current version number of the Zigbee device that receives the firmware recovery command includes: The gateway may send a ZCL Read_Attributes request message to the Zigbee device, where
CurrentFirmware Version参数, 该参数指示网关请求获取 Zigbee设备的最新固 件版本号, Zigbee设备向网关发送携带 Zigbee设备的最新固件版本号的响应 消息。 CurrentFirmware Version parameter, which indicates that the gateway requests to obtain the latest firmware version number of the Zigbee device, and the Zigbee device sends a response message to the gateway carrying the latest firmware version number of the Zigbee device.
1008、 网关通过 Alert命令向设备管理服务器发送固件恢复结果, 该固件 恢复结果可以是各 Zigbee设备都成功恢复, 或者, 升级失败的 Zigbee设备已 成功恢复。  1008. The gateway sends a firmware recovery result to the device management server by using an Alert command, and the firmware recovery result may be that each Zigbee device successfully recovers, or the upgraded Zigbee device has successfully recovered.
1009、 设备管理服务器向网关发送设备管理终止命令 Final, 结束设备管 理会话。  1009. The device management server sends a device management termination command Final to the gateway, and ends the device management session.
上述各实施例是以设备管理服务器与网关之间采用的是 DM协议进行描 述的, 在设备管理服务器与网关之间也可以采用 TR069协议。 TR069协议与 DM 协议在设备管理服务器与网关间的交互机制和管理树数据结构的设计上 都具有很大的相似性,都是通过建立设备管理服务器与网关间的远程设备管理 会话, 并所述在会话中操作网关管理树中节点的数据, 来实现远程设备管理的 功能, 其主要区别在于: TR069协议中的节点并没有可执行的属性, 即无法通 过触发某个节点 ( -k1 ZigbeeFw/<x>/Download/Operations/Download )上的可执 行命令来指示网关执行相应的操作。 为了指示网关执行相应的操作, TR069 协议将一系列专用的设备管理命令(如 Download, Reboot, ... )携带在设备管 理消息中、 或者封装在网关所下载的新固件文件中。 图 11是 TR069协议所支 持的下载文件的结构, 当该文件用于封装待升级的新固件时, 其中该文件相关 的设备管理命令列表可以携带一系列与设备固件升级相关描述和命令,其包括 文件用途、 固件版本信息、 适用的设备版本范围等, 可以扩展该新固件文件中 还包括新固件所适用的 Zigbee设备范围命令、 新固件升级方式命令等。 The foregoing embodiments are described by using the DM protocol between the device management server and the gateway, and the TR069 protocol may also be adopted between the device management server and the gateway. TR069 Agreement and The DM protocol has great similarities in the interaction mechanism between the device management server and the gateway and the design of the management tree data structure. The remote device management session between the device management server and the gateway is established, and the session is in the session. The gateway manages the data of the nodes in the tree to implement the remote device management function. The main difference is that the nodes in the TR069 protocol have no executable attributes, that is, they cannot trigger a node ( -k 1 ZigbeeFw/<x> An executable command on /Download/Operations/Download ) instructs the gateway to perform the appropriate action. To instruct the gateway to perform the corresponding operations, the TR069 protocol carries a series of dedicated device management commands (such as Download, Reboot, ...) in the device management message or in a new firmware file downloaded by the gateway. 11 is a structure of a download file supported by the TR069 protocol. When the file is used to encapsulate new firmware to be upgraded, the device management command list related to the file may carry a series of descriptions and commands related to device firmware upgrade, including The file usage, firmware version information, applicable device version range, etc. can be extended to include new Zigbee device range commands, new firmware upgrade mode commands, etc. for the new firmware.
参阅图 12, 本发明实施例提供一种实现 Zigbee设备远程升级的方法, 该 方法中, 设备管理服务器与网关之间采用 TR069协议, 该方法具体包括: 1201-1203与 501-503相同。  Referring to FIG. 12, an embodiment of the present invention provides a method for implementing a remote upgrade of a Zigbee device. In the method, the device management server and the gateway adopt a TR069 protocol, and the method specifically includes: 1201-1203 is the same as 501-503.
1204、 网关利用 TR069协议, 与设备管理服务器间建立设备管理会话。 具体的, 设备管理服务器向网关发送设备管理通知消息 Connection 1204. The gateway establishes a device management session with the device management server by using the TR069 protocol. Specifically, the device management server sends a device management notification message to the gateway.
Request, 网关根据该消息, 与设备管理服务器建立设备管理会话, 并通过 Inform命令中的 Deviceld参数提供网关自身的基本设备信息, 其中具体包含 了生产商标识 ( Manufacturer )、 设备标识 ( SerialNumber )、 设备型号 ( ProductClass ) 等信息; 设备管理服务器可进一步通过获取参数值 GetParameterValues命令获取网关的详细设备信息(./DevDetail节点上的信息), 以及与网关所管理的所有 Zigbee设备信息 (./GW/DevList节点上的信息)。 Based on the message, the gateway establishes a device management session with the device management server, and provides the basic device information of the gateway through the Deviceld parameter in the Inform command, which specifically includes the manufacturer identifier, the device identifier (SerialNumber), and the device. Model (ProductClass) and other information; The device management server can further obtain detailed device information of the gateway (information on the ./DevDetail node) by obtaining the parameter value GetParameterValues command, and all Zigbee device information managed by the gateway (./GW/DevList) Information on the node).
可选的,网关也可以主动的向设备管理服务器提供网关自身的基本设备信 息和详细设备信息。  Optionally, the gateway may also actively provide the device management server with basic device information and detailed device information of the gateway itself.
1205、 设备管理服务器通过设置参数值 SetPammeterValues命令在网关中 ZigbeeFw/<x〉节点上配置新固件信息。  1205. The device management server configures new firmware information on the ZigbeeFw/<x> node in the gateway by setting a parameter value SetPammeterValues command.
如果网关中还没有创建 ZigbeeFw/<x〉节点, 则设备管理服务器可以通过 添加对象 AddObject命令创建该节点。 If the ZigbeeFw/<x> node has not been created in the gateway, the device management server can pass Add the object AddObject command to create the node.
1206、 设备管理服务器采用 TR069协议下载新固件文件到网关上, 该新 固件文件中携带有 Zigbee设备固件升级管理命令, 该 Zigbee设备固件升级管 理命令是设备管理服务器预先写入的。  1206. The device management server downloads a new firmware file to the gateway by using a TR069 protocol, where the new firmware file carries a Zigbee device firmware upgrade management command, and the Zigbee device firmware upgrade management command is pre-written by the device management server.
具体的, 该步骤包括: 设备管理服务器通过 Download命令指示网关从指 定的地址(URL )下载新固件文件; 网关从指定地址下载新固件文件, 该新固 件文件包括: 新固件和 Zigbee设备固件升级管理命令, Zigbee设备固件升级 管理命令包括新固件升级方式命令、 新固件所适用的 Zigbee设备范围命令、 升级失败时的固件恢复策略命令等,其中,新固件升级方式命令为指示固件分 发及分发后 Zigbee设备立即升级的命令, 或者, 指示固件分发及所有 Zigbee 设备都成功下载新固件后同步执行固件升级的命令,或者指示固件分发及分发 后 Zigbee设备在预定的升级时间进行升级的命令。  Specifically, the step includes: the device management server instructs the gateway to download a new firmware file from the specified address (URL) by using a Download command; the gateway downloads a new firmware file from the specified address, the new firmware file includes: new firmware and Zigbee device firmware upgrade management Command, Zigbee device firmware upgrade management commands include new firmware upgrade mode command, Zigbee device range command for new firmware, firmware recovery policy command when upgrade fails, etc., where the new firmware upgrade mode command indicates the firmware distribution and distribution after Zigbee A command to upgrade the device immediately, or a command to instruct the firmware distribution and all Zigbee devices to successfully perform a firmware upgrade after successfully downloading the new firmware, or a command to upgrade the Zigbee device at a scheduled upgrade time after the firmware is distributed and distributed.
1207、 网关利用 Zigbee设备固件升级管理命令, 将新固件下载到新固件 所适用的各 Zigbee设备上, 并指示新固件所适用的各 Zigbee设备进行固件升 级。  1207. The gateway uses the Zigbee device firmware upgrade management command to download the new firmware to each Zigbee device to which the new firmware is applied, and instructs each Zigbee device to which the new firmware is applied for firmware upgrade.
其中, 可以采用普通升级方式、 同步升级方式、 定时升级方式。  Among them, the ordinary upgrade mode, the synchronous upgrade mode, and the timed upgrade mode can be adopted.
1208、 网关获取 Zigbee设备的升级结果。  1208. The gateway obtains an upgrade result of the Zigbee device.
1209、 当新固件文件中携带的固件恢复策略命令指示为 "None" 时, 网 关向设备管理服务器上报 Zigbee设备的升级结果, 其中携带升级结果状态信 息, 该升级结果状态信息可以是表示全部 /部分成功、 全部 /部分失败等。 当新 固件文件中携带的固件恢复策略指示为 "Α1Γ,或者 "Failed", 执行步骤 1212。  1209. When the firmware recovery policy command carried in the new firmware file is "None", the gateway reports the upgrade result of the Zigbee device to the device management server, where the upgrade result status information is carried, and the upgrade result status information may be all/partial Success, all/partial failure, etc. When the firmware recovery policy carried in the new firmware file is indicated as "Α1Γ, or "Failed", go to step 1212.
1210、 设备管理服务器通过 Get Parameter Value命令, 从网关管理树中获 取 ZigbeeFw/<x>/State 节点下的详细升级状态信息 ( 比如, 获取 ZigbeeFw/<x>/State/Value, 和 / 或 者 <x〉/State/FailedList, 和 / 或 者 ZigbeeFw/<x>/State/SuccessfulList节点上记录的信息)。  1210. The device management server obtains detailed upgrade status information of the ZigbeeFw/<x>/State node from the gateway management tree by using the Get Parameter Value command (for example, obtaining ZigbeeFw/<x>/State/Value, and/or <x 〉/State/FailedList, and/or information recorded on the ZigbeeFw/<x>/State/SuccessfulList node).
1211、设备管理服务器根据获取的详细升级状态信息,向网关发送 Recover 命令,该命令中携带固件恢复策略指示,该命令中的固件恢复策略指示为" All" 或者 "Failed"。 1212、 网关根据固件恢复策略指示, 向该新固件所适用的所有 Zigbee设 备或者升级失败的 Zigbee设备发送固件恢复命令。 1211. The device management server sends a Recover command to the gateway according to the obtained detailed upgrade status information, where the command carries a firmware recovery policy indication, and the firmware recovery policy indication in the command is “All” or “Failed”. 1212. The gateway sends a firmware recovery command to all Zigbee devices or upgrade failed Zigbee devices to which the new firmware applies according to the firmware recovery policy indication.
1213、 网关查询接收固件恢复命令的 Zigbee设备当前的版本号, 确定是 否已经恢复到升级前的版本, 并根据确定结果更新 ZigbeeFw/<x〉/State/Value 节点上信息。  1213. The gateway queries the current version number of the Zigbee device that receives the firmware recovery command, determines whether the version before the upgrade has been restored, and updates the information on the ZigbeeFw/<x>/State/Value node according to the determined result.
具体实现方式与步骤 1007相同, 在此不再赘述。  The specific implementation is the same as step 1007, and details are not described herein again.
1214、 网关通过 TransportComplete命令向设备管理服务器发送固件恢复 结果, 该固件恢复结果可以是各 Zigbee设备都成功恢复, 或者, 升级失败的 Zigbee设备已成功恢复。  1214. The gateway sends a firmware recovery result to the device management server by using the TransportComplete command. The firmware recovery result may be that each Zigbee device successfully recovers, or the upgraded Zigbee device has successfully recovered.
1215、设备管理服务器向网关发送设备管理终止命令,结束设备管理会话。 该实施例在网关所下载的新固件文件中扩展了设备管理命令,也可以不扩 展新固件文件,而是采用专用的设备管理命令通知网关,不影响本发明的实现。  1215. The device management server sends a device management termination command to the gateway, and ends the device management session. This embodiment extends the device management command in the new firmware file downloaded by the gateway, or does not extend the new firmware file, but uses a dedicated device management command to notify the gateway without affecting the implementation of the present invention.
参阅图 13, 本发明实施例提供一种网关, 其包括:  Referring to FIG. 13, an embodiment of the present invention provides a gateway, including:
远程管理信息交互单元 10,用于利用远程设备管理协议接收设备管理服务 器发送的固件下载指令、所述固件所适用的设备范围指示信息和固件下发及升 级指示信息;  The remote management information interaction unit 10 is configured to receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, device range indication information applicable to the firmware, and firmware delivery and upgrade indication information;
其中, 所述固件所适用的设备范围指示信息包括: 所述固件所适用的 Zigbee设备的标识、 所述固件所适用的 Zigbee设备生产商的标识、 所述固件所 适用的 Zigbee设备类别标识和能升级到所获取的固件的 Zigbee设备当前使用的 固件版本范围指示信息中至少一个。  The device range indication information that is applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier and an energy applicable to the firmware. At least one of the firmware version range indication information currently used by the Zigbee device upgraded to the acquired firmware.
固件获取单元 20, 用于根据所述固件下载指令, 获取固件; 具体的, 固件 下载指令中可以携带固件, 则固件获取单元 20直接从固件下载指令中获取固 件,或者固件下载指令中携带固件的下载地址, 则固件获取单元 20根据固件的 下载地址, 下载固件。  The firmware obtaining unit 20 is configured to obtain firmware according to the firmware downloading instruction. Specifically, the firmware downloading instruction may carry firmware, and the firmware acquiring unit 20 directly obtains firmware from the firmware downloading instruction, or the firmware downloading instruction carries the firmware. When the address is downloaded, the firmware acquisition unit 20 downloads the firmware based on the download address of the firmware.
升级单元 30,用于根据所述固件下发及升级指示信息和所述固件所适用的 设备范围指示信息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备下发所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件 升级操作。  The upgrading unit 30 is configured to deliver the acquired information to the Zigbee device to which the firmware is applied by using the Zigbee device firmware upgrade management protocol according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware. Firmware, and control the Zigbee device to which the firmware is applied to perform firmware upgrade operations.
进一步的, 为了使设备管理服务器获知升级结果, 该网关还包括: 查询单元 40, 用于向执行固件升级操作的 Zigbee设备查询升级结果。 Further, in order for the device management server to learn the upgrade result, the gateway further includes: The query unit 40 is configured to query the Zigbee device that performs the firmware upgrade operation to query the upgrade result.
进一步的, 为了能够向设备管理服务器提供升级结果, 所述远程管理信息 交互单元 20还用于接收设备管理服务器发送的升级结果请求消息,根据查询结 果向所述设备管理服务器发送响应消息。  Further, in order to provide an upgrade result to the device management server, the remote management information interaction unit 20 is further configured to receive an upgrade result request message sent by the device management server, and send a response message to the device management server according to the query result.
进一步的, 为了在有 Zigbee设备升级失败时, 不影响执行固件升级操作后 的 Zigbee网络的正常运行, 还包括: 恢复单元 50, 用于当查询结果表示至少 一个 Zigbee设备升级失败时, 利用 Zigbee设备固件升级管理协议向升级失败的 Zigbee设备发送固件恢复命令或者向执行固件升级操作的所有 Zigbee设备都发 送固件恢复命令, 所述固件恢复命令用于指示恢复使用升级之前的固件。  Further, in order to prevent the normal operation of the Zigbee network after performing the firmware upgrade operation when the Zigbee device fails to be upgraded, the method further includes: a recovery unit 50, configured to use the Zigbee device when the query result indicates that at least one Zigbee device fails to be upgraded. The firmware upgrade management protocol sends a firmware recovery command to the upgraded Zigbee device or a firmware recovery command to all Zigbee devices that perform the firmware upgrade operation, the firmware recovery command is used to indicate that the firmware before the upgrade is restored.
可选的,该远程管理信息交互单元 20还用于利用远程设备管理协议接收所 述设备管理服务器发送的固件恢复指示,所述固件恢复指示是所述设备管理服 务器根据接收的升级结果确定至少一个 Zigbee设备升级失败时发送的; 所述固 件恢复指示表示升级失败的 Zigbee设备需执行恢复操作或者表示执行固件升 级操作的所有 Zigbee设备都需执行恢复操作。  Optionally, the remote management information interaction unit 20 is further configured to receive, by using a remote device management protocol, a firmware recovery indication sent by the device management server, where the firmware recovery indication is that the device management server determines at least one according to the received upgrade result. Sent when the Zigbee device fails to be upgraded; the firmware recovery indication indicates that the Zigbee device that failed the upgrade needs to perform a recovery operation or all Zigbee devices that perform the firmware upgrade operation need to perform a recovery operation.
其中, 固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成 功下载固件后立即执行固件升级操作; 此时, 所述升级单元 30包括: 固件下发 单元 301,用于利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee 设备下载所获取的固件; 判断单元 302, 用于判断所述固件所适用的 Zigbee设 备是否已成功下载所述固件; 第一升级指示发送单元 303, 用于向已成功下载 的 Zigbee设备发送立即升级的指示信息。 其中, 所述固件下发及升级指示信息 为触发执行网关上表示固件分发及分发后 Zigbee设备立即升级的可执行命令 的指示; 或者, 所述固件下发及升级指示信息包括触发执行网关上表示分发固 件的可执行命令的指示, 和, 在向设备管理服务器上报固件所适用的 Zigbee设 备的固件下载状态之后接收的触发执行网关上表示固件分发后 Zigbee设备立 即升级的可执行命令的指示; 或者, 所述固件下发及升级指示信息为从设备管 理服务器发送的固件文件中获取指示固件分发及分发后 Zigbee设备立即升级 的命令。  The firmware delivery and update instruction information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation immediately after the firmware is successfully downloaded. In this case, the upgrade unit 30 includes: a firmware delivery unit 301, configured to utilize Zigbee. The device firmware upgrade management protocol indicates that the Zigbee device to which the firmware is applied downloads the acquired firmware; the determining unit 302 is configured to determine whether the Zigbee device to which the firmware is applied has successfully downloaded the firmware; the first upgrade indication sending unit 303 , is used to send instructions for immediate upgrade to the Zigbee device that has been successfully downloaded. The firmware delivery and upgrade indication information is an indication that triggers execution of an executable command on the gateway that indicates that the Zigbee device is immediately upgraded after the firmware is distributed and distributed; or the firmware delivery and upgrade indication information includes triggering execution on the gateway. An indication of an executable command to distribute the firmware, and an indication of an executable command on the triggering execution gateway indicating that the Zigbee device is immediately upgraded after the firmware distribution is received after the firmware download status of the Zigbee device to which the firmware is applied to the device management server; or The firmware delivery and upgrade indication information is a command for obtaining an immediate upgrade of the Zigbee device after the firmware distribution and distribution is obtained from the firmware file sent by the device management server.
或者, 固件下发及升级指示信息指示在所述固件所适用的所有 Zigbee设备 都成功下载固件后同步执行固件升级操作; 此时, 所述升级单元 30包括: 固件 下发单元 301, 用于利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备下载所获取的固件; 下载结果判断单元 304, 用于判断所述固件所 适用的各 Zigbee设备是否都已成功下载所述固件; 第二升级指示发送单元 306, 用于在下载结果判断单元的判断结果为是时, 向所述固件所适用的所有 Zigbee 设备发送立即升级的指示信息; 或者, 选择一个时间点, 分别向所述固件所适 用的所有 Zigbee设备发送指示在所选时间点进行固件升级的指示信息; 进一步 的, 升级单元 30还可以包括: 设备状态判断单元 305, 用于判断所述固件所适 用的各 Zigbee设备是否都处于激活态; 第二升级指示发送单元 306具体用于在 下载结果判断单元的判断结果为是且设备状态判断单元为是时,向所述固件所 适用的所有 Zigbee设备发送立即升级的指示信息; 在下载结果判断单元的判断 结果为是, 且设备状态判断单元为否时, 选择所述固件所适用的所有 Zigbee设 备都处于激活态的一个时间点, 分别向所述固件所适用的所有 Zigbee设备发送 指示在所选时间点进行固件升级的指示信息。其中, 所述固件下发及升级指示 信息为触发执行网关上表示固件分发及所有 Zigbee设备都成功下载固件后立 即执行固件升级的可执行命令的指示; 或者, 所述固件下发及升级指示信息包 括触发执行网关上表示分发固件的可执行命令的指示, 和, 向设备管理服务器 上报固件所适用的 Zigbee设备的固件下载状态之后接收的触发执行网关上表 示所有 Zigbee设备都成功下载固件后立即执行固件升级的可执行命令的指示; 或者,所述固件下发及升级指示信息为从设备管理服务器发送的固件文件中获 取指示固件分发及所有 Zigbee设备都成功下载固件后立即执行固件升级的命 令。 Alternatively, the firmware delivery and upgrade indication information indicates that the firmware upgrade operation is performed synchronously after all the Zigbee devices applicable to the firmware successfully download the firmware; at this time, the upgrade unit 30 includes: firmware The issuing unit 301 is configured to use the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware. The download result determining unit 304 is configured to determine whether each Zigbee device to which the firmware is applied has been Successfully downloading the firmware; the second upgrade indication sending unit 306 is configured to: when the determination result of the download result determining unit is yes, send the indication information of the immediate upgrade to all Zigbee devices to which the firmware is applied; or, select a time Pointing, the indication information indicating that the firmware upgrade is performed at the selected time point is sent to all the Zigbee devices that are applicable to the firmware. Further, the upgrading unit 30 may further include: a device status determining unit 305, configured to determine the firmware Whether the applicable Zigbee devices are in an active state; the second upgrade indication sending unit 306 is specifically configured to: when the determination result of the download result judging unit is yes and the device state judging unit is yes, all Zigbee devices applicable to the firmware Send instructions for immediate upgrade; judgment in the download result judgment unit If the result of the disconnection is yes, and the device status determination unit is no, all the Zigbee devices to which the firmware is applied are selected to be in an active state at a point in time, and an indication is sent to all Zigbee devices to which the firmware applies, at the selected time. Click the instructions for the firmware upgrade. The firmware delivery and upgrade indication information is an indication of an executable command that triggers execution of the firmware distribution on the gateway and the firmware upgrade is performed immediately after all the Zigbee devices successfully download the firmware; or the firmware delivery and upgrade indication information Including an instruction to trigger an executable command on the execution gateway indicating that the firmware is distributed, and a trigger execution received after the firmware download status of the Zigbee device to which the firmware is applied to the device management server indicates that all Zigbee devices successfully execute the firmware after downloading An indication of an executable command of the firmware upgrade; or the firmware delivery and upgrade indication information is a command to obtain a firmware upgrade from the firmware file sent from the device management server to indicate that the firmware distribution and all Zigbee devices successfully download the firmware.
或者, 固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成 功下载固件后在预定的升级时间执行固件升级操作;此时,所述升级单元包括: 固件下发单元 301, 用于利用 Zigbee设备固件升级管理协议指示所述固件所适 用的 Zigbee设备下载所获取的固件; 第三升级指示发送单元 307, 用于分别向 所述固件所适用的所有 Zigbee设备发送指示在所述预定的升级时间进行固件 升级的指示信息。 其中, 固件下发及升级指示信息包括: 表示所述预定的升级 时间的时间参数, 和触发执行网关上表示固件分发及分发后 Zigbee设备在所述 预定的升级时间进行升级的可执行命令的指示; 或者, 固件下发及升级指示信 息包括: 触发执行网关上表示分发固件的可执行命令的指示, 和向设备管理服 务器上报所述固件所适用的 Zigbee设备的固件下载状态之后接收的表示所述 预定的升级时间的时间参数以及触发执行网关上表示固件分发后 Zigbee设备 指示信息包括:从设备管理服务器发送的固件文件中获取指示固件分发及分发 后 Zigbee设备在预定的升级时间进行升级的命令。 Alternatively, the firmware delivery and the upgrade indication information indicate that each Zigbee device to which the firmware is applied successfully performs the firmware upgrade operation after the firmware is successfully downloaded. In this case, the upgrade unit includes: a firmware delivery unit 301, Using the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware; the third upgrade indication sending unit 307 is configured to send an indication to each of the Zigbee devices to which the firmware is applicable, respectively. Upgrade time for instructions on firmware upgrades. The firmware delivery and upgrade indication information includes: a time parameter indicating the predetermined upgrade time, and an indication of an executable command that triggers execution of the firmware distribution and distribution on the gateway after the Zigbee device upgrades at the predetermined upgrade time. ; or, firmware delivery and upgrade instructions The information includes: an indication of executing an executable command on the execution gateway indicating that the firmware is distributed, and a time parameter indicating the predetermined upgrade time received after the firmware download status of the Zigbee device to which the firmware is applied is reported to the device management server, and triggering The Zigbee device indication information after the firmware distribution is performed on the execution gateway includes: obtaining, from the firmware file sent by the device management server, a command indicating that the Zigbee device upgrades at a predetermined upgrade time after the firmware distribution and distribution.
其中, 参阅图 14A, 固件下发单元 301具体包括:  The firmware delivery unit 301 specifically includes:
适用范围确定单元 3011,用于根据所述固件所适用的设备范围指示信息和 已获取的各 Zigbee设备的信息, 确定所述固件所适用的 Zigbee设备; 和第一通 知消息下发单元 3012, 用于利用 Zigbee设备固件升级管理协议, 采用单播方式 向所述固件所适用的 Zigbee设备发送通知消息, 以通知所述固件所适用的 Zigbee设备下载所述固件; 和下载单元 3013, 用于将所述固件下载到接收通知 消息的 Zigbee设备上;  The application range determining unit 3011 is configured to determine, according to the device range indication information that is applicable to the firmware and the acquired information of each Zigbee device, the Zigbee device to which the firmware is applied; and the first notification message sending unit 3012, Using the Zigbee device firmware upgrade management protocol, sending a notification message to the Zigbee device to which the firmware is applied in a unicast manner to notify the Zigbee device to which the firmware is applicable to download the firmware; and downloading unit 3013 for The firmware is downloaded to the Zigbee device that receives the notification message;
或者, 参阅图 14B, 固件下发单元 301具体包括: 第二通知消息下发单元 3014, 用于根据已获取的各 Zigbee设备的信息, 利用 Zigbee设备固件升级管理 协议, 采用广播方式向各 Zigbee设备下发通知消息, 所述通知消息中携带所述 固件所适用的 Zigbee设备的信息, 其中, 所述固件所适用的 Zigbee设备的信息 包括: 所述固件所适用的 Zigbee设备的生产商标识、 类别标识中至少一个; 和 下载单元 3013, 用于将所述固件下载到请求固件的 Zigbee设备上, 其中, 所述 请求固件的 Zigbee设备是根据所述通知消息确定自己能适用所述固件的 Zigbee 设备。  For example, referring to FIG. 14B, the firmware sending unit 301 specifically includes: a second notification message sending unit 3014, configured to use the Zigbee device firmware upgrade management protocol to broadcast to each Zigbee device according to the acquired information of each Zigbee device. Sending a notification message, where the notification message carries the information of the Zigbee device to which the firmware is applied, where the information of the Zigbee device to which the firmware is applied includes: a manufacturer identifier and a category of the Zigbee device to which the firmware is applied And at least one of the identifiers; and a downloading unit 3013, configured to download the firmware to the Zigbee device that requests the firmware, where the Zigbee device that requests the firmware determines that the Zigbee device that can apply the firmware according to the notification message .
为了获取网关所管理的各 Zigbee设备的信息, 则该网关还包括: Zigbee设 备信息获取单元 60, 用于利用 Zigbee设备固件升级管理协议从其所管理的各 Zigbee设备获取相应 Zigbee设备的信息。  In order to obtain the information of each Zigbee device managed by the gateway, the gateway further includes: a Zigbee device information obtaining unit 60, configured to acquire information of the corresponding Zigbee device from each Zigbee device managed by the Zigbee device firmware upgrade management protocol.
其中, 所述固件下发及升级指示信息包括: 固件下发指示信息和升级指示 信息;远程管理信息交互单元 10具体用于向设备管理服务器发送所述固件所适 用的 Zigbee设备的固件下载结果, 接收所述设备管理服务器发送的升级指示信 息, 所述升级指示信息是所述设备管理服务器根据所述固件所适用的 Zigbee设 备的固件下载结果确定需要发送升级指示信息时所发送的。 本发明实施例中网关根据设备管理服务器发送的新固件所适用的设备范 围指示信息, 确定该新固件所适用的 Zigbee设备, 根据所述设备管理服务器发 送的固件下发及升级指示信息, 向所述新固件所适用的 Zigbee设备下发新固 件, 并控制其执行固件升级操作, 这样可以实现设备管理服务器控制 Zigbee设 备进行固件升级, 不需要 Zigbee设备支持 SNMP协议, 因此对 Zigbee设备的改 动很小。 The firmware delivery and upgrade indication information includes: firmware delivery indication information and upgrade indication information; the remote management information interaction unit 10 is specifically configured to send, to the device management server, a firmware download result of the Zigbee device to which the firmware is applied, Receiving the upgrade indication information sent by the device management server, where the upgrade indication information is sent when the device management server determines that the upgrade indication information needs to be sent according to the firmware download result of the Zigbee device to which the firmware is applied. In the embodiment of the present invention, the gateway determines, according to the device range indication information that the new firmware is sent by the device management server, the Zigbee device to which the new firmware is applied, according to the firmware delivery and upgrade indication information sent by the device management server. The Zigbee device for the new firmware delivers new firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade. The Zigbee device does not need to support the SNMP protocol. Therefore, the Zigbee device has little change. .
参阅图 15,本发明实施例提供一种网络系统,包括网关和设备管理服务器, 其中, 网关和设备管理服务器的功能详见上述方法和装置实施例的描述,在此 不再赘述。  Referring to FIG. 15, an embodiment of the present invention provides a network system, including a gateway and a device management server. The functions of the gateway and the device management server are described in the foregoing method and device description, and details are not described herein.
本发明实施例中网关根据设备管理服务器发送的新固件所适用的设备范 围指示信息, 确定该新固件所适用的 Zigbee设备, 根据所述设备管理服务器发 送的固件下发及升级指示信息, 向所述新固件所适用的 Zigbee设备下发新固 件, 并控制其执行固件升级操作, 这样可以实现设备管理服务器控制 Zigbee设 备进行固件升级, 不需要 Zigbee设备支持 SNMP协议, 因此对 Zigbee设备的改 动很小。  In the embodiment of the present invention, the gateway determines, according to the device range indication information that the new firmware is sent by the device management server, the Zigbee device to which the new firmware is applied, according to the firmware delivery and upgrade indication information sent by the device management server. The Zigbee device for the new firmware delivers new firmware and controls the firmware upgrade operation. This allows the device management server to control the Zigbee device for firmware upgrade. The Zigbee device does not need to support the SNMP protocol. Therefore, the Zigbee device has little change. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 例如只读存储器, 磁盘或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the foregoing embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, such as a read only memory. Disk or disc, etc.
以上对本发明实施例所提供的实现 Zi gbee设备远程升级的方法、 装置及 进行了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思 想; 同时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式 及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明 的限制。  The method and apparatus for implementing the remote upgrade of the Zi gbee device provided by the embodiments of the present invention are described above. The description of the above embodiments is only for helping to understand the method and core idea of the present invention; meanwhile, the general technology in the field In the following, the description of the present invention is not limited to the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种实现 Zigbee设备远程升级的方法, 其特征在于, 包括:  A method for implementing remote upgrade of a Zigbee device, which is characterized by comprising:
利用远程设备管理协议接收设备管理服务器发送的固件下载指令,根据所 述固件下载指令获取固件;  Receiving, by using a remote device management protocol, a firmware download instruction sent by the device management server, and acquiring firmware according to the firmware download instruction;
利用远程设备管理协议接收远程设备管理服务器发送的所述固件所适用 的设备范围指示信息和固件下发及升级指示信息;  Receiving, by using a remote device management protocol, device range indication information and firmware delivery and upgrade indication information applicable to the firmware sent by the remote device management server;
根据所述固件下发及升级指示信息和所述固件所适用的设备范围指示信 息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备下发 所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件升级操作。  And using the Zigbee device firmware upgrade management protocol to deliver the acquired firmware to the Zigbee device to which the firmware is applicable, and controlling the firmware according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware. The Zigbee device to which the firmware is applied performs a firmware upgrade operation.
2、 根据权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein
所述固件所适用的设备范围指示信息包括: 所述固件所适用的 Zigbee设备 的标识、所述固件所适用的 Zigbee设备生产商的标识、所述固件所适用的 Zigbee 设备类别标识和能升级到所获取的固件的 Zigbee设备当前使用的固件版本范 围指示信息中至少一个。  The device range indication information applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier to which the firmware is applicable, and an upgrade to At least one of the firmware version range indication information currently used by the acquired Zigbee device of the firmware.
3、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:  3. The method according to claim 1, wherein the method further comprises:
利用 Zigbee设备固件升级管理协议向执行固件升级操作的 Zigbee设备查询 升级结果;  Use the Zigbee device firmware upgrade management protocol to query the Zigbee device performing the firmware upgrade operation for the upgrade result;
利用远程设备管理协议接收设备管理服务器发送的升级结果请求消息,根 据查询结果向所述设备管理服务器发送响应消息。  The remote device management protocol is used to receive the upgrade result request message sent by the device management server, and send a response message to the device management server according to the query result.
4、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:  4. The method according to claim 1, wherein the method further comprises:
利用 Zigbee设备固件升级管理协议向执行固件升级操作的 Zigbee设备查询 升级结果;  Use the Zigbee device firmware upgrade management protocol to query the Zigbee device performing the firmware upgrade operation for the upgrade result;
当查询结果表示至少一个 Zigbee设备升级失败时, 利用 Zigbee设备固件升 级管理协议向升级失败的 Zigbee设备发送固件恢复命令, 所述固件恢复命令用 于指示升级失败的 Zigbee设备恢复使用升级之前的固件。  When the query result indicates that at least one Zigbee device upgrade fails, the Zigbee device firmware upgrade management protocol is used to send a firmware recovery command to the upgrade failed Zigbee device, and the firmware recovery command is used to indicate that the upgrade failed Zigbee device resumes using the firmware before the upgrade.
5、 根据权利要求 4所述的方法, 其特征在于,  5. The method of claim 4, wherein
在向升级失败的 Zigbee设备发送固件恢复命令之前, 该方法还包括: 利用远程设备管理协议向设备管理服务器发送所述固件所适用的 Zigbee 设备的升级结果, 并接收所述设备管理服务器发送的固件恢复指示, 所述固件 恢复指示是所述设备管理服务器根据接收的升级结果确定至少一个 Zigbee设 备升级失败时发送的; Before sending the firmware recovery command to the upgraded Zigbee device, the method further includes: transmitting, by using a remote device management protocol, an upgrade result of the Zigbee device to which the firmware is applied, and receiving the firmware sent by the device management server Recovery indication, the firmware The recovery indication is sent by the device management server when determining that at least one Zigbee device fails to upgrade according to the received upgrade result;
所述向升级失败的 Zigbee设备发送固件恢复命令具体为:  The sending a firmware recovery command to the Zigbee device that fails to be upgraded is specifically:
当所述固件升级恢复指示表示升级失败的 Zigbee设备需执行恢复操作时, 利用 Zigbee设备固件升级管理协议向升级失败的 Zigbee设备发送固件恢复命 令。  When the firmware upgrade recovery indication indicates that the upgrade failed Zigbee device needs to perform a recovery operation, the Zigbee device firmware upgrade management protocol is used to send a firmware recovery command to the upgraded Zigbee device.
6、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括:  6. The method according to claim 1, wherein the method further comprises:
向执行固件升级操作的 Zigbee设备查询升级结果;  Query the upgrade result to the Zigbee device that performs the firmware upgrade operation;
当查询结果表示至少一个 Zigbee设备升级失败时, 利用 Zigbee设备固件升 级管理协议向执行固件升级操作的所有 Zigbee设备都发送固件恢复命令, 所述 固件恢复命令用于指示恢复使用升级之前的固件。  When the query result indicates that at least one Zigbee device upgrade fails, the Zigbee device firmware upgrade management protocol is used to send a firmware recovery command to all Zigbee devices performing the firmware upgrade operation, the firmware recovery command is used to indicate that the firmware before the upgrade is restored.
7、 根据权利要求 6所述的方法, 其特征在于,  7. The method of claim 6 wherein:
在向执行固件升级操作的所有 Zigbee设备都发送固件恢复命令之前, 该方 法还包括:  Before sending a firmware recovery command to all Zigbee devices that perform firmware upgrade operations, the method also includes:
利用远程设备管理协议向设备管理服务器发送所述固件所适用的 Zigbee 设备的升级结果; 并接收所述设备管理服务器发送的固件恢复指示, 所述固件 恢复指示是所述设备管理服务器根据接收的升级结果确定至少一个 Zigbee设 备升级失败时发送的;  Sending, by the remote device management protocol, an upgrade result of the Zigbee device to which the firmware is applied to the device management server; and receiving a firmware recovery indication sent by the device management server, where the firmware recovery indication is an upgrade of the device management server according to the received The result is determined to be sent when at least one Zigbee device fails to be upgraded;
所述向执行固件升级操作的所有 Zigbee设备都发送固件恢复命令具体为: 当所述固件升级恢复指示表示执行固件升级操作的所有 Zigbee设备都需 执行恢复操作时, 利用 Zigbee设备固件升级管理协议向执行固件升级操作的所 有 Zigbee设备发送固件恢复命令。  The sending the firmware recovery command to all the Zigbee devices performing the firmware upgrade operation is specifically: when the firmware upgrade recovery indication indicates that all Zigbee devices performing the firmware upgrade operation need to perform a recovery operation, using the Zigbee device firmware upgrade management protocol to All Zigbee devices that perform firmware upgrade operations send firmware recovery commands.
8、 根据权利要求 1所述的方法, 其特征在于,  8. The method of claim 1 wherein:
所述固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成 功下载固件后立即执行固件升级操作;  The firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs a firmware upgrade operation immediately after downloading the firmware;
向所述固件所适用的 Zigbee设备下发所获取的固件, 并控制所述固件所适 用的 Zigbee设备执行固件升级操作具体为:  The firmware obtained by delivering the obtained firmware to the Zigbee device to which the firmware is applied, and controlling the Zigbee device to be executed by the firmware, is specifically:
利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备下载 所获取的固件, 并分别向各成功下载所述固件的 Zigbee设备发送立即升级的指 示信息。 Using the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware, and respectively send the immediately upgraded finger to each Zigbee device that successfully downloads the firmware. Show information.
9、 根据权利要求 1所述的方法, 其特征在于,  9. The method of claim 1 wherein:
所述固件下发及升级指示信息指示在所述固件所适用的所有 Zigbee设备 都成功下载固件后同步执行固件升级操作;  The firmware delivery and upgrade indication information indicates that the firmware upgrade operation is performed synchronously after all the Zigbee devices applicable to the firmware successfully download the firmware;
向所述固件所适用的 Zigbee设备下发所获取的固件, 并控制所述固件所适 用的 Zigbee设备执行固件升级操作具体为:  The firmware obtained by delivering the obtained firmware to the Zigbee device to which the firmware is applied, and controlling the Zigbee device to be executed by the firmware, is specifically:
利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备下载 所获取的固件, 并在所述固件所适用的所有 Zigbee设备都成功下载固件之后, 向所述固件所适用的所有 Zigbee设备发送立即升级的指示信息, 或者, 分别向 所述固件所适用的所有 Zigbee设备发送指示在选择的时间点进行固件升级的 指示信息。  Using the Zigbee device firmware upgrade management protocol to instruct the Zigbee device to which the firmware is applied to download the acquired firmware, and after all the Zigbee devices to which the firmware is applied successfully download the firmware, send to all Zigbee devices to which the firmware applies. The indication information of the immediate upgrade, or the indication information indicating that the firmware upgrade is performed at the selected time point, is respectively sent to all Zigbee devices to which the firmware is applied.
10、 根据权利要求 1所述的方法, 其特征在于,  10. The method of claim 1 wherein:
所述固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成 功下载固件后在预定的升级时间执行固件升级操作;  The firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs a firmware upgrade operation after a predetermined upgrade time after successfully downloading the firmware;
向所述固件所适用的 Zigbee设备下发所获取的所述固件, 并控制所述固件 所适用的 Zigbee设备执行固件升级操作具体为:  And sending the obtained firmware to the Zigbee device to which the firmware is applied, and controlling the Zigbee device applicable to the firmware to perform the firmware upgrade operation, specifically:
利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备下载 所获取的固件, 并分别向所述固件所适用的所有 Zigbee设备发送指示在所述预 定的升级时间进行固件升级的指示信息。  The Zigbee device firmware upgrade management protocol is used to instruct the Zigbee device to which the firmware is applied to download the acquired firmware, and respectively send instructions indicating that the firmware upgrade is performed at the predetermined upgrade time to all Zigbee devices to which the firmware applies.
11、 根据权利要求 8、 9或者 10所述的方法, 其特征在于,  11. A method according to claim 8, 9 or 10, characterized in that
所述固件下发及升级指示信息包括: 固件下发指示信息和升级指示信息; 利用远程设备管理协议接收远程设备管理服务器发送的升级指示信息之 前, 该方法还包括:  The firmware delivery and upgrade indication information includes: firmware delivery indication information and upgrade indication information; before the remote device management protocol receives the upgrade indication information sent by the remote device management server, the method further includes:
向设备管理服务器发送所述固件所适用的 Zigbee设备的固件下载结果; 所述利用远程设备管理协议接收远程设备管理服务器发送的升级指示信 息具体为:  Sending, by the device management server, a firmware download result of the Zigbee device to which the firmware is applied; and receiving, by using the remote device management protocol, the upgrade indication information sent by the remote device management server is:
在向设备管理服务器发送所述固件所适用的 Zigbee设备的固件下载结果 之后,接收所述设备管理服务器发送的升级指示信息, 所述升级指示信息是所 述设备管理服务器根据所述固件所适用的 Zigbee设备的固件下载结果确定需 要发送升级指示信息时所发送的。 After the firmware download result of the Zigbee device to which the firmware is applied is sent to the device management server, the upgrade indication information sent by the device management server is received, where the upgrade indication information is applicable by the device management server according to the firmware. The firmware download result of the Zigbee device needs to be determined. Sent when an upgrade indication is sent.
12、 根据权利要求 8、 9或者 10所述的方法, 其特征在于,  12. A method according to claim 8, 9 or 10, characterized in that
利用 Zigbee设备固件升级管理协议指示所述固件所适用的 Zigbee设备下载 所获取的固件包括:  The firmware obtained by the Zigbee device firmware upgrade management protocol indicating that the firmware is applicable to the Zigbee device download includes:
根据所述固件所适用的设备范围指示信息和已获取的各 Zigbee设备的信 息, 确定所述固件所适用的 Zigbee设备; 利用 Zigbee设备固件升级管理协议, 采用单播方式向所述固件所适用的 Zigbee设备发送通知消息, 以通知所述固件 所适用的 Zigbee设备下载所述固件;  Determining, according to the device range indication information applicable to the firmware and the acquired information of each Zigbee device, a Zigbee device to which the firmware is applied; using a Zigbee device firmware upgrade management protocol, applying the firmware to the firmware in a unicast manner The Zigbee device sends a notification message to notify the Zigbee device to which the firmware is applicable to download the firmware;
或者,  Or,
根据已获取的各 Zigbee设备的信息, 利用 Zigbee设备固件升级管理协议, 采用广播方式向各 Zigbee设备下发通知消息, 所述通知消息中携带所述固件所 适用的 Zigbee设备的信息, 其中, 所述固件所适用的 Zigbee设备的信息包括: 所述固件所适用的 Zigbee设备的生产商标识、 类别标识中至少一个。  The Zigbee device firmware upgrade management protocol is used to send a notification message to each Zigbee device by using a Zigbee device firmware upgrade management protocol, where the notification message carries the information of the Zigbee device to which the firmware is applied, where The information of the Zigbee device to which the firmware is applied includes: at least one of a manufacturer identifier and a category identifier of the Zigbee device to which the firmware is applied.
13、 根据权利要求 12所述的方法, 其特征在于,  13. The method of claim 12, wherein
在确定所述固件所适用的 Zigbee设备之前, 该方法还包括:  Before determining the Zigbee device to which the firmware is applied, the method further includes:
利用 Zigbee设备固件升级管理协议获取各 Zigbee设备的信息。  Use the Zigbee device firmware upgrade management protocol to obtain information about each Zigbee device.
14、 一种网关, 其特征在于, 包括:  14. A gateway, comprising:
远程管理信息交互单元,用于利用远程设备管理协议接收设备管理服务器 发送的固件下载指令、所述固件所适用的设备范围指示信息和固件下发及升级 指示信息;  a remote management information interaction unit, configured to receive, by using a remote device management protocol, a firmware download instruction sent by the device management server, device range indication information applicable to the firmware, and firmware delivery and upgrade indication information;
固件获取单元, 用于根据所述固件下载指令, 获取固件;  a firmware obtaining unit, configured to obtain firmware according to the firmware downloading instruction;
升级单元,用于根据所述固件下发及升级指示信息和所述固件所适用的设 备范围指示信息, 利用 Zigbee设备固件升级管理协议, 向所述固件所适用的 Zigbee设备下发所获取的固件, 并控制所述固件所适用的 Zigbee设备执行固件 升级操作。  An upgrade unit, configured to deliver the obtained firmware to a Zigbee device to which the firmware is applied, according to the firmware delivery and upgrade indication information and the device range indication information applicable to the firmware, by using a Zigbee device firmware upgrade management protocol. And controlling the Zigbee device to which the firmware is applied to perform a firmware upgrade operation.
15、 根据权利要求 14所述的网关, 其特征在于,  15. The gateway of claim 14 wherein:
所述固件所适用的设备范围指示信息包括: 所述固件所适用的 Zigbee设备 的标识、所述固件所适用的 Zigbee设备生产商的标识、所述固件所适用的 Zigbee 设备类别标识和能升级到所获取的固件的 Zigbee设备当前使用的固件版本范 围指示信息中至少一个。 The device range indication information applicable to the firmware includes: an identifier of a Zigbee device to which the firmware is applied, an identifier of a Zigbee device manufacturer to which the firmware is applicable, a Zigbee device category identifier to which the firmware is applicable, and an upgrade to The firmware version currently used by the Zigbee device of the obtained firmware At least one of the surrounding indications.
16、 根据权利要求 14所述的网关, 其特征在于, 还包括:  The gateway according to claim 14, further comprising:
查询单元, 用于利用 Zigbee设备固件升级管理协议向执行固件升级操作的 Zigbee设备查询升级结果;  The query unit is configured to query the Zigbee device performing the firmware upgrade operation by using the Zigbee device firmware upgrade management protocol to query the upgrade result;
所述远程管理信息交互单元,还用于利用远程设备管理协议接收设备管理 服务器发送的升级结果请求消息,根据查询结果向所述设备管理服务器发送响 应消息。  The remote management information interaction unit is further configured to receive an upgrade result request message sent by the device management server by using a remote device management protocol, and send a response message to the device management server according to the query result.
17、 根据权利要求 14所述的网关, 其特征在于, 还包括:  The gateway according to claim 14, further comprising:
查询单元, 用于利用 Zigbee设备固件升级管理协议向执行固件升级操作的 Zigbee设备查询升级结果;  The query unit is configured to query the Zigbee device performing the firmware upgrade operation by using the Zigbee device firmware upgrade management protocol to query the upgrade result;
恢复单元, 用于当查询结果表示至少一个 Zigbee设备升级失败时, 利用 Zigbee设备固件升级管理协议向升级失败的 Zigbee设备发送固件恢复命令或者 向执行固件升级操作的所有 Zigbee设备都发送固件恢复命令, 所述固件恢复命 令用于指示恢复使用升级之前的固件。  a recovery unit, configured to send a firmware recovery command to the Zigbee device that fails to be upgraded or send a firmware recovery command to all Zigbee devices that perform the firmware upgrade operation when the query result indicates that at least one Zigbee device upgrade fails, using a Zigbee device firmware upgrade management protocol, The firmware recovery command is used to indicate that the firmware before the upgrade is restored.
18、 根据权利要求 14所述的网关, 其特征在于,  18. The gateway of claim 14 wherein:
所述远程管理信息交互单元,还用于利用远程设备管理协议接收所述设备 管理服务器发送的固件恢复指示,所述固件恢复指示是所述设备管理服务器根 据接收的升级结果确定至少一个 Zigbee设备升级失败时发送的; 所述固件恢复 指示表示升级失败的 Zigbee设备需执行恢复操作或者表示执行固件升级操作 的所有 Zigbee设备都需执行恢复操作。  The remote management information interaction unit is further configured to receive, by using a remote device management protocol, a firmware recovery indication sent by the device management server, where the firmware recovery indication is that the device management server determines at least one Zigbee device upgrade according to the received upgrade result. Sent on failure; the firmware recovery indication indicates that the Zigbee device that failed the upgrade needs to perform a recovery operation or that all Zigbee devices that perform the firmware upgrade operation need to perform a recovery operation.
19、 根据权利要求 14所述的网关, 其特征在于,  19. The gateway of claim 14 wherein:
固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成功下 载固件后立即执行固件升级操作;  The firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation immediately after downloading the firmware;
所述升级单元包括:  The upgrade unit includes:
固件下发单元, 用于利用 Zigbee设备固件升级管理协议指示所述固件所适 用的 Zigbee设备下载所获取的固件;  a firmware delivery unit, configured to use a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to be used by the firmware to download the obtained firmware;
判断单元, 用于判断所述固件所适用的 Zigbee设备是否已成功下载所述固 件;  a determining unit, configured to determine whether the Zigbee device to which the firmware is applied has successfully downloaded the firmware;
第一升级指示发送单元, 用于向已成功下载的 Zigbee设备发送立即升级的 指示信息。 a first upgrade indication sending unit, configured to send an immediate upgrade to the Zigbee device that has been successfully downloaded Instructions.
20、 根据权利要求 14所述的网关, 其特征在于,  20. The gateway of claim 14 wherein:
固件下发及升级指示信息指示在所述固件所适用的所有 Zigbee设备都成 功下载固件后同步执行固件升级操作;  The firmware delivery and upgrade indication information indicates that the firmware upgrade operation is performed synchronously after all the Zigbee devices applicable to the firmware successfully download the firmware;
所述升级单元包括:  The upgrade unit includes:
固件下发单元, 用于利用 Zigbee设备固件升级管理协议指示所述固件所适 用的 Zigbee设备从下载所获取的固件;  a firmware delivery unit, configured to indicate, by using a Zigbee device firmware upgrade management protocol, the firmware obtained by downloading the Zigbee device used by the firmware;
下载结果判断单元, 用于判断所述固件所适用的各 Zigbee设备是否都已成 功下载所述固件;  a download result judging unit, configured to determine whether each Zigbee device to which the firmware is applied has successfully downloaded the firmware;
第二升级指示发送单元, 用于在下载结果判断单元的判断结果为是时, 向 所述固件所适用的所有 Zigbee设备发送立即升级的指示信息; 或者, 选择一个 时间点, 分别向所述固件所适用的所有 Zigbee设备发送指示在所选时间点进行 固件升级的指示信息。  a second upgrade indication sending unit, configured to: when the determination result of the download result judging unit is yes, send the indication information of the immediate upgrade to all Zigbee devices to which the firmware is applied; or, select a time point, respectively, to the firmware All Zigbee devices that are applicable send instructions indicating a firmware upgrade at the selected point in time.
21、 根据权利要求 14所述的网关, 其特征在于,  21. The gateway of claim 14 wherein:
固件下发及升级指示信息指示所述固件所适用的每个 Zigbee设备成功下 载固件后在预定的升级时间执行固件升级操作;  The firmware delivery and upgrade indication information indicates that each Zigbee device to which the firmware is applied successfully performs firmware upgrade operation at a predetermined upgrade time after successfully downloading the firmware;
所述升级单元包括:  The upgrade unit includes:
固件下发单元, 用于利用 Zigbee设备固件升级管理协议指示所述固件所适 用的 Zigbee设备下载所获取的固件;  a firmware delivery unit, configured to use a Zigbee device firmware upgrade management protocol to instruct the Zigbee device to be used by the firmware to download the obtained firmware;
第三升级指示发送单元, 用于分别向所述固件所适用的所有 Zigbee设备发 送指示在所述预定的升级时间进行固件升级的指示信息。  And a third upgrade indication sending unit, configured to send, to each of the Zigbee devices applicable to the firmware, indication information indicating that the firmware upgrade is performed at the predetermined upgrade time.
22、 根据权利要求 19、 20或者 21所述的网关, 其特征在于,  22. A gateway according to claim 19, 20 or 21, characterized in that
所述固件下发单元包括:  The firmware delivery unit includes:
适用范围确定单元,用于根据所述固件所适用的设备范围指示信息和已获 取的各 Zigbee设备的信息, 确定所述固件所适用的 Zigbee设备;  a scope determining unit, configured to determine, according to the device range indication information applicable to the firmware and the information of each Zigbee device that has been obtained, the Zigbee device to which the firmware is applicable;
第一通知消息下发单元, 用于利用 Zigbee设备固件升级管理协议, 采用单 播方式向所述固件所适用的 Zigbee设备发送通知消息, 以通知所述固件所适用 的 Zigbee设备下载所述固件;  a first notification message sending unit, configured to send a notification message to the Zigbee device to which the firmware is applied by using a Zigbee device firmware upgrade management protocol, to notify the Zigbee device to which the firmware is applicable to download the firmware;
下载单元, 用于将所述固件下载到接收通知消息的 Zigbee设备上; 或者, a downloading unit, configured to download the firmware to a Zigbee device that receives the notification message; or,
所述固件下发单元包括:  The firmware delivery unit includes:
第二通知消息下发单元, 用于根据已获取的各 Zigbee设备的信息, 利用 Zigbee设备固件升级管理协议, 采用广播方式向各 Zigbee设备下发通知消息, 所述通知消息中携带所述固件所适用的 Zigbee设备的信息, 其中, 所述固件所 适用的 Zigbee设备的信息包括: 所述固件所适用的 Zigbee设备的生产商标识、 类别标识中至少一个;  a second notification message sending unit, configured to send a notification message to each Zigbee device by using a Zigbee device firmware upgrade management protocol according to the obtained information of each Zigbee device, where the notification message carries the firmware The information of the applicable Zigbee device, wherein the information of the Zigbee device to which the firmware is applied includes: at least one of a manufacturer identifier and a category identifier of the Zigbee device to which the firmware is applied;
下载单元, 用于将所述固件下载到请求固件的 Zigbee设备上, 其中, 所述 请求固件的 Zigbee设备是根据所述通知消息确定自己能适用所述固件的 Zigbee 设备。  And a downloading unit, configured to download the firmware to the Zigbee device that requests the firmware, wherein the Zigbee device that requests the firmware is a Zigbee device that determines that the firmware can be applied according to the notification message.
23、 根据权利要求 22所述的网关, 其特征在于,  23. The gateway of claim 22, wherein:
Zigbee设备信息获取单元, 用于利用 Zigbee设备固件升级管理协议从其所 管理的各 Zigbee设备获取相应 Zigbee设备的信息。  The Zigbee device information obtaining unit is configured to acquire information of the corresponding Zigbee device from each Zigbee device managed by the Zigbee device firmware upgrade management protocol.
24、 一种网络系统, 其特征在于, 包括设备管理服务器和权利要求 14-23 任一项所述的网关, 其中,  A network system, comprising: a device management server; and the gateway according to any one of claims 14 to 23, wherein
所述设备管理服务器, 用于利用远程设备管理协议, 向所述网关发送固件 下载指令、 所述固件所适用的设备范围指示信息和固件下发及升级指示信息。  The device management server is configured to send, by using a remote device management protocol, a firmware download instruction, device range indication information, and firmware delivery and upgrade indication information, to the gateway.
PCT/CN2011/074361 2010-10-21 2011-05-19 Method, apparatus and network system for achieving remote update of zigbee devices WO2011137793A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010526831.4 2010-10-21
CN201010526831.4A CN102136934B (en) 2010-10-21 2010-10-21 Method, device and network system for realizing remote upgrading of Zigbee equipment

Publications (1)

Publication Number Publication Date
WO2011137793A1 true WO2011137793A1 (en) 2011-11-10

Family

ID=44296595

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074361 WO2011137793A1 (en) 2010-10-21 2011-05-19 Method, apparatus and network system for achieving remote update of zigbee devices

Country Status (2)

Country Link
CN (1) CN102136934B (en)
WO (1) WO2011137793A1 (en)

Cited By (162)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system
CN103581227A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Server and upgrade method and system
US9209902B2 (en) 2013-12-10 2015-12-08 At&T Intellectual Property I, L.P. Quasi-optical coupler
US9312919B1 (en) 2014-10-21 2016-04-12 At&T Intellectual Property I, Lp Transmission device with impairment compensation and methods for use therewith
US9461706B1 (en) 2015-07-31 2016-10-04 At&T Intellectual Property I, Lp Method and apparatus for exchanging communication signals
GB2536929A (en) * 2015-03-31 2016-10-05 Quatro Electronics Ltd Wireless broadcasting of configuration data
US9467870B2 (en) 2013-11-06 2016-10-11 At&T Intellectual Property I, L.P. Surface-wave communications and methods thereof
US9490869B1 (en) 2015-05-14 2016-11-08 At&T Intellectual Property I, L.P. Transmission medium having multiple cores and methods for use therewith
US9503189B2 (en) 2014-10-10 2016-11-22 At&T Intellectual Property I, L.P. Method and apparatus for arranging communication sessions in a communication system
US9509415B1 (en) 2015-06-25 2016-11-29 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a fundamental wave mode on a transmission medium
US9520945B2 (en) 2014-10-21 2016-12-13 At&T Intellectual Property I, L.P. Apparatus for providing communication services and methods thereof
US9525210B2 (en) 2014-10-21 2016-12-20 At&T Intellectual Property I, L.P. Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9525524B2 (en) 2013-05-31 2016-12-20 At&T Intellectual Property I, L.P. Remote distributed antenna system
US9531427B2 (en) 2014-11-20 2016-12-27 At&T Intellectual Property I, L.P. Transmission device with mode division multiplexing and methods for use therewith
US9564947B2 (en) 2014-10-21 2017-02-07 At&T Intellectual Property I, L.P. Guided-wave transmission device with diversity and methods for use therewith
US9577307B2 (en) 2014-10-21 2017-02-21 At&T Intellectual Property I, L.P. Guided-wave transmission device and methods for use therewith
US9608692B2 (en) 2015-06-11 2017-03-28 At&T Intellectual Property I, L.P. Repeater and methods for use therewith
US9608740B2 (en) 2015-07-15 2017-03-28 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US9628116B2 (en) 2015-07-14 2017-04-18 At&T Intellectual Property I, L.P. Apparatus and methods for transmitting wireless signals
US9640850B2 (en) 2015-06-25 2017-05-02 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a non-fundamental wave mode on a transmission medium
US9654173B2 (en) 2014-11-20 2017-05-16 At&T Intellectual Property I, L.P. Apparatus for powering a communication device and methods thereof
US9653770B2 (en) 2014-10-21 2017-05-16 At&T Intellectual Property I, L.P. Guided wave coupler, coupling module and methods for use therewith
US9667317B2 (en) 2015-06-15 2017-05-30 At&T Intellectual Property I, L.P. Method and apparatus for providing security using network traffic adjustments
US9680670B2 (en) 2014-11-20 2017-06-13 At&T Intellectual Property I, L.P. Transmission device with channel equalization and control and methods for use therewith
US9685992B2 (en) 2014-10-03 2017-06-20 At&T Intellectual Property I, L.P. Circuit panel network and methods thereof
US9699785B2 (en) 2012-12-05 2017-07-04 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US9722318B2 (en) 2015-07-14 2017-08-01 At&T Intellectual Property I, L.P. Method and apparatus for coupling an antenna to a device
US9729197B2 (en) 2015-10-01 2017-08-08 At&T Intellectual Property I, L.P. Method and apparatus for communicating network management traffic over a network
US9735833B2 (en) 2015-07-31 2017-08-15 At&T Intellectual Property I, L.P. Method and apparatus for communications management in a neighborhood network
US9742462B2 (en) 2014-12-04 2017-08-22 At&T Intellectual Property I, L.P. Transmission medium and communication interfaces and methods for use therewith
US9749053B2 (en) 2015-07-23 2017-08-29 At&T Intellectual Property I, L.P. Node device, repeater and methods for use therewith
US9749013B2 (en) 2015-03-17 2017-08-29 At&T Intellectual Property I, L.P. Method and apparatus for reducing attenuation of electromagnetic waves guided by a transmission medium
US9755697B2 (en) 2014-09-15 2017-09-05 At&T Intellectual Property I, L.P. Method and apparatus for sensing a condition in a transmission medium of electromagnetic waves
US9762289B2 (en) 2014-10-14 2017-09-12 At&T Intellectual Property I, L.P. Method and apparatus for transmitting or receiving signals in a transportation system
US9769020B2 (en) 2014-10-21 2017-09-19 At&T Intellectual Property I, L.P. Method and apparatus for responding to events affecting communications in a communication network
US9769128B2 (en) 2015-09-28 2017-09-19 At&T Intellectual Property I, L.P. Method and apparatus for encryption of communications over a network
US9780834B2 (en) 2014-10-21 2017-10-03 At&T Intellectual Property I, L.P. Method and apparatus for transmitting electromagnetic waves
US9793951B2 (en) 2015-07-15 2017-10-17 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US9793955B2 (en) 2015-04-24 2017-10-17 At&T Intellectual Property I, Lp Passive electrical coupling device and methods for use therewith
US9793954B2 (en) 2015-04-28 2017-10-17 At&T Intellectual Property I, L.P. Magnetic coupling device and methods for use therewith
US9800327B2 (en) 2014-11-20 2017-10-24 At&T Intellectual Property I, L.P. Apparatus for controlling operations of a communication device and methods thereof
US9820146B2 (en) 2015-06-12 2017-11-14 At&T Intellectual Property I, L.P. Method and apparatus for authentication and identity management of communicating devices
US9831912B2 (en) 2015-04-24 2017-11-28 At&T Intellectual Property I, Lp Directional coupling device and methods for use therewith
US9836957B2 (en) 2015-07-14 2017-12-05 At&T Intellectual Property I, L.P. Method and apparatus for communicating with premises equipment
US9838896B1 (en) 2016-12-09 2017-12-05 At&T Intellectual Property I, L.P. Method and apparatus for assessing network coverage
US9847850B2 (en) 2014-10-14 2017-12-19 At&T Intellectual Property I, L.P. Method and apparatus for adjusting a mode of communication in a communication network
US9847566B2 (en) 2015-07-14 2017-12-19 At&T Intellectual Property I, L.P. Method and apparatus for adjusting a field of a signal to mitigate interference
US9853342B2 (en) 2015-07-14 2017-12-26 At&T Intellectual Property I, L.P. Dielectric transmission medium connector and methods for use therewith
US9860075B1 (en) 2016-08-26 2018-01-02 At&T Intellectual Property I, L.P. Method and communication node for broadband distribution
US9866309B2 (en) 2015-06-03 2018-01-09 At&T Intellectual Property I, Lp Host node device and methods for use therewith
US9865911B2 (en) 2015-06-25 2018-01-09 At&T Intellectual Property I, L.P. Waveguide system for slot radiating first electromagnetic waves that are combined into a non-fundamental wave mode second electromagnetic wave on a transmission medium
US9871282B2 (en) 2015-05-14 2018-01-16 At&T Intellectual Property I, L.P. At least one transmission medium having a dielectric surface that is covered at least in part by a second dielectric
US9871283B2 (en) 2015-07-23 2018-01-16 At&T Intellectual Property I, Lp Transmission medium having a dielectric core comprised of plural members connected by a ball and socket configuration
US9876570B2 (en) 2015-02-20 2018-01-23 At&T Intellectual Property I, Lp Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9876605B1 (en) 2016-10-21 2018-01-23 At&T Intellectual Property I, L.P. Launcher and coupling system to support desired guided wave mode
US9876264B2 (en) 2015-10-02 2018-01-23 At&T Intellectual Property I, Lp Communication system, guided wave switch and methods for use therewith
US9882277B2 (en) 2015-10-02 2018-01-30 At&T Intellectual Property I, Lp Communication device and antenna assembly with actuated gimbal mount
US9882257B2 (en) 2015-07-14 2018-01-30 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US9893795B1 (en) 2016-12-07 2018-02-13 At&T Intellectual Property I, Lp Method and repeater for broadband distribution
US9906269B2 (en) 2014-09-17 2018-02-27 At&T Intellectual Property I, L.P. Monitoring and mitigating conditions in a communication network
US9904535B2 (en) 2015-09-14 2018-02-27 At&T Intellectual Property I, L.P. Method and apparatus for distributing software
US9911020B1 (en) 2016-12-08 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for tracking via a radio frequency identification device
US9912382B2 (en) 2015-06-03 2018-03-06 At&T Intellectual Property I, Lp Network termination and methods for use therewith
US9912027B2 (en) 2015-07-23 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for exchanging communication signals
US9913139B2 (en) 2015-06-09 2018-03-06 At&T Intellectual Property I, L.P. Signal fingerprinting for authentication of communicating devices
US9912419B1 (en) 2016-08-24 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for managing a fault in a distributed antenna system
US9917341B2 (en) 2015-05-27 2018-03-13 At&T Intellectual Property I, L.P. Apparatus and method for launching electromagnetic waves and for modifying radial dimensions of the propagating electromagnetic waves
US9927517B1 (en) 2016-12-06 2018-03-27 At&T Intellectual Property I, L.P. Apparatus and methods for sensing rainfall
US9948333B2 (en) 2015-07-23 2018-04-17 At&T Intellectual Property I, L.P. Method and apparatus for wireless communications to mitigate interference
US9954287B2 (en) 2014-11-20 2018-04-24 At&T Intellectual Property I, L.P. Apparatus for converting wireless signals and electromagnetic waves and methods thereof
US9967173B2 (en) 2015-07-31 2018-05-08 At&T Intellectual Property I, L.P. Method and apparatus for authentication and identity management of communicating devices
US9973940B1 (en) 2017-02-27 2018-05-15 At&T Intellectual Property I, L.P. Apparatus and methods for dynamic impedance matching of a guided wave launcher
US9973416B2 (en) 2014-10-02 2018-05-15 At&T Intellectual Property I, L.P. Method and apparatus that provides fault tolerance in a communication network
US9997819B2 (en) 2015-06-09 2018-06-12 At&T Intellectual Property I, L.P. Transmission medium and method for facilitating propagation of electromagnetic waves via a core
US9998870B1 (en) 2016-12-08 2018-06-12 At&T Intellectual Property I, L.P. Method and apparatus for proximity sensing
US9999038B2 (en) 2013-05-31 2018-06-12 At&T Intellectual Property I, L.P. Remote distributed antenna system
US10009063B2 (en) 2015-09-16 2018-06-26 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an out-of-band reference signal
US10009067B2 (en) 2014-12-04 2018-06-26 At&T Intellectual Property I, L.P. Method and apparatus for configuring a communication interface
US10009065B2 (en) 2012-12-05 2018-06-26 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US10009901B2 (en) 2015-09-16 2018-06-26 At&T Intellectual Property I, L.P. Method, apparatus, and computer-readable storage medium for managing utilization of wireless resources between base stations
US10020587B2 (en) 2015-07-31 2018-07-10 At&T Intellectual Property I, L.P. Radial antenna and methods for use therewith
US10020844B2 (en) 2016-12-06 2018-07-10 T&T Intellectual Property I, L.P. Method and apparatus for broadcast communication via guided waves
US10027397B2 (en) 2016-12-07 2018-07-17 At&T Intellectual Property I, L.P. Distributed antenna system and methods for use therewith
US10033108B2 (en) 2015-07-14 2018-07-24 At&T Intellectual Property I, L.P. Apparatus and methods for generating an electromagnetic wave having a wave mode that mitigates interference
US10033107B2 (en) 2015-07-14 2018-07-24 At&T Intellectual Property I, L.P. Method and apparatus for coupling an antenna to a device
US10044409B2 (en) 2015-07-14 2018-08-07 At&T Intellectual Property I, L.P. Transmission medium and methods for use therewith
US10051483B2 (en) 2015-10-16 2018-08-14 At&T Intellectual Property I, L.P. Method and apparatus for directing wireless signals
US10051629B2 (en) 2015-09-16 2018-08-14 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an in-band reference signal
US10069535B2 (en) 2016-12-08 2018-09-04 At&T Intellectual Property I, L.P. Apparatus and methods for launching electromagnetic waves having a certain electric field structure
US10074890B2 (en) 2015-10-02 2018-09-11 At&T Intellectual Property I, L.P. Communication device and antenna with integrated light assembly
US10079661B2 (en) 2015-09-16 2018-09-18 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having a clock reference
US10090594B2 (en) 2016-11-23 2018-10-02 At&T Intellectual Property I, L.P. Antenna system having structural configurations for assembly
US10090606B2 (en) 2015-07-15 2018-10-02 At&T Intellectual Property I, L.P. Antenna system with dielectric array and methods for use therewith
US10096881B2 (en) 2014-08-26 2018-10-09 At&T Intellectual Property I, L.P. Guided wave couplers for coupling electromagnetic waves to an outer surface of a transmission medium
US10103801B2 (en) 2015-06-03 2018-10-16 At&T Intellectual Property I, L.P. Host node device and methods for use therewith
US10103422B2 (en) 2016-12-08 2018-10-16 At&T Intellectual Property I, L.P. Method and apparatus for mounting network devices
US10135147B2 (en) 2016-10-18 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via an antenna
US10135145B2 (en) 2016-12-06 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for generating an electromagnetic wave along a transmission medium
US10136434B2 (en) 2015-09-16 2018-11-20 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an ultra-wideband control channel
US10135146B2 (en) 2016-10-18 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via circuits
US10139820B2 (en) 2016-12-07 2018-11-27 At&T Intellectual Property I, L.P. Method and apparatus for deploying equipment of a communication system
US10142086B2 (en) 2015-06-11 2018-11-27 At&T Intellectual Property I, L.P. Repeater and methods for use therewith
US10144036B2 (en) 2015-01-30 2018-12-04 At&T Intellectual Property I, L.P. Method and apparatus for mitigating interference affecting a propagation of electromagnetic waves guided by a transmission medium
US10148016B2 (en) 2015-07-14 2018-12-04 At&T Intellectual Property I, L.P. Apparatus and methods for communicating utilizing an antenna array
US10154493B2 (en) 2015-06-03 2018-12-11 At&T Intellectual Property I, L.P. Network termination and methods for use therewith
US10170840B2 (en) 2015-07-14 2019-01-01 At&T Intellectual Property I, L.P. Apparatus and methods for sending or receiving electromagnetic signals
US10168695B2 (en) 2016-12-07 2019-01-01 At&T Intellectual Property I, L.P. Method and apparatus for controlling an unmanned aircraft
US10178445B2 (en) 2016-11-23 2019-01-08 At&T Intellectual Property I, L.P. Methods, devices, and systems for load balancing between a plurality of waveguides
US10205655B2 (en) 2015-07-14 2019-02-12 At&T Intellectual Property I, L.P. Apparatus and methods for communicating utilizing an antenna array and multiple communication paths
US10225025B2 (en) 2016-11-03 2019-03-05 At&T Intellectual Property I, L.P. Method and apparatus for detecting a fault in a communication system
US10224634B2 (en) 2016-11-03 2019-03-05 At&T Intellectual Property I, L.P. Methods and apparatus for adjusting an operational characteristic of an antenna
US10243270B2 (en) 2016-12-07 2019-03-26 At&T Intellectual Property I, L.P. Beam adaptive multi-feed dielectric antenna system and methods for use therewith
US10243784B2 (en) 2014-11-20 2019-03-26 At&T Intellectual Property I, L.P. System for generating topology information and methods thereof
US10264586B2 (en) 2016-12-09 2019-04-16 At&T Mobility Ii Llc Cloud-based packet controller and methods for use therewith
US10291311B2 (en) 2016-09-09 2019-05-14 At&T Intellectual Property I, L.P. Method and apparatus for mitigating a fault in a distributed antenna system
US10291334B2 (en) 2016-11-03 2019-05-14 At&T Intellectual Property I, L.P. System for detecting a fault in a communication system
US10298293B2 (en) 2017-03-13 2019-05-21 At&T Intellectual Property I, L.P. Apparatus of communication utilizing wireless network devices
US10305190B2 (en) 2016-12-01 2019-05-28 At&T Intellectual Property I, L.P. Reflecting dielectric antenna system and methods for use therewith
US10312567B2 (en) 2016-10-26 2019-06-04 At&T Intellectual Property I, L.P. Launcher with planar strip antenna and methods for use therewith
US10320586B2 (en) 2015-07-14 2019-06-11 At&T Intellectual Property I, L.P. Apparatus and methods for generating non-interfering electromagnetic waves on an insulated transmission medium
US10326689B2 (en) 2016-12-08 2019-06-18 At&T Intellectual Property I, L.P. Method and system for providing alternative communication paths
US10326494B2 (en) 2016-12-06 2019-06-18 At&T Intellectual Property I, L.P. Apparatus for measurement de-embedding and methods for use therewith
US10340601B2 (en) 2016-11-23 2019-07-02 At&T Intellectual Property I, L.P. Multi-antenna system and methods for use therewith
US10340600B2 (en) 2016-10-18 2019-07-02 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via plural waveguide systems
US10340603B2 (en) 2016-11-23 2019-07-02 At&T Intellectual Property I, L.P. Antenna system having shielded structural configurations for assembly
US10341142B2 (en) 2015-07-14 2019-07-02 At&T Intellectual Property I, L.P. Apparatus and methods for generating non-interfering electromagnetic waves on an uninsulated conductor
US10340983B2 (en) 2016-12-09 2019-07-02 At&T Intellectual Property I, L.P. Method and apparatus for surveying remote sites via guided wave communications
US10348391B2 (en) 2015-06-03 2019-07-09 At&T Intellectual Property I, L.P. Client node device with frequency conversion and methods for use therewith
US10355367B2 (en) 2015-10-16 2019-07-16 At&T Intellectual Property I, L.P. Antenna structure for exchanging wireless signals
US10361489B2 (en) 2016-12-01 2019-07-23 At&T Intellectual Property I, L.P. Dielectric dish antenna system and methods for use therewith
US10359749B2 (en) 2016-12-07 2019-07-23 At&T Intellectual Property I, L.P. Method and apparatus for utilities management via guided wave communication
US10374316B2 (en) 2016-10-21 2019-08-06 At&T Intellectual Property I, L.P. System and dielectric antenna with non-uniform dielectric
US10382976B2 (en) 2016-12-06 2019-08-13 At&T Intellectual Property I, L.P. Method and apparatus for managing wireless communications based on communication paths and network device positions
US10389029B2 (en) 2016-12-07 2019-08-20 At&T Intellectual Property I, L.P. Multi-feed dielectric antenna system with core selection and methods for use therewith
US10389037B2 (en) 2016-12-08 2019-08-20 At&T Intellectual Property I, L.P. Apparatus and methods for selecting sections of an antenna array and use therewith
US10396887B2 (en) 2015-06-03 2019-08-27 At&T Intellectual Property I, L.P. Client node device and methods for use therewith
US10411356B2 (en) 2016-12-08 2019-09-10 At&T Intellectual Property I, L.P. Apparatus and methods for selectively targeting communication devices with an antenna array
US10439675B2 (en) 2016-12-06 2019-10-08 At&T Intellectual Property I, L.P. Method and apparatus for repeating guided wave communication signals
US10437581B1 (en) 2018-04-20 2019-10-08 At&T Mobility Ii Llc Internet of things platform for handling firmware transfer on machine-to-machine devices
US10446936B2 (en) 2016-12-07 2019-10-15 At&T Intellectual Property I, L.P. Multi-feed dielectric antenna system and methods for use therewith
US10498044B2 (en) 2016-11-03 2019-12-03 At&T Intellectual Property I, L.P. Apparatus for configuring a surface of an antenna
US10530505B2 (en) 2016-12-08 2020-01-07 At&T Intellectual Property I, L.P. Apparatus and methods for launching electromagnetic waves along a transmission medium
US10535928B2 (en) 2016-11-23 2020-01-14 At&T Intellectual Property I, L.P. Antenna system and methods for use therewith
US10547348B2 (en) 2016-12-07 2020-01-28 At&T Intellectual Property I, L.P. Method and apparatus for switching transmission mediums in a communication system
US10601494B2 (en) 2016-12-08 2020-03-24 At&T Intellectual Property I, L.P. Dual-band communication device and method for use therewith
US10637149B2 (en) 2016-12-06 2020-04-28 At&T Intellectual Property I, L.P. Injection molded dielectric antenna and methods for use therewith
US10650940B2 (en) 2015-05-15 2020-05-12 At&T Intellectual Property I, L.P. Transmission medium having a conductive material and methods for use therewith
US10665942B2 (en) 2015-10-16 2020-05-26 At&T Intellectual Property I, L.P. Method and apparatus for adjusting wireless communications
US10679767B2 (en) 2015-05-15 2020-06-09 At&T Intellectual Property I, L.P. Transmission medium having a conductive material and methods for use therewith
US10694379B2 (en) 2016-12-06 2020-06-23 At&T Intellectual Property I, L.P. Waveguide system with device-based authentication and methods for use therewith
US10727599B2 (en) 2016-12-06 2020-07-28 At&T Intellectual Property I, L.P. Launcher with slot antenna and methods for use therewith
US10755542B2 (en) 2016-12-06 2020-08-25 At&T Intellectual Property I, L.P. Method and apparatus for surveillance via guided wave communication
US10777873B2 (en) 2016-12-08 2020-09-15 At&T Intellectual Property I, L.P. Method and apparatus for mounting network devices
US10784670B2 (en) 2015-07-23 2020-09-22 At&T Intellectual Property I, L.P. Antenna support for aligning an antenna
US10811767B2 (en) 2016-10-21 2020-10-20 At&T Intellectual Property I, L.P. System and dielectric antenna with convex dielectric radome
US10819035B2 (en) 2016-12-06 2020-10-27 At&T Intellectual Property I, L.P. Launcher with helical antenna and methods for use therewith
US10916969B2 (en) 2016-12-08 2021-02-09 At&T Intellectual Property I, L.P. Method and apparatus for providing power using an inductive coupling
US10938108B2 (en) 2016-12-08 2021-03-02 At&T Intellectual Property I, L.P. Frequency selective multi-feed dielectric antenna system and methods for use therewith
CN112445504A (en) * 2019-08-29 2021-03-05 云丁网络技术(北京)有限公司 Equipment firmware upgrading method, device and system
CN112491956A (en) * 2020-10-27 2021-03-12 深圳市广和通无线股份有限公司 Method and device for upgrading communication module in Internet of things equipment and computer equipment
US11032819B2 (en) 2016-09-15 2021-06-08 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having a control channel reference signal
CN114520767A (en) * 2022-01-25 2022-05-20 沈阳中科奥维科技股份有限公司 WIA-PA network-based whole-network terminal upgrading system and method

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238603A (en) * 2011-08-12 2011-11-09 苏州鼎汗传感网技术有限公司 Wireless sensor network updating method
CN103118046B (en) * 2011-11-17 2016-03-30 中国移动通信集团公司 Transducer is to the method and system of code
CN102970342A (en) * 2012-11-01 2013-03-13 山东大学 Automatic update method of embedded terminal based on over the air (OTA) technology
CN102984693A (en) * 2012-11-23 2013-03-20 深圳市元征科技股份有限公司 Mobile terminal close-range grouping reading and writing system and method based on zigbee technology
CN104113939A (en) * 2013-04-17 2014-10-22 中兴通讯股份有限公司 Method and device for processing operation on terminal peripheral
CN103425508A (en) * 2013-05-27 2013-12-04 林永宗 Zigbee firmware compressing and updating method
CN104244243B (en) 2013-06-24 2019-08-23 中兴通讯股份有限公司 Terminal peripheral hardware control method, Machine To Machine gateway and communication system
GB2586549B (en) * 2013-09-13 2021-05-26 Vodafone Ip Licensing Ltd Communicating with a machine to machine device
CN105101040A (en) * 2014-05-05 2015-11-25 中兴通讯股份有限公司 Resource creating method and device
CN105100021B (en) * 2014-05-20 2021-03-16 西安中兴新软件有限责任公司 Triggering method, device and system for device management session
CN105354043A (en) * 2014-08-20 2016-02-24 中兴通讯股份有限公司 Terminal upgrading method and apparatus
CN106161047A (en) * 2015-03-24 2016-11-23 研华股份有限公司 Many plant networks management method and system
CN104734893B (en) * 2015-04-02 2018-02-27 重庆邮电大学 A kind of TR069 protocol managerial approach towards WIA PA networks
CN104980956B (en) * 2015-06-29 2019-02-22 迈锐数据(北京)有限公司 The method of remote batch update node firmware
CN106533725A (en) * 2015-09-14 2017-03-22 武汉百络优物联科技有限公司 Liquid crystal panel menu updating method based on ZIGBEE communication technology
CN105306544B (en) * 2015-09-28 2019-12-17 成都世纪光合作用科技有限公司 Remote updating method
CN105357255A (en) * 2015-09-28 2016-02-24 成都世纪光合作用科技有限公司 Remote update method and system
CN106982445A (en) * 2016-01-19 2017-07-25 西安中兴新软件有限责任公司 A kind of transmission method, equipment and the system of abnormal information of upgrading
CN105843645B (en) * 2016-03-24 2020-01-14 浙江风向标科技有限公司 Firmware upgrading method and device for zigbee equipment
CN105847067A (en) 2016-05-25 2016-08-10 北京小米移动软件有限公司 Method and device for upgrading Zigbee equipment
CN106068021A (en) * 2016-08-02 2016-11-02 杭州迪普科技有限公司 A kind of method and device of the AP that upgrades
CN106452848A (en) * 2016-09-22 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for remotely upgrading thin access point
CN106647517A (en) * 2016-12-29 2017-05-10 金卡高科技股份有限公司 Internet of Things metering instrument remote firmware upgrading method and metering instrument system
CN106953902B (en) * 2017-03-10 2020-01-21 深圳市金正方科技股份有限公司 Method and device for upgrading firmware of electric energy meter
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN107172188A (en) * 2017-06-13 2017-09-15 郑州天迈科技股份有限公司 P2P update methods between mobile unit
CN107896158A (en) * 2017-10-13 2018-04-10 广东乐心医疗电子股份有限公司 Method for upgrading firmware of wireless Internet of things equipment and Internet of things
CN107589956B (en) * 2017-10-24 2023-08-22 杨鲲 Distributed priority mirror page OTA firmware upgrading method and system
CN108259231A (en) * 2017-12-27 2018-07-06 生迪智慧科技有限公司 Method for upgrading software, gateway, server and the system of smart machine
CN108810853A (en) * 2018-08-25 2018-11-13 咪付(广州)网络科技有限公司 A kind of system and method based on the upgrading of 4G network wireless sensor automatic remotes
CN109189445B (en) * 2018-10-12 2022-03-15 武汉微智创大科技有限公司 Method for upgrading program of equipment of Internet of things
CN116709284A (en) * 2019-03-06 2023-09-05 乐鑫信息科技(上海)股份有限公司 Method for upgrading OTA firmware of node in Bluetooth Mesh network
WO2021095004A1 (en) 2019-11-14 2021-05-20 ResMed Pty Ltd Remote respiratory therapy device management
CN111628884A (en) * 2020-03-31 2020-09-04 新华三技术有限公司 Terminal upgrading method, gateway and intelligent terminal equipment
CN115335803A (en) * 2020-05-08 2022-11-11 Oppo广东移动通信有限公司 Equipment upgrading method, intelligent equipment and computer readable storage medium
CN112214353A (en) * 2020-10-16 2021-01-12 深圳市广和通无线股份有限公司 Firmware recovery method and device, computer equipment and storage medium
CN114286366B (en) * 2021-12-23 2023-07-14 深圳创维数字技术有限公司 Wireless grid network upgrading method and device, master node and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584822A (en) * 2003-08-19 2005-02-23 联想(北京)有限公司 Method for upgrated computer fixing ware programm
CN1863095A (en) * 2005-03-21 2006-11-15 奔峰电子(北京)有限公司 Electric device and management system
KR20070038810A (en) * 2005-10-07 2007-04-11 주식회사 대우일렉트로닉스 Firmware upgrade method
WO2009120027A2 (en) * 2008-03-28 2009-10-01 Samsung Electronics Co., Ltd. Method and apparatus for software update of terminals in a mobile communication system
CN101854623A (en) * 2010-06-11 2010-10-06 中兴通讯股份有限公司 System and method for remote upgrade of M2M terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316190A (en) * 2008-07-18 2008-12-03 中兴通讯股份有限公司 Equipment software upgrading method for reducing number of service interruption

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584822A (en) * 2003-08-19 2005-02-23 联想(北京)有限公司 Method for upgrated computer fixing ware programm
CN1863095A (en) * 2005-03-21 2006-11-15 奔峰电子(北京)有限公司 Electric device and management system
KR20070038810A (en) * 2005-10-07 2007-04-11 주식회사 대우일렉트로닉스 Firmware upgrade method
WO2009120027A2 (en) * 2008-03-28 2009-10-01 Samsung Electronics Co., Ltd. Method and apparatus for software update of terminals in a mobile communication system
CN101854623A (en) * 2010-06-11 2010-10-06 中兴通讯股份有限公司 System and method for remote upgrade of M2M terminal

Cited By (217)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581227A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Server and upgrade method and system
CN103532922A (en) * 2012-09-29 2014-01-22 深圳市友讯达科技发展有限公司 Software version upgrade method, device and system
US9699785B2 (en) 2012-12-05 2017-07-04 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US10194437B2 (en) 2012-12-05 2019-01-29 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US9788326B2 (en) 2012-12-05 2017-10-10 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US10009065B2 (en) 2012-12-05 2018-06-26 At&T Intellectual Property I, L.P. Backhaul link for distributed antenna system
US9999038B2 (en) 2013-05-31 2018-06-12 At&T Intellectual Property I, L.P. Remote distributed antenna system
US9525524B2 (en) 2013-05-31 2016-12-20 At&T Intellectual Property I, L.P. Remote distributed antenna system
US10091787B2 (en) 2013-05-31 2018-10-02 At&T Intellectual Property I, L.P. Remote distributed antenna system
US10051630B2 (en) 2013-05-31 2018-08-14 At&T Intellectual Property I, L.P. Remote distributed antenna system
US9930668B2 (en) 2013-05-31 2018-03-27 At&T Intellectual Property I, L.P. Remote distributed antenna system
US9467870B2 (en) 2013-11-06 2016-10-11 At&T Intellectual Property I, L.P. Surface-wave communications and methods thereof
US9661505B2 (en) 2013-11-06 2017-05-23 At&T Intellectual Property I, L.P. Surface-wave communications and methods thereof
US9674711B2 (en) 2013-11-06 2017-06-06 At&T Intellectual Property I, L.P. Surface-wave communications and methods thereof
US9876584B2 (en) 2013-12-10 2018-01-23 At&T Intellectual Property I, L.P. Quasi-optical coupler
US9209902B2 (en) 2013-12-10 2015-12-08 At&T Intellectual Property I, L.P. Quasi-optical coupler
US9479266B2 (en) 2013-12-10 2016-10-25 At&T Intellectual Property I, L.P. Quasi-optical coupler
US9794003B2 (en) 2013-12-10 2017-10-17 At&T Intellectual Property I, L.P. Quasi-optical coupler
US10096881B2 (en) 2014-08-26 2018-10-09 At&T Intellectual Property I, L.P. Guided wave couplers for coupling electromagnetic waves to an outer surface of a transmission medium
US9755697B2 (en) 2014-09-15 2017-09-05 At&T Intellectual Property I, L.P. Method and apparatus for sensing a condition in a transmission medium of electromagnetic waves
US9768833B2 (en) 2014-09-15 2017-09-19 At&T Intellectual Property I, L.P. Method and apparatus for sensing a condition in a transmission medium of electromagnetic waves
US10063280B2 (en) 2014-09-17 2018-08-28 At&T Intellectual Property I, L.P. Monitoring and mitigating conditions in a communication network
US9906269B2 (en) 2014-09-17 2018-02-27 At&T Intellectual Property I, L.P. Monitoring and mitigating conditions in a communication network
US9998932B2 (en) 2014-10-02 2018-06-12 At&T Intellectual Property I, L.P. Method and apparatus that provides fault tolerance in a communication network
US9973416B2 (en) 2014-10-02 2018-05-15 At&T Intellectual Property I, L.P. Method and apparatus that provides fault tolerance in a communication network
US9685992B2 (en) 2014-10-03 2017-06-20 At&T Intellectual Property I, L.P. Circuit panel network and methods thereof
US9866276B2 (en) 2014-10-10 2018-01-09 At&T Intellectual Property I, L.P. Method and apparatus for arranging communication sessions in a communication system
US9503189B2 (en) 2014-10-10 2016-11-22 At&T Intellectual Property I, L.P. Method and apparatus for arranging communication sessions in a communication system
US9762289B2 (en) 2014-10-14 2017-09-12 At&T Intellectual Property I, L.P. Method and apparatus for transmitting or receiving signals in a transportation system
US9847850B2 (en) 2014-10-14 2017-12-19 At&T Intellectual Property I, L.P. Method and apparatus for adjusting a mode of communication in a communication network
US9973299B2 (en) 2014-10-14 2018-05-15 At&T Intellectual Property I, L.P. Method and apparatus for adjusting a mode of communication in a communication network
US9912033B2 (en) 2014-10-21 2018-03-06 At&T Intellectual Property I, Lp Guided wave coupler, coupling module and methods for use therewith
US9871558B2 (en) 2014-10-21 2018-01-16 At&T Intellectual Property I, L.P. Guided-wave transmission device and methods for use therewith
US9312919B1 (en) 2014-10-21 2016-04-12 At&T Intellectual Property I, Lp Transmission device with impairment compensation and methods for use therewith
US9705610B2 (en) 2014-10-21 2017-07-11 At&T Intellectual Property I, L.P. Transmission device with impairment compensation and methods for use therewith
US9769020B2 (en) 2014-10-21 2017-09-19 At&T Intellectual Property I, L.P. Method and apparatus for responding to events affecting communications in a communication network
US9948355B2 (en) 2014-10-21 2018-04-17 At&T Intellectual Property I, L.P. Apparatus for providing communication services and methods thereof
US9876587B2 (en) 2014-10-21 2018-01-23 At&T Intellectual Property I, L.P. Transmission device with impairment compensation and methods for use therewith
US9525210B2 (en) 2014-10-21 2016-12-20 At&T Intellectual Property I, L.P. Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9571209B2 (en) 2014-10-21 2017-02-14 At&T Intellectual Property I, L.P. Transmission device with impairment compensation and methods for use therewith
US9520945B2 (en) 2014-10-21 2016-12-13 At&T Intellectual Property I, L.P. Apparatus for providing communication services and methods thereof
US9577307B2 (en) 2014-10-21 2017-02-21 At&T Intellectual Property I, L.P. Guided-wave transmission device and methods for use therewith
US9954286B2 (en) 2014-10-21 2018-04-24 At&T Intellectual Property I, L.P. Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9577306B2 (en) 2014-10-21 2017-02-21 At&T Intellectual Property I, L.P. Guided-wave transmission device and methods for use therewith
US9960808B2 (en) 2014-10-21 2018-05-01 At&T Intellectual Property I, L.P. Guided-wave transmission device and methods for use therewith
US9596001B2 (en) 2014-10-21 2017-03-14 At&T Intellectual Property I, L.P. Apparatus for providing communication services and methods thereof
US9564947B2 (en) 2014-10-21 2017-02-07 At&T Intellectual Property I, L.P. Guided-wave transmission device with diversity and methods for use therewith
US9627768B2 (en) 2014-10-21 2017-04-18 At&T Intellectual Property I, L.P. Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9653770B2 (en) 2014-10-21 2017-05-16 At&T Intellectual Property I, L.P. Guided wave coupler, coupling module and methods for use therewith
US9780834B2 (en) 2014-10-21 2017-10-03 At&T Intellectual Property I, L.P. Method and apparatus for transmitting electromagnetic waves
US9742521B2 (en) 2014-11-20 2017-08-22 At&T Intellectual Property I, L.P. Transmission device with mode division multiplexing and methods for use therewith
US9749083B2 (en) 2014-11-20 2017-08-29 At&T Intellectual Property I, L.P. Transmission device with mode division multiplexing and methods for use therewith
US9654173B2 (en) 2014-11-20 2017-05-16 At&T Intellectual Property I, L.P. Apparatus for powering a communication device and methods thereof
US10243784B2 (en) 2014-11-20 2019-03-26 At&T Intellectual Property I, L.P. System for generating topology information and methods thereof
US9800327B2 (en) 2014-11-20 2017-10-24 At&T Intellectual Property I, L.P. Apparatus for controlling operations of a communication device and methods thereof
US9531427B2 (en) 2014-11-20 2016-12-27 At&T Intellectual Property I, L.P. Transmission device with mode division multiplexing and methods for use therewith
US9954287B2 (en) 2014-11-20 2018-04-24 At&T Intellectual Property I, L.P. Apparatus for converting wireless signals and electromagnetic waves and methods thereof
US9712350B2 (en) 2014-11-20 2017-07-18 At&T Intellectual Property I, L.P. Transmission device with channel equalization and control and methods for use therewith
US9544006B2 (en) 2014-11-20 2017-01-10 At&T Intellectual Property I, L.P. Transmission device with mode division multiplexing and methods for use therewith
US9680670B2 (en) 2014-11-20 2017-06-13 At&T Intellectual Property I, L.P. Transmission device with channel equalization and control and methods for use therewith
US10009067B2 (en) 2014-12-04 2018-06-26 At&T Intellectual Property I, L.P. Method and apparatus for configuring a communication interface
US9742462B2 (en) 2014-12-04 2017-08-22 At&T Intellectual Property I, L.P. Transmission medium and communication interfaces and methods for use therewith
US10144036B2 (en) 2015-01-30 2018-12-04 At&T Intellectual Property I, L.P. Method and apparatus for mitigating interference affecting a propagation of electromagnetic waves guided by a transmission medium
US9876570B2 (en) 2015-02-20 2018-01-23 At&T Intellectual Property I, Lp Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9876571B2 (en) 2015-02-20 2018-01-23 At&T Intellectual Property I, Lp Guided-wave transmission device with non-fundamental mode propagation and methods for use therewith
US9749013B2 (en) 2015-03-17 2017-08-29 At&T Intellectual Property I, L.P. Method and apparatus for reducing attenuation of electromagnetic waves guided by a transmission medium
GB2536929A (en) * 2015-03-31 2016-10-05 Quatro Electronics Ltd Wireless broadcasting of configuration data
US9793955B2 (en) 2015-04-24 2017-10-17 At&T Intellectual Property I, Lp Passive electrical coupling device and methods for use therewith
US10224981B2 (en) 2015-04-24 2019-03-05 At&T Intellectual Property I, Lp Passive electrical coupling device and methods for use therewith
US9831912B2 (en) 2015-04-24 2017-11-28 At&T Intellectual Property I, Lp Directional coupling device and methods for use therewith
US9793954B2 (en) 2015-04-28 2017-10-17 At&T Intellectual Property I, L.P. Magnetic coupling device and methods for use therewith
US9871282B2 (en) 2015-05-14 2018-01-16 At&T Intellectual Property I, L.P. At least one transmission medium having a dielectric surface that is covered at least in part by a second dielectric
US9887447B2 (en) 2015-05-14 2018-02-06 At&T Intellectual Property I, L.P. Transmission medium having multiple cores and methods for use therewith
US9490869B1 (en) 2015-05-14 2016-11-08 At&T Intellectual Property I, L.P. Transmission medium having multiple cores and methods for use therewith
US10679767B2 (en) 2015-05-15 2020-06-09 At&T Intellectual Property I, L.P. Transmission medium having a conductive material and methods for use therewith
US10650940B2 (en) 2015-05-15 2020-05-12 At&T Intellectual Property I, L.P. Transmission medium having a conductive material and methods for use therewith
US9917341B2 (en) 2015-05-27 2018-03-13 At&T Intellectual Property I, L.P. Apparatus and method for launching electromagnetic waves and for modifying radial dimensions of the propagating electromagnetic waves
US10154493B2 (en) 2015-06-03 2018-12-11 At&T Intellectual Property I, L.P. Network termination and methods for use therewith
US10797781B2 (en) 2015-06-03 2020-10-06 At&T Intellectual Property I, L.P. Client node device and methods for use therewith
US9866309B2 (en) 2015-06-03 2018-01-09 At&T Intellectual Property I, Lp Host node device and methods for use therewith
US10396887B2 (en) 2015-06-03 2019-08-27 At&T Intellectual Property I, L.P. Client node device and methods for use therewith
US10050697B2 (en) 2015-06-03 2018-08-14 At&T Intellectual Property I, L.P. Host node device and methods for use therewith
US10103801B2 (en) 2015-06-03 2018-10-16 At&T Intellectual Property I, L.P. Host node device and methods for use therewith
US9935703B2 (en) 2015-06-03 2018-04-03 At&T Intellectual Property I, L.P. Host node device and methods for use therewith
US10812174B2 (en) 2015-06-03 2020-10-20 At&T Intellectual Property I, L.P. Client node device and methods for use therewith
US10348391B2 (en) 2015-06-03 2019-07-09 At&T Intellectual Property I, L.P. Client node device with frequency conversion and methods for use therewith
US9967002B2 (en) 2015-06-03 2018-05-08 At&T Intellectual I, Lp Network termination and methods for use therewith
US9912382B2 (en) 2015-06-03 2018-03-06 At&T Intellectual Property I, Lp Network termination and methods for use therewith
US9912381B2 (en) 2015-06-03 2018-03-06 At&T Intellectual Property I, Lp Network termination and methods for use therewith
US9997819B2 (en) 2015-06-09 2018-06-12 At&T Intellectual Property I, L.P. Transmission medium and method for facilitating propagation of electromagnetic waves via a core
US9913139B2 (en) 2015-06-09 2018-03-06 At&T Intellectual Property I, L.P. Signal fingerprinting for authentication of communicating devices
US10142010B2 (en) 2015-06-11 2018-11-27 At&T Intellectual Property I, L.P. Repeater and methods for use therewith
US10142086B2 (en) 2015-06-11 2018-11-27 At&T Intellectual Property I, L.P. Repeater and methods for use therewith
US9608692B2 (en) 2015-06-11 2017-03-28 At&T Intellectual Property I, L.P. Repeater and methods for use therewith
US10027398B2 (en) 2015-06-11 2018-07-17 At&T Intellectual Property I, Lp Repeater and methods for use therewith
US9820146B2 (en) 2015-06-12 2017-11-14 At&T Intellectual Property I, L.P. Method and apparatus for authentication and identity management of communicating devices
US9667317B2 (en) 2015-06-15 2017-05-30 At&T Intellectual Property I, L.P. Method and apparatus for providing security using network traffic adjustments
US9509415B1 (en) 2015-06-25 2016-11-29 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a fundamental wave mode on a transmission medium
US9882657B2 (en) 2015-06-25 2018-01-30 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a fundamental wave mode on a transmission medium
US9787412B2 (en) 2015-06-25 2017-10-10 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a fundamental wave mode on a transmission medium
US10090601B2 (en) 2015-06-25 2018-10-02 At&T Intellectual Property I, L.P. Waveguide system and methods for inducing a non-fundamental wave mode on a transmission medium
US10069185B2 (en) 2015-06-25 2018-09-04 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a non-fundamental wave mode on a transmission medium
US9865911B2 (en) 2015-06-25 2018-01-09 At&T Intellectual Property I, L.P. Waveguide system for slot radiating first electromagnetic waves that are combined into a non-fundamental wave mode second electromagnetic wave on a transmission medium
US9640850B2 (en) 2015-06-25 2017-05-02 At&T Intellectual Property I, L.P. Methods and apparatus for inducing a non-fundamental wave mode on a transmission medium
US10341142B2 (en) 2015-07-14 2019-07-02 At&T Intellectual Property I, L.P. Apparatus and methods for generating non-interfering electromagnetic waves on an uninsulated conductor
US9853342B2 (en) 2015-07-14 2017-12-26 At&T Intellectual Property I, L.P. Dielectric transmission medium connector and methods for use therewith
US10044409B2 (en) 2015-07-14 2018-08-07 At&T Intellectual Property I, L.P. Transmission medium and methods for use therewith
US10033108B2 (en) 2015-07-14 2018-07-24 At&T Intellectual Property I, L.P. Apparatus and methods for generating an electromagnetic wave having a wave mode that mitigates interference
US9628116B2 (en) 2015-07-14 2017-04-18 At&T Intellectual Property I, L.P. Apparatus and methods for transmitting wireless signals
US9722318B2 (en) 2015-07-14 2017-08-01 At&T Intellectual Property I, L.P. Method and apparatus for coupling an antenna to a device
US10205655B2 (en) 2015-07-14 2019-02-12 At&T Intellectual Property I, L.P. Apparatus and methods for communicating utilizing an antenna array and multiple communication paths
US10320586B2 (en) 2015-07-14 2019-06-11 At&T Intellectual Property I, L.P. Apparatus and methods for generating non-interfering electromagnetic waves on an insulated transmission medium
US9847566B2 (en) 2015-07-14 2017-12-19 At&T Intellectual Property I, L.P. Method and apparatus for adjusting a field of a signal to mitigate interference
US10170840B2 (en) 2015-07-14 2019-01-01 At&T Intellectual Property I, L.P. Apparatus and methods for sending or receiving electromagnetic signals
US10148016B2 (en) 2015-07-14 2018-12-04 At&T Intellectual Property I, L.P. Apparatus and methods for communicating utilizing an antenna array
US10033107B2 (en) 2015-07-14 2018-07-24 At&T Intellectual Property I, L.P. Method and apparatus for coupling an antenna to a device
US9882257B2 (en) 2015-07-14 2018-01-30 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US9836957B2 (en) 2015-07-14 2017-12-05 At&T Intellectual Property I, L.P. Method and apparatus for communicating with premises equipment
US9947982B2 (en) 2015-07-14 2018-04-17 At&T Intellectual Property I, Lp Dielectric transmission medium connector and methods for use therewith
US9929755B2 (en) 2015-07-14 2018-03-27 At&T Intellectual Property I, L.P. Method and apparatus for coupling an antenna to a device
US10090606B2 (en) 2015-07-15 2018-10-02 At&T Intellectual Property I, L.P. Antenna system with dielectric array and methods for use therewith
US9793951B2 (en) 2015-07-15 2017-10-17 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US9608740B2 (en) 2015-07-15 2017-03-28 At&T Intellectual Property I, L.P. Method and apparatus for launching a wave mode that mitigates interference
US10074886B2 (en) 2015-07-23 2018-09-11 At&T Intellectual Property I, L.P. Dielectric transmission medium comprising a plurality of rigid dielectric members coupled together in a ball and socket configuration
US9749053B2 (en) 2015-07-23 2017-08-29 At&T Intellectual Property I, L.P. Node device, repeater and methods for use therewith
US9871283B2 (en) 2015-07-23 2018-01-16 At&T Intellectual Property I, Lp Transmission medium having a dielectric core comprised of plural members connected by a ball and socket configuration
US9948333B2 (en) 2015-07-23 2018-04-17 At&T Intellectual Property I, L.P. Method and apparatus for wireless communications to mitigate interference
US10784670B2 (en) 2015-07-23 2020-09-22 At&T Intellectual Property I, L.P. Antenna support for aligning an antenna
US9806818B2 (en) 2015-07-23 2017-10-31 At&T Intellectual Property I, Lp Node device, repeater and methods for use therewith
US9912027B2 (en) 2015-07-23 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for exchanging communication signals
US9735833B2 (en) 2015-07-31 2017-08-15 At&T Intellectual Property I, L.P. Method and apparatus for communications management in a neighborhood network
US9967173B2 (en) 2015-07-31 2018-05-08 At&T Intellectual Property I, L.P. Method and apparatus for authentication and identity management of communicating devices
US9838078B2 (en) 2015-07-31 2017-12-05 At&T Intellectual Property I, L.P. Method and apparatus for exchanging communication signals
US9461706B1 (en) 2015-07-31 2016-10-04 At&T Intellectual Property I, Lp Method and apparatus for exchanging communication signals
US10020587B2 (en) 2015-07-31 2018-07-10 At&T Intellectual Property I, L.P. Radial antenna and methods for use therewith
US9904535B2 (en) 2015-09-14 2018-02-27 At&T Intellectual Property I, L.P. Method and apparatus for distributing software
US10558452B2 (en) 2015-09-14 2020-02-11 At&T Intellectual Property I, L.P. Method and apparatus for distributing software
US10127033B2 (en) 2015-09-14 2018-11-13 At&T Intellectual Property I, L.P. Method and apparatus for distributing software
US10009901B2 (en) 2015-09-16 2018-06-26 At&T Intellectual Property I, L.P. Method, apparatus, and computer-readable storage medium for managing utilization of wireless resources between base stations
US10009063B2 (en) 2015-09-16 2018-06-26 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an out-of-band reference signal
US10225842B2 (en) 2015-09-16 2019-03-05 At&T Intellectual Property I, L.P. Method, device and storage medium for communications using a modulated signal and a reference signal
US10051629B2 (en) 2015-09-16 2018-08-14 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an in-band reference signal
US10349418B2 (en) 2015-09-16 2019-07-09 At&T Intellectual Property I, L.P. Method and apparatus for managing utilization of wireless resources via use of a reference signal to reduce distortion
US10079661B2 (en) 2015-09-16 2018-09-18 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having a clock reference
US10136434B2 (en) 2015-09-16 2018-11-20 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having an ultra-wideband control channel
US9769128B2 (en) 2015-09-28 2017-09-19 At&T Intellectual Property I, L.P. Method and apparatus for encryption of communications over a network
US9729197B2 (en) 2015-10-01 2017-08-08 At&T Intellectual Property I, L.P. Method and apparatus for communicating network management traffic over a network
US9882277B2 (en) 2015-10-02 2018-01-30 At&T Intellectual Property I, Lp Communication device and antenna assembly with actuated gimbal mount
US9876264B2 (en) 2015-10-02 2018-01-23 At&T Intellectual Property I, Lp Communication system, guided wave switch and methods for use therewith
US10074890B2 (en) 2015-10-02 2018-09-11 At&T Intellectual Property I, L.P. Communication device and antenna with integrated light assembly
US10665942B2 (en) 2015-10-16 2020-05-26 At&T Intellectual Property I, L.P. Method and apparatus for adjusting wireless communications
US10051483B2 (en) 2015-10-16 2018-08-14 At&T Intellectual Property I, L.P. Method and apparatus for directing wireless signals
US10355367B2 (en) 2015-10-16 2019-07-16 At&T Intellectual Property I, L.P. Antenna structure for exchanging wireless signals
US9912419B1 (en) 2016-08-24 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for managing a fault in a distributed antenna system
US9860075B1 (en) 2016-08-26 2018-01-02 At&T Intellectual Property I, L.P. Method and communication node for broadband distribution
US10291311B2 (en) 2016-09-09 2019-05-14 At&T Intellectual Property I, L.P. Method and apparatus for mitigating a fault in a distributed antenna system
US11032819B2 (en) 2016-09-15 2021-06-08 At&T Intellectual Property I, L.P. Method and apparatus for use with a radio distributed antenna system having a control channel reference signal
US10135146B2 (en) 2016-10-18 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via circuits
US10340600B2 (en) 2016-10-18 2019-07-02 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via plural waveguide systems
US10135147B2 (en) 2016-10-18 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for launching guided waves via an antenna
US10811767B2 (en) 2016-10-21 2020-10-20 At&T Intellectual Property I, L.P. System and dielectric antenna with convex dielectric radome
US9876605B1 (en) 2016-10-21 2018-01-23 At&T Intellectual Property I, L.P. Launcher and coupling system to support desired guided wave mode
US10374316B2 (en) 2016-10-21 2019-08-06 At&T Intellectual Property I, L.P. System and dielectric antenna with non-uniform dielectric
US10312567B2 (en) 2016-10-26 2019-06-04 At&T Intellectual Property I, L.P. Launcher with planar strip antenna and methods for use therewith
US10225025B2 (en) 2016-11-03 2019-03-05 At&T Intellectual Property I, L.P. Method and apparatus for detecting a fault in a communication system
US10224634B2 (en) 2016-11-03 2019-03-05 At&T Intellectual Property I, L.P. Methods and apparatus for adjusting an operational characteristic of an antenna
US10291334B2 (en) 2016-11-03 2019-05-14 At&T Intellectual Property I, L.P. System for detecting a fault in a communication system
US10498044B2 (en) 2016-11-03 2019-12-03 At&T Intellectual Property I, L.P. Apparatus for configuring a surface of an antenna
US10340601B2 (en) 2016-11-23 2019-07-02 At&T Intellectual Property I, L.P. Multi-antenna system and methods for use therewith
US10178445B2 (en) 2016-11-23 2019-01-08 At&T Intellectual Property I, L.P. Methods, devices, and systems for load balancing between a plurality of waveguides
US10090594B2 (en) 2016-11-23 2018-10-02 At&T Intellectual Property I, L.P. Antenna system having structural configurations for assembly
US10535928B2 (en) 2016-11-23 2020-01-14 At&T Intellectual Property I, L.P. Antenna system and methods for use therewith
US10340603B2 (en) 2016-11-23 2019-07-02 At&T Intellectual Property I, L.P. Antenna system having shielded structural configurations for assembly
US10305190B2 (en) 2016-12-01 2019-05-28 At&T Intellectual Property I, L.P. Reflecting dielectric antenna system and methods for use therewith
US10361489B2 (en) 2016-12-01 2019-07-23 At&T Intellectual Property I, L.P. Dielectric dish antenna system and methods for use therewith
US9927517B1 (en) 2016-12-06 2018-03-27 At&T Intellectual Property I, L.P. Apparatus and methods for sensing rainfall
US10439675B2 (en) 2016-12-06 2019-10-08 At&T Intellectual Property I, L.P. Method and apparatus for repeating guided wave communication signals
US10637149B2 (en) 2016-12-06 2020-04-28 At&T Intellectual Property I, L.P. Injection molded dielectric antenna and methods for use therewith
US10819035B2 (en) 2016-12-06 2020-10-27 At&T Intellectual Property I, L.P. Launcher with helical antenna and methods for use therewith
US10020844B2 (en) 2016-12-06 2018-07-10 T&T Intellectual Property I, L.P. Method and apparatus for broadcast communication via guided waves
US10326494B2 (en) 2016-12-06 2019-06-18 At&T Intellectual Property I, L.P. Apparatus for measurement de-embedding and methods for use therewith
US10135145B2 (en) 2016-12-06 2018-11-20 At&T Intellectual Property I, L.P. Apparatus and methods for generating an electromagnetic wave along a transmission medium
US10694379B2 (en) 2016-12-06 2020-06-23 At&T Intellectual Property I, L.P. Waveguide system with device-based authentication and methods for use therewith
US10382976B2 (en) 2016-12-06 2019-08-13 At&T Intellectual Property I, L.P. Method and apparatus for managing wireless communications based on communication paths and network device positions
US10727599B2 (en) 2016-12-06 2020-07-28 At&T Intellectual Property I, L.P. Launcher with slot antenna and methods for use therewith
US10755542B2 (en) 2016-12-06 2020-08-25 At&T Intellectual Property I, L.P. Method and apparatus for surveillance via guided wave communication
US10389029B2 (en) 2016-12-07 2019-08-20 At&T Intellectual Property I, L.P. Multi-feed dielectric antenna system with core selection and methods for use therewith
US10168695B2 (en) 2016-12-07 2019-01-01 At&T Intellectual Property I, L.P. Method and apparatus for controlling an unmanned aircraft
US10359749B2 (en) 2016-12-07 2019-07-23 At&T Intellectual Property I, L.P. Method and apparatus for utilities management via guided wave communication
US10027397B2 (en) 2016-12-07 2018-07-17 At&T Intellectual Property I, L.P. Distributed antenna system and methods for use therewith
US10446936B2 (en) 2016-12-07 2019-10-15 At&T Intellectual Property I, L.P. Multi-feed dielectric antenna system and methods for use therewith
US10139820B2 (en) 2016-12-07 2018-11-27 At&T Intellectual Property I, L.P. Method and apparatus for deploying equipment of a communication system
US9893795B1 (en) 2016-12-07 2018-02-13 At&T Intellectual Property I, Lp Method and repeater for broadband distribution
US10243270B2 (en) 2016-12-07 2019-03-26 At&T Intellectual Property I, L.P. Beam adaptive multi-feed dielectric antenna system and methods for use therewith
US10547348B2 (en) 2016-12-07 2020-01-28 At&T Intellectual Property I, L.P. Method and apparatus for switching transmission mediums in a communication system
US9911020B1 (en) 2016-12-08 2018-03-06 At&T Intellectual Property I, L.P. Method and apparatus for tracking via a radio frequency identification device
US10938108B2 (en) 2016-12-08 2021-03-02 At&T Intellectual Property I, L.P. Frequency selective multi-feed dielectric antenna system and methods for use therewith
US10069535B2 (en) 2016-12-08 2018-09-04 At&T Intellectual Property I, L.P. Apparatus and methods for launching electromagnetic waves having a certain electric field structure
US10530505B2 (en) 2016-12-08 2020-01-07 At&T Intellectual Property I, L.P. Apparatus and methods for launching electromagnetic waves along a transmission medium
US10103422B2 (en) 2016-12-08 2018-10-16 At&T Intellectual Property I, L.P. Method and apparatus for mounting network devices
US10601494B2 (en) 2016-12-08 2020-03-24 At&T Intellectual Property I, L.P. Dual-band communication device and method for use therewith
US10411356B2 (en) 2016-12-08 2019-09-10 At&T Intellectual Property I, L.P. Apparatus and methods for selectively targeting communication devices with an antenna array
US10916969B2 (en) 2016-12-08 2021-02-09 At&T Intellectual Property I, L.P. Method and apparatus for providing power using an inductive coupling
US10389037B2 (en) 2016-12-08 2019-08-20 At&T Intellectual Property I, L.P. Apparatus and methods for selecting sections of an antenna array and use therewith
US10777873B2 (en) 2016-12-08 2020-09-15 At&T Intellectual Property I, L.P. Method and apparatus for mounting network devices
US9998870B1 (en) 2016-12-08 2018-06-12 At&T Intellectual Property I, L.P. Method and apparatus for proximity sensing
US10326689B2 (en) 2016-12-08 2019-06-18 At&T Intellectual Property I, L.P. Method and system for providing alternative communication paths
US10340983B2 (en) 2016-12-09 2019-07-02 At&T Intellectual Property I, L.P. Method and apparatus for surveying remote sites via guided wave communications
US10264586B2 (en) 2016-12-09 2019-04-16 At&T Mobility Ii Llc Cloud-based packet controller and methods for use therewith
US9838896B1 (en) 2016-12-09 2017-12-05 At&T Intellectual Property I, L.P. Method and apparatus for assessing network coverage
US9973940B1 (en) 2017-02-27 2018-05-15 At&T Intellectual Property I, L.P. Apparatus and methods for dynamic impedance matching of a guided wave launcher
US10298293B2 (en) 2017-03-13 2019-05-21 At&T Intellectual Property I, L.P. Apparatus of communication utilizing wireless network devices
US10437581B1 (en) 2018-04-20 2019-10-08 At&T Mobility Ii Llc Internet of things platform for handling firmware transfer on machine-to-machine devices
CN112445504A (en) * 2019-08-29 2021-03-05 云丁网络技术(北京)有限公司 Equipment firmware upgrading method, device and system
CN112491956A (en) * 2020-10-27 2021-03-12 深圳市广和通无线股份有限公司 Method and device for upgrading communication module in Internet of things equipment and computer equipment
CN112491956B (en) * 2020-10-27 2023-05-09 深圳市广和通无线股份有限公司 Upgrading method and device of communication module in Internet of things equipment and computer equipment
CN114520767A (en) * 2022-01-25 2022-05-20 沈阳中科奥维科技股份有限公司 WIA-PA network-based whole-network terminal upgrading system and method

Also Published As

Publication number Publication date
CN102136934A (en) 2011-07-27
CN102136934B (en) 2015-01-21

Similar Documents

Publication Publication Date Title
WO2011137793A1 (en) Method, apparatus and network system for achieving remote update of zigbee devices
EP2712118B1 (en) Method and system for managing devices in batches
EP2978144B1 (en) Unified device management method and system
WO2016149908A1 (en) Method for updating terminal system, terminal and system
EP2256990B1 (en) A method for transferring the network management configuration information between the element management systems
WO2011156998A1 (en) System and method for implementing automatic configuration for equipments
US9467517B2 (en) Method and apparatus for remote management of device
JP2007525870A (en) Specifying the management node in the device management system
JP2009500759A (en) Method and system for data management based on simple network management protocol
EP2755412A1 (en) Method and system for upgrading firmware of user side device
WO2016090846A1 (en) Network version upgrade method and apparatus
WO2011006328A1 (en) System and method for updating device firmware, device management server and mobile terminal
WO2007025428A1 (en) Method, system and terminal device of software component parameter configuration
WO2015139359A1 (en) Wireless network maintenance method, device and system
EP2171917B1 (en) System and method for providing device management service to electronic device having no broadband communication module
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
WO2010127602A1 (en) Method for provisioning parameters of terminal, system thereof, and terminal management device
CN100479378C (en) Software assembly parameter configuration method and system and terminal equipment thereof
WO2013170818A2 (en) Error code conversion method and system, pppoe server and mobile terminal
TW202103475A (en) Method for terminal device management, server and terminal device
US9612822B2 (en) Telecommunications node configuration management
WO2010124571A1 (en) Node information acquirement method, client, and server
WO2010118702A1 (en) Terminal for device management and method for initiating management session thereof
CN113300869B (en) Communication method with in-band network remote sensing function, network device and storage medium
WO2020253330A1 (en) Method and apparatus for customer premise equipment configuration management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11777212

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11777212

Country of ref document: EP

Kind code of ref document: A1