This application claims the priority benefit of Taiwan application serial no. 97118701, filed on May 21, 2008. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The present invention relates to a storage device. More particularly, the present invention relates to an integrated storage device which may be equipped to an integrated drive electronics interface, and a controlling technique thereof.
2. Description of Related Art
Advanced technology attachment (ATA) is a controller technique. Integrated drive electronics (IDE) device is a disk drive technique matched to the ATA. Presently, the two terms “ATA” and “IDE” can be inter-used. The IDE is a low cost interface with modest performance, which is mainly designed for desktop computers.
Since cost of the IDE device is rather low, nearly all motherboards sold in the market are equipped with the IDE devices. Generally, the motherboard provides two IDE slots, and each of the IDE slots may connect two disk devices (a master disk device and a slave disk device) via cables. In other words, in the conventional technique, the IDE device of the motherboard may connect 4 disk devices.
As to a small system (for example, a barebone system or an embedded system), a conventional hard disk occupies a lot of spaces. Therefore, a two-silicon disc storage device is disclosed in a T.W patent No. 1272614, and detailed description thereof is as follows.
The two-silicon disc storage device takes the ATA interface as a basic structure, and two silicon disc storage devices are integrated as a single module. Such module has two independent storage devices, so that the cables and the cost thereof can be saved, and occupation of internal space by cables can be avoided, and accordingly a system size can be minimized.
In the two-silicon disc storage device, a first silicon disc storage device and a second silicon disc storage device are integrated on a same circuit board, so as to form the single module having two independent silicon disc storage devices. The two-silicon disc storage device is connected to the computer motherboard via the IDE interface. Based on setting of a jumper on the circuit board, the first silicon disc storage device can be set to be master, and the second silicon disc storage device can be set to be slave. After the master and the slave are set, two independent physical discs can be identified during operation of the computer, so that data can be stored in the first and the second silicon disc storage devices or read from the same.
It should be noted that according to the above technique, a single IDE slot on the motherboard can only connect two silicon disc storage devices.
Moreover, it should be noted that according to the above technique, one silicon disc storage device is composed of a control unit and at least one storage unit, and the single silicon disc storage device can only support the storage unit with a single storage type.
Accordingly, the present invention is directed to an integrated storage device, which may decrease a hardware cost thereof.
The present invention is directed to a control method for an integrated storage device, which may improve an accessing efficiency of the integrated storage device.
The present invention provides an integrated storage device including an interface controller, a microcontroller, a plurality of non-volatile storage devices, and a channel link controller. The interface controller is coupled to an IDE interface of a motherboard for retrieving a master control signal and a slave control signal sent by the motherboard. The microcontroller is coupled to the interface controller for generating a selecting signal. The non-volatile storage devices have at least two storage types. The non-volatile storage devices are divided to a first group of storage device and a second group of storage device according to the selecting signal. The channel link controller is coupled to the interface controller, the microcontroller and the non-volatile storage devices. The channel link controller respectively controls the first group of storage device and the second group of storage device according to the master control signal and the slave control signal.
In an embodiment of the present invention, the storage types include a NAND flash memory storage type, a NOR flash memory storage type, a magnetic random access memory (RAM) storage type, and a battery-backed static random access memory (SRAM) storage type, and combinations thereof. In another embodiment, the NAND flash memory storage type includes a single level cell (SLC) storage type or a multi level cell (MLC) storage type. In still another embodiment, the NOR flash memory storage type includes the SLC storage type or the MLC storage type.
In an embodiment of the present invention, the microcontroller generates the selecting signal according to selecting information, and the selecting information can be stored in one of the non-volatile storage devices. In another embodiment, the integrated storage device further includes a memory coupled to the microcontroller for storing the selecting information, wherein the microcontroller generates the selecting signal according to the selecting information stored in the memory. In still another embodiment, the microcontroller may further control whether or not to disable the first group of storage device or the second group of storage device.
The present invention provides a control method for an integrated storage device. The integrated storage device includes a plurality of non-volatile storage devices. In the control method, a selecting signal is generated according to selecting information. In addition, the non-volatile storage devices are divided into a first group of storage device and a second group of storage device according to the selecting signal, wherein the non-volatile storage devices have at least two storage types. Further, a master control signal and a slave control signal transmitted from an IDE interface of a motherboard are retrieved. Moreover, the first group of storage device and the second group of storage device are respectively controlled according to the master control signal and the slave control signal.
In the present invention, the plurality of non-volatile storage devices of the integrated storage device can be divided into the first group of storage device and the second group of storage device according to the selecting signal. Moreover, the first group of storage device is controlled according to the master control signal sent from the motherboard, and the second group of storage device is controlled according to the slave control signal. Thereby, accessing efficiency of the integrated storage device is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, a preferred embodiment accompanied with figures is described in detail below.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
The interface controller 20 may communicate with a motherboard 70 via an IDE interface 60. In other words, the interface controller 20 is used for retrieving a master control signal and a slave control signal sent by the motherboard 70. The memory 80 is used for storing selecting information. The microcontroller 30 is coupled to the interface controller 20 and the memory 80, and may generate a selecting signal according to the selecting information. The non-volatile storage devices 51-55 are divided into a first group of storage device and a second group of storage device according to the selecting signal. The channel link controller 40 is coupled to the interface controller 20, the microcontroller 30 and the non-volatile storage devices 51-55. The channel link controller 40 controls the first group of storage device according to the master control signal, and controls the second group of storage device according to the slave control signal.
A difference between the SLC and the MLC is that for the SLC, an array thereof can store a binary digit, while the MLC is classified according to a number of electrons, so that an array thereof may store more than one bit. The SLC has advantages of fast accessing speed and low power consumption, while the MLC has an advantage of low cost. Since different types of non-volatile storage device have different advantages, in the present embodiment, the plurality of non-volatile storage devices 51-55 can be arbitrarily combined via the integrated storage device 10 to form the first group of storage device and the second group of storage device. By such means, elements of the first group of storage device and the second group of storage device can be adjusted according to different application environments, so as to fully make used of the advantages of different types of the non-volatile storage devices.
First, in step S201, the microcontroller 30 generates the selecting signal according to the selecting information stored in the memory 80. Next, in step S202, the channel link controller 40 divides the non-volatile storage devices 51-55 into the first group of storage device and the second group of storage device according to the selecting signal. In the present embodiment, according to the selecting signal, the storage types of the non-volatile storage devices can be detected, so as to divide the non-volatile storage devices into the first group of storage device and the second group of storage device. Therefore, the channel link controller 40 groups the non-volatile storage devices 51-53 into the first group of storage device, and groups the non-volatile storage devices 54 and 55 into the second group of storage device.
Next, in step 203, the interface controller 20 retrieves the master control signal and the slave control signal transmitted by the IDE interface 60 of the motherboard 70. Next, in step 204, the channel link controller 40 controls the first group of storage device according to the master control signal, and controls the second group of storage device according to the slave control signal. According to another aspect, the first group of storage device can be regarded as an independent physical hard disk, and the second group of storage device can be regarded as another independent physical hard disk. Therefore, when the motherboard 70 generates the master control signal to perform data accessing, the integrated storage device 10 may access the first group of storage device according to the master control signal. When the motherboard 70 generates the slave control signal to perform the data accessing, the integrated storage device 10 may access the second group of storage device according to the slave control signal.
Since the first group of storage device is composed of the non-volatile storage devices with the same storage type, not only the plurality of non-volatile storage devices with low cost can be combined to be the first group of storage device having high capacity, but also compatibility and stability of the system can be ensured. Deduced by analogy, the second group of storage device also has the similar advantages. On the other hand, in the present embodiment, the first group of storage device and the second group of storage device are integrated within the integrated storage device 10, so that the integrated storage device 10 may include two independent physical hard disks. By such means, number of cables can be reduced, so that cost thereof and a whole size thereof can be reduced accordingly. Moreover, the non-volatile storage device 51-55 can be implemented by memory type storage devices, and therefore compared to the conventional hard disks with mechanical shaft, the non-volatile storage devices of the present embodiment have the advantages of power-saving and low noise.
Referring to
Referring to
Generally, for most of the actual situations, the applicable storage spaces of the first group of storage device and the second group of storage device are not totally utilized, and probably only a few storage spaces are utilized. Therefore, those unutilised spaces can be considered as a waste of cost. To reduce the waste of cost, the first group of storage device may include the non-volatile storage device 51 having features of relatively high cost, long lifespan and high accessing speed, and further include the non-volatile storage device 54 having features of relatively low cost, short lifespan, and low accessing speed. Therefore, when programs are about to be installed, the motherboard 70 may install the programs in the non-volatile storage device 51 of the first group of storage device in priority, so that the frequently used programs may have the relatively high accessing speed, and therefore accessing efficiency thereof is improved. When the applicable storage spaces of the non-volatile storage device 51 are insufficient, the non-volatile storage device 54 can be utilized, so that the problem of insufficient storage space can be resolved. Therefore, the advantages of the non-volatile storage devices 51 and 54 can be fully utilized. Deduced by analogy, the second group of storage device has the similar advantages.
It should be noted that though a possible pattern of the integrated storage device and the control method thereof are described in the above embodiments, those skilled in the art should understand that different manufactures have different designs for the integrated storage device and the control method thereof. Therefore, application of the present invention is not limited to such possible pattern. In other words, as long as a plurality of the non-volatile storage devices in the integrated storage device are divided into the first group of storage device and the second group of storage device, and the first group of storage device and the second group of storage device are respectively controlled according to the master control signal and the slave control signal sent by the motherboard, it is then considered to be matched with the spirit of the present invention. In the following content, other embodiments are provided to fully convey the spirit of the present invention to those skilled in the art.
Referring to
Referring to
Referring to
In summary, according to the present invention, the plurality of non-volatile storage devices in the integrated storage device is divided into the first group of storage device and the second group of storage device according to the selecting signal. Moreover, the first group of storage device is controlled according to the master control signal sent from the motherboard, and the second group of storage device is controlled according to the slave control signal sent from the motherboard. Therefore, the accessing efficiency of the integrated storage device can be improved. Besides, the embodiments of the present invention have at least the following advantages:
1. The plurality of non-volatile storage devices with low cost can be combined to be a group of storage device having high capacity, and compatibility and stability of the system can be ensured.
2. Number of the cables can be reduced so as to reduce the cost and the whole size thereof.
3. The non-volatile storage devices can be implemented by memories, and therefore compared to the conventional hard disks, the non-volatile storage devices have the advantages of power-saving and low noise.
4. Advantages of non-volatile storage devices with different storage types can be fully utilized.
5. The selecting information can be flexibly adjusted, so that the integrated storage device can be applied to different application environments.
6. The selecting information can be stored in the non-volatile storage device, so that the hardware cost can be further saved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
97118701 | May 2008 | TW | national |