





技术领域technical field
本申请涉及移动终端技术领域,具体涉及一种数据恢复方法及相关产品。The present application relates to the technical field of mobile terminals, and in particular to a data recovery method and related products.
背景技术Background technique
随着移动终端(例如,智能手机)的大量普及与快速发展,越来越多的应用被安装在用户的移动终端中,使移动终端的功能越来越强大,智能手机向着多样化、个性化的方向发展,成为用户生活中不可缺少的电子用品。With the mass popularization and rapid development of mobile terminals (for example, smart phones), more and more applications are installed in users' mobile terminals, making the functions of mobile terminals more and more powerful, and smart phones are becoming more diversified and personalized. It has become an indispensable electronic product in the user's life.
目前,有些应用在设计的过程由于考虑不完善会存在一些漏洞,这些应用在更新、卸载等过程中会因为这些漏洞存在误删除其他应用对应的存储数据的现象,在用户不知情的情况下影响用户的正常使用。At present, some applications may have some loopholes in the design process due to imperfect consideration. During the process of updating and uninstalling, these applications may mistakenly delete the stored data of other applications due to these loopholes, which may affect the user without the knowledge. normal use of the user.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种数据恢复方法及相关产品,可以提升数据恢复的及时性和智能性,以及数据存储的稳定性。The embodiments of the present application provide a data recovery method and related products, which can improve the timeliness and intelligence of data recovery and the stability of data storage.
第一方面,本申请实施例提供了一种数据恢复方法,所述方法包括:In a first aspect, an embodiment of the present application provides a data recovery method, the method comprising:
获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;Acquiring a target file of a preset storage space, where the target file is a file that is illegally requested to be deleted in the process of performing a preset operation in the background of a third-party application, and the preset storage space is a storage space dedicated to storing the target file;
当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;When it is detected that the data amount of the target file is greater than the first preset data amount, the data in the target file is divided into at least one group of files according to the storage format;
根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。The recovery operation for the target file is performed according to the recovery priority of the at least one group of files.
第二方面,本申请实施例提供了一种数据恢复装置,包括获取单元、处理单元和执行单元,其中:In a second aspect, an embodiment of the present application provides a data recovery apparatus, including an acquisition unit, a processing unit, and an execution unit, wherein:
所述获取单元,用于获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;The obtaining unit is used to obtain a target file of a preset storage space, the target file is a file that is illegally requested to be deleted in the process of performing a preset operation in the background of a third-party application, and the preset storage space is dedicated to storing the The storage space of the target file;
所述处理单元,用于当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;the processing unit, configured to divide the data in the target file into at least one group of files according to the storage format when it is detected that the data volume of the target file is greater than the first preset data volume;
所述执行单元,用于根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。The executing unit is configured to execute a restore operation for the target file according to the restore priority of the at least one group of files.
第三方面,本申请实施例提供了一种移动终端,包括:处理器,存储器,以及一个或多个程序;所述一个或多个程序被存储在上述存储器中,并且被配置成由所述处理器执行,所述程序包括用于执行本申请实施例第一方面任一方法中所描述的步骤的指令。In a third aspect, an embodiment of the present application provides a mobile terminal, including: a processor, a memory, and one or more programs; the one or more programs are stored in the above-mentioned memory, and are configured to be executed by the Executed by the processor, the program includes instructions for executing the steps described in any of the methods in the first aspect of the embodiments of this application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储有用于电子数据交换的计算机程序,该计算机程序具体包括指令,所述指令用于执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤,所述计算机包括移动终端。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program specifically includes instructions for executing As part or all of the steps described in any method in the first aspect of the embodiments of this application, the computer includes a mobile terminal.
第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括移动终端。In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the Part or all of the steps described in any method of the first aspect of the application examples. The computer program product may be a software installation package, and the computer includes a mobile terminal.
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例公开的一种数据恢复方法的流程示意图;1 is a schematic flowchart of a data recovery method disclosed in an embodiment of the present application;
图2是本申请实施例公开的另一种数据恢复方法的流程示意图;2 is a schematic flowchart of another data recovery method disclosed in an embodiment of the present application;
图3是本申请实施例公开的另一种数据恢复方法的流程示意图;3 is a schematic flowchart of another data recovery method disclosed in an embodiment of the present application;
图4是本申请实施例公开的一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种数据恢复装置的功能单元组成框图;FIG. 5 is a block diagram of functional units of a data recovery apparatus disclosed in an embodiment of the present application;
图6是本申请实施例公开的一种智能手机的结构示意图。FIG. 6 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为移动终端。下面对本申请实施例进行详细介绍。The mobile terminals involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment). Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For the convenience of description, the devices mentioned above are collectively referred to as mobile terminals. The embodiments of the present application will be described in detail below.
请参阅图1,图1是本申请实施例提供了一种数据恢复方法的流程示意图,如图所示,本数据恢复方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a data recovery method provided by an embodiment of the present application. As shown in the figure, the data recovery method includes:
S101,移动终端获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;S101, the mobile terminal obtains a target file of a preset storage space, where the target file is a file that is illegally requested to be deleted during a preset operation performed by a third-party application in the background, and the preset storage space is a file dedicated to storing the target file storage;
其中,所述预设操作可以是第三方应用程序的更新操作、清理缓存操作以及卸载操作等,所述非法请求为所述第三方应用程序在执行所述预设操作时针对不属于该第三方应用程序管理权限下的文件提出的删除请求,例如,在卸载应用程序A时,应用程序A提出的针对应用程序B获取的相册数据的删除请求。Wherein, the preset operation may be an update operation, a cache clearing operation, an uninstall operation, etc. of a third-party application, and the illegal request is that the third-party application performs the preset operation for a third-party application that does not belong to the third-party. A deletion request made by a file under the application management authority, for example, when application A is uninstalled, a deletion request made by application A for the album data acquired by application B.
其中,移动终端在第三方应用程序提出该删除请求时,为了避免目标文件不允许删除时第三方应用程序的持续请求,会将目标文件先转移到预设存储空间,并通知第三方应用程序目标文件删除完成,这样第三方应用程序便会继续执行后续操作,而移动终端会分配执行针对目标文件的数据恢复操作。Wherein, when the third-party application program makes the deletion request, in order to avoid the continuous request of the third-party application program when the target file is not allowed to be deleted, the mobile terminal will first transfer the target file to the preset storage space, and notify the third-party application program of the target After the file deletion is completed, the third-party application will continue to perform subsequent operations, and the mobile terminal will be assigned to perform a data recovery operation for the target file.
S102,所述移动终端当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;S102, when the mobile terminal detects that the data volume of the target file is greater than the first preset data volume, divides the data in the target file into at least one group of files according to the storage format;
其中,每组文件的存储格式不同,所述存储格式可以是图片的存储格式bmp、jpg等,视频的存储格式wmv、m4v等,动态链接库文件的存储格式dll等,在此不做限定。The storage format of each group of files is different, and the storage format can be the storage format of pictures such as bmp, jpg, etc., the storage format of video wmv, m4v, etc., the storage format of dynamic link library files, etc. dll, etc., are not limited here.
S103,所述移动终端根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。S103, the mobile terminal performs a restore operation for the target file according to the restore priority of the at least one group of files.
其中,至少一组文件中每组文件的恢复优先级不同,获取每组文件的恢复优先级的实现方式可以是多种多样的,例如可以是根据预设顺序确定每组文件的优先级,例如预设顺序可以是视频的优先级最高,图片的优先级次之,最后是其他文件等,该预设顺序可以是由技术开饭人员预设置在移动终端中的,或者可以是根据每组文件中数据获取的最近时间节点确定每组文件的恢复优先级,在此不做限定。The restoration priority of each group of files in at least one group of files is different, and the implementation manner of obtaining the restoration priority of each group of files may be various, for example, the priority of each group of files may be determined according to a preset order, for example The preset order can be that the video has the highest priority, the picture has the second priority, and other files are the last. The most recent time node of data acquisition determines the recovery priority of each group of files, which is not limited here.
其中,所述移动终端可以按照所述至少一组文件的恢复优先级由高至低执行每组文件的恢复操作,或者也可以根据每组文件的恢复优先级分配给每组文件不同的系统资源并行执行至少一组文件的恢复操作,例如恢复优先级高的分配较多的中央处理器(CentralProcessing Unit,CPU)资源、内存带宽,恢复优先级低的分配较少的CPU资源、内存带宽等,在此不做限定。Wherein, the mobile terminal may perform the recovery operation of each group of files according to the recovery priority of the at least one group of files from high to low, or may also allocate different system resources to each group of files according to the recovery priority of each group of files Perform recovery operations of at least one set of files in parallel, such as recovering central processing unit (CPU) resources and memory bandwidth with high priority, and recovering less CPU resources and memory bandwidth with low priority, etc. This is not limited.
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
在一个可能的示例中,所述根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作,包括:In a possible example, performing the recovery operation on the target file according to the recovery priority of the at least one group of files includes:
根据所述至少一组文件对应的至少一个应用程序确定所述至少一组文件的恢复优先级;determining the restoration priority of the at least one set of files according to at least one application program corresponding to the at least one set of files;
根据所述恢复优先级执行针对所述目标文件的所述恢复操作。The restore operation for the target file is performed according to the restore priority.
其中,按照存储格式分配的至少一组文件中每组文件中的数据可能对应多个应用程序,例如,图片文件中的数据可能对应多个具有拍照功能的应用程序。The data in each group of files in the at least one group of files allocated according to the storage format may correspond to multiple application programs, for example, the data in the picture file may correspond to multiple application programs with a photographing function.
其中,根据所述至少一组文件对应的至少一个应用程序确定所述至少一组文件的恢复优先级的具体实现方式可以是多种多样的,例如可以是根据所述至少一组文件对应的至少一个应用程序中用户使用频率最高的应用程序确定该组文件的恢复优先级,可以是根据所述至少一组文件对应的至少一个应用程序中用户的平均使用频率确定该组文件的恢复优先级等,在此不做限定。The specific implementation manner of determining the restoration priority of the at least one group of files according to at least one application program corresponding to the at least one group of files may be various, for example, it may be based on at least one application program corresponding to the at least one group of files. In an application, the application with the highest frequency of use by users determines the restoration priority of the group of files, which may be to determine the restoration priority of the group of files according to the average usage frequency of the user in at least one application corresponding to the at least one group of files, etc. , which is not limited here.
可见,本示例中,移动终端根据每组文件对应的至少一个应用程序确定每个文件的优先级,先将文件归类于应用程序,有利于提升恢复优先级确定的便捷性,降低算法难度。It can be seen that, in this example, the mobile terminal determines the priority of each file according to at least one application program corresponding to each group of files, and first classifies the files into the application programs, which is conducive to improving the convenience of determining the restoration priority and reducing the difficulty of the algorithm.
在这个可能的示例中,所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级,包括:In this possible example, determining the restoration priority of the at least one set of files according to the application program corresponding to the at least one set of files includes:
根据历史使用记录确定所述至少一组文件中每组文件对应的至少一个应用程序的使用频率;Determine the usage frequency of at least one application program corresponding to each group of files in the at least one group of files according to the historical usage records;
确定所述至少一个应用程序中使用频率最高的目标应用程序;determining the most frequently used target application among the at least one application;
根据所述目标应用程序的使用频率确定所述至少一个应用程序对应的一组文件的所述恢复优先级。The restoration priority of a group of files corresponding to the at least one application is determined according to the usage frequency of the target application.
其中,多组文件的恢复优先级确定操作可以同时进行,所述历史使用记录包括使用时间,使用的应用程序等事项,所述使用频率可以是一段时间内的使用频率,例如是至少一个应用在一个月内的使用频率,或者是在一个星期内的使用频率等。Wherein, the restoration priority determination operations of multiple groups of files may be performed simultaneously, the historical usage records include usage time, used applications, etc., and the usage frequency may be the usage frequency within a period of time, for example, at least one application is used in Frequency of use within a month, or frequency of use within a week, etc.
其中,根据所述目标应用程序的使用频率确定所述至少一个应用程序对应的一组文件的所述恢复优先级的具体实现方式可以是使用频率越高的应用程序,对应的该组文件的恢复优先级越高。Wherein, a specific implementation manner of determining the restoration priority of a group of files corresponding to the at least one application program according to the frequency of use of the target application program may be that the application program with the higher frequency of use may restore the corresponding group of files. higher priority.
可见,本示例中,移动终端通过历史使用记录确定至少一个应用程序的使用频率,有利于提升移动终端的智能性,而且,根据每组文件对应的至少一个应用程序中使用频率最高的目标应用程序确定该组文件的恢复优先级,提升数据恢复操作与用户的关联度,符合用户的使用习惯,降低用户对文件误删除的感知度。It can be seen that, in this example, the mobile terminal determines the usage frequency of at least one application program through the historical usage record, which is beneficial to improve the intelligence of the mobile terminal. Moreover, according to the target application program with the highest frequency of use among at least one application program corresponding to each set of files Determine the recovery priority of the group of files, improve the correlation between data recovery operations and users, conform to the user's usage habits, and reduce the user's perception of accidental deletion of files.
在一个可能的示例中,所述至少一组文件包括第一组文件和第二组文件,所述第一组文件的恢复优先级高于所述第二组文件的恢复优先级,所述第一组文件对应的所述至少一个应用程序为相册应用程序,所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作,包括:In a possible example, the at least one group of files includes a first group of files and a second group of files, the first group of files has a higher recovery priority than the second group of files, and the first group of files has a higher recovery priority than the second group of files. The at least one application program corresponding to a group of files is a photo album application program, and performing the recovery operation for the target file according to the recovery priority includes:
当检测到所述第一组文件的数据量大于或者等于第二预设数据量时,将所述第一组文件中的数据按照获取时的时间节点分为多个子集;When it is detected that the data amount of the first group of files is greater than or equal to the second preset data amount, dividing the data in the first group of files into a plurality of subsets according to the time node at the time of acquisition;
根据所述时间节点的顺序执行针对所述多个子集的所述恢复操作;performing the recovery operations for the plurality of subsets according to the order of the time nodes;
当检测到所述第二组文件的数据量小于所述第二预设数据量时,执行针对所述第二组文件的所述恢复操作。When it is detected that the data amount of the second group of files is smaller than the second preset data amount, the recovery operation for the second group of files is performed.
其中,每个子集对应一个时间区间,每个子集对应的时间节点可以是按照第一组文件中数据对应的时间平均分为多个时间段,也可以是根据技术开发人员预设置在移动终端中的时间段区分每个子集,在此不做限定,例如第一子集对应当月的1号-5号、第二子集对应的当月的6号-10号,所述移动终端将第一组文件中数据按照获取时的时间节点分为多个子集,例如第一组文件中的照片1对应的数据获取时间节点是5号,那么照片1对应的数据分在第一子集,如果第一组文件中的照片2对应的数据获取时间节点是7号,那么照片2对应的数据分在第二子集。Wherein, each subset corresponds to a time interval, and the time node corresponding to each subset may be divided into multiple time periods evenly according to the time corresponding to the data in the first group of files, or may be preset in the mobile terminal according to the technical developer Each subset is distinguished by the time period, which is not limited here. For example, the first subset corresponds to the 1st to the 5th of the current month, and the second subset corresponds to the 6th to the 10th of the current month. The data in the group file is divided into multiple subsets according to the time node at the time of acquisition. For example, the data acquisition time node corresponding to photo 1 in the first group file is No. 5, then the data corresponding to photo 1 is divided into the first subset. The data acquisition time node corresponding to photo 2 in a group of files is No. 7, then the data corresponding to photo 2 is divided into the second subset.
其中,根据所述时间节点的顺序执行针对所述多个子集的所述恢复操作的具体实现方式可以是按照最近的时间节点优先执行恢复操作,按照时间顺序直到完成第一组文件的恢复操作。Wherein, a specific implementation manner of performing the recovery operation for the plurality of subsets according to the order of the time nodes may be to perform the recovery operation preferentially according to the latest time node, until the recovery operation of the first group of files is completed according to the time order.
可见,本示例中,移动终端在第一组文件的数据量大的时候,将第一组文件分为多个子集执行恢复操作,而不是同时执行,有利于提升恢复速度,而且,针对每个子集按照数据获取的时间顺序执行恢复操作,将时间节点近的优先恢复,符合用于的查看逻辑,有利于提升数据恢复的合理性。It can be seen that in this example, when the data volume of the first group of files is large, the mobile terminal divides the first group of files into multiple subsets to perform the recovery operation instead of performing the recovery operations simultaneously, which is beneficial to improve the recovery speed. The set performs recovery operations in the order of time of data acquisition, and prioritizes the recovery of the nearest time node, which is in line with the viewing logic used, which is conducive to improving the rationality of data recovery.
在一个可能的示例中,所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级,包括:In a possible example, the determining the restoration priority of the at least one set of files according to the application program corresponding to the at least one set of files includes:
确定前台运行的参考应用程序;Identify the reference application running in the foreground;
当检测到所述至少一组文件中目标组文件对应的至少一个应用程序中的任意一个应用程序与所述参考应用程序一致时,显示是否恢复所述目标组文件的问询消息;When it is detected that any one of the at least one application program corresponding to the target group file in the at least one group of files is consistent with the reference application program, displaying a query message whether to restore the target group file;
当接收到针对所述问询消息的响应消息,且所述响应消息为恢复所述目标组文件时,确定所述目标组文件的所述恢复优先级为最高优先级。When a response message to the query message is received, and the response message is to restore the target group file, it is determined that the restoration priority of the target group file is the highest priority.
其中,所述前台运行的参考应用程序为当前显示屏显示的,且用户正在操作的应用程序。Wherein, the reference application running in the foreground is the application displayed on the current display screen and being operated by the user.
其中,显示是否恢复所述目标组文件的问询消息是为了告知用户该应用程序中有被误删除的文件,询问用户是否现在恢复,所述问询消息可以是弹框类的问询消息,而响应消息是用户针对问询消息做出的选择,例如问询消息包括“是”和“否”两个选项,用户可以针对选择的其中一个选项进行点触操作做出响应,所述响应消息可以是恢复所述目标组文件,也可以是不恢复所述目标组文件。The purpose of displaying the query message whether to restore the target group file is to inform the user that there are files that have been deleted by mistake in the application, and to ask the user whether to restore it now. The query message may be a pop-up box-type query message, The response message is the selection made by the user for the query message. For example, the query message includes two options, "Yes" and "No". The user can respond to one of the selected options by touching one of the options. The target group file may be restored, or the target group file may not be restored.
可见,本示例中,移动终端实时检测前台运行的参考应用程序,当检测到前台应用程序中存在数据包含在目标文件中时,为了避免用户查阅时查阅不到的困惑,及时显示问询消息,有利于提升用户的使用体验,并且,在接收到用户的响应消息恢复目标组文件时,将目标组文件的恢复优先级确定为最高优先级,有利于提升移动终端数据恢复的智能性和及时性。It can be seen that in this example, the mobile terminal detects the reference application running in the foreground in real time. When it detects that there is data in the foreground application that is included in the target file, in order to avoid confusion when the user is not viewing, the query message is displayed in time. It is beneficial to improve the user's experience, and when the target group file is restored after receiving the user's response message, the restoration priority of the target group file is determined as the highest priority, which is beneficial to improve the intelligence and timeliness of data recovery of the mobile terminal .
在一个可能的示例中,所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作,包括:In a possible example, performing the recovery operation on the target file according to the recovery priority includes:
根据所述恢复优先级确定所述至少一组文件中每组文件的第一系统资源量;determining a first amount of system resources for each group of files in the at least one group of files according to the restoration priority;
根据所述至少一组文件中每组文件的数据量确定第二系统资源量;Determine the second system resource amount according to the data amount of each group of files in the at least one group of files;
根据所述第一系统资源量和所述第二系统资源量确定所述至少一组文件中每组文件的目标系统资源量;Determine the target system resource amount of each group of files in the at least one group of files according to the first system resource amount and the second system resource amount;
根据所述目标系统资源量并行执行所述至少一组文件的所述恢复操作。The recovery operation of the at least one set of files is performed in parallel according to the target system resource amount.
其中,所述系统资源可以包括:CPU资源、GPU资源、内存带宽资源、磁盘资源、网络资源等,在此不做限定。The system resources may include: CPU resources, GPU resources, memory bandwidth resources, disk resources, network resources, etc., which are not limited herein.
其中,不同的恢复优先级对应不同的第一系统资源量,不同的数据量对应不同的第二系统资源量,其中,恢复优先级与第一系统资源量的映射关系,以及数据量与第二系统资源量的映射关系可以预存储在移动终端中,也可以是不同恢复优先级对系统资源量的占比不同,不同数据量对系统资源量的占比也不同,根据移动终端当前可以分配的系统资源量以及恢复优先级对应的占比或者数据量对应的占比确定第一系统资源量和第二系统资源量。Wherein, different recovery priorities correspond to different amounts of first system resources, and different data amounts correspond to different amounts of second system resources, wherein the mapping relationship between recovery priorities and the amount of first system resources, and the amount of data and The mapping relationship of the amount of system resources can be pre-stored in the mobile terminal, or it can be that different recovery priorities account for different amounts of system resources, and different amounts of data account for different amounts of system resources. The amount of system resources and the proportion corresponding to the restoration priority or the proportion corresponding to the amount of data determine the amount of first system resources and the amount of second system resources.
其中,根据所述第一系统资源量和所述第二系统资源量确定所述至少一组文件中每组文件的目标系统资源量的具体实现方式可以是多种多样的,例如可以是第一系统资源量对应第一权重,第二系统资源量对应第二权重,根据第一系统资源量与第一权重的乘积加上第二系统资源量与第二权重的乘积确定目标系统资源量,也可以是比较第一系统资源量和第二系统资源量,当第一系统资源量大于第二系统资源量时,确定第一系统资源量为目标系统资源量,即确定第一系统资源量和第二系统资源量中多的为目标系统资源量,在此不做限定。The specific implementation manner of determining the target system resource amount of each group of files in the at least one group of files according to the first system resource amount and the second system resource amount may be various, for example, the first The amount of system resources corresponds to the first weight, the second amount of system resources corresponds to the second weight, and the target system resource amount is determined according to the product of the first system resource amount and the first weight plus the product of the second system resource amount and the second weight. It may be to compare the amount of resources of the first system and the amount of resources of the second system, and when the amount of resources of the first system is greater than the amount of resources of the second system, determine the amount of resources of the first system as the amount of resources of the target system, that is, determine the amount of resources of the first system and the amount of resources of the second system. The most of the two system resources is the target system resource, which is not limited here.
可见,本示例中,移动终端根据至少一组文件的恢复优先级和数据量共同确定至少一组文件的应分配的系统资源量,有利于提升系统资源分配的合理性,给恢复优先级高的或者数据量大的分配更多的系统资源,避免用户查阅时无法数据仍然没有恢复的情况,而且,分配不同的系统资源量并行执行至少一组文件的恢复操作,相比于串行执行每组文件的恢复操作提升了执行速度。It can be seen that in this example, the mobile terminal jointly determines the amount of system resources that should be allocated for at least one group of files according to the recovery priority of at least one group of files and the amount of data, which is conducive to improving the rationality of system resource allocation, and gives the system resources with high recovery priority. Or allocate more system resources when the amount of data is large, to avoid the situation that the data cannot be recovered when the user consults. Moreover, allocating different amounts of system resources to perform the recovery operation of at least one group of files in parallel, compared to executing each group of files serially. File recovery operations improve execution speed.
与所述图1所示的实施例一致的,请参阅图2,图2是本申请实施例提供的另一种数据恢复方法的流程示意图,如图所示,本数据恢复方法包括:Consistent with the embodiment shown in FIG. 1, please refer to FIG. 2. FIG. 2 is a schematic flowchart of another data recovery method provided by an embodiment of the present application. As shown in the figure, the data recovery method includes:
S201,移动终端获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间。S201, the mobile terminal obtains a target file of a preset storage space, the target file is a file that is illegally requested to be deleted in the process of performing a preset operation in the background of a third-party application, and the preset storage space is a file dedicated to storing the target file storage.
S202,所述移动终端当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件。S202: When detecting that the data volume of the target file is greater than a first preset data volume, the mobile terminal divides the data in the target file into at least one group of files according to a storage format.
S203,所述移动终端根据历史使用记录确定所述至少一组文件中每组文件对应的至少一个应用程序的使用频率。S203, the mobile terminal determines, according to the historical usage records, a usage frequency of at least one application program corresponding to each group of files in the at least one group of files.
S204,所述移动终端确定所述至少一个应用程序中使用频率最高的目标应用程序。S204, the mobile terminal determines the target application with the highest frequency of use among the at least one application.
S205,所述移动终端根据所述目标应用程序的使用频率确定所述至少一个应用程序对应的一组文件的恢复优先级。S205, the mobile terminal determines, according to the frequency of use of the target application, a restoration priority of a group of files corresponding to the at least one application.
S206,所述移动终端根据所述恢复优先级确定所述至少一组文件中每组文件的第一系统资源量。S206, the mobile terminal determines, according to the restoration priority, the first system resource amount of each group of files in the at least one group of files.
S207,所述移动终端根据所述至少一组文件中每组文件的数据量确定第二系统资源量。S207, the mobile terminal determines the second system resource amount according to the data amount of each group of files in the at least one group of files.
S208,所述移动终端根据所述第一系统资源量和所述第二系统资源量确定所述至少一组文件中每组文件的目标系统资源量。S208, the mobile terminal determines, according to the first system resource amount and the second system resource amount, a target system resource amount of each group of files in the at least one group of files.
S209,所述移动终端根据所述目标系统资源量并行执行所述至少一组文件的恢复操作。S209, the mobile terminal performs the recovery operation of the at least one group of files in parallel according to the amount of the target system resources.
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
此外,移动终端通过历史使用记录确定至少一个应用程序的使用频率,有利于提升移动终端的智能性,而且,根据每组文件对应的至少一个应用程序中使用频率最高的目标应用程序确定该组文件的恢复优先级,提升数据恢复操作与用户的关联度,符合用户的使用习惯,降低用户对文件误删除的感知度。In addition, the mobile terminal determines the usage frequency of at least one application program through the historical usage record, which is beneficial to improve the intelligence of the mobile terminal. Moreover, the group of files is determined according to the target application program with the highest frequency of use among the at least one application program corresponding to each group of files. The recovery priority of data recovery improves the correlation between data recovery operations and users, conforms to the user's usage habits, and reduces the user's perception of accidental deletion of files.
此外,移动终端根据至少一组文件的恢复优先级和数据量共同确定至少一组文件的应分配的系统资源量,有利于提升系统资源分配的合理性,给恢复优先级高的或者数据量大的分配更多的系统资源,避免用户查阅时无法数据仍然没有恢复的情况,而且,分配不同的系统资源量并行执行至少一组文件的恢复操作,相比于串行执行每组文件的恢复操作提升了执行速度。In addition, the mobile terminal jointly determines the amount of system resources that should be allocated for at least one group of files according to the recovery priority of at least one group of files and the amount of data, which is conducive to improving the rationality of system resource allocation, and gives higher recovery priorities or large data volumes. Allocate more system resources to avoid the situation that the data cannot be recovered when users refer to it. Moreover, allocating different amounts of system resources to perform recovery operations for at least one group of files in parallel, compared to performing recovery operations for each group of files in series Improved execution speed.
与所述图1所示的实施例一致的,请参阅图3,图3是本申请实施例提供的另一种数据恢复方法的流程示意图,如图所示,本数据恢复方法包括:Consistent with the embodiment shown in FIG. 1, please refer to FIG. 3. FIG. 3 is a schematic flowchart of another data recovery method provided by an embodiment of the present application. As shown in the figure, the data recovery method includes:
S301,移动终端获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间。S301, the mobile terminal obtains a target file of a preset storage space, the target file is a file that is illegally requested to be deleted during a preset operation process performed by a third-party application program in the background, and the preset storage space is a file dedicated to storing the target file storage.
S302,所述移动终端检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成第一组文件、第二组文件和第三组文件,所述第一组文件对应的应用程序为相册应用程序。S302, when the mobile terminal detects that the data amount of the target file is greater than the first preset data amount, divides the data in the target file into a first group of files, a second group of files and a third group of files according to the storage format , the application program corresponding to the first group of files is a photo album application program.
S303,所述移动终端确定前台运行的参考应用程序。S303, the mobile terminal determines a reference application running in the foreground.
S304,所述移动终端当检测到所述第三组文件对应的至少一个应用程序中的任意一个应用程序与所述参考应用程序一致时,显示是否恢复所述第三组文件的问询消息。S304: When detecting that any one of the at least one application program corresponding to the third group of files is consistent with the reference application program, the mobile terminal displays a query message for whether to restore the third group of files.
S305,所述移动终端当接收到针对所述问询消息的响应消息,且所述响应消息为恢复所述第三组文件时,确定所述第三组文件的恢复优先级为最高优先级。S305 , when the mobile terminal receives a response message to the inquiry message, and the response message is to restore the third group of files, determine that the restoration priority of the third group of files is the highest priority.
S306,所述移动终端根据所述第一组文件和所述第二组文件对应的至少一个应用程序的使用频率确定所述第一组文件的恢复优先级高于所述第二组文件的恢复优先级。S306, the mobile terminal determines, according to the frequency of use of at least one application program corresponding to the first group of files and the second group of files, that the restoration priority of the first group of files is higher than the restoration priority of the second group of files priority.
S307,所述移动终端执行针对所述第三组文件的恢复操作。S307, the mobile terminal performs a recovery operation for the third group of files.
S308,所述移动终端当检测到所述第一组文件的数据量大于或者等于第二预设数据量时,将所述第一组文件中的数据按照获取时的时间节点分为多个子集。S308, when the mobile terminal detects that the data volume of the first group of files is greater than or equal to the second preset data volume, the mobile terminal divides the data in the first group of files into multiple subsets according to the time node at the time of acquisition .
S309,所述移动终端根据所述时间节点的顺序执行针对所述多个子集的恢复操作。S309, the mobile terminal performs a recovery operation for the multiple subsets according to the order of the time nodes.
S310,所述移动终端当检测到所述第二组文件的数据量小于所述第二预设数据量时,执行针对所述第二组文件的所述恢复操作。S310: When detecting that the data amount of the second group of files is less than the second preset data amount, the mobile terminal performs the recovery operation for the second group of files.
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
此外,移动终端实时检测前台运行的参考应用程序,当检测到前台应用程序中存在数据包含在目标文件中时,为了避免用户查阅时查阅不到的困惑,及时显示问询消息,有利于提升用户的使用体验,并且,在接收到用户的响应消息恢复目标组文件时,将目标组文件的恢复优先级确定为最高优先级,有利于提升移动终端数据恢复的智能性和及时性。In addition, the mobile terminal detects the reference application running in the foreground in real time. When it detects that there is data in the foreground application that is contained in the target file, in order to avoid confusion when the user is not able to consult it, the query message is displayed in time, which is conducive to improving the user experience. In addition, when the target group file is restored after receiving the user's response message, the restoration priority of the target group file is determined as the highest priority, which is beneficial to improve the intelligence and timeliness of mobile terminal data recovery.
此外,移动终端在第一组文件的数据量大的时候,将第一组文件分为多个子集执行恢复操作,而不是同时执行,有利于提升恢复速度,而且,针对每个子集按照数据获取的时间顺序执行恢复操作,将时间节点近的优先恢复,符合用于的查看逻辑,有利于提升数据恢复的合理性。In addition, when the data volume of the first group of files is large, the mobile terminal divides the first group of files into multiple subsets to perform the recovery operation instead of performing the recovery operation simultaneously, which is beneficial to improve the recovery speed. The recovery operations are performed in the order of time, and the time nodes with the closest time nodes are restored first, which is in line with the viewing logic used, which is conducive to improving the rationality of data recovery.
与上述图1、图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种移动终端的结构示意图,如图所示,该移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 1 , FIG. 2 , and FIG. 3 above, please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application. As shown in the figure, the mobile terminal includes processing a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the following steps;
获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;Acquiring a target file of a preset storage space, where the target file is a file that is illegally requested to be deleted in the process of performing a preset operation in the background of a third-party application, and the preset storage space is a storage space dedicated to storing the target file;
当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;When it is detected that the data amount of the target file is greater than the first preset data amount, the data in the target file is divided into at least one group of files according to the storage format;
根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。The recovery operation for the target file is performed according to the recovery priority of the at least one group of files.
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
在一个可能的示例中,在所述根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作方面,所述程序中的指令具体用于执行以下操作:根据所述至少一组文件对应的至少一个应用程序确定所述至少一组文件的恢复优先级;以及用于根据所述恢复优先级执行针对所述目标文件的所述恢复操作。In a possible example, in the aspect of performing the recovery operation for the target file according to the recovery priority of the at least one group of files, the instructions in the program are specifically used to perform the following operations: according to the at least one at least one application program corresponding to a group file determines a restore priority of the at least one set of files; and is configured to perform the restore operation on the target file according to the restore priority.
在这个可能的示例中,在所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级方面,所述程序中的指令具体用于执行以下操作:根据历史使用记录确定所述至少一组文件中每组文件对应的至少一个应用程序的使用频率;以及用于确定所述至少一个应用程序中使用频率最高的目标应用程序;以及用于根据所述目标应用程序的使用频率确定所述至少一个应用程序对应的一组文件的所述恢复优先级。In this possible example, in the aspect of determining the restoration priority of the at least one group of files according to the application program corresponding to the at least one group of files, the instructions in the program are specifically configured to perform the following operations: use historical usage Recording and determining the frequency of use of at least one application program corresponding to each group of files in the at least one group of files; and for determining the target application program with the highest frequency of use in the at least one application program; and for determining the target application program according to the target application program The frequency of use determines the restoration priority of a group of files corresponding to the at least one application.
在这个可能的示例中,所述至少一组文件包括第一组文件和第二组文件,所述第一组文件的恢复优先级高于所述第二组文件的恢复优先级,所述第一组文件对应的所述至少一个应用程序为相册应用程序,在所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作方面,所述程序中的指令具体用于执行以下操作:当检测到所述第一组文件的数据量大于或者等于第二预设数据量时,将所述第一组文件中的数据按照获取时的时间节点分为多个子集;以及用于根据所述时间节点的顺序执行针对所述多个子集的所述恢复操作;以及用于当检测到所述第二组文件的数据量小于所述第二预设数据量时,执行针对所述第二组文件的所述恢复操作。In this possible example, the at least one group of files includes a first group of files and a second group of files, the first group of files has a higher recovery priority than the second group of files, and the first group of files has a higher recovery priority than the second group of files. The at least one application program corresponding to a group of files is a photo album application program, and in the aspect of performing the recovery operation for the target file according to the recovery priority, the instructions in the program are specifically used to perform the following operations : when it is detected that the data volume of the first set of files is greater than or equal to the second preset data volume, divide the data in the first set of files into multiple subsets according to the time node at the time of acquisition; The recovery operation for the plurality of subsets is performed in sequence of the time nodes; and when it is detected that the data amount of the second group of files is less than the second preset data amount, performing the recovery operation for the first group of files. The recovery operation of the two sets of files.
在一个可能的示例中,在所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级方面,所述程序中的指令具体用于执行以下操作:确定前台运行的参考应用程序;以及用于当检测到所述至少一组文件中目标组文件对应的至少一个应用程序中的任意一个应用程序与所述参考应用程序一致时,显示是否恢复所述目标组文件的问询消息;以及用于当接收到针对所述问询消息的响应消息,且所述响应消息为恢复所述目标组文件时,确定所述目标组文件的所述恢复优先级为最高优先级。In a possible example, in the aspect of determining the restoration priority of the at least one group of files according to the application program corresponding to the at least one group of files, the instructions in the program are specifically used to perform the following operations: determine the foreground running The reference application program; and when it is detected that any one of the at least one application program corresponding to the target group file in the at least one group of files is consistent with the reference application program, displaying whether to restore the target group file and is used to determine that the restoration priority of the target group file is the highest priority when a response message to the inquiry message is received, and the response message is to restore the target group file class.
在一个可能的示例中,在所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作方面,所述程序中的指令具体用于执行以下操作:根据所述恢复优先级确定所述至少一组文件中每组文件的第一系统资源量;以及用于根据所述至少一组文件中每组文件的数据量确定第二系统资源量;以及用于根据所述第一系统资源量和所述第二系统资源量确定所述至少一组文件中每组文件的目标系统资源量;以及用于根据所述目标系统资源量并行执行所述至少一组文件的所述恢复操作。In a possible example, in the aspect of performing the recovery operation on the target file according to the recovery priority, the instructions in the program are specifically configured to perform the following operations: determine the recovery priority according to the recovery priority. the first system resource amount of each group of files in the at least one group of files; and for determining the second system resource amount according to the data amount of each group of files in the at least one group of files; and for determining the second system resource amount according to the first system resource determining a target system resource amount for each group of files in the at least one group of files; and performing the recovery operation for the at least one group of files in parallel according to the target system resource amount.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to implement the above-mentioned functions, the mobile terminal includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the mobile terminal may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
图5是本申请实施例中所涉及的数据恢复装置500的功能单元组成框图。该数据恢复装置500应用于移动终端,该数据恢复装置500包括获取单元501、处理单元502和执行单元503,其中,FIG. 5 is a block diagram of functional units of the
所述获取单元501,用于获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;The obtaining
所述处理单元502,用于当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;The
所述执行单元503,用于根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。The executing
可以看出,本申请实施例中,移动终端首先获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间,然后,当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件,最后,根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。可见,移动终端在第三方应用程序后台非法删除目标文件并将目标文件存储至预设存储空间以后,当目标文件的数量大于第一预设数据量时,按照目标文件中数据的存储格式分为至少一组文件,并根据每组文件的恢复优先级执行恢复操作,而不是目标文件中的所有数据按照一定的时间顺序进行恢复,有利于提升数据恢复的智能性和及时性,而且,在用户无感知的情况下,便可快速的恢复目标文件,有利于提升数据存储的稳定性。It can be seen that, in the embodiment of the present application, the mobile terminal first obtains the target file of the preset storage space, and the target file is a file that is illegally requested to be deleted in the process of performing the preset operation in the background of the third-party application program, and the preset storage space is a storage space dedicated to storing the target file, and then, when it is detected that the data volume of the target file is greater than the first preset data volume, the data in the target file is divided into at least one group of files according to the storage format, Finally, a recovery operation for the target file is performed according to the recovery priority of the at least one group of files. It can be seen that after the mobile terminal illegally deletes the target file in the background of the third-party application program and stores the target file in the preset storage space, when the number of the target file is greater than the first preset data amount, it is divided into two categories according to the storage format of the data in the target file. At least one group of files, and the recovery operation is performed according to the recovery priority of each group of files, instead of all data in the target file being recovered in a certain time sequence, which is conducive to improving the intelligence and timeliness of data recovery. In the case of no perception, the target file can be quickly restored, which is conducive to improving the stability of data storage.
在一个可能的示例中,在所述根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作方面,所述执行单元503具体用于:根据所述至少一组文件对应的至少一个应用程序确定所述至少一组文件的恢复优先级;以及用于根据所述恢复优先级执行针对所述目标文件的所述恢复操作。In a possible example, in the aspect of performing the recovery operation for the target file according to the recovery priority of the at least one group of files, the executing
在这个可能的示例中,在所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级方面,所述执行单元503具体用于:根据历史使用记录确定所述至少一组文件中每组文件对应的至少一个应用程序的使用频率;以及用于确定所述至少一个应用程序中使用频率最高的目标应用程序;以及用于根据所述目标应用程序的使用频率确定所述至少一个应用程序对应的一组文件的所述恢复优先级。In this possible example, in the aspect of determining the restoration priority of the at least one group of files according to the application program corresponding to the at least one group of files, the executing
在这个可能的示例中,所述至少一组文件包括第一组文件和第二组文件,所述第一组文件的恢复优先级高于所述第二组文件的恢复优先级,所述第一组文件对应的所述至少一个应用程序为相册应用程序,在所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作方面,所述执行单元503具体用于:当检测到所述第一组文件的数据量大于或者等于第二预设数据量时,将所述第一组文件中的数据按照获取时的时间节点分为多个子集;以及用于根据所述时间节点的顺序执行针对所述多个子集的所述恢复操作;以及用于当检测到所述第二组文件的数据量小于所述第二预设数据量时,执行针对所述第二组文件的所述恢复操作。In this possible example, the at least one group of files includes a first group of files and a second group of files, the first group of files has a higher recovery priority than the second group of files, and the first group of files has a higher recovery priority than the second group of files. The at least one application program corresponding to a group of files is a photo album application program. In the aspect of executing the restoration operation for the target file according to the restoration priority, the
在一个可能的示例中,在所述根据所述至少一组文件对应的应用程序确定所述至少一组文件的恢复优先级方面,所述执行单元503具体用于:确定前台运行的参考应用程序;以及用于当检测到所述至少一组文件中目标组文件对应的至少一个应用程序中的任意一个应用程序与所述参考应用程序一致时,显示是否恢复所述目标组文件的问询消息;以及用于当接收到针对所述问询消息的响应消息,且所述响应消息为恢复所述目标组文件时,确定所述目标组文件的所述恢复优先级为最高优先级。In a possible example, in the aspect of determining the restoration priority of the at least one group of files according to the application program corresponding to the at least one group of files, the
在一个可能的示例中,在所述根据所述恢复优先级执行针对所述目标文件的所述恢复操作方面,所述执行单元503具体用于:根据所述恢复优先级确定所述至少一组文件中每组文件的第一系统资源量;以及用于根据所述至少一组文件中每组文件的数据量确定第二系统资源量;以及用于根据所述第一系统资源量和所述第二系统资源量确定所述至少一组文件中每组文件的目标系统资源量;以及用于根据所述目标系统资源量并行执行所述至少一组文件的所述恢复操作。In a possible example, in the aspect of executing the restoration operation on the target file according to the restoration priority, the
其中,获取单元501和处理单元502可以是处理器,所述执行单元503可以是处理器或者显示器。The obtaining
请参阅图6,图6是本申请实施例提供了一种智能手机600的结构示意图,上述智能手机600包括:壳体610、显示屏620、主板630,主板630上设置有前置摄像头631、处理器632、存储器633、电源管理芯片634等。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a
其中,该智能手机600获取预设存储空间的目标文件,所述目标文件是第三方应用程序后台执行预设操作过程中非法请求删除的文件,所述预设存储空间为专用于存储所述目标文件的存储空间;当检测到所述目标文件的数据量大于第一预设数据量时,将所述目标文件中的数据按照存储格式分成至少一组文件;根据所述至少一组文件的恢复优先级执行针对所述目标文件的恢复操作。Wherein, the
上述处理器632是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器633内的软件程序和/或模块,以及调用存储在存储器633内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监控。可选的,处理器632可包括一个或多个处理单元;优选的,处理器632可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器632中。该处理器632例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable GateArray,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。上述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The above-mentioned
上述存储器633可用于存储软件程序以及模块,处理器632通过运行存储在存储器633的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器633可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据智能手机的使用所创建的数据等。此外,存储器633可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。该存储器633例如可以是随机存取存储器(RandomAccess Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(ElectricallyEPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质。The above-mentioned
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种数据恢复方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute a part of any data recovery method described in the above method embodiments Or all steps, the above-mentioned computer includes a mobile terminal.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种数据恢复方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application further provide a computer program product, the computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to execute the methods described in the foregoing method embodiments Part or all of the steps of any data recovery method, the above-mentioned computer includes a mobile terminal.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk, Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810504918.8ACN108762985B (en) | 2018-05-23 | 2018-05-23 | Data recovery methods and related products |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810504918.8ACN108762985B (en) | 2018-05-23 | 2018-05-23 | Data recovery methods and related products |
| Publication Number | Publication Date |
|---|---|
| CN108762985A CN108762985A (en) | 2018-11-06 |
| CN108762985Btrue CN108762985B (en) | 2020-09-04 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810504918.8AExpired - Fee RelatedCN108762985B (en) | 2018-05-23 | 2018-05-23 | Data recovery methods and related products |
| Country | Link |
|---|---|
| CN (1) | CN108762985B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113687710B (en)* | 2021-10-26 | 2022-03-22 | 西安羚控电子科技有限公司 | Power failure processing method and system for flight control management computer of fixed-wing unmanned aerial vehicle |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105653582A (en)* | 2015-12-21 | 2016-06-08 | 联想(北京)有限公司 | File management method of electronic equipment and electronic equipment |
| CN106339276A (en)* | 2016-08-16 | 2017-01-18 | 浪潮(北京)电子信息产业有限公司 | Data backup state-based data recovery method and system |
| CN106506820A (en)* | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | A mobile terminal data backup method and device |
| CN106658753A (en)* | 2016-09-14 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data migration method and terminal equipment |
| CN106874100A (en)* | 2015-12-10 | 2017-06-20 | 阿里巴巴集团控股有限公司 | Computational resource allocation method and device |
| CN107315658A (en)* | 2017-06-26 | 2017-11-03 | 珠海市魅族科技有限公司 | A kind of data back up method and device, computer installation and readable storage medium storing program for executing |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070101325A1 (en)* | 2005-10-19 | 2007-05-03 | Juraj Bystricky | System and method for utilizing a remote memory to perform an interface save/restore procedure |
| CN106502824B (en)* | 2016-10-12 | 2019-06-18 | Oppo广东移动通信有限公司 | Data backup method and cloud server |
| CN107748780B (en)* | 2017-10-20 | 2020-07-10 | Oppo广东移动通信有限公司 | A recovery method and device for recycle bin files |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106874100A (en)* | 2015-12-10 | 2017-06-20 | 阿里巴巴集团控股有限公司 | Computational resource allocation method and device |
| CN105653582A (en)* | 2015-12-21 | 2016-06-08 | 联想(北京)有限公司 | File management method of electronic equipment and electronic equipment |
| CN106339276A (en)* | 2016-08-16 | 2017-01-18 | 浪潮(北京)电子信息产业有限公司 | Data backup state-based data recovery method and system |
| CN106658753A (en)* | 2016-09-14 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data migration method and terminal equipment |
| CN106506820A (en)* | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | A mobile terminal data backup method and device |
| CN107315658A (en)* | 2017-06-26 | 2017-11-03 | 珠海市魅族科技有限公司 | A kind of data back up method and device, computer installation and readable storage medium storing program for executing |
| Publication number | Publication date |
|---|---|
| CN108762985A (en) | 2018-11-06 |
| Publication | Publication Date | Title |
|---|---|---|
| US10599336B2 (en) | Method of displaying content and electronic device adapted to the same | |
| CN106155789B (en) | Application freezing method and mobile terminal | |
| CN107807852B (en) | Application performance control method, device and computer-readable storage medium | |
| CN108063818B (en) | Data downloading method, device, terminal and computer readable storage medium | |
| CN108733797B (en) | File processing method and related device | |
| CN107832142B (en) | Resource allocation method and equipment for application program | |
| CN107797868B (en) | Resource adjusting method and device | |
| US10241718B2 (en) | Electronic device and method of analyzing fragmentation of electronic device | |
| CN109284253B (en) | File management method and device of mobile terminal | |
| CN107861603A (en) | Power consumption control method and device | |
| CN107635078A (en) | Game control method and device | |
| CN107832141A (en) | Application program running control method and device | |
| CN104601683A (en) | File download management method, mobile terminal and communication system | |
| CN108984339B (en) | Data recovery method and related product | |
| CN107832148A (en) | Performance optimization method and equipment | |
| CN113468274A (en) | Data storage method and device, storage medium and electronic equipment | |
| CN108804258B (en) | Data recovery method, device, mobile terminal and storage medium | |
| CN110365783B (en) | File deployment method and device, network node and storage medium | |
| CN108762985B (en) | Data recovery methods and related products | |
| CN108762983B (en) | Multimedia data recovery method and device | |
| CN108876782A (en) | Memory video creating method and related device | |
| CN108874586B (en) | Data recovery method and related product | |
| CN116303166A (en) | OTG transmission channel switching method and device and electronic equipment | |
| KR101093019B1 (en) | File restoration system and method for mobile communication terminal through internal memory direct control | |
| CN108897639B (en) | File processing method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20200904 | |
| CF01 | Termination of patent right due to non-payment of annual fee |