CN114296997A - Data backup method and electronic equipment - Google Patents

Data backup method and electronic equipment Download PDF

Info

Publication number
CN114296997A
CN114296997A CN202111480800.4A CN202111480800A CN114296997A CN 114296997 A CN114296997 A CN 114296997A CN 202111480800 A CN202111480800 A CN 202111480800A CN 114296997 A CN114296997 A CN 114296997A
Authority
CN
China
Prior art keywords
electronic device
data
information
electronic equipment
backup
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.)
Pending
Application number
CN202111480800.4A
Other languages
Chinese (zh)
Inventor
招锦彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111480800.4A priority Critical patent/CN114296997A/en
Publication of CN114296997A publication Critical patent/CN114296997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a data backup method and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: under the condition that the electronic equipment is detected to be in a preset state, acquiring first information, wherein the first information comprises at least one of the following items: depth information, temperature information, and status information; according to the first information, backing up first content in the electronic equipment in a corresponding first mode; the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature of the electronic equipment, and the state information is used for indicating whether the electronic equipment is in a falling state or not.

Description

Data backup method and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a data backup method and electronic equipment.
Background
At present, data backup is a basic function in an electronic device, and generally, a user can backup data required to be saved by the user to a cloud in a cloud disk application program.
However, in the above method, the electronic device needs to store the data that the user needs to save to the cloud via the network, and if the user needs to save the data in an emergency (for example, drowning), the electronic device may not be able to backup the data in time.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data backup method and an electronic device, which can solve the problem that the efficiency of backing up data by the electronic device is low.
In a first aspect, an embodiment of the present application provides a data backup method, where the data backup method includes: under the condition that the electronic equipment is detected to be in a preset state, acquiring first information, wherein the first information comprises at least one of the following items: depth information, temperature information, and status information; according to the first information, backing up first content in the electronic equipment in a corresponding first mode; the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature where the electronic equipment is located, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
In a second aspect, an embodiment of the present application provides a data backup apparatus, including: the device comprises an acquisition module and a backup module. The acquisition module is used for acquiring first information under the condition that the electronic equipment is detected to be in a preset state, wherein the first information comprises at least one of the following items: depth information, temperature information, and status information. The backup module is used for backing up first content in the electronic equipment by adopting a corresponding first mode according to the first information acquired by the acquisition module; the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature where the electronic equipment is arranged, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, the electronic device may determine, according to the first information, a backup device corresponding to the first information to perform backup of data. According to the scheme, the electronic equipment can determine the current scene of the electronic equipment according to the first information to select the backup mode more suitable for the current scene to perform data backup, namely the electronic equipment can dynamically select the corresponding backup mode to perform data backup according to the current scene of the electronic equipment, so that the data in the electronic equipment can be quickly backed up to the backup equipment, and therefore the problem that the electronic equipment cannot timely backup the data in emergency situations is solved, and the flexibility and the efficiency of the electronic equipment for backing up the data are improved.
Drawings
Fig. 1 is a flowchart of a data backup method according to an embodiment of the present application;
fig. 2 is a second flowchart of a data backup method according to an embodiment of the present application;
fig. 3 is a third flowchart of a data backup method according to an embodiment of the present application;
fig. 4 is a fourth flowchart of a data backup method according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a data table backup apparatus according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data backup method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
With the continuous development of cloud service technology, cloud backup technology is becoming more mature, because cloud backup has the characteristics of more backup data, supporting multi-platform management, and being safe in data transmission encryption and free from the limitation of space and electronic equipment, generally, in order to reduce the storage pressure of the electronic equipment and the cost of data maintenance and management, a user can backup some more important personal data (such as address book, short message, picture and the like) on a cloud server in a cloud storage manner, thereby avoiding the operation error of the user and the data loss of the electronic equipment, when the user backs up the personal data to the cloud server, the user needs the electronic equipment to transmit the data in the electronic equipment to the cloud server through a network, however, in an emergency (such as falling of water in the electronic equipment), because the network quality of the environment where the electronic equipment is located is poor, therefore, the speed of sending the backup data to the cloud server by the electronic equipment is low, so that the electronic equipment cannot timely backup the data to the cloud server, and the efficiency of backing up the data by the electronic equipment is low.
The data backup is a basis of disaster tolerance, and refers to a process of copying all or a part of data sets from a hard disk or an array of an application host to another storage medium in order to prevent data loss caused by system misoperation or system failure.
In this embodiment, the electronic device may determine, according to the first information, a backup device corresponding to the first information to perform data backup. According to the scheme, the electronic equipment can determine the current scene of the electronic equipment according to the first information to select the backup mode more suitable for the current scene to perform data backup, namely the electronic equipment can dynamically select the corresponding backup mode to perform data backup according to the current scene of the electronic equipment and the state of the electronic equipment in the current scene, so that the data in the electronic equipment can be quickly backed up to the backup equipment, and therefore the problem that the electronic equipment cannot timely backup the data in an emergency situation is solved, and the flexibility and the efficiency of the electronic equipment for backing up the data are improved.
An embodiment of the present application provides a data backup method, and fig. 1 shows a flowchart of the data backup method provided in the embodiment of the present application. As shown in fig. 1, a data backup method provided by an embodiment of the present application may include steps 201 and 202 described below.
Step 201, in the case that the electronic device is detected to be in a preset state, the electronic device acquires first information.
In an embodiment of the present application, the first information includes at least one of: the system comprises depth information, temperature information and state information, wherein the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature where the electronic equipment is located, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
In this embodiment, the electronic device may detect whether the electronic device is in a preset state (for example, a drowning state, a high temperature state, or a falling state) in real time through a sensor in the electronic device to acquire the first information, so that the electronic device may determine a corresponding backup device according to the first information to backup data in the electronic device to the backup device. It can be understood that, when the electronic device detects that the current state is the preset state, the electronic device may perform emergency backup, that is, select a device (that is, a device corresponding to the first information) with the highest data transmission rate in the current state, so as to quickly backup data in the electronic device in the device.
Optionally, in this embodiment of the application, the electronic device may acquire, by using the ultrasonic sensor, the depth of the water after the electronic device falls into the water (that is, the electronic device may determine the depth of the water by using the round-trip time of the ultrasonic signal and the propagation rate of the ultrasonic signal); alternatively, the electronic device may acquire the device temperature of the electronic device or the temperature of the surrounding environment of the electronic device through a temperature sensor; alternatively, the electronic device may determine whether the electronic device is in a falling state through the acceleration sensor.
Optionally, in this embodiment of the present application, the ultrasonic sensor may be any one of: a general ultrasonic sensor, a wide-band ultrasonic sensor, a sealed ultrasonic sensor, a high-frequency ultrasonic sensor, or the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, the temperature sensor may be any one of: platinum resistance temperature sensors, thermocouple temperature sensors, thermistor temperature sensors, analog temperature sensors, digital temperature sensors, or the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, the acceleration sensor may be any one of: piezoelectric acceleration sensors, piezoresistive acceleration sensors, capacitive acceleration sensors, servo acceleration sensors, or the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the application, the device temperature refers to a temperature of a battery in the electronic device, or refers to a temperature of a motherboard in the electronic device.
Optionally, in this embodiment of the application, the electronic device may determine, through the acceleration sensor, whether the variation of the acceleration value of the electronic device is greater than or equal to a preset threshold, or whether the acceleration value of the electronic device is a gravity acceleration value, so as to determine that the electronic device is in a falling state.
Step 202, the electronic device backs up the first content in the electronic device in a corresponding first mode according to the first information.
In this embodiment of the application, the electronic device may determine, according to first information of a scene where the electronic device is located, a backup manner (i.e., a first manner) corresponding to the first information, so as to backup data (i.e., first content) in the electronic device to the backup device.
In the first case, when the electronic device is in a drowning scene/state, the SD card has the highest data transmission rate compared to other electronic devices and the cloud server, and is not easily damaged in water, so that the electronic device can preferentially use the SD card as a backup device, i.e., preferentially backup data in the electronic device to the SD card.
In the second case, when the electronic device detects that the electronic device is in a high-temperature scene, the SD card may fail due to high temperature, so that the electronic device may preferentially use the remote device (i.e., other electronic devices or the cloud server) as the backup device. That is, the data to be backed up in the electronic device is backed up to the remote device preferentially.
In the third situation, when the electronic device detects that the electronic device is in a falling state, the SD card has the highest data transmission rate compared with other electronic devices and the cloud server, so that the efficiency of data backup is the highest, and the electronic device can use the SD card as backup equipment, that is, data to be backed up in the electronic device is preferentially backed up in the SD card.
It should be noted that the data in the electronic device may be understood as data to be backed up in the electronic device, where the data to be backed up is all data or part of data in the electronic device.
Optionally, in this embodiment of the application, the partial data may be data to be backed up, which is preset in the electronic device by a user, or data to be backed up, which is selected from the data in the electronic device by the electronic device according to usage information (for example, total usage times, usage frequency, usage time, usage duration, and the like) of the data in the electronic device by the user. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, the backup device may include at least one of the following: secure Digital (SD) cards, other electronic devices, cloud servers, hard disks or optical disks, and other electronic devices with a storage function.
Optionally, in this embodiment of the application, a user may add, in a setting interface in advance, at least one device identifier (for example, an identifier of an SD card, an identifier of another electronic device, and the like) to the backup device list, so that the electronic device may determine a device corresponding to the device identifier as a backup device.
The SD card may be an SD card in an electronic device, or may also be an SD card in another electronic device; the other electronic equipment is electronic equipment which has a connection relation with the electronic equipment; the cloud server is a server having an association relationship with the electronic device.
Optionally, in this embodiment of the application, when the electronic device is not in a preset state (that is, when the electronic device is in a normal state), the electronic device may perform data backup according to a backup device selected by a user.
Optionally, in this embodiment of the application, in a case that the electronic device is not in the preset state, the electronic device may automatically trigger data backup (i.e., every preset time, the electronic device may automatically perform data backup processing), when data backup is carried out, the electronic equipment can detect whether the cloud server has the residual storage space or not, under the condition that the cloud server has the residual storage space, the electronic equipment backs up the data to be backed up to the cloud server, under the condition that the residual storage space of the cloud server is smaller than the preset storage space, the electronic equipment detects whether the SD card has the residual space or not, under the condition that the SD card has the residual space, the electronic equipment backs up the data to be backed up into the SD card, in the case where there is no remaining space in the SD card, the electronic device may back up data to be backed up to other electronic devices connected to the electronic device.
Alternatively, in this embodiment of the application, the step 202 may be specifically implemented by the step 203 described below.
And step 203, the electronic equipment sequentially backs up data of a plurality of application programs in the electronic equipment according to the target priority information in the equipment corresponding to the first information according to the first information.
In this embodiment, the target priority information is used to indicate backup priorities of data of a plurality of applications.
Alternatively, in this embodiment of the application, the target priority information may be determined by default priority information of the system (for example, sorting of data capacity of data), priority information set by a user, or historical usage information of an application (for example, data of an application with the largest number of usage times).
In the embodiment of the application, after the electronic device determines the backup device according to the first information, the electronic device can backup the data to be backed up according to the priority of the data to be backed up, that is, the electronic device can backup the data in the electronic device according to the backup priority, so that loss of important data in the electronic device is avoided, and the efficiency of backing up the data by the electronic device is improved.
The embodiment of the application provides a data backup method, and an electronic device can determine a backup device corresponding to first information according to the first information to perform data backup. According to the scheme, the electronic equipment can determine the current scene of the electronic equipment according to the first information to select the backup mode more suitable for the current scene to perform data backup, namely the electronic equipment can dynamically select the corresponding backup mode to perform data backup according to the current scene of the electronic equipment and the current state of the electronic equipment, so that the data in the electronic equipment can be quickly backed up to the backup equipment, and therefore the problem that the electronic equipment cannot timely backup the data in an emergency situation is solved, and the flexibility and the efficiency of the electronic equipment for backing up the data are improved.
Optionally, in an implementation manner of the embodiment of the present application, the first information includes depth information. With reference to fig. 1, as shown in fig. 2, before the step 202, the data backup method provided in the embodiment of the present application further includes the following step 301, and the step 202 may be specifically implemented by the following step 202a or step 202 b.
Step 301, the electronic device determines whether the depth of water of the electronic device after falling into water is less than or equal to a preset depth.
In the embodiment of the application, the electronic device can detect the depth of water after the electronic device is in water through the ultrasonic sensor, so as to judge whether the depth of water is greater than or equal to the preset depth according to the detection result.
Step 202a, when the detected water depth after the electronic device falls into the water is less than or equal to the preset depth, the electronic device backs up the data in the electronic device in an SD card in the electronic device.
In the embodiment of the application, when the electronic device detects that the water depth after the water falling state is less than or equal to the preset water depth (for example, 1.8 meters), it may be determined that the water depth when the electronic device is in the water falling state is shallow, that is, it is determined that a water falling scene of the electronic device is specifically a swimming pool or a basin, and in this scene, a user may retrieve the electronic device.
It can be understood that, in the case that the detected water depth after the electronic device is in the water-falling state is less than or equal to the preset depth and the remaining storage space of the SD card is sufficient (greater than or equal to a preset threshold), the electronic device may back up the data in the electronic device in the SD card.
Optionally, in this embodiment of the application, in a case that the detected water depth of the electronic device after the water-falling state is less than or equal to the preset depth and the remaining storage space of the SD card is insufficient (less than a preset threshold), the electronic device may back up the data in the electronic device in the SD card by covering at least part of the data stored in the SD card (for example, the data with the longest storage time, the data with the fewest usage times, the data with a duration less than a preset duration, and the like), or the electronic device may back up the data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
Step 202b, when the detected water depth is greater than the preset depth after the electronic device falls into the water, the electronic device backs up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
In this embodiment of the application, when the electronic device detects that the water depth after the drowning state is greater than the preset water depth (for example, 1.8 meters), it may be determined that the water depth when the electronic device is in the drowning state is deeper, that is, it is determined that a drowning scene of the electronic device is a river or a lake, and in this scene, the difficulty of retrieving the electronic device by the user is greater, and the electronic device preferentially uses the remote device associated with the electronic device as the backup device.
It should be noted that, the cloud server associated with the electronic device may be understood as: the cloud server corresponding to the application program in the electronic device, or the cloud server corresponding to the application account number that the electronic device has. Other electronic devices associated with the electronic device may be understood as: an electronic device having a connection relationship with the electronic device.
Optionally, in this embodiment of the application, the electronic device may backup data in the electronic device to an SD card in another electronic device; alternatively, the electronic device may back up the data in the electronic device to a local storage area of another electronic device, where the local storage area may be a storage area corresponding to the type of data in the electronic device, or may be a dedicated storage area for the data in the electronic device.
Optionally, in this embodiment of the application, a user may add a device identifier of another electronic device (e.g., a smart watch) to the backup device list in the setting interface, so that the electronic device may be directly connected to the other electronic device when backing up data.
Optionally, in this embodiment of the application, the electronic device may establish a connection with another electronic device through a network (e.g., Wireless Fidelity (WIFI) or a mobile network), or establish a connection with another electronic device through a bluetooth.
Optionally, in this embodiment of the application, the device identifier may include at least one of: a device model, a device status identifier (e.g., connectable status or non-connectable status), a device name, and the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the application, in a case that the other electronic device includes multiple devices, the electronic device may preferentially select, according to connection priorities of the multiple devices, a device with a highest connection priority for connection, where the connection priority may be determined by at least one of: the distance between the electronic equipment and each of the plurality of equipment, the order of adding equipment identifications by the user, and the connection priority of the equipment preset by the user.
In the embodiment of the application, when the electronic device detects that the current scene of the electronic device is a drowning scene, the most suitable backup device can be determined to perform data backup according to the depth of water, so that data in the electronic device can be quickly backed up to the backup device, and the efficiency and flexibility of data backup of the electronic device are improved.
Optionally, in this embodiment of the application, when the detected water depth of the electronic device in the drowning state is greater than the preset depth, the electronic device may further determine whether to backup the data in the cloud server or other electronic devices in combination with the estimated backup duration of the data in the electronic device. The step 202b can be realized by the step 202b1 or the step 202b2 described below.
Step 202b1, when the detected water depth of the electronic device after the electronic device is in the drowning state is greater than the preset depth and the estimated backup time of the data in the electronic device is less than or equal to the preset time, backing up the data in the electronic device in the cloud server.
In the embodiment of the application, the electronic device may count the data capacity of the data in the electronic device, and estimate the backup duration of the data in the electronic device according to the data capacity and the data transmission rate (i.e., the data transmission rate of the network after the electronic device is in the overboard state).
It should be noted that, because each function of the electronic device can be normally used within a preset time (for example, 30 seconds) after the electronic device falls into water, when the estimated backup time is less than or equal to the preset time (the backup time is short), that is, the electronic device performs data backup in a sufficient time, a device with good data transmission integrity (that is, the data packet loss rate is lower than the preset packet loss rate) can be selected as the backup device, and the cloud server has a characteristic that the backup data is not easily lost, so that the electronic device can preferentially adopt the cloud server to perform data backup.
Step 202b2, if the detected water depth after the electronic device falls into water is greater than the preset depth and the estimated backup time of the data in the electronic device is greater than the preset time, backing up the data in the electronic device in other electronic devices.
It should be noted that, when the water falling duration of the electronic device is greater than a preset duration (for example, 30 seconds), the electronic device may drop too deep, and the network transmission rate is relatively poor, so that the backup duration estimated by the electronic device is relatively long, and therefore, the cloud server may not perform data backup in time, and the electronic device may select a device with faster data transmission data as the backup device, while other electronic devices may be connected to the electronic device without performing data transmission through a network, so that the electronic device may select to backup the data to be backed up to other electronic devices connected to the electronic device.
In the embodiment of the application, after the electronic device obtains the estimated backup time of the data to be backed up, the electronic device can determine the most suitable backup mode for data backup according to the estimated backup time, that is, when the electronic device detects that the estimated backup time is short, the electronic device determines the backup device as a cloud server in order to ensure the integrity of data transmission while ensuring the rate of data transmission; when the estimated backup time is long, the electronic device determines the backup device as other electronic devices associated with the electronic device in order to ensure the data transmission rate, so that the integrity and flexibility of the backup data of the electronic device are improved.
In this manner of this embodiment of the application, after the electronic device detects that the electronic device is in a water-falling state, the electronic device may detect the depth (i.e., water depth) of water in a current water-falling scene of the electronic device through the ultrasonic sensor at a water-falling moment (i.e., a moment when the electronic device contacts water), and determine whether the current water depth is greater than a preset depth (e.g., 1.8 m), when the water depth is less than the preset depth, the electronic device may preferentially backup the data to be backed up in the SD card in the electronic device, when the water depth is greater than the preset depth, the electronic device may continue to perform the determination of the backup manner according to the backup duration, so that when the estimated backup duration is less than the preset duration (e.g., 30 seconds), the data to be backed up is backed up to the cloud server, and when the estimated backup duration is greater than 30 seconds, other electronic devices connected to the electronic device are used for backup, therefore, the backup data integrity of the electronic equipment is ensured, and meanwhile, the diversity of the backup data of the electronic equipment is improved, so that the backup efficiency of the electronic equipment is improved.
Optionally, in another implementation manner of the embodiment of the present application, the first information includes temperature information. With reference to fig. 1, as shown in fig. 3, before the step 202, the data backup method provided in the embodiment of the present application further includes a step 401 and a step 402 described below, and the step 202 may be specifically implemented by the step 202c or the step 202d described below.
Step 401, the electronic device determines whether the device temperature of the electronic device or the ambient temperature of the electronic device is greater than or equal to a preset temperature.
Optionally, in this embodiment of the application, the electronic device may detect the device temperature of the electronic device through the temperature sensor, and acquire the device temperature, so that it may be determined whether the current device temperature or the ambient temperature where the electronic device is located is greater than or equal to a preset temperature.
Step 402, in the case that the device temperature of the electronic device or the ambient temperature where the electronic device is located is greater than or equal to a preset temperature, the electronic device determines whether there are other electronic devices associated with the electronic device.
Step 202c, in the case that there is another electronic device associated with the electronic device, the electronic device backs up data in the electronic device in the other electronic device.
It should be noted that, when the electronic device detects that the device temperature of the electronic device or the ambient temperature where the electronic device is located is greater than or equal to a preset temperature (for example, 90 degrees), since the SD card in the electronic device fails in a high-temperature state, and if the data in the electronic device is backed up to the cloud server, the damage of the electronic device is aggravated, so that the electronic device may preferentially select another electronic device for backup.
Step 202d, in the case that there is no other electronic device associated with the electronic device, the electronic device backs up data in the electronic device in the cloud server associated with the electronic device or the SD card in the electronic device.
It should be noted that, when the electronic device is in a high-temperature state and there is no other electronic device associated with the electronic device, in order to ensure that data to be backed up in the electronic device is not lost, the electronic device may back up the data in the electronic device through the cloud server or the SD card.
In the embodiment of the application, the electronic device can detect the current device temperature value of the electronic device, so that the most suitable backup device can be determined to perform data backup according to the device temperature value, data in the electronic device can be quickly backed up to the backup device, and the efficiency and flexibility of data backup of the electronic device are improved.
Optionally, in this embodiment of the application, the step 202d may be specifically implemented by the following step 202d1 or step 202d 2.
Step 202d1, in the case that there is no other electronic device associated with the electronic device and the remaining storage space of the cloud server is greater than or equal to the preset threshold, backing up data in the electronic device in the cloud server.
In this embodiment, the electronic device may send a request message to the cloud server, where the request message is used to instruct to view the remaining storage space in the cloud server, so that the electronic device may obtain the remaining storage space of the cloud server according to the request message, so that the electronic device may send the data to be backed up to the cloud server according to a condition that the remaining storage space of the cloud server is greater than or equal to a preset threshold (e.g., 50M).
It should be noted that, when the electronic device is in a high-temperature scene, the SD card may be disabled due to high temperature, and there is no other electronic device associated with the electronic device, and in order to ensure that data in the electronic device is not lost, the electronic device may select the cloud server to perform data backup when the remaining storage space in the cloud server is greater than or equal to a preset threshold.
Optionally, in this embodiment of the application, the electronic device may calculate the data size of the data to be backed up, and then after the electronic device acquires the remaining storage space of the cloud server, it is determined whether to back up the data through the cloud server, that is, when the size of the data to be backed up is greater than the remaining storage space of the cloud server, the data is backed up through the SD card, and otherwise, the data is backed up through the cloud server.
Step 202d2, in the case that there is no other electronic device associated with the electronic device and the remaining storage space of the cloud server is less than the preset threshold, the electronic device backs up data in the electronic device in the SD card in the electronic device.
It should be noted that, when the electronic device is in a high-temperature scene, because there is no other electronic device associated with the electronic device and there is a remaining storage space in the cloud server that is smaller than a preset threshold, in order to ensure that data in the electronic device is not lost, the electronic device may select the SD card to perform data backup.
In the embodiment of the application, the electronic device can detect the residual storage space of the cloud server, so that the most suitable backup device can be determined to perform data backup according to the size of the residual storage space of the cloud server, data in the electronic device can be quickly backed up to the backup device, and the efficiency and the flexibility of data backup of the electronic device are improved.
In this way of this embodiment of the application, when the electronic device is in a high-temperature scene, the electronic device may detect a current temperature of the electronic device or a temperature of an environment in which the electronic device is currently located through the temperature sensor, when the temperature of the electronic device or the temperature of the environment in which the electronic device is currently located is greater than or equal to a preset temperature, the electronic device may determine whether there is connection of another device, and when there is connection of another device with the electronic device, the electronic device backs up data in the electronic device through the other device; the electronic equipment can judge whether the storage space of a cloud server associated with the electronic equipment is full or not under the condition that other equipment is not connected with the electronic equipment, and the electronic equipment backs up data in the electronic equipment through the cloud server under the condition that the residual space in the cloud server is larger than a preset threshold value; under the condition that the residual space in the cloud server is smaller than the preset threshold value, the electronic equipment backs up data in the electronic equipment through the SD card, so that the completeness of the back-up data of the electronic equipment is guaranteed, meanwhile, the diversity of the back-up data of the electronic equipment is improved, and the back-up efficiency of the electronic equipment is improved.
Optionally, in another implementation manner of the embodiment of the present application, the first information includes state information. With reference to fig. 1, as shown in fig. 4, before the step 202, the data backup method provided in the embodiment of the present application further includes the following step 501 and step 502, and the step 202 may be specifically implemented by the following step 202e or step 202 f.
Step 501, the electronic device judges whether the electronic device is in a falling state.
Optionally, in this embodiment of the application, the electronic device may determine whether the electronic device is in a falling state through the acceleration sensor.
Step 502, under the condition that the electronic device is in a falling state, the electronic device judges whether the electronic device includes an SD card.
Step 202e, if the electronic device includes the SD card, the electronic device backs up the data in the electronic device in the SD card.
It should be noted that, when the electronic device is in a dropped state and the electronic device includes an SD, the electronic device may select to backup data in the electronic device in the SD card because the backup rate of the electronic device to the SD card is fastest.
Step 202f, under the condition that the electronic device does not include the SD card, the electronic device backs up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
In the embodiment of the application, under the condition that the SD card is not included, the electronic device may detect a current network transmission rate (i.e., a network speed), and when the network transmission rate is greater than or equal to a preset transmission rate (5M), the electronic device backs up data in the electronic device through the cloud server, and otherwise, backs up data in the electronic device through other electronic devices connected to the electronic device.
Optionally, in this embodiment of the application, when the electronic device is not in a dropped state, the electronic device may perform data backup according to a backup device selected by a user.
In the embodiment of the application, the electronic equipment can detect whether the electronic equipment is in a falling state, and under the condition that the electronic equipment is in the falling state, the electronic equipment can determine the backup equipment according to the data backup rate and the network transmission rate, so that the problem that the electronic equipment cannot timely backup data is avoided, the data in the electronic equipment is quickly backed up to the backup equipment, and the efficiency and the flexibility of the electronic equipment for backing up the data are improved.
Optionally, in this embodiment of the application, the step 202f may be specifically implemented by the following step 202f1 or step 202f 2.
Step 202f1, if the electronic device does not include an SD card and the drop height of the electronic device is greater than or equal to the preset height, the electronic device backs up data in the electronic device in the cloud server.
Optionally, in this embodiment of the application, the electronic device may detect, in real time, a difference between a height of the electronic device when the electronic device is in a falling state and a current falling height of the electronic device through the ultrasonic sensor, so as to determine the falling height of the electronic device, so that when the falling height of the electronic device is greater than or equal to a preset height (for example, 15 meters), the electronic device backs up data in the electronic device through the cloud server.
It should be noted that, because the effective distance for establishing the WIFI connection by the other electronic devices is 15 meters, the electronic device may backup data in the electronic device through the cloud server when the drop height of the electronic device is greater than a preset height (for example, 15 meters).
Step 202f2, if the electronic device does not include an SD card and the drop height of the electronic device is less than the preset height, the electronic device backs up data in the electronic device in other electronic devices.
It should be noted that, when the electronic device does not include the SD card and the drop height of the electronic device is smaller than the preset height, the data backup rate of the electronic device when connected to another electronic device is faster than the data backup rate of the electronic device to the cloud server, so that the electronic device backs up data in the electronic device in another electronic device.
In the embodiment of the application, the electronic equipment can detect the current falling height of the electronic equipment, so that the backup equipment with the higher backup rate is selected according to the falling height, the situation that the data in the electronic equipment cannot be backed up timely due to the fact that the network equipment falls down quickly when the network equipment is in a falling state is avoided, and therefore the efficiency and the flexibility of the electronic equipment for backing up the data are improved.
In this kind of mode of this application embodiment, when electronic equipment detects that electronic equipment is in the scene of falling, electronic equipment is the backup data to the SD card in priority, under the circumstances that does not contain the SD card in electronic equipment, electronic equipment can obtain electronic equipment's the height of falling through ultrasonic sensor, under the circumstances that the height of falling is less than 15 meters, electronic equipment will wait to backup data to other electronic equipment in, under the circumstances that the height of falling is greater than 15 meters, electronic equipment backs up the data to the high in the clouds server, so, when having guaranteed electronic equipment backup data integrality, electronic equipment backup data's variety has been promoted, thereby electronic equipment's backup efficiency has been promoted.
Optionally, in this embodiment of the present application, before step 202, the data backup method provided in this embodiment of the present application further includes step 601 and step 602 described below.
Step 601, the electronic device obtains a network state of the electronic device.
In the embodiment of the application, after the electronic device acquires the first information, the electronic device may acquire the network state of the electronic device according to the current scene, so that the electronic device may adjust the priority of the backup device according to the network state.
Optionally, in this embodiment of the present application, the network status includes at least one of the following: network transmission rate, network throughput, network packet loss rate, network signal interference quality, and the like.
Step 602, when the network state meets the preset network condition, the electronic device adjusts the backup priority of the cloud server and the backup priority of the other electronic devices.
In the embodiment of the application, when the electronic device detects that the current network state meets the preset network condition (for example, the network transmission rate is greater than 5M), the electronic device may select a backup mode with better data transmission integrity (that is, the data packet loss rate is lower than the preset packet loss rate) to perform data backup, because the cloud server has the characteristic that the backup data is not easy to lose, the electronic equipment can preferentially adopt the cloud server to perform data backup, when the electronic device detects that the current network state does not satisfy the preset network condition (for example, the network transmission rate is less than 5M), the electronic device may select a device with faster data transmission data as a backup device, and other electronic devices, in the case where the electronic devices are connected, do not need to perform data transmission through a network, therefore, the electronic equipment can preferentially adopt other electronic equipment connected with the electronic equipment to perform data backup.
In the embodiment of the application, the electronic equipment can dynamically adjust the backup equipment according to the network state in the current scene, so that important data in the electronic equipment are prevented from being lost, the diversity of the backup data of the electronic equipment is improved, and the efficiency of the backup data of the electronic equipment is improved.
It should be noted that, in the data backup method provided in the embodiment of the present application, the execution main body may be a data backup device. The data backup device provided in the embodiment of the present application is described with an example of a data backup method executed by a data backup device.
Fig. 5 shows a schematic diagram of a possible structure of the data backup apparatus according to the embodiment of the present application. As shown in fig. 5, the data backup apparatus 70 may include: an acquisition module 71 and a backup module 72.
The obtaining module 71 is configured to, in a case that it is detected that the electronic device is in a preset state, obtain first information, where the first information includes at least one of: depth information, temperature information, and status information. . The backup module is configured to backup the first content in the electronic device by using a corresponding first mode according to the first information acquired by the acquisition module 71; the depth information is used for indicating the water depth detected by the electronic equipment after the electronic equipment is in a water falling state, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature where the electronic equipment is located, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
In a possible implementation manner, the first information includes depth information. The backup module 72 is specifically configured to backup data in the electronic device in a secure digital SD card in the electronic device when the detected water depth of the electronic device after falling into water is less than or equal to a preset depth; or, when the detected water depth of the electronic device after falling into water is greater than the preset depth, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
In one possible implementation, the first information includes temperature information. The backup module 72 is specifically configured to, when the device temperature of the electronic device or the ambient temperature where the electronic device is located is greater than or equal to the preset temperature, backup data in the electronic device in other electronic devices if there are other electronic devices associated with the electronic device; or, if there is no other electronic device associated with the electronic device when the device temperature of the electronic device is greater than or equal to the preset temperature, backing up data in the electronic device in a cloud server associated with the electronic device or an SD card in the electronic device.
In a possible implementation manner, the first information includes status information. The backup module 72 is specifically configured to, when the electronic device is in a falling state, if the electronic device includes an SD card, backup data in the electronic device in the SD card; or, if the electronic device is in a falling state and the electronic device does not include the SD card, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
In a possible implementation manner, the data backup apparatus 70 further includes: and an adjusting module. The obtaining module 71 is further configured to obtain a network state of the electronic device before the backup module 72 uses the corresponding first mode to backup the first content in the electronic device according to the first information. And the adjusting module is used for adjusting the backup priority of the cloud server and other electronic equipment under the condition that the network state meets the preset network condition.
The embodiment of the application provides a data backup device, because an electronic device can determine a current scene of the electronic device according to first information to select a backup device more suitable for the current scene to perform data backup, that is, the electronic device can dynamically select a corresponding backup device to perform data backup according to the current scene of the electronic device, so as to quickly backup data in the electronic device to the backup device, thereby avoiding a problem that the electronic device cannot timely backup the data in an emergency situation, and improving flexibility and efficiency of data backup of the electronic device.
The data backup device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data backup device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data backup device provided by the embodiment of the application can realize each process realized by the method embodiment, can achieve the same technical effect, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 90 is further provided in the embodiment of the present application, and includes a processor 91, a memory 92, and a program or an instruction stored in the memory 92 and capable of being executed on the processor 91, where the program or the instruction is executed by the processor 91 to implement each process of the foregoing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 is configured to, in a case that it is detected that the electronic device is in a preset state, acquire first information, where the first information includes at least one of: depth information, temperature information, and status information. The processor 110 is further configured to backup first content in the electronic device by using a corresponding first mode according to the first information; the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature of the electronic equipment, and the state information is used for indicating whether the electronic equipment is in a falling state.
The embodiment of the application provides an electronic device, because the electronic device can determine the current scene of the electronic device according to the first information, so as to select a backup device more suitable for the current scene to perform data backup, that is, the electronic device can dynamically select a corresponding backup device to perform data backup according to the current scene of the electronic device, so as to quickly backup data in the electronic device to the backup device, thereby avoiding the problem that the electronic device cannot timely backup the data in an emergency situation, and improving the flexibility and efficiency of the electronic device for backing up the data.
Optionally, in this embodiment of the application, the first information includes depth information. The processor 110 is specifically configured to backup data in the electronic device in a secure digital SD card in the electronic device when the detected water depth of the electronic device after falling into water is less than or equal to a preset depth; or under the condition that the detected water depth is greater than the preset depth when the electronic device is in the drowning state, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
Optionally, in this embodiment of the application, the first information includes temperature information. The processor 110 is specifically configured to, when the device temperature of the electronic device or the ambient temperature where the electronic device is located is greater than or equal to a preset temperature, backup data in the electronic device in other electronic devices if there are other electronic devices associated with the electronic device; or, if there is no other electronic device associated with the electronic device when the device temperature of the electronic device is greater than or equal to the preset temperature, backing up data in the electronic device in a cloud server associated with the electronic device or an SD card in the electronic device.
Optionally, in this embodiment of the application, the first information includes state information. The processor 110 is specifically configured to, when the electronic device is in a dropped state, if the electronic device includes an SD card, backup data in the electronic device in the SD card; or, if the electronic device is in a falling state and the electronic device does not include the SD card, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
Optionally, in this embodiment of the present application, the processor 110 is further configured to obtain a network state of the electronic device before backing up the first content in the electronic device by using the corresponding first mode according to the first information; and under the condition that the network state meets the preset network condition, adjusting the backup priority of the cloud server and other electronic equipment.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for data backup, the method comprising:
under the condition that the electronic equipment is detected to be in a preset state, acquiring first information, wherein the first information comprises at least one of the following items: depth information, temperature information, and status information;
according to the first information, backing up first content in the electronic equipment in a corresponding first mode;
the depth information is used for indicating the water depth detected by the electronic equipment after falling into water, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature of the electronic equipment, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
2. The method of claim 1, wherein the first information comprises the depth information;
the backing up the first content in the electronic equipment by adopting a corresponding first mode according to the first information comprises the following steps:
under the condition that the detected water depth of the electronic equipment after falling into water is less than or equal to the preset depth, backing up data in the electronic equipment in a Secure Digital (SD) card in the electronic equipment;
or, when the detected water depth of the electronic device in the drowning state is greater than a preset depth, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
3. The method of claim 1, wherein the first information comprises the temperature information;
the backing up the first content in the electronic equipment by adopting a corresponding first mode according to the first information comprises the following steps:
under the condition that the equipment temperature of the electronic equipment or the environment temperature where the electronic equipment is located is greater than or equal to a preset temperature, if other electronic equipment related to the electronic equipment exists, backing up data in the electronic equipment in the other electronic equipment;
or, if there is no other electronic device associated with the electronic device under the condition that the device temperature of the electronic device or the ambient temperature in which the electronic device is located is greater than or equal to a preset temperature, backing up data in the electronic device in a cloud server associated with the electronic device or an SD card in the electronic device.
4. The method of claim 1, wherein the first information comprises the status information;
the backing up the first content in the electronic equipment by adopting a corresponding first mode according to the first information comprises the following steps:
under the condition that the electronic equipment is in a falling state, if the electronic equipment comprises an SD card, backing up data in the electronic equipment in the SD card;
or, under the condition that the electronic device is in a falling state, if the electronic device does not include an SD card, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
5. The method according to any one of claims 1 to 4, wherein before the backing up the first content in the electronic device in the corresponding first manner according to the first information, the method further comprises:
acquiring a network state of the electronic equipment;
and under the condition that the network state meets a preset network condition, adjusting the backup priority of the cloud server and the backup priority of the other electronic equipment.
6. A data backup apparatus, characterized in that the data backup apparatus comprises: an acquisition module and a backup module;
the obtaining module is configured to obtain first information when it is detected that the electronic device is in a preset state, where the first information includes at least one of: depth information, temperature information, and status information;
the backup module is used for backing up first content in the electronic equipment by adopting a corresponding first mode according to the first information acquired by the acquisition module; the depth information is used for indicating the water depth detected by the electronic equipment after the electronic equipment is in a water falling state, the temperature information is used for indicating the equipment temperature of the electronic equipment or indicating the environment temperature of the electronic equipment, and the state information is used for indicating whether the electronic equipment is in a falling state or not.
7. The apparatus of claim 6, wherein the first information comprises the depth information;
the backup module is specifically used for backing up data in the electronic equipment in a Secure Digital (SD) card in the electronic equipment under the condition that the detected water depth of the electronic equipment after the electronic equipment is in a water-falling state is less than or equal to a preset depth; or, when the detected water depth of the electronic device in the drowning state is greater than a preset depth, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
8. The apparatus of claim 6, wherein the first information comprises the temperature information;
the backup module is specifically configured to, when the device temperature of the electronic device or the ambient temperature at which the electronic device is located is greater than or equal to a preset temperature, backup data in the electronic device in other electronic devices if the other electronic devices associated with the electronic device exist; or, if there is no other electronic device associated with the electronic device when the device temperature of the electronic device is greater than or equal to a preset temperature, backing up data in the electronic device in a cloud server associated with the electronic device or an SD card in the electronic device.
9. The apparatus of claim 6, wherein the first information comprises the status information;
the backup module is specifically configured to, when the electronic device is in a dropped state, backup data in the electronic device in an SD card if the electronic device includes the SD card; or, under the condition that the electronic device is in a falling state, if the electronic device does not include an SD card, backing up data in the electronic device in a cloud server or other electronic devices associated with the electronic device.
10. The apparatus of any of claims 6 to 9, wherein the data backup apparatus further comprises: an adjustment module;
the obtaining module is further configured to obtain a network state of the electronic device before the backup module backs up the first content in the electronic device in a corresponding first manner according to the first information;
the adjusting module is used for adjusting the backup priority of the cloud server and the backup priority of the other electronic equipment under the condition that the network state meets the preset network condition.
CN202111480800.4A 2021-12-06 2021-12-06 Data backup method and electronic equipment Pending CN114296997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111480800.4A CN114296997A (en) 2021-12-06 2021-12-06 Data backup method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111480800.4A CN114296997A (en) 2021-12-06 2021-12-06 Data backup method and electronic equipment

Publications (1)

Publication Number Publication Date
CN114296997A true CN114296997A (en) 2022-04-08

Family

ID=80965985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111480800.4A Pending CN114296997A (en) 2021-12-06 2021-12-06 Data backup method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114296997A (en)

Similar Documents

Publication Publication Date Title
EP3531290B1 (en) Data backup method, apparatus, electronic device, storage medium, and system
US20170187566A1 (en) Alerting Method and Mobile Terminal
AU2019204877B2 (en) Method for interaction between terminal and network device, and terminal
CA2854275C (en) Server-side rate-limiting algorithms for piggybacking social updates for mobile devices
CN110673913B (en) Notification message display method and mobile terminal
CN106506820B (en) Backup method and device for mobile terminal data
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
CN107562539B (en) Application program processing method and device, computer equipment and storage medium
CN110881212B (en) Method and device for saving power of equipment, electronic equipment and medium
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN110837343B (en) Snapshot processing method and device and terminal
CN108446207B (en) Method, device and system for evaluating disaster tolerance capability of computer system
US20190196917A1 (en) Data backup method, storage medium, and terminal
CN111061550A (en) Task processing method, device, equipment and storage medium
CN110046013A (en) A kind of interface display method and terminal device
KR102467869B1 (en) Electronic apparatus and operating method thereof
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN108170559A (en) A kind of data back up method and terminal
CN107992378B (en) A kind of document handling method and mobile terminal
CN110505660A (en) A kind of network rate method of adjustment and terminal device
CN114296997A (en) Data backup method and electronic equipment
CN107766211B (en) Screen freezing prevention method, mobile terminal and computer readable storage medium
CN113194198B (en) Message processing method and message processing device
CN106339230B (en) Graphical interface display method and device
CN109922209A (en) A kind of photo management method and terminal device

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