CN108762799A - A kind of method and terminal of update application - Google Patents
A kind of method and terminal of update application Download PDFInfo
- Publication number
- CN108762799A CN108762799A CN201810291207.7A CN201810291207A CN108762799A CN 108762799 A CN108762799 A CN 108762799A CN 201810291207 A CN201810291207 A CN 201810291207A CN 108762799 A CN108762799 A CN 108762799A
- Authority
- CN
- China
- Prior art keywords
- version
- intended application
- edition
- terminal
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present invention provide it is a kind of update application method and terminal, be applied to field of communication technology, can solve the problems, such as terminal one application is updated to from new version legacy version process it is cumbersome and time-consuming.This method includes:The first input of user is received, the first input from first version by intended application for being updated to the second edition, and first version is the current version of intended application, and the second edition is the old version of intended application;In response to the first input, according to backup file, intended application is updated to the second edition from first version;Wherein, backup file include the installation kit of the second edition, the software package of the second edition or in variance data at least one of, variance data be first version software package and the software package of the second edition between variance data.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of methods and terminal of update application.
Background technology
With the development of the communication technology, the intelligence degree of the mobile terminals such as mobile phone, tablet computer is continuously improved, to meet
The various demands of user.For example, the flexibility of the application (i.e. application program) of its installation of user demand terminal management is higher and higher.
Illustratively, the version for the application installed in terminal is after legacy version is updated to new version, user
May the application of uncomfortable application or new version using new version there are quality problems.In this way, user may need
The version of the application is retracted into legacy version by terminal by new version.
The problem is that the version of an application to be retracted into the field of legacy version in terminal by new version in the prior art
Jing Zhong, terminal indicate that the application of deletion new version, and instruction download and install the application of legacy version receiving user
Input after, just the version of the application can be retracted into legacy version by new version.To cause terminal to apply one
The process that version is retracted into legacy version from new version is cumbersome and time-consuming.
Invention content
The embodiment of the present invention provides a kind of method and terminal of update application, can solve terminal by an application from new edition
Originally be updated to legacy version process is cumbersome and time-consuming problem.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, the embodiment of the present invention provides a kind of method of update application, this method includes:Receive the first of user
Input, for intended application to be updated to the second edition from first version, first version is the current of intended application for the first input
Version, the second edition are the old version of intended application;In response to the first input, according to backup file, by intended application from the
One version updating is to the second edition;Wherein, backup file includes the installation kit of the second edition, the software package of the second edition or difference
At least one of in data, variance data is the variance data between the software package and the software package of the second edition of first version.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal, which includes:Receiving module and update module;
Receiving module, the first input for receiving user, the first input from first version by intended application for being updated to the second edition
This, first version is the current version of intended application, and the second edition is the old version of intended application;Update module, for ringing
, according to backup file, intended application should be updated to the second edition from first version in the first input that receiving module receives;Its
In, backup file include the installation kit of the second edition, the software package of the second edition or in variance data at least one of, difference number
According to the variance data between the software package of software package and the second edition for first version.
The third aspect an embodiment of the present invention provides a kind of terminal, including processor, memory and is stored in the memory
Computer program that is upper and can running on the processor, realizes such as first aspect when which is executed by the processor
The step of method of the update application.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums
Computer program is stored in matter, and the side of update application as described in relation to the first aspect is realized when which is executed by processor
The step of method.
In embodiments of the present invention, intended application is updated to legacy version (such as from new version (such as first version) in terminal
The second edition) when, since terminal can preserve the backup file of the legacy version (such as second edition) of an intended application, eventually
End can obtain the software package of legacy version according to the backup file;Without being downloaded from server side and installing legacy version
Installation kit is to obtain the software package of legacy version.It is thus possible to which solve terminal is updated to legacy version by an application from new version
Process is cumbersome and time-consuming problem.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is one of the flow diagram of method of update application provided in an embodiment of the present invention;
Fig. 3 is one of the schematic diagram at interface that terminal provided in an embodiment of the present invention is shown;
Fig. 4 is the two of the flow diagram of the method for update application provided in an embodiment of the present invention;
Fig. 5 is the two of the schematic diagram at the interface that terminal provided in an embodiment of the present invention is shown;
Fig. 6 is the three of the schematic diagram at the interface that terminal provided in an embodiment of the present invention is shown;
Fig. 7 is the four of the schematic diagram at the interface that terminal provided in an embodiment of the present invention is shown;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of hardware architecture diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein
"and/or" is only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can
To indicate:Individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs
As, rather than for the particular order of description object.For example, first version and second edition etc. are for distinguishing an application
Different versions, rather than the particular order for describing application.
The method of update application provided in an embodiment of the present invention, terminal are (i.e. old according to the old version for an application
Version) backup file, which is updated to the old version from current version (i.e. new version).It is thus possible to solve end
The problem for holding the process that an application is updated to legacy version from new version cumbersome and time-consuming.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android
(Android) operating system can be ios operating systems, can also be other possible operating systems, the embodiment of the present invention is not
Make specific limit.
Below by taking Android operation system as an example, the method for introducing update application provided in an embodiment of the present invention is applied
Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming
In 1, the framework of Android operation system 10 includes 4 layers, respectively:Application layer 11, application framework layer 12, system operation
Library layer 13 and inner nuclear layer 14 (being specifically as follows Linux inner core).
Wherein, application layer 11 includes each application program (including system application in Android operation system 10
And third party application).
Application framework layer 12 is the frame of application program, and developer can opening in the frame in accordance with application program
In the case of sending out principle, some application programs are developed based on application framework layer 12.For example, system setting application, system are chatted
The application programs such as its application and system camera application.Application, third party's camera applications and third party's chat application is arranged in third party
Etc. application programs.
System operation library layer 13 includes library 131 (also referred to as system library) and Android operation system running environment 132.Library 131
Predominantly Android operation system 10 provides all kinds of resources needed for it.Android operation system running environment 132 is used to grasp for Android
Make system 10 and software environment is provided.
Inner nuclear layer 14 is the operating system layer of Android operation system 10, belongs to the most bottom of 10 software level of Android operation system
Layer.Inner nuclear layer 14 is that Android operation system 10 provides core system service and hardware-related driving journey based on linux kernel
Sequence.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1
The software program of the method for update application provided in an embodiment of the present invention is realized in the system architecture of operating system 10, exploitation, to
The method that the update is applied is run based on Android operation system 10 as shown in Figure 1.That is processor or terminal is set
The standby method that can realize update application provided in an embodiment of the present invention by running the software program in Android operation system.
Update provided in an embodiment of the present invention is applied with reference to the flow chart of the method for update application shown in Fig. 2
Method is described in detail.Wherein, although showing the side of update application provided in an embodiment of the present invention in method flow diagram
The logical order of method, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.Example
Such as, the method for update application shown in Figure 2 may include step 201 and step 202:
Step 201, terminal receive the first input of user.
Wherein, the first input is used to indicate terminal and intended application is updated to the second edition, first version from first version
For the current version of intended application, the second edition is the old version of intended application.
Wherein, terminal can update the application installed in the terminal, such as be updated to the application separately from current version
One version.For example, intended application is updated to the second edition by terminal from first version.
It is understood that above-mentioned first version can be the new version of intended application, the second edition can answer for target
Legacy version.For example, above-mentioned intended application is using 1, the intended application of first version is the application 1 of 6.0 versions, the second edition
This intended application is the application 1 of 4.0 versions.At this point, intended application is updated to the second edition by above-mentioned terminal from first version,
Can be that terminal retracts the application 1 of 6.0 versions to the application 1 of 4.0 versions.
Optionally, above-mentioned first input can be the input for the option that user provides terminal, and the option is for touching
It sends out the terminal and intended application is updated to the second edition from first version.
Illustratively, as shown in figure 3, being a kind of schematic diagram of terminal display interface provided in an embodiment of the present invention.Fig. 3 shows
The interface 1 gone out include prompt message 11 " whether will be updated to legacy version using 1 ", option 12 (i.e. "Yes") and option 13 (i.e.
"No").Wherein, 12 "Yes" of above-mentioned option is used to indicate terminal and intended application is updated to the second edition from first version, above-mentioned
13 "No" of option is used to indicate the first version that terminal retains intended application.Fig. 3 is shown at this point, the first input can be user
Interface 1 in option 12 input.
Optionally, above-mentioned prompt message 11 can also be " whether determine will be updated to new version using 1 ", 12 "Yes" of option
It is used to indicate the first version that terminal retains current intended application, above-mentioned 13 "No" of option is used to indicate terminal by intended application
It is updated to the second edition from first version.
It should be noted that terminal provided in an embodiment of the present invention can have touch screen, the touch screen to can be used for connecing
The input of user is received, and the corresponding content of the input is shown to the user in response to the input.Wherein, above-mentioned first input can be with
For touch-screen input, fingerprint input, gravity input, key-press input etc..Touch-screen input is that user is defeated to the pressing of the touch screen of terminal
Enter, long-press is inputted, slidably inputed, click input, suspend the inputs such as input (input of the user near touch screen).Fingerprint inputs
For user to the sliding fingerprint of the Fingerprint Identification Unit of terminal, long-press fingerprint, click fingerprint and double-click the inputs such as fingerprint.Gravity inputs
It is user to inputs such as the shaking of terminal specific direction, the shakings of specific times.Key-press input corresponds to electricity of the user to terminal
The buttons such as source key, volume key, Home key click input, double-click the inputs such as input, long-press input, combination button input.Specifically
, the mode that the embodiment of the present invention pair first inputs is not especially limited, and can be any achievable mode.
Step 202, in response to the first input, terminal is updated to the according to backup file, by intended application from first version
Two versions.
Illustratively, in the application 1 that the intended application of the above-mentioned first edition is 6.0 versions, the intended application of the second edition is
In the scene of the application 1 of 4.0 versions, the application 1 of 6.0 versions is updated to the application 1 of 4.0 versions by terminal.Above-mentioned backup file
For the backup file of the application 1 of 4.0 versions.
Wherein, backup file include in the installation kit of the second edition, the software package of the second edition or variance data at least
One, which is the variance data between the software package and the software package of the second edition of first version.
Optionally, when backup file is the installation kit of the second edition, terminal can install the installation kit of the second edition
To obtain the software package of the second edition, and delete the software package of first version.To realize terminal by intended application from the first edition
Originally it is updated to the second edition.
Optionally, when backup file is the software package of the second edition, terminal can retain the software package of the second edition, and
The software package for deleting first version, to realize that intended application is updated to the second edition by terminal from first version.
Optionally, when backup file is variance data, terminal can be replaced the first version by the variance data and be answered
Partial data in software package obtains the software package of the second edition.Also, terminal can delete the software of first version
Intended application is updated to the second edition by packet to realize from first version.Wherein, the data format of above-mentioned variance data can be with
For binary code form.
It should be noted that the method for update application provided in an embodiment of the present invention, in terminal by intended application from new edition
When this (such as first version) is updated to legacy version (such as second edition), since terminal can preserve the legacy version of an intended application
The backup file of (such as second edition), therefore terminal can obtain the software package of legacy version according to the backup file;Without
It to be downloaded from server side and the installation kit of legacy version is installed to obtain the software package of legacy version.It will it is thus possible to solve terminal
The process that one application is updated to legacy version from new version is cumbersome and time-consuming problem.
In one possible implementation, as shown in figure 4, for another update application provided in an embodiment of the present invention
The flow diagram of method.In conjunction with Fig. 2, in the method shown in Fig. 4, step 203 and step are may also include before step 201
204:
Step 203, terminal are preserved in the case where the intended application of first version meets preset condition in the first catalogue
Backup file.
Step 204, terminal install the intended application of first version in the second catalogue.
Wherein, above-mentioned preset condition includes at least one following:The mark of the intended application of first version is not default
In white list, the data volume of the installation kit of the intended application of first version is in the first preset threshold range and the first edition
The update times of this intended application are in the second preset threshold range.
Wherein, the mark of an application can serve to indicate that the application.For example, the name for being identified as the application of an application
Claim, if the mark of above application 1 can be " music player ".
It should be noted that the application for the mark instruction that default white list can be included by terminal is directly updated to new edition
This, the backup file of the application without preserving legacy version.Wherein, the mark instruction that above-mentioned default white list includes
Using that can be the application that must be updated to new version ability normal use, such as partial game class application.
Optionally, the mark that above-mentioned default white list includes by user setting and can be changed.
Wherein, the data volume of the installation kit of the new version (i.e. first version) of an intended application is in the first predetermined threshold value
Range (when such as larger than or equal to 1,000,000,000 (M)), illustrates the data that the installation kit includes important.
Wherein, the new version of an intended application can be the data that associated server provides using update times, answer
It is in the second preset threshold range (such as larger than or being equal to 500 times) with update times, illustrates the property of the intended application of the new version
It can be preferably.
In conclusion when the intended application of first version meets preset condition, illustrate that user needs in installation first version
Intended application after, intended application is updated to the second edition from first version.At this point, terminal can preserve backup file and
It is not the software package for deleting second edition application.
Wherein, the first catalogue and the second catalogue are storage location different in terminal.One catalogue can correspond to a use
Family uniquely indicates the mark of the catalogue.For example, a mark can be a directory name or a user name.
Illustratively, the corresponding catalogue mark of above-mentioned first catalogue can be denoted as user name 1, the corresponding catalogue of the second catalogue
Mark can be denoted as user name 2.
In general, above-mentioned first catalogue is used to preserve the software package and old edition for the application that user needs normal use
The backup file of this application, such as backup file.Second catalogue is used to preserve the software package of legacy version application, as first version is answered
Software package.
It is understood that terminal is preserving backup file and is installing first version in application, the network state of terminal can
Default network state is thought, such as Wireless Fidelity (Wireless-Fidelity, WiFi) state or mobile network's state.Also,
The corresponding data volume of terminal residual memory space be more than certain threshold value so that the residual memory space may include the first catalogue and
The corresponding memory space of second catalogue.
It should be noted that the method for update application provided in an embodiment of the present invention, terminal applied in installation targets the
In the scene of one version, if the first version of the intended application need not be retracted into the second edition, terminal can not be to target
The first version of application is backed up, i.e., does not preserve the backup file of the second edition.One is applied in this way, terminal can be improved
From new version be updated to legacy version during to the resource utilization of memory space.
In one possible implementation, the method for update application provided in an embodiment of the present invention, in above-mentioned steps 201
Can also include step 205, step 206 and step 207 before:
Step 205, terminal are in first object interface display target icon.
Illustratively, as shown in figure 5, the schematic diagram at the interface shown for another terminal provided in an embodiment of the present invention.
The interface 2 of terminal shown in Fig. 5 includes application icon 1, which can be above-mentioned target icon.
Step 206, terminal receive second input of the user to target icon.
Wherein, above-mentioned target icon can be the entrance of the first icon and the second icon;First icon is used to indicate first
The intended application of version, the second icon are used to indicate the intended application of the second edition.That is the first icon is the target of first version
The entrance of application, the second icon are the entrance of the intended application of the second edition.
Illustratively, above-mentioned second input can be input of the user to target icon.
Optionally, above-mentioned second input can be user to being arranged on the application icon 1 shown in the interface 2 of above-mentioned Fig. 5
The input of one option.
Step 207 is inputted in response to second, and terminal shows at least one of the first icon and the second icon.
In following embodiment, by taking terminal shows the first icon and the second icon as an example, illustrate provided in an embodiment of the present invention
Update the method for application.
Illustratively, in conjunction with above-mentioned Fig. 5, after user carries out click input to the application icon 1 that interface 2 includes, eventually
End can show the interface 3 shown in Fig. 5, which includes application icon 2 and application icon 3.Wherein, above application icon 2
It can serve to indicate that the application 1 of first version, i.e. application icon 2 is the entrance of the application 1 of first version.Above application icon 3
It can serve to indicate that the application 1 of the second edition, i.e. application icon 3 is the entrance of the application 1 of the second edition.
It should be noted that the method for update application provided in an embodiment of the present invention, the target that can be shown due to terminal
Icon can indicate the intended application of first version and the intended application of the second edition simultaneously, therefore terminal can provide simultaneously
The entrance of the entrance of the intended application of one version and the intended application of the second edition.To in terminal by an application from first
Before version updating to the second edition, can the user-friendly application different editions.
In one possible implementation, the method for update application provided in an embodiment of the present invention, above-mentioned first object
Interface is the interface of the desktop of terminal or intended application that first object interface is first version or first object interface is the
The interface of the intended application of two versions.
Optionally, above-mentioned target icon, which can fix, is shown on a position at first object interface, alternatively, above-mentioned mesh
It marks on a map to suspend and be shown on a position at first object interface.I.e. target icon, which can be resided, is shown in the of terminal
In one target interface.
It should be noted that it is provided in an embodiment of the present invention update application method, due to target icon can reside it is aobvious
Show in the first object interface of terminal, thus can facilitate terminal switching show first version intended application interface and the
The interface of the intended application of two versions.To, to, terminal by an application from first version be updated to the second edition it
Before, can the further user-friendly application different editions.
In one possible implementation, the method for update application provided in an embodiment of the present invention, the embodiment of the present invention
A target widget can be provided, which is updated to the second edition by intended application for triggering terminal from first version
This.
Optionally, above-mentioned target widget may be displayed at least one of following:Target icon, the first icon, the first edition
The interface of this intended application and the interface of second edition intended application.
Illustratively, as shown in fig. 6, the schematic diagram at the interface shown for another terminal provided in an embodiment of the present invention.
It shows to show control " rollback " on the application icon 1 in the interface 4 of terminal in conjunction with Fig. 5, Fig. 6, which is above-mentioned
Target widget.
Wherein, in conjunction with above-described embodiment, the input of the control " rollback " in interface 4 shown in the user couple 6 of terminal reception
Later, intended application is updated to the second edition by the interface 1 that can show terminal as shown in Figure 3 to realize from first version.
Alternatively, terminal receive user couple 6 shown in interface 4 in control " rollback " input after, can directly hold
It is about to intended application and is updated to the second edition from first version, the interface 1 without showing terminal as shown in Figure 3.
Similar, interface and the second edition of the intended application of the first icon, first version are shown in target widget
Intended application interface description, be referred to the above-mentioned associated description being shown in target widget in target icon, this hair
Bright embodiment comparison repeats no more.
It is understood that terminal by intended application after first version is updated to the second edition, terminal will not be shown
Above-mentioned target icon, and directly display above-mentioned second icon.
It should be noted that the method for update application provided in an embodiment of the present invention, terminal can carry at different interfaces
For for triggering the target widget that intended application is updated to the second edition from first version, in this way, can be user-friendly
One application is updated to the second edition by the target widget control terminal from first version, is conducive to simplify terminal by an application
From first version be updated to the second edition during operation.
In one possible implementation, the method for update application provided in an embodiment of the present invention, in above-mentioned steps 201
Before, it can also include before step 208, step 209 and step 210:
Step 208, terminal show third icon.
Wherein, third icon is used to indicate the second target interface.
Illustratively, above-mentioned third icon can be above-mentioned target icon or above-mentioned first icon.
Step 209, terminal receive user and are inputted to the third of third icon.
Illustratively, the description of above-mentioned third input can be referred in above-described embodiment and the correlation of the first input is retouched
It states, the embodiment of the present invention repeats no more this.
Step 210 is inputted in response to third, and terminal shows the second target interface.
Wherein, the second target interface includes the first version information of intended application and the second edition letter of intended application
Breath.
Optionally, the first version information of intended application includes the interface of the intended application of the first version of intended application
(can be operated interface), and/or, the what's new information of the intended application of first version.Wherein, which includes
At least one of operation interface sectional drawing and function introduction video of the intended application of first version.
Similar, the second edition information of intended application includes the interface of the intended application of the second edition of intended application
(can be operated interface), and/or, the functional information of the intended application of the second edition.Wherein, which includes the second edition
Intended application operation interface sectional drawing and at least one of function introduction video.
Illustratively, as shown in fig. 7, for a kind of flow signal of the method for update application provided in an embodiment of the present invention
Figure.The interface 5 of terminal shown in Fig. 7 is above-mentioned second target interface.Specifically, the interface 5 is the intended application of first version
Interface, can also include the what's new information of first version application in the interface.At this point, user can be on interface 5
Browsing operates the intended application of the first version in above-mentioned what's new information.
In addition, the interface 6 of the terminal shown in Fig. 7 is above-mentioned second target interface, which may include first version
The operation interface sectional drawing at the interface of intended application and the corresponding interface of the intended application of the second edition.At this point, user can be on boundary
Browsing is cut in the operation interface of the what's new information of the intended application of first version and the intended application of the second edition on face 6
Figure, and operate the intended application of the first version.
In this way, the second target interface that terminal is shown can support the different editions that User experience object is applied, and show
To the difference of user's first version and the second edition.To which one application is updated to the second edition from first version in terminal
Before, can the further user-friendly application different editions.
As shown in figure 8, for a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.Terminal 80 shown in Fig. 8 is wrapped
It includes:Receiving module 801 and update module 802;Receiving module 801, the first input for receiving user, the first input is used for will
Intended application is updated to the second edition from first version, and first version is the current version of intended application, and the second edition is target
The old version of application;Update module 802, first for being received in response to receiving module 801 inputs, according to backup file,
Intended application is updated to the second edition from first version;Wherein, backup file includes the installation kit of the second edition, the second edition
Software package or variance data at least one of, variance data be first version software package and the second edition software package it
Between variance data.
Optionally, terminal 80 further includes:Preserving module 803 and installation module 804;Preserving module 803 is used for receiving module
Before 801 receive the first input of user, in the case where the intended application of first version meets preset condition, in the first catalogue
Middle preservation backup file;Module 804 is installed, is additionally operable to that the intended application of first version is installed in the second catalogue;Wherein, first
Catalogue and the second catalogue are storage location different in terminal 80, and preset condition includes at least one following:First version
Not in default white list, the data volume of the installation kit of the intended application of first version is in first and presets the mark of intended application
In threshold range and the update times of the intended application of first version are in the second preset threshold range.
Optionally, terminal 80 further includes:First display module 805;First display module 805, connects for receiving module 801
Before the first input for receiving user, in first object interface display target icon;Receiving module 801 is additionally operable to receive user couple
Second input of target icon;First display module 805 is additionally operable to the second input received in response to receiving module 801, display
At least one of first icon and the second icon, the first icon are used to indicate the intended application of first version, and the second icon is used
In the intended application of the instruction second edition.
Optionally, first object interface is the desktop of terminal 80 or the intended application that first object interface is first version
Interface or first object interface be the second edition intended application interface.
Optionally, terminal 80 further includes:Second display module 806;Second display module 806, connects for receiving module 801
Before the first input for receiving user, show that third icon, third icon are used to indicate the second target interface;Receiving module 801, also
The third of third icon is inputted for receiving user;Second display module 806 is additionally operable to receive in response to receiving module 801
Third input, show the second target interface, the second target interface includes that the first version information of intended application and target are answered
Second edition information.
Terminal 80 provided in an embodiment of the present invention can realize each process that terminal is realized in above method embodiment, be
It avoids repeating, which is not described herein again.
Intended application is updated to old by terminal provided in an embodiment of the present invention in the terminal from new version (such as first version)
When version (such as second edition), since terminal can preserve the backup text of the legacy version (such as second edition) of an intended application
Part, therefore terminal can obtain the software package of legacy version according to the backup file;Without downloading and pacifying from server side
The installation kit of legacy version is filled to obtain the software package of legacy version.One application is updated from new version it is thus possible to solve terminal
Process to legacy version is cumbersome and time-consuming problem.
Fig. 9 is a kind of hardware architecture diagram of terminal provided in an embodiment of the present invention, which includes but unlimited
In:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106,
The components such as user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.Art technology
Personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 9, terminal may include than illustrate it is more or
Less component either combines certain components or different components arrangement.In embodiments of the present invention, terminal includes but not
It is limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, user input unit 107, for receive user first input, first input for by intended application from
First version is updated to the second edition, and first version is the current version of intended application, and the second edition is the history of intended application
Version;Processor 110, the first input for being received in response to user input unit 107, according to backup file, target is answered
It is updated to the second edition with from first version;Wherein, backup file include the installation kit of the second edition, the second edition software package
At least one of or in variance data, variance data is the difference between the software package and the software package of the second edition of first version
Data.
Intended application is updated to old by terminal provided in an embodiment of the present invention in the terminal from new version (such as first version)
When version (such as second edition), since terminal can preserve the backup text of the legacy version (such as second edition) of an intended application
Part, therefore terminal can obtain the software package of legacy version according to the backup file;Without downloading and pacifying from server side
The installation kit of legacy version is filled to obtain the software package of legacy version.One application is updated from new version it is thus possible to solve terminal
Process to legacy version is cumbersome and time-consuming problem.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set
Standby communication.
Terminal has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 100 executes.Sound
Frequency output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike
Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 105 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 include touch panel 1071 and other
Input equipment 1072.Touch panel 1071, also referred to as touch screen, collect user on it or neighbouring touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 1071 or near touch panel 1071
Operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receives processor 110
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 panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.
Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Button etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it
On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch
The type for touching event provides corresponding visual output on display panel 1061.Although in fig.9, touch panel 1071 and display
Panel 1061 is to realize the function that outputs and inputs of terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 108 is the interface that external device (ED) is connect with terminal 100.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting the port of device with identification module, the port audio input/output (I/O), video i/o port, ear port
Etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 100 or can be used for terminal 100 and external device (ED) it
Between transmission data.
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 109, and call and be stored in memory 109
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 110 may include one
Or multiple processing units;Preferably, processor 110 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with
It is logically contiguous by power-supply management system and processor 110, to by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 110, and memory 109 is stored in storage
It is real when which is executed by processor 110 on device 109 and the computer program that can be run on the processor 110
Each process of existing above-mentioned embodiment of the method, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical
Technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory
(Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD
Deng.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (12)
1. a kind of method of update application, which is characterized in that including:
The first input of user is received, first input from first version by intended application for being updated to the second edition, institute
The current version that first version is the intended application is stated, the second edition is the old version of the intended application;
In response to first input, according to backup file, the intended application is updated to described the from the first version
Two versions;
Wherein, the backup file include the installation kit of the second edition, the second edition software package or variance data
At least one of in, the variance data is the difference between the software package and the software package of the second edition of the first version
Heteromerism evidence.
2. according to the method described in claim 1, it is characterized in that, before first input for receiving user, further include:
In the case where the intended application of the first version meets preset condition, the backup is preserved in the first catalogue
File;
The intended application of the first version is installed in the second catalogue;
Wherein, first catalogue and second catalogue are storage location different in terminal, under the preset condition includes
At least one of state:The mark of the intended application of the first version is not being preset in white list, the first version
The data volume of the installation kit of the intended application is in the first preset threshold range and the target of the first version
The update times of application are in the second preset threshold range.
3. according to the method described in claim 1, it is characterized in that, before first input for receiving user, further include:
In first object interface display target icon;
Receive second input of the user to the target icon;
In response to second input, at least one of the first icon and the second icon are shown, first icon is for referring to
Show that the intended application of the first version, second icon are used to indicate the intended application of the second edition.
4. according to the method described in claim 3, it is characterized in that,
The first object interface is the desktop of the terminal or the mesh that the first object interface is the first version
The interface applied or the first object interface are marked as the interface of the intended application of the second edition.
5. according to the method described in claim 1, it is characterized in that, it is described receive user first input before, the method
Further include:
Show that third icon, the third icon are used to indicate the second target interface;
User is received to input the third of the third icon;
It is inputted in response to the third, shows second target interface, second target interface includes that the target is answered
The second edition information of first version information and the intended application.
6. a kind of terminal, which is characterized in that including:Receiving module and update module;
The receiving module, the first input for receiving user, first input for by intended application from first version
It is updated to the second edition, the first version is the current version of the intended application, and the second edition is that the target is answered
Old version;
The update module, first input for being received in response to the receiving module will be described according to backup file
Intended application is updated to the second edition from the first version;
Wherein, the backup file include the installation kit of the second edition, the second edition software package or variance data
At least one of in, the variance data is the difference between the software package and the software package of the second edition of the first version
Heteromerism evidence.
7. terminal according to claim 6, which is characterized in that the terminal further includes:Preserving module and installation module;
The preserving module, before the first input that user is received for the receiving module, described in the first version
In the case that intended application meets preset condition, the backup file is preserved in the first catalogue;
The installation module, the intended application for installing the first version in the second catalogue;
Wherein, first catalogue and second catalogue are storage location different in terminal, under the preset condition includes
At least one of state:The mark of the intended application of the first version is not being preset in white list, the first version
The data volume of the installation kit of the intended application is in the first preset threshold range and the target of the first version
The update times of application are in the second preset threshold range.
8. terminal according to claim 6, which is characterized in that the terminal further includes:First display module;
First display module, it is aobvious at first object interface before the first input that user is received for the receiving module
Show target icon;
The receiving module is additionally operable to the second input for receiving user to the target icon;
First display module is additionally operable to second input received in response to the receiving module, shows the first icon
At least one of with the second icon, first icon is used to indicate the intended application of the first version, and described
Two icons are used to indicate the intended application of the second edition.
9. terminal according to claim 8, which is characterized in that
The first object interface is the desktop of the terminal or the mesh that the first object interface is the first version
The interface applied or the first object interface are marked as the interface of the intended application of the second edition.
10. terminal according to claim 6, which is characterized in that the terminal further includes:Second display module;
Second display module shows third icon before the first input for receiving user for the receiving module, described
Third icon is used to indicate the second target interface;
The receiving module is additionally operable to the third input for receiving user to the third icon;
Second display module is additionally operable to the third input received in response to the receiving module, display described second
Target interface, second target interface include the intended application first version information and the intended application second
Version information.
11. a kind of terminal, which is characterized in that including:It processor, memory and is stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1-5
The step of method of update application described in one.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the method that the update application as described in any one of claim 1-5 is realized when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810291207.7A CN108762799A (en) | 2018-04-03 | 2018-04-03 | A kind of method and terminal of update application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810291207.7A CN108762799A (en) | 2018-04-03 | 2018-04-03 | A kind of method and terminal of update application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108762799A true CN108762799A (en) | 2018-11-06 |
Family
ID=63981091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810291207.7A Pending CN108762799A (en) | 2018-04-03 | 2018-04-03 | A kind of method and terminal of update application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762799A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475070A (en) * | 2020-04-01 | 2020-07-31 | 维沃移动通信有限公司 | Display method of application interface and electronic equipment |
CN111638903A (en) * | 2020-05-08 | 2020-09-08 | 北京达佳互联信息技术有限公司 | Method and device for generating difference information of different software versions |
CN113138785A (en) * | 2021-04-21 | 2021-07-20 | 维沃移动通信有限公司 | Application program updating method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567053A (en) * | 2011-12-20 | 2012-07-11 | 云海创想信息技术(无锡)有限公司 | Method and device for downgrading software version |
CN103544033A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Method, device and associated equipment for rolling back application program |
CN105897863A (en) * | 2016-03-28 | 2016-08-24 | 努比亚技术有限公司 | Rollback method and apparatus for upgraded mobile terminal version |
CN105955740A (en) * | 2016-04-29 | 2016-09-21 | 北京奇虎科技有限公司 | Software management method and apparatus |
CN107066294A (en) * | 2017-03-17 | 2017-08-18 | 深圳市邦华电子有限公司 | One kind application installation method, device and a kind of intelligent terminal |
-
2018
- 2018-04-03 CN CN201810291207.7A patent/CN108762799A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567053A (en) * | 2011-12-20 | 2012-07-11 | 云海创想信息技术(无锡)有限公司 | Method and device for downgrading software version |
CN103544033A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Method, device and associated equipment for rolling back application program |
CN105897863A (en) * | 2016-03-28 | 2016-08-24 | 努比亚技术有限公司 | Rollback method and apparatus for upgraded mobile terminal version |
CN105955740A (en) * | 2016-04-29 | 2016-09-21 | 北京奇虎科技有限公司 | Software management method and apparatus |
CN107066294A (en) * | 2017-03-17 | 2017-08-18 | 深圳市邦华电子有限公司 | One kind application installation method, device and a kind of intelligent terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475070A (en) * | 2020-04-01 | 2020-07-31 | 维沃移动通信有限公司 | Display method of application interface and electronic equipment |
CN111638903A (en) * | 2020-05-08 | 2020-09-08 | 北京达佳互联信息技术有限公司 | Method and device for generating difference information of different software versions |
CN111638903B (en) * | 2020-05-08 | 2023-05-30 | 北京达佳互联信息技术有限公司 | Method and device for generating difference information of different software versions |
CN113138785A (en) * | 2021-04-21 | 2021-07-20 | 维沃移动通信有限公司 | Application program updating method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542282A (en) | A kind of interface display method and terminal device | |
CN109189298A (en) | A kind of language switching method and terminal | |
CN108595201A (en) | A kind of application program update method and mobile terminal | |
CN108491130A (en) | A kind of application programe switch-over method and mobile terminal | |
CN110457935A (en) | A kind of authority configuring method and terminal device | |
CN109358931A (en) | A kind of interface display method and terminal | |
CN108469968A (en) | A kind of applied program processing method and mobile terminal | |
CN110069180A (en) | A kind of function control method and terminal device | |
CN109522278A (en) | A kind of file memory method and terminal device | |
CN108171034A (en) | A kind of method and terminal for protecting privacy | |
CN110309004A (en) | The processing method and terminal of data | |
CN110069305A (en) | A kind of screen interface switching method and terminal device | |
CN109117054A (en) | A kind of display control method and terminal | |
CN108804151A (en) | A kind of method and terminal of re-launching applications | |
CN108762799A (en) | A kind of method and terminal of update application | |
CN109358789A (en) | A kind of notification message management method, device and mobile terminal | |
CN108833684A (en) | A kind of information cuing method and terminal device | |
CN108597495A (en) | A kind of method and device of processing voice data | |
CN108733993A (en) | A kind of method for information display and terminal | |
CN110012152A (en) | A kind of interface display method and terminal device | |
CN109284146A (en) | A kind of light application open method and mobile terminal | |
CN109745699A (en) | A kind of method and terminal device responding touch control operation | |
CN109343782A (en) | A kind of display methods and terminal | |
CN109062477A (en) | A kind of input method and terminal | |
CN109067975A (en) | A kind of method for managing contact person information and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |