JP2016057811A - Accumulation and delivery server and accumulation and delivery system - Google Patents

Accumulation and delivery server and accumulation and delivery system Download PDF

Info

Publication number
JP2016057811A
JP2016057811A JP2014183215A JP2014183215A JP2016057811A JP 2016057811 A JP2016057811 A JP 2016057811A JP 2014183215 A JP2014183215 A JP 2014183215A JP 2014183215 A JP2014183215 A JP 2014183215A JP 2016057811 A JP2016057811 A JP 2016057811A
Authority
JP
Japan
Prior art keywords
data
file
storage device
control unit
storage
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
JP2014183215A
Other languages
Japanese (ja)
Other versions
JP6220324B2 (en
JP2016057811A5 (en
Inventor
洋介 徳田
Yosuke Tokuda
洋介 徳田
稔 宇留島
Minoru Urushima
稔 宇留島
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.)
Hitachi Industry and Control Solutions Co Ltd
Original Assignee
Hitachi Industry and Control Solutions 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 Hitachi Industry and Control Solutions Co Ltd filed Critical Hitachi Industry and Control Solutions Co Ltd
Priority to JP2014183215A priority Critical patent/JP6220324B2/en
Publication of JP2016057811A publication Critical patent/JP2016057811A/en
Publication of JP2016057811A5 publication Critical patent/JP2016057811A5/ja
Application granted granted Critical
Publication of JP6220324B2 publication Critical patent/JP6220324B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that it occurs that when a RAID device breaks down, data cannot be accumulated in the RAID device, nor can data be read from the RAID device, in a non-multiplexed RAID device.SOLUTION: A data accumulation control unit 3 writes the data transferred from a transfer source device 20 into a small-scale storage 8 and a RAID device 9, and records management information in a file management table 4. The data accumulation control unit 3 writes the data into the small-scale storage 8 during a write-disabled period in which the data cannot be written into the RAID device 9. Then, after the elapse of the write-disabled period, the data accumulation control unit 3 reads, from the small-scale storage 8, the data written into the small-scale storage 8 during the write-disabled period and writes the data into the RAID device 9.SELECTED DRAWING: Figure 1

Description

本発明は、大容量のデータを蓄積し、配信する蓄積配信サーバ及び蓄積配信システムに関する。   The present invention relates to a storage / delivery server and a storage / distribution system for storing and distributing a large amount of data.

従来、大容量のデータ(画像データ、音声データ等)をRAID(Redundant Array of Inexpensive Disks)装置に蓄積し、ネットワークを介してユーザ端末にデータをストリーミング配信する蓄積配信システムが知られている。   2. Description of the Related Art Conventionally, a storage and distribution system is known that stores a large amount of data (image data, audio data, etc.) in a RAID (Redundant Array of Inexpensive Disks) device, and distributes the data to user terminals via a network.

特許文献1には、大容量のデータを蓄積するストレージシステムが開示されている。このストレージシステムは、RAID装置間でデータをプライマリデータとセカンダリデータにミラーリングして多重化する。そして、RAID構成により装置内で復旧可能なディスク装置の障害が発生すると、ミラーリング先のRAID装置に障害ディスク装置に対応したディスク装置のデータを要求し、転送されたデータをスペアディスク装置に書込んで復旧させる。   Patent Document 1 discloses a storage system that accumulates a large amount of data. This storage system multiplexes data by mirroring primary data and secondary data between RAID devices. When a failure occurs in a disk device that can be recovered within the device due to the RAID configuration, the mirroring RAID device is requested for the data of the disk device corresponding to the failed disk device, and the transferred data is written to the spare disk device. Restore with.

特開2006−227964号公報JP 2006-227964 A

特許文献1にはデータをミラーリングして多重化することについて記載されているが、蓄積配信システムのような大容量のデータを取り扱うシステムでは、RAID装置等のストレージ装置を複数台使用することがある。このため、ストレージ装置をミラーリングで多重化すると、システムの構築コスト、運用コストが膨大となってしまう。   Patent Document 1 describes that data is mirrored and multiplexed. However, a system that handles a large amount of data such as a storage / distribution system may use a plurality of storage devices such as RAID devices. . For this reason, if the storage apparatus is multiplexed by mirroring, the system construction cost and the operation cost become enormous.

一方で、ストレージ装置が多重化されていないシステムでは、ストレージ装置が故障したときにデータを読み出せなくなる。また、ストレージ装置を制御するRAIDコントローラが故障して、RAIDコントローラを再起動している間はストレージ装置にデータを蓄積できなくなる。このため、ストレージ装置に蓄積されたデータに欠損が生じることがあった。   On the other hand, in a system in which storage devices are not multiplexed, data cannot be read when the storage device fails. In addition, data cannot be stored in the storage device while the RAID controller that controls the storage device fails and the RAID controller is restarted. For this reason, data stored in the storage device may be lost.

本発明はこのような状況に鑑みて成されたものであり、ストレージ装置の信頼性を高めることを目的とする。   The present invention has been made in view of such a situation, and an object thereof is to improve the reliability of a storage apparatus.

本発明は、管理テーブルと、データ配信制御部と、データ蓄積制御部と、を備える。
管理テーブルは、所定の記録容量を有し、データを蓄積する第1ストレージ装置、及び第1ストレージ装置よりも大きい記録容量を有し、データを冗長化して蓄積する第2ストレージ装置がそれぞれ蓄積するデータの管理情報を保持する。
データ配信制御部は、第1ストレージ装置又は第2ストレージ装置から読込んだデータを転送先装置に転送し、管理テーブルに管理情報を記録する。
データ蓄積制御部は、転送元装置から転送されたデータを第1ストレージ装置及び第2ストレージ装置に書込んで、管理テーブルに管理情報を記録する。ここで、データ蓄積制御部は、第2ストレージ装置にデータの書込みが行えない書込不能期間に第1ストレージ装置に書込んだデータを、書込不能期間の経過後に、管理テーブルを参照して第1ストレージ装置から読込んで、第2ストレージ装置に書込む。
The present invention includes a management table, a data distribution control unit, and a data accumulation control unit.
The management table has a predetermined recording capacity, the first storage device that stores data, and the second storage device that has a larger recording capacity than the first storage device and stores data redundantly, respectively. Holds data management information.
The data distribution control unit transfers the data read from the first storage device or the second storage device to the transfer destination device, and records management information in the management table.
The data accumulation control unit writes the data transferred from the transfer source device to the first storage device and the second storage device, and records management information in the management table. Here, the data accumulation control unit refers to the management table after the elapse of the non-writable period, the data written to the first storage apparatus during the non-writable period during which data cannot be written to the second storage apparatus. Read from the first storage device and write to the second storage device.

本発明によれば、第2ストレージ装置にデータの書込みが行えなくても、書込不能期間に第1ストレージ装置に書込んだデータを、書込不能期間の経過後に第1ストレージ装置から読込んで第2ストレージ装置に書込む。このため、第2ストレージ装置にデータ欠損を生じさせず、第2ストレージ装置の信頼性を高めることができる。
上記した以外の課題、構成及び効果は、以下の実施の形態例の説明により明らかにされる。
According to the present invention, even if data cannot be written to the second storage device, data written to the first storage device during the non-writable period is read from the first storage device after the non-writable period elapses. Write to the second storage device. For this reason, it is possible to improve the reliability of the second storage device without causing data loss in the second storage device.
Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明の一実施の形態例に係る蓄積配信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the storage delivery system which concerns on the example of 1 embodiment of this invention. 本発明の一実施の形態例に係る計算機のハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the computer which concerns on the example of 1 embodiment of this invention. 本発明の一実施の形態例に係るファイル管理テーブルが管理する情報の例を示す。図3Aは、ファイル管理テーブルの構成例を示し、図3Bは、ファイル管理テーブルが管理するファイルの書込み状態と読込み状態の一覧表を示す。The example of the information which the file management table concerning one embodiment of this invention manages is shown. FIG. 3A shows a configuration example of the file management table, and FIG. 3B shows a list of write states and read states of files managed by the file management table. 本発明の一実施の形態例に係る通常時における小規模ストレージとRAID装置の書込ファイルの例を示す説明図である。It is explanatory drawing which shows the example of the write file of the small scale storage and RAID apparatus in the normal time which concerns on the example of 1 embodiment of this invention. 本発明の一実施の形態例に係るRAID装置に障害が発生した時における小規模ストレージとRAID装置の書込ファイルの例を示す説明図である。It is explanatory drawing which shows the example of the small file and the write file of a RAID apparatus when a failure generate | occur | produces in the RAID apparatus which concerns on the example of 1 embodiment of this invention. 本発明の一実施の形態例に係るデータ蓄積制御部が小規模ストレージとRAID装置の書込ファイルに書込データを書込む処理の例を示すフローチャートである。It is a flowchart which shows the example of the process in which the data storage control part which concerns on one embodiment of this invention writes write data in the write file of a small scale storage and a RAID apparatus. 図6のステップS2に示したファイルオープン処理の例を示すフローチャートである。It is a flowchart which shows the example of the file open process shown to step S2 of FIG. 図6のステップS4に示した書込処理の例を示すフローチャートである。It is a flowchart which shows the example of the write-in process shown to step S4 of FIG. 図6のステップS8に示したファイルクローズ処理の例を示すフローチャートである。It is a flowchart which shows the example of the file close process shown to FIG.6 S8. 図9のステップS36に示した書き戻し処理の例を示すフローチャートである。10 is a flowchart illustrating an example of a write-back process illustrated in step S36 of FIG. 図6のステップS9に示した過去ファイル削除処理の例を示すフローチャートである。It is a flowchart which shows the example of the past file deletion process shown to step S9 of FIG. 本発明の一実施の形態例に係るデータ配信制御部が小規模ストレージ又はRAID装置の読込ファイルから読込データを読込む処理の例を示すフローチャートである。It is a flowchart which shows the example of the process in which the data delivery control part which concerns on one embodiment of this invention reads read data from the read file of a small scale storage or a RAID apparatus. 図12のステップS62に示した読込ファイルオープン処理の例を示すフローチャートである。It is a flowchart which shows the example of the read file open process shown to step S62 of FIG. 図12のステップS67に示した読込ファイルクローズ処理の例を示すフローチャートである。It is a flowchart which shows the example of the read file close process shown to step S67 of FIG.

以下、本発明の一実施の形態例に係る蓄積配信システムについて、添付図面を参照して説明する。
本明細書及び図面において、実質的に同一の機能又は構成を有する構成要素については、同一の符号を付することにより重複する説明を省略する。
Hereinafter, a storage and delivery system according to an embodiment of the present invention will be described with reference to the accompanying drawings.
In the present specification and drawings, components having substantially the same function or configuration are denoted by the same reference numerals, and redundant description is omitted.

図1は、蓄積配信システム1の構成例を示す。
蓄積配信システム1は、蓄積配信サーバ2とRAID装置9(第2ストレージ装置の一例)を備える。
蓄積配信サーバ2は、データ蓄積制御部3、ファイル管理テーブル4(管理テーブルの一例)、データ配信制御部5及び小規模ストレージ8(第1ストレージ装置の一例)を備える。
FIG. 1 shows a configuration example of a storage / delivery system 1.
The storage / delivery system 1 includes a storage / distribution server 2 and a RAID device 9 (an example of a second storage device).
The accumulation / delivery server 2 includes a data accumulation control unit 3, a file management table 4 (an example of a management table), a data distribution control unit 5, and a small-scale storage 8 (an example of a first storage device).

この蓄積配信サーバ2は、標準的なOS(Operating System)を搭載している。蓄積配信サーバ2は、OSのファイルシステム機能を利用して、小規模ストレージ8とRAID装置9に対してそれぞれファイルをオープンし、データを読み書きした後、ファイルをクローズすることが可能である。   The storage / delivery server 2 is equipped with a standard OS (Operating System). The storage / delivery server 2 can open files to the small-scale storage 8 and the RAID device 9 using the file system function of the OS, read / write data, and then close the files.

ここで、小規模ストレージ8は、所定の記録容量を有している。小規模ストレージ8は、ファイル(1)〜(3)で表される複数のファイル8aに書込まれたデータを蓄積する。
RAID装置9は、小規模ストレージ8よりも大きい記録容量を有している。RAID装置9として、例えば、HDD(Hard disk drive)が用いられる。RAID装置9は、ファイル(m)、(n)、(1)〜(3)で表される複数のファイル9aに書込まれたデータを冗長化して蓄積する。RAID装置9は、例えば、RAID5で構成されている。
Here, the small-scale storage 8 has a predetermined recording capacity. The small-scale storage 8 accumulates data written in a plurality of files 8a represented by files (1) to (3).
The RAID device 9 has a larger recording capacity than the small-scale storage 8. As the RAID device 9, for example, an HDD (Hard disk drive) is used. The RAID device 9 makes data written in a plurality of files 9a represented by files (m), (n), (1) to (3) redundant and accumulates them. The RAID device 9 is composed of, for example, RAID5.

以下の説明では、データ蓄積制御部3が転送元装置20から転送された書込データ22を、小規模ストレージ8に書込むファイル8aと、RAID装置9に書込むファイル9aとを「書込ファイル」と呼ぶ場合がある。逆に、データ配信制御部5が転送先装置30に読込データ32を転送するために、小規模ストレージ8から読込むファイル8aと、RAID装置9から読込むファイル9aを「読込ファイル」と呼ぶ場合がある。そして、書込ファイルと読込ファイルは、同じファイルを指すことがあり、書込データ22と読込データ32も同じデータを指すことがある。   In the following description, the file 8a in which the data storage control unit 3 writes the write data 22 transferred from the transfer source device 20 to the small-scale storage 8 and the file 9a to be written in the RAID device 9 are referred to as “write file”. May be called. Conversely, in order for the data distribution control unit 5 to transfer the read data 32 to the transfer destination device 30, the file 8a read from the small-scale storage 8 and the file 9a read from the RAID device 9 are referred to as “read file”. There is. The write file and the read file may indicate the same file, and the write data 22 and the read data 32 may also indicate the same data.

データ蓄積制御部3は、書込データ22を一時的にバッファリングする書込バッファ6を備える。このデータ蓄積制御部3は、転送元装置20から受信する要求21に従って、転送元装置20から転送された書込データ22を書込バッファ6に一旦バッファリングした後、小規模ストレージ8とRAID装置9の書込ファイルに書込データ22を同時に書込む制御を行う。そして、データ蓄積制御部3は、書込ファイルの管理情報をファイル管理テーブル4に記録する。   The data accumulation control unit 3 includes a write buffer 6 that temporarily buffers the write data 22. The data accumulation control unit 3 temporarily buffers the write data 22 transferred from the transfer source device 20 in the write buffer 6 in accordance with the request 21 received from the transfer source device 20, and then the small storage 8 and the RAID device. Control is performed to simultaneously write the write data 22 into the 9 write files. Then, the data accumulation control unit 3 records the management information of the write file in the file management table 4.

しかし、データ蓄積制御部3は、RAID装置9に何らかの障害が発生すると、RAID装置9の書込ファイルに書込データ22を書込めないことがある。このような場合に、データ蓄積制御部3は、RAID装置9の書込ファイルに書込データ22の書込みが行えない書込不能期間は小規模ストレージ8の書込ファイルに書込データ22を書込む。そして、データ蓄積制御部3は、障害が復旧した書込不能期間の経過後に、書込不能期間に小規模ストレージ8に書込んだ書込データ22を、ファイル管理テーブル4を参照して小規模ストレージ8から読込んで、RAID装置9に書込む。   However, the data storage control unit 3 may not be able to write the write data 22 to the write file of the RAID device 9 if any failure occurs in the RAID device 9. In such a case, the data accumulation control unit 3 writes the write data 22 to the write file of the small-scale storage 8 during the non-writable period when the write data 22 cannot be written to the write file of the RAID device 9. Include. Then, the data accumulation control unit 3 refers to the file management table 4 to write data 22 written to the small-scale storage 8 in the non-writable period after the elapse of the non-writable period after the failure is recovered. Read from the storage 8 and write to the RAID device 9.

ファイル管理テーブル4は、小規模ストレージ8が蓄積するファイル8aと、RAID装置9が蓄積するファイル9aの管理情報(後述する図3を参照)を保持している。ファイル管理テーブル4は、データ蓄積制御部3とデータ配信制御部5によって参照又は更新される。   The file management table 4 holds management information (see FIG. 3 described later) of the file 8a stored in the small-scale storage 8 and the file 9a stored in the RAID device 9. The file management table 4 is referred to or updated by the data accumulation control unit 3 and the data distribution control unit 5.

データ配信制御部5は、読込データ32を一時的にバッファリングする読込バッファ7を備える。そして、データ配信制御部5は、転送先装置30から受信する要求31に従って、小規模ストレージ8又はRAID装置9の読込ファイルから読込んだ読込データ32を読込バッファ7にバッファリングした後、読込データ32として転送先装置30に配信する。同時にデータ配信制御部5は、読込ファイルの管理情報をファイル管理テーブル4に記録する。   The data distribution control unit 5 includes a read buffer 7 that temporarily buffers the read data 32. Then, the data distribution control unit 5 buffers the read data 32 read from the read file of the small-scale storage 8 or the RAID device 9 in the read buffer 7 in accordance with the request 31 received from the transfer destination device 30, and then reads the read data. 32 is distributed to the transfer destination device 30. At the same time, the data distribution control unit 5 records the management information of the read file in the file management table 4.

<計算機のハードウェア構成例>
次に、蓄積配信システム1の各装置を構成する計算機10のハードウェア構成を説明する。
図2は、計算機10のハードウェア構成例を示すブロック図である。
<Example of computer hardware configuration>
Next, the hardware configuration of the computer 10 constituting each device of the storage / delivery system 1 will be described.
FIG. 2 is a block diagram illustrating a hardware configuration example of the computer 10.

計算機10は、いわゆるコンピュータとして用いられるハードウェアであり、蓄積配信サーバ2として用いられる。計算機10は、バス14にそれぞれ接続されたCPU(Central Processing Unit:中央処理装置)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13を備える。さらに、計算機10は、表示部15、操作部16、不揮発性ストレージ17、ネットワークインタフェース18とを備える。   The computer 10 is hardware used as a so-called computer, and is used as the storage / delivery server 2. The computer 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, and a RAM (Random Access Memory) 13 respectively connected to the bus 14. The computer 10 further includes a display unit 15, an operation unit 16, a nonvolatile storage 17, and a network interface 18.

CPU11は、本実施の形態例に係る各機能を実現するソフトウェアのプログラムコードをROM12から読み出して実行する。RAM13には、演算処理の途中に発生した変数やパラメータ等が一時的に書き込まれる。CPU11、ROM12、RAM13を用いて、蓄積配信サーバ2内の各部の機能が実現される。   The CPU 11 reads out the program code of the software that realizes each function according to the present embodiment from the ROM 12 and executes it. In the RAM 13, variables, parameters, and the like generated during the arithmetic processing are temporarily written. Using the CPU 11, ROM 12, and RAM 13, the functions of each unit in the storage / delivery server 2 are realized.

表示部15は、例えば、液晶ディスプレイモニタであり、計算機10で行われる処理の結果等をユーザに表示する。操作部16には、例えば、キーボード、マウス等が用いられ、ユーザが所定の操作入力、指示を行うことが可能である。なお、図1において、表示部15、操作部16の記載を省略している。   The display unit 15 is a liquid crystal display monitor, for example, and displays a result of processing performed by the computer 10 to the user. For example, a keyboard, a mouse, or the like is used for the operation unit 16, and a user can perform predetermined operation inputs and instructions. In FIG. 1, descriptions of the display unit 15 and the operation unit 16 are omitted.

不揮発性ストレージ17としては、例えば、HDD、SSD(Solid State Drive)、フレキシブルディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、メモリカード等が用いられる。この不揮発性ストレージ17には、OS、各種のパラメータの他に、計算機10を機能させるためのプログラムが記録されている。この不揮発性ストレージ17によって、小規模ストレージ8が構成される。小規模ストレージ8では、データ蓄積制御部3及びデータ配信制御部5のアクセス速度を高めるためにSSDが用いられることが望ましい。   As the non-volatile storage 17, for example, HDD, SSD (Solid State Drive), flexible disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, memory card, etc. are used. The nonvolatile storage 17 stores a program for causing the computer 10 to function in addition to the OS and various parameters. This nonvolatile storage 17 constitutes a small-scale storage 8. In the small-scale storage 8, it is desirable to use SSD in order to increase the access speed of the data accumulation control unit 3 and the data distribution control unit 5.

ネットワークインタフェース18には、例えば、NIC(Network Interface Card)等が用いられ、端子が接続されたLAN、専用線、ネットワークのいずれかを介して各種のデータを送受信することが可能である。これにより、蓄積配信サーバ2は、転送元装置20、転送先装置30に接続可能となる。   For example, a network interface card (NIC) or the like is used as the network interface 18, and various types of data can be transmitted / received via any of a LAN, a dedicated line, and a network to which terminals are connected. As a result, the storage / delivery server 2 can be connected to the transfer source device 20 and the transfer destination device 30.

<ファイル管理テーブルの例>
図3は、ファイル管理テーブル4が管理する情報の例を示す。図3Aは、ファイル管理テーブル4の構成例を示し、図3Bは、ファイル管理テーブル4が管理するファイルの書込み状態と読込み状態の一覧表を示す。
<Example of file management table>
FIG. 3 shows an example of information managed by the file management table 4. 3A shows a configuration example of the file management table 4, and FIG. 3B shows a list of write states and read states of files managed by the file management table 4.

図3Aに示すファイル管理テーブル4は、ファイル毎にファイル名を付したレコード(記憶領域)を確保している。そして、ファイル管理テーブル4は、レコード毎に小規模ストレージ用ファイル情報4aとRAID装置用ファイル情報4bを保持している。   The file management table 4 shown in FIG. 3A secures a record (storage area) with a file name for each file. The file management table 4 holds small storage file information 4a and RAID device file information 4b for each record.

小規模ストレージ用ファイル情報4aは、小規模ストレージ8に蓄積されるファイル8aの書込状態、書込開始日時、読込状態、格納場所を管理情報として管理する。
RAID装置用ファイル情報4bは、RAID装置9に蓄積される各ファイル9aの書込状態、書込開始日時、読込状態、格納場所を管理情報として管理する。
The small storage file information 4a manages, as management information, the write state, write start date and time, read state, and storage location of the file 8a stored in the small storage 8.
The RAID device file information 4b manages, as management information, the write state, write start date and time, read state, and storage location of each file 9a stored in the RAID device 9.

以下の説明で小規模ストレージ用ファイル情報4aとRAID装置用ファイル情報4bを区別しない場合には、「ファイル情報」と総称する場合がある。
また、データ蓄積制御部3が書込ファイルに書込データ22を書込むことを「ファイル書込」と呼び、データ配信制御部5が読込ファイルから読込データ32を読込むことを「ファイル読込」と呼ぶ。
In the following description, when the small storage file information 4a and the RAID device file information 4b are not distinguished, they may be collectively referred to as “file information”.
In addition, writing the write data 22 to the write file by the data storage control unit 3 is called “file writing”, and reading the read data 32 from the read file by the data distribution control unit 5 is “file reading”. Call it.

図3Bに示すファイルの書込状態には、“待ち状態”、“ファイル書込中”、“ファイル書込完了”、“ファイル書込エラー”の4種類がある。また、ファイルの読込状態には、“待ち状態”、“ファイル読込中”、“ファイル読込完了”、“ファイル読込エラー”の4種類がある。
例えば、図3Aに示されるファイル(1)のレコードは、小規模ストレージ8とRAID装置9の両方に書込みが完了した状態であり、データ配信制御部5によって小規模ストレージ8の読込ファイルから読込データ32が読込み中であることが分かる。
There are four types of file writing states shown in FIG. 3B: “waiting state”, “file writing in progress”, “file writing complete”, and “file writing error”. There are four types of file reading states: “waiting state”, “file reading in progress”, “file reading complete”, and “file reading error”.
For example, the record of the file (1) shown in FIG. 3A is in a state in which writing to both the small-scale storage 8 and the RAID device 9 is completed, and the data distribution control unit 5 reads the read data from the read file of the small-scale storage 8 It can be seen that 32 is reading.

<ファイル格納方法及びファイル削除方法>
次に、データ蓄積制御部3が小規模ストレージ8とRAID装置9にファイルを格納する方法と、小規模ストレージ8からファイルを削除する方法の例について、図4と図5を参照して説明する。
<File storage method and file deletion method>
Next, an example of a method in which the data accumulation control unit 3 stores a file in the small storage 8 and the RAID device 9 and a method of deleting a file from the small storage 8 will be described with reference to FIGS. 4 and 5. .

図4は、通常時における小規模ストレージ8とRAID装置9の書込ファイルの例を示す。
図4では小規模ストレージ8とRAID装置9の書込ファイルと、経過時間を示す時間軸が示されている。この時間軸には、データ蓄積制御部3が小規模ストレージ8とRAID装置9の書込ファイルに対して行う書込データ22の書込位置が白三角で示されている。書込位置は経過時間の時間軸に沿って上から下に進む。
FIG. 4 shows an example of a write file of the small-scale storage 8 and the RAID device 9 at the normal time.
FIG. 4 shows a write file of the small-scale storage 8 and the RAID device 9 and a time axis indicating the elapsed time. On this time axis, the write position of the write data 22 that the data accumulation control unit 3 performs on the write files of the small-scale storage 8 and the RAID device 9 is indicated by white triangles. The writing position advances from top to bottom along the time axis of elapsed time.

データ蓄積制御部3は、転送元装置20から転送され、書込バッファ6にバッファリングした書込データ22を、小規模ストレージ8とRAID装置9の書込ファイルに同時に書き込む。そして、小規模ストレージ8には、ファイル(1)、ファイル(2)、ファイル(3)の順に、データ蓄積制御部3によって書込データ22が書込まれている。また、RAID装置9には、ファイル(m)、ファイル(n)、ファイル(1)、ファイル(2)、ファイル(3)の順に、データ蓄積制御部3によって書込データ22が書込まれている。   The data accumulation control unit 3 simultaneously writes the write data 22 transferred from the transfer source device 20 and buffered in the write buffer 6 to the write files of the small-scale storage 8 and the RAID device 9. Then, the write data 22 is written in the small-scale storage 8 by the data accumulation control unit 3 in the order of file (1), file (2), and file (3). Further, the write data 22 is written to the RAID device 9 by the data storage control unit 3 in the order of file (m), file (n), file (1), file (2), and file (3). Yes.

上述したように小規模ストレージ8は、RAID装置9と比べて記録容量が少ない。このため、データ蓄積制御部3は、ファイル管理テーブル4を参照し、小規模ストレージ8の空き容量が、小規模ストレージ8に書込む書込ファイルの容量に対して不足する場合に、書込開始日時が古い順に小規模ストレージ8に蓄積された書込ファイルを削除する。図4では、データ蓄積制御部3が、直近に書込んだファイル(1)〜(2)だけを小規模ストレージ8に残し、二点鎖線で示される古いファイル(n)を削除したことが示されている。   As described above, the small-scale storage 8 has a smaller recording capacity than the RAID device 9. Therefore, the data accumulation control unit 3 refers to the file management table 4 and starts writing when the free capacity of the small storage 8 is insufficient with respect to the capacity of the write file to be written to the small storage 8. Write files stored in the small-scale storage 8 are deleted in the order of date and time. FIG. 4 shows that the data storage control unit 3 leaves only the most recently written files (1) to (2) in the small-scale storage 8 and deletes the old file (n) indicated by the two-dot chain line. Has been.

図5は、RAID装置9に障害が発生した時における小規模ストレージ8とRAID装置9の書込ファイルの例を示す。
ここでは、データ蓄積制御部3が小規模ストレージ8とRAID装置9にファイル(3)を同時に書込んでいる途中に、RAID装置9で障害が発生し、RAID装置9が書込不能になったことを想定する。
FIG. 5 shows an example of the small storage 8 and the write file of the RAID device 9 when a failure occurs in the RAID device 9.
Here, a failure occurred in the RAID device 9 while the data accumulation control unit 3 was simultaneously writing the file (3) to the small-scale storage 8 and the RAID device 9, and the RAID device 9 became unwritable. Assume that.

このとき、データ蓄積制御部3は、小規模ストレージ8のファイル(3)だけに書込データ22を書込み、RAID装置9のファイル(3)に対する書込データ22の書込みを停止する。そして、データ蓄積制御部3は、ファイル(3)に対する書込データ22の書込みを終了した後、ファイル(4)に対する書込データ22の書込みを開始する時点で、再びRAID装置9にも書込データ22の書込みを試みる。しかし、RAID装置9に発生した障害が継続していれば、データ蓄積制御部3は、小規模ストレージ8のファイル(4)だけに書込データ22を書込む。   At this time, the data accumulation control unit 3 writes the write data 22 only to the file (3) of the small-scale storage 8, and stops writing the write data 22 to the file (3) of the RAID device 9. Then, the data storage control unit 3 finishes writing the write data 22 to the file (3) and then starts writing the write data 22 to the file (4) again. Attempts to write data 22. However, if the failure that has occurred in the RAID device 9 continues, the data accumulation control unit 3 writes the write data 22 only to the file (4) in the small-scale storage 8.

RAID装置9が障害から復旧すると、データ蓄積制御部3は、小規模ストレージ8とRAID装置9のファイル(5)に書込データ22を同時に書込む。そして、データ蓄積制御部3は、小規模ストレージ8のファイル(3)、(4)に書込まれた書込データ22を読出して、RAID装置9のファイル(3)、(4)に書込データ22を書込む。以降は、図4に示した処理と同じ内容となる。   When the RAID device 9 recovers from the failure, the data accumulation control unit 3 simultaneously writes the write data 22 in the small-scale storage 8 and the file (5) of the RAID device 9. Then, the data accumulation control unit 3 reads the write data 22 written in the files (3) and (4) of the small-scale storage 8 and writes them in the files (3) and (4) of the RAID device 9. Data 22 is written. Thereafter, the same processing as that shown in FIG. 4 is performed.

<データ蓄積制御部の処理の例>
次に、データ蓄積制御部3の処理の例について、図6〜図11を参照して説明する。
図6は、データ蓄積制御部3が小規模ストレージ8とRAID装置9の書込ファイルに書込データ22を書込む処理の例を示すフローチャートである。なお、データ蓄積制御部3が書込バッファ6に書込データ22をバッファリングする処理の説明は省略する。
<Example of processing of data storage control unit>
Next, an example of processing of the data accumulation control unit 3 will be described with reference to FIGS.
FIG. 6 is a flowchart illustrating an example of a process in which the data accumulation control unit 3 writes the write data 22 to the write file of the small-scale storage 8 and the RAID device 9. A description of the process in which the data accumulation control unit 3 buffers the write data 22 in the write buffer 6 is omitted.

始めに、データ蓄積制御部3は、ファイル書込開始要求が含まれる要求21を待つ(S1)。そして、データ蓄積制御部3は、転送元装置20から受信した要求21からファイル書込開始要求を取り出すと、小規模ストレージ8とRAID装置9の書込ファイルをオープンするファイルオープン処理を行う(S2)。データ蓄積制御部3は、書込ファイルをオープンした後、転送元装置20から書込データ22を受信する(S3)。そして、データ蓄積制御部3は、小規模ストレージ8とRAID装置9の書込ファイルに書込データ22を書込む書込み処理を行う(S4)。   First, the data accumulation control unit 3 waits for a request 21 including a file writing start request (S1). When the data storage control unit 3 extracts a file write start request from the request 21 received from the transfer source device 20, the data storage control unit 3 performs a file open process for opening the write file of the small-scale storage 8 and the RAID device 9 (S2). ). The data accumulation control unit 3 opens the write file and then receives the write data 22 from the transfer source device 20 (S3). Then, the data accumulation control unit 3 performs a write process for writing the write data 22 into the write files of the small-scale storage 8 and the RAID device 9 (S4).

次に、データ蓄積制御部3は、書込処理の結果を取得し、小規模ストレージ8とRAID装置9の両方に対して書込エラーが発生したかどうかを判定する(S5)。データ蓄積制御部3は、両方に書込エラーが発生したと判定すると、ファイルオープン処理で用意したファイル管理テーブル4の登録用レコードに小規模ストレージ8の書込状態として“ファイル書込みエラー”を記録する書込エラー応答を行う(S6)。そして、データ蓄積制御部3は、ステップS1に遷移して次のファイル書込開始要求を待つ。   Next, the data accumulation control unit 3 acquires the result of the writing process, and determines whether a writing error has occurred in both the small-scale storage 8 and the RAID device 9 (S5). When the data accumulation control unit 3 determines that a write error has occurred in both, the data storage control unit 3 records “file write error” as the write state of the small-scale storage 8 in the registration record of the file management table 4 prepared in the file open process. A write error response is made (S6). Then, the data accumulation control unit 3 transitions to step S1 and waits for the next file write start request.

データ蓄積制御部3は、ステップS5にて小規模ストレージ8とRAID装置9の両方又は片方に対するファイル書込みが成功したと判定すると、受信した書込データ22が最終データであるかどうかを確認する(S7)。データ蓄積制御部3は、書込データ22が最終データでないことを確認すると、再びステップS3に遷移して、次に受信する書込データ22の書込処理(S4)を行う。   If the data accumulation control unit 3 determines in step S5 that the file writing to both or one of the small-scale storage 8 and the RAID device 9 has succeeded, it confirms whether or not the received write data 22 is the final data ( S7). When the data accumulation control unit 3 confirms that the write data 22 is not the final data, the data accumulation control unit 3 transitions again to step S3 and performs the write process (S4) of the next received write data 22.

データ蓄積制御部3は、書込データ22が最終データであることを確認すると、書込ファイルをクローズするファイルクローズ処理を行う(S8)。その後、データ蓄積制御部3は、小規模ストレージ8から一定時間を経過した過去ファイルを削除する過去ファイル削除処理を行い(S9)、ステップS1に遷移して次のファイル書込開始要求を待つ。   When confirming that the write data 22 is the final data, the data accumulation control unit 3 performs a file close process for closing the write file (S8). Thereafter, the data accumulation control unit 3 performs past file deletion processing for deleting a past file that has passed a predetermined time from the small-scale storage 8 (S9), and transitions to step S1 to wait for the next file write start request.

図7は、図6のステップS2に示したファイルオープン処理の例を示すフローチャートである。
このファイルオープン処理において、データ蓄積制御部3は、小規模ストレージ8の書込ファイルをオープンし(S11)、書込ファイルのオープンが成功したかどうかを判定する(S12)。
FIG. 7 is a flowchart showing an example of the file open process shown in step S2 of FIG.
In this file open process, the data accumulation control unit 3 opens a write file in the small-scale storage 8 (S11), and determines whether the write file has been successfully opened (S12).

データ蓄積制御部3は、小規模ストレージ8の書込ファイルのオープンに失敗したと判定すると、オープンに失敗した書込ファイルのファイル情報を管理するための登録用レコードをファイル管理テーブル4に用意する。そして、データ蓄積制御部3は、この登録用レコードに小規模ストレージ8の書込状態として“ファイル書込エラー”をセットする(S13)。   If the data accumulation control unit 3 determines that the opening of the write file in the small-scale storage 8 has failed, it prepares a registration record in the file management table 4 for managing the file information of the write file that has failed to open. . Then, the data accumulation control unit 3 sets “file writing error” as the writing state of the small-scale storage 8 in this registration record (S13).

一方、データ蓄積制御部3は、小規模ストレージ8の書込ファイルのオープンに成功したと判定すると、オープンに成功した書込ファイルのファイル情報を管理するための登録用レコードをファイル管理テーブル4に用意する。そして、データ蓄積制御部3は、この登録用レコードに小規模ストレージ8の書込ファイルに対する書込データ22の書込開始日時、書込ファイルの格納場所をセットし、書込状態に“ファイル書込中”をセットする(S14)。   On the other hand, when the data accumulation control unit 3 determines that the writing file of the small-scale storage 8 has been successfully opened, the data storage control unit 3 stores a registration record for managing file information of the writing file that has been successfully opened in the file management table 4. prepare. Then, the data accumulation control unit 3 sets the write start date and time of the write data 22 for the write file in the small-scale storage 8 and the storage location of the write file in this registration record. "In-loading" is set (S14).

次に、データ蓄積制御部3は、RAID装置9の書込ファイルをオープンする(S15)。そして、データ蓄積制御部3は、RAID装置9の書込ファイルのオープンが成功したかどうかを判定する(S16)。   Next, the data accumulation control unit 3 opens a write file of the RAID device 9 (S15). Then, the data accumulation control unit 3 determines whether or not the write file of the RAID device 9 has been successfully opened (S16).

データ蓄積制御部3は、RAID装置9の書込ファイルのオープンに失敗したと判定すると、ファイル管理テーブル4に用意された登録用レコードにRAID装置9の書込状態として“ファイル書込エラー”をセットする(S17)。   If the data storage control unit 3 determines that the RAID device 9 has failed to open the write file, the data storage control unit 3 displays “file write error” as the write state of the RAID device 9 in the registration record prepared in the file management table 4. Set (S17).

RAID装置9の書込ファイルのオープンに成功した場合は、ファイル管理テーブル4に用意された登録用レコードにRAID装置9の書込ファイルの格納場所をセットし、書込状態に“ファイル書込中”をセットする(S18)。ステップS17、S18で情報がセットされる登録用レコードはステップS13、S14でデータ蓄積制御部3が用意したものである。   When the write file of the RAID device 9 has been successfully opened, the storage location of the write file of the RAID device 9 is set in the registration record prepared in the file management table 4 and the write status is “writing file” "Is set (S18). The registration record in which information is set in steps S17 and S18 is prepared by the data accumulation control unit 3 in steps S13 and S14.

図8は、図6のステップS4に示した書込処理の例を示すフローチャートである。
この書込処理において、データ蓄積制御部3は、ファイル管理テーブル4を参照し、書込ファイルの小規模ストレージ用ファイル情報4aとRAID装置用ファイル情報4bを読み出す(S21)。
FIG. 8 is a flowchart showing an example of the writing process shown in step S4 of FIG.
In this writing process, the data accumulation control unit 3 refers to the file management table 4 and reads the small storage file information 4a and the RAID device file information 4b of the write file (S21).

次に、データ蓄積制御部3は、読出した小規模ストレージ用ファイル情報4aより、小規模ストレージ8の書込ファイルの書込状態が“ファイル書込中”であるかどうかを判定する(S22)。そして、書込状態が“ファイル書込中”でなければ、データ蓄積制御部3はステップS26に遷移する。   Next, the data accumulation control unit 3 determines whether or not the writing state of the writing file in the small-scale storage 8 is “file writing in progress” based on the read-out small storage file information 4a (S22). . If the writing state is not “file writing in progress”, the data accumulation control unit 3 proceeds to step S26.

しかし、書込状態が“ファイル書込中”であれば、データ蓄積制御部3は、小規模ストレージ8の書込ファイルに書込データ22を書込む(S23)。なお、データ蓄積制御部3は、RAID装置9にデータの書込みが行えない書込不能期間においても、小規模ストレージ8の書込ファイルの書込状態が“ファイル書込中”であれば、小規模ストレージ8の書込ファイルに書込データ22を書込むことが可能である。ステップS23の後、データ蓄積制御部3は、小規模ストレージ8へのファイル書込が成功したかどうかを判定する(S24)。   However, if the writing state is “file writing”, the data accumulation control unit 3 writes the write data 22 to the write file in the small-scale storage 8 (S23). Note that the data accumulation control unit 3 is small if the write state of the write file in the small-scale storage 8 is “file writing in progress” even during a non-writable period in which data cannot be written to the RAID device 9. It is possible to write the write data 22 to the write file of the scale storage 8. After step S23, the data accumulation control unit 3 determines whether the file writing to the small-scale storage 8 is successful (S24).

データ蓄積制御部3は、小規模ストレージ8へのファイル書込が失敗したと判定すると、小規模ストレージ用ファイル情報4aの書込状態に“ファイル書込エラー”をセットする(S25)。一方、データ蓄積制御部3は、小規模ストレージ8へのファイル書込が成功したと判定すると、ステップS26に遷移する。   If the data accumulation control unit 3 determines that the file writing to the small-scale storage 8 has failed, it sets “file writing error” to the writing state of the small-scale storage file information 4a (S25). On the other hand, if the data accumulation control unit 3 determines that the file writing to the small-scale storage 8 is successful, the process proceeds to step S26.

次に、データ蓄積制御部3は、ステップS21で読出したRAID装置用ファイル情報4bよりRAID装置9の書込ファイルの書込状態が“ファイル書込中”であるかどうかを判定する(S26)。書込状態が“ファイル書込中”でなければ、データ蓄積制御部3は書込処理を終了する。   Next, the data accumulation control unit 3 determines whether the write state of the write file of the RAID device 9 is “file writing” from the RAID device file information 4b read in step S21 (S26). . If the writing state is not “writing file”, the data accumulation control unit 3 ends the writing process.

しかし、書込状態が“ファイル書込中”であれば、データ蓄積制御部3は、RAID装置9の書込ファイルに書込データ22を書込む(S27)。そして、データ蓄積制御部3は、RAID装置9へのファイル書込が成功したかどうかを判定する(S28)。   However, if the writing state is “file writing”, the data accumulation control unit 3 writes the write data 22 to the write file of the RAID device 9 (S27). Then, the data accumulation control unit 3 determines whether the file writing to the RAID device 9 is successful (S28).

データ蓄積制御部3は、RAID装置9へのファイル書込が失敗したと判定すると、RAID装置用ファイル情報4bの書込状態に“ファイル書込エラー”をセットする(S29)。一方、データ蓄積制御部3は、RAID装置9へのファイル書込が成功したと判定すると、書込処理を終了する。   If the data storage control unit 3 determines that the file writing to the RAID device 9 has failed, it sets “file writing error” to the writing state of the RAID device file information 4b (S29). On the other hand, when the data accumulation control unit 3 determines that the file writing to the RAID device 9 is successful, the writing process is terminated.

図9は、図6のステップS8に示したファイルクローズ処理の例を示すフローチャートである。
このファイルクローズ処理において、データ蓄積制御部3は、小規模ストレージ8の書込ファイルに書込エラーが発生したか否か、つまり小規模ストレージ用ファイル情報4aの書込状態が“ファイル書込エラー”であるかどうかを判定する(S31)。データ蓄積制御部3は、書込状態が“ファイル書込エラー”であると判定すると、ステップS34に遷移する。
FIG. 9 is a flowchart showing an example of the file close process shown in step S8 of FIG.
In this file close process, the data accumulation control unit 3 determines whether or not a write error has occurred in the write file of the small storage 8, that is, the write state of the small storage file information 4a is “file write error”. Is determined (S31). If the data accumulation control unit 3 determines that the write state is “file write error”, the process proceeds to step S34.

一方、データ蓄積制御部3は、書込状態が“ファイル書込エラー”以外であると判定すると、小規模ストレージ8の書込ファイルをクローズする(S32)。そして、データ蓄積制御部3は、小規模ストレージ用ファイル情報4aの書込状態に“ファイル書込完了”をセットする(S33)。   On the other hand, when determining that the writing state is other than “file writing error”, the data accumulation control unit 3 closes the writing file in the small-scale storage 8 (S32). Then, the data accumulation control unit 3 sets “file writing complete” in the writing state of the small storage file information 4a (S33).

次に、データ蓄積制御部3は、RAID装置9の書込ファイルに書込エラーが発生し、RAID装置用ファイル情報4bの書込状態が“ファイル書込エラー”であるかどうかを判定する(S34)。データ蓄積制御部3は、書込状態が“ファイル書込エラー”であると判定すると、小規模ストレージ8へのファイル書込が正常に完了しているかどうかを判定する(S35)。   Next, the data accumulation control unit 3 determines whether or not a write error has occurred in the write file of the RAID device 9 and the write state of the RAID device file information 4b is “file write error” ( S34). When determining that the writing state is “file writing error”, the data accumulation control unit 3 determines whether or not the file writing to the small-scale storage 8 has been normally completed (S35).

ステップS35にて小規模ストレージ8へのファイル書込が正常に完了していないと判定されると、データ蓄積制御部3は、ファイルクローズ処理を終了する。一方、データ蓄積制御部3は、小規模ストレージ8へのファイル書込が正常に完了していると判定すると、書き戻し処理(S36)を行う。この書き戻し処理は、データ蓄積制御部3が、RAID装置9に書込みが行えない書込不能期間に小規模ストレージ8に書込んだファイルを、RAID装置9への書込みを再開したときに小規模ストレージ8から読込み、RAID装置9に書込む処理である。データ蓄積制御部3は、書き戻し処理の終了後、ファイルクローズ処理を終了する。   If it is determined in step S35 that the file writing to the small-scale storage 8 has not been normally completed, the data accumulation control unit 3 ends the file closing process. On the other hand, if the data accumulation control unit 3 determines that the file writing to the small-scale storage 8 has been normally completed, the data accumulation control unit 3 performs a write-back process (S36). This write-back process is performed when the data storage control unit 3 resumes writing to the RAID device 9 the file that was written to the small-scale storage 8 during the unwritable period during which writing to the RAID device 9 cannot be performed. This is a process of reading from the storage 8 and writing to the RAID device 9. The data storage control unit 3 ends the file close process after the write back process ends.

ステップS34にてRAID装置用ファイル情報4bの書込状態が“ファイル書込エラー”以外であると判定されると、データ蓄積制御部3は、RAID装置9の書込ファイルをクローズする(S37)。そして、データ蓄積制御部3は、RAID装置用ファイル情報4bの書込状態に“ファイル書込完了”をセットし(S38)、ファイルクローズ処理を終了する。   If it is determined in step S34 that the write state of the RAID device file information 4b is other than “file write error”, the data storage control unit 3 closes the write file of the RAID device 9 (S37). . Then, the data accumulation control unit 3 sets “file writing complete” in the writing state of the RAID device file information 4b (S38), and ends the file closing process.

図10は、図9のステップS36に示した書き戻し処理の例を示すフローチャートである。
この書き戻し処理において、データ蓄積制御部3は、ファイル管理テーブル4の全レコードをサーチして、RAID装置用ファイル情報4bを読出す(S41)。書き戻し処理が行われるファイルは、小規模ストレージ用ファイル情報4aの書込状態が“ファイル書込完了”であり、かつ、RAID装置用ファイル情報4bの書込状態が“ファイル書込エラー”となるファイルである。
FIG. 10 is a flowchart showing an example of the write-back process shown in step S36 of FIG.
In this write-back process, the data accumulation control unit 3 searches all records in the file management table 4 and reads the RAID device file information 4b (S41). In the file to be written back, the writing state of the small storage file information 4a is “file writing complete” and the writing state of the RAID device file information 4b is “file writing error”. It is a file.

次に、データ蓄積制御部3は、RAID装置9へのファイル書込が可能であるかどうかを判定する(S42)。データ蓄積制御部3は、RAID装置9へのファイル書込ができないと判定すると、リトライ回数が規定値以下であるかどうかを判定する(S43)。このリトライ回数は、データ蓄積制御部3が、RAID装置9にファイル書込みができなかった場合に、再びRAID装置9にファイル書込を試みる回数である。   Next, the data accumulation control unit 3 determines whether file writing to the RAID device 9 is possible (S42). If the data storage control unit 3 determines that the file cannot be written to the RAID device 9, the data storage control unit 3 determines whether the number of retries is equal to or less than a specified value (S43). The number of retries is the number of times the data storage control unit 3 tries to write a file to the RAID device 9 again when the file cannot be written to the RAID device 9.

データ蓄積制御部3は、リトライ回数が規定値以下であると判定すると、一定時間スリープした後(S45)、ステップS42に遷移して、再びRAID装置9への書込みが可能かどうかを判定する。   If the data accumulation control unit 3 determines that the number of retries is less than or equal to the specified value, after sleeping for a predetermined time (S45), the data accumulation control unit 3 transitions to step S42 and determines again whether writing to the RAID device 9 is possible.

ステップS43にてリトライ回数が規定値を超えたと判定されると、ファイル管理テーブルのRAID装置用ファイル情報4bの書込状態に“ファイル書込エラー”をセットし(S45)、データ蓄積制御部3は書き戻し処理を終了する。   If it is determined in step S43 that the number of retries has exceeded the specified value, “file write error” is set in the write state of the RAID device file information 4b in the file management table (S45), and the data accumulation control unit 3 Ends the write-back process.

ステップS42にてRAID装置9へのファイル書込が可能であると判定されると、データ蓄積制御部3は、RAID装置用ファイル情報4bの書込状態に“ファイル書込中”をセットする(S46)。そして、データ蓄積制御部3は、小規模ストレージ8から読み出した書込データ22をRAID装置9の書込ファイルに書込む(S47)。   If it is determined in step S42 that file writing to the RAID device 9 is possible, the data accumulation control unit 3 sets “file writing in progress” to the write state of the RAID device file information 4b ( S46). Then, the data accumulation control unit 3 writes the write data 22 read from the small-scale storage 8 into the write file of the RAID device 9 (S47).

その後、データ蓄積制御部3は、RAID装置9へのファイル書込みが完了すると、RAID装置用ファイル情報4bの書込状態に“ファイル書込完了”をセットする(S48)。そして、データ蓄積制御部3は、RAID装置9の書込ファイルをクローズして(S49)、書き戻し処理を終了する。   Thereafter, when the file writing to the RAID device 9 is completed, the data accumulation control unit 3 sets “file writing complete” in the writing state of the RAID device file information 4b (S48). Then, the data accumulation control unit 3 closes the write file of the RAID device 9 (S49) and ends the write back process.

図11は、図6のステップS9に示した過去ファイル削除処理の例を示すフローチャートである。
この過去ファイル削除処理において、データ蓄積制御部3は、小規模ストレージ8の蓄積済み容量が、予め設定した閾値を超えたかどうかを判定する(S51)。データ蓄積制御部3は、小規模ストレージ8の蓄積済み容量が閾値以下であると判定すると、過去ファイル削除処理を終了する。
FIG. 11 is a flowchart showing an example of the past file deletion process shown in step S9 of FIG.
In this past file deletion process, the data accumulation control unit 3 determines whether or not the accumulated capacity of the small-scale storage 8 has exceeded a preset threshold value (S51). If the data accumulation control unit 3 determines that the accumulated capacity of the small-scale storage 8 is equal to or less than the threshold value, the past file deletion process ends.

一方、データ蓄積制御部3は、小規模ストレージ8の蓄積済み容量が閾値を超えたと判定すると、小規模ストレージ8に書込まれて一定期間が経過した書込ファイルのレコードを小規模ストレージ用ファイル情報4aから取得する(S52)。このとき、データ蓄積制御部3は、ファイル管理テーブル4の全レコードをチェックし、書込開始時刻が最も古い書込ファイルの小規模ストレージ用ファイル情報4aをファイル管理テーブル4から取得している。   On the other hand, when the data accumulation control unit 3 determines that the accumulated capacity of the small-scale storage 8 has exceeded the threshold value, the data accumulation control unit 3 writes the record of the write file that has been written to the small-scale storage 8 and has passed a certain period of time as a small-size storage file. Obtained from the information 4a (S52). At this time, the data accumulation control unit 3 checks all records in the file management table 4 and obtains from the file management table 4 the small storage file information 4a of the write file with the oldest write start time.

次に、データ蓄積制御部3は、小規模ストレージ用ファイル情報4aのレコードに示される読込状態が“ファイル読込中”であるかどうかを判定する(S53)。データ蓄積制御部3は、小規模ストレージ8から削除する対象となる書込ファイルの読込状態が“ファイル読込中”であると判定すると、この書込ファイルはデータ配信制御部5によって読込まれている途中であるため、削除できない。この場合、データ蓄積制御部3は過去ファイル削除処理を終了する。そして、データ蓄積制御部3は、削除する対象となる書込ファイルとは異なる書込ファイルを小規模ストレージ8から削除する。このとき、小規模ストレージ8から削除される書込ファイルは、例えば、書込開始時刻が2番目に古い書込ファイルである。   Next, the data accumulation control unit 3 determines whether or not the reading state indicated in the record of the small storage file information 4a is “reading file” (S53). When the data accumulation control unit 3 determines that the read state of the write file to be deleted from the small-scale storage 8 is “reading file”, the write file is read by the data distribution control unit 5. Cannot be deleted because it is in the middle. In this case, the data accumulation control unit 3 ends the past file deletion process. Then, the data accumulation control unit 3 deletes the write file different from the write file to be deleted from the small-scale storage 8. At this time, the write file deleted from the small-scale storage 8 is, for example, the write file with the second oldest writing start time.

ステップS53にて読込状態が“ファイル読込中”でないと判定されると、データ蓄積制御部3は、小規模ストレージ8から該当する書込ファイルを削除する(S54)。そして、データ蓄積制御部3は、削除した書込ファイルの小規模ストレージ用ファイル情報4aとRAID装置用ファイル情報4bのレコードをファイル管理テーブル4から削除して(S55)、過去ファイル削除処理を終了する。   If it is determined in step S53 that the reading state is not “file reading”, the data accumulation control unit 3 deletes the corresponding write file from the small-scale storage 8 (S54). Then, the data accumulation control unit 3 deletes the records of the small storage file information 4a and the RAID device file information 4b of the deleted write file from the file management table 4 (S55), and ends the past file deletion process. To do.

<データ配信制御部の処理の例>
次に、データ配信制御部5の処理の例について、図12〜図14を参照して説明する。
図12は、データ配信制御部5が小規模ストレージ8又はRAID装置9の読込ファイルから読込データ32を読込む処理の例を示すフローチャートである。なお、データ配信制御部5が小規模ストレージ8とRAID装置9の読込ファイルから読み込んだ読込データ32を読込バッファ7にバッファリングする処理の説明は省略する。
<Example of processing of data distribution control unit>
Next, an example of processing of the data distribution control unit 5 will be described with reference to FIGS.
FIG. 12 is a flowchart illustrating an example of processing in which the data distribution control unit 5 reads the read data 32 from the read file of the small-scale storage 8 or the RAID device 9. The description of the process in which the data distribution control unit 5 buffers the read data 32 read from the read files of the small-scale storage 8 and the RAID device 9 in the read buffer 7 is omitted.

始めに、データ配信制御部5は、小規模ストレージ8又はRAID装置9の読込ファイルから読込データ32を読み込むために要求31に含まれるファイル読込開始要求を待つ(S61)。データ配信制御部5は、転送先装置30から要求31を受信し、ファイル読込開始要求を読出すと、読込ファイルのオープン処理を行う(S62)。   First, the data distribution control unit 5 waits for a file read start request included in the request 31 in order to read the read data 32 from the read file of the small-scale storage 8 or the RAID device 9 (S61). When the data distribution control unit 5 receives the request 31 from the transfer destination device 30 and reads the file read start request, the data distribution control unit 5 performs a read file open process (S62).

次に、データ配信制御部5は、転送先装置30からの要求31に含まれる読込ファイルの読込要求を待つ(S63)。次に、データ配信制御部5は、要求31から読込要求を取得すると、小規模ストレージ8又はRAID装置9の読込ファイルをオープンし、この読込ファイルから読込要求された読込データ32を読み込む(S64)。なお、データ配信制御部5は、RAID装置9の書込不能期間であれば、小規模ストレージ8の読込ファイルから読込データ32を読込む。そして、データ配信制御部5は、読込データ32を転送先装置30に転送する読込データ応答を行う(S65)。   Next, the data distribution control unit 5 waits for a read request for the read file included in the request 31 from the transfer destination device 30 (S63). Next, when acquiring the read request from the request 31, the data distribution control unit 5 opens the read file of the small-scale storage 8 or the RAID device 9, and reads the read data 32 requested to be read from this read file (S64). . Note that the data distribution control unit 5 reads the read data 32 from the read file of the small-scale storage 8 if the RAID device 9 is in a writable period. Then, the data distribution control unit 5 makes a read data response for transferring the read data 32 to the transfer destination device 30 (S65).

その後、データ配信制御部5は、読込データ応答を行った読込データ32が読込ファイル内の最終データであるかどうかを判定する(S66)。データ配信制御部5は、読込データ応答を行った読込データ32が読込ファイル内の最終データでないと判定すると、ステップS63に遷移して、再び読込ファイルから読込データ32を読み込む。   Thereafter, the data distribution control unit 5 determines whether or not the read data 32 that has made the read data response is the final data in the read file (S66). If the data distribution control unit 5 determines that the read data 32 that has made the read data response is not the final data in the read file, the data distribution control unit 5 transitions to step S63 to read the read data 32 from the read file again.

一方、データ配信制御部5は、読込データ応答を行った読込データ32が読込ファイル内の最終データであると判定すると、読込ファイルクローズ処理を行う(S67)。その後、データ配信制御部5は、ステップS61に遷移して、再びファイル読込開始要求を待つ。   On the other hand, if the data distribution control unit 5 determines that the read data 32 that has received the read data response is the final data in the read file, the data distribution control unit 5 performs a read file closing process (S67). Thereafter, the data distribution control unit 5 transitions to step S61 and waits for a file reading start request again.

図13は、図12のステップS62に示した読込ファイルオープン処理の例を示すフローチャートである。
この読込ファイルオープン処理において、データ配信制御部5は、転送先装置30から読込開始要求によって指定された読込ファイルの小規模ストレージ用ファイル情報4aとRAID装置用ファイル情報4bをファイル管理テーブル4から取得する(S71)。そして、データ配信制御部5は、指定された読込ファイルが小規模ストレージ8に存在するかどうかを判定する(S72)。
FIG. 13 is a flowchart showing an example of the read file open process shown in step S62 of FIG.
In this read file open process, the data distribution control unit 5 acquires from the file management table 4 the small storage file information 4a and the RAID device file information 4b of the read file designated by the read start request from the transfer destination device 30. (S71). Then, the data distribution control unit 5 determines whether or not the designated read file exists in the small-scale storage 8 (S72).

ここで、小規模ストレージ8は、RAID装置9よりもデータ蓄積制御部3が書込ファイルに書込データ22を書込むアクセス速度、及びデータ配信制御部5が読込ファイルから読込データ32を読込むアクセス速度が速い。このため、データ配信制御部5は、小規模ストレージ8及びRAID装置9に同じデータの読込ファイルが蓄積されていれば、小規模ストレージ8の読込ファイルから優先して読込データ32を読込んで転送先装置30に転送する。   Here, in the small-scale storage 8, the access speed at which the data storage control unit 3 writes the write data 22 to the write file than the RAID device 9, and the data distribution control unit 5 reads the read data 32 from the read file. The access speed is fast. For this reason, if the read file of the same data is accumulated in the small-scale storage 8 and the RAID device 9, the data distribution control unit 5 reads the read data 32 preferentially from the read file of the small-scale storage 8 and transfers it to the transfer destination. Transfer to device 30.

ステップS72にて指定された読込ファイルが小規模ストレージ8に存在しないと判定されると、データ配信制御部5は、RAID装置9に読込ファイルが存在するかどうかを判定する(S73)。データ配信制御部5は、RAID装置9にも読込ファイルが存在しないと判定すると、転送先装置30に対し読込ファイルの転送不可である旨を通知して、読込ファイルオープン処理を終了する。   If it is determined in step S72 that the read file specified does not exist in the small-scale storage 8, the data distribution control unit 5 determines whether or not the read file exists in the RAID device 9 (S73). If the data distribution control unit 5 determines that the read file does not exist in the RAID device 9, the data distribution control unit 5 notifies the transfer destination device 30 that the read file cannot be transferred, and ends the read file open process.

ステップS73にて指定された読込ファイルがRAID装置9に存在すると判定されると、データ配信制御部5は、読込対象としてRAID装置9の読込ファイルをオープンする(S74)。そして、データ配信制御部5は、RAID装置用ファイル情報4bの書込状態に“ファイル読込中”をセットして(S75)、読込ファイルオープン処理を終了する。   If it is determined that the read file specified in step S73 exists in the RAID device 9, the data distribution control unit 5 opens the read file of the RAID device 9 as a read target (S74). Then, the data distribution control unit 5 sets “reading file” to the write state of the RAID device file information 4b (S75), and ends the read file open process.

ステップS72にて指定された読込ファイルが小規模ストレージ8に存在すると判定されると、データ配信制御部5は、読込対象として小規模ストレージ8の読込ファイルをオープンする(S76)。そして、データ配信制御部5は、小規模ストレージ用ファイル情報4aの書込状態に“ファイル読込中”をセットして(S77)、読込ファイルオープン処理を終了する。   If it is determined that the read file specified in step S72 exists in the small-scale storage 8, the data distribution control unit 5 opens the read file in the small-scale storage 8 as a read target (S76). Then, the data distribution control unit 5 sets “reading file” in the writing state of the small storage file information 4a (S77), and ends the read file open process.

図14は、図12のステップS67に示した読込ファイルクローズ処理の例を示すフローチャートである。
この読込ファイルクローズ処理において、データ配信制御部5は、ファイル管理テーブル4を参照し(S81)、読込ファイルの小規模ストレージ用ファイル情報4aを取得する。そして、データ配信制御部5は、小規模ストレージ8から読込ファイルを読込んだかどうかを判定する(S82)。
FIG. 14 is a flowchart showing an example of the read file close process shown in step S67 of FIG.
In this read file close process, the data distribution control unit 5 refers to the file management table 4 (S81), and acquires the small storage file information 4a of the read file. Then, the data distribution control unit 5 determines whether or not the read file has been read from the small-scale storage 8 (S82).

データ配信制御部5は、小規模ストレージ8から読込ファイルを読込んでいないと判定すると、RAID装置用ファイル情報4bの読込状態に“ファイル読込完了”をセットし(S83)、RAID装置9の読込ファイルをクローズする(S85)。   If the data distribution control unit 5 determines that the read file has not been read from the small-scale storage 8, it sets “file read complete” to the read state of the RAID device file information 4 b (S 83), and the read file of the RAID device 9. Is closed (S85).

一方、データ配信制御部5は、小規模ストレージ8から読込ファイルを読込んだと判定すると、小規模ストレージ用ファイル情報4aの読込状態に“ファイル読込完了”をセットし(S84)、小規模ストレージ8の読込ファイルをクローズする(S85)。   On the other hand, if the data distribution control unit 5 determines that the read file has been read from the small-scale storage 8, it sets “file read complete” to the read state of the small-scale storage file information 4a (S84). The read file 8 is closed (S85).

以上説明した一実施の形態例に係る蓄積配信システム1によれば、RAID装置9の全体をミラーリング構成とするのではなく、RAID装置9の他に小規模ストレージ8を設けている。そして、データ蓄積制御部3が小規模ストレージ8とRAID装置9に直近に書込んだファイルだけを二重化している。この蓄積配信システム1は、従来のようにRAID装置9と同じ規模のストレージ装置をミラーリング構成ではないので、蓄積配信システム1の構築コスト、運用コストを下げることができる。このため、蓄積配信システム1が大規模になるほど、システム全体のコストパフォーマンスを上げることができる。   According to the storage / distribution system 1 according to the embodiment described above, the entire RAID device 9 is not configured in a mirroring configuration, but a small-scale storage 8 is provided in addition to the RAID device 9. Only the files most recently written to the small-scale storage 8 and the RAID device 9 by the data accumulation control unit 3 are duplicated. Since the storage / distribution system 1 does not have a mirroring configuration of storage devices of the same scale as the RAID device 9 as in the prior art, the construction cost and operation cost of the storage / distribution system 1 can be reduced. For this reason, the larger the storage distribution system 1, the higher the cost performance of the entire system.

また、ファイル管理テーブル4には、小規模ストレージ8に蓄積されるファイル8aのファイル情報と、RAID装置9に蓄積されるファイル9aのファイル情報が管理されている。そして、RAID装置9に障害が発生している間、データ蓄積制御部3は、小規模ストレージ8の書込ファイルに書込データ22を書込んでいる。このため、データ蓄積制御部3は、ファイル管理テーブル4を参照することで、RAID装置9へのファイル書込が停止した期間にRAID装置9では欠損していた書込ファイルが小規模ストレージ8に存在することが分かる。また、データ蓄積制御部3は、RAID装置9の障害が復旧すると、障害発生期間に小規模ストレージ8に書込まれた書込ファイルの書込データ22を小規模ストレージ8から読込んだ後、RAID装置9に書き戻す。これによりRAID装置9のデータに欠損が生じず、RAID装置9の信頼性を高めることができる。   The file management table 4 manages file information of the file 8a stored in the small-scale storage 8 and file information of the file 9a stored in the RAID device 9. While the RAID device 9 is faulty, the data accumulation control unit 3 writes the write data 22 in the write file of the small-scale storage 8. For this reason, the data accumulation control unit 3 refers to the file management table 4 so that the write file missing in the RAID device 9 during the period when the file writing to the RAID device 9 is stopped is stored in the small-scale storage 8. You can see that it exists. In addition, when the failure of the RAID device 9 is recovered, the data accumulation control unit 3 reads the write data 22 of the write file written in the small-scale storage 8 from the small-scale storage 8 during the failure occurrence period, Write back to the RAID device 9. Thereby, the data of the RAID device 9 is not lost, and the reliability of the RAID device 9 can be improved.

また、RAID装置9に一時的に障害が発生しても、データ配信制御部5は、小規模ストレージ8に蓄積されている読込ファイルを優先的に読み出す。これにより蓄積配信システム1を停止することなく転送先装置30への読込データ32の配信を継続することができる。   Even if a failure occurs temporarily in the RAID device 9, the data distribution control unit 5 reads the read file stored in the small-scale storage 8 with priority. As a result, the distribution of the read data 32 to the transfer destination device 30 can be continued without stopping the storage / delivery system 1.

また、RAID装置9の一時的な障害であれば、RAID装置9に蓄積済みのファイル9aはRAID5構成などにより冗長化されているので破損しない。このため、RAID装置9が復旧した後に、データ配信制御部5は、RAID装置9のファイル9aから読込データ32を読み出し可能である。   If the RAID device 9 is a temporary failure, the file 9a already stored in the RAID device 9 is not damaged because it is made redundant by a RAID 5 configuration or the like. Therefore, after the RAID device 9 is restored, the data distribution control unit 5 can read the read data 32 from the file 9a of the RAID device 9.

[変形例]
なお、RAID装置9に障害が発生したときだけでなく、RAID装置9のメンテナンスや瞬間停電によってもRAID装置9のファイル9aに書込データ22を書き込めないことがある。この場合であっても、RAID装置9のファイル9aに書込データ22を書き込めない間、データ蓄積制御部3は、小規模ストレージ8にファイル8aを蓄積しておき、RAID装置9が復旧した後、小規模ストレージ8からファイル8aを読み出してRAID装置9に書き戻すことができる。
[Modification]
The write data 22 may not be written to the file 9a of the RAID device 9 not only when a failure occurs in the RAID device 9, but also due to maintenance of the RAID device 9 or an instantaneous power failure. Even in this case, while the write data 22 cannot be written to the file 9a of the RAID device 9, the data storage control unit 3 stores the file 8a in the small-scale storage 8, and after the RAID device 9 is restored. The file 8 a can be read from the small-scale storage 8 and written back to the RAID device 9.

また、上述した一実施の形態例では、小規模ストレージ8のファイル8aを削除する方法として、ファイル管理テーブル4に書込開始日時を登録しておき、書込開始日時が最も古いファイル8aから削除している。しかし、ファイル管理テーブル4にファイル8aの参照回数を登録しておくことにより、最も参照されていないファイル8aから削除することも考えられる。   In the embodiment described above, as a method of deleting the file 8a of the small-scale storage 8, the write start date and time is registered in the file management table 4 and deleted from the file 8a with the oldest write start date and time. doing. However, by registering the reference count of the file 8a in the file management table 4, it can be considered to delete from the least referenced file 8a.

また、上述した一実施の形態例では小規模ストレージ8とRAID装置9への処理をシーケンシャル処理しているが、並列処理により高速化することも可能である。   Further, in the above-described embodiment, the processing to the small-scale storage 8 and the RAID device 9 is performed sequentially, but it is also possible to increase the speed by parallel processing.

また、上述した一実施の形態例では、小規模ストレージ8とRAID装置9への書込及び読込単位をファイル毎としたが、例えば、ブロック毎であってもよい。   In the above-described embodiment, the unit for writing and reading to the small-scale storage 8 and the RAID device 9 is set for each file. However, for example, it may be set for each block.

さらに、上述した一実施の形態例では小規模ストレージ8を蓄積配信サーバ2に内蔵する場合を示したが、小規模ストレージ8を蓄積配信サーバ2の外部に設ける構成としてもよい。   Furthermore, although the case where the small-scale storage 8 is built in the storage / delivery server 2 has been described in the above-described embodiment, the small-scale storage 8 may be provided outside the storage / distribution server 2.

また、本発明は上述した実施の形態例に限られるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限りその他種々の応用例、変形例を取り得ることは勿論である。
例えば、上述した実施の形態例は本発明を分かりやすく説明するために装置及びシステムの構成を詳細且つ具体的に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることは可能であり、更にはある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加、削除、置換をすることも可能である。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。
Further, the present invention is not limited to the above-described embodiments, and various other application examples and modifications can be taken without departing from the gist of the present invention described in the claims.
For example, the above-described embodiments are detailed and specific descriptions of the configuration of the apparatus and the system in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the configurations described. Absent. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. Moreover, it is also possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.
Further, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

1…蓄積配信システム、2…蓄積配信サーバ、3…データ蓄積制御部、4…ファイル管理テーブル、4a…小規模ストレージ用ファイル情報、4b…RAID装置用ファイル情報、5…データ配信制御部、8…小規模ストレージ、9…RAID装置   DESCRIPTION OF SYMBOLS 1 ... Accumulation delivery system, 2 ... Accumulation delivery server, 3 ... Data accumulation control part, 4 ... File management table, 4a ... File information for small-scale storage, 4b ... File information for RAID apparatus, 5 ... Data distribution control part, 8 ... Small storage, 9 ... RAID devices

Claims (6)

所定の記録容量を有し、データを蓄積する第1ストレージ装置、及び前記第1ストレージ装置よりも大きい記録容量を有し、前記データを冗長化して蓄積する第2ストレージ装置がそれぞれ蓄積する前記データの管理情報を保持する管理テーブルと、
前記第1ストレージ装置又は前記第2ストレージ装置から読込んだ前記データを転送先装置に転送し、前記管理テーブルに前記管理情報を記録するデータ配信制御部と、
転送元装置から転送された前記データを前記第1ストレージ装置及び前記第2ストレージ装置に書込んで、前記管理テーブルに前記管理情報を記録し、前記第2ストレージ装置に前記データの書込みが行えない書込不能期間に前記第1ストレージ装置に書込んだ前記データを、前記書込不能期間の経過後に、前記管理テーブルを参照して前記第1ストレージ装置から読込んで、前記第2ストレージ装置に書込むデータ蓄積制御部と、を備える
蓄積配信サーバ。
The first storage device having a predetermined recording capacity and storing data, and the second storage device having a recording capacity larger than that of the first storage device and storing the data in a redundant manner, respectively. A management table that holds management information of
A data distribution control unit that transfers the data read from the first storage device or the second storage device to a transfer destination device and records the management information in the management table;
The data transferred from the transfer source device is written to the first storage device and the second storage device, the management information is recorded in the management table, and the data cannot be written to the second storage device. The data written to the first storage device during the unwritable period is read from the first storage device with reference to the management table after the unwritable period elapses, and written to the second storage device. A storage and distribution server.
前記第1ストレージ装置は、前記第2ストレージ装置よりも前記データ蓄積制御部が前記データを書込むアクセス速度、及び前記データ配信制御部前記データを読込むアクセス速度が速く、
前記データ配信制御部は、前記第1ストレージ装置及び前記第2ストレージ装置に同じ前記データが蓄積されている場合に、前記第1ストレージ装置から優先して前記データを読込んで前記転送先装置に転送する
請求項1に記載の蓄積配信サーバ。
The first storage device has a higher access speed at which the data storage control unit writes the data and an access speed at which the data distribution control unit reads the data than the second storage device,
The data distribution control unit reads the data preferentially from the first storage device and transfers it to the transfer destination device when the same data is accumulated in the first storage device and the second storage device The storage / delivery server according to claim 1.
前記データ配信制御部は、前記書込不能期間には、前記第1ストレージ装置から前記データを読込んで、前記データを転送先装置に転送する
請求項2に記載の蓄積配信サーバ。
The storage distribution server according to claim 2, wherein the data distribution control unit reads the data from the first storage device and transfers the data to a transfer destination device during the non-writable period.
前記管理テーブルは、前記管理情報として、前記第1ストレージ装置に対する前記データの書込状態、書込開始日時、読込状態、格納場所を管理し、
前記データ蓄積制御部は、前記管理テーブルを参照し、前記第1ストレージ装置の空き容量が、前記第1ストレージ装置に書込む前記データの容量に対して不足する場合に、前記書込開始日時が古い順に前記第1ストレージ装置に蓄積された前記データを削除する
請求項3に記載の蓄積配信サーバ。
The management table manages, as the management information, a write state, a write start date and time, a read state, and a storage location of the data with respect to the first storage device,
The data accumulation control unit refers to the management table, and when the free capacity of the first storage device is insufficient with respect to the capacity of the data to be written to the first storage device, the write start date and time is The storage / delivery server according to claim 3, wherein the data stored in the first storage device is deleted in chronological order.
前記データ蓄積制御部は、前記管理テーブルを参照し、前記第1ストレージ装置から削除する対象となる前記データが前記データ配信制御部によって読込まれている場合に、削除する対象となる前記データとは異なるデータを前記第1ストレージ装置から削除する
請求項4に記載の蓄積配信サーバ。
The data accumulation control unit refers to the management table, and when the data to be deleted from the first storage device is read by the data distribution control unit, the data to be deleted is The accumulation / delivery server according to claim 4, wherein different data is deleted from the first storage device.
所定の記録容量を有し、データを蓄積する第1ストレージ装置と、
前記第1ストレージ装置よりも大きい記録容量を有し、前記データを冗長化して蓄積する第2ストレージ装置と、
前記第1ストレージ装置及び前記第2ストレージ装置がそれぞれ蓄積する前記データの管理情報を保持する管理テーブルと、
前記第1ストレージ装置又は前記第2ストレージ装置から読込んだ前記データを転送先装置に転送し、前記管理テーブルに前記管理情報を記録するデータ配信制御部と、
転送元装置から転送された前記データを前記第1ストレージ装置及び前記第2ストレージ装置に書込んで、前記管理テーブルに前記管理情報を記録し、前記第2ストレージ装置に前記データの書込みが行えない書込不能期間に前記第1ストレージ装置に書込んだ前記データを、前記書込不能期間の経過後に、前記管理テーブルを参照して前記第1ストレージ装置から読込んで、前記第2ストレージ装置に書込むデータ蓄積制御部と、を備える
蓄積配信システム。
A first storage device having a predetermined recording capacity and storing data;
A second storage device having a larger recording capacity than the first storage device and storing the data in a redundant manner;
A management table that holds management information of the data stored in the first storage device and the second storage device;
A data distribution control unit that transfers the data read from the first storage device or the second storage device to a transfer destination device and records the management information in the management table;
The data transferred from the transfer source device is written to the first storage device and the second storage device, the management information is recorded in the management table, and the data cannot be written to the second storage device. The data written to the first storage device during the unwritable period is read from the first storage device with reference to the management table after the unwritable period elapses, and written to the second storage device. And a data storage control unit.
JP2014183215A 2014-09-09 2014-09-09 Storage and distribution server and storage and distribution system Active JP6220324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014183215A JP6220324B2 (en) 2014-09-09 2014-09-09 Storage and distribution server and storage and distribution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014183215A JP6220324B2 (en) 2014-09-09 2014-09-09 Storage and distribution server and storage and distribution system

Publications (3)

Publication Number Publication Date
JP2016057811A true JP2016057811A (en) 2016-04-21
JP2016057811A5 JP2016057811A5 (en) 2016-10-27
JP6220324B2 JP6220324B2 (en) 2017-10-25

Family

ID=55758585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014183215A Active JP6220324B2 (en) 2014-09-09 2014-09-09 Storage and distribution server and storage and distribution system

Country Status (1)

Country Link
JP (1) JP6220324B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019061483A (en) * 2017-09-26 2019-04-18 キヤノン株式会社 Storage control apparatus, method and program for controlling same, and information processing apparatus
JP2021527286A (en) * 2018-06-08 2021-10-11 ウェカ.アイオー リミテッド Encryption for distributed file systems
JP7439511B2 (en) 2019-12-27 2024-02-28 富士フイルムビジネスイノベーション株式会社 FAX receiving device, FAX receiving program, and FAX transmitting/receiving system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141475A (en) * 2003-11-06 2005-06-02 Tokyo Institute Of Technology Content storing system, method and its program
JP2005196490A (en) * 2004-01-07 2005-07-21 Hitachi Ltd System and method for data duplication
JP2014042124A (en) * 2012-08-21 2014-03-06 Nippon Telegr & Teleph Corp <Ntt> Content distribution system and content distribution method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005141475A (en) * 2003-11-06 2005-06-02 Tokyo Institute Of Technology Content storing system, method and its program
JP2005196490A (en) * 2004-01-07 2005-07-21 Hitachi Ltd System and method for data duplication
JP2014042124A (en) * 2012-08-21 2014-03-06 Nippon Telegr & Teleph Corp <Ntt> Content distribution system and content distribution method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019061483A (en) * 2017-09-26 2019-04-18 キヤノン株式会社 Storage control apparatus, method and program for controlling same, and information processing apparatus
JP2021527286A (en) * 2018-06-08 2021-10-11 ウェカ.アイオー リミテッド Encryption for distributed file systems
JP7238111B2 (en) 2018-06-08 2023-03-13 ウェカ.アイオー リミテッド Encryption for distributed file systems
US11914736B2 (en) 2018-06-08 2024-02-27 Weka.IO Ltd. Encryption for a distributed filesystem
JP7439511B2 (en) 2019-12-27 2024-02-28 富士フイルムビジネスイノベーション株式会社 FAX receiving device, FAX receiving program, and FAX transmitting/receiving system

Also Published As

Publication number Publication date
JP6220324B2 (en) 2017-10-25

Similar Documents

Publication Publication Date Title
US10223272B2 (en) Latency sensitive metadata object persistence operation for storage device
US7310711B2 (en) Hard disk drive with support for atomic transactions
US9588856B2 (en) Restoring redundancy in a storage group when a storage device in the storage group fails
US7765372B2 (en) Storage controller and data management method
CN106055431B (en) The method and device of backup and recovery based on the online rollback of snapshot
EP1712998B1 (en) Remote copy system and remote copy method
US7509467B2 (en) Storage controller and data management method
US11509716B2 (en) Method and apparatus for performing simple storage service seamless migration using index objects
US20060077726A1 (en) Data transfer method, storage apparatus and computer-readable storage medium
JP2014137711A (en) Storage device, backup program and backup method
JP6220324B2 (en) Storage and distribution server and storage and distribution system
WO2014075586A1 (en) Method and device for automatically recovering storage of jbod array
US20050033933A1 (en) Systems and methods for modifying disk drive firmware in a raid storage system
JP6070146B2 (en) Information processing apparatus and backup method
US11516287B2 (en) Method and apparatus for performing simple storage service seamless migration using index objects
US9652325B2 (en) Storage system and method to support scheduled and operational going down of a storing unit
JP5159777B2 (en) Apparatus and method for managing and storing information and metadata
US10025521B2 (en) Obtaining additional data storage from another data storage system
US8555007B2 (en) Storage system with journal disks dynamically assigned
JP2018120317A (en) Information processing apparatus, control program and information processing method
US7657719B2 (en) Controller for a copy operation between a host computer and hard disks, a control method thereof, and a recording medium storing a program for executing the control method
KR20100094157A (en) A method to maintain software raid consistency using journaling file system
JP2013025655A (en) Log file management module and log file management method
JP2018190192A (en) Storage device and storage control program
US8549221B2 (en) RAID management apparatus, RAID management method, and computer product

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160909

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170822

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170929

R150 Certificate of patent or registration of utility model

Ref document number: 6220324

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150