CN1941131B - Portable electronic device with hard disk as storage medium - Google Patents
Portable electronic device with hard disk as storage medium Download PDFInfo
- Publication number
- CN1941131B CN1941131B CN2005101065555A CN200510106555A CN1941131B CN 1941131 B CN1941131 B CN 1941131B CN 2005101065555 A CN2005101065555 A CN 2005101065555A CN 200510106555 A CN200510106555 A CN 200510106555A CN 1941131 B CN1941131 B CN 1941131B
- Authority
- CN
- China
- Prior art keywords
- hard disk
- controller
- signal processor
- power supply
- portable electronic
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
本发明是一种存储介质为硬盘的随身电子装置,该装置包括:硬盘,该硬盘在被断电后其磁头自动会回到安全区域;连接硬盘的硬盘控制器;以及用于与外界进行数据交换的通讯接口;还包括:感应器,用于感应工作中的硬盘所处的运动状态,并将运动状态信号发送给感应信号处理器;连接感应器的感应信号处理器,用于分析运动状态信号,并根据分析结果判断是否向硬盘供电开关发送断开指令;硬盘供电开关,接收感应信号处理器或硬盘控制器发送过来的指令,对硬盘进行供电控制。
The present invention is a portable electronic device whose storage medium is a hard disk. The device includes: a hard disk whose magnetic head will automatically return to a safe area after the power is cut off; a hard disk controller connected to the hard disk; The communication interface of the exchange; also includes: a sensor, which is used to sense the motion state of the hard disk in operation, and sends the motion state signal to the induction signal processor; the induction signal processor connected to the sensor is used to analyze the motion state signal, and judge whether to send a disconnection command to the hard disk power supply switch according to the analysis result; the hard disk power supply switch receives the instruction sent by the induction signal processor or the hard disk controller, and controls the power supply of the hard disk.
Description
【所属技术领域】【Technical field】
本发明涉及一种随身电子装置,特别是一种存储介质为硬盘的随身电子装置。The invention relates to a portable electronic device, in particular to a portable electronic device whose storage medium is a hard disk.
【背景技术】【Background technique】
随着便携式设备的普及,特别是越来越多的外接计算机的移动设备以硬盘作为存储介质,比如,移动硬盘,音频/视频播放器,掌上电脑PDA等。通常此类随身电子装置内部都会包括硬盘、硬盘控制器以及与外部盒体。外部盒体可提供传统硬盘的连接接口的转换,使随身电子装置可以通过USB接口与计算机进行连接以实现即插即用,从而提高传统硬盘的使用方便性。With the popularization of portable devices, especially more and more mobile devices connected to external computers use hard disks as storage media, such as mobile hard disks, audio/video players, and PDAs. Generally, such portable electronic devices include a hard disk, a hard disk controller, and an external box. The external box body can provide the conversion of the connection interface of the traditional hard disk, so that the portable electronic device can be connected with the computer through the USB interface to realize plug-and-play, thereby improving the convenience of using the traditional hard disk.
存储介质为硬盘的随身电子装置,在其不工作时,硬盘的受震能力比较强,况且现有的存储介质为硬盘的随身电子装置在制造时其外壳均带有防震的功能。然而,存储介质为硬盘的随身电子装置在工作时,其硬盘的抗震能力非常弱,且其使用时多是外接在计算机上,通常被使用者临时放在某个位置上也未对其加以固定,这使得在使用随身电子装置过程中有时会发生掉落或是剧烈振动的情况,造成该随身电子装置内部硬盘的损坏。因此,有必要加强硬盘在工作时的保护。A portable electronic device whose storage medium is a hard disk, when it is not working, the hard disk has a strong ability to withstand shocks. Moreover, the existing portable electronic devices whose storage medium is a hard disk all have a shockproof function when they are manufactured. However, when a portable electronic device whose storage medium is a hard disk is working, its hard disk has very weak shock resistance, and when it is used, it is mostly connected to a computer, and is usually temporarily placed in a certain position by the user without fixing it. , which makes the portable electronic device sometimes drop or violently vibrate during use, causing damage to the internal hard disk of the portable electronic device. Therefore, it is necessary to strengthen the protection of the hard disk at work.
在中国专利号为02134495.7的专利中揭示了一种便携式计算机硬盘驱动器的保护装置和方法,如图1所示的结构。但该专利主要针对的是计算机内部硬盘,特别是笔记本的内部硬盘。所以对于该专利来讲,当笔记本处于突然的掉落或是振动时,既要考虑保护硬盘,同时还要保证计算机的正常工作。或者说,要保证硬盘重新工作即磁头重新回到磁盘工作区后,计算机操作系统仍能正常使用而不出现问题。因此,该专利的技术方案采用的是向硬盘设备中的磁头发送指令,命令磁头回到安全区域,以便在笔记本处于突然掉落或振动时其中的硬盘暂时处于安全状态,待掉落或振动状况消失后计算机操作系统再继续工作。In Chinese Patent No. 02134495.7, a protection device and method for a hard disk drive of a portable computer are disclosed, as shown in FIG. 1 . But this patent is mainly aimed at the internal hard disk of the computer, especially the internal hard disk of the notebook. Therefore, for this patent, when the notebook is suddenly dropped or vibrated, it is necessary to consider not only protecting the hard disk, but also ensuring the normal operation of the computer. In other words, it is necessary to ensure that the hard disk works again, that is, after the magnetic head returns to the disk work area, the computer operating system can still be used normally without problems. Therefore, the technical solution of this patent is to send instructions to the magnetic head in the hard disk device to order the magnetic head to return to the safe area, so that the hard disk in the notebook is temporarily in a safe state when the notebook is suddenly dropped or vibrated. The computer operating system continues to work after disappearing.
在目前的现有技术中IBM、东芝笔记本的某些型号中使用了加速度感应器,具体做法在于:在主板上安装加速度器,感受到坠落、碰撞时,如果内置微处理器判断该状态会对硬盘造成损伤,就会在操作系统上执行驱动程序的预先设计好的功能,即会发出高等级的中断请求,暂停硬盘当前的工作,磁头立即实行卸载动作;同时将当前工作暂存在主板上的缓存或者内存中,待危险解除后可以继续进行原有任务。但现有技术需要CPU判断对硬盘是否造成损伤,并需要在操作系统上执行驱动程序的预先设计好的功能,该现有技术中需要依赖CPU的工作。In the current prior art, some models of IBM and Toshiba notebooks use acceleration sensors. If the hard disk is damaged, the pre-designed function of the driver will be executed on the operating system, that is, a high-level interrupt request will be issued to suspend the current work of the hard disk, and the head will immediately perform an unloading action; at the same time, the current work will be temporarily stored in the mainboard. In the cache or memory, the original task can be continued after the danger is eliminated. However, in the prior art, the CPU is required to judge whether the hard disk is damaged, and the pre-designed function of the driver program needs to be executed on the operating system. In this prior art, the work of the CPU is required.
同时,随着技术的发展,硬盘的磁头泊位技术日益发展成熟。即:在硬盘工作过程中被突然断电的情况下,磁头能够在足够短的时间内自动回到安全区停泊。这样就有效杜绝了对硬盘可能造成的损害,确保了突然断电时硬盘的安全性。At the same time, with the development of technology, the magnetic head berth technology of hard disk is becoming more and more mature. That is: in the case of a sudden power failure during the hard disk work, the magnetic head can automatically return to the safe zone and park in a short enough time. In this way, the possible damage to the hard disk is effectively prevented, and the safety of the hard disk is ensured when the power is suddenly cut off.
【发明内容】【Content of invention】
因此,本发明的目的在于解决上述问题,使处于工作状态中的随身电子装置的硬盘的安全性得到保证,且对硬盘的断电/供电更易准确控制。本发明只须采用简单的令硬盘断电的技术方案,就可以实现对随身电子装置中的硬盘的保护。具体技术方案如下:Therefore, the purpose of the present invention is to solve the above problems, to ensure the safety of the hard disk of the portable electronic device in the working state, and to more accurately control the power-off/power supply of the hard disk. The invention can realize the protection of the hard disk in the portable electronic device only by adopting a simple technical scheme of powering off the hard disk. The specific technical scheme is as follows:
一种存储介质为硬盘的随身电子装置,该装置包括:硬盘,该硬盘在被断电后其磁头自动会回到安全区域;连接于硬盘的硬盘控制器,该硬盘控制器用于对通讯协议进行转换;以及用于与外界进行数据交换的通讯接口;还包括:A portable electronic device whose storage medium is a hard disk, the device includes: a hard disk, the magnetic head of which will automatically return to a safe area after being powered off; a hard disk controller connected to the hard disk, which is used to implement communication protocol Conversion; and a communication interface for data exchange with the outside world; also includes:
感应器,用于感应工作中的硬盘所处的运动状态,并将运动状态信号发送给感应信号处理器;The sensor is used to sense the motion state of the working hard disk, and send the motion state signal to the induction signal processor;
连接于感应器的感应信号处理器,用于分析运动状态信号,并根据分析结果判断是否向硬盘供电开关发送断开指令;The inductive signal processor connected to the sensor is used to analyze the motion state signal, and judge whether to send a disconnection command to the hard disk power supply switch according to the analysis result;
硬盘供电开关,用于接收与其连接的感应信号处理器或与其连接的硬盘控制器发送过来的指令,对硬盘进行供电控制。The hard disk power supply switch is used to receive instructions from the inductive signal processor connected to it or the hard disk controller connected to it, and to control the power supply of the hard disk.
所述的感应器为加速度传感器。The sensor is an acceleration sensor.
感应信号处理器连接硬盘控制器,该硬盘控制器连接硬盘供电开关。The induction signal processor is connected to the hard disk controller, and the hard disk controller is connected to the hard disk power supply switch.
感应信号处理器连接硬盘供电开关。The inductive signal processor is connected to the hard disk power supply switch.
还包括硬盘控制器供电开关,感应信号处理器先向与其连接的硬盘控制器供电开关发送断开指令,切断对硬盘控制器的供电,然后,该感应信号处理器再向与其连接的硬盘供电开关发送断开指令,切断硬盘的供电。It also includes a hard disk controller power supply switch. The induction signal processor first sends a disconnection command to the hard disk controller power supply switch connected to it to cut off the power supply to the hard disk controller. Then, the induction signal processor sends a power supply switch to the hard disk controller connected to it Send a disconnection command to cut off the power supply of the hard disk.
该装置还包括信息反馈模块,该信息反馈模块连接感应信号处理器,用于将感应器感应到的状态信息反馈给用户。The device also includes an information feedback module, which is connected to the induction signal processor and used to feed back the state information sensed by the sensor to the user.
所述的通讯接口为UBS接口、SATA接口、1394接口、串/并行接口或者网线接口。The communication interface is a UBS interface, a SATA interface, a 1394 interface, a serial/parallel interface or a network cable interface.
所述信息反馈模块包括USB集线器和USB接口控制器,所述通讯接口为USB接口,该USB集线器连接USB接口控制器,该USB接口控制器连接感应信号处理器,该USB集线器还连接硬盘控制器。The information feedback module includes a USB hub and a USB interface controller, the communication interface is a USB interface, the USB hub is connected to the USB interface controller, the USB interface controller is connected to the induction signal processor, and the USB hub is also connected to the hard disk controller .
由所述的感应信号处理器将需反馈的数据传送给USB接口控制器,该USB接口控制器将数据通过USB集线器传送给所连接的计算机,该计算机接收到该数据,经操作系统的处理再将该随身电子装置所处的状态信息通知使用者。The inductive signal processor transmits the data to be fed back to the USB interface controller, and the USB interface controller transmits the data to the connected computer through the USB hub, and the computer receives the data, which is processed by the operating system and then The state information of the portable electronic device is notified to the user.
所述信息反馈模块包括显示屏和显示控制器,感应信号处理器连接显示控制器,该显示控制器连接显示屏,感应信号处理器将数据发送给显示控制器,显示控制器将该数据进行处理,再将该随身电子装置所处的状态信息反映给显示屏通知使用者。The information feedback module includes a display screen and a display controller, the induction signal processor is connected to the display controller, the display controller is connected to the display screen, the induction signal processor sends data to the display controller, and the display controller processes the data , and then reflect the status information of the portable electronic device to the display screen to notify the user.
所述的信息反馈模块包括扬声器和扬声控制器,感应信号处理器连接扬声控制器,该扬声控制器连接扬声器,感应信号处理器将数据发送给扬声控制器,该扬声控制器将该数据进行处理,再将该随身电子装置所处的状态信息发送给扬声器通知使用者。The information feedback module includes a speaker and a speaker controller, the induction signal processor is connected to the speaker controller, the speaker controller is connected to the speaker, the induction signal processor sends data to the speaker controller, and the speaker controller The data is processed, and then the state information of the portable electronic device is sent to the speaker to inform the user.
所述感应信号处理器在发送断开指令使硬盘断电后,继续分析运动状态信号,并判断是否让硬盘恢复工作,如需恢复工作,则向硬盘供电开关发送接通指令。After the inductive signal processor sends the disconnect command to power off the hard disk, it continues to analyze the motion state signal and judges whether to restore the hard disk to work.
所述感应信号处理器在发送断开指令使硬盘断电后,继续分析运动状态信号,并判断是否让硬盘恢复工作,如需恢复工作,则先向硬盘供电开关发送接通指令,再向硬盘控制器供电开关发送接通指令。The inductive signal processor continues to analyze the motion state signal after sending a disconnection command to make the hard disk power off, and judges whether to allow the hard disk to resume work. The controller power switch sends an ON command.
本发明通过对硬盘的运动进行监测,在随身电子装置发生掉落或剧烈振动时,可由感应信号处理器或硬盘控制器向相应的供电开关发送断开或接通命令,该供电开关通过断开或接通动作,实现对所要供电的硬盘的断电或通电的控制。当感应信号处理器向硬盘供电开关发送断开指令,硬盘供电开关断开,令硬盘断电,从而使得磁头回到安全位置,以避免磁头撞到磁盘,防止硬盘发生损坏。为了更好的确保存储介质为硬盘的随身电子装置(比如:移动硬盘)的安全性,本发明采用切断移动硬盘的供电的技术方案,这样既保证了硬盘的安全又保证了成本不显著的增加。The present invention monitors the movement of the hard disk, and when the portable electronic device falls or vibrates violently, the inductive signal processor or the hard disk controller can send an off or on command to the corresponding power supply switch. Or turn on action to realize the power off or power on control of the hard disk to be powered. When the inductive signal processor sends a disconnection command to the hard disk power supply switch, the hard disk power supply switch is turned off, so that the hard disk is powered off, so that the magnetic head returns to a safe position, so as to avoid the magnetic head from hitting the disk and prevent the hard disk from being damaged. In order to better ensure the safety of portable electronic devices (such as mobile hard disks) whose storage media are hard disks, the present invention adopts a technical solution of cutting off the power supply of the mobile hard disk, which not only ensures the safety of the hard disk but also ensures that the cost does not increase significantly .
在背景技术中阐述的中国专利号为02134495.7的揭示便携式计算机硬盘驱动器的保护装置和方法的专利,其技术方案主要针对笔记本内部硬盘。而对于计算机内部的硬盘如果采用突然断电的方案,会造成计算机操作系统的崩溃,或是造成在硬盘重新接通电后计算机主板无法认出刚才被断过电的硬盘,导致计算机无法正常使用。相比较而言,由于本发明主要针对的是随身电子设备中的硬盘,随身电子设备一般并不安装复杂的操作系统,特别是移动存储设备其主要功能在于存储,该移动存储设备甚至可以不安装操作系统。因为将该硬盘断电的操作不会造成内部系统的崩溃,更不会造成与其进行数据传输的计算机操作系统的崩溃;另外,例如用USB接口等接口进行通讯,由于采用标准的USB协议,则当该硬盘供电开关接收到感应信号处理器或硬盘控制器发送过来的接通指令后,闭合该开关重新接通硬盘的电,硬盘通电后,与其连接的计算机也会重新识别出该硬盘,可以保证继续进行数据的通讯。The Chinese patent No. 02134495.7 disclosed in the background technology discloses a protection device and method for a hard disk drive of a portable computer, and its technical solution is mainly aimed at the internal hard disk of a notebook. And for the hard disk inside the computer, if the scheme of sudden power failure is adopted, it will cause the collapse of the computer operating system, or cause the main board of the computer to fail to recognize the hard disk that has just been powered off after the hard disk is reconnected, causing the computer to be unable to use normally. . In comparison, since the present invention is mainly aimed at hard disks in portable electronic devices, portable electronic devices generally do not install complicated operating systems, especially mobile storage devices whose main function is storage, and the mobile storage devices may not even be installed. operating system. Because the operation of powering off the hard disk will not cause the collapse of the internal system, nor will it cause the collapse of the computer operating system for data transmission; When the hard disk power supply switch receives the connection command sent by the induction signal processor or the hard disk controller, close the switch and turn on the power of the hard disk again. After the hard disk is powered on, the computer connected to it will also recognize the hard disk again. Data communication is guaranteed to continue.
同时,作为现有技术的磁头泊位技术已经日益成熟,一般的随身电子设备中使用的硬盘基本上都可以在硬盘被断电后,实现磁头在足够短的时间内自动完成泊位。特别是采用磁头紧急卸载规则的硬盘,在断电后磁头更是可以在最慢500毫秒内停泊到安全区。Simultaneously, the magnetic head berthing technology as the prior art has become increasingly mature, and the hard disks used in general portable electronic devices can basically realize the berthing of the magnetic head in a short enough time after the hard disk is powered off. Especially for the hard disk that adopts the emergency unloading rule of the magnetic head, the magnetic head can be parked in the safe zone within 500 milliseconds at the slowest after power failure.
另外,本发明的技术方案是针对存储介质为硬盘的随身电子装置,由于增加了信息反馈模块,实现了及时反馈随身电子装置所处运动状态的信息给用户这一功能。在不显著增加成本的基础上,大大方便了用户的使用,而在现有的随身电子设备中几乎是不存在对随身电子设备所处状态进行提示的。In addition, the technical solution of the present invention is aimed at the portable electronic device whose storage medium is a hard disk. Due to the addition of the information feedback module, the function of timely feeding back the information of the motion state of the portable electronic device to the user is realized. On the basis of not significantly increasing the cost, the use of the user is greatly facilitated, and there is almost no prompt for the state of the portable electronic device in the existing portable electronic device.
为了能更进一步了解本发明的特征以及技术内容,以下结合本发明的具体实施例及附图进行说明。但所举附图及实施例并非用来对本发明加以限制。In order to further understand the features and technical content of the present invention, the following description will be made in conjunction with specific embodiments of the present invention and the accompanying drawings. However, the figures and examples cited are not intended to limit the present invention.
【附图说明】【Description of drawings】
图1是现有技术的装置结构图示。Fig. 1 is a structural diagram of a device in the prior art.
图2是本发明装置的第一实施例的逻辑框图。Fig. 2 is a logic block diagram of the first embodiment of the apparatus of the present invention.
图3是本发明装置的第二实施例的逻辑框图。Fig. 3 is a logic block diagram of the second embodiment of the device of the present invention.
图4是本发明装置的第三实施例的逻辑框图。Fig. 4 is a logic block diagram of the third embodiment of the apparatus of the present invention.
图5是本发明装置的第四实施例的逻辑框图。Fig. 5 is a logic block diagram of the fourth embodiment of the apparatus of the present invention.
图6是本发明装置的第五实施例的逻辑框图。Fig. 6 is a logic block diagram of a fifth embodiment of the apparatus of the present invention.
【具体实施方式】【Detailed ways】
如图2所示,为本发明的第一实施例,在本实施例中的随身电子装置为移动硬盘。该移动硬盘包括:As shown in FIG. 2 , it is the first embodiment of the present invention, and the portable electronic device in this embodiment is a mobile hard disk. The mobile hard drive includes:
一硬盘,此硬盘是能实现磁头泊位技术的硬盘,目前大多数硬盘都能实现磁头泊位技术,因而为本发明技术方案的实现提供了必要条件;A hard disk, this hard disk is the hard disk that can realize the magnetic head berth technology, and most hard disks can realize the magnetic head berth technology at present, thereby providing necessary conditions for the realization of the technical solution of the present invention;
一连接硬盘的硬盘控制器,该硬盘控制器用于对通讯协议进行转换,是传统的移动硬盘的重要组成部分;A hard disk controller connected to the hard disk, the hard disk controller is used to convert the communication protocol, which is an important part of the traditional mobile hard disk;
一连接硬盘控制器的USB接口,以标准的USB协议与计算机进行通讯。One is connected to the USB interface of the hard disk controller, and communicates with the computer through the standard USB protocol.
以上为传统移动硬盘的基本结构,在此结构上该移动硬盘更包括了,一监测工作模式下硬盘所处运动状态的感应器,该感应器为加速度传感器;一连接感应器的感应信号处理器;还有一连接感应信号处理器的硬盘供电开关,该硬盘供电开关为物理上的电性开关,如:开关二极管等。采用此种控制开关的断电方式,会使得控制供电的操作更为灵敏。The above is the basic structure of the traditional mobile hard disk. In this structure, the mobile hard disk further includes: a sensor for monitoring the motion state of the hard disk in the working mode, the sensor is an acceleration sensor; an induction signal processor connected to the sensor There is also a hard disk power supply switch connected to the induction signal processor, the hard disk power supply switch is a physical electrical switch, such as a switching diode. Adopting such a power-off mode of the control switch will make the operation of controlling the power supply more sensitive.
当该移动硬盘正常工作时,在移动硬盘内部的加速度传感器处于工作状态:When the mobile hard disk is working normally, the acceleration sensor inside the mobile hard disk is in working condition:
1)、当加速度传感器将监测到的该移动硬盘处于的运动状态数据信号发送给感应信号处理器;1), when the acceleration sensor sends the monitored motion state data signal of the mobile hard disk to the inductive signal processor;
2)、该感应信号处理器接收到该信号,对其进行分析并计算,对于感应信号处理器如何进行分析并计算,由于各个感应信号处理器可能存在功能上的细微差异,为了更好的揭示本发明的技术方案,现用本领域内常用感应信号处理器的简单工作原理示例加以说明:该感应信号处理器将此时刻的信号数值与设定的前一次监测周期的信号数值进行比对,根据比对的结果决定是否向硬盘供电开关发送指令、发送何种指令;2) The inductive signal processor receives the signal, analyzes and calculates it, how to analyze and calculate the inductive signal processor, because each inductive signal processor may have subtle differences in function, in order to better reveal The technical solution of the present invention is illustrated by an example of a simple working principle of an induction signal processor commonly used in the art: the induction signal processor compares the signal value at this moment with the signal value of the previous monitoring cycle set, According to the result of the comparison, it is decided whether to send an instruction to the hard disk power supply switch, and what instruction to send;
例如,我们将监测周期设定为0.5秒,当移动硬盘出现突然掉落处于自由落体的情况,感应信号处理器接收到加速度传感器发送过来的信号,经处理得到一个该周期内的状态数值a,将该数值a与在前一周期即前0.5秒所记录到的运动状态信号数值b进行比对,得到比对值c,根据比对值c判断是否要向硬盘供电开关发送指令。判断标准是根据硬盘的质量等影响硬盘承受损坏能力的情况(如:硬盘下落多长时间能保证磁头一定回归安全区;硬盘震动的振幅及频率超过多大范围会影响硬盘的安全等)由生产商自行设定的,生产商可以自定义一个基准值d,当比对值c大于或等于基准值d时,该移动硬盘所处的状态被定义为危险状态,当比对值c小于基准值d时,该移动硬盘所处的状态被定义为安全状态。例如,该移动硬盘在自由落体时,设定50厘米的距离为硬盘下落的安全距离,且该移动硬盘下落50厘米需要T秒,则该移动硬盘处于下落50厘米的那一时刻并且刚好T秒的那一时刻被认为是危险状态的临界时刻,大于或是等于该临界时刻都是危险状态,小于50厘米或是小于T秒的时刻被认为是安全状态,在非常接近50厘米或是约等于T秒的时刻则可被定义为即将发生危险的状态。For example, we set the monitoring period to 0.5 seconds. When the mobile hard disk suddenly falls and is in free fall, the induction signal processor receives the signal sent by the acceleration sensor, and obtains a state value a within the period after processing. Compare this value a with the motion state signal value b recorded in the previous cycle, ie, the previous 0.5 seconds, to obtain a comparison value c, and judge whether to send an instruction to the hard disk power supply switch according to the comparison value c. The judgment standard is based on the quality of the hard disk and other conditions that affect the hard disk’s ability to withstand damage (such as: how long the hard disk will take to ensure that the magnetic head will return to the safe zone; the amplitude and frequency of the hard disk vibration will affect the safety of the hard disk, etc.) by the manufacturer. Self-set, the manufacturer can customize a benchmark value d, when the comparison value c is greater than or equal to the benchmark value d, the state of the mobile hard disk is defined as a dangerous state, when the comparison value c is less than the benchmark value d , the state of the mobile hard disk is defined as a safe state. For example, when the mobile hard disk is in free fall, set a distance of 50 centimeters as the safe distance for the hard disk to fall, and it takes T seconds for the mobile hard disk to fall 50 centimeters, then the mobile hard disk is at the moment when it falls 50 centimeters and it is exactly T seconds The moment of is considered as the critical moment of the dangerous state, which is greater than or equal to the critical moment is a dangerous state, less than 50 centimeters or less than T seconds is considered a safe state, when it is very close to 50 centimeters or approximately equal to The moment of T seconds can be defined as a state of imminent danger.
3)、如果此时由感应信号处理器计算得出的比对值c小于基准值d时,即该移动硬盘处于安全状态,该感应信号处理器不做动作;3), if the comparison value c calculated by the induction signal processor is less than the reference value d at this time, that is, the mobile hard disk is in a safe state, and the induction signal processor does not act;
4)、如果此时由感应信号处理器计算得出的比对值c大于或等于基准值d时,即该移动硬盘处于掉落或振动以致会造成硬盘发生损坏的危险状态,该感应信号处理器向硬盘供电开关发送断开指令;4) If the comparison value c calculated by the induction signal processor is greater than or equal to the reference value d at this time, that is, the mobile hard disk is in a dangerous state of falling or vibrating so as to cause damage to the hard disk, the induction signal processing The device sends a disconnection command to the hard disk power supply switch;
5)、硬盘供电开关执行感应信号处理器发送过来的断开指令,该硬盘供电开关断开,令硬盘断电,硬盘断电后,实现磁头泊位,磁头会在几十毫秒内返回停泊区并锁定,以此保护硬盘不受损坏;5) The power supply switch of the hard disk executes the disconnection command sent by the induction signal processor. The power supply switch of the hard disk is turned off, so that the hard disk is powered off. After the hard disk is powered off, the magnetic head is parked. Lock to protect the hard drive from damage;
6)、当移动硬盘恢复到安全状态时,感应信号处理器可向硬盘供电开关发送接通指令,硬盘供电开关执行接通指令,闭合供电开关令硬盘重新通电。6) When the mobile hard disk returns to a safe state, the inductive signal processor can send a turn-on command to the hard disk power supply switch, and the hard disk power supply switch executes the turn-on command, and closes the power supply switch to re-energize the hard disk.
如图3所示,为本发明的第二实施例。在本实施例中的随身电子装置为一存储介质为硬盘的视频播放器。该视频播放器至少包括:As shown in Figure 3, it is the second embodiment of the present invention. The portable electronic device in this embodiment is a video player whose storage medium is a hard disk. The video player includes at least:
一作为存储介质的硬盘,该硬盘能实现磁头泊位技术;A hard disk as a storage medium, which can realize the magnetic head berth technology;
一连接硬盘的硬盘控制器;a hard disk controller connected to the hard disk;
一连接硬盘控制器的SATA接口,以SATA协议与计算机进行通讯;更包括:One is connected to the SATA interface of the hard disk controller, and communicates with the computer through the SATA protocol; it also includes:
一监测工作模式下的硬盘所处运动状态的感应器;A sensor for monitoring the motion state of the hard disk in the working mode;
一感应器的感应信号处理器;An inductive signal processor of a sensor;
一连接感应信号处理器的硬盘供电开关;以及a hard disk power supply switch connected to the inductive signal processor; and
一连接感应信号处理器的硬盘控制器供电开关。A hard disk controller power supply switch connected to the inductive signal processor.
当该视频播放器正常工作时,在视频播放器内的感应器处于工作状态。由感应器监测到该视频播放器的运动状态,并将该运动状态信号发送给感应信号处理器,由感应信号处理器分析该信号数值并进行判断;When the video player is working normally, the sensor in the video player is in working state. The motion state of the video player is monitored by the sensor, and the motion state signal is sent to the induction signal processor, and the induction signal processor analyzes the value of the signal and makes a judgment;
若判断所处状态为危险状态,则感应信号处理器先向硬盘控制器供电开关发送断开指令,硬盘控制器供电开关断开,使得硬盘控制器断电,以便切断硬盘正在进行的通讯,这样做的目的在于符合热插拔原理中先断通讯后断电的断电规则,确保了数据的安全性,该通讯的中止可以保证在硬盘断电前的传送数据的安全;随即,感应信号处理器向硬盘供电开关发送断开指令,硬盘供电开关断开,切断该硬盘的电,实现磁头泊位,从而保证硬盘的安全。If it is judged that the state is a dangerous state, the induction signal processor first sends a disconnection command to the hard disk controller power supply switch, and the hard disk controller power supply switch is disconnected, so that the hard disk controller is powered off, so as to cut off the ongoing communication of the hard disk. The purpose of doing it is to comply with the power-off rules of the hot-swapping principle, which is to cut off the communication first and then cut off the power, so as to ensure the security of the data. The suspension of the communication can ensure the safety of the transmitted data before the hard disk is powered off; The device sends a disconnection command to the hard disk power supply switch, and the hard disk power supply switch is disconnected to cut off the power of the hard disk to realize the berth of the magnetic head, thereby ensuring the safety of the hard disk.
当硬盘的危险状态解除后,感应信号处理器先向硬盘供电开关发送接通指令,硬盘供电开关闭合,令硬盘重新通电,然后,感应信号处理器再向硬盘控制器供电开关发送接通指令,硬盘控制器供电开关闭合,令硬盘控制器重新通电,使得硬盘和硬盘控制器之间的通讯被接通,硬盘的通讯可以继续。先接通硬盘的电再接通硬盘控制器的电这样做的目的也是为了符合热插拔原理从而保证硬盘的正常使用。此时,该视频播放器的硬盘可以继续工作。When the dangerous state of the hard disk is removed, the inductive signal processor first sends a turn-on command to the hard disk power supply switch, the hard disk power supply switch is closed, and the hard disk is powered on again, and then the inductive signal processor sends a turn-on command to the hard disk controller power supply switch, The power supply switch of the hard disk controller is closed, so that the hard disk controller is powered on again, so that the communication between the hard disk and the hard disk controller is connected, and the communication of the hard disk can continue. The purpose of turning on the power of the hard disk first and then the power of the hard disk controller is also to comply with the principle of hot swapping so as to ensure the normal use of the hard disk. At this time, the hard disk of the video player can continue to work.
如图4所示,是本发明的第三实施例。该实施例为一移动硬盘,与第一实施例的区别主要在于增加了一USB集线器和USB接口控制器,与USB接口连接;感应信号处理器连接USB接口控制器,该USB接口控制器连接USB集线器,同时,硬盘控制器也连接该USB集线器。由于有USB集线器的存在,与该移动硬盘进行数据传输的计算机的操作系统会认为有两个设备与其连接,一个设备其实为:感应器、连接感应器的感应信号处理器和USB接口控制器,另一个设备其实为:硬盘控制器和硬盘。这样,感应信号处理器可以随时的将该移动硬盘所处的状态信号及时有效的将感应信号处理器得到的信号,经USB接口控制器处理,再通过USB集线器向计算机操作系统进行发送,而不必受其他通道的限制,以便使使用者了解该移动硬盘处于何种状态。As shown in Figure 4, it is the third embodiment of the present invention. This embodiment is a mobile hard disk, and the difference from the first embodiment mainly lies in the addition of a USB hub and a USB interface controller, which are connected to the USB interface; the induction signal processor is connected to the USB interface controller, and the USB interface controller is connected to the USB interface controller. hub, at the same time, the hard disk controller is also connected to the USB hub. Due to the existence of the USB hub, the operating system of the computer that performs data transmission with the mobile hard disk will think that there are two devices connected to it. One device is actually: a sensor, an induction signal processor connected to the sensor, and a USB interface controller. Another device is actually: hard disk controller and hard disk. In this way, the inductive signal processor can promptly and effectively process the signal obtained by the inductive signal processor with the signal of the status signal of the mobile hard disk at any time, and then send it to the computer operating system through the USB hub, without having to Restricted by other channels, in order to let the user know what state the mobile hard disk is in.
如果该移动硬盘处于中间状态,也就是说,该移动硬盘即将处于危险还不会立刻对硬盘造成危险时,则感应信号处理器通过USB集线器向计算机发送信号,计算机接收到该信号将其中相应寄存器中的数值改变,在下一个时间周期到来计算机查询该数值的时候,在计算机上的显示器上显示警告信息或是计算机扬声器发出报警声音。If the mobile hard disk is in an intermediate state, that is to say, when the mobile hard disk is about to be in danger and will not immediately cause danger to the hard disk, the induction signal processor sends a signal to the computer through the USB hub, and the computer receives the signal and registers the corresponding register. If the value in the computer changes, when the next time period arrives and the computer queries the value, a warning message will be displayed on the monitor of the computer or an alarm sound will be emitted from the computer speaker.
如果该移动硬盘所处状态已构成对硬盘造成损坏的危险,则感应信号处理器通过USB集线器向计算机发送信号,计算机接收到该信号将其中相应寄存器中的数值改变,在本次时间周期计算机查询该数值时,在计算机上的显示器上显示警告信息或是计算机扬声器发出报警声音,同时,该感应信号处理器向硬盘供电开关发送断开指令,硬盘供电开关断开,使得硬盘断电,实现磁头泊位,保护硬盘。If the state of the mobile hard disk has constituted a danger of damage to the hard disk, the induction signal processor sends a signal to the computer through the USB hub, and the computer receives the signal and changes the value in the corresponding register, and the computer inquires in this time period When this value is reached, a warning message will be displayed on the monitor of the computer or an alarm sound will be issued from the computer speaker. At the same time, the inductive signal processor sends a disconnection command to the hard disk power supply switch, and the hard disk power supply switch is disconnected, so that the hard disk is powered off and the magnetic head berth to protect the hard drive.
当移动硬盘不再处于危险状态,则感应信号处理器立即向硬盘供电开关发送接通指令,硬盘供电开关闭合,硬盘通电,移动硬盘可以继续正常使用。When the mobile hard disk is no longer in a dangerous state, the inductive signal processor immediately sends an on command to the hard disk power supply switch, the hard disk power supply switch is closed, the hard disk is powered on, and the mobile hard disk can continue to be used normally.
如图5所示,是本发明的第四实施例。该实施例为一视频播放器,与第二实施例的区别主要在于该视频播放器上的显示屏和显示控制器可用于报警。显示屏连接显示控制器,显示控制器连接感应信号处理器,该显示控制器接收并处理该感应信号处理器发送过来的信号,并将处理后的反映随身电子装置所处的状态信息发送到显示屏上,通知使用者此时随身电子装置处于何种状态。例如,当视频播放器内的硬盘处于危险状态,则感应信号处理器立即向硬盘供电开关发送断开指令,硬盘供电开关断开,令硬盘断电;同时,感应信号处理器向显示控制器发送信号,进而由显示控制器向显示屏发送信息。当视频播放器内的硬盘的危险状态解除,则感应信号处理器立即向硬盘供电开关发送接通指令,硬盘供电开关闭合,令硬盘通电,继续工作。As shown in Fig. 5, it is the fourth embodiment of the present invention. This embodiment is a video player, and the difference from the second embodiment is mainly that the display screen and display controller on the video player can be used for alarming. The display screen is connected to the display controller, and the display controller is connected to the induction signal processor. The display controller receives and processes the signal sent by the induction signal processor, and sends the processed information reflecting the state of the portable electronic device to the display The screen notifies the user what state the portable electronic device is in at this time. For example, when the hard disk in the video player is in a dangerous state, the inductive signal processor immediately sends a disconnection command to the hard disk power supply switch, and the hard disk power supply switch is disconnected, so that the hard disk is powered off; at the same time, the inductive signal processor sends a command to the display controller Signal, and then the display controller sends information to the display screen. When the dangerous state of the hard disk in the video player is removed, the inductive signal processor immediately sends a connection command to the hard disk power supply switch, and the hard disk power supply switch is closed, so that the hard disk is powered on and continues to work.
另外,本实施例中起报警功能也可以由扬声器和扬声控制器完成/实现。感应信号处理器将信号发送给扬声控制器,经该扬声控制器的分析处理,向扬声器发送声音信号,发出提示声音,以达到令使用者得知该视频播放器所处状态的目的。In addition, the alarm function in this embodiment can also be completed/realized by the speaker and the speaker controller. The inductive signal processor sends the signal to the speaker controller, and after the analysis and processing by the speaker controller, it sends a sound signal to the speaker and sends out a prompt sound, so as to let the user know the state of the video player.
如图6所示,本发明的第五实施例,与上述实施例的区别主要在于通过硬盘控制器控制硬盘的供电,也就是说,感应信号处理器不直接连接硬盘供电开关,即不直接负责控制硬盘供电开关的断开或接通,而是通过与其连接的硬盘控制器,由硬盘控制器控制硬盘供电开关,实行对硬盘供电的控制。当该感应信号处理器向硬盘控制器发送信息,硬盘控制器接收到指令对硬盘的供电开关进行控制。As shown in Figure 6, the fifth embodiment of the present invention differs from the above-mentioned embodiments mainly in that the hard disk controller controls the power supply of the hard disk, that is to say, the induction signal processor is not directly connected to the hard disk power supply switch, that is, it is not directly The hard disk power supply switch is controlled to be turned off or on, but through the hard disk controller connected to it, the hard disk controller controls the hard disk power supply switch to control the hard disk power supply. When the inductive signal processor sends information to the hard disk controller, the hard disk controller receives an instruction to control the power supply switch of the hard disk.
现有的外接电脑的移动设备的数据传输协议常用的是USB接口和SATA接口。还可以是1394接口、串/并行接口或者网线接口。The existing data transmission protocols of mobile devices connected to external computers are usually USB interface and SATA interface. It can also be a 1394 interface, a serial/parallel interface or a network cable interface.
综上所述,对于本领域的普通技术人员来说,可以根据本发明的技术方案和技术构思作出其他各种相应的改变和变形,而所有这些改变和变形都应属于本发明所述的权利要求的保护范围。In summary, for those skilled in the art, various other corresponding changes and deformations can be made according to the technical scheme and technical concept of the present invention, and all these changes and deformations should belong to the rights described in the present invention. the scope of protection required.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101065555A CN1941131B (en) | 2005-10-02 | 2005-10-02 | Portable electronic device with hard disk as storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2005101065555A CN1941131B (en) | 2005-10-02 | 2005-10-02 | Portable electronic device with hard disk as storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1941131A CN1941131A (en) | 2007-04-04 |
| CN1941131B true CN1941131B (en) | 2011-04-27 |
Family
ID=37959211
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2005101065555A Expired - Lifetime CN1941131B (en) | 2005-10-02 | 2005-10-02 | Portable electronic device with hard disk as storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1941131B (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101211566B (en) * | 2006-12-30 | 2010-09-29 | 联想(北京)有限公司 | Mobile terminal and hard disk protection method |
| WO2009143726A1 (en) * | 2008-05-30 | 2009-12-03 | 北京华旗资讯数码科技有限公司 | Mobile storing device and method for realizing attitude control |
| CN103325397A (en) * | 2008-05-30 | 2013-09-25 | 爱国者电子科技有限公司 | Audio and video playing device for achieving posture control |
| CN102469290A (en) * | 2010-11-08 | 2012-05-23 | 北京星敏科信息技术有限公司 | Camera image transmission device |
| CN110457278A (en) * | 2018-05-07 | 2019-11-15 | 百度在线网络技术(北京)有限公司 | A kind of document copying method, device, equipment and storage medium |
| CN109116966A (en) * | 2018-08-03 | 2019-01-01 | 芜湖英特杰智能科技有限公司 | A kind of hard disc of computer dynamic power supply management method |
| CN111833910B (en) * | 2019-04-23 | 2023-11-03 | 鸿富锦精密工业(武汉)有限公司 | Mechanical hard disk protection method and electronic device |
| CN112306604B (en) * | 2020-08-21 | 2022-09-23 | 海信视像科技股份有限公司 | Progress display method and display device for file transmission |
| CN113591165A (en) * | 2021-08-11 | 2021-11-02 | 平安普惠企业管理有限公司 | Hard disk read-write protection method and device, computer equipment and storage medium |
| CN114116069A (en) * | 2021-12-07 | 2022-03-01 | 厦门星火相连教育科技有限公司 | Method, system and storage medium for uninterrupted operation of JAVA system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5227929A (en) * | 1990-11-26 | 1993-07-13 | International Business Machines Corporation | Portable computer hard disk protective reflex system |
| CN1543647A (en) * | 2001-08-22 | 2004-11-03 | �����ι�˾ | Contact Detection and Calibration for Electrostatic Fly Height Control in Disk Drives |
-
2005
- 2005-10-02 CN CN2005101065555A patent/CN1941131B/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5227929A (en) * | 1990-11-26 | 1993-07-13 | International Business Machines Corporation | Portable computer hard disk protective reflex system |
| CN1543647A (en) * | 2001-08-22 | 2004-11-03 | �����ι�˾ | Contact Detection and Calibration for Electrostatic Fly Height Control in Disk Drives |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1941131A (en) | 2007-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100625061B1 (en) | Computer apparatus, system operating mode switching control method, power supply control method and program | |
| JP4906811B2 (en) | Terminal automatic control method, system and terminal | |
| EP1085399B1 (en) | Software-based temperature controller circuit in an electronic apparatus | |
| CN1941131B (en) | Portable electronic device with hard disk as storage medium | |
| US8074016B2 (en) | Data loss prevention during a fall of a storage device | |
| GB2493257A (en) | Method for entering and exiting sleep mode in a graphics subsystem | |
| US8390949B2 (en) | Data loss prevention during a fall of a storage device | |
| CN101582046A (en) | High-available system state monitoring, forcasting and intelligent management method | |
| US6636910B2 (en) | Peripheral device of a portable computer with thermal control circuitry | |
| US8516510B2 (en) | Information processing apparatus and drive control method | |
| CN102999737A (en) | alarm detection method and computer device thereof | |
| CN107977050A (en) | The control method and equipment of a kind of turnover type notebook | |
| US7650439B2 (en) | Falling protective device for hard disk of a portable computer | |
| CN101211566B (en) | Mobile terminal and hard disk protection method | |
| US20080005594A1 (en) | Halt state for protection of hard disk drives in a mobile computing environment | |
| CN103853307A (en) | Electronic device and method for reducing power consumption of processor system | |
| JP5172793B2 (en) | Function expansion device | |
| JP4930861B2 (en) | Image forming apparatus | |
| US20090070509A1 (en) | Method of detecting and protecting falling portable computer hard disk through software monitoring driver | |
| US8959255B2 (en) | Computer protection system and method | |
| US20100259847A1 (en) | Portable apparatus having electronic control system and control method thereof | |
| JP2006040063A (en) | Information processing apparatus and SMI processing method of information processing apparatus | |
| JP2001184772A (en) | Electronic device and operation control method for electronic device | |
| CN101593532A (en) | Method for Realizing Attitude Control by Mobile Storage Device | |
| JP2011210355A (en) | Eject button control system and control method of the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| ASS | Succession or assignment of patent right |
Owner name: BEIJING PATRIOT STORE TECHNOLOGY CO.,LTD. Free format text: FORMER OWNER: HUAQI ZIXUN DIGITAL SCIENCE + TECHNOLOGY CO., LTD., BEIJING Effective date: 20090424 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20090424 Address after: 58, International Building, No. 11 West Fourth Ring Road, Beijing, Haidian District, China: 100080 Applicant after: BEIJING AIGO DIGITAL STORAGE TECHNOLOGY Co.,Ltd. Address before: 58, International Building, No. 11 West Fourth Ring Road, Beijing, Haidian District, China: 100080 Applicant before: BEIJING HUAQI INFORMATION DIGITAL TECHNOLOGY Co.,Ltd. |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C56 | Change in the name or address of the patentee |
Owner name: AIGO ELECTRONICS TECHNOLOGY CO., LTD. Free format text: FORMER NAME: BEIJING AIGO DIGITAL STORAGE TECHNOLOGY CO., LTD. |
|
| CP01 | Change in the name or title of a patent holder |
Address after: 100080 Beijing, North Fourth Ring Road West, No. 58, International Building, ideal level 11, Patentee after: Aigo Electronic Technology Co.,Ltd. Address before: 100080 Beijing, North Fourth Ring Road West, No. 58, International Building, ideal level 11, Patentee before: BEIJING AIGO DIGITAL STORAGE TECHNOLOGY Co.,Ltd. |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20160923 Address after: 100085, Haidian District, Beijing, on the north side of nine Street three, 9, A District, 3 Patentee after: AIGO SECURITY TECHNOLOGY (BEIJING) CO.,LTD. Address before: 100080 Beijing, North Fourth Ring Road West, No. 58, International Building, ideal level 11, Patentee before: Aigo Electronic Technology Co.,Ltd. |
|
| CX01 | Expiry of patent term | ||
| CX01 | Expiry of patent term |
Granted publication date: 20110427 |