WO2014019363A1 - 一种数据恢复的方法和系统 - Google Patents

一种数据恢复的方法和系统 Download PDF

Info

Publication number
WO2014019363A1
WO2014019363A1 PCT/CN2013/072622 CN2013072622W WO2014019363A1 WO 2014019363 A1 WO2014019363 A1 WO 2014019363A1 CN 2013072622 W CN2013072622 W CN 2013072622W WO 2014019363 A1 WO2014019363 A1 WO 2014019363A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
recovery
mobile terminal
capacity
restored
Prior art date
Application number
PCT/CN2013/072622
Other languages
English (en)
French (fr)
Inventor
程林
梁涛
赵征
程平
Original Assignee
北京网秦天下科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京网秦天下科技有限公司 filed Critical 北京网秦天下科技有限公司
Priority to US14/414,951 priority Critical patent/US20150161013A1/en
Publication of WO2014019363A1 publication Critical patent/WO2014019363A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1453Management of the data involved in backup or backup restore using de-duplication of the data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability

Definitions

  • the invention belongs to the field of mobile terminals, and in particular relates to a method and system for data recovery. Background technique
  • an object of the present invention is to provide a data recovery method and system for providing data recovery from a server side for mobile terminal data to meet user security needs.
  • the invention provides a method for data recovery, the method comprising:
  • A. Receive a data type of data selected by the user that needs to be restored
  • step B Detect the capacity of the data of the same type of data on the server side, and detect the remaining capacity of the local storage of the mobile terminal 2, compare the capacity 1 and the capacity 2, and if the capacity 1 exceeds the capacity 2, the recovery process is interrupted, if not exceeded, Then perform step C;
  • the data type includes: any one of an image, a video, a short message, a call record, and a private contact, or any combination thereof, the private contact includes a contact name, a phone number, and a private call handling method. .
  • the server receives an instruction of the mobile terminal to download data to be restored, and transmits the data to be restored to the mobile terminal.
  • the method further comprises: after the recovery process is interrupted, if If the user chooses to resume, he will resume from the point where he has recovered.
  • the method further includes: the mobile terminal processing the downloaded data that needs to be restored, including:
  • the present invention provides a system for data recovery, including a display module, where the system includes: a mobile terminal and a server.
  • the mobile terminal includes: an acquisition module, a detection processing module, a download recovery module, and an acquisition module, configured to receive a user selection.
  • a detection processing module configured to detect a capacity 1 of the same data type of the server end, and detect the remaining capacity 2 of the local storage of the mobile terminal, compare the capacity 1 and the capacity 2, and if the capacity 1 exceeds the capacity 2, interrupt the recovery process, If not exceeded, the download recovery operation is performed by the download recovery module;
  • Display module used to display the recovery result after the recovery is completed.
  • the data type includes: any one of an image, a video, a short message, a call record, and a private contact, or any combination thereof, and the private contact includes a contact name, a phone number, and a private call handling method. .
  • the server side includes a processing module, configured to receive an instruction that the mobile terminal requests to download data that needs to be restored, and send the data that needs to be restored to the mobile terminal.
  • the system is further used after the recovery process is interrupted, if the user chooses to resume the recovery, the recovery is resumed from the point that has been restored.
  • the mobile terminal further includes a merge processing module, configured to process the downloaded data that needs to be restored, including:
  • the data recovery method and system can solve the recovery work of a large amount of data by performing data recovery from the server side, thereby reducing the calculation amount of the local mobile terminal and reducing resources. Consumption, it can also protect important data to prevent loss, easy to use.
  • FIG. 1 is a flow chart of a method for data recovery according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a display interface of a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a data recovery operation of a mobile terminal according to an embodiment of the present invention
  • FIG. 4 is a block diagram of a data recovery system of the mobile terminal according to an embodiment of the present invention.
  • an embodiment of the present invention provides a data recovery method, and the steps are as follows:
  • Step S110 Receive a data type of data selected by the user that needs to be restored
  • Step S120 Detecting the capacity 1 of the data of the same type as the data type of the server, and detecting the remaining capacity 2 of the local storage of the mobile terminal, comparing the capacity 1 and the capacity 2. If the capacity 1 exceeds the capacity 2, the recovery process is interrupted, if not exceeded , step S130 is performed;
  • Step S130 Download the data that needs to be restored from the server to the mobile terminal for recovery, and display the recovery result after the recovery is completed.
  • the data recovery method preferentially uses the user private information, that is, the user can use the recovery function after being authorized and correctly logged in.
  • FIG. 2 is a schematic diagram of a display interface of a mobile terminal according to an embodiment of the present invention.
  • Mobile end The terminal can be any device, including but not limited to, a mobile phone, a tablet, a laptop, and the like.
  • the data types represented by these options include, but are not limited to, images, videos, text messages, call logs, private contacts.
  • the file type of the image type includes the image file itself and the file name, the original path, the time attribute, the label attribute, and the like;
  • the file content of the video type includes the video file itself, the file name, the original path, the time attribute, the label attribute, and the like;
  • the contents of the file include phone number, SMS content, SMS type (send or accept), send or receive time;
  • file type of call record includes phone number, type (incoming call, outgoing call, missed, rejected, and rejected) , time, duration;
  • the file content of the private contact type includes contact name, phone number, and private call handling.
  • the mobile terminal needs to perform network check and networking operations before performing data recovery to select the data type, as follows:
  • Step 310 The mobile terminal first checks the network status.
  • the mobile terminal preferentially uses the WIFI network to recover from the server. If the WIFI network is unavailable, the user needs to prompt the user that the WIFI network is unavailable. Ask the user whether to use the data network for recovery. If the data network is not available, interrupt the recovery process. S370.
  • Step 320 The mobile terminal and the server end network, and synchronize the file information that has been backed up, including the total size of the backup data and the data size of each data type.
  • Step 330 Display a data type option for data recovery on the display interface 200, including the size of each data type, and the user selects any data type that needs to be data restored. Among them, the user can click the data type option through mouse, keyboard, touch screen and the like. When the user makes a selection, he can only select the type, and does not support selecting a single picture or video, contact, text message, and the like.
  • Step S340 The mobile terminal receives the data type selected by the user for data recovery, and prompts the user to select a recovery operation.
  • Step 350 Detect the data capacity 1 of the same type of data that the user wants to recover on the server side, and detect the remaining capacity of the local storage of the mobile terminal 2 .
  • the server needs to process the data selected by the user for data recovery.
  • the file processing method for the image and video type is: Synchronize the file information that has been backed up, for the local.
  • the existing file size is no longer counted in capacity 1, and is no longer downloaded.
  • the existing file refers to the file with the same File ID; the SMS, the call record, and the file for the private contact type are all packaged.
  • the capacity 1 is the size of the selected data type in the data information that the user has backed up from the server.
  • Step 360 Compare the capacity 1 If the remaining capacity of the local storage is exceeded 2, if the capacity is exceeded, the recovery process is interrupted, and step S380 is performed; otherwise, step S370 is performed.
  • Step S370 Download the data that needs to be restored from the server to the mobile terminal for recovery, and display the recovery result after the recovery is completed.
  • the server receives an instruction from the mobile terminal to download data that needs to be restored, and sends the data to be recovered to the mobile terminal.
  • the data on the server side is encrypted and stored. Therefore, the data needs to be decrypted before the data is downloaded, wherein the short message, the call record, and the data of the private contact type are decrypted into a data packet.
  • the transmitted data can be encrypted by the Https protocol. After receiving the downloaded data, the mobile terminal needs to process and save the data, where:
  • the file processing method for the image and video type is: Synchronize the file information that has been backed up with the server side, and the same file that already exists locally will not be restored, and the size that needs to be downloaded is not counted.
  • the manner of defining the uniqueness of the file is determined according to the MD5 value of the file and the original path.
  • the MD5 value is the same, and the original path is different, and should be regarded as two files, which should be included in the recovery capacity, and downloaded.
  • Recovery the mobile terminal encrypts the merged data and saves it to the self-built database.
  • the file processing method for the short message and call record type is: download all the data of the same type, the mobile terminal performs the merge and de-reprocessing, all the fields are the same to be regarded as the same record, for the short message and the call record, any one Different fields are different records;
  • the file processing method for the private contact type is: download all the data of the same type, and merge and de-reprocess the mobile terminal.
  • the merge rule is:
  • the data packet is first unpacked into original data by the mobile terminal, and combined with the same type of data already existing on the mobile terminal for processing, and then the mobile terminal packages, encrypts and saves the merged data to Self-built database.
  • the user can cancel the recovery process at any time, for example: Cancel the recovery process by clicking the Cancel button or by clicking the Back button. If a part of the file has been restored, after canceling, the size result of the restored data should be displayed. Among them, there is no case where a part of the file is successfully restored. In addition, since the data recovery of the short message, call record, and private contact type is After packaging, the overall recovery, the packaged data should be treated as a file.
  • the resume is supported. If the user cancels or temporarily interrupts due to network reasons, the recovery process should be suspended. If the user chooses to continue, the recovery will continue from the point that has just been restored. Do not restart all, do not need to support a single file. http.
  • the recovery process if the user presses the HOME button to switch to another application, the recovery process will not be interrupted, and the recovery process should still be displayed again after returning to the recovery operation.
  • the mobile terminal displays the recovery result, and only needs to display the restored data type size, and does not need to display the specific number of files to be restored.
  • Step S380 The recovery process is interrupted, and the data recovery operation ends.
  • FIG. 4 is a block diagram of a data recovery system 400 according to the present embodiment, including a mobile terminal 400a, a server terminal 400b, and a mobile terminal 400a, including: a display module 410, configured to display a recovery result after the restoration is completed; and an acquisition module 420, configured to Receiving a data type of the data selected by the user that needs to be restored; the detecting processing module 430 is configured to detect the capacity 1 of the data of the server type 400b and the same data type, and detect the remaining capacity 2 of the local storage of the mobile terminal 400a, compare the capacity 1 and Capacity 2, if the capacity 1 exceeds the capacity 2, the recovery process is interrupted, if not exceeded, the download recovery operation is performed by the download recovery module 440; the download recovery module 440 is configured to download the data to be restored from the server 400b to the mobile terminal. 400a for recovery.
  • the server side 400b includes a processing module 460 for receiving an instruction that the mobile terminal 400a requests to download data that needs to be restored, and transmits data that needs to be restored to the mobile terminal 400a.
  • the image, video type file, the mobile terminal 400a is networked with the server end 400b, and the obtaining module 420 can acquire and synchronize the file information that has been backed up from the server end 400b, including the total backup data, and the data types.
  • Data size Before the data download that needs to be restored is restored, since the data of the server 400b is encrypted, the processing module 460 needs to decrypt the data before the data is downloaded, wherein the short message, the call record, and the private contact The type of data is decrypted into a packet. During the data download sending process, the processing module 460 encrypts the transmitted data through the Https protocol.
  • the types of data that the user can select include, but are not limited to, images, videos, short messages, call records, and private contacts.
  • private contacts include contact name, phone number, and private call handling.
  • System 400 is further used to resume recovery from the recovered point if the user chooses to resume recovery after the recovery process is interrupted.
  • the resume process is supported during the recovery process. If the user cancels or temporarily interrupts due to network reasons, the recovery process should be suspended. If the user chooses to continue, the recovery resumes from the point that has just been restored. At the beginning, there is no need to support breakpoints for individual files.
  • the mobile terminal 400a further includes a merge processing module 450 for processing the downloaded data that needs to be recovered.
  • the file processing method for the image and video type is: Synchronizing the file information that has been backed up with the server side 400b, and the merge processing module 450 does not restore the same file that already exists locally, and does not count the size that needs to be downloaded.
  • the manner of defining the uniqueness of the file is determined according to the MD5 value of the file and the original path, and the MD5 value is the same, and the original path is different, and should be regarded as two files, which should be included in the recovery capacity, and downloaded.
  • the merge processing module 450 encrypts the merged data and saves it to the self-built database;
  • the file processing method for the short message and the call record type is: the merge processing module 450 performs the merge and deduplication processing, and all the fields are the same to be regarded as the same record. For the short message and the call record, any one field is different and different. record of;
  • the file processing method for the private contact type is: the merge processing module 450 performs merge and deduplication processing, and the merge rule is:
  • the merge processing module 450 first unpacks the data into the original data, and performs the combined deduplication processing with the same type of data already existing in the mobile terminal 400a. Thereafter, the merge processing module 450 merges the processed data. Package, encrypt, and save to a self-built database.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供了一种数据恢复的方法,该方法包括:A、接收用户选择的需要恢复的数据的数据类型;B、检测服务器端与所述数据类型相同的数据的容量1,并检测移动终端的本地存储的剩余容量2,比较所述容量1和所述容量2,如果所述容量1超出所述容量2,则中断所述恢复过程,如果没有超出,则执行步骤C;C、将所述需要恢复的数据从所述服务器端下载到所述移动终端进行恢复,恢复完成后显示恢复结果。本发明通过从服务器端进行数据恢复的方式,能解决大量数据的恢复工作,这样能减少本地移动终端的计算量,减少资源消耗,也能很好的保护重要的数据以防丟失,方便易用。

Description

一种数据恢复的方法和系统 技术领域
本发明属于移动终端领域, 尤其涉及一种数据恢复的方法和系统。 背景技术
智能手机、 平板电脑等移动终端的频繁使用, 使人们越来越依赖它们, 用 户通过手机或平板电脑上网、 收发邮件、 聊天, 或存储一些重要的私人信息, 包括照片、 重要的联系人信息。现在用户习惯将这些重要的信息备份在本地设 备中, 而且在本地完成数据恢复, 这种操作将会增加本地计算量, 消耗本地大 量资源, 而且数据恢复写入时可能导致原数据被覆盖,从而无法恢复出原数据 内容, 严重的将可能导致数据丟失。 发明内容
有鉴于此, 本发明的目的是提供一种数据恢复的方法和系统, 为移动终端 数据提供从服务器端进行数据恢复的方法, 满足用户的安全需要。
本发明提供了一种数据恢复的方法, 该方法包括:
A、 接收用户选择的需要恢复的数据的数据类型;
B、 检测服务器端与数据类型相同的数据的容量 1 , 并检测移动终端的本 地存储的剩余容量 2 , 比较容量 1和容量 2, 如果容量 1超出容量 2, 则中断 恢复过程, 如果没有超出, 则执行步骤 C;
C、 将需要恢复的数据从服务器端下载到移动终端进行恢复, 恢复完成后 显示恢复结果。
根据上述的方法, 其中, 数据类型包括: 图像、 视频、 短信、 通话记录、 私密联系人中的任意一种或者其中的任意组合, 私密联系人包括联系人的姓 名、 电话号码、 私密来电处理方式。
根据上述的方法, 其中,服务器端接收移动终端要求下载需要恢复的数据 的指令, 并发送需要恢复的数据到移动终端。
根据上述的方法, 其中, 该方法进一步包括, 恢复过程被中断后, 如果用 户选择继续恢复, 则从已经恢复的点继续恢复。
根据上述的方法, 其中, 该方法进一步包括, 移动终端对下载的需要恢复 的数据进行处理, 包括:
对图像、 视频类型的数据进行合并去重处理、 加密保存;
对短信、 通话记录、 私密联系人类型的数据进行解包、 合并去重处理、 打 包并加密保存。
本发明提供一种数据恢复的系统, 包括显示模块, 其中, 该系统包括: 移 动终端、服务器端, 移动终端包括: 获取模块、检测处理模块、 下载恢复模块, 获取模块, 用于接收用户选择的需要恢复的数据的数据类型;
检测处理模块, 用于检测服务器端与数据类型相同的数据的容量 1 , 并检 测移动终端的本地存储的剩余容量 2, 比较容量 1和容量 2, 如果容量 1超出 容量 2, 则中断恢复过程, 如果没有超出, 则由下载恢复模块执行下载恢复操 作;
下载恢复模块,用于将需要恢复的数据从服务器端下载到移动终端进行恢 复;
显示模块, 用于恢复完成后显示恢复结果。
根据上述的系统, 其中, 数据类型包括: 图像、 视频、 短信、 通话记录、 私密联系人中的任意一种或者其中的任意组合, 私密联系人包括联系人的姓 名、 电话号码、 私密来电处理方式。
根据上述的系统, 其中, 服务器端包括处理模块, 用于接收移动终端要求 下载需要恢复的数据的指令, 并发送需要恢复的数据到移动终端。
根据上述的系统, 其中, 该系统进一步用于恢复过程被中断后, 如果用户 选择继续恢复, 则从已经恢复的点继续恢复。
根据上述的系统, 其中, 移动终端进一步包括合并处理模块, 用于对下载 的需要恢复的数据进行处理, 包括:
对图像、 视频类型的数据进行合并去重处理、 加密保存;
对短信、 通话记录、 私密联系人类型的数据进行解包、 合并去重处理、 打 包并加密保存。 与现有技术相比, 本发明提供的一种数据恢复的方法和系统,通过从服务 器端进行数据恢复的方式, 能解决大量数据的恢复工作, 这样能减少本地移动 终端的计算量, 减少资源消耗, 也能很好的保护重要的数据以防丟失, 方便易 用。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单的介绍。显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域内普通技术人员来说,在不 付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 在附图中: 图 1是根据本发明实施例的一种数据恢复的方法流程图;
图 2是根据本发明实施例的移动终端的显示界面的示意图;
图 3是根据本发明实施例的移动终端的数据恢复操作流程图; 以及 图 4是根据本发明实施例的移动终端的数据恢复系统框图。 具体实施方式
为了使本发明实施例的目的、技术方案和优点更加清楚明白, 下面结合附 图对本发明实施例做进一步详细说明。在此, 本发明的示意性实施例及其说明 用于解释本发明, 但并不作为对本发明的限定。
参见图 1 , 本发明实施例提供一种数据恢复的方法, 步骤如下:
步骤 S110: 接收用户选择的需要恢复的数据的数据类型;
步骤 S120:检测服务器端与数据类型相同的数据的容量 1 , 并检测移动终 端的本地存储的剩余容量 2 , 比较容量 1和容量 2, 如果容量 1超出容量 2 , 则中断恢复过程, 如果没有超出, 则执行步骤 S130;
步骤 S130: 将需要恢复的数据从服务器端下载到移动终端进行恢复, 恢 复完成后显示恢复结果。
在本实施例中, 上述数据恢复的方法优先对用户私密信息进行使用,也就 是说用户在被授权并正确登录后才能使用恢复功能。
参见图 2, 是根据本发明实施例的移动终端的显示界面的示意图。 移动终 端可以是任意设备, 包括但不限于, 手机、 平板电脑、 笔记本电脑等。 显示界 面 200上有若干选项, 210、 220、 230、 240、 250等, 这些选项所代表的数据 类型包括但不限于, 图像、 视频、 短信、 通话记录、 私密联系人。 其中, 图像 类型的文件内容包括图像文件本身以及文件名、原始路径、 时间属性、 标签属 性等; 视频类型的文件内容包括视频文件本身以及文件名、 原始路径、 时间属 性、标签属性等;短信类型的文件内容包括电话号码、短信内容、短信类型(发 送还是接受)、 发送或接收时间; 通话记录类型的文件内容包括电话号码、 类 型 (来电、 去电、 未接、 拒接以及拒接方式)、 时间、 时长; 私密联系人类型 的文件内容包括联系人姓名、 电话号码以及私密来电处理方式。
参见图 3 , 当用户需要对显示界面 200上任意选项对应的数据进行数据恢 复时, 根据本发明实施例的数据恢复操作流程如下所述:
需要说明的是,在进行数据恢复选择数据类型之前,移动终端需要进行网 络检查和联网操作, 如下所述:
步骤 310: 移动终端先检查网络状况。 移动终端优先使用 WIFI网络与服 务器端进行恢复, 如果 WIFI网络不可用, 则需要提示用户 WIFI网络不可用, 询问用户是否使用数据网络进行恢复, 如果数据网络也不可用, 则中断恢复过 程, 执行步骤 S370。
步骤 320: 移动终端与服务器端进行联网, 并同步已经备份的文件信息, 包括备份数据总大小和各个数据类型的数据大小。
步骤 330: 在显示界面 200上显示可进行数据恢复的数据类型选项, 包括 各个数据类型的大小, 用户选择需要进行数据恢复的任意数据类型。 其中, 用 户可以通过鼠标、键盘、触摸屏等方式点击数据类型选项。用户在进行选择时, 只能选择类型, 不支持选择单个图片或视频、 联系人、 短信等。
步骤 S340: 移动终端接收用户选择的需要进行数据恢复的数据类型, 并 提示用户选择恢复操作。
步骤 350: 检测服务器端与用户要恢复的数据类型相同的数据容量 1 , 并 检测移动终端的本地存储的剩余容量 2。
服务器端需要先对用户选择的需要进行数据恢复的数据进行处理, 其中, 对图像、视频类型的文件处理方法是: 同步已经备份的文件信息, 对于本地已 经存在的文件大小不再计入容量 1 , 并且不再下载, 已经存在的文件是指 File ID一样的文件; 对短信、 通话记录和对私密联系人类型的文件全部进行打包。 其中,容量 1就是从服务器端获取的用户已经备份的数据信息中所选数据类型 的大小。
步骤 360: 比较容量 1是否超出了本地存储的剩余容量 2,如果超出容量, 则中断恢复过程, 执行步骤 S380, 否则执行步骤 S370。
步骤 S370: 将需要恢复的数据从服务器端下载到移动终端进行恢复, 恢 复完成后显示恢复结果。
服务器端接收移动终端要求下载需要恢复的数据的指令,并发送需要恢复 的数据到移动终端。
本实施例中, 服务器端的数据是被加密保存的, 所以, 在数据下载之前需 要对数据进行解密操作, 其中, 短信、 通话记录和对私密联系人类型的数据解 密后成数据包。 数据下载发送过程中, 可以通过 Https协议对发送数据进行加 密。 移动终端在接收到下载数据后, 需要对数据进行处理并保存, 其中:
对图像、视频类型的文件处理方法是: 和服务器端同步已经备份的文件信 息, 对于本地已经存在的相同文件就不再恢复, 也不计入需要下载的大小。 本 实施例中,界定文件的唯一性的方式是根据文件的 MD5值和原始路径来确定, 对 MD5值相同, 其原始路径不同, 应当视为两个文件, 应当计入恢复容量, 并进行下载恢复, 移动终端对合并处理过的数据进行加密并保存到自建数据 库。
对短信、 通话记录类型的文件处理方法是: 对类型相同的数据全部下载, 移动终端进行合并和去重处理, 全部字段都一样才视为同一条记录, 对短信 和通话记录来说, 任何一个字段不同, 都是不同的记录;
对私密联系人类型的文件处理方法是: 对类型相同的数据全部下载,移动 终端进行合并和去重处理, 合并规则为:
姓名和电话号码相同, 则视为同一联系人, 不用恢复, 保留原联系人; 姓名相同、 电话号码不相同, 创建新的私密联系人 ;
姓名不相同, 电话号码相同, 覆盖同号码的原联系人。
需要说明的是,对于服务器端打包发送的短信、通话记录和私密联系人类 型的数据包,移动终端先对其进行解包成原始数据, 并同移动终端已有的同类 型数据进行合并去重处理, 之后, 移动终端对合并处理过的数据进行打包、加 密并保存到自建数据库。
在恢复过程中, 用户可以随时取消恢复过程, 比如: 通过点击取消按钮或 者点击返回键取消恢复过程。 如果已经恢复了一部分文件, 取消后, 应当显示 已经恢复数据的大小结果, 其中, 不存在一个文件的一部分恢复成功的情况, 另外, 由于短信、 通话记录、 私密联系人类型的数据恢复的时候是打包后整体 恢复, 应当把打包后的数据视为一个文件。
恢复过程中支持断点续传,如果用户取消或者由于网络原因暂时中断,应 暂停恢复过程, 如果用户选择继续, 则从刚才已经恢复的点继续恢复, 不要全 部重新开始 , 不需要支持单个文件的断点续传。
恢复过程中, 如果用户按 HOME键切换到其它应用程序, 不会中断恢复 过程, 再次回到恢复操作应当仍然显示恢复过程。
下载恢复完成后, 移动终端显示恢复结果, 只需要显示恢复的各数据类型 大小即可, 不需要显示恢复的具体文件数量。
步骤 S380: 中断恢复过程, 数据恢复操作结束。
参见图 4 , 是根据本实施例的数据恢复系统 400 的框图, 包括移动终端 400a, 服务器端 400b, 移动终端 400a包括: 显示模块 410, 用于恢复完成后 显示恢复结果; 获取模块 420, 用于接收用户选择的需要恢复的数据的数据类 型; 检测处理模块 430, 用于检测服务器端 400b与数据类型相同的数据的容 量 1 , 并检测移动终端 400a的本地存储的剩余容量 2 , 比较容量 1和容量 2, 如果容量 1超出容量 2, 则中断恢复过程, 如果没有超出, 则由下载恢复模块 440执行下载恢复操作; 下载恢复模块 440, 用于将需要恢复的数据从服务器 端 400b下载到移动终端 400a进行恢复。
服务器端 400b包括处理模块 460 , 用于接收移动终端 400a要求下载需要 恢复的数据的指令, 并发送需要恢复的数据到移动终端 400a。
其中, 对图像、 视频类型的文件, 移动终端 400a与服务器端 400b进行联 网, 获取模块 420可以从服务器端 400b获取、 同步已经备份的文件信息, 包 括备份数据总大 '〗、和各个数据类型的数据大小。 在对需要恢复的数据下载进行恢复之前, 由于服务器端 400b的数据是被 加密保存的, 所以, 处理模块 460在数据下载之前需要对数据进行解密操作, 其中, 短信、 通话记录和对私密联系人类型的数据解密后成数据包。 数据下载 发送过程中, 处理模块 460通过 Https协议对发送数据进行加密。
本实施例中,用户可以选择的数据类型包括但不限于, 图像、视频、短信、 通话记录、 私密联系人。 其中, 私密联系人包括联系人姓名、 电话号码以及私 密来电处理方式。
系统 400进一步用于恢复过程被中断后,如果用户选择继续恢复, 则从已 经恢复的点继续恢复。 在本发明的实施例中, 恢复过程中支持断点续传, 如果 用户取消或者由于网络原因暂时中断, 应暂停恢复过程, 如果用户选择继续, 则从刚才已经恢复的点继续恢复, 不要全部重新开始 , 不需要支持单个文件 的断点续传。
移动终端 400a进一步包括合并处理模块 450, 用于对下载的需要恢复的 数据进行处理。
例如, 对图像、 视频类型的文件处理方法是: 和服务器端 400b同步已经 备份的文件信息, 合并处理模块 450 对于本地已经存在的相同文件就不再恢 复, 也不计入需要下载的大小。 本实施例中, 界定文件的唯一性的方式是根据 文件的 MD5值和原始路径来确定, 对 MD5值相同, 其原始路径不同, 应当 视为两个文件, 应当计入恢复容量, 并进行下载恢复, 合并处理模块 450对合 并处理过的数据进行加密并保存到自建数据库;
对短信、通话记录类型的文件处理方法是: 合并处理模块 450进行合并和 去重处理, 全部字段都一样才视为同一条记录, 对短信和通话记录来说, 任 何一个字段不同, 都是不同的记录;
对私密联系人类型的文件处理方法是:合并处理模块 450进行合并和去重 处理, 合并规则为:
姓名和电话号码相同, 则视为同一联系人, 不用恢复, 保留原联系人; 姓名相同、 电话号码不相同, 创建新的私密联系人 ;
姓名不相同, 电话号码相同, 覆盖同号码的原联系人。
需要说明的是, 对于服务器端 400b打包发送的短信、 通话记录和私密联 系人类型的数据包,合并处理模块 450先对其进行解包成原始数据, 并同移动 终端 400a已有的同类型数据进行合并去重处理, 之后, 合并处理模块 450对 合并处理过的数据进行打包、 加密并保存到自建数据库。
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进 一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施例而已, 并不 用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种数据恢复的方法, 其特征在于, 所述方法包括:
A、 接收用户选择的需要恢复的数据的数据类型;
B、 检测服务器端与所述数据类型相同的数据的容量 1 , 并检测移动终端 的本地存储的剩余容量 2, 比较所述容量 1和所述容量 2, 如果所述容量 1超 出所述容量 2 , 则中断所述恢复过程, 如果没有超出, 则执行步骤 C;
C、 将所述需要恢复的数据从所述服务器端下载到所述移动终端进行恢 复, 恢复完成后显示恢复结果。
2、 根据权利要求 1所述的方法, 其特征在于, 所述数据类型包括: 图像、 视频、 短信、 通话记录、 私密联系人中的任意一种或者其中的任意组合, 所述 私密联系人包括联系人的姓名、 电话号码、 私密来电处理方式。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述服务器端接收所 述移动终端要求下载需要恢复的数据的指令,并发送所述需要恢复的数据到所 述移动终端。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述方法进 一步包括, 所述恢复过程被中断后, 如果用户选择继续恢复, 则从已经恢复的 点继续恢复。
5、 根据权利要求 2至 4中任一项所述的方法, 其特征在于, 所述方法进 一步包括, 所述移动终端对下载的所述需要恢复的数据进行处理, 包括:
对所述图像、 视频类型的数据进行合并去重处理、 加密保存;
对所述短信、通话记录、私密联系人类型的数据进行解包、合并去重处理、 打包并加密保存。
6、 一种数据恢复的系统, 包括显示模块, 其特征在于, 所述系统包括: 移动终端、 服务器端, 所述移动终端包括: 获取模块、 检测处理模块、 下载恢 复模块,
所述获取模块, 用于接收用户选择的需要恢复的数据的数据类型; 所述检测处理模块,用于检测服务器端与所述数据类型相同的数据的容量
1 , 并检测移动终端的本地存储的剩余容量 2, 比较所述容量 1和所述容量 2 , 如果所述容量 1超出所述容量 2 , 则中断所述恢复过程, 如果没有超出, 则由 下载恢复模块执行下载恢复操作;
所述下载恢复模块,用于将所述需要恢复的数据从所述服务器端下载到移 动终端进行恢复;
所述显示模块, 用于恢复完成后显示恢复结果。
7、 根据权利要求 6所述的系统, 其特征在于, 所述数据类型包括: 图像、 视频、 短信、 通话记录、 私密联系人中的任意一种或者其中的任意组合, 所述 私密联系人包括联系人的姓名、 电话号码、 私密来电处理方式。
8、 根据权利要求 6或 7所述的系统, 其特征在于, 所述服务器端包括处 理模块, 用于接收所述移动终端要求下载需要恢复的数据的指令, 并发送所述 需要恢复的数据到所述移动终端。
9、 根据权利要求 6至 8中任一项所述的系统, 其特征在于, 所述系统进 一步用于所述恢复过程被中断后,如果用户选择继续恢复, 则从已经恢复的点 继续恢复。
10、根据权利要求 7至 9中任一项所述的系统, 其特征在于, 所述移动终 端进一步包括合并处理模块, 用于对下载的所述需要恢复的数据进行处理, 包 括:
对所述图像、 视频类型的数据进行合并去重处理、 加密保存;
对所述短信、通话记录、私密联系人类型的数据进行解包、合并去重处理、 打包并加密保存。
PCT/CN2013/072622 2012-07-30 2013-03-14 一种数据恢复的方法和系统 WO2014019363A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/414,951 US20150161013A1 (en) 2012-07-30 2013-03-14 Data recovery method and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210268523.5A CN103577281A (zh) 2012-07-30 2012-07-30 一种数据恢复的方法和系统
CN201210268523.5 2012-07-30

Publications (1)

Publication Number Publication Date
WO2014019363A1 true WO2014019363A1 (zh) 2014-02-06

Family

ID=50027193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072622 WO2014019363A1 (zh) 2012-07-30 2013-03-14 一种数据恢复的方法和系统

Country Status (3)

Country Link
US (1) US20150161013A1 (zh)
CN (1) CN103577281A (zh)
WO (1) WO2014019363A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9904606B1 (en) 2013-06-26 2018-02-27 EMC IP Holding Company LLC Scheduled recovery in a data protection system
US10235392B1 (en) 2013-06-26 2019-03-19 EMC IP Holding Company LLC User selectable data source for data recovery
US10353783B1 (en) 2013-06-26 2019-07-16 EMC IP Holding Company LLC Pluggable recovery in a data protection system
US9641486B1 (en) 2013-06-28 2017-05-02 EMC IP Holding Company LLC Data transfer in a data protection system
CN104166720A (zh) * 2014-08-19 2014-11-26 三星电子(中国)研发中心 智能终端设备进行数据回收的方法及该智能终端设备
CN111246448B (zh) * 2020-01-07 2022-01-14 北京智芯微电子科技有限公司 用户身份标识卡缓存数据的方法及用户身份标识卡
CN112689022B (zh) * 2020-12-31 2023-01-06 上海宏力达信息技术股份有限公司 一种数据自动续传方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050117A1 (en) * 2003-08-26 2005-03-03 Jeong-Wook Seo Apparatus and method for processing a data backup service for use in a mobile terminal
CN1909557A (zh) * 2005-08-02 2007-02-07 中国移动通信集团公司 音乐下载的处理方法
CN101557380A (zh) * 2008-04-10 2009-10-14 华为技术有限公司 数据同步方法、客户端以及服务器
CN101819507A (zh) * 2006-01-11 2010-09-01 富士通株式会社 信息处理装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336393B2 (en) * 2003-08-23 2016-05-10 Softex Incorporated System and method for protecting files stored on an electronic device
KR100679413B1 (ko) * 2006-05-17 2007-02-07 삼성전자주식회사 이동 통신 단말기의 선택적 데이터 복구 방법 및 장치
US8041372B1 (en) * 2007-11-26 2011-10-18 Adobe Systems Incorporated Selecting data in a mobile information system
KR20120041384A (ko) * 2010-10-21 2012-05-02 삼성전자주식회사 모바일 디바이스의 펌웨어 업데이트 방법 및 장치
US8868882B2 (en) * 2011-06-08 2014-10-21 Microsoft Corporation Storage architecture for backup application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050117A1 (en) * 2003-08-26 2005-03-03 Jeong-Wook Seo Apparatus and method for processing a data backup service for use in a mobile terminal
CN1909557A (zh) * 2005-08-02 2007-02-07 中国移动通信集团公司 音乐下载的处理方法
CN101819507A (zh) * 2006-01-11 2010-09-01 富士通株式会社 信息处理装置
CN101557380A (zh) * 2008-04-10 2009-10-14 华为技术有限公司 数据同步方法、客户端以及服务器

Also Published As

Publication number Publication date
US20150161013A1 (en) 2015-06-11
CN103577281A (zh) 2014-02-12

Similar Documents

Publication Publication Date Title
WO2014019363A1 (zh) 一种数据恢复的方法和系统
WO2014019362A1 (zh) 一种数据备份的方法和系统
US11206451B2 (en) Information interception processing method, terminal, and computer storage medium
US20230045087A1 (en) Method for Remedying a Security Breach on a Mobile Device
US11570158B2 (en) Efficient use of keystreams
WO2014201940A1 (zh) 拍照方法、装置和存储介质
CN109450777B (zh) 会话信息提取方法、装置、设备和介质
WO2012065381A1 (zh) 一种防止恶意软件发送数据的方法及装置
WO2014206089A1 (zh) 同步终端镜像的方法、装置、终端及服务器
US20190155697A1 (en) Data backup method and terminal
WO2015157984A1 (zh) 一种信息提醒的方法、装置及电子终端
CN104065681B (zh) 对附件中的加密压缩包进行预览的方法和系统
WO2016045548A1 (zh) 一种数据同步方法及装置
US20170374044A1 (en) Messenger application systems and methods
WO2016044476A1 (en) Instance backed mobile devices
WO2014048250A1 (en) Termininal interaction methods and related devices and systems
WO2014086222A1 (zh) 设置视频通话参数、和发送能力参数的方法及装置
CN111818469B (zh) 呼叫方法、呼叫装置、电子设备和网络设备
CN110855833A (zh) 终端找回方法、装置、终端及存储介质
WO2016141797A1 (zh) 信息处理方法及装置、计算机可读介质
WO2012028048A1 (zh) 一种基于滑动检测的数据传输方法及装置
CN116192927A (zh) 基于SaaS服务的数据传输方法、装置、计算机设备和介质
CN102769663A (zh) 一种传递信息的服务器及方法、信息传递系统
WO2015172440A1 (zh) 一种漏话提醒方法及系统
CN110912974A (zh) 资源处理方法、装置、电子设备及计算机可读取存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13825080

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14414951

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13825080

Country of ref document: EP

Kind code of ref document: A1