CN104021053B - Method for restoration and backup of application programs, mobile terminal and network server - Google Patents

Method for restoration and backup of application programs, mobile terminal and network server Download PDF

Info

Publication number
CN104021053B
CN104021053B CN201410264508.2A CN201410264508A CN104021053B CN 104021053 B CN104021053 B CN 104021053B CN 201410264508 A CN201410264508 A CN 201410264508A CN 104021053 B CN104021053 B CN 104021053B
Authority
CN
China
Prior art keywords
application program
file
installation
webserver
mobile terminal
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.)
Active
Application number
CN201410264508.2A
Other languages
Chinese (zh)
Other versions
CN104021053A (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.)
Guangzhou cheetah Network Technology Co., Ltd.
Original Assignee
Kingsoft Guangzhou Network 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 Kingsoft Guangzhou Network Technology Co Ltd filed Critical Kingsoft Guangzhou Network Technology Co Ltd
Priority to CN201410264508.2A priority Critical patent/CN104021053B/en
Publication of CN104021053A publication Critical patent/CN104021053A/en
Application granted granted Critical
Publication of CN104021053B publication Critical patent/CN104021053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention discloses a method for restoration and backup of application programs, a mobile terminal and a network server. The method is favorable for quickly restoring the application programs and can save flow for users. The method for restoration of the application programs comprises the steps of determining files lost in the application programs; sending requests for obtaining files corresponding to the lost files to the network server, and obtaining the files corresponding to the lost files from the network server; and restoring the application programs according to the files obtained from the network server. The method for backup of the application programs comprises the steps of obtaining basic information of the application programs, installation paths of the application programs and files under the installation paths; and enabling the basic information of the application programs, the installation paths and the files under the installation paths to be uploaded to the network server to be stored. The method is suitable for restoration and backup of the application programs installed on the mobile terminal.

Description

A kind of reparation, the method for backup application, mobile terminal and the webserver
Technical field
The present invention relates to the protection of end application, more particularly, to a kind of reparation, the method for backup application, movement Terminal and the webserver.
Background technology
At present, when the upper application program installed of mobile terminal (as mobile phone) is excessive or junk information is excessive, can occupy A large amount of internal memories of customer mobile terminal, thus leading to mobile terminal to react slowly, if manual cleaning, can accidentally delete The associated documents of application program, lead to some application programs can not normally use, and now, user needs to re-download and install institute State application program.
In prior art, need to repair by third party software and delete file by mistake, this to certain customers (as to computer, The people that the knowledge such as network relatively lack) for have certain technical difficulty, implement relatively difficult, and, have also needs to To complete by computer.In addition, sometimes even with third party software, we do not know which our application lost yet Described application program now, just can only be unloaded refitting, so, not only waste flow but also elapsed time by a little files.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of reparation, the method for backup application, mobile terminal and network clothes Business device, contributes to quick repairing applications, and can save the flow of user.
On the one hand, the embodiment of the present invention provides a kind of method of repairing applications, including:
Determine the file lost in described application program;
Send the request obtaining the file corresponding with the file of described loss to the webserver, and from the webserver Obtain the file corresponding with the file of described loss;
According to the described file from webserver acquisition, described application program is repaired.
Alternatively, include before the file lost in the described application program of described determination:Described application program is basic Files passe under information, installation path and described installation path is preserved to the webserver;Described essential information bag Include:The version number of described application program, installation kit name and/or signature.
Alternatively, the described file determining loss in described application program includes:Obtain the basic letter of described application program Breath;Described essential information includes:The version number of described application program, installation kit name and/or signature;Application journey by described acquisition The essential information of sequence is uploaded to the webserver;The basic letter of described application program is pre-saved on the described webserver File under breath, installation path and described installation path;Receive the basic letter according to described upload from the described webserver The installation path of the described application program that breath returns;It is scanned in mobile terminal according to described installation path;In scanning process In, if described installation path does not exist or described installation path is imperfect it is determined that the corresponding file of described installation path is lost Lose.
Alternatively, the method for described repairing applications also includes:After new application program is installed, obtain described new peace File under the essential information of application program of dress, installation path and described installation path;Wherein, described essential information bag Include:The version number of application program of described new installation, installation kit name and/or signature;Base by the application program of described new installation Files passe under this information, installation path and described installation path is preserved to the webserver.
Alternatively, the method for described repairing applications also includes:In scanning process, if described mobile terminal has rubbish File, then cleared up described garbage files automatically.
The method of the repairing applications described in the embodiment of the present invention, after determining the file that application program is lost, Neng Goucong The webserver obtains the file corresponding with the file of described loss and described application program is repaired, this way it is not necessary to The described application program being not normally functioning is unloaded and re-downloads application program and is reinstalled, save the stream of user Amount and time, and methods described is simple to operate, is capable of the file of quick repairing applications loss.
On the other hand, the embodiment of the present invention provides a kind of method of repairing applications, including:
The webserver receives the request of the acquisition reparation file that mobile terminal sends;Wherein, described reparation file is used for The file that application program on described mobile terminal is lost is repaired;
The described webserver searches the reparation literary composition corresponding with the file of the application program loss on described mobile terminal Part;
Described reparation file is sent to described mobile terminal by the described webserver.
Alternatively, the file that the described webserver is searched with the application program on described mobile terminal is lost is corresponding Include before repairing file:The webserver receives the essential information of the application program that mobile terminal uploads;In described network clothes File under essential information, installation path and the described installation path of described application program is pre-saved on business device;Described Essential information includes:The version number of described application program, installation kit name and/or signature;The described webserver is answered according to described Search the path of the installation file of described application program with the essential information of program;The described webserver finds described The path of the installation file of application program is sent to described mobile terminal.
Alternatively, receive the essential information of the application program that mobile terminal uploads in the described webserver before, also wrap Include:The described webserver receives the essential information of described application program, installation path and the described peace that mobile terminal uploads Fill the file under path and preserve.
The method of the repairing applications described in the embodiment of the present invention, when file is repaired in the acquisition receiving mobile terminal transmission Request when, search the corresponding reparation file of file with the application program loss on described mobile terminal, and repair described Multiple file is sent to described mobile terminal, and so, mobile terminal does not need to unload the described application program being not normally functioning And re-download application program and reinstalled, thus, save flow and the time of user, and simple to operate, can The file that quick repairing applications are lost.
On the other hand, the embodiment of the present invention provides a kind of method of backup application, including:
Obtain the file under essential information, the installation path of application program and the installation path of application program;
Files passe under the essential information of described application program, installation path and described installation path to network is taken Business device preserves.
Alternatively, the method for described repairing applications also includes:After new application program is installed, obtain new installation File under the essential information of application program, the installation path of application program and installation path;Application by described new installation Files passe under the essential information of program, the installation path of application program and installation path preserves to the webserver.
The method of the backup application described in the embodiment of the present invention, can be by the essential information of application program, application journey File under the installation path of sequence and installation path is simultaneously preserved in the webserver, so, when the file of application program Lose, when needing to repair, only need to obtain that corresponding file modifies from the described webserver can be it is not necessary to by institute State application program and unload and re-download application program and reinstalled it becomes possible to the literary composition lost of quick repairing applications Part, can save customer flow, can reach the purpose of quick reparation again.
On the other hand, the embodiment of the present invention provides a kind of method of backup application, including:
Receive the essential information of application program, the installation path of application program and the described installation road that mobile terminal uploads File under footpath;
File under the essential information of described application program, the installation path of application program and described installation path is existed The webserver is preserved.
The method of the backup application described in the embodiment of the present invention, can be by the essential information of application program, application journey File under the installation path of sequence and installation path is simultaneously preserved in the webserver, so, when the file of application program Lose, when needing to repair, only need to obtain that corresponding file modifies from the described webserver can be it is not necessary to by institute State application program and unload and re-download application program and reinstalled it becomes possible to the literary composition lost of quick repairing applications Part, can save customer flow, can reach the purpose of quick reparation again.
Another aspect, the embodiment of the present invention provides a kind of mobile terminal, including:Determining unit, for determining described application The file lost in program;First acquisition unit, for obtaining the literary composition corresponding with the file of described loss from the webserver Part;Repair unit, for repairing to described application program according to the described file from webserver acquisition.
Alternatively, described mobile terminal also includes:Second acquisition unit, for obtaining the basic of described application program in advance File under information, installation path and described installation path;Described essential information includes:The version number of described application program, Installation kit name and/or signature;Uploading unit, basic for the described application program that obtains described second acquisition unit in advance Files passe under information, installation path and described installation path is preserved to the webserver.
Alternatively, described determining unit includes:Acquisition module, for obtaining the essential information of described application program;Described Essential information includes:The version number of described application program, installation kit name and/or signature;Upper transmission module, for by described acquisition The essential information of application program is uploaded to the webserver;Described application program is pre-saved on the described webserver File under essential information, installation path and described installation path;Receiver module, for receiving from described webserver root The installation path of the described application program returning according to the essential information that described upper transmission module uploads;Scan module, for according to institute State the installation path that the described webserver of receiver module reception returns, mobile terminal is scanned;Determining module, is used for According to the scanning of described scan module, when described installation path do not exist or described installation path imperfect it is determined that described The corresponding file of installation path is lost.
Alternatively, described mobile terminal also includes:Described second acquisition unit, being additionally operable to work as has new application program to install Afterwards, the files passe obtaining under the essential information of application program, installation path and the described installation path of described new installation arrives The webserver is preserved;Described essential information includes:The version number of application program of described new installation, installation kit name and/ Or signature;Described uploading unit, is additionally operable to the application program of the described new installation of described second acquisition unit acquisition is basic Files passe under information, installation path and described installation path is preserved to the webserver.
Alternatively, described mobile terminal also includes:Cleaning unit, for entering to mobile terminal in described first scan module During row scanning, if described mobile terminal has garbage files, automatically described garbage files are cleared up.
Mobile terminal described in the embodiment of the present invention, after determining unit determines the file that application program is lost, described first Acquiring unit is answered from the webserver acquisition file corresponding with the file of described loss and by described reparation unit to described Repaired with program, this way it is not necessary to the described application program being not normally functioning is unloaded and re-downloads application program Reinstalled, save flow and the time of user, and methods described is simple to operate, being capable of quick repairing applications The file lost.
Another aspect, the embodiment of the present invention provides a kind of webserver, including:First receiving unit, moves for receiving The request that described application program is repaired that dynamic terminal sends;The file of reparation in need and described is comprised in described request Need the path of the file of reparation;First searching unit, for searching the literary composition lost with the application program on described mobile terminal The corresponding reparation file of part;First transmitting element, for sending described mobile terminal by described reparation file.
Alternatively, the described webserver also includes:Second receiving unit, for receiving the application journey of mobile terminal upload The essential information of sequence;The described webserver pre-saves the essential information of described application program, installation path and File under described installation path;Described essential information includes:The version number of described application program, installation kit name and/or signature; Second searching unit, searches the path of installation file of described application program simultaneously for the essential information according to described application program Path by the installation file of described application program;Second transmitting element, for by the road of the installation file of described application program Footpath sends to described mobile terminal.
Alternatively, the described webserver also includes:3rd receiving unit, should described in mobile terminal upload for receiving With the file under the ultimate file under the essential information of program, installation path and described installation path;Memory element, is used for Store the file under the ultimate file under essential information, installation path and the described installation path of described application program.
The webserver described in the embodiment of the present invention, when described first receiving unit receives the acquisition that mobile terminal sends During the request of reparation file, described first searching unit is searched relative with the file that the application program on described mobile terminal is lost The reparation file answered, and described reparation file is sent to by described mobile terminal by described first transmitting element, so, mobile whole End does not need to unload and re-download application program the described application program being not normally functioning to be reinstalled, and saves The flow of user and time, and methods described is simple to operate, being capable of file that quickly repairing applications are lost.
Another aspect, the embodiment of the present invention provides a kind of mobile terminal, including:Acquiring unit, for obtaining application program Essential information, the file under the installation path of application program and installation path;Uploading unit, for by described application program Essential information, the files passe under installation path and described installation path is to the webserver.
Alternatively, described mobile terminal also includes:After installing new application program, described acquiring unit is additionally operable to obtain File under the new essential information of application program installed, the installation path of application program and installation path;Described upper leaflet Unit is additionally operable to the literary composition under the essential information of application program of described new installation, the installation path of application program and installation path Part is uploaded to the webserver.
Mobile terminal described in the embodiment of the present invention, can be by the installation road of the essential information of application program, application program File under footpath and installation path is preserved in the webserver, so, when the file of application program is lost, needs to repair When, only need to modify from the described webserver corresponding file of acquisition can be it is not necessary to unload described application program Carry and re-download application program to be reinstalled it becomes possible to the file of quick repairing applications loss, use can be saved Family flow, can reach the purpose of quick reparation again.
Another further aspect, the embodiment of the present invention provides a kind of webserver, including:Receiving unit, mobile whole for receiving File under the essential information of application program, the installation path of application program and described installation path that end uploads;Storage is single Unit, for preserving the literary composition under the essential information of described application program, the installation path of application program and described installation path Part.
The webserver described in the embodiment of the present invention, can be by the installation of the essential information of application program, application program File under path and installation path is preserved in the webserver, so, when the file of application program is lost, needs to repair When multiple, only need to obtain that corresponding file modifies from the described webserver can be it is not necessary to by described application program Unload and re-download application program to be reinstalled it becomes possible to the file of quick repairing applications loss, can save Customer flow, can reach the purpose of quick reparation again.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of method one embodiment of repairing applications of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of method of repairing applications of the present invention;
Fig. 3 is the schematic flow sheet of method one embodiment of backup application of the present invention;
Fig. 4 is the schematic flow sheet of another embodiment of method of backup application of the present invention;
Fig. 5 is the structural representation of mobile terminal one embodiment of the present invention;
Fig. 6 is as the structural representation of determining unit 12 in 5;
Fig. 7 is the structural representation of the webserver one embodiment of the present invention;
Fig. 8 is the structural representation of another embodiment of the webserver of the present invention;
Fig. 9 is the structural representation of the another embodiment of mobile terminal of the present invention;
Figure 10 is the structural representation of the another embodiment of the webserver of the present invention.
Specific embodiment
A kind of reparation, the method for backup application, mobile terminal and network to the embodiment of the present invention below in conjunction with the accompanying drawings Server is described in detail.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its Its embodiment, broadly falls into the scope of protection of the invention.
Referring to shown in Fig. 1, a kind of specific embodiment of the method for repairing applications of the present invention, including:
S11, determine in described application program lose file;
Break down as after starting unsuccessfully in application program, whether user can be reminded to this application program by dialog box Carry out repairing detection, after user determines the reparation detection carrying out application program, then can be detected to determine described application program The file of middle loss.
S12, the request to the webserver transmission acquisition file corresponding with the file of described loss, and from network clothes Business device obtains the file corresponding with the file of described loss;
After the file lost in determining described application program, send, to the webserver, the file obtaining with described loss The request of corresponding file, and obtain the file corresponding with the file of described loss from the webserver.
S13, according to the described file from webserver acquisition, described application program is repaired.
The method of embodiment of the present invention repairing applications, after determining the file that application program is lost, can take from network Business device obtains the file corresponding with the file of described loss and described application program is repaired, this way it is not necessary to will be described The application program being not normally functioning unloads and re-downloads application program and reinstalled, and the flow saving user is timely Between, and methods described is simple to operate, being capable of file that quickly repairing applications are lost.
In the specific embodiment of the method for aforementioned repairing applications, alternatively, the described application program of described determination Include before the file (S11) of middle loss:By under the essential information of described application program, installation path and described installation path Files passe preserved to the webserver;Described essential information includes:The version number of described application program, installation kit name And/or signature.In the present embodiment, one memory element, such as data base can be set in server, be specifically used to storage and install File under the installation path and described installation path of the various application programs of mobile terminal, so, saves mobile whole The memory space at end, and be easy to quickly determine the file of application program loss and repaired.
In the specific embodiment of the method for aforementioned repairing applications, alternatively, the described application program of described determination The file (S11) of middle loss includes:Obtain the essential information of described application program;Described essential information includes:Described application journey The version number of sequence, installation kit name and/or signature;The essential information of the application program of described acquisition is uploaded to the webserver; The described webserver pre-saves under essential information, installation path and the described installation path of described application program File;Receive the installation road of the described application program returning from the described webserver according to the essential information of described upload Footpath;It is scanned in mobile terminal according to described installation path;In scanning process, if described installation path does not exist or institute State that installation path is imperfect it is determined that the corresponding file of described installation path is lost.
In the present embodiment, for example, when the QQ of customer mobile terminal can not normally use, according to the application program of described QQ Version number and/or bag name and/or the webserver of signing search the path of its installation file, if this path be " internal memory set Standby Tencent MobileQQ data ", through a wheel scan, do not scan file corresponding with described path or with institute State the corresponding file in path imperfect it is determined that described path corresponding be currently installed on file lose.
In the specific embodiment of the method for aforementioned repairing applications, alternatively, the side of described repairing applications Method also includes:After new application program is installed, obtain the essential information of application program of described new installation, installation path and File under described installation path;Wherein, described essential information includes:The version number of application program of described new installation, installation Bag name and/or signature;By the literary composition under the essential information of the application program of described new installation, installation path and described installation path Part is uploaded to the webserver and is preserved.
In the present embodiment, for example, by being currently installed on to the application program on the internal memory of described mobile terminal or SD card The path of file is scanned (time of described scanning be about 22 seconds) or states application program on mobile terminal and carry out to described Monitoring, when finding to install new application program, the information that described webserver storage is preserved is supplemented in time.
In the specific embodiment of the method for aforementioned repairing applications, alternatively, the side of described repairing applications Method also includes:In scanning process, if described mobile terminal has garbage files, automatically described garbage files are cleared up. In the present embodiment, in scanning process, if described mobile terminal has garbage files it is also possible to remind user to be cleared up, if using Family selects to be cleared up, then automatically cleared up described garbage files.
Referring to shown in Fig. 2, a kind of specific embodiment of the method for repairing applications of the present invention, including:
S21, the webserver receive the request of the acquisition reparation file that mobile terminal sends;Wherein, described reparation file File for losing to the application program on described mobile terminal is repaired;
S22, the described webserver search corresponding the repairing of file lost with the application program on described mobile terminal Multiple file;
Described reparation file is sent to described mobile terminal by S23, the described webserver.
The method of embodiment of the present invention repairing applications, when the webserver receives the acquisition reparation that mobile terminal sends During the request of file, search the corresponding reparation file of file with the application program loss on described mobile terminal, and by institute State reparation file and be sent to described mobile terminal, so, mobile terminal does not need the described application program being not normally functioning Unload and re-download application program to be reinstalled, thus, save flow and the time of user, and simple to operate, Can quickly repairing applications lose file.
In the specific embodiment of the method for aforementioned repairing applications, to the application program on this mobile terminal Before file is repaired, can first accurately determine out which file this application program lost, alternatively, described network clothes Business device includes before searching the reparation file (S21) corresponding with the file that the application program on described mobile terminal is lost:Net Network server receives the essential information of the application program that mobile terminal uploads;The described webserver pre-save described File under the essential information of application program, installation path and described installation path;Described essential information includes:Described application The version number of program, installation kit name and/or signature;The described webserver searches institute according to the essential information of described application program State the path of the installation file of application program;The described webserver is by the road of the installation file of the described application program finding Footpath is sent to described mobile terminal.
In the specific embodiment of the method for aforementioned repairing applications, alternatively, receive in the described webserver Before the essential information of application program that mobile terminal uploads, also include:The described webserver receives what mobile terminal uploaded File under the essential information of described application program, installation path and described installation path simultaneously preserves.So, by application program Essential information, the file under installation path and described installation path be all saved in the webserver, save mobile terminal Memory space.
Referring to shown in Fig. 3, a kind of specific embodiment of the method for backup application of the present invention, including:
File under S31, the essential information obtaining application program, the installation path of application program and installation path;
S32, by the files passe under the essential information of described application program, installation path and described installation path to net Network server preserves.
The method of embodiment of the present invention backup application, can be by the peace of the essential information of application program, application program Fill the file under path and installation path and preserved in the webserver, so, when the file of application program is lost, need When to be repaired, only need to obtain that corresponding file modifies from the described webserver can be it is not necessary to by described application Program unloading simultaneously re-downloads application program and is reinstalled, by under the dress path that preserves in the webserver in advance File, it becomes possible to the file of quick repairing applications loss, can save customer flow, can reach the mesh of quick reparation again 's.
In the specific embodiment of the method for aforementioned backup application, alternatively, the side of described repairing applications Method also includes:After new application program is installed, obtain the new essential information of application program installed, the installation road of application program File under footpath and installation path;By the essential information of application program of described new installation, the installation path of application program with And the files passe under installation path preserves to the webserver.
For example, (described swept by being scanned to the path being currently installed on file of application program on described mobile terminal The time retouched is about 22 seconds) or state application program on mobile terminal and be monitored to described, when finding to install new application journey During sequence, the information that described webserver storage is preserved is supplemented in time, thus when the file of application program is lost, energy The file that enough quick repairing applications are lost.
Referring to shown in Fig. 4, a kind of specific embodiment of the method for backup application of the present invention, including:
S41, the essential information of application program receiving mobile terminal upload, the installation path of application program and described peace File under dress path;
S42, by the literary composition under the essential information of described application program, the installation path of application program and described installation path Part is preserved in the webserver.
The method of embodiment of the present invention backup application, can be by the peace of the essential information of application program, application program Fill the file under path and installation path and preserved in the webserver, so, when the file of application program is lost, need When to be repaired, only need to obtain that corresponding file modifies from the described webserver can be it is not necessary to by described application Program unloading simultaneously re-downloads application program and is reinstalled it becomes possible to the file lost of quick repairing applications, can Save customer flow, the purpose of quick reparation can be reached again.
Referring to shown in Fig. 5, a kind of specific embodiment of mobile terminal 1 of the present invention, including:Determining unit 12, for true The file lost in fixed described application program;First acquisition unit 13, for obtaining the literary composition with described loss from the webserver The corresponding file of part;Repair unit 14, for entering to described application program according to the described file from webserver acquisition Row is repaired.
The mobile terminal of the embodiment of the present invention, after determining unit 12 determines the file that application program is lost, first obtains list Unit 13 obtains the file corresponding with the file of described loss and by reparation unit 14 to described application program from the webserver Repaired, this way it is not necessary to the described application program being not normally functioning is unloaded and re-downloads application program carry out weight New install, save flow and the time of user, and methods described be simple to operate, being capable of quick repairing applications loss File.
In the specific embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also includes:Second obtains list Unit, for obtaining the file under essential information, installation path and the described installation path of described application program in advance;Described base This information includes:The version number of described application program, installation kit name and/or signature;Uploading unit, for obtaining described second Files passe under the essential information of described application program, installation path and described installation path that unit obtains in advance is to net Network server is preserved.In the present embodiment, one memory element can be set in server, be specifically used to storage and be arranged on shifting File under the installation path of various application programs of dynamic terminal and described installation path, so, saves mobile terminal Memory space, and be easy to quickly determine the file of application program loss and repaired.
Referring to shown in Fig. 6, in the specific embodiment of aforementioned mobile terminal, alternatively, described determining unit 12 includes: Acquisition module 121, for obtaining the essential information of described application program;Described essential information includes:The version of described application program This number, installation kit name and/or signature;Upper transmission module 122, for being uploaded to net by the essential information of the application program of described acquisition Network server;The essential information of described application program, installation path and described are pre-saved on the described webserver File under installation path;Receiver module 123, for receiving the base uploading from the described webserver according to upper transmission module 122 The installation path of the described application program that this information returns;Scan module 124, for receiving 123 pieces of receptions of mould according to first The installation path that the described webserver returns, is scanned to mobile terminal;Determining module 125, for according to scan module 124 scanning, when described installation path does not exist or described installation path is imperfect it is determined that described installation path is corresponding File is lost.
In the present embodiment, for example, when the QQ of customer mobile terminal can not normally use, according to the application program of described QQ Version number and/or bag name and/or the webserver of signing search the path of its installation file, if this path be " internal memory set Standby Tencent MobileQQ data ", through a wheel scan, do not scan file corresponding with described path or with institute State the corresponding file in path imperfect it is determined that described path corresponding be currently installed on file lose.
In the specific embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also includes:Described second acquisition Unit, is additionally operable to obtain the essential information of application program, the installation path of described new installation after having new application program to install And the files passe under described installation path is preserved to the webserver;Described essential information includes:Described new installation The version number of application program, installation kit name and/or signature;Described uploading unit, is additionally operable to obtain described second acquisition unit Files passe under the essential information of the application program of described new installation, installation path and the described installation path that take is to network Server is preserved.
In the present embodiment, for example, by working as to the application program installed on the internal memory of described mobile terminal and/or SD card The path of front installation file is scanned (time of described scanning is about 22 seconds) or states application journey on mobile terminal to described Sequence is monitored, and when finding to install new application program, the information that described webserver storage is preserved is mended in time Fill.
In the specific embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also includes:Cleaning unit, uses During mobile terminal being scanned in scan module 124, if described mobile terminal has garbage files, automatically by institute State garbage files to be cleared up.In the present embodiment, in scanning process, if described mobile terminal has garbage files it is also possible to carry Awake user is cleared up, if user selects to be cleared up, is automatically cleared up described garbage files.
Referring to shown in Fig. 7, a kind of specific embodiment of webserver of the present invention 2, including:First receiving unit 21, For receiving the request that described application program is repaired of mobile terminal transmission;Reparation in need is comprised in described request The path of the file of file and the reparation of described needs;First searching unit 22, for searching and the application on described mobile terminal The corresponding reparation file of file that program is lost;First transmitting element 23, for sending described movement by described reparation file Terminal.
The webserver 2 of the embodiment of the present invention, when the first receiving unit 21 receives the acquisition reparation that mobile terminal sends During the request of file, the first searching unit 22 searches corresponding the repairing of file lost with the application program on described mobile terminal Multiple file, and described reparation file is sent to by described mobile terminal by the first transmitting element 23, so, mobile terminal does not need The described application program being not normally functioning is unloaded and re-downloads application program and is reinstalled, save the stream of user Amount and time, and methods described is simple to operate, is capable of the file of quick repairing applications loss.
Referring to shown in Fig. 8, in the specific embodiment of aforementioned network server, to the application journey on this mobile terminal Before the file of sequence is repaired, can first accurately determine out which file this application program lost, alternatively, described net Network server 2 also includes:Second receiving unit 24, for receiving the essential information of the application program of mobile terminal upload;Institute State the literary composition under essential information, installation path and described installation path that described application program is pre-saved on the webserver Part;Described essential information includes:The version number of described application program, installation kit name and/or signature;Second searching unit 25, uses Search the path of the installation file of described application program in the essential information according to described application program and by described application program Installation file path;Second transmitting element 26, for sending the path of the installation file of described application program to described Mobile terminal.
In the specific embodiment of aforementioned network server, alternatively, the described webserver 2 also includes:3rd connects Receive unit, for receiving essential information, installation path and the described installation path of the described application program of mobile terminal upload Under ultimate file under file;Memory element, for storing essential information, installation path and the institute of described application program State the file under the ultimate file under installation path.So, by the essential information of application program, installation path and described peace File under dress path is all saved in the webserver, saves the memory space of mobile terminal.
Referring to shown in Fig. 9, a kind of specific embodiment of mobile terminal of the present invention 3, including:Acquiring unit 31, is used for obtaining Take the file under the essential information of application program, the installation path of application program and installation path;Uploading unit 32, for inciting somebody to action Files passe under the essential information of described application program, installation path and described installation path is to the webserver.
The mobile terminal 3 of the embodiment of the present invention, can by the essential information of application program, application program installation path with And the file under installation path is preserved in the webserver, so, when application program file lose, need repair when Wait, only need to modify from the described webserver corresponding file of acquisition can be it is not necessary to unload simultaneously described application program Re-download application program to be reinstalled it becomes possible to the file of quick repairing applications loss, user's stream can be saved Amount, can reach the purpose of quick reparation again.
In the specific embodiment of aforementioned mobile terminal, alternatively, described mobile terminal 3 also includes:New when installing After application program, acquiring unit be additionally operable to obtain the essential information of application program of new installation, the installation path of application program with And the file under installation path;Uploading unit is additionally operable to the essential information of the application program of described new installation, application program Files passe under installation path and installation path is to the webserver.
For example, (described swept by being scanned to the path being currently installed on file of application program on described mobile terminal The time retouched is about 22 seconds) or state application program on mobile terminal and be monitored to described, when finding to install new application journey During sequence, the information that described webserver storage is preserved is supplemented in time, thus when the file of application program is lost, energy The file that enough quick repairing applications are lost.
Referring to shown in Figure 10, a kind of specific embodiment of webserver of the present invention 4, including:Receiving unit 41, is used for Receive the literary composition under the essential information of application program, the installation path of application program and the described installation path that mobile terminal uploads Part;Memory element 42, for preserving the essential information of described application program, the installation path of application program and described installation File under path.
The webserver of the embodiment of the present invention, can be by the installation path of the essential information of application program, application program And the file under installation path is preserved in the webserver, so, when the file of application program is lost, need reparation When, only need to modify from the described webserver corresponding file of acquisition can be it is not necessary to unload described application program And re-download application program and reinstalled it becomes possible to the file lost of quick repairing applications, user can be saved Flow, can reach the purpose of quick reparation again.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all answer It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of method of repairing applications is it is characterised in that include:
Determine the file lost in application program;
Send, to the webserver, the request obtaining the file corresponding with the file of described loss, and obtain from the webserver The file corresponding with the file of described loss;
According to the described file from webserver acquisition, described application program is repaired;
The described file determining loss in described application program includes:
Obtain the essential information of described application program;Described essential information includes:The version number of described application program, installation kit name And/or signature;
The essential information of the application program of described acquisition is uploaded to the webserver;The described webserver pre-saves There is the file under essential information, installation path and the described installation path of described application program;
Receive the installation path of the described application program returning from the described webserver according to the essential information of described upload;
It is scanned in mobile terminal according to described installation path;
In scanning process, if described installation path do not exist or described installation path imperfect it is determined that described installation road The corresponding file in footpath is lost.
2. the method for repairing applications according to claim 1 is it is characterised in that in the described application program of described determination Include before the file lost:
By the files passe under the essential information of described application program, installation path and described installation path to the webserver Preserved;Described essential information includes:The version number of described application program, installation kit name and/or signature.
3. the method for repairing applications according to claim 1, also includes:
After new application program is installed, obtain the essential information of application program of described new installation, installation path and described File under installation path;Wherein, described essential information includes:The version number of application program of described new installation, installation kit name And/or signature;
By the files passe under the essential information of the application program of described new installation, installation path and described installation path to net Network server is preserved.
4. the method for the repairing applications according to claim 1 or 3 is it is characterised in that also include:
In scanning process, if described mobile terminal has garbage files, automatically described garbage files are cleared up.
5. a kind of method of repairing applications is it is characterised in that include:
The webserver receives the request of the acquisition reparation file that mobile terminal sends;Wherein, described reparation file is used for institute The file stating the loss of the application program on mobile terminal is repaired;
The described webserver searches the reparation file corresponding with the file of the application program loss on described mobile terminal;
Described reparation file is sent to described mobile terminal by the described webserver;
The described webserver search the reparation file corresponding with the file of the application program loss on described mobile terminal it Front inclusion:
The webserver receives the essential information of the application program that mobile terminal uploads;The described webserver pre-saves There is the file under essential information, installation path and the described installation path of described application program;Described essential information includes:Institute State version number, installation kit name and/or the signature of application program;
The described webserver searches the path of the installation file of described application program according to the essential information of described application program;
The path of the installation file of the described application program finding is sent to described mobile terminal by the described webserver, moves Dynamic terminal is scanned in mobile terminal according to described installation path;In scanning process, if described installation path do not exist or Installation path described in person is imperfect it is determined that the corresponding file of described installation path is lost.
6. the method for repairing applications according to claim 5 is moved it is characterised in that receiving in the described webserver Before the essential information of application program that dynamic terminal uploads, also include:
The described webserver receives the essential information of described application program, installation path and the described peace that mobile terminal uploads Fill the file under path and preserve.
7. a kind of mobile terminal is it is characterised in that include:
Determining unit, for determining the file lost in application program;
First acquisition unit, for obtaining the file corresponding with the file of described loss from the webserver;
Repair unit, for repairing to described application program according to the described file from webserver acquisition;
Described determining unit includes:
Acquisition module, for obtaining the essential information of described application program;Described essential information includes:The version of described application program This number, installation kit name and/or signature;
Upper transmission module, for being uploaded to the webserver by the essential information of the application program of described acquisition;In described network clothes File under essential information, installation path and the described installation path of described application program is pre-saved on business device;
Receiver module, for receiving from the described webserver according to the essential information that described upper transmission module uploads returns The installation path of application program;
Scan module, the installation path that the described webserver for being received according to described receiver module returns, to mobile whole End is scanned;
Determining module, for the scanning according to described scan module, when described installation path does not exist or described installation path Imperfect it is determined that the corresponding file of described installation path is lost.
8. mobile terminal according to claim 7 is it is characterised in that also include:
Second acquisition unit, for obtaining essential information, installation path and the described installation path of described application program in advance Under file;Described essential information includes:The version number of described application program, installation kit name and/or signature;
Uploading unit, the essential information of the described application program for obtaining described second acquisition unit in advance, installation path And the files passe under described installation path is preserved to the webserver.
9. mobile terminal according to claim 8 is it is characterised in that also include:
Described second acquisition unit, is additionally operable to obtain the application program of described new installation after having new application program to install Files passe under essential information, installation path and described installation path is preserved to the webserver;Described basic letter Breath includes:The version number of application program of described new installation, installation kit name and/or signature;
Described uploading unit, is additionally operable to the basic letter of the application program of the described new installation obtaining described second acquisition unit Files passe under breath, installation path and described installation path is preserved to the webserver.
10. mobile terminal according to claim 8 is it is characterised in that also include:
Cleaning unit, during mobile terminal being scanned in described scan module, if described mobile terminal has rubbish Rubbish file, then cleared up described garbage files automatically.
A kind of 11. webservers are it is characterised in that include:
First receiving unit, for receiving the request that application program is repaired of mobile terminal transmission;Wrap in described request The path of the file of the file containing reparation in need and the reparation of described needs;
First searching unit, the corresponding reparation literary composition of the file for searching with the application program on described mobile terminal is lost Part;
First transmitting element, for sending described mobile terminal by described reparation file;
Second receiving unit, for receiving the essential information of the application program of mobile terminal upload;On the described webserver Pre-save the file under essential information, installation path and the described installation path of described application program;Described basic letter Breath includes:The version number of described application program, installation kit name and/or signature;
Second searching unit, searches the road of the installation file of described application program for the essential information according to described application program Footpath the path by the installation file of described application program;
Second transmitting element, for sending the path of the installation file of described application program to described mobile terminal, mobile whole End is scanned in mobile terminal according to described installation path;In scanning process, if described installation path does not exist or institute State that installation path is imperfect it is determined that the corresponding file of described installation path is lost.
12. webservers according to claim 11 are it is characterised in that also include:
3rd receiving unit, for receiving essential information, installation path and the institute of the described application program of mobile terminal upload State the file under installation path;
Memory element, for storing the file under essential information, installation path and the described installation path of described application program.
CN201410264508.2A 2014-06-13 2014-06-13 Method for restoration and backup of application programs, mobile terminal and network server Active CN104021053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410264508.2A CN104021053B (en) 2014-06-13 2014-06-13 Method for restoration and backup of application programs, mobile terminal and network server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410264508.2A CN104021053B (en) 2014-06-13 2014-06-13 Method for restoration and backup of application programs, mobile terminal and network server

Publications (2)

Publication Number Publication Date
CN104021053A CN104021053A (en) 2014-09-03
CN104021053B true CN104021053B (en) 2017-02-08

Family

ID=51437821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410264508.2A Active CN104021053B (en) 2014-06-13 2014-06-13 Method for restoration and backup of application programs, mobile terminal and network server

Country Status (1)

Country Link
CN (1) CN104021053B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407889B (en) * 2014-11-11 2018-09-07 百度在线网络技术(北京)有限公司 The restorative procedure and device of application program
CN104598817B (en) * 2014-12-19 2017-04-12 北京奇安信科技有限公司 Method, device and system for repairing file
CN104915266B (en) * 2015-06-15 2019-05-28 上海海漾软件技术有限公司 A kind of application program guard method and device
CN105516315B (en) * 2015-12-10 2019-10-11 北京金山安全管理系统技术有限公司 A kind of Ile repair method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002075549A1 (en) * 2001-03-16 2002-09-26 Sharp Kabushiki Kaisha Data synchronization system, apparatus used for the system, and data synchronization method
CN102662741A (en) * 2012-04-05 2012-09-12 华为技术有限公司 Method, device and system for realizing virtual desktop
CN103179153A (en) * 2011-12-22 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and mobile terminal data backup method based on cloud server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629285B1 (en) * 2000-01-04 2003-09-30 Nokia Corporation Data transmission
US6941135B2 (en) * 2001-08-13 2005-09-06 Qualcomm Inc. System and method for temporary application component deletion and reload on a wireless device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002075549A1 (en) * 2001-03-16 2002-09-26 Sharp Kabushiki Kaisha Data synchronization system, apparatus used for the system, and data synchronization method
CN103179153A (en) * 2011-12-22 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and mobile terminal data backup method based on cloud server
CN102662741A (en) * 2012-04-05 2012-09-12 华为技术有限公司 Method, device and system for realizing virtual desktop

Also Published As

Publication number Publication date
CN104021053A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN104021053B (en) Method for restoration and backup of application programs, mobile terminal and network server
CN104754002B (en) Clear up method, apparatus, mobile terminal and the cloud server of file
CN104461504B (en) A kind of management method of end application
CN104935502B (en) The creation method and device of mail group
CN103383698B (en) The method of data deletion and mobile terminal thereof
CN104040496A (en) Terminal And Application Program Restoration Method
US20140222761A1 (en) Terminal Backup and Recovery Method
JP6749677B2 (en) Automatic backup device based on real-time file change detection
CN104331376B (en) The method for cleaning and device of the installation kit stored in mobile terminal
CN103220352A (en) Terminal, server, file storage system and file storage method
CN103124276A (en) Method for expanding storage space of communication terminal and communication terminal
CN104021218A (en) Information display method and device
CN105279236A (en) File cleaning method and device and electronic equipment
CN104954431A (en) Network selection method, device and system
CN103678096A (en) Adaptation testing method and device of client side application
CN104636438A (en) E-mail sorted storing method and device
CN102752371A (en) Method for achieving splash on client side and client side
CN107608828A (en) Method, system, device and the storage medium that data center's power down recovers automatically
CN105912591A (en) Method and device for looking back image documents and mobile terminal
CN103179153B (en) Mobile terminal and mobile terminal data backup method based on cloud server
CN104133739B (en) A kind of method and device of automated back-up file
CN105335367B (en) Method, device and server for determining application program associated with file directory
CN104317955B (en) File scanning method and device in a kind of mobile terminal memory space
CN101309438A (en) Method avoiding repeated downloading identical e-mail using pop3 post office protocol
CN108243207B (en) A kind of date storage method of network cloud disk

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510623 unit 01-B, Guangzhou bank building, No. 30 Zhujiang Road, Guangzhou, Guangdong, Tianhe District, China

Patentee after: Guangzhou cheetah Network Technology Co., Ltd.

Address before: 510623 unit 01-B, Guangzhou bank building, No. 30 Zhujiang Road, Guangzhou, Guangdong, Tianhe District, China

Patentee before: Kingsoft, Guangzhou network technology Co., Ltd