WO2017201861A1 - Zigbee设备的升级方法和装置 - Google Patents

Zigbee设备的升级方法和装置 Download PDF

Info

Publication number
WO2017201861A1
WO2017201861A1 PCT/CN2016/092108 CN2016092108W WO2017201861A1 WO 2017201861 A1 WO2017201861 A1 WO 2017201861A1 CN 2016092108 W CN2016092108 W CN 2016092108W WO 2017201861 A1 WO2017201861 A1 WO 2017201861A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware
version
zigbee device
latest
zigbee
Prior art date
Application number
PCT/CN2016/092108
Other languages
English (en)
French (fr)
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 WO2017201861A1 publication Critical patent/WO2017201861A1/zh

Links

Images

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • 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 disclosure relates to the field of communications, and in particular, to a method and apparatus for upgrading a Zigbee device.
  • Zigbee is a wireless communication protocol similar to Wi-Fi. Compared with Wi-Fi, it has the advantages of convenient networking and low power consumption. It is obtained in some scenarios with large network scale and high power consumption requirements. A wide range of applications. Devices using the Zigbee protocol have a lower transmission rate, so in a network where Zigbee devices are deployed, firmware upgrades to Zigbee devices usually take a long time.
  • the present disclosure provides a method and apparatus for upgrading a Zigbee device.
  • a method for upgrading a Zigbee device comprising:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform the firmware based on the latest version. Line firmware upgrade.
  • the method further includes:
  • the Zigbee device needs to perform a firmware upgrade.
  • the querying, by the server, the latest firmware version of the Zigbee device includes:
  • the query result includes the latest firmware version.
  • the set sending time is randomly selected from a preset time period.
  • the query result further includes a download address corresponding to the latest firmware version
  • the downloading the latest version of the firmware to the server includes:
  • an apparatus for upgrading a Zigbee device comprising:
  • the download module is configured to download the latest version of the firmware to the server when the Zigbee device needs to perform a firmware upgrade
  • a push module configured to push the downloaded latest version of the firmware to the Zigbee device
  • a sending module configured to send a firmware upgrade instruction to the Zigbee device after the latest version of the firmware is successfully pushed to the Zigbee device, to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware .
  • the device further includes:
  • An obtaining module configured to obtain a current firmware version of the Zigbee device
  • a query module configured to query the server for the latest firmware version of the Zigbee device
  • a determining module configured to determine whether a current firmware version of the Zigbee device is the same as the latest firmware version
  • the determining module is configured to determine that the Zigbee device needs to perform a firmware upgrade when the current firmware version of the Zigbee device is different from the latest firmware version.
  • the query module includes:
  • a sending submodule configured to send, to the server, a query command for querying the latest firmware version based on the set sending time timing
  • the obtaining submodule is configured to obtain a query result returned by the server and corresponding to the query command; the query result includes the latest firmware version.
  • the set sending time is randomly selected from a preset time period.
  • the query result further includes a download address corresponding to the latest firmware version
  • the download module includes:
  • the download submodule is configured to download the latest version of the firmware to the server based on the download address.
  • an apparatus for upgrading a Zigbee device includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • a silent upgrade scheme for a Zigbee device is provided.
  • the Zigbee device needs to perform a firmware upgrade
  • the latest version of the firmware is downloaded to the server, and the next The latest version of the firmware is pushed to the Zigbee device, and after the latest version of the firmware is successfully pushed to the Zigbee device, a firmware upgrade command is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • FIG. 1 is a schematic flowchart diagram of a method for upgrading a Zigbee device according to an exemplary embodiment
  • FIG. 2 is a schematic flowchart diagram of another method for upgrading a Zigbee device according to an exemplary embodiment
  • FIG. 3 is a schematic block diagram of an upgrade apparatus of a Zigbee device according to an exemplary embodiment
  • FIG. 4 is a schematic block diagram of an upgrade apparatus of another Zigbee device according to an exemplary embodiment
  • FIG. 5 is a schematic block diagram of an upgrade apparatus of another Zigbee device according to an exemplary embodiment
  • FIG. 6 is a schematic block diagram of an upgrade apparatus of another Zigbee device according to an exemplary embodiment
  • FIG. 7 is a schematic structural diagram of an upgrade apparatus for a Zigbee device according to an exemplary embodiment
  • FIG. 8 is another upgrade device for a Zigbee device, according to an exemplary embodiment. A schematic diagram of the structure.
  • first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information without departing from the scope of the present disclosure.
  • second information may also be referred to as first information.
  • word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
  • the Zigbee device when the Zigbee device is performing firmware upgrade, the upgrade is usually performed by the user after the firmware version is updated, and then the Zigbee device performs protocol conversion through the intelligent gateway integrated with the Wi-Fi module and the Zigbee module. Enter the Internet to communicate with the cloud server to complete the latest firmware downloads and upgrades.
  • devices using the Zigbee protocol have lower transmission rates, such as a maximum of 250 kb/s.
  • firmware upgrades to Zigbee devices usually take a long time, so Zigbee The upgrade of the device is triggered by the user, and usually requires the user to wait for a long time, which will affect the user experience.
  • the present disclosure proposes a scheme for performing a silent upgrade for a Zigbee device, and provides a silent upgrade scheme for a Zigbee device.
  • the Zigbee device needs to perform a firmware upgrade, the latest version of the firmware is downloaded to the server, and the download is downloaded.
  • the latest version of the firmware is pushed to the Zigbee device, and after the latest version of the firmware is successfully pushed to the Zigbee device, a firmware upgrade command is issued to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware, thus It is possible to silently complete the download of the latest version of the firmware in the background and the firmware upgrade based on the latest version of the firmware, and the user does not perceive it, thereby avoiding the user waiting time of Zigbee device upgrade due to the lower transfer rate between Zigbee devices. Long problems can help improve the user experience.
  • FIG. 1 is a method for upgrading a Zigbee device according to an exemplary embodiment.
  • the method is applied to a smart gateway, and includes the following steps:
  • step 101 when the Zigbee device needs to perform a firmware upgrade, download the latest version of the firmware to the server;
  • step 102 the downloaded latest version of the firmware is pushed to the Zigbee device
  • step 103 after the latest version of the firmware is successfully pushed to the Zigbee device, a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • the Zigbee device may include a smart device running the Zigbee protocol and performing data communication based on the Zigbee protocol; for example, the Zigbee device may include a wireless doorbell button for data communication based on the Zigbee protocol deployed in a low power smart home environment. , human body infrared motion sensor, door and window sensor or other types of smart devices.
  • the above server may include a server deployed in the cloud, a server cluster, or a cloud platform built based on a server cluster. This server is used to store the latest version of firmware required for Zigbee devices to perform firmware upgrades.
  • the above intelligent gateway may include a gateway device integrated with a Wi-Fi module and a Zigbee module, such as an intelligent router or a server.
  • the Wi-Fi module of the smart gateway device can communicate with the Zigbee module through a serial port, and the Wi-Fi module can access the Internet through Wi-Fi, and the cloud
  • the server performs data communication.
  • the smart gateway can be deployed as a core device in an application environment based on a Zigbee device (such as a low-power smart home environment).
  • the Zigbee device in the application environment can access the Wi-channel of the smart gateway.
  • the Fi module then performs protocol conversion through the smart gateway's Wi-Fi module and Zigbee module to access the Internet and communicate with the cloud server.
  • the device firmware may have certain defects, or the zigbee device may need to add new functions in the actual application, so the zigbee device usually has the need for firmware upgrade.
  • the firmware upgrade is performed, the zigbee device is usually manually triggered by the user.
  • the server can send an update notification of the latest version of the firmware to the zigbee device.
  • the zigbee device can prompt the user to update the update notification through the system interface, and then the user manually triggers the zigbee device to start the firmware upgrade (for example, clicking the upgrade button in the system interface to trigger the zigbee device to perform the firmware upgrade), and starting the zigbee protocol based on
  • the server performs data communication to download the latest version of the firmware to complete the upgrade.
  • the user manually triggers the zigbee device for firmware upgrade. Since the transmission rate of devices communicating with each other using the Zigbee protocol is low, the entire upgrade process usually requires the user to wait for a long time, resulting in a very bad user experience.
  • a scheme for performing a silent upgrade for a Zigbee device is proposed.
  • the smart gateway determines that the Zigbee device in the current application environment needs to perform a firmware upgrade
  • the latest version of the firmware may be silently downloaded in the background and downloaded.
  • the latest version of the firmware is pushed to the Zigbee device that needs to be upgraded.
  • the firmware upgrade command is downloaded to the Zigbee device that needs to be upgraded, and the Zigbee device is triggered to perform the firmware upgrade, so that the latest version of the firmware and the firmware upgrade can be performed by the intelligent gateway. It is silently completed in the background and is completely unperceived to the user. Therefore, the problem that the user waiting for Zigbee device upgrade has a long waiting time due to the low transmission rate between Zigbee devices can be avoided, which helps to improve the user experience.
  • the application scenario may be a low-power smart home environment, because in a low-power smart home environment, the power consumption of the smart device is relatively high, and the Zigbee protocol Compared with Wi-Fi, it has the advantage of lower power consumption. Therefore, when building the above-mentioned low-power smart home environment, smart devices that support Zigbee protocol and data communication based on Zigbee protocol can be used.
  • Huawei’s “Smart Home Security Suite” includes intelligent gateways, wireless doorbell buttons for communication based on the Zigbee protocol, human body infrared motion sensors and door and window sensors.
  • the smart gateway can communicate with each Zigbee device through the Zigbee module to obtain the current Zigbee devices.
  • Firmware version since the Zigbee devices in the smart home environment support communication with the Zigbee module of the smart gateway through the standard Zigbee protocol, the smart gateway can communicate with each Zigbee device through the Zigbee module to obtain the current Zigbee devices. Firmware version.
  • the intelligent gateway can also communicate with the server through the Wi-Fi module to query the latest firmware version of each Zigbee device.
  • the smart gateway can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the latest firmware version of the device can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the latest firmware version of the device can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the query command may carry the type identifier of the Zigbee device to be queried by the smart gateway and the current firmware version of the Zigbee device.
  • the server may compare the current firmware version of the Zigbee device carried in the query command with the latest firmware version of the Zigbee device saved locally. If the two are the same, the Zigbee The firmware version of the device is already the latest version. The firmware version update is not required. The server can respond without receiving the above query command or return a null value. If the two are different, the Zigbee device needs to perform the firmware version update, and then the query command can be normally responded, and the corresponding response command is returned to the smart gateway.
  • the query result corresponding to the query command may be carried, and the type identifier of the Zigbee device queried by the smart gateway and the latest firmware version may be carried in the query result.
  • the response command may also carry the download address of the latest version of the firmware, so that the smart gateway downloads the latest version of the firmware according to the download address.
  • the format of the above query command can be as follows:
  • the parameter model is the type identifier of the Zigbee device to be queried for uniquely identifying the device; fw_version is the current firmware version of the Zigbee device to be queried; hw_version is the Zigbee device to be queried.
  • the latest firmware version; url is the download address of the latest firmware version.
  • the smart gateway when it periodically sends the above query command, it may send according to the set sending time; for example, the sending time may be 22 points per day.
  • the set transmission time can be randomly selected from the preset time period; for example, a preset time period can be set based on the characteristics of the working time of the server, for example, it is assumed that the server is from 22 o'clock to 6 am daily.
  • the system maintenance time is usually not for daily business communication.
  • the preset time period can be set from 6 o'clock to 22 o'clock daily, that is, the time period during which the server performs daily business communication.
  • the smart gateway may randomly extract a time point from the preset time period for sending a query command.
  • the server can usually serve several intelligent gateways, if all intelligent gateways send query commands based on the same sending time to perform firmware upgrades on the attached Zigbee devices, the data access time may be concentrated. Upgrade congestion. Therefore, by means of the random extraction and sending of the time points, it is possible to ensure that the time intervals in which the intelligent gateways send the query commands are dispersed, thereby avoiding the situation of escalating congestion.
  • the smart gateway can read the latest firmware version carried in the response command, and then compare with the current firmware version of the obtained Zigbee device to determine the Zigbee.
  • the current firmware version of the device is the same as the latest firmware version. If the current firmware version of the Zigbee device is the same as the latest firmware version, the Zigbee is indicated.
  • the device does not need to perform a firmware version upgrade. In this case, no special processing is required.
  • the Zigbee device can still be started and run with the current firmware version.
  • the smart gateway can download the latest version of the firmware from the server by downloading the latest firmware version carried in the response command.
  • the latest version of the firmware can be pushed to the corresponding Zigbee device.
  • the smart gateway pushes the latest version of the firmware to the corresponding Zigbee device, it may be active push or passive push; for example, after the latest version of the firmware is downloaded, the smart gateway can immediately download based on the Zigbee module.
  • the firmware is actively pushed to each Zigbee device; or each Zigbee device can also send a query message to the intelligent gateway periodically to query whether the latest version of the firmware is saved locally in the smart gateway.
  • the smart gateway downloads the latest version of the firmware, it receives and receives After the above query message of each Zigbee device, the latest version of the downloaded firmware can be sent to each Zigbee device.
  • each Zigbee device can be stored in the background; in order to not affect the normal operation of the device, each Zigbee device receives the latest version pushed by the smart gateway.
  • the received firmware can be stored in the spare storage area of the device MCU, so that the current normal operation of the device can be avoided.
  • the smart gateway After the smart gateway successfully pushes the latest version of the firmware to each Zigbee device, the smart gateway can issue a firmware upgrade command to each Zigbee device that needs to be upgraded. After receiving the firmware upgrade command, each Zigbee device can The firmware version upgrade is performed based on the latest version of the firmware stored locally.
  • the Zigbee device can output a prompt message to the user through the system interface when the firmware version is upgraded based on the latest version of the firmware.
  • the prompt message may be a prompt message of “whether to upgrade to the latest version of firmware”, and the user still
  • the firmware version upgrade can be initiated by triggering the upgrade button in the system interface.
  • the Zigbee device can perform the restart operation and read the latest version of the firmware during the restart process, and enter the firmware of the current version stored in the device MCU. The line replaces the update.
  • the Zigbee device can upgrade the firmware of the latest version of Yuxing, and the upgrade of the firmware version is completed.
  • the Zigbee device since the Zigbee device receives the firmware upgrade command issued by the smart gateway, the latest version of the firmware has been downloaded to the local in advance, and the download process is not perceived by the user, so the Zigbee device can immediately be stored locally.
  • the latest version of the firmware completes the firmware version upgrade.
  • the entire upgrade process is immediately responded, and the user does not need to perform any upgrade waits, which can help improve the user experience.
  • a solution for performing a silent upgrade for a Zigbee device is proposed.
  • the Zigbee device needs to perform a firmware upgrade
  • the latest version of the firmware is downloaded to the server, and the downloaded latest version of the firmware is pushed to the Zigbee device.
  • the firmware update command is sent to the Zigbee device to trigger the Zigbee device to perform the firmware upgrade based on the latest version of the firmware, so that the latest version of the firmware can be silently completed in the background.
  • the firmware upgrade operation based on the latest version of the firmware is not perceived by the user, thereby avoiding the problem that the user of the Zigbee device upgrades has a long waiting time due to the low transfer rate between the Zigbee devices, which helps to improve the user experience.
  • FIG. 2 is a method for upgrading another Zigbee device according to an exemplary embodiment.
  • the method is used in a smart gateway, and the method includes the following steps:
  • step 201 obtaining a current firmware version of the Zigbee device
  • step 202 the server is queried for the latest firmware version of the Zigbee device
  • step 203 it is determined whether the current firmware version of the Zigbee device is the same as the latest firmware version
  • step 204 if the current firmware version of the Zigbee device is different from the latest firmware version, download the latest version of the firmware to the server;
  • step 205 the downloaded latest version of the firmware is pushed to the Zigbee device
  • step 206 after the latest version of the firmware is successfully pushed to the Zigbee device, a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • the Zigbee device may include a smart device running the Zigbee protocol and performing data communication based on the Zigbee protocol; for example, the Zigbee device may include a wireless doorbell button for data communication based on the Zigbee protocol deployed in a low power smart home environment. , human body infrared motion sensor, door and window sensor or other types of smart devices.
  • the above server may include a server deployed in the cloud, a server cluster, or a cloud platform built based on a server cluster. This server is used to store the latest version of firmware required for Zigbee devices to perform firmware upgrades.
  • the above intelligent gateway may include a gateway device integrated with a Wi-Fi module and a Zigbee module, such as an intelligent router or a server.
  • the Wi-Fi module of the smart gateway device can communicate with the Zigbee module through a serial port, and the Wi-Fi module can access the Internet through Wi-Fi to perform data communication with the cloud server.
  • the smart gateway can be deployed as a core device in an application environment based on a Zigbee device (such as a low-power smart home environment).
  • the Zigbee device in the application environment can access the Wi-channel of the smart gateway.
  • the Fi module then performs protocol conversion through the smart gateway's Wi-Fi module and Zigbee module to access the Internet and communicate with the cloud server.
  • the device firmware may have certain defects, or the zigbee device may need to add new functions in the actual application, so the zigbee device usually has the need for firmware upgrade.
  • the firmware upgrade is performed, the zigbee device is usually manually triggered by the user.
  • the server can send an update notification of the latest version of the firmware to the zigbee device.
  • the zigbee device can prompt the user to update the update notification through the system interface, and then the user manually triggers the zigbee device to start the firmware upgrade (for example, clicking the upgrade button in the system interface to trigger the zigbee device to perform the firmware upgrade), and starting the zigbee protocol based on
  • the server performs data communication to download the latest version of the firmware to complete the upgrade.
  • the user manually triggers the zigbee device for firmware upgrade. Since the transmission rate of devices communicating with each other using the Zigbee protocol is low, the entire upgrade process usually requires the user to wait for a long time, resulting in a very bad user experience.
  • a scheme for performing a silent upgrade for a Zigbee device is proposed.
  • the smart gateway can silently download the latest version of the firmware in the background, and push the downloaded latest version of the firmware to the Zigbee device that needs to be upgraded.
  • the upgraded Zigbee device downloads the firmware upgrade command and triggers the Zigbee device to perform firmware upgrade, so that the latest version of the firmware and firmware upgrade can be silently completed by the intelligent gateway in the background, which is completely unperceived to the user, thus avoiding the Zigbee device room.
  • the problem that the transmission rate is low, and the user waiting for the Zigbee device upgrade has a long waiting time helps to improve the user experience.
  • the application scenario may be a low-power smart home environment, because in a low-power smart home environment, power consumption requirements for smart devices are high, and Zigbee protocol and Wi-Fi Compared with the advantages of low power consumption, when building the above-mentioned low-power smart home environment, smart devices that support Zigbee protocol and data communication based on Zigbee protocol can be used.
  • Huawei’s “Smart Home Security Suite” includes intelligent gateways, wireless doorbell buttons for communication based on the Zigbee protocol, human body infrared motion sensors and door and window sensors.
  • the smart gateway can communicate with each Zigbee device through the Zigbee module to obtain the current Zigbee devices.
  • Firmware version since the Zigbee devices in the smart home environment support communication with the Zigbee module of the smart gateway through the standard Zigbee protocol, the smart gateway can communicate with each Zigbee device through the Zigbee module to obtain the current Zigbee devices. Firmware version.
  • the intelligent gateway can also communicate with the server through the Wi-Fi module to query the latest firmware version of each Zigbee device.
  • the smart gateway can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the latest firmware version of the device can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the latest firmware version of the device can periodically send a query command for querying the latest firmware version of each Zigbee device to the server through the Wi-Fi module, and then obtain each Zigbee by obtaining a response command returned and returned.
  • the query command may carry the type identifier of the Zigbee device to be queried by the smart gateway and the current firmware version of the Zigbee device.
  • the server may compare the current firmware version of the Zigbee device carried in the query command with the latest firmware version of the Zigbee device saved locally. If the two are the same, the Zigbee equipment The firmware version is already the latest version. No firmware version update is required. The server can not respond after receiving the above query command, or return a null value. If the two are different, the Zigbee device needs to perform the firmware version update, and then the query command can be normally responded, and the corresponding response command is returned to the smart gateway.
  • the query result corresponding to the query command may be carried, and the type identifier of the Zigbee device queried by the smart gateway and the latest firmware version may be carried in the query result.
  • the response command may also carry the download address of the latest version of the firmware, so that the smart gateway downloads the latest version of the firmware according to the download address.
  • the format of the above query command can be as follows:
  • the parameter model is the type identifier of the Zigbee device to be queried for uniquely identifying the device; fw_version is the current firmware version of the Zigbee device to be queried; hw_version is the Zigbee device to be queried.
  • the latest firmware version; url is the download address of the latest firmware version.
  • the smart gateway when it periodically sends the above query command, it may send according to the set sending time; for example, the sending time may be 22 points per day.
  • the set transmission time can be randomly selected from the preset time period; for example, a preset time period can be set based on the characteristics of the working time of the server, for example, it is assumed that the server is from 22 o'clock to 6 am daily.
  • the system maintenance time is usually not for daily business communication.
  • the preset time period can be set from 6 o'clock to 22 o'clock daily, that is, the time period during which the server performs daily business communication.
  • Smart gateway is set to send When sending time, a time point may be randomly selected from the preset time period for sending a query command.
  • the server can usually serve several intelligent gateways, if all intelligent gateways send query commands based on the same sending time to perform firmware upgrades on the attached Zigbee devices, the data access time may be concentrated. Upgrade congestion. Therefore, by means of the random extraction and sending of the time points, it is possible to ensure that the time intervals in which the intelligent gateways send the query commands are dispersed, thereby avoiding the situation of escalating congestion.
  • the smart gateway can read the latest firmware version carried in the response command, and then compare with the current firmware version of the obtained Zigbee device to determine the Zigbee.
  • the current firmware version of the device is the same as the latest firmware version. If the current firmware version of the Zigbee device is the same as the latest firmware version, it means that the Zigbee device does not need to perform firmware version upgrade. In this case, no special processing is required.
  • the Zigbee device can still be up and running with the current firmware version.
  • the smart gateway can download the latest version of the firmware from the server by downloading the latest firmware version carried in the response command.
  • the latest version of the firmware can be pushed to the corresponding Zigbee device.
  • the smart gateway pushes the latest version of the firmware to the corresponding Zigbee device, it may be active push or passive push; for example, after the latest version of the firmware is downloaded, the smart gateway can immediately download based on the Zigbee module.
  • the firmware is actively pushed to each Zigbee device; or each Zigbee device can also send a query message to the intelligent gateway periodically to query whether the latest version of the firmware is saved locally in the smart gateway.
  • the smart gateway downloads the latest version of the firmware, it receives and receives After the above query message of each Zigbee device, the latest version of the downloaded firmware can be sent to each Zigbee device.
  • each Zigbee device can be stored in the background; in order to not affect the normal operation of the device, each Zigbee device receives the latest version pushed by the smart gateway.
  • the received firmware can be stored in the spare storage area of the device MCU, so that the current normal operation of the device can be avoided.
  • the smart gateway After the smart gateway successfully pushes the latest version of the firmware to each Zigbee device, the smart gateway can issue a firmware upgrade command to each Zigbee device that needs to be upgraded. After receiving the firmware upgrade command, each Zigbee device can The firmware version upgrade is performed based on the latest version of the firmware stored locally.
  • the Zigbee device can output a prompt message to the user through the system interface when the firmware version is upgraded based on the latest version of the firmware.
  • the prompt message may be a prompt message of “whether to upgrade to the latest version of firmware”, and the user still
  • the firmware version upgrade can be initiated by triggering the upgrade button in the system interface.
  • the Zigbee device can perform the restart operation, and during the restart process, the latest version of the firmware is read, and the current version of the firmware stored in the device MCU is replaced and updated.
  • the Zigbee device is updated.
  • the latest version of the firmware can be upgraded, and the upgrade of the firmware version is completed.
  • the Zigbee device since the Zigbee device receives the firmware upgrade command issued by the smart gateway, the latest version of the firmware has been downloaded to the local in advance, and the download process is not perceived by the user, so the Zigbee device can immediately be stored locally.
  • the latest version of the firmware completes the firmware version upgrade.
  • the entire upgrade process is immediately responded, and the user does not need to perform any upgrade waits, which can help improve the user experience.
  • a solution for performing a silent upgrade for a Zigbee device is proposed.
  • the Zigbee device needs to perform a firmware upgrade
  • the latest version of the firmware is downloaded to the server, and the downloaded latest version of the firmware is pushed to the Zigbee device.
  • the firmware update command is sent to the Zigbee device to trigger the Zigbee device to perform the firmware upgrade based on the latest version of the firmware, so that the latest version of the firmware can be silently completed in the background.
  • the firmware upgrade operation based on the latest version of the firmware is not perceived by the user, thereby avoiding the problem that the user of the Zigbee device upgrades has a long waiting time due to the low transfer rate between the Zigbee devices, which helps to improve the user experience.
  • the present disclosure also provides an embodiment of the apparatus.
  • FIG. 3 is a schematic block diagram of an upgrade apparatus of a Zigbee device according to an exemplary embodiment. Figure.
  • an upgrade apparatus 300 for a Zigbee device includes: a downloading module 301, a pushing module 302, and a sending module 303; wherein:
  • the downloading module 301 is configured to download the latest version of the firmware to the server when the Zigbee device needs to perform the firmware upgrade;
  • the pushing module 301 is configured to push the downloaded latest version of the firmware to the Zigbee device
  • the sending module 303 is configured to send a firmware upgrade instruction to the Zigbee device after the latest version of the firmware is successfully pushed to the Zigbee device, to trigger the Zigbee device to be based on the latest version of the firmware. Perform a firmware upgrade.
  • a solution for performing a silent upgrade for a Zigbee device is proposed.
  • the Zigbee device needs to perform a firmware upgrade
  • the latest version of the firmware is downloaded to the server, and the downloaded latest version of the firmware is pushed to the Zigbee device.
  • the firmware update command is sent to the Zigbee device to trigger the Zigbee device to perform the firmware upgrade based on the latest version of the firmware, so that the latest version of the firmware can be silently completed in the background.
  • the firmware upgrade operation based on the latest version of the firmware is not perceived by the user, thereby avoiding the problem that the user of the Zigbee device upgrades has a long waiting time due to the low transfer rate between the Zigbee devices, which helps to improve the user experience.
  • FIG. 4 is a block diagram of an apparatus for upgrading another Zigbee device according to an exemplary embodiment of the present disclosure.
  • the device 300 may further include the foregoing embodiment of FIG. An obtaining module 304, a querying module 305, a determining module 306, and a determining module 307; wherein:
  • the obtaining module 304 is configured to acquire a current firmware version of the Zigbee device.
  • the query module 305 is configured to query the server for the latest firmware version of the Zigbee device
  • the determining module 306 is configured to determine whether the current firmware version of the Zigbee device is the same as the latest firmware version
  • the determining module 307 is configured to determine that the Zigbee device needs to perform a firmware upgrade when the current firmware version of the Zigbee device is different from the latest firmware version.
  • FIG. 5 is a block diagram of an apparatus for upgrading another Zigbee device according to an exemplary embodiment of the present disclosure.
  • the embodiment may be included on the basis of the foregoing embodiment shown in FIG. a sending submodule 305A and an obtaining submodule 305B; wherein:
  • the sending submodule 305A is configured to send, to the server, a query command for querying the latest firmware version based on the set sending time timing;
  • the obtaining sub-module 305B is configured to obtain a query result corresponding to the query command returned by the server; the query result includes the latest firmware version.
  • the configurations of the first sending submodule 305A and the obtaining submodule 305B shown in the foregoing apparatus embodiment shown in FIG. 5 may also be included in the foregoing apparatus embodiment of FIG. 3, and the disclosure is not limited thereto. .
  • the set transmission time is randomly selected from a preset time period.
  • FIG. 6 is a block diagram of an apparatus for upgrading another Zigbee device according to an exemplary embodiment of the present disclosure.
  • the embodiment may further include, according to the foregoing embodiment shown in FIG. 5, the query result may further include a download address corresponding to the latest firmware version; the download module 301 can include a download submodule 301A; wherein:
  • the download submodule 301A is configured to download the latest version of the firmware to the server based on the download address.
  • the structure of the download sub-module 301A shown in the foregoing apparatus embodiment shown in FIG. 6 may also be included in the foregoing apparatus embodiment of FIG. 3-4, and the disclosure is not limited thereto.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, ie may be located a place, Or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present disclosure. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the present disclosure further provides an upgrade device of a Zigbee device, where the upgrade device of the Zigbee device includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • an intelligent gateway including a memory and one or more programs, wherein one or more programs are stored in the memory and configured to be comprised by one or more processors Executing the one or more programs includes instructions for performing the following operations:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • FIG. 7 is a schematic structural diagram of an apparatus for upgrading a Zigbee device according to an exemplary embodiment.
  • an upgrade apparatus 700 of a Zigbee device which may be a router, a computer, a mobile phone, a digital broadcast terminal, a messaging device, a game console, as an intelligent gateway, according to an exemplary embodiment.
  • tablet devices medical equipment, fitness equipment, Terminal equipment such as a digital assistant.
  • apparatus 700 can include one or more of the following components: processing component 701, memory 702, power component 703, multimedia component 704, audio component 705, input/output (I/O) interface 706, sensor component 707, And a communication component 708.
  • Processing component 701 typically controls the overall operation of device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 701 can include one or more processors 709 to execute instructions to perform all or part of the steps described above.
  • processing component 701 can include one or more modules to facilitate interaction between component 701 and other components.
  • processing component 701 can include a multimedia module to facilitate interaction between multimedia component 704 and processing component 701.
  • Memory 702 is configured to store various types of data to support operation at device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phone book data, messages, pictures, videos, and the like.
  • Memory 702 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 703 provides power to various components of device 700.
  • Power component 703 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 700.
  • the multimedia component 704 includes a screen between the device 700 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 704 includes a front camera and/or a rear camera. When device 700 is in an operational mode, such as The front camera and/or rear camera can receive external multimedia data in shooting mode or video mode. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 705 is configured to output and/or input an audio signal.
  • the audio component 705 includes a microphone (MIC) that is configured to receive an external audio signal when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 702 or transmitted via communication component 708.
  • the audio component 705 also includes a speaker for outputting an audio signal.
  • the I/O interface 702 provides an interface between the processing component 701 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 707 includes one or more sensors for providing state assessment of various aspects to device 700.
  • sensor assembly 707 can detect an open/closed state of device 700, relative positioning of components, such as the display and keypad of device 700, and sensor component 707 can also detect a change in position of one component of device 700 or device 700. The presence or absence of user contact with device 700, device 700 orientation or acceleration/deceleration, and temperature variation of device 700.
  • Sensor assembly 707 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 707 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 707 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 708 is configured to facilitate wired or wireless communication between device 700 and other devices.
  • the device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 708 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 708 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, super Broadband (UWB) technology, Bluetooth (BT) technology and other technologies to achieve.
  • RFID radio frequency identification
  • IrDA Infrared Data Association
  • UWB super Broadband
  • Bluetooth Bluetooth
  • apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 702 comprising instructions executable by processor 709 of apparatus 700 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the device 700 when the instructions in the storage medium are executed by the processor 709, the device 700 is enabled to perform an upgrade method of the Zigbee device, including:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.
  • FIG. 8 is a schematic structural diagram of an upgrade apparatus 800 for a Zigbee device according to an exemplary embodiment.
  • device 800 can be provided as a server that acts as a smart gateway.
  • apparatus 800 includes a processing component 822 that further includes one or more processors, and memory resources represented by memory 1332 for storing instructions executable by processing component 822, such as an application.
  • An application stored in memory 832 may include one or more modules each corresponding to a set of instructions.
  • processing component 822 is configured to execute instructions to perform the upgrade method of the Zigbee device described above.
  • Device 800 may also include a power supply component 826 configured to perform power management of device 800, a wired or wireless network interface 850 configured to connect device 800 to the network, and an input/output (I/O) interface 858.
  • a power supply component 826 configured to perform power management of device 800
  • a wired or wireless network interface 850 configured to connect device 800 to the network
  • an input/output (I/O) interface 858 configured to connect device 800 to the network
  • I/O input/output
  • Device 800 can be equipped with a separate operating system.
  • the hosted operating system can be stored in the memory 832, and the device 800 can run an operating system stored in the memory 832, for example, the operating system can include Windows ServerTM, Mac OS XTM, UnixTM. , LinuxTM, FreeBSDTM, etc.
  • the apparatus 800 when the instructions in the memory 1332 are executed by the processing component 1322, the apparatus 800 is enabled to perform an upgrade method of the Zigbee device, including:
  • a firmware upgrade instruction is sent to the Zigbee device to trigger the Zigbee device to perform a firmware upgrade based on the latest version of the firmware.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提出一种Zigbee设备的升级方法和装置,所述方法包括:当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;将下载的所述最新版本的固件推送至所述Zigbee设备;当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。本公开可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,有助于提升用户体验。

Description

Zigbee设备的升级方法和装置
本申请基于申请号为201610356502.7、申请日为2016年5月25日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及通信领域,尤其涉及Zigbee设备的升级方法和装置。
背景技术
Zigbee是一种类似于Wi-Fi的无线通讯协议,与Wi-Fi相比,它具有组网方便、功耗较低的优点,在一些网络规模较大、功耗要求较高的场景中得到广泛的应用。而采用Zigbee协议的设备之间互相通信的传输速率较低,,因此在部署了Zigbee设备的网络中,对Zigbee设备进行固件升级通常需要耗费较长的时间。
发明内容
为克服相关技术中存在的问题,本公开提供一种Zigbee设备的升级方法和装置。
根据本公开实施例的第一方面,提供一种Zigbee设备的升级方法,所述方法包括:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执 行固件升级。
可选的,所述方法还包括:
获取所述Zigbee设备当前的固件版本;
向所述服务端查询所述Zigbee设备的最新固件版本;
判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
如果所述Zigbee设备当前的固件版本与所述最新固件版本不相同,确定所述Zigbee设备需要进行固件升级。
可选的,所述向所述服务端查询所述Zigbee设备最新的固件版本包括:
基于设定的发送时间定时向所述服务端发送用于查询所述最新固件版本的查询命令;
获取所述服务端返回的与所述查询命令对应的查询结果;所述查询结果包括所述最新固件版本。
可选的,所述设定的发送时间从预设的时间段中随机选择得到。
可选的,所述查询结果还包括与所述最新固件版本对应的下载地址;
所述向服务端下载最新版本的固件包括:
基于所述下载地址向所述服务端下载所述最新版本的固件。
根据本公开实施例的第二方面,提供一种Zigbee设备的升级装置,所述装置包括:
下载模块,被配置为在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
推送模块,被配置为将下载的所述最新版本的固件推送至所述Zigbee设备;
下发模块,被配置为在所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
可选的,所述装置还包括:
获取模块,被配置为获取所述Zigbee设备当前的固件版本;
查询模块,被配置为向所述服务端查询所述Zigbee设备的最新固件版本;
判断模块,被配置为判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
确定模块,被配置为在所述Zigbee设备当前的固件版本与所述最新固件版本不相同时,确定所述Zigbee设备需要进行固件升级。
可选的,所述查询模块包括:
发送子模块,被配置为基于设定的发送时间定时向所述服务端发送用于查询所述最新固件版本的查询命令;
获取子模块,被配置为获取所述服务端返回的与所述查询命令对应的查询结果;所述查询结果包括所述最新固件版本。
可选的,所述设定的发送时间从预设的时间段中随机选择得到。
可选的,所述查询结果还包括与所述最新固件版本对应的下载地址;
所述下载模块包括:
下载子模块,被配置为基于所述下载地址向所述服务端下载所述最新版本的固件。
根据本公开实施例的第三方面,提供一种Zigbee设备的升级装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开的以上实施例中,提供一种针对Zigbee设备的静默升级方案,通过在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件,将下 载的所述最新版本的固件推送至Zigbee设备,并在将最新版本的固件成功推送至Zigbee设备后,再向Zigbee设备下发固件升级指令,以触发Zigbee设备基于最新版本的固件执行固件升级,因此可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,从而可以避免由于Zigbee设备间传输速率较低,Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种Zigbee设备的升级方法的流程示意图;
图2是根据一示例性实施例示出的另一种Zigbee设备的升级方法的流程示意图;
图3是根据一示例性实施例示出的一种Zigbee设备的升级装置的示意框图;
图4是根据一示例性实施例示出的另一种Zigbee设备的升级装置的示意框图;
图5是根据一示例性实施例示出的另一种Zigbee设备的升级装置的示意框图;
图6是根据一示例性实施例示出的另一种Zigbee设备的升级装置的示意框图;
图7是根据一示例性实施例示出的一种用于Zigbee设备的升级装置的一结构示意图;
图8是根据一示例性实施例示出的另一种用于Zigbee设备的升级装置的 一结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
在相关技术中,Zigbee设备在在进行固件升级时,通常是在固件版本发生更新后,由用户进行触发升级,然后Zigbee设备通过集成了Wi-Fi模块和Zigbee模块的智能网关进行协议转换,接入到互联网与云端的服务器进行通信,来完成最新版本的固件下载以及升级。
然而,采用Zigbee协议的设备之间互相通信的传输速率较低,比如最高仅为250kb/s,在部署了Zigbee设备的网络中,对Zigbee设备进行固件升级通常需要耗费较长的时间,因此Zigbee设备的升级由用户来触发,通常需要用户等待较长的时间,会影响用户的体验。
有鉴于此,本公开提出一种针对Zigbee设备执行静默升级的方案,提供一种针对Zigbee设备的静默升级方案,通过在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件,将下载的所述最新版本的固件推送至Zigbee设备,并在将最新版本的固件成功推送至Zigbee设备后,再向Zigbee设备下发固件升级指令,以触发Zigbee设备基于最新版本的固件执行固件升级,因此可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,从而可以避免由于Zigbee设备间传输速率较低,Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
如图1所示,图1是根据一示例性实施例示出的一种Zigbee设备的升级方法,该方法应用于智能网关中,包括以下步骤:
在步骤101中,当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
在步骤102中,将下载的所述最新版本的固件推送至所述Zigbee设备;
在步骤103中,当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
上述Zigbee设备,可以包括运行了Zigbee协议,并基于Zigbee协议进行数据通信的智能设备;例如,该Zigbee设备可以包括部署在低功耗的智能家居环境中的基于Zigbee协议进行数据通信的无线门铃按钮、人体红外运动传感器、门窗感应器或者其它类型的智能设备。
上述服务端,可以包括部署在云端的服务器、服务器集群或者基于服务器集群构建的云平台。该服务端用于保存Zigbee设备在进行固件升级时所需要的最新版本的固件。
上述智能网关,可以包括集成了Wi-Fi模块和Zigbee模块的网关设备,例如智能路由器或者服务器。该智能网关设备的Wi-Fi模块可以通过串口与Zigbee模块进行通信,该Wi-Fi模块可以通过Wi-Fi接入到互联网,与云端 服务器进行数据通信。在实际应用中,上述智能网关可以作为核心设备,部署在基于Zigbee设备组建的应用环境中(比如低功耗的智能家居环境),该应用环境中的Zigbee设备可以通过接入智能网关的Wi-Fi模块,然后通过智能网关的Wi-Fi模块和Zigbee模块进行协议转换,来接入互联网,与云端的服务器进行数据通信。
在本例中,zigbee设备在出厂后,设备固件可能存在一定的缺陷,或者zigbee设备在实际的应用中可能需要增加新功能,因此zigbee设备通常都会存在进行固件升级的需求。而在相关技术中,zigbee设备在进行固件升级时,通常是通过用户手动进行触发的,比如,当zigbee设备的固件存在最新版本时,服务端可以向zigbee设备发出一个最新版本固件的更新通知,zigbee设备可以通过系统界面将该更新通知提示给用户,然后由用户手动触发zigbee设备开始进行固件升级(比如可以点击系统界面中的升级按钮来触发zigbee设备进行固件升级),同时开始基于zigbee协议与服务端进行数据通信下载最新版本的固件来完成升级。然而,由用户手动触发zigbee设备进行固件升级,由于采用Zigbee协议的设备之间互相通信的传输速率较低,因此整个升级过程通常需要用户等待较长的时间,造成非常不好的用户体验。
基于此,在本公开中提出一种针对Zigbee设备执行静默升级的方案,当智能网关在确定当前应用环境中的Zigbee设备需要进行固件升级时,可以在后台静默下载最新版本的固件,并将下载的最新版本的固件推送给需要升级的Zigbee设备,当成功推送后再向需要升级的Zigbee设备下载固件升级指令,触发Zigbee设备进行固件升级,从而保证最新版本的固件以及固件升级均可以由智能网关在后台静默完成,对用户来说完全不感知,因此可以避免由于Zigbee设备间传输速率较低,而造成的Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
以下结合具体的应用场景对本公开的技术方案进行详细描述。
在示出的一种应用场景中,该应用场景可以是低功耗的智能家居环境,由于在低功耗的智能家居环境中,对智能设备功耗要求较高,而Zigbee协议 与Wi-Fi相比均有功耗较低的优点,因此在组建上述低功耗的智能家居环境时,均可以采用支持Zigbee协议,基于Zigbee协议进行数据通信的智能设备。例如,小米公司推出的一种“智能家庭的安全套装组合”包括智能网关、以及基于Zigbee协议进行通信的无线门铃按钮、人体红外运动传感器和门窗感应器。
在本例中,由于智能家居环境中的Zigbee设备均支持通过标准的Zigbee协议与智能网关的Zigbee模块进行通信,因此智能网关可以通过Zigbee模块与各Zigbee设备进行通信,来获取各Zigbee设备当前的固件版本。
同时,智能网关还可以通过Wi-Fi模块与服务端进行通信,来查询各Zigbee设备的最新固件版本。
在示出的一种实施方式中,智能网关可以通过Wi-Fi模块定时向服务端发送用于查询各Zigbee设备的最新固件版本的查询命令,然后通过获取返回返回的回应命令,来获取各Zigbee设备的最新固件版本。
其中,上述查询命令中可以携带智能网关所要查询的Zigbee设备的类型标识,以及该Zigbee设备当前的固件版本。上述服务端在收到该查询命令后,可以将该查询命令中携带的该Zigbee设备当前的固件版本,与本地保存的该Zigbee设备最新的固件版本进行比较,如果二者相同,此时该Zigbee设备的固件版本已经是最新版本,不需要进行固件版本更新,服务端在收到上述查询命令后可以不做响应,或者返回一个空值。如果二者不相同,此时该Zigbee设备需要进行固件版本更新,则可以正常响应该查询命令,向智能网关返回对应的回应命令。在该回应命令中,可以携带与该查询命令对应的查询结果,在该查询结果中可以携带智能网关所查询的Zigbee设备的类型标识,以及最新的固件版本。另外,在实际应用中,该回应命令中还可以携带该最新版本的固件的下载地址,以方面智能网关根据该下载地址下载最新版本的固件。
例如,在示出的一个例子中,上述查询命令的格式可以如下所示:
{method:
get_subdev_version,params:
[string(model),string(fw_version)]}
上述回应命令的格式可以如下所示:
{result:
[model:lumi.xxx.xxx,
fw_version:xxx,
hw_version:xxx,
url:http://xxx.ota.bin,md5:xxx,des:xxx]}
在以上示出的查询命令和回应命令中,参数model为所要查询的Zigbee设备的类型标识,用于唯一标识该设备;fw_version为所要查询的Zigbee设备的当前固件版本;hw_version为所要查询的Zigbee设备的最新的固件版本;url为最新的固件版本的下载地址。
另外,智能网关在定时发送上述查询命令时,可以基于设定的发送时间来发送;比如,该发送时间可以是每日22点。该设定的发送时间可以从预设的时间段中随机选择得到;例如,可以基于服务端的工作时间上的特点设置一个预设的时间段,比如假设服务端每日22点至凌晨6点为系统维护时间,通常不对外进行日常的业务通信,那么可以将上述预设的时间段设置为每日6点至每日22点,即服务端进行日常业务通信的时间段。智能网关在设定发送时间时,可以从该预设的时间段中随机抽取一个时间点,用于发送查询命令。由于服务端通常可以面向若干台智能网关进行服务,而如果所有智能网关基于同样的发送时间发送查询命令,来对下挂的Zigbee设备进行固件升级时,可能会由于数据访问量时间点集中而造成升级拥塞。因此,通过这种随机抽取发送时间点的方式,可以确保各智能网关发送查询命令的时间分散,从而避免造成升级拥塞的情况。
在本例中,当智能网关接收到服务端返回的回应命令后,可以读取该回应命令中携带的最新的固件版本,然后与获取到的Zigbee设备当前的固件版本进行比较,来判断该Zigbee设备当前的固件版本与最新的固件版本是否相同,如果该Zigbee设备当前的固件版本与最新的固件版本相同,表示该Zigbee 设备不需要执行固件版本升级,在这种情况下不需要进行特殊处理,该Zigbee设备可以仍然采用当前的固件版本进行启动和运行。
当然,如果该Zigbee设备当前的固件版本与最新的固件版本不相同,此时智能网关可以对该回应命令中携带的该最新的固件版本的下载地址,从服务端下载最新版本的固件。
当智能网关成功下载了最新版本的固件后,可以将该最新版本的固件推送给对应的Zigbee设备。其中,智能网关向对应的Zigbee设备推送最新版本的固件时,可以是主动推送,也可以是被动推送;例如,智能网关在将最新版本的固件下载完成后,可以立即基于Zigbee模块将下载完成的固件主动推送至各Zigbee设备;或者各Zigbee设备也可以定时向智能网关发送查询消息,用于查询智能网关本地是否保存了最新版本的固件,当智能网关在将最新版本的固件下载完成,并接收到了各Zigbee设备的上述查询消息后,可以将下载完成的最新版本的固件发送至各Zigbee设备。
在本例中,对于收到的由智能网关推送的最新版本的固件,各Zigbee设备可以在后台进行存储;其中,为了不影响设备的正常工作,各Zigbee设备在收到智能网关推送的最新版本的固件后,可以将接收到的固件储存在设备MCU的备用存储区,从而可以不影响设备当前的正常工作。
当智能网关将最新版本的固件成功推送至各Zigbee设备后,此时智能网关可以向需要升级的各Zigbee设备下发固件升级指令,各Zigbee设备在收到该固件升级指令后,各Zigbee设备可以基于存储在本地的最新版本的固件执行固件版本升级。
其中,Zigbee设备在基于最新版本的固件执行固件版本升级时,可以通过系统界面向用户输出一个提示消息,比如该提示消息可以是“是否升级到最新版本的固件”的提示消息,此时用户仍然可以通过触发该系统界面中的升级按钮,开始进行固件版本升级。
在进行固件版本升级的过程中,Zigbee设备可以进行重启操作,并在重启的过程中读取最新版本的固件,对设备MCU中存储的当前版本的固件进 行替换更新,当重启完成后,Zigbee设备可以裕兴最新版本的固件,此时固件版本的升级完成。
可见,通过这种方式,由于Zigbee设备在接收到智能网关下发的固件升级命令时,最新版本的固件已经提前下载到了本地,而且下载过程用户不感知,因此Zigbee设备可以立即通过已经存储在本地的最新版本的固件完成固件版本升级,对于用户来说,整个升级过程立即得到了响应,用户不需要进行任何的升级等待,可见有助于提升用户体验。
在以上实施例中,提出一种针对Zigbee设备执行静默升级的方案,通过在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件,将下载的所述最新版本的固件推送至Zigbee设备,并在将最新版本的固件成功推送至Zigbee设备后,再向Zigbee设备下发固件升级指令,以触发Zigbee设备基于最新版本的固件执行固件升级,因此可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,从而可以避免由于Zigbee设备间传输速率较低,Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
如图2所示,图2是根据一示例性实施例示出的另一种Zigbee设备的升级方法,该方法用于智能网关中,所述方法包括以下步骤:
在步骤201中,获取Zigbee设备当前的固件版本;
在步骤202中,向服务端查询所述Zigbee设备的最新固件版本;
在步骤203中,判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
在步骤204中,如果所述Zigbee设备当前的固件版本与所述最新固件版本不相同,向服务端下载所述最新版本的固件;
在步骤205中,将下载的所述最新版本的固件推送至所述Zigbee设备;
在步骤206中,当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
上述Zigbee设备,可以包括运行了Zigbee协议,并基于Zigbee协议进行数据通信的智能设备;例如,该Zigbee设备可以包括部署在低功耗的智能家居环境中的基于Zigbee协议进行数据通信的无线门铃按钮、人体红外运动传感器、门窗感应器或者其它类型的智能设备。
上述服务端,可以包括部署在云端的服务器、服务器集群或者基于服务器集群构建的云平台。该服务端用于保存Zigbee设备在进行固件升级时所需要的最新版本的固件。
上述智能网关,可以包括集成了Wi-Fi模块和Zigbee模块的网关设备,例如智能路由器或者服务器。该智能网关设备的Wi-Fi模块可以通过串口与Zigbee模块进行通信,该Wi-Fi模块可以通过Wi-Fi接入到互联网,与云端服务器进行数据通信。在实际应用中,上述智能网关可以作为核心设备,部署在基于Zigbee设备组建的应用环境中(比如低功耗的智能家居环境),该应用环境中的Zigbee设备可以通过接入智能网关的Wi-Fi模块,然后通过智能网关的Wi-Fi模块和Zigbee模块进行协议转换,来接入互联网,与云端的服务器进行数据通信。
在本例中,zigbee设备在出厂后,设备固件可能存在一定的缺陷,或者zigbee设备在实际的应用中可能需要增加新功能,因此zigbee设备通常都会存在进行固件升级的需求。而在相关技术中,zigbee设备在进行固件升级时,通常是通过用户手动进行触发的,比如,当zigbee设备的固件存在最新版本时,服务端可以向zigbee设备发出一个最新版本固件的更新通知,zigbee设备可以通过系统界面将该更新通知提示给用户,然后由用户手动触发zigbee设备开始进行固件升级(比如可以点击系统界面中的升级按钮来触发zigbee设备进行固件升级),同时开始基于zigbee协议与服务端进行数据通信下载最新版本的固件来完成升级。然而,由用户手动触发zigbee设备进行固件升级,由于采用Zigbee协议的设备之间互相通信的传输速率较低,因此整个升级过程通常需要用户等待较长的时间,造成非常不好的用户体验。
基于此,在本公开中提出一种针对Zigbee设备执行静默升级的方案,当 智能网关在确定当前应用环境中的Zigbee设备需要进行固件升级时,可以在后台静默下载最新版本的固件,并将下载的最新版本的固件推送给需要升级的Zigbee设备,当成功推送后再向需要升级的Zigbee设备下载固件升级指令,触发Zigbee设备进行固件升级,从而保证最新版本的固件以及固件升级均可以由智能网关在后台静默完成,对用户来说完全不感知,因此可以避免由于Zigbee设备间传输速率较低,而造成的Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
以下结合具体的应用场景对本公开的技术方案进行详细描述。
在示出的一种应用场景中,该应用场景可以是低功耗的智能家居环境,由于在低功耗的智能家居环境中,对智能设备功耗要求较高,而Zigbee协议与Wi-Fi相比均有功耗较低的优点,因此在组建上述低功耗的智能家居环境时,均可以采用支持Zigbee协议,基于Zigbee协议进行数据通信的智能设备。例如,小米公司推出的一种“智能家庭的安全套装组合”包括智能网关、以及基于Zigbee协议进行通信的无线门铃按钮、人体红外运动传感器和门窗感应器。
在本例中,由于智能家居环境中的Zigbee设备均支持通过标准的Zigbee协议与智能网关的Zigbee模块进行通信,因此智能网关可以通过Zigbee模块与各Zigbee设备进行通信,来获取各Zigbee设备当前的固件版本。
同时,智能网关还可以通过Wi-Fi模块与服务端进行通信,来查询各Zigbee设备的最新固件版本。
在示出的一种实施方式中,智能网关可以通过Wi-Fi模块定时向服务端发送用于查询各Zigbee设备的最新固件版本的查询命令,然后通过获取返回返回的回应命令,来获取各Zigbee设备的最新固件版本。
其中,上述查询命令中可以携带智能网关所要查询的Zigbee设备的类型标识,以及该Zigbee设备当前的固件版本。上述服务端在收到该查询命令后,可以将该查询命令中携带的该Zigbee设备当前的固件版本,与本地保存的该Zigbee设备最新的固件版本进行比较,如果二者相同,此时该Zigbee设备的 固件版本已经是最新版本,不需要进行固件版本更新,服务端在收到上述查询命令后可以不做响应,或者返回一个空值。如果二者不相同,此时该Zigbee设备需要进行固件版本更新,则可以正常响应该查询命令,向智能网关返回对应的回应命令。在该回应命令中,可以携带与该查询命令对应的查询结果,在该查询结果中可以携带智能网关所查询的Zigbee设备的类型标识,以及最新的固件版本。另外,在实际应用中,该回应命令中还可以携带该最新版本的固件的下载地址,以方面智能网关根据该下载地址下载最新版本的固件。
例如,在示出的一个例子中,上述查询命令的格式可以如下所示:
{method:
get_subdev_version,params:
[string(model),string(fw_version)]}
上述回应命令的格式可以如下所示:
{result:
[model:lumi.xxx.xxx,
fw_version:xxx,
hw_version:xxx,
url:http://xxx.ota.bin,md5:xxx,des:xxx]}
在以上示出的查询命令和回应命令中,参数model为所要查询的Zigbee设备的类型标识,用于唯一标识该设备;fw_version为所要查询的Zigbee设备的当前固件版本;hw_version为所要查询的Zigbee设备的最新的固件版本;url为最新的固件版本的下载地址。
另外,智能网关在定时发送上述查询命令时,可以基于设定的发送时间来发送;比如,该发送时间可以是每日22点。该设定的发送时间可以从预设的时间段中随机选择得到;例如,可以基于服务端的工作时间上的特点设置一个预设的时间段,比如假设服务端每日22点至凌晨6点为系统维护时间,通常不对外进行日常的业务通信,那么可以将上述预设的时间段设置为每日6点至每日22点,即服务端进行日常业务通信的时间段。智能网关在设定发 送时间时,可以从该预设的时间段中随机抽取一个时间点,用于发送查询命令。由于服务端通常可以面向若干台智能网关进行服务,而如果所有智能网关基于同样的发送时间发送查询命令,来对下挂的Zigbee设备进行固件升级时,可能会由于数据访问量时间点集中而造成升级拥塞。因此,通过这种随机抽取发送时间点的方式,可以确保各智能网关发送查询命令的时间分散,从而避免造成升级拥塞的情况。
在本例中,当智能网关接收到服务端返回的回应命令后,可以读取该回应命令中携带的最新的固件版本,然后与获取到的Zigbee设备当前的固件版本进行比较,来判断该Zigbee设备当前的固件版本与最新的固件版本是否相同,如果该Zigbee设备当前的固件版本与最新的固件版本相同,表示该Zigbee设备不需要执行固件版本升级,在这种情况下不需要进行特殊处理,该Zigbee设备可以仍然采用当前的固件版本进行启动和运行。
当然,如果该Zigbee设备当前的固件版本与最新的固件版本不相同,此时智能网关可以对该回应命令中携带的该最新的固件版本的下载地址,从服务端下载最新版本的固件。
当智能网关成功下载了最新版本的固件后,可以将该最新版本的固件推送给对应的Zigbee设备。其中,智能网关向对应的Zigbee设备推送最新版本的固件时,可以是主动推送,也可以是被动推送;例如,智能网关在将最新版本的固件下载完成后,可以立即基于Zigbee模块将下载完成的固件主动推送至各Zigbee设备;或者各Zigbee设备也可以定时向智能网关发送查询消息,用于查询智能网关本地是否保存了最新版本的固件,当智能网关在将最新版本的固件下载完成,并接收到了各Zigbee设备的上述查询消息后,可以将下载完成的最新版本的固件发送至各Zigbee设备。
在本例中,对于收到的由智能网关推送的最新版本的固件,各Zigbee设备可以在后台进行存储;其中,为了不影响设备的正常工作,各Zigbee设备在收到智能网关推送的最新版本的固件后,可以将接收到的固件储存在设备MCU的备用存储区,从而可以不影响设备当前的正常工作。
当智能网关将最新版本的固件成功推送至各Zigbee设备后,此时智能网关可以向需要升级的各Zigbee设备下发固件升级指令,各Zigbee设备在收到该固件升级指令后,各Zigbee设备可以基于存储在本地的最新版本的固件执行固件版本升级。
其中,Zigbee设备在基于最新版本的固件执行固件版本升级时,可以通过系统界面向用户输出一个提示消息,比如该提示消息可以是“是否升级到最新版本的固件”的提示消息,此时用户仍然可以通过触发该系统界面中的升级按钮,开始进行固件版本升级。
在进行固件版本升级的过程中,Zigbee设备可以进行重启操作,并在重启的过程中读取最新版本的固件,对设备MCU中存储的当前版本的固件进行替换更新,当重启完成后,Zigbee设备可以裕兴最新版本的固件,此时固件版本的升级完成。
可见,通过这种方式,由于Zigbee设备在接收到智能网关下发的固件升级命令时,最新版本的固件已经提前下载到了本地,而且下载过程用户不感知,因此Zigbee设备可以立即通过已经存储在本地的最新版本的固件完成固件版本升级,对于用户来说,整个升级过程立即得到了响应,用户不需要进行任何的升级等待,可见有助于提升用户体验。
在以上实施例中,提出一种针对Zigbee设备执行静默升级的方案,通过在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件,将下载的所述最新版本的固件推送至Zigbee设备,并在将最新版本的固件成功推送至Zigbee设备后,再向Zigbee设备下发固件升级指令,以触发Zigbee设备基于最新版本的固件执行固件升级,因此可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,从而可以避免由于Zigbee设备间传输速率较低,Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
与前述方法实施例相对应,本公开还提供了装置的实施例。
图3是根据一示例性实施例示出的一种Zigbee设备的升级装置的示意框 图。
如图3所示,根据一示例性实施例示出的一种Zigbee设备的升级装置300,包括:下载模块301、推送模块302、下发模块303;其中:
所述下载模块301,被配置为在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
所述推送模块301,被配置为将下载的所述最新版本的固件推送至所述Zigbee设备;
所述下发模块303,被配置为在所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
在以上实施例中,提出一种针对Zigbee设备执行静默升级的方案,通过在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件,将下载的所述最新版本的固件推送至Zigbee设备,并在将最新版本的固件成功推送至Zigbee设备后,再向Zigbee设备下发固件升级指令,以触发Zigbee设备基于最新版本的固件执行固件升级,因此可以实现在后台静默完成最新版本的固件的下载以及基于最新版本的固件进行固件升级的操作,而用户并不感知,从而可以避免由于Zigbee设备间传输速率较低,Zigbee设备升级的用户等待时间较长的问题,有助于提升用户体验。
请参见图4,图4是本公开根据一示例性实施例示出的另一种Zigbee设备的升级装置框图,该实施例在前述图3所示实施例的基础上,所述装置300还可以包括获取模块304、查询模块305、判断模块306和确定模块307;其中:
所述获取模块304,被配置为获取所述Zigbee设备当前的固件版本;
所述查询模块305,被配置为向所述服务端查询所述Zigbee设备的最新固件版本;
所述判断模块306,被配置为判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
所述确定模块307,被配置为在所述Zigbee设备当前的固件版本与所述最新固件版本不相同时,确定所述Zigbee设备需要进行固件升级。
请参见图5,图5是本公开根据一示例性实施例示出的另一种Zigbee设备的升级装置框图,该实施例在前述图4所示实施例的基础上,所述查询模块305可以包括发送子模块305A和获取子模块305B;其中:
所述发送子模块305A,被配置为基于设定的发送时间定时向所述服务端发送用于查询所述最新固件版本的查询命令;
所述获取子模块305B,被配置为获取所述服务端返回的与所述查询命令对应的查询结果;所述查询结果包括所述最新固件版本。
需要说明的是,上述图5所示的装置实施例中示出的第发送子模块305A和获取子模块305B的结构也可以包含在前述图3的装置实施例中,对此本公开不进行限制。
在以上实施例中,所述设定的发送时间从预设的时间段中随机选择得到。
请参见图6,图6是本公开根据一示例性实施例示出的另一种Zigbee设备的升级装置框图,该实施例在前述图5所示实施例的基础上,所述查询结果还可以包括与所述最新固件版本对应的下载地址;所述下载模块301可以包括下载子模块301A;其中:
所述下载子模块301A,被配置为基于所述下载地址向所述服务端下载所述最新版本的固件。
需要说明的是,上述图6所示的装置实施例中示出的下载子模块301A的结构也可以包含在前述图3-4的装置实施例中,对此本公开不进行限制。
上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方, 或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
相应的,本公开还提供一种Zigbee设备的升级装置,所述Zigbee设备的升级装置包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
相应的,本公开还提供一种智能网关,所述智能网关包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
图7是根据一示例性实施例示出的一种Zigbee设备的升级装置的结构示意图。
如图7所示,根据一示例性实施例示出的一种Zigbee设备的升级装置700,该装置700可以是作为智能网关的路由器、计算机,移动电话,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个 人数字助理等终端设备。
参照图7,装置700可以包括以下一个或多个组件:处理组件701,存储器702,电源组件703,多媒体组件704,音频组件705,输入/输出(I/O)的接口706,传感器组件707,以及通信组件708。
处理组件701通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件701可以包括一个或多个处理器709来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件701可以包括一个或多个模块,便于处理组件701和其它组件之间的交互。例如,处理部件701可以包括多媒体模块,以方便多媒体组件704和处理组件701之间的交互。
存储器702被配置为存储各种类型的数据以支持在装置700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器702可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件703为装置700的各种组件提供电力。电源组件703可以包括电源管理系统,一个或多个电源,及其它与为装置700生成、管理和分配电力相关联的组件。
多媒体组件704包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件704包括一个前置摄像头和/或后置摄像头。当装置700处于操作模式,如 拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件705被配置为输出和/或输入音频信号。例如,音频组件705包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器702或经由通信组件708发送。在一些实施例中,音频组件705还包括一个扬声器,用于输出音频信号。
I/O接口702为处理组件701和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件707包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件707可以检测到装置700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件707还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件707可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件707还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件707还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件708被配置为便于装置700和其它设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件708经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件708还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超 宽带(UWB)技术,蓝牙(BT)技术和其它技术来实现。
在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其它电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器702,上述指令可由装置700的处理器709执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
其中,当所述存储介质中的指令由所述处理器709执行时,使得装置700能够执行一种Zigbee设备的升级方法,包括:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
如图8所示,图8是根据一示例性实施例示出的一种Zigbee设备的升级装置800的一结构示意图。
例如,装置800可以被提供为一作为智能网关的服务器。参照图8,装置800包括处理组件822,其进一步包括一个或多个处理器,以及由存储器1332所代表的存储器资源,用于存储可由处理部件822的执行的指令,例如应用程序。存储器832中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件822被配置为执行指令,以执行上述Zigbee设备的升级方法。
装置800还可以包括一个电源组件826被配置为执行装置800的电源管理,一个有线或无线网络接口850被配置为将装置800连接到网络,和一个输入输出(I/O)接口858。
装置800可以在搭载独立的操作系统。当装置800搭载了独立的操作系统时,搭载的操作系统可以存储于存储器832中,装置800则可以运行存储在存储器832的操作系统,例如所述操作系统可以包括Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等。
其中,当所述存储器1332中的指令由所述处理组件1322执行时,使得装置800能够执行一种Zigbee设备的升级方法,包括:
当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
将下载的所述最新版本的固件推送至所述Zigbee设备;
当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (11)

  1. 一种Zigbee设备的升级方法,其特征在于,所述方法包括:
    当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
    将下载的所述最新版本的固件推送至所述Zigbee设备;
    当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述Zigbee设备当前的固件版本;
    向所述服务端查询所述Zigbee设备的最新固件版本;
    判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
    如果所述Zigbee设备当前的固件版本与所述最新固件版本不相同,确定所述Zigbee设备需要进行固件升级。
  3. 如权利要求2所述的方法,其特征在于,所述向所述服务端查询所述Zigbee设备最新的固件版本包括:
    基于设定的发送时间定时向所述服务端发送用于查询所述最新固件版本的查询命令;
    获取所述服务端返回的与所述查询命令对应的查询结果;所述查询结果包括所述最新固件版本。
  4. 如权利要求3所述的方法,其特征在于,所述设定的发送时间从预设的时间段中随机选择得到。
  5. 如权利要求3所述的方法,其特征在于,所述查询结果还包括与所述最新固件版本对应的下载地址;
    所述向服务端下载最新版本的固件包括:
    基于所述下载地址向所述服务端下载所述最新版本的固件。
  6. 一种Zigbee设备的升级装置,其特征在于,所述装置包括:
    下载模块,被配置为在Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
    推送模块,被配置为将下载的所述最新版本的固件推送至所述Zigbee设备;
    下发模块,被配置为在所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
  7. 如权利要求6所述的装置,其特征在于,所述装置还包括:
    获取模块,被配置为获取所述Zigbee设备当前的固件版本;
    查询模块,被配置为向所述服务端查询所述Zigbee设备的最新固件版本;
    判断模块,被配置为判断所述Zigbee设备当前的固件版本与所述最新固件版本是否相同;
    确定模块,被配置为在所述Zigbee设备当前的固件版本与所述最新固件版本不相同时,确定所述Zigbee设备需要进行固件升级。
  8. 如权利要求7所述的装置,其特征在于,所述查询模块包括:
    发送子模块,被配置为基于设定的发送时间定时向所述服务端发送用于查询所述最新固件版本的查询命令;
    获取子模块,被配置为获取所述服务端返回的与所述查询命令对应的查询结果;所述查询结果包括所述最新固件版本。
  9. 如权利要求8所述的方法,其特征在于,所述设定的发送时间从预设的时间段中随机选择得到。
  10. 如权利要求8所述的装置,其特征在于,所述查询结果还包括与所述最新固件版本对应的下载地址;
    所述下载模块包括:
    下载子模块,被配置为基于所述下载地址向所述服务端下载所述最新版本的固件。
  11. 一种Zigbee设备的升级装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    当Zigbee设备需要进行固件升级时,向服务端下载最新版本的固件;
    将下载的所述最新版本的固件推送至所述Zigbee设备;
    当所述最新版本的固件成功推送至所述Zigbee设备后,向所述Zigbee设备下发固件升级指令,以触发所述Zigbee设备基于所述最新版本的固件执行固件升级。
PCT/CN2016/092108 2016-05-25 2016-07-28 Zigbee设备的升级方法和装置 WO2017201861A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610356502.7 2016-05-25
CN201610356502.7A CN105847067A (zh) 2016-05-25 2016-05-25 Zigbee设备的升级方法和装置

Publications (1)

Publication Number Publication Date
WO2017201861A1 true WO2017201861A1 (zh) 2017-11-30

Family

ID=56594465

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092108 WO2017201861A1 (zh) 2016-05-25 2016-07-28 Zigbee设备的升级方法和装置

Country Status (4)

Country Link
US (1) US10324707B2 (zh)
EP (1) EP3249524A1 (zh)
CN (1) CN105847067A (zh)
WO (1) WO2017201861A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11327737B2 (en) 2017-04-21 2022-05-10 Johnson Controls Tyco IP Holdings LLP Building management system with cloud management of gateway configurations
CN107104836A (zh) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 Zigbee设备的固件升级方法和装置
EP4009612A1 (en) * 2017-09-29 2022-06-08 InterDigital CE Patent Holdings Smart gateway enabled low cost smart building solution
CN107783773B (zh) * 2017-11-22 2021-01-12 广东乐心医疗电子股份有限公司 固件烧录方法及系统
CN107729038A (zh) * 2017-11-27 2018-02-23 英业达科技有限公司 固件更新方法及可更新固件的基板管理控制器
CN108023778A (zh) * 2017-12-14 2018-05-11 深圳市斑点猫信息技术有限公司 固件升级方法及其系统
EP3506086B1 (en) * 2017-12-28 2024-05-22 ELATEC GmbH Method for updating or upgrading firmware of a radio frequency identification reader
CN108347346B (zh) * 2017-12-29 2021-03-12 乐鑫信息科技(上海)股份有限公司 一种mesh网络内设备升级方法
CN110365510A (zh) * 2018-04-10 2019-10-22 上海仪电(集团)有限公司中央研究院 一种可对网络节点批量ota升级的物联网网关及ota升级方法
CN110633097A (zh) * 2018-06-21 2019-12-31 新智数字科技有限公司 一种单片机的ota升级方法及装置
CN112015443A (zh) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 电子设备的升级方法、装置、电子设备和存储介质
CN110175042A (zh) * 2019-06-04 2019-08-27 深圳云里物里科技股份有限公司 一种固件升级方法、装置及其相关设备
CN112148324A (zh) * 2019-06-28 2020-12-29 施耐德电气(澳大利亚)有限公司 电子设备升级的方法、设备和计算机可读存储介质
CN111585801A (zh) * 2020-04-29 2020-08-25 杭州涂鸦信息技术有限公司 一种ZigBee设备升级方法及相关设备
CN111614529B (zh) * 2020-05-28 2022-04-01 深圳市欧瑞博科技股份有限公司 智能家居控制面板及其网络管理方法、电子设备
CN111970140B (zh) * 2020-06-28 2023-06-27 格创东智(深圳)科技有限公司 一种基于热更新实现的实时处理的方法及系统
CN112104477A (zh) * 2020-07-28 2020-12-18 四川虹美智能科技有限公司 电控端固件在线升级方法、系统和WiFi模块
CN112039697A (zh) * 2020-08-20 2020-12-04 海尔优家智能科技(北京)有限公司 用于物联设备升级的方法及系统、装置、设备
US11467822B2 (en) 2021-03-15 2022-10-11 Google Llc Methods for optics module firmware in-field upgrade
CN114422485B (zh) * 2022-01-27 2023-11-24 上海顺舟智能科技股份有限公司 一种Zigbee无线智能设备的固件更新方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (zh) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 设备固件升级系统及方法、设备管理服务器及移动终端
CN102541599A (zh) * 2011-12-27 2012-07-04 深圳创维-Rgb电子有限公司 一种电子设备在线升级的方法、系统及电视机
CN104579719A (zh) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 一种固件的升级方法和系统、上位机和光模块
US20160054778A1 (en) * 2014-08-21 2016-02-25 Samsung Electronics Co., Ltd. Method and electronic device for reducing current consumption by the electronic device

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10200504B2 (en) * 2007-06-12 2019-02-05 Icontrol Networks, Inc. Communication protocols over internet protocol (IP) networks
US20070093243A1 (en) * 2005-10-25 2007-04-26 Vivek Kapadekar Device management system
CN101636720A (zh) * 2007-03-20 2010-01-27 株式会社爱可信 具备应用程序更新管理功能的终端、应用程序更新管理程序以及系统
US20090075641A1 (en) * 2007-09-18 2009-03-19 Metropcs Wireless, Inc. Automated over-the-air firmware update for a wireless phone
US8266260B2 (en) * 2007-12-11 2012-09-11 Sharp Laboratories Of America, Inc. Method and system for updating the software of multiple network nodes
US8264371B2 (en) * 2008-01-03 2012-09-11 Siemens Industry, Inc. Method and device for communicating change-of-value information in a building automation system
US20100169877A1 (en) * 2008-12-30 2010-07-01 Erik Nils Ackerman Method Of Updating A Printing Device Via Syndication Services
US8214653B1 (en) * 2009-09-04 2012-07-03 Amazon Technologies, Inc. Secured firmware updates
KR20110107579A (ko) * 2010-03-25 2011-10-04 삼성전자주식회사 인쇄 제어 단말장치 및 펌웨어 업그레이드 방법
CN102136934B (zh) * 2010-10-21 2015-01-21 华为技术有限公司 实现Zigbee设备远程升级的方法、装置及网络系统
CN103460730B (zh) * 2011-02-08 2017-04-26 T移动美国公司 服务承载的动态绑定
IN2014CN04304A (zh) * 2011-12-09 2015-09-04 Motorola Mobility Inc
US8631239B2 (en) * 2012-01-12 2014-01-14 Facebook, Inc. Multiple system images for over-the-air updates
US8594850B1 (en) * 2012-09-30 2013-11-26 Nest Labs, Inc. Updating control software on a network-connected HVAC controller
US9189225B2 (en) * 2012-10-16 2015-11-17 Imprivata, Inc. Secure, non-disruptive firmware updating
US8938731B2 (en) * 2012-10-24 2015-01-20 Telefonaktiebolaget L M Ericsson (Publ) Cost optimization for firmware updates for globally mobile machine-to-machine devices
KR20160013842A (ko) * 2013-02-28 2016-02-05 파워매트 테크놀로지스 엘티디. 전기장치용 분산 무선전력 전송 네트워크의 관리 시스템들 및 관리방법들
US9710251B2 (en) * 2013-03-15 2017-07-18 Vivint, Inc. Software updates from a security control unit
US9639342B2 (en) * 2013-05-01 2017-05-02 Starkey Laboratories, Inc. Unobtrusive firmware updates for hearing assistance devices
CN103425507A (zh) * 2013-05-27 2013-12-04 林永宗 一种替换zigbee协议栈的zigbee固件更新方法
GB201413836D0 (en) * 2014-08-05 2014-09-17 Arm Ip Ltd Device security apparatus and methods
CN105335183A (zh) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 一种软件升级方法及系统
CN105472465B (zh) * 2014-08-15 2019-11-29 南京中兴新软件有限责任公司 机顶盒升级的方法及装置
US20170090909A1 (en) * 2015-09-25 2017-03-30 Qualcomm Incorporated Secure patch updates for programmable memories
US20170141968A1 (en) * 2015-11-13 2017-05-18 Acumera, Inc. Updating Electronic Devices Using a Push Model
US10419214B2 (en) * 2015-12-28 2019-09-17 Dell Products L.P. Mobile device management delegate for managing isolated devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610501A (zh) * 2009-07-16 2009-12-23 中兴通讯股份有限公司 设备固件升级系统及方法、设备管理服务器及移动终端
CN102541599A (zh) * 2011-12-27 2012-07-04 深圳创维-Rgb电子有限公司 一种电子设备在线升级的方法、系统及电视机
CN104579719A (zh) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 一种固件的升级方法和系统、上位机和光模块
US20160054778A1 (en) * 2014-08-21 2016-02-25 Samsung Electronics Co., Ltd. Method and electronic device for reducing current consumption by the electronic device

Also Published As

Publication number Publication date
US20170344357A1 (en) 2017-11-30
US10324707B2 (en) 2019-06-18
EP3249524A1 (en) 2017-11-29
CN105847067A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2017201861A1 (zh) Zigbee设备的升级方法和装置
EP3136793B1 (en) Method and apparatus for awakening electronic device
JP6381661B2 (ja) アプリケーション更新方法および装置
WO2016107078A1 (zh) 智能设备的绑定方法和装置
WO2016192326A1 (zh) 云名片的发送方法和装置
WO2016183992A1 (zh) 对账户与设备的控制关系进行管理的方法、装置和系统
RU2633189C2 (ru) Метод и устройство для обеспечения совместимости приложения для управления маршрутизатором и встроенного программного обеспечения маршрутизатора
US20170083220A1 (en) Method and apparatus for controlling devices
WO2016045320A1 (zh) 智能灯的控制方法及装置
WO2016206293A1 (zh) 运营商网络的接入方法和装置
WO2016033955A1 (zh) 一种升级方法、装置及设备
KR101808773B1 (ko) 목표 기능의 시작 방법, 장치, 시스템, 프로그램 및 기록매체
WO2019019014A1 (zh) 一种NB-IoT设备绑定方法和一种物联网控制系统
WO2016058334A1 (zh) 一种升级方法、装置及设备
WO2016134600A1 (zh) 智能设备检测方法和装置
WO2017071074A1 (zh) 建立连接的方法及装置
WO2017156960A1 (zh) 访问智能摄像头的方法及装置
US9954691B2 (en) Method and apparatus for binding intelligent device
TWI659662B (zh) 定位資訊收集方法、裝置及移動終端
WO2018191921A1 (zh) 设备管理方法及装置
WO2017088374A1 (zh) 网络状态信息展示方法及装置
WO2018028082A1 (zh) 定时方法及装置
WO2016173246A1 (zh) 基于云名片的电话呼叫方法及装置
WO2017035992A1 (zh) 消息的发送方法、装置、终端及路由器
WO2018166102A1 (zh) 一种多设备无线连接方法和设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16902848

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902848

Country of ref document: EP

Kind code of ref document: A1