CN109344002A - Data anti-loss method and data loss prevention device - Google Patents

Data anti-loss method and data loss prevention device Download PDF

Info

Publication number
CN109344002A
CN109344002A CN201811002872.6A CN201811002872A CN109344002A CN 109344002 A CN109344002 A CN 109344002A CN 201811002872 A CN201811002872 A CN 201811002872A CN 109344002 A CN109344002 A CN 109344002A
Authority
CN
China
Prior art keywords
data
electronic equipment
inflow
sent
preset threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811002872.6A
Other languages
Chinese (zh)
Other versions
CN109344002B (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

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 kind of data anti-loss method and data loss prevention device.The data anti-loss method is for preventing electronic equipment due to loss of data caused by intaking, comprising: whether detection electronic equipment is in water inlet state;When electronic equipment is in water inlet state, the inflow of the electronic equipment is measured;When the inflow of the electronic equipment is greater than the first preset threshold, the power supply of the electronic equipment is disconnected, and the data backed up in advance are sent to by target object by predetermined manner.The technical solution of the application helps to solve electronic equipment due to data loss problem caused by intaking.

Description

Data anti-loss method and data loss prevention device
Technical field
This application involves electronic technology field more particularly to a kind of data anti-loss methods and data loss prevention device.
Background technique
With the development of science and technology importance of the electronic equipments such as mobile phone, tablet computer in the work, life of people is more next Bigger, daily life is higher and higher to the degree of dependence of the electronic equipments such as mobile phone, tablet computer, since fortuitous event is led The case where sending a telegraph sub- equipment damage is also more and more.When electronic equipment leads to not booting due to fortuitous event, electronic equipment The significant data of upper preservation may have the case where losing, and bring huge loss to user sometimes.
Summary of the invention
The application provides a kind of data anti-loss method, for prevent electronic equipment due to intake caused by loss of data, The data anti-loss method includes:
Whether detection electronic equipment is in water inlet state;
When electronic equipment is in water inlet state, the inflow of the electronic equipment is measured;
When the inflow of the electronic equipment is greater than the first preset threshold, the power supply of the electronic equipment is disconnected, and logical It crosses predetermined manner and the data backed up in advance is sent to target object.
Whether data anti-loss method provided by the present application, first detection electronic equipment are currently in the state of water inlet, when When detecting that electronic equipment is in the state of water inlet, the inflow of the electronic equipment is measured;When judging that the electronic equipment works as When preceding inflow is greater than the first preset threshold, the power supply of the electronic equipment is disconnected, and will back up in advance by predetermined manner Good data are sent to target object.Therefore, the technical solution of the application can solve electronic equipment due to number caused by intaking According to the problem of loss, and further, when judging that the current inflow of the electronic equipment is greater than the first preset threshold, institute is disconnected The power supply of electronic equipment is stated, therefore, the technical solution of the application can also solve electronic equipment due to main circuit caused by intaking The problem of plate is burnt out.
The application also provides a kind of data loss prevention device, for preventing electronic equipment from losing due to data caused by intaking It loses, the data loss prevention device includes:
First detection module, for detecting whether electronic equipment is in water inlet state;
Measurement module, for measuring the inflow of the electronic equipment when electronic equipment is in water inlet state;
Sending module is disconnected, when the inflow of the electronic equipment is greater than the first preset threshold, the electronics is disconnected and sets Standby power supply, and the data backed up in advance are sent to by target object by predetermined manner.
Detailed description of the invention
It, below will be to use required in embodiment in order to illustrate more clearly of the technical solution of the application embodiment Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the application, for this field For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart for the data anti-loss method that the embodiment of the present application one provides.
Fig. 2 is the structural schematic diagram for the electronic equipment that one preferred embodiment of the application provides.
Fig. 3 is the corresponding a kind of local flow chart of step S300 in the embodiment of the present application one.
Fig. 4 is the corresponding another local flow chart of step S300 in the embodiment of the present application one.
Fig. 5 is the flow chart for the data anti-loss method that the embodiment of the present application two provides.
Fig. 6 is the flow chart for the data anti-loss method that the embodiment of the present application three provides.
Fig. 7 is the flow chart for the data anti-loss method that the embodiment of the present application four provides.
Fig. 8 is a kind of structural schematic diagram for data loss prevention device that the embodiment of the present application one provides.
Fig. 9 be the embodiment of the present application one provide a kind of data loss prevention device in it is a kind of disconnection and sending module structure Schematic diagram.
Figure 10 is another disconnection and sending module in a kind of data loss prevention device of the offer of the embodiment of the present application one Structural schematic diagram.
Figure 11 is a kind of structural schematic diagram for data loss prevention device that the embodiment of the present application two provides.
Figure 12 is a kind of structural schematic diagram for data loss prevention device that the embodiment of the present application three provides.
Figure 13 is a kind of structural schematic diagram for data loss prevention device that the embodiment of the present application four provides.
Specific embodiment
Below in conjunction with the attached drawing in the application embodiment, the technical solution in the application embodiment is carried out clear Chu is fully described by, it is clear that described embodiment is only a part of embodiment of the application, rather than whole realities Apply mode.Based on the embodiment in the application, those of ordinary skill in the art institute under that premise of not paying creative labor The every other embodiment obtained, shall fall in the protection scope of this application.
It is the flow chart for the data anti-loss method that the embodiment of the present application one provides also referring to Fig. 1 and Fig. 2, Fig. 1.Figure 2 be the structural schematic diagram for the electronic equipment that one preferred embodiment of the application provides.In the present embodiment, the anti-lost side of the data Method includes but is not limited to step S100, S200 and S300, is described in detail as follows about step S100, S200 and S300.
S100: whether detection electronic equipment 10 is in water inlet state.
S200: when electronic equipment 10 is in water inlet state, the inflow of the electronic equipment 10 is measured.
S300: when the inflow of the electronic equipment 10 is greater than the first preset threshold, the electronic equipment 10 is disconnected Power supply, and the data backed up in advance are sent to by target object by predetermined manner.
Optionally, the electronic equipment 10 can be any equipment for having communication and store function.Such as: plate electricity Brain, electronic reader, remote controler, personal computer (Personal Computer, PC), laptop, vehicle-mounted is set mobile phone Standby, Web TV, wearable device etc. have the smart machine of network function.
Specifically, the electronic equipment 10 includes humidity sensor 101, processor 102, the first power supply 103, memory 104 and main circuit board 105, the humidity sensor 101 is for detecting electronic equipment 10 whether in water inlet state, when described wet It is described wet when degree sensor 101 detects that the electronic equipment 10 is in water inlet state and inflow is greater than the first preset threshold It spends sensor 101 and issues the first signal, the processor 102 receives first signal and controls institute according to first signal The disconnection of the first power supply 103 is stated, is the supply path of main circuit board 105 to cut off first power supply 103, and will back up in advance Data are sent to target object in the memory 104.
Further, the processor 102 can be central processing unit (Central Processing Unit, CPU), The water inlet state and inflow for the electronic equipment 10 that the processor 102 is detected according to the humidity sensor 101 Number decide whether to disconnect, thus whether cut off the first power supply 103 be main circuit board 105 supply path.When the electronics When equipment 10 is in water inlet state and inflow and is greater than the first preset threshold, it is disconnected that the processor 102 controls the first power supply 103 It opens, so as to avoid the main circuit board 105 of electronic equipment 10 from burning out, power-off protection is played to main circuit board 105.It is same with this When, data of the preparatory backup in memory 104 are sent to target object by the control of processor 102, to solve electronics Equipment 10 is due to data loss problem caused by intaking.
Optionally, target object can be another electronic equipment associated with the electronic equipment 10, be also possible to The email address set, Dropbox address, cloud server etc..
Wherein, the first power supply 103 is the power supply of main circuit board 105 in electronic equipment 10.Memory 104 includes data Backup module, the data backup module for storing data, and are preset when the inflow of the electronic equipment 10 is greater than first When threshold value, the processor 102 controls the data backup module and the data being stored in advance is sent to target object.
In the present embodiment, for example, it is assumed that the first preset threshold is 20ml, when the humidity sensor 101 is examined When measuring the inflow of the electronic equipment 10 and reaching 20ml, the control of processor 102 first power supply 103 of cutting is main circuit The supply path of plate 105 to avoid the main circuit board 105 of electronic equipment 10 since water inlet leads to open circuit, and then causes main electricity The case where road plate 105 is burnt out.At the same time, processor 102 controlling electronic devices 10 will store on memory 104 in advance Data are sent to target object, to can further prevent electronic equipment 10 due to data loss problem caused by intaking.
Wherein, the memory 104 has second source 1020, the second source 1020 and first power supply 103 Independently of each other, and the memory 104 and the equal waterproof of the second source 1020.The second source 1020 is used to deposit to be described Reservoir 104 provides electric energy, in order to maintain the memory 104 to send data to target object.
Optionally, in a better embodiment, the target object includes the first sub-goal object and the second sub-goal Object, the first sub-goal object is for receiving and storing the first estate data, and the second sub-goal object is for receiving With store the second level data, wherein the reception speed of the first sub-goal objects on data be greater than the second sub-goal object logarithm According to reception speed, and the saturation of the first sub-goal objects on data be greater than the second sub-goal objects on data saturation, The severity level of the first estate data is higher than the severity level of the second level data.When detect electronic equipment 10 be in water inlet shape State, and when the current inflow of electronic equipment 10 is greater than the first preset threshold, first will backed up in advance by predetermined manner Level data and the second level data are sent to the first sub-goal object and the second sub-goal object simultaneously, so that the first specific item Mark object is stored and is protected to the first estate data, and the second sub-goal object is stored and protected to the second level data Shield.
Optionally, in another better embodiment, when the first sub-goal object to the saturations of the first estate data not When sufficient, at this point, abandoning the reception and storage to the second level data, and received and storage the second level data is automatic It removes, in order to release the memory space of the second sub-goal object.Until the first sub-goal object can not continue to When with storage the first estate data, remaining the first estate data are sent to the second sub-goal object, so that the second specific item Mark object is stored and is protected to remaining the first estate data, to help to prevent the first estate loss of data.
Whether the data anti-loss method that the technical program provides, first detection electronic equipment 10 are current in the shape intake State measures the inflow of the electronic equipment 10 when detecting that electronic equipment 10 is in the state of water inlet;When judging the electricity When the current inflow of sub- equipment 10 is greater than the first preset threshold, the first power supply 103 of the electronic equipment 10 is disconnected, and pass through The data backed up in advance are sent to target object by predetermined manner.Therefore, the technical solution of the application can solve electronics and set Standby 10 due to data loss problem caused by intaking, and further, when judging that the current inflow of the electronic equipment 10 is big When the first preset threshold, the first power supply 103 of the electronic equipment 10 is disconnected, therefore, the technical program can also solve electricity The problem of sub- equipment 10 is burnt out due to main circuit board 105 caused by intaking.
Referring to Figure 2 together and Fig. 3, Fig. 3 are the corresponding a kind of local flow charts of step S300 in the embodiment of the present application one. " data that have backed up in advance are sent to by target object by predetermined manner " include but is not limited to step S310, S320 and S330, about being described in detail as follows for step S310, S320 and S330.
S310: the first estate data backed up are sent to target object.
S320: after the first estate data are sent completely, it is default whether the inflow of detection electronic equipment 10 is greater than second Threshold value.
Optionally, in a better embodiment, during the first estate data are sent to target object, when true Recognize after the first estate data have been received in the target object, deletes being sent completely of storing on memory 104 in real time The first estate data, so that the first estate data be prevented to be leaked, and then improve the safe coefficient of the first estate data.
S330: when the inflow of electronic equipment 10 is greater than the second preset threshold, the second level data backed up is sent out It send to target object, wherein the importance of the first estate data is greater than the importance of second level data, and described the One preset threshold is greater than second preset threshold.
In the present embodiment, for example, it is assumed that the first preset threshold is 20ml, and the second preset threshold is 15ml, when Detect that electronic equipment 10 is in water inlet state, and when the current inflow of electronic equipment 10 is reduced from 20ml to 15ml, at this point, Start the second level data being sent to target object and stored and backed up, so that the first estate data are preferentially deposited Storage and protection, are then stored and are protected to the second level data again, so that significant data is preferentially stored and protected, Electronic equipment is helped avoid since water inlet leads to loss of vital data.
Optionally, the first estate data can be address list information, SMS information, the address list letter in social software Breath, photo, memorandum etc..Second level data can be notepad, the account and password of payment software, the account for software of doing shopping And password etc. member account and password.
Optionally, in one embodiment, when detecting that electronic equipment 10 is in water inlet state, and electronic equipment 10 is worked as When preceding inflow is greater than the first preset threshold, the first estate data are preferentially sent to target object, wherein the first estate number According to severity level it is higher so that the first estate high priority data is protected.When the first estate data are sent to target object Later, judge whether the current inflow of electronic equipment 10 is greater than the second preset threshold, and be less than or equal to the first default threshold Value, when the current inflow of electronic equipment 10 is greater than the second preset threshold and is less than or equal to the first preset threshold, at this point, The second level data backed up is sent to target object, wherein the severity level of the second level data is with respect to the first estate Data are lower, so that the second level data is protected after the first estate data.
Optionally, in another embodiment, when detecting that electronic equipment 10 is in water inlet state, and electronic equipment 10 is worked as When preceding inflow is greater than the first preset threshold, the first estate data are preferentially sent to target object, wherein the first estate number According to severity level it is higher so that the first estate high priority data is protected.And target pair is sent in the first estate data As during, the current water inlet state of electronic equipment 10 described in real-time monitoring and inflow, when electronic equipment 10 is current When inflow is greater than the second preset threshold and is less than or equal to the first preset threshold, at this point, immediately by backed up second etc. Grade data are sent to target object, wherein and the severity level of the second level data is lower with respect to the first estate data, so that the Two level datas are protected after the first estate data.At this point, the first estate data and the second level data are transmitted across Cheng Binghang is executed, and the transmission and storage efficiency to the first estate data and the second level data can be improved, and is avoided due to storage The case where 104 not enough power supply of device causes the second level data to be lost, even results in the first estate loss of data.Therefore, this technology Scheme improves the transmission and storage efficiency of the first estate data and the second level data, reduce data lose it is general Rate.
Referring to Figure 2 together, Fig. 3 and Fig. 4, Fig. 4 are the corresponding another parts step S300 in the embodiment of the present application one Flow chart.Described " data that back ups in advance are sent to by target object by predetermined manner " in addition to including step S310 with S320 further includes step S340, about being described in detail as follows for step S340.
S340: when the inflow for detecting electronic equipment 10 is less than or equal to the second preset threshold, stopping will backup The second good level data is sent to target object, while the first estate data being sent completely being deleted.
Specifically, when detecting the inflow of electronic equipment 10 by decreasing below or being equal to greater than the second preset threshold When the second preset threshold, it is believed that electronic equipment 10 is in a safe condition, it is believed that the risk of loss of data is not present in electronic equipment 10. At this point, stopping remaining second level data backed up in advance being sent to target object, volume is generated to avoid electronic equipment Outer power consumption.At the same time, the first estate data being sent completely are deleted from memory 104, by memory 104 Accommodation space to being released so that memory 104 can accommodate more second level datas.
It is the process for the data anti-loss method that the embodiment of the present application two provides also referring to Fig. 1, Fig. 2 and Fig. 5, Fig. 5 Figure.In the present embodiment, the data anti-loss method further includes step S400 in addition to including step S100 and S200, about Step S400 is described in detail as follows.
S400: when the inflow of electronic equipment 10 is less than or equal to the first preset threshold, the electronic equipment is opened 10 power supply, and control states electronic equipment 10 and sends the first instruction information, the first instruction information is used to indicate described in user Electronic equipment 10 is currently at into water state, wherein the first instruction information includes the either sudden strain of a muscle of jingle bell information, vibration information Light lamp information any one or it is a variety of.
Specifically, in the present embodiment, when detecting that electronic equipment 10 is in water inlet state, and inflow is less than or waits When the first preset threshold, it is believed that electronic equipment 10 is safer, and there is no the feelings for the main circuit board 105 for burning out electronic equipment 10 Condition, therefore, do not consider the main circuit board 105 of electronic equipment 10 burns out problem, and emphasis is needed to consider the loss of electronic equipment 10 With the problem of searching.In view of electronic equipment may fall into Bilge, i.e. water may be more muddy, sends out in time in order to facilitate user It is existing, and convenient for quickly searching out electronic equipment 10, at this point, controlling electronic devices 10 sends the first instruction information, to indicate user The electronic equipment 10 is currently at into water state.Wherein, it is described first instruction information include jingle bell information, vibration information or Be flashlight information any one or it is a variety of.
Further, when user is in more noisy environment, such as: it is riding, it is understood that there may be difficult to receive The case where indicating information to first, at this point, state that can be current according to user, carries out adaptability to the type of the first instruction information Adjustment.For example, when detecting that the current environment of user is more quiet, user's electronics is preferentially prompted using vibration information Equipment 10 is in water inlet state.When detecting that the current environment of user is more noisy, preferentially prompt to use using jingle bell information Family electronic equipment 10 is in water inlet state, and either, RINGING state, vibrational state and flash state are opened simultaneously.Work as detection The environment current to user than it is darker when, preferentially using flashlight information prompt consumer electronic devices 10 be in water inlet state.
It is the process for the data anti-loss method that the embodiment of the present application three provides also referring to Fig. 1, Fig. 2 and Fig. 6, Fig. 6 Figure.The method of embodiment three and the method for embodiment one are essentially identical, the difference is that, in the present embodiment, the data Anti-loss method is in addition to including step S100, S200 and S300, and after step S300, the data anti-loss method further includes Step S500 is described in detail as follows about step S500.
S500: deleting the data backed up in advance, and the data after deleting can not be repaired.
Specifically, in the present embodiment, after the data backed up in advance are all sent to target object, electronics is set The data backed up in advance stored on standby 10 memory 104 are all deleted, and are found to avoid electronic equipment 10 by other people, can There can be the risk of leaking data.Further, the data backed up in advance deleted in order to prevent are repaired again, Therefore, it is necessary to the data backed up in advance after deleting to carry out unrepairable processing.For example, it will be used to store The memory 104 of the data backed up in advance directly damages, so that the data backed up in advance after deleting disappear forever It loses, can not be repaired again, can be further improved the safety of data with this, reduce the risk that data are leaked.
Wherein, the mode that memory 104 directly damages can be and automatic fuzing system, armament is installed on memory 104, when It detects that the data stored on memory 104 are all sent to after target object, sends a detonator signal and ignited to automatic System starts to ignite directly to ruin the memory 104 of storing data after automatic fuzing system, armament receives detonator signal It is bad.
It is the process for the data anti-loss method that the embodiment of the present application four provides also referring to Fig. 1, Fig. 2 and Fig. 7, Fig. 7 Figure.The method of example IV and the method for embodiment one are essentially identical, the difference is that, in the present embodiment, the data Anti-loss method is in addition to including step S100, S200 and S300, and before step S100, the data anti-loss method further includes But it is not limited to step S60 and S80, is described in detail as follows about step S60 and S80.
S60: whether detection electronic equipment 10, which is in, is fallen state.
S80: when electronic equipment 10, which is in, falls state, at the beginning of indicating that the electronic equipment 10 falls state Between, the falling position of end time and the electronic equipment 10.
Specifically, the electronic equipment 10 includes gravity sensor, the gravity sensor is for detecting electronic equipment 10 Whether state of weightlessness is in, when detecting that electronic equipment 10 is in state of weightlessness, it is believed that electronic equipment 10, which is in, falls state, At this point, the control of processor 102 issues preset signals, to indicate at the beginning of the electronic equipment 10 falls state, tie The falling position of beam time and the electronic equipment 10, and above- mentioned information are sent to goal-selling, to inform that user falls The drop-out time of electronic equipment 10 afterwards and fall place, helps to solve the problems, such as anti-lost after electronic equipment 10 falls.
Optionally, when gravity sensor detects that the current acceleration of gravity of electronic equipment 10 is 10m/s2When, it is believed that electricity Sub- equipment 10 is now in state of weightlessness, that is, starts to fall, record at this time fall the time started.When important sensor is examined It measures the current acceleration of gravity of electronic equipment 10 and generates mutation, and eventually become 0, it is believed that electronic equipment 10 falls state knot Beam, record at this time fall the end time.
Optionally, the falling position for detecting electronic equipment 10 can pass through global positioning system (Global Positioning System, GPS) realize, when detect electronic equipment 10 be in fall state after again into collision status When, it is believed that electronic equipment 10, which has sent, to be fallen, at this point, the global positioning system of triggering electronic equipment 10 is opened, to record electricity The current location information of sub- equipment 10.
Referring to Figure 2 together and Fig. 8, Fig. 8 be the embodiment of the present application one provide a kind of data loss prevention device structure Schematic diagram.In the present embodiment, the data loss prevention device 20, for preventing electronic equipment 10 due to data caused by intaking It loses, including but not limited to first detection module 201, measurement module 220 and disconnection and sending module 230, about the first detection Module 201, measurement module 220 and disconnection and sending module 230 are described below.
First detection module 201, for whether detecting electronic equipment 10 in water inlet state.
Measurement module 220, for measuring the water inlet of the electronic equipment 10 when electronic equipment 10 is in water inlet state Amount.
Disconnection and sending module 230, for disconnecting when the inflow of the electronic equipment 10 is greater than the first preset threshold The power supply of the electronic equipment 10, and the data backed up in advance are sent to by target object by predetermined manner.
Optionally, the electronic equipment 10 can be any equipment for having communication and store function.Such as: plate electricity Brain, electronic reader, remote controler, personal computer (Personal Computer, PC), laptop, vehicle-mounted is set mobile phone Standby, Web TV, wearable device etc. have the smart machine of network function.
In the present embodiment, first detection module 201 can be the humidity sensor of electronic equipment 10.Measurement module 220 It can be completed by the processor of electronic equipment 10 with disconnection and sending module 230.
Whether the data loss prevention device that the technical program provides, first detection electronic equipment 10 are current in the shape intake State measures the inflow of the electronic equipment 10 when detecting that electronic equipment 10 is in the state of water inlet;When judging the electricity When the current inflow of sub- equipment 10 is greater than the first preset threshold, the first power supply 103 of the electronic equipment 10 is disconnected, and pass through The data backed up in advance are sent to target object by predetermined manner.Therefore, the technical solution of the application can solve electronics and set Standby 10 due to data loss problem caused by intaking, and further, when judging that the current inflow of the electronic equipment 20 is big When the first preset threshold, the first power supply 103 of the electronic equipment 10 is disconnected, therefore, the technical program can also solve electricity The problem of sub- equipment 10 is burnt out due to main circuit board 105 caused by intaking.
Referring to Figure 2 together, Fig. 7 and Fig. 9, Fig. 9 are in a kind of data loss prevention device that the embodiment of the present application one provides It is a kind of disconnection and sending module structural schematic diagram.In the present embodiment, the disconnection and sending module 230 include but is not limited to First sending module 231, the second detection module 202 and the second sending module 232 are detected about the first sending module 231, second Module 202 and the second sending module 232 are described below.
First sending module 231, the first estate data for will back up are sent to target object.
Second detection module 202, for after the first estate data are sent completely, the inflow of detection electronic equipment 10 is It is no to be greater than the second preset threshold.
Second sending module 232, for when the inflow of electronic equipment 10 be greater than the second preset threshold when, by what is backed up Second level data is sent to target object, wherein the importance of the first estate data is greater than second level data Importance, first preset threshold be greater than second preset threshold.
Optionally, the function of the first sending module 231, the second detection module 202 and the second sending module 232 can be by The processor of electronic equipment 10 is realized.
Referring to Figure 2 together, Fig. 9 and Figure 10, Figure 10 are a kind of data loss prevention devices that the embodiment of the present application one provides The structural schematic diagram of middle another disconnection and sending module.In the present embodiment, the disconnection and sending module 230 are in addition to including Other than first sending module 231 and the second detection module 202, the disconnection and sending module 230 further include but are not limited to first Removing module 233 is described below about the first removing module 233.
First removing module 233, for stopping when the inflow of electronic equipment 10 is less than or equal to the second preset threshold The second level data backed up is only sent to target object, while the first estate data being sent completely being deleted It removes.
Optionally, the function of the first removing module 233 can be realized by the processor of electronic equipment 10.
Referring to Figure 2 together, Fig. 7 and Figure 11, Figure 11 are a kind of data loss prevention devices that the embodiment of the present application two provides Structural schematic diagram.The structure of embodiment two and the structure of embodiment one are essentially identical, the difference is that, in the present embodiment In, the data loss prevention device 20 is in addition to including first detection module 201 and measurement module 220, the anti-lost dress of data It sets 20 to further include but be not limited to unlatching and sending module 240, be described below about unlatching and sending module 240.
Open and sending module 240, for when the inflow of electronic equipment 10 be less than or equal to the first preset threshold when, The power supply of the electronic equipment 10 is opened, and control states electronic equipment 10 and sends the first instruction information, the first instruction information Electronic equipment 10 described in user is used to indicate to be currently at into water state, wherein it is described first instruction information include jingle bell information, Vibration information either flashlight information any one or it is a variety of.
Optionally, it opens and the function of sending module 240 can be realized by the processor of electronic equipment 10.
Referring to Figure 2 together, Fig. 7 and Figure 12, Figure 12 are a kind of data loss prevention devices that the embodiment of the present application three provides Structural schematic diagram.The structure of embodiment three and the structure of embodiment one are essentially identical, the difference is that, in the present embodiment In, the data loss prevention device 20 is in addition to including first detection module 201, measurement module 220 and disconnection and sending module 230, the data loss prevention device 20 further includes but is not limited to the second removing module 250, introduces about the second removing module 250 It is as follows.
Second removing module 250 for deleting the data that back ups in advance, and makes the data after deletion can not be by It repairs.
Optionally, the function of the second removing module 250 can be realized by the processor of electronic equipment 10.
Referring to Figure 2 together, Fig. 7 and Figure 13, Figure 13 are a kind of data loss prevention devices that the embodiment of the present application four provides Structural schematic diagram.The structure of example IV and the structure of embodiment one are essentially identical, the difference is that, in the present embodiment In, the data loss prevention device 20 is in addition to including first detection module 201, measurement module 220 and disconnection and sending module 230, the data loss prevention device 20 further includes but is not limited to third detection module 60 and indicating module 80, detects about third Module 60 and indicating module 80 are described below.
Third detection module 60 falls state for detecting electronic equipment 10 and whether being in.
Indicating module 80, for indicating that the electronic equipment 10 falls when electronic equipment 10 is in and falls state At the beginning of state, the falling position of end time and the electronic equipment 10.
Optionally, the function of third detection module 60 and indicating module 80 can be by the processor of electronic equipment 10 Lai real It is existing.
The embodiment of the present application also provides a kind of electronic equipment, including one or more processors, one or more memories, And one or more programs, one or more of programs are stored in the memory, and are configured by described one A or multiple processors execute, and described program is included the steps that for executing the finger in data anti-loss method as described above It enables.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program execute computer as in above-mentioned data anti-loss method embodiment Some or all of any data anti-loss method of record step, the computer include data loss prevention device.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned number According to some or all of either record method step in anti-loss method embodiment.The computer program product can be one Software installation packet, the computer include data loss prevention device.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory The various media that can store program code such as (Random Access Memory, RAM), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory It may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (12)

1. a kind of data anti-loss method, for preventing electronic equipment due to loss of data caused by intaking, which is characterized in that institute Stating data anti-loss method includes:
Whether detection electronic equipment is in water inlet state;
When electronic equipment is in water inlet state, the inflow of the electronic equipment is measured;
When the inflow of the electronic equipment is greater than the first preset threshold, the power supply of the electronic equipment is disconnected, and by pre- If the data backed up in advance are sent to target object by mode.
2. data anti-loss method as described in claim 1, which is characterized in that described " to be backed up in advance by predetermined manner Good data are sent to target object " include:
The first estate data backed up are sent to target object;
After the first estate data are sent completely, whether the inflow for detecting electronic equipment is greater than the second preset threshold;
When the inflow of electronic equipment is greater than the second preset threshold, the second level data backed up is sent to target pair As, wherein the importance of the first estate data is greater than the importance of second level data, first preset threshold Greater than second preset threshold.
3. data anti-loss method as claimed in claim 2, which is characterized in that when the inflow for detecting electronic equipment is less than Or when being equal to the second preset threshold, stop the second level data backed up being sent to target object, while will send out The first estate data of completion are sent to delete.
4. data anti-loss method as described in claim 1, which is characterized in that when the inflow of electronic equipment is less than or waits When the first preset threshold, the power supply of the electronic equipment is opened, and control states electronic equipment and sends the first instruction information, it is described First instruction information is used to indicate electronic equipment described in user and is currently at into water state, wherein the first instruction packet Include jingle bell information, vibration information either flashlight information any one or it is a variety of.
5. data anti-loss method as described in claim 1, which is characterized in that when " being backed up in advance by predetermined manner Data be sent to target object " after, the data anti-loss method further include:
The data backed up in advance are deleted, and the data after deleting can not be repaired.
6. data anti-loss method as described in claim 1, which is characterized in that " detect whether electronic equipment is in described Before water inlet state ", the data anti-loss method further include:
Whether detection electronic equipment, which is in, is fallen state;
When electronic equipment, which is in, falls state, indicate at the beginning of the electronic equipment falls state, the end time And the falling position of the electronic equipment.
7. a kind of data loss prevention device, for preventing electronic equipment due to loss of data caused by intaking, which is characterized in that institute Stating data loss prevention device includes:
First detection module, for detecting whether electronic equipment is in water inlet state;
Measurement module, for measuring the inflow of the electronic equipment when electronic equipment is in water inlet state;
Disconnection and sending module, for disconnecting the electronics when the inflow of the electronic equipment is greater than the first preset threshold The power supply of equipment, and the data backed up in advance are sent to by target object by predetermined manner.
8. data loss prevention device as claimed in claim 7, which is characterized in that the disconnection and sending module include:
First sending module, the first estate data for will back up are sent to target object;
Whether the second detection module, the inflow for after the first estate data are sent completely, detecting electronic equipment are greater than Two preset thresholds;
Second sending module, the second grade for will back up when the inflow of electronic equipment is greater than the second preset threshold Data are sent to target object, wherein and the importance of the first estate data is greater than the importance of second level data, First preset threshold is greater than second preset threshold.
9. data loss prevention device as claimed in claim 8, which is characterized in that the disconnection and sending module further include:
First removing module will be backed up for stopping when the inflow of electronic equipment is less than or equal to the second preset threshold The second good level data is sent to target object, while the first estate data being sent completely being deleted.
10. data loss prevention device as claimed in claim 7, which is characterized in that the data loss prevention device further include:
It opens and sending module, for when the inflow of electronic equipment is less than or equal to the first preset threshold, described in unlatching The power supply of electronic equipment, and control states electronic equipment and sends the first instruction information, the first instruction information is used to indicate user The electronic equipment is currently at into water state, wherein it is described first instruction information include jingle bell information, vibration information either Flashlight information any one or it is a variety of.
11. data loss prevention device as claimed in claim 7, which is characterized in that the data loss prevention device further include:
Second removing module for deleting the data backed up in advance, and be repaired the data after deleting can not.
12. data loss prevention device as claimed in claim 7, which is characterized in that the data loss prevention device further include:
Third detection module falls state for detecting electronic equipment and whether being in;
Indicating module, for indicating that the electronic equipment falls the beginning of state when electronic equipment is in and falls state The falling position of time, end time and the electronic equipment.
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 true CN109344002A (en) 2019-02-15
CN109344002B 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)

Cited By (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 (11)

* 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
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
CN104008027A (en) * 2014-05-06 2014-08-27 可牛网络技术(北京)有限公司 Data backup method and device for mobile terminal and mobile terminal
CN104035835A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Information processing method and electronic devices
CN104461405A (en) * 2015-01-07 2015-03-25 联想(北京)有限公司 Data emergency protection method and electronic device
CN105825153A (en) * 2016-03-17 2016-08-03 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal
CN108111625A (en) * 2018-01-02 2018-06-01 广东欧珀移动通信有限公司 Data transmission method and related product
CN108307072A (en) * 2018-01-31 2018-07-20 广东欧珀移动通信有限公司 Electronic device falls based reminding method and Related product

Patent Citations (11)

* 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
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
CN104035835A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Information processing method and electronic devices
CN103761163A (en) * 2014-01-14 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data loss preventing method and data loss preventing device
CN104008027A (en) * 2014-05-06 2014-08-27 可牛网络技术(北京)有限公司 Data backup method and device for mobile terminal and mobile terminal
CN104461405A (en) * 2015-01-07 2015-03-25 联想(北京)有限公司 Data emergency protection method and electronic device
CN105825153A (en) * 2016-03-17 2016-08-03 广东欧珀移动通信有限公司 Method and device for protecting mobile terminal
CN108111625A (en) * 2018-01-02 2018-06-01 广东欧珀移动通信有限公司 Data transmission method and related product
CN108307072A (en) * 2018-01-31 2018-07-20 广东欧珀移动通信有限公司 Electronic device falls based reminding method and Related product

Cited By (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

Also Published As

Publication number Publication date
CN109344002B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN104067184B (en) For detecting and reacting equipment, the system and method that electronic installation is exposed to moisture
CN106445414B (en) Terminal device free memory extended method and system
CN107590874A (en) Safety route inspection method and inspection mobile terminal
CN107317763B (en) Flow control method and device between client and metadata server
US20130335223A1 (en) Electronics theft deterrent system
CN106096450A (en) A kind of application program freezing method and mobile terminal
WO2018000745A1 (en) Method and device for processing terminal data, and terminal
CN109344002A (en) Data anti-loss method and data loss prevention device
CN109442863A (en) A kind of car refrigerator control method, system, equipment and car refrigerator
CN109284594A (en) A kind of smart machine screen locking control method and device based on Face datection
CN103678125A (en) Method and system for debugging codes
CN106055406A (en) Program operation method and terminal
CN103067556A (en) Handling method, terminal and system of privacy information
EP3394956B1 (en) Power-over-ethernet lighting system
CN106776135A (en) A kind of data back up method and device
CN108366168B (en) Fall data application method and related product
CN108806208A (en) Processing method, wearable electronic and computer readable storage medium
CN107943614A (en) Intelligent terminal data backup method, intelligent terminal and the device with store function
CN105812271B (en) Wireless routing equipment capable of prompting lost articles and communication method
CN113744980A (en) Transformer protection device, transformer and transformer protection method
CN110557555B (en) Function starting method, device, equipment and system of intelligent camera
CN105580059A (en) Wearable device, and method and apparatus for guaranteeing user safety
CN207835039U (en) ammeter and ammeter control system
CN104468945B (en) A kind of information processing method, device and electronic equipment
CN105930722B (en) A kind of security of mobile terminal detection method and device based on formalized description

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