CN111857786A - Firmware upgrading method and system based on cloud - Google Patents

Firmware upgrading method and system based on cloud Download PDF

Info

Publication number
CN111857786A
CN111857786A CN202010524347.1A CN202010524347A CN111857786A CN 111857786 A CN111857786 A CN 111857786A CN 202010524347 A CN202010524347 A CN 202010524347A CN 111857786 A CN111857786 A CN 111857786A
Authority
CN
China
Prior art keywords
cloud
equipment
slave
backup
firmware
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.)
Withdrawn
Application number
CN202010524347.1A
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.)
Vatti Co Ltd
Original Assignee
Vatti 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 Vatti Co Ltd filed Critical Vatti Co Ltd
Priority to CN202010524347.1A priority Critical patent/CN111857786A/en
Publication of CN111857786A publication Critical patent/CN111857786A/en
Withdrawn 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
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a firmware upgrading method and system based on a cloud, which comprises the following steps: the cloud equipment detects whether firmware upgrading exists; when the cloud equipment detects that the firmware upgrade exists, backing up self data; after the cloud equipment finishes backup, the cloud equipment transmits backup data to the cloud backup equipment and starts the cloud backup equipment to provide service for slave equipment; the cloud equipment carries out firmware upgrading; after the firmware of the cloud equipment is upgraded, the cloud backup equipment is switched to the cloud equipment to provide service for the slave equipment; and the slave equipment runs the function after the firmware is upgraded. The upgrading function can be enjoyed on the slave equipment without upgrading on the slave equipment. The risk that the slave equipment cannot be used normally due to upgrade failure is avoided, and the cost of upgrade after-sale maintenance is reduced.

Description

Firmware upgrading method and system based on cloud
Technical Field
The invention relates to the technical field of internet, in particular to a firmware upgrading method and system based on a cloud.
Background
Nowadays, internet of things equipment is ubiquitous and plays an indispensable role in various fields, and the internet of things equipment comprises two blocks, namely an equipment hardware end. Generally, the electronic device is composed of various electronic materials, and the configuration of the electronic device is determined as soon as birth; the second is the device side software side, also called firmware side. As with many handsets, OTA (over the air) system upgrades are supported. Most OTA (Over-the-air technology) products are matched with equipment for upgrading through an APP end, the general flow is that the equipment end acquires file data streams through wireless protocols such as HTTP, UDP, TCP, Bluetooth and the like, the equipment end writes an upgrading backup flash address, and after the writing and verification are completed, a starting address is switched to complete firmware upgrading. Almost all need rely on wireless transmission protocol to intervene, in case wireless network or bluetooth abnormal interruption will lead to the failure of upgrading, have the risk that equipment end can't normally use. In addition, firmware upgrade services also require maintenance by after-market technicians, which is self-evident in maintenance costs. In addition, if the user is a user group of middle-aged and elderly people, or a group of people who are not very good at operating or even have no operating capability on the aspect of electronic equipment, under the extreme application scene, the equipment upgrading meets the application bottleneck.
Disclosure of Invention
The present invention solves one of the problems in the related art to a certain extent, and therefore an object of the present invention is to provide a cloud-based firmware upgrade method, which can enjoy upgrade function on a slave device without upgrading the slave device.
The above purpose is realized by the following technical scheme:
the cloud equipment detects whether firmware upgrading exists;
when the cloud equipment detects that the firmware upgrade exists, backing up self data;
after the cloud equipment finishes backup, the cloud equipment transmits backup data to the cloud backup equipment and starts the cloud backup equipment to provide service for the slave equipment;
the cloud equipment carries out firmware upgrading;
after the firmware of the cloud equipment is upgraded, the cloud backup equipment is switched to the cloud equipment to provide service for the slave equipment;
and the slave equipment runs the function after the firmware is upgraded.
As a further improvement of the present invention, before the cloud device detects whether there is an upgrade, the method further includes the following steps: the cloud device provides services for the slave device.
As a further improvement of the present invention, the step of providing the service for the slave device by the cloud device specifically includes: the slave device establishes communication connection with the cloud terminal through a high-speed wireless network and transmits the operation information to the cloud terminal; the cloud end forwards the operation information to the cloud equipment; the cloud equipment processes the operation information and outputs an operation result to the cloud end; the cloud forwards the operation result to the slave equipment; and receiving the output operation result from the equipment and executing.
As a further improvement of the present invention, the step of starting the cloud backup device to provide service for the slave device specifically includes: the slave device establishes communication connection with the cloud terminal through a high-speed wireless network and transmits the operation information to the cloud terminal; the cloud end forwards the operation information to the cloud backup equipment; the cloud backup device processes the operation information and outputs an operation result to the cloud end; the cloud forwards the operation result to the slave equipment; and receiving the output operation result from the equipment and executing.
As a further improvement of the present invention, the high-speed wireless network includes: 4G, 5G or WIFI 6.
As a further improvement of the invention, the cloud equipment comprises virtual cloud equipment and an entity center equipment group.
Another objective of the present invention is to provide a cloud-based upgrade system, which can allow a slave device to enjoy an upgrade function without upgrading the slave device.
The above purpose is realized by the following technical scheme:
a cloud-based upgrade system, comprising a slave device, a cloud device and a cloud backup device, wherein: the slave device is in communication connection with a cloud end through a high-speed wireless network, and is used for transmitting information; deploying cloud equipment and cloud backup equipment at the cloud end, wherein the cloud equipment is used for making logic judgment or outputting an operation result; the cloud backup device is used for replacing the cloud device to make logic judgment or output an operation result when the cloud device is upgraded; the cloud end is used for forwarding the operation information of the slave device to the cloud device or the cloud backup device, and transmitting the operation result output by the cloud device or the cloud backup device to the slave device.
Compared with the prior art, the invention at least comprises the following beneficial effects:
1. the invention provides a firmware upgrading method based on a cloud, which can enjoy upgrading functions on slave equipment without upgrading the slave equipment, has low hardware cost of the slave equipment, can avoid the risk that the slave equipment cannot be normally used due to upgrading failure, and reduces the cost of upgrading after-sale maintenance.
2. The invention provides a cloud-based upgrading system which can enjoy upgrading functions on slave equipment without upgrading on the slave equipment.
Drawings
Fig. 1 is a schematic flowchart illustrating a method for upgrading a cloud-based firmware according to an embodiment;
fig. 2 is a schematic flowchart illustrating a cloud-based firmware upgrade method according to an embodiment;
fig. 3 is a schematic flowchart of a service provided by a cloud device to a slave device in an embodiment;
FIG. 4 is a diagram illustrating a connection relationship among a cloud device, a cloud end, and a slave device in an embodiment;
fig. 5 is a schematic flowchart of a service provided by a cloud backup device to a slave device in an embodiment;
FIG. 6 is a diagram illustrating a connection relationship among a cloud backup device, a cloud end, and a slave device in an embodiment;
fig. 7 is a schematic diagram illustrating a slave device establishing a communication connection with a cloud terminal through a high-speed wireless network according to an embodiment.
Detailed Description
The present invention is illustrated by the following examples, but the present invention is not limited to these examples. Modifications to the embodiments of the invention or equivalent substitutions of parts of technical features without departing from the spirit of the invention are intended to be covered by the scope of the claims of the invention.
The first embodiment is as follows:
referring to fig. 1, a method for upgrading a cloud-based firmware according to the present invention is shown, and includes the following steps:
step S1: the cloud equipment 1 detects whether firmware upgrading exists;
step S2: when the cloud equipment 1 detects that the firmware upgrade exists, backing up the data of the cloud equipment;
step S3: after the cloud equipment 1 finishes the backup, the cloud equipment 1 transmits backup data to cloud backup equipment 2 and starts the cloud backup equipment 2 to provide services for slave equipment 4;
step S4: the cloud equipment 1 carries out firmware upgrading;
step S5: after the firmware of the cloud equipment 1 is upgraded, the cloud backup equipment 2 is switched to the cloud equipment 1 to provide service for the slave equipment 4;
step S6: the slave device 4 runs the firmware upgraded functionality.
Most OTA (Over-the-air technology) products are matched with equipment for upgrading through an APP end, the general flow is that the equipment end acquires file data streams through wireless protocols such as HTTP, UDP, TCP, Bluetooth and the like, the equipment end writes an upgrading backup flash address, and after the writing and verification are completed, a starting address is switched to complete firmware upgrading. In the prior art, equipment upgrading almost needs to be conducted by means of a wireless transmission protocol, upgrading failure can be caused once a wireless network or Bluetooth is abnormally interrupted, and the risk that an equipment end cannot be normally used exists. In addition, the firmware upgrading service also needs maintenance of after-sales technicians, and the maintenance cost is high. In addition, if the user is a user group of middle-aged and elderly people, or a group of people who are not very good at operating or even have no operating capability on the aspect of electronic equipment, under the extreme application scene, the equipment upgrading meets the application bottleneck. The invention provides a firmware upgrading method based on a cloud end, firmware upgrading is carried out on a cloud device 1, upgrading is not required to be carried out on a slave device 4, backup is carried out on the cloud device 1 before upgrading, a cloud backup device 2 receives backup of the cloud device 1, the cloud backup device 2 provides service for the slave device 4 during upgrading, normal use of the slave device 4 is not influenced during upgrading, the cloud device 1 provides service for the slave device 4 after upgrading is completed, the slave device 4 can run a firmware upgrading function, upgrading is not required to be carried out on the slave device 4, functions after firmware upgrading can be enjoyed on the slave device 4, latest operation experience is enjoyed, a user does not need to bear the risk that the slave device 4 cannot be normally used due to failure of firmware upgrading, cost of after-sale maintenance of upgrading is reduced, hardware cost of the slave device 4 is saved, hardware supporting complete functions is not required to be equipped on the slave device 4, only basic hardware such as sensors, network modules and the like need to be equipped.
Example two:
a cloud-based firmware upgrade method, which is different from the first embodiment in that, as shown in fig. 2, before step S1, the method further includes the following step S0: the cloud device 1 provides services for the slave device 4.
Step S0: the cloud device 1 provides service for the slave device 4;
step S1: the cloud equipment 1 detects whether firmware upgrading exists;
step S2: when the cloud equipment 1 detects that the firmware upgrade exists, backing up the data of the cloud equipment;
step S3: after the cloud equipment 1 finishes the backup, the cloud equipment 1 transmits backup data to cloud backup equipment 2 and starts the cloud backup equipment 2 to provide services for slave equipment 4;
step S4: the cloud equipment 1 carries out firmware upgrading;
step S5: after the firmware of the cloud equipment 1 is upgraded, the cloud backup equipment 2 is switched to the cloud equipment 1 to provide service for the slave equipment 4;
step S6: the slave device 4 runs the firmware upgraded functionality.
Before the cloud equipment 1 detects that the firmware upgrade exists, the cloud equipment 1 provides services for the slave equipment 4; when the firmware is upgraded, the cloud backup device 2 provides service for the slave device; after the upgrade is completed, the cloud backup device 2 is switched to the cloud device 1 to provide service for the slave device 4. Therefore, the normal use of the slave device 4 is not influenced no matter whether the firmware is upgraded or not or the upgrading state is not influenced, and the use by a user is facilitated.
Example three:
as shown in fig. 3, 4, 7 and step S0, the step of providing the service for the slave device 4 by the cloud device 1 specifically includes:
step S01', the slave device 4 establishes communication connection with the cloud 3 through a high-speed wireless network and transmits the operation information to the cloud 3;
step S02', the cloud end 3 forwards the operation information to the cloud equipment 1;
step S03', the cloud device 1 processes the operation information and outputs the operation result to the cloud end 3;
step S04', the cloud end 3 forwards the operation result to the slave device 4;
step S05' receives the output operation result from the device 4 and executes.
The cloud equipment 1 is deployed at the cloud end 3, and the cloud equipment 1 comprises virtual cloud equipment 1 and an entity center equipment group. The cloud device 1 provides services for the slave device 4, and the slave device 4 is responsible for transparently transmitting data and transparently transmitting operation parameters, such as acquired temperature, hardware pin level, flash read-write address, program operation address and the like. The slave device 4 forwards the operation information to the cloud device 1 through the cloud end 3, the cloud device 1 receives the operation information of the slave device 4 to make a logic judgment or output an operation result, all operations are completed by the cloud end 3, the cloud end 3 forwards the operation result to the slave device 4, and the slave device 4 executes the operation result.
Preferably, the high-speed wireless network includes: 4G, 5G or WIFI 6. The cloud device 1 includes a virtual cloud device and an entity center device group.
Example four:
as shown in fig. 5, 6, and 7, in step S3, the step of starting the cloud backup device 2 to provide a service for the slave device 4 specifically includes:
step S31: the slave device 4 establishes communication connection with the cloud 3 through a high-speed wireless network and transmits the operation information to the cloud 3;
step S32: the cloud end 3 forwards the operation information to the cloud backup device 2;
step S33: the cloud backup device 2 processes the operation information and outputs an operation result to the cloud end 3;
step S34: the cloud 3 forwards the operation result to the slave device 4;
step S35: the slave device 4 receives the output operation result and executes it.
When the upgrade exists, the cloud equipment 1 performs backup, and the cloud backup equipment 2 receives the backup of the cloud equipment 1 to provide service for the slave equipment 4, so that the slave equipment 4 can be normally used in the upgrade process, and the use by a user is facilitated. Preferably, the high-speed wireless network includes: 4G, 5G or WIFI 6.
Example five:
as shown in fig. 6 and 7, the embodiment discloses a cloud-based upgrade system, which includes a slave device 4, a cloud 3, a cloud device 1, and a cloud backup device 2, wherein: the slave device 4 establishes communication connection with the cloud 3 through a high-speed wireless network, and the slave device 4 is used for transmitting information; deploying cloud equipment 1 and cloud backup equipment 2 at the cloud end 3, wherein the cloud equipment 1 is used for making logic judgment or outputting an operation result; the cloud backup device 2 is used for replacing the cloud device 1 to make logic judgment or output an operation result when the cloud device 1 is upgraded; the cloud end 3 is configured to forward the operation information of the slave device 4 to the cloud device 1 or the cloud backup device 2, and transmit the operation result output by the cloud device 1 or the cloud backup device 2 to the slave device 4. When the firmware upgrading exists in the upgrading system, the cloud backup device 2 replaces the cloud device 1 to make logic judgment or output an operation result to provide service for the slave device 4, so that the slave device 4 can be normally used during the firmware upgrading period, the influence of the firmware upgrading is avoided, and the use by a user is facilitated.
The above preferred embodiments should be considered as examples of the embodiments of the present application, and technical deductions, substitutions, improvements and the like similar to, similar to or based on the embodiments of the present application should be considered as the protection scope of the present patent.

Claims (7)

1. A firmware upgrading method based on cloud is characterized by comprising the following steps:
the method comprises the steps that cloud equipment (1) detects whether firmware upgrading exists;
when the cloud equipment (1) detects that the firmware upgrade exists, backing up self data;
after the cloud equipment (1) completes backup, the cloud equipment (1) transmits backup data to the cloud backup equipment (2) and starts the cloud backup equipment (2) to provide service for the slave equipment (4);
the cloud equipment (1) carries out firmware upgrading;
after the firmware of the cloud equipment (1) is upgraded, the cloud backup equipment (2) is switched to the cloud equipment (1) to provide service for the slave equipment (4);
the slave device (4) runs the function after the firmware is upgraded.
2. The cloud-based firmware upgrading method according to claim 1, wherein before the cloud device (1) detects whether the upgrade exists, the method further comprises the following steps:
the cloud device (1) provides services for the slave device (4).
3. The cloud-based firmware upgrading method according to claim 2, wherein the step of the cloud device (1) providing service for the slave device (4) is specifically as follows:
the slave equipment (4) establishes communication connection with the cloud end (3) through a high-speed wireless network and transmits the operation information to the cloud end (3);
the cloud end (3) forwards the operation information to the cloud equipment (1);
the cloud equipment (1) processes the operation information and outputs an operation result to the cloud end (3);
the cloud (3) forwards the operation result to the slave equipment (4);
and receiving the output operation result from the equipment (4) and executing.
4. The cloud-based firmware upgrading method according to claim 1, wherein the step of starting the cloud backup device (2) to provide service for the slave device (4) specifically comprises:
the slave equipment (4) establishes communication connection with the cloud end (3) through a high-speed wireless network and transmits the operation information to the cloud end (3);
the cloud end (3) forwards the operation information to the cloud backup device (2);
the cloud backup device (2) processes the operation information and outputs an operation result to the cloud end (3);
the cloud (3) forwards the operation result to the slave equipment (4);
and receiving the output operation result from the equipment (4) and executing.
5. The cloud-based firmware upgrade method according to claim 3 or 4, wherein the high-speed wireless network comprises: 4G, 5G or WIFI 6.
6. The cloud-based firmware upgrade method according to any one of claims 1 to 4, wherein the cloud device (1) comprises a virtual cloud device and a physical center device group.
7. The utility model provides an upgrading system based on high in clouds which characterized in that: including slave unit, high in the clouds, cloud equipment and cloud backup device, wherein: the slave device is in communication connection with a cloud end through a high-speed wireless network, and is used for transmitting information; deploying cloud equipment and cloud backup equipment at the cloud end, wherein the cloud equipment is used for making logic judgment or outputting an operation result; the cloud backup device is used for replacing the cloud device to make logic judgment or output an operation result when the cloud device is upgraded; the cloud end is used for forwarding the operation information of the slave device to the cloud device or the cloud backup device, and transmitting the operation result output by the cloud device or the cloud backup device to the slave device.
CN202010524347.1A 2020-06-10 2020-06-10 Firmware upgrading method and system based on cloud Withdrawn CN111857786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010524347.1A CN111857786A (en) 2020-06-10 2020-06-10 Firmware upgrading method and system based on cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010524347.1A CN111857786A (en) 2020-06-10 2020-06-10 Firmware upgrading method and system based on cloud

Publications (1)

Publication Number Publication Date
CN111857786A true CN111857786A (en) 2020-10-30

Family

ID=72987609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010524347.1A Withdrawn CN111857786A (en) 2020-06-10 2020-06-10 Firmware upgrading method and system based on cloud

Country Status (1)

Country Link
CN (1) CN111857786A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051941A (en) * 2007-05-17 2007-10-10 华为技术有限公司 Process upgrading method and system
CN104615506A (en) * 2015-02-13 2015-05-13 浪潮电子信息产业股份有限公司 Logic control based BIOS (basic input/output system) and BMC (baseboard management controller) backup method
CN107493190A (en) * 2017-08-07 2017-12-19 东软集团股份有限公司 Node upgrade method and device
US20190173755A1 (en) * 2016-07-25 2019-06-06 Ajay JADHAV Cloud device system
CN110377307A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 A kind of car body controller firmware upgrade method, terminal, system
CN110690990A (en) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 Server upgrading method and device, electronic equipment and storage medium
CN110929262A (en) * 2019-11-20 2020-03-27 上海钧正网络科技有限公司 Online upgrading method and system
CN111064723A (en) * 2019-12-12 2020-04-24 杭州涂鸦信息技术有限公司 Over-the-air upgrading method and system based on backup system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051941A (en) * 2007-05-17 2007-10-10 华为技术有限公司 Process upgrading method and system
CN104615506A (en) * 2015-02-13 2015-05-13 浪潮电子信息产业股份有限公司 Logic control based BIOS (basic input/output system) and BMC (baseboard management controller) backup method
US20190173755A1 (en) * 2016-07-25 2019-06-06 Ajay JADHAV Cloud device system
CN107493190A (en) * 2017-08-07 2017-12-19 东软集团股份有限公司 Node upgrade method and device
CN110377307A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 A kind of car body controller firmware upgrade method, terminal, system
CN110690990A (en) * 2019-09-02 2020-01-14 视联动力信息技术股份有限公司 Server upgrading method and device, electronic equipment and storage medium
CN110929262A (en) * 2019-11-20 2020-03-27 上海钧正网络科技有限公司 Online upgrading method and system
CN111064723A (en) * 2019-12-12 2020-04-24 杭州涂鸦信息技术有限公司 Over-the-air upgrading method and system based on backup system

Similar Documents

Publication Publication Date Title
US11967188B2 (en) Vehicle mounted update apparatus, update processing program, and program update method
CN108182080A (en) A kind of method of automobile instrument software upgrading
WO2016149908A1 (en) Method for updating terminal system, terminal and system
JP6958308B2 (en) In-vehicle update device, program, and how to update the program or data
CN106415490B (en) Mobile terminal, power adapter and upgrading method thereof
JP7192415B2 (en) Program update system and update processing program
CN108064451A (en) Aircraft and its external equipment, communication means, device and system
US20170235564A1 (en) Software upgrade method and device
KR20190065101A (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
CN104317564A (en) Method and device for updating feature phone software
CN112698851B (en) Program update system, program transfer device, and program transfer method
CN106416196B (en) Mobile terminal, power adapter and upgrading method thereof
CN105263181B (en) A kind of document down loading method and system of the mobile terminal based on WIFI
US9930669B2 (en) Radio communication device, control method and radio communication system
WO2018131223A1 (en) Relay device, communication control method, and communication control program
CN107396185B (en) Upgrading method and system
CN110362323A (en) Embedded type terminal equipment method for updating program based on distributed ad hoc network
CN111857786A (en) Firmware upgrading method and system based on cloud
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN108011750B (en) Firmware upgrading method for communication module in centralized meter reading system
US11513784B2 (en) Software update device and software update method using same
CN114095295B (en) Intelligent doorbell information inheritance method, intelligent doorbell and computer readable storage medium
KR101673844B1 (en) Method for connecting wireless terminal to vehicle
JP2020065110A (en) Communication apparatus
CN111475189A (en) Upgrading method, head-mounted equipment, storage medium and electronic device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20201030

WW01 Invention patent application withdrawn after publication