CN104965721B - The method and device that a kind of pair of application program is updated - Google Patents

The method and device that a kind of pair of application program is updated Download PDF

Info

Publication number
CN104965721B
CN104965721B CN201410326464.1A CN201410326464A CN104965721B CN 104965721 B CN104965721 B CN 104965721B CN 201410326464 A CN201410326464 A CN 201410326464A CN 104965721 B CN104965721 B CN 104965721B
Authority
CN
China
Prior art keywords
application program
version
mark
functional module
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410326464.1A
Other languages
Chinese (zh)
Other versions
CN104965721A (en
Inventor
苏可
关磊
何飞
郭辛华
饶孟良
罗坤
方敏
李英各
王璟瑶
李龙彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410326464.1A priority Critical patent/CN104965721B/en
Publication of CN104965721A publication Critical patent/CN104965721A/en
Application granted granted Critical
Publication of CN104965721B publication Critical patent/CN104965721B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the method and devices that a kind of pair of application program is updated, and belong to field of Internet communication.The described method includes: the mark update file corresponding with the functional module to change for the functional module that the new version for obtaining application program changes relative to legacy version;The mark of the application program, the mark of the functional module to change and the corresponding update file of functional module to change are sent to terminal, the terminal is made to update the functional module to change in the application program according to the update file.Described device includes: the first acquisition module and the first sending module.The present invention only obtains the update file of the functional module to change in more new application, can so save a large amount of flow.

Description

The method and device that a kind of pair of application program is updated
Technical field
The present invention relates to the method and devices that field of Internet communication, in particular to a kind of pair of application program are updated.
Background technique
Currently, in order to keep the function of application program more perfect, technical staff often improves application program, constantly Release the new version of application program.When new version occurs in application program, terminal needs the application program to the legacy version of installation It is updated, so that the function of the application program of installation is more perfect.
Currently, the prior art provides the method that a kind of pair of application program is updated, comprising: terminal receives server hair After the update message for certain application program sent, the installation kit of the new version of the application program is downloaded from server, deletes the application Then the legacy version of program installs the new version of the application program according to the installation kit of the new version of the application program, to realize Update the application program.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
The capacity of application program is generally large, if the new version of application program only changes fraction content, is updating When the application program, the complete installation kit of new version is still downloaded, will lead to a large amount of flow of waste.
Summary of the invention
In order to save flow, the present invention provides the method and devices that a kind of pair of application program is updated.The technology Scheme is as follows:
The method that a kind of pair of application program is updated, which comprises
It obtains the mark for the functional module that the new version of application program changes relative to legacy version and described changes The corresponding update file of the functional module of change;
Send the mark of the application program, the mark of the functional module to change and the function to change The corresponding update file of energy module updates the terminal in the application program according to the update file and changes to terminal The functional module of change.
The method that a kind of pair of application program is updated, which comprises
It receives the mark of application program that server sends, the mark of the functional module to change and described changes The corresponding update file of functional module;
According to the mark of the application program, the mark of the functional module to change and the function to change The corresponding update file of energy module updates the functional module to change in the application program.
The device that a kind of pair of application program is updated, described device include:
First obtains module, the functional module to change relative to legacy version for obtaining the new version of application program Identify update file corresponding with the functional module to change;
First sending module, for sending the mark of the application program, the mark of the functional module to change Update file corresponding with the functional module to change makes the terminal update institute according to the update file to terminal State the functional module to change in application program.
The device that a kind of pair of application program is updated, described device include:
First receiving module, the mark of the application program for receiving server transmission, the functional module to change Identify update file corresponding with the functional module to change;
Update module, for according to the mark of the application program, the mark of the functional module to change and institute The corresponding update file of the functional module to change is stated, the function mould to change in the application program is updated Block.
In embodiments of the present invention, the functional module that the new version of application program changes relative to legacy version is obtained The corresponding update file of the functional module for identifying and changing;The mark of sending application program, the functional module to change Mark update file corresponding with the functional module to change to terminal, make terminal according to updating file more new application In the functional module that changes.Since server is only by the mark of the functional module to change and the function mould to change The corresponding update file of block is sent to terminal, and then terminal is according to the corresponding update file of the functional module to change to generation The functional module of change is updated.So when being updated to application program, server is not needed the complete of application program Installation kit is sent to terminal, saves a large amount of flow.
Detailed description of the invention
Fig. 1 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 1 provides is updated;
Fig. 2 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 2 provides is updated;
Fig. 3 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 3 provides is updated;
Fig. 4 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 4 provides is updated;
Fig. 5 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 5 provides is updated;
Fig. 6 is the method flow diagram that a kind of pair of application program that the embodiment of the present invention 6 provides is updated;
Fig. 7 is the apparatus structure schematic diagram that a kind of pair of application program that the embodiment of the present invention 7 provides is updated;
Fig. 8 is the apparatus structure schematic diagram that a kind of pair of application program that the embodiment of the present invention 8 provides is updated;
Fig. 9 is a kind of structural schematic diagram for server that the embodiment of the present invention 9 provides;
Figure 10 is a kind of structural schematic diagram for terminal that the embodiment of the present invention 10 provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 1, the embodiment of the invention provides the methods that a kind of pair of application program is updated, comprising:
Step 101: obtaining the mark and hair of the functional module that the new version of application program changes relative to legacy version The raw corresponding update file of functional module changed;
Step 102: the mark of sending application program, the mark of the functional module to change and the function mould to change The corresponding update file of block makes terminal according to the functional module to change in the update file more new application to terminal.
Preferably, the mark and generation of the functional module that the new version of application program changes relative to legacy version are obtained The corresponding update file of the functional module of change, comprising:
According to the corresponding relationship of the mark of application program, version number and installation kit, the peace of the new version of application program is obtained The installation kit of dress packet and legacy version;
According to the installation kit of the installation kit of the new version of the application program and legacy version, the new version of the application program is obtained Mark update file corresponding with the functional module to change relative to the functional module that legacy version changes.
Preferably, according to the corresponding relationship of the mark of application program, version number and installation kit, the new edition of application program is obtained The installation kit of installation kit originally and legacy version, comprising:
The update request message that terminal is sent is received, mark and the application program that request message carries application program are updated Legacy version version number;
According to the mark of the application program, obtained from the corresponding relationship of the mark of application program, version number and installation kit The installation kit of the new version of the application program;
Mark, version according to the version number of the legacy version of the mark of the application program and the application program, from application program The installation kit of the legacy version of the application program is obtained in the corresponding relationship of this number and installation kit.
Preferably, according to the corresponding relationship of the mark of application program, version number and installation kit, the new edition of application program is obtained The installation kit of installation kit originally and legacy version, comprising:
Receive the installation kit of the new version of the application program;
According to the version number of the new version of the application program, the version number of the legacy version of the application program is determined;
Mark, version according to the version number of the legacy version of the mark of the application program and the application program, from application program The installation kit of the legacy version of the application program is obtained in the corresponding relationship of this number and installation kit.
Preferably, according to the installation kit of the installation kit of the new version of application program and legacy version, the application program is obtained The mark for the functional module that new version changes relative to legacy version update file corresponding with the functional module to change, Include:
From the installation kit of the new version of the application program, the functional module being not present in the installation kit of legacy version is obtained Mark, the mark that will acquire are determined as the mark of the functional module to change;
From in the installation kit of the installation kit of the new version of the application program and legacy version, obtains and identify identical two functions Module, if the content of identical two functional modules of mark is different, by any functional module in two functional modules Mark is determined as the mark of the functional module to change;
According to the mark of the functional module to change, obtains and change from the installation kit of the new version of the application program The update file of the functional module of change.
Preferably, the mark and generation of the functional module that the new version of application program changes relative to legacy version are obtained The corresponding update file of the functional module of change, comprising:
According to the mark of the mark of the application program, the version number of new version, the version number of legacy version and functional module Corresponding relationship obtains the mark for the functional module that the new version of the application program changes relative to legacy version;
According to the mark of the functional module to change, obtains and change from the installation kit of the new version of the application program The update file of the functional module of change.
Preferably, according to the mark of application program, the mark of the version number of new version, the version number of legacy version and functional module The corresponding relationship of knowledge obtains the mark for the functional module that the new version of application program changes relative to legacy version, comprising:
The update request message that terminal is sent is received, mark and the application program that request message carries application program are updated Legacy version version number;
According to the mark of the application program, from the mark of application program, the version number of new version, legacy version version number and The version number of the new version of the application program is obtained in the corresponding relationship of the mark of functional module;
According to the legacy version of the mark of the application program, the version number of the new version of the application program and the application program Version number closes from the corresponding of mark of the mark of application program, the version number of new version, the version number of legacy version and functional module The mark for the functional module that the new version of the application program changes relative to legacy version is obtained in system.
Preferably, according to the mark of application program, the mark of the version number of new version, the version number of legacy version and functional module The corresponding relationship of knowledge obtains the mark for the functional module that the new version of application program changes relative to legacy version, comprising:
Receive the installation kit of the new version of the application program;
According to the version number of the new version of the application program, the version number of the legacy version of the application program is determined;
According to the mark of the application program, the version number of the version number of the new version of the application program and legacy version, from answering It should with being obtained in the corresponding relationship of the mark of the mark of program, the version number of new version, the version number of legacy version and functional module The mark for the functional module that the new version of application program changes relative to legacy version.
Further, this method further include:
The mark for the functional module deleted from the new version for obtaining the application program in the legacy version of the application program;
The mark and deletion for sending the functional module deleted in new version are indicated to terminal, make terminal according to the function of deletion The mark of module and the file for deleting the functional module deleted in instruction deletion new version.
Preferably, the mark, the mark of the functional module to change and the function of changing of the application program are sent The corresponding update file of module is to terminal, comprising:
According to the version number of the new version of the application program, obtain from terminal iidentification and the corresponding relationship of version number than being somebody's turn to do The low corresponding terminal iidentification of each version number of the version number of new version;
Online terminal is determined from the corresponding terminal of terminal iidentification of acquisition;
The mark, the mark of the functional module to change and the functional module to change for sending the application program correspond to Update file give online terminal.
In embodiments of the present invention, the functional module that the new version of application program changes relative to legacy version is obtained The corresponding update file of the functional module for identifying and changing;The mark of sending application program, the functional module to change Mark update file corresponding with the functional module to change to terminal, make terminal according to updating file more new application In the functional module that changes.Since server is only by the mark of the functional module to change and the function mould to change The corresponding update file of block is sent to terminal, and then terminal is according to the corresponding update file of the functional module to change to generation The functional module of change is updated.So when being updated to application program, server is not needed the complete of application program Installation kit is sent to terminal, saves a large amount of flow.
Embodiment 2
The embodiment of the invention provides the methods that a kind of pair of application program is updated.
Technical staff, according to the function of application program, the installation kit of application program is split as in development and application program The corresponding file of each functional module.After terminal installs the application program according to the installation kit of application program, when technical staff more When some functional module of new application, the method that can be provided through the embodiment of the present invention to carry out more application program Newly.
Referring to fig. 2, this method specifically includes:
Step 201: whether the version that server inquires the application program of terminal installation is latest edition, if so, terminating Operation, if not, executing step 202;
Wherein, when application program update, the installation kit of the new version of application program is published to server by technical staff On, server obtains the mark of the application program and the version number of new version from the installation kit of the new version of application program, so The installation kit of the mark of the application program, the version number of new version and new version is stored in mark, the version of application program afterwards Number and installation kit corresponding relationship in.
For example, technical staff issues the installation kit Setup3 of the new version of application program C when application program C updates Onto server, server obtains the mark A1 of application program C and new from the installation kit Setup3 of the new version of application program C The version number 003 of version, then by mark A1, the version number 003 of new version and the installation kit of new version of application program C Setup3 is stored in the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit.
Table 1
The mark of application program Version number Installation kit
A1 003 Setup3
A1 002 Setup2
A1 001 Setup1
…… …… ……
When terminal login service device, the application of terminal installation can be inquired by following first and second two ways Whether the version of program is latest edition, specifically:
First, judge whether the version of the application program of installation is latest edition by terminal, it specifically can be by as follows The operation of step (A-1) and (A-2) is realized, comprising:
(A-1): server sends update notification to terminal, which carries the mark and new version of application program Version number;
For example, server sends update notification to terminal, which carries the mark A1 and new version of application program C Version number 003.
(A-2): terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Whether the version that the application program of itself installation is judged with the version number of new version is latest edition, if so, end operation, such as Fruit is no, executes step 202;
Specifically, terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know the version number for obtaining the application program of itself installation, the new version that the version number and the update notification for comparing acquisition carry Version number judges that terminal has been mounted with the latest edition of the application program, end operation if the two is identical.If two Person is not identical, then judges that terminal is fitted without the latest edition of the application program, execute step 202.
For example, terminal receives the update notification that server is sent, according to the mark for the application program C that the update notification carries A1 obtains the version number 001 of the application program C of itself installation, compare the version number 001 of acquisition and the update notification carry it is new The version number 003 of version, and both compare not identical, then judge that the version of the application program C of terminal installation is not newest Version executes step 202.
Second, judge whether the version of the application program of terminal installation is latest edition, can specifically be led to by server Following steps (B-1)-(B-3) operation is crossed to realize, comprising:
(B-1): server sends update notification to terminal, which carries the mark of application program;
For example, server sends update notification to terminal, which carries the mark A1 of application program C.
(B-2): terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know, obtain the version number of the application program of itself installation, sends response message to server, which carries the application The mark of program and the version number of acquisition;
For example, terminal receives the update notification that server is sent, according to the mark for the application program C that the update notification carries A1 obtains the version number 001 of the application program C of itself installation, sends response message to server, which carries application The version number 001 of the mark A1 and acquisition of program C.
(B-3): the response message that server receiving terminal is sent, according to the mark for the application program that the response message carries And version number, judge whether the version of the application program of terminal installation is latest edition.
Specifically, the response message that server receiving terminal is sent, according to the mark for the application program that the response message carries Know, the version number of the new version of the application program obtained from the corresponding relationship of the mark of application program, version number and installation kit, The version number that the version number and the response message for comparing the new version of the application program carry judges if the two is identical The version of the application program of terminal installation is latest edition, end operation.If the two is not identical, terminal installation is judged The version of application program is not latest edition, thens follow the steps 202.
For example, the response message that server receiving terminal is sent, according to the mark for the application program C that the response message carries A1 obtains the new edition of application program C from the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit This version number 003, the version number 001 that the version number 003 and the response message for comparing the new version of application program C carry, and It both compares not identical, then judges that the version of the application program C of terminal installation is not latest edition, then follow the steps 202.
It further, can also when whether the version for judging the application program of terminal installation by server is latest edition Not execute step (B-1), but when terminal login service device, terminal is actively by the mark of application program and itself installation The version number of the application program is sent to server.
Step 202: terminal, which is sent, updates request message to server, which carries the mark of application program With the version number of the legacy version of the application program;
Specifically, terminal obtains the mark of the application program from the installation kit of the legacy version for the application program that itself is installed With the version number of legacy version, sends and update request message to server, which carries the mark of the application program With the version number of legacy version.
For example, terminal obtains application program C's from the installation kit Setup1 of the legacy version for the application program C that itself is installed The version number 001 of A1 and legacy version are identified, sends and updates request message to server, which carries application program The version number 001 of the mark A1 and legacy version of C.
Step 203: the update request message that server receiving terminal is sent, the application program carried according to update request Mark, obtain the installation kit of the new version of the application program;
Specifically, the update request message that server receiving terminal is sent, the application program carried according to update request Mark, the peace of the new version of the application program is obtained from the corresponding relationship of the mark of application program, version number and installation kit Dress packet.
For example, the update request message that server receiving terminal is sent, according to the application program C's of update request carrying A1 is identified, obtains application program C's from the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit The installation kit Setup3 of new version.
Step 204: the mark and the application for updating the application program that request message carries that server is sent according to terminal The version number of the legacy version of program obtains the installation kit of the legacy version of the application program;
Specifically, server is sent according to terminal the mark for updating the application program that request message carries and this using journey The version number of the legacy version of sequence obtains the application program from the corresponding relationship of the mark of application program, version number and installation kit Legacy version installation kit.
For example, the mark A1 for updating the application program C that request message carries that server is sent according to terminal and using journey The version number 001 of the legacy version of sequence C, from the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit Obtain the installation kit Setup1 of the legacy version of application program C.
Wherein, server through the above steps 203 and step 204 obtain respectively the application program new version installation kit After the installation kit of legacy version, 205 operation is old relative to this to obtain the new version of the application program as follows The update file of the mark for the functional module that version changes and the functional module to change.
Step 205: server obtains the application according to the installation kit of the new version of application program and the installation kit of legacy version The mark for the functional module that the new version of program changes relative to the legacy version is corresponding with the functional module to change Update file;
Wherein, the functional module to change includes the functional module newly increased in new version and new version relative to old edition Originally the functional module to improve.The mark of functional module can be the title of functional module or be in advance what functional module was distributed Serial number etc..
This step is specifically, server from the installation kit of the new version of the application program, obtains the installation of the legacy version The mark for the functional module being not present in packet, i.e., the mark of the functional module newly increased in acquisition new version, the mark that will acquire It is determined as the mark of functional module to change.Server is from the installation kit of the new version of the application program and the legacy version It in installation kit, obtains and identifies identical two functional modules, compare the content for identifying identical two functional modules, if mark The content of identical two functional modules is different, then shows that the functional module in the corresponding new version of the mark is that new version is opposite In the functional module that legacy version improves, the mark of any functional module in two functional modules is determined as changing Functional module mark.According to the mark of the functional module to change, from the installation kit of the new version of the application program Obtain the update file of the functional module to change.
For example, it is assumed that the functional module for including in the installation kit Setup3 of the new version of application program C be functional module M1, M2, M3, M4 and M5, the functional module for including in the installation kit Setup1 for the legacy version that the version number of application program C is 001 is function It can module M1, M2 and M3.Server obtains the installation of the legacy version from the installation kit Setup3 of the new version of application program C The mark M4 and M5 for the functional module being not present in packet Setup1, i.e., the mark of the functional module newly increased in acquisition new version, The mark M4 and M5 that will acquire is determined as the mark of the functional module to change.Server is from the new version of application program C In the installation kit Setup1 of installation kit Setup3 and the legacy version, obtains and identify identical two functional modules, i.e., in new version Functional module M1 and legacy version in functional module M1, the functional module M2 in functional module M2 and legacy version in new version And the functional module M3 in the new version and functional module M3 in legacy version, than the functional module M1 and old edition in more recent version The content of functional module M1 in this, and compare the interior of the functional module M1 in the new version and functional module M1 in legacy version Hold difference, then shows that identifying the functional module M1 in the corresponding new version of M1 is the function that new version improves relative to legacy version Mark M1 is determined as the mark of the functional module to change by energy module.Also according to the above method than in more recent version The content of functional module M2 in functional module M2 and legacy version, and than in the functional module M3 and legacy version in more recent version Functional module M3 content, and compare the content of the functional module M2 in new version and the functional module M2 in legacy version, And the content of the functional module M3 in the new version and functional module M3 in legacy version is all the same, then functional module M2 and M3 do not have It changes.According to mark M1, M4 and M5 of the functional module to change, from the installation kit of the new version of application program C The update file F4 and functional module for updating file F1, functional module M4 of the functional module M1 to change is obtained in Setup3 The update file F5 of M5.
Further, server also judge in the installation kit of the legacy version of the application program whether include new version peace The functional module being not present in dress packet, if it is present determine that the functional module is the functional module deleted in new version, from The mark of the functional module is determined as the function deleted in new version by the mark that the functional module is obtained in the installation kit of legacy version The mark of energy module.
Step 206: server, which is sent, updates response message to terminal, which carries the mark of application program The update file of the mark of the functional module know, to change and the functional module to change;
For example, server, which is sent, updates response message to terminal, which carries the mark of application program C A1, the functional module to change mark M1 and the functional module M1 to change update file F1, the function that changes The update file F4 of the mark M4 and the functional module M4 to change of energy module and the mark of the functional module to change The update file F5 of M5 and the functional module M5 to change.
Further, server can also send the mark of the application program, the function of changing by the following method The mark of module update file corresponding with the functional module to change to terminal, specifically:
Server is corresponding with version number from stored terminal iidentification according to the version number of the new version of the application program The each version number corresponding terminal iidentification lower than the version number of new version is obtained in relationship, it is corresponding from the terminal iidentification of acquisition Current online terminal is determined in terminal, according to the terminal iidentification of online terminal, is sent the mark of the application program, is occurred The mark of the functional module of change update file corresponding with the functional module to change gives online terminal.
Further, if deleting certain functional modules in the new version of the application program, server is also updating The mark for the functional module deleted in new version is carried in response message and deletes instruction.
Step 207: terminal receives the update response message that server is sent, the application carried according to the update response message The update file of the mark of program, the mark of the functional module to change and the functional module to change, updates the application The functional module to change in program.
Specifically, terminal receives the update response message that server is sent, the application carried according to the update response message The mark of program obtains the installation kit of the application program of itself installation.It changes from what the update response message carried In the mark of functional module, the function that obtains out the mark of functional module present in the installation kit of the application program and be not present The mark of module.The update file of the corresponding functional module of mark for the functional module that will be not present is added to the application program In installation kit.According to the mark of existing functional module, corresponding file is obtained from the installation kit of application program, will acquire File replaces with the corresponding update file of mark of existing functional module.
Wherein, legacy version that the new version for being identified as the application program of existing functional module is installed relative to terminal The mark of the functional module to improve, what being identified as of the functional module being not present newly increased in the new version of the application program The mark of functional module.
For example, it is assumed that the functional module for including in the installation kit Setup1 of the legacy version of the application program C of terminal installation is Functional module M1, M2 and M3.Terminal receives the update response message that server is sent, and is answered according to what the update response message carried With the mark A1 of program C, the installation kit Setup1 of the application program C of itself installation is obtained.It is carried from the update response message In mark M1, M4 and M5 of the functional module to change, function present in the installation kit Setup1 of application program C is obtained out It can the mark M1 of module and the mark M4 and M5 of the functional module being not present.The mark M4 and M5 for the functional module that will be not present points Update the file F4 and F5 of not corresponding functional module are added in the installation kit Setup1 of application program C.According to existing function The mark M1 of energy module, obtains corresponding file from the installation kit Setup1 of application program C, the file that will acquire, which replaces with, to be deposited Functional module the corresponding update file F1 of mark M1.Wherein, the edition upgrading for the application program C that terminal is installed after update For latest edition.
Further, if terminal is received to update the mark for also carrying the functional module deleted in new version in response message Know and delete instruction, then terminal obtains the deletion from the installation kit of application program according to the mark of the functional module of deletion The corresponding file of functional module indicates according to deleting, deletes the file of acquisition.
Wherein, technical staff, according to the function of application program, the installation kit of application program is torn open in development and application program It is divided into the corresponding file of each functional module.For example, it is assumed that the function of application program includes basic function and communication function, then will The installation kit of application program is split as the corresponding file of fundamental functional modules and the corresponding file of communication function module.Terminal according to The installation kit of application program installs the application program, when running the application program, can first load fundamental functional modules, when with Communication function module is reloaded when family request is using communication function.
In more new application, do not loaded in case of the corresponding functional module of mark of the functional module changed, then Directly according to the update file of the mark of the functional module to change and the functional module to change, according to above-mentioned steps 207 operation updates the functional module to change.In case of the corresponding functional module of mark of the functional module of change It has been loaded that, then need first to close the corresponding loader of the functional module, then update the generation according to the operation of above-mentioned steps 207 The functional module of change, then open loader and reload the functional module.
Further, after more new application, the functional module that is updated can immediately according to updating running paper, Further according to update running paper when can also restart the application program next time.
In embodiments of the present invention, when terminal sends and updates request message to server, server obtains application program The mark update text corresponding with the functional module to change of functional module that changes relative to legacy version of new version Part;The mark of server sending application program, the mark of the functional module to change and the functional module to change correspond to Update file to terminal, make terminal according to updating the functional module to change in file more new application.Due to service The mark of the functional module to change update file corresponding with the functional module to change is only sent to terminal by device, so Terminal is updated the functional module to change according to the corresponding update file of the functional module to change afterwards.So exist Server does not need the complete installation kit of application program being sent to terminal when being updated to application program, saves a large amount of Flow.
Embodiment 3
The embodiment of the invention provides the methods that a kind of pair of application program is updated.
Technical staff, according to the function of application program, the installation kit of application program is split as in development and application program The corresponding file of each functional module.After terminal installs the application program according to the installation kit of application program, when technical staff more When some functional module of new application, method that server can provide through the embodiment of the present invention is by the function mould of update The update file push of block is updated application program according to the update file of the functional module of update to terminal, terminal.
Referring to Fig. 3, this method is specifically included:
Step 301: server receives the installation kit of the new version of application program;
Wherein, when application program update, technical staff uploads onto the server the installation kit of the new version of application program On, the installation kit of the new version for the application program that server reception technique personnel upload, from the installation of the new version of application program The mark of the application program and the version number of new version are obtained in packet, then by the mark of the application program, the version of new version Number and the installation kit of new version be stored in the corresponding relationship of the mark of application program, version number and installation kit.
For example, technical staff uploads the installation kit Setup3 of the new version of application program C when application program C updates Onto server, the installation kit Setup3 of the new version for the application program C that server reception technique personnel upload, from application program The version number 003 that the mark A1 and new version of application program C are obtained in the installation kit Setup3 of the new version of C, then will apply Mark A1, the version number 003 of new version and the installation kit Setup3 of new version of program C is stored in as shown in Table 1 using journey In the corresponding relationship of the mark of sequence, version number and installation kit.
Step 302: server determines the version of the legacy version of the application program according to the version number of the new version of application program This number;
Specifically, server obtains the version number of new version from the installation kit of the new version of application program, then basis The version number of the new version of the application program determines the legacy version that predetermined number version is differed with the new version of the application program Version number.
Wherein, predetermined number can be 1,2 or 3 etc..
For example, it is assumed that predetermined number is 1.Server obtains newly from the installation kit Setup3 of the new version of application program C The version number 003 of version, then according to the version number 003 of the new version of application program C, the determining new version with application program C Differ the version number 002 of the legacy version of 1 version.
Step 303: server is obtained according to the version number of the legacy version of the mark of application program and the application program of determination Take the installation kit of the legacy version of the application program;
Specifically, server is according to the version number of the legacy version of the mark of application program and the application program of determination, from The installation kit of the legacy version of the application program is obtained in the corresponding relationship of the mark of application program, version number and installation kit.
For example, version number of the server according to the legacy version of the mark A1 and the application program C determined of application program C 002, being somebody's turn to do for application program C is obtained from the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit The installation kit Setup2 of legacy version.
Wherein, server through the above steps 301-303 operation obtain the application program new version installation kit and After the installation kit of legacy version, 304 operation is as follows to obtain the new version of the application program relative to the old edition Originally the update file of the mark of the functional module to change and the functional module to change.
Step 304: server obtains the application according to the installation kit of the new version of application program and the installation kit of legacy version The mark for the functional module that the new version of program changes relative to the legacy version is corresponding with the functional module to change Update file;
Wherein, the functional module to change includes the functional module newly increased in new version and new version relative to old edition Originally the functional module to improve.
This step is specifically, server from the installation kit of the new version of the application program, obtains the installation of the legacy version The mark for the functional module being not present in packet, i.e., the mark of the functional module newly increased in acquisition new version, the mark that will acquire It is determined as the mark of functional module to change.Server is from the installation kit of the new version of the application program and the legacy version It in installation kit, obtains and identifies identical two functional modules, compare the content for identifying identical two functional modules, if mark The content of identical two functional modules is different, then shows that the functional module in the corresponding new version of the mark is that new version is opposite In the functional module that legacy version improves, the mark of any functional module in two functional modules is determined as changing Functional module mark.According to the mark of the functional module to change, from the installation kit of the new version of the application program Obtain the update file of the functional module to change.
For example, it is assumed that the functional module for including in the installation kit Setup3 of the new version of application program C be functional module M1, M2, M3, M4 and M5, the functional module for including in the installation kit Setup2 for the legacy version that the version number of application program C is 002 is function It can module M1, M2, M3 and M4.Server obtains the peace of the legacy version from the installation kit Setup3 of the new version of application program C The mark M5 for the functional module being not present in dress packet Setup2, i.e., the mark of the functional module newly increased in acquisition new version, will The mark M5 of acquisition is determined as the mark of the functional module to change.Installation kit of the server from the new version of application program C In the installation kit Setup2 of Setup3 and the legacy version, obtains and identify identical two functional modules, i.e. function in new version The functional module M2 in the functional module M2 and legacy version in functional module M1, new version in module M1 and legacy version, new edition The functional module M3 in functional module M3 and legacy version in this and the function in functional module M4 and legacy version in new version Energy module M4, than the content of the functional module M1 in more recent version and the functional module M1 in legacy version, and compares new version In the functional module M1 and functional module M1 in legacy version content it is different, then show to identify the function in the corresponding new version of M1 Energy module M1 is the functional module that new version improves relative to legacy version, and mark M1 is determined as the function mould to change The mark of block.Also according to the above method than in the functional module M2 in more recent version and the functional module M2 in legacy version Hold, than the content of the functional module M3 in more recent version and the functional module M3 in legacy version, and than the function in more recent version The content of energy module M4 and the functional module M4 in legacy version, and compare in functional module M2 and legacy version in new version In the content and new version of the functional module M3 in functional module M3 and legacy version in the content of functional module M2, new version Functional module M4 and legacy version in functional module M4 content it is all the same, then there is no changing by functional module M2, M3 and M4 Become.According to the mark M1 and M5 of the functional module to change, obtained from the installation kit Setup3 of the new version of application program C The update file F5 of the update file F1 and functional module M5 of the functional module M1 to change.
Further, server also judge in the installation kit of the legacy version of the application program whether include new version peace The functional module that is not present in dress packet, if it is, determine that the functional module is the functional module deleted in new version, from old The mark of the functional module is determined as the function of deleting in new version by the mark that the functional module is obtained in the installation kit of version The mark of module.
Step 305: server sends update notification to terminal, which carries the mark of application program, changes The update file of the mark of the functional module of change and the functional module to change;
For example, server sends update notification to terminal, which carries the mark A1 of application program C, changes The update file F1 of the mark M1 of the functional module of the change and functional module M1 to change and the functional module to change Mark M5 and the update file F5 of functional module M5 that changes.
Further, server can also send the mark of the application program, the function of changing by the following method The mark of module update file corresponding with the functional module to change to terminal, specifically:
Server is corresponding with version number from stored terminal iidentification according to the version number of the new version of the application program The each version number corresponding terminal iidentification lower than the version number of the new version is obtained in relationship, it is corresponding from the terminal iidentification of acquisition Terminal in determine current online terminal, according to the terminal iidentification of online terminal, send mark, the hair of the application program The mark update file corresponding with the functional module to change of the raw functional module changed gives online terminal.
Further, if deleting certain functional modules in the new version of the application program, server is also updating The mark for the functional module deleted in new version is carried in notice and deletes instruction.
Step 306: terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries The update file of the mark of the functional module know, to change and the functional module to change, updates and sends out in the application program The raw functional module changed.
Specifically, terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know, obtains the installation kit of the application program of itself installation.The mark of the functional module to change carried from the update notification In knowledge, the mark of functional module that obtains out the mark of functional module present in the installation kit of the application program and be not present. The update file of the corresponding functional module of mark for the functional module that will be not present is added in the installation kit of the application program.Root According to the mark of existing functional module, corresponding file is obtained from the installation kit of application program, the file that will acquire replaces with The corresponding update file of the mark of existing functional module.
Wherein, the function that the new version for being identified as the application program of existing functional module improves relative to legacy version The mark of energy module, the mark for being identified as the functional module newly increased in the new version of the application program for the functional module being not present Know.
For example, it is assumed that the functional module for including in the installation kit Setup2 of the legacy version of the application program C of terminal installation is Functional module M1, M2, M3 and M4.Terminal receives the update response message that server is sent, and is carried according to the update response message Application program C mark A1, obtain itself installation application program C installation kit Setup2.It is taken from the update response message In the mark M1 and M5 of the functional module of band to change, present in the installation kit Setup2 that obtains out application program C The mark M1 of the functional module and mark M5 for the functional module being not present.The corresponding function of mark M5 for the functional module that will be not present The update file F5 of energy module is added in the installation kit Setup2 of application program C.According to the mark M1 of existing functional module, Corresponding file is obtained from the installation kit Setup2 of application program C, the file that will acquire replaces with existing functional module Identify the corresponding update file F1 of M1.Wherein, the edition upgrading for the application program C that terminal is installed after update is latest edition.
Wherein, when there is new version due to each application program, server, which is all determined, differs predetermined number with new version Then the legacy version of version pushes the mark for the functional module that the new version of the application program changes relative to the legacy version Update file with the functional module to change is to terminal, so that it is guaranteed that terminal can incite somebody to action oneself when each application program update The edition upgrading of the application program of body installation is to latest edition.
Further, if terminal is received to update the mark for also carrying the functional module deleted in new version in response message Know and delete instruction, then terminal obtains the deletion from the installation kit of application program according to the mark of the functional module of deletion The corresponding file of functional module indicates according to deleting, deletes the file of acquisition.
Wherein, technical staff, according to the function of application program, the installation kit of application program is torn open in development and application program It is divided into the corresponding file of each functional module.For example, it is assumed that the function of application program includes basic function and communication function, then will The installation kit of application program is split as the corresponding file of fundamental functional modules and the corresponding file of communication function module.Terminal according to The installation kit of application program installs the application program, when running the application program, can first load fundamental functional modules, when with Communication function module is reloaded when family request is using communication function.
In more new application, do not loaded in case of the corresponding functional module of mark of the functional module changed, then Directly according to the update file of the mark of the functional module to change and the functional module to change, according to above-mentioned steps 306 operation updates the functional module to change.In case of the corresponding functional module of mark of the functional module of change It has been loaded that, then need first to close the corresponding loader of the functional module, then update the generation according to the operation of above-mentioned steps 306 The functional module of change, then open loader and reload the functional module.
Further, after more new application, the functional module that is updated can immediately according to updating running paper, Further according to update running paper when can also restart the application program next time.
In embodiments of the present invention, in application program update, server obtains the new version of application program relative to old The mark for the functional module that version changes update file corresponding with the functional module to change;Server will apply journey The mark of sequence, the mark of the functional module to change update file push corresponding with the functional module to change are to eventually End makes terminal according to the functional module to change in update file more new application.Since server will only change The mark update file corresponding with the functional module to change of functional module be sent to terminal, then terminal is according to generation The corresponding update file of the functional module of change is updated the functional module to change.So carried out to application program Server does not need the complete installation kit of application program being sent to terminal when update, saves a large amount of flow.
Embodiment 4
The embodiment of the invention provides the methods that a kind of pair of application program is updated.
Technical staff, according to the function of application program, the installation kit of application program is split as in development and application program The corresponding file of each functional module.After terminal installs the application program according to the installation kit of application program, when technical staff more When some functional module of new application, the method that can be provided through the embodiment of the present invention to carry out more application program Newly.
Referring to fig. 4, this method specifically includes:
Step 401: whether the version that server inquires the application program of terminal installation is latest edition, if so, terminating Operation, if not, executing step 402;
Wherein, when application program update, technical staff determines the new version of the application program relative to each respectively The mark for the functional module that legacy version changes, by the mark of the application program, the version number of new version, each legacy version The mark of version number and the corresponding functional module to change of each legacy version is respectively stored in the mark, new of application program In the corresponding relationship of the mark of the version number of version, the version number of legacy version and functional module.Then technical staff is by the application The installation kit and the mark of application program of the new version of program, the version number of new version, the version number of legacy version and function mould On the corresponding relationship of the mark of block is uploaded onto the server.
For example, technical staff determines the new version 003 of application program C relative to old edition when application program C updates This 002 functional module to change is identified as M1 and M5, and the new version 003 of application program C occurs relative to legacy version 001 The functional module of change is identified as M1, M4 and M5.Technical staff by application program C mark A1, new version version number 003, the mark M1 for the functional module that the version number 002 of legacy version and new version 003 change relative to legacy version 002 and Mark A1, the version number 003 of new version, the version number 001 of legacy version and the new version 003 of M5 and application program C relative to Mark M1, M4 and the M5 for the functional module that legacy version 001 changes are stored in the mark, new of application program as shown in Table 2 In the corresponding relationship of the mark of the version number of version, the version number of legacy version and functional module.Then technical staff is by the application Installation kit Setup3 and the mark of application program as shown in Table 2, the version number of new version, the old edition of the new version of program C On the corresponding relationship of the mark of version number originally and functional module is uploaded onto the server.
Table 2
The mark of application program The version number of new version The version number of legacy version The mark of functional module
A1 003 002 M1、M5
A1 003 001 M1、M4、M5
…… …… …… ……
When terminal login service device, the application of terminal installation can be inquired by following first and second two ways Whether the version of program is latest edition, specifically:
First, judge whether the version of the application program of installation is latest edition by terminal, it specifically can be by as follows The operation of step (A-1) and (A-2) is realized, comprising:
(A-1): server sends update notification to terminal, which carries the mark and new version of application program Version number;
For example, server sends update notification to terminal, which carries the mark A1 and new version of application program C Version number 003.
(A-2): terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Whether the version that the application program of itself installation is judged with the version number of new version is latest edition, if so, end operation, such as Fruit is no, executes step 402;
Specifically, terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know the version number for obtaining the application program of itself installation, the new version that the version number and the update notification for comparing acquisition carry Version number judges that terminal has been mounted with the latest edition of the application program, end operation if the two is identical.If two Person is not identical, then judges that terminal is fitted without the latest edition of the application program, execute step 402.
For example, terminal receives the update notification that server is sent, according to the mark for the application program C that the update notification carries A1 obtains the version number 001 of the application program C of itself installation, compare the version number 001 of acquisition and the update notification carry it is new The version number 003 of version, and both compare not identical, then judge that the version of the application program C of terminal installation is not newest Version executes step 402.
Second, judge whether the version of the application program of terminal installation is latest edition, can specifically be led to by server Following steps (B-1)-(B-3) operation is crossed to realize, comprising:
(B-1): server sends update notification to terminal, which carries the mark of application program;
For example, server sends update notification to terminal, which carries the mark A1 of application program C.
(B-2): terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know, obtain the version number of the application program of itself installation, sends response message to server, which carries the application The mark of program and the version number of acquisition;
For example, terminal receives the update notification that server is sent, according to the mark for the application program C that the update notification carries A1 obtains the version number 001 of the application program C of itself installation, sends response message to server, which carries application The version number 001 of the mark A1 and acquisition of program C.
(B-3): the response message that server receiving terminal is sent, according to the mark for the application program that the response message carries And version number, judge whether the version of the application program of terminal installation is latest edition.
Specifically, the response message that server receiving terminal is sent, according to the mark for the application program that the response message carries Know, the version number of the new version of the application program obtained from the corresponding relationship of the mark of application program, version number and installation kit, The version number that the version number and the response message for comparing the new version of the application program carry judges if the two is identical The version of the application program of terminal installation is latest edition, end operation.If the two is not identical, terminal installation is judged The version of application program is not latest edition, thens follow the steps 402.
For example, the response message that server receiving terminal is sent, according to the mark for the application program C that the response message carries A1 obtains the new edition of application program C from the corresponding relationship of the mark of application program as shown in Table 1, version number and installation kit This version number 003, the version number 001 that the version number 003 and the response message for comparing the new version of application program C carry, and It both compares not identical, then judges that the version of the application program C of terminal installation is not latest edition, then follow the steps 402.
It further, can also when whether the version for judging the application program of terminal installation by server is latest edition Not execute step (B-1), but when terminal login service device, terminal is actively by the mark of application program and itself installation The version number of the application program is sent to server.
Step 402: terminal, which is sent, updates request message to server, which carries the mark of application program With the version number of the legacy version of the application program;
Specifically, terminal obtains the mark of the application program from the installation kit of the legacy version for the application program that itself is installed With the version number of legacy version, sends and update request message to server, which carries the mark of the application program With the version number of legacy version.
For example, terminal obtains application program C's from the installation kit Setup1 of the legacy version for the application program C that itself is installed The version number 001 of A1 and legacy version are identified, sends and updates request message to server, which carries application program The version number 001 of the mark A1 and legacy version of C.
Step 403: the update request message that server receiving terminal is sent, the application carried according to the update request message The mark of program obtains the version number of the new version of the application program;
Specifically, the update request message that server receiving terminal is sent, the application carried according to the update request message The mark of program, from pair of the mark of the mark of application program, the version number of new version, the version number of legacy version and functional module It should be related to the version number of the middle new version for obtaining the application program.
For example, the update request message that server receiving terminal is sent, the application journey carried according to the update request message The mark A1 of sequence C, from the mark of application program as shown in Table 2, the version number of new version, the version number of legacy version and function mould The version number 003 of the new version of application program C is obtained in the corresponding relationship of the mark of block.
Step 404: the update request that server is sent according to the version number of the new version of the application program and terminal disappears The mark of the application program carried and the version number of legacy version are ceased, the new version for obtaining the application program is sent out relative to the legacy version The mark of the raw functional module changed;
Specifically, the update request message that server is sent according to the version number of the new version of the application program and terminal The mark of the application program of carrying and the version number of legacy version, from the mark of application program, the version number of new version, legacy version The mark of corresponding functional module is obtained in the corresponding relationship of the mark of version number and functional module, the functional module that will acquire The mark for the functional module that the new version that mark is determined as the application program changes relative to the legacy version.
For example, the update request that server is sent according to the version number 003 of the new version of application program C and terminal disappears Cease the version number 001 of the mark A1 and legacy version of the application program C carried, mark, new edition from application program as shown in Table 2 The mark of corresponding functional module is obtained in the corresponding relationship of the mark of this version number, the version number of legacy version and functional module M1, M4 and M5, mark M1, M4 and the M5 for the functional module that will acquire are determined as the new version 003 of application program C relative to this The mark for the functional module that legacy version 001 changes.
Further, the mark and old edition for updating the application program that request message carries that server is sent also according to terminal This version number, obtains the installation kit of the legacy version.Then judge in the installation kit of the legacy version of the application program whether include The functional module that do not deposited in the installation kit of new version, if it is, determining that the functional module is the function of deleting in new version Module obtains the mark of the functional module from the installation kit of legacy version, and the mark of the functional module is determined as in new version The mark of the functional module of deletion.
Step 405: server is according to the mark of the functional module of acquisition to change, from the new version of application program The update file of the functional module to change is obtained in installation kit;
Specifically, server obtains the installation kit of the new version of the application program according to the mark of the application program.According to The mark of the functional module to change obtained, obtains the function to change from the installation kit of the new version of the application program The corresponding file of mark of energy module, the file that will acquire are determined as the update file of the functional module to change.
For example, server obtains the installation kit of the new version of application program C according to the mark A1 of application program C Setup3.According to mark M1, M4 and M5 of the functional module of acquisition to change, from the peace of the new version of application program C Mark M1, M4 and M5 corresponding file F1, F4 and F5 that the functional module to change is obtained in dress packet Setup3, will obtain File F1, F4 and the F5 taken is identified as the update file of functional module M1, M4 and the M5 to change.
Step 406: server, which is sent, updates response message to terminal, which carries the mark of application program The update file of the mark of the functional module know, to change and the functional module to change;
For example, server, which is sent, updates response message to terminal, which carries the mark of application program C A1, the functional module to change mark M1 and the functional module M1 to change update file F1, the function that changes The update file F4 of the mark M4 and the functional module M4 to change of energy module and the mark of the functional module to change The update file F5 of M5 and the functional module M5 to change.
Further, server can also send the mark of the application program, the function of changing by the following method The mark of module update file corresponding with the functional module to change to terminal, specifically:
Server is corresponding with version number from stored terminal iidentification according to the version number of the new version of the application program The each version number corresponding terminal iidentification lower than the version number of the new version is obtained in relationship, it is corresponding from the terminal iidentification of acquisition Terminal in determine current online terminal, according to the terminal iidentification of online terminal, send mark, the hair of the application program The mark update file corresponding with the functional module to change of the raw functional module changed gives online terminal.
Further, if deleting certain functional modules in the new version of the application program, server is also updating The mark for the functional module deleted in new version is carried in response message and deletes instruction.
Step 407: terminal receives the update response message that server is sent, the application carried according to the update response message The update file of the mark of program, the mark of the functional module to change and the functional module to change, updates the application The functional module to change in program.
Specifically, terminal receives the update response message that server is sent, the application carried according to the update response message The mark of program obtains the installation kit of the application program of itself installation.It changes from what the update response message carried In the mark of functional module, the function that obtains out the mark of functional module present in the installation kit of the application program and be not present The mark of module.The update file of the corresponding functional module of mark for the functional module that will be not present is added to the application program In installation kit.According to the mark of existing functional module, corresponding file is obtained from the installation kit of application program, will acquire File replaces with the corresponding update file of mark of existing functional module.
Wherein, legacy version that the new version for being identified as the application program of existing functional module is installed relative to terminal The mark of the functional module to improve, what being identified as of the functional module being not present newly increased in the new version of the application program The mark of functional module.
For example, it is assumed that the functional module for including in the installation kit Setup1 of the legacy version of the application program C of terminal installation is Functional module M1, M2 and M3.Terminal receives the update response message that server is sent, and is answered according to what the update response message carried With the mark A1 of program C, the installation kit Setup1 of the application program C of itself installation is obtained.It is carried from the update response message In mark M1, M4 and M5 of the functional module to change, function present in the installation kit Setup1 of application program C is obtained out It can the mark M1 of module and the mark M4 and M5 of the functional module being not present.The mark M4 and M5 for the functional module that will be not present points Update the file F4 and F5 of not corresponding functional module are added in the installation kit Setup1 of application program C.According to existing function The mark M1 of energy module, obtains corresponding file from the installation kit Setup1 of application program C, the file that will acquire, which replaces with, to be deposited Functional module the corresponding update file F1 of mark M1.Wherein, the edition upgrading for the application program C that terminal is installed after update For latest edition.
Further, if terminal is received to update the mark for also carrying the functional module deleted in new version in response message Know and delete instruction, then terminal obtains the deletion from the installation kit of application program according to the mark of the functional module of deletion The corresponding file of functional module indicates according to deleting, deletes the file of acquisition.
Wherein, technical staff, according to the function of application program, the installation kit of application program is torn open in development and application program It is divided into the corresponding file of each functional module.For example, it is assumed that the function of application program includes basic function and communication function, then will The installation kit of application program is split as the corresponding file of fundamental functional modules and the corresponding file of communication function module.Terminal according to The installation kit of application program installs the application program, when running the application program, can first load fundamental functional modules, when with Communication function module is reloaded when family request is using communication function.
In more new application, do not loaded in case of the corresponding functional module of mark of the functional module changed, then Directly according to the update file of the mark of the functional module to change and the functional module to change, according to above-mentioned steps 407 operation updates the functional module to change.In case of the corresponding functional module of mark of the functional module of change It has been loaded that, then need first to close the corresponding loader of the functional module, then update the generation according to the operation of above-mentioned steps 407 The functional module of change, then open loader and reload the functional module.
Further, after more new application, the functional module that is updated can immediately according to updating running paper, Further according to update running paper when can also restart the application program next time.
In embodiments of the present invention, server obtains the function that the new version of application program changes relative to legacy version The mark of module update file corresponding with the functional module to change;Server by the mark of application program, change Functional module mark update file push corresponding with the functional module to change to terminal, make terminal according to updating text The functional module to change in part more new application.Since server is only by the mark and hair of the functional module to change The raw corresponding update file of functional module changed is sent to terminal, and then terminal is corresponding according to the functional module to change File is updated to be updated the functional module to change.So when being updated to application program server do not need by The complete installation kit of application program is sent to terminal, saves a large amount of flow.
Embodiment 5
The embodiment of the invention provides the methods that a kind of pair of application program is updated.
Technical staff, according to the function of application program, the installation kit of application program is split as in development and application program The corresponding file of each functional module.After terminal installs the application program according to the installation kit of application program, when technical staff more When some functional module of new application, method that server can provide through the embodiment of the present invention is by the function mould of update The update file push of block is updated application program according to the update file of the functional module of update to terminal, terminal.
Referring to Fig. 5, this method is specifically included:
Step 501: server receives the installation kit of the new version of application program;
Wherein, when application program update, technical staff determines the new version of the application program relative to each respectively The mark for the functional module that legacy version changes, by the mark of the application program, the version number of new version, each legacy version The mark of version number and the corresponding functional module to change of each legacy version is respectively stored in the mark, new of application program In the corresponding relationship of the mark of the version number of version, the version number of legacy version and functional module.Then technical staff is by the application The installation kit and the mark of application program of the new version of program, the version number of new version, the version number of legacy version and function mould On the corresponding relationship of the mark of block is uploaded onto the server.
For example, technical staff determines the new version 003 of application program C relative to old edition when application program C updates This 002 functional module to change is identified as M1 and M5, and the new version 003 of application program C occurs relative to legacy version 001 The functional module of change is identified as M1, M4 and M5.Technical staff by application program C mark A1, new version version number 003, the mark M1 for the functional module that the version number 002 of legacy version and new version 003 change relative to legacy version 002 and Mark A1, the version number 003 of new version, the version number 001 of legacy version and the new version 003 of M5 and application program C relative to Mark M1, M4 and the M5 for the functional module that legacy version 001 changes are stored in the mark, new of application program as shown in Table 2 In the corresponding relationship of the mark of the version number of version, the version number of legacy version and functional module.Then technical staff is by the application Installation kit Setup3 and the mark of application program as shown in Table 2, the version number of new version, the old edition of the new version of program C On the corresponding relationship of the mark of version number originally and functional module is uploaded onto the server.
Step 502: server determines the version of the legacy version of the application program according to the version number of the new version of application program This number;
Specifically, server obtains the version number of new version from the installation kit of the new version of application program, then basis The version number of the new version of the application program determines the legacy version that predetermined number version is differed with the new version of the application program Version number.
Wherein, predetermined number can be 1,2 or 3 etc..
For example, it is assumed that predetermined number is 1.Server obtains newly from the installation kit Setup3 of the new version of application program C The version number 003 of version, then according to the version number 003 of the new version of application program C, the determining new version with application program C Differ the version number 002 of the legacy version of 1 version.
Step 503: server is answered according to this of the mark of application program, the version number of the new version of application program and determination With the version number of the legacy version of program, the functional module that the new version of the application program changes relative to the legacy version is obtained Mark;
Specifically, server is answered according to this of the mark of application program, the version number of the new version of application program and determination With the version number of the legacy version of program, from the mark of application program, the version number of new version, the version number of legacy version and function mould The mark that corresponding functional module is obtained in the corresponding relationship of the mark of block, the mark for the functional module that will acquire are determined as this and answer With the mark for the functional module that the new version of program changes relative to the legacy version.
For example, server is according to the mark A1 of application program C, the version number 003 of the new version of application program C and determination The version number 002 of the legacy version of application program C, from the version number, old of the mark of application program as shown in Table 2, new version The mark M1 and M5 that corresponding functional module is obtained in the corresponding relationship of the mark of the version number and functional module of version, will acquire The mark M1 and M5 of functional module be determined as what the new version 003 of application program C changed relative to the legacy version 002 The mark of functional module.
Further, server also judge in the installation kit of the legacy version of the application program whether include new version peace The functional module being not present in dress packet, if it is, determining that the functional module is the functional module deleted in new version, from this The mark of the functional module is determined as the function deleted in new version by the mark that the functional module is obtained in the installation kit of legacy version The mark of energy module.
Step 504: server is according to the mark of the functional module of acquisition to change, from the new version of application program The update file of the functional module to change is obtained in installation kit;
Specifically, server obtains the installation kit of the new version of the application program according to the mark of the application program.According to The mark of the functional module to change obtained, obtains the function to change from the installation kit of the new version of the application program The corresponding file of mark of energy module, the file that will acquire are determined as the update file of the functional module to change.
For example, server obtains the installation kit of the new version of application program C according to the mark A1 of application program C Setup3.According to the mark M1 and M5 of the functional module of acquisition to change, from the installation kit of the new version of application program C Mark M1 and the M5 corresponding file F1 and F5, the file F1 that will acquire of the functional module to change are obtained in Setup3 The update file of the functional module M1 and M5 that change are identified as with F5.
Step 505: server sends update notification to terminal, which carries the mark of application program, changes The update file of the mark of the functional module of change and the functional module to change;
For example, server sends update notification to terminal, which carries the mark A1 of application program C, changes The update file F1 of the mark M1 of the functional module of the change and functional module M1 to change and the functional module to change Mark M5 and the update file F5 of functional module M5 that changes.
Further, server can also send the mark of the application program, the function of changing by the following method The mark of module update file corresponding with the functional module to change to terminal, specifically:
Server is corresponding with version number from stored terminal iidentification according to the version number of the new version of the application program The each version number corresponding terminal iidentification lower than the version number of the new version is obtained in relationship, it is corresponding from the terminal iidentification of acquisition Terminal in determine current online terminal, according to the terminal iidentification of online terminal, send mark, the hair of the application program The mark update file corresponding with the functional module to change of the raw functional module changed gives online terminal.
Further, if deleting certain functional modules in the new version of the application program, server is also updating The mark for the functional module deleted in new version is carried in notice and deletes instruction.
Step 506: terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries The update file of the mark of the functional module know, to change and the functional module to change, updates and sends out in the application program The raw functional module changed.
Specifically, terminal receives the update notification that server is sent, according to the mark for the application program that the update notification carries Know, obtains the installation kit of the application program of itself installation.The mark of the functional module to change carried from the update notification In knowledge, the mark of functional module that obtains out the mark of functional module present in the installation kit of the application program and be not present. The update file of the corresponding functional module of mark for the functional module that will be not present is added in the installation kit of the application program.Root According to the mark of existing functional module, corresponding file is obtained from the installation kit of application program, the file that will acquire replaces with The corresponding update file of the mark of existing functional module.
Wherein, the function that the new version for being identified as the application program of existing functional module improves relative to legacy version The mark of energy module, the mark for being identified as the functional module newly increased in the new version of the application program for the functional module being not present Know.
For example, it is assumed that the functional module for including in the installation kit Setup2 of the legacy version of the application program C of terminal installation is Functional module M1, M2, M3 and M4.Terminal receives the update response message that server is sent, and is carried according to the update response message Application program C mark A1, obtain itself installation application program C installation kit Setup2.It is taken from the update response message In the mark M1 and M5 of the functional module of band to change, present in the installation kit Setup2 that obtains out application program C The mark M1 of the functional module and mark M5 for the functional module being not present.The corresponding function of mark M5 for the functional module that will be not present The update file F5 of energy module is added in the installation kit Setup2 of application program C.According to the mark M1 of existing functional module, Corresponding file is obtained from the installation kit Setup2 of application program C, the file that will acquire replaces with existing functional module Identify the corresponding update file F1 of M1.Wherein, the edition upgrading for the application program C that terminal is installed after update is latest edition.
Wherein, when there is new version due to each application program, server, which is all determined, differs predetermined number with new version Then the legacy version of version pushes the mark for the functional module that the new version of the application program changes relative to the legacy version Update file with the functional module to change is to terminal, so that it is guaranteed that terminal can incite somebody to action oneself when each application program update The edition upgrading of the application program of body installation is to latest edition.
Further, if terminal is received to update the mark for going back in new version the functional module for carrying deletion in response message Know and delete instruction, then terminal obtains the deletion from the installation kit of application program according to the mark of the functional module of deletion The corresponding file of functional module indicates according to deleting, deletes the file of acquisition.
Wherein, technical staff, according to the function of application program, the installation kit of application program is torn open in development and application program It is divided into the corresponding file of each functional module.For example, it is assumed that the function of application program includes basic function and communication function, then will The installation kit of application program is split as the corresponding file of fundamental functional modules and the corresponding file of communication function module.Terminal according to The installation kit of application program installs the application program, when running the application program, can first load fundamental functional modules, when with Communication function module is reloaded when family request is using communication function.
In more new application, do not loaded in case of the corresponding functional module of mark of the functional module changed, then Directly according to the update file of the mark of the functional module to change and the functional module to change, according to above-mentioned steps 506 operation updates the functional module to change.In case of the corresponding functional module of mark of the functional module of change It has been loaded that, then need first to close the corresponding loader of the functional module, then update the generation according to the operation of above-mentioned steps 506 The functional module of change, then open loader and reload the functional module.
Further, after more new application, the functional module that is updated can immediately according to updating running paper, Further according to update running paper when can also restart the application program next time.
In embodiments of the present invention, server obtains the function that the new version of application program changes relative to legacy version The mark of module update file corresponding with the functional module to change;Server by the mark of application program, change Functional module mark update file push corresponding with the functional module to change to terminal, make terminal according to updating text The functional module to change in part more new application.Since server is only by the mark and hair of the functional module to change The raw corresponding update file of functional module changed is sent to terminal, and then terminal is corresponding according to the functional module to change File is updated to be updated the functional module to change.So when being updated to application program server do not need by The complete installation kit of application program is sent to terminal, saves a large amount of flow.
Embodiment 6
Referring to Fig. 6, the embodiment of the invention provides the methods that a kind of pair of application program is updated, comprising:
Step 601: receiving mark, the mark and generation of the functional module to change of the application program that server is sent The corresponding update file of the functional module of change;
Step 602: according to the mark of the application program, the mark of the functional module to change and the function of changing The corresponding update file of module, updates the functional module to change in the application program.
Preferably, according to the mark of the application program, the mark of the functional module to change and the function of changing The corresponding update file of module, updates the functional module to change in the application program, comprising:
According to the mark of the application program, the installation kit of the application program is obtained;
From the mark of the functional module to change, functional module present in the installation kit of the application program is obtained The mark for the functional module for identifying and being not present;
The update file of the corresponding functional module of mark for the functional module that will be not present is added to the peace of the application program In dress packet;
According to the mark of existing functional module, corresponding file is obtained from the installation kit of the application program, will acquire File replace with the corresponding update file of mark of existing functional module.
Further, this method further include:
It receives the mark for the functional module deleted in the new version that server is sent and deletes instruction;
According to the mark of the functional module of deletion and instruction is deleted, deletes the function of deleting in the installation kit of the application program The corresponding file of module.
In embodiments of the present invention, the functional module for receiving the mark for the application program that server is sent, changing The corresponding update file of the functional module for identifying and changing;According to the mark of the application program, the function mould to change The mark of block update file corresponding with the functional module to change updates the function mould to change in the application program Block.Due to only having received the mark, the mark of the functional module to change and the function to change of application program from server Can the corresponding update file of module, then according to the corresponding update file of functional module to change to occurring in application program The functional module of change is updated, and so when being updated to application program, terminal does not need to obtain from server using journey The complete installation kit of sequence, saves a large amount of flow.
Embodiment 7
Referring to Fig. 7, the embodiment of the invention provides the devices that a kind of pair of application program is updated, comprising:
First obtains module 701, the function mould that the new version for obtaining application program changes relative to legacy version The mark of block update file corresponding with the functional module to change;
First sending module 702, for sending the mark, the mark of the functional module to change and hair of the application program The raw corresponding update file of functional module changed updates terminal in the application program according to update file and changes to terminal The functional module of change.
Wherein, the first acquisition module 701 includes:
First acquisition unit obtains application for the corresponding relationship according to the mark of application program, version number and installation kit The installation kit of the new version of program and the installation kit of legacy version;
Second acquisition unit, for obtaining according to the installation kit of the new version of the application program and the installation kit of legacy version The mark for the functional module that the new version of the application program changes relative to legacy version and the functional module pair to change The update file answered.
Wherein, the first acquisition unit includes:
First receiving subelement updates request message and carries using journey for receiving the update request message of terminal transmission The version number of the legacy version of the mark of sequence and the application program;
First obtains subelement, for the mark according to the application program, from the mark of application program, version number and installation The installation kit of the new version of the application program is obtained in the corresponding relationship of packet;
Second obtains subelement, for the version number according to the mark of the application program and the legacy version of the application program, The installation kit of the legacy version of the application program is obtained from the corresponding relationship of the mark of application program, version number and installation kit.
Wherein, first acquisition unit includes:
Second receiving subelement, the installation kit of the new version for receiving application program;
First determines subelement, for the version number according to the new version of the application program, determines the old of the application program The version number of version;
Third obtains subelement, for the version number according to the mark of the application program and the legacy version of the application program, The installation kit of the legacy version of the application program is obtained from the corresponding relationship of the mark of application program, version number and installation kit.
Wherein, second acquisition unit includes:
4th obtains subelement, for obtaining the installation kit of legacy version from the installation kit of the new version of the application program In the mark of functional module that is not present, the mark that will acquire is determined as the mark of the functional module to change;
5th obtains subelement, for obtaining in the installation kit of the new version from the application program and the installation kit of legacy version Identical two functional modules of mark are taken, if the content of identical two functional modules of mark is different, by two function moulds The mark of any functional module in block is determined as the mark of the functional module to change;
6th obtains subelement, for the mark according to the functional module to change, from the new version of the application program Installation kit in obtain the update file of the functional module to change.
Wherein, the first acquisition module 701 includes:
Third acquiring unit, for according to the mark of application program, the version number of new version, the version number of legacy version and function Can module mark corresponding relationship, obtain the mark for the functional module that the new version of application program changes relative to legacy version Know;
4th acquiring unit, for according to the mark of functional module to change, from the new version of the application program The update file of the functional module to change is obtained in installation kit.
Wherein, third acquiring unit includes:
Third receiving subelement updates request message and carries using journey for receiving the update request message of terminal transmission The version number of the legacy version of the mark of sequence and the application program;
7th obtains subelement, mark, the version of new version for the mark according to the application program, from application program Number, obtain in the corresponding relationship of the mark of the version number of legacy version and functional module the application program new version version number;
8th obtain subelement, for according to the mark of the application program, the version number of the new version of the application program and The version number of the legacy version of the application program, from the mark of application program, the version number of new version, the version number of legacy version and function The functional module that the new version of the application program changes relative to legacy version is obtained in the corresponding relationship of the mark of energy module Mark.
Wherein, third acquiring unit includes:
4th receiving subelement, the installation kit of the new version for receiving application program;
Second determines subelement, for the version number according to the new version of the application program, determines the old of the application program The version number of version;
9th obtain subelement, for according to the mark of the application program, the version number of the new version of the application program and The version number of legacy version, from the mark of application program, the version number of new version, the version number of legacy version and the mark of functional module Corresponding relationship in obtain the mark of the functional module that the new version of the application program changes relative to legacy version.
Further, the device further include:
Second obtains module, for what is deleted from the new version for obtaining the application program in the legacy version of the application program The mark of functional module;
Second sending module, mark and deletion for sending the functional module deleted in new version are indicated to terminal, make Terminal deletes the file for the functional module deleted in new version according to the mark and deletion instruction of the functional module of deletion.
Wherein, the first sending module 702 includes:
5th acquiring unit, for the version number according to the new version of the application program, from terminal iidentification and version number The each version number corresponding terminal iidentification lower than the version number of the new version is obtained in corresponding relationship;
Determination unit, for determining online terminal in the corresponding terminal of terminal iidentification from acquisition;
Transmission unit, for sending the mark of the application program, the mark of the functional module to change and changing The corresponding update file of functional module give online terminal.
In embodiments of the present invention, the functional module that the new version of application program changes relative to legacy version is obtained The corresponding update file of the functional module for identifying and changing;The mark of sending application program, the functional module to change Mark update file corresponding with the functional module to change to terminal, make terminal according to updating file more new application In the functional module that changes.Since server is only by the mark of the functional module to change and the function mould to change The corresponding update file of block is sent to terminal, and then terminal is according to the corresponding update file of the functional module to change to generation The functional module of change is updated.So when being updated to application program, server is not needed the complete of application program Installation kit is sent to terminal, saves a large amount of flow.
Embodiment 8
Referring to Fig. 8, the embodiment of the invention provides the devices that a kind of pair of application program is updated, comprising:
First receiving module 801, the mark of the application program for receiving server transmission, the functional module to change Mark update file corresponding with the functional module to change;
Update module 802, for according to the mark of the application program, the mark of the functional module to change and changing The corresponding update file of the functional module of change, updates the functional module to change in the application program.
Wherein, update module 802 includes:
First acquisition unit obtains the installation kit of the application program for the mark according to the application program;
Second acquisition unit, for obtaining the installation kit of the application program from the mark of the functional module to change Present in the mark of functional module and the mark for the functional module being not present;
The update file of adding unit, the corresponding functional module of mark of the functional module for will be not present is added to this In the installation kit of application program;
Replacement unit is obtained from the installation kit of the application program and is corresponded to for the mark according to existing functional module File, the file that will acquire replaces with the corresponding update file of mark of existing functional module.
In embodiments of the present invention, the functional module for receiving the mark for the application program that server is sent, changing The corresponding update file of the functional module for identifying and changing;According to the mark of the application program, the function mould to change The mark of block update file corresponding with the functional module to change updates the function mould to change in the application program Block.Due to only having received the mark, the mark of the functional module to change and the function to change of application program from server Can the corresponding update file of module, then according to the corresponding update file of functional module to change to occurring in application program The functional module of change is updated, and so when being updated to application program, terminal does not need to obtain from server using journey The complete installation kit of sequence, saves a large amount of flow.
Embodiment 9
Fig. 9 is the structural schematic diagram of server provided in an embodiment of the present invention.The server 1900 can be because of configuration or performance It is different and generate bigger difference, it may include one or more central processing units (central processing Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications The storage medium 1930 (such as one or more mass memory units) of program 1942 or data 1944.Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.The program for being stored in storage medium 1930 may include one A or more than one module (diagram does not mark), each module may include to the series of instructions operation in server.More into One step, central processing unit 1922 can be set to communicate with storage medium 1930, execute storage medium on server 1900 Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
Server 1900 may include have memory and one perhaps more than one program one of them or one A procedure above is stored in memory, and is configured to execute one or one by one or more than one processor A procedure above includes the instruction for performing the following operation:
It obtains the mark for the functional module that the new version of application program changes relative to legacy version and changes The corresponding update file of functional module;
The mark of sending application program, the mark of the functional module to change are corresponding with the functional module to change File is updated to terminal, makes terminal according to the functional module to change in the update file more new application.
Preferably, the mark and generation of the functional module that the new version of application program changes relative to legacy version are obtained The corresponding update file of the functional module of change, comprising:
According to the corresponding relationship of the mark of application program, version number and installation kit, the peace of the new version of application program is obtained The installation kit of dress packet and legacy version;
According to the installation kit of the installation kit of the new version of the application program and legacy version, the new version of the application program is obtained Mark update file corresponding with the functional module to change relative to the functional module that legacy version changes.
Preferably, according to the corresponding relationship of the mark of application program, version number and installation kit, the new edition of application program is obtained The installation kit of installation kit originally and legacy version, comprising:
The update request message that terminal is sent is received, mark and the application program that request message carries application program are updated Legacy version version number;
According to the mark of the application program, obtained from the corresponding relationship of the mark of application program, version number and installation kit The installation kit of the new version of the application program;
Mark, version according to the version number of the legacy version of the mark of the application program and the application program, from application program The installation kit of the legacy version of the application program is obtained in the corresponding relationship of this number and installation kit.
Preferably, according to the corresponding relationship of the mark of application program, version number and installation kit, the new edition of application program is obtained The installation kit of installation kit originally and legacy version, comprising:
Receive the installation kit of the new version of the application program;
According to the version number of the new version of the application program, the version number of the legacy version of the application program is determined;
Mark, version according to the version number of the legacy version of the mark of the application program and the application program, from application program The installation kit of the legacy version of the application program is obtained in the corresponding relationship of this number and installation kit.
Preferably, according to the installation kit of the installation kit of the new version of application program and legacy version, the application program is obtained The mark for the functional module that new version changes relative to legacy version update file corresponding with the functional module to change, Include:
From the installation kit of the new version of the application program, the functional module being not present in the installation kit of legacy version is obtained Mark, the mark that will acquire are determined as the mark of the functional module to change;
From in the installation kit of the installation kit of the new version of the application program and legacy version, obtains and identify identical two functions Module, if the content of identical two functional modules of mark is different, by any functional module in two functional modules Mark is determined as the mark of the functional module to change;
According to the mark of the functional module to change, obtains and change from the installation kit of the new version of the application program The update file of the functional module of change.
Preferably, the mark and generation of the functional module that the new version of application program changes relative to legacy version are obtained The corresponding update file of the functional module of change, comprising:
According to the mark of the mark of the application program, the version number of new version, the version number of legacy version and functional module Corresponding relationship obtains the mark for the functional module that the new version of the application program changes relative to legacy version;
According to the mark of the functional module to change, obtains and change from the installation kit of the new version of the application program The update file of the functional module of change.
Preferably, according to the mark of application program, the mark of the version number of new version, the version number of legacy version and functional module The corresponding relationship of knowledge obtains the mark for the functional module that the new version of application program changes relative to legacy version, comprising:
The update request message that terminal is sent is received, mark and the application program that request message carries application program are updated Legacy version version number;
According to the mark of the application program, from the mark of application program, the version number of new version, legacy version version number and The version number of the new version of the application program is obtained in the corresponding relationship of the mark of functional module;
According to the legacy version of the mark of the application program, the version number of the new version of the application program and the application program Version number closes from the corresponding of mark of the mark of application program, the version number of new version, the version number of legacy version and functional module The mark for the functional module that the new version of the application program changes relative to legacy version is obtained in system.
Preferably, according to the mark of application program, the mark of the version number of new version, the version number of legacy version and functional module The corresponding relationship of knowledge obtains the mark for the functional module that the new version of application program changes relative to legacy version, comprising:
Receive the installation kit of the new version of the application program;
According to the version number of the new version of the application program, the version number of the legacy version of the application program is determined;
According to the mark of the application program, the version number of the version number of the new version of the application program and legacy version, from answering It should with being obtained in the corresponding relationship of the mark of the mark of program, the version number of new version, the version number of legacy version and functional module The mark for the functional module that the new version of application program changes relative to legacy version.
Further, this method further include:
The mark for the functional module deleted from the new version for obtaining the application program in the legacy version of the application program;
The mark and deletion for sending the functional module deleted in new version are indicated to terminal, make terminal according to the function of deletion The mark of module and the file for deleting the functional module deleted in instruction deletion new version.
Preferably, the mark, the mark of the functional module to change and the function of changing of the application program are sent The corresponding update file of module is to terminal, comprising:
According to the version number of the new version of the application program, obtain from terminal iidentification and the corresponding relationship of version number than being somebody's turn to do The low corresponding terminal iidentification of each version number of the version number of new version;
Online terminal is determined from the corresponding terminal of terminal iidentification of acquisition;
The mark, the mark of the functional module to change and the functional module to change for sending the application program correspond to Update file give online terminal.
In embodiments of the present invention, the functional module that the new version of application program changes relative to legacy version is obtained The corresponding update file of the functional module for identifying and changing;The mark of sending application program, the functional module to change Mark update file corresponding with the functional module to change to terminal, make terminal according to updating file more new application In the functional module that changes.Since server is only by the mark of the functional module to change and the function mould to change The corresponding update file of block is sent to terminal, and then terminal is according to the corresponding update file of the functional module to change to generation The functional module of change is updated.So when being updated to application program, server is not needed the complete of application program Installation kit is sent to terminal, saves a large amount of flow.
Embodiment 10
Referring to FIG. 10, it illustrates the terminal structure schematic diagram involved in the embodiment of the present invention with touch sensitive surface, The method for the progress identifying code verifying that the terminal can be used for implementing providing in above-described embodiment.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Figure 10 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Figure 10 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 10 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
Receive the mark of application program, the mark of the functional module to change and the function to change that server is sent It can the corresponding update file of module;
It is corresponded to according to the mark of the application program, the mark of the functional module to change and the functional module to change Update file, update the functional module to change in the application program.
Preferably, according to the mark of the application program, the mark of the functional module to change and the function of changing The corresponding update file of module, updates the functional module to change in the application program, comprising:
According to the mark of the application program, the installation kit of the application program is obtained;
From the mark of the functional module to change, functional module present in the installation kit of the application program is obtained The mark for the functional module for identifying and being not present;
The update file of the corresponding functional module of mark for the functional module that will be not present is added to the peace of the application program In dress packet;
According to the mark of existing functional module, corresponding file is obtained from the installation kit of the application program, will acquire File replace with the corresponding update file of mark of existing functional module.
Further, this method further include:
It receives the mark for the functional module deleted in the new version that server is sent and deletes instruction;
According to the mark of the functional module of deletion and instruction is deleted, deletes the function of deleting in the installation kit of the application program The corresponding file of module.
In embodiments of the present invention, the functional module for receiving the mark for the application program that server is sent, changing The corresponding update file of the functional module for identifying and changing;According to the mark of the application program, the function mould to change The mark of block update file corresponding with the functional module to change updates the function mould to change in the application program Block.Due to only having received the mark, the mark of the functional module to change and the function to change of application program from server Can the corresponding update file of module, then according to the corresponding update file of functional module to change to occurring in application program The functional module of change is updated, and so when being updated to application program, terminal does not need to obtain from server using journey The complete installation kit of sequence, saves a large amount of flow.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (16)

1. the method that a kind of pair of application program is updated, which is characterized in that the described method includes:
It obtains the mark of functional module that the new version of application program changes relative to legacy version and described changes The corresponding update file of functional module;
According to the version number of the new version of the application program, obtained from terminal iidentification and the corresponding relationship of version number described in ratio The low corresponding terminal iidentification of each version number of the version number of new version;
Online terminal is determined from the corresponding terminal of terminal iidentification of the acquisition;
Send the mark of the application program, the mark of the functional module to change and the function mould to change The corresponding update file of block gives the online terminal, and the online terminal is made to update the application according to the update file The functional module to change in program;
Wherein, the mark for the functional module that the new version for obtaining application program changes relative to legacy version and the hair The raw corresponding update file of functional module changed, comprising:
Receive the installation kit of the new version of application program;
According to the version number of the new version of the application program, determines and differ pre- with the version number of the new version of the application program If the version number of number is the version number of the legacy version of the application program;
According to the version number of the legacy version of the mark of the application program and the application program, mark, version from application program The installation kit of the legacy version of the application program is obtained in the corresponding relationship of this number and installation kit;
According to the installation kit of the installation kit of the new version of the application program and the legacy version, the new of the application program is obtained The mark for the functional module that version changes relative to the legacy version is corresponding more with the functional module to change New file.
2. the method as described in claim 1, which is characterized in that the new version for obtaining application program is sent out relative to legacy version The mark update file corresponding with the functional module to change of the raw functional module changed, comprising:
Corresponding according to the mark of the mark of application program, the version number of new version, the version number of legacy version and functional module is closed System obtains the mark for the functional module that the new version of application program changes relative to legacy version;
According to the mark of the functional module to change, from the installation kit of the new version of the application program described in acquisition The update file of the functional module to change.
3. method according to claim 2, which is characterized in that the mark according to application program, new version version number, The corresponding relationship of the mark of the version number and functional module of legacy version obtains the new version of the application program relative to legacy version The mark of the functional module to change, comprising:
Receive terminal send update request message, it is described update request message carry application program mark and it is described apply journey The version number of the legacy version of sequence;
According to the mark of the application program, from the mark of application program, the version number of new version, the version number of legacy version and function The version number of the new version of the application program is obtained in the corresponding relationship of the mark of energy module;
According to the mark of the application program, the legacy version of the version number of the new version of the application program and the application program Version number, from the correspondence of the mark of the mark of application program, the version number of new version, the version number of legacy version and functional module The mark for the functional module that the new version of the application program changes relative to the legacy version is obtained in relationship.
4. method according to claim 2, which is characterized in that the mark according to application program, new version version number, The corresponding relationship of the mark of the version number and functional module of legacy version obtains the new version of the application program relative to legacy version The mark of the functional module to change, comprising:
Receive the installation kit of the new version of application program;
According to the version number of the new version of the application program, the version number of the legacy version of the application program is determined;
According to the mark of the application program, the version number of the version number of the new version of the application program and legacy version, from answering Institute is obtained in the corresponding relationship of the mark of the mark of program, the version number of new version, the version number of legacy version and functional module State the mark for the functional module that the new version of application program changes relative to the legacy version.
5. the method as described in any one of claim 1-4 claim, which is characterized in that the method also includes:
The mark for the functional module deleted from the new version for obtaining the application program in the legacy version of the application program;
The mark and deletion for sending the functional module deleted in the new version are indicated to terminal, delete the terminal according to The mark for the functional module removed and the file deleted instruction and delete the functional module deleted in the new version.
6. the method that a kind of pair of application program is updated, which is characterized in that the described method includes:
Receive the mark of application program that server sends to online terminal, the mark of the functional module to change and described The corresponding update file of the functional module to change, the online terminal are that the server terminal identifies in corresponding terminal It determines, the terminal iidentification is each version number corresponding terminal iidentification lower than the version number of new version, the generation The mark update file corresponding with the functional module to change of the functional module of change is the server according to institute What the installation kit of the installation kit and legacy version of stating the new version of application program obtained;The installation kit of the legacy version is the service Version number of the device according to the mark of the application program and the legacy version of the application program, mark, version from application program Number and the corresponding relationship of installation kit in obtain;The version number of the legacy version is the version according to the new version of the application program This number, what determination was obtained with the version number that the version number of the new version of the application program differs preset number;
According to the mark of the application program, the mark of the functional module to change and the function mould to change The corresponding update file of block updates the functional module to change in the application program.
7. method as claimed in claim 6, which is characterized in that the mark according to the application program described changes The mark update file corresponding with the functional module to change of the functional module of change, updates in the application program The functional module to change, comprising:
According to the mark of the application program, the installation kit of the application program is obtained;
From the mark of the functional module to change, functional module present in the installation kit of the application program is obtained Mark and the functional module being not present mark;
The update file of the corresponding functional module of mark of the functional module being not present is added to the application program In installation kit;
According to the mark of the existing functional module, corresponding file is obtained from the installation kit of the application program, by institute The file for stating acquisition replaces with the corresponding update file of mark of the existing functional module.
8. method according to claim 6 or 7, which is characterized in that the method also includes:
It receives the mark for the functional module deleted in the new version that the server is sent and deletes instruction;
It is indicated according to the mark of the functional module of the deletion and the deletion, described in the installation kit for deleting the application program The corresponding file of the functional module of deletion.
9. the device that a kind of pair of application program is updated, which is characterized in that described device includes:
First obtains module, the mark for the functional module that the new version for obtaining application program changes relative to legacy version Update file corresponding with the functional module to change;
First sending module, for the version number according to the new version of the application program, from pair of terminal iidentification and version number It should be related to the middle acquisition each version number corresponding terminal iidentification lower than the version number of the new version;From the terminal of the acquisition It identifies and determines online terminal in corresponding terminal;Send the mark of the application program, the function mould to change The mark update file corresponding with the functional module to change of block gives the online terminal, makes the online end End updates the functional module to change in the application program according to the update file;
The first acquisition module includes first acquisition unit and second acquisition unit, and the first acquisition unit includes second Receiving subelement, first determine that subelement and third obtain subelement, in which:
Second receiving subelement, the installation kit of the new version for receiving application program;
Described first determines subelement, for the version number according to the new version of the application program, determines the application program Legacy version version number;
The third obtains subelement, for the mark and the version of the legacy version of the application program according to the application program Number, the legacy version of the application program is obtained from the corresponding relationship of the mark of the application program, version number and installation kit Installation kit;
The second acquisition unit, for the installation according to the installation kit and the legacy version of the new version of the application program Packet obtains the mark and the generation of the functional module that the new version of the application program changes relative to the legacy version The corresponding update file of the functional module of change.
10. device as claimed in claim 9, which is characterized in that described first, which obtains module, includes:
Third acquiring unit, for according to the mark of application program, the version number of new version, the version number of legacy version and function mould The corresponding relationship of the mark of block obtains the mark for the functional module that the new version of application program changes relative to legacy version;
4th acquiring unit, the mark of the functional module for changing according to, from the new version of the application program Installation kit in obtain described in the update file of functional module that changes.
11. device as claimed in claim 10, which is characterized in that the third acquiring unit includes:
Third receiving subelement, for receiving the update request message of terminal transmission, the update request message, which carries, applies journey The version number of the legacy version of the mark and application program of sequence;
7th obtains subelement, mark, the version of new version for the mark according to the application program, from application program Number, obtain in the corresponding relationship of the mark of the version number of legacy version and functional module the application program new version version Number;
8th obtain subelement, for according to the mark of the application program, the version number of the new version of the application program and The version number of the legacy version of the application program, from the mark of application program, the version number of new version, legacy version version number and Obtain what the new version of the application program changed relative to the legacy version in the corresponding relationship of the mark of functional module The mark of functional module.
12. device as claimed in claim 10, which is characterized in that the third acquiring unit includes:
4th receiving subelement, the installation kit of the new version for receiving application program;
Second determines subelement, for the version number according to the new version of the application program, determines the old of the application program The version number of version;
9th obtain subelement, for according to the mark of the application program, the version number of the new version of the application program and The version number of legacy version, from the mark of application program, the version number of new version, the version number of legacy version and the mark of functional module Corresponding relationship in obtain the mark of the functional module that the new version of the application program changes relative to the legacy version.
13. the device as described in any one of claim 9-12 claim, which is characterized in that described device further include:
Second obtains module, for what is deleted from the new version for obtaining the application program in the legacy version of the application program The mark of functional module;
Second sending module, mark and deletion for sending the functional module deleted in the new version are indicated to terminal, make The terminal indicates to delete the function of deleting in the new version according to the mark and described delete of the functional module of the deletion The file of module.
14. the device that a kind of pair of application program is updated, which is characterized in that described device includes:
First receiving module, for receiving the mark for the application program that server is sent to online terminal, the function to change The mark update file corresponding with the functional module to change of energy module, the online terminal are that the server is whole It is determined in the corresponding terminal of end mark, the terminal iidentification is that each version number lower than the version number of new version is corresponding Corresponding with the functional module to change the update file of mark of terminal iidentification, the functional module to change is The server is obtained according to the installation kit of the new version of the application program and the installation kit of legacy version;The legacy version Installation kit is version number of the server according to the mark of the application program and the legacy version of the application program, from application It is obtained in the corresponding relationship of the mark of program, version number and installation kit;The version number of the legacy version is according to the application The version number of the new version of program determines that the version number for differing preset number with the version number of the new version of the application program obtains It arrives;
Update module, for according to the mark of the application program, the mark of the functional module to change and the hair The raw corresponding update file of functional module changed updates the functional module to change in the application program.
15. device as claimed in claim 14, which is characterized in that the update module includes:
First acquisition unit obtains the installation kit of the application program for the mark according to the application program;
Second acquisition unit, for obtaining the installation of the application program from the mark of the functional module to change The mark of the mark of functional module present in packet and the functional module being not present;
Adding unit, for the update file of the corresponding functional module of mark of the functional module being not present to be added to institute It states in the installation kit of application program;
Replacement unit, for the mark according to the existing functional module, the acquisition pair from the installation kit of the application program The file of the acquisition is replaced with the corresponding update file of mark of the existing functional module by the file answered.
16. the device as described in claims 14 or 15, which is characterized in that described device further include:
Second receiving module, mark and deletion for receiving the functional module deleted in the new version that the server is sent refer to Show;
Removing module deletes the application program for indicating according to the mark of the functional module of the deletion and the deletion Installation kit described in deletion the corresponding file of functional module.
CN201410326464.1A 2014-07-10 2014-07-10 The method and device that a kind of pair of application program is updated Active CN104965721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410326464.1A CN104965721B (en) 2014-07-10 2014-07-10 The method and device that a kind of pair of application program is updated

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410326464.1A CN104965721B (en) 2014-07-10 2014-07-10 The method and device that a kind of pair of application program is updated

Publications (2)

Publication Number Publication Date
CN104965721A CN104965721A (en) 2015-10-07
CN104965721B true CN104965721B (en) 2019-03-19

Family

ID=54219756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410326464.1A Active CN104965721B (en) 2014-07-10 2014-07-10 The method and device that a kind of pair of application program is updated

Country Status (1)

Country Link
CN (1) CN104965721B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893075A (en) * 2015-12-28 2016-08-24 乐视网信息技术(北京)股份有限公司 Update method and device of application
CN107239296A (en) * 2016-03-29 2017-10-10 百度在线网络技术(北京)有限公司 The update method and device of application program
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN106126269A (en) * 2016-06-07 2016-11-16 中国建设银行股份有限公司 application update method, device, system and application design method
CN106020916A (en) * 2016-07-04 2016-10-12 乐视控股(北京)有限公司 Method for updating application, terminal equipment and server
CN106569844B (en) * 2016-09-23 2020-05-12 北京五八信息技术有限公司 Processing method, device and equipment for updating program code
CN107870771B (en) * 2016-09-26 2021-12-17 平安科技(深圳)有限公司 Application program construction and upgrading method and system
CN106502903B (en) * 2016-10-26 2019-08-30 腾讯科技(深圳)有限公司 A kind of change function of program determines method, apparatus and processing equipment
CN106686073A (en) * 2016-12-19 2017-05-17 北京东方车云信息技术有限公司 Information processing method and system
CN106843952B (en) * 2017-01-13 2023-02-28 百度在线网络技术(北京)有限公司 Method and device for updating function module in application
CN106844210B (en) * 2017-01-20 2019-08-23 网易(杭州)网络有限公司 The acquisition methods and device of event modification information
CN106919843B (en) * 2017-01-24 2020-08-28 北京奇虎科技有限公司 Vulnerability repair system, method and equipment
CN107402786A (en) * 2017-07-14 2017-11-28 杭州绿湾网络科技有限公司 Using update method and device
CN107943509B (en) * 2017-12-13 2020-10-30 加讯科技有限公司 Mobile terminal and software updating method thereof
CN107977221B (en) * 2017-12-13 2020-07-14 深圳量子云科技有限公司 Mobile terminal software updating method and system
CN108108181B (en) * 2017-12-14 2022-03-01 深圳市雷鸟网络传媒有限公司 Function updating method and device of application program and computer readable storage medium
CN109359040A (en) * 2018-09-30 2019-02-19 珠海市君天电子科技有限公司 Method, apparatus, electronic equipment and the computer readable storage medium of test application
CN109491694A (en) * 2019-01-04 2019-03-19 中国银行股份有限公司 Using update method and device, data push method and device
CN110231948B (en) * 2019-06-10 2024-02-13 腾讯科技(成都)有限公司 Application program method, device, system, storage medium and computer equipment
CN110362538B (en) * 2019-07-19 2022-02-25 中国工商银行股份有限公司 Relationship determination method and apparatus, electronic device, and computer-readable storage medium
CN110618826A (en) * 2019-08-16 2019-12-27 深圳市元征科技股份有限公司 Method and device for updating application program and terminal equipment
CN111831300A (en) * 2019-08-23 2020-10-27 北京骑胜科技有限公司 APP updating method and device, electronic equipment and computer readable storage medium
CN112363717B (en) * 2020-10-29 2024-01-12 福建联迪商用设备有限公司 Method and terminal for loading different functions in single software
CN115729583A (en) * 2021-08-31 2023-03-03 广东艾檬电子科技有限公司 Method and system for realizing timely updating of client configuration
CN113835731A (en) * 2021-09-28 2021-12-24 中电金信软件有限公司 Method and device for prompting error according to updated component, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103838606A (en) * 2014-02-26 2014-06-04 烽火通信科技股份有限公司 Patch updating method for ONU software version in GPON system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095838A (en) * 2013-01-16 2013-05-08 福州博远无线网络科技有限公司 Method for upgrading Android smartphone software through downloading incremental upgrade package
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103838606A (en) * 2014-02-26 2014-06-04 烽火通信科技股份有限公司 Patch updating method for ONU software version in GPON system

Also Published As

Publication number Publication date
CN104965721A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104965721B (en) The method and device that a kind of pair of application program is updated
CN105490919B (en) Message cancelling method and device
CN105278937B (en) A kind of method and device showing pop-up box message
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN106502906B (en) A kind of method and apparatus of test application program
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN106126411B (en) The method and apparatus that a kind of pair of tested program code is tested
CN106294168B (en) A kind of method and system carrying out Application testing
CN106375582B (en) Vibration control method and device
CN105530239B (en) Multi-medium data acquisition methods and device
CN104077211A (en) Test method and test system for mobile terminal software
CN104253870B (en) The method and apparatus of control data access cycle
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN107454270B (en) mobile terminal screen brightness control method, device and terminal
CN105278925B (en) The method and device of rubbish removing is carried out to the software of unloading
CN105808043B (en) A kind of setting method and mobile terminal of terminal applies
CN105550316A (en) Pushing method and device of audio list
CN104423990B (en) A kind of update method and device of magnet
CN109062643A (en) A kind of display interface method of adjustment, device and terminal
CN106708500B (en) Unload the display methods and device at interface
CN106228994B (en) A kind of method and apparatus detecting sound quality
CN105354067B (en) A kind of interface configuration method and device
CN105302589B (en) A kind of method and device obtaining unloading information

Legal Events

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