CN109344002B - Data loss prevention method and data loss prevention device - Google Patents

Data loss prevention method and data loss prevention device Download PDF

Info

Publication number
CN109344002B
CN109344002B CN201811002872.6A CN201811002872A CN109344002B CN 109344002 B CN109344002 B CN 109344002B CN 201811002872 A CN201811002872 A CN 201811002872A CN 109344002 B CN109344002 B CN 109344002B
Authority
CN
China
Prior art keywords
data
target object
electronic equipment
sub
loss prevention
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811002872.6A
Other languages
Chinese (zh)
Other versions
CN109344002A (en
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811002872.6A priority Critical patent/CN109344002B/en
Publication of CN109344002A publication Critical patent/CN109344002A/en
Application granted granted Critical
Publication of CN109344002B publication Critical patent/CN109344002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a data loss prevention method and a data loss prevention device. The data loss prevention method is used for preventing the electronic equipment from data loss caused by water inflow, and comprises the following steps: detecting whether the electronic equipment is in a water inlet state; when the electronic equipment is in a water inlet state, measuring the water inlet amount of the electronic equipment; and when the water inflow of the electronic equipment is greater than a first preset threshold value, disconnecting the power supply of the electronic equipment, and sending the pre-backed up data to a target object in a preset mode. The technical scheme of this application helps solving the data loss problem that electronic equipment leads to owing to intaking.

Description

Data loss prevention method and data loss prevention device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data loss prevention method and a data loss prevention device.
Background
Along with the progress of science and technology, the importance of electronic equipment such as mobile phones and tablet computers in the work and life of people is higher and higher, the dependence degree of the daily life of people on the electronic equipment such as the mobile phones and the tablet computers is higher and higher, and the situation that the electronic equipment is damaged due to an unexpected situation is more and more. When the electronic device cannot be started due to an unexpected situation, important data stored in the electronic device may be lost, which sometimes brings great loss to a user.
Disclosure of Invention
The application provides a data loss prevention method, which is used for preventing data loss of electronic equipment caused by water inflow, and comprises the following steps:
detecting whether the electronic equipment is in a water inlet state;
when the electronic equipment is in a water inlet state, measuring the water inlet amount of the electronic equipment;
and when the water inflow of the electronic equipment is greater than a first preset threshold value, disconnecting the power supply of the electronic equipment, and sending the pre-backed up data to a target object in a preset mode.
The data loss prevention method comprises the steps of firstly detecting whether electronic equipment is in a water inlet state at present, and measuring the water inlet amount of the electronic equipment when the electronic equipment is detected to be in the water inlet state; and when the current water inflow of the electronic equipment is judged to be larger than a first preset threshold value, the power supply of the electronic equipment is disconnected, and the pre-backed up data is sent to a target object in a preset mode. Therefore, the technical scheme of this application can solve the data loss problem that electronic equipment leads to owing to intaking, and further, when judging current inflow of electronic equipment is greater than first preset threshold value, the disconnection electronic equipment's power, consequently, the problem that electronic equipment burns out owing to intaking the main circuit board that leads to can also be solved to the technical scheme of this application.
The application also provides a data loss prevention device for prevent that electronic equipment from losing because the data that intake leads to, the data loss prevention device includes:
the first detection module is used for detecting whether the electronic equipment is in a water inlet state;
the measuring module is used for measuring the water inflow of the electronic equipment when the electronic equipment is in a water inflow state;
and the disconnection sending module is used for disconnecting the power supply of the electronic equipment and sending the pre-backed up data to the target object in a preset mode when the water inflow of the electronic equipment is greater than a first preset threshold value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a data loss prevention method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present application.
Fig. 3 is a partial flowchart corresponding to step S300 in the first embodiment of the present application.
Fig. 4 is another partial flowchart corresponding to step S300 in the first embodiment of the present application.
Fig. 5 is a flowchart of a data loss prevention method according to the second embodiment of the present application.
Fig. 6 is a flowchart of a data loss prevention method according to a third embodiment of the present application.
Fig. 7 is a flowchart of a data loss prevention method according to the fourth embodiment of the present application.
Fig. 8 is a schematic structural diagram of a data loss prevention device according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a disconnection and transmission module in a data loss prevention device according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of another disconnection and transmission module in a data loss prevention device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a data loss prevention device according to a second embodiment of the present application.
Fig. 12 is a schematic structural diagram of a data loss prevention device according to a third embodiment of the present application.
Fig. 13 is a schematic structural diagram of a data loss prevention device according to a fourth embodiment of the present application.
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 only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive effort based on the embodiments in the present application are within the scope of protection of the present application.
Referring to fig. 1 and fig. 2 together, fig. 1 is a flowchart of a data loss prevention method according to an embodiment of the present application. Fig. 2 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present application. In this embodiment, the data loss prevention method includes, but is not limited to, steps S100, S200, and S300, and the following details are provided with respect to steps S100, S200, and S300.
S100: it is detected whether the electronic device 10 is in a water flooding state.
S200: when the electronic device 10 is in a water inlet state, measuring the water inlet amount of the electronic device 10.
S300: and when the water inflow of the electronic equipment 10 is greater than a first preset threshold value, disconnecting the power supply of the electronic equipment 10, and sending the pre-backed up data to a target object in a preset mode.
Alternatively, the electronic device 10 may be any device having communication and storage functions. For example: the system comprises intelligent equipment with a network function, such as a tablet Computer, a mobile phone, an electronic reader, a remote controller, a Personal Computer (PC), a notebook Computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
Specifically, electronic equipment 10 includes humidity transducer 101, processor 102, first power 103, memory 104 and main circuit board 105, humidity transducer 101 is used for detecting whether electronic equipment 10 is in the state of intaking, works as humidity transducer 101 detects electronic equipment 10 is in the state of intaking and when the inflow is greater than first preset threshold, humidity transducer 101 sends first signal, processor 102 receives first signal and according to first signal control first power 103 disconnects, in order to cut off first power 103 is the power supply route of main circuit board 105, and will backup in advance data transmission to the target object in the memory 104.
Further, the processor 102 may be a Central Processing Unit (CPU), and the processor 102 determines whether to disconnect the electronic device 10 according to the water inlet state detected by the humidity sensor 101 and the amount of the inlet water, so as to cut off the power supply path from the first power supply 103 to the main circuit board 105. When the electronic device 10 is in a water inlet state and the water inlet amount is greater than a first preset threshold value, the processor 102 controls the first power supply 103 to be disconnected, so that the main circuit board 105 of the electronic device 10 can be prevented from being burned out, and power-off protection is performed on the main circuit board 105. Meanwhile, the processor 102 controls the data which is backed up in the memory 104 in advance to be sent to the target object, so that the problem of data loss of the electronic equipment 10 due to water inflow is solved.
Optionally, the target object may be another electronic device associated with the electronic device 10, and may also be a preset mailbox address, a network disk address, a cloud server, and the like.
The first power supply 103 is a power supply of the main circuit board 105 in the electronic device 10. The memory 104 includes a data backup module, which is configured to store data, and when the water inflow of the electronic device 10 is greater than a first preset threshold, the processor 102 controls the data backup module to send pre-stored data to a target object.
In the embodiment, for example, assuming that the first preset threshold is 20ml, when the humidity sensor 101 detects that the water inflow of the electronic device 10 reaches 20ml, the processor 102 controls to cut off the power supply path from the first power supply 103 to the main circuit board 105, so as to avoid a situation that the main circuit board 105 of the electronic device 10 is broken due to water inflow, and thus the main circuit board 105 is burned out. Meanwhile, the processor 102 controls the electronic device 10 to transmit data stored in advance on the memory 104 to the target object, so that the problem of data loss of the electronic device 10 due to water inflow can be further prevented.
The memory 104 has a second power source 1020, the second power source 1020 and the first power source 103 are independent of each other, and the memory 104 and the second power source 1020 are waterproof. The second power supply 1020 is used to provide power to the memory 104 in order to maintain the memory 104 transmitting data to a target object.
Optionally, in a preferred embodiment, the target object includes a first sub-target object and a second sub-target object, the first sub-target object is used for receiving and storing first level data, and the second sub-target object is used for receiving and storing second level data, where a receiving speed of the first sub-target object to the data is greater than a receiving speed of the second sub-target object to the data, a capacity of the first sub-target object to the data is greater than a capacity of the second sub-target object to the data, and an importance level of the first level data is higher than an importance level of the second level data. When the electronic equipment 10 is detected to be in a water inlet state and the current water inlet amount of the electronic equipment 10 is larger than a first preset threshold value, the pre-backed up first-level data and second-level data are simultaneously sent to a first sub-target object and a second sub-target object in a preset mode, so that the first sub-target object stores and protects the first-level data, and the second sub-target object stores and protects the second-level data.
Optionally, in another preferred embodiment, when the first sub-target object has insufficient capacity for the first level data, the receiving and storing of the second level data is abandoned, and the second level data which has been received and stored is automatically cleared, so as to release the storage space of the second sub-target object. And when the first sub-target object cannot continuously receive and store the first-level data, sending the remaining first-level data to the second sub-target object, so that the second sub-target object stores and protects the remaining first-level data, thereby being beneficial to preventing the first-level data from being lost.
The data loss prevention method provided by the technical scheme comprises the steps of firstly detecting whether the electronic equipment 10 is in a water inlet state at present, and measuring the water inlet amount of the electronic equipment 10 when the electronic equipment 10 is detected to be in the water inlet state; and when the current water inflow of the electronic equipment 10 is judged to be larger than a first preset threshold value, disconnecting the first power supply 103 of the electronic equipment 10, and sending the pre-backed up data to a target object in a preset mode. Therefore, the technical scheme of the application can solve the problem that the data of the electronic device 10 is lost due to water inflow, and further, when the current water inflow of the electronic device 10 is judged to be greater than a first preset threshold value, the first power supply 103 of the electronic device 10 is disconnected, so that the problem that the main circuit board 105 of the electronic device 10 is burnt out due to water inflow can also be solved.
Referring to fig. 2 and fig. 3 together, fig. 3 is a partial flowchart corresponding to step S300 in the first embodiment of the present application. The "sending the pre-backed up data to the target object in a preset manner" includes, but is not limited to, steps S310, S320, and S330, and the steps S310, S320, and S330 are described in detail as follows.
S310: and sending the backed-up first-level data to the target object.
S320: after the first class data is sent, it is detected whether the water inflow of the electronic device 10 is greater than a second preset threshold.
Optionally, in a preferred embodiment, in the process of sending the first-level data to the target object, after it is determined that the target object has received the first-level data, the sent first-level data stored in the memory 104 is deleted in real time, so that the first-level data is prevented from being leaked, and the security level of the first-level data is further improved.
S330: when the water inflow of the electronic device 10 is greater than a second preset threshold, sending the backed-up second-level data to a target object, wherein the importance of the first-level data is greater than that of the second-level data, and the first preset threshold is greater than the second preset threshold.
In this embodiment, for example, assuming that the first preset threshold is 20ml and the second preset threshold is 15ml, when it is detected that the electronic device 10 is in a water inlet state and the current water inlet amount of the electronic device 10 is reduced from 20ml to 15ml, at this time, the second level data is sent to the target object for storage and backup, so that the first level data is preferentially stored and protected, and then the second level data is stored and protected, so that the important data is preferentially stored and protected, which is helpful for avoiding the loss of the important data due to water inlet of the electronic device.
Optionally, the first-level data may be address book information, short message information, address book information in social software, a photo, a memo and the like. The second level data can be account numbers and passwords of notebooks, payment software, shopping software and other member account numbers and passwords.
Optionally, in an embodiment, when it is detected that the electronic device 10 is in a water inlet state and the current water inlet amount of the electronic device 10 is greater than a first preset threshold, the first-level data is preferentially sent to the target object, where an importance level of the first-level data is higher, so that the first-level data is preferentially protected. After the first-level data are sent to the target object, whether the current water inflow of the electronic equipment 10 is larger than a second preset threshold and smaller than or equal to a first preset threshold is judged, and when the current water inflow of the electronic equipment 10 is larger than the second preset threshold and smaller than or equal to the first preset threshold, the backed-up second-level data are sent to the target object, wherein the importance level of the second-level data is lower than that of the first-level data, so that the second-level data are protected after the first-level data.
Optionally, in another embodiment, when it is detected that the electronic device 10 is in a water inlet state and the current water inlet amount of the electronic device 10 is greater than a first preset threshold, the first-level data is preferentially sent to the target object, where an importance level of the first-level data is higher, so that the first-level data is preferentially protected. And in the process of sending the first-grade data to the target object, monitoring the current water inlet state and water inlet amount of the electronic equipment 10 in real time, and when the current water inlet amount of the electronic equipment 10 is larger than a second preset threshold and smaller than or equal to a first preset threshold, immediately sending the backed-up second-grade data to the target object, wherein the importance level of the second-grade data is lower than that of the first-grade data, so that the second-grade data is protected behind the first-grade data. At this time, the sending processes of the first-level data and the second-level data are executed in parallel, so that the sending and storing efficiency of the first-level data and the second-level data can be improved, and the situation that the second-level data is lost or even the first-level data is lost due to insufficient electric quantity of the memory 104 is avoided. Therefore, the technical scheme improves the sending and storing efficiency of the first-grade data and the second-grade data and reduces the probability of data loss.
Referring to fig. 2, fig. 3 and fig. 4, fig. 4 is another partial flowchart corresponding to step S300 in the first embodiment of the present application. The "sending the pre-backed up data to the target object in the preset manner" includes step S340 in addition to steps S310 and S320, and the detailed description about step S340 is as follows.
S340: when the water inflow of the electronic equipment 10 is detected to be smaller than or equal to a second preset threshold, the transmission of the backed-up second-level data to the target object is stopped, and the transmitted first-level data is deleted.
Specifically, when it is detected that the water inflow of the electronic device 10 is reduced from being greater than the second preset threshold to being less than or equal to the second preset threshold, the electronic device 10 is considered to be in the safe state, and the electronic device 10 is considered to have no risk of data loss. At this time, the sending of the pre-backed up remaining second level data to the target object is stopped, so as to avoid the electronic device from generating extra power consumption. At the same time, the first-level data that has been sent out is deleted from the memory 104 to free up the storage space of the memory 104, so that the memory 104 can store more second-level data.
Referring to fig. 1, fig. 2 and fig. 5 together, fig. 5 is a flowchart of a data loss prevention method according to a second embodiment of the present application. In this embodiment, the data loss prevention method further includes step S400 in addition to steps S100 and S200, and the details about step S400 are described as follows.
S400: when the water inflow of the electronic device 10 is less than or equal to a first preset threshold, the power of the electronic device 10 is turned on, and the electronic device 10 is controlled to send first indication information, where the first indication information is used for indicating a user that the electronic device 10 is currently in a water inflow state, and the first indication information includes any one or more of ringing information, vibration information, or flash light information.
Specifically, in the present embodiment, when it is detected that the electronic device 10 is in the water inlet state and the water inlet amount is less than or equal to the first preset threshold, the electronic device 10 is considered to be safe, and there is no situation of burning out the main circuit board 105 of the electronic device 10, so that the problem of burning out the main circuit board 105 of the electronic device 10 is not considered, and the problem of losing and searching the electronic device 10 needs to be considered in a critical way. Considering that the electronic device may fall into a sewage ditch, that is, the water may be relatively turbid, which is convenient for the user to find in time, and is convenient for the user to quickly find the electronic device 10, at this time, the electronic device 10 is controlled to send the first indication information to indicate that the user is currently in the water inlet state of the electronic device 10. Wherein the first indication information includes any one or more of ring information, vibration information or flash information.
Further, when the user is in a relatively noisy environment, such as: in the riding process, the first indication information may be difficult to receive, and at this time, the type of the first indication information can be adaptively adjusted according to the current state of the user. For example, when it is detected that the current environment of the user is quiet, the vibration information is preferably used to prompt the user that the electronic device 10 is in a water-in state. When it is detected that the current environment of the user is noisy, the ringing information is preferentially adopted to prompt the user that the electronic device 10 is in a water-in state, or the ringing state, the vibration state and the flash state are simultaneously turned on. When the current environment of the user is detected to be dark, the flash lamp information is preferentially adopted to prompt the user that the electronic equipment 10 is in the water inlet state.
Referring to fig. 1, fig. 2 and fig. 6 together, fig. 6 is a flowchart of a data loss prevention method according to a third embodiment of the present application. The method of the third embodiment is substantially the same as the method of the first embodiment, except that in this embodiment, the data loss prevention method further includes a step S500 after the step S300, except that the data loss prevention method includes the steps S100, S200, and S300, and the details regarding the step S500 are described below.
S500: deleting the data which is backed up in advance, and making the deleted data unrepairable.
Specifically, in the present embodiment, after all the pre-backed up data are sent to the target object, all the pre-backed up data stored in the memory 104 of the electronic device 10 are deleted, so as to avoid that the electronic device 10 is picked up by others and there is a risk of data leakage. Further, in order to prevent the deleted pre-backed up data from being restored again, it is necessary to perform non-repairability processing on the deleted pre-backed up data. For example, the memory 104 for storing the pre-backed up data is directly destroyed, so that the deleted pre-backed up data disappears forever and cannot be repaired again, thereby further improving the security of the data and reducing the risk of data leakage.
The direct destruction of the memory 104 may be implemented by installing an auto-detonation system on the memory 104, sending a detonation signal to the auto-detonation system after detecting that all data stored in the memory 104 is sent to the target object, and initiating detonation to directly destroy the memory 104 for storing data after the auto-detonation system receives the detonation signal.
Referring to fig. 1, fig. 2 and fig. 7 together, fig. 7 is a flowchart of a data loss prevention method according to a fourth embodiment of the present application. The method of the fourth embodiment is substantially the same as the method of the first embodiment, except that in this embodiment, the data loss prevention method further includes, but is not limited to, steps S60 and S80 before step S100, except that the method includes steps S100, S200 and S300, and the details regarding steps S60 and S80 are described below.
S60: it is detected whether the electronic device 10 is in a dropped state.
S80: when the electronic device 10 is in a falling state, indicating the starting time and the ending time of the falling state of the electronic device 10 and the falling position of the electronic device 10.
Specifically, the electronic device 10 includes a gravity sensor, the gravity sensor is configured to detect whether the electronic device 10 is in a weightlessness state, and when the electronic device 10 is detected in the weightlessness state, the electronic device 10 is considered to be in a falling state, at this time, the processor 102 controls to send a preset signal to indicate a start time and an end time of the falling state of the electronic device 10 and a falling position of the electronic device 10, and send the information to a preset target to inform a user of the falling time and the falling place of the electronic device 10 after the user falls, which is helpful for solving a loss prevention problem after the electronic device 10 falls.
Optionally, when the gravity sensor detects that the current gravitational acceleration of the electronic device 10 is 10m/s2When the electronic device 10 is in the weightless state, the electronic device starts falling, and the electronic device records the weight lossThe fall onset time at this time. When the important sensor detects that the current gravitational acceleration of the electronic device 10 is suddenly changed and finally becomes 0, the falling state of the electronic device 10 is considered to be finished, and the falling end time at the moment is recorded.
Optionally, detecting the falling position of the electronic device 10 may be implemented by a Global Positioning System (GPS), and when it is detected that the electronic device 10 enters a collision state after falling, it is considered that the electronic device 10 has fallen, and at this time, the Global Positioning System of the electronic device 10 is triggered to be turned on, so as to record the current position information of the electronic device 10.
Referring to fig. 2 and 8 together, fig. 8 is a schematic structural diagram of a data loss prevention device according to an embodiment of the present application. In this embodiment, the data loss prevention apparatus 20 is used for preventing the electronic device 10 from data loss caused by water inflow, and includes, but is not limited to, the first detection module 201, the measurement module 220, and the disconnection and transmission module 230, which are described below with respect to the first detection module 201, the measurement module 220, and the disconnection and transmission module 230.
The first detecting module 201 is configured to detect whether the electronic device 10 is in a water inlet state.
The measuring module 220 is configured to measure a water inflow of the electronic device 10 when the electronic device 10 is in a water inflow state.
The disconnection and transmission module 230 is configured to, when the water inflow of the electronic device 10 is greater than a first preset threshold, disconnect the power supply of the electronic device 10, and transmit pre-backed up data to a target object in a preset manner.
Alternatively, the electronic device 10 may be any device having communication and storage functions. For example: the system comprises intelligent equipment with a network function, such as a tablet Computer, a mobile phone, an electronic reader, a remote controller, a Personal Computer (PC), a notebook Computer, vehicle-mounted equipment, a network television, wearable equipment and the like.
In this embodiment, the first detection module 201 may be a humidity sensor of the electronic device 10. The measurement module 220 and the disconnection and transmission module 230 may be performed by a processor of the electronic device 10.
The data loss prevention device provided by the technical scheme comprises the steps of firstly detecting whether the electronic equipment 10 is in a water inlet state at present, and measuring the water inlet amount of the electronic equipment 10 when the electronic equipment 10 is detected to be in the water inlet state; and when the current water inflow of the electronic equipment 10 is judged to be larger than a first preset threshold value, disconnecting the first power supply 103 of the electronic equipment 10, and sending the pre-backed up data to a target object in a preset mode. Therefore, the technical scheme of the application can solve the problem that the data of the electronic device 10 is lost due to water inflow, and further, when the current water inflow of the electronic device 20 is judged to be greater than a first preset threshold value, the first power supply 103 of the electronic device 10 is disconnected, so that the problem that the main circuit board 105 of the electronic device 10 is burnt out due to water inflow can also be solved.
Referring to fig. 2, fig. 7 and fig. 9 together, fig. 9 is a schematic structural diagram of a disconnection and transmission module in a data loss prevention device according to an embodiment of the present application. In this embodiment, the disconnection and transmission module 230 includes, but is not limited to, a first transmission module 231, a second detection module 202, and a second transmission module 232, and the description about the first transmission module 231, the second detection module 202, and the second transmission module 232 is as follows.
And a first sending module 231, configured to send the backed-up first-level data to the target object.
The second detecting module 202 is configured to detect whether the water inflow of the electronic device 10 is greater than a second preset threshold after the first class data is sent.
The second sending module 232 is configured to send the backed-up second level data to the target object when the water inflow of the electronic device 10 is greater than a second preset threshold, where the importance of the first level data is greater than the importance of the second level data, and the first preset threshold is greater than the second preset threshold.
Alternatively, the functions of the first sending module 231, the second detecting module 202 and the second sending module 232 may be implemented by a processor of the electronic device 10.
Referring to fig. 2, fig. 9 and fig. 10 together, fig. 10 is a schematic structural diagram of another disconnection and transmission module in a data loss prevention device according to an embodiment of the present application. In this embodiment, the disconnection and transmission module 230 includes, but is not limited to, a first deletion module 233 in addition to the first transmission module 231 and the second detection module 202, and the first deletion module 233 is described as follows.
The first deleting module 233 is configured to, when the water inflow of the electronic device 10 is less than or equal to a second preset threshold, stop sending the backed-up second level data to the target object, and delete the sent first level data.
Alternatively, the function of first deletion module 233 may be implemented by a processor of electronic device 10.
Referring to fig. 2, fig. 7 and fig. 11 together, fig. 11 is a schematic structural diagram of a data loss prevention device according to a second embodiment of the present application. The structure of the second embodiment is substantially the same as that of the first embodiment, except that in this embodiment, the data loss prevention device 20 includes, in addition to the first detection module 201 and the measurement module 220, the data loss prevention device 20 further includes, but is not limited to, an opening and sending module 240, and the following description is provided for the opening and sending module 240.
The starting and sending module 240 is configured to, when the water inflow of the electronic device 10 is less than or equal to a first preset threshold, start a power supply of the electronic device 10, and control the electronic device 10 to send first indication information, where the first indication information is used to indicate a user that the electronic device 10 is currently in a water inflow state, where the first indication information includes any one or more of ring information, vibration information, or flash information.
Alternatively, the functions of the opening and sending module 240 may be implemented by a processor of the electronic device 10.
Referring to fig. 2, fig. 7 and fig. 12 together, fig. 12 is a schematic structural diagram of a data loss prevention device according to a third embodiment of the present application. The third embodiment has a structure substantially the same as that of the first embodiment, except that in this embodiment, the data loss prevention device 20 further includes, but is not limited to, a second deleting module 250 in addition to the first detecting module 201, the measuring module 220 and the disconnecting and sending module 230, and the second deleting module 250 is described as follows.
A second deleting module 250, configured to delete the pre-backed up data and make the deleted data unrepairable.
Alternatively, the functions of the second deletion module 250 may be implemented by a processor of the electronic device 10.
Referring to fig. 2, fig. 7 and fig. 13 together, fig. 13 is a schematic structural diagram of a data loss prevention device according to a fourth embodiment of the present application. The structure of the fourth embodiment is substantially the same as that of the first embodiment, except that in this embodiment, the data loss prevention device 20 further includes, but is not limited to, a third detection module 60 and an indication module 80 in addition to the first detection module 201, the measurement module 220 and the disconnection and transmission module 230, and the third detection module 60 and the indication module 80 are described as follows.
And a third detecting module 60, configured to detect whether the electronic device 10 is in a falling state.
The indication module 80 is configured to indicate a start time and an end time of a falling state of the electronic device 10 and a falling position of the electronic device 10 when the electronic device 10 is in the falling state.
Alternatively, the functions of the third detection module 60 and the indication module 80 may be implemented by a processor of the electronic device 10.
Embodiments of the present application also provide an electronic device, including one or more processors, one or more memories, and one or more programs stored in the memories and configured to be executed by the one or more processors, the programs including instructions for performing the steps in the data loss prevention method as described above.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any data loss prevention method as described in the above data loss prevention method embodiments, and the computer includes a data loss prevention device.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform part or all of the steps of any of the methods as set forth in the above embodiments of the data loss prevention method. The computer program product may be a software installation package, said computer comprising data loss prevention means.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A data loss prevention method is used for preventing data loss of an electronic device due to water inflow, and is characterized by comprising the following steps:
detecting whether the electronic equipment is in a water inlet state;
when the electronic equipment is in a water inlet state, measuring the water inlet amount of the electronic equipment;
when the water inflow of the electronic equipment is larger than a first preset threshold value, the power supply of the electronic equipment is disconnected, and the pre-backed up first grade data and second grade data are simultaneously sent to a target object in a preset mode;
the target object comprises a first sub-target object and a second sub-target object, the first sub-target object is used for receiving and storing the first level data, the second sub-target object is used for receiving and storing the second level data, the receiving speed of the first sub-target object to the data is larger than that of the second sub-target object to the data, the data accommodating capacity of the first sub-target object is larger than that of the second sub-target object, and the importance level of the first level data is higher than that of the second level data; and when the first sub-target object has insufficient capacity for the first-level data, abandoning the reception and storage of the second-level data, automatically clearing the received and stored second-level data, and when the first sub-target object cannot continuously receive and store the first-level data, sending the remaining first-level data to a second sub-target object so that the second sub-target object stores the remaining first-level data.
2. The data loss prevention method according to claim 1, wherein the sending the pre-backed up data to the target object in a preset manner includes:
sending the backed-up first-level data to a target object;
after the first grade data are sent, detecting whether the water inflow of the electronic equipment is larger than a second preset threshold value;
and when the water inflow of the electronic equipment is greater than a second preset threshold value, sending the backed-up second grade data to a target object, wherein the importance of the first grade data is greater than that of the second grade data, and the first preset threshold value is greater than the second preset threshold value.
3. The data loss prevention method according to claim 2, wherein when it is detected that the water inflow of the electronic device is less than or equal to a second preset threshold, the transmission of the backed-up second-level data to the target object is stopped, and the first-level data which has been completely transmitted is deleted.
4. The data loss prevention method according to claim 1, wherein when a water inflow of an electronic device is less than or equal to a first preset threshold, a power supply of the electronic device is turned on, and the electronic device is controlled to send first indication information, wherein the first indication information is used for indicating that the electronic device is currently in a water inflow state, and the first indication information includes any one or more of ringing information, vibration information or flash information.
5. The data loss prevention method according to claim 1, wherein after "sending the pre-backed up data to the target object in a preset manner", the data loss prevention method further comprises:
deleting the data which is backed up in advance, and making the deleted data unrepairable.
6. The data loss prevention method of claim 1, wherein prior to said detecting whether the electronic device is in a water flooding state, the data loss prevention method further comprises:
detecting whether the electronic equipment is in a falling state;
when the electronic equipment is in a falling state, indicating the starting time and the ending time of the falling state of the electronic equipment and the falling position of the electronic equipment.
7. A data loss prevention device for preventing data loss of an electronic device due to water inflow, the data loss prevention device comprising:
the first detection module is used for detecting whether the electronic equipment is in a water inlet state;
the measuring module is used for measuring the water inflow of the electronic equipment when the electronic equipment is in a water inflow state;
the disconnection and transmission module is used for disconnecting the power supply of the electronic equipment when the water inflow of the electronic equipment is greater than a first preset threshold value, and simultaneously transmitting the pre-backed up first grade data and second grade data to a target object in a preset mode;
the target object comprises a first sub-target object and a second sub-target object, the first sub-target object is used for receiving and storing the first level data, the second sub-target object is used for receiving and storing the second level data, the receiving speed of the first sub-target object to the data is larger than that of the second sub-target object to the data, the data accommodating capacity of the first sub-target object is larger than that of the second sub-target object, and the importance level of the first level data is higher than that of the second level data; and when the first sub-target object has insufficient capacity for the first-level data, abandoning the reception and storage of the second-level data, automatically clearing the received and stored second-level data, and when the first sub-target object cannot continuously receive and store the first-level data, sending the remaining first-level data to a second sub-target object so that the second sub-target object stores the remaining first-level data.
8. The data loss prevention device of claim 7, wherein the disconnection and transmission module comprises:
the first sending module is used for sending the backed-up first-level data to the target object;
the second detection module is used for detecting whether the water inflow of the electronic equipment is larger than a second preset threshold value or not after the first grade data is sent;
and the second sending module is used for sending the backed-up second grade data to a target object when the water inflow of the electronic equipment is greater than a second preset threshold, wherein the importance of the first grade data is greater than that of the second grade data, and the first preset threshold is greater than the second preset threshold.
9. The data loss prevention device of claim 8, wherein the disconnection and transmission module further comprises:
and the first deleting module is used for stopping sending the backed-up second level data to the target object and deleting the sent first level data when the water inflow of the electronic equipment is less than or equal to a second preset threshold value.
10. The data loss prevention apparatus of claim 7, wherein the data loss prevention apparatus further comprises:
the electronic equipment comprises a starting and sending module, a power supply and a control module, wherein the starting and sending module is used for starting the power supply of the electronic equipment when the water inflow of the electronic equipment is smaller than or equal to a first preset threshold value, and controlling the electronic equipment to send first indication information, the first indication information is used for indicating a user, and the electronic equipment is currently in a water inflow state, wherein the first indication information comprises any one or more of ringing information, vibration information or flash lamp information.
11. The data loss prevention apparatus of claim 7, wherein the data loss prevention apparatus further comprises:
and the second deleting module is used for deleting the data which is backed up in advance and enabling the deleted data not to be repaired.
12. The data loss prevention apparatus of claim 7, wherein the data loss prevention apparatus further comprises:
the third detection module is used for detecting whether the electronic equipment is in a falling state;
the electronic equipment comprises an indication module, a control module and a display module, wherein the indication module is used for indicating the starting time and the ending time of the falling state of the electronic equipment and the falling position of the electronic equipment when the electronic equipment is in the falling state.
CN201811002872.6A 2018-08-30 2018-08-30 Data loss prevention method and data loss prevention device Active CN109344002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811002872.6A CN109344002B (en) 2018-08-30 2018-08-30 Data loss prevention method and data loss prevention device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811002872.6A CN109344002B (en) 2018-08-30 2018-08-30 Data loss prevention method and data loss prevention device

Publications (2)

Publication Number Publication Date
CN109344002A CN109344002A (en) 2019-02-15
CN109344002B true CN109344002B (en) 2021-01-29

Family

ID=65292360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811002872.6A Active CN109344002B (en) 2018-08-30 2018-08-30 Data loss prevention method and data loss prevention device

Country Status (1)

Country Link
CN (1) CN109344002B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126783A (en) * 2019-12-30 2021-07-16 安徽华米信息科技有限公司 Terminal device control method and device and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750205A (en) * 2012-06-12 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Data backup method of mobile terminals and mobile terminal
CN102984319A (en) * 2012-12-26 2013-03-20 上海华勤通讯技术有限公司 Mobile terminal and moistness protection method thereof
CN103516779A (en) * 2012-06-15 2014-01-15 Lg电子株式会社 Mobile terminal and method for controlling mobile terminal
CN103761163A (en) * 2014-01-14 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data loss preventing method and data loss preventing device
CN104461405A (en) * 2015-01-07 2015-03-25 联想(北京)有限公司 Data emergency protection method and electronic device
CN108111625A (en) * 2018-01-02 2018-06-01 广东欧珀移动通信有限公司 Data transmission method and related product

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5708589A (en) * 1996-04-08 1998-01-13 Vaughn Manufacturing Corporation Error recovery system for an energy controller for an electric water heater
CN104035835A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Information processing method and electronic devices
CN104008027B (en) * 2014-05-06 2017-12-29 可牛网络技术(北京)有限公司 Data back up method, device and the mobile terminal of mobile terminal
CN105825153B (en) * 2016-03-17 2018-09-21 广东欧珀移动通信有限公司 A kind of mobile terminal guard method and device
CN108307072A (en) * 2018-01-31 2018-07-20 广东欧珀移动通信有限公司 Electronic device falls based reminding method and Related product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750205A (en) * 2012-06-12 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Data backup method of mobile terminals and mobile terminal
CN103516779A (en) * 2012-06-15 2014-01-15 Lg电子株式会社 Mobile terminal and method for controlling mobile terminal
CN102984319A (en) * 2012-12-26 2013-03-20 上海华勤通讯技术有限公司 Mobile terminal and moistness protection method thereof
CN103761163A (en) * 2014-01-14 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data loss preventing method and data loss preventing device
CN104461405A (en) * 2015-01-07 2015-03-25 联想(北京)有限公司 Data emergency protection method and electronic device
CN108111625A (en) * 2018-01-02 2018-06-01 广东欧珀移动通信有限公司 Data transmission method and related product

Also Published As

Publication number Publication date
CN109344002A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
US9876702B2 (en) Determining the context of a computing device
TWI439079B (en) System for remotely erasing data, method, server, and mobile device thereof, and computer program product
US20130335223A1 (en) Electronics theft deterrent system
CN109344002B (en) Data loss prevention method and data loss prevention device
CN109639875B (en) Electronic equipment falling water protection method and device, electronic equipment and readable storage medium
TW201506853A (en) Anti-damaged alarm system and method
CN109442863A (en) A kind of car refrigerator control method, system, equipment and car refrigerator
WO2018126884A1 (en) Power saving method for terminal device and terminal device
WO2017177789A1 (en) Anti-theft method and device for mobile terminal
CN108762983B (en) Multimedia data recovery method and device
JP4634745B2 (en) mobile phone
CN101315656A (en) Information processing apparatus
CN103067556A (en) Handling method, terminal and system of privacy information
CN102984647B (en) Method of performing a data transaction between a portable storage device and an electronic device
CN102479162A (en) Computer system and method for recording system event log
CN113961427B (en) System memory analysis method and electronic equipment
CN105138321A (en) Terminal control method and system
US20180322768A1 (en) Wearable Electronic Device Alerts
KR100919298B1 (en) Risk management integrated control system and method
KR20150116178A (en) System for safety home-coming using smart phone application and alarm
US10725852B2 (en) Computer and automatic protection method thereof
US20100308996A1 (en) Alarm system and method for detachable electronic device
CN104850551B (en) Data processing method and device and mobile terminal
CN113947877A (en) Method and device for wearable device to ask for help in emergency
JP2020004243A (en) Missing prevention unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant