CN104461405A - Data emergency protection method and electronic device - Google Patents

Data emergency protection method and electronic device Download PDF

Info

Publication number
CN104461405A
CN104461405A CN201510007492.1A CN201510007492A CN104461405A CN 104461405 A CN104461405 A CN 104461405A CN 201510007492 A CN201510007492 A CN 201510007492A CN 104461405 A CN104461405 A CN 104461405A
Authority
CN
China
Prior art keywords
electronic equipment
data
preset value
hdd
storage medium
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
CN201510007492.1A
Other languages
Chinese (zh)
Other versions
CN104461405B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510007492.1A priority Critical patent/CN104461405B/en
Publication of CN104461405A publication Critical patent/CN104461405A/en
Application granted granted Critical
Publication of CN104461405B publication Critical patent/CN104461405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention provides a data emergency protection method and an electronic device. The method comprises the steps of detecting the acceleration of the electronic device under external vibration, comparing the detected acceleration of the electronic device under the external vibration to judge whether the detected acceleration reaches a preset value A, and storing the data stored in a volatile storage medium of the electronic device to a safe storage area when it is obtained through comparison that the detected acceleration of the electronic device under the external vibration reaches the preset value A, wherein the safe storage area is a nonvolatile storage medium in the electronic device or an external nonvolatile storage medium connected to the electronic device.

Description

Data emergency protection method and electronic equipment
Technical field
The present invention relates to a kind of data emergency protection method and electronic equipment, more particularly, the present invention relates to a kind of method that can be protected by important ephemeral data in time when macroseism occurs and electronic equipment.
Background technology
Along with the development of infotech, especially the universal and widespread use of Internet technology, all kinds of electronics and IT products relevant to internet, applications are popularized rapidly, become carrier and the instrument of important information interchange, as service unit, PC etc., make user can carry out more convenient information interchange by these equipment, greatly improve the acquisition capability of user to information.
Nowadays; the protection of information data is more and more important; especially service unit; store the information data that union is a large amount of, although desktop computer, service unit all can be furnished with UPS now, under fortuitous event, carry out not power-off protection; when but sharp pounding occurs; may cause UPS power failure that important ephemeral data is forever lost because power lead loosens fracture, therefore, the protected mode adopted at present is not well positioned to meet the safety of significant data yet.
Summary of the invention
In view of the above problems, according to an aspect of the present invention, provide a kind of method of data emergency protection, be applied to electronic equipment, comprise and detect the acceleration of described electronic equipment by external shock; Whether the described electronic equipment relatively detected reaches preset value A by the acceleration of external shock; When comparing the described electronic equipment detected and reaching preset value A by the acceleration of external shock, be saved in secure storage section by the data in the volatile storage medium of described electronic equipment, wherein said secure storage section is the non-volatile memory medium in described electronic equipment or the external non-volatile storage medium for being connected with described electronic equipment.
According to another aspect of the present invention, additionally provide a kind of electronic equipment of data emergency protection, comprise sensing unit, configuration detects the acceleration of described electronic equipment by external shock; Comparing unit, the described electronic equipment that detection is compared in configuration is subject to the acceleration of external shock whether to reach preset value A; Control module, when comparing the described electronic equipment detected and reaching preset value A by the acceleration of external shock, configuration controls to perform and is saved in secure storage section by the data in described electronic equipment internal memory, and wherein said secure storage section is the non-volatile memory medium in described electronic equipment or the external non-volatile storage medium for being connected with described electronic equipment.
The data emergency protection method provided by the embodiment of the present invention and electronic equipment; shut down after in time important ephemeral data being saved in the memory blocks such as interior HDD or SSD when macroseism occurs; the thorough loss of significant data is caused with possible further vibrations after preventing or power-fail; before device powers down, in time important ephemeral data is transferred to secure storage areas in this way, further ensure that the safety of important ephemeral data.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in the description of embodiment below.Accompanying drawing in the following describes is only exemplary embodiment of the present invention.
Fig. 1 is the process flow diagram of the data emergency protection method according to the embodiment of the present invention.
Fig. 2 is the process flow diagram of data emergency protection method in accordance with another embodiment of the present invention.
Fig. 3 is the process flow diagram of data emergency protection method in accordance with another embodiment of the present invention.
Fig. 4 is the exemplary block diagram of electronic equipment 400 according to an embodiment of the invention.
Fig. 5 is the exemplary block diagram of electronic equipment 500 in accordance with another embodiment of the present invention.
Fig. 6 is the exemplary block diagram of electronic equipment 600 in accordance with another embodiment of the present invention.
Embodiment
Hereinafter, the preferred embodiments of the present invention are described in detail with reference to accompanying drawing.Note, in the present description and drawings, there is substantially the same step and represent with the identical Reference numeral of element, and will be omitted the repetition of explanation of these steps and element.
Below, the data emergency protection method of embodiments of the invention is described with reference to Fig. 1.Fig. 1 depicts the process flow diagram of the data emergency protection method 100 according to the embodiment of the present invention.Data emergency protection method 100 can be applicable to electronic equipment.In an embodiment according to the present invention, the concrete form of electronic equipment can include but not limited to server, PC etc.
As shown in Figure 1, in step S101, detected electrons equipment is by the acceleration of external shock.According to an example of the present invention, electronic equipment is subject to the acceleration of impact from extraneous strength or vibrations by built-in sensing unit senses electronic equipment entirety.Extraneous impact or vibrations can comprise various ways, and such as electronic equipment falls the contact impact be subject to from eminence, rock impact etc. when earthquake occurs.
In step s 102, the electronic equipment comparing detection is subject to the acceleration of external shock whether to reach preset value A.According to embodiments of the invention, the oscillatory acceleration of detection is sent to comparing unit by the built-in sensing unit of electronic equipment, comparing unit by the oscillatory acceleration received with wherein to pre-set and oscillatory acceleration reference value (i.e. preset value) A stored compares, comparing unit outputs signal accordingly according to comparative result generation.Wherein, for the oscillatory acceleration reference value A pre-set, it can be used to indicate the critical value that electronic equipment may be caused normally to work, the i.e. maximum antidetonation acceleration of electronic equipment, if oscillatory acceleration is greater than this preset value A, then electronic equipment normally cannot work being likely damaged or cannot ensure the safety of the provisional data that volatile memory cell stores in electronic equipment.In addition, according to another embodiment of the invention, what preset value A can be arranged is less than maximum antidetonation acceleration, the jump operation of ephemeral data is just started when making electronic equipment without the need to maximum antidetonation acceleration by the time only being detected, avoid when starting and perform ephemeral data jump operation, because oscillatory acceleration continues to increase above the maximum antidetonation acceleration that electronic equipment can bear destroy electronic equipment, finally cannot complete the jump operation of ephemeral data, what therefore arranged by preset value A is less than maximum antidetonation acceleration, fully can ensure that ephemeral data is just transferred to safe storage area when safety is not destroyed by electronic equipment.Simultaneously; also should be taken into account; the too small meeting that preset value A is arranged causes electronic equipment to be easy to because vibrations or the situation of impacting with regard to starting ephemeral data protection operation occur; affect the normal work of electronic equipment; therefore; generally preset value A can be set smaller than electronic equipment maximum antidetonation acceleration rational scope, avoid the generation of above-mentioned situation.
Then, in step s 103, when comparing the electronic equipment detected and reaching preset value A by the acceleration of external shock, the data in the volatile storage medium of electronic equipment are saved in secure storage section.According to embodiments of the invention, when the built-in sensing unit senses in electronic equipment to oscillatory acceleration meet or exceed preset value A time, comparing unit will export enabling signal to the control module of electronic equipment, control module controls electronic equipment according to the enabling signal received and the data in volatile storage medium is saved in secure storage section, be about to be stored in the storage area of the data batchmove in volatile storage medium to safety at present, avoid the jerk of follow-up generation to affect or destroy the normal work of electronic equipment or cause the unexpected power-off of electronic equipment, make the loss of data be stored in volatile storage medium.
According to embodiments of the invention, can have multiple choices for secure storage section, both can be the non-volatile memory cells in electronic equipment, also can be carry out the external non-volatile memory cells be connected with electronic equipment.And, non-volatile memory cells also can be various, both can be that mechanical type hard disk (HDD) stores, also can be that the non-mechanical such as solid state hard disc (SSD) store, in a word, the present embodiment includes but not limited to the above-mentioned storage mode enumerated, as long as the storage area that ephemeral data transfer as far as possible fast and safely can be saved in can as the secure storage section of the present embodiment indication.
As above; according to the data emergency protection method of the embodiment of the present invention; be subject to determining whether to need to perform ephemeral data protection from the mode of the impact of extraneous strength or the acceleration of vibrations by sensing electronic equipment entirety; when needs perform ephemeral data protection; in time the ephemeral data in electronic equipment is transferred to secure storage section, avoid the jerk of follow-up generation to affect in this way or destroy the normal work of electronic equipment or cause the unexpected power-off of electronic equipment that important ephemeral data is lost.
Below, the data emergency protection method of another embodiment of the present invention is described with reference to Fig. 2.Fig. 2 depicts the process flow diagram of data emergency protection method 200 according to an embodiment of the invention.
Method S101 shown in step S201, S202 and Fig. 1 in method 200, S102 are similar.Particularly, in step s 201, detected electrons equipment is by the acceleration of external shock.In step S202, the electronic equipment comparing detection is subject to the acceleration of external shock whether to reach preset value A.As mentioned above, pre-set value A and be used to indicate the critical value that electronic equipment may be caused normally to work, i.e. maximum antidetonation acceleration, if oscillatory acceleration is greater than this preset value A, then electronic equipment normally cannot work being likely damaged or cannot ensure the safety of the provisional data that volatile memory cell stores in electronic equipment.
As shown in Figure 2, the step S203 of data emergency protection method 200 refers to that secure storage section is the situation of mechanical type hard disk (HDD), due to the defect of mechanical type hard disk (HDD) construction itself, also likely cause permanent damage because shockproofness is excessive when shaking and occurring and cannot normally work, therefore when electronic equipment adopts mechanical type hard disk (HDD) as non-volatile memory cells, need to take measures to ensure that mechanical type hard disk (HDD) is not destroyed when oscillatory acceleration is greater than preset value A, ephemeral data in volatile memory cell is saved in mechanical type hard disk (HDD) smoothly for follow-up premise is provided.
According to embodiments of the invention; in step S203; when the acceleration shaken reaches preset value A; start the magnetic head protection of mechanical type hard disk (HDD); magnetic head is docked to the safety zone of mechanical type hard disk (HDD), protect mechanical type hard disk (HDD) not damaged in this way.
Then, in step S204, until the oscillatory acceleration detected is from when reducing to lower than preset value B after reaching preset value A, the magnetic head of mechanical type hard disk (HDD) again moves on to perform region and starts normal work, and the data in described volatile storage medium is saved in described mechanical type hard disk (HDD).According to embodiments of the invention, preset value B is less than preset value A, wherein preset value B is for judging whether oscillatory acceleration drops to the secure threshold of comparatively safe oscillatory acceleration from maximum antidetonation accekeration A, and the determination of B value can obtain through the experiment of limited number of time according to the actual conditions of electronic equipment and engineering staff.Only have when oscillatory acceleration is from when reducing to lower than preset value B after reaching preset value A, now think that electronic equipment is in range of stability, possesses condition ephemeral data being transferred to mechanical type hard disk (HDD), therefore, the magnetic head of mechanical type hard disk (HDD) again moves on to perform region and starts normal work, the data be stored in volatile storage medium are saved in described mechanical type hard disk (HDD) with prestissimo, avoid oscillatory acceleration again to exceed maximum antidetonation accekeration A and damage electronic equipment ephemeral data is lost.
In step S205, data in the volatile storage medium of described electronic equipment are saved in after described mechanical type hard disk (HDD) completes, and when the described oscillatory acceleration now detected is lower than described preset value A, described electronic equipment shutdown.According to embodiments of the invention, when provisional data batchmove is saved in after mechanical type hard disk (HDD) completes, when oscillatory acceleration is lower than described preset value A simultaneously, now mechanical type hard disk (HDD) is in normal operating conditions, electronic equipment can be shut down in the most time saving mode, guarantee that the data being kept at mechanical type hard disk (HDD) are not damaged as far as possible.Wherein, for electronic equipment in the shutdown mode of the time shutdown saved most, the situation concrete according to electronic equipment is needed to decide, such as, electronic equipment is directly power-off when ensureing safety, or all unnecessary inspection links of operating system omission in electronic equipment make electronic equipment shut down with the fastest shutdown mode.
As above; data emergency protection method 200 according to the embodiment of the present invention is applied to the embodiment provisional data being saved in mechanical type hard disk (HDD); wherein except protecting provisional data; the mechanical type hard disk (HDD) as safety zone also will be protected not damaged, make provisional data can safety be saved in mechanical type hard disk (HDD).
Below, the data emergency protection method of another embodiment of the present invention is described with reference to Fig. 3.Fig. 3 depicts the process flow diagram of data emergency protection method 300 according to an embodiment of the invention.
Method S101 shown in step S301, S302 and Fig. 1 in method 300, S102 are similar.Particularly, in step S301, detected electrons equipment is by the acceleration of external shock.In step s 302, the electronic equipment comparing detection is subject to the acceleration of external shock whether to reach preset value A.As mentioned above, pre-set value A and be used to indicate the critical value that electronic equipment may be caused normally to work, i.e. maximum antidetonation acceleration, if oscillatory acceleration is greater than this preset value A, then electronic equipment normally cannot work being likely damaged or cannot ensure the safety of the provisional data that volatile memory cell stores in electronic equipment.
As shown in Figure 3; the step S303 of data emergency protection method 300 refers to that secure storage section is the situation of solid state hard disc (SSD); according to embodiments of the invention; in step S303; when the oscillatory acceleration detected reaches preset value A, the data in volatile storage medium are saved in the solid state hard disc (SSD) of electronic equipment.According to the embodiment of the present invention, because solid state hard disc (SSD) is in the textural advantage of structure, do not need as mechanical type hard disk (HDD), also need to give extra antidetonation to consider, therefore, when only needing detection oscillatory acceleration to reach preset value A, just the data in volatile storage medium are saved in the solid state hard disc (SSD) of electronic equipment, make ephemeral data transfer to safety zone and preserve.
Then, in step s 304, data in the volatile storage medium of electronic equipment are saved in after solid state hard disc (SSD) completes, electronic equipment shuts down rapidly in the most time saving mode, and the data preventing electronic equipment from again suffering jerk to make to be kept at solid state hard disc (SSD) with this are damaged and lose.Wherein, for electronic equipment in the shutdown mode of the time shutdown saved most, the situation concrete according to electronic equipment is needed to decide, such as, electronic equipment is directly power-off when ensureing safety, or all unnecessary inspection links of operating system omission in electronic equipment make electronic equipment shut down with the fastest shutdown mode.
At this; according to the description of the data emergency protection method 300 of the embodiment of the present invention; it is the embodiment provisional data being saved in solid state hard disc (SSD); because solid state hard disc (SSD) has stronger shock resistance; therefore; compared to mechanical type hard disk (HDD), decrease the step that protection solid state hard disc (SSD) is not destroyed.
Below, the electronic equipment with data emergency protection of embodiments of the invention is described with reference to Fig. 4.Fig. 4 is the exemplary block diagram that electronic equipment 400 is according to an embodiment of the invention shown.As shown in Figure 4, the electronic equipment 400 of the present embodiment comprises sensing unit 410, comparing unit 420, control module 430 and secure storage section 440.The unit of electronic equipment 400 can perform each step/function of the signal processing method 100 in above-mentioned Fig. 1 and the data emergency protection method in above-mentioned Fig. 2,3 respectively.Therefore, only the critical piece of electronic equipment 400 is described below, and eliminate above composition graphs 1, detail content that Fig. 2 and Fig. 3 described.
According to the embodiment of the present invention, sensing unit 410, configuration carrys out the acceleration of detected electrons equipment by external shock.Particularly, electronic equipment is subject to the acceleration of impact from extraneous strength or vibrations by built-in sensing unit senses electronic equipment entirety, wherein extraneous impact or vibrations comprise various ways, such as electronic equipment falls the contact impact be subject to from eminence, earthquake occur time rock impact etc.
Comparing unit 420, configuration is compared the described electronic equipment detected and whether is reached preset value A by external shock acceleration.Particularly, the oscillatory acceleration of detection is generated electric signal and sends to comparing unit 420 by the built-in sensing unit of electronic equipment, compare with the oscillatory acceleration reference value A pre-set in comparing unit 420, make comparing unit generate corresponding output signal with this.
Wherein, for the oscillatory acceleration reference value A pre-set, it is used to indicate the critical value that electronic equipment may be caused normally to work, i.e. maximum antidetonation acceleration, if oscillatory acceleration is greater than this preset value A, then electronic equipment normally cannot work being likely damaged or cannot ensure the safety of the provisional data that volatile memory cell stores in electronic equipment.
Control module 430, when comparing the electronic equipment detected and reaching preset value A by external shock acceleration, configuration controls to perform and is saved in secure storage section 440 by the data in electronic equipment internal memory, and wherein secure storage section 440 is the non-volatile memory medium in electronic equipment or the external non-volatile storage medium for being connected with electronic equipment.Particularly, when the built-in sensing unit senses in electronic equipment to oscillatory acceleration meet or exceed preset value A time, comparing unit will export enabling signal to the control module of electronic equipment, control module controls electronic equipment according to the enabling signal received and the data in volatile storage medium is saved in secure storage section, be about to be stored in the storage area of the data batchmove in volatile storage medium to safety at present, avoid the jerk of follow-up generation to affect or destroy the normal work of electronic equipment or cause the unexpected power-off of electronic equipment, make the loss of data be stored in volatile storage medium.
Wherein, can have multiple choices for secure storage section 440, both can be the non-volatile memory cells in electronic equipment, also can be carry out the external non-volatile memory cells be connected with electronic equipment.And, the non-volatile memory cells herein mentioned also can be various, both can be that mechanical type hard disk (HDD) stores, also can be that the non-mechanical such as solid state hard disc (SSD) store, in a word, the present embodiment includes but not limited to the above-mentioned storage mode enumerated, as long as the storage area that ephemeral data transfer as far as possible fast and safely can be saved in can as the secure storage section of the present embodiment indication.
As above, according to the data emergency protection method of the embodiment of the present invention, the acceleration that electronic equipment entirety is subject to impact from extraneous strength or vibrations is sensed by sensing unit 410, and determine whether to need to perform ephemeral data protection by comparing unit 420, when needs perform ephemeral data protection, control module 430 controls the ephemeral data in electronic equipment to transfer to secure storage section in time, avoid the jerk of follow-up generation to affect in this way or destroy the normal work of electronic equipment or cause the unexpected power-off of electronic equipment that important ephemeral data is lost.
Fig. 5 is the exemplary block diagram that the electronic equipment 500 in accordance with another embodiment of the present invention with data emergency protection is shown; wherein electronic equipment 500 comprises sensing unit 510, comparing unit 520, control module 530 and mechanical type hard disk (HDD) 540; the unit of electronic equipment 500 is consistent with the unit of electronic equipment 400, is only the type of secure storage section 440 is embodied as mechanical type hard disk (HDD) 540.Therefore, only mechanical type hard disk (HDD) 540 is adopted to do specific description as the feature of secure storage section 440 to electronic equipment 500 below.
According to embodiments of the invention, when the acceleration shaken reaches preset value A, control module 430 also configures the magnetic head protection first starting mechanical type hard disk (HDD), magnetic head is docked to the safety zone of mechanical type hard disk (HDD).When the oscillatory acceleration that sensing unit 410 detects is from when reducing to lower than preset value B after reaching preset value A, the magnetic head of mechanical type hard disk (HDD) is moved on to perform region and starts normal work by control module again, and the data in described volatile storage medium is saved in described mechanical type hard disk (HDD).According to embodiments of the invention, preset value B is less than preset value A.Data in the volatile storage medium of described electronic equipment are being saved in after described mechanical type hard disk (HDD) completes, and when the described oscillatory acceleration now detected is lower than described preset value A, described electronic equipment shuts down rapidly in the most time saving mode.According to embodiments of the invention, when provisional data batchmove is saved in after mechanical type hard disk (HDD) completes, when oscillatory acceleration is lower than described preset value A simultaneously, now mechanical type hard disk (HDD) is in normal operating conditions, rapidly electronic equipment is shut down in the most time saving mode, prevent electronic equipment from again suffering jerk and damage or the data being kept at mechanical type hard disk (HDD) are lost because of hard disk corruptions.
Fig. 6 is the exemplary block diagram that the electronic equipment 600 in accordance with another embodiment of the present invention with data emergency protection is shown; wherein electronic equipment 600 comprises sensing unit 610, comparing unit 620, control module 630 and mechanical type hard disk (HDD) 640; the unit of electronic equipment 600 is consistent with the unit of electronic equipment 400, is only the type of secure storage section 440 is embodied as solid state hard disc (SSD) 640.Therefore, only solid state hard disc (SSD) 640 is adopted to do specific description as the feature of secure storage section 440 to electronic equipment 600 below.
According to one embodiment of present invention, when the oscillatory acceleration detected reaches preset value A, the data in volatile storage medium are saved in the solid state hard disc (SSD) 640 of electronic equipment.According to the embodiment of the present invention, because solid state hard disc (SSD) 640 is in the textural advantage of structure, do not need as mechanical type hard disk (HDD), also need to give extra antidetonation to consider, therefore, when only needing detection oscillatory acceleration to reach preset value A, just the data in volatile storage medium are saved in the solid state hard disc (SSD) of electronic equipment, make ephemeral data transfer to safety zone and preserve.
Then, data in the volatile storage medium of electronic equipment are saved in after solid state hard disc (SSD) completes, electronic equipment shuts down rapidly in the most time saving mode, and the data preventing electronic equipment from again suffering jerk to make to be kept at solid state hard disc (SSD) with this are damaged and lose.
As above, according to the electronic equipment with data emergency protection of the embodiment of the present invention, the acceleration of impact from extraneous strength or vibrations is subject to by sensing unit senses electronic equipment entirety, and determine whether to need to perform ephemeral data protection by comparing unit, when needs perform ephemeral data protection, control module controls the ephemeral data in electronic equipment to transfer to secure storage section in time, avoid the jerk of follow-up generation to affect in this way or destroy the normal work of electronic equipment or cause the unexpected power-off of electronic equipment that important ephemeral data is lost.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
It should be appreciated by those skilled in the art that responsible design requirement and other factors carry out various amendment, combination, incorporating aspects and replacement to the present invention, as long as in appended claims and equivalency range thereof.

Claims (16)

1. a method for data emergency protection, is applied to electronic equipment, comprising:
Detect the acceleration of described electronic equipment by external shock;
Whether the described electronic equipment relatively detected reaches preset value A by external shock acceleration;
When comparing the described electronic equipment detected and reaching preset value A by external shock acceleration, be saved in secure storage section by the data in the volatile storage medium of described electronic equipment, wherein said secure storage section is the non-volatile memory medium in described electronic equipment or the external non-volatile storage medium for being connected with described electronic equipment.
2. the data in the volatile storage medium of described electronic equipment are wherein saidly saved in secure storage section and comprise by method according to claim 1:
Data in described volatile storage medium are saved in the mechanical type hard disk (HDD) of described electronic equipment.
3. method according to claim 2, described data in the volatile storage medium of described electronic equipment being saved in mechanical type hard disk (HDD) is specially:
When the described oscillatory acceleration detected reaches preset value A, start the magnetic head protection of described mechanical type hard disk (HDD), described magnetic head docks to the safety zone of described mechanical type hard disk (HDD);
In the described oscillatory acceleration detected from when reducing to lower than preset value B after reaching described preset value A, the magnetic head of described mechanical type hard disk (HDD) again moves on to perform region and starts normal work, and the data in described volatile storage medium are saved in described mechanical type hard disk (HDD), wherein preset value A is greater than preset value B.
4. method according to claim 3, also comprises:
Data in the volatile storage medium of described electronic equipment are saved in after described mechanical type hard disk (HDD) completes, and the described oscillatory acceleration now detected lower than described preset value A time, described electronic equipment shutdown.
5. the method according to claim 2,3 or 4, wherein said preset value A be described mechanical type hard disk (HDD) normally work time the maximum antidetonation acceleration that bears.
6. the data in the volatile storage medium of described electronic equipment are wherein saidly saved in secure storage section and comprise by method according to claim 1:
Data in described volatile storage medium are saved in the solid state hard disc (SSD) of described electronic equipment.
7. method according to claim 6, wherein said data in the volatile storage medium of described electronic equipment being saved in solid state hard disc (SSD) is specially:
When the described oscillatory acceleration detected reaches preset value A, the data in described volatile storage medium are saved in the solid state hard disc (SSD) of described electronic equipment.
8. method according to claim 7, also comprises:
After the data of preserving in the volatile storage medium of described electronic equipment complete to described solid state hard disc (SSD), described electronic equipment is shut down.
9. an electronic equipment for data emergency protection, comprising:
Sensing unit, configuration detects the acceleration of described electronic equipment by external shock;
Comparing unit, configuration is compared the described electronic equipment detected and whether is reached preset value A by external shock acceleration;
Control module, when comparing the described electronic equipment detected and reaching preset value A by external shock acceleration, configuration controls to perform and is saved in secure storage section by the data in described electronic equipment internal memory, and wherein said secure storage section is the non-volatile memory medium in described electronic equipment or the external non-volatile storage medium for being connected with described electronic equipment.
10. electronic equipment according to claim 9, the non-volatile memory medium in wherein said electronic equipment is mechanical type hard disk (HDD).
11. electronic equipments according to claim 10, wherein
When the described oscillatory acceleration detected reaches preset value A, described control module also configures the magnetic head protection first starting described mechanical type hard disk (HDD), described magnetic head is docked to the safety zone of described mechanical type hard disk (HDD);
In the described oscillatory acceleration detected from when reducing to lower than preset value B after reaching described preset value A, normal work by described control module controls to make the magnetic head of described mechanical type hard disk (HDD) again move on to perform region, and the data in described volatile storage medium are saved in described mechanical type hard disk (HDD), wherein preset value A is greater than preset value B.
12. electronic equipments according to claim 11, also comprise:
Control to make the data in the volatile storage medium of described electronic equipment to be saved in after described mechanical type hard disk (HDD) completes by described control module, and when the described oscillatory acceleration now detected is lower than described preset value A, described electronic equipment shutdown.
13. electronic equipments according to claim 10,11 or 12, wherein said preset value A be described mechanical type hard disk (HDD) normally work time the maximum antidetonation acceleration that bears.
14. electronic equipments according to claim 6, the non-volatile memory medium in wherein said electronic equipment is in solid state hard disc (SSD).
15. electronic equipments according to claim 14, wherein
When the described oscillatory acceleration detected reaches preset value A, controlled the data in described volatile storage medium are saved in the solid state hard disc (SSD) of described electronic equipment by described control module.
16. electronic equipments according to claim 15, wherein
Described control module also configures to control to make the data in the volatile storage medium of described electronic equipment to be saved in after described solid state hard disc (SSD) completes, and is shut down by described electronic equipment.
CN201510007492.1A 2015-01-07 2015-01-07 Data emergency protection method and electronic equipment Active CN104461405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510007492.1A CN104461405B (en) 2015-01-07 2015-01-07 Data emergency protection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510007492.1A CN104461405B (en) 2015-01-07 2015-01-07 Data emergency protection method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104461405A true CN104461405A (en) 2015-03-25
CN104461405B CN104461405B (en) 2017-12-29

Family

ID=52907534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510007492.1A Active CN104461405B (en) 2015-01-07 2015-01-07 Data emergency protection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104461405B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377294A (en) * 2018-01-31 2018-08-07 广东欧珀移动通信有限公司 Electronic device falls date storage method and Related product
CN109344002A (en) * 2018-08-30 2019-02-15 Oppo(重庆)智能科技有限公司 Data anti-loss method and data loss prevention device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196845A (en) * 2007-12-17 2008-06-11 山东超越数控电子有限公司 Hard disk protection method
CN201084422Y (en) * 2007-06-19 2008-07-09 北京华旗资讯数码科技有限公司 An early warning protection device for hard disks
CN101739309A (en) * 2008-11-12 2010-06-16 深圳富泰宏精密工业有限公司 Portable electronic device and information protecting method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201084422Y (en) * 2007-06-19 2008-07-09 北京华旗资讯数码科技有限公司 An early warning protection device for hard disks
CN101196845A (en) * 2007-12-17 2008-06-11 山东超越数控电子有限公司 Hard disk protection method
CN101739309A (en) * 2008-11-12 2010-06-16 深圳富泰宏精密工业有限公司 Portable electronic device and information protecting method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377294A (en) * 2018-01-31 2018-08-07 广东欧珀移动通信有限公司 Electronic device falls date storage method and Related product
CN109344002A (en) * 2018-08-30 2019-02-15 Oppo(重庆)智能科技有限公司 Data anti-loss method and data loss prevention device
CN109344002B (en) * 2018-08-30 2021-01-29 Oppo(重庆)智能科技有限公司 Data loss prevention method and data loss prevention device

Also Published As

Publication number Publication date
CN104461405B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN101183801B (en) Power-off protection method, system and device
CN101630293B (en) Data protection method, power-fail protection device and storage device
ES2371089T3 (en) RESEARCH OF THE SYSTEM CONTEXT IN CASE OF LOSS OF POWER.
CN102496907B (en) Set top box, power fail safeguard device and power fail data protection method
WO2016078202A1 (en) Power failure protection method and solid state drive
US11296891B2 (en) Microcode signature security management system based on trustzone technology and method
US8331189B1 (en) Tamper-protected DRAM memory module
KR100974889B1 (en) Method for tamper-detection and Data storage apparatus using the same method
JP2004038290A (en) Information processing system and disk control method for use in same system
US20110179490A1 (en) Apparatus and Method for Detecting a Code Injection Attack
CN105631366A (en) Encryption chip and encryption method therefor
US20170322611A1 (en) Host memory protection via powered persistent store
CN104461405A (en) Data emergency protection method and electronic device
CN102542197B (en) Sensitive data protection system
CN102915264A (en) Data protection method and device
CN102279813B (en) Protecting method of system inside encryption card
US9582053B2 (en) Method and apparatus for erasing memory data
CN104424403A (en) Information processing method and electronic device
US8826056B2 (en) Circuit protection system and method
CN105095801A (en) Method for destroying hard disk in toll breakdown of notebook computer enclosure
CN110704339B (en) Data destruction method, device, equipment and medium
CN104464802A (en) Storage device and data protection method
CN201994075U (en) Solid-state electronic disk capable of authentic data destruction based on CPLD (complex programmable logic device)
CN107910034B (en) Power-down protection circuit of Flash memory
CN102750234A (en) Control method and controller of memory

Legal Events

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