CN107179966B - Data recovery method and system - Google Patents
Data recovery method and system Download PDFInfo
- Publication number
- CN107179966B CN107179966B CN201710279313.9A CN201710279313A CN107179966B CN 107179966 B CN107179966 B CN 107179966B CN 201710279313 A CN201710279313 A CN 201710279313A CN 107179966 B CN107179966 B CN 107179966B
- Authority
- CN
- China
- Prior art keywords
- application
- configuration data
- processed
- library
- recovery
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据处理领域,尤其涉及一种数据恢复方法及系统。The invention relates to the field of data processing, in particular to a data recovery method and system.
背景技术Background technique
随着终端的多样化和业务的普及,跨领域行业应用以各种形式出现在用户终端,广泛应用于各种业务场景,如手机客户端、PC客户端、社交论坛、购物网站等,成为用户生活中不可或缺的一部分。用户在使用终端时,可能会遇到配置数据无效而导致一些应用不可用,如有意或无意的数据删除、丢失等,在对这些应用进行配置数据恢复时,现有的数据恢复方法主要由用户向服务器发送数据恢复请求,以使服务器查询并返回待恢复应用的备份数据,应用将据此进行配置数据的恢复。随着应用数量种类的增加,不同应用间的通用数据配置愈发重复,现有数据恢复方法因而显得愈发低效,不能兼顾日益增加的业务应用需求和数据恢复效率。With the diversification of terminals and the popularization of services, cross-domain industry applications appear on user terminals in various forms, and are widely used in various business scenarios, such as mobile clients, PC clients, social forums, shopping websites, etc. an integral part of life. When users use the terminal, they may encounter invalid configuration data, which makes some applications unavailable, such as intentional or unintentional data deletion and loss. Send a data restoration request to the server, so that the server can query and return the backup data of the application to be restored, and the application will restore the configuration data accordingly. With the increase in the number and variety of applications, the general data configuration among different applications becomes more and more repetitive, and the existing data recovery methods become more and more inefficient, unable to take into account the increasing business application requirements and data recovery efficiency.
发明内容SUMMARY OF THE INVENTION
本发明提供一种数据恢复方法及系统,用于解决现有的数据恢复方法低效且不能兼顾日益增加的业务应用需求和数据恢复效率的问题。The present invention provides a data recovery method and system, which are used to solve the problem that the existing data recovery method is inefficient and cannot take into account the increasing business application requirements and data recovery efficiency.
本发明的第一个方面是提供一种数据恢复方法,包括:从各应用库中确定待处理应用对应的参考应用库,所述参考应用库中各应用的应用属性与所述待处理应用的应用属性一致;根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。A first aspect of the present invention is to provide a data recovery method, comprising: determining a reference application library corresponding to an application to be processed from each application library, wherein the application attributes of each application in the reference application library are related to the application attributes of the application to be processed. The application attributes are consistent; the configuration data of the application to be processed is locally restored according to the configuration data of each application in the reference application library.
本发明的第二个方面是提供一种数据恢复系统,包括:筛选模块,用于从各应用库中确定待处理应用对应的参考应用库,所述参考应用库中各应用的应用属性与所述待处理应用的应用属性一致;恢复模块,用于根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。A second aspect of the present invention is to provide a data recovery system, comprising: a screening module for determining a reference application library corresponding to an application to be processed from each application library, wherein the application attributes of each application in the reference application library are related to all the applications in the reference application library. The application attributes of the application to be processed are consistent; the restoration module is configured to locally restore the configuration data of the application to be processed according to the configuration data of each application in the reference application library.
本发明提供的数据恢复方法及系统,通过从各应用库中确定待处理应用对应的参考应用库,根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。上述方案采用创新的恢复机制和方法,实用性强,适用性广,可以高效利用应用配置数据的通用性和一致性,有利于提高数据恢复的效率。In the data recovery method and system provided by the present invention, the reference application library corresponding to the application to be processed is determined from each application library, and the configuration data of the application to be processed is locally performed according to the configuration data of each application in the reference application library. recover. The above solution adopts an innovative recovery mechanism and method, has strong practicability and wide applicability, can efficiently utilize the versatility and consistency of application configuration data, and is beneficial to improve the efficiency of data recovery.
附图说明Description of drawings
图1A为本发明实施例一提供的一种数据恢复方法的流程示意图;1A is a schematic flowchart of a data recovery method according to Embodiment 1 of the present invention;
图1B为本发明实施例一提供的另一种数据恢复方法的流程示意图;1B is a schematic flowchart of another data recovery method according to Embodiment 1 of the present invention;
图1C为本发明实施例一提供的又一种数据恢复方法的流程示意图;1C is a schematic flowchart of another data recovery method provided in Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种数据恢复方法的流程示意图;2 is a schematic flowchart of a data recovery method according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种数据恢复方法的流程示意图;3 is a schematic flowchart of a data recovery method according to Embodiment 3 of the present invention;
图4A为本发明实施例四提供的一种数据恢复系统的结构示意图;4A is a schematic structural diagram of a data recovery system according to Embodiment 4 of the present invention;
图4B为本发明实施例四提供的另一种数据恢复系统的结构示意图;4B is a schematic structural diagram of another data recovery system according to Embodiment 4 of the present invention;
图4C为本发明实施例四提供的又一种数据恢复系统的结构示意图;4C is a schematic structural diagram of another data recovery system according to Embodiment 4 of the present invention;
图5为本发明实施例五提供的一种数据恢复系统的结构示意图;5 is a schematic structural diagram of a data recovery system according to Embodiment 5 of the present invention;
图6为本发明实施例六提供的一种数据恢复系统的结构示意图。FIG. 6 is a schematic structural diagram of a data recovery system according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1A为本发明实施例一提供的一种数据恢复方法的流程示意图。如图1A所示,所述方法包括如下步骤:FIG. 1A is a schematic flowchart of a data recovery method according to Embodiment 1 of the present invention. As shown in Figure 1A, the method includes the following steps:
11、从各应用库中确定待处理应用对应的参考应用库,所述参考应用库中各应用的应用属性与所述待处理应用的应用属性一致;11. Determine a reference application library corresponding to the application to be processed from each application library, and the application attributes of each application in the reference application library are consistent with the application attributes of the application to be processed;
12、根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。12. Locally restore the configuration data of the application to be processed according to the configuration data of each application in the reference application library.
具体的,数据恢复的类型包括重写、覆盖、补写、更新等。如待处理应用的配置数据为空,则数据恢复类型为重写,直接将获取的参考应用库中各应用的配置数据作为待处理应用的配置数据。如待处理应用的配置数据不为空,进一步的,当数据恢复类型为覆盖时,则将获取的参考应用库中各应用的配置数据覆盖掉待处理应用的配置数据;当数据恢复类型为补写时,则将获取的参考应用库中各应用的配置数据与待处理应用的配置数据进行比对,用参考应用库中各应用的配置数据补写待处理应用的配置数据的缺失部分;当数据恢复类型为更新时,则比对获取的参考应用库中各应用的配置数据与待处理应用的已有的配置数据的时间戳,选择时间戳更新的配置数据作为待处理应用的配置数据。Specifically, the types of data recovery include rewriting, overwriting, overwriting, updating, and the like. If the configuration data of the application to be processed is empty, the data recovery type is rewrite, and the obtained configuration data of each application in the reference application library is directly used as the configuration data of the application to be processed. If the configuration data of the application to be processed is not empty, further, when the data recovery type is overwrite, the obtained configuration data of each application in the reference application library will overwrite the configuration data of the application to be processed; when the data recovery type is overwrite When writing, the obtained configuration data of each application in the reference application library is compared with the configuration data of the application to be processed, and the missing part of the configuration data of the application to be processed is filled with the configuration data of each application in the reference application library; when When the data recovery type is update, the obtained configuration data of each application in the reference application library is compared with the time stamps of the existing configuration data of the application to be processed, and the configuration data updated with the time stamp is selected as the configuration data of the application to be processed.
进一步的,获得所述各应用库有多种方法,举例来说,可以根据应用属性,对所有已配置应用进行分类,获得所述各应用库,所述应用属性可以包括应用类别、应用领域和/或配置特点。Further, there are various methods for obtaining the application libraries. For example, all configured applications can be classified according to application attributes to obtain the application libraries. The application attributes can include application categories, application fields, and / or configuration features.
进一步的,还可以根据应用属性,对所有已配置应用、已安装未配置应用或待安装应用进行分类,获得所述各应用库,所述应用属性可以包括应用类别、应用领域和/或配置特点。其中,已配置应用的参考状态设置为可参考,已安装未配置应用或待安装应用的参考状态可设置为不可参考。此外,还可为各应用建立应用标签,用于标识各应用身份,方便查找和识别。Further, all configured applications, installed and unconfigured applications or applications to be installed can be classified according to application attributes to obtain the application libraries, and the application attributes can include application categories, application fields and/or configuration characteristics. . The reference status of the configured application can be set to be available for reference, and the reference status of the installed unconfigured application or the application to be installed can be set to non-referenceable. In addition, an application label can also be established for each application to identify the identity of each application for easy search and identification.
进一步的,在图1A所示实施方式的基础上,所述方法还可以包括:若所述待处理应用的配置数据达到预设的恢复程度,则将所述待处理应用添加至所述参考应用库中。以实际应用举例来说,若待处理应用的配置数据恢复达到90%及以上,则可将待处理应用添加至相应的应用库中,以实现对应用库的更新,提高数据恢复的准确性和可靠性。Further, based on the embodiment shown in FIG. 1A , the method may further include: if the configuration data of the application to be processed reaches a preset recovery level, adding the application to be processed to the reference application in the library. Taking a practical application as an example, if the configuration data recovery of the application to be processed reaches 90% or more, the application to be processed can be added to the corresponding application library to update the application library and improve the accuracy and accuracy of data recovery. reliability.
具体的,根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复有多种方法,举例来说,可以结合参考应用库中各应用的优先级别,参考所述参考应用库中各应用的配置数据对所述待处理应用的配置数据进行本地恢复。具体如图1B所示,图1B为本发明实施例一提供的另一种数据恢复方法的流程示意图,在图1A所示实施方式的基础上,12具体可以包括:Specifically, according to the configuration data of each application in the reference application library, there are various methods for locally restoring the configuration data of the application to be processed. The configuration data of the application to be processed is locally restored by referring to the configuration data of each application in the application library. Specifically, as shown in FIG. 1B , FIG. 1B is a schematic flowchart of another data recovery method provided in Embodiment 1 of the present invention. On the basis of the implementation shown in FIG. 1A , 12 may specifically include:
121、按照预设的第一规则,对所述参考应用库中的各应用进行优先级排序;121. According to a preset first rule, prioritize each application in the reference application library;
122、确定当前所述参考应用库中未被参考且优先级最高的参考应用;122. Determine the reference application that is not referenced and has the highest priority in the current reference application library;
123、参考所述参考应用的配置数据,对所述待处理应用的配置数据进行本地恢复;123. With reference to the configuration data of the reference application, locally restore the configuration data of the application to be processed;
124、判断当前所述待处理应用的配置数据是否完全恢复,若完全恢复,则结束流程,否则返回执行122,直至达到预设的本地恢复次数。124. Determine whether the current configuration data of the application to be processed is completely restored, and if so, end the process, otherwise return to executing 122 until the preset number of local restoration times is reached.
具体的,所述第一规则可以包括:按照预定的级别排序规则对参考应用库中各应用的优先级别自动更新,或者用户对参考应用库中各应用的优先级进行手动排序。所述级别排序规则可根据应用属性相符程度、配置数据匹配程度或者用户个人喜好等进行设定。以实际应用举例来说,可以根据参考应用库中各应用的配置数据的时间戳,将预定时间内,如6个月,未更新配置数据的应用的优先级别自动调整到配置数据有更新的应用之后。Specifically, the first rule may include: automatically updating the priority levels of each application in the reference application library according to a predetermined level sorting rule, or manually sorting the priorities of each application in the reference application library by the user. The level sorting rules can be set according to the matching degree of application attributes, the matching degree of configuration data, or the user's personal preference. Taking a practical application as an example, according to the timestamp of the configuration data of each application in the reference application library, the priority level of the application that has not updated the configuration data within a predetermined period, such as 6 months, can be automatically adjusted to the application with updated configuration data. after.
实际应用中,可能不存在与待处理应用对应的参考应用库,为了提高数据恢复的可靠性,当不存在相应的可参考应用,无法进行本地恢复时,则进行远程恢复,如图1C所示,图1C为本发明实施例一提供的又一种数据恢复方法的流程示意图。在图1A所示实施方式的基础上,所述方法还可以包括:In practical applications, there may not be a reference application library corresponding to the application to be processed. In order to improve the reliability of data recovery, when there is no corresponding reference application and local recovery cannot be performed, remote recovery is performed, as shown in Figure 1C. 1C is a schematic flowchart of another data recovery method provided by Embodiment 1 of the present invention. On the basis of the embodiment shown in FIG. 1A , the method may further include:
13、若所述各应用库中不存在所述参考应用库,则根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复。13. If the reference application library does not exist in the respective application libraries, remotely restore the configuration data of the application to be processed according to the backup configuration data of the application to be processed stored in the server.
具体的,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复有多种方法。以实际应用举例来说,在图1C所示实施方式的基础上,13具体可以包括:Specifically, according to the backup configuration data of the application to be processed stored in the server, there are various methods for remotely restoring the configuration data of the application to be processed. Taking a practical application as an example, on the basis of the embodiment shown in FIG. 1C , 13 may specifically include:
根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据中未恢复的配置数据进行远程恢复;According to the backup configuration data of the application to be processed stored in the server, remotely recover unrestored configuration data in the configuration data of the application to be processed;
根据预设的第二规则,根据所述备份配置数据,对所述待处理应用的配置数据中已恢复的配置数据进行更新。According to the preset second rule, the restored configuration data in the configuration data of the application to be processed is updated according to the backup configuration data.
具体的,所述第二规则可以包括:所述备份配置数据优先或配置数据的时间戳优先。Specifically, the second rule may include: the backup configuration data is given priority or the timestamp of the configuration data is given priority.
本实施例提供的数据恢复方法,通过从各应用库中确定待处理应用对应的参考应用库,根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。上述方案采用创新的恢复机制和方法,实用性强,适用性广,可以高效利用应用配置数据的通用性和一致性,有利于提高数据恢复的效率。In the data recovery method provided by this embodiment, the reference application library corresponding to the application to be processed is determined from each application library, and the configuration data of the application to be processed is locally restored according to the configuration data of each application in the reference application library . The above solution adopts an innovative recovery mechanism and method, has strong practicability and wide applicability, can efficiently utilize the versatility and consistency of application configuration data, and is beneficial to improve the efficiency of data recovery.
图2为本发明实施例二提供的一种数据恢复方法的流程示意图。在实施例一的基础上,在12之后,所述方法还可以包括:FIG. 2 is a schematic flowchart of a data recovery method according to Embodiment 2 of the present invention. On the basis of Embodiment 1, after 12, the method may further include:
21、判断当前所述待处理应用的配置数据是否完全恢复;21. Determine whether the configuration data of the current application to be processed is completely restored;
22、若完全恢复,则结束流程,否则,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复。22. If it is completely restored, end the process, otherwise, remotely restore the configuration data of the application to be processed according to the backup configuration data of the application to be processed stored in the server.
具体的,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复的方法有多种,例如可以按照预设的规则,参考服务器中存储的所述待处理应用的备份配置数据对所述待处理应用的配置数据进行远程恢复。以实际应用举例来说,在图2所示实施方式的基础上,22具体可以包括:Specifically, according to the backup configuration data of the application to be processed stored in the server, there are various methods for remotely restoring the configuration data of the application to be processed. The backup configuration data of the application to be processed is remotely restored to the configuration data of the application to be processed. Taking a practical application as an example, on the basis of the embodiment shown in FIG. 2 , 22 may specifically include:
根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据中未恢复的配置数据进行远程恢复;According to the backup configuration data of the application to be processed stored in the server, remotely recover unrestored configuration data in the configuration data of the application to be processed;
根据预设的第二规则,根据所述备份配置数据,对所述待处理应用的配置数据中已恢复的配置数据进行更新。According to the preset second rule, the restored configuration data in the configuration data of the application to be processed is updated according to the backup configuration data.
具体的,所述第二规则可以包括:所述备份配置数据优先或配置数据的时间戳优先。若备份配置数据优先,则直接根据备份配置数据对待处理应用的配置数据进行更新。若配置数据的时间戳优先,则根据时间戳的先后顺序,从所述备份配置数据和所述待处理应用的配置数据中确定时间戳较新的配置数据,并根据时间戳较新的配置数据对待处理应用的配置数据进行更新。Specifically, the second rule may include: the backup configuration data is given priority or the timestamp of the configuration data is given priority. If the backup configuration data takes priority, the configuration data of the application to be processed is updated directly according to the backup configuration data. If the time stamp of the configuration data takes precedence, then according to the sequence of the time stamps, the configuration data with a newer time stamp is determined from the backup configuration data and the configuration data of the application to be processed, and according to the configuration data with a newer time stamp Update the configuration data of the pending application.
本实施例提供的数据恢复方法,通过判断待处理应用的配置数据在本地恢复之后是否完全恢复,若完全恢复,则结束流程,否则,对待处理应用的配置数据进行远程恢复。上述方案以先本地后远程为原则对待处理应用的配置数据进行恢复,有利于提高数据恢复的智能化程度,实现应用模组的层级分类数据恢复。The data recovery method provided by this embodiment determines whether the configuration data of the application to be processed is completely recovered after the local recovery. If it is completely recovered, the process ends, otherwise, the configuration data of the application to be processed is recovered remotely. The above solution restores the configuration data of the application to be processed based on the principle of local first and then remote, which is conducive to improving the intelligence of data recovery and realizing hierarchical classification data recovery of application modules.
图3为本发明实施例三提供的一种数据恢复方法的流程示意图。在实施例一或者实施例二的基础上,所述方法还可以包括:FIG. 3 is a schematic flowchart of a data recovery method according to Embodiment 3 of the present invention. On the basis of Embodiment 1 or Embodiment 2, the method may further include:
31、判断当前所述待处理应用的配置数据是否完全恢复;31. Determine whether the configuration data of the current application to be processed is completely restored;
32、若完全恢复,则结束流程,否则向用户推送恢复请求,以使所述用户对当前所述待处理应用的配置数据中未恢复的配置数据进行手动恢复。32. If it is completely restored, end the process; otherwise, push a restore request to the user, so that the user can manually restore the unrestored configuration data in the current configuration data of the application to be processed.
具体的,31可以在12之后的任一时刻执行,例如,可以在进行本地恢复之后执行,也可以在进行远程恢复之后执行,本实施例在此不对其进行限制。Specifically, 31 may be executed at any time after 12, for example, may be executed after local recovery is performed, or may be performed after remote recovery is performed, which is not limited in this embodiment.
本实施例提供的数据恢复方法,通过判断待处理应用的配置数据在远程之后是否完全恢复,若完全恢复,则结束流程,否则,向用户推送恢复请求,使用户对未恢复的配置数据进行手动恢复。上述方案以先自动后手动为原则对待处理应用的配置数据进行恢复,有利于提高数据恢复程度,实现应用模组的层级分类数据恢复。The data recovery method provided by this embodiment determines whether the configuration data of the application to be processed is completely recovered after being remotely recovered. If it is completely recovered, the process is ended. recover. The above scheme restores the configuration data of the application to be processed on the principle of automatic first and then manually, which is conducive to improving the degree of data recovery and realizing the hierarchical classification data recovery of application modules.
图4A为本发明实施例四提供的一种数据恢复系统的结构示意图。如图4A所示,所述系统包括:FIG. 4A is a schematic structural diagram of a data recovery system according to Embodiment 4 of the present invention. As shown in Figure 4A, the system includes:
筛选模块41,用于从各应用库中确定待处理应用对应的参考应用库,所述参考应用库中各应用的应用属性与所述待处理应用的应用属性一致;The
恢复模块42,用于根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。The
进一步的,为了预先获得各应用库,所述系统还可以包括:分类模块,用于根据应用属性,对所有已配置应用进行分类,获得所述各应用库,所述应用属性包括应用类别、应用领域和/或配置特点。可选的,所述分类模块,还可以用于根据应用属性,对所有已配置应用、已安装未配置应用或待安装应用进行分类,获得所述各应用库。其中,已配置应用的参考状态设置为可参考,已安装未配置应用或待安装应用的参考状态可设置为不可参考。Further, in order to obtain each application library in advance, the system may further include: a classification module, configured to classify all configured applications according to application attributes, and obtain each application library, and the application attributes include application category, application Field and/or configuration characteristics. Optionally, the classification module may be further configured to classify all configured applications, installed unconfigured applications or applications to be installed according to application attributes, and obtain the application libraries. The reference status of the configured application can be set to be available for reference, and the reference status of the installed unconfigured application or the application to be installed can be set to non-referenceable.
进一步的,为了实现对应用库的更新,提高数据恢复的可靠性,在图4A所示实施方式的基础上,所述系统还可以包括:更新模块,用于若所述待处理应用的配置数据达到预设的恢复程度,则将所述待处理应用添加至所述参考应用库中。Further, in order to update the application library and improve the reliability of data recovery, on the basis of the embodiment shown in FIG. 4A , the system may further include: an update module, which is used to update the configuration data of the application to be processed. When a preset recovery degree is reached, the application to be processed is added to the reference application library.
作为一种可选的实施方式,图4B为本发明实施例四提供的另一种数据恢复系统的结构示意图。如图4B所示,在图4A所示实施方式的基础上,所述系统还包括:As an optional implementation manner, FIG. 4B is a schematic structural diagram of another data recovery system according to Embodiment 4 of the present invention. As shown in FIG. 4B, on the basis of the embodiment shown in FIG. 4A, the system further includes:
排序模块43,用于按照预设的第一规则,对所述参考应用库中的各应用进行优先级排序;A sorting module 43, configured to prioritize each application in the reference application library according to a preset first rule;
相应的,恢复模块42具体可以包括:Correspondingly, the
筛选单元421,用于确定当前所述参考应用库中未被参考且优先级最高的参考应用;A screening unit 421, configured to determine a reference application that is not referenced and has the highest priority in the current reference application library;
本地恢复单元422,用于参考所述参考应用的配置数据,对所述待处理应用的配置数据进行本地恢复;a local restoration unit 422, configured to locally restore the configuration data of the application to be processed with reference to the configuration data of the reference application;
本地判断单元423,用于判断当前所述待处理应用的配置数据是否完全恢复,若完全恢复,则结束流程,否则指示筛选单元421再次执行所述确定当前所述参考应用库中未被参考且优先级最高的参考应用的步骤,直至达到预设的本地恢复次数。The local judging unit 423 is used to judge whether the configuration data of the current application to be processed is completely restored, and if it is completely restored, the process ends, otherwise the screening unit 421 is instructed to perform the determination again that the reference application library is not referenced and is not currently referenced. The steps of the reference application with the highest priority until the preset number of local restores is reached.
为了提高数据恢复的可靠性,当不存在相应的可参考应用,无法进行本地恢复时,则进行远程恢复,如图4C所示,图4C为本发明实施例四提供的又一种数据恢复系统的结构示意图。在图4A所示实施方式的基础上,所述系统还可以包括:In order to improve the reliability of data recovery, when there is no corresponding reference application and local recovery cannot be performed, remote recovery is performed, as shown in FIG. 4C , which is another data recovery system provided by Embodiment 4 of the present invention. Schematic diagram of the structure. On the basis of the embodiment shown in FIG. 4A , the system may further include:
第一远程恢复模块44,用于若所述各应用库中不存在所述参考应用库,则根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复。The first
具体的,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复有多种方法。以实际应用举例来说,在图4C所示实施方式的基础上,第一远程恢复模块,具体可以用于根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据中未恢复的配置数据进行远程恢复;第一远程恢复模块,具体还用于根据预设的第二规则,根据所述备份配置数据,对所述待处理应用的配置数据中已恢复的配置数据进行更新。Specifically, according to the backup configuration data of the application to be processed stored in the server, there are various methods for remotely restoring the configuration data of the application to be processed. Taking a practical application as an example, on the basis of the embodiment shown in FIG. 4C , the first remote recovery module can specifically be used to perform a data recovery on the application to be processed according to the backup configuration data of the application to be processed stored in the server. Performing remote recovery of unrestored configuration data in the configuration data; the first remote recovery module is specifically further configured to, according to a preset second rule and according to the backup configuration data, perform the recovery of the configuration data of the application to be processed that has been recovered The configuration data is updated.
具体的,所述第二规则可以包括:所述备份配置数据优先或配置数据的时间戳优先。Specifically, the second rule may include: the backup configuration data is given priority or the timestamp of the configuration data is given priority.
本实施例提供的数据恢复系统,通过从各应用库中确定待处理应用对应的参考应用库,根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复。上述系统采用创新的恢复机制和方法,实用性强,适用性广,可以高效利用应用配置数据的通用性和一致性,有利于提高数据恢复的效率。In the data recovery system provided in this embodiment, the reference application library corresponding to the application to be processed is determined from each application library, and the configuration data of the application to be processed is locally restored according to the configuration data of each application in the reference application library. . The above system adopts an innovative recovery mechanism and method, which has strong practicability and wide applicability, and can efficiently utilize the versatility and consistency of application configuration data, which is beneficial to improve the efficiency of data recovery.
图5为本发明实施例五提供的一种数据恢复系统的结构示意图。在实施例四的基础上,所述系统还可以包括:FIG. 5 is a schematic structural diagram of a data recovery system according to Embodiment 5 of the present invention. On the basis of Embodiment 4, the system may further include:
远程判断模块51,用于在恢复模块42根据所述参考应用库中各应用的配置数据,对所述待处理应用的配置数据进行本地恢复之后,判断当前所述待处理应用的配置数据是否完全恢复;The
第二远程恢复模块52,用于若完全恢复,则结束流程,否则,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复。The second
具体的,根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据进行远程恢复的方法有多种,例如可以按照预设的规则,参考服务器中存储的所述待处理应用的备份配置数据对所述待处理应用的配置数据进行远程恢复。以实际应用举例来说,在图5所示实施方式的基础上,第二远程恢复模块52具体可以包括:Specifically, according to the backup configuration data of the application to be processed stored in the server, there are various methods for remotely restoring the configuration data of the application to be processed. The backup configuration data of the application to be processed is remotely restored to the configuration data of the application to be processed. Taking a practical application as an example, on the basis of the embodiment shown in FIG. 5 , the second
恢复子单元,用于根据服务器中存储的所述待处理应用的备份配置数据,对所述待处理应用的配置数据中未恢复的配置数据进行远程恢复;a recovery subunit, configured to remotely recover unrestored configuration data in the configuration data of the application to be processed according to the backup configuration data of the application to be processed stored in the server;
更新子单元,用于根据预设的第二规则,根据所述备份配置数据,对所述待处理应用的配置数据中已恢复的配置数据进行更新。The updating subunit is configured to update the restored configuration data in the configuration data of the application to be processed according to the second preset rule and the backup configuration data.
具体的,所述第二规则可以包括:所述备份配置数据优先或配置数据的时间戳优先。Specifically, the second rule may include: the backup configuration data is given priority or the timestamp of the configuration data is given priority.
本实施例提供的数据恢复系统,通过判断待处理应用的配置数据在本地恢复之后是否完全恢复,若完全恢复,则结束流程,否则,对待处理应用的配置数据进行远程恢复。上述系统以先本地后远程为原则对待处理应用的配置数据进行恢复,有利于提高数据恢复的智能化程度,实现应用模组的层级分类数据恢复。The data recovery system provided by this embodiment determines whether the configuration data of the application to be processed is completely recovered after the local recovery, and if it is completely recovered, the process ends, otherwise, the configuration data of the application to be processed is recovered remotely. The above-mentioned system restores the configuration data of the application to be processed on the principle of local first and then remote, which is conducive to improving the intelligence of data recovery and realizing hierarchical classification data recovery of application modules.
图6为本发明实施例六提供的一种数据恢复系统的结构示意图。在实施例四或实施例五的基础上,所述系统还可以包括:FIG. 6 is a schematic structural diagram of a data recovery system according to Embodiment 6 of the present invention. On the basis of Embodiment 4 or Embodiment 5, the system may further include:
手动判断模块61,用于判断当前所述待处理应用的配置数据是否完全恢复;
手动恢复模块62,用于若当前所述待处理应用的配置数据完全恢复,则结束流程,否则向用户推送恢复请求,以使所述用户对当前所述待处理应用的配置数据中未恢复的配置数据进行手动恢复。The
本实施例提供的数据恢复系统,通过判断待处理应用的配置数据在远程之后是否完全恢复,若完全恢复,则结束流程,否则,向用户推送恢复请求,使用户对未恢复的配置数据进行手动恢复。上述系统以先自动后手动为原则对待处理应用的配置数据进行恢复,有利于提高数据恢复程度,实现应用模组的层级分类数据恢复。The data recovery system provided by this embodiment judges whether the configuration data of the application to be processed is completely recovered after the remote, and if it is completely recovered, the process is ended; recover. The above system restores the configuration data of the application to be processed on the principle of automatic first and then manual, which is beneficial to improve the degree of data recovery and realize the hierarchical classification data recovery of application modules.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the system described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710279313.9A CN107179966B (en) | 2017-04-25 | 2017-04-25 | Data recovery method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710279313.9A CN107179966B (en) | 2017-04-25 | 2017-04-25 | Data recovery method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107179966A CN107179966A (en) | 2017-09-19 |
| CN107179966B true CN107179966B (en) | 2020-01-31 |
Family
ID=59831048
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710279313.9A Active CN107179966B (en) | 2017-04-25 | 2017-04-25 | Data recovery method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107179966B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109298973A (en) * | 2018-09-28 | 2019-02-01 | 联想(北京)有限公司 | A kind of information recovering method and electronic equipment |
| KR102884797B1 (en) * | 2020-08-04 | 2025-11-12 | 삼성전자주식회사 | Method for recoverying backup data and electronic device therefor |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CA2783370C (en) * | 2009-12-31 | 2016-03-15 | Commvault Systems, Inc. | Systems and methods for performing data management operations using snapshots |
| CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
| CN103619008A (en) * | 2013-12-11 | 2014-03-05 | 北京网秦天下科技有限公司 | System and method for performing backup and restoration on data |
| US9483367B1 (en) * | 2014-06-27 | 2016-11-01 | Veritas Technologies Llc | Data recovery in distributed storage environments |
| CN104301382A (en) * | 2014-09-03 | 2015-01-21 | 惠州Tcl移动通信有限公司 | A cloud data backup and recovery method |
| CN105721601A (en) * | 2016-03-07 | 2016-06-29 | 深圳市创想天空科技股份有限公司 | Data recovery method and system |
| CN106201811B (en) * | 2016-07-06 | 2019-03-26 | 青岛海信宽带多媒体技术有限公司 | The fault recovery method and terminal of application program |
| CN106201783B (en) * | 2016-07-15 | 2017-10-17 | 广东欧珀移动通信有限公司 | A kind of data reconstruction method and device |
-
2017
- 2017-04-25 CN CN201710279313.9A patent/CN107179966B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN107179966A (en) | 2017-09-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8107503B2 (en) | Resuming a previously interrupted peer-to-peer synchronization operation | |
| US20160157047A1 (en) | Bluetooth communication method and bluetooth communication device | |
| US8683027B2 (en) | Utilization of uncertainty dependency relationships between items in a data stream | |
| CN106385483B (en) | Telephone number processing method, mobile terminal and cloud server thereof | |
| US11036590B2 (en) | Reducing granularity of backup data over time | |
| CN120123184B (en) | Distributed server cluster log processing method and device | |
| CN107181664B (en) | An automatic fuse message sending method, device and system | |
| CN106302625B (en) | Data update method, device and related system | |
| CN109101599B (en) | Incremental index updating method and system | |
| CN107179966B (en) | Data recovery method and system | |
| CN111324483A (en) | Data recovery method and device and related equipment | |
| CN103179153B (en) | Mobile terminal and mobile terminal data backup method based on cloud server | |
| US8843472B2 (en) | Recovery of inconsistent data in databases | |
| CN113691628A (en) | Task switching method and device, system, electronic equipment and computer medium | |
| CN108347367B (en) | E-mail processing method and device, server and client | |
| CN108989383B (en) | Data processing method and client | |
| CN115511085A (en) | Model data processing method, device, equipment and storage medium | |
| JP5853791B2 (en) | Data synchronization method and server device | |
| CN115080504A (en) | File management method, terminal and storage medium | |
| CN106304028B (en) | Method and device for backup and restoration of address book | |
| WO2015117422A1 (en) | Method and device for backing up system data | |
| CN110806953A (en) | A backup method and device | |
| CN116483927A (en) | Data synchronization method and related equipment | |
| JP6138709B2 (en) | Life log linkage dialogue system, life log linkage dialogue method and program | |
| CN108279994B (en) | Automatic solution method for connection Citrix published application exception |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |