WO2016192197A1 - 一种终端的软件升级方法、装置、系统和计算机存储介质 - Google Patents
一种终端的软件升级方法、装置、系统和计算机存储介质 Download PDFInfo
- Publication number
- WO2016192197A1 WO2016192197A1 PCT/CN2015/086091 CN2015086091W WO2016192197A1 WO 2016192197 A1 WO2016192197 A1 WO 2016192197A1 CN 2015086091 W CN2015086091 W CN 2015086091W WO 2016192197 A1 WO2016192197 A1 WO 2016192197A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- upgrade
- original version
- version
- difference information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Definitions
- the present invention relates to a wireless communication technology, and in particular, to a software upgrade method, apparatus, system, and computer storage medium for a terminal.
- the software upgrade scheme of the mobile terminal mainly includes two types:
- the first one is a full coverage upgrade solution.
- the general process is: after downloading a new version of the software from the network, the user uninstalls the old version software and installs the new version software;
- the second is an upgrade scheme for partial file replacement.
- the general process is: after the user opens the software, the software background loads the data and resource files required by the software from the network to replace the old version of the data and resource files, thereby achieving the upgrade of the software. purpose.
- the first solution can be installed because it needs to download the complete software version, resulting in a large amount of user data traffic and download time overhead;
- the second option still needs to download a complete new software version to upgrade when there is a large-scale update of the software's features and framework. Therefore, it still causes a large amount of user data traffic and download time overhead.
- the embodiment of the present invention is to provide a software upgrade method, device, system, and computer storage medium for a terminal, which can reduce data traffic and download time of software upgrade of the terminal.
- an embodiment of the present invention provides a software upgrade method for a terminal, where the method Applied to the upgrade server side of the software, the method includes:
- the upgrade server acquires file difference information between an upgrade target version and a original version of the software
- the upgrade server obtains the upgrade indication information according to the file difference information
- the upgrade server encapsulates the differential upgrade package according to the file difference information and the upgrade indication information, and sends the differential upgrade package to the terminal.
- the file difference information includes at least one of: information of a first file that needs to be deleted on the reference of the original version of the upgrade target version, and a reference of the upgrade target version in the original version
- the information of the second file that needs to be added, the upgrade target version needs to replace the existing third file with the information of the updated third file on the basis of the original version
- the upgrade indication information corresponding to the file difference information includes at least one of: an instruction for indicating that the first file is deleted in the original version, and is used to indicate that the second is added in the original version.
- An instruction of the file for instructing to replace the existing third file with the updated third file in the original version.
- the upgrade server is packaged into a differential upgrade package according to the file difference information and the upgrade indication information, including:
- the file difference information includes information of the first file that needs to be deleted on the reference of the original version of the upgrade target version, it is used to indicate that the first file is deleted in the original version.
- the instructions are encapsulated into the differential upgrade package;
- the second file is used to indicate that the original version is added.
- the second instruction of the second file is encapsulated into the differential upgrade package;
- the file difference information includes the information that the upgrade target version needs to replace the existing third file with the updated third file on the reference of the original version
- the update Third file and for indicating that the updated version will be in the original version The third file covering the existing third file is encapsulated into the differential upgrade package; or the updated third file is used to indicate that the existing third is deleted in the original version.
- the file and the fourth instruction to add the updated third file are encapsulated into the differential upgrade package.
- an embodiment of the present invention provides a software upgrade method for a terminal, where the method is applied to a terminal side, and the method includes:
- the terminal parses the differential upgrade package, and performs software upgrade according to the parsed differential upgrade package.
- the file difference information includes at least one of: information of a first file that needs to be deleted on the reference of the original version of the upgrade target version, and a reference of the upgrade target version in the original version
- the information of the second file that needs to be added, the upgrade target version needs to replace the existing third file with the information of the updated third file on the basis of the original version
- the upgrade indication information corresponding to the file difference information includes at least one of: an instruction for indicating that the first file is deleted in the original version, and is used to indicate that the second is added in the original version.
- An instruction of the file for instructing to replace the existing third file with the updated third file in the original version.
- the software upgrade is performed according to the parsed differential upgrade package, including: in the original version,
- the file difference information includes the information of the first file that needs to be deleted on the reference of the original version of the upgrade target version, according to the first instruction for deleting the first file in the original version. Instructing to delete the first file;
- the file difference information includes information that the upgrade target version needs to be added on the reference of the original version, according to the instructions for adding the new version in the original version.
- the second instruction of the second file adds the second file to the original version
- the file difference information includes the information that the upgrade target version needs to replace the existing third file with the updated third file on the reference of the original version, according to the indication
- the third command in the original version that the third file is overwritten by the updated third file overwrites the updated third file with the third file; or Determining the updated third file and performing the existing third file according to a fourth instruction for instructing deletion of the existing third file in the original version and adding the updated third file Delete and add the updated third file.
- an embodiment of the present invention provides an upgrade server, where the upgrade server includes: a comparison unit, an obtaining unit, a packaging unit, and a sending unit, where
- the comparing unit is configured to obtain file difference information between an upgrade target version and a original version of the software
- the obtaining unit is configured to obtain upgrade indication information according to the file difference information
- the encapsulating unit is configured to be packaged into a differential upgrade package according to the file difference information and the upgrade indication information;
- the sending unit is configured to send the differential upgrade package to the terminal.
- the file difference information includes at least one of: information of a first file that needs to be deleted on the reference of the original version of the upgrade target version, and a reference of the upgrade target version in the original version
- the information of the second file that needs to be added, the upgrade target version needs to replace the existing third file with the information of the updated third file on the basis of the original version
- the upgrade indication information corresponding to the file difference information includes at least one of: an instruction for indicating that the first file is deleted in the original version, and is used to indicate that the second is added in the original version.
- An instruction of the file for instructing to replace the existing third file with the updated third file in the original version.
- the package unit is configured to:
- the file difference information includes information of the first file that needs to be deleted on the reference of the original version of the upgrade target version, it is used to indicate that the first file is deleted in the original version.
- the instructions are encapsulated into the differential upgrade package;
- the second file is used to indicate that the original version is added.
- the second instruction of the second file is encapsulated into the differential upgrade package;
- the file difference information includes the information that the upgrade target version needs to replace the existing third file with the updated third file on the reference of the original version
- a third file and a third instruction for indicating that the updated third file overwrites the existing third file in the original version is encapsulated into a differential upgrade package; or, the updated A third file and a fourth instruction for indicating deletion of the existing third file in the original version and adding the updated third file are encapsulated into the differential upgrade package.
- an embodiment of the present invention provides a terminal, where the terminal includes: a receiving unit, a parsing unit, and an upgrading unit, where
- the receiving unit is configured to receive, by the upgrade server, a differential upgrade package that is encapsulated according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information;
- the parsing unit is configured to parse the differential upgrade package
- the upgrade unit is configured to perform software upgrade according to the parsed differential upgrade package.
- the file difference information includes at least one of: information of a first file that needs to be deleted on the reference of the original version of the upgrade target version, and a reference of the upgrade target version in the original version
- the information of the second file that needs to be added, the upgrade target version needs to replace the existing third file with the information of the updated third file on the basis of the original version
- the upgrade indication information corresponding to the file difference information includes at least one of: an instruction for indicating deletion of the first file in the original version, for indicating in the original version And an instruction for adding the second file, for instructing to replace the existing third file with the updated third file in the original version.
- the upgrade unit is configured to be in the original version:
- the file difference information includes the information of the first file that needs to be deleted on the reference of the original version of the upgrade target version, according to the first instruction for deleting the first file in the original version. Instructing to delete the first file;
- a second instruction adds the second file to the original version
- the file difference information includes the information that the upgrade target version needs to replace the existing third file with the updated third file on the reference of the original version, according to the indication
- the third command in the original version that the third file is overwritten by the updated third file overwrites the updated third file with the third file; or Determining the updated third file and performing the existing third file according to a fourth instruction for instructing deletion of the existing third file in the original version and adding the updated third file Delete and add the updated third file.
- an embodiment of the present invention provides a software upgrade system for a terminal, where the system includes an upgrade server and a terminal, where
- the upgrade server is configured to obtain file difference information between an upgrade target version and a original version of the software.
- the terminal is configured to receive a differential upgrade package that is sent by the upgrade server according to file difference information between an upgrade target version and an original version of the software and an upgrade indication information corresponding to the file difference information;
- the differential upgrade package is parsed, and the software upgrade is performed according to the parsed differential upgrade package.
- the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a software upgrade method on the upgrade server side.
- the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for executing a software upgrade method on the terminal side.
- the embodiment of the invention provides a method, a device, a system and a computer storage medium for upgrading a software of a terminal.
- the upgrade server obtains the upgrade instruction information according to the file difference information between the upgrade target version and the original version, and then according to the file difference information and
- the upgrade indication information is encapsulated into a differential upgrade package and sent to the terminal, thereby avoiding a complete software version upgrade during the upgrade process, and reducing data traffic and download time of the terminal software upgrade.
- FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of a software upgrade method of a terminal according to an embodiment of the present invention
- FIG. 3 is a schematic flowchart of another software upgrade method of a terminal according to an embodiment of the present disclosure
- FIG. 4 is a schematic flowchart of a software upgrade method of a terminal according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of an upgrade server according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the scenario is used to describe the technical solution of the embodiment of the present invention, and is not limited to the embodiment of the present invention.
- the terminal 10 and the upgrade server are usually installed with the software to be upgraded. 20 composition.
- the embodiment of the present invention generates a differential upgrade package according to the file difference between the new version and the old version of the software to be upgraded, and adds an instruction file for instructing the terminal to upgrade according to the differential upgrade package in the differential upgrade package, thereby enabling Reduce the overhead of data traffic and download time of the terminal during the upgrade process.
- the file differences between the new version and the old version of the software to be upgraded may include resource class file differences and program class file differences, for example: software runtime The required pictures, background music, and cut-off videos belong to the resource class file; the program files and compiled code files that control the software running logic belong to the program class files.
- resource class file differences for example: software runtime The required pictures, background music, and cut-off videos belong to the resource class file; the program files and compiled code files that control the software running logic belong to the program class files.
- the technical solutions of the embodiments of the present invention can be upgraded for the difference between the two types of files; however, in order to explain and explain the technical solutions in a concise and clear manner, the subsequent embodiments are described by taking the differences of resource files as an example, the program The process of upgrading the difference of the class file is the same as the process of upgrading the difference of the resource class file, and is not described in detail in the embodiment of the present invention.
- FIG. 2 it is a flowchart of a method for upgrading a software of a terminal according to an embodiment of the present invention.
- the method may be applied to an upgrade server side of a software.
- the method may include:
- the upgrade server obtains file difference information between the upgrade target version and the original version of the software
- the upgrade server obtains the upgrade indication information according to the file difference information.
- the upgrade server encapsulates the differential upgrade package according to the file difference information and the upgrade indication information, and sends the differential upgrade package to the terminal.
- step S203 the terminal can enable the terminal to perform an upgrade operation according to the upgrade indication information and the file difference information in the differential upgrade package.
- the file difference information may include at least one of the following: the upgrade target version needs to delete the information of the first file on the original version of the baseline, and the upgrade target version needs to be added on the original version of the reference.
- the information of the second file, the upgrade target version needs to replace the existing third file with the information of the updated third file on the original version of the benchmark;
- the upgrade indication information corresponding to the file difference information may include at least one of the following items: An instruction to delete the first file in the original version, an instruction to indicate the addition of the second file in the original version, and an instruction to indicate that the existing third file is replaced with the updated third file in the original version. instruction.
- the upgrade server is packaged into a differential upgrade package according to the file difference information and the upgrade indication information, and may include:
- the first instruction for indicating that the first file is deleted in the original version is encapsulated into the differential upgrade package;
- the instruction may be a program program including a delete operation command and a first file as a delete target in a script program;
- the file difference information includes information that the upgrade target version needs to add a second file on the original version of the reference
- the second file and the second instruction for indicating that the second file is added in the original version are encapsulated into the difference.
- the upgrade package understandably, the instruction may be a program program including a new operation command and a second file as a new target in a script program;
- the updated third file is used to indicate in the original version.
- the fourth instruction of the updated third file is encapsulated into the differential upgrade package; understandably, the instruction may be a segment of the script including the overlay operation command and the existing third file as the overwritten target, to be updated
- the third file is a command program for overwriting the target, or it may be a script program including a delete operation command and an existing third file for deleting the target and adding the new operation command and the updated third file as the new target. Instruction program.
- the detailed encapsulation process can be implemented by generating an image file.
- the implementation process of the image file is not described here. It can be understood that after the terminal receives the above process package and obtains the differential upgrade package, it can enter the files and instructions encapsulated in the differential upgrade package. Line upgrade.
- the embodiment provides a software upgrade method for the terminal.
- the upgrade server obtains the upgrade indication information according to the file difference information between the upgrade target version and the original version, and then encapsulates the difference upgrade package according to the file difference information and the upgrade indication information, and sends the upgrade package. To the terminal, thus avoiding the complete software version upgrade during the upgrade process, reducing the data traffic and download time of the terminal software upgrade.
- FIG. 3 is a flowchart of a method for upgrading a software of a terminal according to an embodiment of the present invention.
- the method may be applied to a terminal side, and the method may include:
- the terminal receives the differential upgrade package that is sent by the upgrade server according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information.
- S302 The terminal parses the differential upgrade package, and performs software upgrade according to the parsed differential upgrade package.
- the file difference information, the upgrade indication information corresponding to the file difference information, and the content encapsulated by the differential upgrade package have been described in detail in the first embodiment, and will not be further described in this embodiment.
- the terminal performs software upgrade according to the parsed differential upgrade package, which may include: in the original version,
- the file difference information includes the information of the first file that needs to be deleted on the reference of the original version of the upgrade target version, according to the first instruction for deleting the first file in the original version. Instructing to delete the first file;
- a second instruction adds the second file to the original version
- the benchmark of the upgrade target version in the original version When it is required to replace the existing third file with the information of the updated third file, according to the instructions for indicating that the updated third file is overwritten by the existing one in the original version.
- the third instruction of the third file overwrites the updated third file with the existing third file; or, the updated third file and according to the indication for deleting the original version.
- the third file and the fourth instruction of adding the updated third file delete the existing third file and add the updated third file.
- the differential upgrade package in the embodiment is encapsulated by the upgrade server according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information, the avoidance is avoided.
- a complete software version upgrade occurs, which reduces the data traffic and download time of the terminal software upgrade.
- FIG. 4 a detailed process of a software upgrade method for a terminal according to an embodiment of the present invention is shown.
- files in the original version are set to A1, A2, and A3; :A1, A3', A4, A5; the detailed process may include:
- the upgrade server obtains file difference information between the upgrade target version and the original version of the software
- the file difference information may include: information of the file A2 that needs to be deleted on the basis of the original version of the upgrade target version, information of the file A4 and the file A5 that need to be added on the basis of the original version of the upgrade target version,
- the upgrade target version needs to replace file A3 with A3' information on the original version of the benchmark.
- the upgrade server obtains the upgrade indication information according to the file difference information.
- the upgrade indication information may include: an instruction for indicating deletion of the file A2 in the original version, an instruction for indicating the addition of the file A4 and the file A5 in the original version, and indicating that the original version will be File A3 is replaced with the instruction of A3'.
- the upgrade server is packaged into a differential upgrade according to the file difference information and the upgrade indication information. package;
- the differential upgrade package may be generated by generating an image file, where the content encapsulated in the differential upgrade package may include: a first instruction for deleting the file A2 in the original version, the file A4 and the file A5, and a second instruction for instructing the addition of the file A4 and the file A5 in the original version, the file A3', and a third instruction or file A3' for indicating that the file A3' is overwritten in the original version, and for indicating The file A3 is deleted in the original version and the fourth instruction of the file A3' is added. Understandably, since the file A1 does not change between the upgrade target version and the original version, the file A1 is not encapsulated in the differential upgrade package.
- S404 The upgrade server sends the differential upgrade package to the terminal.
- step S402 after the terminal parses the differential upgrade package, the content encapsulated in the differential upgrade package specifically described in step S402 can be obtained.
- S406 The terminal performs software upgrade according to the parsed differential upgrade package.
- the process of upgrading the software by the terminal is: in the original version,
- the file A3' is overwritten with the file A3 according to the third instruction, or the file A3 is deleted according to the fourth instruction and the file A3' is added.
- the terminal may also transfer the original version from the currently stored ROM area to another backup ROM area of the same size, thereby being unpredictable as a terminal in the upgrade process.
- the reason for the upgrade failure is to restore the original version of the backup data; in addition, the terminal can also read the original version into the terminal's RAM storage area, so that the terminal can follow the parsed differential upgrade on the original version of the benchmark The package is upgraded.
- the terminal may also set an execution indicator for steps S404 and S405 for respectively indicating whether the execution of steps S404 and S405 is successful.
- the execution indicator corresponding to any step indicates that the step execution is unsuccessful, the terminal may re-execute the step or restore by the original version in the backup ROM area.
- the upgrade server obtains the upgrade indication information according to the file difference information between the upgrade target version and the original version, and then encapsulates the differential upgrade according to the file difference information and the upgrade indication information.
- the package is sent to the terminal, which avoids the complete software version upgrade during the upgrade process, and reduces the data traffic and download time of the terminal software upgrade.
- the upgrade server 50 includes: a comparison unit 501, an obtaining unit 502, a packaging unit 503, and a sending unit. 504, wherein
- the comparing unit 501 is configured to acquire file difference information between the upgrade target version and the original version of the software
- the obtaining unit 502 is configured to obtain the upgrade indication information according to the file difference information.
- the encapsulating unit 503 is configured to be packaged into a differential upgrade package according to the file difference information and the upgrade indication information;
- the sending unit 504 is configured to send the differential upgrade package to the terminal.
- the file difference information includes at least one of the following: the information of the first file that needs to be deleted on the baseline of the original version of the upgrade target version, and the information of the second file that needs to be added on the basis of the original version of the upgrade target version.
- the upgrade target version needs to replace the existing third file with the updated third file information on the original version of the benchmark;
- the upgrade indication information corresponding to the file difference information includes at least one of the following items: An instruction to delete the first file in the original version, an instruction to indicate the addition of the second file in the original version, an instruction to indicate that the existing third file is replaced with the updated third file in the original version.
- the encapsulation unit 503 is configured to:
- the file difference information includes the information of the first file that needs to be deleted on the original version of the baseline of the upgrade target version
- the first instruction used to indicate that the first file is deleted in the original version is encapsulated into the differential upgrade package
- the file difference information includes information that the upgrade target version needs to add a second file on the original version of the reference
- the second file and the second instruction for indicating that the second file is added in the original version are encapsulated into the difference.
- the updated third file is used to indicate in the original version. Encapsulating the updated third file with the third instruction of the existing third file into the differential upgrade package; or, updating the third file and indicating that the existing third file is deleted in the original version and new The fourth instruction of the updated third file is encapsulated into the differential upgrade package.
- the upgrade server 50 obtains the upgrade indication information according to the file difference information between the upgrade target version and the original version, and then encapsulates the difference upgrade package according to the file difference information and the upgrade indication information, and sends the difference upgrade package to the terminal, thereby It avoids the situation of complete software version upgrade during the upgrade process, and reduces the data traffic and download time of the terminal software upgrade.
- comparison unit 501, the acquisition unit 502, the encapsulation unit 503, and the transmission unit 504 may be configured by a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processing Unit), and a digital number of the upgrade server 50.
- CPU Central Processing Unit
- MPU Micro Processing Unit
- DSP Digital Signal Processor
- FPGA Programmable Array
- a terminal 60 according to an embodiment of the present invention is shown, wherein the terminal 60 includes: a receiving unit 601, a parsing unit 602, and an upgrading unit 603, where
- the receiving unit 601 is configured to receive, by the upgrade server, a differential upgrade package that is encapsulated according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information;
- the parsing unit 602 is configured to parse the differential upgrade package
- the upgrading unit 603 is configured to perform software upgrade according to the parsed differential upgrade package.
- the file difference information includes at least one of the following: the information of the first file that needs to be deleted on the baseline of the original version of the upgrade target version, and the information of the second file that needs to be added on the basis of the original version of the upgrade target version.
- the upgrade target version needs to replace the existing third file with the updated third file information on the original version of the benchmark;
- the upgrade indication information corresponding to the file difference information includes at least one of: an instruction for indicating deletion of the first file in the original version, an instruction for indicating that the second file is added in the original version, and is used to indicate the original version. Replace the existing third file with the instruction of the updated third file.
- the upgrading unit 603 is configured to, in the original version,
- the file difference information includes the information of the first file that needs to be deleted on the reference of the original version
- the first file is deleted according to the first instruction for indicating that the first file is deleted in the original version
- the file difference information includes the information of the second file that needs to be added on the original version of the baseline of the upgrade target version
- the second file is added to the original according to the second instruction for indicating that the second file is added in the original version. version
- the file difference information includes the upgrade target version, it needs to be existing on the original version of the benchmark.
- the third file is replaced with the information of the updated third file, the updated third file is overwritten according to the third instruction for indicating that the updated third file is overwritten in the original version.
- the existing third file; or, the updated third file and the fourth instruction according to the fourth instruction for indicating the deletion of the existing third file in the original version and adding the updated third file The three files are deleted and the updated third file is added.
- the differential upgrade package in the embodiment is encapsulated by the upgrade server according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information, the avoidance is avoided.
- a complete software version upgrade occurs, which reduces the data traffic and download time of the terminal software upgrade.
- the receiving unit 601, the parsing unit 602, and the upgrading unit 603 may be configured by a central processing unit (CPU), a microprocessor (MPU, a micro processing unit), and a digital signal processor (DSP) of the terminal 60. , Digital Signal Processor) or Field-Programmable Gate Array (FPGA) implementation.
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- the embodiment of the present invention further provides a software upgrade system for a terminal, where the system includes an upgrade server and a terminal, where
- Upgrade the server configured to obtain file difference information between the upgrade target version and the original version of the software
- the terminal is configured to receive the differential upgrade package that is sent by the upgrade server according to the file difference information between the upgrade target version and the original version of the software and the upgrade indication information corresponding to the file difference information;
- embodiments of the present invention can be provided as a method, system, Or a computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the embodiment of the present invention upgrades the server according to the text between the upgrade target version and the original version.
- the difference information is obtained by obtaining the upgrade indication information, and then being packaged into a differential upgrade package according to the file difference information and the upgrade indication information, and sent to the terminal, thereby avoiding a complete software version upgrade during the upgrade process, and reducing the software upgrade of the terminal.
- the overhead of data traffic and download time is obtained by obtaining the upgrade indication information, and then being packaged into a differential upgrade package according to the file difference information and the upgrade indication information, and sent to the terminal, thereby avoiding a complete software version upgrade during the upgrade process, and reducing the software upgrade of the terminal.
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
一种终端的软件升级方法、装置、系统和计算机存储介质,该方法包括:升级服务器获取软件的升级目标版本和原始版本之间的文件差异信息(S201);升级服务器根据所述文件差异信息对应获取升级指示信息(S202);升级服务器根据所述文件差异信息和所述升级指示信息封装成差分升级包,并将所述差分升级包发送至终端(S203)。
Description
本发明涉及无线通信技术,尤其涉及一种终端的软件升级方法、装置、系统和计算机存储介质。
目前,移动终端的软件升级方案主要包括两种:
第一种是全覆盖升级方案,大致过程为:用户从网络中下载新版本的软件后,卸载旧版本软件,并且安装新版本软件;
第二种是部分文件替换的升级方案,大致过程为:用户打开软件后,软件后台从网络上加载软件所需要的数据和资源文件,来替换旧版本的数据和资源文件,从而达到升级软件的目的。
以上两种方案存在以下的缺点或问题:
第一种方案由于需要下载完整的软件版本才能安装,导致大量的用户数据流量和下载时间开销;
第二种方案在软件的功能和框架出现大规模的更新时,仍然需要下载完整的新软件版本进行升级。因此,仍然会造成大量的用户数据流量和下载时间开销。
发明内容
为解决上述技术问题,本发明实施例期望提供一种终端的软件升级方法、装置、系统和计算机存储介质,能够减少终端的软件升级所开销的数据流量和下载时间。
本发明的技术方案是这样实现的:
第一方面,本发明实施例提供了一种终端的软件升级方法,所述方法
应用于软件的升级服务器侧,所述方法包括:
所述升级服务器获取软件的升级目标版本和原始版本之间的文件差异信息;
所述升级服务器根据所述文件差异信息对应获取升级指示信息;
所述升级服务器根据所述文件差异信息和所述升级指示信息封装成差分升级包,并将所述差分升级包发送至终端。
在上述方案中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
在上述方案中,所述升级服务器根据所述文件差异信息和所述升级指示信息封装成差分升级包,包括:
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,将用于指示在所述原始版本中删除所述第一文件的第一指令封装入所述差分升级包;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,将所述第二文件以及用于指示在所述原始版本中新增所述第二文件的第二指令封装入所述差分升级包;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,将所述更新后的第三文件以及用于指示在所述原始版本中将所述更新后的第
三文件覆盖所述已有的第三文件的第三指令封装入差分升级包;或者,将所述更新后的第三文件以及用于指示在所述原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令封装入所述差分升级包。
第二方面,本发明实施例提供了一种终端的软件升级方法,所述方法应用于终端侧,所述方法包括:
所述终端接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;
所述终端解析所述差分升级包,并根据解析后的差分升级包进行软件升级。
在上述方案中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
在上述方案中,所述根据解析后的差分升级包进行软件升级,包括:在原始版本中,
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,根据用于指示在所述原始版本中删除所述第一文件的第一指令删除所述第一文件;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,根据用于指示在所述原始版本中新增所
述第二文件的第二指令将所述第二文件添加至原始版本;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,根据用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令将所述更新后的第三文件覆盖所述已有的第三文件;或者,将所述更新后的第三文件以及根据用于指示在原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令将所述已有的第三文件进行删除并新增所述更新后的第三文件。
第三方面,本发明实施例提供了一种升级服务器,所述升级服务器包括:比较单元、获取单元、封装单元和发送单元,其中,
所述比较单元,配置为获取软件的升级目标版本和原始版本之间的文件差异信息;
所述获取单元,配置为根据所述文件差异信息对应获取升级指示信息;
所述封装单元,配置为根据所述文件差异信息和所述升级指示信息封装成差分升级包;
所述发送单元,配置为将所述差分升级包发送至终端。
在上述方案中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
在上述方案中,所述封装单元配置为:
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,将用于指示在所述原始版本中删除所述第一文件的第一指令封装入所述差分升级包;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,将所述第二文件以及用于指示在所述原始版本中新增所述第二文件的第二指令封装入所述差分升级包;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,将所述更新后的第三文件以及用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令封装入差分升级包;或者,将所述更新后的第三文件以及用于指示在所述原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令封装入所述差分升级包。
第四方面,本发明实施例提供了一种终端,所述终端包括:接收单元、解析单元和升级单元,其中,
所述接收单元,配置为接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;
所述解析单元,配置为解析所述差分升级包;
所述升级单元,配置为根据解析后的差分升级包进行软件升级。
在上述方案中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本
中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
在上述方案中,所述升级单元配置为,在所述原始版本中:
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,根据用于指示在所述原始版本中删除所述第一文件的第一指令删除所述第一文件;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,根据用于指示在所述原始版本中新增所述第二文件的第二指令将所述第二文件添加至原始版本;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,根据用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令将所述更新后的第三文件覆盖所述已有的第三文件;或者,将所述更新后的第三文件以及根据用于指示在原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令将所述已有的第三文件进行删除并新增所述更新后的第三文件。
第五方面,本发明实施例提供了一种终端的软件升级系统,所述系统包括升级服务器和终端,其中,
所述升级服务器,配置为获取软件的升级目标版本和原始版本之间的文件差异信息;以及,
根据所述文件差异信息对应获取升级指示信息;以及,
根据所述文件差异信息和所述升级指示信息封装成差分升级包,并将所述差分升级包发送至所述终端;
所述终端,配置为接收所述升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;以及,
解析所述差分升级包,并根据解析后的差分升级包进行软件升级。
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行升级服务器侧的软件升级方法。
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行终端侧的软件升级方法。
本发明实施例提供了一种终端的软件升级方法、装置、系统和计算机存储介质,通过升级服务器根据升级目标版本和原始版本之间的文件差异信息对应获取升级指示信息,然后根据文件差异信息和升级指示信息封装成差分升级包并发送至终端,从而避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
图1为本发明实施例提供的一种应用场景示意图;
图2为本发明实施例提供的一种终端的软件升级方法流程示意图;
图3为本发明实施例提供的另一种终端的软件升级方法流程示意图;
图4为本发明实施例提供的一种终端的软件升级方法的详细流程示意图;
图5为本发明实施例提供的一种升级服务器的结构示意图;
图6为本发明实施例提供的一种终端的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
参见图1所示的应用场景,该场景用于说明本发明实施例的技术方案,并不对本发明实施例进行任何限定,在软件升级过程中,通常包括安装有待升级软件的终端10和升级服务器20组成。两者之间通过空中接口(OTA,
Over The Air)进行通信。本发明实施例通过软件服务器根据待升级软件的新版本和旧版本之间的文件差异生成差分升级包,并在差分升级包中增加用于指示终端根据差分升级包进行升级的指示文件,从而能够减少终端在升级过程中数据流量和下载时间的开销;需要说明的是,待升级软件的新版本和旧版本之间的文件差异可以包括资源类文件差异和程序类文件差异,例如:软件运行时所需要的图片、背景音乐、过场视频等属于资源类文件;控制软件运行逻辑的程序文件及编译代码文件等属于程序类文件。可以理解地,本发明实施例的技术方案可以针对上述两类文件差异进行升级;但是为了简明清楚地对技术方案进行说明和阐述,后续的实施例均以资源类文件差异为例进行说明,程序类文件差异的升级过程与资源类文件差异的升级过程相同,本发明实施例不做赘述。
实施例一
参见图2,其示出了本发明实施例提供的一种终端的软件升级方法流程,该方法可以应用于软件的升级服务器侧,该方法可以包括:
S201:升级服务器获取软件的升级目标版本和原始版本之间的文件差异信息;
S202:升级服务器根据文件差异信息对应获取升级指示信息;
S203:升级服务器根据文件差异信息和升级指示信息封装成差分升级包,并将差分升级包发送至终端。
可以理解地,通过步骤S203能够使得终端能够按照差分升级包中的升级指示信息和文件差异信息进行升级操作。
在图2所示的方法流程中,文件差异信息可以包括以下至少一项:升级目标版本在原始版本的基准上需要删除的第一文件的信息、升级目标版本在原始版本的基准上需要新增的第二文件的信息、升级目标版本在原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
文件差异信息所对应的升级指示信息可以包括以下至少一项:用于指
示在原始版本中删除第一文件的指令、用于指示在原始版本中新增第二文件的指令、用于指示在原始版本中将已有的第三文件替换为更新后的第三文件的指令。
基于上述的文件差异信息和升级指示信息,升级服务器根据文件差异信息和升级指示信息封装成差分升级包,可以包括:
当文件差异信息中包括升级目标版本在原始版本的基准上需要删除的第一文件的信息时,将用于指示在原始版本中删除第一文件的第一指令封装入差分升级包;可以理解地,该指令可以是一个脚本程序中一段包括删除操作命令及以第一文件为删除目标的指令程序;
当文件差异信息中包括升级目标版本在原始版本的基准上需要新增的第二文件的信息时,将第二文件以及用于指示在原始版本中新增第二文件的第二指令封装入差分升级包;可以理解地,该指令可以是一个脚本程序中一段包括新增操作命令及以第二文件为新增目标的指令程序;
当文件差异信息中包括升级目标版本在原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息时,将更新后的第三文件以及用于指示在原始版本中将更新后的第三文件覆盖已有的第三文件的第三指令封装入差分升级包;或者,将更新后的第三文件以及用于指示在原始版本中删除已有的第三文件并且新增更新后的第三文件的第四指令封装入差分升级包;可以理解地,该指令可以是一个脚本程序中一段包括覆盖操作命令及以已有的第三文件为被覆盖目标、以更新后的第三文件为覆盖目标的指令程序,或者也可以是一个脚本程序中一段包括删除操作命令及已有的第三文件为删除目标和新增操作命令及更新后的第三文件为新增目标的指令程序。
详细封装过程可以通过生成镜像文件进行实现,具体生成镜像文件的实现过程本实施例在此不再赘述。可以理解地,当终端接收到上述过程封装得到差分升级包之后,就能够根据差分升级包中所封装的文件和指令进
行升级。
本实施例提供了一种终端的软件升级方法,升级服务器根据升级目标版本和原始版本之间的文件差异信息对应获取升级指示信息,然后根据文件差异信息和升级指示信息封装成差分升级包并发送至终端,从而避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
实施例二
参见图3,其示出了本发明实施例提供的一种终端的软件升级方法流程,该方法可以应用于终端侧,该方法可以包括:
S301:终端接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及文件差异信息对应的升级指示信息封装得到的差分升级包;
S302:终端解析差分升级包,并根据解析后的差分升级包进行软件升级。
在图3所示的方法流程中,文件差异信息、文件差异信息对应的升级指示信息以及差分升级包所封装的内容已由实施例一中进行了详细描述,本实施例对此不再赘述。终端根据解析后的差分升级包进行软件升级,可以包括:在原始版本中,
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,根据用于指示在所述原始版本中删除所述第一文件的第一指令删除所述第一文件;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,根据用于指示在所述原始版本中新增所述第二文件的第二指令将所述第二文件添加至原始版本;
当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准
上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,根据用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令将所述更新后的第三文件覆盖所述已有的第三文件;或者,将所述更新后的第三文件以及根据用于指示在原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令将所述已有的第三文件进行删除并新增所述更新后的第三文件。
可以理解的是,由于本实施例中的差分升级包是由升级服务器根据软件的升级目标版本和原始版本之间的文件差异信息以及文件差异信息对应的升级指示信息封装得到的,因此,避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
实施例三
参见图4,其示出了本发明实施例提供的一种终端的软件升级方法的详细流程,在本流程中,设定原始版本中的文件为A1、A2、A3;升级目标版本的文件为:A1、A3’、A4、A5;该详细流程可以包括:
S401:升级服务器获取软件的升级目标版本和原始版本之间的文件差异信息;
在本实施例中,文件差异信息可以包括:升级目标版本在原始版本的基准上需要删除的文件A2的信息、升级目标版本在原始版本的基准上需要新增的文件A4和文件A5的信息、升级目标版本在原始版本的基准上需要将文件A3替换为A3’的信息。
S402:升级服务器根据文件差异信息对应获取升级指示信息;
在本实施例中,升级指示信息可以包括:用于指示在原始版本中删除文件A2的指令、用于指示在原始版本中新增文件A4和文件A5的指令、用于指示在原始版本中将文件A3替换为A3’的指令。
S403:升级服务器根据文件差异信息和升级指示信息封装成差分升级
包;
在本实施例中,可以通过生成镜像文件的方式生成差分升级包,差分升级包中所封装的内容可以包括:用于指示在原始版本中删除文件A2的第一指令、文件A4和文件A5及用于指示在原始版本中新增文件A4和文件A5的第二指令、文件A3’及用于指示在原始版本中将文件A3’覆盖文件A3的第三指令或者文件A3’及用于指示在原始版本中删除文件A3并且新增文件A3’的第四指令。可以理解地,由于升级目标版本和原始版本之间,文件A1不发生变化,因此,差分升级包中不封装文件A1。
S404:升级服务器将差分升级包发送至终端;
S405:终端接收到差分升级包之后,对差分升级包进行解析;
可以理解地,本实施例中,终端对差分升级包解析完毕后,就能够得到步骤S402中具体描述的差分升级包中所封装的内容。
S406:终端根据解析后的差分升级包进行软件升级。
本实施例中,根据步骤S402中具体描述的差分升级包中所封装的内容,终端进行软件升级的过程为:在所述原始版本中,
根据第一指令删除文件A2;
根据第二指令新增文件A4和文件A5;
根据第三指令将文件A3’覆盖文件A3,或者根据第四指令删除文件A3并且新增文件A3’。
可以理解地,上述终端进行软件升级的三个具体过程之间的先后执行顺序本发明实施例不作限定。
需要说明的是,终端在接收到差分升级包之后,还可以将原始版本从当前所存储的ROM区域转存至另外一块相同大小的备份ROM区域中,从而作为终端在升级过程中由于不可预知的原因导致的升级失败时用于恢复原始版本的备份数据;此外,终端还可以将原始版本读取到终端的RAM存储区域中,从而使得终端能够在原始版本的基准上按照解析后的差分升级
包进行升级操作。
还需要说明的是,终端还可以对步骤S404和S405设置执行指示符,分别用于表征步骤S404和S405执行是否成功。当任一步骤对应的执行指示符表征该步骤执行不成功时,终端可以重新执行该步骤或者通过备份ROM区域中的原始版本进行恢复。
本实施例提供的一种终端的软件升级方法的详细流程,升级服务器根据升级目标版本和原始版本之间的文件差异信息对应获取升级指示信息,然后根据文件差异信息和升级指示信息封装成差分升级包并发送至终端,从而避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
实施例四
基于前述实施例相同的技术构思,参见图5,其示出了本发明实施例提供的一种升级服务器50,所述升级服务器50包括:比较单元501、获取单元502、封装单元503和发送单元504,其中,
比较单元501,配置为获取软件的升级目标版本和原始版本之间的文件差异信息;
获取单元502,配置为根据文件差异信息对应获取升级指示信息;
封装单元503,配置为根据文件差异信息和升级指示信息封装成差分升级包;
发送单元504,配置为将差分升级包发送至终端。
在上述方案中,文件差异信息包括以下至少一项:升级目标版本在原始版本的基准上需要删除的第一文件的信息、升级目标版本在原始版本的基准上需要新增的第二文件的信息、升级目标版本在原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在
原始版本中删除第一文件的指令、用于指示在原始版本中新增第二文件的指令、用于指示在原始版本中将已有的第三文件替换为更新后的第三文件的指令。
在上述方案中,封装单元503配置为:
当文件差异信息中包括升级目标版本在原始版本的基准上需要删除的第一文件的信息时,将用于指示在原始版本中删除第一文件的第一指令封装入差分升级包;
当文件差异信息中包括升级目标版本在原始版本的基准上需要新增的第二文件的信息时,将第二文件以及用于指示在原始版本中新增第二文件的第二指令封装入差分升级包;
当文件差异信息中包括升级目标版本在原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息时,将更新后的第三文件以及用于指示在原始版本中将更新后的第三文件覆盖已有的第三文件的第三指令封装入差分升级包;或者,将更新后的第三文件以及用于指示在原始版本中删除已有的第三文件并且新增更新后的第三文件的第四指令封装入差分升级包。
本实施例提供的一种升级服务器50,根据升级目标版本和原始版本之间的文件差异信息对应获取升级指示信息,然后根据文件差异信息和升级指示信息封装成差分升级包并发送至终端,从而避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
需要说明的是,上述比较单元501、获取单元502、封装单元503和发送单元504可以由升级服务器50的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
实施例五
基于前述实施例相同的技术构思,参见图6,其示出了本发明实施例提供的一种终端60,其特征在于,终端60包括:接收单元601、解析单元602和升级单元603,其中,
接收单元601,配置为接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及文件差异信息对应的升级指示信息封装得到的差分升级包;
解析单元602,配置为解析差分升级包;
升级单元603,配置为根据解析后的差分升级包进行软件升级。
在上述方案中,文件差异信息包括以下至少一项:升级目标版本在原始版本的基准上需要删除的第一文件的信息、升级目标版本在原始版本的基准上需要新增的第二文件的信息、升级目标版本在原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;
文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在原始版本中删除第一文件的指令、用于指示在原始版本中新增第二文件的指令、用于指示在原始版本中将已有的第三文件替换为更新后的第三文件的指令。
在上述方案中,升级单元603配置为,在原始版本中,
当文件差异信息中包括升级目标版本在原始版本的基准上需要删除的第一文件的信息时,根据用于指示在原始版本中删除第一文件的第一指令删除第一文件;
当文件差异信息中包括升级目标版本在原始版本的基准上需要新增的第二文件的信息时,根据用于指示在原始版本中新增第二文件的第二指令将第二文件添加至原始版本;
当文件差异信息中包括升级目标版本在原始版本的基准上需要将已有
的第三文件替换为更新后的第三文件的信息时,根据用于指示在原始版本中将更新后的第三文件覆盖已有的第三文件的第三指令将更新后的第三文件覆盖已有的第三文件;或者,将更新后的第三文件以及根据用于指示在原始版本中删除已有的第三文件并且新增更新后的第三文件的第四指令将已有的第三文件进行删除并新增更新后的第三文件。
可以理解的是,由于本实施例中的差分升级包是由升级服务器根据软件的升级目标版本和原始版本之间的文件差异信息以及文件差异信息对应的升级指示信息封装得到的,因此,避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
需要说明的是,上述接收单元601、解析单元602和升级单元603可以由终端60的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)实现。
此外,本发明实施例还提供了一种终端的软件升级系统,该系统包括升级服务器和终端,其中,
升级服务器,配置为获取软件的升级目标版本和原始版本之间的文件差异信息;以及,
根据文件差异信息对应获取升级指示信息;以及,
根据文件差异信息和升级指示信息封装成差分升级包,并将差分升级包发送至终端;
终端,配置为接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及文件差异信息对应的升级指示信息封装得到的差分升级包;以及,
解析差分升级包,并根据解析后的差分升级包进行软件升级。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、
或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
本发明实施例通过升级服务器根据升级目标版本和原始版本之间的文
件差异信息对应获取升级指示信息,然后根据文件差异信息和升级指示信息封装成差分升级包并发送至终端,从而避免了在升级过程中出现完整的软件版本升级的情况,减少了终端的软件升级所开销的数据流量和下载时间。
Claims (15)
- 一种终端的软件升级方法,所述方法应用于软件的升级服务器侧,所述方法包括:所述升级服务器获取软件的升级目标版本和原始版本之间的文件差异信息;所述升级服务器根据所述文件差异信息对应获取升级指示信息;所述升级服务器根据所述文件差异信息和所述升级指示信息封装成差分升级包,并将所述差分升级包发送至终端。
- 根据权利要求1所述的方法,其中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
- 根据权利要求2所述的方法,其中,所述升级服务器根据所述文件差异信息和所述升级指示信息封装成差分升级包,包括:当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,将用于指示在所述原始版本中删除所述第一文件的第一指令封装入所述差分升级包;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,将所述第二文件以及用于指示在所述原始版本中新增所述第二文件的第二指令封装入所述差分升级包;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,将所述更新后的第三文件以及用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令封装入差分升级包;或者,将所述更新后的第三文件以及用于指示在所述原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令封装入所述差分升级包。
- 一种终端的软件升级方法,所述方法应用于终端侧,所述方法包括:所述终端接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;所述终端解析所述差分升级包,并根据解析后的差分升级包进行软件升级。
- 根据权利要求4所述的方法,其中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
- 根据权利要求5所述的方法,其中,所述根据解析后的差分升级包进行软件升级,包括:在原始版本中,当所述文件差异信息中包括所述升级目标版本在所述原始版本的基 准上需要删除的第一文件的信息时,根据用于指示在所述原始版本中删除所述第一文件的第一指令删除所述第一文件;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,根据用于指示在所述原始版本中新增所述第二文件的第二指令将所述第二文件添加至原始版本;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,根据用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令将所述更新后的第三文件覆盖所述已有的第三文件;或者,将所述更新后的第三文件以及根据用于指示在原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令将所述已有的第三文件进行删除并新增所述更新后的第三文件。
- 一种升级服务器,所述升级服务器包括:比较单元、获取单元、封装单元和发送单元,其中,所述比较单元,配置为获取软件的升级目标版本和原始版本之间的文件差异信息;所述获取单元,配置为根据所述文件差异信息对应获取升级指示信息;所述封装单元,配置为根据所述文件差异信息和所述升级指示信息封装成差分升级包;所述发送单元,配置为将所述差分升级包发送至终端。
- 根据权利要求7所述的升级服务器,其中,所述文件差异信息包括以下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
- 根据权利要求8所述的升级服务器,其中,所述封装单元配置为:当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,将用于指示在所述原始版本中删除所述第一文件的第一指令封装入所述差分升级包;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,将所述第二文件以及用于指示在所述原始版本中新增所述第二文件的第二指令封装入所述差分升级包;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,将所述更新后的第三文件以及用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令封装入差分升级包;或者,将所述更新后的第三文件以及用于指示在所述原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令封装入所述差分升级包。
- 一种终端,所述终端包括:接收单元、解析单元和升级单元,其中,所述接收单元,配置为接收升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;所述解析单元,配置为解析所述差分升级包;所述升级单元,配置为根据解析后的差分升级包进行软件升级。
- 根据权利要求10所述的终端,其中,所述文件差异信息包括以 下至少一项:所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息、所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息、所述升级目标版本在所述原始版本的基准上需要将已有的第三文件替换为更新后的第三文件的信息;所述文件差异信息所对应的升级指示信息包括以下至少一项:用于指示在所述原始版本中删除所述第一文件的指令、用于指示在所述原始版本中新增所述第二文件的指令、用于指示在所述原始版本中将所述已有的第三文件替换为所述更新后的第三文件的指令。
- 根据权利要求11所述的终端,其中,所述升级单元配置为,在所述原始版本中:当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要删除的第一文件的信息时,根据用于指示在所述原始版本中删除所述第一文件的第一指令删除所述第一文件;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要新增的第二文件的信息时,根据用于指示在所述原始版本中新增所述第二文件的第二指令将所述第二文件添加至原始版本;当所述文件差异信息中包括所述升级目标版本在所述原始版本的基准上需要将所述已有的第三文件替换为所述更新后的第三文件的信息时,根据用于指示在所述原始版本中将所述更新后的第三文件覆盖所述已有的第三文件的第三指令将所述更新后的第三文件覆盖所述已有的第三文件;或者,将所述更新后的第三文件以及根据用于指示在原始版本中删除所述已有的第三文件并且新增所述更新后的第三文件的第四指令将所述已有的第三文件进行删除并新增所述更新后的第三文件。
- 一种终端的软件升级系统,所述系统包括升级服务器和终端,其中,所述升级服务器,配置为获取软件的升级目标版本和原始版本之间 的文件差异信息;以及,根据所述文件差异信息对应获取升级指示信息;以及,根据所述文件差异信息和所述升级指示信息封装成差分升级包,并将所述差分升级包发送至所述终端;所述终端,配置为接收所述升级服务器发送的根据软件的升级目标版本和原始版本之间的文件差异信息以及所述文件差异信息对应的升级指示信息封装得到的差分升级包;以及,解析所述差分升级包,并根据解析后的差分升级包进行软件升级。
- 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-3任一项所述的终端的软件升级方法。
- 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求4-6任一项所述的终端的软件升级方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510296071.5 | 2015-06-02 | ||
CN201510296071.5A CN106293793A (zh) | 2015-06-02 | 2015-06-02 | 一种终端的软件升级方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016192197A1 true WO2016192197A1 (zh) | 2016-12-08 |
Family
ID=57439933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/086091 WO2016192197A1 (zh) | 2015-06-02 | 2015-08-05 | 一种终端的软件升级方法、装置、系统和计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106293793A (zh) |
WO (1) | WO2016192197A1 (zh) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108521452A (zh) * | 2018-03-23 | 2018-09-11 | 烽火通信科技股份有限公司 | 对业务版本进行智能升级的方法及系统 |
CN109992801A (zh) * | 2017-12-29 | 2019-07-09 | 深圳市兴森快捷电路科技股份有限公司 | 一种基于pads软件的pcb更新方法 |
CN110780911A (zh) * | 2018-07-30 | 2020-02-11 | 中兴通讯股份有限公司 | 一种信息处理方法、设备和计算机可读存储介质 |
CN110780913A (zh) * | 2019-10-24 | 2020-02-11 | 东莞市小精灵教育软件有限公司 | 一种跨机型的差分升级方法、系统、存储介质及电子设备 |
CN111158737A (zh) * | 2019-12-30 | 2020-05-15 | 深圳云天励飞技术有限公司 | 一种增量升级方法和相关设备 |
CN111176706A (zh) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | 终端升级方法、装置、电子设备及存储介质 |
CN112312212A (zh) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | 数字电视系统的升级方法及相关装置 |
CN112988210A (zh) * | 2021-02-08 | 2021-06-18 | 常州新途软件有限公司 | 全液晶仪表软件升级方法 |
CN113094077A (zh) * | 2019-12-23 | 2021-07-09 | 深圳Tcl数字技术有限公司 | 一种系统差分升级方法、装置、智能终端及存储介质 |
CN114090048A (zh) * | 2021-11-27 | 2022-02-25 | 深圳市元征科技股份有限公司 | 一种软件升级方法及装置 |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106919382A (zh) * | 2017-01-22 | 2017-07-04 | 百度在线网络技术(北京)有限公司 | 用于生成应用更新包的方法和装置 |
CN110018994B (zh) * | 2017-11-02 | 2021-02-09 | 华为终端有限公司 | 更新文件系统的方法、网络设备及计算机可读存储介质 |
CN107844318B (zh) * | 2017-12-11 | 2021-08-24 | 维沃移动通信有限公司 | 一种操作系统的升级方法及移动终端和服务器 |
KR102626253B1 (ko) * | 2018-11-23 | 2024-01-17 | 현대자동차주식회사 | Ota를 이용한 차량용 소프트웨어 업데이트 방법 및 장치 |
CN109976790B (zh) * | 2019-03-29 | 2022-07-22 | 珠海豹好玩科技有限公司 | 应用更新方法、装置、终端及存储介质 |
CN110333894A (zh) * | 2019-07-10 | 2019-10-15 | 中国民航信息网络股份有限公司 | 系统升级方法及装置 |
CN110389780A (zh) * | 2019-07-18 | 2019-10-29 | 上海擎感智能科技有限公司 | 版本数据处理方法、系统及设备 |
CN111176716A (zh) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | 升级包生成方法、装置、电子设备及存储介质 |
EP4099655A4 (en) * | 2020-02-28 | 2023-02-15 | Huawei Technologies Co., Ltd. | METHOD, APPARATUS, AND SYSTEM FOR SOFTWARE VERSION ROLLING BACK |
CN112486554B (zh) * | 2020-12-01 | 2022-11-08 | 中国科学院合肥物质科学研究院 | 一种车载联网终端软件升级方法 |
CN112417212A (zh) * | 2020-12-02 | 2021-02-26 | 深圳市前海手绘科技文化有限公司 | 一种用于短视频制作版本差异查找并展示的方法 |
CN112925553A (zh) * | 2021-03-18 | 2021-06-08 | 上海创功通讯技术有限公司 | 一种嵌入式设备的系统升级方法及装置 |
CN113778546A (zh) * | 2021-03-19 | 2021-12-10 | 北京沃东天骏信息技术有限公司 | 灰度优化的方法和装置 |
CN113703805A (zh) * | 2021-07-30 | 2021-11-26 | 济南浪潮数据技术有限公司 | arm64架构虚拟化系统的升级方法、系统、终端及存储介质 |
CN113672341A (zh) * | 2021-07-30 | 2021-11-19 | 济南浪潮数据技术有限公司 | 一种提高k8s集群稳定性的方法、系统、装置及存储介质 |
CN114296777A (zh) * | 2021-12-25 | 2022-04-08 | 深圳市元征科技股份有限公司 | 软件升级方法、装置、服务器及计算机可读存储介质 |
CN114500508B (zh) * | 2022-01-25 | 2024-10-01 | 深圳友讯达科技股份有限公司 | 一种燃气表升级方法、装置及电子设备 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8607217B2 (en) * | 2011-04-25 | 2013-12-10 | Microsoft Corporation | Incremental upgrade of entity-relationship systems |
CN103699408A (zh) * | 2013-12-12 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | 一种软件升级的方法和设备 |
CN103713928A (zh) * | 2013-12-31 | 2014-04-09 | 优视科技有限公司 | 增量文件生成方法、应用程序安装文件更新方法及装置 |
CN103955363A (zh) * | 2014-04-08 | 2014-07-30 | 国云科技股份有限公司 | 一种程序升级安装包的制作方法 |
CN104216736A (zh) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | 增量升级方法、装置及终端设备 |
CN104461593A (zh) * | 2013-09-18 | 2015-03-25 | 中兴通讯股份有限公司 | 差分升级包的制作方法及装置 |
CN104657170A (zh) * | 2013-11-25 | 2015-05-27 | 腾讯科技(上海)有限公司 | 一种数据更新方法、装置及系统 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7313792B2 (en) * | 2003-09-08 | 2007-12-25 | Microsoft Corporation | Method and system for servicing software |
EP1808764B1 (en) * | 2005-12-20 | 2010-12-15 | TELEFONAKTIEBOLAGET LM ERICSSON (publ) | Generating incremental program updates |
US7904484B2 (en) * | 2007-11-30 | 2011-03-08 | Red Hat, Inc. | Incremental packaging |
CN101739278B (zh) * | 2009-12-17 | 2013-08-07 | 中国电力科学研究院 | 一种企业级应用软件升级方法及系统 |
CN103513998B (zh) * | 2012-06-25 | 2018-05-04 | 中兴通讯股份有限公司 | 升级包生成方法和装置、动态文件差分升级的方法和终端 |
CN102880495A (zh) * | 2012-10-15 | 2013-01-16 | 华为终端有限公司 | 移动终端及其软件升级方法 |
CN104077161A (zh) * | 2014-06-19 | 2014-10-01 | 无锡天脉聚源传媒科技有限公司 | 一种客户端应用的升级方法及装置 |
-
2015
- 2015-06-02 CN CN201510296071.5A patent/CN106293793A/zh not_active Withdrawn
- 2015-08-05 WO PCT/CN2015/086091 patent/WO2016192197A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8607217B2 (en) * | 2011-04-25 | 2013-12-10 | Microsoft Corporation | Incremental upgrade of entity-relationship systems |
CN104461593A (zh) * | 2013-09-18 | 2015-03-25 | 中兴通讯股份有限公司 | 差分升级包的制作方法及装置 |
CN104657170A (zh) * | 2013-11-25 | 2015-05-27 | 腾讯科技(上海)有限公司 | 一种数据更新方法、装置及系统 |
CN103699408A (zh) * | 2013-12-12 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | 一种软件升级的方法和设备 |
CN103713928A (zh) * | 2013-12-31 | 2014-04-09 | 优视科技有限公司 | 增量文件生成方法、应用程序安装文件更新方法及装置 |
CN103955363A (zh) * | 2014-04-08 | 2014-07-30 | 国云科技股份有限公司 | 一种程序升级安装包的制作方法 |
CN104216736A (zh) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | 增量升级方法、装置及终端设备 |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992801A (zh) * | 2017-12-29 | 2019-07-09 | 深圳市兴森快捷电路科技股份有限公司 | 一种基于pads软件的pcb更新方法 |
CN109992801B (zh) * | 2017-12-29 | 2023-10-24 | 深圳市兴森快捷电路科技股份有限公司 | 一种基于pads软件的pcb更新方法 |
CN108521452B (zh) * | 2018-03-23 | 2020-12-08 | 烽火通信科技股份有限公司 | 对业务版本进行智能升级的方法及系统 |
CN108521452A (zh) * | 2018-03-23 | 2018-09-11 | 烽火通信科技股份有限公司 | 对业务版本进行智能升级的方法及系统 |
CN110780911A (zh) * | 2018-07-30 | 2020-02-11 | 中兴通讯股份有限公司 | 一种信息处理方法、设备和计算机可读存储介质 |
CN112312212A (zh) * | 2019-07-30 | 2021-02-02 | 青岛海信传媒网络技术有限公司 | 数字电视系统的升级方法及相关装置 |
CN110780913A (zh) * | 2019-10-24 | 2020-02-11 | 东莞市小精灵教育软件有限公司 | 一种跨机型的差分升级方法、系统、存储介质及电子设备 |
CN110780913B (zh) * | 2019-10-24 | 2023-04-07 | 东莞市小精灵教育软件有限公司 | 一种跨机型的差分升级方法、系统、存储介质及电子设备 |
CN111176706A (zh) * | 2019-12-17 | 2020-05-19 | 视联动力信息技术股份有限公司 | 终端升级方法、装置、电子设备及存储介质 |
CN113094077A (zh) * | 2019-12-23 | 2021-07-09 | 深圳Tcl数字技术有限公司 | 一种系统差分升级方法、装置、智能终端及存储介质 |
CN113094077B (zh) * | 2019-12-23 | 2023-08-01 | 深圳Tcl数字技术有限公司 | 一种系统差分升级方法、装置、智能终端及存储介质 |
CN111158737A (zh) * | 2019-12-30 | 2020-05-15 | 深圳云天励飞技术有限公司 | 一种增量升级方法和相关设备 |
CN111158737B (zh) * | 2019-12-30 | 2024-01-05 | 深圳云天励飞技术有限公司 | 一种增量升级方法和相关设备 |
CN112988210A (zh) * | 2021-02-08 | 2021-06-18 | 常州新途软件有限公司 | 全液晶仪表软件升级方法 |
CN114090048A (zh) * | 2021-11-27 | 2022-02-25 | 深圳市元征科技股份有限公司 | 一种软件升级方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106293793A (zh) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016192197A1 (zh) | 一种终端的软件升级方法、装置、系统和计算机存储介质 | |
EP3021218B1 (en) | Upgrade packet generation method, server, software upgrade method, and mobile terminal | |
US20150220326A1 (en) | Mobile Terminal and Software Upgrade Method Thereof | |
CN111381858B (zh) | 一种应用程序升级方法、服务器及终端设备 | |
CN103513998A (zh) | 升级包生成方法和装置、动态文件差分升级的方法和终端 | |
US20130152069A1 (en) | Method, apparatus and system for initiating terminal operation | |
CN104834541B (zh) | 功能模块挂载方法、挂载系统及更新挂载系统的方法 | |
CN104714819A (zh) | 文件系统升级包制作方法、升级方法及装置、终端 | |
KR20140001172A (ko) | 애플리케이션을 업데이트하는 방법 | |
CN103942058A (zh) | 一种嵌入式电子设备软件升级方法及系统 | |
JP2019510315A (ja) | モバイル端末のアプリケーション更新方法及び装置 | |
CN106686200B (zh) | 移动应用程序更新方法、移动终端及更新系统 | |
CN110162334B (zh) | 一种代码管理方法、装置及存储介质 | |
CN105808273A (zh) | 软件升级方法和软件升级装置 | |
CN105323269A (zh) | 安卓系统中app的更新方法、终端及存储介质 | |
WO2017036183A1 (zh) | 差分升级包的处理方法及装置,升级方法、系统及装置 | |
CN104090946A (zh) | 应用安装包中添加信息的方法及装置 | |
US10078532B2 (en) | Resource management method and device for terminal system among multiple operating systems | |
CN105356989A (zh) | 一种基于mtp模式的数据同步方法、系统和设备 | |
CN105760183A (zh) | 文件处理方法、装置及通信系统 | |
CN103218244A (zh) | 通信设备的软件更新升级方法 | |
US9104520B2 (en) | Method and apparatus for upgrading application | |
CN110704392A (zh) | 区块链网络的升级方法及装置、存储介质、电子设备 | |
US10467003B1 (en) | Divided execution and storage of scripts | |
CN105335182A (zh) | 一种实现升级包制作的方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15893853 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15893853 Country of ref document: EP Kind code of ref document: A1 |