CN105893185A - Data backup method and device - Google Patents
Data backup method and device Download PDFInfo
- Publication number
- CN105893185A CN105893185A CN201610197148.8A CN201610197148A CN105893185A CN 105893185 A CN105893185 A CN 105893185A CN 201610197148 A CN201610197148 A CN 201610197148A CN 105893185 A CN105893185 A CN 105893185A
- Authority
- CN
- China
- Prior art keywords
- data
- terminal
- acceleration
- backup
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1461—Backup scheduling policy
-
- 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
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例公开了一种数据备份方法和装置;该数据备份方法采用接收加速度获取指令,根据该加速度获取指令获取终端当前的加速度,然后根据加速度确定终端当前是否处于跌落状态,若确定终端当前处于跌落状态,则对终端的数据进行备份;该方案通过终端的加速度来判断终端的状态,并且在终端为跌落状态时自动对终端上的数据进行备份,相对于现有技术而言,能有效防止终端跌落后造成用户数据的丢失。
The embodiment of the present invention discloses a data backup method and device; the data backup method adopts receiving an acceleration acquisition instruction, obtains the current acceleration of a terminal according to the acceleration acquisition instruction, and then determines whether the terminal is currently in a falling state according to the acceleration, and if it is determined that the terminal is currently in a falling state, the data of the terminal is backed up; the scheme judges the state of the terminal according to the acceleration of the terminal, and automatically backs up the data on the terminal when the terminal is in a falling state. Compared with the prior art, it can effectively prevent the loss of user data caused by the terminal falling.
Description
技术领域technical field
本发明涉及终端技术领域,具体涉及一种数据备份方法和装置。The present invention relates to the technical field of terminals, in particular to a data backup method and device.
背景技术Background technique
随着终端设备的快速发展,手机、平板电脑等终端设备得到广泛应用。用户可以应用这些终端设备进行通信、娱乐等多种活动。With the rapid development of terminal devices, terminal devices such as mobile phones and tablet computers are widely used. Users can use these terminal devices to carry out various activities such as communication and entertainment.
目前,生产商为了迎合消费者的需求,越来越强调人机交互界面带来的视觉冲击,如将手机的屏幕做得越来越大、触摸屏和显示屏贴合越来越紧、边框越来越窄、屏幕占比越来越大等。随着移动终端这些性能的提升,价格变得越来越高的同时,在撞击力作用下也变的越来越脆弱,移动终端针对防摔的相关保护变得越来越重要。At present, in order to meet the needs of consumers, manufacturers are increasingly emphasizing the visual impact brought by the human-computer interaction interface, such as making the screen of the mobile phone larger and larger, the touch screen and the display screen getting tighter and tighter, and the borders getting tighter. narrower and larger screen-to-body ratios. With the improvement of these performances of the mobile terminal, the price becomes higher and higher, and at the same time, it becomes more and more fragile under the action of impact force, and the relevant protection of the mobile terminal against falling is becoming more and more important.
移动终端是人们使用得很普遍的终端设备,随时都携带在身上,但由于不小心或使用不慎,终端经常面临着跌落的危险,终端跌落之后可能造成某些硬件的损坏,硬件往往影响着终端中的程序和数据,而这些程序和数据损坏后是无法恢复的,因此终端跌落后会导致数据的丢失。The mobile terminal is a terminal device that is widely used by people. It is always carried on the body. However, due to carelessness or careless use, the terminal is often in danger of falling. After the terminal falls, some hardware may be damaged. The hardware often affects the Programs and data in the terminal, and these programs and data cannot be recovered after being damaged, so the data will be lost after the terminal falls.
发明内容Contents of the invention
本发明实施例提供一种数据备份方法和装置,可以解决终端跌落后会导致数据丢失的技术问题。Embodiments of the present invention provide a data backup method and device, which can solve the technical problem of data loss after a terminal falls.
本发明实施例提供一种数据备份方法,包括:An embodiment of the present invention provides a data backup method, including:
接收加速度获取指令;Receive acceleration acquisition instructions;
根据所述加速度获取指令获取终端当前的加速度;Acquiring the current acceleration of the terminal according to the acceleration acquisition instruction;
根据所述加速度确定所述终端当前是否处于跌落状态;determining whether the terminal is currently in a falling state according to the acceleration;
若确定所述终端当前处于跌落状态,则对所述终端的数据进行备份。If it is determined that the terminal is currently in a dropped state, backing up the data of the terminal.
进一步的,所述对所述终端的数据进行备份的步骤具体包括:Further, the step of backing up the data of the terminal specifically includes:
接收数据获取指令,所述数据获取指令指示需要备份的目标数据以及所述目标数据所在的数据存储区域;receiving a data acquisition instruction, the data acquisition instruction indicating the target data to be backed up and the data storage area where the target data is located;
根据所述数据获取指令从所述数据存储区域中获取所述目标数据;Acquiring the target data from the data storage area according to the data acquisition instruction;
对所述目标数据进行备份。Back up the target data.
进一步的,所述对所述目标数据进行备份的步骤具体包括:Further, the step of backing up the target data specifically includes:
接收数据备份指令,所述数据备份指令指示备份区域;receiving a data backup instruction, the data backup instruction indicating a backup area;
根据所述数据备份指令将所述目标数据存储至所述备份区域。storing the target data in the backup area according to the data backup instruction.
进一步的,所述对所述目标数据进行备份的步骤具体包括:Further, the step of backing up the target data specifically includes:
向备份服务器发送备份请求,所述备份请求携带所述目标数据,以使得所述服务器根据所述备份请求对所述目标数据进行备份。Sending a backup request to a backup server, where the backup request carries the target data, so that the server backs up the target data according to the backup request.
进一步的,在确定所述终端当前处于跌落状态之后,对所述终端的数据进行备份之前,所述方法还包括:Further, after it is determined that the terminal is currently in a falling state, before backing up the data of the terminal, the method further includes:
获取所述终端处于跌落状态的持续时长;Obtain the duration of the terminal being in the falling state;
判断所述持续时长是否大于预设时长;judging whether the duration is greater than a preset duration;
若是,则执行对所述终端的数据进行备份的步骤。If yes, execute the step of backing up the data of the terminal.
进一步的,所述根据所述加速度确定所述终端当前是否处于跌落状态的步骤具体包括:Further, the step of determining whether the terminal is currently in a falling state according to the acceleration specifically includes:
判断所述加速度是否大于或等于重力加速度;judging whether the acceleration is greater than or equal to the acceleration of gravity;
若是,则确定所述终端当前状态为跌落状态;If so, then determine that the current state of the terminal is a falling state;
若否,则确定所述终端当前状态不为跌落状态。If not, it is determined that the current state of the terminal is not a falling state.
本发明实施例还提供了一种数据备份装置,包括:接收模块、第一获取模块、确定模块和备份模块;The embodiment of the present invention also provides a data backup device, including: a receiving module, a first acquiring module, a determining module and a backup module;
所述接收模块,用于接收加速度获取指令;The receiving module is configured to receive an acceleration acquisition instruction;
所述第一获取模块,用于根据所述加速度获取指令获取终端当前的加速度;The first acquisition module is configured to acquire the current acceleration of the terminal according to the acceleration acquisition instruction;
所述确定模块,用于根据所述加速度确定所述终端当前是否处于跌落状态;The determining module is configured to determine whether the terminal is currently in a falling state according to the acceleration;
所述备份模块,用于当所述确定模块确定为是时,对所述终端的数据进行备份。The backup module is configured to back up the data of the terminal when the determination module determines yes.
进一步的,所述备份模块具体包括:接收子模块、获取子模块和备份子模块;Further, the backup module specifically includes: a receiving submodule, an acquisition submodule and a backup submodule;
所述接收子模块,用于接收数据获取指令,所述数据获取指令指示需要备份的目标数据以及所述目标数据所在的数据存储区域;The receiving submodule is configured to receive a data acquisition instruction, the data acquisition instruction indicates the target data to be backed up and the data storage area where the target data is located;
所述获取子模块,用于根据所述数据获取指令从所述数据存储区域中获取所述目标数据;The acquisition submodule is configured to acquire the target data from the data storage area according to the data acquisition instruction;
所述备份子模块,用于对所述目标数据进行备份。The backup submodule is used to back up the target data.
进一步的,所述装置还包括:第二获取模块和判断模块;Further, the device further includes: a second acquiring module and a judging module;
所述第二获取模块,用于在所述确定模块确定所述终端当前处于跌落状态之后,所述备份模块对所述终端的数据进行备份之前,获取所述终端处于跌落状态的持续时长;The second obtaining module is configured to obtain the duration of the terminal being in the falling state after the determining module determines that the terminal is currently in the falling state and before the backup module backs up the data of the terminal;
所述判断模块,用于判断所述持续时长是否大于预设时长;The judging module is used to judge whether the duration is greater than a preset duration;
所述备份模块,具体用于当所述判断模块判断为是时,对所述终端的数据进行备份。The backup module is specifically configured to back up the data of the terminal when the judging module judges yes.
进一步的,所述确定模块具体包括:判断子模块和确定子模块;Further, the determining module specifically includes: a judging submodule and a determining submodule;
所述判断子模块,用于判断所述加速度是否大于或等于重力加速度;The judging submodule is used to judge whether the acceleration is greater than or equal to the acceleration of gravity;
所述确定子模块,用于当所述判断子模块判断为是时,确定所述终端当前状态为跌落状态;当所述判断子模块判断为否时,确定所述终端当前状态不为跌落状态。The determining submodule is used to determine that the current state of the terminal is a falling state when the judgment submodule judges yes; and determine that the current state of the terminal is not a falling state when the judgment submodule judges no .
本发明实施例首先接收加速度获取指令,根据该加速度获取指令获取终端当前的加速度,然后根据加速度确定终端当前是否处于跌落状态,若确定终端当前处于跌落状态,则对终端的数据进行备份;该方案通过终端的加速度来判断终端的状态,并且在终端为跌落状态时自动对终端上的数据进行备份,相对于现有技术而言,能够有效防止终端跌落后造成用户数据的丢失。The embodiment of the present invention first receives an acceleration acquisition instruction, obtains the current acceleration of the terminal according to the acceleration acquisition instruction, and then determines whether the terminal is currently in a falling state according to the acceleration, and if it is determined that the terminal is currently in a falling state, back up the data of the terminal; the solution The state of the terminal is judged by the acceleration of the terminal, and the data on the terminal is automatically backed up when the terminal is in a falling state. Compared with the prior art, it can effectively prevent the loss of user data after the terminal falls.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明实施例一提供的一种数据备份方法的流程示意图;FIG. 1 is a schematic flow chart of a data backup method provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种数据备份方法的流程示意图;FIG. 2 is a schematic flowchart of a data backup method provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种数据备份装置的结构示意图;FIG. 3 is a schematic structural diagram of a data backup device provided in Embodiment 3 of the present invention;
图4为本发明实施例三提供的第二种数据备份装置的结构示意图;4 is a schematic structural diagram of a second data backup device provided by Embodiment 3 of the present invention;
图5为本发明实施例三提供的第三种数据备份装置的结构示意图。FIG. 5 is a schematic structural diagram of a third data backup device provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种数据备份方法和装置。以下将分别进行详细说明。Embodiments of the present invention provide a data backup method and device. The details will be described respectively below.
实施例一、Embodiment one,
本实施例将从数据备份装置的角度进行描述,该数据备份装置具体可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)、智能穿戴设备(如智能手表)等各类电子设备。This embodiment will be described from the perspective of a data backup device. Specifically, the data backup device can be integrated into a terminal. The terminal can be a mobile Internet device (such as a smart phone, a tablet computer), a smart wearable device (such as a smart watch) electronic equipment.
请参阅图1,图1为本发明实施例一提供的数据备份方法的流程示意图,本实施例的数据备份方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flow chart of a data backup method provided by Embodiment 1 of the present invention. The data backup method of this embodiment includes:
步骤S101,接收加速度获取指令。Step S101, receiving an acceleration acquisition instruction.
在本发明实施例中,该加速度获取指令的生成方式可以有多种,比如可以通过终端系统自动生成,或者可以通过用户操作来生成指令等,其中,以终端系统自动生成该指令为优选实施例。In the embodiment of the present invention, there are many ways to generate the acceleration acquisition instruction, for example, it can be automatically generated by the terminal system, or the instruction can be generated through user operation, etc., wherein the automatic generation of the instruction by the terminal system is a preferred embodiment .
可选的,步骤“接收加速度获取指令”的具体流程可以包括:每隔预设时间段生成一个加速度获取指令,该指令用于获取当前终端的加速度,比如,可以设置一个定时器,设置定时器每隔2s生成加速度获取指令,其中,该时间间隔可以根据实际需求进行设定,比如,可以设定等时间间隔为0.01s、0.02s等等。为了可以节省终端电量,可以将该时间间隔设定为更大的值,比如1s、2s等等,本发明对此不作具体限定。Optionally, the specific process of the step "receiving an acceleration acquisition instruction" may include: generating an acceleration acquisition instruction every preset time period, which is used to obtain the acceleration of the current terminal. For example, a timer can be set, and the timer can be set The acceleration acquisition instruction is generated every 2s, wherein the time interval can be set according to actual needs, for example, the equal time interval can be set to 0.01s, 0.02s and so on. In order to save terminal power, the time interval can be set to a larger value, such as 1s, 2s, etc., which is not specifically limited in the present invention.
步骤S102,根据该加速度获取指令获取终端当前的加速度。Step S102, acquiring the current acceleration of the terminal according to the acceleration acquiring instruction.
在本发明实施例中,获取终端当前的加速度的方式可以有多种,比如可以通过在终端内设置加速度传感器来获取该加速度数值。In the embodiment of the present invention, there may be multiple ways to obtain the current acceleration of the terminal, for example, the acceleration value may be obtained by setting an acceleration sensor in the terminal.
其中,加速度传感器的位置可以根据实际情况而设置,例如:可以放置于终端的重心处、也可以放置于终端的边缘处。进一步地,加速度传感器的数量也可以根据实际情况而定,即设置多个加速度传感器均匀地分布于终端内,以获得更准确的加速度数值。Wherein, the position of the acceleration sensor can be set according to the actual situation, for example, it can be placed at the center of gravity of the terminal, or at the edge of the terminal. Further, the number of acceleration sensors may also be determined according to actual conditions, that is, a plurality of acceleration sensors are evenly distributed in the terminal to obtain more accurate acceleration values.
步骤S103,根据上述加速度确定终端当前是否处于跌落状态,若是,则执行步骤S104,若否,则返回步骤S101。Step S103, determine whether the terminal is currently in a falling state according to the above acceleration, if yes, execute step S104, if not, return to step S101.
其中,本发明实施例中的加速度指的是终端处于失重状态下的加速度,以区分终端跟随用户运动而误判断为终端跌落的情况(例如:用户携带终端坐电梯,跑步时加减速等)。因此,在终端获取到当前的加速度之后,步骤“根据上述加速度确定终端当前是否处于跌落状态”可以具体包括:Wherein, the acceleration in the embodiment of the present invention refers to the acceleration of the terminal in a weightless state, so as to distinguish the situation where the terminal follows the user's movement and is misjudged as the terminal falling (for example: the user carries the terminal on the elevator, accelerates and decelerates while running, etc.). Therefore, after the terminal obtains the current acceleration, the step of "determining whether the terminal is currently in a falling state according to the above acceleration" may specifically include:
判断当前加速度方向是否为向下,若是,则判断终端当前是否处于跌落状态,若否,则返回步骤S101,继续接收加速度获取指令Determine whether the current acceleration direction is downward, if so, determine whether the terminal is currently in a falling state, if not, return to step S101, and continue to receive acceleration acquisition instructions
具体地,若当前加速度方向是向下时,可以预先设置加速度阈值,根据上述加速度与该加速度阈值的比较判断终端当前是否处于跌落状态,也即“判断终端当前是否处于跌落状态”的步骤可以具体包括:Specifically, if the current acceleration direction is downward, the acceleration threshold can be set in advance, and it is judged whether the terminal is currently in a falling state according to the comparison between the above acceleration and the acceleration threshold, that is, the step of "judging whether the terminal is currently in a falling state" can be specified include:
判断该终端的当前加速度是否大于或等于加速度阈值;Judging whether the current acceleration of the terminal is greater than or equal to the acceleration threshold;
若是,则确定终端处于跌落状态。If yes, it is determined that the terminal is in a falling state.
例如,预先设置加速度阈值a,以作为参考值与获取到的向下加速度信息b进行比较,当b≥a时,则判定上述向下加速度信息满足上述预设的加速度阈值,确定终端为跌落状态;当b<a时,则判定上述向下加速度信息不满足上述预设的加速度阈值,确定终端不为跌落状态。For example, the acceleration threshold a is preset as a reference value for comparison with the acquired downward acceleration information b, and when b≥a, it is determined that the downward acceleration information satisfies the preset acceleration threshold and the terminal is determined to be in a falling state ; When b<a, it is determined that the above-mentioned downward acceleration information does not meet the above-mentioned preset acceleration threshold, and it is determined that the terminal is not in a falling state.
在本发明实施例中,判断终端是否处于跌落状态需要通过加速度与加速度阈值进行对比,然而考虑到实际应用中并不需要把每次获取到的加速度都与加速度阈值进行对比,比如当终端在某一段时间内处于稳定状态时(比如放在桌子上),当前加速度并不会发生变化,在此种情况下,终端就不需要将当前加速度与加速度阈值进行对比,因此在本实施例中,在判断该终端的当前加速度是否大于或等于加速度阈值的步骤之前,该方法还可以包括:In the embodiment of the present invention, it is necessary to compare the acceleration with the acceleration threshold to determine whether the terminal is in a falling state. However, considering that in practical applications, it is not necessary to When it is in a stable state for a period of time (such as being placed on a table), the current acceleration will not change. In this case, the terminal does not need to compare the current acceleration with the acceleration threshold. Therefore, in this embodiment, in Before the step of judging whether the current acceleration of the terminal is greater than or equal to the acceleration threshold, the method may further include:
获取上一次检测到的终端的加速度,并将上一次检测到的终端的加速度作为历史加速度;Obtain the acceleration of the terminal detected last time, and use the acceleration of the terminal detected last time as the historical acceleration;
根据当前加速度及历史加速度确定终端的当前状态是否发生改变,若是,则判断该终端的当前加速度是否大于或等于加速度阈值。Determine whether the current state of the terminal changes according to the current acceleration and historical acceleration, and if so, determine whether the current acceleration of the terminal is greater than or equal to an acceleration threshold.
其中,上述根据当前加速度及历史加速度确定终端的当前状态是否发生改变的步骤可以具体包括:Wherein, the above-mentioned step of determining whether the current state of the terminal changes according to the current acceleration and the historical acceleration may specifically include:
判断当前加速度与上述历史加速度是否相同;Determine whether the current acceleration is the same as the above-mentioned historical acceleration;
若是,则确定终端的当前状态发生改变;若否,则确定终端的当前状态未发生改变。If yes, it is determined that the current state of the terminal has changed; if not, it is determined that the current state of the terminal has not changed.
步骤S104,对终端中的数据进行备份。Step S104, backing up the data in the terminal.
具体的,当确定终端当前为跌落状态时,步骤“对终端中的数据进行备份”的具体流程可以包括:获取终端中需要备份的目标数据,其中,该目标数据可以为用户根据实际需求自行设定的数据信息,比如,将手机中重要的联系人信息、通话记录、聊天记录、照片、安装的应用程序信息等等设置为目标数据,然后对上述目标数据进行备份,也即,步骤“对终端中的数据进行备份”可以具体包括:Specifically, when it is determined that the terminal is currently in a dropped state, the specific process of the step "backing up the data in the terminal" may include: obtaining target data that needs to be backed up in the terminal, wherein the target data can be set by the user according to actual needs For example, set important contact information, call records, chat records, photos, installed application program information, etc. in the mobile phone as target data, and then back up the above target data. "Backup the data in the terminal" may specifically include:
获取终端中需要备份的目标数据;Obtain the target data that needs to be backed up in the terminal;
对上述目标数据进行备份。Back up the above target data.
进一步的,在对目标数据进行备份之前,可以先确定用于存储该目标数据的存储装置,其中,该存储装置可以为与终端对应的云端(如终端用户申请的360云盘、百度云盘等服务器提供的网络虚拟存储)、可移动数据卡(如常规的SD卡、TF卡等数据存储卡,或者如SIM卡等具备一定数据存储能力的用户识别卡)、终端内置存储(如终端内存)等等。Further, before backing up the target data, the storage device for storing the target data can be determined first, wherein the storage device can be a cloud corresponding to the terminal (such as 360 cloud disk, Baidu cloud disk, etc. Network virtual storage provided by the server), removable data card (such as conventional SD card, TF card and other data storage cards, or SIM card and other user identification cards with certain data storage capabilities), terminal built-in storage (such as terminal memory) etc.
优选地,考虑到终端系统需要实时为加速度传感器供电而带来额外功耗,所以本发明还可以采用在终端的系统设置中集成一个开关,可以由用户控制终端数据备份功能的开启和关闭。Preferably, considering that the terminal system needs to supply power to the acceleration sensor in real time and bring additional power consumption, the present invention can also integrate a switch in the system settings of the terminal, which can be controlled by the user to turn on and off the data backup function of the terminal.
由上可知,本发明实施例采用接收加速度获取指令,根据该加速度获取指令获取终端当前的加速度,然后根据加速度确定终端当前是否处于跌落状态,若确定终端当前处于跌落状态,则对终端的数据进行备份;该方案通过终端的加速度来判断终端的状态,并且在终端为跌落状态时自动对终端上的数据进行备份,相对于现有技术而言,能有效防止终端跌落后造成用户数据的丢失,使得终端数据能够及时被保护,并且终端数据备份过程简单,无需用户操作,智能化程度较高。It can be seen from the above that the embodiment of the present invention adopts the method of receiving an acceleration acquisition instruction, and obtains the current acceleration of the terminal according to the acceleration acquisition instruction, and then determines whether the terminal is currently in a falling state according to the acceleration, and if it is determined that the terminal is currently in a falling state, the data of the terminal Backup: This solution judges the state of the terminal through the acceleration of the terminal, and automatically backs up the data on the terminal when the terminal is in a falling state. Compared with the existing technology, it can effectively prevent the loss of user data after the terminal falls. The terminal data can be protected in time, and the terminal data backup process is simple, no user operation is required, and the degree of intelligence is high.
实施例二、Embodiment two,
本实施例将在实施例一的基础上,对本发明的数据备份方法作进一步介绍,请参考图2,包括:This embodiment will further introduce the data backup method of the present invention on the basis of Embodiment 1, please refer to Figure 2, including:
步骤S201,终端接收加速度获取指令。Step S201, the terminal receives an acceleration acquisition instruction.
在本发明实施例中,每隔一段预设时间生成一个加速度获取指令,该预设时间可以由终端系统设置,也可以由用户根据实际需求自行设定,比如,在用户的智能手机中,每隔0.5s生成一个加速度获取指令,该指令用于调用加速度传感器中的数据。In the embodiment of the present invention, an acceleration acquisition command is generated every preset time, which can be set by the terminal system, or can be set by the user according to actual needs. For example, in the user's smart phone, every Generate an acceleration acquisition instruction every 0.5s, which is used to call the data in the acceleration sensor.
步骤S202,终端根据该加速度获取指令获取当前的加速度。In step S202, the terminal obtains the current acceleration according to the acceleration obtaining instruction.
比如,在接收到加速度获取请求之后,向终端的加速度传感器发送获取加速度的指令,根据该指令在加速度传感器对应的数据存储区域中获取当前的加速度。For example, after receiving the acceleration acquisition request, an instruction to acquire acceleration is sent to the acceleration sensor of the terminal, and the current acceleration is acquired in the data storage area corresponding to the acceleration sensor according to the instruction.
步骤S203,终端判断上述加速度是否大于或等于重力加速度,若是,则执行步骤S204,若否,则返回步骤S201。In step S203, the terminal judges whether the above-mentioned acceleration is greater than or equal to the acceleration of gravity, if yes, execute step S204, and if not, return to step S201.
在实际应用中,重力加速度g通常指地面附近物体受地球引力作用在真空中下落的加速度,为了便于计算,其近似标准值通常取为980cm/s2或9.8m/s2,但是考虑到重力加速度会根据海拔高度、维度、空气密度等客观因素而发生改变,因此只设置一个固定的值可能使终端判断错误,比如在海拔较高的地方,当地的重力加速度会比9.8m/s2稍微偏小,因此,可以设置一个范围(例如9.7m/s2—9.9m/s2),判断当前加速度的值是否在该范围当中,若是,则确定终端当前处于跌落状态,若否,则确定终端当前不处于跌落状态,并返回步骤S201继续接收加速度获取指令。In practical applications, the gravitational acceleration g usually refers to the acceleration of an object near the ground falling in a vacuum under the gravitational force of the earth. For the convenience of calculation, its approximate standard value is usually taken as 980cm/s 2 or 9.8m/s 2 , but considering the gravity The acceleration will change according to objective factors such as altitude, latitude, and air density, so setting only a fixed value may cause the terminal to make wrong judgments. For example, in places with higher altitudes, the local gravity acceleration will be slightly higher than 9.8m/s 2 It is too small, so you can set a range (for example, 9.7m/s 2 —9.9m/s 2 ), and judge whether the current acceleration value is within the range. If so, then determine that the terminal is currently in a falling state; if not, then determine The terminal is not currently in a falling state, and returns to step S201 to continue receiving acceleration acquisition instructions.
步骤S204,终端获取处于跌落状态的持续时长。In step S204, the terminal acquires the duration of the falling state.
在本发明实施例中,考虑到终端若从较低处跌落时,或者用户拿起终端进行上下晃动(比如用微信的“摇一摇”)时,终端并不会有实质性的损坏故而也不需要对用户数据进行备份,故而为了提高判定终端为跌落状态的准确性,可以根据终端处于跌落状态的持续时长做进一步判断。In the embodiment of the present invention, considering that if the terminal falls from a lower place, or when the user picks up the terminal and shakes it up and down (such as using WeChat's "shake"), the terminal will not be substantially damaged, so There is no need to back up the user data, so in order to improve the accuracy of judging that the terminal is in the dropped state, further judgment can be made according to the duration of the terminal in the dropped state.
其中,获取终端处于跌落状态的持续时长的方法可以有多种,比如,可以设置一个计时器,当判定终端当前的加速度大于或等于重力加速度开启该计时器,直到终端当前加速度小于重力加速度时为止,其中,实时获取该计时器上的时长即为终端当前处于跌落状态的持续时长。Among them, there are many ways to obtain the duration of the terminal being in the falling state. For example, a timer can be set. When it is determined that the current acceleration of the terminal is greater than or equal to the acceleration of gravity, the timer is started until the current acceleration of the terminal is less than the acceleration of gravity. , wherein, the real-time acquisition of the duration of the timer is the duration of the current falling state of the terminal.
步骤S205,终端判断上述持续时长是否大于预设时长,若是,则执行步骤S206,若否,则返回步骤S201。In step S205, the terminal judges whether the above duration is greater than the preset duration, if yes, execute step S206, if not, return to step S201.
比如,本实施例可以设定一个时间阈值t,相应地,在判定上述终端当前的加速度大于或等于重力加速度时,进一步判断终端处于跌落状态的持续时长t1是否满足时间阈值t,当t1≥t时,则判定终端处于跌落状态的持续时长满足预设时长,执行下一步骤;当t1<t时,则判定终端处于跌落状态的持续时长不满足预设时长,则返回步骤S201继续接收加速度获取指令。For example, this embodiment can set a time threshold t. Correspondingly, when it is determined that the current acceleration of the terminal is greater than or equal to the acceleration of gravity, it is further judged whether the duration t1 of the terminal in the falling state satisfies the time threshold t. When t1≥t When t1<t, it is determined that the duration of the terminal being in the falling state does not meet the preset duration, and then returns to step S201 to continue receiving acceleration acquisition instruction.
步骤S206,终端接收数据获取指令。Step S206, the terminal receives a data acquisition instruction.
在本发明实施例中,该数据获取指令指示需要备份的目标数据以及该目标数据所在的数据存储区域,其中,该目标数据可以为用户根据实际需求自行设定的数据信息,比如,将手机中重要的联系人信息、通话记录、聊天记录、照片、安装的应用程序信息等等设置为目标数据,该数据存储区域即为存储该目标数据的装置,比如手机的rom(Read-Only Memory,只读内存)。In the embodiment of the present invention, the data acquisition instruction indicates the target data to be backed up and the data storage area where the target data is located, wherein the target data can be data information set by the user according to actual needs, for example, the Important contact information, call records, chat records, photos, installed application program information, etc. are set as target data, and the data storage area is the device that stores the target data, such as the rom of the mobile phone (Read-Only Memory, only read memory).
步骤S207,终端根据上述数据获取指令从数据存储区域中获取目标数据。Step S207, the terminal acquires the target data from the data storage area according to the above data acquisition instruction.
可选的,可以预先在终端中设置数据备份模板,用户可以通过该数据备份模板选择需要自动备份的数据,当数据备份装置判定移动终端当前满足预设的数据备份条件时,数据备份装置根据该数据备份模板自动从数据存储区域中获取该移动终端上需要备份的目标数据。Optionally, a data backup template can be pre-set in the terminal, through which the user can select the data that needs to be automatically backed up. When the data backup device determines that the mobile terminal currently satisfies the preset data backup conditions, the data backup device will The data backup template automatically obtains the target data to be backed up on the mobile terminal from the data storage area.
步骤S208,终端对上述目标数据进行备份。Step S208, the terminal backs up the above target data.
具体的,步骤“对目标数据进行备份”的流程可以具体包括:接收数据备份指令,其中,该数据备份指令指示用于存储该目标数据的备份区域,比如终端的内置存储器(如终端内存)、可移动数据卡(如常规的SD卡、TF卡等数据存储卡,或者如SIM卡、3G卡等具备一定数据存储能力的用户识别卡)等,也即步骤“对目标数据进行备份”可以具体包括:Specifically, the process of the step "backing up the target data" may specifically include: receiving a data backup instruction, wherein the data backup instruction indicates a backup area for storing the target data, such as a built-in memory of the terminal (such as a terminal memory), Removable data cards (such as conventional SD cards, TF cards and other data storage cards, or subscriber identification cards with certain data storage capabilities such as SIM cards and 3G cards), etc., that is, the step "backup the target data" can be specified include:
接收数据备份指令,数据备份指令指示备份区域;Receive a data backup instruction, and the data backup instruction indicates the backup area;
根据数据备份指令将目标数据存储至备份区域。The target data is stored in the backup area according to the data backup instruction.
在实际应用中,考虑到终端可能由于跌落导致硬件的损坏,比如终端的存储器、可移动数据卡等都可能造成损坏,从而导致备份数据无法恢复,给用户带来不便,因此,本实施例还可以在上述备份方法的基础上,将需要备份的目标数据在服务器上进行备份,也即,步骤“对目标数据进行备份”可以具体包括:In practical applications, considering that the terminal may cause hardware damage due to falling, such as terminal memory, removable data card, etc. may cause damage, resulting in backup data that cannot be restored and causing inconvenience to users. Therefore, this embodiment also On the basis of the above backup method, the target data that needs to be backed up can be backed up on the server, that is, the step "backing up the target data" can specifically include:
向备份服务器发送备份请求,备份请求携带目标数据,以使得服务器根据备份请求对目标数据进行备份。A backup request is sent to the backup server, where the backup request carries target data, so that the server backs up the target data according to the backup request.
在本发明实施例中,可以预先在服务器上建立文件夹,比如获取终端的标识信息,根据该标识信息在服务器上建立文件夹,在需要备份时,将目标数据存储至该文件夹当中,本实施例中的终端与服务器可以通过有线或无线方式进行连接,此处不做限定。In the embodiment of the present invention, a folder can be established on the server in advance, such as obtaining the identification information of the terminal, establishing a folder on the server according to the identification information, and storing the target data in the folder when backup is required. The terminal and the server in the embodiment may be connected in a wired or wireless manner, which is not limited here.
考虑到在紧急情况或突发情况下,由于时间比较短暂,在此过程中可上传至服务器的待备份数据的数据量是有限的,因此,可以将待备份数据进行优先级排序,该优先级可以根据实际情况由用户进行设定,比如将手机中的联系人信息设为第一优先级、照片为第二优先级、应用程序安装列表为第三优先级等,然后在备份时根据该优先级排序结果进行备份,即步骤“服务器根据备份请求对目标数据进行备份”可以包括:Considering that in an emergency or sudden situation, due to the short time, the amount of data to be backed up that can be uploaded to the server during this process is limited. Therefore, the data to be backed up can be prioritized. The priority It can be set by the user according to the actual situation, such as setting the contact information in the mobile phone as the first priority, photos as the second priority, and the application installation list as the third priority, etc., and then according to the priority when backing up The result of the level sorting is backed up, that is, the step "the server backs up the target data according to the backup request" may include:
将上述目标数据进行优先级排序,以得到排序结果;Prioritize the above target data to obtain the sorting results;
根据该排序结果以及备份请求对目标数据进行备份。The target data is backed up according to the sorting result and the backup request.
由上可知,本发明实施例采用接收加速度获取指令,根据该加速度获取指令获取终端当前的加速度,然后根据加速度确定终端当前是否处于跌落状态,若确定终端当前处于跌落状态并且处于跌落状态的持续时长大于预设时长,则接收数据获取指令并根据该指令从数据存储区域中获取目标数据,然后对该目标数据进行备份;该方案通过终端的加速度来判断终端的状态,并且在终端为跌落状态时自动对终端上的数据进行备份,相对于现有技术而言,能有效防止终端跌落后造成用户数据的丢失,并且在终端和服务器中同时进行备份,使得终端数据能够及时被保护并且进一步提高了用户数据的安全性,另一方面,该终端数据备份的实施过程简单,无需用户操作,智能化程度较高,给用户带来较好的用户体验。It can be seen from the above that the embodiment of the present invention adopts the method of receiving an acceleration acquisition instruction, obtains the current acceleration of the terminal according to the acceleration acquisition instruction, and then determines whether the terminal is currently in a falling state according to the acceleration. If it is determined that the terminal is currently in a falling state and the duration of the falling state is If it is longer than the preset duration, the data acquisition instruction will be received and the target data will be obtained from the data storage area according to the instruction, and then the target data will be backed up; this scheme judges the state of the terminal through the acceleration of the terminal, and when the terminal is in a falling state Automatically back up the data on the terminal. Compared with the existing technology, it can effectively prevent the loss of user data caused by the terminal falling, and the backup is carried out in the terminal and the server at the same time, so that the terminal data can be protected in time and further improve the The security of user data, on the other hand, the implementation process of the terminal data backup is simple, no user operation is required, and the degree of intelligence is high, which brings better user experience to users.
实施例三、Embodiment three,
为了更好地实施以上方法,本发明实施例还提供一种数据备份装置,该数据备份装置可以集成在终端中,该终端可以为移动互联网设备(如智能手机、平板电脑)、智能穿戴设备(如智能手表)等各类电子设备。如图3所示,该数据备份装置可以包括:接收模块301、第一获取模块302、确定模块303和备份模块304;In order to better implement the above method, an embodiment of the present invention also provides a data backup device, which can be integrated into a terminal, and the terminal can be a mobile Internet device (such as a smart phone, a tablet computer), a smart wearable device ( Such as smart watches) and other electronic devices. As shown in Figure 3, the data backup device may include: a receiving module 301, a first acquiring module 302, a determining module 303 and a backup module 304;
该接收模块301,用于接收加速度获取指令。The receiving module 301 is configured to receive an acceleration acquisition instruction.
其中,该加速度获取指令的生成方式可以有多种,比如可以通过终端系统自动生成,或者可以通过用户操作来生成指令等。There may be multiple ways to generate the acceleration acquisition instruction, for example, the instruction may be automatically generated by the terminal system, or the instruction may be generated through user operation.
该第一获取模块302,用于根据加速度获取指令获取终端当前的加速度。The first obtaining module 302 is configured to obtain the current acceleration of the terminal according to the acceleration obtaining instruction.
其中,获取终端当前的加速度的方式可以有多种,比如,第一获取模块302在接收到加速度获取请求之后,向终端的加速度传感器发送获取加速度的指令,根据该指令在加速度传感器对应的数据存储区域中获取当前的加速度。Among them, there are many ways to acquire the current acceleration of the terminal. For example, after receiving the acceleration acquisition request, the first acquisition module 302 sends an instruction to acquire the acceleration to the acceleration sensor of the terminal. Get the current acceleration in the area.
该确定模块303,用于根据加速度确定终端当前是否处于跌落状态。The determining module 303 is configured to determine whether the terminal is currently in a falling state according to the acceleration.
具体的,可以预先设置加速度阈值(比如重力加速度),该确定模块303根据当前加速度与该加速度阈值的比较判断终端当前是否处于跌落状态,若当前加速度大于或等于该加速度阈值,则判定终端当前处于跌落状态;若当前加速度小于该加速度阈值,则判定终端当前不处于跌落状态。Specifically, an acceleration threshold (such as gravitational acceleration) may be preset. The determination module 303 judges whether the terminal is currently in a falling state according to a comparison between the current acceleration and the acceleration threshold. If the current acceleration is greater than or equal to the acceleration threshold, it is determined that the terminal is currently in a falling state. Falling state; if the current acceleration is less than the acceleration threshold, it is determined that the terminal is not currently in a falling state.
该备份模块304,用于当确定模块303确定为是时,对终端的数据进行备份。The backup module 304 is configured to back up data of the terminal when the determination module 303 determines yes.
比如在用户手机中,备份模块304将手机中重要的联系人信息、通话记录、聊天记录、照片、安装的应用程序信息等等设置为目标数据,然后对上述目标数据进行备份。For example, in the user's mobile phone, the backup module 304 sets important contact information, call records, chat records, photos, installed application program information, etc. in the mobile phone as target data, and then backs up the above target data.
优选的,如图4所示,本发明实施例提供的数据备份装置中的备份模块304可以具体包括:接收子模块3041、获取子模块3042和备份子模块3043;Preferably, as shown in FIG. 4, the backup module 304 in the data backup device provided by the embodiment of the present invention may specifically include: a receiving submodule 3041, an obtaining submodule 3042, and a backup submodule 3043;
该接收子模块3041,用于接收数据获取指令,上述数据获取指令指示需要备份的目标数据以及目标数据所在的数据存储区域;The receiving sub-module 3041 is configured to receive a data acquisition instruction, the above data acquisition instruction indicates the target data to be backed up and the data storage area where the target data is located;
该获取子模块3042,用于根据数据获取指令从数据存储区域中获取目标数据;The acquisition sub-module 3042 is configured to acquire target data from the data storage area according to the data acquisition instruction;
该备份子模块3043,用于对目标数据进行备份。The backup submodule 3043 is used for backing up target data.
上述确定模块303可以具体包括:判断子模块3031和确定子模块3032;The above determination module 303 may specifically include: a judgment submodule 3031 and a determination submodule 3032;
该判断子模块3031,用于判断加速度是否大于或等于重力加速度;The judging sub-module 3031 is used to judge whether the acceleration is greater than or equal to the acceleration of gravity;
该确定子模块3032,用于当判断子模块3031判断为是时,确定终端当前状态为跌落状态;当判断子模块3031判断为否时,确定终端当前状态不为跌落状态。The determining sub-module 3032 is used to determine that the current state of the terminal is a dropped state when the judgment of the judgment sub-module 3031 is yes; and determine that the current state of the terminal is not a fall state when the judgment of the judgment sub-module 3031 is no.
优选的,如图5所示,本发明实施例提供的数据备份装置还可以包括:第二获取模块305和判断模块306;Preferably, as shown in FIG. 5, the data backup device provided by the embodiment of the present invention may further include: a second acquiring module 305 and a judging module 306;
该第二获取模块305,用于在确定模块303确定终端当前处于跌落状态之后,备份模块304对终端的数据进行备份之前,获取终端处于跌落状态的持续时长;The second acquiring module 305 is configured to acquire the duration of the terminal being in the falling state after the determining module 303 determines that the terminal is currently in the falling state and before the backup module 304 backs up the data of the terminal;
该判断模块306,用于判断上述持续时长是否大于预设时长;The judging module 306 is used to judge whether the above-mentioned duration is greater than a preset duration;
备份模块304,具体用于当所述判断模块306判断为是时,对终端的数据进行备份。The backup module 304 is specifically configured to back up the data of the terminal when the judging module 306 judges yes.
由上可知,本发明实施例采用接收模块301接收加速度获取指令,第一获取模块302根据该加速度获取指令获取终端当前的加速度,然后由确定模块303根据加速度确定终端当前是否处于跌落状态,若确定终端当前处于跌落状态,则备份模块304对终端的数据进行备份;该方案通过终端的加速度来判断终端的状态,并且在终端为跌落状态时自动对终端上的数据进行备份,相对于现有技术而言,能有效防止终端跌落后造成用户数据的丢失,使得终端数据能够及时被保护,并且终端数据备份过程简单,无需用户操作,智能化程度较高,有较好的用户体验。It can be seen from the above that the embodiment of the present invention adopts the receiving module 301 to receive the acceleration acquisition instruction, the first acquisition module 302 acquires the current acceleration of the terminal according to the acceleration acquisition instruction, and then the determination module 303 determines whether the terminal is currently in a falling state according to the acceleration, if determined The terminal is currently in a falling state, and the backup module 304 backs up the data of the terminal; this solution judges the state of the terminal through the acceleration of the terminal, and automatically backs up the data on the terminal when the terminal is in a falling state. Compared with the prior art As far as the terminal is concerned, it can effectively prevent the loss of user data after the terminal falls, so that the terminal data can be protected in time, and the terminal data backup process is simple, no user operation is required, the degree of intelligence is high, and there is a better user experience.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that 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 related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本发明实施例提供的一种数据备份方法和装置进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A data backup method and device provided by the embodiment of the present invention has been introduced in detail above. Its functional modules can be integrated into one processing chip, or each module can exist separately physically, or two or more than two modules can be integrated. in a module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, according to the present invention Thoughts, specific implementation methods and scope of application all have changes. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610197148.8A CN105893185B (en) | 2016-03-31 | 2016-03-31 | Data backup method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610197148.8A CN105893185B (en) | 2016-03-31 | 2016-03-31 | Data backup method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105893185A true CN105893185A (en) | 2016-08-24 |
| CN105893185B CN105893185B (en) | 2019-10-25 |
Family
ID=57011758
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610197148.8A Active CN105893185B (en) | 2016-03-31 | 2016-03-31 | Data backup method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105893185B (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106453767A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Fault detection method and device after drop |
| CN107145386A (en) * | 2017-04-28 | 2017-09-08 | 广东欧珀移动通信有限公司 | Data migration method, terminal device and computer-readable recording medium |
| CN108418951A (en) * | 2018-01-30 | 2018-08-17 | 广东欧珀移动通信有限公司 | Electronic device, data storage method, and related products |
| CN108833667A (en) * | 2018-04-27 | 2018-11-16 | 努比亚技术有限公司 | A kind of terminal shatter-resistant method, terminal and computer readable storage medium |
| CN109413266A (en) * | 2018-09-29 | 2019-03-01 | 上海爱优威软件开发有限公司 | It is a kind of based on the data back up method and terminal that fall detection |
| CN110138955A (en) * | 2019-01-29 | 2019-08-16 | 努比亚技术有限公司 | A kind of document protection method, terminal and computer readable storage medium |
| CN111464854A (en) * | 2020-04-16 | 2020-07-28 | 深圳市华德安科技有限公司 | Fall data processing method, device and equipment and readable storage medium |
| CN111917917A (en) * | 2020-06-29 | 2020-11-10 | 维沃移动通信有限公司 | File backup method and device and electronic equipment |
| CN114296997A (en) * | 2021-12-06 | 2022-04-08 | 维沃移动通信有限公司 | Data backup method and electronic device |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102685324A (en) * | 2012-04-23 | 2012-09-19 | 华为终端有限公司 | Automatic data backup method and device |
| CN102915264A (en) * | 2012-10-25 | 2013-02-06 | 北京小米科技有限责任公司 | Data protection method and device |
| US20130080843A1 (en) * | 2011-09-23 | 2013-03-28 | Fujitsu Limited | Detecting Sensor Malfunctions Using Compression Analysis of Binary Decision Diagrams |
| CN103428901A (en) * | 2012-05-15 | 2013-12-04 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data protection method thereof |
| CN103679055A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
| CN104680091A (en) * | 2013-11-28 | 2015-06-03 | 英业达科技有限公司 | Mobile device protection system and method |
| CN105245701A (en) * | 2015-09-25 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Data protection system and data protection method for mobile terminal |
-
2016
- 2016-03-31 CN CN201610197148.8A patent/CN105893185B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130080843A1 (en) * | 2011-09-23 | 2013-03-28 | Fujitsu Limited | Detecting Sensor Malfunctions Using Compression Analysis of Binary Decision Diagrams |
| CN102685324A (en) * | 2012-04-23 | 2012-09-19 | 华为终端有限公司 | Automatic data backup method and device |
| CN103428901A (en) * | 2012-05-15 | 2013-12-04 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and data protection method thereof |
| CN103679055A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Information processing method, information processing device and electronic equipment |
| CN102915264A (en) * | 2012-10-25 | 2013-02-06 | 北京小米科技有限责任公司 | Data protection method and device |
| CN104680091A (en) * | 2013-11-28 | 2015-06-03 | 英业达科技有限公司 | Mobile device protection system and method |
| CN105245701A (en) * | 2015-09-25 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | Data protection system and data protection method for mobile terminal |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106453767A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Fault detection method and device after drop |
| CN106453767B (en) * | 2016-09-06 | 2019-03-22 | Oppo广东移动通信有限公司 | Method and device for detecting fault after falling |
| CN107145386A (en) * | 2017-04-28 | 2017-09-08 | 广东欧珀移动通信有限公司 | Data migration method, terminal device and computer-readable recording medium |
| CN108418951A (en) * | 2018-01-30 | 2018-08-17 | 广东欧珀移动通信有限公司 | Electronic device, data storage method, and related products |
| CN108418951B (en) * | 2018-01-30 | 2021-04-09 | Oppo广东移动通信有限公司 | Electronic device, data storage method, and related products |
| CN108833667A (en) * | 2018-04-27 | 2018-11-16 | 努比亚技术有限公司 | A kind of terminal shatter-resistant method, terminal and computer readable storage medium |
| CN109413266A (en) * | 2018-09-29 | 2019-03-01 | 上海爱优威软件开发有限公司 | It is a kind of based on the data back up method and terminal that fall detection |
| CN110138955A (en) * | 2019-01-29 | 2019-08-16 | 努比亚技术有限公司 | A kind of document protection method, terminal and computer readable storage medium |
| CN111464854A (en) * | 2020-04-16 | 2020-07-28 | 深圳市华德安科技有限公司 | Fall data processing method, device and equipment and readable storage medium |
| CN111917917A (en) * | 2020-06-29 | 2020-11-10 | 维沃移动通信有限公司 | File backup method and device and electronic equipment |
| CN114296997A (en) * | 2021-12-06 | 2022-04-08 | 维沃移动通信有限公司 | Data backup method and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105893185B (en) | 2019-10-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105893185B (en) | Data backup method and device | |
| US10956280B2 (en) | Data backup method, electronic device, and storage medium | |
| CN109213539B (en) | Memory recovery method and device | |
| CN106412249B (en) | Drop information detection method and device | |
| US20150286897A1 (en) | Automated techniques for photo upload and selection | |
| CN105245701A (en) | Data protection system and data protection method for mobile terminal | |
| CN107562539B (en) | Application processing method and apparatus, computer equipment, storage medium | |
| KR102376700B1 (en) | Method and Apparatus for Generating a Video Content | |
| WO2019024641A1 (en) | Data synchronization method and apparatus, storage medium and electronic device | |
| CN107544842A (en) | Application program processing method and device, computer equipment, storage medium | |
| WO2019047665A1 (en) | Unlocking control methods and related products | |
| CN109116983B (en) | Mobile terminal control method, device, mobile terminal and computer readable medium | |
| CN105843726A (en) | A terminal protection method and device | |
| CN106646440A (en) | Drop height detection method and drop height detection device | |
| CN111371705B (en) | Download task execution method and electronic device | |
| CN105825153B (en) | Mobile terminal protection method and device | |
| US10922193B2 (en) | Data backup method, storage medium, and terminal | |
| CN108536588A (en) | A kind of method and system of test APP programs | |
| CN108055386B (en) | Mobile terminal, management method thereof and storage device | |
| CN107623899B (en) | Information processing method, device, storage medium, and electronic device | |
| CN105208623A (en) | Mobile terminal control method and mobile terminal | |
| US10831873B2 (en) | Method for enabling biometric recognition pattern and related products | |
| CN105844179A (en) | Terminal protection method and device | |
| CN106844057B (en) | Data processing method and device and mobile terminal | |
| CN107491349A (en) | Application program processing method and device, computer equipment, storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |