Movatterモバイル変換


[0]ホーム

URL:


CN103699408A - Software updating method and equipment - Google Patents

Software updating method and equipment
Download PDF

Info

Publication number
CN103699408A
CN103699408ACN201310680784.2ACN201310680784ACN103699408ACN 103699408 ACN103699408 ACN 103699408ACN 201310680784 ACN201310680784 ACN 201310680784ACN 103699408 ACN103699408 ACN 103699408A
Authority
CN
China
Prior art keywords
apk
software
version
terminal device
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310680784.2A
Other languages
Chinese (zh)
Inventor
刘兴福
陈浩
张力文
李志纲
袁斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co LtdfiledCriticalLeTV Information Technology Beijing Co Ltd
Priority to CN201310680784.2ApriorityCriticalpatent/CN103699408A/en
Publication of CN103699408ApublicationCriticalpatent/CN103699408A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The embodiment of the invention provides a software updating method and equipment, which belong to the technical field of communication and can be used for providing an APK (android package) increment updating package for terminal equipment so as to reduce traffic and time consumed by the terminal equipment for updating software. The method comprises the steps of when a software updating server receives identification information and version information of software installed in the terminal equipment, determining a first APK according to the identification information of the software; after determining that the version of the software is lower than the version of the first APK, acquiring a second APK with the same version as the version represented by the version information; after the APK increment updating package is obtained according to the different between the second APK and the first APK, sending a software updating message to the terminal equipment so as to facilitate the terminal equipment to call an installation program and utilize the APK increment updating package to update the software after downloading the APK increment updating package according to the software updating message. The method and the equipment provided by the embodiment of the invention can be used for software updating.

Description

A kind of method and apparatus of software upgrading
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of software upgrading.
Background technology
Fast development along with terminal device technology, user installs and uses software more and more universal in terminal device, because the variation along with user's request of the function of software changes, when the function of software changes or when this software adds new function, terminal device need to be upgraded to this software.
In prior art, adopt the terminal device of Android operating system when carrying out software upgrading, this terminal device is downloaded the APK(Android Package higher than this software version, Android installation kit), and the installation procedure by calling this terminal device to this more the APK of highest version carry out corresponding fitting operation, complete this software by the upgrading to higher-version compared with lowest version.Wherein, the developer of software by this software more the APK installation kit of highest version upload to software update service device, this software update service device is when receiving the software upgrading request message of this mobile terminal, according to the software version information in this software upgrading request message, determine that the version of this software of current installation on mobile terminal is lower than the version of this APK installation kit, and send software upgrading response message to this terminal device, so that this terminal device is downloaded this APK installation kit according to this software upgrading response message from this software update service device.
As from the foregoing, this terminal device, when software upgrading, must download the APK installation kit of the highest version to should software, like this, along with APK installation kit is increasing, has increased flow and time that this terminal device carries out upgrade software consumption.
Summary of the invention
The invention provides a kind of method and apparatus of software upgrading, can provide APK increment AKU for terminal device, the flow and the time that to reduce this terminal device, consume when the upgrade software.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of method of software upgrading, comprising:
Identification information and the version information of the software that is installed on described terminal device that software update service device receiving terminal apparatus sends, and determine the first Android installation kit APK according to the identification information of described software;
At the version of determining described software according to the version information of described software, during lower than the version of a described APK, obtain the 2nd APK, wherein, the version of described the 2nd APK is identical with the version that described version information represents;
According to the difference of described the 2nd APK and a described APK, obtain APK increment AKU, and send software upgrading message to described terminal device, so that described terminal device is being downloaded after described APK increment AKU according to described software upgrading message, call installation procedure and utilize described APK increment AKU to upgrade to described software.
In the possible implementation of the first of first aspect, the described difference according to described the 2nd APK and a described APK obtains APK increment AKU and comprises:
According to described the 2nd APK, determine the updating file in a described APK, wherein, described updating file comprises newly-increased file and the change file in a described APK, and described newly-increased file and described change file are formed to described APK increment AKU.
In conjunction with the possible implementation of the first, in the possible implementation of the second, described method also comprises:
Obtain the updating file inventory information in described APK increment AKU;
Describedly to described terminal device, send software upgrading message and comprise:
To described terminal device, send described updating file inventory information, so that described terminal device is downloaded described updating file according to described updating file inventory information.
In conjunction with the possible implementation of the first or the possible implementation of the second, in the third possible implementation, described method also comprises, obtains the operational order collection of corresponding described APK increment AKU, and described operational order collection is sent to described terminal device;
Described to described terminal device transmission software upgrading message, so that described terminal device is being downloaded after described APK increment AKU according to described software upgrading message, call installation procedure and utilize described APK increment AKU that described software is upgraded and comprised:
To described terminal device, send software upgrading message, so that described terminal device is being downloaded after described APK increment AKU according to described software upgrading message, call installation procedure and utilize software described in described APK increment AKU and described operational order set pair to upgrade.
In conjunction with the third possible implementation, in the 4th kind of possible implementation, described updating file inventory information comprises the download path that updating file is corresponding, so that described terminal device is downloaded corresponding updating file according to described download path.
Second aspect present invention provides a kind of software update service device, comprising:
Receiving element, identification information and the version information of the software that is installed on described terminal device sending for receiving terminal apparatus, and determine the first Android installation kit APK according to the identification information of described software;
Processing unit, the version of determining described software for the version information of the software receiving according to described receiving element during lower than the version of a described APK, obtains the 2nd APK, and wherein, the version of described the 2nd APK is identical with the version that described version information represents;
Described processing unit also for, according to the difference of described the 2nd APK and a described APK, obtain APK increment AKU;
Transmitting element, for obtaining after described APK increment AKU at described processing unit, to described terminal device, send software upgrading message, so that described terminal device is being downloaded after described APK increment AKU according to described software upgrading message, call installation procedure and utilize described APK increment AKU to upgrade to described software.
In the possible implementation of the first of second aspect, described processing unit also for, according to described the 2nd APK, determine the updating file in a described APK, wherein, described updating file comprises newly-increased file and the change file in a described APK, and described newly-increased file and described change file are formed to described APK increment AKU.
In conjunction with the possible implementation of the first, in the possible implementation of the second, described processing unit specifically for, obtain the updating file inventory information in described APK increment AKU; Described transmitting element specifically for, to described terminal device, send described updating file inventory information, so that described terminal device is downloaded described updating file according to described updating file inventory information.
In conjunction with the possible implementation of the first or the possible implementation of the second, in the third possible implementation, described processing unit specifically for, obtain the operational order collection of corresponding described APK increment AKU, described transmitting element specifically for, described operational order collection is sent to described terminal device, so that described terminal device is being downloaded after described APK increment AKU according to described software upgrading message, call installation procedure and utilize software described in described APK increment AKU and described operational order set pair to upgrade.
In conjunction with the third possible implementation, in the 4th kind of possible implementation, described updating file inventory information comprises the download path that updating file is corresponding, so that described terminal device is downloaded corresponding updating file according to described download path.
Adopt such scheme, software update service device is when receiving the identification information of the software that is installed on this terminal device that terminal device sends and version information, according to the identification information of this software, determine an APK, and at the version of determining this software according to the version information of this software during lower than the version of an APK, obtain the 2nd identical APK of version representing with this version information, this software update service device obtains APK increment AKU according to the difference of the 2nd APK and an APK, and send software upgrading message to this terminal device, so that this terminal device is being downloaded according to this software upgrading message after this APK increment AKU, calling installation procedure utilizes described APK increment AKU to upgrade to this software.Because this APK increment AKU is the part that an APK is different from the 2nd APK, therefore the data volume of this APK increment AKU is less than an APK, like this, terminal device is when carrying out software upgrading, only need to download this APK increment AKU, without downloading a complete APK, thereby reduced, download flow and the time consuming.
Accompanying drawing explanation
The schematic flow sheet of the method for a kind of software upgrading that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the method for the another kind of software upgrading that Fig. 2 provides for the embodiment of the present invention;
A kind of software update service device that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of software upgrading, and as shown in Figure 1, the method comprises:
Identification information and the version information of the software that is installed on this terminal device that S101, software update service device receiving terminal apparatus send, and determine the first Android installation kit APK according to the identification information of this software.
Particularly, when the software that user installs in to terminal device is upgraded, this terminal device sends identification information and the version information of this software to software update service device, wherein, the operating system of this terminal device is Android operating system, the APK to different editions that should software that this software update service device stores that software developer or developer upload, this software update service device is determined an APK in the APK of different editions according to the identification information of this software, and an APK can be to the highest APK of version that should software in this software update service device.
Example, the title of this software that the identification information of this software is: xx, in this software update service device, store the installation kit to a plurality of different editions that should software, for example xx_1.APK, xx_2.APK and xx_3.APK, this software update service device is when receiving the identification information xx of this software that this terminal device sends, according to the identification information xx of this software, determine installation kit xx_1.APK, xx_2.APK and xx_3.APK that should software, and the highest xx_3.APK of definite version is an APK.
S102, this software update service device during lower than the version of an APK, obtain the 2nd APK at the version of determining this software according to the version information of this software.
Wherein, the version of the 2nd APK is identical with the version that this version information represents.
Particularly, this software update service device is according to the version information of this software relatively version of this software and the version of an APK, if the version of this software is more than the version of an APK, this software update service device determines that the version of this software has been highest version, without carrying out edition upgrading; If the version of this software is lower than the version of an APK, this software update service device determines that this software need to upgrade and obtain and two APK of this software with version.
Illustratively, the one APK is xx_3.APK, the version of an APK is the third edition, if the version of this software is the third edition, when the version that this software update service device represents at definite this version information is identical with the version of an APK, this software update service device determines that this software is without carrying out edition upgrading; If the version of this software is second edition, this software update service device is when determining version that this version information represents lower than the version of an APK, this software update service device determines that this software can carry out edition upgrading, and obtain the identical xx_2.APK of version representing with this version information, i.e. the 2nd APK.
S103, this software update service device obtain APK increment AKU according to the difference of the 2nd APK and an APK, and send software upgrading message to this terminal device, so that this terminal device is being downloaded after this APK increment AKU according to this software upgrading message, call installation procedure and utilize this APK increment AKU to upgrade to this software.
Alternatively, this software update service device is determined the updating file in an APK according to the 2nd APK, wherein, this updating file comprises newly-increased file and the change file in an APK, and this newly-increased file and this change file are formed to this APK increment AKU.
Further, this software update service device obtains the updating file inventory information in this APK increment AKU, and this updating file inventory information is sent to this terminal device, so that this terminal device is downloaded this updating file according to this updating file inventory information.
Particularly, this software update service device compares the 2nd APK and an APK, may have following four kinds of situations:
1, there is the installation file A in an APK, be not present in the 2nd APK, in an APK, increased this installation file A;
2, there is the installation file B in the 2nd APK, be not present in an APK, in an APK, deleted this installation file B;
3, in an APK and the 2nd APK, all have installation file C, but an APK is different to storage information that should installation file C from the 2nd APK, an APK has revised this installation file C;
4, in an APK and the 2nd APK, all have installation file D, and an APK is identical to storage information that should installation file D with the 2nd APK, this installation file D remains unchanged in an APK and the 2nd APK.
Like this, the definite installation file A that meets this situation 1 of this software update service device is this newly-increased file, the installation file A that meets situation 3 is this change file, and this software update service device is compressed into this APK increment AKU by this newly-increased file and this change Piece file mergence.In addition, this software update service device, when definite this newly-increased file and this change file, records the identification information of this newly-increased file and the identification information of this change file, obtains this updating file inventory information.
Alternatively, this updating file inventory information also comprises the download path that updating file is corresponding, so that this terminal device is downloaded corresponding updating file according to this download path.
Further, this software update service device obtains to operational order collection that should APK increment AKU, so that this terminal device, after downloading this APK increment AKU, is upgraded to this software according to this operational order collection and this APK increment AKU.
Wherein, this software update service device can be sent to this terminal device by this updating file inventory information and this operational order collection by sending software upgrading message to this terminal device, that is to say, this software upgrading message comprises this updating file inventory information and this operational order collection.
It should be noted that, this terminal device is after downloading this APK increment AKU, need to will in this terminal device, for the 3rd APK of this software and this APK increment AKU are installed, merge and generate a 4th new APK, wherein, the version of the 3rd APK is identical with the version of the 2nd APK, and the version of the 4th APK is identical with the version of an APK.
Particularly, this terminal device is after receiving the software upgrading message of this software update service device transmission, according to the updating file inventory information in this software upgrading message, from this software update service device, download this APK increment AKU, and operate according to this APK increment AKU of the operational order set pair in this software upgrading message, for example, four kinds of situations that compare according to above-mentioned the 2nd APK and an APK, for the installation file A in situation 1, this terminal device need to be carried out update that should installation file A, this installation file A is inserted in the 3rd APK, for the installation file B in situation 2, this terminal device need to be carried out deletion action that should installation file B, and this installation file B is deleted from the 3rd APK, for the installation file C in situation 3, this terminal device need to be carried out replacement operation that should installation file C, and the installation file C in the 3rd APK is replaced with to the installation file C in this APK incremental update bag.Like this, this terminal device is merged into a 4th new APK by this operational order collection by the 3rd APK and this APK incremental update bag, this terminal device carries out fitting operation by calling installation procedure to the 4th APK, complete the more installation of highest version of this software, make this software upgrade to highest version by lowest version.
Adopt such scheme, software update service device is when receiving the identification information of the software that is installed on this terminal device that terminal device sends and version information, according to the identification information of this software, determine an APK, and at the version of determining this software according to the version information of this software during lower than the version of an APK, obtain the 2nd identical APK of version representing with this version information, this software update service device obtains APK increment AKU according to the difference of the 2nd APK and an APK, and send software upgrading message to this terminal device, so that this terminal device is being downloaded according to this software upgrading message after this APK increment AKU, calling installation procedure utilizes described APK increment AKU to upgrade to this software.Because this APK increment AKU is the part that an APK is different from the 2nd APK, therefore the data volume of this APK increment AKU is less than an APK, like this, terminal device is when carrying out software upgrading, only need to download this APK increment AKU, without downloading a complete APK, thereby reduced, download flow and the time consuming.
The invention provides a kind of method of software upgrading, as shown in Figure 2, the method comprises:
S201, software update service device obtain identification information and the version information of the software that is installed on terminal device.
Particularly, when the software that user installs in to terminal device is upgraded, this terminal device sends identification information and the version information of this software to software update service device, wherein, the operating system of this terminal device is Android operating system, the APK to different editions that should software that this software update service device stores that software developer or developer upload.
S202, this software update service device are determined an APK according to the identification information of this software.
Particularly, this software update service device is determined an APK in the APK of different editions according to the identification information of this software, and wherein, an APK can be to the highest APK of version that should software in this software update service device.
Example, the title of this software that the identification information of this software is: xx, in this software update service device, store the installation kit to a plurality of different editions that should software, for example xx_1.APK, xx_2.APK and xx_3.APK, this software update service device is when receiving the identification information xx of this software that this terminal device sends, according to the identification information xx of this software, determine installation kit xx_1.APK, xx_2.APK and xx_3.APK that should software, and the highest xx_3.APK of definite version is an APK.
S203, this software update service device during lower than the version of an APK, obtain the 2nd identical APK of version representing with this version information at the version of determining this software according to the version information of this software.
Particularly, this software update service device is according to the version information of this software relatively version of this software and the version of an APK, if the version of this software is more than the version of an APK, this software update service device determines that the version of this software has been highest version, without carrying out edition upgrading; If the version of this software is lower than the version of an APK, this software update service device determines that this software need to upgrade and obtain and two APK of this software with version.
Illustratively, the one APK is xx_3.APK, the version of an APK is the third edition, if the version of this software is the third edition, when the version that this software update service device represents at definite this version information is identical with the version of an APK, this software update service device determines that this software is without carrying out edition upgrading; If the version of this software is second edition, this software update service device is when determining version that this version information represents lower than the version of an APK, this software update service device determines that this software can carry out edition upgrading, and obtain the xx_2.APK identical with the version of this version information sign, i.e. the 2nd APK.
S204, this software update service device compare the 2nd APK and an APK, obtain newly-increased file and change file.
Particularly, this software update service device compares the 2nd APK and an APK, may have following four kinds of situations:
1, there is the installation file A in an APK, be not present in the 2nd APK, in an APK, increased this installation file A;
2, there is the installation file B in the 2nd APK, be not present in an APK, in an APK, deleted this installation file B;
3, in an APK and the 2nd APK, all have installation file C, but an APK is different to storage information that should installation file C from the 2nd APK, an APK has revised this installation file C;
4, in an APK and the 2nd APK, all have installation file D, and an APK is identical to storage information that should installation file D with the 2nd APK, this installation file D remains unchanged in an APK and the 2nd APK.
Like this, the definite installation file A that meets this situation 1 of this software update service device is this newly-increased file, and the installation file A that meets situation 3 is this change file.
S205, this software update service device are APK increment AKU by this newly-increased file and this change Piece file mergence, and obtain updating file inventory information.
Wherein, this updating file comprises this newly-increased file and this change file.
This software update service device, when definite this newly-increased file and this change file, records the identification information of this newly-increased file and the identification information of this change file, obtains this updating file inventory information.
Alternatively, this updating file inventory information also comprises the download path that updating file is corresponding, so that this terminal device is downloaded corresponding updating file according to this download path.
S206, this software update service device obtain operational order collection that should APK increment AKU, and send software upgrading message to this terminal device.
Wherein, this software upgrading message comprises this updating file inventory information and this operational order collection.
S207, this terminal device are downloaded this APK increment AKU according to this updating file inventory information from this software update service device, and according to this operational order, this APK increment AKU and the 3rd APK are merged into the 4th APK.
It should be noted that, this terminal device is after downloading this APK increment AKU, need to will in this terminal device, for the 3rd APK of this software and this APK increment AKU are installed, merge and generate a 4th new APK, wherein, the version of the 3rd APK is identical with the version of the 2nd APK, and the version of the 4th APK is identical with the version of an APK.
S208, this terminal device call installation procedure and utilize the 4th APK that the more highest version of this software is installed, and complete the upgrading of this software.
Particularly, this terminal device is after receiving the software upgrading message of this software update service device transmission, according to the updating file inventory information in this software upgrading message, from this software update service device, download this APK increment AKU, and according to the operational order in this software upgrading message, this APK increment AKU is operated, for example, four kinds of situations that compare according to above-mentioned the 2nd APK and an APK, for the installation file A in situation 1, this terminal device need to be carried out update that should installation file A, this installation file A is inserted in the 3rd APK, for the installation file B in situation 2, this terminal device need to be carried out deletion action that should installation file B, and this installation file B is deleted from the 3rd APK, for the installation file C in situation 3, this terminal device need to be carried out replacement operation that should installation file C, and the installation file C in the 3rd APK is replaced with to the installation file C in this APK incremental update bag.Like this, this terminal device is merged into a 4th new APK by this operational order by the 3rd APK and this APK incremental update bag, this terminal device carries out fitting operation by calling installation procedure to the 4th APK, complete the more installation of highest version of this software, make this software upgrade to highest version by lowest version.
Pass through above-mentioned steps, because this APK increment AKU is the part that an APK is different from the 2nd APK, therefore this APK increment AKU is less than an APK, like this, terminal device is when carrying out software upgrading, only need to download this APK increment AKU, without downloading a complete APK, thereby reduced, download flow and the time consuming.
In addition, for said method embodiment, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
The embodiment of the present invention provides a kind of softwareupdate service device 30, and as shown in Figure 3, this softwareupdate service device 30 comprises:
Receivingelement 31, identification information and the version information of the software that is installed on this terminal device sending for receiving terminal apparatus, and determine the first Android installation kit APK according to the identification information of this software.
Processingunit 32, the version of determining this software for the version information of the software receiving according to this receivingelement 31 during lower than the version of an APK, obtains the 2nd APK.
Wherein, the version of the 2nd APK is identical with the version that this version information represents.
Thisprocessing unit 32 also for, according to the difference of the 2nd APK and an APK, obtain APK increment AKU.
Transmittingelement 33, for obtaining after this APK increment AKU at thisprocessing unit 32, to this terminal device, send software upgrading message, so that this terminal device is being downloaded after this APK increment AKU according to this software upgrading message, call installation procedure and utilize this APK increment AKU to upgrade to this software.
Particularly, when the software that user installs in to terminal device is upgraded, this terminal device sends identification information and the version information of this software to software update service device, wherein, the operating system of this terminal device is Android operating system, the APK to different editions that should software that this software update service device stores that software developer or developer upload, this software update service device is determined an APK in the APK of different editions according to the identification information of this software, and an APK can be to the highest APK of version that should software in this software update service device.
Example, the title of this software that the identification information of this software is: xx, in this software update service device, store the installation kit to a plurality of different editions that should software, for example xx_1.APK, xx_2.APK and xx_3.APK, this software update service device is when receiving the identification information xx of this software that this terminal device sends, according to the identification information xx of this software, determine installation kit xx_1.APK, xx_2.APK and xx_3.APK that should software, and the highest xx_3.APK of definite version is an APK.
Further, this software update service device is according to the version information of this software relatively version of this software and the version of an APK, if the version of this software is more than the version of an APK, this software update service device determines that the version of this software has been highest version, without carrying out edition upgrading; If the version of this software is lower than the version of an APK, this software update service device determines that this software need to upgrade and obtain and two APK of this software with version.
Illustratively, the one APK is xx_3.APK, the version of an APK is the third edition, if the version of this software is the third edition, when the version that this software update service device represents at definite this version information is identical with the version of an APK, this software update service device determines that this software is without carrying out edition upgrading; If the version of this software is second edition, this software update service device is when determining version that this version information represents lower than the version of an APK, this software update service device determines that this software can carry out edition upgrading, and obtain the identical xx_2.APK of version representing with this version information, i.e. the 2nd APK.
Alternatively, thisprocessing unit 32 specifically for, according to the 2nd APK, determine the updating file in an APK, wherein, this updating file comprises newly-increased file and the change file in an APK, and this newly-increased file and this change file are formed to this APK increment AKU.
Further, thisprocessing unit 32 also for, obtain the updating file inventory information in this APK increment AKU, this transmittingelement 33 specifically for, this updating file inventory information is sent to this terminal device, so that this terminal device is downloaded this updating file according to this updating file inventory information.
Particularly, this software update service device compares the 2nd APK and an APK, may have following four kinds of situations:
1, there is the installation file A in an APK, be not present in the 2nd APK, in an APK, increased this installation file A;
2, there is the installation file B in the 2nd APK, be not present in an APK, in an APK, deleted this installation file B;
3, in an APK and the 2nd APK, all have installation file C, but an APK is different to storage information that should installation file C from the 2nd APK, an APK has revised this installation file C;
4, in an APK and the 2nd APK, all have installation file D, and an APK is identical to storage information that should installation file D with the 2nd APK, this installation file D remains unchanged in an APK and the 2nd APK.
Like this, the definite installation file A that meets this situation 1 of this software update service device is this newly-increased file, the installation file A that meets situation 3 is this change file, and this software update service device is compressed into this APK increment AKU by this newly-increased file and this change Piece file mergence.In addition, this software update service device, when definite this newly-increased file and this change file, records the identification information of this newly-increased file and the identification information of this change file, obtains this updating file inventory information.
Alternatively, this updating file inventory information also comprises the download path that updating file is corresponding, so that this terminal device is downloaded corresponding updating file according to this download path.
Further, thisprocessing unit 32 specifically for, obtain operational order collection that should APK increment AKU, this transmittingelement 33 specifically for, this operational order collection is sent to this terminal device, so that this terminal device, after downloading this APK increment AKU, is upgraded to this software according to this operational order collection and this APK increment AKU.
It should be noted that, this terminal device is after downloading this APK increment AKU, need to will in this terminal device, for the 3rd APK of this software and this APK increment AKU are installed, merge and generate a 4th new APK, wherein, the version of the 3rd APK is identical with the version of the 2nd APK, and the version of the 4th APK is identical with the version of an APK.
Particularly, this terminal device is after receiving the software upgrading message of this software update service device transmission, according to the updating file inventory information in this software upgrading message, from this software update service device, download this APK increment AKU, and operate according to this APK increment AKU of the operational order set pair in this software upgrading message, for example, four kinds of situations that compare according to above-mentioned the 2nd APK and an APK, for the installation file A in situation 1, this terminal device need to be carried out update that should installation file A, this installation file A is inserted in the 3rd APK, for the installation file B in situation 2, this terminal device need to be carried out deletion action that should installation file B, and this installation file B is deleted from the 3rd APK, for the installation file C in situation 3, this terminal device need to be carried out replacement operation that should installation file C, and the installation file C in the 3rd APK is replaced with to the installation file C in this APK incremental update bag.Like this, this terminal device is merged into a 4th new APK by this operational order collection by the 3rd APK and this APK incremental update bag, this terminal device carries out fitting operation by calling installation procedure to the 4th APK, complete the more installation of highest version of this software, make this software upgrade to highest version by lowest version.
Adopt above-mentioned software update service device, this software update service device is when receiving the identification information of the software that is installed on this terminal device that terminal device sends and version information, according to the identification information of this software, determine an APK, and at the version of determining this software according to the version information of this software during lower than the version of an APK, obtain the 2nd identical APK of version representing with this version information, this software update service device obtains APK increment AKU according to the difference of the 2nd APK and an APK, and send software upgrading message to this terminal device, so that this terminal device is being downloaded according to this software upgrading message after this APK increment AKU, calling installation procedure utilizes described APK increment AKU to upgrade to this software.Because this APK increment AKU is the part that an APK is different from the 2nd APK, therefore the data volume of this APK increment AKU is less than an APK, like this, terminal device is when carrying out software upgrading, only need to download this APK increment AKU, without downloading a complete APK, thereby reduced, download flow and the time consuming.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

CN201310680784.2A2013-12-122013-12-12Software updating method and equipmentPendingCN103699408A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310680784.2ACN103699408A (en)2013-12-122013-12-12Software updating method and equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310680784.2ACN103699408A (en)2013-12-122013-12-12Software updating method and equipment

Publications (1)

Publication NumberPublication Date
CN103699408Atrue CN103699408A (en)2014-04-02

Family

ID=50360947

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310680784.2APendingCN103699408A (en)2013-12-122013-12-12Software updating method and equipment

Country Status (1)

CountryLink
CN (1)CN103699408A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104216749A (en)*2014-09-102014-12-17广州金山网络科技有限公司Updating method and updating device for applications
CN104615461A (en)*2015-01-242015-05-13刘勇Mobile terminal and method for updating application program of mobile terminal
CN104615470A (en)*2015-03-042015-05-13成都维远艾珏信息技术有限公司Program updating method for embedded devices
CN105094926A (en)*2015-08-282015-11-25张为坚Software updating method and system
CN105205074A (en)*2014-06-252015-12-30优视科技有限公司File increment upgrading method and system
WO2016000102A1 (en)*2014-06-122016-01-07华为技术有限公司Application transferring method, terminal and application server
CN105468396A (en)*2014-09-112016-04-06深圳Tcl数字技术有限公司Differential packet generation method, upgrading method, generation device and Linux terminal
CN105760183A (en)*2014-12-152016-07-13北京奇虎科技有限公司 File processing method, device and communication system
CN105930197A (en)*2016-06-282016-09-07乐视控股(北京)有限公司Software upgrading method and electronic equipment
WO2016192197A1 (en)*2015-06-022016-12-08中兴通讯股份有限公司Software upgrade method, apparatus and system of terminal, and computer storage medium
CN106257423A (en)*2016-08-042016-12-28微鲸科技有限公司Method for upgrading software and user terminal
CN106648721A (en)*2015-11-042017-05-10西安中兴新软件有限责任公司Method and device for upgrading software
CN106897052A (en)*2015-12-242017-06-27北京奇虎科技有限公司APK file compression method and device
CN107341035A (en)*2017-07-122017-11-10合肥思博特软件开发有限公司A kind of Android mobile phone software update system and its method
CN109032650A (en)*2018-08-022018-12-18郑州云海信息技术有限公司A kind of method for upgrading software, device and computer readable storage medium
CN109656588A (en)*2018-11-142019-04-19中国电力科学研究院有限公司A kind of method and system remotely fast implementing power information acquisition terminal software upgrading
CN110096302A (en)*2018-01-312019-08-06阿里巴巴集团控股有限公司Software data storage, upgrade method, device, equipment and storage medium
CN111158716A (en)*2019-12-202020-05-15中国平安财产保险股份有限公司Version upgrade calling method and device, computer system and readable storage medium
CN111611003A (en)*2020-05-262020-09-01网神信息技术(北京)股份有限公司 Offline upgrade method, apparatus, electronic device and computer-readable storage medium
CN111610988A (en)*2020-05-262020-09-01网神信息技术(北京)股份有限公司 Processing method and device for software management
CN112463177A (en)*2020-12-112021-03-09百富计算机技术(深圳)有限公司Method for generating software update package
CN112567339A (en)*2018-06-202021-03-26罗伯特·博世有限公司Method for updating software on a target device
WO2021238053A1 (en)*2020-05-292021-12-02歌尔股份有限公司Earphone and program upgrading method therefor, and control device, and readable storage medium
CN114090048A (en)*2021-11-272022-02-25深圳市元征科技股份有限公司Software upgrading method and device
CN117492803A (en)*2023-12-282024-02-02深圳市一诺智控科技有限公司Intelligent door lock PCBA software upgrading method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101017435A (en)*2006-04-142007-08-15北京瑞星国际软件有限公司Method and apparatus used for upgrading software
CN101110788A (en)*2006-07-202008-01-23阿里巴巴公司Method and system for updating client software
US20090037900A1 (en)*2007-07-302009-02-05Ocz Technology Group, Inc.Method for optimizing memory modules for user-specific environments
CN101697133A (en)*2009-10-262010-04-21中兴通讯股份有限公司Software upgrading method, software upgrading system and client
CN102546675A (en)*2010-12-082012-07-04鸿富锦精密工业(深圳)有限公司Software upgrading system and method
CN103095838A (en)*2013-01-162013-05-08福州博远无线网络科技有限公司Method for upgrading Android smartphone software through downloading incremental upgrade package

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101017435A (en)*2006-04-142007-08-15北京瑞星国际软件有限公司Method and apparatus used for upgrading software
CN101110788A (en)*2006-07-202008-01-23阿里巴巴公司Method and system for updating client software
US20090037900A1 (en)*2007-07-302009-02-05Ocz Technology Group, Inc.Method for optimizing memory modules for user-specific environments
CN101697133A (en)*2009-10-262010-04-21中兴通讯股份有限公司Software upgrading method, software upgrading system and client
CN102546675A (en)*2010-12-082012-07-04鸿富锦精密工业(深圳)有限公司Software upgrading system and method
CN103095838A (en)*2013-01-162013-05-08福州博远无线网络科技有限公司Method for upgrading Android smartphone software through downloading incremental upgrade package

Cited By (32)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2016000102A1 (en)*2014-06-122016-01-07华为技术有限公司Application transferring method, terminal and application server
CN105205074B (en)*2014-06-252019-03-26优视科技有限公司File increment upgrade method and system
US9917697B2 (en)2014-06-252018-03-13Uc Mobile Co., Ltd.Performing incremental upgrade on APK base file corresponding to APK eigenvalue value
CN105205074A (en)*2014-06-252015-12-30优视科技有限公司File increment upgrading method and system
WO2015196623A1 (en)*2014-06-252015-12-30优视科技有限公司Incremental upgrade method and system for file
CN104216749A (en)*2014-09-102014-12-17广州金山网络科技有限公司Updating method and updating device for applications
CN105468396A (en)*2014-09-112016-04-06深圳Tcl数字技术有限公司Differential packet generation method, upgrading method, generation device and Linux terminal
CN105760183A (en)*2014-12-152016-07-13北京奇虎科技有限公司 File processing method, device and communication system
CN104615461A (en)*2015-01-242015-05-13刘勇Mobile terminal and method for updating application program of mobile terminal
CN104615461B (en)*2015-01-242017-12-12上海彩亿信息技术有限公司A kind of method of mobile terminal and its application program update
CN104615470A (en)*2015-03-042015-05-13成都维远艾珏信息技术有限公司Program updating method for embedded devices
WO2016192197A1 (en)*2015-06-022016-12-08中兴通讯股份有限公司Software upgrade method, apparatus and system of terminal, and computer storage medium
CN105094926A (en)*2015-08-282015-11-25张为坚Software updating method and system
CN106648721A (en)*2015-11-042017-05-10西安中兴新软件有限责任公司Method and device for upgrading software
CN106897052A (en)*2015-12-242017-06-27北京奇虎科技有限公司APK file compression method and device
CN105930197A (en)*2016-06-282016-09-07乐视控股(北京)有限公司Software upgrading method and electronic equipment
CN106257423A (en)*2016-08-042016-12-28微鲸科技有限公司Method for upgrading software and user terminal
CN107341035A (en)*2017-07-122017-11-10合肥思博特软件开发有限公司A kind of Android mobile phone software update system and its method
CN110096302A (en)*2018-01-312019-08-06阿里巴巴集团控股有限公司Software data storage, upgrade method, device, equipment and storage medium
CN110096302B (en)*2018-01-312024-03-01斑马智行网络(香港)有限公司Software data storage and upgrading method, device, equipment and storage medium
CN112567339A (en)*2018-06-202021-03-26罗伯特·博世有限公司Method for updating software on a target device
CN109032650A (en)*2018-08-022018-12-18郑州云海信息技术有限公司A kind of method for upgrading software, device and computer readable storage medium
CN109656588A (en)*2018-11-142019-04-19中国电力科学研究院有限公司A kind of method and system remotely fast implementing power information acquisition terminal software upgrading
CN111158716A (en)*2019-12-202020-05-15中国平安财产保险股份有限公司Version upgrade calling method and device, computer system and readable storage medium
CN111611003A (en)*2020-05-262020-09-01网神信息技术(北京)股份有限公司 Offline upgrade method, apparatus, electronic device and computer-readable storage medium
CN111610988A (en)*2020-05-262020-09-01网神信息技术(北京)股份有限公司 Processing method and device for software management
WO2021238053A1 (en)*2020-05-292021-12-02歌尔股份有限公司Earphone and program upgrading method therefor, and control device, and readable storage medium
CN112463177A (en)*2020-12-112021-03-09百富计算机技术(深圳)有限公司Method for generating software update package
WO2022121505A1 (en)*2020-12-112022-06-16百富计算机技术(深圳)有限公司Method for generating software update package
CN114090048A (en)*2021-11-272022-02-25深圳市元征科技股份有限公司Software upgrading method and device
CN117492803A (en)*2023-12-282024-02-02深圳市一诺智控科技有限公司Intelligent door lock PCBA software upgrading method and system
CN117492803B (en)*2023-12-282024-03-26深圳市一诺智控科技有限公司Intelligent door lock PCBA software upgrading method and system

Similar Documents

PublicationPublication DateTitle
CN103699408A (en)Software updating method and equipment
CN102790961B (en)Update method of application program, mobile terminal and server
US20090063179A1 (en)System and method for customizing user interfaces of electronic devices
CN102932777A (en)Method for updating terminal application and user terminal
CN104066077A (en)OTA downloading and upgrading method and device thereof
CN104834541B (en)Function module hanging method, carry system and the method for updating carry system
CN104035800A (en)Incremental packet generation method and device, version upgrade method and device, and version upgrade system
CN104834555A (en)Method for invoking functional module, related device and device repairing method
CN104239098A (en)Automatic software upgrading method and device and mobile terminal
CN102833350A (en)Processing method and processing device of WebApp updating
CN103995721A (en)Application program upgrading method, device and system
CN103036706A (en)Local processing method of application upgrading abnormity
CN102215480A (en)Differential on-air software upgrading method based on cloud computing
CN104216719A (en)Method and device for updating android system
CN102842264A (en)Incremental updating method and incremental updating system based on basic map data
CN105224421A (en)Data backup method and device and electronic equipment
CN104102501A (en)Mobile terminal and upgrading method thereof
CN103973745A (en)Mobile terminal operating system updating method and device
CN105100144A (en)Application updating method and device
CN105245567A (en)Method for processing update request and server system
CN113302585A (en)Accelerating applications and sub-packet installation
CN109032617B (en)Control method and control device for automatically deleting installation package
CN103761126A (en)Method and device for upgrading application program
CN104182532A (en)Terminal file cleaning method and device and terminal
CN106020917B (en)A kind of software installation method and device, user terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20140402

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp