Summary of the invention
Technical matters to be solved by this invention is, proposes a kind of application program management technology, and the application program that can avoid effectively seldom using takies storage space too much, and when the user reinstalls application program, can be more convenient.
In view of this, the present invention proposes a kind of terminal, comprising: record cell, record the use information of the application program of installing in the described terminal, and generate the priority that exists corresponding to described use information; Judging unit judges whether the described priority that exists is less than or equal to default level threshold; Information acquisition unit is under the situation that is in the judged result of described judging unit, obtains the information of corresponding application program; Storage unit is stored the information of the described application program that described information acquisition unit obtains; And unloading unit, unload described application program automatically.
In this technical scheme, use information by application programs is added up, and calculate the corresponding priority that exists accordingly, when the memory space inadequate of terminal or when in a period of time, needing the application program of installing put in order, automatically unload after recording the information of this application program, saved storage space for the user effectively.Wherein the use information of application program can comprise average operating time after frequency of utilization, the service time length overall, the number of starts, the each startup of this application program and/or the time of distance installation first etc., is used for embodying this application program to user's significance level.And the information of the application program that records before unloading has then comprised being used for the information such as title, size, version, manufacturing company of this application program obtaining corresponding application program according to these information automatically when needs carry out software rejuvenation.
In technique scheme, preferably, described terminal also comprises: backup bag acquiring unit is under the situation that is in the described judged result of described judging unit, obtains the backup bag of described application program; And described storage unit also is used for: store the described backup bag that described backup bag acquiring unit obtains.In this technical scheme, in the lower application program of unloading priority, also it is backed up, make things convenient for the user to reinstall this application program when needed.Such as obtaining this application program corresponding file, again these files are packed, generate the backup bag, be convenient to utilize at any time this backup bag to carry out the recovery of application program.
In technique scheme, preferably, described terminal also comprises: transmitting element, the described backup bag that described backup bag acquiring unit is obtained is sent to server.In this technical scheme, will back up the bag transmission and refer to server, can further be user's conserve storage, and when needs carry out the recovery of application program, directly from server, download this backup bag and get final product, need not to carry out searching of application program.
In technique scheme, preferably, described backup bag acquiring unit specifically comprises: search subelement, search the installation kit of described application program in the storage space of described terminal, as described backup bag; Extract subelement, from the system of described terminal, extract the installation kit of described application program, as described backup bag; And/or the generation subelement, from the system of described terminal, search the file corresponding to described application program, and generate corresponding backup bag.In this technical scheme, can use the installation kit of the application program that unloads as the backup bag; If there is not the installation kit of application storing on the terminal, for some systems, such as the Android system, can from system, directly extract the installation kit of mounted application program, and for other system, such as the Windows system, also can utilize the file after former application program is installed to generate the backup bag, like this even can keep and comprise that the user uses the more complete information of information and configuration information etc.
In technique scheme, preferably, described terminal also comprises: the command reception unit receives from user's recovery instruction is installed; The backup bag is searched the unit, searches the backup bag that instruction is installed corresponding to described recovery; And installation unit, utilize described backup bag to search the described backup bag that the unit finds and recover to install, obtain corresponding application program.In this technical scheme, when the user need reinstall application program, if stored the backup bag before, then can recover to install by the backup bag like a cork, and need not search on the net again and download, convenient for users to use, promoted user's experience; And under the situation that does not have the storage backup bag, can search corresponding installation kit at network according to the information of the application program of storing, as this backup bag, download, install.
The present invention also provides a kind of management method of application program, comprising:step 202, and the use information of the application program of installing in the record terminal, and generation is corresponding to the priority that exists of described use information; The information of corresponding application program is obtained and stored tostep 204 when existing priority to be less than or equal to default level threshold, when described;Step 206 unloads described application program automatically.
In this technical scheme, use information by application programs is added up, and calculate the corresponding priority that exists accordingly, when the memory space inadequate of terminal or when in a period of time, needing the application program of installing put in order, automatically unload after recording the information of this application program, saved storage space for the user effectively.Wherein the use information of application program can comprise average operating time after frequency of utilization, the service time length overall, the number of starts, the each startup of this application program and/or the time of distance installation first etc., is used for embodying this application program to user's significance level.And the information of the application program that records before unloading has then comprised information such as the title that changes application program, size, version, manufacturing company, is used for obtaining corresponding application program according to these information automatically when needs carry out software rejuvenation.
In technique scheme, preferably, also comprise in the described step 204: obtain the backup bag of described application program, and store described backup bag.In this technical scheme, in the lower application program of unloading priority, also it is backed up, make things convenient for the user to reinstall this application program when needed.Such as obtaining this application program corresponding file, again these files are packed, generate the backup bag, be convenient to utilize at any time this backup bag to carry out the recovery of application program.
In technique scheme, preferably, also comprise in the described step 204: obtain the backup bag of described application program, and be stored to server.In this technical scheme, will back up the bag transmission and refer to server, can further be user's conserve storage, and when needs carry out the recovery of application program, directly from server, download this backup bag and get final product, need not to carry out searching of application program.
In technique scheme, preferably, the process of obtaining the described backup bag of described application program specifically comprises: search the installation kit of described application program in the storage space of described terminal, as described backup bag; From the system of described terminal, extract the installation kit of described application program, as described backup bag; And/or from the system of described terminal, search file corresponding to described application program, and generate corresponding backup bag.In this technical scheme, can use the installation kit of the application program that unloads as the backup bag; If there is not the installation kit of application storing on the terminal, for some systems, such as the Android system, can from system, directly extract the installation kit of mounted application program, and for other system, such as the Windows system, also can utilize the file after former application program is installed to generate the backup bag, like this even can keep and comprise that the user uses the more complete information of information and configuration information etc.
In technique scheme, preferably, after the describedstep 206, also comprise: according to the recovery that receives instruction is installed, searches corresponding backup bag, and utilize described backup bag to recover to install corresponding application program.In this technical scheme, when the user need reinstall application program, if stored the backup bag before, then can recover to install by the backup bag like a cork, and need not search on the net again and download, convenient for users to use, promoted user's experience; And under the situation that does not have the storage backup bag, can search corresponding installation kit at network according to the information of the application program of storing, as this backup bag, download, install.
In sum, technical scheme among the present invention is by the priority of statistics application program, when user storage space is not enough, the low application program of priority is preferentially unloaded automatically, and the backup of unloaded application program is sent to the high in the clouds server, discharged valuable storage space for the user effectively; And when the user need reinstall unloaded installation procedure, can reinstall by the information application programs of application program of storage, search for and download and need not surf the Net again, convenient and swift, convenient for users, promoted user's experience.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments the present invention is further described in detail.
Set forth a lot of details in the following description so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram according to terminal of the present invention.
As shown in Figure 1, the invention provides a kind of terminal 100, comprising: record cell 102, the use information of the application program of installing in the record terminal 100, and generation is corresponding to the priority that exists of the information of use; Judging unit 104 judges to exist priority whether to be less than or equal to default level threshold; Information acquisition unit 106 is under the situation that is in the judged result of judging unit 104, obtains the information of corresponding application program; Storage unit 108, the information of the application program that storage information acquisition unit 106 is obtained; And unloading unit 110, unload application program automatically.
In this technical scheme, use information by application programs is added up, and calculate the corresponding priority that exists accordingly, when the memory space inadequate of terminal 100 or when in a period of time, needing the application program of installing put in order, automatically unload after recording the information of this application program, saved storage space for the user effectively.Wherein the use information of application program can comprise average operating time after frequency of utilization, the service time length overall, the number of starts, the each startup of this application program and/or the time of distance installation first etc., is used for embodying this application program to user's significance level.And the information of the application program that records before unloading has then comprised information such as the title that changes application program, size, version, manufacturing company, is used for obtaining corresponding application program according to these information automatically when needs carry out software rejuvenation.
In technique scheme, terminal 100 also comprises: backup bag acquiring unit 112 is under the situation that is in the judged result of judging unit 104, obtains the backup bag of application program; And storage unit 108 also is used for: the backup bag that storage backup bag acquiring unit 112 obtains.In this technical scheme, in the lower application program of unloading priority, also it is backed up, make things convenient for the user to reinstall this application program when needed.Such as obtaining this application program corresponding file, again these files are packed, generate the backup bag, be convenient to utilize at any time this backup bag to carry out the recovery of application program.
In technique scheme, terminal 100 also comprises: transmitting element 114, the backup bag that backup bag acquiring unit 112 is obtained is sent to server.In this technical scheme, will back up the bag transmission and refer to server, can further be user's conserve storage, and when needs carry out the recovery of application program, directly from server, download this backup bag and get final product, need not to carry out searching of application program.
In technique scheme, backup bag acquiring unit 112 specifically comprises: search subelement 112A, search the installation kit of application program in the storage space of terminal 100, as the backup bag; Extract subelement 112B, from the system of terminal 100, extract the installation kit of application program, as the backup bag; And/or generate subelement 112C, from the system of terminal 100, search the file corresponding to application program, and generate corresponding backup bag.In this technical scheme, can use the installation kit of the application program that unloads as the backup bag; If there is not the installation kit of application storing on the terminal, for some systems, such as the Android system, can from system, directly extract the installation kit of mounted application program, and for other system, such as the Windows system, also can utilize the file after former application program is installed to generate the backup bag, like this even can keep and comprise that the user uses the more complete information of information and configuration information etc.
In technique scheme, terminal 100 also comprises: command reception unit 116 receives from user's recovery instruction is installed; The backup bag is searched unit 118, searches corresponding to the backup bag that recovers to install instruction; And installation unit 120, utilize the backup bag to search the backup bag that unit 118 finds and recover to install, obtain corresponding application program.In this technical scheme, when the user need reinstall application program, if stored the backup bag before, then can recover to install by the backup bag like a cork, and need not search on the net again and download, convenient for users to use, promoted user's experience; And under the situation that does not have the storage backup bag, can search corresponding installation kit at network according to the information of the application program of storing, as this backup bag, download, install.
Fig. 2 is the process flow diagram according to the management method of application program of the present invention.
As shown in Figure 2, the present invention also provides a kind of management method of application program, comprising:step 202, and the use information of the application program of installing in the record terminal, and generation is corresponding to the priority that exists of the information of use; The information of corresponding application program is obtained and stored tostep 204 when existing priority to be less than or equal to default level threshold;Step 206 unloads application program automatically.
In this technical scheme, use information by application programs is added up, and calculate the corresponding priority that exists accordingly, when the memory space inadequate of terminal or when in a period of time, needing the application program of installing put in order, automatically unload after recording the information of this application program, saved storage space for the user effectively.Wherein the use information of application program can comprise average operating time behind the frequency of utilization of this application program in long-term, service time length overall, the number of starts, the each startup and/or the time of distance installation first etc., is used for embodying this application program to user's significance level.And the information of the application program that records before unloading has then comprised information such as the title that changes application program, size, version, manufacturing company, is used for obtaining corresponding application program according to these information automatically when needs carry out software rejuvenation.
In technique scheme, also comprise in the step 204: obtain the backup bag of application program, and the storage backup bag.In this technical scheme, in the lower application program of unloading priority, also it is backed up, make things convenient for the user to reinstall this application program when needed.Such as obtaining this application program corresponding file, again these files are packed, generate the backup bag, be convenient to utilize at any time this backup bag to carry out the recovery of application program.
In technique scheme, also comprise in the step 204: obtain the backup bag of application program, and be stored to server.In this technical scheme, will back up the bag transmission and refer to server, can further be user's conserve storage, and when needs carry out the recovery of application program, directly from server, download this backup bag and get final product, need not to carry out searching of application program.
In technique scheme, the process of obtaining the backup bag of application program specifically comprises: search the installation kit of application program in the storage space of terminal, as the backup bag; From the system of terminal, extract the installation kit of application program, as the backup bag; And/or from the system of terminal, search file corresponding to application program, and generate corresponding backup bag.In this technical scheme, can use the installation kit of the application program that unloads as the backup bag; If there is not the installation kit of application storing on the terminal, for some systems, such as the Android system, can from system, directly extract the installation kit of mounted application program, and for other system, such as the Windows system, also can utilize the file after former application program is installed to generate the backup bag, like this even can keep and comprise that the user uses the more complete information of information and configuration information etc.
In technique scheme, after thestep 206, also comprise: according to the recovery that receives instruction is installed, searches corresponding backup bag, and utilize the backup bag to recover to install corresponding application program.In this technical scheme, when the user need reinstall application program, if stored the backup bag before, then can recover to install by the backup bag like a cork, and need not search on the net again and download, convenient for users to use, promoted user's experience; And under the situation that does not have the storage backup bag, can search corresponding installation kit at network according to the information of the application program of storing, as this backup bag, download, install.
Fig. 3 is the particular flow sheet of application program management according to an embodiment of the invention.
As shown in Figure 3, it is as follows that technical scheme provided by the present invention is carried out the idiographic flow of application program management:
Step 302 arranges the priority-level threshold value by the user, and certainly, this step is not necessary, can be preset by manufacturer yet.
Step 304 is added up the use information of the application program in the terminal, and calculates the corresponding priority that exists.Wherein, the statistical method of application priorities can be, add up the use information of each application program, comprise long-term and recent frequency of utilization, long-term and recent the use total duration and set-up time, parameter rule of thumb, default formula etc., be factor of every kind of corresponding generation of use information parameter, such as long-term frequency of utilization factor M=0.22, recent frequency of utilization factor N=0.18, long-term service time total duration factor P=0.25, in the recent period service time total duration factor Q=0.32 etc., and generate the priority data of each application program according to the product summation of all parameters and the corresponding factor, such as priority=M * N * P * Q, certainly, for the account form of information parameter and priority, here only as an embodiment.
Step 306 judges that whether the mobile phone space is not enough, if not enough, then enters step 308.Certainly, this step obviously not necessarily also can be adopted other modes, such as with the set time as the time cycle, periodically inquire or automatically the arrangement.
Step 308 is carried out the preservation of relevant information and unloading automatically with the application program that priority is lower than level threshold, and regularly according to the situation of storage space, and the installation kit of the application program that unloads is saved to the high in the clouds server.The relevant information of the application program here comprises title, size, making party name of application program etc., and installation kit both can be to be stored in the terminal when this application program is installed at first, also can from system, extract (in the Android system, can extract the installation kit of mounted application program), also can be the All Files that from system, obtains this application program correspondence, and generate corresponding backup bag.
Step 310 shows the tabulation of unloaded application program on the table.Wherein, not only comprise the title of application program in this tabulation, can also comprise the icon, discharge time, former installation site of application program and the application type information (if do not specify, then being default type) of appointment when installing etc.In addition, this list of application can show in batches, for example classifies with discharge time or Application Type etc., and the function of recovering a plurality of installation procedures as a key can also be provided.
Step 312 when the user need reinstall application program, is selected corresponding application program in tabulation.
Step 314 is according to the application information of preserving, in local and this application of server search and download and install.
To sum up, technical scheme among the present invention is by the priority of statistics application program, when user storage space is not enough, the low application program of priority is preferentially unloaded automatically, and the backup of unloaded application program is sent to the high in the clouds server, discharged valuable storage space for the user effectively; And when the user need reinstall unloaded installation procedure, can reinstall by the information application programs of application program of storage, search for and download and need not surf the Net again, convenient and swift, convenient for users, promoted user's experience.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.