CN102591805A - Method and terminal equipment for data protection - Google Patents

Method and terminal equipment for data protection Download PDF

Info

Publication number
CN102591805A
CN102591805A CN2011100204240A CN201110020424A CN102591805A CN 102591805 A CN102591805 A CN 102591805A CN 2011100204240 A CN2011100204240 A CN 2011100204240A CN 201110020424 A CN201110020424 A CN 201110020424A CN 102591805 A CN102591805 A CN 102591805A
Authority
CN
China
Prior art keywords
terminal device
laying state
data
unusual
level
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
CN2011100204240A
Other languages
Chinese (zh)
Other versions
CN102591805B (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 CN201110020424.0A priority Critical patent/CN102591805B/en
Publication of CN102591805A publication Critical patent/CN102591805A/en
Application granted granted Critical
Publication of CN102591805B publication Critical patent/CN102591805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and terminal equipment for data protection, which belong to the technical field of data processing. The method comprises judging whether terminal equipment placement state is in abnormal condition; and when the terminal equipment placement state is in abnormal condition, protecting data in the terminal equipment. When the terminal equipment placement state is in abnormal condition, automatic data protection is performed, which can better protect data and prevent accidental loss of data.

Description

The method of data protection and terminal device
Technical field
The invention belongs to technical field of data processing, relate in particular to a kind of method and terminal device of data protection.
Background technology
In existing computer technology, computer user's data security is more and more important.When computer system takes place to the most important thing is in time to protect user's data in the computing machine when unusual.At present, the development of integrated computer (AIO) day by day becomes main flow, and still, because the singularity (main frame and display are incorporated into one) of AIO structure, in use, the desktop computer before the stability of AIO is compared just has very big variation.
Physical construction characteristics to AIO; If in use unusual long-time side is (for example: vibrations or desk side are fallen), because the heat radiation of AIO requirement is more strict, so; If AIO is in side for a long time and falls state; Can cause the unusual sharply rising of temperature in chassis of AIO, probably can influence memory units such as hard disk, serious meeting has influence on user's data safety.
Summary of the invention
In order to address the above problem; The purpose of embodiments of the invention provides a kind of method and terminal device of data protection, when the laying state of finding terminal device is in unusual laying state, can carry out data protection automatically; Thereby can the better protection data, prevent that the data accident from losing.
In order to achieve the above object, embodiments of the invention provide a kind of method of data protection, and said method comprises:
Whether the laying state of judging terminal device is in unusual laying state;
When the laying state of said terminal device is in unusual laying state, the data in the said terminal device are protected.
Preferably, said unusual laying state is that side is fallen state.
Preferably, before the said step that data in the said terminal device are protected, said method also comprises:
Judge whether the duration that said terminal device is in unusual laying state satisfy Preset Time requirement at interval;
When satisfying, directly the data in the said terminal device are protected;
When not satisfying, postpone the data in the said whole terminal device are protected.
Preferably, the said step that data in the said terminal device are protected is specially:
Control the power-off of said terminal device, but that being used in the said terminal device preserved the memory module of data is still charged and can be waken up.
Preferably, the said step that data in the said terminal device are protected is specially:
Control and connect power supply in the said terminal device at interior all hardware module Close All.
Preferably, the said laying state of the judging terminal device step that whether is in unusual laying state is specially:
The general I/O level of the predefined GPIO of poll, the height of said GPIO level reflects the laying state of said terminal device, when said GPIO level during greater than predetermined level, said terminal device is in normal laying state; When said GPIO level was less than or equal to said predetermined level, said terminal device was in unusual laying state.
Preferably, the said laying state of the judging terminal device step that whether is in unusual laying state is specially:
Whether judge the terminal device temperature inside greater than predetermined temperature threshold, if said terminal device temperature inside is during greater than predetermined temperature threshold, said terminal device is in unusual laying state; When said terminal device temperature inside during smaller or equal to temperature threshold, said terminal device is in normal laying state.
In order to achieve the above object, embodiments of the invention also provide a kind of terminal device, and said terminal device comprises:
Detection module, whether the laying state that is used to detect said terminal device is in unusual laying state;
Data protection module is used for when the laying state of said terminal device is in unusual laying state, the data in the said terminal device being protected.
Preferably, said terminal device also comprises:
Time delay module is connected with said data protection module with said detection module respectively, is used to judge whether the duration that said terminal device is in unusual laying state satisfy Preset Time requirement at interval, when satisfying, directly triggers said data protection module; When not satisfying, postpone to trigger said data protection module.
Preferably; Said detection module is further used for the general I/O level of the predefined GPIO of poll, and the height of said GPIO level reflects the laying state of said terminal device; When said GPIO level was higher than predetermined level, said terminal device was in normal laying state; When said GPIO level was lower than said predetermined level, said terminal device was in unusual laying state.
Preferably, said terminal device is integrated computer or PC.
Can know by technique scheme; Embodiments of the invention have following beneficial effect: at first obtain the relevant information of the laying state of terminal device, judge then whether the laying state of terminal device is in unusual laying state, when the laying state of finding terminal device is in unusual laying state; Can carry out data protection automatically; Thereby the protected data that can change prevents that the data accident from losing, and has improved safety of data.
Description of drawings
Fig. 1 is the method flow diagram of data protection in the embodiments of the invention;
Fig. 2 is the block diagram of terminal device in the embodiments of the invention;
Fig. 3 is the understructure figure of integrated computer in the embodiments of the invention.
Embodiment
In the present embodiment; At first obtain the relevant information of the laying state of terminal device; Whether the laying state of judging terminal device then is in unusual laying state, if when the laying state of terminal device is in unusual laying state, then can protect the data in the terminal device.
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is done explanation in further detail below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation are used to explain the present invention, but not as to qualification of the present invention.
Referring to Fig. 1, be the method flow diagram of data protection in the embodiments of the invention, concrete steps are following:
Step 101, obtain the relevant information of the laying state of terminal device;
In the present embodiment, the laying state of terminal device comprises: normal laying state and unusual laying state, wherein unusual laying state are meant that side falls state.
Wherein, side falls inclination has taken place when state is meant terminal device with respect to normal placement, and for example when terminal device during with respect to normal placement, the angle of inclination is during greater than preset angle threshold, can draw this terminal device and be in side and fall state.Should can adjust according to actual conditions by preset angle threshold, not limit the occurrence of this preset angle threshold in the present embodiment.
With the integrated computer is example, and when the casing of integrated computer and desktop were fitted, during just with respect to normal placements, the angle of inclination was 90 degree, and this integrated computer is in side and falls state at this moment.
In the present embodiment, in the operating system of terminal device,, obtain the relevant information of the laying state of terminal device through related software at the operating system running background.This software can obtain the relevant information of the laying state of terminal device through the mode of poll.
For example: when this installing terminal equipment has Windows OS system; Under Windows OS system environments; But the backstage operational system self-protection program of system; It realizes that principle is: backstage service routine of operation under Windows OS system, and the predefined GPIO of automatic regular polling (general I/O) level, the height of this GPIO level can reflect the laying state of terminal device.
When GPIO level during greater than predetermined level, terminal device is in normal laying state; When the GPIO level was less than or equal to predetermined level, terminal device was in unusual laying state.This predetermined level can be set to zero level, when the GPIO level greater than 0 the time, terminal device is in normal laying state, when the GPIO level equaled 0, terminal device was in unusual laying state.
Certainly; Also can obtain the relevant information of the laying state of terminal device through other modes; For example because the different laying state of terminal device; Can have influence on the inner heat dispersion of terminal device, therefore also can obtain the relevant information of the laying state of terminal device through the height of terminal device temperature inside.When terminal device temperature inside during greater than predetermined temperature threshold, terminal device is in unusual laying state.When terminal device temperature inside during smaller or equal to predetermined temperature threshold, terminal device is in normal condition.
Above-mentioned terminal device temperature inside can be meant the temperature of terminal device internal core parts, and for example the temperature of this core component can be: the temperature of central processing unit (CPU), or the temperature of mainboard (MainBord).Wherein the predetermined temperature threshold of central processing unit can be set to 75 degrees centigrade, and the predetermined temperature threshold of mainboard can be set to 55 degrees centigrade.Certainly do not limit the concrete value of predetermined temperature threshold in an embodiment of the present invention.
Certainly, this terminal device is not limited to obtain through related software the laying state of terminal device, also can obtain the laying state of terminal device through other hardware units, for example obtains the relevant information of the laying state of terminal device through equilibristat.
Do you step 102, judge that the laying state of terminal device is in unusual laying state? If, execution in step 103; Otherwise, return step 101;
Just, when the laying state of terminal device is in side when falling the state, execution in step 103 is taked the data in the terminal device are protected.Otherwise, obtain the relevant information of the laying state of terminal device.
For example, when the laying state of terminal device is side when falling the state, can influence the radiating efficiency of terminal device this moment.After temperature in the terminal device raises, may cause terminal device to restart or crashes, can cause not preserving losing of data at this moment, thereby have influence on user's data safety.And through execution in step 102, when the laying state of judging terminal device is side when falling the state, can trigger the data in the terminal device are protected.When if the laying state of terminal device is in normal laying state, continue to obtain the relevant information of the laying state of terminal device.
In the present embodiment; Can judge whether terminal device is in unusual laying state through following mode; For example: the predefined GPIO level of poll; The height of GPIO level can be used to reflect the laying state of said terminal device, and when GPIO level during greater than predetermined level, terminal device is in normal laying state; When the GPIO level was less than or equal to said predetermined level, terminal device was in unusual laying state.
Certainly, in the present embodiment, also can judge whether terminal device is in unusual laying state through following mode; For example: the temperature of sense terminals device interior; Owing to when terminal equipment side is fallen, can have influence on terminal device internal heat dissipating performance, so the terminal device temperature inside can be used to reflect the laying state of terminal device; When terminal device temperature inside during greater than predetermined temperature threshold, terminal device is in unusual laying state; When terminal device temperature inside during smaller or equal to predetermined temperature threshold, terminal device is in normal laying state.
Do you step 103, judge that the duration that the terminal is in unusual laying state satisfies Preset Time requirement at interval? If satisfy execution in step 104; If do not satisfy, postpone the data in the terminal device are protected, return step 103;
Just, in this flow process, be furnished with time delay process control, can setting-up time length at interval, mainly be to move terminal device for what the effective recognition user had a mind to, the for example provisional terminal device of moving.For Preset Time at interval, can arbitrarily set by the user.
For example, this time interval is 5 seconds, when duration that terminal device is in unusual laying state is in 5 seconds, postpones to trigger the data in the terminal device are protected, and moves terminal device because this moment, might to be the user provisional.When the duration that terminal device is in unusual laying state surpasses 5 seconds, trigger the data of terminal device are protected.
Step 103 is an optional step, and when employing judged through the terminal device temperature inside whether terminal device is in unusual laying state, execution in step 103.
Step 104, the data in the terminal device are protected.
In the present embodiment, the data in the terminal device can be that the user works as pre-editing, but the data of not preserving, these data can be buffered in the internal memory of terminal device.
In the present embodiment, can be to the data protection in the terminal device: the power-off of control terminal, but that being used in the terminal device preserved the memory module of data is still charged and can be waken up.
Perhaps, the data in the terminal device terminal are protected also can be: control and connect power supply in the said terminal device at all interior module Close Alls.
Data protection commonly used is to get into guard mode through software set, and for example, the Windows OS system (ACPI Event) in the triggering terminal equipment directly gets into guard mode (S4 or S5), has realized the assurance safety of user data.
Wherein, S4: be also referred to as STD (Suspend to Disk suspends to hard disk), memory information writes in the memory module, and all hardware module quits work then;
S5: all hardware module (comprising power supply) is closed all in the terminal device, just shutdown.
Can know by technique scheme; Embodiments of the invention have following beneficial effect: at first obtain the laying state of terminal device, judge then whether the laying state of terminal device is in unusual laying state, when the laying state of finding terminal device is in unusual laying state; Can carry out data protection automatically; Thereby the protected data that can change prevents that the data accident from losing, and has improved safety of data.
Referring to Fig. 2, be the structural drawing of terminal device in the embodiments of the invention, by knowing that terminal device comprises among the figure:
Detection module 21, whether the laying state that is used to detect said terminal device is in unusual laying state;
Data protection module 22 is used for when the laying state of said terminal device is in unusual laying state, the data in the said terminal device being protected.
In an embodiment of the present invention, said terminal device also comprises:
Time delay module 23; Be connected with said data protection module 22 with said detection module 21 respectively; Be used to judge whether the duration that said terminal device is in unusual laying state satisfy Preset Time requirement at interval, when satisfying, directly trigger said data protection module 22; When not satisfying, postpone to trigger said data protection module 22.
In the present embodiment; Detection module 21 is further used for the predefined GPIO level of poll, and the height of said GPIO level reflects the laying state of said terminal device; When said GPIO level was higher than predetermined level, said terminal device was in normal laying state; When said GPIO level was lower than said predetermined level, said terminal device was in unusual laying state.
Be that example is introduced below with the integrated computer, how carry out data protection.Referring to Fig. 3, be the understructure figure of integrated computer in the embodiments of the invention.
Increase a hardware snap switch 31 at AIO system base 32, normally use and when placing, snap switch 31 is in off state, this moment, the GPIO level was a high level.When the AIO system side was fallen, base 32 left desktop 33, since the effect of spring, snap switch 31 closures, this moment, the GPIO level was a low level, variation has taken place in the GPIO level, can trigger the data in the AIO system are protected.
The GPIO level can be introduced (height of concrete GPIO level and effectively definition from ICH (i/o controller center) or the idle GPIO of SuperIO; Can combine concrete motherboard circuit design coupling); Cooperate the base 32 and snap switch 31 of AIO system, realize the variation of GPIO level height.Thereby, change the laying state of discerning the AIO system according to the GPIO level.Particularly work as the AIO system and be in unusual laying state (control of time-delay length can be set as required in advance) for a long time, trigger the AIO system and carry out data protection.
The GPIO level logic is as shown in the table:
Figure BDA0000044240440000071
Certainly, this terminal device also is not limited to integrated computer, and those skilled in the art also can be applied in said structure on the PC, thereby be implemented on the PC user data are protected.
Can know by technique scheme; Embodiments of the invention have following beneficial effect: the laying state that at first obtains terminal device; Whether the laying state of judging terminal device then is in unusual laying state, when the laying state of finding terminal device is in unusual laying state, can carry out the user data protection automatically; Can the better protect user data, prevent that the user data accident from losing.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (11)

1. the method for a data protection is characterized in that, said method comprises:
Whether the laying state of judging terminal device is in unusual laying state;
When the laying state of said terminal device is in unusual laying state, the data in the said terminal device are protected.
2. method according to claim 1 is characterized in that, said unusual laying state is that side is fallen state.
3. method according to claim 1 is characterized in that, before the said step that data in the said terminal device are protected, said method also comprises:
Judge whether the duration that said terminal device is in unusual laying state satisfy Preset Time requirement at interval;
When satisfying, directly the data in the said terminal device are protected;
When not satisfying, postpone the data in the said whole terminal device are protected.
4. method according to claim 2 is characterized in that, the said step that data in the said terminal device are protected is specially:
Control the power-off of said terminal device, but that being used in the said terminal device preserved the memory module of data is still charged and can be waken up.
5. method according to claim 2 is characterized in that, the said step that data in the said terminal device are protected is specially:
Control and connect power supply in the said terminal device at interior all hardware module Close All.
6. method according to claim 1 is characterized in that, the step whether said laying state of judging terminal device is in unusual laying state is specially:
The general I/O level of the predefined GPIO of poll, the height of said GPIO level reflects the laying state of said terminal device, when said GPIO level during greater than predetermined level, said terminal device is in normal laying state; When said GPIO level was less than or equal to said predetermined level, said terminal device was in unusual laying state.
7. method according to claim 1 is characterized in that, the step whether said laying state of judging terminal device is in unusual laying state is specially:
Whether judge the terminal device temperature inside greater than predetermined temperature threshold, if said terminal device temperature inside is during greater than predetermined temperature threshold, said terminal device is in unusual laying state; When said terminal device temperature inside during smaller or equal to temperature threshold, said terminal device is in normal laying state.
8. a terminal device is characterized in that, said terminal device comprises:
Detection module, whether the laying state that is used to detect said terminal device is in unusual laying state;
Data protection module is used for when the laying state of said terminal device is in unusual laying state, the data in the said terminal device being protected.
9. terminal device according to claim 8 is characterized in that, said terminal device also comprises:
Time delay module is connected with said data protection module with said detection module respectively, is used to judge whether the duration that said terminal device is in unusual laying state satisfy Preset Time requirement at interval, when satisfying, directly triggers said data protection module; When not satisfying, postpone to trigger said data protection module.
10. terminal device according to claim 8; It is characterized in that; Said detection module is further used for the general I/O level of the predefined GPIO of poll, and the height of said GPIO level reflects the laying state of said terminal device; When said GPIO level was higher than predetermined level, said terminal device was in normal laying state; When said GPIO level was lower than said predetermined level, said terminal device was in unusual laying state.
11. terminal device according to claim 8 is characterized in that, said terminal device is integrated computer or PC.
CN201110020424.0A 2011-01-18 2011-01-18 The method of data protection and terminal unit Active CN102591805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110020424.0A CN102591805B (en) 2011-01-18 2011-01-18 The method of data protection and terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110020424.0A CN102591805B (en) 2011-01-18 2011-01-18 The method of data protection and terminal unit

Publications (2)

Publication Number Publication Date
CN102591805A true CN102591805A (en) 2012-07-18
CN102591805B CN102591805B (en) 2016-07-06

Family

ID=46480491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110020424.0A Active CN102591805B (en) 2011-01-18 2011-01-18 The method of data protection and terminal unit

Country Status (1)

Country Link
CN (1) CN102591805B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464802A (en) * 2013-09-18 2015-03-25 联想(北京)有限公司 Storage device and data protection method
CN104915603A (en) * 2015-04-30 2015-09-16 努比亚技术有限公司 Terminal equipment data storage method and terminal equipment
CN106203163A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of abnormality eliminating method, device and terminal unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464828A (en) * 2007-12-19 2009-06-24 英业达股份有限公司 Evaluation method for main unit and its status
CN101593141A (en) * 2008-05-26 2009-12-02 和硕联合科技股份有限公司 Data protection method of nonvolatile memory device and computer installation thereof
CN101783504A (en) * 2009-01-16 2010-07-21 凹凸电子(武汉)有限公司 Protection circuit, battery system and protection method
CN101866203A (en) * 2009-04-14 2010-10-20 纬创资通股份有限公司 Electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464828A (en) * 2007-12-19 2009-06-24 英业达股份有限公司 Evaluation method for main unit and its status
CN101593141A (en) * 2008-05-26 2009-12-02 和硕联合科技股份有限公司 Data protection method of nonvolatile memory device and computer installation thereof
CN101783504A (en) * 2009-01-16 2010-07-21 凹凸电子(武汉)有限公司 Protection circuit, battery system and protection method
CN101866203A (en) * 2009-04-14 2010-10-20 纬创资通股份有限公司 Electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464802A (en) * 2013-09-18 2015-03-25 联想(北京)有限公司 Storage device and data protection method
CN104915603A (en) * 2015-04-30 2015-09-16 努比亚技术有限公司 Terminal equipment data storage method and terminal equipment
CN106203163A (en) * 2016-06-30 2016-12-07 珠海市魅族科技有限公司 A kind of abnormality eliminating method, device and terminal unit

Also Published As

Publication number Publication date
CN102591805B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
KR102085684B1 (en) Charging protection method and apparatus
CN103064799B (en) Electronic system and data security method thereof and device
CN102141942B (en) A kind of monitoring and protection method of equipment and device
US9740426B2 (en) Drive array policy control
US10394293B2 (en) Method for preventing over-heating of a device within a data processing system
US8068940B2 (en) Method and apparatus for controlling heat generation
US20150082063A1 (en) Baseboard management controller state transitions
US20160299551A1 (en) Method and controller for power throttling upon system on portable device, corresponding portable device, and corresponding computer program products
US8959379B2 (en) Thermal protection method for computer system and device thereof
CN102662804A (en) Power-down-prevention irreversible self-destroying method for solid state disk
US8880792B2 (en) Memory watch
CN102591805A (en) Method and terminal equipment for data protection
CN101399439B (en) Battery protection method and apparatus used for electronic product
CN113204466A (en) Over-temperature protection method and electronic equipment
US20160342196A1 (en) Protected power management mode in a processor
CN103455448A (en) Shake resisting method and system for server
TWI446151B (en) Computer system and system reset method thereof
CN108228109B (en) Method and device for protecting data of electronic equipment and computer storage medium
CN103500138A (en) Power management method and system and mobile terminal
US20130321944A1 (en) Server and method for preventing the server from vibration damage
CN108255277B (en) Storage system and power management method thereof
US20120221166A1 (en) Information processing apparatus and fan control method
CN108984347A (en) A kind of embedded device rebooting status recording method based on linux system
CN104680087A (en) Blade server hot plugging control circuit and device
CN103793283A (en) Terminal fault handling method and terminal fault handling device

Legal Events

Date Code Title Description
C06 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