CN109814894A - A kind of application update method, device, equipment and storage medium - Google Patents
A kind of application update method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109814894A CN109814894A CN201811326218.0A CN201811326218A CN109814894A CN 109814894 A CN109814894 A CN 109814894A CN 201811326218 A CN201811326218 A CN 201811326218A CN 109814894 A CN109814894 A CN 109814894A
- Authority
- CN
- China
- Prior art keywords
- application
- version
- terminal
- target application
- information
- 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
Abstract
The embodiment of the present application provides a kind of application update method, device, equipment and storage medium, wherein, the described method includes: when detecting target application, there are when new version, request message is updated to server sending application, wherein, the application updates the version block information in request message including terminal models information and target application;It receives the application that the server updates request message based on the application and sends and updates response message, wherein, the application updates the new version in response message including the target application and identifies, and the new version mark of the target application is determined according to the version block information of the terminal models information and the target application;It receives the new version corresponding with new version mark that the server is sent and updates packet;Packet, which is updated, according to the new version updates the target application.
Description
Technical field
This application involves field of terminal technology, relates to, but are not limited to a kind of application update method, device, equipment and storage and be situated between
Matter.
Background technique
Currently, the application program of mobile terminal carries out during update not for the terminal type of characteristic (type)
It updates, application shop or application itself only can tell user, have new version, determine whether user will update.In general, in order to
Keep good experience, the renewal frequency of application program be it is very high, it is often 3 days one small for some application programs
It updates, it is 5 days one big to update.In these updates, have plenty of to repair some defects or problem (bug), and it is most of
It applies when updating, is for a part of type, i.e. this part has that the type of bug is considered as type.
In the prior art, all terminal models can be all updated.In this way, the problem is that, terminal carries out
Some unnecessary updates, to user cause it is certain bother, and the update applied at present is installed using cover type,
What is downloaded is a complete installation kit, very big to the occupancy of flow, so will cause some unnecessary flow wastes.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of application update method, device, equipment and storage medium, Neng Goushi
Now the orientation of terminal applies is updated, and it is more accurate to orient update, meanwhile, it is capable to guarantee to avoid when updating application
Unnecessary flow waste.
The technical solution of the embodiment of the present application is achieved in that
In a first aspect, the embodiment of the present application provide it is a kind of using update method, which comprises
When detecting target application there are when new version, request message is updated to server sending application, wherein described to answer
With the version block information updated in request message including terminal models information and target application;
It receives the application that the server updates request message based on the application and sends and updates response message, wherein
The application updates the new version in response message including the target application and identifies, and the new version mark of the target application is
It is determined according to the version block information of the terminal models information and the target application;
It receives the new version corresponding with new version mark that the server is sent and updates packet;
Packet, which is updated, according to the new version updates the target application.
In other embodiments, before the update request message to server sending application, further includes:
Obtain the current version information of the target application;
The current version information is sent to the server;
Receiving the server, there are the application update notifying message sent when new version detecting the target application.
In other embodiments, before the update request message to server sending application, further includes:
End message library is established, includes the version section letter of the terminal models information, application in the end message library
Mapping relations between breath and application identities three;
It is described to include: to server sending application update request message
When detecting the target application, there are the terminal models letter when new version, is obtained in the end message library
The version block information of the corresponding target application of application identities of breath and the target application;
The application, which is formed, according to the version block information of the terminal models information and the target application updates request
Information and sending is to server.
Second aspect, the embodiment of the present application provide a kind of using update method, which comprises
It receives the application that terminal is sent and updates request message, wherein it includes terminating machine in request message that the application, which updates,
The version block information of type information and target application;
It responds the application and updates request message, according to the version section of the terminal models information and the target application
Information determines the new version mark of the application;
Response message is updated to the terminal sending application, wherein it includes described answer that the application, which updates in response message,
New version mark;
New version corresponding with new version mark, which is sent, to the terminal updates packet;
When the terminal has updated the target application, receives the update that the terminal is sent and complete message.
In other embodiments, the method also includes:
Receive the current version information for the target application that the terminal is sent;
Determine the target application with the presence or absence of new version according to the current version information;
If it does, to the terminal sending application update notifying message.
In other embodiments, the terminal models information includes at least one of: classification, the terminal of operating system are worked as
The version number of preceding operating system, terminal models;The version section information of the target application includes the current version of the application
And at least one version before current version.
The third aspect, the embodiment of the present application provide a kind of using updating device, and described device includes:
First transmission unit, for when detecting that target application there are when new version, asks to the update of server sending application
Seek message, wherein the application updates the version block information in request message including terminal models information and target application;
First receiving unit, for receive the server based on the application update request message and send application more
New response message, wherein the application updates the new version in response message including the target application and identifies, and the target is answered
New version mark is determined according to the version block information of the terminal models information and the target application;
Second receiving unit is updated for receiving the new version corresponding with new version mark that the server is sent
Packet;
Updating unit updates the target application for updating packet according to the new version.
In other embodiments, described device further include:
First acquisition unit, for obtaining the current version information of the target application;
4th transmission unit, for the current version information to be sent to the server;
5th receiving unit is detecting that there are send when new version the target application for receiving the server
Using update notifying message.
In other embodiments, described device further include:
Unit is established, includes the terminal models information, application in the end message library for establishing end message library
Version block information and application identities three between mapping relations;
First transmission unit includes:
First obtains module, for when detecting the target application there are when new version, in the end message library
Obtain the version section letter of the corresponding target application of application identities of the terminal models information and the target application
Breath;
Module is formed, it is described for being formed according to the version block information of the terminal models information and the target application
Using update request message and it is sent to server.
Fourth aspect, the embodiment of the present application provide a kind of using updating device, and described device includes:
Third receiving unit, the application for receiving terminal transmission update request message, wherein the application updates request
It include the version block information of terminal models information and target application in message;
Response unit updates request message for responding the application, according to the terminal models information and the target
The version block information of application determines the new version mark of the application,
Second transmission unit, for updating response message to the terminal sending application, wherein the application updates response
New version in message including the application identifies;
Third transmission unit updates packet for sending new version corresponding with new version mark to the terminal;
4th receiving unit is sent more for when the terminal has updated the target application, receiving the terminal
It is new to complete message.
In other embodiments, described device further include:
6th receiving unit, for receiving the current version information for the target application that the terminal is sent;
First determination unit, for determining the target application with the presence or absence of new version according to the current version information;
5th transmission unit, for if there is new version, Xiang Suoshu terminal sending application update notifying message.
In other embodiments, the terminal models information includes at least one of: classification, the terminal of operating system are worked as
The version number of preceding operating system, terminal models;The version section information of the target application includes the current version of the application
And at least one version before current version.
5th aspect, the embodiment of the present application provides a kind of application more new equipment, and the equipment includes at least: processor and matching
It is set to the storage medium of storage executable instruction, in which: the processor is configured to execute the executable instruction of storage;
The executable instruction is configured to execute above-mentioned using update method.
6th aspect, the embodiment of the present application provide a kind of storage medium, and computer is stored in the storage medium to be held
Row instruction, the computer executable instructions are configured to execute above-mentioned using update method.
Application update method, device, equipment and storage medium provided by the embodiments of the present application, wherein the described method includes:
When detecting target application there are when new version, request message is updated to server sending application, wherein the application update is asked
Seek the version block information in message including terminal models information and target application;It receives the server and is based on the application more
New request message and the application sent updates response message, wherein it includes that the target is answered that the application, which updates in response message,
The new version mark of new version mark, the target application is according to the terminal models information and the target application
What version block information determined;It receives the new version corresponding with new version mark that the server is sent and updates packet;Root
Packet, which is updated, according to the new version updates the target application.In this way, including that terminal models are believed since application updates in request message
The version block information of breath and target application, so as to realize the orientation update to target application, and it is more quasi- to orient update
Really;And the target application is updated due to updating packet according to new version, thereby it is ensured that when updating target application
Unnecessary flow is avoided to waste.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views
As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and
Unrestricted mode generally shows each embodiment discussed herein.
Fig. 1 is the implementation process schematic diagram of the application update method of the embodiment of the present application one;
Fig. 2 is the implementation process schematic diagram of the application update method of the embodiment of the present application two;
Fig. 3 is the implementation process schematic diagram of the application update method of the embodiment of the present application three;
Fig. 4 is the composed structure schematic diagram of the application updating device of the embodiment of the present application five;
Fig. 5 is the composed structure schematic diagram of the application updating device of the embodiment of the present application six;
Fig. 6 is the composed structure schematic diagram of the embodiment of the present application application more new equipment.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the specific technical solution of invention is described in further detail.Following embodiment does not have to for illustrating the application
To limit scope of the present application.
Embodiment one
The embodiment of the present application provides a kind of using update method, is applied to terminal device, the terminal device can be hand
The electronic equipments such as machine, tablet computer, laptop, desktop computer, personal digital assistant, the target application are that can pacify
Any one application program being attached on the terminal device, the system of the terminal device can be Android system
(Android), the operating systems such as iOS system, windows phone, Saipan (Symbian), blackberry, blueberry (BlackBerry OS).
The function of being realized using update method of the present embodiment can be by the processor caller code in terminal device come real
Existing, certain program code can be stored in computer storage medium, it is seen then that the terminal device includes at least processor and storage
Medium.
Fig. 1 is the implementation process schematic diagram of the application update method of the embodiment of the present application one, as shown in Figure 1, the method packet
Include following steps:
Step S101 updates request message to server sending application when detecting target application there are when new version.
Here, the application updates the version block information in request message including terminal models information and target application.
Wherein, the terminal models information includes at least one of: classification, the version of terminal current operation system of operating system
Number, terminal models, for example, the classification of operating system includes Android system, iOS system, windows phone, Saipan, black
The operating systems such as the certain kind of berries (BlackBerry OS);The version number of terminal current operation system such as 7.1 version of IOS, 7.2 version of IOS
With IOS8.0 version etc.;Terminal models such as iphone4, iphone5, iphone6, iphone6plus, iPhone7 etc..
Before the version section information of the target application includes the current version and current version of the target application
At least one version.For example, the version block information of target application can be to which version before for current version
This update, such as current version is iOS10, then version section can be and be updated from IOS8.0 or more, for
IOS8.0 is below not to be updated.
In this implementation, when the target application in terminal is there are when new version, request message is updated to server sending application,
So, before step S101, the method also includes: terminal checks the application of itself, checks the application in terminal
With the presence or absence of new version.
Step S102 receives the application update response that the server updates request message based on the application and sends and disappears
Breath.
Here, the application updates the new version in response message including the target application and identifies, the target application
The corresponding target application of new version mark new version.It is that server is based on the application that the application, which updates response message,
It updates request message and generates and sends, the new version mark of the target application is according to the terminal models information and institute
State the version block information determination of target application.
Step S103 receives the new version corresponding with new version mark that the server is sent and updates packet.
Here, the new version update includes the file packet of entire target application, only needs to update and repair
The corresponding file packet of problem.For example, it is script file that the new version, which updates packet, and the script file is described for upgrading
Mounted application program in terminal.
Step S104 updates packet according to the new version and updates the target application.
Here, after terminal, which gets the new version, updates packet, packet can be updated by the new version and updates institute
State application.During realization, packet can be updated to realize the update to the application by loading the new version.
It should be noted that since the embodiment of the present application is true according to terminal models information and the version block information of application
Fixed new version updates packet, and therefore, the new version updates packet and the terminal coupling, can be realized to answering in the terminal
Accurate update.
It is provided by the embodiments of the present application to apply update method, when detecting target application there are when new version, to server
Sending application updates request message, wherein it includes terminal models information and target application in request message that the application, which updates,
Version block information;It receives the application that the server updates request message based on the application and sends and updates response message,
Wherein, the application updates the new version in response message including the target application and identifies, the new version of the target application
Mark is determined according to the version block information of the terminal models information and the target application;Receive the server hair
The new version corresponding with new version mark sent updates packet;Packet, which is updated, according to the new version updates the target application.
In this way, since application updates the version block information in request message including terminal models information and target application, so as to
It realizes and the orientation of target application is updated, and it is more accurate to orient update;And as described in updating packet update according to new version
Target application, thereby it is ensured that unnecessary flow is avoided to waste when updating target application.
Embodiment two
The embodiment of the present application provides a kind of using update method, is applied to terminal device, the terminal device can be hand
The electronic equipments such as machine, tablet computer, laptop, desktop computer, personal digital assistant, the target application are that can pacify
Any one application program being attached on the terminal device, the system of the terminal device can be Android system, iOS system
The operating systems such as system, windows phone, Saipan, blackberry, blueberry.The function of being realized using update method of the present embodiment can lead to
The processor caller code crossed in terminal device realizes that certain program code can be stored in computer storage medium
In, it is seen then that the terminal device includes at least pocessor and storage media.
Fig. 2 is the implementation process schematic diagram of the application update method of the embodiment of the present application two, as shown in Fig. 2, the method packet
Include following steps:
Step S201 obtains the current version information of the target application.
Here, the target application corresponds to the current version information of the application, for example, the current version information using A can
Think 1.0 or 1.1.
The current version information is sent to the server by step S202.
Step S203, receiving the server, there are the applications sent when new version to update detecting the target application
Reminder message.
Here, server verifies the target application, determines the target application with the presence or absence of new version.In reality
During now, server is verified according to the current version information of the target application, if presently, there are more current than described
The version information that version information updates, then there are new versions for explanation.
When server determines that, to terminal sending application update notifying message, the application updates there is currently when new version
Reminder message includes the mark of the new version, the application update notifying message for reminding terminal, the terminal it is current
Using with renewable new version, or the function items new with the presence of application program.
Step S204 updates request message to server sending application when detecting target application there are when new version.
Here, the application updates the version block information in request message including terminal models information and target application.
Wherein, the terminal models information includes at least one of: classification, the version of terminal current operation system of operating system
Number, terminal models.
Before the version section information of the target application includes the current version and current version of the target application
At least one version.For example, the version block information of target application can be to which version before for current version
This update, such as current version is iOS10, then version section can be and be updated from IOS8.0 or more, for
IOS8.0 is below not to be updated.
In this implementation, when the target application in terminal is there are when new version, request message is updated to server sending application.
Step S205 receives the application update response that the server updates request message based on the application and sends and disappears
Breath.
Here, it includes that the new version of the application identifies in response message that the application, which updates, the target application it is new
Version identifier corresponds to the new version of the target application.It is that server is updated based on the application that the application, which updates response message,
Request message and generate and send, the new version of target application mark is according to the terminal models information and the mesh
What the version block information of mark application determined.
Step S206 is identified according to the new version and is obtained new version update packet.
Here it is possible to by receive the new version corresponding with new version mark that the server is sent update wrap come
It obtains the new version mark and obtains new version update packet.The new version update includes the file of entire target application
Packet only needs to update and file packet corresponding the problem of reparation.For example, it is script file that the new version, which updates packet,
The script file is for upgrading mounted application program in the terminal.
Step S207 updates packet according to the new version and updates the target application.
Here, after terminal, which gets the new version, updates packet, packet can be updated by the new version and updates institute
State target application.During realization, packet can be updated to realize to the target application by loading the new version
It updates.
It should be noted that since the embodiment of the present application is true according to terminal models information and the version block information of application
Fixed new version updates packet, and therefore, the new version updates packet and the terminal coupling, can be realized to answering in the terminal
Accurate update.
In other embodiments, before updating request message to server sending application, the method also includes:
Step S210 establishes end message library.
Here, in the end message library include the terminal models information, target application version block information with answer
With the mapping table between mark.The end message library is the information memory cell of the terminal, the end message library
In be stored with the information of the terminal.When needing to update target application, institute can be directly acquired in the end message library
State the information of terminal.
The terminal models information can be the terminal models of the terminal, for example, the terminal models information can be
The model informations such as iphone4, iphone5, iphone6, iphone6plus, iPhone7.Since different model informations is corresponding
The more new content of application is different, therefore, when application updates it needs to be determined that the model information of the terminal in the embodiment of the present application.
In the application other embodiments, the terminal models information includes at least one of: the classification of operating system,
The version number of terminal current operation system, terminal models.
Before the version section information of the target application includes the current version and current version of the target application
At least one version.The version section information of the i.e. described target application includes at least one history version of the target application
This.
Also, described to update request message to server sending application include: when detecting that it is new that the target application exists
When version, the application identities that the terminal models information and the target application are obtained in the end message library are corresponding
The version block information of the target application;According to the version block information shape of the terminal models information and the target application
Request message is updated at the application and is sent to server.
In the present embodiment, before establishing the end message library of the terminal, the method also includes following steps:
Step S2101 determines the mapping table between the version block information of the target application and application identities.
The version block information and application identities of at least one target application are stored in the mapping table
Between mapping relations.In this way, can then be closed by the mapping in the mapping table when determining the application identities
The version block information of the application corresponding with the application identities is searched by system.Alternatively, when the version field for determining the application
Between information when, then can also be searched and the version block information of the application by the mapping relations in the mapping table
The corresponding application identities.
Step S211, when in terminal application there are when new version, obtain the terminating machine in the end message library
Type information.
When target application is there are when new version, needing to be updated the target application, in order to update target application
More specific aim, and can be realized orientation and update, and the correct update to target application, first described in the present embodiment
The terminal models information is obtained in end message library.It determines whether to carry out the target application according to terminal models information
It updates, alternatively, more accurately application updates packet to realize to the target application according to the terminal models acquisition of information
It is correct to update.
In one embodiment of the application, the new version information of the target application and the terminal models information and the mesh
The version block information for marking application is identical.In such manner, it is possible to guarantee the new version and the terminal models information and the target
The version block information of application is corresponding, so as to realize the correct update to the target application.
Step S212 determines the version field of the target application in the end message library according to the mapping table
Between information.
Here, corresponding with the new version described there are that when new version, then can determine when the target application in terminal
Application identities, it is possible to the determining and application in mapping table according to the application identities in end message library
Identify the version block information of the corresponding target application.
Step S213 forms the application according to the version block information of the terminal models information and the target application
Update request message.
Here, it is formed by the version including the terminal models information and the application in the application update request message
This block information.
It is provided by the embodiments of the present application to apply update method, obtain at least one current version applied letter in the terminal
Breath, is sent to the server for the current version information, when there are when new version, receive the server hair for the application
The application update notifying message sent;When the application in terminal is there are when new version, request message is updated to server sending application;
It receives the application that the server updates request message based on the application and sends and updates response message, according to the new version
Mark obtains new version and updates packet, updates packet according to the new version and updates the application.In this way, due to according in the terminal
The current version information of application determine that the application with the presence or absence of new version, can carry out accurate judgement to new version;Also,
Using the version block information updated in request message including terminal models information and application, application is determined so as to realize
To update, and it is more accurate to orient update;In addition, the application is updated due to updating packet according to new version, thereby it is ensured that
Unnecessary flow is avoided to waste when updating application.
Embodiment three
The embodiment of the present application provides a kind of using update method, is applied to terminal device, the terminal device can be hand
The electronic equipments such as machine, tablet computer, laptop, desktop computer, personal digital assistant, the target application are that can pacify
Any one application program being attached on the terminal device, the system of the terminal device can be Android system, iOS system
The operating systems such as system, windows phone, Saipan, blackberry, blueberry.The function of being realized using update method of the present embodiment can lead to
The processor caller code crossed in terminal device realizes that certain program code can be stored in computer storage medium
In, it is seen then that the terminal device includes at least pocessor and storage media.
Fig. 3 is the implementation process schematic diagram of the application update method of the embodiment of the present application three, as shown in figure 3, the method packet
Include following steps:
Step S301, terminal to server send the current version information of target application.
In the present embodiment, before the current version information that server receives the application that the terminal is sent, the method
Further include:
Step S3011, terminal obtain the current version information of the target application.
Step S302, server determine the target application with the presence or absence of new version according to the current version information.
During specific implementation, server verifies the target application, determines whether the target application deposits
In new version, server is verified according to the current version information of the target application, if presently, there are more current than described
The version information that version information updates, then there are new versions for explanation.
Step S303, if it does, server is to the terminal sending application update notifying message.
When server determines that, to terminal sending application update notifying message, the application updates there is currently when new version
Reminder message includes the mark of the new version, the application update notifying message for reminding terminal, the terminal it is current
Using with renewable new version, or the function items new with the presence of application program.
Step S304, when detecting target application there are when new version, terminal to server sending application updates request and disappears
Breath.
Here, the application updates the version block information in request message including terminal models information and target application.
The terminal models information includes at least one of: classification, the version of terminal current operation system of operating system
This number, terminal models.Before the version section information of the application includes the current version and current version of the application
At least one version.
Step S305, server respond the application and update request message.
When server, which receives the application, updates request message, server, which updates request message to the application, to be carried out
Response.
Step S306, server is according to the version section information matches institute of the terminal models information and the target application
State the new version of application.
Here, the version block information phase of the new version information of the application and the terminal models information and the application
Together.
In the present embodiment, server is according to the version block information of the terminal models information and the target application, really
The new version information of the fixed target application identical with the version block information of terminal models information and the target application, root
The new version of the target application is determined according to the new version information of the target application.
Step S307, server are based on application update request message and disappear to terminal sending application update response
Breath.
Here, the application updates the new version in response message including the target application and identifies, the target application
The corresponding target application of new version mark new version.It is that server is based on the application that the application, which updates response message,
It updates request message and generates and sends.
Step S308, server send new version corresponding with new version mark to the terminal and update packet.
Before server sends new version update packet to the terminal, the method also includes following steps:
Step S3081, server new version according to the new version acquisition of information of the application update packet.
Step S309, terminal is identified according to the new version obtains the new version update packet that server is sent.
Step S310, terminal update packet according to the new version and update the application.
Here, after terminal, which gets the new version, updates packet, packet can be updated by the new version and updates institute
State target application.During realization, packet can be updated to realize to the target application by loading the new version
It updates.
Step S311, when the terminal has updated the target application, terminal to server, which sends to update, completes message.
In other embodiments, the method also includes:
Step S320, server are that the terminal establishes end message library.
It here, include that the terminal models information, the version block information of application and application are marked in the end message library
Mapping table between knowledge.The end message library is the information memory cell of the terminal, is deposited in the end message library
Contain the information of the terminal.When needs update in application, can directly acquire the terminal in the end message library
Information.
It should be noted that being with the difference in above-described embodiment can also be described by server in the present embodiment
Terminal establishes end message library, and the end message library established can store at the terminal, also can store in server
On.
It is before the terminal establishes end message library in server, the method also includes following steps in the present embodiment
It is rapid:
Step S3201, server determine that the mapping between the version block information of the target application and application identities is closed
It is table.
Be stored in the mapping table target application of the terminal version block information and application identities it
Between mapping relations.In this way, when determining the application identities, then can by the mapping relations in the mapping table,
Search the version block information of the target application corresponding with the application identities.Alternatively, when determining the target application
When version block information, then the version with the target application can also be searched by the mapping relations in the mapping table
The corresponding application identities of this block information.
Step S321, when target application is there are when new version, server obtains the terminal in the end message library
Model information.
Step S322 determines the version field of the target application in the end message library according to the mapping table
Between information.
Here, the version field of the new version information of the target application and the terminal models information and the target application
Between information it is identical.
In the present embodiment, can directly it be existed according to the version block information of the terminal models information and the target application
In the mapping table, determine identical with the version block information of the terminal models information and the target application described
The new version information of target application.
Step S323 forms the application according to the version block information of the terminal models information and the target application
Update notifying message.
When server has determined the version block information and the mesh of the terminal models information and the target application
When marking the new version information of application, server is according to the version block information shape of the terminal models information and the target application
It include that the terminal models information and the target are answered at the application update notifying message, in the application update notifying message
Version block information.Also, the application update notifying message is sent to the terminal by server, to remind terminal to have
New application can update.
It is provided by the embodiments of the present application to apply update method, due to the current version according to the target application in the terminal
Information determines that the target application with the presence or absence of new version, can carry out accurate judgement to new version;Also, application updates request
It include the version block information of terminal models information and target application in message, so as to realize to the orientation of target application more
Newly, and orientation update is more accurate;In addition, the target application is updated due to updating packet according to new version, thereby it is ensured that
Unnecessary flow is avoided to waste when updating target application.
Example IV
The embodiment of the present application provides a kind of using update method, is applied to terminal device, the terminal device can be hand
The electronic equipments such as machine, tablet computer, laptop, desktop computer, personal digital assistant, the application are that can be installed to
Any one application program on the terminal device, the system of the terminal device can for Android system, iOS system,
The operating systems such as windows phone, Saipan, blackberry, blueberry.The function of being realized using update method of the present embodiment can pass through
Processor caller code in terminal device realizes that certain program code can be stored in computer storage medium,
As it can be seen that the terminal device includes at least pocessor and storage media.
It is provided by the embodiments of the present application to apply update method, firstly, the embodiment of the present application is not limited to IOS system, it is right
It is equally applicable in Android system.
Secondly, the method for the embodiment of the present application is updated using orientation, be can be for some when updating application
The update of problem type.
Wherein, the type includes the classification of operating system, the version number of current operating system and terminal models, the behaviour
Make the operating systems such as the classification of system, such as IOS system, android system;The version number such as 7.1 version of IOS, IOS 7.2 editions
This and IOS8.0 version etc.;The terminal models such as iphone4, iphone5, iphone6, iphone6plus, iPhone7
Deng.
Version section using update includes that current version is update to which version before, for example, current version
It is IOS10, version section is updated from IOS8.0 or more, below for IOS8.0 just without updating.It needs to illustrate
If especially low for version, pressure update can be carried out.
The more new range of the embodiment of the present application application update method includes terminal models and version section, when terminal models and
When version section is all satisfied condition, then update is oriented to the application.
It is provided by the embodiments of the present application to apply update method, it is stronger to the Version Control power for having issued application, and update
With specific aim, it is smaller that influenced range is updated every time;And prompt only is updated to released version, according to some problems
Type does specific aim and updates prompt.Therefore, it can satisfy and different updates carried out to different type of machines and updates prompt, reduce
User is bothered due to frequently sending update prompt, greatly improves user experience.
Embodiment five
The embodiment of the present application provides a kind of using updating device, and Fig. 4 is the group of the application updating device of the embodiment of the present application five
At structural schematic diagram, as shown in figure 4, this includes: using updating device 400
First transmission unit 401, for when detecting that target application there are when new version, updates to server sending application
Request message, wherein the application updates the version block information in request message including terminal models information and target application;
First receiving unit 402 updates request message and answering for sending based on the application for receiving the server
With update response message, wherein the application updates the new version in response message including the target application and identifies, the mesh
The new version mark of mark application is determined according to the version block information of the terminal models information and the target application;
Second receiving unit 403, the new version corresponding with new version mark sent for receiving the server
Update packet;
Updating unit 404 updates the target application for updating packet according to the new version.
In other embodiments, described device further include:
First acquisition unit, for obtaining the current version information of the target application;
4th transmission unit, for the current version information to be sent to the server;
5th receiving unit is detecting that there are send when new version the target application for receiving the server
Using update notifying message.
In other embodiments, described device further include:
Unit is established, includes the terminal models information, application in the end message library for establishing end message library
Version block information and application identities three between mapping relations;
First transmission unit includes:
First obtains module, for when detecting the target application there are when new version, in the end message library
Obtain the version section letter of the corresponding target application of application identities of the terminal models information and the target application
Breath;
Module is formed, it is described for being formed according to the version block information of the terminal models information and the target application
Using update request message and it is sent to server.
It should be noted that the description of the present embodiment device, be with the description of above method embodiment it is similar, have same
The similar beneficial effect of embodiment of the method, therefore do not repeat them here.For undisclosed technical detail in present apparatus embodiment, please join
According to the application embodiment of the method description and understand.
Embodiment six
The embodiment of the present application provides a kind of using updating device, and Fig. 5 is the group of the application updating device of the embodiment of the present application six
At structural schematic diagram, as shown in figure 5, this includes: using updating device 500
Third receiving unit 501, the application for receiving terminal transmission update request message, wherein the application updates
It include the version block information of terminal models information and target application in request message;
Response unit 502 updates request message for responding the application, according to the terminal models information and the mesh
The version block information of mark application determines the new version mark of the application,
Second transmission unit 503, for updating response message to the terminal sending application, wherein the application updates
New version in response message including the application identifies;
Third transmission unit 504 updates packet for sending new version corresponding with new version mark to the terminal;
4th receiving unit 505, for when the terminal has updated the target application, receiving the terminal transmission
It updates and completes message.
In other embodiments, described device further include:
6th receiving unit, for receiving the current version information for the target application that the terminal is sent;
First determination unit, for determining the target application with the presence or absence of new version according to the current version information;
5th transmission unit, for if there is new version, Xiang Suoshu terminal sending application update notifying message.
In other embodiments, the terminal models information includes at least one of: classification, the terminal of operating system are worked as
The version number of preceding operating system, terminal models;The version section information of the target application includes the current version of the application
And at least one version before current version.
It should be noted that the description of the present embodiment device, be with the description of above method embodiment it is similar, have same
The similar beneficial effect of embodiment of the method, therefore do not repeat them here.For undisclosed technical detail in present apparatus embodiment, please join
According to the application embodiment of the method description and understand.
Embodiment seven
The embodiment of the present application provides a kind of application more new equipment, and Fig. 6 is the composition of the embodiment of the present application application more new equipment
Structural schematic diagram, as shown in fig. 6, the equipment 600 includes at least: processor 601 and being configured to storage executable instruction and deposit
Storage media 602, in which:
Processor 601 is configured to execute the executable instruction of storage, and the executable instruction is configured to execute any of the above-described
Application update method provided in embodiment.
It should be noted that use above updates the description of apparatus embodiments, the description with above method embodiment is class
As, there is with embodiment of the method similar beneficial effect, therefore do not repeat them here.Apparatus embodiments are updated for the application application
In undisclosed technical detail, please refer to the description of the application embodiment of the method and understand.
Accordingly, the embodiment of the present application provides a kind of computer readable storage medium, deposits in the computer storage medium
Computer executable instructions are contained, which is configured to the application of execution the application other embodiments offer more
New method.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the application
Formula.Moreover, the application, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above, the only preferred embodiment of the application, are not intended to limit the protection scope of the application.
Claims (10)
1. a kind of apply update method, which is characterized in that the described method includes:
When detecting target application there are when new version, request message is updated to server sending application, wherein the application is more
It include the version block information of terminal models information and target application in new request message;
It receives the application that the server updates request message based on the application and sends and updates response message, wherein is described
It is identified using the new version updated in response message including the target application, the new version mark of the target application is basis
What the version block information of the terminal models information and the target application determined;
It receives the new version corresponding with new version mark that the server is sent and updates packet;
Packet, which is updated, according to the new version updates the target application.
2. the method according to claim 1, wherein it is described to server sending application update request message it
Before, further includes:
Obtain the current version information of the target application;
The current version information is sent to the server;
Receiving the server, there are the application update notifying message sent when new version detecting the target application.
3. the method according to claim 1, wherein it is described to server sending application update request message it
Before, further includes:
Establish end message library, include in the end message library terminal models information, application version block information with
Mapping relations between application identities three;
It is described to include: to server sending application update request message
When detect the target application there are when new version, obtained in the end message library terminal models information with
And the version block information of the corresponding target application of application identities of the target application;
The application, which is formed, according to the version block information of the terminal models information and the target application updates request message
And it is sent to server.
4. a kind of apply update method, which is characterized in that the described method includes:
It receives the application that terminal is sent and updates request message, wherein it includes that terminal models are believed that the application, which updates in request message,
The version block information of breath and target application;
It responds the application and updates request message, according to the version block information of the terminal models information and the target application
Determine the new version mark of the application;
Response message is updated to the terminal sending application, wherein it includes the application in response message that the application, which updates,
New version mark;
New version corresponding with new version mark, which is sent, to the terminal updates packet;
When the terminal has updated the target application, receives the update that the terminal is sent and complete message.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Receive the current version information for the target application that the terminal is sent;
Determine the target application with the presence or absence of new version according to the current version information;
If it does, to the terminal sending application update notifying message.
6. according to the method described in claim 4, it is characterized in that, the terminal models information includes at least one of: behaviour
Make the classification of system, the version number of terminal current operation system, terminal models;The version section information of the target application includes
The current version of the application and at least one version before current version.
7. a kind of apply updating device, which is characterized in that described device includes:
First transmission unit, for when detecting that target application there are when new version, updates request to server sending application and disappear
Breath, wherein the application updates the version block information in request message including terminal models information and target application;
First receiving unit updates sound for receiving the application that the server updates request message based on the application and sends
Answer message, wherein the application updates the new version in response message including the target application and identifies, the target application
New version mark is determined according to the version block information of the terminal models information and the target application;
Second receiving unit updates packet for receiving the new version corresponding with new version mark that the server is sent;
Updating unit updates the target application for updating packet according to the new version.
8. a kind of apply updating device, which is characterized in that described device includes:
Third receiving unit, the application for receiving terminal transmission update request message, wherein the application updates request message
In include terminal models information and target application version block information;
Response unit updates request message for responding the application, according to the terminal models information and the target application
Version block information determine the application new version mark,
Second transmission unit, for updating response message to the terminal sending application, wherein the application updates response message
In include the application new version identify;
Third transmission unit updates packet for sending new version corresponding with new version mark to the terminal;
4th receiving unit, it is complete for when the terminal has updated the target application, receiving the update that the terminal is sent
At message.
9. a kind of application more new equipment, which is characterized in that the equipment includes at least: processor and being configured to store executable finger
The storage medium of order, in which: the processor is configured to execute the executable instruction of storage;
The executable instruction is configured to execute using update method provided by 1 to 3 any one of the claims, alternatively,
Update method is applied provided by any one of claim 4 to 6.
10. a kind of storage medium, which is characterized in that be stored with computer executable instructions, the calculating in the storage medium
Machine executable instruction is configured to execute using update method provided by 1 to 3 any one of the claims, alternatively, right is wanted
It asks provided by 4 to 6 any one using update method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811326218.0A CN109814894A (en) | 2018-11-08 | 2018-11-08 | A kind of application update method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811326218.0A CN109814894A (en) | 2018-11-08 | 2018-11-08 | A kind of application update method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109814894A true CN109814894A (en) | 2019-05-28 |
Family
ID=66601542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811326218.0A Pending CN109814894A (en) | 2018-11-08 | 2018-11-08 | A kind of application update method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109814894A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110233857A (en) * | 2019-06-28 | 2019-09-13 | 深圳开立生物医疗科技股份有限公司 | A kind of ultrasonic device authorization method, system, equipment and computer storage medium |
CN111221544A (en) * | 2020-01-09 | 2020-06-02 | 华为技术有限公司 | Management method and terminal for pre-installed application software |
CN112346753A (en) * | 2019-08-06 | 2021-02-09 | 上海博泰悦臻网络技术服务有限公司 | Data acquisition method and system for vehicle-mounted terminal |
CN112584247A (en) * | 2020-12-08 | 2021-03-30 | 青岛海尔多媒体有限公司 | Information processing method, system and device for information processing |
CN115543394A (en) * | 2022-12-01 | 2022-12-30 | 云账户技术(天津)有限公司 | APP dynamic update management method and system, electronic device and readable storage medium |
-
2018
- 2018-11-08 CN CN201811326218.0A patent/CN109814894A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110233857A (en) * | 2019-06-28 | 2019-09-13 | 深圳开立生物医疗科技股份有限公司 | A kind of ultrasonic device authorization method, system, equipment and computer storage medium |
CN112346753A (en) * | 2019-08-06 | 2021-02-09 | 上海博泰悦臻网络技术服务有限公司 | Data acquisition method and system for vehicle-mounted terminal |
CN111221544A (en) * | 2020-01-09 | 2020-06-02 | 华为技术有限公司 | Management method and terminal for pre-installed application software |
CN112584247A (en) * | 2020-12-08 | 2021-03-30 | 青岛海尔多媒体有限公司 | Information processing method, system and device for information processing |
CN115543394A (en) * | 2022-12-01 | 2022-12-30 | 云账户技术(天津)有限公司 | APP dynamic update management method and system, electronic device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109814894A (en) | A kind of application update method, device, equipment and storage medium | |
CN104866542A (en) | POI data verification method and device | |
CN109324977A (en) | Detection method, device and the electronic equipment of application program Caton | |
CN112040468B (en) | Method, computing device, and computer storage medium for vehicle interaction | |
US20210250322A1 (en) | Method and apparatus for prompting message reading state, and electronic device | |
CN108449313B (en) | Electronic device, Internet service system risk early warning method and storage medium | |
CN110022260B (en) | Cross-environment receipt message processing method and system | |
CN111475853B (en) | Model training method and system based on distributed data | |
CN104267980A (en) | Software score display method, terminal, data server and system | |
CN111324441A (en) | Operating environment switching method and device, computer equipment and storage medium | |
CN109491646B (en) | Message entry method and device, electronic equipment and readable medium | |
CN105550101A (en) | Test method for application program, electronic device and system | |
CN110674047A (en) | Software testing method and device and electronic equipment | |
CN104268472A (en) | Method and device for restoring address of function modified by third party dynamic link library | |
CN105335192B (en) | A kind of information processing method and electronic equipment | |
CN112306447A (en) | Interface navigation method, device, terminal and storage medium | |
CN104348905A (en) | Method and device for pushing message in off-line way | |
CN111273967A (en) | Remote hook setting method and device suitable for Android system and electronic equipment | |
CN104112056A (en) | Method and system for detecting data processing faults | |
CN110908882A (en) | Performance analysis method and device of application program, terminal equipment and medium | |
CN110674050A (en) | Memory out-of-range detection method and device, electronic equipment and computer storage medium | |
CN106293814A (en) | Upgrade method and device | |
CN114139731A (en) | Longitudinal federated learning modeling optimization method, apparatus, medium, and program product | |
CN114328215A (en) | Test data deployment method, device, equipment, readable storage medium and product | |
CN109271269A (en) | A kind of processing method, device and equipment that application sudden strain of a muscle is moved back |
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 |