CN110244963A - Data-updating method, device and terminal device - Google Patents

Data-updating method, device and terminal device Download PDF

Info

Publication number
CN110244963A
CN110244963A CN201910438814.6A CN201910438814A CN110244963A CN 110244963 A CN110244963 A CN 110244963A CN 201910438814 A CN201910438814 A CN 201910438814A CN 110244963 A CN110244963 A CN 110244963A
Authority
CN
China
Prior art keywords
server
packet
target software
specified application
software heat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910438814.6A
Other languages
Chinese (zh)
Other versions
CN110244963B (en
Inventor
李哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mingyuanyun Space E Commerce Co ltd
Original Assignee
Shenzhen Mingyuan Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mingyuan Cloud Technology Co Ltd filed Critical Shenzhen Mingyuan Cloud Technology Co Ltd
Priority to CN201910438814.6A priority Critical patent/CN110244963B/en
Publication of CN110244963A publication Critical patent/CN110244963A/en
Application granted granted Critical
Publication of CN110244963B publication Critical patent/CN110244963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention is suitable for field of computer technology, provide data-updating method, device, terminal device and computer readable storage medium, if including: that user logs in specified application failure, judge to update packet with the presence or absence of the corresponding target software heat of the specified application in first server;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 then obtained from second server, the second server is server corresponding with the identity information of the user, then the target software heat is downloaded according to the download address and updates packet, updated packet further according to the target software heat and hot update is carried out to the specified application.By the above method, user can be greatly improved in no success login application program to the solution efficiency of the abnormal conditions of application program.

Description

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.

Claims (10)

1. a kind of data-updating method characterized by comprising
If user logs in specified application failure, judge corresponding with the presence or absence of the specified application in first server Target software heat update packet, the target software heat updates packet are as follows: current fortune of the issuing time in the specified application Software heat after the issuing time of row version updates packet;
If there are the corresponding target software heat of the specified application to update packet in first server, from second server The download address that the target software heat updates packet is obtained, the second server is corresponding with the identity information of the user Then server 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.
2. data-updating method as described in claim 1, which is characterized in that whether there is in the judgement first server The corresponding target software heat of the specified application updates before packet, comprising:
Determine that the user logs in the frequency of failure of the specified application;
Judge whether the frequency of failure is more than or equal to the default login failure number;
Accordingly, packet is updated with the presence or absence of the corresponding target software heat of the specified application in the judgement first server Specifically:
If the frequency of failure is more than or equal to the default login failure number, judge to whether there is in first server The corresponding target software heat of the specified application updates packet.
3. data-updating method as claimed in claim 2, which is characterized in that the data-updating method further include:
If the frequency of failure is more than or equal to the default login failure number, login exception information is generated;
The login exception information is uploaded to first server.
4. data-updating method as described in claim 1, which is characterized in that whether there is institute in the judgement first server It states the corresponding target software heat of specified application and updates packet, comprising:
The corresponding released version information of the specified application, the released version information are obtained from first server It comprises at least one of the following: the issuing time of released version or/and the version number of released version;
Obtain the comparison result of the current operation version information of released version information and the specified application;
Judged according to the comparison result soft with the presence or absence of the corresponding target of the specified application in the first server Part heat updates packet.
5. data-updating method as described in claim 1, which is characterized in that obtain the mesh from second server described Before the download address for marking software heat update packet, comprising:
It detects whether to receive update confirmation message;
Accordingly, the download address that the target software heat update packet is obtained from second server includes:
If receiving update confirmation message, the download address that the target software heat updates packet is obtained from second server.
6. data-updating method as described in claim 1 characterized by comprising
If user logs in specified application success, judge corresponding with the presence or absence of the specified application in first server Target software heat update packet;
If there are the corresponding target software heat of the specified application to update packet in first server, the target software is judged Whether the version information that heat updates packet includes specific function description information;
If the version information that the target software heat updates packet includes specific function description information, judge whether to receive update Confirmation message;
If receiving update confirmation message, the download address that the target software heat updates packet is obtained from second server, 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.
7. a kind of data update apparatus characterized by comprising
First judging unit judges in first server if logging in specified application failure for user with the presence or absence of institute It states the corresponding target software heat of specified application and updates packet, the target software heat updates packet are as follows: issuing time is in the finger Determine the software heat update packet after the issuing time of the current operation version of application program;
First hot updating unit, if there are the corresponding target software heat of the specified application to update in first server Packet, then obtain the download address that the target software heat updates packet from second server, the second server be with it is described Then the corresponding server of the identity information of user 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.
8. data update apparatus as claimed in claim 7, which is characterized in that further include:
Frequency of failure determination unit, for whether there is on executing the judgement first server in first judging unit Before the corresponding target software heat of the specified application updates packet, determine that the user logs in the specified application The frequency of failure;
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 corresponding target software heat updates packet, it is specifically used for: if the frequency of failure is more than or equal to the default login failure Number then judges to update packet with the presence or absence of the corresponding target software heat of the specified application in first server.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
CN201910438814.6A 2019-05-24 2019-05-24 Data updating method and device and terminal equipment Active CN110244963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910438814.6A CN110244963B (en) 2019-05-24 2019-05-24 Data updating method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910438814.6A CN110244963B (en) 2019-05-24 2019-05-24 Data updating method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN110244963A true CN110244963A (en) 2019-09-17
CN110244963B CN110244963B (en) 2020-05-22

Family

ID=67884959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910438814.6A Active CN110244963B (en) 2019-05-24 2019-05-24 Data updating method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN110244963B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158749A (en) * 2019-12-23 2020-05-15 杭州安恒信息技术股份有限公司 Software version replacing method, device, equipment and readable storage medium
CN112685058A (en) * 2020-12-22 2021-04-20 北京达佳互联信息技术有限公司 Pre-download method of application program update package, related device and storage medium
CN112929414A (en) * 2021-01-22 2021-06-08 北京北信源软件股份有限公司 Upgrade package downloading method and device, electronic equipment and storage medium
WO2024076123A1 (en) * 2022-10-05 2024-04-11 삼성전자 주식회사 Method for updating application and electronic device therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070033233A1 (en) * 2005-08-05 2007-02-08 Hwang Min J Log management system and method of using the same
CN101178655A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 On-line business customer terminal and method for login business server thereof
CN108965291A (en) * 2018-07-11 2018-12-07 平安科技(深圳)有限公司 Registration login method, system and the computer equipment of mixed application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070033233A1 (en) * 2005-08-05 2007-02-08 Hwang Min J Log management system and method of using the same
CN101178655A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 On-line business customer terminal and method for login business server thereof
CN108965291A (en) * 2018-07-11 2018-12-07 平安科技(深圳)有限公司 Registration login method, system and the computer equipment of mixed application

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158749A (en) * 2019-12-23 2020-05-15 杭州安恒信息技术股份有限公司 Software version replacing method, device, equipment and readable storage medium
CN111158749B (en) * 2019-12-23 2023-12-01 杭州安恒信息技术股份有限公司 Software version replacement method, device, equipment and readable storage medium
CN112685058A (en) * 2020-12-22 2021-04-20 北京达佳互联信息技术有限公司 Pre-download method of application program update package, related device and storage medium
CN112929414A (en) * 2021-01-22 2021-06-08 北京北信源软件股份有限公司 Upgrade package downloading method and device, electronic equipment and storage medium
WO2024076123A1 (en) * 2022-10-05 2024-04-11 삼성전자 주식회사 Method for updating application and electronic device therefor

Also Published As

Publication number Publication date
CN110244963B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN110244963A (en) Data-updating method, device and terminal device
CN108351772A (en) Across the identifier of application example
CN107846511A (en) A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN109582325A (en) Method for upgrading software, robot and the computer readable storage medium of robot
CN106534281A (en) Data request responding method, apparatus and system
CN109597643A (en) Using gray scale dissemination method, device, electronic equipment and storage medium
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN106663041A (en) Recovering usability of cloud based service from system failure
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN108763523A (en) Automatic session implementation method, server and storage medium
CN108830715A (en) Disk processing method and system are returned in batch documents part
CN115658301A (en) Storage resource scheduling method, device, storage medium and electronic equipment
CN110442819A (en) Data processing method, device, storage medium and terminal
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium
CN108490824B (en) Intelligent electric appliance control method, device and mobile terminal
CN106775835A (en) Obtain method, server and the terminal of upgrade file
CN107391361A (en) A kind of POS terminal automatic test approach and device
CN109104481A (en) file integrity detection method, file integrity detection device and terminal device
CN109271266A (en) Document transmission method, device and terminal device
CN109445779A (en) The rendering method and terminal device of multiple-language user interface
CN108521460A (en) Information-pushing method, device, mobile terminal and computer readable storage medium
CN109298956A (en) Document transmission method, device and terminal device
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 501-509, east block, Skyworth semiconductor design building, No. 18, Gaoxin South 4th Road, community, high tech Zone, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Mingyuan Cloud Technology Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road China science and Technology Development Institute of Technology Park building three, 24 floor tower

Patentee before: Shenzhen Mingyuan Cloud Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230621

Address after: Room 601, Block A, Gemdale Weixin Center, No. 16 Gaoxin South 10th Road, Gaoxin District Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen mingyuanyun space e-commerce Co.,Ltd.

Address before: 518000 501-509, east block, Skyworth semiconductor design building, No.18, Gaoxin South 4th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Mingyuan Cloud Technology Co.,Ltd.