TWI490695B - Portable electronic apparatus and method for protecting storage device thereof - Google Patents
Portable electronic apparatus and method for protecting storage device thereof Download PDFInfo
- Publication number
- TWI490695B TWI490695B TW099106602A TW99106602A TWI490695B TW I490695 B TWI490695 B TW I490695B TW 099106602 A TW099106602 A TW 099106602A TW 99106602 A TW99106602 A TW 99106602A TW I490695 B TWI490695 B TW I490695B
- Authority
- TW
- Taiwan
- Prior art keywords
- portable electronic
- storage device
- electronic device
- switching unit
- sensing unit
- Prior art date
Links
Landscapes
- Telephone Function (AREA)
- Storage Device Security (AREA)
Description
本發明關於一種可攜式電子裝置之儲存裝置保護方法,尤指一種可避免儲存裝置因掉落或搖晃而受損的可攜式電子裝置及其儲存裝置保護方法。The present invention relates to a storage device protection method for a portable electronic device, and more particularly to a portable electronic device and a storage device protection method thereof that can avoid damage of the storage device due to dropping or shaking.
近年來,可攜式電子裝置廣受消費者的喜愛。隨著數位媒體需求的增加,當使用者欲將所喜好的圖片或影片檔做備份儲存時,可以藉由可攜式電子裝置內所配備的儲存裝置,如硬碟,來達成。In recent years, portable electronic devices have been widely loved by consumers. As the demand for digital media increases, when a user wants to store a favorite picture or video file for backup, it can be achieved by a storage device such as a hard disk provided in the portable electronic device.
從結構上來看,硬碟通常包含磁頭讀寫臂、主軸馬達及碟盤。碟盤包含多個磁碟區。主軸馬達用以使碟盤快速旋轉,以利磁頭讀寫臂讀取磁碟區上的資料。也因此,在高速旋轉的狀態下,任何外力皆可能導致資料的讀取錯誤或硬碟的損壞。From a structural point of view, a hard disk usually includes a magnetic head read/write arm, a spindle motor, and a disk. The disc contains multiple volumes. The spindle motor is used to rotate the disc quickly to facilitate reading of the data on the disk by the head read/write arm. Therefore, in the state of high-speed rotation, any external force may cause reading errors of the data or damage of the hard disk.
在先前技術中,一般多是在硬碟中設置一加速感測器,用來偵測硬碟的掉落狀態並輸出偵測訊號至處理單元。當處理單元判斷加速感測器所偵測到的訊號大於一預定值時,處理單元即會驅動開關將電源切斷,並且控制讀寫頭歸位。然由於加速感測器是設在硬碟中,因此所偵測到的狀態無法供其它應用軟體使用。此外,當硬碟掉落時,瞬間切斷硬碟的電源反而更容易造成硬碟的損壞。另外,亦有先前技術是以繁雜的步驟先通知電腦控制器,以程式加以判斷後,再發送軟體指令來停止硬碟的運作。然而,此方式的反應時間過慢,可能無法達到硬碟保護的功能。In the prior art, an acceleration sensor is generally disposed on the hard disk to detect the falling state of the hard disk and output a detection signal to the processing unit. When the processing unit determines that the signal detected by the acceleration sensor is greater than a predetermined value, the processing unit drives the switch to cut off the power and controls the head to return. However, since the acceleration sensor is located on the hard disk, the detected state cannot be used by other application software. In addition, when the hard disk is dropped, the power of the hard disk is cut off instantaneously, which is more likely to cause damage to the hard disk. In addition, the prior art also informs the computer controller in a complicated procedure, and then judges the program, and then sends a software command to stop the operation of the hard disk. However, the response time of this method is too slow and may not be able to achieve the function of hard disk protection.
本發明的目的之一在於提供一種可攜式電子裝置及其儲存裝置保護方法,其利用感測單元,如重力感測器(G-senser),感測儲存裝置瞬間的掉落、搖晃等情況,再透過切換單元發出控制信號,中斷儲存裝置進行資料傳輸,以避免儲存裝置發生損壞。One of the objectives of the present invention is to provide a portable electronic device and a storage device protection method thereof, which use a sensing unit, such as a gravity sensor (G-senser), to sense the instantaneous drop, shaking, etc. of the storage device. Then, the control unit sends a control signal to interrupt the storage device for data transmission to avoid damage to the storage device.
根據一實施例,本發明之可攜式電子裝置包含一殼體、一儲存裝置、一感測單元以及一切換單元。儲存裝置、感測單元以及切換單元皆設置在殼體中。切換單元電性連接感測單元與儲存裝置。感測單元用以偵測可攜式電子裝置之一動量,當所偵測的動量大於一預定值時,感測單元發出一控制訊號。切換單元則接受控制訊號,並中斷儲存裝置進行資料傳輸。According to an embodiment, the portable electronic device of the present invention comprises a housing, a storage device, a sensing unit and a switching unit. The storage device, the sensing unit, and the switching unit are all disposed in the housing. The switching unit is electrically connected to the sensing unit and the storage device. The sensing unit is configured to detect a momentum of the portable electronic device. When the detected momentum is greater than a predetermined value, the sensing unit sends a control signal. The switching unit accepts the control signal and interrupts the storage device for data transmission.
根據另一實施例,本發明之儲存裝置保護方法包含下列步驟:偵測一可攜式電子裝置之一動量,可攜式電子裝置包含一儲存裝置設置於其中;以及當所偵測的動量大於一預定值時,中斷儲存裝置進行資料傳輸。According to another embodiment, the storage device protection method of the present invention comprises the steps of: detecting a momentum of a portable electronic device, wherein the portable electronic device includes a storage device disposed therein; and when the detected momentum is greater than When a predetermined value is reached, the storage device is interrupted for data transmission.
關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.
請參閱第1圖以及第2圖,第1圖為根據本發明一實施例之可攜式電子裝置1的示意圖,第2圖為第1圖中的可攜式電子裝置1的功能方塊圖。如第1圖以及第2圖所示,可攜式電子裝置1包含一殼體10、一儲存裝置12、一感測單元14、一切換單元16以及一處理單元18。切換單元16電性連接感測單元14與儲存裝置12之一資料線120,且處理單元18電性連接於感測單元14。儲存裝置12可為硬碟或其它儲存媒體。感測單元14可為重力感測器(G-sensor)或其它感測器。於此實施例中,切換單元16可為多工器(multiplexer),但不以此為限。處理單元18可為中央處理單元(Central Processing Unit,CPU)或其它具有運算功能的處理器。此外,於此實施例中,儲存裝置12之資料線120符合序列式進階技術附件(Serial Advanced Technology Attachment,SATA)規範。Referring to FIG. 1 and FIG. 2, FIG. 1 is a schematic diagram of a portable electronic device 1 according to an embodiment of the present invention, and FIG. 2 is a functional block diagram of the portable electronic device 1 of FIG. As shown in FIG. 1 and FIG. 2 , the portable electronic device 1 includes a housing 10 , a storage device 12 , a sensing unit 14 , a switching unit 16 , and a processing unit 18 . The switching unit 16 is electrically connected to the sensing unit 14 and one of the data lines 120 of the storage device 12 , and the processing unit 18 is electrically connected to the sensing unit 14 . The storage device 12 can be a hard drive or other storage medium. The sensing unit 14 can be a G-sensor or other sensor. In this embodiment, the switching unit 16 can be a multiplexer, but is not limited thereto. The processing unit 18 can be a central processing unit (CPU) or other processor with computing functions. In addition, in this embodiment, the data line 120 of the storage device 12 conforms to the Serial Advanced Technology Attachment (SATA) specification.
第1圖中所繪示的可攜式電子裝置1是以筆記型電腦為例,但不以此為限。一般而言,可攜式電子裝置1中除了上述元件外,通常還設有運作時必要的軟硬體元件,如基本輸入輸出系統(Basic Input/Output System,BIOS)、隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read Only Memory,ROM)、主機板(main board,MB)、電源供應器(power supply)、背光模組、作業系統(operation system,OS)等,視實際應用而定。上述元件的功能、結構為習知技藝之人可輕易達成並加以運用,在此不再詳加贅述。於實際應用中,可將感測單元14以及切換單元16設置在主機板上,再藉由主機板上的電路佈線達成電性連接。The portable electronic device 1 shown in FIG. 1 is an example of a notebook computer, but is not limited thereto. In general, in addition to the above components, the portable electronic device 1 usually has software and hardware components necessary for operation, such as a Basic Input/Output System (BIOS) and a random access memory ( Random Access Memory (RAM), Read Only Memory (ROM), main board (MB), power supply, backlight module, operation system (OS), etc. Depending on the application. The functions and structures of the above-mentioned components can be easily achieved and utilized by those skilled in the art, and will not be described in detail herein. In practical applications, the sensing unit 14 and the switching unit 16 can be disposed on the motherboard, and then electrically connected by circuit wiring on the motherboard.
於此實施例中,感測單元14可用來偵測物體在立體空間中的三個軸向的加速度、移動、振動、傾斜角度等動量。使用者可以透過軟體指令的控制來設定,當感測單元14偵測出可攜式電子裝置1的動量大於一預定值(threshold)時,感測單元14就會發出一控制訊號,使處理單元18或其它簡易的電路來執行即時的保護動作。換言之,當可攜式電子裝置1的殼體10從高處掉落或被劇烈搖晃時,感測單元14就會發出控制訊號。In this embodiment, the sensing unit 14 can be used to detect three axial accelerations, movements, vibrations, tilt angles, and the like of the object in the three-dimensional space. The user can set the control by the software command. When the sensing unit 14 detects that the momentum of the portable electronic device 1 is greater than a predetermined threshold, the sensing unit 14 sends a control signal to the processing unit. 18 or other simple circuit to perform immediate protection actions. In other words, when the housing 10 of the portable electronic device 1 is dropped from a high place or shaken violently, the sensing unit 14 issues a control signal.
於此實施例中,切換單元16的一端可連接於一定直流電壓源Vcm(例如250mV),如第2圖所示。當感測單元14發出控制訊號,切換單元16接受控制訊號,轉而提供儲存裝置12定電壓,以中斷儲存裝置12之資料線120,並中斷資料傳輸。此時,儲存裝置12即會進入閒置狀態(idle state)。儲存裝置12的實體層(physical layer)在偵測到此閒置狀態一段時間後,就會把讀寫頭歸位(由standby再到parking)到安全的地區,進而達到保護儲存裝置12的功能。In this embodiment, one end of the switching unit 16 can be connected to a certain DC voltage source Vcm (for example, 250 mV), as shown in FIG. When the sensing unit 14 sends a control signal, the switching unit 16 accepts the control signal, and in turn provides the storage device 12 with a constant voltage to interrupt the data line 120 of the storage device 12 and interrupt the data transmission. At this point, the storage device 12 will enter an idle state. After detecting the idle state for a period of time, the physical layer of the storage device 12 will return the read/write head (from standby to parking) to a safe area, thereby achieving the function of protecting the storage device 12.
此外,處理單元18亦可接收感測單元14所發出的控制訊號,並停止目前正在執行的應用程式或是採取必要的運作機制。換言之,當可攜式電子裝置1的殼體10從高處掉落或被劇烈搖晃時,不僅儲存裝置12的讀寫頭會被歸位到安全的地區,正在執行的應用程式也會隨之停止執行或是採取必要的運作機制,以避免因為預期的資料訊號未接獲而當機。In addition, the processing unit 18 can also receive the control signal sent by the sensing unit 14 and stop the currently executing application or take the necessary operational mechanism. In other words, when the housing 10 of the portable electronic device 1 is dropped from a high place or shaken violently, not only the head of the storage device 12 is returned to a safe area, but also the executing application is followed. Stop execution or take the necessary operational mechanisms to avoid crashing due to unanticipated data signals.
請參閱第3圖,第3圖為根據本發明另一實施例之可攜式電子裝置3的功能方塊圖。可攜式電子裝置3與前述的可攜式電子裝置1的主要差別在於可攜式電子裝置3之切換單元16的一端接地或交流串連接地(AC coupled ground)。當感測單元14發出控制訊號,切換單元16接受控制訊號,轉而提供儲存裝置12零電位,以中斷儲存裝置12之資料線120,並中斷資料傳輸。需說明的是,第3圖中與第2圖中所示相同標號的元件,其結構、作用原理皆相同,在此不再贅述。Please refer to FIG. 3. FIG. 3 is a functional block diagram of the portable electronic device 3 according to another embodiment of the present invention. The main difference between the portable electronic device 3 and the portable electronic device 1 is that one end of the switching unit 16 of the portable electronic device 3 is grounded or AC coupled ground. When the sensing unit 14 sends a control signal, the switching unit 16 accepts the control signal, and instead provides the zero potential of the storage device 12 to interrupt the data line 120 of the storage device 12 and interrupt the data transmission. It should be noted that the components of the same reference numerals as those shown in FIG. 2 have the same structure and function principle, and are not described herein again.
請參閱第4圖,第4圖為根據本發明另一實施例之可攜式電子裝置5的功能方塊圖。可攜式電子裝置5與前述的可攜式電子裝置1的主要差別在於可攜式電子裝置5之切換單元16為金氧半電晶體(Metal-Oxide-Semiconductor transistor,MOS transistor),且其一端連接於一定直流電壓源Vcm(例如250mV)。當感測單元14發出控制訊號,切換單元16接受控制訊號,轉而提供儲存裝置12定電壓,以中斷儲存裝置12之資料線120,並中斷資料傳輸。需說明的是,第4圖中與第2圖中所示相同標號的元件,其結構、作用原理皆相同,在此不再贅述。Please refer to FIG. 4, which is a functional block diagram of the portable electronic device 5 according to another embodiment of the present invention. The main difference between the portable electronic device 5 and the portable electronic device 1 is that the switching unit 16 of the portable electronic device 5 is a Metal-Oxide-Semiconductor transistor (MOS transistor), and one end thereof Connected to a certain DC voltage source Vcm (for example, 250mV). When the sensing unit 14 sends a control signal, the switching unit 16 accepts the control signal, and in turn provides the storage device 12 with a constant voltage to interrupt the data line 120 of the storage device 12 and interrupt the data transmission. It should be noted that the components of the same reference numerals as those shown in FIG. 2 have the same structure and function principle, and are not described herein again.
請參閱第5圖,第5圖為根據本發明另一實施例之可攜式電子裝置7的功能方塊圖。可攜式電子裝置7與前述的可攜式電子裝置5的主要差別在於可攜式電子裝置5之切換單元16的一端接地或交流串連接地。當感測單元14發出控制訊號,切換單元16接受控制訊號,轉而提供儲存裝置12零電位,以中斷儲存裝置12之資料線120,並中斷資料傳輸。需說明的是,第5圖中與第4圖中所示相同標號的元件,其結構、作用原理皆相同,在此不再贅述。Please refer to FIG. 5. FIG. 5 is a functional block diagram of the portable electronic device 7 according to another embodiment of the present invention. The main difference between the portable electronic device 7 and the portable electronic device 5 described above is that one end of the switching unit 16 of the portable electronic device 5 is grounded or connected in an alternating current. When the sensing unit 14 sends a control signal, the switching unit 16 accepts the control signal, and instead provides the zero potential of the storage device 12 to interrupt the data line 120 of the storage device 12 and interrupt the data transmission. It should be noted that the components of the same reference numerals as those shown in FIG. 4 have the same structure and function principle, and are not described herein again.
請參閱第6圖,第6圖為根據本發明一實施例之儲存裝置保護方法的流程圖。請一併參閱第1圖以及第2圖,配合上述的可攜式電子裝置1,本發明之儲存裝置保護方法包含下列步驟:步驟S100:偵測可攜式電子裝置1之動量,可攜式電子裝置1包含儲存裝置12設置於其中;以及步驟S102:當所偵測的動量大於預定值時,中斷儲存裝置12進行資料傳輸。Please refer to FIG. 6. FIG. 6 is a flow chart of a method for protecting a storage device according to an embodiment of the present invention. The storage device protection method of the present invention includes the following steps: Step S100: detecting the momentum of the portable electronic device 1, portable The electronic device 1 includes a storage device 12 disposed therein; and step S102: interrupting the storage device 12 for data transmission when the detected momentum is greater than a predetermined value.
請參閱第7圖,第7圖為根據本發明另一實施例之儲存裝置保護方法的流程圖。請一併參閱第1圖以及第2圖,配合上述的可攜式電子裝置1,本發明之儲存裝置保護方法包含下列步驟:步驟S200:偵測可攜式電子裝置1之動量,可攜式電子裝置1包含儲存裝置12設置於其中;步驟S202:當所偵測的動量大於預定值時,中斷儲存裝置12進行資料傳輸;以及步驟S204:當所偵測的動量大於預定值時,停止目前正在執行的應用程式。Please refer to FIG. 7. FIG. 7 is a flow chart of a method for protecting a storage device according to another embodiment of the present invention. Referring to FIG. 1 and FIG. 2 together with the portable electronic device 1 , the storage device protection method of the present invention includes the following steps: Step S200: detecting the momentum of the portable electronic device 1 , portable The electronic device 1 includes a storage device 12 disposed therein; step S202: interrupting the storage device 12 for data transmission when the detected momentum is greater than a predetermined value; and step S204: stopping the current when the detected momentum is greater than a predetermined value The application being executed.
綜上所述,本發明之可攜式電子裝置及其儲存裝置保護方法是利用感測單元,如重力感測器,偵測儲存裝置瞬間的掉落、搖晃等情況,再控制切換單元中斷儲存裝置進行資料傳輸,以避免儲存裝置發生損壞。In summary, the portable electronic device and the storage device protection method of the present invention utilize a sensing unit, such as a gravity sensor, to detect an instantaneous drop, shake, etc. of the storage device, and then control the switching unit to interrupt the storage. The device transmits data to avoid damage to the storage device.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
1...可攜式電子裝置1. . . Portable electronic device
10...殼體10. . . case
12...儲存裝置12. . . Storage device
14...感測單元14. . . Sensing unit
16...切換單元16. . . Switching unit
18...處理單元18. . . Processing unit
120...資料線120. . . Data line
Vcm...定直流電壓源Vcm. . . Fixed DC voltage source
S100-S102、S200-S204...流程步驟S100-S102, S200-S204. . . Process step
第1圖為根據本發明一實施例之可攜式電子裝置的示意圖。FIG. 1 is a schematic diagram of a portable electronic device according to an embodiment of the invention.
第2圖為第1圖中的可攜式電子裝置的功能方塊圖。FIG. 2 is a functional block diagram of the portable electronic device in FIG. 1.
第3圖為根據本發明另一實施例之可攜式電子裝置的功能方塊圖。FIG. 3 is a functional block diagram of a portable electronic device according to another embodiment of the present invention.
第4圖為根據本發明另一實施例之可攜式電子裝置的功能方塊圖。4 is a functional block diagram of a portable electronic device according to another embodiment of the present invention.
第5圖為根據本發明另一實施例之可攜式電子裝置的功能方塊圖。FIG. 5 is a functional block diagram of a portable electronic device according to another embodiment of the present invention.
第6圖為根據本發明一實施例之儲存裝置保護方法的流程圖。Figure 6 is a flow chart of a method of protecting a storage device in accordance with an embodiment of the present invention.
第7圖為根據本發明另一實施例之儲存裝置保護方法的流程圖。Figure 7 is a flow chart of a method of protecting a storage device in accordance with another embodiment of the present invention.
1...可攜式電子裝置1. . . Portable electronic device
12...儲存裝置12. . . Storage device
14...感測單元14. . . Sensing unit
16...切換單元16. . . Switching unit
18...處理單元18. . . Processing unit
120...資料線120. . . Data line
Vcm...定直流電壓源Vcm. . . Fixed DC voltage source
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW099106602A TWI490695B (en) | 2010-03-08 | 2010-03-08 | Portable electronic apparatus and method for protecting storage device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW099106602A TWI490695B (en) | 2010-03-08 | 2010-03-08 | Portable electronic apparatus and method for protecting storage device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201131363A TW201131363A (en) | 2011-09-16 |
TWI490695B true TWI490695B (en) | 2015-07-01 |
Family
ID=50180339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW099106602A TWI490695B (en) | 2010-03-08 | 2010-03-08 | Portable electronic apparatus and method for protecting storage device thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI490695B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200627159A (en) * | 2005-01-31 | 2006-08-01 | Altob Inc | A protection mechanism and method applying outer type read and write medium of an information processing device |
TW200636223A (en) * | 2005-04-04 | 2006-10-16 | Altob Inc | A protection mechanism and method of detecting and recording external forces and strikes for a medium equipment |
US20070030586A1 (en) * | 2005-08-08 | 2007-02-08 | Quanta Computer Inc. | Apparatus and method for hard disk protection |
-
2010
- 2010-03-08 TW TW099106602A patent/TWI490695B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200627159A (en) * | 2005-01-31 | 2006-08-01 | Altob Inc | A protection mechanism and method applying outer type read and write medium of an information processing device |
TW200636223A (en) * | 2005-04-04 | 2006-10-16 | Altob Inc | A protection mechanism and method of detecting and recording external forces and strikes for a medium equipment |
US20070030586A1 (en) * | 2005-08-08 | 2007-02-08 | Quanta Computer Inc. | Apparatus and method for hard disk protection |
Also Published As
Publication number | Publication date |
---|---|
TW201131363A (en) | 2011-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3994071B2 (en) | Computer apparatus, system operating state switching control method, and program | |
US8074016B2 (en) | Data loss prevention during a fall of a storage device | |
US20120095719A1 (en) | Memory thermal management based on slot information | |
WO2007087027A2 (en) | Programming a sensitivity level into an inertial sensor based on a proxy of whether a system is in transit | |
JP6918886B2 (en) | Information processing device and control method | |
US6636910B2 (en) | Peripheral device of a portable computer with thermal control circuitry | |
US20090138740A1 (en) | Method and computer device capable of dealing with power fail | |
US20030023410A1 (en) | Method and apparatus for flushing of a device cache and suspending/shutting-down the device | |
US11385906B2 (en) | Computer program product and method and apparatus for controlling access to flash storage | |
US20070030586A1 (en) | Apparatus and method for hard disk protection | |
TWI490695B (en) | Portable electronic apparatus and method for protecting storage device thereof | |
CN113448489A (en) | Computer readable storage medium, method and apparatus for controlling access of flash memory card | |
US8086330B1 (en) | Accessing accelerometer data | |
TWI760760B (en) | Computer program product and method and apparatus for controlling access to flash storage | |
CN102110455B (en) | Portable apparatus with electronic control system and control method thereof | |
US7650439B2 (en) | Falling protective device for hard disk of a portable computer | |
JP2007122276A (en) | Case inside cooling system for electronic equipment, cooling method and electronic equipment | |
US8041846B2 (en) | Apparatus with reduced latency for master and slave storage devices | |
US8132196B2 (en) | Controller based shock detection for storage systems | |
JP4930861B2 (en) | Image forming apparatus | |
US20100259847A1 (en) | Portable apparatus having electronic control system and control method thereof | |
US10741209B2 (en) | Systems and methods for protecting hard disk drives | |
US20240231962A1 (en) | Notifications for avoiding thermal shutdown | |
US11732725B2 (en) | Protection method and system for use in fan malfunction | |
US8159779B2 (en) | Method and apparatus utilizing shock sensors on storage devices |