CN104461405B - Data emergency protection method and electronic equipment - Google Patents

Data emergency protection method and electronic equipment Download PDF

Info

Publication number
CN104461405B
CN104461405B CN201510007492.1A CN201510007492A CN104461405B CN 104461405 B CN104461405 B CN 104461405B CN 201510007492 A CN201510007492 A CN 201510007492A CN 104461405 B CN104461405 B CN 104461405B
Authority
CN
China
Prior art keywords
electronic equipment
data
preset value
acceleration
hdd
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510007492.1A
Other languages
Chinese (zh)
Other versions
CN104461405A (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

A kind of data emergency protection method and electronic equipment provided according to an embodiment of the invention, methods described include detecting acceleration of the electronic equipment by external shock;Whether the electronic equipment for comparing detection is reached preset value A by the acceleration of external shock;When the electronic equipment for comparing detection is reached preset value A by the acceleration of external shock, data in the volatile storage medium of the electronic equipment are saved in secure storage section, wherein the secure storage section is the non-volatile memory medium in the electronic equipment or the external non-volatile storage medium to be connected with the electronic equipment.

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, it is more particularly related to which one kind exists The method and electronic equipment that macroseism in time can protect important ephemeral data when occurring.
Background technology
It is related to the Internet, applications with the popularization and extensive use of the development of information technology, especially Internet technology All kinds of electronics and IT products popularize rapidly, turn into the carrier and instrument of important information interchange, such as service unit, PC Deng so that user can carry out more convenient information interchange by these equipment, greatly improve user and information is obtained Take ability.
Nowadays, the protection of information data is more and more important, especially service unit, stores the substantial amounts of Information Number of union According to, although now desktop computer, service unit can all be furnished with UPS, not power-off protection, sharp pounding are carried out in the case of accident During generation, it is also possible to UPS power failures are caused so that important ephemeral data is forever lost because power line loosens fracture, because This, the protected mode used at present is not well positioned to meet the safety of significant data.
The content of the invention
In view of the above problems, according to an aspect of the invention, there is provided a kind of method of data emergency protection, is applied to Electronic equipment, including the detection electronic equipment is by the acceleration of external shock;Compare the electronic equipment of detection by the external world Whether the acceleration of vibrations reaches preset value A;When acceleration of the electronic equipment by external shock for comparing detection When reaching preset value A, the data in the volatile storage medium of the electronic equipment are saved in secure storage section, Wherein described secure storage section is non-volatile memory medium in the electronic equipment or is and the electronic equipment connects The external non-volatile storage medium connect.
According to another aspect of the present invention, a kind of electronic equipment of data emergency protection, including sensing list are additionally provided Member, configure to detect acceleration of the electronic equipment by external shock;Comparing unit, configure to compare the electronics of detection Whether equipment is reached preset value A by the acceleration of external shock;Control unit, when the electronic equipment for comparing detection When being reached preset value A by the acceleration of external shock, configuration is performed the data in the electronic equipment internal memory to control Be saved in secure storage section, wherein the secure storage section be the electronic equipment in non-volatile memory medium or Person is the external non-volatile storage medium being connected with the electronic equipment.
By data emergency protection method provided in an embodiment of the present invention and electronic equipment, by timely when macroseism occurs Shut down after important ephemeral data is saved in into the memory blocks such as interior HDD or SSD, to prevent further vibrations possible afterwards or electricity Source is failed and causes the thorough loss of significant data, is in this way in time transferred to important ephemeral data before device powers down Secure storage areas, it further ensure that the safety of important ephemeral data.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, make below by required in the description to embodiment Accompanying drawing is briefly described.Drawings in the following description are only the exemplary embodiment of the present invention.
Fig. 1 is the flow chart of data emergency protection method according to embodiments of the present invention.
Fig. 2 is the flow chart of data emergency protection method in accordance with another embodiment of the present invention.
Fig. 3 is the flow chart 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, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Pay attention to, in the specification and drawings In, there is substantially the same step and element to be denoted by the same reference numerals, and to these steps and the repetition solution of element Releasing to be omitted.
Below, reference picture 1 illustrates the data emergency protection method of embodiments of the invention.Fig. 1 is depicted according to this hair The flow chart of the data emergency protection method 100 of bright embodiment.Data emergency protection method 100 can be applied to electronic equipment. According to an embodiment of the invention, the concrete form of electronic equipment may include but be not limited to server, PC etc..
As shown in figure 1, in step S101, acceleration of the detection electronic equipment by external shock.According to the one of the present invention Individual example, electronic equipment is by built-in sensing unit senses electronic equipment integrally by impact or vibrations from extraneous strength Acceleration.Extraneous impact or vibrations may include that diversified forms, such as electronic equipment fall the contact impact being subject to from eminence, Impact etc. is rocked when earthquake occurs.
In step s 102, whether the electronic equipment for comparing detection is reached preset value A by the acceleration of external shock. According to an embodiment of the invention, the oscillatory acceleration of detection is sent to comparing unit by the built-in sensing unit of electronic equipment, than The oscillatory acceleration received (is preset with the oscillatory acceleration a reference value for wherein pre-setting and having stored compared with unit Value) A is compared, and comparing unit generates corresponding output signal according to comparative result.Wherein, the vibrations for pre-setting For acceleration a reference value A, its can be indicated for being likely to result in electronic equipment can not normal work critical value, i.e., it is electric The maximum antidetonation acceleration of sub- equipment, if oscillatory acceleration is more than preset value A, electronic equipment would be possible to by Damage and normal work or can not can not ensure the safety of the provisional data that volatile memory cell in electronic equipment stores. In addition, according to another embodiment of the invention, what preset value A can be set is less than maximum antidetonation acceleration so that electricity Transfer operation of the sub- equipment without just starting ephemeral data until only detecting maximum antidetonation acceleration, avoids working as startup simultaneously When performing ephemeral data transfer operation, because the maximum antidetonation that oscillatory acceleration, which persistently increases above electronic equipment, to bear adds Speed destroys electronic equipment, can not finally complete the transfer operation of ephemeral data, therefore be less than what preset value A was set Maximum antidetonation acceleration, it can fully ensure that ephemeral data is transferred to peace by electronic equipment in safety not in the case of not being destroyed Full storage region.Meanwhile it is also contemplated that, the too small of preset value A settings can cause electronic equipment to be easy to because shake The situation that dynamic or impact just starts ephemeral data protection operation occurs, and influences the normal work of electronic equipment, therefore, typically can will Preset value A is set smaller than electronic equipment maximum antidetonation one rational scope of acceleration, avoids the generation of the above situation.
Then, in step s 103, set in advance when the electronic equipment for comparing detection is reached by the acceleration of external shock During definite value A, the data in the volatile storage medium of electronic equipment are saved in secure storage section.According to the reality of the present invention Apply example, when the built-in sensing unit senses in electronic equipment to oscillatory acceleration meet or exceed preset value A when, compare Unit will export the control unit of enabling signal electron equipment, and control unit is set according to the enabling signal control electronics received It is standby that data in volatile storage medium are saved in secure storage section, it will be currently stored in volatile storage medium Data are transferred to safe storage region, avoid the jerk that subsequently occurs influence or destroy electronic equipment normal work or Person causes electronic equipment to power off suddenly so that the loss of data being stored in volatile storage medium.
According to an embodiment of the invention, there can be multiple choices for secure storage section, both can be in electronic equipment Non-volatile memory cells or the non-volatile memory cells of external connection are carried out with electronic equipment.It is also, non-easy The property lost memory cell can also be various, both can be mechanical hard disk (HDD) storage or solid state hard disc (SSD) Stored Deng non-mechanical, in a word, the present embodiment includes but is not limited to the above-mentioned storage mode enumerated, as long as can be by nonce The storage region being saved according to fast and safely shifting as far as possible can serve as the signified secure storage section of the present embodiment.
As above, data emergency protection method according to embodiments of the present invention, by sense electronic equipment integrally by from The mode of the acceleration of impact or the vibrations of extraneous strength is protected to determine the need for performing ephemeral data, faces when needing execution When data protection when, the ephemeral data in electronic equipment is transferred to secure storage section in time, avoids rear supervention in this way Raw jerk influences or destroyed the normal work of electronic equipment or causes electronic equipment to power off suddenly so that important faces When loss of data.
Below, reference picture 2 illustrates the data emergency protection method of another embodiment of the present invention.Fig. 2 depicts basis The flow chart of the data emergency protection method 200 of one embodiment of the invention.
Step S201, S202 in method 200 is similar with method S101, S102 shown in Fig. 1.Specifically, in step In S201, acceleration of the detection electronic equipment by external shock.In step S202, the electronic equipment for comparing detection is shaken by the external world Whether dynamic acceleration reaches preset value A.Set as described above, pre-setting value A and being indicated for being likely to result in electronics It is standby can not normal work critical value, i.e., maximum antidetonation acceleration is electric if oscillatory acceleration is more than preset value A Sub- equipment would be possible to be damaged and normal work or can not can not ensure in electronic equipment that volatile memory cell stores Provisional data safety.
As shown in Fig. 2 the step S203 of data emergency protection method 200 refers to that secure storage section is mechanical hard disk (HDD) situation, the defects of due to mechanical hard disk (HDD) construction itself, it is also possible to when shaking and occurring because vibrations are strong Spend it is big and cause permanent damage and can not normal work, therefore when electronic equipment using mechanical hard disk (HDD) as non- , it is necessary to take measures to ensure mechanical hard disk (HDD) when oscillatory acceleration is more than preset value A during volatile memory cell It is not destroyed, premise is provided for the ephemeral data in volatile memory cell is smoothly subsequently saved in into mechanical hard disk (HDD) Ensure.
According to an embodiment of the invention, in step S203, when the acceleration of vibrations reaches preset value A, start The magnetic head protection of mechanical hard disk (HDD), magnetic head is docked to mechanical hard disk (HDD) safety zone, protected in this way Mechanical hard disk (HDD) is not damaged by.
Then, in step S204, it is less than until the oscillatory acceleration detected is reduced to after preset value A is reached During preset value B, the magnetic head of mechanical hard disk (HDD) moves on to working region and starts normal work again, and will be described volatile Property storage medium in data be saved in the mechanical hard disk (HDD).According to an embodiment of the invention, preset value B Less than preset value A, wherein preset value B is to be used to judge whether oscillatory acceleration drops from maximum antidetonation acceleration magnitude A To the secure threshold of comparatively safe oscillatory acceleration, actual conditions and engineering staff that the determinations of B values can be according to electronic equipment Obtained by the experiment of limited number of time.Only when oscillatory acceleration after reaching preset value A from being reduced to less than preset value B When, now think that electronic equipment is in range of stability, possess the condition that ephemeral data is transferred to mechanical hard disk (HDD), Therefore, the magnetic head of mechanical hard disk (HDD) moves on to working region and starts normal work again, is stored in volatile storage medium Data be saved to prestissimo in the mechanical hard disk (HDD), avoid oscillatory acceleration again above maximum antidetonation Acceleration magnitude A damages to electronic equipment so that ephemeral data is lost.
In step S205, the data in the volatile storage medium of the electronic equipment are saved in described mechanical hard After the completion of disk (HDD), and when the oscillatory acceleration now detected is less than the preset value A, the electronics is set Standby shutdown.According to an embodiment of the invention, after the completion of the transfer of provisional data is saved in mechanical hard disk (HDD), shake simultaneously When dynamic acceleration is less than the preset value A, now mechanical hard disk (HDD) is in normal operating conditions, can be by electronics Equipment is shut down in a manner of most time saving, and the data for ensuring to be stored in mechanical hard disk (HDD) as far as possible are not damaged by.Wherein, For electronic equipment, it is necessary to be determined according to electronic equipment particular situation, example in a manner of the shutdown for the time shutdown most saved Such as, electronic equipment directly powers off in the case where ensureing safety, or the operating system omission in electronic equipment is all unnecessary Inspection link electronic equipment is shut down with most fast shutdown mode.
As above, data emergency protection method 200 according to embodiments of the present invention is to be applied to provisional data being saved in The embodiment of mechanical hard disk (HDD), wherein except protecting provisional data, also to protect as the mechanical hard of safety zone Disk (HDD) is not damaged by so that provisional data are capable of safe be saved in mechanical hard disk (HDD).
Below, reference picture 3 illustrates the data emergency protection method of another embodiment of the present invention.Fig. 3 depicts basis The flow chart of the data emergency protection method 300 of one embodiment of the invention.
Step S301, S302 in method 300 is similar with method S101, S102 shown in Fig. 1.Specifically, in step In S301, acceleration of the detection electronic equipment by external shock.In step s 302, the electronic equipment for comparing detection is shaken by the external world Whether dynamic acceleration reaches preset value A.Set as described above, pre-setting value A and being indicated for being likely to result in electronics It is standby can not normal work critical value, i.e., maximum antidetonation acceleration is electric if oscillatory acceleration is more than preset value A Sub- equipment would be possible to be damaged and normal work or can not can not ensure in electronic equipment that volatile memory cell stores Provisional data safety.
As shown in figure 3, the step S303 of data emergency protection method 300 refers to that secure storage section is solid state hard disc (SSD) situation, according to an embodiment of the invention, in step S303, preset when the oscillatory acceleration detected reaches During value A, the data in volatile storage medium are saved in the solid state hard disc (SSD) of electronic equipment.Implemented according to the present invention Example, due to solid state hard disc (SSD) structure construction on advantage, it is not necessary to also need to give volume as mechanical hard disk (HDD) Outer antidetonation considers, therefore it may only be necessary to when detecting oscillatory acceleration and reaching preset value A, just by volatile storage medium Data be saved in the solid state hard disc (SSD) of electronic equipment so that ephemeral data is transferred to safety zone and preserved.
Then, in step s 304, the data in the volatile storage medium of electronic equipment are saved in solid state hard disc (SSD) after the completion of, electronic equipment is shut down rapidly in a manner of most time saving, prevents electronic equipment from being rushed again by vibrations with this Hit so that the data for having been saved in solid state hard disc (SSD) are damaged and lost.Wherein, for electronic equipment with most save when Between the shutdown mode shut down, it is necessary to be determined according to electronic equipment particular situation, for example, electronic equipment is ensureing the feelings of safety Directly powered off under condition, or the operating system in electronic equipment is omitted all unnecessary inspection links and made with most fast shutdown mode Electronic equipment shuts down.
Here, the description of data emergency protection method 300 according to embodiments of the present invention, is to be saved in provisional data The embodiment of solid state hard disc (SSD), it is therefore, hard compared to mechanical because solid state hard disc (SSD) has stronger shock resistance Disk (HDD), reduce and protect solid state hard disc (SSD) not destroyed step.
Below, reference picture 4 illustrates the electronic equipment with data emergency protection of embodiments of the invention.Fig. 4 is to show The exemplary block diagram of electronic equipment 400 according to an embodiment of the invention.As shown in Figure 4, the electronics of the present embodiment Equipment 400 includes sensing unit 410, comparing unit 420, control unit 430 and secure storage section 440.Electronic equipment 400 Unit can perform the signal processing method 100 in above-mentioned Fig. 1 and the data emergency protection side in above-mentioned Fig. 2,3 respectively Each step/function of method.Therefore, only the critical piece of electronic equipment 400 is described below, and eliminates the above The detail content that combined Fig. 1, Fig. 2 and Fig. 3 were described.
According to embodiments of the present invention, sensing unit 410, configure to detect acceleration of the electronic equipment by external shock.Tool Body, electronic equipment is by built-in sensing unit senses electronic equipment integrally by the impact from extraneous strength or vibrations Acceleration, wherein extraneous impact or vibrations includes diversified forms, such as electronic equipment falls the contact impact being subject to from eminence, Impact etc. is rocked when earthquake occurs.
Comparing unit 420, configure to compare whether the electronic equipment detected is reached pre- by external shock acceleration First setting value A.Specifically, the oscillatory acceleration generation electric signal of detection is sent to and compared by the built-in sensing unit of electronic equipment Unit 420, compared with the oscillatory acceleration a reference value A pre-set in comparing unit 420, with this so that comparing unit Generate corresponding output signal.
Wherein, for the oscillatory acceleration a reference value A pre-set, it is indicated for being likely to result in electronics Equipment can not normal work critical value, i.e., maximum antidetonation acceleration, if oscillatory acceleration is more than preset value A, Electronic equipment would be possible to be damaged and normal work or can not can not ensure that volatile memory cell is deposited in electronic equipment The safety of the provisional data of storage.
Control unit 430, when comparing the electronic equipment detected and being reached preset value A by external shock acceleration, Data in electronic equipment internal memory are saved in secure storage section 440 by configuration to control to perform, wherein secure storage section 440 be the non-volatile memory medium in electronic equipment or the external non-volatile storage medium to be connected with electronic equipment. Specifically, when the built-in sensing unit senses in electronic equipment to oscillatory acceleration meet or exceed preset value A when, than Compared with the control unit that unit will export enabling signal electron equipment, control unit controls electronics according to the enabling signal received Data in volatile storage medium are saved in secure storage section by equipment, will be currently stored in volatile storage medium Data be transferred to safe storage region, avoid the jerk that subsequently occurs from influenceing or destroy the normal work of electronic equipment Or electronic equipment is caused to power off suddenly so that the loss of data being stored in volatile storage medium.
Wherein, there can be multiple choices for secure storage section 440, both can be that non-volatile in electronic equipment is deposited Storage unit or the non-volatile memory cells that external connection is carried out with electronic equipment.Also, referring herein to it is non-volatile Property memory cell can also be various, both can be mechanical hard disk (HDD) storage or solid state hard disc (SSD) etc. Non-mechanical stores, and in a word, the present embodiment includes but is not limited to the above-mentioned storage mode enumerated, as long as can be by ephemeral data The storage region being saved in fast and safely is shifted as far as possible can serve as the signified secure storage section of the present embodiment.
As above, data emergency protection method according to embodiments of the present invention, it is whole that electronic equipment is sensed by sensing unit 410 Body determines the need for performing temporarily by the impact from extraneous strength or the acceleration of vibrations, and by comparing unit 420 Data protection, when needing to perform ephemeral data protection, control turns the ephemeral data in electronic equipment to control unit 430 in time Move on to secure storage section, avoid in this way the jerk that subsequently occurs influence or destroy electronic equipment normal work or Person causes electronic equipment to power off suddenly so that important ephemeral data is lost.
Fig. 5 is the demonstration for showing the electronic equipment 500 in accordance with another embodiment of the present invention with data emergency protection Property structured flowchart, wherein electronic equipment 500 includes sensing unit 510, comparing unit 520, control unit 530 and mechanical hard Disk (HDD) 540, the unit of electronic equipment 500 is consistent with the unit of electronic equipment 400, only stores safety The type in region 440 is embodied as mechanical hard disk (HDD) 540.Therefore, below only to electronic equipment 500 using mechanical hard Disk (HDD) 540 does materialization description as the characteristics of secure storage section 440.
According to an embodiment of the invention, when the acceleration of vibrations reaches preset value A, control unit 430 also configures First to start the protection of the magnetic head of mechanical hard disk (HDD), magnetic head is docked to mechanical hard disk (HDD) safety zone.Work as biography The oscillatory acceleration that detects of sense unit 410 from reach be reduced to after preset value A less than preset value B when, control is single The magnetic head of mechanical hard disk (HDD) is moved on to working region and starts normal work by member again, and by the volatile storage medium In data be saved in the mechanical hard disk (HDD).According to an embodiment of the invention, preset value B is less than and set in advance Definite value A.Completed the data in the volatile storage medium of the electronic equipment are saved in into the mechanical hard disk (HDD) Afterwards, when the oscillatory acceleration and now detected is less than the preset value A, when the electronic equipment is most to save Between mode shut down rapidly.According to an embodiment of the invention, completed when the transfer of provisional data is saved in mechanical hard disk (HDD) Afterwards, when while oscillatory acceleration is less than the preset value A, now mechanical hard disk (HDD) is in normal operating conditions, with Most time saving mode rapidly shuts down electronic equipment, prevents electronic equipment from damaging or causing by jerk again The data for having been saved in mechanical hard disk (HDD) are lost because of hard disk corruptions.
Fig. 6 is the demonstration for showing the electronic equipment 600 in accordance with another embodiment of the present invention with data emergency protection Property structured flowchart, wherein electronic equipment 600 includes sensing unit 610, comparing unit 620, control unit 630 and mechanical hard Disk (HDD) 640, the unit of electronic equipment 600 is consistent with the unit of electronic equipment 400, only stores safety The type in region 440 is embodied as solid state hard disc (SSD) 640.Therefore, solid state hard disc only is used to electronic equipment 600 below (SSD) 640 materialization description is done as the characteristics of secure storage section 440.
According to one embodiment of present invention, when the oscillatory acceleration detected reaches preset value A, by volatibility Data in storage medium are saved in the solid state hard disc (SSD) 640 of electronic equipment.According to embodiments of the present invention, due to solid-state The advantage on structure construction of hard disk (SSD) 640, it is not necessary to also need to give extra antidetonation as mechanical hard disk (HDD) Consider, therefore it may only be necessary to when detecting oscillatory acceleration and reaching preset value A, just by the data guarantor in volatile storage medium It is stored in the solid state hard disc (SSD) of electronic equipment so that ephemeral data is transferred to safety zone and preserved.
Then, after the completion of the data in the volatile storage medium of electronic equipment being saved in into solid state hard disc (SSD), electronics Equipment is shut down rapidly in a manner of most time saving, prevents electronic equipment again by jerk so that having been saved in this The data of solid state hard disc (SSD) are damaged and lost.
As above, the electronic equipment with data emergency protection according to embodiments of the present invention, sensing unit senses electricity is passed through Sub- equipment is integrally by the impact from extraneous strength or the acceleration of vibrations, and determine the need for performing by comparing unit Ephemeral data is protected, and when needing to perform ephemeral data protection, control unit controls the ephemeral data in electronic equipment in time Secure storage section is transferred to, the jerk for avoiding subsequently occurring in this way influences or destroyed the normal work of electronic equipment Or cause electronic equipment to power off suddenly and important ephemeral data is lost.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.This Art personnel can realize described function using distinct methods to each specific application, but this realization It is it is not considered that beyond the scope of this invention.
It should be appreciated by those skilled in the art that responsible design requirement and other factorses the present invention is carried out various modifications, Combination, part are combined and replaced, as long as in appended claims and its equivalency range.

Claims (16)

1. a kind of method of data emergency protection, applied to electronic equipment, including:
Detect acceleration of the electronic equipment by external shock;
Compare whether the electronic equipment detected is reached preset value A by external shock acceleration;
When comparing the electronic equipment detected and being reached preset value A by external shock acceleration, the electronics is set Data in standby volatile storage medium are saved in secure storage section, wherein the secure storage section is the electronics Non-volatile memory medium in equipment or the external non-volatile storage medium to be connected with the electronic equipment;
Wherein described preset value A is the maximum antidetonation acceleration that the electronic equipment can be born.
2. according to the method for claim 1, wherein the data by the volatile storage medium of the electronic equipment Being saved in secure storage section includes:
Data in the volatile storage medium are saved in the mechanical hard disk (HDD) of the electronic equipment.
3. according to the method for claim 2, the data by the volatile storage medium of the electronic equipment preserve It is specially into mechanical hard disk (HDD):
When the oscillatory acceleration detected reaches preset value A, the magnetic head for starting the mechanical hard disk (HDD) is protected Shield, the magnetic head dock to the safety zone of the mechanical hard disk (HDD);
The oscillatory acceleration detected from reach be reduced to after the preset value A less than preset value B when, institute The magnetic head for stating mechanical hard disk (HDD) moves on to working region and starts normal work again, and by the volatile storage medium Data be saved in the mechanical hard disk (HDD), wherein preset value A is more than preset value B.
4. the method according to claim 11, in addition to:
After the completion of data in the volatile storage medium of the electronic equipment are saved in into the mechanical hard disk (HDD), and And the oscillatory acceleration now detected is when being less than the preset value A, the electronic equipment shutdown.
5. according to the method described in claim 2,3 or 4, wherein described preset value A is the mechanical hard disk (HDD) The maximum antidetonation acceleration born during normal work.
6. according to the method for claim 1, wherein the data by the volatile storage medium of the electronic equipment Being saved in secure storage section includes:
Data in the volatile storage medium are saved in the solid state hard disc (SSD) of the electronic equipment.
7. according to the method for claim 6, wherein the data by the volatile storage medium of the electronic equipment It is saved in solid state hard disc (SSD) and is specially:
When the oscillatory acceleration detected reaches preset value A, the data in the volatile storage medium are protected It is stored in the solid state hard disc (SSD) of the electronic equipment.
8. the method according to claim 11, in addition to:
Data in the volatile storage medium of the electronic equipment are preserved to after the completion of the solid state hard disc (SSD), will described in Electronic equipment shuts down.
9. a kind of electronic equipment of data emergency protection, including:
Sensing unit, configure to detect acceleration of the electronic equipment by external shock;
Comparing unit, configure to compare whether the electronic equipment detected is reached preset value by external shock acceleration A;
Control unit, when comparing the electronic equipment detected and being reached preset value A by external shock acceleration, configuration The data in the electronic equipment internal memory are saved in secure storage section to control to perform, wherein the secure storage section For the non-volatile memory medium in the electronic equipment or the external non-volatile to be connected with the electronic equipment stores Medium;
Wherein described preset value A is the maximum antidetonation acceleration that the electronic equipment can be born.
10. electronic equipment according to claim 9, wherein the non-volatile memory medium in the electronic equipment is machinery Formula hard disk (HDD).
11. electronic equipment according to claim 10, wherein
When the oscillatory acceleration detected reaches preset value A, described control unit is further configured to first to start described The magnetic head protection of mechanical hard disk (HDD), the magnetic head is docked to the safety zone of the mechanical hard disk (HDD);
The oscillatory acceleration detected from reach be reduced to after the preset value A less than preset value B when, by Described control unit control makes the magnetic head of the mechanical hard disk (HDD) move on to working region again to start normal work, and will Data in the volatile storage medium are saved in the mechanical hard disk (HDD), and wherein preset value A is more than advance Setting value B.
12. electronic equipment according to claim 11, in addition to:
The data in the volatile storage medium of the electronic equipment are saved in by described control unit control described mechanical After the completion of hard disk (HDD), and when the oscillatory acceleration now detected is less than the preset value A, the electronics Equipment is shut down.
13. according to the electronic equipment described in claim 10,11 or 12, wherein described preset value A is described mechanical The maximum antidetonation acceleration born during hard disk (HDD) normal work.
14. electronic equipment according to claim 9, wherein the non-volatile memory medium in the electronic equipment is solid-state In hard disk (SSD).
15. electronic equipment according to claim 14, wherein
When the oscillatory acceleration detected reaches preset value A, the volatibility is made by described control unit control Data in storage medium are saved in the solid state hard disc (SSD) of the electronic equipment.
16. electronic equipment according to claim 15, wherein
Described control unit is further configured to control, and to be saved in the data in the volatile storage medium of the electronic equipment described After the completion of solid state hard disc (SSD), the electronic equipment is shut down.
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 CN104461405A (en) 2015-03-25
CN104461405B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377294B (en) * 2018-01-31 2021-02-02 Oppo广东移动通信有限公司 Electronic device, fall data storage method and related product
CN109344002B (en) * 2018-08-30 2021-01-29 Oppo(重庆)智能科技有限公司 Data loss prevention 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

Also Published As

Publication number Publication date
CN104461405A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
TWI721027B (en) Methods and apparatuses to provide power in idle states
US8214658B2 (en) Enhanced thermal management for improved module reliability
CN102496907B (en) Set top box, power fail safeguard device and power fail data protection method
CN104461947A (en) Power failure protection method and solid-state disk
US8527788B2 (en) Network wake up system with protection function
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN104268487A (en) Reset and self-destruction management system for security chip
US20210359861A1 (en) Microcode signature security management system based on trustzone technology and method
CN102004707A (en) Power-fail protection method and device for solid state disk
CN104461405B (en) Data emergency protection method and electronic equipment
US8782444B2 (en) Circuit protection system and method for a circuit utilizing chip type power supply
US8138929B2 (en) Method for protecting data in non-volatile storage device and computer thereof
EP4043892B1 (en) Method and apparatus for testing function of adaptor, testing device, and storage medium
CN103853311A (en) Low power application execution on data processing device having low graphics engine utilization
CN104424403A (en) Information processing method and electronic device
US8826056B2 (en) Circuit protection system and method
CN104076892A (en) Power supply management method and power supply management system
CN102043735B (en) External storage equipment and power fail safeguard method thereof
CN203689508U (en) Mainboard and computer
CN201994075U (en) Solid-state electronic disk capable of authentic data destruction based on CPLD (complex programmable logic device)
CN104464802A (en) Storage device and data protection method
CN107910034B (en) Power-down protection circuit of Flash memory
TW201317888A (en) Electronic equipment and method for protecting against earthquake damage
TW201348948A (en) Method and system for recording shutdown information in notebook computer
CN104731297A (en) Computer system protective circuit

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