Renewal, dissemination method and the device of mobile terminal application template
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of renewal of mobile terminal application template, issue
Method and device.
Background technology
At present, becoming increasingly popular with mobile terminal (such as smart mobile phone, tablet personal computer etc.), it has turned into people and worked
Live indispensable part.In order to meet the diversity of user's request, there is the application being much user-friendly, such as
Various working and studyings, amusement game application etc..People can enter corresponding application by mobile terminal applications client, enjoy
The various services such as film are downloaded and viewed and admired to voice, short message, Email, access information, picture.
In correlation technique, mobile terminal applications client is commonly stored in WWW Web server end using masterplate, because
And, it is necessary to be entered by URL (Uniform Resource Locator, URL) during to being updated using masterplate
Row accesses, it is clear that can not be just updated when no network.Another way is will to be packed into using masterplate using visitor
Family end, follow the mode that applications client hair version updates to realize, it is clear that this mode renewal speed is slow, can not realize in real time
Renewal.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State renewal, dissemination method and the corresponding device of the mobile terminal application template of problem.
According to one aspect of the present invention, there is provided a kind of update method of mobile terminal application template, including:Start and move
During dynamic terminal applies client, detect whether to preserve the new application template for completing to download;Complete to download if so, parsing is described
New application template and load the template renewal bag parsed in the application template, so as to replace former application template;If it is not,
Data loading home interface is then carried out with former application template, and opens background process and is asked to server end transmission template renewal detection
Seek message.
Alternatively, after the transmission template renewal solicitation message to server end, in addition to:Receive from described
The request-reply message of server end;The information contained according to the request-reply message package performs subsequent operation.
Alternatively, the information contained according to the request-reply message package performs subsequent operation, including:If the request-reply
Message carries the updated information of application template, the then download for the application template being updated to server end;If described please
Ask and the information that application template does not update is carried in response message, then close the background process.
Alternatively, after the down operation of the application template being updated to server end terminates, in addition to:Under
Described in one-shot during mobile terminal applications client, detect whether the new application template downloaded from the server end is downloaded
Complete.
Accordingly, there is provided a kind of dissemination method of mobile terminal application template, including:Detect mobile terminal application client
Application template used in end whether be latest edition application template;If it is not, the application template of latest edition is pushed into the shifting
Dynamic terminal applies client.
Alternatively, the application template of latest edition is pushed into the client, including:Compare latest edition application template and
Original first edition application template, confirm whether both are identical;If it is not, obtain announced each version before this push
Application template;Compare the application template of latest edition and the application template of each version announced before successively, be each version client
Incremental update bag corresponding to the generation of end;The incremental update bag of generation is pushed into corresponding mobile terminal applications client successively
In.
Alternatively, whether application template used in the detection mobile terminal applications client is latest edition using mould
Plate, including:Receive the template renewal solicitation message from mobile terminal applications client;Examined according to the template renewal
Survey request message, detect mobile terminal applications client used in application template whether be latest edition application template.
According to another aspect of the present invention, a kind of updating device of mobile terminal application template is additionally provided, including:
First detection module, when being configured to start mobile terminal applications client, detect whether to preserve and complete what is downloaded
New application template;
Load-on module, it is configured to if so, parsing the new application template for completing to download and loading the application template
In the template renewal bag that parses, so as to replace former application template;
First processing module, it is configured to if it is not, then carrying out data loading home interface with former application template, and open backstage
Process sends template renewal solicitation message to server end.
Alternatively, the first processing module is additionally configured to:Template renewal solicitation message is being sent to server end
Afterwards, the request-reply message from the server end is received;After the information contained according to the request-reply message package performs
Continuous operation.
Alternatively, the first processing module is additionally configured to:If the request-reply message has carried application template more
New information, the then download for the application template being updated to server end;If carry application in the request-reply message
The information that template does not update, then close the background process.
Alternatively, the first detection module is additionally configured to:The download behaviour for the application template being updated to server end
After work terminates, when starting the mobile terminal applications client next time, detect downloaded from the server end it is new
Whether application template downloads completion.
Accordingly, a kind of distributing device of mobile terminal application template is also provided, including:
Second detection module, be configured to detect mobile terminal applications client used in application template whether be latest edition
Application template;
Pushing module, it is configured to if it is not, the application template of latest edition is pushed into the mobile terminal applications client.
Alternatively, the pushing module is additionally configured to:Compare the application template of latest edition and original first edition application template,
Confirm whether both are identical;If it is not, obtain the application template of announced each version before this push;Compare successively most
The application template of the application template of new edition and each version announced before, for incremental update corresponding to the generation of each version client
Bag;The incremental update bag of generation is pushed in corresponding mobile terminal applications client successively.
Alternatively, second detection module is additionally configured to:Receive the template from mobile terminal applications client more
New solicitation message;, should used in detection mobile terminal applications client according to the template renewal solicitation message
With template whether be latest edition application template.
According to technical scheme, when starting mobile terminal applications client, automatic detection the machine can be realized
The new application template for completing to download whether is preserved, if the machine preserves the new application template for completing to download, has been parsed
Into the new application template of download, and the template renewal bag parsed in application template is loaded, it is real so as to replace former application template
Now without network in the case of still may be employed masterplate renewal purpose;If the machine do not preserve complete to download it is new
Application template, then data loading home interface is carried out with former application template, and open background process and send template to server end
Solicitation message is updated, and then real-time update can be realized.Therefore, the present invention realizes still may be used in the case of without network
Updated using masterplate, and real-time update can be realized, improve the speed of renewal.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the art
Above-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of flow of the update method of mobile terminal application template according to an embodiment of the invention
Figure;
Fig. 2 shows a kind of flow of the dissemination method of mobile terminal application template according to an embodiment of the invention
Figure;
Fig. 3 shows another flow of the update method according to one embodiment of the invention mobile terminal application template
Figure;
Fig. 4 shows another flow of the dissemination method according to one embodiment of the invention mobile terminal application template
Figure;
Fig. 5 shows the mobile terminal application mould according to one embodiment of the invention connected applications client and server end
The flow chart of the dissemination method of plate;
Fig. 6 shows the structural representation of the updating device of mobile terminal application template according to an embodiment of the invention
Figure;And
Fig. 7 shows the structural representation of the distributing device of mobile terminal application template according to an embodiment of the invention
Figure.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Referred in correlation technique, to mobile terminal applications client when being updated using masterplate, it is necessary in network
Under the conditions of be updated, renewal speed is slow, can not realize real-time update.
In order to solve the above technical problems, the embodiments of the invention provide a kind of update method of mobile terminal application template,
Fig. 1 shows a kind of flow chart of the update method of mobile terminal application template according to an embodiment of the invention.Such as Fig. 1 institutes
Show, this method comprises at least following steps S102 to step S106.
When step S102, starting mobile terminal applications client, detect whether to preserve complete to download new and apply mould
Plate, if so, then continuing executing with step S104;If it is not, then continue executing with step S106.
Step S104, the new application template of download is parsed, and loads the template parsed in the application template more
New bag, so as to replace former application template.
Step S106, data loading home interface is carried out with former application template, and opens background process and sent out to server end
Send template renewal solicitation message.
According to technical scheme, when starting mobile terminal applications client, automatic detection the machine can be realized
The new application template for completing to download whether is preserved, if the machine preserves the new application template for completing to download, has been parsed
Into the new application template of download, and the template renewal bag parsed in application template is loaded, it is real so as to replace former application template
Now without network in the case of still may be employed masterplate renewal purpose;If the machine do not preserve complete to download it is new
Application template, then data loading home interface is carried out with former application template, and open background process and send template to server end
Solicitation message is updated, and then real-time update can be realized.What is referred in above step S102 applies masterplate, refers to mobile whole
Hold the masterplate of coherent element in applications client, such as applications client interface layout masterplate, icon masterplate, skin masterplate.
In step s 102, whether the machine (i.e. mobile terminal, mobile terminal here can be smart mobile phone, tablet personal computer etc.) is detected
Following technological means can be used by preserving the new application template for completing to download, i.e., whether detection the machine first preserves completion
The application template of download, if detecting the application template do not preserved and complete to download, it is determined that the machine is not preserved completion and downloaded
New application template;If detecting the application template preserved and complete to download, the application that the completion is downloaded is further confirmed that
Whether masterplate is new using masterplate.Obtain respectively first complete to download using masterplate and currently used application masterplate each
Version number, then both version numbers are compared, if both version number it is identical, it is determined that the machine is not preserved
Complete the new application template downloaded;If both version numbers are different (as complete to download is using the version number of masterplate
V2.1.0, the currently used version number using masterplate are V2.0.0), it is determined that the machine preserves the new application for completing to download
Template.It should be noted that whether above-mentioned detection the machine preserves technology hand used by the new application template for completing to download
Section is merely exemplary, in order to be best understood from the present invention, is not intended to limit the present invention.
By step S102 detection, if detecting, the machine preserves the new application template for completing to download, and performs step
Rapid S104, that is, be parsed the new application template of download, and loads the template renewal bag parsed in the application template, so as to
Former application template is replaced, realizes and masterplate renewal is still may be employed in the case of without network.If detecting, the machine is not protected
There is the new application template for completing to download, then performs step S106, i.e., data loading home interface is carried out with former application template,
And open background process and send template renewal solicitation message to server end.Further, in step S106 to server
After end sends template renewal solicitation message, the request-reply message from server end is received, then should according to request
Answer the information that message package contains and perform subsequent operation.For example, when request-reply message carries the updated information of application template,
The download for the application template that server end is updated can be arrived, after the completion of download, can prompt that user is updated should
With the installation of template, or it can also detect what is downloaded from server end when starting mobile terminal applications client next time
Whether new application template downloads completion, that is, returns and perform step S102 so that will not be interrupted when user is using application, ensure to make
With the fluency of process, Consumer's Experience is improved.In another example when the information for application template is carried in request-reply message not updating
When, background process is closed, represents that current application masterplate has been newest version.
, should the embodiments of the invention provide a kind of dissemination method of mobile terminal application template based on same inventive concept
For server end, Fig. 2 shows one kind of the dissemination method of mobile terminal application template according to an embodiment of the invention
Flow chart.As shown in Fig. 2 this method comprises at least following steps S202 to step S204.
Step S202, whether application template used in detection mobile terminal applications client is latest edition using mould
Plate, if it is not, then continuing executing with step S204;If so, terminate this flow.
Step S204, the application template of latest edition is pushed into mobile terminal applications client.
In one embodiment of the invention, detected in step S202 used in mobile terminal applications client and apply mould
Whether plate is that the application template of latest edition can be realized using various ways.For example, server timing (such as 12 hours or 1 day
Deng) detection mobile terminal applications client used in application template whether be latest edition application template.In another example server
The template renewal solicitation message from mobile terminal applications client is received, and then request is detected according to template renewal and disappeared
Breath, detect mobile terminal applications client used in application template whether be latest edition application template.For another example when service
When device determines that the application template of server end has updated, detect mobile terminal applications client used in application template whether be
The application template of latest edition.
Further, the application template of latest edition being pushed into mobile terminal applications client in step S204 can use
Following technological means, i.e., compare the application template of latest edition and original first edition application template first, confirm whether both are complete
It is identical, if both are incomplete same, the application template of announced each version before this push is obtained, is then compared successively
The application template of the application template of latest edition and each version announced before, for increment corresponding to the generation of each version client more
New bag, then the incremental update bag of generation is pushed in corresponding mobile terminal applications client successively, so as to save push
When Internet resources, improve pushing efficiency.Furthermore if both the application template of latest edition and original first edition application template are complete
It is identical, it is determined that application template used in mobile terminal applications client is the application template of latest edition
A variety of implementations of each link in the embodiment shown in Fig. 1 and Fig. 2 are described above, below by specific excellent
Renewal of the embodiment to mobile terminal application template provided in an embodiment of the present invention, dissemination method is selected to be described further.
Embodiment one
Fig. 3 shows another flow of the update method according to one embodiment of the invention mobile terminal application template
Figure.As shown in figure 3, this method comprises the following steps S302 to step S318.
Step S302, when user clicks on the icon of mobile terminal applications client, applications client is started.
Step S304, detect whether to preserve the new application template for completing to download, if so, then continuing executing with step
S306;If it is not, then continue executing with step S308.
Step S306, the new application template of download is parsed, and loads the template parsed in the application template more
New bag, so as to replace former application template, continues executing with step S310.
Step S308, data loading home interface is carried out with former application template, continues executing with step S310.
Step S310, open background process and send template renewal solicitation message to server end.
Step S312, the request-reply message from server end is received.
Step S314, judge the updated information of application template whether is carried in request-reply message, if so, then continuing
Perform step S316;Otherwise, step S318 is continued executing with.
Step S316, the download for the application template being updated to server end.
Further, after the completion of download, the installation for the application template that user is updated can be prompted, or can be with
When starting mobile terminal applications client next time, detect whether the new application template downloaded from server end has been downloaded
Into i.e. return performs step S302 so that will not be interrupted when user is using application, ensure the fluency using process, raising is used
Experience at family.
Step S318, background process is closed.
The embodiment of the present invention one, realize and masterplate renewal is still may be employed in the case of without network, and energy
Real-time update is enough realized, improves the speed of renewal.Further, when the download for the application template being updated to server end is complete
Cheng Hou, can be when starting mobile terminal applications client next time, and detecting the new application template downloaded from server end is
No download is completed, and then is realized and updated using masterplate so that will not be interrupted when user is using application, be ensured the smoothness using process
Property, improve Consumer's Experience.
Embodiment two
Fig. 4 shows another flow of the dissemination method according to one embodiment of the invention mobile terminal application template
Figure.As shown in figure 4, this method comprises the following steps S402 to step S410.
Step S402, whether application template used in detection mobile terminal applications client is latest edition using mould
Plate, if it is not, then continuing executing with step S404;If so, terminate this flow.
Step S404, compare the application template of latest edition and original first edition application template, confirm both whether complete phase
Together, if it is not, then continuing executing with step S406;If so, terminate this flow.
Step S406, the application template of announced each version before this is pushed is obtained.
Step S408, compare the application template of latest edition and the application template of each version announced before successively, be each
Incremental update bag corresponding to the generation of version client.
Step S410, the incremental update bag of generation is pushed in corresponding mobile terminal applications client successively.
The embodiment of the present invention two, server end realizes real time propelling movement, and the incremental update bag of generation is pushed to successively
In corresponding mobile terminal applications client, Internet resources during so as to save push, pushing efficiency is improved.
Embodiment three
Fig. 5 shows the mobile terminal application mould according to one embodiment of the invention connected applications client and server end
The flow chart of the dissemination method of plate.As shown in figure 5, this method comprises the following steps S502 to step S520.
When step S502, starting mobile terminal applications client, detect whether to preserve complete to download new and apply mould
Plate, if so, then continuing executing with step S504;If it is not, then continue executing with step S506.
Step S504, applications client is parsed the new application template of download, and loads and parsed in the application template
The template renewal bag gone out, so as to replace former application template, continue executing with step S508.
Step S506, applications client carries out data loading home interface with former application template, continues executing with step S508.
Step S508, open background process and send template renewal solicitation message to server end.
Step S510, received server-side is to the template renewal solicitation message from mobile terminal applications client,
And then according to template renewal solicitation message, whether application template used in detection mobile terminal applications client is newest
The application template of version, if it is not, then continuing executing with step S512;If so, terminate this flow.
Step S512, compare the application template of latest edition and original first edition application template, confirm both whether complete phase
Together, if it is not, then continuing executing with step S514;If so, terminate this flow.
Step S514, the application template of announced each version before this is pushed is obtained.
Step S516, compare the application template of latest edition and the application template of each version announced before successively, be each
Incremental update bag corresponding to the generation of version client.
Step S518, the incremental update bag of generation is pushed in corresponding mobile terminal applications client successively.
Step S520, the incremental update bag for the generation that applications client the reception server end pushes successively.
Further, after the incremental update bag for completing the generation that server end pushes successively is downloaded, user can be prompted
Installed, or can also when starting mobile terminal applications client next time, detect downloaded from server end it is new
Whether application template downloads completion, that is, returns and perform step S502 so that will not be interrupted when user is using application, guarantee used
The fluency of journey, improve Consumer's Experience.
It should be noted that in practical application, above-mentioned all optional embodiments can be any group by the way of combining
Close, form the alternative embodiment of the present invention, this is no longer going to repeat them.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of updating device of mobile terminal application template,
To realize the update method of above-mentioned mobile terminal application template.
Fig. 6 shows the structural representation of the updating device of mobile terminal application template according to an embodiment of the invention
Figure.Referring to Fig. 6, the device comprises at least:First detection module 610, load-on module 620 and first processing module 630.
Now introduce the function of each composition or device of the updating device of the mobile terminal application template of the embodiment of the present invention with
And the annexation between each several part:
First detection module 610, when being configured to start mobile terminal applications client, detect whether that preserving completion downloads
New application template;
Load-on module 620, it is coupled, is configured to if so, being parsed the new application of download with first detection module 610
Template simultaneously loads the template renewal bag parsed in application template, so as to replace former application template;
First processing module 630, it is coupled, is configured to if it is not, then carrying out data with former application template with load-on module 620
Home interface is loaded, and opens background process and sends template renewal solicitation message to server end.
In one embodiment of the invention, first processing module 630 is also configured as:Mould is being sent to server end
After plate renewal solicitation message, the request-reply message from server end is received;Contained according to request-reply message package
Information performs subsequent operation.
In one embodiment of the invention, first processing module 630 is also configured as:If request-reply message carries
There are the updated information of application template, the then download for the application template being updated to server end;If in request-reply message
The information that application template does not update is carried, then closes background process.
In one embodiment of the invention, first detection module 610 is also configured as:It is updated to server end
Application template down operation terminate after, next time start mobile terminal applications client when, detect from server end
Whether the new application template downloaded downloads completion.
Accordingly, the embodiment of the present invention additionally provides a kind of distributing device of mobile terminal application template, above-mentioned to realize
The dissemination method of mobile terminal application template.
Fig. 7 shows the structural representation of the distributing device of mobile terminal application template according to an embodiment of the invention
Figure.Referring to Fig. 7, the device comprises at least:Second detection module 710 and pushing module 720.
Now introduce the function of each composition or device of the distributing device of the mobile terminal application template of the embodiment of the present invention with
And the annexation between each several part:
Second detection module 710, be configured to detect mobile terminal applications client used in application template whether be most
The application template of new edition;
Pushing module 720, it is coupled, is configured to if it is not, the application template of latest edition is pushed with the second detection module 710
To mobile terminal applications client.
In one embodiment of the invention, pushing module 720 is also configured as:Compare latest edition application template and
Original first edition application template, confirm whether both are identical;If it is not, obtain announced each version before this push
Application template;Compare the application template of latest edition and the application template of each version announced before successively, be each version client
Incremental update bag corresponding to the generation of end;The incremental update bag of generation is pushed into corresponding mobile terminal applications client successively
In.
In one embodiment of the invention, the second detection module 710 is also configured as:Receive and come from mobile terminal
The template renewal solicitation message of applications client;According to template renewal solicitation message, detection mobile terminal application visitor
Application template used in the end of family whether be latest edition application template.
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach
Following beneficial effect:
According to technical scheme, when starting mobile terminal applications client, automatic detection the machine can be realized
The new application template for completing to download whether is preserved, if the machine preserves the new application template for completing to download, has been parsed
Into the new application template of download, and the template renewal bag parsed in application template is loaded, it is real so as to replace former application template
Now without network in the case of still may be employed masterplate renewal purpose;If the machine do not preserve complete to download it is new
Application template, then data loading home interface is carried out with former application template, and open background process and send template to server end
Solicitation message is updated, and then real-time update can be realized.Further, when the application template being updated to server end
Download after the completion of, can when starting mobile terminal applications client next time, detect from server end download it is new should
Completion whether is downloaded with template, and then realizes and is updated using masterplate so that will not be interrupted when user is using application, guarantee used
The fluency of journey, improve Consumer's Experience.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize mobile terminal application template according to embodiments of the present invention more
Newly, some or all functions of some or all parts in distributing device.The present invention is also implemented as being used to perform
The some or all equipment or program of device of method as described herein are (for example, computer program and computer journey
Sequence product).It is such realize the present invention program can store on a computer-readable medium, either can have one or
The form of multiple signals.Such signal can be downloaded from internet website and obtained, either provide on carrier signal or
There is provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention
It is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized
It is set to and covers other all these variations or modifications.
The disclosure additionally provides A1, a kind of update method of mobile terminal application template, including:
When starting mobile terminal applications client, detect whether to preserve the new application template for completing to download;
If so, parse the new application template for completing to download and load the template parsed in the application template more
New bag, so as to replace former application template;
If it is not, then carrying out data loading home interface with former application template, and open background process and sent to server end
Template renewal solicitation message.
A2, the method according to A1, wherein, after the transmission template renewal solicitation message to server end,
Also include:
Receive the request-reply message from the server end;
The information contained according to the request-reply message package performs subsequent operation.
A3, the method according to any one of A1-A2, wherein, the information contained according to the request-reply message package performs
Subsequent operation, including:
If the request-reply message carries the updated information of application template, answered to what server end was updated
With the download of template;
If carrying the information that application template does not update in the request-reply message, the background process is closed.
A4, the method according to any one of A1-A3, wherein, the application template being updated to server end
After down operation terminates, in addition to:
When starting the mobile terminal applications client next time, the new application downloaded from the server end is detected
Whether template downloads completion.
A5, a kind of dissemination method of mobile terminal application template, including:
Detection mobile terminal applications client used in application template whether be latest edition application template;
If it is not, the application template of latest edition is pushed into the mobile terminal applications client.
A6, the method according to A5, wherein, the application template of latest edition is pushed into the client, including:
Compare the application template of latest edition and original first edition application template, confirm whether both are identical;
If it is not, obtain the application template of announced each version before this push;
Compare the application template of latest edition and the application template of each version announced before successively, be each version client
Incremental update bag corresponding to generation;
The incremental update bag of generation is pushed in corresponding mobile terminal applications client successively.
A7, the method according to A5 or A6, wherein, apply mould used in the detection mobile terminal applications client
Plate whether be latest edition application template, including:
Receive the template renewal solicitation message from mobile terminal applications client;
According to the template renewal solicitation message, application template used in detection mobile terminal applications client is
The no application template for latest edition.
B8, a kind of updating device of mobile terminal application template, including:
First detection module, when being configured to start mobile terminal applications client, detect whether to preserve and complete what is downloaded
New application template;
Load-on module, it is configured to if so, parsing the new application template for completing to download and loading the application template
In the template renewal bag that parses, so as to replace former application template;
First processing module, it is configured to if it is not, then carrying out data loading home interface with former application template, and open backstage
Process sends template renewal solicitation message to server end.
B9, the device according to B8, wherein, the first processing module is additionally configured to:
After template renewal solicitation message is sent to server end, receiving the request from the server end should
Answer message;
The information contained according to the request-reply message package performs subsequent operation.
B10, the device according to any one of B8-B9, wherein, the first processing module is additionally configured to:
If the request-reply message carries the updated information of application template, answered to what server end was updated
With the download of template;
If carrying the information that application template does not update in the request-reply message, the background process is closed.
B11, the device according to any one of B8-B10, wherein, the first detection module is additionally configured to:
It is described mobile whole starting next time after the down operation for the application template being updated to server end terminates
When holding applications client, detect whether the new application template downloaded from the server end downloads completion.
B12, a kind of distributing device of mobile terminal application template, including:
Second detection module, be configured to detect mobile terminal applications client used in application template whether be latest edition
Application template;
Pushing module, it is configured to if it is not, the application template of latest edition is pushed into the mobile terminal applications client.
B13, the device according to B12, wherein, the pushing module is additionally configured to:
Compare the application template of latest edition and original first edition application template, confirm whether both are identical;
If it is not, obtain the application template of announced each version before this push;
Compare the application template of latest edition and the application template of each version announced before successively, be each version client
Incremental update bag corresponding to generation;
The incremental update bag of generation is pushed in corresponding mobile terminal applications client successively.
B14, the device according to B12 or B13, wherein, second detection module is additionally configured to:
Receive the template renewal solicitation message from mobile terminal applications client;
According to the template renewal solicitation message, application template used in detection mobile terminal applications client is
The no application template for latest edition.