CN113849213A - OTA (over the air) upgrading system and method of edge device - Google Patents

OTA (over the air) upgrading system and method of edge device Download PDF

Info

Publication number
CN113849213A
CN113849213A CN202111204659.5A CN202111204659A CN113849213A CN 113849213 A CN113849213 A CN 113849213A CN 202111204659 A CN202111204659 A CN 202111204659A CN 113849213 A CN113849213 A CN 113849213A
Authority
CN
China
Prior art keywords
module
upgrading
edge
message bus
management module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111204659.5A
Other languages
Chinese (zh)
Inventor
王前慧
邓小红
胡涛
刘明鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Qiruike Technology Co Ltd
Original Assignee
Sichuan Qiruike Technology Co Ltd
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 Sichuan Qiruike Technology Co Ltd filed Critical Sichuan Qiruike Technology Co Ltd
Priority to CN202111204659.5A priority Critical patent/CN113849213A/en
Publication of CN113849213A publication Critical patent/CN113849213A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an OTA (over the air) upgrading system and method of edge equipment, comprising a unified virtual equipment management module, a distributed message bus module and an upgrading service module; the unified virtual equipment management module is used for reporting the product information and version information of each edge equipment to the distributed message bus module, receiving the message sent by the distributed message bus module and upgrading the edge equipment in batches; the distributed message bus module is mainly used for unifying the communication between the virtual equipment management module and the upgrading service module and is responsible for receiving, screening, processing and distributing messages; the upgrading service module is used for receiving the product information and the version information of the edge device, accessing the device firmware version of the server at regular time, downloading a version higher than that of the local device firmware to a specified file directory, and reporting the downloaded product information, the version information and the address of the file directory to the distributed message bus module.

Description

OTA (over the air) upgrading system and method of edge device
Technical Field
The invention relates to the technical field of application of the Internet of things, in particular to an OTA (over the air) upgrading system and method of edge equipment.
Background
With the rapid development of the internet of things, the internet of things is more and more mature, the internet of things is an application hotspot of the current society, various wireless communication protocols such as Zigbee, bluetooth, WIFI and the like prevail in the field of the internet of things, and edge devices mostly adopt the communication protocols.
There are two common methods for upgrading firmware of edge devices. One is to connect a computer by using a Universal Serial Bus (USB), and perform bluetooth firmware upgrade on data sent by the computer. One is an OTA upgrading mode, and the OTA upgrading refers to that a terminal downloads a package on a remote server through a wireless network to upgrade a system or an application.
However, the electronic equipment needs to be disassembled when the equipment firmware is upgraded by adopting the USB, and the operation mode of disassembling the electronic equipment after the electronic equipment is installed in a whole electronic equipment is inconvenient; some OTA upgrades need to realize upgrading through communication serial ports or key operation, need user operation, are unfavorable for thing networking terminal equipment to upgrade.
In patent CN201810952354.4 "a bluetooth OTA firmware upgrading device", a trigger command is sent to the controller through a key, and after receiving the trigger command, the controller sends the bluetooth upgrade firmware acquired through the communication interface to the bluetooth module for upgrading without requiring a mechanical dismounting device and a configuration server, but it requires a communication interface and a key device, thereby increasing hardware cost and requiring manual operation, which is inconvenient.
Patent CN202011149114.4 "a bluetooth device and firmware upgrading method and system thereof", scans broadcast packets in bluetooth connection range through bluetooth device; when the broadcast packet scanned by the Bluetooth equipment is an upgrading broadcast packet sent by external Bluetooth broadcast equipment, the Bluetooth equipment enters a firmware upgrading state, and the Bluetooth equipment updates the upgrading packet into firmware, so that the wireless firmware upgrading is realized, and the size of an electronic product can be effectively reduced; however, the bluetooth device and the upgrade service are connected and communicated through bluetooth broadcast, the bluetooth broadcast device is needed, the bluetooth broadcast device is an OTA server, the server needs to be configured and the server needs to be developed, the requirement on the server is increased, and the bluetooth device scans the broadcast packet in the bluetooth connection range, is only effective for the bluetooth device and has certain limitation.
The existing scheme for upgrading the firmware of the edge device through the OTA has the problems that an equipment upgrading device needs to be installed, the cost is high, or a system or application needs to be upgraded, the operation of a user is needed, the batch upgrading is inconvenient, a server needs to be configured and developed, long waiting time is consumed, and the like.
Disclosure of Invention
The invention aims to provide an OTA (over-the-air technology) upgrading system and method of edge equipment, which aim to solve the problems of high upgrading cost, inconvenient operation mode, long time consumption and the like of the edge equipment in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
an OTA upgrading system of edge equipment comprises a unified virtual equipment management module, a distributed message bus module and an upgrading service module;
the unified virtual equipment management module is used for reporting the product information and version information of each edge equipment to the distributed message bus module, receiving the message sent by the distributed message bus module and upgrading the edge equipment in batches;
the distributed message bus module is mainly used for unifying the communication between the virtual equipment management module and the upgrading service module and is responsible for receiving, screening, processing and distributing messages;
the upgrading service module is used for receiving the product information and the version information of the edge device, accessing the device firmware version of the server at regular time, downloading a version higher than that of the local device firmware to a specified file directory, and reporting the downloaded product information, the version information and the address of the file directory to the distributed message bus module.
In some embodiments, the unified virtual device management module comprises multiple types of multiple devices, including but not limited to bluetooth devices, ZigBee devices, dome lamps, gateways.
In some embodiments, the unified virtual device management module includes a universal protocol adaptation and virtual device management, and the unified virtual device management module can effectively adapt and manage edge devices of all wireless communication protocols.
In some embodiments, the unified virtual device management module and the upgrade service module are communicated with each other through a distributed message bus module, the unified virtual device management module and the upgrade service module need to be registered in the distributed message bus module at the same time, then an object for receiving and sending a message is determined by a module name, the distributed message bus module is started to screen and process the message, and meanwhile, the unified virtual device management module and the upgrade service module can be communicated with each other in an off-line condition.
In some embodiments, the upgrade server module accesses the server when a network exists, and may also set a timing access server; meanwhile, the upgrading server module immediately sends a message to the unified virtual equipment management module after downloading the upgrading firmware, immediately upgrades the firmware after receiving the message or sets free time to send the message to the unified virtual equipment management module, and upgrades the firmware after receiving the message in the free time period.
The invention also provides an OTA upgrading method of the edge device, which comprises the OTA upgrading system of the edge device, and the method mainly comprises the following steps:
1) the unified virtual equipment management module reports the product information and the version information of each edge equipment to the distributed message bus module;
2) the distributed message bus module filters the product information and the version information of each edge device and then sends the product information and the version information to the upgrading service module;
3) after receiving the message sent by the distributed message bus module, the upgrade service module accesses the server to acquire the edge device version information of the server;
4) the upgrading service module compares whether the edge equipment version of the server is larger than the local edge equipment version, and downloads the edge equipment upgrading firmware to the specified directory in batch when the edge equipment upgrading firmware is larger than the local edge equipment version;
5) the upgrading service module reports the product information, the version information and the file directory to the distributed message bus module;
6) the distributed message bus module issues the product information, the version information and the file directory to the unified virtual equipment management module, and the unified virtual equipment management module is set for immediate upgrading or idle upgrading.
Compared with the prior art, the invention has the beneficial effects that: OTA batch upgrading of the edge device can be effectively completed through the unified virtual device management module, the distributed message bus module and the upgrading service module. The method has the advantages that:
1. the method is suitable for all the edge devices of the wireless communication protocol, so that the edge devices can finish OTA batch upgrading;
2. the server does not need to be configured and developed pertinently, and only serves as a platform for storing the upgrade package, so that other equipment can conveniently access and download the upgrade package, and the applicability of the upgrade server is wide;
3. after downloading the upgrade package, the upgrade service can place the upgrade package in the equipment applying the system, and sends the path to the unified virtual equipment management module, the unified virtual equipment management module appoints the path to obtain the upgrade package without transmitting the upgrade package, and edge equipment such as a Bluetooth module does not need to store the upgrade package and does not occupy internal memories of the edge equipment such as a Bluetooth module;
4. the downloading of the upgrade package and the upgrading of the edge equipment can be carried out in a time period of leisure time of the equipment without hindering the use of the equipment.
5. The upgrading service module and the distributed message bus module can also be used for other upgrading, such as system upgrading, system information is sent to the upgrading service through the message module, and the upgrading service accesses and downloads a system upgrading package of the server for system upgrading.
6. The distributed message bus module and the unified virtual device management module can also be used for controlling and managing the edge devices by other modules, the control module can acquire the information of the edge devices through the message module, and then the message module sends the state of the devices to the unified virtual device management module to control the state of the edge devices. Therefore, the method provided by the application has strong practicability and wide applicability, can effectively finish OTA (over the air) batch upgrading of the edge equipment, and is suitable for an intelligent home system and a control management system of the edge equipment.
Drawings
Fig. 1 is a schematic diagram of an OTA upgrade system of an edge device according to an embodiment of the present invention;
fig. 2 is a flowchart of an OTA upgrade method of an edge device according to an embodiment of the present invention;
Detailed Description
The present invention will be further described with reference to the following examples, which are intended to illustrate only some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, other embodiments used by those skilled in the art without any creative effort belong to the protection scope of the present invention.
Example 1:
as shown in fig. 1-2, an OTA upgrading system for edge devices includes a unified virtual device management module, a distributed message bus module, and an upgrade service module;
the unified virtual equipment management module is used for reporting the product information and version information of each edge equipment to the distributed message bus module, receiving the message sent by the distributed message bus module and upgrading the edge equipment in batches; the unified virtual device management module comprises multiple types of multiple devices including but not limited to Bluetooth devices, ZigBee devices, spherical lamps and gateways.
The unified virtual equipment management module comprises a universal protocol adaptation module and a virtual equipment management module, and can effectively adapt and manage all the edge equipment of the wireless communication protocol.
The distributed message bus module is mainly used for unifying the communication between the virtual equipment management module and the upgrading service module and is responsible for receiving, screening, processing and distributing messages;
the upgrading service module is used for receiving the product information and the version information of the edge device, accessing the device firmware version of the server at regular time, downloading a version higher than that of the local device firmware to a specified file directory, and reporting the downloaded product information, the version information and the address of the file directory to the distributed message bus module. Meanwhile, the unified virtual equipment management module and the upgrading service module can communicate with each other in an off-line condition.
In some embodiments, the unified virtual device management module and the upgrade service module are communicated with each other through a distributed message bus module, the unified virtual device management module and the upgrade service module need to be registered in the distributed message bus module at the same time, then an object for receiving and sending a message is determined by a module name, the distributed message bus module is started to screen and process the message, and meanwhile, the unified virtual device management module and the upgrade service module can be communicated with each other in an off-line condition.
When the upgrade service module accesses the server, the formal server is used by default, and an input server address can be set, so that development and debugging of developers and testers are facilitated. The upgrading server module accesses the server when a network exists, and can also set a timing access server; the upgrading server module accesses the server when a network exists, and can also set a timing access server; meanwhile, the upgrading server module immediately sends a message to the unified virtual equipment management module after downloading the upgrading firmware, immediately upgrades the firmware after receiving the message or sets free time to send the message to the unified virtual equipment management module, and upgrades the firmware after receiving the message in the free time period.
The upgrade service module and the distributed message bus module can also be used for other upgrades, such as system upgrade, system information is sent to the upgrade service module through the distributed message bus module, and the upgrade service module accesses and downloads a system upgrade package of the server for system upgrade.
The distributed message bus module and the unified virtual device management module can also be used for controlling and managing the edge devices by other modules, and the control module can acquire the information of the edge devices through the message module and then send the states of the devices to the unified virtual device management module through the message module to control the states of the edge devices.
The invention also provides an OTA upgrading method of the edge device, which comprises the OTA upgrading system of the edge device, wherein the OTA upgrading system of the edge device is operated into the control panel by taking the smart home control panel as an example, and each module of the OTA upgrading system of the edge device is started when the panel is started.
The method mainly comprises the following steps:
1) the unified virtual equipment management module reports the product information and the version information of each edge equipment to the distributed message bus module;
2) the distributed message bus module filters the product information and the version information of each edge device and then sends the product information and the version information to the upgrading service module;
3) after receiving the message sent by the distributed message bus module, the upgrade service module accesses the server to acquire the edge device version information of the server;
4) the upgrading service module compares whether the edge equipment version of the server is larger than the local edge equipment version, and downloads the edge equipment upgrading firmware to the specified directory in batch when the edge equipment upgrading firmware is larger than the local edge equipment version;
5) the upgrading service module reports the product information, the version information and the file directory to the distributed message bus module;
6) the distributed message bus module issues the product information, the version information and the file directory to the unified virtual equipment management module, and the unified virtual equipment management module is set for immediate upgrading or idle upgrading.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (6)

1. An OTA upgrading system of edge equipment is characterized by comprising a unified virtual equipment management module, a distributed message bus module and an upgrading service module;
the unified virtual equipment management module is used for reporting the product information and version information of each edge equipment to the distributed message bus module, receiving the message sent by the distributed message bus module and upgrading the edge equipment in batches;
the distributed message bus module is mainly used for unifying the communication between the virtual equipment management module and the upgrading service module and is responsible for receiving, screening, processing and distributing messages;
the upgrading service module is used for receiving the product information and the version information of the edge device, accessing the device firmware version of the server at regular time, downloading a version higher than that of the local device firmware to a specified file directory, and reporting the downloaded product information, the version information and the address of the file directory to the distributed message bus module.
2. The OTA upgrade system for edge devices according to claim 1, wherein the unified virtual device management module comprises multiple types of devices including but not limited to Bluetooth device, ZigBee device, globe lamp, gateway.
3. The OTA upgrade system for edge devices according to claim 1, wherein the unified virtual device management module comprises generic protocol adaptation and virtual device management, and the unified virtual device management module is capable of efficiently adapting and managing edge devices of all wireless communication protocols.
4. The OTA upgrading system for edge devices according to claim 1, wherein the unified virtual device management module and the upgrade service module communicate with each other through a distributed message bus module, the unified virtual device management module and the upgrade service module need to be registered in the distributed message bus module at the same time, then determine the receiving and sending objects of the messages through module names, start the distributed message bus module to perform message screening and processing, and simultaneously, the unified virtual device management module and the upgrade service module can communicate with each other offline.
5. The OTA upgrade system for edge devices according to claim 1, wherein the upgrade server module accesses the server when there is a network, and also can set a timing access server; meanwhile, the upgrading server module immediately sends a message to the unified virtual equipment management module after downloading the upgrading firmware, immediately upgrades the firmware after receiving the message or sets free time to send the message to the unified virtual equipment management module, and upgrades the firmware after receiving the message in the free time period.
6. An OTA upgrade method of an edge device, comprising the OTA upgrade system of an edge device according to any one of claims 1 to 5, the method mainly comprising the steps of:
1) the unified virtual equipment management module reports the product information and the version information of each edge equipment to the distributed message bus module;
2) the distributed message bus module filters the product information and the version information of each edge device and then sends the product information and the version information to the upgrading service module;
3) after receiving the message sent by the distributed message bus module, the upgrade service module accesses the server to acquire the edge device version information of the server;
4) the upgrading service module compares whether the edge equipment version of the server is larger than the local edge equipment version, and downloads the edge equipment upgrading firmware to the specified directory in batch when the edge equipment upgrading firmware is larger than the local edge equipment version;
5) the upgrading service module reports the product information, the version information and the file directory to the distributed message bus module;
6) the distributed message bus module issues the product information, the version information and the file directory to the unified virtual equipment management module, and the unified virtual equipment management module is set for immediate upgrading or idle upgrading.
CN202111204659.5A 2021-10-15 2021-10-15 OTA (over the air) upgrading system and method of edge device Pending CN113849213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111204659.5A CN113849213A (en) 2021-10-15 2021-10-15 OTA (over the air) upgrading system and method of edge device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111204659.5A CN113849213A (en) 2021-10-15 2021-10-15 OTA (over the air) upgrading system and method of edge device

Publications (1)

Publication Number Publication Date
CN113849213A true CN113849213A (en) 2021-12-28

Family

ID=78978571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111204659.5A Pending CN113849213A (en) 2021-10-15 2021-10-15 OTA (over the air) upgrading system and method of edge device

Country Status (1)

Country Link
CN (1) CN113849213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661821A (en) * 2023-05-10 2023-08-29 浙江简捷物联科技有限公司 Application upgrading method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889589A (en) * 2019-02-18 2019-06-14 闪联信息技术工程中心有限公司 One kind realizing embedded hardware OTA upgrade-system and method based on block chain
CN110071819A (en) * 2018-01-22 2019-07-30 江苏迪纳数字科技股份有限公司 A kind of polymorphic type internet of things equipment remote update system
CN110769411A (en) * 2019-10-23 2020-02-07 厦门四信通信科技有限公司 Method, device, equipment and system for stably realizing batch OTA (over the air) upgrade of terminal equipment
US20200151335A1 (en) * 2018-11-12 2020-05-14 Thirdwayv, Inc Secure over-the-air firmware upgrade
CN111417112A (en) * 2020-02-19 2020-07-14 成都四相致新科技有限公司 Distributed OTA gateway networking and terminal access method and OTA upgrading system
CN112913189A (en) * 2020-12-28 2021-06-04 华为技术有限公司 OTA (over the air) upgrading method and device
CN113031980A (en) * 2019-12-24 2021-06-25 华为技术有限公司 OTA system software upgrading control method and terminal equipment
CN114095538A (en) * 2021-11-18 2022-02-25 四川启睿克科技有限公司 Bidirectional authentication method for OTA (over the air) upgrading of Internet of things equipment based on block chain technology

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071819A (en) * 2018-01-22 2019-07-30 江苏迪纳数字科技股份有限公司 A kind of polymorphic type internet of things equipment remote update system
US20200151335A1 (en) * 2018-11-12 2020-05-14 Thirdwayv, Inc Secure over-the-air firmware upgrade
CN109889589A (en) * 2019-02-18 2019-06-14 闪联信息技术工程中心有限公司 One kind realizing embedded hardware OTA upgrade-system and method based on block chain
CN110769411A (en) * 2019-10-23 2020-02-07 厦门四信通信科技有限公司 Method, device, equipment and system for stably realizing batch OTA (over the air) upgrade of terminal equipment
CN113031980A (en) * 2019-12-24 2021-06-25 华为技术有限公司 OTA system software upgrading control method and terminal equipment
CN111417112A (en) * 2020-02-19 2020-07-14 成都四相致新科技有限公司 Distributed OTA gateway networking and terminal access method and OTA upgrading system
CN112913189A (en) * 2020-12-28 2021-06-04 华为技术有限公司 OTA (over the air) upgrading method and device
CN114095538A (en) * 2021-11-18 2022-02-25 四川启睿克科技有限公司 Bidirectional authentication method for OTA (over the air) upgrading of Internet of things equipment based on block chain technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHANGQING SUN等: "Design of Over-the-Air Firmware Update and Management for IoT Device with Cloud-based RESTful Web Services", 《2021 CHINA AUTOMATION CONGRESS (CAC)》, 14 March 2022 (2022-03-14), pages 5081 *
刘志军等: "基于OTA的车辆ECU软件远程刷写系统", 《汽车与驾驶维修(维修版)》, no. 06, 10 June 2020 (2020-06-10), pages 62 - 64 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661821A (en) * 2023-05-10 2023-08-29 浙江简捷物联科技有限公司 Application upgrading method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101577901B (en) Wireless access platform and equipment upgrading management system and method thereof
CN102739484B (en) The driver update method of equipment
US10958618B2 (en) ESIM-based card pool system and control method thereof
CN103023681B (en) Smart home control device, update method
CN100391176C (en) Method and system for remote updating function of domestic apparatus
CN102694870B (en) The online upgrading method of the gateway of dynamically allocate address
CN101951400B (en) Software installation and upgrading method of application terminal in home network and system thereof
US6653933B2 (en) Autonomous local area distributed network
CN106301959B (en) Gateway batch upgrading method and system based on WINDOWS and LINUX platform
CN103517110A (en) Multi-screen interaction communication system and method
CN102722393B (en) The installation method of device driver
CN108512747A (en) The plug-in management method and home gateway of home gateway, communication system
CN101383746A (en) Access control method and system for wireless network
CN111367542A (en) Household appliance and household appliance firmware upgrading method
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
CN113849213A (en) OTA (over the air) upgrading system and method of edge device
KR101672868B1 (en) Method and system for provisioning software in internet of thing(IOT) device
CN109451354B (en) Terminal and method for awakening same
CN113904893A (en) Modbus protocol-based slave device intelligent discovery and management method and device
CN106648805A (en) Intelligent device, intelligent system, and method for intelligently installing application
US11177977B2 (en) Method and system for GRE tunnel control based on client activity detection
CN113242152B (en) Method for upgrading data terminals in batches based on optical network
CN114745740A (en) Intelligent household appliance upgrading system and method
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
CN111404739B (en) System for configuring serial port networking attribute

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination