CN114489737A - Multi-firmware OTA (over the air) upgrading method and device, server and storage medium - Google Patents

Multi-firmware OTA (over the air) upgrading method and device, server and storage medium Download PDF

Info

Publication number
CN114489737A
CN114489737A CN202210180490.2A CN202210180490A CN114489737A CN 114489737 A CN114489737 A CN 114489737A CN 202210180490 A CN202210180490 A CN 202210180490A CN 114489737 A CN114489737 A CN 114489737A
Authority
CN
China
Prior art keywords
firmware
package
upgrading
upgraded
equipment end
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
CN202210180490.2A
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.)
Ingeek Information Security Consulting Associates Co ltd
Original Assignee
Ingeek Information Security Consulting Associates 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 Ingeek Information Security Consulting Associates Co ltd filed Critical Ingeek Information Security Consulting Associates Co ltd
Priority to CN202210180490.2A priority Critical patent/CN114489737A/en
Publication of CN114489737A publication Critical patent/CN114489737A/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 embodiment of the invention relates to the technical field of firmware upgrading, and discloses a multi-firmware OTA upgrading method and device, a server and a storage medium. The upgrading method comprises the steps of receiving a plurality of firmware to be upgraded; responding to a firmware upgrading request of the equipment end, and issuing a firmware package matched with the firmware upgrading request to the equipment end; the firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program. The embodiment of the invention greatly reduces the management difficulty when the multi-firmware with the complex dependency relationship is upgraded.

Description

Multi-firmware OTA (over the air) upgrading method and device, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to a multi-firmware OTA upgrading method and device, a server and a storage medium.
Background
In recent years, digital key technology applied to vehicles has been rapidly developed. The embedded system of the digital key usually includes a plurality of modules, the digital key function is completed by the mutual cooperation of a plurality of firmware versions, and the protocols of the plurality of firmware versions are interdependent, so that the specific versions and support conditions (i.e. dependency relationship) of each firmware need to be considered when a single firmware in the system is upgraded, and the dependency relationship also exists between different firmware versions and the digital key application program, so the management difficulty of the firmware of each version and the support conditions thereof is also increased with the continuous upgrade of the system.
Disclosure of Invention
The embodiment of the invention provides a multi-firmware OTA upgrading method and device, a server and a storage medium, which are used for solving the problem that the existing multi-firmware upgrading management with a complex dependency relationship is difficult.
In a first aspect, an embodiment of the present invention provides a multi-firmware OTA upgrading method, which is applied to a server, and the method includes:
receiving a plurality of firmware to be upgraded;
responding to a firmware upgrading request of an equipment end, and issuing a firmware package matched with the firmware upgrading request to the equipment end;
the firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program.
In addition, the firmware to be upgraded carries the information of the firmware and the application program which have dependency relationship with the firmware upgrade; the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end comprises the following steps:
and searching a plurality of interdependent firmware packages according to the firmware carried by the firmware and the information of the application program, which has a dependency relationship with the firmware package upgrading, so as to generate a firmware package, generating unique identification information of the firmware package, and binding and storing the firmware package and the unique identification information.
In addition, the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end includes:
receiving information of a plurality of firmware needing to be combined into the firmware package to generate the firmware package, generating unique identification information of the firmware package, and storing the firmware package and the unique identification information in a binding mode.
In addition, the unique identification information of the firmware package includes: the firmware package comprises application program version information supported by the firmware package and equipment type information of equipment upgraded by the firmware package; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded;
the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end, further includes:
and searching the matched firmware packet according to the version information of the application program and the equipment type, and sending the firmware packet to the equipment terminal.
In addition, the firmware to be upgraded carries the information of the firmware and the application program which have dependency relationship with the firmware upgrade; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded;
the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end comprises the following steps:
when a firmware upgrading request of an equipment end is received, searching a plurality of interdependent firmware according to the firmware carried by the firmware and having a dependency relationship with the firmware package upgrading, the information of the application program, the version information of the application program carried by the upgrading request and the equipment type of the equipment end of the firmware to be upgraded to generate a firmware package corresponding to the upgrading request, and sending the firmware package to the equipment end.
In addition, each firmware is a signature encryption data packet and is bound with the identification information of the firmware for storage; the identification information of the firmware comprises a firmware version number, and the firmware version number is gradually increased.
In a second aspect, an embodiment of the present invention provides a multi-firmware OTA upgrading method, which is applied to an equipment side, and includes:
receiving a firmware package; the firmware package comprises at least two pieces of firmware, and the dependence between the at least two pieces of firmware and the application program meets the requirement of the upgrade;
and upgrading the firmware according to the firmware package.
In a third aspect, an embodiment of the present invention provides a multi-firmware OTA upgrading apparatus, configured at a server, where the apparatus includes:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a plurality of firmware to be upgraded;
the issuing module is used for responding to a firmware upgrading request of an equipment end and issuing a firmware package matched with the firmware upgrading request to the equipment end;
the firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program.
In a fourth aspect, an embodiment of the present invention provides a server, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the multi-firmware OTA upgrade method according to the first aspect when executing the program.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the multi-firmware OTA upgrade method according to the first or second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the invention at least has the following positive effects:
the multi-firmware OTA upgrading method of the embodiment of the invention receives a plurality of firmware to be upgraded, generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, responds to the firmware upgrading request of the equipment end, and sends the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware (namely, the dependency relationship among the plurality of firmware and the dependency relationship among the firmware and the application program are simultaneously satisfied), thereby avoiding the compatibility problem that the equipment type, the firmware version and the like need to be repeatedly considered in the existing single firmware upgrading mode, being capable of upgrading at one time in a system unit, and greatly simplifying the management difficulty of the multi-firmware upgrading with complex dependency relationship.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram illustrating dependency relationships between multiple firmware and applications according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a multi-firmware OTA upgrading method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a multi-firmware OTA upgrading method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating a multi-firmware OTA upgrading method according to a third embodiment of the present invention;
fig. 5 is a flowchart illustrating a multi-firmware OTA upgrading method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart illustrating a multi-firmware OTA upgrading method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a multi-firmware OTA upgrading apparatus according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
The multi-firmware OTA upgrading method provided by the embodiment of the invention is suitable for upgrading the firmware of a system which comprises a plurality of firmware and has dependency relationship among the plurality of firmware and between the plurality of firmware and an application program. Such as the dependencies between multiple firmware, multiple firmware and applications shown in fig. 1. Namely, there is an inherent dependency relationship between different versions of different firmware, and there is a specific dependency relationship between different versions of different firmware and different APP versions. Illustratively, the multiple firmware items are firmware items A-C, respectively, with versions of the firmware items 1-N, for example. Application (APP) versions are, for example, between 2.0, 2.0-3.0, and 3.0 and above. The dashed lines with arrows in the figure indicate dependencies between different firmware and different firmware versions, and the solid lines with arrows indicate dependencies between different firmware and different firmware versions and different APP versions.
Taking digital key applications as an example, a digital key system often includes a plurality of modules, and a plurality of firmware is required to cooperate with each other to perform digital key functions, such as unlocking/locking with a digital key. The digital key system includes a plurality of firmware, such as bluetooth firmware, RSP (Remote Service Provider, RSP for short) firmware, and other related firmware. The digital key RSP realizes the mutual authentication of the intelligent equipment and the vehicle by using an asymmetric cryptographic algorithm. It will be appreciated that digital key applications often involve more than 2 pieces of firmware. The digital key APP can also be continuously updated along with the change of service requirements, so that a new digital key APP version is continuously generated.
The embodiment of the invention merges a plurality of firmware which have dependency relationship and support the same APP version into the firmware package, and issues the matched firmware package to the equipment terminal during upgrading, thereby greatly simplifying the management problem of multi-firmware upgrading with complex dependency relationship.
Example one
Fig. 2 is a flowchart illustrating a multi-firmware OTA upgrading method according to an embodiment of the present invention, where the embodiment is applied to a server, which may be various servers supporting OTA technology, so as to implement OTA upgrading of multiple firmware. The present embodiment does not limit this. The method can be executed by an upgrading device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware manner and is configured at a server side. The embodiment of the invention specifically comprises the following steps:
step 201, receiving a plurality of firmware to be upgraded.
Illustratively, each received firmware is a signature encryption data packet and is stored in a binding mode with identification information of the firmware. The identification information of the firmware may include a firmware version number, and the firmware version number is gradually increased.
Specifically, the firmware can be uploaded to the server after being manufactured by a firmware developer. When the firmware is uploaded, the type of the firmware to be uploaded can be selected first, that is, the firmware is bluetooth firmware or other types of firmware. And then, verifying the firmware to be uploaded, after the verification is successful, extracting basic information of the firmware, such as file header length, firmware version number, hardware code and the like, as identification information of the firmware, signing and encrypting the firmware to generate an encrypted firmware data packet to be upgraded, and uploading the encrypted firmware data packet to a server.
The firmware version number is raised every time the firmware is updated, thereby facilitating to ensure the uniqueness of the firmware version.
Step 202, responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end.
The firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program. In other words, the firmware package includes all the firmware that needs to be upgraded in the upgrade process, that is, there is a dependency relationship between the firmware, for example, the firmware a needs to be upgraded to the latest version while the firmware B needs to be upgraded to the latest version, and the firmware can support the APP of the same version, for example, the lowest version of the APP supported by all the firmware is used as the APP version supported by the firmware. Wherein the generated firmware package has unique identification information. The service end may directly send the firmware package to an equipment end, such as a car end, or may send the firmware package to the car end through a smart phone, and the like, which is not limited herein.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, so that the management difficulty of the multi-firmware upgrading with complex dependency relationship is greatly simplified.
Example two
Fig. 3 is a flowchart illustrating a multi-firmware OTA upgrading method according to the second embodiment. As shown in fig. 3, the embodiment of the present invention specifically includes the following steps:
step 201, receiving a plurality of firmware to be upgraded.
The firmware to be upgraded carries information of the firmware and the application program which have a dependency relationship with the firmware upgrade. For example, when the latest version of firmware a has a dependency relationship with the latest version of firmware B, the firmware data of firmware a and/or firmware B may carry information of the firmware it depends on. Also, firmware a and/or firmware B may carry information of dependent APPs. Therefore, the information of all firmware needing to be upgraded at this time and the versions of APPs supported by the firmware can be determined according to the information of the dependent firmware and APP carried by the firmware. The information of the firmware and the application program which are carried by the firmware to be upgraded and have the dependency relationship with the firmware upgrade can be added by a firmware developer, so that the dependency relationship between the firmware and the APP can be automatically managed by adding the dependency information in the firmware, and the management difficulty of the multi-firmware upgrade is greatly reduced.
Step 2021a, finding out a plurality of interdependent firmware packages according to the firmware carried by the firmware and the information of the application program, which has a dependency relationship with the firmware upgrade, to generate a firmware package, generating unique identification information of the firmware package, and binding and storing the firmware package and the unique identification information.
And the interdependent multiple firmware is all the firmware which needs to be synchronously upgraded when the corresponding upgrade is completed. As described above, information of all firmware can be obtained through the dependency information carried by the firmware, and the carried dependency information is removed to obtain a plurality of mutually dependent clean firmware, and the plurality of clean firmware is used as one firmware package, for example, the plurality of firmware can be made into one compressed package.
It will be appreciated that the firmware package may have unique identification information, thereby ensuring the uniqueness of the firmware package. The unique identification information of the firmware package may include: application version information supported by the firmware package and device type information for a device upgraded with the firmware package. The upgrading of the firmware of different devices can be distinguished through the device types, and the firmware packages matched with the APP versions can be conveniently searched through the APP version information. Specifically, the version number of the firmware package may adopt a 3-segment code, such as 1.1.1, and the version number of the firmware package increases with the increase of the upgrade times, for example, when the current version number of the firmware package is 1.1.1, the version number of the firmware package can only be upgraded to 1.1.2, but cannot be reduced to 1.1.0.
Step 2022a, searching for a matched firmware package according to the version information of the application program and the device type, and sending to the device side.
The upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded, so that the corresponding firmware package is matched according to the version information of the APP and the equipment type of the equipment end of the firmware to be upgraded, and the firmware package is issued to the equipment end. It will be appreciated that the firmware package may be twice encrypted to further enhance data security. Meanwhile, the firmware package may be sent to the device side in a fragmented manner, which is not limited herein.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, so that the management difficulty of the multi-firmware upgrading with complex dependency relationship is greatly simplified.
EXAMPLE III
Fig. 4 is a flowchart illustrating a multi-firmware OTA upgrading method provided in the third embodiment. As shown in fig. 4, the embodiment of the present invention specifically includes the following steps:
step 201, receiving a plurality of firmware to be upgraded.
Unlike the second embodiment, the firmware received in step 201 in this embodiment may not carry the dependency relationship information between the firmware and other firmware and APP.
Step 2021b, receiving information of a plurality of firmware that needs to be incorporated into the firmware package to generate a firmware package, generating unique identification information of the firmware package, and storing the firmware package and the unique identification information in a binding manner.
Wherein information that requires multiple pieces of firmware to be incorporated into a firmware package can be uploaded separately by a firmware developer. After each firmware to be upgraded is uploaded to the server, the information of the plurality of input firmware which needs to be put into the same firmware package can be collected through the terminal and sent to the server.
Specifically, the name and version of the firmware package may be defined and guaranteed to be unique. The upgraded firmware type and supported hardware type may be selected. Firmware types are for example bluetooth and RSP firmware, and hardware types are for example vehicles. All firmware versions supported by the system may be queried, the required base firmware versions selected, and the optional upgraded firmware versions selected according to different firmware types. For example, when a first version firmware package is manufactured, all firmware may be selected to put the firmware of the first version of all firmware into the firmware package, and when an upgrade is required, only the firmware that needs to be upgraded may be selected to be put into the firmware package. All the APP versions which are on the shelf can be inquired, the lowest APP version which is supported by all the firmware in the firmware package is selected, and then the dependency information among the firmware and the dependency information of the firmware and the APP are sent to the server side. It is understood that, in some examples, the firmware package may also be generated directly at the terminal and sent to the server. It should be noted that after the firmware package is generated, the uniqueness of the firmware package may be further verified, for example, by comparing the version of each sub-firmware in the firmware package, it is ensured that the version of each sub-firmware is successively increased each time of upgrading, and on the basis, when the versions of the sub-firmware in the firmware package are different, the uniqueness of the firmware package may be determined.
Step 2022b, finding the matched firmware package according to the version information of the application program and the device type, and sending to the device side.
This step may be the same as step 2022a of the second embodiment, and is not described here again.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, so that the management difficulty of the multi-firmware upgrading with complex dependency relationship is greatly simplified.
Example four
Fig. 5 is a flowchart illustrating a multi-firmware OTA upgrading method according to the fourth embodiment. The second embodiment is substantially the same as the second embodiment, and mainly differs in that the second embodiment generates and stores the firmware package in the server and issues the stored firmware package to the device when the device needs to be upgraded, and in the second embodiment, when an upgrade request of the device is received, the firmware package is generated in real time and issued to the device, and the server does not need to store the firmware package. As shown in fig. 5, the embodiment of the present invention specifically includes the following steps:
step 201, receiving a plurality of firmware to be upgraded.
The firmware to be upgraded carries information of the firmware and the application program which have a dependency relationship with the firmware upgrade.
Step 2021c, when a firmware upgrade request of the device end is received, finding a plurality of interdependent firmware according to the firmware carried by the firmware and having a dependency relationship with the firmware upgrade, the information of the application program, the version information of the application program carried by the upgrade request, and the device type of the device end of the firmware to be upgraded, so as to generate a firmware package corresponding to the upgrade request.
Specifically, the firmware matched with the APP version can be screened according to the version information of the application program carried in the upgrade request, the firmware type can be determined according to the device type of the device end of the firmware to be upgraded carried in the upgrade request, and all the firmware and firmware versions thereof required to be synchronously upgraded can be further determined according to the information of the firmware and the application program which are carried in the firmware and have a dependency relationship with the firmware upgrade, so that the firmware package corresponding to the upgrade request is generated in real time. The unique identification information of the firmware package may also be generated, and is not limited herein. The storage space of the server side can be saved by generating the firmware package in real time.
Step 2022c, and sending to the device side.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, so that the management difficulty of the multi-firmware upgrading with complex dependency relationship is greatly simplified.
EXAMPLE five
Fig. 6 is a flowchart illustrating a multi-firmware OTA upgrading method according to a fifth embodiment of the present invention, where the embodiment is applied to a device side including multiple firmware. The device side may be a vehicle or other embedded system in the digital key system, and is not limited herein. The method can be executed by an upgrading device provided by the embodiment of the invention, and the upgrading device can be realized in a software and/or hardware manner and is configured at a device end.
The embodiment of the invention specifically comprises the following steps:
step 601, receiving a firmware package.
The firmware package comprises at least two pieces of firmware, and the dependence between the at least two pieces of firmware and the application program meets the requirement of the upgrade.
And step 602, upgrading the firmware according to the firmware package.
Specifically, the device side may parse out each firmware in the firmware package, and update with each firmware respectively.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency among the plurality of firmware to be upgraded and the dependency between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, thereby greatly simplifying the management difficulty of multi-firmware upgrading with complex dependency.
EXAMPLE six
The embodiment of the invention provides a multi-firmware OTA upgrading device. As shown in fig. 7, the upgrade apparatus 700 includes: a receiving module 701 and a sending down module 702.
The receiving module 701 is configured to receive a plurality of firmware to be upgraded.
The issuing module 702 is configured to respond to a firmware upgrade request of the device side, and issue a firmware package matched with the firmware upgrade request to the device side. The firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program.
Optionally, the firmware to be upgraded carries information of the firmware and the application program which have a dependency relationship with the firmware upgrade; accordingly, the issuing module 702 may include: and a generating submodule (not shown) for searching the interdependent multiple firmware packages according to the information of the firmware and the application program which are carried by the firmware and have a dependency relationship with the firmware upgrade to generate a firmware package, generating unique identification information of the firmware package, and binding and storing the firmware package and the unique identification information.
As an alternative, the generating submodule may be configured to receive information of a plurality of pieces of firmware that need to be incorporated into the firmware package to generate the firmware package, generate unique identification information of the firmware package, and store the firmware package and the unique identification information thereof in a bound manner.
Optionally, the unique identification information of the firmware package includes: the firmware package comprises application program version information supported by the firmware package and equipment type information of equipment upgraded by the firmware package; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded; correspondingly, the issuing module 702 may further include: and the matching sub-module is used for searching the matched firmware package according to the version information of the application program and the equipment type and sending the firmware package to the equipment terminal.
As an alternative, the firmware to be upgraded carries information of the firmware and the application program which have a dependency relationship with the firmware upgrade; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded; correspondingly, the issuing module 702 may be further configured to, when receiving a firmware upgrade request from the device end, find a plurality of interdependent firmware packages according to the firmware carried by the firmware and having a dependency relationship with the firmware upgrade, the information of the application program, the version information of the application program carried by the upgrade request, and the device type of the device end of the firmware to be upgraded, so as to generate a firmware package corresponding to the upgrade request, and issue the firmware package to the device end.
Optionally, each firmware is a signature encryption data packet and is bound and stored with the identification information of the firmware; the identification information of the firmware comprises a firmware version number, and the firmware version number is gradually increased.
Compared with the prior art, the multi-firmware OTA upgrading method provided by the embodiment of the invention generates the firmware package according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program, and issues the firmware package matched with the firmware upgrading request to the equipment end to realize the cooperative upgrading of the plurality of firmware, so that the management difficulty of the multi-firmware upgrading with complex dependency relationship is greatly simplified.
The upgrade apparatus provided in this embodiment can execute the upgrade method provided in any one of the first to fourth embodiments, and has functional modules and beneficial effects corresponding to the execution method. The implementation principle and technical effect of this embodiment are similar to those of the above method embodiments, and are not described in detail here.
EXAMPLE seven
Fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present invention. The server 80 comprises a memory 81, a processor 82 and a computer program stored on the memory 81 and operable on the processor 82, and when the processor 82 executes the program, the technical solution of the server side in any of the foregoing method embodiments is implemented.
Example eight
An eighth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a computer processor, is configured to perform the solution at the server side in any of the method embodiments.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a grid device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the updating apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A multi-firmware OTA upgrading method is applied to a server side and is characterized by comprising the following steps:
receiving a plurality of firmware to be upgraded;
responding to a firmware upgrading request of an equipment end, and issuing a firmware package matched with the firmware upgrading request to the equipment end;
the firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program.
2. The multi-firmware OTA upgrade method according to claim 1, wherein the firmware to be upgraded carries information of firmware and application programs having dependency relationship with the firmware upgrade; the responding to the firmware upgrading request of the equipment end, and the issuing of the firmware package matched with the firmware upgrading request to the equipment end comprises the following steps:
and searching a plurality of interdependent firmware according to the information of the firmware and the application program which are carried by the firmware and have a dependency relationship with the firmware upgrading to generate a firmware package, generating unique identification information of the firmware package, and binding and storing the firmware package and the unique identification information thereof.
3. The multi-firmware OTA upgrading method according to claim 1, wherein the issuing a firmware package matching with a firmware upgrading request to an equipment end in response to the firmware upgrading request of the equipment end comprises:
receiving information of a plurality of firmware needing to be combined into the firmware package to generate the firmware package, generating unique identification information of the firmware package, and storing the firmware package and the unique identification information in a binding mode.
4. The multi-firmware OTA upgrade method according to claim 2 or 3, wherein the unique identification information of the firmware package comprises: the firmware package comprises application program version information supported by the firmware package and equipment type information of equipment upgraded by the firmware package; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded;
the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end, further includes:
and searching the matched firmware packet according to the version information of the application program and the equipment type, and sending the firmware packet to the equipment terminal.
5. The multi-firmware OTA upgrade method according to claim 1, wherein the firmware to be upgraded carries information of firmware and application programs having dependency relationship with the firmware upgrade; the upgrading request carries version information of the application program and the equipment type of the equipment end of the firmware to be upgraded;
the responding to the firmware upgrading request of the equipment end, and issuing the firmware package matched with the firmware upgrading request to the equipment end comprises the following steps:
when a firmware upgrading request of an equipment end is received, searching a plurality of interdependent firmware according to the firmware carried by the firmware and having a dependency relationship with the firmware upgrading, the information of the application program, the version information of the application program carried by the upgrading request and the equipment type of the equipment end of the firmware to be upgraded to generate a firmware package corresponding to the upgrading request, and sending the firmware package to the equipment end.
6. The multi-firmware OTA upgrade method according to claim 1, wherein each of the firmware is a signature encryption packet and is stored in a bound manner with identification information of the firmware; the identification information of the firmware comprises a firmware version number, and the firmware version number is gradually increased.
7. A multi-firmware upgrading method is applied to an equipment side, and is characterized by comprising the following steps:
receiving a firmware package; the firmware package comprises at least two pieces of firmware, and the dependence between the at least two pieces of firmware and the application program meets the requirement of the upgrade;
and upgrading the firmware according to the firmware package.
8. A multi-firmware OTA upgrading device configured at a server side is characterized by comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a plurality of firmware to be upgraded;
the issuing module is used for responding to a firmware upgrading request of an equipment end and issuing a firmware package matched with the firmware upgrading request to the equipment end;
the firmware package is generated according to the dependency relationship among the plurality of firmware to be upgraded and the dependency relationship between the plurality of firmware and the application program.
9. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing the multi-firmware OTA upgrade method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a multi-firmware OTA upgrade method as claimed in any of the claims 1 to 6 or 7.
CN202210180490.2A 2022-02-25 2022-02-25 Multi-firmware OTA (over the air) upgrading method and device, server and storage medium Pending CN114489737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210180490.2A CN114489737A (en) 2022-02-25 2022-02-25 Multi-firmware OTA (over the air) upgrading method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210180490.2A CN114489737A (en) 2022-02-25 2022-02-25 Multi-firmware OTA (over the air) upgrading method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114489737A true CN114489737A (en) 2022-05-13

Family

ID=81484062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210180490.2A Pending CN114489737A (en) 2022-02-25 2022-02-25 Multi-firmware OTA (over the air) upgrading method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114489737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348172A (en) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 Method, device and medium for upgrading versions of different parts of edge network device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348172A (en) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 Method, device and medium for upgrading versions of different parts of edge network device
CN115348172B (en) * 2022-07-28 2024-05-14 鹿马智能科技(上海)有限公司 Method, equipment and medium for upgrading versions of different parts of edge network equipment

Similar Documents

Publication Publication Date Title
CN107396360B (en) Block verification method and device
CN110912707B (en) Block chain-based digital certificate processing method, device, equipment and storage medium
CN107797817B (en) Application updating method and device
CN109787774B (en) Upgrade downloading method and device based on digital signature verification, server and terminal
CN110263579B (en) Data processing method, system and related equipment
CN110995513A (en) Data sending and receiving method in Internet of things system, Internet of things equipment and platform
CN110225039B (en) Authority model obtaining method, authority authentication method, gateway, server and storage medium
CN102612023A (en) Mobile terminal and application updating method and server thereof
CN111124486A (en) Method, system and storage medium for discovering android application to refer to third-party tool
CN112286565A (en) Embedded system differential upgrading method based on storage container
CN114489737A (en) Multi-firmware OTA (over the air) upgrading method and device, server and storage medium
CN116360809B (en) Remote firmware upgrading method, system and medium for embedded intelligent terminal
JP4453656B2 (en) Terminal authentication apparatus and method
CN101616002B (en) User identity authentication method and device thereof
CN112035129A (en) Method and device for driver installation and upgrade and computer equipment
CN111866203A (en) Domain name resolution method and device, readable storage medium and equipment
CN113312073B (en) Installation package file processing method and related device
CN112398908B (en) Block chain network node deleting method, system, storage medium and device
CN115421745A (en) Equipment remote upgrading method, device, terminal and storage medium
CN111654398B (en) Configuration updating method and device, computer equipment and readable storage medium
CN114928602A (en) Encryption method, decryption method and OTA (over the air) upgrading system
CN113010377A (en) Method and device for collecting operation logs of operation
CN110825406A (en) Software upgrading method and related equipment
CN113867756A (en) Software upgrading method, terminal equipment and readable storage medium
KR100693551B1 (en) Terminal and network system for partial updating a software, and partial updating method, and software generating device and method

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