CN106648769A - Application upgrading method, server and user device - Google Patents
Application upgrading method, server and user device Download PDFInfo
- Publication number
- CN106648769A CN106648769A CN201611130139.3A CN201611130139A CN106648769A CN 106648769 A CN106648769 A CN 106648769A CN 201611130139 A CN201611130139 A CN 201611130139A CN 106648769 A CN106648769 A CN 106648769A
- Authority
- CN
- China
- Prior art keywords
- application
- upgrade
- parameter
- intended application
- request
- 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
-
- 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
Abstract
The embodiment of the invention provides an application upgrading method, a server and a user device. The application upgrading method, the server and the user device are used for achieving differentiation upgrading applications. The application upgrading method includes the steps that the server receives an expression request sent by the user device to obtain a request of application upgrading information of a target application; based on the request, the application upgrading information of the target application is sent to the user device, the application upgrading information comprises forcibly-updated lowest version parameters, ordinarily-updated highest version parameters and a predetermined version link of the target application so that the user device can be determined to update the target application in a target-updated mode based on the forcibly-updated lowest version parameters and the ordinarily-updated highest version parameters, the target-updated mode is a forcibly-updated mode or an ordinarily-updated mode, a predetermined version of the target application is obtained based on the predetermined version link of the target application, and the target application is updated in a target-updated mode.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method of upgrade application, server and user equipment.
Background technology
In order to increase the function of application, and the leak that application is present is carried out to unify to repair, server notifies UE (users
Equipment, User Equipment) upgrade application.In the related, server has two ways to make UE upgrade applications:One kind is
Mandatory upgrade, that is, force all UE unifications upgradings, and the UE for refusing upgrading will be unable to operation application;Another kind is common upgrading, i.e.,
All users voluntarily choose whether upgrading, and regardless of whether upgrade, UE can normally run UE.
However, server unifies mandatory upgrade or the application of all UE that commonly upgrade, do not install in view of different UE
Application be discrepant.
The content of the invention
A kind of method of upgrade application, server and user equipment are embodiments provided, for realizing differentiation
Upgrade application, strengthens the specific aim of application upgrade.
In a first aspect, the invention provides a kind of method of upgrade application, including:
The request of the application upgrade information of the expression acquisition request intended application that server receive user equipment sends;
Based on the request, to the user equipment application upgrade information of the intended application, the application liter are sent
Level information includes minimum version parameter, the highest Release parameter of common upgrading and the predetermined version chain of intended application of mandatory upgrade
Connect, so that the highest version ginseng of minimum version parameter and the common upgrading of the user equipment based on the mandatory upgrade
Number, is determined the user equipment and is upgraded the intended application in targeted update mode, and the targeted update mode is mandatory upgrade
Mode or mode of commonly upgrading, based on the predetermined version link of the intended application the predetermined version of intended application is obtained, and according to institute
State targeted update mode to upgrade the intended application.
Optionally, the request includes representing the device type parameter of the user device type, based on the request, to
The user equipment sends the application upgrade information of the intended application, including:
The device type parameter in based on the request, it is determined that the target corresponding with the device type parameter
Using the first application upgrade information.
Second aspect, the invention provides a kind of method of upgrade application, including:
User equipment sends the request for representing the application upgrade information that user equipment requests obtain intended application to server;
Receive the application upgrade information of the intended application that the server is sent based on the request, the application liter
Level information includes minimum version parameter, the highest Release parameter of common upgrading and the predetermined version chain of intended application of mandatory upgrade
Connect;
The highest Release parameter of minimum version parameter and the common upgrading based on the mandatory upgrade, determines the use
Family equipment is upgraded the intended application in targeted update mode, and the targeted update mode is mandatory upgrade mode or common upgrading
Mode;
The predetermined version of intended application is obtained based on the predetermined version link of the intended application, and according to the targeted update side
The formula upgrading intended application.
Optionally, based on the mandatory upgrade minimum version parameter and the highest Release parameter of the common upgrading, bag
Include:
Obtain the current version parameter of the intended application that the user equipment is installed;
When minimum version parameter of the current version parameter less than the mandatory upgrade, the mandatory upgrade side is determined
Formula is the targeted update mode;
When the current version parameter is equal to or higher than the minimum version parameter of the mandatory upgrade, and less than common upgrading
Highest Release parameter when, determine the common upgrading mode be the targeted update mode.
Optionally, the request includes representing the device type parameter of the user device type, the application upgrade letter
Breath is specially the first application upgrade information, and user equipment should to server transmission expression user equipment requests acquisition intended application
With the request of upgrade information, including:
Obtain the device type parameter;
After the intended application starts, the request is generated based on the device type parameter, so that server is based on
The device type parameter in the request, it is determined that described the of the intended application corresponding with the device type parameter
One application upgrade information.
The third aspect, the invention provides a kind of server, including:
First receiver module, the application upgrade information of the expression acquisition request intended application sent for receive user equipment
Request;
First sending module, for based on the request, the application for sending the intended application to the user equipment to rise
Level information, the application upgrade information includes minimum version parameter, the highest Release parameter of common upgrading and the mesh of mandatory upgrade
Mark is linked using predetermined version, so that minimum version parameter and the common liter of the user equipment based on the mandatory upgrade
The highest Release parameter of level, is determined the user equipment and is upgraded the intended application in targeted update mode, the targeted update
Mode is mandatory upgrade mode or mode of commonly upgrading, and obtains intended application based on the predetermined version link of the intended application and makes a reservation for
Version, and upgrade the intended application according to the targeted update mode.
Optionally, the request includes representing the device type parameter of the user device type that described first sends mould
Block is used for based on the device type parameter in the request, it is determined that the target corresponding with the device type parameter should
First application upgrade information.
Fourth aspect, the invention provides a kind of user equipment, including:
Second sending module, for sending the application upgrade letter for representing that user equipment requests obtain intended application to server
The request of breath;
Second receiver module, the application for receiving the intended application that the server is sent based on the request rises
Level information, the application upgrade information includes minimum version parameter, the highest Release parameter of common upgrading and the mesh of mandatory upgrade
Mark is linked using predetermined version;
Determining module, for the minimum version parameter based on the mandatory upgrade and the highest version of common upgrading ginseng
Number, is determined the user equipment and is upgraded the intended application in targeted update mode, and the targeted update mode is mandatory upgrade
Mode or mode of commonly upgrading;
Upgraded module, for linking based on the predetermined version of the intended application the predetermined version of intended application is obtained, and according to
The targeted update mode is upgraded the intended application.
Optionally, the determining module is used to obtain the current version ginseng of the intended application that the user equipment is installed
Number;When minimum version parameter of the current version parameter less than the mandatory upgrade, determine that the mandatory upgrade mode is
The targeted update mode;It is when the current version parameter is equal to or higher than the minimum version parameter of the mandatory upgrade and low
When the highest Release parameter of common upgrading, determine that the common upgrading mode is the targeted update mode.
Optionally, the request includes representing the device type parameter of the user device type, the application upgrade letter
Breath is specially the first application upgrade information, and the user equipment also includes:
Generation module, for obtaining the device type parameter;After the intended application starts, based on the equipment class
Shape parameter generates the request so that server is based on the device type parameter in the request, it is determined that with the equipment
The first application upgrade information of the corresponding intended application of type parameter.
Said one or multiple technical schemes in the embodiment of the present application, at least imitates with following one or more technology
Really:
In the technical scheme of the embodiment of the present invention, the expression acquisition request target that server receive user equipment sends should
The request of application upgrade information, based on the request, to the user equipment application upgrade of the intended application is sent
Information, the application upgrade information includes minimum version parameter, the highest Release parameter of common upgrading and the target of mandatory upgrade
Link using predetermined version, and then minimum version parameter and the common upgrading of the user equipment based on the mandatory upgrade
Highest Release parameter, determine the user equipment and upgraded the intended application in targeted update mode, the targeted update side
Formula is mandatory upgrade mode or mode of commonly upgrading, and based on the predetermined version link of the intended application the predetermined version of intended application is obtained
This, and upgrade the intended application according to the targeted update mode.As can be seen here, server is wrapped by sending to user equipment
The application upgrade information of the minimum version parameter of mandatory upgrade and the highest Release parameter of common upgrading is included, and then user equipment can
To be answered according to the highest Release parameter of the minimum version parameter of mandatory upgrade and common upgrading, and the target installed with reference to itself
Actual conditions, determining should be with mandatory upgrade mode or common upgrading mode upgrade application.So, solve existing
The technical problem of all user equipment mandatory upgrades or common escalation target application can only be unified in technology, differentiation is realized
Upgrade application, strengthens the specific aim of application upgrade.
Description of the drawings
Fig. 1 is the method flow diagram of server side upgrade application in the embodiment of the present invention;
Fig. 2 is the method flow diagram of UE sides upgrade application in the embodiment of the present invention;
Fig. 3 is the logical flow chart that targeted update mode is determined in the embodiment of the present invention;
Fig. 4 is the structural representation of server in the embodiment of the present invention;
Fig. 5 is the structural representation of UE in the embodiment of the present invention.
Specific embodiment
A kind of method of upgrade application, server and user equipment are embodiments provided, for realizing differentiation
Upgrade application, strengthens the specific aim of application upgrade.
In order to solve above-mentioned technical problem, the technical scheme general thought that the present invention is provided is as follows:
In the technical scheme of the embodiment of the present invention, the expression acquisition request target that server receive user equipment sends should
The request of application upgrade information, based on the request, to the user equipment application upgrade of the intended application is sent
Information, the application upgrade information includes minimum version parameter, the highest Release parameter of common upgrading and the target of mandatory upgrade
Link using predetermined version, and then minimum version parameter and the common upgrading of the user equipment based on the mandatory upgrade
Highest Release parameter, determine the user equipment and upgraded the intended application in targeted update mode, the targeted update side
Formula is mandatory upgrade mode or mode of commonly upgrading, and based on the predetermined version link of the intended application the predetermined version of intended application is obtained
This, and upgrade the intended application according to the targeted update mode.As can be seen here, server is wrapped by sending to user equipment
The application upgrade information of the minimum version parameter of mandatory upgrade and the highest Release parameter of common upgrading is included, and then user equipment can
To be answered according to the highest Release parameter of the minimum version parameter of mandatory upgrade and common upgrading, and the target installed with reference to itself
Actual conditions, determining should be with mandatory upgrade mode or common upgrading mode upgrade application.So, solve existing
The technical problem of all user equipment mandatory upgrades or common escalation target application can only be unified in technology, differentiation is realized
Upgrade application, strengthens the specific aim of application upgrade.
Technical solution of the present invention is described in detail below by accompanying drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the case where not conflicting, the technical characteristic in the embodiment of the present application and embodiment can be mutually combined.
The terms "and/or", only a kind of incidence relation of description affiliated partner, represents there may be three kinds of passes
System, for example, A and/or B can be represented:Individualism A, while there is A and B, individualism B these three situations.In addition, herein
Middle character "/", typicallys represent forward-backward correlation pair as if a kind of relation of "or".
First aspect present invention provides a kind of method of upgrade application, refer to Fig. 1, is to service in the embodiment of the present invention
The method flow diagram of device side upgrade application.The method includes:
S101:Server receive user equipment send expressions acquisition request intended application application upgrade information ask
Ask;
S102:Based on the request, to the user equipment application upgrade information of the intended application is sent.
Specifically, the intended application in the embodiment of the present invention can be the application that arbitrarily can be upgraded, such as net
The live application of network, shopping application, chat application or reader application etc., the present invention is not particularly limited.Server is offer mesh
Mark application installation package, AKU and safeguard the network equipment of intended application.User equipment is that the target for installing any version is answered
User side equipment.
First, in S101, server receives the application upgrade information of the expression acquisition request intended application that UE sends
Request.In embodiments of the present invention, UE can send at any time to server and ask, for example, starting intended application every time
It is rear to server send ask, or receive user input for detect upgraded version operation it is rear to server
Request is sent, or every preset duration, is sent to server within such as 7 days and is once asked.Art ordinary skill of the present invention
Personnel can be according to actually being selected, and the present invention is not particularly limited.
Server is received after the request that UE sends, and in S102, based on request, to UE the application upgrade of intended application is sent
Information.In embodiments of the present invention, application upgrade information includes the minimum version parameter of mandatory upgrade, the highest version of common upgrading
This parameter and the predetermined version link of intended application.Wherein, the minimum version parameter of mandatory upgrade is need mandatory upgrade minimum
The parameter of version.The highest Release parameter of common upgrading is the parameter by the highest version that can be reached of commonly upgrading.Target
AKU or the link of installation kit of the predetermined version of intended application are linked as using predetermined version.During implementing,
Application upgrade information can further include mandatory upgrade information and common upgrade tip information etc., and this present invention does not do
Concrete restriction.
During implementing, the corresponding intended application versions of UE of distinct device type are different.For example,
Device type is specially the intended application of Android versions for the corresponding intended applications of UE of Android Android, and device type is
The UE of apple mobile terminal operating system ios, corresponding intended application is specially the intended application of ios versions.
Therefore, in embodiments of the present invention, the application upgrade information that server sends to UE, can be to include each version
Application upgrade information, then, UE receive application upgrade information after, according to equipment of itself type, filter out and be adapted to itself
The application upgrade information of version, and escalation target application accordingly.Or, in a kind of optional embodiment, can be with request
Include the device type parameter of UE device types, and then S102 then specifically can include:
The device type parameter in based on the request, it is determined that the target corresponding with the device type parameter
Using the first application upgrade information.
Specifically, the device type parameter in the embodiment of the present invention can be device type itself, such as Android,
Ios or Windows etc..Or, device type parameter can also be device type correspondence code, such as device type ios it is right
Code is answered to be 0, the correspondence code of device type Android is 1.Those skilled in the art can be according to actually entering
Row is selected, and the present invention is not particularly limited.
In embodiments of the present invention, when UE sends request, device type parameter is obtained.UE can give birth to after intended application startup
Function is finished into startup, and startup is finished into function and be sent to server.Therefore, startup can be finished in the embodiment of the present invention
Device type parameter is included in startup and is finished in function by function as request.Further, server receives startup and finishes letter
Count, and parse startup and finish the device type parameter that function is included.Then, from the application upgrade information of multiple different editions
Determine that the corresponding first application upgrade information of device type parameter is sent to UE.
As an example it is assumed that device type parameter is specially type, with the corresponding representation of device type, the correspondence of ios
Code is 1 for the correspondence code of 0, Android.The minimum version parameter of the mandatory upgrade of Android versions with
MinAndroidVersion represents that the highest Release parameter of common upgrading is represented with maxAndroidVersion, intended application
Predetermined version link is represented with androidDownloadLink.Further, it is assumed that in the application upgrade information of Android versions
Also include mandatory upgrade information minAndroidVersionTips and common upgrade tip information
maxAndroidVersionTips.The minimum version parameter of the mandatory upgrade of ios versions represents with minIosVersion, commonly
The highest Release parameter of upgrading represents that the predetermined version of intended application is linked with IosDownloadLink tables with maxIosVersion
Show.Further, it is assumed that also include mandatory upgrade information minIosVersionTips in the application upgrade information of ios versions
With common upgrade tip information maxIosVersionTips.
UE is completed after intended application startup, reads itself device type, if ios device types, then makes type=0,
If Android device type, then type=1 is made.Then type=1 or type=0 are covered into startup and finishes function
In be sent to server.
Server receives startup and finishes function and parsed.If parsing type=1, Android versions are obtained
Application upgrade information " minAndroidVersion, maxAndroidVersion, androidDownloadLink,
MinAndroidVersionTips and maxAndroidVersionTips ", and the application upgrade information of Android versions is sent out
Give UE.If parsing type=0, obtain ios versions application upgrade information " minIosVersion,
MaxIosVersion, IosDownloadLink, minIosVersionTips and maxIosVersionTips ", and by ios versions
This application upgrade information is sent to UE.
It is the method flow diagram of UE sides upgrade application in the embodiment of the present invention next, refer to Fig. 2.The method includes:
S201:User equipment sends to server and represents the application upgrade information that user equipment requests obtain intended application
Request;
S202:Receive the application upgrade information of the intended application that the server is sent based on the request;
S203:The highest Release parameter of minimum version parameter and the common upgrading based on the mandatory upgrade, it is determined that
The user equipment is upgraded the intended application in targeted update mode;
S204:The predetermined version of intended application is obtained based on the predetermined version link of the intended application, and according to the target
Upgrading mode is upgraded the intended application.
Specifically, the UE application upgrade information that the reception server sends in S202.Further, if server be by
The application upgrade information of each version is packaged in application upgrade information, then UE is further also needed to according to equipment of itself class
Type, filters out the application upgrade information for being adapted to itself version.The application upgrade information that for example server sends includes Android
Version application upgrade information (minAndroidVersion, maxAndroidVersion, androidDownloadLink,
MinAndroidVersionTips and maxAndroidVersionTips) and ios versions application upgrade information
(minIosVersion, maxIosVersion, IosDownloadLink, minIosVersionTips and
MaxIosVersionTips), UE is ios device types, then UE voluntarily filters out minIosVersion, maxIosVersion,
IosDownloadLink, minIosVersionTips and maxIosVersionTips.
Or, UE can also be by before S201, performing following operation:
Obtain the device type parameter;
After the intended application starts, the request is generated based on the device type parameter, so that server is based on
The device type parameter in the request, it is determined that described the of the intended application corresponding with the device type parameter
One application upgrade information.
So server directly will send the first application liter matched with UE device types based on device type parameter to UE
Level information.The implementation of above-mentioned generation request has been introduced above, and herein just it is no longer repeated.Implementing
Cheng Zhong, those skilled in the art can select to send to UE or not transmission device types parameter type,
The present invention is not particularly limited.
Then, minimum version parameter in S203 based on the mandatory upgrade in application upgrade information and the highest of common upgrading
Release parameter, it is determined whether upgrade application, and determine that then specifically upgrading in targeted update mode should if necessary to upgrade application
With.Targeted update mode in the embodiment of the present invention includes mandatory upgrade mode and common upgrading mode.S203 can be by such as
Lower process is realized:
Obtain the current version parameter of the intended application that the user equipment is installed;
When minimum version parameter of the current version parameter less than the mandatory upgrade, the mandatory upgrade side is determined
Formula is the targeted update mode;
When the current version parameter is equal to or higher than the minimum version parameter of the mandatory upgrade, and less than common upgrading
Highest Release parameter when, determine the common upgrading mode be the targeted update mode.
Specifically, UE reads the current version parameter of the intended application being currently installed in UE, then by current version
Parameter is compared with the highest Release parameter of the minimum version parameter of mandatory upgrade and common upgrading, and then determines the need for
Escalation target application, and if wanting escalation target application, specific targeted update mode.
In embodiments of the present invention, no matter server to UE send be each version application upgrade information, it is or right
Should be in the first application upgrade information of UE, in the minimum version parameter and common upgrading of relatively current version parameter and mandatory upgrade
Highest Release parameter when, be the highest version ginseng of minimum version parameter with the mandatory upgrade of same version and common upgrading
Number is compared.
For convenience of explanation, the present invention is illustrated by taking Android versions and ios versions as an example.Fig. 3 is refer to, is this
The logical flow chart of targeted update mode is determined in inventive embodiments.
1st, the UE of Android types:The minAndroidVersion that UE the reception servers send,
MaxAndroidVersion, androidDownloadLink, minAndroidVersionTips and
maxAndroidVersionTips.Obtain current version parameter AndroidCurrentVersion.When
When AndroidCurrentVersion is less than minAndroidVersion, the intended application version mistake that UE is currently installed on is represented
It is low, need to carry out mandatory upgrade just to allow user to be continuing with, escalation target application is needed so determining, and determine targeted update
Mode is mandatory upgrade mode.Then, obtain pre- higher than minAndroidVersion based on androidDownloadLink
Determine version, and then escalation target application.Meanwhile, the bullet frame of android system is called, minAndroidVersionTips is exported,
To point out ownership goal application to perform mandatory upgrade.
And work as AndroidCurrentVersion equal to or higher than minAndroidVersion, and
When AndroidCurrentVersion is less than maxAndroidVersion, represent in UE the intended application version that is currently installed on compared with
Height, but be not highest version, therefore regardless of whether upgrading can be allowed for being continuing with.Need to rise so now determining
Level intended application, but targeted update mode is then common upgrading mode.Next, calling the bullet frame of android system, export
MaxAndroidVersionTips, points out user to select upgrading or do not upgrade.If user selects upgrading, further base
Predetermined version, and then escalation target application are obtained in androidDownloadLink.
And if AndroidCurrentVersion is equal to or higher than maxAndroidVersion, then it represents that it is current in UE
The intended application version of installation has been highest, so determining escalation target application is not needed.
2nd, the UE of ios types:MinIosVersion, maxIosVersion that UE the reception servers send,
IosDownloadLink, minIosVersionTips and maxIosVersionTips.Obtain current version parameter
IosCurrentVersion.When IosCurrentVersion is less than minIosVersion, the target that UE is currently installed on is represented
Application version is too low, needs to carry out mandatory upgrade just to allow user to be continuing with, so determining escalation target application is needed, and really
The upgrading mode that sets the goal is mandatory upgrade mode.Then, obtained higher than minIosVersion based on IosDownloadLink
Predetermined version, and then escalation target application.Meanwhile, the bullet frame of ios systems is called, minIosVersionTips is exported, to point out
Ownership goal application will perform mandatory upgrade.
And work as IosCurrentVersion and be less than equal to or higher than minIosVersion, and IosCurrentVersion
During maxIosVersion, represent that the intended application version being currently installed in UE is higher, but be not highest version, therefore no matter
Whether upgrading can be allowed for being continuing with.Escalation target application is needed so now determining, but targeted update mode
It is then common upgrading mode.Next, calling the bullet frame of ios systems, maxIosVersionTips is exported, point out user to select
Upgrading or not.If user selects upgrading, it is based further on IosDownloadLink and obtains predetermined version, and then
Escalation target application.
And if IosCurrentVersion is equal to or higher than maxIosVersion, then it represents that the mesh being currently installed in UE
Mark application version has been highest, so determining escalation target application is not needed.
By foregoing description as can be seen that in the technical scheme of the embodiment of the present invention, server receive user equipment sends
Expression acquisition request intended application application upgrade information request, based on the request, to the user equipment institute is sent
The application upgrade information of intended application is stated, the application upgrade information includes the minimum version parameter of mandatory upgrade, common upgrading
Highest Release parameter and the link of intended application predetermined version, and then minimum version of the user equipment based on the mandatory upgrade
This parameter and the highest Release parameter of the common upgrading, are determined the user equipment and are upgraded the target in targeted update mode
Using the targeted update mode is mandatory upgrade mode or mode of commonly upgrading, based on the predetermined version chain of the intended application
Obtain and take the predetermined version of intended application, and upgrade the intended application according to the targeted update mode.As can be seen here, server
Risen by sending the application of the highest Release parameter of the minimum version parameter and common upgrading for including mandatory upgrade to user equipment
Level information, and then the highest Release parameter that user equipment can upgrade according to the minimum version parameter of mandatory upgrade and commonly, and
The actual conditions of the intended application installed with reference to itself, determining should be with mandatory upgrade mode or common upgrading mode liter
Level application.So, solve and can only unify in prior art all user equipment mandatory upgrades or common escalation target application
Technical problem, realize differentiation upgrade application, strengthen the specific aim of application upgrade.
Based on the inventive concept same with the method for upgrade application in previous embodiment, the present invention also provides a kind of service
Device, as shown in figure 4, including:
First receiver module 101, the application upgrade of the expression acquisition request intended application sent for receive user equipment
The request of information;
First sending module 102, for based on the request, to the user equipment application of the intended application being sent
Upgrade information, the minimum version parameter of the application upgrade information including mandatory upgrade, the highest Release parameter of common upgrading and
Intended application predetermined version link, so that minimum version parameter of the user equipment based on the mandatory upgrade and described common
The highest Release parameter of upgrading, is determined the user equipment and is upgraded the intended application in targeted update mode, the target liter
Level mode is mandatory upgrade mode or mode of commonly upgrading, and obtains intended application based on the predetermined version link of the intended application pre-
Determine version, and upgrade the intended application according to the targeted update mode.
Wherein, request includes representing the device type parameter of user device type that then the first sending module 102 is used to be based on
The device type parameter in the request, it is determined that the first of the intended application corresponding with the device type parameter should
Use upgrade information.
The various change mode and instantiation of the method for the upgrade application in earlier figures 1- Fig. 3 embodiments is equally applicable to
The server of the present embodiment, by the detailed description of the aforementioned method to upgrade application, those skilled in the art can be clearly
Know the implementation of server in the present embodiment, thus it is succinct for specification, will not be described in detail herein.
Based on the inventive concept same with the method for upgrade application in previous embodiment, the present invention also provides a kind of UE, such as
Shown in Fig. 5, including:
Second sending module 201, represents that user equipment requests obtain the application of intended application and rise for sending to server
The request of level information;
Second receiver module 202, for receiving answering for the intended application that the server is sent based on the request
With upgrade information, minimum version parameter, the common highest Release parameter upgraded of the application upgrade information including mandatory upgrade
With the predetermined version link of intended application;
Determining module 203, for the minimum version parameter based on the mandatory upgrade and the highest version of the common upgrading
This parameter, is determined the user equipment and is upgraded the intended application in targeted update mode, and the targeted update mode is to force
Upgrading mode or mode of commonly upgrading;
Upgraded module 204, for obtaining the predetermined version of intended application based on the predetermined version link of the intended application, and presses
Upgrade the intended application according to the targeted update mode.
Specifically, determining module 203 is used to obtain the current version of the intended application that the user equipment is installed
Parameter;When minimum version parameter of the current version parameter less than the mandatory upgrade, the mandatory upgrade mode is determined
For the targeted update mode;When the current version parameter is equal to or higher than the minimum version parameter of the mandatory upgrade, and
During less than the commonly highest Release parameter of upgrading, determine that the common upgrading mode is the targeted update mode.
Further, user equipment also includes:
Generation module, for obtaining the device type parameter;After the intended application starts, based on the equipment class
Shape parameter generates the request so that server is based on the device type parameter in the request, it is determined that with the equipment
The first application upgrade information of the corresponding intended application of type parameter.
The various change mode and instantiation of the method for the upgrade application in earlier figures 1- Fig. 3 embodiments is equally applicable to
The UE of the present embodiment, by the detailed description of the aforementioned method to upgrade application, those skilled in the art are clear that
The implementation of UE in the present embodiment, thus it is succinct for specification, will not be described in detail herein.
Said one or multiple technical schemes in the embodiment of the present application, at least imitates with following one or more technology
Really:
By foregoing description as can be seen that in the technical scheme of the embodiment of the present invention, server receive user equipment sends
Expression acquisition request intended application application upgrade information request, based on the request, to the user equipment institute is sent
The application upgrade information of intended application is stated, the application upgrade information includes the minimum version parameter of mandatory upgrade, common upgrading
Highest Release parameter and the link of intended application predetermined version, and then minimum version of the user equipment based on the mandatory upgrade
This parameter and the highest Release parameter of the common upgrading, are determined the user equipment and are upgraded the target in targeted update mode
Using the targeted update mode is mandatory upgrade mode or mode of commonly upgrading, based on the predetermined version chain of the intended application
Obtain and take the predetermined version of intended application, and upgrade the intended application according to the targeted update mode.As can be seen here, server
Risen by sending the application of the highest Release parameter of the minimum version parameter and common upgrading for including mandatory upgrade to user equipment
Level information, and then the highest Release parameter that user equipment can upgrade according to the minimum version parameter of mandatory upgrade and commonly, and
The actual conditions of the intended application installed with reference to itself, determining should be with mandatory upgrade mode or common upgrading mode liter
Level application.So, solve and can only unify in prior art all user equipment mandatory upgrades or common escalation target application
Technical problem, realize differentiation upgrade application, strengthen the specific aim of application upgrade.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware
Apply the form of example.And, the present invention can be adopted and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) is produced
The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of method of upgrade application, it is characterised in that include:
The request of the application upgrade information of the expression acquisition request intended application that server receive user equipment sends;
Based on the request, to the user equipment application upgrade information of the intended application, the application upgrade letter are sent
Breath includes the predetermined version link of minimum version parameter, the highest Release parameter of common upgrading and intended application of mandatory upgrade, with
The highest Release parameter of minimum version parameter and the common upgrading of the user equipment based on the mandatory upgrade is made, it is determined that
The user equipment is upgraded the intended application in targeted update mode, and the targeted update mode is mandatory upgrade mode or general
Logical upgrading mode, based on the predetermined version link of the intended application the predetermined version of intended application is obtained, and according to the target liter
Level mode is upgraded the intended application.
2. the method for claim 1, it is characterised in that the request includes the equipment for representing the user device type
Type parameter, based on the request, to the user equipment application upgrade information of the intended application is sent, including:
The device type parameter in based on the request, it is determined that the intended application corresponding with the device type parameter
The first application upgrade information.
3. a kind of method of upgrade application, it is characterised in that include:
User equipment sends the request for representing the application upgrade information that user equipment requests obtain intended application to server;
Receive the application upgrade information of the intended application that the server is sent based on the request, the application upgrade letter
Breath includes the predetermined version link of minimum version parameter, the highest Release parameter of common upgrading and intended application of mandatory upgrade;
The highest Release parameter of minimum version parameter and the common upgrading based on the mandatory upgrade, determines that the user sets
Standby to be upgraded the intended application in targeted update mode, the targeted update mode is mandatory upgrade mode or common upgrading side
Formula;
The predetermined version of intended application is obtained based on the predetermined version link of the intended application, and according to the targeted update mode liter
The level intended application.
4. method as claimed in claim 3, it is characterised in that minimum version parameter based on the mandatory upgrade and described general
The highest Release parameter of logical upgrading, including:
Obtain the current version parameter of the intended application that the user equipment is installed;
When minimum version parameter of the current version parameter less than the mandatory upgrade, determine that the mandatory upgrade mode is
The targeted update mode;
When the current version parameter is equal to or higher than the minimum version parameter of the mandatory upgrade, and upgrade most less than common
During highest version parameter, determine that the common upgrading mode is the targeted update mode.
5. method as claimed in claim 4, it is characterised in that the request includes the equipment for representing the user device type
Type parameter, the application upgrade information is specially the first application upgrade information, sends to server in user equipment and represents use
Family device request is obtained before the request of the application upgrade information of intended application, is also included:
Obtain the device type parameter;
After the intended application starts, the request is generated based on the device type parameter, so that server is based on described
The device type parameter in request, it is determined that described the first of the intended application corresponding with the device type parameter should
Use upgrade information.
6. a kind of server, it is characterised in that include:
First receiver module, for receive user equipment send expressions acquisition request intended application application upgrade information ask
Ask;
First sending module, for based on the request, to the user equipment application upgrade letter of the intended application being sent
Breath, the application upgrade information includes that minimum version parameter, the highest Release parameter of common upgrading and the target of mandatory upgrade should
Linked with predetermined version, so that minimum version parameter and the common upgrading of the user equipment based on the mandatory upgrade
Highest Release parameter, is determined the user equipment and is upgraded the intended application in targeted update mode, the targeted update mode
For mandatory upgrade mode or mode of commonly upgrading, the predetermined version of intended application is obtained based on the predetermined version link of the intended application
This, and upgrade the intended application according to the targeted update mode.
7. server as claimed in claim 6, it is characterised in that the request includes representing setting for the user device type
Standby type parameter, first sending module is used for based on the device type parameter in the request, it is determined that setting with described
First application upgrade information of the corresponding intended application of standby type parameter.
8. a kind of user equipment, it is characterised in that include:
Second sending module, for sending to server the application upgrade information that user equipment requests obtain intended application is represented
Request;
Second receiver module, for receiving the application upgrade letter of the intended application that the server is sent based on the request
Breath, the application upgrade information includes that minimum version parameter, the highest Release parameter of common upgrading and the target of mandatory upgrade should
Linked with predetermined version;
Determining module, for the minimum version parameter based on the mandatory upgrade and the highest Release parameter of the common upgrading,
Determine the user equipment and upgraded the intended application in targeted update mode, the targeted update mode is mandatory upgrade mode
Or mode of commonly upgrading;
Upgraded module, for obtaining the predetermined version of intended application based on the predetermined version link of the intended application, and according to described
Targeted update mode is upgraded the intended application.
9. user equipment as claimed in claim 8, it is characterised in that the determining module is used to obtain the user equipment peace
The current version parameter of the intended application of dress;When the current version parameter is joined less than the minimum version of the mandatory upgrade
During number, determine that the mandatory upgrade mode is the targeted update mode;When the current version parameter is equal to or higher than described
The minimum version parameter of mandatory upgrade, and during less than the commonly highest Release parameter of upgrading, determine that the common upgrading mode is
The targeted update mode.
10. user equipment as claimed in claim 9, it is characterised in that the request includes representing the user device type
Device type parameter, the application upgrade information is specially the first application upgrade information, and the user equipment also includes:
Generation module, for obtaining the device type parameter;After the intended application starts, joined based on the device type
Number generates the request so that server is based on the device type parameter in the request, it is determined that with the device type
The first application upgrade information of the corresponding intended application of parameter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611130139.3A CN106648769A (en) | 2016-12-09 | 2016-12-09 | Application upgrading method, server and user device |
PCT/CN2017/075738 WO2018103217A1 (en) | 2016-12-09 | 2017-03-06 | Method for upgrading application, and server and user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611130139.3A CN106648769A (en) | 2016-12-09 | 2016-12-09 | Application upgrading method, server and user device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648769A true CN106648769A (en) | 2017-05-10 |
Family
ID=58824806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611130139.3A Pending CN106648769A (en) | 2016-12-09 | 2016-12-09 | Application upgrading method, server and user device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106648769A (en) |
WO (1) | WO2018103217A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608689A (en) * | 2017-08-07 | 2018-01-19 | 阿里巴巴集团控股有限公司 | The update method of application program, device and electronic equipment in client |
CN107678759A (en) * | 2017-09-11 | 2018-02-09 | 上海斐讯数据通信技术有限公司 | A kind of method and system of upgrade applications |
CN109739540A (en) * | 2019-01-03 | 2019-05-10 | 中国联合网络通信集团有限公司 | The data update system of data-updating method, data update apparatus and eUICC mould group |
CN110308914A (en) * | 2018-03-27 | 2019-10-08 | 广东神马搜索科技有限公司 | Upgrade processing method, device, equipment, system and computer readable storage medium |
CN111209018A (en) * | 2019-12-20 | 2020-05-29 | 上海淇玥信息技术有限公司 | Application upgrading prompt information processing method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102946564A (en) * | 2012-11-29 | 2013-02-27 | 乐视致新电子科技(天津)有限公司 | Video service system automatic update method |
CN103731815A (en) * | 2012-10-11 | 2014-04-16 | 北京新媒传信科技有限公司 | Method and device for achieving mobile phone client software upgrading |
CN105893070A (en) * | 2015-11-25 | 2016-08-24 | 乐视云计算有限公司 | Application SDK upgrading method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354043A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Terminal upgrading method and apparatus |
CN105549998B (en) * | 2015-12-15 | 2019-11-12 | Tcl集团股份有限公司 | A kind of method and system for dynamically associating upgrading of end application |
-
2016
- 2016-12-09 CN CN201611130139.3A patent/CN106648769A/en active Pending
-
2017
- 2017-03-06 WO PCT/CN2017/075738 patent/WO2018103217A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731815A (en) * | 2012-10-11 | 2014-04-16 | 北京新媒传信科技有限公司 | Method and device for achieving mobile phone client software upgrading |
CN102946564A (en) * | 2012-11-29 | 2013-02-27 | 乐视致新电子科技(天津)有限公司 | Video service system automatic update method |
CN105893070A (en) * | 2015-11-25 | 2016-08-24 | 乐视云计算有限公司 | Application SDK upgrading method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608689A (en) * | 2017-08-07 | 2018-01-19 | 阿里巴巴集团控股有限公司 | The update method of application program, device and electronic equipment in client |
WO2019029457A1 (en) * | 2017-08-07 | 2019-02-14 | 阿里巴巴集团控股有限公司 | Method and apparatus for updating application program on client, and electronic device |
CN107608689B (en) * | 2017-08-07 | 2020-01-21 | 阿里巴巴集团控股有限公司 | Method and device for updating application program on client and electronic equipment |
TWI695318B (en) * | 2017-08-07 | 2020-06-01 | 香港商阿里巴巴集團服務有限公司 | Method, device and electronic equipment for updating application program on user terminal |
CN107678759A (en) * | 2017-09-11 | 2018-02-09 | 上海斐讯数据通信技术有限公司 | A kind of method and system of upgrade applications |
CN110308914A (en) * | 2018-03-27 | 2019-10-08 | 广东神马搜索科技有限公司 | Upgrade processing method, device, equipment, system and computer readable storage medium |
CN109739540A (en) * | 2019-01-03 | 2019-05-10 | 中国联合网络通信集团有限公司 | The data update system of data-updating method, data update apparatus and eUICC mould group |
CN111209018A (en) * | 2019-12-20 | 2020-05-29 | 上海淇玥信息技术有限公司 | Application upgrading prompt information processing method and device and electronic equipment |
CN111209018B (en) * | 2019-12-20 | 2023-09-19 | 上海淇玥信息技术有限公司 | Method and device for processing application upgrading prompt information and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2018103217A1 (en) | 2018-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106648769A (en) | Application upgrading method, server and user device | |
US10225145B2 (en) | Method and device for updating client | |
US20110065511A1 (en) | System and method of providing leaderboards for mobile gaming in a wireless network | |
CN103902729A (en) | Method and device for recommending application program | |
CN108721898B (en) | Frame rate determination method and apparatus, storage medium, and electronic apparatus | |
CN104156246B (en) | The method and device of gray scale upgrading | |
CN104835056A (en) | Information push method and information push system | |
CN108038398B (en) | Two-dimensional code analysis capability test method and device and electronic equipment | |
CN104994060A (en) | Method and device for providing verification for user login | |
CN106130972B (en) | resource access control method and device | |
CN104580451A (en) | Method and system for achieving account number synchronization among multiple platforms, and electronic device | |
CN109445827B (en) | Game updating method and device, electronic equipment and storage medium | |
CN105930197A (en) | Software upgrading method and electronic equipment | |
CN105700872B (en) | The control method and system of intelligent terminal application program updating | |
CN108632667A (en) | A kind of coding/decoding method and terminal of multimedia file | |
CN106911559B (en) | Method and device for establishing voice connection | |
CN108014499B (en) | Application parameter adjusting method and device | |
CN110837381B (en) | Software upgrading method and device for projection equipment | |
CN104618324A (en) | Method and device for transmitting data and detecting data legality | |
CN107154971A (en) | One kind application method for down loading and device | |
CN109561050B (en) | Method and device for identifying batch account numbers | |
CN111194059A (en) | Data connection method and device, electronic equipment and readable storage medium | |
CN106776261A (en) | Object method of testing and device | |
CN109005143B (en) | Method and device for adjusting website load | |
US8374593B2 (en) | Method of providing mobile application |
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: 20170510 |