CN105262627B - Firmware upgrading method, device and system - Google Patents

Firmware upgrading method, device and system Download PDF

Info

Publication number
CN105262627B
CN105262627B CN201510734207.6A CN201510734207A CN105262627B CN 105262627 B CN105262627 B CN 105262627B CN 201510734207 A CN201510734207 A CN 201510734207A CN 105262627 B CN105262627 B CN 105262627B
Authority
CN
China
Prior art keywords
upgrade
firmware
upgrading
information
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.)
Active
Application number
CN201510734207.6A
Other languages
Chinese (zh)
Other versions
CN105262627A (en
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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510734207.6A priority Critical patent/CN105262627B/en
Publication of CN105262627A publication Critical patent/CN105262627A/en
Application granted granted Critical
Publication of CN105262627B publication Critical patent/CN105262627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions
    • H04L41/0863Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions by rolling back to previous configuration versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

the invention discloses a firmware upgrading method, a device and a system, wherein the method comprises the following steps: acquiring a current firmware version number, terminal equipment identification information and historical upgrading result information; if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to a server, and triggering the server to push a full firmware upgrading package, wherein the request comprises a current firmware version number, terminal equipment identification information and the first upgrading mark information; if the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package, and the request comprises a current firmware version number, terminal equipment identification information and second upgrading mark information; and upgrading the firmware according to the firmware upgrading package pushed by the server. The invention can improve the efficiency and accuracy of firmware upgrade.

Description

firmware upgrading method, device and system
Technical Field
The invention belongs to the technical field of computers and networks, and particularly relates to a firmware upgrading method, device and system.
background
FOTA (Firmware Over-The-Air Firmware upgrade) is The current mainstream upgrade mode of a mobile device operating system (such as Android), and a system upgrade packet is transmitted between a terminal and a server through network interaction to complete The Firmware upgrade of The terminal. The system upgrade package used in the firmware upgrade can be divided into a full firmware upgrade package and an incremental firmware upgrade package according to contents.
The firmware upgrade performed by the full firmware upgrade package is the upgrade of all files of the system, which is equivalent to deleting all files of the current system and then reinstalling all files of the current system. The upgrading mode has no version dependence, but has the defects of slow downloading speed, overlong upgrading time and higher upgrading risk due to the large volume of the whole firmware upgrading package.
the firmware upgrade is carried out through the increment firmware upgrade package, only the difference part is upgraded, and the non-difference part is not modified. However, the upgrade method has strong dependency on the version, the terminal checks the original file when performing incremental upgrade, and if the original file to be upgraded is modified and the current version cannot be determined, the incremental upgrade will fail. Therefore, for the terminal device modified by the root tool, the manufacturer generally gives up upgrading the firmware of the terminal device, but then the control of the terminal device is lost, and some software bugs cannot be repaired in time; or the terminal firmware is failed to be upgraded, and after the version of the terminal firmware is older and older, the whole firmware upgrade package is acquired to upgrade the terminal firmware, however, frequent upgrade fails, so that the terminal firmware cannot be updated for a long time, poor experience is brought to users, market complaints are caused, and product stickiness is influenced.
Disclosure of Invention
the invention provides a firmware upgrading method, a device and a system, which are used for differentially sending an incremental firmware upgrading packet or a full firmware upgrading packet through a server according to different upgrading mark information sent by a terminal so as to improve the flexibility, the efficiency and the accuracy of firmware upgrading.
a first aspect of the present invention provides a firmware upgrading method, including:
Acquiring a current firmware version number, terminal equipment identification information and historical upgrading result information; if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to a server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information; if the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package matched with the terminal equipment identification information, and the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information; and acquiring a firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package.
a second aspect of the present invention provides a firmware upgrading method, including:
Receiving a request for acquiring a firmware upgrade package sent by terminal equipment; analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request; if the upgrade flag information is first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages; and if the upgrade mark information is second upgrade mark information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as the firmware upgrade package.
a third aspect of the present invention provides a firmware upgrading apparatus, including:
The acquisition module is used for acquiring the version number of the current firmware, the identification information of the terminal equipment and the historical upgrading result information; the generating module is used for generating first upgrading mark information if the historical upgrading result information is upgrading failure; a sending module, configured to send a request for obtaining a firmware upgrade package to a server, and trigger the server to push a full amount of firmware upgrade packages matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the first upgrade flag information; the generating module is further configured to generate second upgrade flag information if the history upgrade result information is successful in upgrade; the sending module is further configured to send a request for obtaining a firmware upgrade package to the server, and trigger the server to push an incremental firmware upgrade package matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the second upgrade flag information; the acquisition module is further used for acquiring a firmware upgrade package pushed by the server; and the upgrading module is used for upgrading the firmware according to the firmware upgrading package.
A fourth aspect of the present invention provides a firmware upgrading apparatus, including:
the receiving module is used for receiving a request for acquiring a firmware upgrading package sent by the terminal equipment; the analysis module is used for analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request; the pushing module is used for pushing a full firmware upgrading packet corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrading packet if the upgrading tag information is first upgrading tag information; the pushing module is further configured to, if the upgrade flag information is second upgrade flag information, push an incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information to the terminal device as the firmware upgrade package.
A fifth aspect of the present invention provides a firmware upgrade system, including:
a terminal device and a server; the terminal equipment is used for acquiring the version number of the current firmware, the identification information of the terminal equipment and the historical upgrading result information; if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to the server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information; if the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package matched with the terminal equipment identification information, and the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information; acquiring a firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package; the server is used for receiving the request for acquiring the firmware upgrading package sent by the terminal equipment; analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request; if the upgrade flag information is the first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages; and if the upgrade mark information is the second upgrade mark information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as the firmware upgrade package.
It can be seen from the foregoing embodiments of the present invention that, by generating different upgrade flag information according to whether there is upgrade failure result information and sending the upgrade flag information to the server to request the firmware upgrade package, the server can send an incremental firmware upgrade package or a full firmware upgrade package according to the different upgrade flag information, and compared with the prior art, since the terminal device can quickly obtain a corresponding optimum firmware upgrade package according to a history upgrade condition, the present invention can improve firmware upgrade efficiency and accuracy.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
fig. 1 is a schematic structural diagram of a firmware upgrade system provided in a first embodiment of the present invention;
fig. 2 is a schematic flowchart of an implementation flow of a firmware upgrading method according to a second embodiment of the present invention;
Fig. 3 is a schematic flowchart of an implementation of a firmware upgrading method according to a third embodiment of the present invention;
Fig. 4 is a schematic flowchart of an implementation of a firmware upgrading method according to a fourth embodiment of the present invention;
fig. 5 is a schematic flowchart of an implementation of a firmware upgrading method according to a fifth embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a firmware upgrading device provided in a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a firmware upgrading device according to a seventh embodiment of the present invention;
Fig. 8 is a schematic structural diagram of a firmware upgrading device according to an eighth embodiment of the present invention;
Fig. 9 is a schematic structural diagram of a firmware upgrading apparatus according to a ninth embodiment of the present invention.
Detailed Description
in order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
when terminal software maintenance is implemented, the software version of the terminal running is generally required to be confirmed, especially when differential upgrade is executed, the terminal software version is required to be ensured to be consistent with the server-side software version corresponding to the differential data packet required by the upgrade, otherwise, the upgrade cannot be executed. When the terminal is maintained and the problem is analyzed, the software version number currently running by the terminal also needs to be known, so that the problem analysis progress can be accelerated.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a firmware upgrade system according to a first embodiment of the present invention. As shown in fig. 1, the terminal device 10 and the server 20 may be located in a wireless network, and the two devices interact with each other via a wireless connection to implement firmware upgrade in the terminal device 10.
The terminal device 10 may be a mobile terminal including a smart phone, a tablet computer, a portable media player, an intelligent wearable device, and the like, which support wireless network connections such as mobile communication and WiFi. The server 20 is a firmware upgrade server in which a full firmware upgrade package and a plurality of incremental firmware upgrade packages of firmware corresponding to different models of terminals are stored.
after the terminal device 10 is started, the current firmware version number, the terminal device identification information, and the historical upgrade result information are obtained. If the historical upgrade result information is upgrade failure, first upgrade flag information is generated, a request for acquiring a firmware upgrade package is sent to the server 20, the server 20 is triggered to push a full amount of firmware upgrade packages matched with the identification information of the terminal device 10, and the request includes the current firmware version number, the identification information of the terminal device and the first upgrade flag information. If the historical upgrade result information is successful, second upgrade flag information is generated, a request for acquiring a firmware upgrade package is sent to the server 20, the server 20 is triggered to push an incremental firmware upgrade package matched with the terminal equipment identification information, and the request includes the current firmware version number, the terminal equipment identification information and the second upgrade flag information. The firmware upgrade package pushed by the server 20 is acquired, and firmware upgrade is performed according to the firmware upgrade package.
Server 20 receives the request for acquiring the firmware upgrade package sent by terminal device 10, and parses the current firmware version number, terminal device identification information, and upgrade flag information of terminal device 20 from the request. If the upgrade flag information is the first upgrade flag information, pushing the total firmware upgrade package corresponding to the terminal device identification information to the terminal device 10 as the firmware upgrade package. And if the upgrade flag information is the second upgrade flag information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information to the terminal device 10 as a firmware upgrade package.
For details of this embodiment, please refer to the following description of the embodiments shown in fig. 2 to fig. 9, which is not repeated herein.
In the embodiment, different upgrading mark information is generated by the terminal equipment according to whether upgrading failure result information exists or not and is sent to the server to request the firmware upgrading packet, so that the server can send the incremental firmware upgrading packet or the full firmware upgrading packet according to the different upgrading mark information in a distinguishing manner.
referring to fig. 2, fig. 2 is a schematic diagram illustrating an implementation flow of a firmware upgrading method according to a second embodiment of the present invention, where the firmware upgrading method can be applied to the terminal device 10 shown in fig. 1 to implement firmware upgrading on the terminal device, where the firmware upgrading may include, but is not limited to: and upgrading a driver, an operating system, a function, an application program and the like of the terminal. As shown in fig. 2, the method mainly includes the following steps S201 to S204:
s201, acquiring a current firmware version number, terminal equipment identification information and historical upgrading result information;
the terminal equipment acquires the current firmware version number, namely the firmware version number to be upgraded.
the history upgrade result information indicates information of success or failure of upgrade in the history upgrade process.
S202, if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to a server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information;
the firmware upgrading package is used for upgrading the firmware of the terminal equipment and can be divided into an increment firmware upgrading package and a full firmware upgrading package according to different contents. The full firmware upgrade package is generally a complete firmware package of the latest version, and the terminal device can complete upgrade only according to one full firmware upgrade package when there is no complete firmware package of other versions. The incremental firmware upgrading package is a difference package between the complete firmware package of the latest version and the complete firmware package of the historical version, and the terminal equipment can upgrade the difference part of the latest version and the historical version of the upgraded firmware by only upgrading the corresponding difference package on the basis of the complete firmware package of the historical version. For example, firmware V20version, which may contain one V20A full firmware upgrade package of version and three incremental firmware upgrade packages, the three incremental firmware upgrade packages are V17-20、V18-20and V19-20Wherein the subscript of the incremental firmware upgrade package indicates that the incremental firmware upgrade package is a difference package between the latest version of the complete firmware package and a different historical version of the complete firmware package.
When the terminal device uses the incremental firmware upgrade package to upgrade the firmware, if the original firmware version file on the terminal device is modified or damaged, the upgrade may fail. If the history upgrade result information is upgrade failure, generating first upgrade flag information, specifically, the first upgrade flag information may be implemented by a field < full _ zip > in the request for obtaining the firmware upgrade package. That is, the field < full _ zip > is assigned a value of 1, indicating that the upgrade has failed. And the server acquires the first upgrading mark information, confirms that the terminal equipment cannot upgrade the firmware through the incremental firmware upgrading package, pushes the full-scale firmware upgrading package as the firmware upgrading package, and pushes the firmware upgrading package to the terminal equipment.
it should be noted that the terminal device needs to exit the current Android operating system after obtaining the firmware upgrade package and enter a specific firmware upgrade system to complete firmware upgrade, and the specific firmware upgrade system may be a Recovery system.
s203, if the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package matched with the terminal equipment identification information, and the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information;
if the history upgrade result information is successful, generating second upgrade flag information, specifically, the second upgrade flag information may also be implemented by a field < full _ zip > in the request for obtaining the firmware upgrade package. That is, the field < full _ zip > is assigned a value of 0, indicating that no upgrade failure occurred. The server acquires the second upgrading mark information, confirms that the terminal equipment can upgrade the firmware through the incremental firmware upgrading package, pushes the incremental firmware upgrading package as the firmware upgrading package, and pushes the firmware upgrading package to the terminal equipment.
And S204, acquiring the firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package.
If the firmware upgrade package is an increment firmware upgrade package, differential firmware upgrade is realized according to the increment firmware upgrade package on the basis of the complete firmware package of the current firmware version.
If the firmware upgrading package is the full firmware upgrading package, the full firmware upgrading of the latest version is directly realized.
in the embodiment of the invention, different upgrading mark information is generated according to whether upgrading failure result information exists or not and is sent to the server to request the firmware upgrading packet, so that the server can send the incremental firmware upgrading packet or the full firmware upgrading packet according to the different upgrading mark information in a distinguishing way.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating an implementation flow of a firmware upgrading method according to a third embodiment of the present invention, where the firmware upgrading method can be applied to the terminal device 10 shown in fig. 1 to implement firmware upgrading on the terminal device, where the firmware upgrading may include, but is not limited to: and upgrading a driver, an operating system, a function, an application program and the like of the terminal. As shown in fig. 3, the method mainly includes the following steps S301 to S307:
S301, acquiring a current firmware version number, terminal equipment identification information and historical upgrading result information;
The terminal equipment acquires the current firmware version number, namely the firmware version number to be upgraded.
The history upgrade result information indicates information of success or failure of upgrade in the history upgrade process.
As an embodiment of the present invention, the history upgrade result information is obtained by the following steps: acquiring an upgrade failure flag file; if the upgrade failure flag file is acquired, determining that the historical upgrade result information is upgrade failure; and if the upgrade failure flag file is not acquired, determining that the historical upgrade result information is successful in upgrade. The upgrade failure flag file is a flag file generated when the upgrade fails, and whether the history upgrade succeeds or not can be determined by judging whether the file exists or not.
s302, if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to a server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information;
when the terminal device uses the incremental firmware upgrade package to upgrade the firmware, if the original firmware version file on the terminal device is modified or damaged, the upgrade may fail. If the history upgrade result information is upgrade failure, generating first upgrade flag information, specifically, the first upgrade flag information may be implemented by a field < full _ zip > in the request for obtaining the firmware upgrade package. That is, the field < full _ zip > is assigned a value of 1, indicating that the upgrade has failed. And the server acquires the first upgrading mark information, confirms that the terminal equipment cannot upgrade the firmware through the incremental firmware upgrading package, pushes the full-scale firmware upgrading package as the firmware upgrading package, and pushes the firmware upgrading package to the terminal equipment.
Specifically, the request for acquiring the firmware upgrade package is sent to the server, and is a request for acquiring the firmware upgrade package, which is obtained by packaging the current firmware version number, the terminal device identification information, and the first upgrade flag information into an Extensible markup language (XML) format, and is sent to the server through a hypertext transfer Protocol (HTTP) to request the firmware upgrade package.
s303, if the historical upgrading result information is successful in upgrading, generating second upgrading mark information, sending a request for acquiring a firmware upgrading package to the server, and triggering the server to push an incremental firmware upgrading package matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information;
specifically, the request for acquiring the firmware upgrade package is sent to the server, and is a request for acquiring the firmware upgrade package, which is in an XML language form and is packaged by the current firmware version number, the terminal device identification information, and the second upgrade flag information, and is sent to the server through an HTTP protocol to request the firmware upgrade package.
if the history upgrade result information is successful in upgrading, generating second upgrade flag information, specifically, the second upgrade flag information may also be implemented by a field < full _ zip > in the request for obtaining the firmware upgrade package. That is, the field < full _ zip > is assigned a value of 0, indicating that no upgrade failure occurred. The server acquires the second upgrading mark information, confirms that the terminal equipment can upgrade the firmware through the incremental firmware upgrading package, pushes the incremental firmware upgrading package as the firmware upgrading package, and pushes the firmware upgrading package to the terminal equipment.
s304, acquiring a firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package;
If the firmware upgrade package is an increment firmware upgrade package, differential firmware upgrade is realized according to the increment firmware upgrade package on the basis of the complete firmware package of the current firmware version.
If the firmware upgrading package is the full firmware upgrading package, the full firmware upgrading of the latest version is directly realized.
S305, if the upgrading fails, generating an upgrading failure flag file and reporting an error;
The method comprises the steps that a terminal device obtains a firmware upgrading package pushed by a server and upgrades the firmware upgrading package, if upgrading is successful, the upgrading is completed, if upgrading is failed, an upgrading failure mark file is generated, if the upgrading failure mark file exists in a system, the upgrading of the firmware is failed, and when the upgrading of the firmware upgrading package is continuously requested, historical upgrading result information can be determined to be upgrading failure according to the upgrading failure mark file.
And after the upgrade fails, prompting a user that an error occurs in the upgrade, quitting the upgrade, leaving the firmware upgrade system, and entering the Android system after restarting.
S306, if the upgrade is successful, judging whether the upgrade failure flag file exists;
The method comprises the steps that a firmware upgrading packet pushed by a server and obtained by terminal equipment is upgraded, if the upgrading is successful, whether an upgrading failure flag file exists is judged, and if the upgrading failure flag file exists, in order to avoid misjudgment of next upgrading, a step S307 is executed; if not, the upgrade is finished.
And S307, if the upgrade failure flag file exists, deleting the upgrade failure flag file.
In the embodiment of the invention, different upgrading mark information is generated according to whether upgrading failure result information exists or not and is sent to the server to request the firmware upgrading packet, so that the server can send the incremental firmware upgrading packet or the full firmware upgrading packet according to the different upgrading mark information in a distinguishing way.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an implementation flow of a firmware upgrading method according to a fourth embodiment of the present invention, where the firmware upgrading method can be applied to the server 20 shown in fig. 1 to implement firmware upgrading on a terminal device, where the firmware upgrading may include, but is not limited to: and upgrading a driver, an operating system, a function, an application program and the like of the terminal. As shown in fig. 4, the method mainly includes the following steps S401 to S404:
s401, receiving a request for acquiring a firmware upgrade package sent by terminal equipment;
s402, analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request;
The current firmware version number is the firmware version number to be upgraded by the terminal device.
The upgrade flag information may be first upgrade flag information indicating that the firmware upgrade of the terminal device has failed last time; or the second upgrade flag information may indicate that the firmware upgrade of the terminal device has not failed.
S403, if the upgrade flag information is first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages;
Preferably, one latest version of the full firmware upgrade package and three incremental firmware upgrade packages are typically stored on the server. For example, the latest version is V20And (4) version. The full firmware upgrade package is V20a version of the complete firmware package. The three incremental firmware upgrade packages are respectively V17-20、V18-20And V19-20wherein the subscript of the incremental firmware upgrade package indicates that the incremental firmware upgrade package is the latest versionA difference package between the full firmware package and a different historical version of the full firmware package. V16The firmware upgrade packages of the version and the previous version do not have corresponding increment firmware upgrade packages, and in this case, the server pushes V20And the full firmware upgrading package of the version carries out firmware upgrading on the terminal equipment.
If the upgrade flag information is the first upgrade flag information, it indicates that the firmware upgrade performed by the terminal device has failed before, and therefore, the full firmware upgrade package corresponding to the terminal device identification information is pushed to the terminal device as the firmware upgrade package, so as to improve the success rate of firmware upgrade.
And S404, if the upgrade flag information is second upgrade flag information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as the firmware upgrade package.
If the upgrade flag information is the second upgrade flag information, it indicates that the firmware upgrade performed by the terminal device has not failed previously, or the firmware upgrade has not been performed previously, and in order to increase the firmware upgrade speed, the incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information is pushed to the terminal device as a firmware upgrade package. On the basis of not reducing the success rate of firmware upgrading, the advantages of small incremental firmware upgrading package system and fast upgrading are exerted.
In the embodiment of the invention, the server is used for differentially sending the incremental firmware upgrading packets or the full firmware upgrading packets according to different upgrading mark information sent by the terminal equipment, compared with the prior art, the server can quickly send the most suitable firmware upgrading packets according to the historical upgrading conditions of the terminal equipment, so that the firmware upgrading efficiency and the firmware upgrading accuracy can be improved.
referring to fig. 5, fig. 5 is a schematic diagram illustrating an implementation flow of a firmware upgrading method according to a fifth embodiment of the present invention, where the firmware upgrading method can be applied to the server 20 shown in fig. 1 to implement firmware upgrading on a terminal device, where the firmware upgrading may include, but is not limited to: and upgrading a driver, an operating system, a function, an application program and the like of the terminal. As shown in fig. 5, the method mainly includes the following steps S501 to S506:
S501, receiving a request for acquiring a firmware upgrade package sent by terminal equipment;
S502, analyzing the current firmware version number of the terminal equipment, the terminal equipment identification information and the upgrading mark information from the request;
The current firmware version number is the firmware version number to be upgraded by the terminal device.
the upgrade flag information may be first upgrade flag information indicating that the firmware upgrade of the terminal device has failed last time; or the second upgrade flag information may indicate that the firmware upgrade of the terminal device has not failed.
S503, if the upgrade flag information is first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages;
specifically, the latest firmware version number on the server is obtained, and the current firmware version number is compared with the latest firmware version number; if the current firmware version number is lower than the latest firmware version number, the type of the upgrading mark information is judged, and if the current firmware version number is not lower than the latest firmware version number, prompt information is sent to the terminal equipment. That is, if the current firmware version number of the terminal device is lower than the latest firmware version number on the server, it is further determined whether the type of the upgrade flag information in the request for acquiring the firmware upgrade package is the first upgrade flag information or the second upgrade flag information. And if the current firmware version number is not lower than the latest firmware version number, sending prompt information to the terminal equipment to prompt that the firmware version number on the terminal equipment is the latest version number, so that the upgrading is not needed, and a firmware upgrading package is not pushed to the terminal equipment.
If the upgrade flag information is the first upgrade flag information, it indicates that the firmware upgrade performed by the terminal device has failed, and therefore, the full firmware upgrade package corresponding to the current firmware version number and the terminal device identification information is pushed to the terminal device as the firmware upgrade package, so as to improve the success rate of the firmware upgrade.
S504, if the upgrade flag information is second upgrade flag information, detecting whether an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information exists;
and S505, if so, pushing the detected incremental firmware upgrade package to the terminal equipment as the firmware upgrade package, and if not, pushing the full-scale firmware upgrade package to the terminal equipment as the firmware upgrade package.
If the upgrade flag information is the second upgrade flag information, it indicates that the firmware upgrade performed by the terminal device has not failed previously, or the firmware upgrade has not been performed previously, and in order to increase the firmware upgrade speed, the incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information is pushed to the terminal device as a firmware upgrade package.
Before pushing, whether an incremental firmware upgrade package corresponding to the current firmware version and the identification information of the terminal equipment exists is detected, if yes, the incremental firmware upgrade package is pushed to the terminal equipment as the firmware upgrade package, and the advantages of small system and fast upgrade of the incremental firmware upgrade package are exerted on the basis of not reducing the success rate of firmware upgrade. The incremental firmware upgrade package is a difference package between the latest version complete firmware package and the current version complete firmware package corresponding to the terminal device identification information. The difference package may be one or more, for example, if the current version is V17the latest version is V20Then the incremental firmware upgrade package may include: v17-20Upgrade kit, V18-20upgrade package and V19-20Upgrade package, which may also include only V17-20And (5) upgrading the package.
And if the corresponding incremental firmware upgrade package does not exist, pushing the full-amount firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as a firmware upgrade package so as to ensure that the terminal equipment can always obtain the firmware upgrade package for upgrading.
In the embodiment of the invention, the server is used for differentially sending the incremental firmware upgrading packets or the full firmware upgrading packets according to different upgrading mark information sent by the terminal equipment, compared with the prior art, the server can quickly send the most suitable firmware upgrading packets according to the historical upgrading conditions of the terminal equipment, so that the firmware upgrading efficiency and the firmware upgrading accuracy can be improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a firmware upgrading device according to a sixth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The apparatus may be an execution subject of the firmware upgrading method provided in the first embodiment, such as the terminal device shown in fig. 1 or a module in the terminal device. As shown in fig. 6, the apparatus mainly includes: an obtaining module 601, a generating module 602, a sending module 603 and an upgrading module 604.
The acquiring module 601 is configured to acquire a current firmware version number, terminal device identification information, and historical upgrade result information;
A generating module 602, configured to generate first upgrade flag information if the history upgrade result information is an upgrade failure;
a sending module 603, configured to send a request for obtaining a firmware upgrade package to a server, and trigger the server to push a full amount of firmware upgrade packages matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the first upgrade flag information;
the generating module 602 is further configured to generate second upgrade flag information if the history upgrade result information is that the upgrade is successful;
The sending module 603 is further configured to send a request for obtaining a firmware upgrade package to the server, and trigger the server to push an incremental firmware upgrade package matched with the terminal device identification information, where the request includes a current firmware version number, terminal device identification information, and the second upgrade flag information;
The obtaining module 601 is further configured to obtain a firmware upgrade package pushed by the server;
And an upgrade module 604, configured to upgrade firmware according to the firmware upgrade package.
it should be noted that, in the above embodiment of the firmware upgrading apparatus illustrated in fig. 6, the division of the functional modules is only an example, and in practical applications, the above functions may be allocated to different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the access apparatus is divided into different functional modules to complete all or part of the functions described above. In practical applications, corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software (the foregoing description principles may be applied to various embodiments provided in this specification). For details, reference is not made to the foregoing description of the embodiments shown in fig. 1 and 3.
As can be seen from the firmware upgrading apparatus illustrated in fig. 6, the firmware upgrading apparatus provided in this embodiment generates different upgrading flag information according to whether there is upgrading failure result information and sends the different upgrading flag information to the server to request the firmware upgrading package, so that the server sends the incremental firmware upgrading package or the full firmware upgrading package according to the different upgrading flag information, and compared with the prior art, since the terminal device can quickly obtain the corresponding optimum firmware upgrading package according to the historical upgrading condition, the firmware upgrading efficiency and accuracy can be improved in the present invention.
referring to fig. 7, fig. 7 is a schematic structural diagram of a firmware upgrading device according to a seventh embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The apparatus may be an execution subject of the firmware upgrading method provided in the first or second embodiment, such as the terminal device shown in fig. 1 or a module in the terminal device. As shown in fig. 7, the apparatus mainly includes: the system comprises an acquisition module 701, a generation module 702, a sending module 703, an upgrade module 704, a file generation module 705, an error reporting module 706, a judgment module 707, and a deletion module 708.
the acquiring module 701 is configured to acquire a current firmware version number, terminal device identification information, and historical upgrade result information;
a generating module 702, configured to generate first upgrade flag information if the history upgrade result information is an upgrade failure;
a sending module 703, configured to send a request for obtaining a firmware upgrade package to a server, and trigger the server to push a full amount of firmware upgrade packages matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the first upgrade flag information;
the generating module 702 is further configured to generate second upgrade flag information if the history upgrade result information is that the upgrade is successful;
the sending module 703 is further configured to send a request for obtaining a firmware upgrade package to the server, and trigger the server to push an incremental firmware upgrade package matched with the terminal device identification information, where the request includes a current firmware version number, terminal device identification information, and the second upgrade flag information;
the obtaining module 701 is further configured to obtain a firmware upgrade package pushed by the server;
And the upgrading module 704 is used for upgrading the firmware according to the firmware upgrading package.
Further, the obtaining module 701 is further configured to obtain an upgrade failure flag file, determine that the historical upgrade result information is upgrade failure if the upgrade failure flag file is obtained, and determine that the historical upgrade result information is upgrade success if the upgrade failure flag file is not obtained;
the apparatus may further comprise:
the file generating module 705 is configured to generate an upgrade failure flag file if the upgrade fails.
And an error reporting module 706 configured to report an error.
A determining module 707, configured to determine whether the upgrade failure flag file exists if the upgrade is successful;
A deleting module 708, configured to delete the upgrade failure flag file if the determining module 707 determines that the upgrade failure flag file exists.
Further, the sending module 703 is further configured to package the current firmware version number, the terminal device identification information, and the first upgrade flag information or the second upgrade flag information into a request for obtaining a firmware upgrade package in an extensible markup language format, and send the request to the server through a hypertext transfer protocol.
In this embodiment, reference is not made to the foregoing description of the embodiment shown in fig. 1 and 3 for details.
as can be seen from the firmware upgrading apparatus illustrated in fig. 7, the firmware upgrading apparatus provided in this embodiment generates different upgrading flag information according to whether there is upgrading failure result information and sends the different upgrading flag information to the server to request the firmware upgrading package, so that the server sends the incremental firmware upgrading package or the full firmware upgrading package according to the different upgrading flag information, and compared with the prior art, since the terminal device can quickly obtain the corresponding optimum firmware upgrading package according to the historical upgrading condition, the firmware upgrading efficiency and accuracy can be improved in the present invention.
referring to fig. 8, fig. 8 is a schematic structural diagram of a firmware upgrading device according to an eighth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The apparatus may be an execution subject of the firmware upgrading method provided in the third embodiment, such as the server shown in fig. 1 or a module in the server. As shown in fig. 8, the apparatus mainly includes: a receiving module 801, a parsing module 802, and a pushing module 803.
The receiving module 801 is configured to receive a request for acquiring a firmware upgrade package sent by a terminal device;
The parsing module 802 is configured to parse the current firmware version number of the terminal device, the terminal device identification information, and the upgrade flag information from the request;
a pushing module 803, configured to, if the upgrade flag information is first upgrade flag information, push a full amount of firmware upgrade packages corresponding to the terminal device identification information to the terminal device as the firmware upgrade packages;
The pushing module 803 is further configured to, if the upgrade flag information is second upgrade flag information, push the incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information to the terminal device as the firmware upgrade package.
for other details, reference is made to the description of the embodiments shown in fig. 1, fig. 4 and fig. 5.
as can be seen from the firmware upgrading apparatus illustrated in fig. 8, the firmware upgrading apparatus provided in this embodiment differentially transmits the incremental firmware upgrading packet or the full firmware upgrading packet according to different upgrading flag information transmitted by the terminal device through the server, and compared with the prior art, the present invention can improve the firmware upgrading efficiency and accuracy because the server can rapidly transmit the most suitable firmware upgrading packet according to the historical upgrading condition of the terminal device.
referring to fig. 9, fig. 9 is a schematic structural diagram of a firmware upgrading apparatus according to a ninth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The apparatus may be an execution subject of the firmware upgrading method provided in the third or fourth embodiment, such as the server shown in fig. 1 or a module in the server. As shown in fig. 9, the apparatus mainly includes: a receiving module 901, a parsing module 902, a pushing module 903, and a detecting module 904.
The receiving module 901 is configured to receive a request for acquiring a firmware upgrade package sent by a terminal device;
the parsing module 902 is configured to parse the current firmware version number of the terminal device, the terminal device identification information, and the upgrade flag information from the request;
a pushing module 903, configured to, if the upgrade flag information is first upgrade flag information, push a full firmware upgrade packet corresponding to the terminal device identification information to the terminal device as the firmware upgrade packet;
The pushing module 903 is further configured to, if the upgrade flag information is second upgrade flag information, push an incremental firmware upgrade packet corresponding to the current firmware version number and the terminal device identification information to the terminal device as the firmware upgrade packet.
Further, the apparatus further comprises:
a detecting module 904, configured to detect whether an incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information exists if the upgrade flag information is the second upgrade flag information.
the pushing module 903 is further configured to, if the detecting module 904 detects that the incremental firmware upgrade package exists, push the detected incremental firmware upgrade package to the terminal device as the firmware upgrade package, and if the detecting module 904 does not detect the incremental firmware upgrade package, push the full amount of firmware upgrade package to the terminal device as the firmware upgrade package.
further, the apparatus may further include:
An obtaining module 905, configured to obtain the latest firmware version number on the server.
A comparing module 906 for comparing the current firmware version number with the latest firmware version number.
A determining module 907, configured to determine the type of the upgrade flag information if the current firmware version number is lower than the latest firmware version number, and send a prompt message to the terminal device if the current firmware version number is not lower than the latest firmware version number.
in this embodiment, reference is not made to the foregoing description of the embodiments shown in fig. 1 to 8 for details.
As can be seen from the firmware upgrading apparatus illustrated in fig. 9, the firmware upgrading apparatus provided in this embodiment differentially transmits the incremental firmware upgrading packet or the full firmware upgrading packet according to different upgrading flag information transmitted by the terminal device through the server, and compared with the prior art, the present invention can improve the firmware upgrading efficiency and accuracy because the server can rapidly transmit the most suitable firmware upgrading packet according to the historical upgrading condition of the terminal device.
in the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
in addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
the integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
in view of the above description of the firmware upgrading method, apparatus and system provided by the present invention, those skilled in the art will recognize that changes may be made in the embodiments and applications of the invention, and in view of the above description, the content of the description should not be construed as limiting the invention.

Claims (10)

1. a method of firmware upgrade, the method comprising:
Acquiring a current firmware version number, terminal equipment identification information and historical upgrading result information;
if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to a server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information;
If the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package matched with the terminal equipment identification information, and the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information;
And acquiring a firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package.
2. the method of claim 1, wherein the obtaining historical upgrade result information comprises:
acquiring an upgrade failure flag file;
if the upgrade failure flag file is acquired, determining that the historical upgrade result information is upgrade failure;
And if the upgrade failure flag file is not acquired, determining that the historical upgrade result information is successful in upgrade.
3. The method according to claim 1 or 2, wherein the firmware upgrade according to the firmware upgrade package comprises:
if the upgrade fails, generating an upgrade failure mark file and reporting an error;
If the upgrade is successful, judging whether the upgrade failure mark file exists;
and if so, deleting the upgrade failure flag file.
4. A method of firmware upgrade, the method comprising:
Receiving a request for acquiring a firmware upgrade package sent by terminal equipment;
Analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request;
if the upgrade flag information is first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages, wherein historical upgrade result information corresponding to the first upgrade flag information is upgrade failure;
And if the upgrade mark information is second upgrade mark information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as the firmware upgrade package, wherein the historical upgrade result information corresponding to the second upgrade mark information is upgrade success or no upgrade.
5. the method of claim 4, wherein if the upgrade flag information is second upgrade flag information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information to the terminal device as the firmware upgrade package comprises:
If the upgrade flag information is second upgrade flag information, detecting whether an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information exists;
And if the detected increment firmware upgrade package is the firmware upgrade package, pushing the detected increment firmware upgrade package to the terminal equipment, otherwise, pushing the full-amount firmware upgrade package to the terminal equipment as the firmware upgrade package.
6. a firmware upgrade apparatus, characterized in that the apparatus comprises:
The acquisition module is used for acquiring the version number of the current firmware, the identification information of the terminal equipment and the historical upgrading result information;
The generating module is used for generating first upgrading mark information if the historical upgrading result information is upgrading failure;
A sending module, configured to send a request for obtaining a firmware upgrade package to a server, and trigger the server to push a full amount of firmware upgrade packages matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the first upgrade flag information;
the generating module is further configured to generate second upgrade flag information if the history upgrade result information is successful in upgrade;
the sending module is further configured to send a request for obtaining a firmware upgrade package to the server, and trigger the server to push an incremental firmware upgrade package matched with the terminal device identification information, where the request includes the current firmware version number, the terminal device identification information, and the second upgrade flag information;
The acquisition module is further used for acquiring a firmware upgrade package pushed by the server;
and the upgrading module is used for upgrading the firmware according to the firmware upgrading package.
7. The apparatus of claim 6,
The obtaining module is further configured to obtain an upgrade failure flag file, determine that the historical upgrade result information is upgrade failure if the upgrade failure flag file is obtained, and determine that the historical upgrade result information is upgrade success if the upgrade failure flag file is not obtained;
the device further comprises:
The file generation module is used for generating an upgrade failure flag file if the upgrade fails;
The error reporting module is used for reporting errors;
The judging module is used for judging whether the upgrading failure mark file exists or not if the upgrading is successful;
and the deleting module is used for deleting the upgrade failure mark file if the judging module judges that the upgrade failure mark file exists.
8. A firmware upgrade apparatus, characterized in that the apparatus comprises:
The receiving module is used for receiving a request for acquiring a firmware upgrading package sent by the terminal equipment;
The analysis module is used for analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request;
the pushing module is used for pushing a full firmware upgrading packet corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrading packet if the upgrading tag information is first upgrading tag information, and historical upgrading result information corresponding to the first upgrading tag information is upgrading failure;
the pushing module is further configured to, if the upgrade flag information is second upgrade flag information, push an incremental firmware upgrade package corresponding to the current firmware version number and the terminal device identification information to the terminal device as the firmware upgrade package, where history upgrade result information corresponding to the second upgrade flag information is successful upgrade or not upgraded.
9. the apparatus of claim 8,
The device further comprises:
the detection module is used for detecting whether an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information exists or not if the upgrade mark information is second upgrade mark information;
the pushing module is further configured to, if the detecting module detects that the incremental firmware upgrade package exists, push the detected incremental firmware upgrade package to the terminal device as the firmware upgrade package, and if the detecting module does not detect the incremental firmware upgrade package, push the full amount of firmware upgrade package to the terminal device as the firmware upgrade package.
10. A firmware upgrade system, characterized in that the system comprises:
A terminal device and a server;
the terminal equipment is used for acquiring the version number of the current firmware, the identification information of the terminal equipment and the historical upgrading result information; if the historical upgrading result information is upgrading failure, generating first upgrading mark information, sending a request for acquiring a firmware upgrading package to the server, and triggering the server to push a full amount of firmware upgrading packages matched with the terminal equipment identification information, wherein the request comprises the current firmware version number, the terminal equipment identification information and the first upgrading mark information; if the historical upgrading result information is successful in upgrading, second upgrading mark information is generated, a request for acquiring a firmware upgrading package is sent to the server, the server is triggered to push an incremental firmware upgrading package matched with the terminal equipment identification information, and the request comprises the current firmware version number, the terminal equipment identification information and the second upgrading mark information; acquiring a firmware upgrading package pushed by the server, and upgrading the firmware according to the firmware upgrading package;
The server is used for receiving the request for acquiring the firmware upgrading package sent by the terminal equipment; analyzing the current firmware version number, the terminal equipment identification information and the upgrading mark information of the terminal equipment from the request; if the upgrade flag information is the first upgrade flag information, pushing a full amount of firmware upgrade packages corresponding to the terminal equipment identification information to the terminal equipment as the firmware upgrade packages; and if the upgrade mark information is the second upgrade mark information, pushing an incremental firmware upgrade package corresponding to the current firmware version number and the terminal equipment identification information to the terminal equipment as the firmware upgrade package.
CN201510734207.6A 2015-10-30 2015-10-30 Firmware upgrading method, device and system Active CN105262627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510734207.6A CN105262627B (en) 2015-10-30 2015-10-30 Firmware upgrading method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510734207.6A CN105262627B (en) 2015-10-30 2015-10-30 Firmware upgrading method, device and system

Publications (2)

Publication Number Publication Date
CN105262627A CN105262627A (en) 2016-01-20
CN105262627B true CN105262627B (en) 2019-12-13

Family

ID=55102144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510734207.6A Active CN105262627B (en) 2015-10-30 2015-10-30 Firmware upgrading method, device and system

Country Status (1)

Country Link
CN (1) CN105262627B (en)

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577451A (en) * 2016-01-29 2016-05-11 贵阳海信电子有限公司 Upgrading method and upgrading apparatus of cloud television system
CN105975296A (en) * 2016-04-26 2016-09-28 百度在线网络技术(北京)有限公司 Mobile application upgrading method and device
CN106201586B (en) * 2016-06-28 2019-12-20 青岛海信移动通信技术股份有限公司 System upgrading method, terminal and system based on OTA
CN106201552A (en) * 2016-07-22 2016-12-07 北京智能管家科技有限公司 A kind of method for upgrading software, client, server and system
CN107766066B (en) * 2016-08-23 2021-02-26 中车株洲电力机车研究所有限公司 Method for updating slave module firmware
CN108089868B (en) * 2016-11-21 2020-07-31 北京京东尚科信息技术有限公司 Method for upgrading project on intelligent device and related device
CN108156015B (en) * 2016-12-06 2021-01-22 阿里巴巴集团控股有限公司 Data updating method and device
CN108234171B (en) * 2016-12-15 2021-04-30 腾讯科技(深圳)有限公司 Data processing method, system and device
CN108255503A (en) * 2016-12-28 2018-07-06 北京普源精电科技有限公司 The firmware upgrade method and device of measuring instrument
CN108469959B (en) * 2017-02-20 2023-08-01 西安理邦科学仪器有限公司 Firmware upgrading method and device of monitoring equipment
CN106953902B (en) * 2017-03-10 2020-01-21 深圳市金正方科技股份有限公司 Method and device for upgrading firmware of electric energy meter
CN107797817B (en) * 2017-03-13 2021-02-19 平安科技(深圳)有限公司 Application updating method and device
CN107133056A (en) * 2017-06-09 2017-09-05 北京云创远景软件有限责任公司 The method and apparatus of smart machine upgrading restoring subregion
CN107239312A (en) * 2017-06-09 2017-10-10 深圳天珑无线科技有限公司 A kind of method and device of system upgrade
CN107274933A (en) * 2017-06-14 2017-10-20 湖南国科微电子股份有限公司 A kind of method and device for testing solid state hard disc
CN107608701A (en) * 2017-10-20 2018-01-19 深圳市道通科技股份有限公司 A kind of method and apparatus of firmware updating
CN107844318B (en) * 2017-12-11 2021-08-24 维沃移动通信有限公司 Upgrading method of operating system, mobile terminal and server
CN109992291A (en) * 2018-01-02 2019-07-09 中兴通讯股份有限公司 A kind of method for updating terminal software, device, system and storage medium
CN108389617A (en) * 2018-01-15 2018-08-10 上海奕瑞光电子科技股份有限公司 Portfolio management/firmware upgrading method/system, medium and electronic equipment of firmware
CN108521452B (en) * 2018-03-23 2020-12-08 烽火通信科技股份有限公司 Method and system for intelligently upgrading service version
CN108494857A (en) * 2018-03-26 2018-09-04 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of OTA upgradings
CN109086060A (en) * 2018-06-15 2018-12-25 深圳市炬力北方微电子有限公司 The method of system, electronic equipment and online upgrading firmware
CN109684806A (en) * 2018-08-31 2019-04-26 深圳壹账通智能科技有限公司 Auth method, device, system and medium based on physiological characteristic information
CN109347695A (en) * 2018-09-18 2019-02-15 上海移远通信技术股份有限公司 A kind of upgrade testing system and method
CN109361544A (en) * 2018-10-30 2019-02-19 深圳市航天华拓科技有限公司 A kind of positioning terminal firmware method, apparatus and calculate equipment
CN109688472A (en) * 2018-12-10 2019-04-26 未来电视有限公司 Upgrading TV system method, apparatus, equipment and storage medium
CN109918120A (en) * 2019-02-18 2019-06-21 北京中兴高达通信技术有限公司 The configuration method and device of intercom
CN110069273A (en) * 2019-04-30 2019-07-30 四川长虹教育科技有限公司 The batch packaging method and device of software upgrade package
CN110225139B (en) * 2019-06-28 2022-07-12 苏州浪潮智能科技有限公司 Server firmware upgrade package processing method and device
CN112306537A (en) * 2019-07-31 2021-02-02 北京君正集成电路股份有限公司 Processing method for upgrading equipment system
CN112445507A (en) * 2019-09-05 2021-03-05 阿里巴巴集团控股有限公司 Equipment upgrading method and device
CN110795127B (en) * 2019-10-29 2023-09-22 歌尔科技有限公司 Wireless earphone and upgrading method and device thereof
CN111367545A (en) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 Terminal upgrading method and device, server, terminal equipment and readable storage medium
CN111782254A (en) * 2020-07-02 2020-10-16 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for upgrading object
CN112256303B (en) * 2020-10-23 2023-05-16 中科美络科技股份有限公司 Firmware updating method and system of vehicle-mounted intelligent terminal
CN116661812B (en) * 2022-11-25 2024-04-02 荣耀终端有限公司 Equipment upgrading method, electronic equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
CN103581231A (en) * 2012-07-25 2014-02-12 腾讯科技(北京)有限公司 UGC primary standby data synchronization method and system thereof
CN104184814A (en) * 2014-08-25 2014-12-03 中山市永衡日用制品有限公司 Method and system for generating and compounding embedded firmware differential upgrading file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101079976B1 (en) * 2006-02-01 2011-11-04 에스케이 텔레콤주식회사 Mobile phone user interface provision system and method thereof
US9141381B2 (en) * 2008-10-27 2015-09-22 Vmware, Inc. Version control environment for virtual machines

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
CN103581231A (en) * 2012-07-25 2014-02-12 腾讯科技(北京)有限公司 UGC primary standby data synchronization method and system thereof
CN104184814A (en) * 2014-08-25 2014-12-03 中山市永衡日用制品有限公司 Method and system for generating and compounding embedded firmware differential upgrading file

Also Published As

Publication number Publication date
CN105262627A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105262627B (en) Firmware upgrading method, device and system
CN107346252B (en) Application updating method and device
CN110058873B (en) Application page updating method, device, equipment and storage medium
CN106484453B (en) Method and device for realizing system upgrading
CN106502883B (en) The database synchronization method and system of client and server-side when automatic test
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN109766082B (en) Method and device for application program page jump
CN105389177A (en) Software version confirmation method, device and system
CN104123149B (en) Method for upgrading software, device, client and system
CN105302708A (en) Mobile terminal and detection method thereof
CN110474977B (en) Firmware upgrading method and system for intelligent door lock and intelligent door lock
CN114500690B (en) Interface data processing method and device, electronic equipment and storage medium
CN110633092A (en) Server for OTA (over the air) upgrading and embedded equipment upgrading method and device
CN104348578B (en) The method and device of data processing
CN106469077B (en) OTA upgrade control method and device
CN110213113B (en) WEB configuration management method of base station and base station
US20170068585A1 (en) Method and Apparatus for Recovering System Software of Intelligent Terminal
CN105786636B (en) A kind of system repair and device
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN109002305B (en) Method and system for updating equipment program
CN111694582A (en) Application program resource package processing method, device, equipment and readable storage medium
CN110737548A (en) Data request method and server
CN110362416B (en) Page component loading method and device, electronic equipment and storage medium
CN107704365B (en) Monitoring data reporting method and device for mobile terminal hybrid application
CN112286565B (en) Embedded system differential upgrading method based on storage container

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant