Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN103019966 B
Publication typeGrant
Application numberCN 201110282863
Publication date19 Aug 2015
Filing date22 Sep 2011
Priority date22 Sep 2011
Also published asCN103019966A
Publication number201110282863.9, CN 103019966 B, CN 103019966B, CN 201110282863, CN-B-103019966, CN103019966 B, CN103019966B, CN201110282863, CN201110282863.9
Inventors简宏名, 王哲人, 彭怡华
Applicant乔鼎资讯股份有限公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
一种包含备份体内存的数据储存系统及其管理方法 Comprising a data storage system and its management method body memory backup translated from Chinese
CN 103019966 B
Abstract  translated from Chinese
本发明涉及一种数据储存系统及其管理方法。 The present invention relates to a data storage system and its management. 所述数据储存系统包含N个储存装置、一备份内存以及一控制器,其中,N为一自然数。 The data storage system includes N storage devices, a backup memory and a controller, wherein, N is a natural number. 每一储存装置包含一各自的写入高速缓存。 Each storage device comprising a respective write cache. 一旦该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内的数据。 Once the data storage system suffered a power outage, the backup data is stored in the memory is still preserved therein. 所述控制器用以将从一存取要求单元传送的多笔数据执行一预定运算以产生多笔写入数据,传送这些写入数据至该N个储存装置的写入高速缓存,复制这些写入数据至该备份内存内,并且响应该N个储存装置传送一写入确认讯息将复制至该备份内存内的这些写入数据标示为”有效”。 The controller for requests for access from a multi-pen unit transmits a predetermined operation executed to produce a multi-pen writing data, the write data transmitted to the write cache of the N storage device, copy them to write the backup data into the memory, and a storage device in response to the N transmit a written confirmation message will be copied to the write data in the backup-memory marked as "effective."
Claims(9)  translated from Chinese
1.一种数据储存系统,与一存取要求单元成电气地耦合,包含: N个储存装置,选择性地输出一写入确认讯息,每一储存装置包含一各自的写入高速缓存与一各自的记录媒体,N为一自然数; 一备份内存,一旦该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内的数据;以及一控制器,用以将从该存取要求单元传送的多笔数据执行一预定运算以产生多笔写入数据,传送这些写入数据至该N个储存装置的写入高速缓存,复制这些写入数据至该备份内存内,并且响应该写入确认讯息,将复制至该备份内存内的这些写入数据标示为”有效”, 其中当该备份内存之储存空间低于一门坎值或复制这些写入数据至该备份内存内之地址重复时,该控制器发布一清理快取命令至该N个储存装置,使该N个储存装置的写入高速缓存在将该些写入数据完全写入该N个储存装置的记录媒体后,由该N个储存装置回复该控制器一清理快取完成讯息,该控制器响应该清理快取完成讯息而清除储存于该备份内存内之写入数据。 A data storage system, and an access unit to electrically couple claim, comprising: N a storage means, for selectively outputting a write confirmation message, each storage device comprises a respective write cache and a each recording medium, N is a natural number; a backup memory, once the data storage system suffered a power outage, the backup data is stored in the memory is still stored therein; and a controller for the access from the requirements of section Multi-pen data transfer performing a predetermined operation to produce a multi pen to write data, send these write data to the write cache of the N storage device, copy the data to be written within the backup memory, and in response to the written confirmation message, copy the backup data is written to the memory inside labeled "active", wherein when the backup memory of storage space below a threshold value or copy the address of the backup data is written to memory within repeat to, The controller issues a command to clean up the cache of the N storage device, so that the N-write cache storage device after the data is written completely written some of the N recording media storage device by the N a storage device of a reply to the controller cache cleanup complete message, the controller is responsive to the clean-up complete message and clear the cache write data stored in the memory of the backup.
2.根据权利要求1所述的数据储存系统,其特征在于:当该数据储存系统开机时,若该备份内存内存有标示”有效”的写入数据,该控制器则将该有效的写入数据写回该N个储存装置,并且在完成后,清除存于该备份内存内的写入数据。 2. The data storage system according to claim 1, characterized in that: when the data storage system is turned on, if the backup RAM memory is marked "active" write data, the controller then writes the effective data is written back to the N storage devices, and upon completion, remove the write data stored in the backup memory inside.
3.根据权利要求2所述的数据储存系统,其特征在于:该预定运算选自由一互斥或(XOR)运算、一镜像运算、一无运算、一切分运算、一有限加洛瓦场本质多项式运算以及一有限场的数学最大距离可分码运算所组成的群组中之其一。 3. The data storage system according to claim 2, characterized in that: the predetermined operation is selected from one exclusive OR (XOR) operation, a mirroring operation, a non-operation, all the sub-operation, a limited nature Gallois Field polynomial arithmetic and mathematics a limited field maximum distance separable code calculating the group consisting of one.
4.根据权利要求2所述的数据储存系统,其特征在于:该备份内存为一非挥发性内存或一配置一独立电源的挥发性内存,该备份内存仅电连接至该控制器、该控制器内的一写入高速缓存,或电连接在该控制器与该N个储存装置之间。 The data storage system according to claim 2, wherein: the backup memory is a non-volatile memory or a configuration of a separate power-volatile memory, the backup memory is electrically connected only to the controller, which controls a writer within the cache, or electrical connection between the controller and the N storage devices.
5.一种针对一数据储存系统的管理方法,该数据储存系统与一存取要求单元成电气地耦合,并且包含N个储存装置以及一备份内存,N为一自然数,每一储存装置包含一各自的写入高速缓存与一各自的记录媒体,一旦该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内的数据,该管理方法包含下列步骤: (a)接收该存取要求单元传送的多笔数据; (b)将这些接收到的数据执行一预定运算以产生多笔写入数据; (C)判断该备份内存的储存空间是否低于一门坎值,或判断复制这些写入数据至该备份内存内的地址是否重复; 若步骤(C)判断结果为肯定者,执行下列步骤: 由一控制器发布一清理快取命令至该N个储存装置; 该N个储存装置的写入高速缓存在将该等写入数据完全写入该N个储存装置的记录媒体后,由该N个储存装置回复该控制器一清理快取完成讯息;以及由该控制器响应该N个储存装置传送之该清理快取完成讯息,清除储存于该备份内存内之写入数据; 若步骤(c)判断结果为否定者,执行下列步骤: 传送这些写入数据至该N个储存装置的写入高速缓存,并复制这些写入数据至该备份内存内;以及响应该N个储存装置传送的一写入确认讯息,将复制至该备份内存内之这些写入数据标示为”有效”。 A system for a data storage management method, and a data storage system which requires access unit electrically coupled to, and includes N storage means and a backup memory, N is a natural number, each storage device comprises a each write cache with a respective recording media, once the data storage system suffered a power outage, the backup data is stored in the memory is still stored therein, the management method comprising the steps of: (a) receiving the access requests multi-pen unit transfer; (b) those received data performs a predetermined operation to produce a multi pen to write data; (C) determine the backup memory storage space is lower than a threshold value, or copy the written judgment the data to address whether the backup-memory duplication; if step (C) by the determination result is affirmative, perform the following steps: issuing a command to clean up the cache of the N storage device by a controller; the N storage devices After the write cache in this and other written data is completely written to the recording medium of the N storage device, respond to the controller cache to complete a clean-up of the N messages from the storage device; and by the controller in response to the N The clean-up cache storage means for transporting the complete message, remove the write data stored in the memory of the backup; if the step (c) by the determination result is negative, perform the following steps: transmitting the data is written to the N storage devices write cache, and copy them to the backup data is written into the memory; and in response to a written confirmation message transmitting the N storage device, copy the backup data is written to the memory within marked as "effective."
6.根据权利要求5所述的管理方法,其特征在于:当该数据储存系统开机时,执行下列步骤: 判断该备份内存内是否存有标示”有效”的写入资料;以及若判断结果为肯定者,将该备份内存内标示有效的写入数据写入该N个储存装置,并且在完成后,清除储存于该备份内存内的写入数据。 6. The management method according to claim 5, characterized in that: when the data storage system is turned on, perform the following steps: determining whether there are marked "effective" within the backup memory write data; and if the judgment result is sure who the internal backup memory marked valid write data is written to the N storage devices, and upon completion, remove the write data stored in the backup memory.
7.根据权利要求6所述之管理方法,其特征在于:该预定运算选自由一互斥或(XOR)运算、一镜像运算、一无运算、一切分运算、一有限加洛瓦场本质多项式运算以及一有限场的数学最大距离可分码运算所组成的群组中之其一。 7. The management method as claimed in claim 6, wherein: the predetermined operation is selected from an exclusive OR (XOR) operation, a mirror operation, a non-operation, all sub operations, a limited nature Gallois field polynomial The maximum distance separable code calculating mathematical operations, and a finite field consisting of one of the group.
8.根据权利要求7所述之管理方法,其特征在于:该备份内存为一非挥发性内存或一配置一独立电源之挥发性内存。 8. The management method of claim 7, wherein, wherein: the backup memory is a non-volatile memory or a configuration of an independent power-volatile memory.
9.一种数据储存系统,与一存取要求单元成电气地耦合,包含: N个储存装置,选择性地输出一写入确认讯息,每一储存装置包含一各自的写入高速缓存与一各自的记录媒体,N为一自然数; 一备份内存,一旦该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内的数据;以及一控制器,用以将从该存取要求单元传送的多笔数据执行一预定运算以产生多笔写入数据,复制这些写入数据至该备份内存内,并且响应该写入确认讯息,将复制至该备份内存内的这些写入数据标示为”有效”, 其中当该备份内存之储存空间低于一门坎值或复制这些写入数据至该备份内存内之地址重复时,该控制器发布一清理快取命令至该N个储存装置,使该N个储存装置的写入高速缓存在将该些写入数据完全写入该N个储存装置的记录媒体后,由该N个储存装置回复该控制器一清理快取完成讯息,该控制器响应该清理快取完成讯息而清除储存于该备份内存内之写入数据,当该数据储存系统开机时,若该备份内存内存有标示”有效”的写入数据,该控制器则将该有效的写入数据写回该N个储存装置,并且在完成后,清除存于该备份内存内之写入数据。 A data storage system, and an access unit to electrically couple claim, comprising: N a storage means, for selectively outputting a write confirmation message, each storage device comprises a respective write cache and a each recording medium, N is a natural number; a backup memory, once the data storage system suffered a power outage, the backup data is stored in the memory is still stored therein; and a controller for the access from the requirements of section Multi-pen data transfer performing a predetermined operation to produce a multi pen writing data, copy the data to be written within the backup memory, and in response to the write confirmation message, copy the backup data is written to the memory inside labeled "effective", wherein when the backup memory of storage space below a threshold value or copy the address of the backup data is written to memory within repeated until the clean up cache controller issues a command to the N storage device, make writes the N cache storage device after the data is written completely written some of the N recording media storage device, the N reply from the storage device of the controller cache to complete a clean-up message, the controller In response to the clean-up complete message and clear the cache write data stored in the backup memory within, when the data storage system is turned on, if the backup RAM memory is marked "active" write data, the controller is the effective write data is written back to the N storage devices, and upon completion, remove the write data stored in the backup memory within.
Description  translated from Chinese
一种包含备份体内存的数据储存系统及其管理方法 Comprising a data storage system and its management method body memory backup

技术领域 TECHNICAL FIELD

[0001] 本发明关于一种数据储存系统(data storage system)及其管理方法(managingmethod),尤其是针对符合磁盘阵列(redundant array of independent drives,RAID)架构的数据储存系统。 [0001] The present invention relates to a data storage system (data storage system) and management (managingmethod), especially for compliance with disk arrays (redundant array of independent drives, RAID) architecture of data storage systems. 并且特别地,本发明数据储存系统包含备份内存,以避免数据储存系统遭受电力中断时欲写入的数据消失不见,并被保护。 And in particular, the present invention contains the backup memory data storage system to avoid data storage system suffered a power outage to be written data disappear, and protected.

背景技术 Background technique

[0002] 随着用户储存数据量日益增多,符合磁盘阵列(RAID)架构的数据储存系统(亦称为磁盘阵列(RAID)系统)已广泛地被采用来储存大量数据。 [0002] As users store increasing amounts of data, in line with disk arrays (RAID) architecture of data storage system (also known as disk arrays (RAID) systems) have been widely employed to store large amounts of data. 磁盘阵列(RAID)系统能提供高可用性(highavailability)、高效能(high performance)或大容量(high volume)的数据储存空间给主机(host)。 Disk array (RAID) system to provide high availability (highavailability), high performance (high performance) or large capacity (high volume) of data storage space to the host (host).

[0003] 磁盘阵列系统所利用的不同技术被称为RAID级别,也被区分为:RAID 0、RAID 1、RAID2、RAID 3, RAID 4, RAID 5以及RAID 6。 Different [0003] The use of a disk array system is referred to as RAID levels, it can be divided into zones: RAID 0, RAID 1, RAID2, RAID 3, RAID 4, RAID 5 and RAID 6. 每一种RAID级别技术各有各的优点及缺点。 Each RAID level technologies each have their own advantages and disadvantages.

[0004] 现有的磁盘阵列系统的构成,包含一磁盘阵列控制器(RAID controller)以及由复数个磁盘驱动器(disk drive)所构成的磁盘阵列。 [0004] The existing disk array system, and includes a disk array controller (RAID controller) and disk array consists of a plurality of disk drives (disk drive) posed. 磁盘阵列控制器系连接至每一个磁盘驱动器,并由该磁盘阵列控制器将该磁盘阵列定义成RAID O, RAID 1、RAID 2、RAID 3、RAID 4、RAID 5或RAID 6之一个或多个逻辑磁盘驱动器(logical disk drive)而达成。 Disk array controller system is connected to each disk drive, the disk array controller by the disk array defined as RAID O, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5 or RAID 6 of one or more logical disk drive (logical disk drive) and reach.

[0005] 请参阅图1,一现有的符合一RAID架构之数据储存系统I的架构绘示于图1中。 [0005] Refer to Figure 1, a conventional line with a RAID architecture of the data storage system I architecture depicted in Figure 1. 该数据储存系统I包含多个储存装置12以及一控制器10。 I The data storage system comprising a plurality of storage devices 12 and a controller 10.

[0006] 于一具体实施例中,该多个储存装置12系规范成一磁盘阵列架构,例如,RAID 0、RAIDU RAID 2、RAID 3、RAID 4、RAID 5 或RAID 6 等。 [0006] in one embodiment, the plurality of storage devices 12 system specification into a disk array architecture, for example, RAID 0, RAIDU RAID 2, RAID 3, RAID 4, RAID 5 or RAID 6 and so on.

[0007] 该控制器10系能产生(重建)与待读取数据相同的冗余数据(redundant data)。 [0007] The system controller 10 can generate (reconstruct) the data to be read with the same redundant data (redundant data). 例如,于RAID5架构下,该控制器10系透过互斥或(XOR)运算来产生冗余数据。 For example, next to the RAID5 architecture, the system controller 10 through the exclusive OR (XOR) operation to generate redundant data.

[0008] 于实际应用中,每一个储存装置12可以是一磁带机(tape drive)、一磁盘驱动器(disk drive)、一内存装置(memory drive)、一光储存记录装置(optical storagedrive),或是于同一颗磁盘驱动器中对应于单一读写头之一个扇区,或是其它等效的储存 [0008] in practice, each storage device 12 may be a tape drive (tape drive), a disk drive (disk drive), a memory device (memory drive), an optical storage recording device (optical storagedrive), or is the same a disk drive corresponding to a single sector of the read-write head, or other equivalent storage

目.ο Head .ο

[0009] 同样示于图1,该控制器10系连接至每一个储存装置12。 [0009] Also shown in FIG. 1, the system controller 10 is connected to each storage device 12. 图1并且绘示一存取要求单元(applicat1n I/O request unit) 2o该存取要求单元2经由一传输接口14连接至该控制器10。 Figure 1 illustrates an access requirements and unit (applicat1n I / O request unit) 2o the access requirement unit 2 is connected to the controller 10 via a transmission interface 14. 于实际应用中,该存取要求单元2可以是网络计算机、迷你计算机、大型主机、笔记型计算机,或是需要读取数据储存系统I中之数据的任何电子设备,例如,手机、个人数字助理(personaldigital assistant,PDA)、数字录像设备、数字音乐播放器,等。 In practice, the access requirements of unit 2 may be a network computer, mini-computers, mainframes, notebook computers, or any electronic devices you need to read the data in the data storage system I, for example, cell phones, personal digital assistants (personaldigital assistant, PDA), digital video recording device, a digital music player, and so on.

[0010] 当该存取要求单元2为一部独立的电子设备时,其可透过储存局域网络(SAN)、局域网络(LAN)、序列先进技术(serial ATA,SATA)接口、光纤信道(FC)、小型计算机标准接口(SCSI)等传输接口,或是PCI Express等输出入(I/O)接口与该数据储存系统I相连接。 [0010] When the access requirements for unit 2 is an independent electronic device that can store through a local area network (SAN), Local Area Network (LAN), serial advanced technology (serial ATA, SATA) interfaces, Fibre Channel ( FC), Small Computer Standard Interface (SCSI) and other transmission interface, PCI Express, or input and output (I / O) interfaces with the data storage system I connected. 此外,当该存取要求单元2系一特殊集成电路组件,或是其它能够送出输出入读取要求的等效装置,其能依据其它装置之命令(或请求)而送出数据读取要求至该控制器10,进而透过该控制器10读取这些储存装置12中的数据。 In addition, when the access unit 2 system requires a special integrated circuit component, or other device capable of sending output into equivalent read requests, which can be based on a command (or request) and other means of sending data read requests to the the controller 10, and then read the data through the controller 10 in 12 of these storage devices.

[0011] 该数据储存系统I中的该控制器10以及这些储存装置12可以同时安置于单一箱体内,也可以独立分开而安置于不同的箱体内。 [0011] The data storage system I in the controller 10 and the storage device 12 may be placed simultaneously in a single housing, may be separately and independently arranged in different cabinets. 实务上,该控制器10可以透过光纤信道(FC)、小型计算机系统接口(SCSI)、序列连接SCSI (SAS)、序列ATA(SATA)、平行ATA(PATA,或称IDE)等传输接口与这些储存装置12相连接。 In practice, the controller 10 may, Small Computer System Interface (SCSI), serial connection via Fibre Channel (FC) SCSI (SAS), serial ATA (SATA), parallel ATA (PATA, also known as IDE) and other transmission interface The storage device 12 is connected. 若这些储存装置12为磁盘驱动器的话,每一个储存装置12可以是FC、SAS、SCS1、SATA, PATA等各种不同接口型态的磁盘驱动器。 If these storage device 12 as a disk drive, then each storage device 12 can be FC, SAS, SCS1, SATA, PATA interfaces and other various patterns of disk drives. 该控制器10系可为磁盘阵列控制器,或是具有能够产生冗余数据之数据储存系统的控制器。 The system controller 10 may be a disk array controller or with a controller capable of generating redundant data storage system of the data.

[0012] 同样示于图1,每一储存装置12包含一各自的写入高速缓存(write cache) 122。 [0012] Also shown in Figure 1, each storage device 12 comprises a respective write cache (write cache) 122. 每一个储存装置12被区分成多个数据区段(block)。 Each storage device 12 is divided into a plurality of data segments area (block). 从容错的观点来看,可分为使用者数据区段以及同位数据区段两类。 From the viewpoint of fault tolerance can be divided into user data segments and parity data segment categories. 使用者数据区段储存一般的使用者数据。 Storing user data segment average user data. 同位数据区段则储存多余的一组同位数据,以当有容错需求时,供反算使用者数据之用。 With bit data segment is a group of the same store excess bits of data to when there is a fault-tolerant demand for user data with the inverse. 存在于不同储存装置之相对应使用者数据区段与同位数据区段形成一个储存分割带(stripe),其中同位数据区段中的数据系由使用者数据区段中的数据执行互斥或(XOR)运算所得的结果。 Exist in different storage devices of the user data zone corresponding to the same bit data segment is formed with a storage division (stripe), wherein the data with the bit data zone system exclusive data execution by the user data zone or ( XOR) operation results obtained. 须声明的是,本领域的普通技术人员皆了解,同位数据区段中之数据之计算,除可使用互斥或(XOR)运算外,也包含各式各样的同位(parity)运算或类似的运算技术,只要存在以下关系:相同储存分割带中之任一个数据区段中之数据可由其相对应数据区段之数据计算而得。 To declare that one of ordinary skill in the art are to understand, calculate data of the same bit data section, in addition to using the exclusive OR (XOR) operation, but also contains a variety of different bits (parity) operation or the like computing technology, as long as the following relationship: the same data stored in any division of a band may be used by the data section of the corresponding segment of the calculated data.

[0013] 使用者端欲将数据写入该数据储存系统I里,该控制器10经由该传输接口14接收该存取要求单元2传送的多笔数据。 [0013] The end user wishing to write data in the data storage system I, the controller 10 requires multi-pen data transfer unit 2 receives the transmission interface 14 via the access. 接着,该控制器10将这些接收到的数据执行一预定运算(例如,互斥或(XOR)运算)以产生多笔写入数据。 Subsequently, the controller 10 will perform these received data by a predetermined operation (e.g., exclusive OR (XOR) operation) to produce a multi-pen writing data. 接着,该控制器10传送这些写入数据至该多个储存装置12的写入高速缓存122。 Subsequently, the controller 10 transmits the write data to the plurality of storage devices 12 to write cache 122. 这些写入数据储存至该多个储存装置12之写入高速缓存122内后,该多个储存装置12回复该控制器10 —写入确认讯息。 The write data is stored to the plurality of storage devices 12 of the write cache within 122 after the plurality of storage devices 12 to reply to the controller 10 - written confirmation message. 此时,该控制器10即认定这些写入数据已经写入该多个储存装置12内,而不会保护这些数据。 At this time, the controller 10 finds that the write data that is already written into the plurality of storage means 12, and will not protect these data. 但是,储存在该多个储存装置12之写入高速缓存122内的这些写入数据未必全数已写入该多个储存装置12本身的记录媒体(media)内。 However, storing the plurality of storage devices to write 12 of these write data in the cache 122 has 12 itself is not necessarily the full recording medium (media) within the plurality of storage devices to write. 一旦该数据储存系统I遭受不预期的电力中断时,仍储存在该多个储存装置12之写入高速缓存122的这些写入数据即会消失不见。 Once the data storage system I suffered a power outage is not expected, still storing the plurality of storage devices to write 12 of these write data in the cache 122 that is will disappear.

发明内容 SUMMARY OF THE INVENTION

[0014] 因此,本发明提供一种数据储存系统及其管理方法。 [0014] Accordingly, the present invention provides a data storage system and its management method. 并且特别地,本发明之数据储存系统包含备份内存,以避免数据储存系统遭受电力中断时欲写入的数据消失不见,并被保护。 And in particular, the data storage system of the present invention comprises a backup memory to avoid data storage system suffered a power outage to be written data disappear, and protected.

[0015] 根据本发明之一较佳具体实施例的数据储存系统,其包含N个储存装置、备份内存以及一控制器,其中N为一自然数。 [0015] data storage system of the present invention according to preferred embodiments, which contains N storage means, the backup memory and a controller, wherein N is a natural number. 每一储存装置包含一各自的写入高速缓存。 Each storage device comprising a respective write cache. 一旦该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内之数据。 Once the data storage system suffered a power outage, the backup data is stored in the memory is still preserved within it. 该控制器用以接收一存取要求单元传送的多笔数据,将这些接收到的数据执行一预定运算以产生多笔写入数据,传送这些写入数据至该N个储存装置之写入高速缓存,复制这些写入数据至该备份内存内,并且响应该N个储存装置传送一写入确认讯息将复制至该备份内存内的这些写入数据标示为有效。 The controller is configured to receive a multi-pen unit access requests transmitted, these received data to perform a predetermined operation to generate a multi-pen writing data, transmitting the write data to be written to the storage device of the N cache , copied the backup data is written into the memory, and a storage device in response to the N transmit a written confirmation message will be copied to the write data in the backup-memory marked as valid. 并且,当该控制器判断该备份内存之储存空间低于一门坎值或复制这些写入数据至该备份内存内之地址重复时,该控制器发布一清理快取命令(flush cachecommand)至该N个储存装置,并且响应该N个储存装置传送一清理快取完成讯息清除储存于该备份内存内之写入数据。 Further, when the controller determines that the backup memory of storage space below a threshold value or copy the backup data is written to address memory within the repeat, the controller issues a command to clean up cache (flush cachecommand) to the N a storage device and a storage device in response to the N sends a clear message to complete the clean-up cache write data stored in the memory of the backup.

[0016] 于一具体实施例中,当该数据储存系统开机时,该控制器判断该备份内存内是否存有标示有效的写入数据。 [0016] in one embodiment, when the data storage system is turned on, the controller judges whether or not there within the backup memory write data marked valid. 若判断结果为肯定,该控制器将该备份内存内标示有效的写入数据写入该N个储存装置。 If the judgment result is affirmative, the controller within the memory backup marked valid write data is written to the N storage means. 并且,在完成将这些标示有效的写入数据写入该N个储存装置之后,该控制器清除储存于该备份内存内的写入数据。 And, after the completion of these indicate valid write data is written to the N storage device, the controller clears the write data stored in the backup memory.

[0017] 于一具体实施例中,该预定运算可以是一互斥或(XOR)运算、一镜像运算(mirroringoperat1n)、一无运算(NO operat1n)、一切分运算(slice operat1n)、一有限加洛瓦场(Galois field, GF)本质多项式运算、一有限场的数学最大距离可分码(maximum distance separable code)运算、其它同位(parity)运算或类似的运算技术。 [0017] in one embodiment, the predetermined operation may be a mutually exclusive or (XOR) operation, a mirror operation (mirroringoperat1n), a no operation (NO operat1n), all sub-operation (slice operat1n), a limited increase lowa field (Galois field, GF) nature polynomial arithmetic, mathematics a limited field maximum distance separable codes (maximum distance separable code) operation, the other with bits (parity) operation or similar computing technology.

[0018] 于一具体实施例中,该备份内存系一非挥发性内存或一配置一独立电源之挥发性内存。 [0018] in one embodiment, the backup memory is a non-volatile memory system or a separate power supply of a volatile configuration memory.

[0019] 于一具体实施例中,该备份内存系仅电连接至该控制器。 [0019] in one embodiment, the backup memory is electrically connected to the controller only. 于另一具体实施例中,该备份内存系该控制器内之一写入高速缓存。 In another specific embodiment, one of the backup within the controller write cache memory system. 于另一具体实施例中,该备份内存系电连接在该控制器与该N个储存装置之间。 In another embodiment, the backup memory is electrically connected between the controller and the N storage devices.

[0020] 根据本发明之一较佳具体实施例之管理方法针对一数据储存系统之管理方法。 [0020] The present invention according to one preferred embodiment of the specific management methods for a data storage system of management implemented. 该数据储存系统包含多个储存装置以及一备份内存。 The data storage system comprising a plurality of storage devices and a backup memory. 每一储存装置包含一各自的写入高速缓存。 Each storage device comprising a respective write cache. 当该数据储存系统遭受电力中断时,该备份内存仍保存储存在其内的数据。 When the data storage system suffered a power outage, the backup data is stored in the memory is still preserved therein. 根据本发明之较佳具体实施例的管理方法,首先,接收一存取要求单元传送的多笔数据。 Management method according to a preferred specific embodiment of the present invention, first, receiving a multi-pen unit access requests transmitted. 接着,根据本发明之管理方法将这些接收到的数据执行一预定运算以产生多笔写入数据。 Then, according to the management method of the present invention to those receiving a predetermined operation performed on the data to produce a multi-pen writing data. 接着,根据本发明之管理方法判断该备份内存的储存空间是否低于一门坎值,或判断复制这些写入数据至该备份内存内之地址是否重复。 Subsequently, it is determined that the backup memory storage space is lower than a threshold value, or judge to copy the address to write data to the backup memory within whether to repeat according to the management method of the present invention. 若判断结果为否定者,根据本发明之管理方法则传送这些写入数据至该N个储存装置的写入高速缓存,并复制这些写入数据至该备份内存内。 If the judgment result is negative persons, the transfer of these write data to the write cache of the N storage device according to the management method of the present invention, and copy the data to be written within the backup memory. 并且,根据本发明的管理方法响应该N个储存装置传送一写入确认讯息,将复制至该备份内存内的这些写入数据标示为有效。 Further, according to the management method of the present invention, the N storage means in response to the transmission of a confirmation message is written, the written data is copied to the backup memory inside the marked valid.

[0021] 若该备份内存之储存空间低于一门坎值或复制这些写入数据至该备份内存内之地址重复,根据本发明之管理方法则发布一清理快取命令至该N个储存装置。 [0021] If the storage space of the backup memory of less than a threshold value or copy the address to write data to the backup memory within the repeat, then issuing a command to clean up the cache of the N storage device according to the management method of the present invention. 并且,根据本发明的管理方法响应该N个储存装置传送一清理快取完成讯息,清除储存于该备份内存内的写入数据。 Further, according to the management method of the present invention a storage device in response to the N transmit a complete message cache cleanup, clear writing data stored in the backup memory.

[0022] 当该数据储存系统开机时,根据本发明之管理方法判断该备份内存内是否存有标示有效的写入数据。 [0022] When the data storage system is turned on, it is determined whether there are valid within the backup memory write data marked according to the management method of the present invention. 若判断结果为肯定者,根据本发明的管理方法则将该备份内存内标示有效的写入数据写入该N个储存装置,并且在完成将这些标示有效的写入数据写入该N个储存装置之后,清除储存于该备份内存内的写入数据。 If the judgment result is positive person, according to the management method of the present invention is indicated in the backup memory write valid data is written to the N storage devices, and upon completion of these indicate valid write data is written to the N storage After the device, remove the write data stored in the backup memory.

[0023] 关于本发明之优点与精神可以藉由以下的实施方式及所附图式得到进一步的了解。 [0023] On the advantages of the present invention and the spirit can be the following embodiment and the accompanying drawings to get a better understanding.

附图说明 Brief Description

[0024] 下面结合附图对本发明作进一步说明: [0024] the following with reference to the present invention will be further explained:

[0025]图1为一现有的符合RAID架构的数据储存系统的架构示意图。 [0025] FIG. 1 is a schematic diagram of an existing infrastructure framework in line with RAID data storage systems.

[0026]图2为根据本发明一较佳具体实施例数据储存系统的架构示意图。 [0026] FIG. 2 is a schematic diagram of the data storage system architecture according to a preferred specific embodiment of the present invention.

[0027]图3为根据本发明较佳具体实施例数据储存系统其备份内存之一变形的示意图。 [0027] FIG. 3 is a schematic diagram of one embodiment of its backup memory data storage system according to the preferred deformation specific embodiment of the present invention.

[0028]图4为根据本发明较佳具体实施例数据储存系统其备份内存之另一变形的示意图。 [0028] FIG. 4 is a schematic diagram of another example of its backup memory of the data storage system according to the preferred deformation specific embodiment of the present invention.

[0029] 图5为根据本发明一较佳具体实施例管理方法的流程图。 [0029] FIG. 5 is a flowchart illustrating the management method according to a preferred specific embodiment of the present invention.

[0030] 图6为根据本发明之较佳具体实施例管理方法的另一流程图。 [0030] FIG. 6 is a flowchart illustrating another management method according to a preferred specific embodiment of the present invention.

[0031] 元件符号说明: [0031] element symbol Definitions:

[0032]【主要组件符号说明】 [0032] The main component symbol description]

[0033] 1、3:数据储存系统 10、30:控制器 [0033] 1,3: 10,30 data storage system: Controller

[0034] 12,32:储存装置 122、322:写入高速缓存 [0034] 12,32: 122,322 storage device: write cache

[0035] 14、34:传输接口 36:备份内存 [0035] 14,34: 36 transmission interface: backup memory

[0036] 2、4:存取要求单元 5:管理方法 [0036] 2,4: Management Method: Unit 5 Access Requirements

[0037] S50〜S70:流程步骤 [0037] S50~S70: Process Steps

具体实施方式 DETAILED DESCRIPTION

[0038] 本发明提供一种数据储存系统及其管理方法。 [0038] The present invention provides a data storage system and its management method. 并且特别地,根据本发明数据储存系统包含备份内存,以避免数据储存系统遭受电力中断时欲写入的数据消失不见,并被保护。 And in particular, the data storage system according to the present invention contains a backup memory to avoid data storage system suffered a power outage to be written data disappear, and protected. 以下藉由对本发明的较佳具体实施例的详细说明,藉以充分解说关于本发明的特征、精神、优点以及实施上的可行性。 The following detailed description of an example of the present invention by the preferred specific embodiment, in order to fully explain the features of the present invention on the spirit, on the advantages and feasibility of implementation.

[0039] 请参阅图2,根据本发明之一较佳具体实施例的数据储存系统3的架构绘示于图2中。 [0039] See Figure 2, according to the data storage system according to the preferred specific embodiment of the present invention 3 architecture depicted in Figure 2. 该数据储存系统3包含N个储存装置32、一控制器30以及一备份内存36,其中N为一自然数(1,2,3,……)。 The data storage system 3 includes N storage device 32, a controller 30 and a backup memory 36, where N is a natural number (1,2,3, ......).

[0040] 于一具体实施例中,该N个储存装置32规范成一磁盘阵列架构,例如,RAID 0、RAID URAID 2、RAID 3、RAID 4、RAID 5 或RAID 6 等。 [0040] in one particular embodiment, the N-storing means 32 into a disk array architecture specification, for example, RAID 0, RAID URAID 2, RAID 3, RAID 4, RAID 5, or RAID 6 and so on.

[0041] 该控制器30系能产生(重建)与待读取数据相同的冗余数据。 [0041] The system controller 30 can generate (reconstruct) the same data and redundant data to be read. 例如,于RAID 5架构下,该控制器30系透过互斥或(XOR)运算来产生冗余数据。 For example, when in RAID 5 architecture, the system controller 30 through the exclusive OR (XOR) operation to generate redundant data.

[0042] 于一具体实施例中,每一个储存装置32可以是一磁带机、一磁盘驱动器、一内存装置、一光储存记录装置,或是于同一颗磁盘驱动器中对应于单一读写头之一个扇区,或是其它等效的储存装置。 [0042] in one embodiment, each of the storage device 32 may be a tape drive, a disk drive, a memory device, an optical storage recording device, or to a disk drive with the corresponding single head a sector, or other equivalent storage device.

[0043] 同样示于图2,该控制器30连接至每一个储存装置32。 [0043] Also shown in FIG. 2, the controller 30 is connected to each of the storage device 32. 图2并且绘示一存取要求单元4。 And Figure 2 illustrates a request for access unit 4. 该存取要求单元4经由一传输接口34连接至该控制器30。 This requires access unit 4 is connected to the controller 30 via a transmission interface 34. 于实际应用中,该存取要求单元4可以是网络计算机、迷你计算机、大型主机、笔记型计算机,或是需要读取数据储存系统3中之数据的任何电子设备,例如,手机、个人数字助理、数字录像设备、数字音乐播放器,等。 In practice, the access requirements unit 4 may be a network computer, minicomputer, mainframe, notebook computers, or the need to read the data storage system for any electronic device 3 in the data, such as cell phones, personal digital assistants , digital video recording device, a digital music player, and so on.

[0044] 当该存取要求单元4为一部独立的电子设备时,其系可透过储存局域网络(SAN)、局域网络(LAN)、序列先进技术(serial ATA,SATA)接口、光纤信道(FC)、小型计算机标准接口(SCSI)等传输接口,或是PCI Express等输出入(I/O)接口与该数据储存系统3相连接。 [0044] When the access requirements of section 4 of an independent electronic device that can pass through the storage area network system (SAN), Local Area Network (LAN), serial advanced technology (serial ATA, SATA) interfaces, Fibre Channel (FC), Small Computer Standard Interface (SCSI) and other transmission interface, PCI Express, or input and output (I / O) interfaces with the data storage system 3-phase connection. 此外,当该存取要求单元4为一特殊集成电路组件,或是其它能够送出输出入读取要求的等效装置,其能依据其它装置之命令(或请求)而送出数据读取要求至该控制器30,进而透过该控制器30读取这些储存装置32中的数据。 In addition, when the access requested unit 4 is a special integrated circuit component, or other device capable of sending output into equivalent read requests, which can be based on a command (or request) and other means of sending data read requests to the The controller 30, and then transmitted through the controller 30 reads the data in those storage devices 32.

[0045] 该数据储存系统3中的该控制器30以及这些储存装置32可以同时安置于单一箱体内,也可以独立分开而安置于不同的箱体内。 [0045] The data storage system 3 in the controller 30 and the storage device 32 may be placed simultaneously in a single housing, may be separately and independently arranged in different cabinets. 实务上,该控制器30可以透过光纤信道(FC)、小型计算机系统接口(SCSI)、序列连接SCSI (SAS)、序列ATA(SATA)、平行ATA(PATA,或称IDE)等传输接口与这些储存装置32相连接。 In practice, the controller 30 may, Small Computer System Interface (SCSI), serial connection via Fibre Channel (FC) SCSI (SAS), serial ATA (SATA), parallel ATA (PATA, also known as IDE) and other transmission interface The storage device 32 is connected. 若这些储存装置32为磁盘驱动器的话,每一个储存装置32可以是FC、SAS、SCS1、SATA, PATA等各种不同接口型态的磁盘驱动器。 If these storage devices 32 is a disk drive, then, each storage device 32 may be FC, SAS, SCS1, SATA, PATA interfaces and other various patterns of the disk drive. 该控制器30系可为磁盘阵列控制器,或是具有能够产生冗余数据之数据储存系统的控制器。 The system controller 30 may be a disk array controller or with a controller capable of generating redundant data storage system of the data.

[0046] 同样示于图2,每一储存装置32包含一各自的写入高速缓存322。 [0046] Also shown in FIG. 2, each storage device 32 comprises a respective write cache 322. 每一个储存装置32被区分成多个数据区段。 Each storage device 32 is divided into a plurality of data segments area. 从容错的观点来看,可分为使用者数据区段以及同位数据区段两类。 From the viewpoint of fault tolerance can be divided into user data segments and parity data segment categories. 使用者数据区段储存一般的使用者数据。 Storing user data segment average user data. 同位数据区段则储存多余的一组同位数据,以当有容错需求时,供反算使用者数据之用。 With bit data segment is a group of the same store excess bits of data to when there is a fault-tolerant demand for user data with the inverse. 存在于不同储存装置之相对应使用者数据区段与同位数据区段形成一个储存分割带,其中同位数据区段中的数据系由使用者数据区段中的数据执行互斥或(XOR)运算所得的结果。 Exist in different storage devices of the corresponding user data zone is formed with the same bit data segment with a storage division, where the data with the bit data zone system exclusive data execution by the user data zone or (XOR) operation The results obtained. 须声明的是,本领域的普通技术人员皆了解,同位数据区段中的数据之计算,除可使用互斥或(XOR)运算外,针对各种RAID架构,也可以是镜像运算、无运算(NO operat1n)、切分运算、有限加洛瓦场(Galois field,GF)本质多项式运算、有限场的数学最大距离可分码(maximum distance separable code)运算、其它同位运算或类似的运算技术,只要存在以下关系:相同储存分割带中之任一个数据区段中之数据可由其相对应数据区段之数据计算而得。 To declare that one of ordinary skill in the art are understood to calculate the same data bits in the data segment, in addition to using the exclusive OR (XOR) operation, but for a variety of RAID architecture, it can be a mirror operation, no operation (NO operat1n), segmentation operation, Gallois finite field (Galois field, GF) nature polynomial arithmetic, mathematics limited field maximum distance separable codes (maximum distance separable code) operation, with bit computing or other similar computing technology, As long as the following relationship: the same data stored in any division of a band may be used by the data section of the corresponding segment of the calculated data.

[0047] 使用者端欲将数据写入该数据储存系统3里,该控制器30经由该传输接口34接收该存取要求单元4传送的多笔数据。 [0047] end users wishing to write data to the data storage system 3 years, the controller 30 receives the access requirements for multi-pen unit 4 is transmitted through the transmission interface 34. 接着,该控制器30将这些接收到的数据执行一预定运算(例如,互斥或(XOR)运算)以产生多笔写入数据。 Subsequently, the controller 30 will perform these received data by a predetermined operation (e.g., exclusive OR (XOR) operation) to produce a multi-pen writing data. 接着,该控制器30传送这些写入数据至该N个储存装置32之写入高速缓存322。 Subsequently, the controller writes data to send these 30 written to the storage device 32 of the N cache 322. 特别地,该控制器30复制这些写入数据至该备份内存36内。 In particular, the controller 30 copy the backup data is written to the memory 36.

[0048] 这些写入数据储存至该N个储存装置32之写入高速缓存322内后,该N个储存装置32回复该控制器30 —写入确认讯息。 [0048] The write data is stored to the N storage device 32 of the write cache 322, the storage device 32 of the N reply to the controller 30 - Write confirmation message. 此时,该控制器30响应该N个储存装置32传送之写入确认讯息将复制至该备份内存36内之这些写入数据标示为有效,仍保护这些写入数据。 At this time, the controller 30 in response to written confirmation message 32 transfer of the N storage device to copy the backup data is written to the memory 36 within the labeled effective, still protect these write data. 但是,储存在该N个储存装置32之写入高速缓存322内之这些写入数据未必全数已写入该N个储存装置32本身的记录媒体内。 However, the N stored in the storage device 32 of the write data in the write cache 322 of these may not have been fully written into the N storage device 32 of the recording medium itself.

[0049] 并且,当该控制器30判断该备份内存36之储存空间低于一门坎值或复制这些写入数据至该备份内存36内之地址重复时,该控制器30发布一清理快取命令至该N个储存装置32。 [0049] Further, when the controller 30 determines whether the backup memory 36 of the storage space below a threshold value or copy the backup data is written to the address of the memory 36 within the repeat, the controller 30 issues a command to clean up cache to the N storage device 32. 该N个储存装置32收到该清理快取命令后,即会将这些写入高速缓存322内的写入数据写入该N个储存装置32本身的记录媒体内。 After the N storage means 32 receives the cache cleanup command, that they will write the write data within the cache 322 is written within the N storage device 32 of the recording medium itself. 这些高速缓存322内的这些写入数据全数写入该N个储存装置32本身的记录媒体后,该N个储存装置32即回复该控制器30 —清理快取完成讯息。 These write data cache 322 within the full written to the storage device 32 of the N recording medium itself, the N-storing means 32 of the controller 30, i.e. Reply - preparation cache complete message. 此时,该控制器30即响应该清理快取完成讯息,清除储存于该备份内存36内的写入数据。 At this time, the controller 30 that is responsive to the cache cleanup complete message, clear writing data stored in the backup memory 36 within.

[0050] 特别地,一旦该数据储存系统3遭受不预期的电力中断时,该备份内存36仍保存储存在其内之数据。 [0050] In particular, once the data storage system 3 is not expected to suffer a power outage, the backup memory 36 is still stored within the data stored in it. 当该数据储存系统3开机时,该控制器30判断该备份内存36内是否存有标示有效的写入数据。 When the data storage system 3 is turned on, the controller 30 determines whether the backup memory 36 there are marked valid write data. 若判断结果为肯定,该控制器30将该备份内存36内标示有效的写入数据写入该N个储存装置32。 If the judgment result is affirmative, the controller 30 the backup memory 36 marked valid write data is written to the storage device 32 of the N. 并且,在完成将这些标示有效的写入数据写入该N个储存装置32之后,该控制器30清除储存于该备份内存36内的写入数据。 And, in the completion of these indicate a valid write data written to the storage device after the N 32, the controller 30 clears the write data stored in the backup memory 36. 藉此,根据本发明之数据储存系统3可以避免遭受电力中断时欲写入的数据消失不见,并且确保欲写入的数据写入该N个储存装置32内。 In this way, according to the data storage system 3 of the present invention to avoid suffering a power outage to be written data disappear, and write data to be written to ensure that the N storage device 32.

[0051] 于一具体实施例中,该备份内存36为一非挥发性内存(如Flash Memory),或是一配置一独立电源(例如,电池或不断电系统)之挥发性内存。 [0051] in one embodiment, the backup memory 36 is a non-volatile memory (such as Flash Memory), or a configuration of an independent power source (such as a battery or uninterruptible power supply) of the volatile memory.

[0052] 于一具体实施例中,如图2所示,该备份内存36仅电连接至该控制器30。 [0052] in one particular embodiment, shown in Figure 2, the backup memory 36 is only electrically connected to the controller 30.

[0053] 于另一具体实施例中,如图3所不,该备份内存36系该控制器30内之一写入高速缓存。 [0053] in another embodiment, as shown in 3 is not, one of the backup system memory 36 within the controller 30 write cache. 图3中具有与图2相同号码标记的组件,有相同或类似的功能以及运作,在此不做赘述。 Figure 3 having components with the same numbers in Figure 2 labeled with the same or similar functions as well as operation, not in this repeat.

[0054] 于另一具体实施例中,如图4所示,该备份内存36为电连接在该控制器30与该N个储存装置32之间。 [0054] in another specific embodiment, shown in Figure 4, the backup memory 36 is electrically connected between the controller 30 and the storage device 32 of the N. 图4中具有与图2相同号码标记的组件,有相同或类似的功能以及运作,在此不做赘述。 Figure 4 has the components of FIG. 2 labeled with the same number, with the same or similar functions as well as operation, not in this repeat.

[0055] 请参阅图5,图5为绘示根据本发明之一较佳具体实施例之管理方法2的流程图。 [0055] Refer to Figure 5, Figure 5 illustrates a flowchart of the Supervisor of method according to one preferred specific embodiment of the present invention. 根据本发明的管理方法5系针对例如图2、图3或图4所示的数据储存系统3的管理方法。 According to the management method of the present invention is directed to the 5 Series for example in Figure 2, the data storage system shown in FIG. 3 or FIG. 4 management 3. 该数据储存系统3的架构已于上文中详述,在此不再赘述。 The data storage system architecture 3 has been detailed above, and not repeat them here.

[0056] 如图5所示,根据本发明的管理方法5首先执行步骤S50,接收一存取要求单元4传送的多笔数据。 [0056] As shown in Figure 5, according to the management method of the present invention 5 first executes step S50, the receiving unit 4 transmits an access requirements for multi-pen.

[0057] 接着,根据本发明的管理方法5执行步骤S52,将这些接收到的数据执行一预定运算,以产生多笔写入数据。 [0057] Next, according to the management method of the present invention are 5 steps S52, these received data to perform a predetermined operation, to produce a multi pen writing data.

[0058] 于一具体实施例中,该预定运算可以是一互斥或(XOR)运算、一镜像运算、一无运算、一切分运算、一有限加洛瓦场(Galois field, GF)本质多项式运算、一有限场的数学最大距离可分码运算、其它同位运算或类似的运算技术。 [0058] in one embodiment, the predetermined operation may be a mutually exclusive or (XOR) operation, a mirror operation, a non-operation, all sub operations, a limited Gallois field (Galois field, GF) polynomial nature arithmetic, mathematics maximum distance separable code a limited field of operation, with bit computing or other similar computing technology.

[0059] 接着,根据本发明的管理方法5执行步骤S54,判断该备份内存36之储存空间是否低于一门坎值。 [0059] Next, according to the management method of the present invention is 5 to step S54, determines whether the backup memory 36 of the storage space is lower than a threshold value.

[0060] 若步骤S54的判断结果为否定者,根据本发明的管理方法5执行步骤S56,判断复制这些写入数据至该备份内存36内的地址是否重复。 [0060] If the determination result in step S54 is negative person, according to the management method of the present invention are 5 steps S56, judgment copy the backup data is written to the memory address within 36 whether to repeat.

[0061] 若步骤S56之判断结果为否定者,根据本发明的管理方法5执行步骤S58,传送这些写入数据至该N个储存装置32的写入高速缓存322,并复制这些写入数据至该备份内存36内。 [0061] If it is determined in step S56 the result is negative person, according to the management method of the present invention is 5 to step S58, the write data transmitted to the write storage device 32 of the N cache 322, and copy them to write data to The backup memory 36.

[0062] 在步骤S58之后,根据本发明的管理方法5执行步骤S60,响应该N个储存装置32传送一写入确认讯息,将复制至该备份内存36内的这些写入数据标示为有效。 32 transmission [0062] After step S58, according to the management method of the present invention, 5 steps S60, in response to one of the N write confirmation message storage means, the backup will be copied to the memory 36 within the write data marked as valid.

[0063] 若步骤S54之判断结果为肯定者,或步骤S56之判断结果为肯定者,根据本发明之管理方法5执行步骤S62,发布一清理快取命令至该N个储存装置32。 [0063] If it is determined in step S54 the result is positive persons, or the result of determination in step S56 is positive person, according to the management method of the present invention 5 executes step S62, the release of a clean-cache command to the N storage device 32. 此时,这些高速缓存322内的这些写入数据全数写入该N个储存装置32本身的记录媒体后,该N个储存装置32即回复一清理快取完成讯息。 After this time, the write data within the cache 322 is written in full the N-storing means 32 of the recording medium itself, the N-storing means 32 i.e. a reply cache cleanup complete message.

[0064] 在步骤S62之后,根据本发明的管理方法5执行步骤S64,响应该N个储存装置32传送之该清理快取完成讯息,清除储存于该备份内存36内的写入数据。 [0064] After the step S62, according to the management method of the present invention is 5 to step S64, in response to the cache clean-up complete message 32 transfer of the N storage devices, remove the write data stored in the backup memory 36. 在步骤S64之后,即完成程序。 After the step S64, i.e., to complete the process.

[0065] 请参阅图6,当该数据储存系统3开机时,根据本发明的管理方法5进一步执行步骤S66,判断该备份内存36内是否存有标示有效的写入数据。 [0065] Refer to Figure 6, when the data storage system 3 is turned on, according to the management method of the present invention, 5 further steps S66, determines whether the backup memory 36 there are marked valid write data.

[0066] 若步骤S66的判断结果为肯定者,根据本发明的管理方法5进一步执行步骤S68,将该备份内存36内标示有效的写入数据写入该N个储存装置32。 [0066] If the determination result in step S66 is positive persons, 5 further steps S68 management method according to the present invention, the backup memory 36 marked valid write data is written to the N storage device 32. 在步骤S68之后即在完成将这些标示有效的写入数据写入该N个储存装置之后,根据本发明的管理方法5执行步骤S70,清除储存于该备份内存36内的写入数据。 After the step S68, i.e., after the completion of these marked valid write data is written to the N-storage means management method according to the present invention, 5 steps S70, clears the write data stored in the backup memory 36. 藉此,根据本发明的管理方法5可以避免该数据储存系统3遭受电力中断时欲写入的数据消失不见,并且确保欲写入的数据写入该N个储存装置32内。 Whereby, the data storage system 3 suffers a power outage to be written data disappear, and to ensure that the data to be written is written according to the management method of the present invention to avoid the 5 storage device 32 of the N.

[0067] 藉由以上本发明之较佳具体实施例的详细说明,能清楚了解本发明所提供的数据储存系统及其管理方法,能避免数据储存系统遭受电力中断时欲写入的数据消失不见,并被保护。 [0067] With the above detailed description of the preferred embodiment of the present invention specific embodiments, a clear understanding of the data storage system and its management method of the present invention provides, to avoid data storage system suffered a power outage of data to be written to disappear , and protected.

[0068] 藉由以上较佳具体实施例之详述,希望能更加清楚描述本发明之特征与精神,而并非以上述所揭露的较佳具体实施例来对本发明之范畴加以限制。 [0068] By the above described in detail the specific example of the preferred embodiment, hoping to more clearly describe the characteristics and spirit of the present invention, but not to the above disclosed preferred embodiments to be limited to the scope of the invention. 相反地,其目的是希望能涵盖各种改变及具相等性的安排于本发明所欲申请的专利范围的范畴内。 On the contrary, its purpose is to be able to cover equality within the scope of the present invention is seeking arrangements in the scope of patent applications and a variety of changes. 因此,本发明所申请的专利范围的范畴应该根据上述的说明作最宽广的解释,以致使其涵盖所有可能的改变以及具相等性的安排。 Therefore, the scope of the patent application scope of the invention should make the broadest interpretation of the above description, so as to encompass all possible variations and with equality arrangements.

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
CN101521039A *29 Feb 20082 Sep 2009群联电子股份有限公司Data storage system, controller and method therefor
TW200947205A * Title not available
*US2006/0174156 Title not available
US6243795 *4 Aug 19985 Jun 2001The Board Of Governors For Higher Education, State Of Rhode Island And Providence PlantationsRedundant, asymmetrically parallel disk cache for a data storage system
Classifications
International ClassificationG06F12/16, G06F3/06
Legal Events
DateCodeEventDescription
3 Apr 2013C06Publication
1 May 2013C10Request of examination as to substance
19 Aug 2015C14Granted