CN106484453B - Method and device for realizing system upgrading - Google Patents

Method and device for realizing system upgrading Download PDF

Info

Publication number
CN106484453B
CN106484453B CN201510557076.9A CN201510557076A CN106484453B CN 106484453 B CN106484453 B CN 106484453B CN 201510557076 A CN201510557076 A CN 201510557076A CN 106484453 B CN106484453 B CN 106484453B
Authority
CN
China
Prior art keywords
source
upgrade
current
version system
file
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
CN201510557076.9A
Other languages
Chinese (zh)
Other versions
CN106484453A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510557076.9A priority Critical patent/CN106484453B/en
Priority to PCT/CN2016/085869 priority patent/WO2017036228A1/en
Publication of CN106484453A publication Critical patent/CN106484453A/en
Application granted granted Critical
Publication of CN106484453B publication Critical patent/CN106484453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for realizing system upgrade, which comprises the following steps: when the server for system upgrading contains an available differential upgrading packet, comparing whether the current version system of the terminal is the same as the source version system; when the current version system of the terminal is the same as the source version system, downloading an available differential upgrade package for system upgrade; and when the current version system of the terminal is different from the source version system, generating a combined upgrade package according to the same part and the different part of the current version system and the source version system, and upgrading the system according to the combined upgrade package. The method of the invention respectively carries out upgrading treatment on the same condition and different conditions by judging whether the current version system of the terminal is the same as the source version or not, realizes the upgrading treatment on the different conditions of the current version system and the source version of the terminal, avoids the waste of time and flow caused by upgrading failure when the current version system of the user terminal is different from the source version, and improves the user experience.

Description

Method and device for realizing system upgrading
Technical Field
The present invention relates to the field of terminal applications, and in particular, to a method and an apparatus for implementing system upgrade.
Background
With the rapid development of terminal intelligence, many users perform system upgrade, i.e., online firmware upgrade (FOTA), on a terminal in order to improve user experience.
The existing FOTA upgrading method mainly comprises the following procedures: the terminal initiates a mobile terminal management (DM) session according to the FOTA upgrading operation actively or passively triggered by the user; the terminal reports parameters under the device information (Devinfo) node to the server; the server judges whether an available differential upgrade package exists at present according to the equipment model and the version number in the equipment information; if the differential upgrade package is contained, the server issues the DD file containing the information of the size, the download address and the like of the differential upgrade package to the terminal; the terminal downloads a differential upgrade package according to the DD file; after the differential upgrade package is downloaded, carrying out whole package verification on the differential upgrade package, and verifying a source file and a target file corresponding to each differential file to complete data correctness verification; when the verification passes, upgrading is completed; otherwise, the upgrade fails.
The correctness verification of the data is mainly related to the current system version and the source version of the terminal, if a user performs Root before FOTA upgrade and a system file is damaged, lost or tampered due to improper operation, the current system version and the source version of the terminal are different, and the correctness verification of the data cannot pass due to the difference between the current system version and the source version of the terminal, so that the FOTA upgrade fails; in addition, some terminals purchased by users through a network channel may have the problems of Root file damage, loss and tampering, and the current system version and the source version of the terminal have differences, so that FOTA upgrade cannot be successfully performed. For the above situation, if the user wants to complete FOTA upgrade, the SD card upgrade package of the complete version must be downloaded and upgraded; if the complete version of the SD card upgrade package does not exist, the device cannot complete the system upgrade.
At present, whether the current system version and the source version of the terminal are different or not can be known only when the accuracy of data is checked, and can be determined only at the final stage of upgrading. The upgrading failure causes the loss of the electric quantity and the flow of the terminal, wastes a large amount of time and energy, and influences the user experience. In addition, if the user cannot obtain the SD card upgrade package of the complete version, the terminal cannot perform system upgrade, and the user experience cannot be improved.
Disclosure of Invention
In order to solve the above technical problem, the present invention provides a method and an apparatus for implementing system upgrade, which can implement system upgrade for a terminal having a difference between a current system version and a source version.
In order to achieve the object of the present invention, the present invention provides a method for implementing system upgrade, when a server for system upgrade contains an available differential upgrade package, the method includes:
comparing whether the current version system of the terminal is the same as the source version system;
when the current version system of the terminal is the same as the source version system, downloading an available differential upgrade package for system upgrade; and when the current version system of the terminal is different from the source version system, generating a combined upgrade package according to the same part and the different part of the current version system and the source version system, and upgrading the system according to the combined upgrade package.
Further, comparing whether the current version system of the terminal is the same as the source version system specifically includes:
comparing the current information summary algorithm fifth version MD5 value of each file of the current version system with the source MD5 value of each file of the source version system, and determining that the current version system is the same as the source version system when the current MD5 value of each file of the current version system is the same as the source MD5 value of each file of the source version system;
the current version system is different from the source version system and comprises: the current version system and the source version system have different current MD5 values and source MD5 values of one or more files.
Further, the generating of the combined upgrade package according to the same part and different parts of the current version system and the source version system specifically includes:
extracting and generating a system upgrade file corresponding to a distinct part from an SD card upgrade package by using a version generation tool according to the distinct part of the current MD5 value and the source MD5 value of a current version system and a source version system;
extracting a system upgrade file of the same part from the available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
and generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and packaging to generate the combined upgrade package.
Further, the system upgrading according to the combined upgrade package specifically includes:
and generating a download descriptor DD file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package for system upgrade.
Further, when the server of the system upgrade contains the available differential upgrade package, the method further comprises:
and acquiring the current MD5 value of each file of the current version system and the source MD5 value of each file of the source version system.
Further, the method also comprises the following steps: and uploading the SD card upgrading package on a server.
On the other hand, the application also provides a device for realizing system upgrade, which comprises a comparison unit and an upgrade processing unit; wherein the content of the first and second substances,
the comparing unit is used for comparing whether the current version system of the terminal is the same as the source version system when the server for system upgrading contains an available differential upgrading packet;
the upgrading processing unit comprises a differential upgrading module and a combined upgrading module; wherein the content of the first and second substances,
the differential upgrading module is used for downloading an available differential upgrading packet for system upgrading when the current version system is the same as the source version system;
and the combined upgrading module is used for generating a combined upgrading packet according to the same part and the different part of the current version system and the source version system when the current version system of the terminal is different from the source version system, and upgrading the system according to the combined upgrading packet.
Further, the comparing unit is specifically configured to compare a fifth version (MD5) value of the current information summarization algorithm of each file of the current version system with a source MD5 value of each file of the source version system, and determine that the current version system is the same as the source version system when the current MD5 value of each file of the current version system is the same as the source MD5 value of each file of the source version system;
the current version system and the source version system have different current MD5 values and source MD5 values of one or more files.
Further, the combination upgrade module is specifically configured to,
extracting and generating a system upgrade file corresponding to a distinct part from an SD card upgrade package by using a version generation tool according to the distinct part of the current MD5 value and the source MD5 value of a current version system and a source version system;
extracting a system upgrade file of the same part from the available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and then packaging to generate the combined upgrade package;
and generating a download descriptor DD file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package for system upgrade.
Further, the apparatus further includes an obtaining unit, configured to obtain, when the available differential upgrade package is included in the server for system upgrade, a current MD5 value of each file of the current version system and a source MD5 value of each file of the source version system.
Further, the device also comprises an uploading unit which is used for uploading the SD card upgrading package on the server.
Compared with the prior art, the technical scheme of the application comprises the following steps: when the server for system upgrading contains an available differential upgrading packet, comparing whether the current version system of the terminal is the same as the source version system; when the current version system of the terminal is the same as the source version system, downloading an available differential upgrade package for system upgrade; and when the current version system of the terminal is different from the source version system, generating a combined upgrade package according to the same part and the different part of the current version system and the source version system, and upgrading the system according to the combined upgrade package. The method of the invention respectively carries out upgrading treatment on the same condition and different conditions by judging whether the current version system of the terminal is the same as the source version or not, realizes the upgrading treatment on the different conditions of the current version system and the source version of the terminal, avoids the waste of time and flow caused by upgrading failure when the current version system of the user terminal is different from the source version, and improves the user experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of implementing system upgrades of the present invention;
FIG. 2 is a block diagram of an apparatus for implementing system upgrade according to the present invention;
FIG. 3 is a flowchart of a method according to a first embodiment of the present invention;
FIG. 4 is a flow chart of a prior art system upgrade method;
FIG. 5 is a flowchart of a method according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for implementing system upgrade according to the present invention, and as shown in fig. 1, when a server for system upgrade includes an available differential upgrade package, the method includes:
step 100, comparing whether a current version system of the terminal is the same as a source version system;
the method specifically comprises the following steps:
comparing the fifth version (MD5) value of the current information summarization algorithm of each file of the current version system with the source MD5 value of each file of the source version system, and determining that the current version system is the same as the source version system when the current MD5 value of each file of the current version system is the same as the source MD5 value of each file of the source version system;
the current version system is different from the source version system and comprises the following steps: the current version system and the source version system have different values of current MD5 and source MD5 for one or more files.
When the current version system of the terminal is the same as the source version system, executing step 101; when the current version system of the terminal is different from the source version system, step 102 is executed.
Step 101, when the current version system of the terminal is the same as the source version system, downloading an available differential upgrade package for system upgrade.
It should be noted that the steps and flow for downloading the available differential upgrade package to perform system upgrade are the same as those in the prior art, and are not described herein again.
And 102, when the current version system of the terminal is different from the source version system, generating a combined upgrade package according to the same part and the different part of the current version system and the source version system, and upgrading the system according to the combined upgrade package.
In this step, generating the combined upgrade package according to the same part and the different part of the current version system and the source version system specifically includes:
extracting and generating system upgrade files corresponding to different parts from an SD card upgrade package by using a version generation tool according to different parts of current MD5 values and source MD5 values of a current version system and a source version system;
extracting a system upgrade file of the same part from an available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
and generating patches for the extracted system upgrading files corresponding to the different parts and the extracted system upgrading files of the same part, and packaging to generate a combined upgrading packet.
It should be noted that, the difference between the current MD5 value and the source MD5 value here specifically means that the current MD5 value of each file of the current version system is compared with the source MD5 value of each file of the source version system according to the system file correspondence between the current version system and the source version system, and when the current MD5 of the file in the correspondence is different from the source MD5, the difference is determined.
Further, the system upgrading according to the combined upgrade package specifically includes:
and generating a Download Descriptor (DD) file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package to perform system upgrade.
When the server for system upgrade contains available differential upgrade package, the method of the invention also includes:
and acquiring the current MD5 value of each file of the current version system and the source MD5 value of each file of the source version system.
The method of the invention also comprises the following steps: and uploading the SD card upgrading package on the server.
The method of the invention respectively carries out upgrading treatment on the same condition and different conditions by judging whether the current version system of the terminal is the same as the source version or not, realizes the upgrading treatment on the different conditions of the current version system and the source version of the terminal, avoids the waste of time and flow caused by upgrading failure when the current version system of the user terminal is different from the source version, and improves the user experience.
Fig. 2 is a block diagram of a device for implementing system upgrade according to the present invention, as shown in fig. 2, including: a comparison unit and an upgrade processing unit; wherein the content of the first and second substances,
the comparing unit is used for comparing whether the current version system of the terminal is the same as the source version system when the server for system upgrading contains an available differential upgrading packet;
the upgrading processing unit comprises a differential upgrading module and a combined upgrading module; wherein the content of the first and second substances,
the differential upgrading module is used for downloading an available differential upgrading packet to upgrade the system when the current version system is the same as the source version system;
and the combined upgrading module is used for generating a combined upgrading packet according to the same part and the different part of the current version system and the source version system when the current version system and the source version system of the terminal are different, and upgrading the system according to the combined upgrading packet.
The comparing unit is specifically configured to compare a fifth version (MD5) value of the current information digest algorithm of each file of the current version system with a source MD5 value of each file of the source version system, and determine that the current version system is the same as the source version system when the current MD5 value of each file of the current version system is the same as the source MD5 value of each file of the source version system;
the current version system and the source version system have different values of current MD5 and source MD5 for one or more files.
The combined upgrade module is specifically configured to,
extracting and generating system upgrade files corresponding to different parts from an SD card upgrade package by using a version generation tool according to different parts of current MD5 values and source MD5 values of a current version system and a source version system;
extracting a system upgrade file of the same part from an available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and packaging to generate a combined upgrade package;
and generating a download descriptor DD file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package to perform system upgrade.
The device also comprises an acquisition unit, which is used for acquiring the current MD5 value of each file of the current version system and the source MD5 value of each file of the source version system when the server for system upgrade contains the available differential upgrade package.
The device also comprises an uploading unit which is used for uploading the SD card upgrading packet on the server.
It should be noted that the device of the present invention may be disposed or embedded in a server for system upgrade, or may be separately integrated to interact with the server and a terminal.
The process of the present invention is illustrated in clear detail below by means of specific examples, which are only intended to illustrate the invention and are not intended to limit the scope of the process of the invention.
Example 1
In this embodiment, the apparatus of the present invention is built in a server, and fig. 3 is a flowchart of a method according to a first embodiment of the present invention, as shown in fig. 3, including:
300, uploading a differential upgrade package and an SD card upgrade package by a server; here, the SD card upgrade package refers to an SD card upgrade package including a full version system.
Step 301, the terminal initiates a DM session when actively or passively triggering FOTA upgrade;
step 302, the terminal reports parameters under the device information (Devinfo) node to a server, and the server judges whether an available differential upgrade package exists according to the device model and the version number;
step 303, if there is an available differential upgrade package, the server issues an instruction for reporting the current MD5 value;
step 304, the terminal reports the current MD5 value of each file of the current version system to the server;
step 305, the server compares the source MD5 value of each file of the source version with the current MD5 value of each file of the current version system;
if the current MD5 value is the same as the source MD5 value, the current version system of the terminal is determined to be the same as the source version, and step 3060 is executed; if one or more files are different between the current MD5 value and the source MD5 value, determining that the current version system of the terminal is different from the source version, and executing step 3070;
it should be noted that, here, the comparison of MD5 values is obviously a comparison of MD5 of the same file.
Step 3060, downloading an available differential upgrade package for system upgrade; the process of downloading the available differential upgrade package to upgrade the system is the same as the existing system upgrade method; specifically, the server issues a DD file comprising information such as the size of a differential upgrade package and a download address to the terminal; the terminal downloads a differential upgrade package according to the DD file; after the differential upgrade package is downloaded, carrying out whole package verification on the differential upgrade package, and verifying a source file and a target file corresponding to each dissimilarity file to complete data correctness verification; and when the verification is passed, finishing upgrading.
3070, generating a combined upgrade package according to the same part and different parts of the current version system and the source version system; specifically, the method comprises the following steps:
extracting and generating a system upgrade file corresponding to the different part from the SD card upgrade package by using a version generation tool according to the different part of the current MD5 value and the source MD5 value;
extracting the same part of system upgrade files from available differential upgrade packages according to the same part of the current MD5 value and the source MD5 value;
it should be noted that it is a routine technique of those skilled in the art to extract and generate a system upgrade file corresponding to a different part from an SD card upgrade package by using a version generation tool.
Step 3071, generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and packaging to generate a combined upgrade package.
It should be noted that the steps and flow for downloading the available differential upgrade package to perform system upgrade are the same as those in the prior art, and are not described herein again.
Step 3072, generating a Download Descriptor (DD) file of the combined upgrade package according to the size and the address of the combined upgrade package;
3073, the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package to perform system upgrade.
It should be noted that after the download of the combined upgrade package is completed, the verification and subsequent upgrade processes are the same as the upgrade process principle of the available upgrade package. Specifically, the whole package of the combined upgrade package is verified, and a source file and a target file corresponding to each dissimilarity file are verified, so that the correctness of the data is verified; and when the verification is passed, finishing upgrading.
After the system upgrade is completed, the terminal reports the system upgrade result according to the prior art.
Example 2
The embodiment clearly and specifically describes the system upgrading method of the invention by changing the boot. In order to make the method of the embodiment clearly detailed, an upgrade flow of the change of the boot. Fig. 4 is a flowchart of a conventional system upgrading method, as shown in fig. 4, including:
step 400, the terminal initiates a mobile terminal management (DM) session according to the FOTA upgrading operation actively or passively triggered by the user;
step 401, the terminal reports parameters under the device information (Devinfo) node to a server;
step 402, the server judges that an available differential upgrade package exists at present according to the equipment model and the version number in the equipment information;
step 403, the server issues the DD file including the information such as the size of the differential upgrade package and the download address to the terminal;
step 404, the terminal downloads a differential upgrade package according to the DD file;
step 405, after the terminal finishes downloading the differential upgrade package, carrying out whole package verification on the differential upgrade package;
and 406, checking the correctness of the data, wherein the check fails, and the system upgrading failure is determined.
Fig. 5 is a flowchart of a method according to a second embodiment of the present invention, as shown in fig. 5, including:
500, uploading a difference upgrading packet and an SD card upgrading packet by a server; here, the SD card upgrade package refers to an SD card upgrade package including a full version system.
Step 501, a terminal initiates a DM session when actively or passively triggering FOTA upgrade;
step 502, the terminal reports parameters under the device information (Devinfo) node to the server, and the server judges whether an available differential upgrade package exists according to the device model and the version number;
step 503, if there is an available differential upgrade package, the server issues an instruction for reporting the current MD5 value;
step 504, the terminal reports the current MD5 value of each file of the current version system to the server;
step 505, the server compares the source MD5 value of each file of the source version with the current MD5 value of each file of the current version system, and determines that MD5 values corresponding to boot.
Step 506, according to the distinct part of the current MD5 value and the source MD5 value; extracting from the SD card upgrading package by using a version generation tool and generating a system upgrading file corresponding to the boot.
Step 507, extracting system upgrade files of the same part from the available differential upgrade package according to the same part of the current MD5 value and the source MD5 value;
step 506 and step 507 may be performed simultaneously, or may be adjusted in time sequence.
And step 508, generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and packaging to generate a combined upgrade package.
Step 509, generating a Download Descriptor (DD) file of the combined upgrade package according to the size and address of the combined upgrade package;
and step 510, the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package to perform system upgrade.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method for realizing system upgrade is characterized in that when a server for system upgrade contains available differential upgrade packages, the method comprises the following steps:
comparing whether the current version system of the terminal is the same as the source version system;
when the current version system of the terminal is the same as the source version system, downloading an available differential upgrade package for system upgrade; and when the current version system of the terminal is different from the source version system, generating a combined upgrade package according to the same part and the different part of the current version system and the source version system, and upgrading the system according to the combined upgrade package.
2. The method according to claim 1, wherein the comparing whether the current version system of the terminal is the same as the source version system specifically comprises:
comparing the current information summary algorithm fifth version MD5 value of each file of the current version system with the source MD5 value of each file of the source version system, and determining that the current version system is the same as the source version system when the current MD5 value of each file of the current version system is the same as the source MD5 value of each file of the source version system;
the current version system is different from the source version system and comprises: the current version system and the source version system have different current MD5 values and source MD5 values of one or more files.
3. The method of claim 2, wherein generating the combined upgrade package from the same part and the different part of the current version system and the source version system comprises:
extracting and generating a system upgrade file corresponding to a distinct part from an SD card upgrade package by using a version generation tool according to the distinct part of the current MD5 value and the source MD5 value of a current version system and a source version system;
extracting a system upgrade file of the same part from the available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
and generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and packaging to generate the combined upgrade package.
4. The method according to claim 1, 2 or 3, wherein the system upgrade according to the combined upgrade package specifically comprises:
and generating a download descriptor DD file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package for system upgrade.
5. A method according to claim 2 or 3, wherein when the server of the system upgrade contains available differential upgrade packages, the method further comprises:
and acquiring the current MD5 value of each file of the current version system and the source MD5 value of each file of the source version system.
6. The method of claim 3, further comprising, prior to the method: and uploading the SD card upgrading package on a server.
7. The device for realizing system upgrading is characterized by comprising a comparison unit and an upgrading processing unit; wherein the content of the first and second substances,
the comparing unit is used for comparing whether the current version system of the terminal is the same as the source version system when the server for system upgrading contains an available differential upgrading packet;
the upgrading processing unit comprises a differential upgrading module and a combined upgrading module; wherein the content of the first and second substances,
the differential upgrading module is used for downloading an available differential upgrading packet for system upgrading when the current version system is the same as the source version system;
and the combined upgrading module is used for generating a combined upgrading packet according to the same part and the different part of the current version system and the source version system when the current version system of the terminal is different from the source version system, and upgrading the system according to the combined upgrading packet.
8. The apparatus according to claim 7, wherein the comparing unit is specifically configured to compare a current message digest algorithm fifth version MD5 value of each file of the current version system with a source MD5 value of each file of the source version system, and determine that the current version system is the same as the source version system when a current MD5 value of each file of the current version system is the same as a source MD5 value of each file of the source version system;
the current version system and the source version system have different current MD5 values and source MD5 values of one or more files.
9. The apparatus of claim 8, wherein the combination upgrade module is specifically configured to,
extracting and generating a system upgrade file corresponding to a distinct part from an SD card upgrade package by using a version generation tool according to the distinct part of the current MD5 value and the source MD5 value of a current version system and a source version system;
extracting a system upgrade file of the same part from the available differential upgrade package according to the same part of the current MD5 value and the source MD5 value of the current version system and the source version system;
generating patches for the extracted system upgrade files corresponding to the different parts and the extracted system upgrade files of the same part, and then packaging to generate the combined upgrade package;
and generating a download descriptor DD file of the combined upgrade package according to the size and the address of the combined upgrade package, so that the terminal downloads the combined upgrade package according to the DD file of the combined upgrade package for system upgrade.
10. The apparatus according to claim 7, 8 or 9, further comprising an obtaining unit, configured to obtain a current MD5 value of each file of the current version system and a source MD5 value of each file of the source version system when an available differential upgrade package is included in the server for system upgrade.
11. The apparatus of claim 9, further comprising an uploading unit for uploading the SD card upgrade package on a server.
CN201510557076.9A 2015-09-02 2015-09-02 Method and device for realizing system upgrading Active CN106484453B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510557076.9A CN106484453B (en) 2015-09-02 2015-09-02 Method and device for realizing system upgrading
PCT/CN2016/085869 WO2017036228A1 (en) 2015-09-02 2016-06-15 Method and apparatus for implementing system upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510557076.9A CN106484453B (en) 2015-09-02 2015-09-02 Method and device for realizing system upgrading

Publications (2)

Publication Number Publication Date
CN106484453A CN106484453A (en) 2017-03-08
CN106484453B true CN106484453B (en) 2021-04-20

Family

ID=58186893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510557076.9A Active CN106484453B (en) 2015-09-02 2015-09-02 Method and device for realizing system upgrading

Country Status (2)

Country Link
CN (1) CN106484453B (en)
WO (1) WO2017036228A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273159A (en) * 2017-06-08 2017-10-20 深圳市华信天线技术有限公司 Difference patch upgrading method and device suitable for embedded system
CN107341031B (en) * 2017-06-20 2020-12-15 广州慧睿思通信息科技有限公司 Method and device for adding firmware generation information into DSP firmware
CN109672655A (en) * 2017-10-16 2019-04-23 华为终端(东莞)有限公司 A kind of method, apparatus and system of difference upgrading
CN107844318B (en) * 2017-12-11 2021-08-24 维沃移动通信有限公司 Upgrading method of operating system, mobile terminal and server
CN108399077B (en) * 2018-03-14 2020-12-11 珠海格力电器股份有限公司 Lower computer upgrading method in control system and control system
CN112306537A (en) * 2019-07-31 2021-02-02 北京君正集成电路股份有限公司 Processing method for upgrading equipment system
CN112398666B (en) * 2019-08-13 2024-04-30 中兴通讯股份有限公司 Software differential upgrading method, device, equipment and storage medium
CN110990046A (en) * 2019-11-29 2020-04-10 惠州市德赛西威汽车电子股份有限公司 Upgrading method based on dynamic file
CN111176706A (en) * 2019-12-17 2020-05-19 视联动力信息技术股份有限公司 Terminal upgrading method and device, electronic equipment and storage medium
CN111176716A (en) * 2019-12-17 2020-05-19 视联动力信息技术股份有限公司 Upgrade package generation method and device, electronic equipment and storage medium
CN111787100B (en) * 2020-06-30 2023-09-01 上海乾隆节能科技有限公司 Centralized controller, differential upgrading system and upgrading method of centralized controller
CN112783541A (en) * 2021-01-21 2021-05-11 成都路行通信息技术有限公司 Equipment upgrading method and device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7984435B2 (en) * 2002-11-13 2011-07-19 Hewlett-Packard Development Company, L.P. Update system employing reference software to reduce number of update packages
CN103123588A (en) * 2013-02-05 2013-05-29 东莞宇龙通信科技有限公司 Method and system for obtaining difference upgrade patch
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN104049998A (en) * 2014-06-19 2014-09-17 中科创达软件股份有限公司 Upgrade package processing method, device and apparatus in Android system
CN104536876A (en) * 2014-11-26 2015-04-22 四川长虹电器股份有限公司 An Android platform based automatically updating and testing method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101417759B1 (en) * 2006-06-19 2014-07-14 삼성전자주식회사 Device and method for upgrading information of system
JP5313600B2 (en) * 2008-09-16 2013-10-09 株式会社日立製作所 Storage system and storage system operation method
CN104125276A (en) * 2014-07-21 2014-10-29 中兴通讯股份有限公司 Upgrading method and device
CN104267978B (en) * 2014-09-16 2017-10-10 青岛海信移动通信技术股份有限公司 A kind of method and device for generating difference bag

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7984435B2 (en) * 2002-11-13 2011-07-19 Hewlett-Packard Development Company, L.P. Update system employing reference software to reduce number of update packages
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN103123588A (en) * 2013-02-05 2013-05-29 东莞宇龙通信科技有限公司 Method and system for obtaining difference upgrade patch
CN104049998A (en) * 2014-06-19 2014-09-17 中科创达软件股份有限公司 Upgrade package processing method, device and apparatus in Android system
CN104536876A (en) * 2014-11-26 2015-04-22 四川长虹电器股份有限公司 An Android platform based automatically updating and testing method and system

Also Published As

Publication number Publication date
CN106484453A (en) 2017-03-08
WO2017036228A1 (en) 2017-03-09

Similar Documents

Publication Publication Date Title
CN106484453B (en) Method and device for realizing system upgrading
CN105389177A (en) Software version confirmation method, device and system
CN106843957A (en) System firmware upgrade method and device
CN107239288B (en) Version upgrading method and device for mobile terminal
WO2017166446A1 (en) Vulnerability-fixing method and device
CN103970566B (en) A kind of method and apparatus of router firmware upgrading
CN105262627A (en) Firmware upgrade method, device and system
CN107193593B (en) Upgrading method of upgradable file, set top box and storage medium
CN109951289A (en) A kind of recognition methods, device, equipment and readable storage medium storing program for executing
CN104503780A (en) Method and device for providing application channel packet
CN106210827B (en) A kind of method and system of the more CA of dynamic configuration set-top box
CN105468395A (en) Updating method, device and system
CN105786636B (en) A kind of system repair and device
WO2023035901A1 (en) System software upgrading method and apparatus, and device and computer storage medium
CN106709281B (en) Patch granting and acquisition methods, device
CN112416391A (en) System upgrading method and device, computer equipment and storage medium
CN112995806A (en) Method, device, system and storage medium for upgrading optical network unit
CN113330419A (en) Equipment application installation method and device
CN111176685A (en) Upgrading method and device
CN107729043B (en) Method and device for checking increment upgrade package and computer readable storage medium
CN105549995A (en) Audio device upgrading method and apparatus
CN107145342B (en) Method and device for processing channel information of application
CN105391714A (en) Automatic signature and verification method and apparatus for mobile application
CN111158716B (en) Version upgrade calling method and device, computer system and readable storage medium
CN106599637A (en) Method and device for inputting verification code into verification interface

Legal Events

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