CN103680570A - Hard disk protection method and device and electronic equipment - Google Patents

Hard disk protection method and device and electronic equipment Download PDF

Info

Publication number
CN103680570A
CN103680570A CN201210324678.6A CN201210324678A CN103680570A CN 103680570 A CN103680570 A CN 103680570A CN 201210324678 A CN201210324678 A CN 201210324678A CN 103680570 A CN103680570 A CN 103680570A
Authority
CN
China
Prior art keywords
axial
acceleration value
variable quantity
gravity acceleration
meets
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
CN201210324678.6A
Other languages
Chinese (zh)
Other versions
CN103680570B (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 CN201210324678.6A priority Critical patent/CN103680570B/en
Publication of CN103680570A publication Critical patent/CN103680570A/en
Application granted granted Critical
Publication of CN103680570B publication Critical patent/CN103680570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the invention discloses a hard disk protection method applied to electronic equipment. The electronic equipment at least comprises a triaxial gravitational acceleration sensor of which one axis is perpendicular to a video disc of a hard disk. The method comprises the following steps: acquiring three axial gravitational acceleration values measured by the triaxial gravitational acceleration sensor within the preset time; when the variation of one axial gravitational acceleration value meets the preset removal condition within the preset time, moving a head away from the video disc. The hard disk protection method disclosed by the embodiment of the application avoids the problem of vibration mis-report by judging the external vibration condition in multiple directions, so that the accuracy in protecting the hard disk is improved.

Description

Hard disk protecting method, device and electronic equipment
Technical field
The present invention relates to memory device technical field, more particularly, relate to a kind of hard disk protecting method, device and electronic equipment.
Background technology
Widespread use along with mobile electronic equipments such as notebook computer, integrated computer, video players, people are also increasing to the demand of the memory capacity of these mobile electronic equipments, can support the hard disk of mass-memory unit just to become the first-selection of these electronic equipments.
Hard disk is a kind of very accurate memory device, comprises magnetic head and video disc.When hard disk carries out read-write operation, magnetic head only has several nanometers in the flying height of disc surface; Even idle time, magnetic head is also suspended in video disc top, therefore, once there is larger vibration, just easily causes magnetic head and video disc to clash into mutually, causes video disc to damage, and loses the file data of storing in hard disk.This is with regard to requiring the electronic equipment of applying hard disk to have higher resistance to shock, so that hard disk is protected.
Existing electronic equipment is detected external shock situation by monitoring two axial acceleration of gravity, and then hard disk is protected.Yet inventor, in realizing process of the present invention, finds that existing this hard disk protecting method is too simple, easily causes failing to report of shock conditions, causes the damage to hard disk.
Summary of the invention
The object of this invention is to provide a kind of hard disk protecting method, to solve Vibration Condition, fail to report, cause the problem to the damage of hard disk.
For achieving the above object, the invention provides following technical scheme:
A hard disk protecting method, is applied to electronic equipment, and described electronic equipment at least comprises three axle Gravity accelerometers, and an axle of described three axle Gravity accelerometers is perpendicular to the video disc of described hard disk; Described method comprises:
Obtain three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
When have the variable quantity of an axial gravity acceleration value in described Preset Time, meet defaultly while removing condition, magnetic head is removed from video disc.
Said method, preferred, according to following method, judge whether that the variable quantity that has an axial gravity acceleration value meets the default condition of removing, and comprising:
First whether the variable quantity of the described axial gravity acceleration value perpendicular to video disc of judgement meets the default condition of removing, and if so, illustrates that the variable quantity that has an axial gravity acceleration value meets the default condition of removing; If not, whether the variable quantity that judges respectively the gravity acceleration value that two other is axial meets the default condition of removing, when the variable quantity of any one axial gravity acceleration value meets defaultly while removing condition, illustrate that the converted quantity that has an axial gravity acceleration value meets the condition of removing of presetting.
Said method, preferred, according to following method, judge whether that the variable quantity that has an axial gravity acceleration value meets the default condition of removing, and comprising:
Judge that the variable quantity that whether has an axial gravity acceleration value in very first time interval meets the default condition of removing; If not, judge that the variable quantity that whether has an axial gravity acceleration value in second time interval meets the default condition of removing; Wherein, described second interval greater than described very first time interval.
Said method, preferred, also comprise:
The variable quantity that does not have an axial gravity acceleration value within described second time interval meets default while removing condition, judge whether the variable quantity that whether has an axial gravity acceleration value in the 3rd time interval meets the condition of removing of presetting; If not, judge that the variable quantity that whether has an axial gravity acceleration value in the 4th time interval meets the default condition of removing; Wherein, the described the 4th interval greater than described the 3rd time interval, and the described the 3rd interval greater than described second time interval.
Said method, preferred, also comprise:
The variable quantity that does not have an axial gravity acceleration value within described the 4th time interval meets default while removing condition, judge whether the variable quantity that whether has an axial gravity acceleration value in the 5th time interval meets the condition of removing of presetting; If not, judge that the variable quantity that whether has an axial gravity acceleration value in the 6th time interval meets the default condition of removing; Wherein, the described the 6th interval greater than described the 5th time interval, and the described the 5th interval greater than described the 4th time interval.
Said method, preferred, according to following method, judge whether the variable quantity of an axial gravity acceleration value meets the default condition of removing, comprising:
The axial corresponding threshold value of removing of the variable quantity of described gravity acceleration value and this is compared;
When the variable quantity of described gravity acceleration value is greater than, described this is axially corresponding while removing threshold value, and the variable quantity of described gravity acceleration value meets the default condition of removing.
Said method, preferred, the threshold value of removing of the described axial correspondence perpendicular to described video disc direction is less than or equal to two other axially corresponding threshold value of removing.
Said method, preferred, magnetic head, from video disc is removed, is also comprised:
Hard disk is unloaded to mark position 1.
A protection device for hard disk, is applied to electronic equipment, comprising:
Three axle Gravity accelerometers, for measuring orthogonal three axial acceleration of gravity; An axle of described three axle Gravity accelerometers is perpendicular to the video disc of described hard disk;
Acquisition module, for obtaining three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
Protection module, for meeting defaultly while removing condition when have the variable quantity of an axial gravity acceleration value in described Preset Time, removes magnetic head from video disc.
Said apparatus, preferred, described protection module comprises: judgement submodule, for judge in described Preset Time, whether have an axial acceleration of gravity variable quantity meet the default condition of removing;
Control submodule, for judge an axial gravity acceleration value at described judging unit, meet defaultly while removing condition, control described magnetic head and remove from video disc.
Said apparatus, preferred, described judgement submodule comprises:
Comparing unit, for comparing the axial corresponding threshold value of removing of the variable quantity of each axial gravity acceleration value and this;
Judging unit, is greater than for the variable quantity when described gravity acceleration value that described this is axially corresponding while removing threshold value, determines that the variable quantity of described gravity acceleration value meets the default condition of removing.
Said apparatus, preferred, the threshold value of removing of the described axial correspondence perpendicular to described video disc direction is less than or equal to two other axially corresponding threshold value of removing.
Said apparatus, preferred, comprise the protection device for hard disk as described in claim 9-12 any one.
Known by above scheme; a kind of hard disk protecting method that the application provides; apply three axle Gravity accelerometers and measure the gravity acceleration value of three directions in Preset Time; as long as have the variable quantity of an axial gravity acceleration value in Preset Time, meet the default condition of removing; magnetic head is removed from video disc; be about to hard disk unloading; the hard disk protecting method that the application provides; from multiple directions judgement extraneous vibration situation; the problem of failing to report of avoiding Vibration Condition, has improved the degree of accuracy of hard disk protection.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of a kind of hard disk protecting method that Fig. 1 provides for the embodiment of the present application;
The process flow diagram of the another kind of hard disk protecting method that Fig. 2 provides for the embodiment of the present application;
The process flow diagram of another hard disk protecting method that Fig. 3 provides for the embodiment of the present application;
The structural representation of a kind of protection device for hard disk that Fig. 4 provides for the embodiment of the present application.
Term " first " in instructions and claims and above-mentioned accompanying drawing, " second ", " the 3rd " " 4th " etc. (if existence) are for distinguishing similar part, and needn't be for describing specific order or precedence.The data that should be appreciated that such use suitably can exchanged in situation, so that the application's described herein embodiment can be with the order enforcement except here illustrated.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For sake of convenience, in the embodiment of the present application, by three axle Gravity accelerometers, the axle vertical with the video disc of hard disk is referred to as Z axis, and two other axle is called X-axis and Y-axis; Three axles are orthogonal relation between two.
Refer to Fig. 1, the process flow diagram of a kind of hard disk protecting method that Fig. 1 provides for the embodiment of the present application, the hard disk protecting method that the embodiment of the present application provides is applied to electronic equipment, this electronic equipment at least comprises three axle Gravity accelerometers, and an axle of described Gravity accelerometer is perpendicular to the video disc of described hard disk; For sake of convenience, in the embodiment of the present application, by three axle Gravity accelerometers, the axle vertical with the video disc of hard disk is referred to as Z axis, and two other axle is called X-axis and Y-axis; Three axles are orthogonal relation between two.
The hard disk protecting method that the application provides comprises:
Step S101: obtain three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
Obtain in predetermined amount of time three axial gravity acceleration value that described three axle Gravity accelerometers record.
Step S102: meet defaultly while removing condition when have the variable quantity of an axial gravity acceleration value in described Preset Time, magnetic head is removed from video disc.
For each axle, calculate the variable quantity of its gravity acceleration value recording in Preset Time section, as long as judge the variable quantity of an axial acceleration of gravity, meet the default condition of removing, explanation has the hurtful factor of pair hard disk to exist, and control head is removed from video disc.
Preferably, for each axle, can judge by the following method whether the variable quantity of the gravity acceleration value that this is axial meets the default condition of removing:
The axial corresponding threshold value of removing of the variable quantity of this axial gravity acceleration value and this is compared; In the embodiment of the present application, for each axle, be all preset with it the corresponding threshold value of removing; Wherein, corresponding with Z axis remove threshold value be less than or equal to X-axis and Y-axis corresponding remove threshold value, and corresponding the removing threshold value and can equate of X-axis or Y-axis can not wait yet.
When the variable quantity of described gravity acceleration value is greater than, this is axially corresponding while removing threshold value, the variable quantity that the gravity acceleration value that this is axial is described meets the default condition of removing, otherwise, illustrate that the variable quantity of the gravity acceleration value that this is axial does not meet the default condition of removing.
A kind of hard disk protecting method that the embodiment of the present application provides; by measuring the gravity acceleration value of three directions in Preset Time; the variable quantity that has an axial gravity acceleration value in Preset Time meets default while removing condition; magnetic head is removed from video disc; be about to hard disk unloading, the hard disk protecting method that the application provides, from multiple directions judgement external shock situation; the problem of failing to report of avoiding shock conditions, has improved the degree of accuracy of hard disk protection.
In prior art; with two axle acceleration sensors, monitor extraneous vibration; thereby hard disk is protected; but; inventor is in realizing process of the present invention; the variation tendency of vibration data of finding the direction (Z axis) vertical with disk video disc place plane is more obvious than the data variation trend of two axial (X-axis and Y-axis) in prior art, and hard disk is more responsive to the vibration of this direction, more easily causes the collision of magnetic head and video disc.
Preferably, in above-described embodiment, at the variable quantity that judges whether to have an axial gravity acceleration value, meet defaultly while removing condition, can realize according to the following steps:
Whether the variable quantity that first judges the gravity acceleration value of Z axis meets the default condition of removing, if, the variable quantity that this explanation has an axial gravity acceleration value meets the default condition of removing, if not, whether the variable quantity that judges respectively the gravity acceleration value of X-axis and Y-axis meets the default condition of removing, in these two axles, the variable quantity of the gravity acceleration value that any one is axial meets default while removing condition, illustrate that the converted quantity that has an axial gravity acceleration value meets the condition of removing of presetting.
Preferably, in above-described embodiment, in order to judge the state of disk, by magnetic head from video disc is removed, hard disk can also be unloaded to mark position 1, represent that hard disk has unloaded; If hard disk unloading zone bit is 0, not unloading of hard disk is described.
Referring to Fig. 2, the process flow diagram of the another kind of hard disk protecting method that Fig. 2 provides for the embodiment of the present application, comprising:
Step S201: obtain three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
For example, can obtain three axial gravity acceleration value that in 400ms, described three axle Gravity accelerometers record.Certainly in this programme, described Preset Time is not limited to 400ms, can also be section At All Other Times, can adjust accordingly according to actual conditions, is not specifically limited here.
Step S202: judge that the variable quantity that whether has an axial gravity acceleration value in very first time interval meets the default condition of removing; If so, perform step S204, be about to magnetic head and remove from video disc, and return to execution step S201; Otherwise, execution step S203;
Axial for each, the axial corresponding default threshold value of removing of the variable quantity of this axial gravity acceleration value in very first time interval and this is compared, when removing threshold value described in the variable quantity of described gravity acceleration value is greater than, the variable quantity amount that the gravity acceleration value that this is axial is described meets the default condition of removing, and the variable quantity of the gravity acceleration value that any one is axial meets the default condition of removing and all illustrates that the variable quantity that has an axial gravity acceleration value meets the default condition of removing.
Preferably, can first judge whether the variable quantity of the gravity acceleration value of Z axis meets the default condition of removing, if so, unload hard disk, be about to magnetic head and remove from video disc; If not, whether the variable quantity that judges respectively the gravity acceleration value of X-axis and Y-axis meets the default condition of removing, in these two axles, the variable quantity of the gravity acceleration value that any one is axial meets default while removing condition, illustrate that the converted quantity that has an axial gravity acceleration value meets the default condition of removing, magnetic head is removed from video disc, when the variable quantity of the gravity acceleration value of X-axis and Y-axis does not meet defaultly while removing condition, illustrated that very first time interval is inner to exist
For example, described very first time section can be 200ms, is not certainly defined as 200ms here, can also be segment value At All Other Times, can be adjusted accordingly according to actual conditions.So, the variable quantity of each axial gravity acceleration value can be expressed as: the variable quantity of the gravity acceleration value of Z axis is | Z 200-Z 0|, the variable quantity of the gravity acceleration value of X-axis is | X 200-X 0|, the variable quantity of the gravity acceleration value of Y-axis is | Y 200-Y 0|;
Here suppose that the threshold value of removing that Z axis is corresponding is threshold z, the threshold value of removing that X-axis is corresponding is threshold x, the threshold value of removing that Y-axis is corresponding is threshold y, wherein, threshold z≤ threshold xand threshold z≤ threshold y, and threshold xand threshold ycan equate, also can be unequal, can judge whether by the following method that the variable quantity that has an axial gravity acceleration value meets the default condition of removing:
First judgement | Z 200-Z 0| >threshold zwhether set up, if so, illustrate that the variable quantity of the gravity acceleration value of Z-axis direction meets the default condition of removing; Otherwise, judgement respectively | X 200-X 0| >threshold xwith | Y 200-Y 0| >threshold ywhether set up, as long as judge one of them, set up, illustrate that the variable quantity of the gravity acceleration value of X axis or Y-axis meets the default condition of removing.That is to say, as long as there is the variable quantity of an axial gravity acceleration value to meet the default condition of removing, explanation has the satisfied default condition of removing of variable quantity of an axial gravity acceleration value.
It should be noted that, in judgement | X 200-X 0| >threshold xwith | Y 200-Y 0| >threshold ywhile whether setting up, if threshold xbe less than threshold y, first judgement | X 200-X 0| >threshold xwhether set up, if set up, no longer judgement | Y 200-Y 0| >threshold ywhether set up; If | X 200-X 0| >threshold xbe false, judge again | Y 200-Y 0| >threshold ywhether set up; On the contrary, if threshold xbe greater than threshold y, first judgement | Y 200-Y 0| >threshold ywhether set up, if set up, no longer judgement | X 200-X 0| >threshold xwhether set up; If | Y 200-Y 0| >threshold ybe false, judge again | X 200-X 0| >threshold xwhether set up; If threshold xequal threshold y, | X 200-X 0| >threshold xwith | Y 200-Y 0| >threshold yjudgement order unrestricted.
Step S203: judge that the variable quantity that whether has an axial gravity acceleration value in second time interval meets the default condition of removing; If so, perform step S204, be about to magnetic head and remove from video disc, and return to execution step S201; Otherwise, return to execution step S201; Wherein, described second interval greater than described very first time interval.
For example, second time interval can be 400ms, can certainly be worth for other, as long as it is greater than very first time interval, and was less than described Preset Time.The variable quantity of the gravity acceleration value that each is axial is: the variable quantity of the gravity acceleration value of Z axis is | Z 400-Z 0|, the variable quantity of the gravity acceleration value of X-axis is | X 400-X 0|, the variable quantity of the gravity acceleration value of Y-axis is | Y 400-Y 0|; The variable quantity that specifically judges whether to have an axial gravity acceleration value meets the default condition of removing and meets with judge the variable quantity that whether has an axial gravity acceleration value in the very first time interval conditional likelihood of removing of presetting, and repeats no more here.
A kind of hard disk protecting method that the embodiment of the present application provides; by the change in gravitational acceleration amount in two time periods, judge extraneous vibration situation; guarantee to catch extraneous vibration comprehensively; avoid due to the behavior that affects hard disk secure (as; integrated computer is adjusted angle; different people its regulate the speed may be different, therefore, the pace of change of acceleration of gravity is also just different) slowly can not catch the problem of extraneous vibration.
Preferably, in above-described embodiment, when judging the variable quantity that does not have an axial gravity acceleration value in the second time period, meet defaultly while removing condition, can also comprise:
Judge that whether hard disk is unloaded, if so, loading hard disk, namely returns to magnetic head on video disc, and then returns to execution step S201;
Concrete judge that hard disk is whether unloaded and can unload zone bit by hard disk and judge, if hard disk unloading zone bit is 1, illustrate that hard disk unloads, if hard disk unloading zone bit is 0, illustrate that hard disk does not have to unload.
Referring to Fig. 3, the process flow diagram of another hard disk protecting method that Fig. 3 provides for the embodiment of the present application, comprising:
Step S301: obtain three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
Step S302: judge that the variable quantity that whether has an axial gravity acceleration value in very first time interval meets the default condition of removing; If so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise, execution step S303;
Step S303: judge that the variable quantity that whether has an axial gravity acceleration value in second time interval meets the default condition of removing, if so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise execution step S304; Wherein, described second interval greater than described very first time interval.
Step S304: judge that the variable quantity that whether has an axial gravity acceleration value in the 3rd time interval meets the default condition of removing, if so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise execution step S305; Wherein, the described the 3rd interval greater than described second time interval.
Step S305: judge that the variable quantity that whether has an axial gravity acceleration value in the 4th time interval meets the default condition of removing, if so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise execution step S305; Wherein, the described the 4th interval greater than described the 3rd time interval.
Step S306: judge that the variable quantity that whether has an axial gravity acceleration value in the 5th time interval meets the default condition of removing, if so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise execution step S307; Wherein, the described the 5th interval greater than described the 4th time interval.
Step S307: judge that the variable quantity that whether has an axial gravity acceleration value in the 6th time interval meets the default condition of removing, if so, perform step S308, be about to magnetic head and remove from video disc, and return to execution step S301; Otherwise return to execution step S301; Wherein, the described the 5th interval greater than described the 4th time interval.
Step S308: magnetic head is removed from video disc.
In above-mentioned steps, step S302 and step S303 are the hard disk protecting methods for angular setting behavior; Step S304 to step S307 be the hard disk protecting method for crank (situation such as toppling over as desktop causes) behavior;
Preferably, because the speed of different behavioral implications hard disk secures is different, for example, angular setting behavior, with respect to crank, more easily produces and threatens the safety of hard disk; And for same behavior, the behavior occurs also can faster or slower, as angular setting, behavior comprises rapid adjustment and adjusts at a slow speed, the process of adjusting is at a slow speed safe for hard disk, therefore can not start hard disk protection, for rapid adjustment, the data of two time periods of application are protected (step S302 is to step S303) to hard disk;
For rapid adjustment, can use 200ms(very first time interval) and second time interval of 400ms() data in these two time intervals, the default threshold value of removing is respectively: the threshold value of removing that Z axis is corresponding is threshold z1, the threshold value of removing that X-axis is corresponding is threshold x1with Y-axis corresponding remove threshold value threshold y1; Wherein, threshold z1≤ threshold x1, and threshold z1≤ threshold y1, specifically how to judge that the variable quantity that whether has an axial gravity acceleration value in each time period meets the default condition of removing, and can, referring to other embodiment, repeat no more here.
And for crank, desktop is toppled over to have and is toppled over fast and topple at a slow speed;
Conventionally topple over fast and can make electronic equipment lose center of gravity at 600ms-800ms, thereby, for toppling over fast, also use the data of two time periods (600ms and 800ms) to protect (step S304-step S305) to hard disk; The default threshold value of removing is respectively: the threshold value of removing that Z axis axle is corresponding is threshold z2, the threshold value of removing that X-axis is corresponding is threshold x2with Y-axis corresponding remove threshold value threshold y2; Wherein, threshold z2≤ threshold x2, and threshold z2≤ threshold y2, specifically how to judge that the variable quantity that whether has an axial gravity acceleration value in each time period meets the default condition of removing, and can, referring to other embodiment, repeat no more here.
Topple at a slow speed and generally can make electronic equipment lose center of gravity at 1800ms-2000ms, therefore for toppling at a slow speed, also use the data in two time periods (1800ms and 2000ms) to protect (step S306-step S307) to hard disk; The default threshold value of removing is respectively: the threshold value of removing that Z axis axle is corresponding is threshold z3, the threshold value of removing that X-axis is corresponding is threshold x3with Y-axis corresponding remove threshold value threshold y3; Wherein, threshold z3≤ threshold x3, and threshold z3≤ threshold y3, specifically how to judge that the variable quantity that whether has an axial gravity acceleration value in each time period meets the default condition of removing, and can, referring to other embodiment, repeat no more here.
Wherein, threshold z1<threshold z2<threshold z3; Threshold x1<threshold x2<threshold x3; Threshold y1<threshold y2<threshold y3.
Certainly in the application, have more than to be limited to above-mentioned six time periods are set, can also there is the more time period, as the 7th time period, the 8th time period etc., for the concrete time period, also be not limited in the above-mentioned time period numerical value of listing, can be adjusted accordingly according to actual conditions.
A kind of hard disk protecting method that the embodiment of the present application provides; respectively to quick variation behavior (step S302-step S303), medium variation behavior (step S304-step S305), change behavior (step S306-step S307) at a slow speed and use different algorithms and remove threshold value hard disk is protected; when various while having the behavior of threat to occur to hard disk secure; can play effective protective effect, improve protection probability.
Referring to Fig. 4, be a kind of structural representation that should coil protective device that the embodiment of the present application provides, described device comprises:
Three axle Gravity accelerometers 401, acquisition module 402 and protection module 403;
An axle of three axle Gravity accelerometers 401 is perpendicular to the video disc of described hard disk, for measuring orthogonal three axial acceleration of gravity;
Acquisition module 402 is for obtaining three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
Protection module 403, for meeting defaultly while removing condition when have the variable quantity of an axial gravity acceleration value in described Preset Time, is removed magnetic head from video disc.Concrete, protection module 403 can comprise:
Judgement submodule 4031, for judge in described Preset Time, whether have an axial acceleration of gravity variable quantity meet the default condition of removing; Concrete, judgement submodule 4031 can comprise:
Comparing unit 40311, for comparing the axial corresponding threshold value of removing of the variable quantity of each axial gravity acceleration value and this; Wherein, the threshold value of removing perpendicular to the axial correspondence of described video disc direction is less than or equal to two other axially corresponding threshold value of removing.
Judging unit 40312, for when the variable quantity of described gravity acceleration value, be greater than described this axially correspondence remove threshold value time, the variable quantity of determining described gravity acceleration value meets the default condition of removing, otherwise the variable quantity amount of described gravity acceleration value does not meet the default condition of removing.
Control submodule 4032, for judge an axial gravity acceleration value at described judging unit, meet defaultly while removing condition, control described magnetic head and remove from video disc.
The application also provides a kind of electronic equipment, and this electronic equipment has protection device for hard disk as above.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (13)

1. a hard disk protecting method, is applied to electronic equipment, it is characterized in that, described electronic equipment at least comprises three axle Gravity accelerometers, and an axle of described three axle Gravity accelerometers is perpendicular to the video disc of described hard disk; Described method comprises:
Obtain three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
When have the variable quantity of an axial gravity acceleration value in described Preset Time, meet defaultly while removing condition, magnetic head is removed from video disc.
2. method according to claim 1, is characterized in that, according to following method, judges whether that the variable quantity that has an axial gravity acceleration value meets the default condition of removing, and comprising:
First whether the variable quantity of the described axial gravity acceleration value perpendicular to video disc of judgement meets the default condition of removing, and if so, illustrates that the variable quantity that has an axial gravity acceleration value meets the default condition of removing; If not, whether the variable quantity that judges respectively the gravity acceleration value that two other is axial meets the default condition of removing, when the variable quantity of any one axial gravity acceleration value meets defaultly while removing condition, illustrate that the converted quantity that has an axial gravity acceleration value meets the condition of removing of presetting.
3. method according to claim 1 and 2, is characterized in that, according to following method, judges whether that the variable quantity that has an axial gravity acceleration value meets the default condition of removing, and comprising:
Judge that the variable quantity that whether has an axial gravity acceleration value in very first time interval meets the default condition of removing; If not, judge that the variable quantity that whether has an axial gravity acceleration value in second time interval meets the default condition of removing; Wherein, described second interval greater than described very first time interval.
4. method according to claim 3, is characterized in that, also comprises:
The variable quantity that does not have an axial gravity acceleration value within described second time interval meets default while removing condition, judge whether the variable quantity that whether has an axial gravity acceleration value in the 3rd time interval meets the condition of removing of presetting; If not, judge that the variable quantity that whether has an axial gravity acceleration value in the 4th time interval meets the default condition of removing; Wherein, the described the 4th interval greater than described the 3rd time interval, and the described the 3rd interval greater than described second time interval.
5. method according to claim 4, is characterized in that, also comprises:
The variable quantity that does not have an axial gravity acceleration value within described the 4th time interval meets default while removing condition, judge whether the variable quantity that whether has an axial gravity acceleration value in the 5th time interval meets the condition of removing of presetting; If not, judge that the variable quantity that whether has an axial gravity acceleration value in the 6th time interval meets the default condition of removing; Wherein, the described the 6th interval greater than described the 5th time interval, and the described the 5th interval greater than described the 4th time interval.
6. method according to claim 1, is characterized in that, judges whether the variable quantity of an axial gravity acceleration value meets the default condition of removing according to following method, comprising:
The axial corresponding threshold value of removing of the variable quantity of described gravity acceleration value and this is compared;
When the variable quantity of described gravity acceleration value is greater than, described this is axially corresponding while removing threshold value, and the variable quantity of described gravity acceleration value meets the default condition of removing.
7. method according to claim 6, is characterized in that, the threshold value of removing of the described axial correspondence perpendicular to described video disc direction is less than or equal to two other axially corresponding threshold value of removing.
8. method according to claim 1, is characterized in that, magnetic head, from video disc is removed, is also comprised:
Hard disk is unloaded to mark position 1.
9. a protection device for hard disk, is applied to electronic equipment, it is characterized in that, comprising:
Three axle Gravity accelerometers, for measuring orthogonal three axial acceleration of gravity; An axle of described three axle Gravity accelerometers is perpendicular to the video disc of described hard disk;
Acquisition module, for obtaining three axial gravity acceleration value that in Preset Time, described three axle Gravity accelerometers record;
Protection module, for meeting defaultly while removing condition when have the variable quantity of an axial gravity acceleration value in described Preset Time, removes magnetic head from video disc.
10. device according to claim 9, is characterized in that, described protection module comprises: judgement submodule, for judge in described Preset Time, whether have an axial acceleration of gravity variable quantity meet the default condition of removing;
Control submodule, for judge an axial gravity acceleration value at described judging unit, meet defaultly while removing condition, control described magnetic head and remove from video disc.
11. devices according to claim 10, is characterized in that, described judgement submodule comprises:
Comparing unit, for comparing the axial corresponding threshold value of removing of the variable quantity of each axial gravity acceleration value and this;
Judging unit, is greater than for the variable quantity when described gravity acceleration value that described this is axially corresponding while removing threshold value, determines that the variable quantity of described gravity acceleration value meets the default condition of removing.
12. devices according to claim 11, is characterized in that, the threshold value of removing of the described axial correspondence perpendicular to described video disc direction is less than or equal to two other axially corresponding threshold value of removing.
13. 1 kinds of electronic equipments, is characterized in that, comprise the protection device for hard disk as described in claim 9-12 any one.
CN201210324678.6A 2012-09-04 2012-09-04 Hard disk protecting method, device and electronic equipment Active CN103680570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210324678.6A CN103680570B (en) 2012-09-04 2012-09-04 Hard disk protecting method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210324678.6A CN103680570B (en) 2012-09-04 2012-09-04 Hard disk protecting method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN103680570A true CN103680570A (en) 2014-03-26
CN103680570B CN103680570B (en) 2016-08-17

Family

ID=50317897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210324678.6A Active CN103680570B (en) 2012-09-04 2012-09-04 Hard disk protecting method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN103680570B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540445A (en) * 2019-01-17 2019-03-29 郑州云海信息技术有限公司 A kind of hard disk vibration-testing jig

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270700A1 (en) * 2004-06-03 2005-12-08 Sony Corporation Portable apparatus having head retracting function and head retracting method
CN201274173Y (en) * 2008-09-26 2009-07-15 深圳市同洲电子股份有限公司 Shock absorber for vehicle-mounted hard disc video recorder
US20110261482A1 (en) * 2010-04-27 2011-10-27 Sony Corporation Information processing apparatus and head evacuation processing method therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270700A1 (en) * 2004-06-03 2005-12-08 Sony Corporation Portable apparatus having head retracting function and head retracting method
CN201274173Y (en) * 2008-09-26 2009-07-15 深圳市同洲电子股份有限公司 Shock absorber for vehicle-mounted hard disc video recorder
US20110261482A1 (en) * 2010-04-27 2011-10-27 Sony Corporation Information processing apparatus and head evacuation processing method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109540445A (en) * 2019-01-17 2019-03-29 郑州云海信息技术有限公司 A kind of hard disk vibration-testing jig

Also Published As

Publication number Publication date
CN103680570B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US8862422B2 (en) Sensor for sensing accelerations
US7382567B2 (en) Accelerometer-based differential free fall detection system, apparatus, and method and disk drive protection mechanism employing same
US8676532B2 (en) Fall detection device, magnetic disk drive, and portable electronic apparatus
EP2297732B1 (en) Protection device
KR101234002B1 (en) System and method for fall detection
US7613587B2 (en) Method for compensating for acceleration vector offset, recording medium storing program for executing the method, and related apparatus
US7865253B2 (en) System and method for detecting shakes and percussive impacts and for protecting portable electronic devices when pre-specified shake patterns and percussive impact levels are detected
KR20100033472A (en) System and method for detection of freefall with spin using two tri-axis accelerometers
US8164847B2 (en) Fall detection device, magnetic disk device, and portable electronic apparatus
KR20070072627A (en) Fall detecting apparatus and magnetic disc apparatus
JP6801216B2 (en) Damage detection system, damage detection device, damage detection method and program
JP2006292690A (en) System and method for determination of falling
US8804271B2 (en) Information processing apparatus and head evacuation processing method therefor
KR20060055908A (en) Device of driving mobile phone&#39;s hdd in impact and the method
CN105824735A (en) Drop processing method of mobile terminal and mobile terminal
JP2009528523A (en) Method and apparatus for identifying free fall
CN103680570A (en) Hard disk protection method and device and electronic equipment
JP6155806B2 (en) Electronic equipment and impact detection program
CN102099859B (en) Drop detection device, magnetic disc device, and mobile electronic device
US7224543B1 (en) Method and apparatus for reducing off-track writes in data storage devices
CN102110455B (en) Portable apparatus with electronic control system and control method thereof
JP4581610B2 (en) Portable equipment
JP2016109607A (en) Strong motion seismograph, measuring system, and damage state determination method
US9076471B1 (en) Fall detection scheme using FFS
TWM548102U (en) System for detecting sharp turn of vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant