CN112162773B - Differential upgrading method and device, storage medium and terminal - Google Patents

Differential upgrading method and device, storage medium and terminal Download PDF

Info

Publication number
CN112162773B
CN112162773B CN202011077740.7A CN202011077740A CN112162773B CN 112162773 B CN112162773 B CN 112162773B CN 202011077740 A CN202011077740 A CN 202011077740A CN 112162773 B CN112162773 B CN 112162773B
Authority
CN
China
Prior art keywords
version file
original version
upgraded
upgrading
file block
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
CN202011077740.7A
Other languages
Chinese (zh)
Other versions
CN112162773A (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.)
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Original Assignee
Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ziguang Zhanrui Communication Technology Co Ltd filed Critical Beijing Ziguang Zhanrui Communication Technology Co Ltd
Priority to CN202011077740.7A priority Critical patent/CN112162773B/en
Publication of CN112162773A publication Critical patent/CN112162773A/en
Application granted granted Critical
Publication of CN112162773B publication Critical patent/CN112162773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A differential upgrading method and device, a storage medium and a terminal are provided, and the method comprises the following steps: acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal; and upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time. By the technical scheme of the invention, the power failure protection can be realized while the original version file is upgraded.

Description

Differential upgrading method and device, storage medium and terminal
Technical Field
The invention relates to the technical field of terminal upgrading, in particular to a differential upgrading method and device, a storage medium and a terminal.
Background
For many current intelligent terminals, the upgrading of the space-the-Air Technology (OTA for short) is an important function, through the OTA upgrading, the terminal downloads a new system program through the network to complete the upgrading, so that the terminal product can iteratively update the version of the system program, the functions and performance of the product can be continuously improved after the product is released, and the experience of the product is greatly improved. The OTA upgrading can comprise two upgrading modes of whole package upgrading and differential upgrading. The whole package of upgrading is carried out by taking a complete new version as an upgrading package, the upgrading package is large, the downloading time is long, and the user experience is poor. The differential upgrade is to make differential package with increment package between original edition file and new edition file for upgrade, the differential package is generally much smaller than the upgrade package of whole package upgrade mode, and the upgrade of user terminal in actual use generally adopts differential upgrade.
In the differential upgrading scheme in the prior art, if a power failure phenomenon occurs in the upgrading process, the problem that the starting cannot be performed may occur later.
Therefore, a differential upgrading method is urgently needed to achieve power failure protection while upgrading an original version file.
Disclosure of Invention
The invention solves the technical problem of how to realize power-down protection while finishing upgrading the original edition file.
In order to solve the above technical problem, an embodiment of the present invention provides a differential upgrading method, where the method includes: acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal; and upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time.
Optionally, the differential packet further includes size information of the original version file block, and the using of the differential packet to upgrade the original version file for multiple times includes: and when the original version file block is upgraded every time, obtaining the original version file block to be upgraded from the original version file according to the size information of the original version file block, and upgrading the original version file block by using the corresponding differential sub-packet.
Optionally, during each upgrade, the original version file block to be upgraded is backed up to the local free storage space of the terminal.
Optionally, during each upgrade, the upgrade state of the original version file block to be upgraded at this time is recorded.
Optionally, the method further includes: if the original version file block to be upgraded enters the upgrading process and is not backed up to the local free storage space, recording the upgrading state of the original version file block to be upgraded as a starting state; when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, backing up the original file block to be upgraded to the local free storage space, wherein the recovering of the upgrading process is performed after the upgrading process is interrupted.
Optionally, the method further includes: if the original version file block to be upgraded is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, recording the upgrading state of the original version file block to be upgraded as a backup state; and when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the backup state, skipping the backup step, and upgrading the original version file block to be upgraded at this time, wherein the recovery of the upgrading process is performed after the upgrading process is interrupted.
Optionally, the method further includes: if the new version file of the original version file block to be upgraded at this time is generated in the upgrading process and the original version file block backed up in the local free storage space is not deleted, recording the upgrading state of the original version file block to be upgraded at this time as an updating state; and when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the updating state, deleting the original version file block in the local free storage space, wherein the recovering of the upgrading process is performed after the upgrading process is interrupted.
Optionally, the method further includes: if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, recording the upgrading state of the original version file block to be upgraded as a completion state; and when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the finished state and the upgrading of the original version file is not finished, starting the upgrading process of the original version file block to be upgraded next time, wherein the recovering of the upgrading process is carried out after the upgrading process is interrupted.
In order to solve the above technical problem, an embodiment of the present invention further provides a differential upgrading method, where the method includes: the method comprises the following steps: determining an original edition file and a new edition file; step two: setting the size of a data block, and dividing the original version file into a plurality of original version file blocks, wherein the size of each original version file block is equal to the size of the data block; step three: for each original version file block, generating a differential sub-packet corresponding to the original version file block according to the new version file; step four: detecting the size of a local free storage space of a terminal; step five: and judging whether the sum of the size of the original edition file block and the size of the differential packet exceeds the size of the local free storage space, if so, returning to the step two, and if not, sending the differential packet to the terminal, wherein the differential packet comprises all differential sub-packets.
Optionally, sending the differential packet to the terminal includes: and uploading the differential packet to a server, and transmitting the differential packet to the terminal by the server.
The embodiment of the invention also provides a differential upgrading device, which comprises: the differential sub-packages are used for upgrading original version file blocks in the original version file, and the sum of the size of the original version file blocks and the size of the differential sub-packages is not more than the size of a local free storage space of a terminal; and the upgrading module is used for upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time.
The embodiment of the invention also provides a differential upgrading device, which comprises: the device comprises: a first module for determining an original version file and a new version file; a second module, configured to set a size of a data block, and divide the original version file into a plurality of original version file blocks, where a size of each original version file block is equal to the size of the data block; the third module is used for generating a differential sub-package corresponding to each original version file block according to the new version file; the fourth module is used for detecting the size of the local free storage space of the terminal; a fifth module, configured to determine whether a sum of the size of the original version file block and the size of the differential packet exceeds the size of the local free storage space, if so, control the second module to reset the size of the data block, and if not, send the differential packet to the terminal, where the differential packet includes all differential sub-packets.
Embodiments of the present invention further provide a storage medium having stored thereon computer instructions, which, when executed by a processor, perform the steps of the above method.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with computer instructions capable of running on the processor, and the processor executes the steps of the method when running the computer instructions.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a differential upgrading method, which comprises the following steps: acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal; and upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time. In the scheme provided by the embodiment of the invention, the obtained differential sub-packet for upgrading the original edition file comprises a plurality of differential sub-packets, and each differential sub-packet is used for upgrading the corresponding original version file block in the original edition file, so that the original edition file can be upgraded for multiple times, and each time a single differential sub-packet is used for upgrading the corresponding single original version file block; because the sum of the size of the original version file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal, when a single original version file block is upgraded, the local free storage space of the terminal can be used for storing the differential packet and can also be used for backing up the original version file block, and therefore if the upgrading process of the original version file block is interrupted, the upgrading can be continued by using the locally backed up original version file block when the upgrading process is restored.
Further, in the embodiment of the present invention, the upgrade state of the current original version file block to be upgraded is recorded each time the original version file block is upgraded, and if the upgrade process of the original version file block is interrupted, the next step of the upgrade process can be determined according to the upgrade state of the current original version file block to be upgraded when the upgrade process is resumed, so as to continue the upgrade process of the original version file block without restarting the upgrade process of the original version file block or restarting the upgrade process of the original version file to which the original version file block belongs.
The embodiment of the invention also provides a differential upgrading method, which comprises the following steps: the method comprises the following steps: determining an original edition file and a new edition file; step two: setting the size of a data block, and dividing the original version file into a plurality of original version file blocks, wherein the size of each original version file block is equal to the size of the data block; step three: for each original version file block, generating a differential sub-packet corresponding to the original version file block according to the new version file; step four: detecting the size of a local free storage space of a terminal; step five: and judging whether the sum of the size of the original edition file block and the size of the differential packet exceeds the size of the local free storage space, if so, returning to the step two, and if not, sending the differential packet to the terminal, wherein the differential packet comprises all differential sub-packets. In the embodiment of the invention, for each original version file block, a differential sub-packet corresponding to the original version file block is generated according to the new version file, so that a differential sub-packet required by upgrading each original version file block can be obtained, and in addition, because the original version file is divided according to the set size of the data block, the size of the original version file block can be adjusted to meet the condition that the sum of the size of the original version file block and the size of the differential sub-packet does not exceed the size of the local idle storage space of the terminal, in the upgrading process of each original version file block, the local idle storage space can back up the original version file block to be upgraded at this time, so that the power failure protection of upgrading the original version file block is realized, and the power failure protection of upgrading the whole original version file is realized.
Drawings
FIG. 1 is a schematic flow diagram of a differential upgrade method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a scenario of a differential upgrade method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another differential upgrade method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a differential upgrading apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another differential upgrade apparatus according to an embodiment of the present invention.
Detailed Description
As described in the background art, in the prior art, if power failure occurs during the differential upgrade process, the problem that the terminal cannot be started after the power failure may occur.
The inventor of the invention finds out through research that the problem that the terminal equipment cannot be started after power failure in the prior art is mainly caused by small local storage capacity of the terminal equipment, and the small storage space is insufficient for backing up the original version file to be upgraded. Specifically, before the original version file is upgraded, the original version file is usually backed up to the free storage space of the terminal, and if the backup is successful, the original version file and the differential packet in the free storage space of the terminal can be used to continue to be upgraded if the process of upgrading the original version file is interrupted due to power failure and the like. However, if the free storage space of the terminal is small and the original edition file cannot be backed up, the upgrade process cannot be continued after being interrupted.
In order to solve the above technical problem, an embodiment of the present invention provides a differential upgrading method, where the method includes: acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal; and upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time. In the scheme provided by the embodiment of the invention, the obtained differential packet for upgrading the original edition file comprises a plurality of differential sub-packets, and each differential sub-packet is used for upgrading a corresponding original edition file block in the original edition file, so that the original edition file can be upgraded for multiple times, and a single original edition file block is upgraded each time; the sum of the size of the original version file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal, so that the local free storage space of the terminal can back up the original version file block when a single original version file block is upgraded, and if the upgrading process of the original version file block is interrupted, the original version file block in the local free storage space can be used for continuing upgrading when the upgrading process is recovered.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a differential upgrading method according to an embodiment of the present invention. The differential upgrading method may be executed by a terminal, and may be used to upgrade a version of a terminal system program (e.g., an operating system, an application program, and the like), where the terminal may be a terminal device such as a computer, a mobile phone, a smart watch, and an internet of things device, but is not limited thereto. The difference package required for the difference upgrade of the system program may be made by an internal server, which may be an internal server of the system program provider, but is not limited thereto. After the internal server creates the difference packet required for completing the system program difference upgrade, the difference packet may be transmitted to an external server for storage, and the external server may be an external server of a system program provider, but is not limited thereto. The external server may be coupled to a terminal, and the terminal may obtain the differential packet from the external server for differential upgrade. The differential upgrade may be a differential upgrade in an OTA. The differential upgrade method shown in fig. 1 may include the following steps:
step S101: acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal;
step S102: and upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time.
In the specific implementation of step S101, when the terminal needs to upgrade the terminal system program, the differential packet required for upgrading may be obtained from the external server. The differential packet may be made by the internal server.
Further, in the differential packet making process, the internal server may block the original version file according to the size of the local free storage space of the terminal, so that the size of the original version file block and the size of the differential packet do not exceed the local free storage space of the user terminal.
Specifically, the internal server stores an original version file and a new version file of a system program that the terminal wants to upgrade, and the internal server may generate a difference package required by the original version file by: the method comprises the following steps: the internal server determines an original edition file and a corresponding new edition file which need to be upgraded; step two: the internal server sets the size of the data block, divides the original edition file into a plurality of original edition file blocks, and the size of each original edition file block is equal to the size of the data block; step three: for each original edition file block, the internal server generates a differential sub-package required by the upgrade of the original edition file block according to the new edition file block; step four: determining the size of a local free storage space of the terminal; step five: and judging whether the sum of the size of the original edition file block and the size of the differential packet exceeds the size of a local free storage space of the terminal, if so, returning to the step two, and if not, sending the differential packet to the terminal, wherein the differential packet comprises all differential sub-packets.
The internal server may also execute step four before step two, that is, the size of the local free storage space of the terminal may be determined first, and then the size of the data block may be set.
Further, the internal server may receive the size of the local free storage space of the terminal from the external server, or may determine the size of the local free storage space of the terminal according to a preset value. The size of the local free storage space of the terminal received from the external server may be the size of the real-time local free storage space of the terminal, and if there are a plurality of terminals that need to upgrade the system program, the size of the local free storage space of the terminal received from the external server may also be a value determined by the external server after calculating the size of the local free storage space reported by each terminal, for example, an average value of the sizes of the local free storage spaces reported by each terminal.
From the above, the internal server determines, through circulation, whether the sum of the size of the original version file block and the size of the differential packet exceeds the size of the local free storage space of the terminal, so that the sum of the size of the original version file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal while generating the differential packet required by the upgrade of the original version file block. The differential packet made by the internal server comprises all differential sub-packets and can also comprise the size information of the original version file block.
Furthermore, after the internal server completes the manufacture of the differential packet, the differential packet can be actively sent to the external server for the terminal to download. After the internal server finishes the manufacture of the differential packet, the differential packet can not be sent to the external server actively, when the terminal needs to upgrade the terminal system program, a differential packet downloading request can be sent to the external server, and the external server can obtain the differential packet from the internal server after receiving the differential packet downloading request and then transmit the differential packet to the terminal.
Furthermore, before the terminal upgrades the original version file, the differential packet may be downloaded from the external server to the local free storage space, and then the differential packet is used to upgrade the local original version file of the terminal.
Further, the differential packet in the embodiment of the present invention may include a plurality of differential sub-packets, and each differential sub-packet is used to update a corresponding original version file block in the original version file. The terminal can upgrade the corresponding original version file blocks by using the differential sub-packets in sequence until all the original version file blocks are upgraded. That is, the original version file in the embodiment of the present invention includes a plurality of original version file blocks, and the upgrade process of the original version file may be equivalent to the upgrade process of all the original version file blocks. The original version file block may be a file block divided before the original version file is upgraded, or may be a file block formed by reading a part of the original version file to be upgraded from a storage area of the original version file each time during the process of upgrading the original version file, but is not limited thereto.
In one non-limiting embodiment, the master file may contain a plurality of master version partition files, such as boot (boot) partition files, etc., and the master file blocks may be part of the master version partition files.
Furthermore, the differential sub-packets have a one-to-one correspondence relationship with the original version file blocks, each differential sub-packet is an upgrade packet required by upgrading the corresponding original version file block, and each differential sub-packet can be used for upgrading the corresponding original version file block in the original version file. The differential sub-packet can be obtained by performing differential manufacturing on the original version file block and the corresponding new version file block, and can also be obtained by manufacturing based on other differential algorithms.
Further, before upgrading the original version file, the terminal may download the differential packet to the local free storage space of the terminal, and when upgrading each original version file block, the corresponding differential sub-packet may be read from the local free storage space of the user terminal, and based on the original version file block and the corresponding differential sub-packet, the original version file block is upgraded, for example, by calling a patch command.
Further, the local free storage space of the terminal may be used to store the differential packet, and may also be used to store the original version file block, but is not limited thereto. When the original version file blocks are upgraded, the terminal can back up the original version file blocks to a local free storage space of the terminal, and because the difference packet made by the internal server contains the size information of the original version file blocks, and the sum of the size of the original version file blocks and the size of the difference packet does not exceed the local free storage space of the terminal, when each original version file block is upgraded, the original version file blocks can be backed up to the local free storage space, and the situation that the original version file blocks cannot be backed up due to the fact that the local free storage space of the terminal is insufficient can be avoided.
In a specific implementation of step S102, the differential sub-packet is used to update the original version file multiple times, and each time a single differential sub-packet is used to update a corresponding original version file block.
As described above, the differential sub-packets in the embodiments of the present invention include the differential sub-packets required for upgrading the original version file blocks, and the terminal may sequentially use the differential sub-packets to upgrade the corresponding original version file blocks in the process of upgrading the original version file until the original version file is upgraded.
Further, the differential packet may further include size information of the original version file block, and the multiple upgrades to the original version file using the differential packet may include: and when the terminal upgrades one original edition file block every time, acquiring the original edition file block to be upgraded from the original edition file according to the size information of the original edition file block in the differential sub-packet, and upgrading the original edition file block by using the corresponding differential sub-packet. In the process of upgrading the original version file block, the original version file block to be upgraded at this time can be backed up to the local free storage space of the terminal.
Furthermore, because the size of the original edition file block meets the condition that the sum of the size of the original edition file block and the size of the differential packet does not exceed the local free storage space of the terminal, the original edition file block to be upgraded at this time can be backed up to the local free storage space of the user terminal in the process of upgrading each original edition file block, and if the upgrading process of the original edition file is interrupted and the original edition file block is damaged when the upgrading process is recovered, the original edition file block to be upgraded can be continuously upgraded by using the backed up original edition file block.
Therefore, in the scheme provided by the embodiment of the present invention, the obtained differential packet for upgrading the original version file includes a plurality of differential sub-packets, and each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, so that the original version file can be upgraded for multiple times, and a single original version file block is upgraded each time; the sum of the size of the original version file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal, so that when a single original version file block is upgraded, the local free storage space of the terminal can be used for storing the differential packet and backing up the original version file block, and if the upgrading process of the original version file block is interrupted, the original version file block in the local free storage space can be used for upgrading continuously when the upgrading process is recovered.
In a non-limiting embodiment, the upgrade state of the original version file block to be upgraded at this time is recorded every time of upgrading. For example, but not limited to, a status file may be created, and upgrade status information of each block of the original version file to be upgraded may be recorded.
Referring to table 1, table 1 shows the upgrade status of the original version file block to be upgraded at different stages in the upgrade process.
TABLE 1
Figure BDA0002717235940000101
If the upgrading process of the original version file block is interrupted, when the interruption reason is removed, if the power is turned on again, the upgrading process of the original version file block to be upgraded at this time can be recovered, and further, the next step of upgrading the original version file to be upgraded at this time after the upgrading process is recovered can be determined according to the recorded upgrading state of the original version file block to be upgraded at this time, so that the upgrading can be continued. Referring to fig. 2, fig. 2 is a schematic view illustrating a scenario of a differential upgrade method according to an embodiment of the present invention.
If the upgrading process of the original version file block to be upgraded is interrupted, executing step S201, and recovering the upgrading process of the original version file block to be upgraded; and then, executing step S202, detecting the upgrade state of the original version file to be upgraded this time, and if detecting that the upgrade state of the original version file block to be upgraded this time is the start state, executing step S203, and backing up the original file block to be upgraded this time to the local free storage space.
Specifically, if the original version file block to be upgraded at this time enters the upgrading process and is not backed up to the local free storage space, the upgrading state of the original version file block to be upgraded at this time is recorded as the starting state; when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, backing up the original file block to be upgraded to the local free storage space, wherein the recovering of the upgrading process is performed after the upgrading process is interrupted.
Further, backing up the original file block to be upgraded to the local free storage space may include: and acquiring the original version file block to be upgraded at this time from the original version file according to the size information of the original version file block, and writing the acquired original version file block to be upgraded at this time into the local idle storage space.
And if the upgrade state of the original version file block to be upgraded is detected to be the backup state, executing the step S204, skipping the backup step, and upgrading the original version file block to be upgraded.
Specifically, if the original version file block to be upgraded at this time is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, the upgrading state of the original version file block to be upgraded at this time is recorded as the backup state; and when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded is detected to be the backup state, skipping the backup step and upgrading the original version file block to be upgraded, wherein the recovery of the upgrading process is performed after the upgrading process is interrupted.
Further, upgrading the original version file block to be upgraded at this time may include: reading a differential sub-packet corresponding to the original version file block to be upgraded at this time from a local free storage space of the terminal, and upgrading the original version file block based on the original version file block and the differential sub-packet corresponding to the original version file block, for example, upgrading by calling a patch command, wherein the upgrading process of the original version file block can be completed in an operating memory of the terminal. It should be noted that the upgrading of the original version file block may be performed by reading the original version file block in the system program storage area, or may be performed by reading the original version file block in the local idle storage area, and the corresponding new version file block obtained after upgrading may cover the original version file block in the system program storage area.
If the upgrade state of the original version file block to be upgraded at this time is detected to be the update state, step S205 is executed to delete the original file block in the local free storage space.
Specifically, if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is not deleted, the upgrading state of the original version file block to be upgraded is recorded as the updating state; and when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the updating state, deleting the original file block in the local free storage space, wherein the recovering of the upgrading process is performed after the upgrading process is interrupted.
If the upgrade state of the original version file block to be upgraded is detected to be the complete state, step S206 is executed to determine whether the upgrade of the original version file to which the original version file block to be upgraded belongs is complete, if the upgrade of the original version file is complete, the upgrade process of the original version file is ended, and if the upgrade of the original version file is not complete, the upgrade process of the original version file block to be upgraded next time is started.
Specifically, if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, the upgrading state of the original version file block to be upgraded is recorded as a completion state; when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the finished state and the upgrading of the original version file is not finished yet, starting the upgrading process of the original file block to be upgraded at the next time, wherein the recovering of the upgrading process is carried out after the upgrading process is interrupted. Therefore, in the embodiment of the present invention, the upgrade status of the current original version file block to be upgraded is recorded each time the original version file block is upgraded, and if the upgrade process of the original version file block is interrupted, the next step of the upgrade process can be determined according to the upgrade status of the current original version file block to be upgraded when the upgrade process is resumed, so as to continue the upgrade process of the original version file block without restarting the upgrade process of the original version file block or restarting the upgrade process of the original version file to which the original version file block belongs.
Referring to fig. 3, fig. 3 is a flowchart illustrating another differential upgrade method according to an embodiment of the present invention. The other differential upgrading method may be executed by an internal server, and may be used to upgrade a version of a terminal system program, where the terminal may be a terminal device such as a computer, a mobile phone, a smart watch, and an internet of things device, but is not limited thereto. The internal server may be a server for making a differential package required for a differential upgrade of a terminal system program, and may be, for example, an internal server of a system program provider. After the internal server makes the differential packet required by the system program differential upgrade, the differential packet can be transmitted to the external server for storage. The external server may be coupled to the terminal, and the external server may be an external server of a system program provider, but is not limited thereto. The terminal can obtain the differential packet from the external server to perform differential upgrading. The differential upgrade may be a differential upgrade in an OTA.
The differential upgrade method shown in fig. 3 may include the following steps:
step S301: determining an original edition file and a new edition file;
step S302: setting the size of a data block, and dividing the original version file into a plurality of original version file blocks, wherein the size of each original version file block is equal to the size of the data block;
step S303: for each original version file block, generating a differential sub-packet corresponding to the original version file block according to the new version file;
step S304: determining the size of a local free storage space of the terminal;
step S305: and judging whether the sum of the size of the original edition file block and the size of the differential packet exceeds the size of the local free storage space, if so, returning to the step S302, and if not, sending the differential packet to the terminal, wherein the differential packet comprises all differential sub-packets.
In the specific implementation of step S301, the internal server stores the original edition file and the new edition file of the system program, and the original edition file and the new edition file can be determined according to the system program required to be upgraded. The internal server can actively determine the original version file and the new version file of the system program needing to be upgraded, and can also receive information of the system program needing to be upgraded from the external server, such as the name and the number of the system program, and then determine the original version file and the new version file according to the system program needing to be upgraded.
In the specific implementation of step S303, the new version file may be partitioned according to the size of the data block set in step S302, and the new version file is partitioned into a plurality of new version file blocks, where the new version file blocks have a one-to-one correspondence relationship with the original version file blocks.
Furthermore, the difference between the original version file block and the corresponding new version file block can be performed to generate a differential sub-packet required by the upgrade of the original version file block, and the differential sub-packets required by the upgrade of all the original version file blocks form a differential packet required by the upgrade of the original version file.
In the specific implementation of step S304, the internal server may determine the local free storage space of the terminal that needs to perform system program upgrade according to a preset value, where the preset value may be determined according to the size of the original file and the local maximum storage space of the terminal. The internal server may also receive information of the size of the local free storage space of the terminal from the external server. Specifically, the external server may detect the size of the local free storage space of the terminal in real time, and the size of the local free storage space of the terminal received from the external server may be the size of the local free storage space of the terminal detected by the external server in real time. The terminal may also report the size of its own local free storage space to the external server periodically, and if there are multiple terminals, the size of the local free storage space of the terminal received from the external server may also be a value determined by the external server after calculating the local free storage space reported by each terminal, for example, may be an average value of the sizes of the local free storage spaces reported by each terminal.
It should be noted that step S304 may also be executed before step S302 is executed, that is, the size of the local free storage space of the terminal may be determined first, and then the size of the data block may be set. For example, the size of the data block can be set by adopting a dichotomy according to the size of the local free storage space of the terminal.
In the specific implementation of step S305, if the sum of the size of the original version file block and the size of the differential packet in step S302 exceeds the size of the local free storage space of the terminal, the process returns to step S302, and steps S302 to S305 are repeated until the sum of the size of the original version file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal. And when the step S302 is returned every time, resetting the size of the data block, dividing the original edition file according to the reset size of the data block, and continuing to execute the steps S302 to S305, if the sum of the size of the original edition file block and the size of the differential packet still exceeds the size of the local free storage space of the terminal, returning to the step S302, and resetting the size of the data block again until the sum of the size of the original edition file block and the size of the differential packet does not exceed the size of the local free storage space of the terminal.
Further, the transmitting the differential packet to the terminal may include: and uploading the differential packet to an external server, and transmitting the differential packet to the terminal by the external server.
Specifically, after the differential packet is made, the internal server can actively send the differential packet to the external server for downloading by the terminal. In one non-limiting embodiment, after the internal server uploads the differential packet to the external server, the external server may notify the terminal to download the differential packet for upgrading.
The internal server may not actively send the differential packet to the external server, when the terminal needs to upgrade the system program, the internal server may send a differential packet download request to the external server, and the external server may obtain the differential packet from the internal server after receiving the differential packet download request and then transmit the differential packet to the terminal.
In the embodiment of the present invention, for each original version file block, a differential sub-packet corresponding to the original version file block is generated according to the new version file, so that a differential sub-packet required for upgrading each original version file block can be obtained, and in addition, since the original version file is divided according to the set size of the data block, the size of the original version file block can be adjusted so that the sum of the size of the original version file block and the size of the differential sub-packet does not exceed the size of the local free storage space of the terminal, in the process of upgrading each original version file block, the local free storage space can back up the original version file block to be upgraded this time, thereby implementing power down protection for upgrading the original version file block, and thus implementing power down protection for upgrading the whole original version file.
Those skilled in the art will understand that the differential packet sent to the terminal in step S305 may be used for differential upgrade of the original version file in the embodiment shown in fig. 1, and the differential packet may include the differential sub-packet required for upgrade of the original version file block in the embodiment shown in fig. 1 and the size information of the original version file block.
In the embodiment shown in fig. 1 to 3, the differential packet is generated by the internal server, transmitted to the external server, stored and provided to the terminal, but not limited thereto. In a variant, the internal server and the external server may also be merged into the same server, i.e. the differential packets are made, stored and distributed to the terminals by the same server.
Fig. 4 is a schematic structural diagram of a differential upgrading apparatus according to an embodiment of the present invention, where the differential upgrading apparatus in this embodiment may include an obtaining module 41 and an upgrading module 42, where:
an obtaining module 41, configured to obtain a differential packet used for upgrading an original version file, where the differential packet includes multiple differential sub-packets, each differential sub-packet is used for upgrading a corresponding original version file block in the original version file, and a sum of a size of the original version file block and a size of the differential packet does not exceed a size of a local free storage space of a terminal;
and the upgrading module 42 is configured to use the differential sub-packet to upgrade the original version file for multiple times, and use a single differential sub-packet to upgrade a corresponding original version file block each time.
For more details of the operation principle and the operation manner of the differential upgrading apparatus, reference may be made to the description in fig. 1 and fig. 2, and further description is omitted here.
Fig. 5 is a schematic structural diagram of another differential upgrading apparatus according to an embodiment of the present invention, where the apparatus may include a first module 51, a second module 52, a third module 53, a fourth module 54, and a fifth module 55, where:
a first module 51 for determining an original version file and a new version file;
a second module 52, configured to set a data block size, and divide the original version file into a plurality of original version file blocks, where the size of each original version file block is equal to the data block size;
a third module 53, configured to generate, for each original version file block, a differential sub-packet corresponding to the original version file block according to the new version file;
a fourth module 54, configured to determine the size of the local free storage space of the terminal;
a fifth module 55, configured to determine whether a sum of the size of the original file block and the size of the differential packet exceeds the size of the local free storage space, if so, control the second module to reset the size of the data block, and if not, send the differential packet to the terminal, where the differential packet includes all differential sub-packets.
Further, the fifth module 55 may include an uploading module (not shown), where the uploading module is configured to upload the differential packet to an external server, and the external server transmits the differential packet to a terminal that needs to update the original edition file.
For more details of the operating principle and the operating mode of another differential upgrading device, reference may be made to the related description in fig. 3, and details are not repeated here.
Embodiments of the present invention also provide a storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the steps of the differential upgrade method shown in fig. 1 and/or the steps of the differential upgrade method shown in fig. 3 are/is executed. The storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile (non-volatile) or non-transitory (non-transitory) memory, and may further include an optical disc, a mechanical hard disk, a solid state hard disk, and the like.
Specifically, in the embodiment of the present invention, the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example and not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (enhanced SDRAM), SDRAM (SLDRAM), synchlink DRAM (SLDRAM), and direct bus RAM (DR RAM).
An embodiment of the present invention further provides a terminal, including a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the steps of the differential upgrade method shown in fig. 1 when executing the computer instructions, and/or executes the steps of the differential upgrade method shown in fig. 3. The terminal includes, but is not limited to, a mobile phone, a computer, a tablet computer, a server or a server cluster and the like.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document indicates that the former and latter related objects are in an "or" relationship.
The "plurality" appearing in the embodiments of the present application means two or more.
The descriptions of the first, second, etc. appearing in the embodiments of the present application are only for illustrating and differentiating the objects, and do not represent the order or the particular limitation of the number of the devices in the embodiments of the present application, and do not constitute any limitation to the embodiments of the present application.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A differential upgrade method, characterized in that the method comprises:
acquiring a differential packet for upgrading an original version file, wherein the differential packet comprises a plurality of differential sub-packets, each differential sub-packet is used for upgrading an original version file block corresponding to the original version file, and the sum of the size of the original version file block and the size of the differential packet does not exceed the size of a local free storage space of a terminal;
the differential sub-packets are used for upgrading the original edition file for multiple times, and a single differential sub-packet is used for upgrading the corresponding original edition file block each time;
recording the upgrading state of the original version file block to be upgraded at each time of upgrading;
if the original version file block to be upgraded enters the upgrading process and is not backed up to the local free storage space, recording the upgrading state of the original version file block to be upgraded as a starting state;
if the original version file block to be upgraded is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, recording the upgrading state of the original version file block to be upgraded as a backup state;
if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is not deleted, recording the upgrading state of the original version file block to be upgraded as an updating state;
if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, recording the upgrading state of the original version file block to be upgraded as a completion state;
when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, backing up the original version file block to be upgraded at this time to the local free storage space; if the upgrade state of the original version file block to be upgraded at this time is detected to be a backup state, skipping the backup step and upgrading the original version file block to be upgraded at this time; if the upgrade state of the original version file block to be upgraded at this time is detected to be the upgrade state, deleting the original version file block in the local idle storage space; if the upgrading state of the original version file block to be upgraded at the current time is detected to be a finished state and the upgrading of the original version file is not finished, starting the upgrading process of the original version file block to be upgraded next time;
wherein the recovery of the upgrade process is performed after the upgrade process is interrupted.
2. The differential upgrade method according to claim 1, wherein the differential packet further contains size information of the original version file block, and the upgrading the original version file a plurality of times using the differential packet includes:
and when the original version file block is upgraded every time, obtaining the original version file block to be upgraded from the original version file according to the size information of the original version file block, and upgrading the original version file block by using the corresponding differential sub-packet.
3. The differential upgrading method of claim 1, wherein the original version file block to be upgraded is backed up to the local free storage space of the terminal every time of upgrading.
4. A differential upgrade method, characterized in that the method comprises:
the method comprises the following steps: determining an original edition file and a new edition file;
step two: setting the size of a data block, and dividing the original version file into a plurality of original version file blocks, wherein the size of each original version file block is equal to the size of the data block;
step three: for each original version file block, generating a differential sub-packet corresponding to the original version file block according to the new version file;
step four: determining the size of a local free storage space of the terminal;
step five: judging whether the sum of the size of the original edition file block and the size of the differential packet exceeds the size of the local free storage space, if so, returning to the step two, and if not, sending the differential packet to the terminal, wherein the differential packet comprises all differential sub-packets;
when the terminal is upgraded each time, recording the upgrading state of the original version file block to be upgraded at the time;
if the original version file block to be upgraded enters the upgrading process and is not backed up to the local free storage space, recording the upgrading state of the original version file block to be upgraded as a starting state;
if the original version file block to be upgraded is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, recording the upgrading state of the original version file block to be upgraded as a backup state;
if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is not deleted, recording the upgrading state of the original version file block to be upgraded as an updating state;
if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, recording the upgrading state of the original version file block to be upgraded as a completion state;
when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, backing up the original version file block to be upgraded at this time to the local free storage space; if the upgrade state of the original version file block to be upgraded at this time is detected to be a backup state, skipping the backup step and upgrading the original version file block to be upgraded at this time; if the upgrade state of the original version file block to be upgraded at this time is detected to be the upgrade state, deleting the original version file block in the local idle storage space; if the upgrading state of the original version file block to be upgraded at the current time is detected to be a finished state and the upgrading of the original version file is not finished yet, starting the upgrading process of the original version file block to be upgraded next time;
wherein the recovery of the upgrade process is performed after the upgrade process is interrupted.
5. The differential upgrade method according to claim 4, wherein sending the differential package to the terminal includes: and uploading the differential packet to an external server, and transmitting the differential packet to the terminal by the external server.
6. The differential upgrade method according to claim 4, wherein determining the size of the local free storage space of the terminal comprises: and receiving the size information of the local free storage space of the terminal from an external server.
7. A differential boost device, the device comprising:
the differential sub-packages are used for upgrading original version file blocks in the original version file, and the sum of the size of the original version file blocks and the size of the differential sub-packages is not more than the size of a local free storage space of a terminal;
the upgrading module is used for upgrading the original edition file for multiple times by using the differential sub-packet, and upgrading the corresponding original edition file block by using a single differential sub-packet each time;
wherein, still include: the state recording module is used for recording the upgrading state of the original version file block to be upgraded at this time when the original version file block to be upgraded at this time enters the upgrading process and is not backed up to the local free storage space, and the upgrading state of the original version file block to be upgraded at this time is recorded as the starting state; if the original version file block to be upgraded is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, recording the upgrading state of the original version file block to be upgraded as a backup state; if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is not deleted, recording the upgrading state of the original version file block to be upgraded as an updating state; if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, recording the upgrading state of the original version file block to be upgraded as a completion state; when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, the upgrading module backs up the original version file block to be upgraded at this time to the local free storage space;
if the upgrade state of the original version file block to be upgraded at this time is detected to be a backup state, the upgrade module skips the backup step and upgrades the original version file block to be upgraded at this time;
if the upgrade state of the original version file block to be upgraded at this time is detected to be the upgrade state, the upgrade module deletes the original version file block in the local free storage space;
if the upgrading state of the original version file block to be upgraded at the current time is detected to be a finished state and the upgrading of the original version file is not finished yet, the upgrading module starts the upgrading process of the original version file block to be upgraded at the next time;
wherein the recovery of the upgrade process is performed after the upgrade process is interrupted.
8. A differential upgrading apparatus, comprising:
a first module for determining an original version file and a new version file;
a second module, configured to set a size of a data block, and divide the original version file into a plurality of original version file blocks, where the size of each original version file block is equal to the size of the data block;
the third module is used for generating a differential sub-package corresponding to each original version file block according to the new version file;
a fourth module, configured to determine the size of a local free storage space of the terminal;
a fifth module, configured to determine whether a sum of the size of the original version file block and the size of the differential packet exceeds the size of the local free storage space, if so, control the second module to reset the size of the data block, and if not, send the differential packet to the terminal, where the differential packet includes all differential sub-packets;
when the terminal is upgraded every time, recording the upgrading state of the original version file block to be upgraded at the time;
if the original version file block to be upgraded enters the upgrading process and is not backed up to the local free storage space, recording the upgrading state of the original version file block to be upgraded as a starting state;
if the original version file block to be upgraded is backed up to the local free storage space in the upgrading process and the upgraded new version file is not generated, recording the upgrading state of the original version file block to be upgraded as a backup state;
if the new version file of the original version file block to be upgraded at this time is generated in the upgrading process and the original version file block backed up in the local free storage space is not deleted, recording the upgrading state of the original version file block to be upgraded at this time as an updating state;
if the new version file after the original version file block to be upgraded is upgraded in the upgrading process is generated and the original version file block backed up in the local free storage space is deleted, recording the upgrading state of the original version file block to be upgraded as a completion state;
when the upgrading process is recovered, if the upgrading state of the original version file block to be upgraded at this time is detected to be the starting state, the terminal backs up the original version file block to be upgraded to the local free storage space; if the upgrade state of the original version file block to be upgraded at this time is detected to be a backup state, the terminal skips the backup step and upgrades the original version file block to be upgraded at this time; if the upgrading state of the original version file block to be upgraded at this time is detected to be the upgrading state, deleting the original version file block in the local idle storage space by the terminal; if the upgrading state of the original version file block to be upgraded at the current time is detected to be a finished state and the upgrading of the original version file is not finished, starting the upgrading process of the original version file block to be upgraded at the next time by the terminal; wherein the recovery of the upgrade process is performed after the upgrade process is interrupted.
9. A storage medium having stored thereon computer instructions which, when executed by a processor, perform the steps of the method of any one of claims 1 to 3 or 4 to 6.
10. A terminal comprising a memory and a processor, the memory having stored thereon computer instructions executable on the processor, wherein the processor, when executing the computer instructions, performs the steps of the method of any one of claims 1 to 3.
11. A computing device comprising a memory and a processor, the memory having stored thereon computer instructions executable on the processor, wherein the processor, when executing the computer instructions, performs the steps of the method of any of claims 4 to 6.
CN202011077740.7A 2020-10-10 2020-10-10 Differential upgrading method and device, storage medium and terminal Active CN112162773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011077740.7A CN112162773B (en) 2020-10-10 2020-10-10 Differential upgrading method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011077740.7A CN112162773B (en) 2020-10-10 2020-10-10 Differential upgrading method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN112162773A CN112162773A (en) 2021-01-01
CN112162773B true CN112162773B (en) 2022-09-02

Family

ID=73867962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011077740.7A Active CN112162773B (en) 2020-10-10 2020-10-10 Differential upgrading method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN112162773B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732319B (en) * 2021-01-22 2024-02-23 百度在线网络技术(北京)有限公司 File upgrading method, device, equipment and storage medium
CN112817630A (en) * 2021-01-28 2021-05-18 深圳市华卓智能科技有限公司 FOTA upgrading method based on small space
CN113238768A (en) * 2021-04-23 2021-08-10 联合汽车电子有限公司 Vehicle-mounted ECU upgrade package manufacturing method, upgrading method and upgrading device
CN117270902A (en) * 2023-08-09 2023-12-22 大拓(山东)物联网科技有限公司 OTA upgrade package generation method and device, OTA upgrade method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298873A (en) * 2017-07-18 2019-02-01 中兴通讯股份有限公司 A kind of method for upgrading system and device
CN111475195A (en) * 2020-03-24 2020-07-31 普联技术有限公司 Firmware upgrading method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094875A (en) * 2014-05-19 2015-11-25 中兴通讯股份有限公司 Software upgrading method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298873A (en) * 2017-07-18 2019-02-01 中兴通讯股份有限公司 A kind of method for upgrading system and device
CN111475195A (en) * 2020-03-24 2020-07-31 普联技术有限公司 Firmware upgrading method, device and system

Also Published As

Publication number Publication date
CN112162773A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN112162773B (en) Differential upgrading method and device, storage medium and terminal
CN111796856B (en) Differential upgrading method and device, storage medium and computer equipment
US10817386B2 (en) Virtual machine recovery method and virtual machine management device
EP2998861B1 (en) Implementing and deleting method and device for intelligent terminal multi-operation system
EP3125501A1 (en) File synchronization method, server, and terminal
CN102521289B (en) File synchronization method, device and system
WO2017036183A1 (en) Differential upgrade package processing method and device, upgrade method, system and device
WO2018145392A1 (en) Differential update method and device, terminal, storage medium, and processor
CN108810055B (en) Large file transmission method and device
CN111221682A (en) Method for mirroring storage system
CN112182010A (en) Dirty page refreshing method and device, storage medium and electronic equipment
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN111966531B (en) Data snapshot method and device, computer equipment and storage medium
EP4270299A1 (en) Operating system upgrade method, electronic device, and storage medium
US9921918B1 (en) Cloud-based data backup and management
CN112306368B (en) Method and device for expanding user data partition by EMMC (enhanced multi-media card)
CN110941516A (en) Operating system restoration method, device, equipment and storage medium
CN112527561B (en) Data backup method and device based on Internet of things cloud storage
CN110765125A (en) Data storage method and device
CN111147226A (en) Data storage method, device and storage medium
JP7429792B2 (en) Data transmission methods, terminals and computer-readable storage media
US10761724B2 (en) System, method, and apparatus for updating data in a distributed storage system
CN114020308A (en) Camera equipment upgrading method, device, equipment and medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN114968963A (en) File overwriting method and device and electronic equipment

Legal Events

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