CN1811687A - Control system for storage device - Google Patents

Control system for storage device Download PDF

Info

Publication number
CN1811687A
CN1811687A CN 200510002992 CN200510002992A CN1811687A CN 1811687 A CN1811687 A CN 1811687A CN 200510002992 CN200510002992 CN 200510002992 CN 200510002992 A CN200510002992 A CN 200510002992A CN 1811687 A CN1811687 A CN 1811687A
Authority
CN
China
Prior art keywords
bus
main frame
storage device
disk array
data
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.)
Granted
Application number
CN 200510002992
Other languages
Chinese (zh)
Other versions
CN100359454C (en
Inventor
梁佩娟
王金祥
赵奕禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sunplus Technology Co Ltd
Original Assignee
Sunplus Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sunplus Technology Co Ltd filed Critical Sunplus Technology Co Ltd
Priority to CNB2005100029922A priority Critical patent/CN100359454C/en
Publication of CN1811687A publication Critical patent/CN1811687A/en
Application granted granted Critical
Publication of CN100359454C publication Critical patent/CN100359454C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

Present invention provides a storage device control system, coupled with mainframe having standard disk driver program, said control system containing first bus, host computer interface, storage device, a controller and several device interface controller. Controller respectively writing host computer transmitted documentation to several disk drivers according to disk arrays type, or respectively reading several disk drivers documentation according to disk arrays type and transmitting to host computer, to emulate disk arrays as a disk driver.

Description

The control system of storage device
Technical field
The present invention relates to a kind of technical field, refer to that especially a kind of is the system of a SATA disc driver with the emulation of SATA disk array about disc storage.
Background technology
The general digital household appliances product with storage facilities (as DVD recorder, card OK or the like) is to utilize hard disk to carry out the storage of image data.These hard disks are placed on the inside of digital household appliances product, and its storage volume is fixing when dispatching from the factory, and is difficult for expanding.And the employed embedded OS of each factory's product has nothing in common with each other, and causes operating system and storage device to need could be suitable for through revising.Simultaneously, in case its storage device has damage, also must send former factory back to and change.
At the problems referred to above, known technology is to use the disk array of a scsi interface, to solve the problem that storage volume is difficult for expansion.Though this extendible storage volume, yet need increase the control card of a slice scsi interface.This can increase many costs.At U.S. USP6,772, in No. 108 patent announcements, one disk array controller 50 with emulation ata port is coupled to pci system bus 12, Fig. 1 is its system block diagrams, it mainly becomes ata port with disk array controller emulation, and disk array controller can increase the number of IDE disc driver, to solve the problem that storage volume is difficult for expansion.Though this need not to increase the control card of a slice scsi interface, but hot plug can't be supported in the ATA port, when the user expands storage volume, needs could increase system closedown newly an IDE disc driver.So the stocking system of known digital household appliances product still has many shortcomings and gives improved necessity.
Summary of the invention
The objective of the invention is in that a kind of control system of storage device is provided, with the problem of avoiding the known technology storage volume to expand, and reach support hot plug function, to increase the convenience that uses.
According to characteristic of the present invention, a kind of control system of storage device is proposed, it is coupled to a main frame with standard disk drive driver, and this control system comprises first bus, main frame interfacial level controller, storage device, control device and several device interface controllers.This first bus is in order to the sending and receiving data; This main frame interfacial level controller is electrically connected to this main frame, and receiving order and the data that this main frame is transmitted, or the transmission data is to this main frame, and is connected to this first bus; This storage device is connected to this main frame interfacial level controller, in order to temporary data, and is connected to this first bus; This control device is connected to this storage device, the order that transmits with the main frame that stores in this storage device of access, and be connected to this first bus; One end of this each device interface controller is connected to this first bus, with with data transmission to this storage device, or by this storage device reception data, the other end of each device interface controller is connected to a disc driver, and these several disc drivers are formed a disk array; Wherein, this control device is via these first total this main frame interfacial level controller of line traffic control and this several device interface controllers, the data that this main frame transmitted is written to this several disc drivers respectively according to the disk array pattern, or read data on these several disc drivers respectively according to the disk array pattern, and be sent to this main frame, in order to do being a disc driver with disk array emulation.
Description of drawings
Fig. 1 is known system block diagrams with disk array controller of emulation ata port.
Fig. 2 is the calcspar of the control system of a kind of storage device of the present invention.
Fig. 3 is that two disc drivers of the present invention are set as that data writes synoptic diagram when striding the dish storage configurations.
Fig. 4 be two disc drivers of the present invention when being set as disk mirror configuration data write synoptic diagram.
Fig. 5 be two disc drivers of the present invention when being set as disk mirror configuration data read synoptic diagram.
Fig. 6 be three disc drivers of the present invention when being set as the RAID5 configuration data write synoptic diagram.
Fig. 7 A, 7B and 7C are the synoptic diagram that the present invention carries out hot plug.
The figure number explanation
12 pci buss, 50 disk array controller
100 main frames, 110 sata ports
200 control system, 205 first buses
210 main frame interfacial level controllers, 215 storage devices
220 control device, 225 several device interface controllers
230 direct memory access engines, 235 second buses
240 peripheral control devices, 245 general input-output units
250 I2C masters/servant's device 255 asynchronous system serial interface devices
310,320,330,320 ' SATA disc driver
Embodiment
Fig. 2 is the calcspar of the control system 200 of a kind of storage device of the present invention, it is coupled to a main frame 100 with standard IDE driver, solving the problem that the known technology storage volume can't expand, and reach and support the hot plug function, to increase the convenience that uses.This control system comprises: first bus 205, main frame interfacial level controller 210, storage device 215, control device 220, several device interface controllers 225, direct memory access engine 230, second bus 240, peripheral control device 235, general input and output (GPIO) device 245, I2C master/servant's device 250 and an asynchronous system serial line interface (UART) device 255.
This first bus 205 is in order to the sending and receiving data.This main frame interfacial level controller 210 is a SATA (serialATA) port controllers, to be connected to a sata port 110 of this main frame 100 via a SATA cable.It is in order to receiving order and the data that this main frame 100 is transmitted, or the transmission data is to this main frame 100, and is connected to this first bus 205.
This storage device 215 is connected to this main frame interfacial level controller 210, in order to temporary data, and is connected to this first bus 205.This direct memory access engine 230 is coupled to this storage device 215, to control the access of this storage device 215.This control device 220 is connected to this storage device 215, the order that transmits with the main frame 100 that stores in this storage device 215 of access, and be connected to this first bus 205.This control device 220 can be via these first bus, 205 these direct memory access engines 230 of control.
Each device interface controller in these several device interface controllers 225 is SATA port controller, the one end is connected to this first bus 205, with with data transmission to this storage device 215, or by these storage device 215 reception data, the other end of each device interface controller be connected to a SATA disc driver (310,320 ...), with these several SATA disc drivers (310,320 ...) form a disk array.
This control device 220 is via these first bus, 205 control this main frame interfacial level controller 210, this direct memory access engine 230 and this several device interface controllers 225, the data that this main frame 100 is transmitted according to the disk array pattern be written to respectively these several disc drivers (310,320 ...), or according to the disk array pattern read respectively these several disc drivers (310,320 ...) go up data, and be sent to this main frame 100, in order to do being a disc driver with disk array emulation.
Fig. 3 be two SATA disc drivers (310,320) be set as stride dish when storing (disk striping) configuration data write synoptic diagram.When this control device 220 receives the write command of being sent by main frame 100, this control device 220 is according to the linear zone block address (linear block address, LBA) in the order, communicate commands to suitable disc driver, and control this direct memory access engine 230 and between main frame 100 and disc driver (310,320), transmit data blocks in regular turn.The capacity of the being seen emulational disk of main frame is the summation of this two disc drivers (310,320) capacity.
Fig. 4 be two SATA disc drivers (310,320) when being set as disk mirror (mirroring, RAID 1) configuration data write synoptic diagram.When this control device 220 receives the write command of being sent by main frame 100, this control device 220 transmits same commands two disc drivers (310,320) so far, and control the data blocks that these direct memory access engine 230 receptions are sent by main frame 100, and transmit identical data blocks two disc drivers (310,320) so far simultaneously.
Fig. 5 be two SATA disc drivers (310,320) when being set as disk mirror (mirroring, RAID 1) configuration data read synoptic diagram.When this control device 220 receives the reading order of being sent by main frame, this control device 220 will considering according to efficient, the change order is to read data blocks by two disc drivers (310,320) respectively, and control this direct memory access engine 230 and receive the data blocks of sending by disc driver (310,320) in regular turn, and be sent to main frame 100.
Fig. 6 is that data writes synoptic diagram to three disc drivers (310,320,330) when being set as the RAID5 configuration.When this control device 220 receives the order of being sent by main frame, this control device 220 will be changed linear zone block address (LBA) and the number of blocks (block count) in the order, send different command more respectively to disc driver (310,320,330), and control this direct memory access engine 230 in regular turn at main frame and wherein transmit data blocks between two disc drivers, and data blocks is temporary in this storage device 215, after carrying out the XOR computing, be sent to the 3rd disc driver.
Fig. 7 A, 7B and 7C are the synoptic diagram that the present invention carries out hot plug.When this control device 220 has found disc driver 320 when damaging, will damage disc driver 320 deletions, be made as fault-tolerant mode (RAID1 or RAID5) as if this disk array, main frame 100 can continue the access data and unaffected.When the capacity of disk array enlarges, storage device control system 200 then of the present invention will produce the synchronizing signal (off-line) and of stopping and require the action of synchronizing signal (on-line) again, impel main frame 100 to inspect disc driver again.After replacing new disc driver, but still normal operation of main frame 100.
This second bus 240 is in order to the sending and receiving data, and it is mainly the connection peripheral device.One end of this peripheral control device 235 is coupled to this first bus 205, and the other end is coupled to this second bus 240.This general input-output unit 245 is coupled to this second bus 240, and this control device 220 can be via this general input-output unit 245 of these peripheral control device 235 accesses.
This I2C master/servant's device 250 is coupled to this second bus 240, and this control device 220 can be via this I2C master/servant's device 250 accesses one I2C bus.This asynchronous system serial interface device 255 is coupled to this second bus 240, and this control device 220 can be via this asynchronous system serial interface device 255 accesses one asynchronous system serial interface bus.
This control device 220 can be linked up with other peripheral device via this general input-output unit 245, I2C master/servant's device and asynchronous system serial interface device 255.For example, can connect one and have the temperature-sensing device at I2C interface to this I2C master/servant's device 250.When this control device 220 receives the particular command of being sent by main frame 100, by this I2C master/servant's device 250 present temperature is read back, and pass main frame 100 back.
As shown in the above description, storage device control system 200 of the present invention becomes single disk with a disk array emulation.And the configuration of this disk array can be general common RAID configuration, or other specific configuration.Because for main frame 100 are single disk drives, not needing provides different drivers because of the operating system difference.Simultaneously, because of the SATA standard is supported hot plug and external, utilize this characteristic, storage device control system 200 of the present invention can be repaid the configuration of present disk array at any time, the disc driver that change to damage under main frame 100 continuous firings can not cause the damage on the hardware of main frame 100 or storage device control system 200 other parts of the present invention.
Above-mentioned preferred embodiment only is to give an example for convenience of description, and the protection domain that the present invention advocated should be as the criterion with described in the claim certainly, but not only limits to the foregoing description.

Claims (10)

1. the control system of a storage device is characterized in that: it is coupled to a main frame with standard disk drive driver, and this control system comprises:
First bus is in order to the sending and receiving data;
The main frame interfacial level controller is electrically connected to this main frame, and receiving order and the data that this main frame is transmitted, or the transmission data is to this main frame, and is connected to this first bus;
Storage device is connected to this main frame interfacial level controller, in order to temporary data, and is connected to this first bus;
Control device is connected to this storage device, the order that transmits with the main frame that stores in this storage device of access, and be connected to this first bus; And
Several device interface controllers, one end of each device interface controller is connected to this first bus, with with data transmission to this storage device, or by this storage device reception data, the other end of each device interface controller is connected to a disc driver, and these several disc drivers are formed a disk array;
Wherein, this control device is via these first total this main frame interfacial level controller of line traffic control and this several device interface controllers, the data that this main frame transmitted is written to this several disc drivers respectively according to the disk array pattern, or read data on these several disc drivers respectively according to the disk array pattern, and be sent to this main frame, in order to do being a disc driver with disk array emulation.
2. the system as claimed in claim 1 is characterized in that: also comprise a direct memory access engine, be coupled to this storage device, to control the access of this storage device.
3. system as claimed in claim 2 is characterized in that: this direct memory access engine is coupled to first bus, and this control device can be via first total this direct memory access engine of line traffic control.
4. the system as claimed in claim 1, it is characterized in that: this main frame interfacial level controller is a SATA port controller, to be connected to a sata port of this main frame.
5. the system as claimed in claim 1, it is characterized in that: these several device interface controllers are SATA port controller, to be connected to a SATA disc driver respectively.
6. the system as claimed in claim 1 is characterized in that: also comprise:
Second bus is in order to the sending and receiving data;
Peripheral control device, one end are coupled to this first bus, and the other end is connected to this second bus;
General input-output unit is coupled to this second bus, and this control device can be via this general input-output unit of this peripheral control device access.
7. system as claimed in claim 5 is characterized in that: also comprise an I2C master/servant's device, it is coupled to this second bus, and this control device can be via this I2C device access one I2C bus.
8. system as claimed in claim 5 is characterized in that: also comprise an asynchronous system serial interface device, it is coupled to this second bus, and this control device can be via this asynchronous system serial interface device access one asynchronous system serial interface bus.
9. the system as claimed in claim 1, it is characterized in that: the formed disk array of these several disc drivers is a RAID1 disk array.
10. the system as claimed in claim 1, it is characterized in that: the formed disk array of these several disc drivers is a RAID5 disk array.
CNB2005100029922A 2005-01-27 2005-01-27 Control system for storage device Expired - Fee Related CN100359454C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100029922A CN100359454C (en) 2005-01-27 2005-01-27 Control system for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100029922A CN100359454C (en) 2005-01-27 2005-01-27 Control system for storage device

Publications (2)

Publication Number Publication Date
CN1811687A true CN1811687A (en) 2006-08-02
CN100359454C CN100359454C (en) 2008-01-02

Family

ID=36844642

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100029922A Expired - Fee Related CN100359454C (en) 2005-01-27 2005-01-27 Control system for storage device

Country Status (1)

Country Link
CN (1) CN100359454C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055511B (en) * 2007-05-16 2010-05-26 华为技术有限公司 Memory array system and its data operation method
CN106201327A (en) * 2015-01-22 2016-12-07 光宝科技股份有限公司 There is system and the corresponding control methods thereof of solid state storage device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772108B1 (en) * 1999-09-22 2004-08-03 Netcell Corp. Raid controller system and method with ATA emulation host interface
CN2599661Y (en) * 2003-01-24 2004-01-14 万国电脑股份有限公司 Storage card fetch device using SATA interface
US8301809B2 (en) * 2003-07-02 2012-10-30 Infortrend Technology, Inc. Storage virtualization computer system and external controller thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055511B (en) * 2007-05-16 2010-05-26 华为技术有限公司 Memory array system and its data operation method
CN106201327A (en) * 2015-01-22 2016-12-07 光宝科技股份有限公司 There is system and the corresponding control methods thereof of solid state storage device
CN106201327B (en) * 2015-01-22 2019-01-04 光宝科技股份有限公司 System and its corresponding control methods with solid state storage device

Also Published As

Publication number Publication date
CN100359454C (en) 2008-01-02

Similar Documents

Publication Publication Date Title
US8073675B2 (en) ATA emulation host interface in a RAID controller
CA2385492C (en) Raid controller system and method with ata emulation host interface
US7730257B2 (en) Method and computer program product to increase I/O write performance in a redundant array
US8301810B2 (en) SAS storage virtualization controller, subsystem and system using the same, and method therefor
US20120059978A1 (en) Storage array controller for flash-based storage devices
US20060161808A1 (en) Method, apparatus and program storage device for providing intelligent copying for faster virtual disk mirroring
CN1598755A (en) Jbod subsystem and external emulation controller thereof
US20020199040A1 (en) High speed communications device/system
US20060168358A1 (en) Storage control system
EP2350842B1 (en) Redundant array of independent disks (raid) write cache sub-assembly
US7752358B2 (en) Storage apparatus and conversion board for increasing the number of hard disk drive heads in a given, limited space
CN110692058B (en) Auxiliary storage device for providing independent backup and recovery functions and equipment suitable for auxiliary storage device
CN1924786A (en) Individual disc redundancy array system
CN1811687A (en) Control system for storage device
US7797488B2 (en) Method of creating a multiple of virtual SATA ports in a disk array controller
WO2004049158A2 (en) Bios storage array
US8427941B2 (en) Redundant storage virtualization subsystem having data path branching functionality
TW201443647A (en) Tiered data storage system with data management and method of operation thereof
CN101135950B (en) Magnetic disc adaptation card
JP2003108316A (en) Disk array device and hot spare control method
CN2814516Y (en) Hardware mirror image system
CN102385542B (en) Method and device for RAID0 data backup
TWI382327B (en) Keyboard, video, mouse switch (kvm switch), and setting method, data transmission method, file sharing method for mutiple hosts and the kvm switch, and a dongle therefor
KR20110053304A (en) Integrated storage device of multiple ssds and raid controller card(s) for improvement of data input/output speed
Gao et al. Implementation of EIDE disk array system for mass data backup

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080102

Termination date: 20170127

CF01 Termination of patent right due to non-payment of annual fee