CN104021053A - 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
CN104021053A
CN104021053A CN201410264508.2A CN201410264508A CN104021053A CN 104021053 A CN104021053 A CN 104021053A CN 201410264508 A CN201410264508 A CN 201410264508A CN 104021053 A CN104021053 A CN 104021053A
Authority
CN
China
Prior art keywords
application program
file
installation
essential information
installation path
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
CN201410264508.2A
Other languages
Chinese (zh)
Other versions
CN104021053B (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
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

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

Method, mobile terminal and the webserver of a kind of reparation, backup application
Technical field
The present invention relates to the protection of end application, relate in particular to method, mobile terminal and the webserver of a kind of reparation, backup application.
Background technology
At present, in the time that the upper application program of installing of mobile terminal (as mobile phone) is too much or junk information is too much, can occupy a large amount of internal memories of customer mobile terminal, thereby cause mobile terminal to react slow, if manually cleaning, can delete the associated documents of application program because of carelessness, cause some application program normally not use, now, user need to download and install described application program again.
In prior art, need to repair mistake deleted file by third party software, this has certain technical difficulty to certain customers (as the people that the knowledge such as computer, network is lacked relatively), implements more difficult, and what have also need to complete by computer.In addition, even sometimes by third party software, we do not know which file our application has lost yet, now, just can only be by described application program unloading refitting, like this, not only wasted flow but also elapsed time.
Summary of the invention
In view of this, the embodiment of the present invention provides method, mobile terminal and the webserver of a kind of reparation, backup application, contributes to quick repairing applications, and can save user's flow.
On the one hand, the embodiment of the present invention provides a kind of method of repairing applications, comprising:
Determine the file of losing in described application program;
Send the request of obtaining the file corresponding with the file of described loss to the webserver, and obtain the file corresponding with the file of described loss from the webserver;
According to the described file obtaining from the webserver, described application program is repaired.
Alternatively, before the file of losing in described definite described application program, comprise: the file under the essential information of described application program, installation path and described installation path is uploaded to the webserver and preserve; Described essential information comprises: version number, installation kit name and/or the signature of described application program.
Alternatively, the file of losing in described definite described application program comprises: the essential information of obtaining described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; The essential information of the described application program of obtaining is uploaded to the webserver; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; The installation path of the described application program that reception is returned from the essential information of uploading described in described webserver basis; Scan at mobile terminal according to described installation path; In scanning process, if described installation path does not exist or described installation path is imperfect, determine File lose corresponding to described installation path.
Alternatively, the method for described repairing applications also comprises: when installing after new application program, obtain the file under essential information, installation path and the described installation path of the application program of described new installation; Wherein, described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation; File under the essential information of the application program of described new installation, installation path and described installation path is uploaded to the webserver to be preserved.
Alternatively, the method for described repairing applications also comprises: in scanning process, if described mobile terminal has garbage files, automatically described garbage files is cleared up.
The method of the repairing applications described in the embodiment of the present invention, determine after the file of application program loss, can obtain the file corresponding with the file of described loss from the webserver repairs described application program, like this, not needing that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on reinstalls, saved user's flow and time, and described method is simple to operate, the file that repairing applications is lost fast.
On the other hand, the embodiment of the present invention provides a kind of method of repairing applications, comprising:
What webserver mobile terminal receive sent obtains the request of repairing file; Wherein, the file that described reparation file is lost for the application program on described mobile terminal is repaired;
The described webserver is searched the corresponding reparation file of file of losing with the application program on described mobile terminal;
Described reparation file is sent to described mobile terminal by the described webserver.
Alternatively, the described webserver comprises before searching the reparation file corresponding with the file of the application program loss on described mobile terminal: the essential information of the application program that webserver mobile terminal receive is uploaded; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; The described webserver is searched 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.
Alternatively, before the essential information of the application program of uploading at described webserver mobile terminal receive, also comprise: the file under essential information, installation path and the described installation path of the described application program that described webserver mobile terminal receive is uploaded is also preserved.
The method of the repairing applications described in the embodiment of the present invention, in the time that obtaining of sending of mobile terminal receive repaired the request of file, search the corresponding reparation file of file of losing with the application program on described mobile terminal, and described reparation file is sent to described mobile terminal, like this, mobile terminal does not need that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on and reinstalls, thereby, user's flow and time are saved, and file simple to operate, repairing applications is lost fast.
On the other hand, the embodiment of the present invention provides a kind of method of backup application, comprising:
Obtain the file under installation path and the installation path of essential information, application program of application program;
File under the essential information of described application program, installation path and described installation path is uploaded to the webserver to be preserved.
Alternatively, the method for described repairing applications also comprises: when installing after new application program, obtain the file under installation path and the installation path of essential information, application program of the application program of new installation; File under the installation path of the essential information of the application program of described new installation, application program and installation path is uploaded to the webserver to be preserved.
The method of the backup application described in the embodiment of the present invention, can be by the essential information of application program, file under installation path and the installation path of application program is also preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, can save customer flow, can reach again the object of quick reparation.
On the other hand, the embodiment of the present invention provides a kind of method of backup application, comprising:
File under the essential information of the application program that mobile terminal receive is uploaded, the installation path of application program and described installation path;
File under the installation path of the essential information of described application program, application program and described installation path is preserved at 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, file under installation path and the installation path of application program is also preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, can save customer flow, can reach again the object of quick reparation.
Another aspect, the embodiment of the present invention provides a kind of mobile terminal, comprising: determining unit, for the file of determining that described application program is lost; The first acquiring unit, for obtaining the file corresponding with the file of described loss from the webserver; Repair unit, for described application program being repaired according to the described file obtaining from the webserver.
Alternatively, described mobile terminal also comprises: second acquisition unit, for obtaining in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Uploading unit, uploads to the webserver for the file under essential information, installation path and the described installation path of described application program that described second acquisition unit is obtained in advance and preserves.
Alternatively, described determining unit comprises: acquisition module, for obtaining the essential information of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Upper transmission module, for being uploaded to the webserver by the essential information of the described application program of obtaining; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Receiver module, for receiving the installation path of the described application program that the essential information uploaded according to transmission module described from the described webserver returns; Scan module, the installation path returning for the described webserver receiving according to described receiver module, scans mobile terminal; Determination module, for according to the scanning of described scan module, when described installation path do not exist or described installation path imperfect, determine File lose corresponding to described installation path.
Alternatively, described mobile terminal also comprises: described second acquisition unit, also for after having new application program to install, obtain file under essential information, installation path and the described installation path of the application program of described new installation and upload to the webserver and preserve; Described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation; Described uploading unit, also uploads to the webserver for the file under essential information, installation path and the described installation path of the application program of described new installation that described second acquisition unit is obtained and preserves.
Alternatively, described mobile terminal also comprises: cleaning unit, for process mobile terminal being scanned at described the first scan module, if described mobile terminal has garbage files, automatically described garbage files is cleared up.
Mobile terminal described in the embodiment of the present invention, determining unit is determined after the file of application program loss, described the first acquiring unit obtains the file corresponding with the file of described loss and by described reparation unit, described application program is repaired from the webserver, like this, not needing that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on reinstalls, user's flow and time are saved, and described method is simple to operate, the file that repairing applications is lost fast.
Another aspect, the embodiment of the present invention provides a kind of webserver, comprising: the first receiving element, the request that described application program is repaired sending for mobile terminal receive; In described request, include the path of file and the file that described needs are repaired of needs reparation; First searches unit, for searching the corresponding reparation file of file of losing with the application program on described mobile terminal; The first transmitting element, for sending described mobile terminal by described reparation file.
Alternatively, the described webserver also comprises: the second receiving element, the essential information of the application program of uploading for mobile terminal receive; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Second searches unit, for search according to the essential information of described application program described application program installation file path and by the path of the installation file of described application program; The second transmitting element, for being sent to described mobile terminal by the path of the installation file of described application program.
Alternatively, the described webserver also comprises: the 3rd receiving element, the file under the ultimate file under essential information, installation path and the described installation path of the described application program of uploading for mobile terminal receive; Storage unit, for storing 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, in the time that obtaining of sending of described the first receiving element mobile terminal receive repaired the request of file, described first searches unit searches the corresponding reparation file of file of losing with the application program on described mobile terminal, and by described the first transmitting element, described reparation file is sent to described mobile terminal, like this, mobile terminal does not need that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on and reinstalls, user's flow and time are saved, and described method is simple to operate, the file that repairing applications is lost fast.
Another aspect, the embodiment of the present invention provides a kind of mobile terminal, comprising: acquiring unit, for obtaining the file under installation path and the installation path of essential information, application program of application program; Uploading unit, for being uploaded to the webserver by the file under the essential information of described application program, installation path and described installation path.
Alternatively, described mobile terminal also comprises: when installing after new application program, described acquiring unit is also for obtaining the file under installation path and the installation path of essential information, application program of application program of new installation; Described uploading unit is also for being uploaded to the webserver by the file under the installation path of the essential information of the application program of described new installation, application program and installation path.
Mobile terminal described in the embodiment of the present invention, file under the installation path of the essential information of application program, application program and installation path can be preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, customer flow can be saved, the object of quick reparation can be reached again.
On the one hand, the embodiment of the present invention provides a kind of webserver, comprising: receiving element, the file under the essential information of the application program of uploading for mobile terminal receive, the installation path of application program and described installation path again; Storage unit, for preserving the file under the installation path of the essential information of described application program, application program and described installation path.
The webserver described in the embodiment of the present invention, file under the installation path of the essential information of application program, application program and installation path can be preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, customer flow can be saved, the object of quick reparation can be reached again.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
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.
Embodiment
Below in conjunction with accompanying drawing, method, mobile terminal and the webserver of a kind of reparation of the embodiment of the present invention, backup application are described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Shown in Fig. 1, the embodiment of the method for a kind of repairing applications of the present invention, comprising:
S11, determine the file of losing in described application program;
Break down as started after failure in application program, can whether repair detection to this application program by dialog box reminding user, user determines after the reparation detection of carrying out application program, can detect to determine the file of losing in described application program.
S12, send the request of obtaining the file corresponding with the file of described loss to the webserver, and obtain the file corresponding with the file of described loss from the webserver;
Determining after the file of losing in described application program, send the request of obtaining the file corresponding with the file of described loss to the webserver, and obtain the file corresponding with the file of described loss from the webserver.
S13, according to the described file obtaining from the webserver, described application program is repaired.
The method of embodiment of the present invention repairing applications, determine after the file of application program loss, can obtain the file corresponding with the file of described loss from the webserver repairs described application program, like this, not needing that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on reinstalls, saved user's flow and time, and described method is simple to operate, the file that repairing applications is lost fast.
In the embodiment of the method for aforementioned repairing applications, alternatively, the file (S11) of losing in described definite described application program comprises before: the file under the essential information of described application program, installation path and described installation path is uploaded to the webserver and preserve; Described essential information comprises: version number, installation kit name and/or the signature of described application program.In the present embodiment, can be in storage unit of Servers installed, such as database, being used for specially storage is arranged on the file under installation path and the described installation path of various application programs of mobile terminal, like this, save the storage space of mobile terminal, and be convenient to determine fast the file that application program is lost and repair.
In the embodiment of the method for aforementioned repairing applications, alternatively, describedly determine that the file (S11) of losing in described application program comprising: the essential information of obtaining described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; The essential information of the described application program of obtaining is uploaded to the webserver; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; The installation path of the described application program that reception is returned from the essential information of uploading described in described webserver basis; Scan at mobile terminal according to described installation path; In scanning process, if described installation path does not exist or described installation path is imperfect, determine File lose corresponding to described installation path.
In the present embodiment, for example, in the time that the QQ of customer mobile terminal can not normally use, search the path of its installation file to the webserver according to the version number of the application program of described QQ and/or bag name and/or signature, if this path be " memory device Tencent MobileQQ data ", through a wheel scan, do not scan the file corresponding with described path or imperfect with file corresponding to described path, determine that current installation file corresponding to described path lose.
In the embodiment of the method for aforementioned repairing applications, alternatively, the method of described repairing applications also comprises: when installing after new application program, obtain the file under essential information, installation path and the described installation path of the application program of described new installation; Wherein, described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation; File under the essential information of the application program of described new installation, installation path and described installation path is uploaded to the webserver to be preserved.
In the present embodiment, for example, the path of the current installation file by the application program on the internal memory to described mobile terminal or SD card is scanned (time of described scanning is about 22 seconds) or is stated application program on mobile terminal and monitor described, in the time finding new application program is installed, the information that described webserver stores is preserved is supplemented in time.
In the embodiment of the method for aforementioned repairing applications, alternatively, the method for described repairing applications also comprises: in scanning process, if described mobile terminal has garbage files, automatically described garbage files is cleared up.In the present embodiment, in scanning process, if described mobile terminal has garbage files, also can clear up by reminding user, if user selects to clear up, automatically described garbage files is cleared up.
Shown in Fig. 2, the embodiment of the method for a kind of repairing applications of the present invention, comprising:
What S21, webserver mobile terminal receive sent obtains the request of repairing file; Wherein, the file that described reparation file is lost for the application program on described mobile terminal is repaired;
S22, the described webserver are searched the corresponding reparation file of file of losing with the application program on described mobile terminal;
Described reparation file is sent to described mobile terminal by S23, the described webserver.
The method of embodiment of the present invention repairing applications, in the time that obtaining of sending of webserver mobile terminal receive repaired the request of file, search the corresponding reparation file of file of losing with the application program on described mobile terminal, and described reparation file is sent to described mobile terminal, like this, mobile terminal does not need that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on and reinstalls, thereby, user's flow and time are saved, and file simple to operate, repairing applications is lost fast.
In the embodiment of the method for aforementioned repairing applications, before the file of the application program on this mobile terminal is repaired, can first determine exactly this application program and lose which file, alternatively, the described webserver is searched the corresponding reparation file (S21) of file of losing with application program on described mobile terminal and is comprised before: the essential information of the application program that webserver mobile terminal receive is uploaded; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; The described webserver is searched 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.
In the embodiment of the method for aforementioned repairing applications, alternatively, before the essential information of the application program of uploading at described webserver mobile terminal receive, also comprise: the file under essential information, installation path and the described installation path of the described application program that described webserver mobile terminal receive is uploaded is also preserved.Like this, the file under the essential information of application program, installation path and described installation path is all kept to the webserver, has saved the storage space of mobile terminal.
Shown in Fig. 3, the embodiment of the method for a kind of backup application of the present invention, comprising:
File under installation path and the installation path of S31, the essential information of obtaining application program, application program;
S32, by the file under the essential information of described application program, installation path and described installation path be uploaded to the webserver preserve.
The method of embodiment of the present invention backup application, can be by the essential information of application program, file under installation path and the installation path of application program is also preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, by the file under the dress path of preserving in the webserver in advance, the file that just repairing applications is lost fast, can save customer flow, can reach again the object of quick reparation.
In the embodiment of the method for aforementioned backup application, alternatively, the method of described repairing applications also comprises: when installing after new application program, obtain the file under installation path and the installation path of essential information, application program of the application program of new installation; File under the installation path of the essential information of the application program of described new installation, application program and installation path is uploaded to the webserver to be preserved.
For example, by the path of the current installation file of application program on described mobile terminal being scanned to (time of described scanning is about 22 seconds) or being stated application program on mobile terminal and monitor described, in the time finding new application program is installed, the information that described webserver stores is preserved is supplemented in time, thereby in the time of the File lose of application program, the file that repairing applications is lost fast.
Shown in Fig. 4, the embodiment of the method for a kind of backup application of the present invention, comprising:
File under the essential information of the application program that S41, mobile terminal receive are uploaded, the installation path of application program and described installation path;
S42, the file under the installation path of the essential information of described application program, application program and described installation path is preserved at the webserver.
The method of embodiment of the present invention backup application, can and preserve at the webserver the file under the installation path of the essential information of application program, application program and installation path, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, customer flow can be saved, the object of quick reparation can be reached again.
Shown in Fig. 5, the embodiment of a kind of mobile terminal 1 of the present invention, comprising: determining unit 12, for the file of determining that described application program is lost; The first acquiring unit 13, for obtaining the file corresponding with the file of described loss from the webserver; Repair unit 14, for described application program being repaired according to the described file obtaining from the webserver.
The mobile terminal of the embodiment of the present invention, determining unit 12 is determined after the file of application program loss, the first acquiring unit 13 obtains the file corresponding with the file of described loss and by repairing unit 14, described application program is repaired from the webserver, like this, not needing that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on reinstalls, user's flow and time are saved, and described method is simple to operate, the file that repairing applications is lost fast.
In the embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also comprises: second acquisition unit, for obtaining in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Uploading unit, uploads to the webserver for the file under essential information, installation path and the described installation path of described application program that described second acquisition unit is obtained in advance and preserves.In the present embodiment, can be in storage unit of Servers installed, being used for specially storage is arranged on the file under installation path and the described installation path of various application programs of mobile terminal, like this, save the storage space of mobile terminal, and be convenient to determine fast the file that application program is lost and repair.
Shown in Fig. 6, in the embodiment of aforementioned mobile terminal, alternatively, described determining unit 12 comprises: acquisition module 121, for obtaining the essential information of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Upper transmission module 122, for being uploaded to the webserver by the essential information of the described application program of obtaining; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Receiver module 123, for receive from the described webserver according to the installation path of the described application program returned of the essential information uploaded of transmission module 122; Scan module 124, for the installation path returning according to the described webserver of 123 receptions of the first reception mould, scans mobile terminal; Determination module 125, for according to the scanning of scan module 124, when described installation path do not exist or described installation path imperfect, determine File lose corresponding to described installation path.
In the present embodiment, for example, in the time that the QQ of customer mobile terminal can not normally use, search the path of its installation file to the webserver according to the version number of the application program of described QQ and/or bag name and/or signature, if this path be " memory device Tencent MobileQQ data ", through a wheel scan, do not scan the file corresponding with described path or imperfect with file corresponding to described path, determine that current installation file corresponding to described path lose.
In the embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also comprises: described second acquisition unit, also for after having new application program to install, obtain file under essential information, installation path and the described installation path of the application program of described new installation and upload to the webserver and preserve; Described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation; Described uploading unit, also uploads to the webserver for the file under essential information, installation path and the described installation path of the application program of described new installation that described second acquisition unit is obtained and preserves.
In the present embodiment, for example, the path of the current installation file by the application program of installing on the internal memory to described mobile terminal and/or SD card is scanned (time of described scanning is about 22 seconds) or is stated application program on mobile terminal and monitor described, in the time finding new application program is installed, the information that described webserver stores is preserved is supplemented in time.
In the embodiment of aforementioned mobile terminal, alternatively, described mobile terminal also comprises: cleaning unit, for process mobile terminal being scanned at scan module 124, if described mobile terminal has garbage files, automatically described garbage files is cleared up.In the present embodiment, in scanning process, if described mobile terminal has garbage files, also can clear up by reminding user, if user selects to clear up, automatically described garbage files is cleared up.
Shown in Fig. 7, the embodiment of a kind of webserver 2 of the present invention, comprising: the first receiving element 21, the request that described application program is repaired sending for mobile terminal receive; In described request, include the path of file and the file that described needs are repaired of needs reparation; First searches unit 22, for searching the corresponding reparation file of file of losing with the application program on described mobile terminal; The first transmitting element 23, for sending described mobile terminal by described reparation file.
The webserver 2 of the embodiment of the present invention, in the time that obtaining of sending of the first receiving element 21 mobile terminal receives repaired the request of file, first searches unit 22 searches the corresponding reparation file of file of losing with the application program on described mobile terminal, and by the first transmitting element 23, described reparation file is sent to described mobile terminal, like this, mobile terminal does not need that the described application program that can not normally move is unloaded to the newly downloaded application program of laying equal stress on and reinstalls, user's flow and time are saved, and described method is simple to operate, the file that repairing applications is lost fast.
Shown in Fig. 8, in the embodiment of aforementioned network server, before the file of the application program on this mobile terminal is repaired, can first determine exactly this application program and lose which file, alternatively, the described webserver 2 also comprises: the second receiving element 24, the essential information of the application program of uploading for mobile terminal receive; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program; Second searches unit 25, for search according to the essential information of described application program described application program installation file path and by the path of the installation file of described application program; The second transmitting element 26, for being sent to described mobile terminal by the path of the installation file of described application program.
In the embodiment of aforementioned network server, alternatively, the described webserver 2 also comprises: the 3rd receiving element, the file under the ultimate file under essential information, installation path and the described installation path of the described application program of uploading for mobile terminal receive; Storage unit, for storing the file under the ultimate file under essential information, installation path and the described installation path of described application program.Like this, the file under the essential information of application program, installation path and described installation path is all kept to the webserver, has saved the storage space of mobile terminal.
Shown in Fig. 9, the embodiment of a kind of mobile terminal 3 of the present invention, comprising: acquiring unit 31, for obtaining the file under installation path and the installation path of essential information, application program of application program; Uploading unit 32, for being uploaded to the webserver by the file under the essential information of described application program, installation path and described installation path.
The mobile terminal 3 of the embodiment of the present invention, file under the installation path of the essential information of application program, application program and installation path can be preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, customer flow can be saved, the object of quick reparation can be reached again.
In the embodiment of aforementioned mobile terminal, alternatively, described mobile terminal 3 also comprises: when installing after new application program, acquiring unit is also for obtaining the file under installation path and the installation path of essential information, application program of application program of new installation; Uploading unit is also for being uploaded to the webserver by the file under the installation path of the essential information of the application program of described new installation, application program and installation path.
For example, by the path of the current installation file of application program on described mobile terminal being scanned to (time of described scanning is about 22 seconds) or being stated application program on mobile terminal and monitor described, in the time finding new application program is installed, the information that described webserver stores is preserved is supplemented in time, thereby in the time of the File lose of application program, the file that repairing applications is lost fast.
Shown in Figure 10, the embodiment of a kind of webserver 4 of the present invention, comprising: receiving element 41, the file under the essential information of the application program of uploading for mobile terminal receive, the installation path of application program and described installation path; Storage unit 42, for preserving the file under the installation path of the essential information of described application program, application program and described installation path.
The webserver of the embodiment of the present invention, file under the installation path of the essential information of application program, application program and installation path can be preserved at the webserver, like this, when the File lose of application program, when needing to repair, only need obtain corresponding file from the described webserver modifies, not needing that described application program is unloaded to the newly downloaded application program of laying equal stress on reinstalls, the file that just repairing applications is lost fast, customer flow can be saved, the object of quick reparation can be reached again.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (22)

1. a method for repairing applications, is characterized in that, comprising:
Determine the file of losing in application program;
Send the request of obtaining the file corresponding with the file of described loss to the webserver, and obtain the file corresponding with the file of described loss from the webserver;
According to the described file obtaining from the webserver, described application program is repaired.
2. the method for repairing applications according to claim 1, is characterized in that, before the file of losing, comprises in described definite described application program:
File under the essential information of described application program, installation path and described installation path is uploaded to the webserver to be preserved; Described essential information comprises: version number, installation kit name and/or the signature of described application program.
3. the method for repairing applications according to claim 1, is characterized in that, the file of losing in described definite described application program comprises:
Obtain the essential information of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program;
The essential information of the described application program of obtaining is uploaded to the webserver; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program;
The installation path of the described application program that reception is returned from the essential information of uploading described in described webserver basis;
Scan at mobile terminal according to described installation path;
In scanning process, if described installation path does not exist or described installation path is imperfect, determine File lose corresponding to described installation path.
4. the method for repairing applications according to claim 1, also comprises:
When installing after new application program, obtain the file under essential information, installation path and the described installation path of the application program of described new installation; Wherein, described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation;
File under the essential information of the application program of described new installation, installation path and described installation path is uploaded to the webserver to be preserved.
5. according to the method for the repairing applications described in claim 3 or 4, it is characterized in that, also comprise:
In scanning process, if described mobile terminal has garbage files, automatically described garbage files is cleared up.
6. a method for repairing applications, is characterized in that, comprising:
What webserver mobile terminal receive sent obtains the request of repairing file; Wherein, the file that described reparation file is lost for the application program on described mobile terminal is repaired;
The described webserver is searched the corresponding reparation file of file of losing with the application program on described mobile terminal;
Described reparation file is sent to described mobile terminal by the described webserver.
7. the method for repairing applications according to claim 6, is characterized in that, the described webserver is searched the corresponding reparation file of file of losing with the application program on described mobile terminal and comprised before:
The essential information of the application program that webserver mobile terminal receive is uploaded; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program;
The described webserver is searched 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.
8. the method for repairing applications according to claim 7, is characterized in that, before the essential information of the application program of uploading at described webserver mobile terminal receive, also comprises:
File under essential information, installation path and the described installation path of the described application program that described webserver mobile terminal receive is uploaded is also preserved.
9. a method for backup application, is characterized in that, comprising:
Obtain the file under installation path and the installation path of essential information, application program of application program;
File under the essential information of described application program, installation path and described installation path is uploaded to the webserver to be preserved.
10. the method for repairing applications according to claim 9, is characterized in that, also comprises:
When installing after new application program, obtain the file under installation path and the installation path of essential information, application program of the application program of new installation;
File under the installation path of the essential information of the application program of described new installation, application program and installation path is uploaded to the webserver to be preserved.
The method of 11. 1 kinds of backup application, is characterized in that, comprising:
File under the essential information of the application program that mobile terminal receive is uploaded, the installation path of application program and described installation path;
File under the installation path of the essential information of described application program, application program and described installation path is preserved at the webserver.
12. 1 kinds of mobile terminals, is characterized in that, comprising:
Determining unit, for the file of determining that application program is lost;
The first acquiring unit, for obtaining the file corresponding with the file of described loss from the webserver;
Repair unit, for described application program being repaired according to the described file obtaining from the webserver.
13. mobile terminals according to claim 12, is characterized in that, also comprise:
Second acquisition unit, for obtaining in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program;
Uploading unit, uploads to the webserver for the file under essential information, installation path and the described installation path of described application program that described second acquisition unit is obtained in advance and preserves.
14. mobile terminals according to claim 12, is characterized in that, described determining unit comprises:
Acquisition module, for obtaining the essential information of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program;
Upper transmission module, for being uploaded to the webserver by the essential information of the described application program of obtaining; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program;
Receiver module, for receiving the installation path of the described application program that the essential information uploaded according to transmission module described from the described webserver returns;
Scan module, the installation path returning for the described webserver receiving according to described receiver module, scans mobile terminal;
Determination module, for according to the scanning of described scan module, when described installation path do not exist or described installation path imperfect, determine File lose corresponding to described installation path.
15. mobile terminals according to claim 13, is characterized in that, also comprise:
Described second acquisition unit, also for after having new application program to install, obtains file under essential information, installation path and the described installation path of the application program of described new installation and uploads to the webserver and preserve; Described essential information comprises: version number, installation kit name and/or the signature of the application program of described new installation;
Described uploading unit, also uploads to the webserver for the file under essential information, installation path and the described installation path of the application program of described new installation that described second acquisition unit is obtained and preserves.
16. mobile terminals according to claim 14, is characterized in that, also comprise:
Cleaning unit, for process mobile terminal being scanned at described scan module, if described mobile terminal has garbage files, clears up described garbage files automatically.
17. 1 kinds of webservers, is characterized in that, comprising:
The first receiving element, the request that described application program is repaired sending for mobile terminal receive; In described request, include the path of file and the file that described needs are repaired of needs reparation;
First searches unit, for searching the corresponding reparation file of file of losing with the application program on described mobile terminal;
The first transmitting element, for sending described mobile terminal by described reparation file.
18. webservers according to claim 17, is characterized in that, also comprise:
The second receiving element, the essential information of the application program of uploading for mobile terminal receive; On the described webserver, preserve in advance the file under essential information, installation path and the described installation path of described application program; Described essential information comprises: version number, installation kit name and/or the signature of described application program;
Second searches unit, for search according to the essential information of described application program described application program installation file path and by the path of the installation file of described application program;
The second transmitting element, for being sent to described mobile terminal by the path of the installation file of described application program.
19. webservers according to claim 18, is characterized in that, also comprise:
The 3rd receiving element, the file under essential information, installation path and the described installation path of the described application program of uploading for mobile terminal receive;
Storage unit, for storing the file under essential information, installation path and the described installation path of described application program.
20. 1 kinds of mobile terminals, is characterized in that, comprising:
Acquiring unit, for obtaining the file under installation path and the installation path of essential information, application program of application program;
Uploading unit, for being uploaded to the webserver by the file under the essential information of described application program, installation path and described installation path.
21. mobile terminals according to claim 20, is characterized in that, also comprise:
When installing after new application program, described acquiring unit is also for obtaining the file under installation path and the installation path of essential information, application program of application program of new installation;
Described uploading unit is also for being uploaded to the webserver by the file under the installation path of the essential information of the application program of described new installation, application program and installation path.
22. 1 kinds of webservers, is characterized in that, comprising:
Receiving element, the file under the essential information of the application program of uploading for mobile terminal receive, the installation path of application program and described installation path;
Storage unit, for preserving the file under the installation path of the essential information of described application program, application program and described installation path.
CN201410264508.2A 2014-06-13 2014-06-13 Method for restoration and backup of application programs, mobile terminal and network server Expired - Fee Related 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 true CN104021053A (en) 2014-09-03
CN104021053B CN104021053B (en) 2017-02-08

Family

ID=51437821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410264508.2A Expired - Fee Related 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407889A (en) * 2014-11-11 2015-03-11 百度在线网络技术(北京)有限公司 Method and device for repairing application program
CN104598817A (en) * 2014-12-19 2015-05-06 北京奇虎科技有限公司 Method, device and system for repairing file
CN104915266A (en) * 2015-06-15 2015-09-16 上海海漾软件技术有限公司 Application program protection method and application program protection device
CN105516315A (en) * 2015-12-10 2016-04-20 北京金山安全管理系统技术有限公司 File recovery method and device

Citations (5)

* 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
US20030032417A1 (en) * 2001-08-13 2003-02-13 Brian Minear System and method for temporary application component deletion and reload on a wireless device
US20100058138A1 (en) * 2000-01-04 2010-03-04 Magdolna Gerendai Data Transmission
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100058138A1 (en) * 2000-01-04 2010-03-04 Magdolna Gerendai Data Transmission
WO2002075549A1 (en) * 2001-03-16 2002-09-26 Sharp Kabushiki Kaisha Data synchronization system, apparatus used for the system, and data synchronization method
US20030032417A1 (en) * 2001-08-13 2003-02-13 Brian Minear System and method for temporary application component deletion and reload on a wireless device
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

Cited By (7)

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

Also Published As

Publication number Publication date
CN104021053B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN104461504B (en) A kind of management method of end application
CN107656695B (en) Data storage and deletion method and device and distributed storage system
CN104021053A (en) Method for restoration and backup of application programs, mobile terminal and network server
CN101308533A (en) Method, apparatus and system for virus checking and killing
CN104168123A (en) Data push method, data server, client and data push system
CN102231881B (en) Method, server and system for processing user data of mobile terminal
CN104243282B (en) A kind of information notice method and server
CN105279236A (en) File cleaning method and device and electronic equipment
CN104899049A (en) File deletion method and device
CN110971571A (en) Website domain name verification method and related device
CN104461505A (en) Terminal
CN103631603A (en) Software cleaning method and system
CN103631628A (en) Software cleaning method and system
CN103383698A (en) Data deletion method and mobile terminal thereof
CN105187560A (en) Cloud server-based data pushing method and device
CN103164247A (en) Method and device for automatically repairing system application
CN105472051A (en) Method, device and system for improving domain name resolution reliability
CN111222592B (en) Method and device for acquiring two-dimensional code of equipment
CN105354102A (en) File system maintenance and repairing method and apparatus
CN110688199A (en) Data recovery method, system, electronic equipment and storage medium
CN104281475A (en) Data downloading method
CN104219323A (en) Application downloading method and mobile terminal
CN104090924B (en) The method for cleaning and device of a kind of private data
CN104683213A (en) A mail sending method and device
CN109388558A (en) A kind of method, apparatus, equipment and storage medium managing electronic equipment

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: GUANGZHOU KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208