Data-updating method, device and terminal device
Technical field
The invention belongs to field of computer technology more particularly to a kind of data-updating method, device, terminal device and calculating
Machine readable storage medium storing program for executing.
Background technique
With the progress of science and technology, application program is also rapidly developing, and application program is that improve primal system insufficient
A kind of tool plays an important role in people's lives and work.
Currently, if in the not successful login application program of user, there is startup separator or other abnormal in application program
Situation, in order to solve abnormal conditions, user can only first be unloaded application program, then reinstall application program, this process ratio
It is cumbersome, and need to expend longer time, user is thus greatly reduced to the solution efficiency of the abnormal conditions of application program.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of data-updating method, device, terminal devices and computer-readable
Storage medium, if user imitates the solution of the abnormal conditions of application program to solve in user's not successful login application program
The low problem of rate.
The first aspect of the embodiment of the present invention provides a kind of data-updating method, comprising:
If user logs in specified application failure, judge in first server with the presence or absence of the specified application
Corresponding target software heat updates packet, and the target software heat updates packet are as follows: issuing time is worked as the specified application
Software heat after the issuing time of preceding operation version updates packet;
If there are the corresponding target software heat of the specified application to update packet in first server, from second service
The download address that the target software heat updates packet is obtained in device, the second server is the identity information pair with the user
Then the server answered downloads the target software heat according to the download address and updates packet, further according to the target software heat
It updates packet and hot update is carried out to the specified application.
The second aspect of the embodiment of the present invention provides a kind of data update apparatus, comprising:
First judging unit judges whether deposit in first server if logging in specified application failure for user
Packet is updated in the corresponding target software heat of the specified application, the target software heat updates packet are as follows: issuing time is in institute
State the software heat update packet after the issuing time of the current operation version of specified application;
First hot updating unit, if there are the corresponding target software heat of the specified application in first server
Update packet, then obtain the download address that the target software heat updates packet from second server, the second server be with
Then the corresponding server of the identity information of the user downloads the target software heat according to the download address and updates packet,
Packet is updated further according to the target software heat, and hot update is carried out to the specified application.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising: memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of the data-updating method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the step such as the data-updating method is realized when the computer program is executed by processor
Suddenly.
Existing beneficial effect is the embodiment of the present invention compared with prior art: if user logs in specified application and loses
It loses, then judges to update packet, the target with the presence or absence of the corresponding target software heat of the specified application in first server
Software heat updates packet are as follows: software heat of the issuing time after the issuing time of the current operation version of the specified application
Update packet;If there are the corresponding target software heat of the specified application to update packet in first server, from second service
The download address that the target software heat updates packet is obtained in device, the second server is the identity information pair with the user
Then the server answered downloads the target software heat according to the download address and updates packet, further according to the target software heat
It updates packet and hot update is carried out to the specified application.Due to can user log in specified application failure in the case where,
The target software heat is downloaded according to the download address and updates packet, updates packet to described specified further according to the target software heat
Application program carries out hot update, so that user does not need to reinstall application program unloading again new to solve abnormal conditions
Application program, that is, do not need user and carry out cumbersome operation, and the renewal time that heat updates is shorter, therefore substantially increases
Solution efficiency of the user to the abnormal conditions of application program in no success login application program.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is a kind of flow diagram of data-updating method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of data update apparatus provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.It should be appreciated that working as
Use in this specification and in the appended claims, term " includes " indicates described feature, entirety, step, operation, member
Element and/or component presence, but be not precluded one or more of the other feature, entirety, step, operation, element, component and/or
Its presence or addition for gathering.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, terminal device described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, above equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal device including display and touch sensitive surface is described.However, should manage
Solution, terminal device may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Terminal device supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on the terminal device
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
Embodiment one:
Fig. 1 shows a kind of flow diagram of data-updating method provided by the embodiments of the present application, and details are as follows:
Step S101 judges in first server if user logs in specified application failure with the presence or absence of the finger
Determine the corresponding target software heat of application program and update packet, the target software heat updates packet are as follows: issuing time is answered in described specify
Packet is updated with the software heat after the issuing time of the current operation version of program.
Wherein, the user includes: personal user or enterprise customer, and the first server is for storing software heat more
New packet generates the download address that the software heat updates packet, the specified application stored according to the first server
All version informations determine that the software heat updates the version information of packet, the version information is generated according to the download address
Corresponding structured query language (Structured Query Language, SQL), sends the user's for the SQL
The corresponding server of Customs Assigned Number, to realize that the software heat updates the publication of packet, in order to meet user for application program
Operational requirements, it is to be answered by developer according to the customization demand or/and described specify of the user that the software heat, which updates packet,
The software heat for the specified application developed with the functional fault of program updates packet, and the customization demand is included in described specified
Increase company information in application program, the company information includes enterprise name or/and enterprise's mark.
Optionally, before the step S101, comprising:
A1, the identity information and logging request for obtaining user, the identity information include, but is not limited to: to log in account
Number, modification logging and Customs Assigned Number.
A2, the login account and the modification logging are sent to the corresponding server of the Customs Assigned Number, the use
Family numbers corresponding server and is used to verify the login account and the modification logging, if being verified, basis
The logging request generation logins successfully information, if verifying does not pass through, generates login failure information according to the logging request.
In the step, the corresponding server of Customs Assigned Number is second server.
Accordingly, the step S101 is specifically included: whether detection, which receives the user in default receiving time, is compiled
What number corresponding server was sent logins successfully information, if received in default receiving time it is described login successfully information,
Determine that user successfully logs in specified application;If logining successfully information described in being not received by default receiving time, and
It is to receive login failure information, then determines that user logs in specified application failure, if user logs in specified application and loses
It loses, then judges to update packet with the presence or absence of the corresponding target software heat of the specified application in first server.
Optionally, if application program breaks down, it frequently can lead to the appearance of abnormal conditions, such as user occur and repeatedly step on
Specified application failure is recorded, therefore, in order to quickly solve the failure of application program, before the step S101, comprising: really
The fixed user logs in the frequency of failure of the specified application;It is described to judge whether the frequency of failure is more than or equal to
Default login failure number;Accordingly, the step S101 specifically: if the frequency of failure is more than or equal to described preset
Login failure number then judges to update in first server with the presence or absence of the corresponding target software heat of the specified application
Packet.
Optionally, it includes: statistics default that the determination user, which logs in the frequency of failure of the specified application,
The quantity of the login failure information continuously received in receiving time determines the use according to the quantity of the login failure information
Family logs in the frequency of failure of the specified application.
Optionally, in order to enable developer to recognize login exception information, to be divided for login exception information
Analysis and processing, therefore, the data-updating method further include: if the frequency of failure is more than or equal to the default login and loses
Number is lost, then generates login exception information;The login exception information is uploaded to first server.
Specifically, if the frequency of failure is more than or equal to the default login failure number, according to the failure
Number, login failure time, which generate, logs in exception information, and the login exception information and specified application information are uploaded to
First server.
Optionally, the step S101 includes:
B1, the corresponding released version information of the specified application is obtained from first server, it is described to have issued
Version information comprises at least one of the following: the issuing time of released version or/and the version number of released version.
The comparison knot of the current operation version information of released version information and the specified application described in B2, acquisition
Fruit.
B3, according to the comparison result judge in the first server with the presence or absence of the specified application it is corresponding
Target software heat updates packet.
Optionally, the information of released version is specially the specified application of the highest level of first server storage
The version number of version, the rank is corresponding with issuing time, and issuing time is more late, then corresponding rank is higher, the current fortune
Row version information is specially the version number of current operation version.
Accordingly, the step B1 is specifically included: being sent the version number of the current operation version to first server, is connect
Receive the version number of the specified application version of the highest level, the version of the specified application version of the highest level
It number is to be sent by the first server according to the version number of the current operation version.
Accordingly, the step B2 is specifically included: obtaining the version number of the specified application version of the highest level
With the comparison result of the version number of the current operation version.
Accordingly, the step B3 is specifically included: if the comparison result is the specified application of the highest level
The version number of version is identical with the version number of the current operation version, then determines that there is no the fingers in the first server
Determine the corresponding target software heat of application program and updates packet;If the comparison result is the specified application version of the highest level
This version number and the version number of the current operation version be not identical, and the specified application version of the highest level
It is superior to the current operation version, then determines that there are the corresponding targets of the specified application in the first server
Software heat updates packet.
Step S102, if there are the corresponding target software heat of the specified application to update packet in first server,
The download address that the target software heat updates packet is obtained from second server, the second server is with the user's
Then the corresponding server of identity information downloads the target software heat according to the download address and updates packet, further according to described
Target software heat updates packet and carries out hot update to the specified application.
Optionally, the corresponding server of different user types is different, and on the different corresponding servers of user type
The download address stored is different, in order to be accurately obtained the corresponding target software of the corresponding user type of the user
Heat updates the download address of packet, and first server is needed to judge the corresponding server of the Customs Assigned Number according to Customs Assigned Number, because
This step S102 is specifically included: if there are the corresponding target software heat of the specified application to update packet in first server,
It then sends the Customs Assigned Number and version interface is requested to the first server, it is soft that the target is obtained from second server
Part heat updates the download address of packet, and the first server determines institute for determining the corresponding user type of the Customs Assigned Number
The corresponding server of user type is stated, that is, determines second server, version interface request is then forwarded to second service
Device, the second server are used to determine that the target software heat updates the download address of packet according to version interface request.
Optionally, since user not necessarily wishes to update specified application at once, in order to meet the operation need of user
It asks, described before the download address for obtaining the target software heat update packet in second server, comprising: detect whether to connect
Receive update confirmation message;Accordingly, the download address that the target software heat is obtained from second server and updates packet
If including: to receive update confirmation message, the download address that the target software heat updates packet is obtained from second server.
Optionally, described to detect whether that receiving update confirmation message includes: to issue to update inquiry message, the update is ask
Ask that information for inquiring whether the user will update the specified application, detects whether to receive the user feedback
Update confirmation message.
Optionally, since the updated specified application of heat can not necessarily operate normally, in order to guarantee user to heat
The operating efficiency of updated specified application, therefore after the step S102, comprising: specify updated to heat is answered
It is verified with program.
Optionally, in the case where successfully logging in specified application, in order to be able to satisfy the update of specified application
The operational requirements of the user of different identity information, therefore the data-updating method further include:
If C1, user log in specified application success, judge in first server with the presence or absence of the specified application
The corresponding target software heat of program updates packet.
It is wrapped if being updated in C2, first server there are the corresponding target software heat of the specified application, described in judgement
Whether the version information that target software heat updates packet includes specific function description information;If the target software heat updates the version of packet
This information includes specific function description information, then judges whether to receive update confirmation message.
If C3, receiving update confirmation message, updated under packet from the target software heat is obtained in second server
Then set address downloads the target software heat according to the download address and updates packet, updates further according to the target software heat
Packet carries out hot update to the specified application.
Optionally, if the specific function description information is specially compatible restoration information or/and specific transactions description letter
It ceases, then the step C2 specifically: if there are the corresponding target software heat of the specified application to update in first server
Packet, then detect whether to receive more new command immediately, if receiving more new command immediately, obtain from second server immediately
The target software heat updates the download address of packet, then downloads the target software heat according to the download address and updates packet,
Packet is updated further according to the target software heat, and hot update is carried out to the specified application;Refer to if being not received by and updating immediately
It enables, then whether the version information for judging that the target software heat updates packet includes that compatible restoration information or/and specific transactions are retouched
State information;If the version information that the target software heat updates packet includes compatible restoration information or/and specific transactions description letter
Breath then judges whether to receive update confirmation message and issue to update inquiry message, detects whether to receive the user feedback
Update confirmation message.
In the embodiment of the present invention, if user logs in specified application failure, judge to whether there is in first server
The corresponding target software heat of the specified application updates packet, and the target software heat updates packet are as follows: issuing time is described
Software heat after the issuing time of the current operation version of specified application updates packet;If existing in first server described
The corresponding target software heat of specified application updates packet, then obtains the target software heat from second server and update packet
Download address, the second server are server corresponding with the identity information of the user, then according to the downloading ground
Location downloads the target software heat and updates packet, updates packet further according to the target software heat and carries out heat to the specified application
It updates.Since it is soft that the target can be downloaded according to the download address in the case where user logs in specified application failure
Part heat updates packet, updates packet further according to the target software heat and carries out hot update to the specified application, so that user is not
It needs that new application program is reinstalled in application program unloading again in order to solve abnormal conditions, that is, it is numerous not to need user's progress
Trivial operation, and the renewal time that heat updates is shorter, therefore substantially increases the user in no success login application program
To the solution efficiency of the abnormal conditions of application program.
Embodiment two:
Corresponding with above-described embodiment one, Fig. 2 shows a kind of structures of data update apparatus provided by the embodiments of the present application
Schematic diagram illustrates only part relevant to the embodiment of the present application for ease of description.
The data update apparatus includes: the first judging unit 21 and the first hot updating unit 22.
First judging unit 21 judges in first server if logging in specified application failure for user
Packet is updated with the presence or absence of the corresponding target software heat of the specified application, the target software heat updates packet are as follows: when publication
Between software heat after the issuing time of the current operation version of the specified application update packet.
Optionally, data update apparatus further include: acquiring unit and transmission unit.
The acquiring unit, if logging in specified application mistake for executing the user in first judging unit 21
It loses, then before judging to update packet with the presence or absence of the corresponding target software heat of the specified application in first server, obtains
The identity information and logging request of user, the identity information include, but is not limited to: login account, modification logging and use
Family number.
The transmission unit, it is corresponding for the login account and the modification logging to be sent to the Customs Assigned Number
Server, the corresponding server of the Customs Assigned Number is for verifying the login account and the modification logging, if testing
Card passes through, then logins successfully information according to logging request generation, if verifying does not pass through, is generated according to the logging request
Login failure information.
Accordingly, if first judging unit 21 is executing user's login specified application failure, judge
When updating packet with the presence or absence of the corresponding target software heat of the specified application in first server, be specifically used for: detection exists
The corresponding server transmission of the Customs Assigned Number whether is received in default receiving time logins successfully information, if connecing default
Information is logined successfully described in receiving in time receiving, then determines that user successfully logs in specified application;If in default receive
In be not received by it is described login successfully information, but receive login failure information, then determine that user logs in specified application
Procedure failure judges in first server if user logs in specified application failure with the presence or absence of described specified using journey
The corresponding target software heat of sequence updates packet.
Optionally, if application program breaks down, it frequently can lead to the appearance of abnormal conditions, such as user occur and repeatedly step on
Specified application failure is recorded, therefore, in order to quickly solve the failure of application program, the data update apparatus further include: failure
Number determination unit and second judgment unit.
The frequency of failure determination unit, for executing the judgement first server in first judging unit
Before updating packet with the presence or absence of the corresponding target software heat of the specified application, determine that the user logs in described specify and answers
With the frequency of failure of program.
Second judgment unit, for judging whether the frequency of failure is more than or equal to the default login failure
Number.
Accordingly, first judging unit whether there is the specified application on executing the judgement first server
When the corresponding target software heat of program updates packet, it is specifically used for: if the frequency of failure is more than or equal to the default login
The frequency of failure then judges to update packet with the presence or absence of the corresponding target software heat of the specified application in first server.
Optionally, in order to enable developer to recognize login exception information, to be divided for login exception information
Analysis and processing, therefore, the data update apparatus further include: exception information unit.
The exception information unit, if being more than or equal to the default login failure number for the frequency of failure,
Then generate login exception information;The login exception information is uploaded to first server.
Optionally, first judging unit 21 includes: that version information obtains subelement, comparison subunit, judgement son list
Member.
The version information obtains subelement, corresponding for obtaining the specified application from first server
Released version information, the information of released version comprise at least one of the following: the issuing time of released version or/and having sent out
The version number of cloth version.
The comparison subunit, for obtaining the current operation of the released version information and the specified application
The comparison result of version information.
The judgment sub-unit, for being judged in the first server according to the comparison result with the presence or absence of the finger
Determine the corresponding target software heat of application program and updates packet.
Optionally, the information of released version is specially the specified application of the highest level of first server storage
The version number of version, the rank is corresponding with issuing time, and issuing time is more late, then corresponding rank is higher, the current fortune
Row version information is specially the version number of current operation version.
Accordingly, the version information obtains subelement, is specifically used for: sending the version number of the current operation version extremely
First server receives the version number of the specified application version of the highest level, the specified application of the highest level
The version number of program version is to be sent by the first server according to the version number of the current operation version.
Accordingly, the comparison subunit, is specifically used for: obtaining the version of the specified application version of the highest level
This number and it is described it is current operation version version number comparison result.
Accordingly, the judgment sub-unit, is specifically used for: if the comparison result is the specified application of the highest level
The version number of program version is identical with the version number of the current operation version, then determines that there is no institutes in the first server
It states the corresponding target software heat of specified application and updates packet;If the comparison result is that the specified of the highest level applies journey
The version number of sequence version and the version number of the current operation version be not identical, and the specified application version of the highest level
This is superior to the current operation version, then determines that there are the specified application is corresponding in the first server
Target software heat updates packet.
First hot updating unit 22, if there are the corresponding target softwares of the specified application in first server
Heat updates packet, then the download address that the target software heat updates packet is obtained from second server, and the second server is
Then server corresponding with the identity information of the user is downloaded the target software heat according to the download address and is updated
Packet updates packet further according to the target software heat and carries out hot update to the specified application.
Optionally, the corresponding server of different user types is different, and on the different corresponding servers of user type
The download address stored is different, in order to be accurately obtained the corresponding target software of the corresponding user type of the user
Heat updates the download address of packet, and first server is needed to judge the corresponding server of the Customs Assigned Number according to Customs Assigned Number, because
This described first hot updating unit 22, is specifically used for: if there are the corresponding targets of the specified application in first server
Software heat updates packet, then sends the Customs Assigned Number and version interface is requested to the first server, from second server
The download address that the target software heat updates packet is obtained, the first server is for determining the corresponding use of the Customs Assigned Number
Family type determines the corresponding server of the user type, that is, determines second server, then turns version interface request
It is sent to second server, the second server is used to determine that the target software heat updates packet according to version interface request
Download address.
Optionally, since user not necessarily wishes to update specified application at once, in order to meet the operation need of user
It asks, the data update apparatus further include: detection unit, the detection unit are used for: being executed in the described first hot updating unit 22
It is described before the download address for obtaining the target software heat in second server and updating packet, detect whether to receive update true
Recognize information;Accordingly, the described first hot updating unit 22 described obtains the target software heat executing from second server
It is specifically used for when updating the download address of packet: if receiving update confirmation message, the target is obtained from second server
Software heat updates the download address of packet.
Optionally, since the updated specified application of heat can not necessarily operate normally, in order to guarantee user to heat
The operating efficiency of updated specified application, therefore the data update apparatus further include: authentication unit, the authentication unit
For: it is executed in the described first hot updating unit 22 described under obtaining the target software heat update packet in second server
After set address, the updated specified application of heat is verified.
Optionally, in the case where successfully logging in specified application, in order to be able to satisfy the update of specified application
The operational requirements of the user of different identity information, therefore the data update apparatus further include: third judging unit, the 4th judgement are single
Member, the second hot updating unit.
The third judging unit is used for: if user log in specified application success, judge be in first server
It is no that there are the corresponding target software heat of the specified application to update packet.
4th judging unit is used for: if there are the corresponding target softwares of the specified application in first server
Heat updates packet, and whether the version information for judging that the target software heat updates packet includes specific function description information;If the mesh
Marking software heat to update the version information of packet includes specific function description information, then judges whether to receive update confirmation message.
The second hot updating unit is used for: if receiving update confirmation message, from second server described in acquisition
Target software heat updates the download address of packet, then downloads the target software heat according to the download address and updates packet, then root
Packet is updated according to the target software heat, and hot update is carried out to the specified application.
Optionally, if the specific function description information is specially compatible restoration information or/and specific transactions description letter
Breath, then the 4th judging unit is specifically used for: if there are the corresponding target of the specified application is soft in first server
Part heat updates packet, then detects whether to receive more new command immediately, if more new command immediately is received, immediately from second service
The download address that the target software heat updates packet is obtained in device, and the target software heat is then downloaded according to the download address
Packet is updated, packet is updated further according to the target software heat and hot update is carried out to the specified application;If being not received by vertical
That is more new command, then whether the version information for judging that the target software heat updates packet includes compatible restoration information or/and spy
Determine business description information;If the version information that the target software heat updates packet includes compatible restoration information or/and specific industry
Business description information then judges whether to receive update confirmation message and issue to update inquiry message, detects whether to receive the use
The update confirmation message of family feedback.
In the embodiment of the present invention, if user logs in specified application failure, judge to whether there is in first server
The corresponding target software heat of the specified application updates packet, and the target software heat updates packet are as follows: issuing time is described
Software heat after the issuing time of the current operation version of specified application updates packet;If existing in first server described
The corresponding target software heat of specified application updates packet, then obtains the target software heat from second server and update packet
Download address, the second server are server corresponding with the identity information of the user, then according to the downloading ground
Location downloads the target software heat and updates packet, updates packet further according to the target software heat and carries out heat to the specified application
It updates.Since it is soft that the target can be downloaded according to the download address in the case where user logs in specified application failure
Part heat updates packet, updates packet further according to the target software heat and carries out hot update to the specified application, so that user is not
It needs that new application program is reinstalled in application program unloading again in order to solve abnormal conditions, that is, it is numerous not to need user's progress
Trivial operation, and the renewal time that heat updates is shorter, therefore substantially increases the user in no success login application program
To the solution efficiency of the abnormal conditions of application program.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Embodiment three:
Fig. 3 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 3, the terminal of the embodiment is set
Standby 3 include: processor 30, memory 31 and are stored in the meter that can be run in the memory 31 and on the processor 30
Calculation machine program 32.The processor 30 is realized when executing the computer program 32 in above-mentioned each data-updating method embodiment
The step of, such as step S101 to S102 shown in FIG. 1.Alternatively, reality when the processor 30 executes the computer program 32
The function of each unit in existing above-mentioned each Installation practice, such as the function of unit 21 to 22 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the terminal device 3 is described.For example, the computer program 32 can be divided
It is cut into the first judging unit, the first hot updating unit, each unit concrete function is as follows:
First judging unit judges whether deposit in first server if logging in specified application failure for user
Packet is updated in the corresponding target software heat of the specified application, the target software heat updates packet are as follows: issuing time is in institute
State the software heat update packet after the issuing time of the current operation version of specified application.
First hot updating unit, if there are the corresponding target software heat of the specified application in first server
Update packet, then obtain the download address that the target software heat updates packet from second server, the second server be with
Then the corresponding server of the identity information of the user downloads the target software heat according to the download address and updates packet,
Packet is updated further according to the target software heat, and hot update is carried out to the specified application.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3
The only example of terminal device 3 does not constitute the restriction to terminal device 3, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk or interior of terminal device 3
It deposits.The memory 31 is also possible to the External memory equipment of the terminal device 3, such as be equipped on the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 31 can also both include the storage inside list of the terminal device 3
Member also includes External memory equipment.The memory 31 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.