×

Method, apparatus, and computer-readable storage medium for upgrading a ZigBee device

  • US 10,324,707 B2
  • Filed: 05/23/2017
  • Issued: 06/18/2019
  • Est. Priority Date: 05/25/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for upgrading a ZigBee device, wherein the method is performed by a gateway device including a WiFi module and a ZigBee module, the method comprises:

  • acquiring a current version of firmware of the ZigBee device;

    querying a server for a latest version of the firmware of the ZigBee device;

    judging whether the current version of the firmware of the ZigBee device is the same as the latest version of the firmware;

    determining that the firmware of the ZigBee device needs to be upgraded, if the current version of the firmware of the ZigBee device is different from the latest version of the firmware;

    downloading, when the firmware of the ZigBee device needs to be upgraded, the latest version of the firmware from the server to the gateway device via the WiFi module;

    pushing the latest version of the firmware to the ZigBee device via the ZigBee module; and

    issuing a firmware upgrade instruction to the ZigBee device after the latest version of the firmware is pushed to the ZigBee device successfully and only after the lasted version is stored in a backup storage of a microcontroller unit (MCU) of the ZigBee device, to trigger the firmware of the ZigBee device to be upgraded based on the latest version of the firmware,wherein the querying the server for the latest version of firmware of the ZigBee device comprises;

    sending, to the server, a query command for querying the latest version of the firmware based on a set sending time; and

    acquiring a query result returned from the server, the query result corresponding to the query command and including the latest version of the firmware, andwherein the query result further includes a download address corresponding to the latest version of the firmware, and the downloading of the latest version of the firmware from the server comprises;

    downloading the latest version of the firmware from the server based on the download address.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×