主权项 |
1. An external storage device, comprising:
at least a hard disk drive (HDD); at least a nonvolatile memory; a measuring module, having a temperature sensor and a three-axis gravity sensor, measuring an environmental temperature through the temperature sensor, recording a vibration generated according to if a speed or a displacement detected by the three-axis gravity sensor are larger than or equal to a preset value, respectively, and recording continuously if the vibration is generated with time; a request module, receiving a data storing request from an external operating system; a determination module, determining if the environmental temperature is larger than or equal to a preset temperature, respectively, when the request module receives the data storing request, and determining if a number of the generated vibration within a preset time period is larger than 0; and an integration and storing module, logically integrating the hard disk drive and the nonvolatile memory into a single storage media through a low level driver, and storing a data corresponding to the data storing request selectively to one of the hard disk drive and the nonvolatile memory according to a determination result of the temperature and vibration. |