1. Field of the Invention
The present invention relates to an electronic device with data backup/restore capability, and more particularly, to an electronic device which can backup/restore data of a mobile device automatically.
2. Description of the Prior Art
In modern society, computer systems, such as desktops, notebook computers, servers and so on, are becoming part of everyday life. Document processing is almost exclusively dealt with via computer systems. A notebook (NB) has several advantages over a desktop computer, including its small-sized volume, light weight, and portability. These properties give a user the flexibility to work in any location. A small, thin, and light NB provides the user with powerful computation and document processing abilities and complete multimedia functions anywhere and anytime. Heavy and large-sized desktop computers do not offer this capability to their users. When unstable situations occur in the computer system (e.g. NB), however, if the whole computer system or parts of the device implemented in the computer system are broken, the user's personal data cannot be restored and the personal data stored in the computer system may be lost completely.
Therefore, the concepts of data backup/restore are widely known, by which a user can backup important data or files in an external target device. If the data inside the computer system are damaged, the user can utilize the backup data inside the target device to restore the damaged data. For example, the user can directly copy data into the target device, or execute a backup program to burn data/files into an image file and store the image file in the target device.
Prior art methods utilize some kinds of data backup software to back up the data stored in the personal computer into an internal storage device or an external storage device at regular intervals, or according to a user's requirement. According to the prior art, however, the user still needs to manually select which data will be backed up, back up the selected data, and upload the selected data, which requires considerable time and effort. In addition, if a situation occurs in which the mobile electronic device is lost and the user has not backed up the personal data, it will cause the user substantial difficulties. Furthermore, as some users are not familiar with the installing and setting operations of the data backup software, it is difficult for them to set the data backup software themselves, resulting in some operational errors. In other words, today's backup/restore programs do not enable the users to complete backup/restore operations easily.
It is therefore one of the objectives of the present invention to provide an electronic device with data backup/restore capability, which can perform backup/restore operations automatically to solve the above mentioned problems.
According to an embodiment of the present invention, an electronic device with data backup capability is disclosed. The electronic device includes a connection port, an internal storage device, a storage device controller, a processor and a bridge circuit. The internal storage device is used for storing data. The storage device controller is coupled to the connection port and the internal storage device, and implemented for controlling data accessing and data backup operations of the internal storage device. The processor is used for controlling the operation of the electronic device. The bridge circuit is coupled between the storage device controller and the processor.
According to another embodiment of the present invention, an electronic device with data restore capability is disclosed. The electronic device includes a connection port, an internal storage device, a storage device controller, a processor and a bridge circuit. The internal storage device is used for storing data. The storage device controller is coupled to the connection port and the internal storage device, and implemented for controlling data accessing and data restore operations of the internal storage device. The processor is used for controlling the operation of the electronic device. The bridge circuit is coupled between the storage device controller and the processor.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the following description and claims to refer to particular components. As one skilled in the art will appreciate, hardware manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but in function. In the following discussion and in the claims, the terms “include”, “including”, “comprise”, and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . ”. The terms “couple” and “coupled” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
Please refer to
At first, the electronic device 100 will enter the check state 202. When the electronic device 100 operates in the check state 202, the storage device controller 130 detects if the external storage device 101 is connected to the electronic device 100 via the connection port 110. When the storage device controller 130 does not detect that the external storage device 101 is connected to the electronic device 100, the electronic device 100 enters the mark state 204. In the mark state 204, if the data stored in the internal storage device 120 are changed, the storage device controller 130 generates corresponding marked data Md to mark each changed data and stores the marked data Md into the internal storage device 120. When the storage device controller 130 detects that the external storage device 101 is connected to the electronic device 100 and the internal storage device 120 has at least a marked data Md, the electronic device 100 enters the backup state 206. In the backup state 206, the storage device controller 130 performs an updating operation to update the external storage device 101 according to the marked data Md. When the updating operation is finished, the storage device controller 130 deletes the marked data Md, and then enters the mirror state 210. In the mirror state 210, if the data stored in the internal storage device 120 are changed, the storage device controller 130 will update the data stored in the external storage device 101 according to each changed data stored in the internal storage device 120.
When the storage device controller 130 detects that the external storage device 101 is connected to the electronic device 100 and the internal storage device 120 does not have any marked data Md, the electronic device 100 enters the mirror state 210; when the storage device controller 130 detects that the external storage device 101 is connected to the electronic device 100 and the identification data Id stored in the internal storage device 120 and an identification data Id′ stored in the external storage device 101 do not fit into a predetermined corresponding relation, the electronic device 100 enters the recovery state 208. In the recovery state 208, the storage device controller 130 performs a data restore operation upon the internal storage device 120 to write the data stored in the external storage device 101 back into the internal storage device 120, and the electronic device 100 enters the mirror state 210 when the data recovery operation is finished. Furthermore, no matter whether the electronic device 100 is in the backup state 206, the recovery state 208, or the mirror state 210, if the connection between the electronic device 100 and the external storage device 101 breaks off, the electronic device 100 will enter the mark state 204.
In summary, the storage device controller 130 of the electronic device 100 will automatically perform data backup/restore operations upon the internal storage device 120 according to the marked data Md and the identification data Id; therefore, the electronic device 100 can back up/restore all of the data stored in the internal storage device 120 without a user's intervention. In addition, when the data stored in the internal storage device 120 of the electronic device 100 are lost or damaged, the processor 140 can utilize the external storage device 101 directly via the bridge circuit 150 and the storage device controller 130. At the same time, the storage device controller 130 restores the internal storage device 120 with the data stored in the external storage device 101, thereby allowing the electronic device 100 to operate normally.
Please note that the description of how the storage device controller 130 performs data backup/restore operations upon the internal storage device 120 automatically is only one preferred embodiment of the present invention. Any electronic device which utilizes the circuit structure shown in
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
098139980 | Nov 2009 | TW | national |