CN114090033A - OTA (over the air) upgrading method and device, electronic equipment and readable medium - Google Patents

OTA (over the air) upgrading method and device, electronic equipment and readable medium Download PDF

Info

Publication number
CN114090033A
CN114090033A CN202111166902.9A CN202111166902A CN114090033A CN 114090033 A CN114090033 A CN 114090033A CN 202111166902 A CN202111166902 A CN 202111166902A CN 114090033 A CN114090033 A CN 114090033A
Authority
CN
China
Prior art keywords
upgrade
upgrading
ota
intelligent equipment
upgrade package
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
CN202111166902.9A
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.)
Zhuhai Rongbang Intelligent Technology Co ltd
Original Assignee
Zhuhai Rongbang Intelligent 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 Zhuhai Rongbang Intelligent Technology Co ltd filed Critical Zhuhai Rongbang Intelligent Technology Co ltd
Priority to CN202111166902.9A priority Critical patent/CN114090033A/en
Publication of CN114090033A publication Critical patent/CN114090033A/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

Abstract

The embodiment of the invention provides an OTA upgrading method, an OTA upgrading device, electronic equipment and a readable medium, wherein the OTA upgrading method comprises the following steps: establishing communication connection with auxiliary intelligent equipment; when an upgrading instruction sent by the auxiliary intelligent equipment is received, analyzing a uniform resource locator corresponding to an upgrading packet from the upgrading instruction, and sending the uniform resource locator to an OTA upgrading module; and downloading an upgrade package from the file server for upgrading through an OTA upgrade module based on the uniform resource locator. By applying the embodiment of the invention, when the intelligent equipment is abnormal in work, cannot be used or is not suitable for using the remote server to carry out large-area upgrading and updating, the file server on the auxiliary intelligent equipment replaces the remote server, the original OTA upgrading mode is used, the upgrading package is automatically downloaded from the file server for upgrading by multiplexing the OTA upgrading module according to the uniform resource locator, the software function of receiving and sending the upgrading package under a local area network is not required to be additionally developed, the complexity of a software system in the equipment is reduced, the implementation is simple, and the work is reliable.

Description

OTA (over the air) upgrading method and device, electronic equipment and readable medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to an OTA upgrading method, an OTA upgrading apparatus, an electronic device, and a computer-readable medium.
Background
The OTA (Over-the-air technology) upgrade is a technology for downloading an upgrade package on a remote server (OTA cloud server) through a wireless network to upgrade a system or an application, and is widely applied to online upgrade of client software at present.
When the equipment of the user works abnormally, equipment manufacturers already position the equipment fault of the user, modify software and need to upgrade the software running on the equipment. However, such upgrading is not yet verified sufficiently, and is not suitable for large-area upgrading and updating.
An existing upgrading scheme is that a maintenance worker goes to a fault site of equipment to update an upgrading packet stored in a mobile phone of the maintenance worker to the equipment of a user, so that a large number of unpredictable faults caused by large-area upgrading are avoided. However, the above upgrade scheme requires the software function of sending and receiving the upgrade package under the development of the local area network at the mobile phone and the device side to transfer the upgrade package, so as to greatly modify the software system at the mobile phone and the device side, and increase the complexity of the software system at the mobile phone and the device side.
Disclosure of Invention
The embodiment of the invention provides an OTA upgrading method, an OTA upgrading device, electronic equipment and a computer readable storage medium, and aims to solve the problem that when the equipment works abnormally, the software function of receiving and sending an upgrading packet under a local area network needs to be developed to upgrade the upgrading packet.
The embodiment of the invention discloses an OTA upgrading method, which is applied to intelligent equipment, wherein the intelligent equipment comprises an OTA upgrading module and comprises the following steps:
establishing communication connection with auxiliary intelligent equipment; the auxiliary intelligent equipment is provided with a file server, and an upgrade package for upgrading the intelligent equipment is stored in the file server;
when an upgrading instruction sent by the auxiliary intelligent equipment is received, analyzing a uniform resource locator corresponding to the upgrading packet from the upgrading instruction, and sending the uniform resource locator to the OTA upgrading module;
and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
Optionally, before the establishing of the communication connection with the auxiliary smart device, the method further includes:
and downloading an upgrade package from the OTA cloud server through the auxiliary intelligent equipment, and storing the upgrade package in the file server.
Optionally, the establishing a communication connection with the auxiliary smart device includes:
broadcasting a communication request, and judging whether response information of the auxiliary intelligent equipment responding to the communication request is received;
when response information of the auxiliary intelligent device responding to the communication request is received, establishing wireless communication connection with the auxiliary intelligent device; the response information comprises an IP address, a device name and a broadcast data packet of the device ID of the auxiliary intelligent device.
Optionally, the upgrade instruction includes version information of the upgrade package, and after receiving the upgrade instruction sent by the auxiliary smart device, the method further includes:
judging whether the upgrade package is an upgrade package of a new version or not according to the version information of the upgrade package and the version information of the intelligent equipment;
and when the upgrade package is the upgrade package of the new version, carrying out next upgrade operation.
Optionally, the upgrade instruction includes fingerprint information of the upgrade package, and the downloading, by the OTA upgrade module, the upgrade package from the file server for upgrading based on the uniform resource locator includes:
downloading, by the OTA upgrade module, the upgrade package from the file server based on the uniform resource locator;
verifying the upgrade package by the OTA upgrade module by adopting the fingerprint information;
and when the verification of the upgrade package passes, decompressing the upgrade package through the OTA upgrade module to upgrade.
Optionally, the upgrade includes at least one of a system upgrade and an application upgrade.
The embodiment of the invention also discloses an OTA upgrading system, which comprises intelligent equipment and auxiliary intelligent equipment, wherein the intelligent equipment comprises an OTA upgrading module, the auxiliary intelligent equipment is provided with a file server, and the file server stores an upgrading packet for upgrading the intelligent equipment;
the auxiliary intelligent equipment is used for establishing communication connection with the intelligent equipment and sending an upgrading instruction to the intelligent equipment;
the intelligent equipment is used for analyzing the uniform resource locator corresponding to the upgrade package from the upgrade instruction and sending the uniform resource locator to the OTA upgrade module when receiving the upgrade instruction sent by the auxiliary intelligent equipment; and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
Alternatively,
and the auxiliary intelligent equipment is used for downloading the upgrade package from the OTA cloud server and storing the upgrade package in the file server.
Alternatively,
the intelligent device is used for broadcasting a communication request and judging whether response information of the auxiliary intelligent device responding to the communication request is received; when response information of the auxiliary intelligent device responding to the communication request is received, establishing wireless communication connection with the auxiliary intelligent device; the response information comprises an IP address, a device name and a broadcast data packet of the device ID of the auxiliary intelligent device.
Optionally, the upgrade instruction includes version information of the upgrade package;
the intelligent equipment is used for judging whether the upgrade package is the upgrade package of the new version or not according to the version information of the upgrade package and the version information of the intelligent equipment; and when the upgrade package is the upgrade package of the new version, carrying out next upgrade operation.
Optionally, the upgrade instruction includes fingerprint information of the upgrade package;
the intelligent equipment is used for downloading the upgrade package from the file server through the OTA upgrade module based on the uniform resource locator; verifying the upgrade package by the OTA upgrade module by adopting the fingerprint information; and when the verification of the upgrade package passes, decompressing the upgrade package through the OTA upgrade module to upgrade.
Optionally, the upgrade includes at least one of a system upgrade and an application upgrade.
The embodiment of the invention also discloses electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method according to the embodiment of the present invention when executing the program stored in the memory.
Also disclosed are one or more computer-readable media having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform a method according to an embodiment of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the intelligent equipment and the auxiliary intelligent equipment establish communication connection; the auxiliary intelligent equipment is provided with a file server, and the file server stores an upgrade package for upgrading the intelligent equipment; when an upgrading instruction sent by the auxiliary intelligent equipment is received, analyzing a uniform resource locator corresponding to an upgrading packet from the upgrading instruction, and sending the uniform resource locator to an OTA upgrading module; and downloading an upgrade package from the file server for upgrading through an OTA upgrade module based on the uniform resource locator. By applying the embodiment of the invention, when the intelligent equipment is abnormal in work and is not suitable for large-area upgrading and updating through the remote server or the remote server cannot be used for upgrading and updating, the file server on the auxiliary intelligent equipment replaces the remote server (OTA cloud server), after the OTA upgrading module receives the uniform resource locator, the original OTA upgrading mode is used, the upgrading package is automatically downloaded from the file server for upgrading through multiplexing the OTA upgrading module according to the uniform resource locator, the software functions of receiving and sending the upgrading package under the development of the local area network of the auxiliary intelligent equipment and the intelligent equipment are not required, namely the software systems in the auxiliary intelligent equipment and the intelligent equipment are not required to be modified, the complexity of the equipment-side software system is reduced, the implementation is simple, and the work is reliable.
Drawings
Fig. 1 is a flowchart illustrating steps of an OTA upgrading method provided in an embodiment of the present invention;
fig. 2 is a flow chart of steps of another OTA upgrade method provided in an embodiment of the present invention;
fig. 3 is a block diagram of an OTA upgrade system provided in an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device provided in an embodiment of the invention;
fig. 5 is a schematic diagram of a computer-readable medium provided in an embodiment of the invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an OTA upgrading method provided in an embodiment of the present invention is shown, and is applied to an intelligent device, where the intelligent device includes an OTA upgrading module, and specifically includes the following steps:
step 101: establishing communication connection with auxiliary intelligent equipment; the auxiliary intelligent equipment is provided with a file server, and an upgrade package used for upgrading the intelligent equipment is stored in the file server.
The intelligent equipment can be an intelligent sound box, an intelligent air conditioner, an intelligent refrigerator and the like; the auxiliary intelligent device can be a smart phone, a tablet computer, a portable computer and the like; the file server is an http server and runs in the auxiliary intelligent device, and meanwhile, an upgrade package for upgrading the intelligent device is stored in the file server in advance.
Specifically, under the condition that the intelligent equipment is abnormal in work and is not suitable for large-area upgrading and updating through a remote server or the problem that the remote server cannot be used for upgrading and updating, the intelligent equipment is assisted to be upgraded through the auxiliary intelligent equipment. Establishing a communication connection between the intelligent device and the service station intelligent device, specifically, the communication may be performed in various ways, for example: local area network communication can be carried out through wireless WIFI, Bluetooth and Zigbee protocol or in a wired mode, or wireless wide area network communication can be carried out in a 2G, 3G, 4G or even 5G mode.
Step 102: when an upgrading instruction sent by the auxiliary intelligent equipment is received, the uniform resource locator corresponding to the upgrading packet is analyzed from the upgrading instruction and sent to the OTA upgrading module.
A Uniform Resource Locator (URL) is a representation method for specifying an information location on a web service program of the internet.
Specifically, the auxiliary intelligent device sends an upgrade instruction to the intelligent device through communication connection, when the intelligent device receives the upgrade instruction sent by the auxiliary intelligent device, the upgrade instruction is analyzed, a uniform resource locator corresponding to an upgrade package is obtained, and the uniform resource locator is sent to the OTA upgrade module.
Step 103: and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
Specifically, the OTA upgrading module downloads an upgrading packet from the file server according to the uniform resource locator for upgrading.
In the embodiment of the invention, when the intelligent equipment is abnormal in work, is not suitable for large-area upgrading and updating through the remote server or cannot use the remote server to update and update, the file server on the auxiliary intelligent equipment replaces the remote server (OTA cloud server), after the OTA updating module receives the uniform resource locator, the original OTA updating mode is used, the updating package is automatically downloaded from the file server for updating through multiplexing the OTA updating module according to the uniform resource locator, the software functions of receiving and sending the updating package under the development of the auxiliary intelligent equipment and the intelligent equipment under a local area network are not needed, namely the software systems in the auxiliary intelligent equipment and the intelligent equipment are not needed to be modified, the complexity of the equipment-side software system is reduced, the implementation is simple, and the work is reliable.
Referring to fig. 2, a flowchart illustrating steps of another OTA upgrading method provided in the embodiment of the present invention is shown, and is applied to an intelligent device, where the intelligent device includes an OTA upgrading module, and specifically includes the following steps:
step 201: and broadcasting a communication request, and judging whether response information of the auxiliary intelligent equipment responding to the communication request is received.
Step 202: and when response information of the auxiliary intelligent device responding to the communication request is received, establishing wireless communication connection with the auxiliary intelligent device.
Wherein, one end of the auxiliary intelligent device or the intelligent device starts a port to receive the public broadcast. The other end broadcasts the information such as the IP address, the port number and the like, and because the broadcast information contains the address information of one end, the two ends can be connected in a UDP or TCP mode; the response information comprises an IP address, a device name and a broadcast data packet of the device ID of the auxiliary intelligent device.
Specifically, the intelligent device broadcasts a communication request in the local area network, and determines whether response information of the auxiliary intelligent device responding to the communication request is received, and when the response information of the auxiliary intelligent device responding to the communication request is received, the intelligent device establishes a wireless communication connection with the auxiliary intelligent device, or,
the auxiliary intelligent device broadcasts a communication request in the local area network, judges whether response information of the intelligent device responding to the communication request is received or not, and establishes wireless communication connection with the auxiliary intelligent device when the response information of the intelligent device responding to the communication request is received.
In an embodiment of the present invention, in the step 201: further comprising: and downloading an upgrade package from the OTA cloud server through the auxiliary intelligent equipment, and storing the upgrade package in the file server.
Specifically, before the intelligent device and the auxiliary intelligent device are established to be in communication connection, the upgrade package corresponding to the intelligent device is downloaded from the OTA cloud server through the auxiliary intelligent device and stored in the file server.
Step 203: when an upgrading instruction sent by the auxiliary intelligent equipment is received, the uniform resource locator corresponding to the upgrading packet is analyzed from the upgrading instruction and sent to the OTA upgrading module.
In an embodiment of the present invention, the upgrade instruction includes version information of the upgrade package, and after receiving the upgrade instruction sent by the auxiliary smart device, the method further includes: judging whether the upgrade package is an upgrade package of a new version or not according to the version information of the upgrade package and the version information of the intelligent equipment; and when the upgrade package is the upgrade package of the new version, carrying out next upgrade operation.
Specifically, the upgrade instruction includes version information of the upgrade package, whether the upgrade package is the upgrade package of the new version is determined by comparing the version information of the upgrade package with the version information of the intelligent device, and when the upgrade package is the upgrade package of the new version, the next upgrade operation is performed.
Step 204: and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
In an embodiment of the present invention, the method further includes: the upgrade instruction includes fingerprint information of the upgrade package, and the upgrade package is downloaded from the file server through the OTA upgrade module for upgrading based on the uniform resource locator, including: downloading, by the OTA upgrade module, the upgrade package from the file server based on the uniform resource locator; verifying the upgrade package by the OTA upgrade module by adopting the fingerprint information; and when the verification of the upgrade package passes, decompressing the upgrade package through the OTA upgrade module to upgrade.
Specifically, the upgrade order includes an MD5 field describing fingerprint information of the upgrade package in the file server, and after the intelligent device downloads the upgrade package on the file server, the MD5 value of the upgrade package needs to be calculated, and then compared with the MD5 field, if the MD5 value is the same, it indicates that there is no problem with the downloaded upgrade package, and then the upgrade package is automatically decompressed by the OTA upgrade module for upgrading. Wherein, the upgrade at least comprises one of system upgrade and application upgrade.
In the embodiment of the invention, the file server on the auxiliary intelligent equipment replaces a remote server (OTA cloud server), after the OTA upgrading module receives the uniform resource locator, the original OTA upgrading mode is used, the upgrading package is automatically downloaded from the file server according to the uniform resource locator by multiplexing the OTA upgrading module for upgrading, the complexity of the equipment system is reduced, the realization is simple, the work is reliable, the problems that the equipment work of a user is abnormal, the equipment is not suitable for large-area upgrading and updating through the remote server or the remote server cannot be used for upgrading and updating are solved, the auxiliary intelligent equipment and the intelligent equipment do not need to be additionally developed to develop the software function of receiving and sending the upgrading package under a local area network, namely the software system in the auxiliary intelligent equipment and the intelligent equipment does not need to be modified, and the complexity of the equipment software system is reduced, the realization is simple, and the work is reliable.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a structure of an OTA upgrading system provided in an embodiment of the present invention is shown, and specifically, the OTA upgrading system may include an intelligent device and an auxiliary intelligent device, where the intelligent device includes an OTA upgrading module, the auxiliary intelligent device is provided with a file server, and the file server stores an upgrading package for upgrading the intelligent device;
the auxiliary intelligent equipment is used for establishing communication connection with the intelligent equipment and sending an upgrading instruction to the intelligent equipment;
the intelligent equipment is used for analyzing the uniform resource locator corresponding to the upgrade package from the upgrade instruction and sending the uniform resource locator to the OTA upgrade module when receiving the upgrade instruction sent by the auxiliary intelligent equipment; and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
In an embodiment of the present invention, the auxiliary smart device is configured to download the upgrade package from the OTA cloud server, and store the upgrade package in the file server.
In an embodiment of the present invention, the smart device is configured to broadcast a communication request, and determine whether response information of the auxiliary smart device responding to the communication request is received; when response information of the auxiliary intelligent device responding to the communication request is received, establishing wireless communication connection with the auxiliary intelligent device; the response information comprises an IP address, a device name and a broadcast data packet of the device ID of the auxiliary intelligent device.
In an embodiment of the present invention, the upgrade instruction includes version information of the upgrade package;
the intelligent equipment is used for judging whether the upgrade package is the upgrade package of the new version or not according to the version information of the upgrade package and the version information of the intelligent equipment; and when the upgrade package is the upgrade package of the new version, carrying out next upgrade operation.
In an embodiment of the present invention, the upgrade instruction includes fingerprint information of the upgrade package;
the intelligent equipment is used for downloading the upgrade package from the file server through the OTA upgrade module based on the uniform resource locator; verifying the upgrade package by the OTA upgrade module by adopting the fingerprint information; and when the verification of the upgrade package passes, decompressing the upgrade package through the OTA upgrade module to upgrade.
In an embodiment of the present invention, the upgrade includes at least one of a system upgrade and an application upgrade.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In addition, an electronic device is further provided in the embodiments of the present invention, as shown in fig. 4, and includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401 is configured to implement the OTA upgrading method described in the above embodiments when executing the program stored in the memory 403.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present invention, as shown in fig. 5, there is further provided a computer-readable storage medium 501, which stores instructions that, when run on a computer, cause the computer to perform the OTA upgrade method described in the above embodiments.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the OTA upgrade method described in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. An OTA upgrading method is applied to an intelligent device, the intelligent device comprises an OTA upgrading module, and the OTA upgrading method comprises the following steps:
establishing communication connection with auxiliary intelligent equipment; the auxiliary intelligent equipment is provided with a file server, and an upgrade package for upgrading the intelligent equipment is stored in the file server;
when an upgrading instruction sent by the auxiliary intelligent equipment is received, analyzing a uniform resource locator corresponding to the upgrading packet from the upgrading instruction, and sending the uniform resource locator to the OTA upgrading module;
and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
2. The method of claim 1, further comprising, prior to said establishing a communication connection with said secondary smart device:
and downloading an upgrade package from the OTA cloud server through the auxiliary intelligent equipment, and storing the upgrade package in the file server.
3. The method of claim 1, wherein establishing the communication connection with the secondary smart device comprises:
broadcasting a communication request, and judging whether response information of the auxiliary intelligent equipment responding to the communication request is received;
when response information of the auxiliary intelligent device responding to the communication request is received, establishing wireless communication connection with the auxiliary intelligent device; the response information comprises an IP address, a device name and a broadcast data packet of the device ID of the auxiliary intelligent device.
4. The method of claim 1, wherein the upgrade instructions include version information of the upgrade package, and after receiving the upgrade instructions sent by the secondary smart device, the method further comprises:
judging whether the upgrade package is an upgrade package of a new version or not according to the version information of the upgrade package and the version information of the intelligent equipment;
and when the upgrade package is the upgrade package of the new version, carrying out next upgrade operation.
5. The method of claim 1, wherein the upgrade instructions comprise fingerprint information of the upgrade package, and wherein the downloading of the upgrade package from the file server by the OTA upgrade module for upgrading based on the uniform resource locator comprises:
downloading, by the OTA upgrade module, the upgrade package from the file server based on the uniform resource locator;
verifying the upgrade package by the OTA upgrade module by adopting the fingerprint information;
and when the verification of the upgrade package passes, decompressing the upgrade package through the OTA upgrade module to upgrade.
6. The method of claim 1, wherein the upgrade comprises at least one of a system upgrade and an application upgrade.
7. An OTA upgrading system is characterized by comprising intelligent equipment and auxiliary intelligent equipment, wherein the intelligent equipment comprises an OTA upgrading module, the auxiliary intelligent equipment is provided with a file server, and an upgrading package for upgrading the intelligent equipment is stored in the file server;
the auxiliary intelligent equipment is used for establishing communication connection with the intelligent equipment and sending an upgrading instruction to the intelligent equipment;
the intelligent equipment is used for analyzing the uniform resource locator corresponding to the upgrade package from the upgrade instruction and sending the uniform resource locator to the OTA upgrade module when receiving the upgrade instruction sent by the auxiliary intelligent equipment; and downloading the upgrade package from the file server for upgrading through the OTA upgrade module based on the uniform resource locator.
8. The method of claim 7,
and the auxiliary intelligent equipment is used for downloading the upgrade package from the OTA cloud server and storing the upgrade package in the file server.
9. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing a program stored on the memory, implementing the method of any of claims 1-6.
10. One or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of any of claims 1-6.
CN202111166902.9A 2021-09-30 2021-09-30 OTA (over the air) upgrading method and device, electronic equipment and readable medium Pending CN114090033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111166902.9A CN114090033A (en) 2021-09-30 2021-09-30 OTA (over the air) upgrading method and device, electronic equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111166902.9A CN114090033A (en) 2021-09-30 2021-09-30 OTA (over the air) upgrading method and device, electronic equipment and readable medium

Publications (1)

Publication Number Publication Date
CN114090033A true CN114090033A (en) 2022-02-25

Family

ID=80296512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111166902.9A Pending CN114090033A (en) 2021-09-30 2021-09-30 OTA (over the air) upgrading method and device, electronic equipment and readable medium

Country Status (1)

Country Link
CN (1) CN114090033A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827110A (en) * 2022-03-09 2022-07-29 深圳依时货拉拉科技有限公司 Road performance method, equipment, system and computer readable storage medium
CN114867041A (en) * 2022-04-29 2022-08-05 宁波奥克斯电气股份有限公司 OTA (over the air) upgrading method based on Wi-Fi Portal, storage medium and air conditioner
CN115118577A (en) * 2022-06-24 2022-09-27 重庆长安汽车股份有限公司 Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
CN117270917A (en) * 2023-11-22 2023-12-22 荣耀终端有限公司 Software upgrading method and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827110A (en) * 2022-03-09 2022-07-29 深圳依时货拉拉科技有限公司 Road performance method, equipment, system and computer readable storage medium
CN114867041A (en) * 2022-04-29 2022-08-05 宁波奥克斯电气股份有限公司 OTA (over the air) upgrading method based on Wi-Fi Portal, storage medium and air conditioner
CN115118577A (en) * 2022-06-24 2022-09-27 重庆长安汽车股份有限公司 Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
CN115118577B (en) * 2022-06-24 2023-08-18 重庆长安汽车股份有限公司 Remote upgrade abnormality cause determination method, device, electronic equipment and storage medium
CN117270917A (en) * 2023-11-22 2023-12-22 荣耀终端有限公司 Software upgrading method and electronic equipment
CN117270917B (en) * 2023-11-22 2024-04-12 荣耀终端有限公司 Software upgrading method and electronic equipment

Similar Documents

Publication Publication Date Title
CN114090033A (en) OTA (over the air) upgrading method and device, electronic equipment and readable medium
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN107547239B (en) Configuration object updating method and device
EP2878140B1 (en) Wireless firmware upgrades to an alarm security panel
CN101795392B (en) Application data-downloading method, digital television receiving terminal and system
CN105389177A (en) Software version confirmation method, device and system
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN106886436B (en) Android system upgrading method and device
WO2018086478A1 (en) Method and device for upgrading wifi module in set top box, set top box and system
CN106339273A (en) Application program restoration method, terminal and server
CN106257879B (en) Method and device for downloading application
CN113064685A (en) H5 page loading method and device
CN112115049B (en) Application program testing method, device, equipment and computer readable storage medium
CN113259494B (en) File storage method and device, electronic equipment and storage medium
CN112015441A (en) Updating method and system of vehicle-mounted terminal
CN105549995A (en) Audio device upgrading method and apparatus
CN111752577A (en) System version upgrading method and device
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
WO2020119732A1 (en) Adjusting and testing method and apparatus for communication device networking
CN115454575B (en) jar packet conversion and automatic loading method, device, equipment and storage medium
CN113746851A (en) Agent system and method for supporting real-time analysis of GRPC request
CN115515012A (en) Key burning method and device, electronic equipment board card and storage medium
CN113014456A (en) Monitoring data transmission system, method, device, equipment and storage medium
CN113132447A (en) Reverse proxy method and system
CN107196986B (en) Redirection method and 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