JP2016066145A - Data processing device, data processing method and program - Google Patents

Data processing device, data processing method and program Download PDF

Info

Publication number
JP2016066145A
JP2016066145A JP2014193331A JP2014193331A JP2016066145A JP 2016066145 A JP2016066145 A JP 2016066145A JP 2014193331 A JP2014193331 A JP 2014193331A JP 2014193331 A JP2014193331 A JP 2014193331A JP 2016066145 A JP2016066145 A JP 2016066145A
Authority
JP
Japan
Prior art keywords
data
storage device
writing
setup
processing unit
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.)
Pending
Application number
JP2014193331A
Other languages
Japanese (ja)
Inventor
渡辺 浩
Hiroshi Watanabe
浩 渡辺
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.)
Mitsubishi Electric Information Network Corp
Original Assignee
Mitsubishi Electric Information Network Corp
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 Mitsubishi Electric Information Network Corp filed Critical Mitsubishi Electric Information Network Corp
Priority to JP2014193331A priority Critical patent/JP2016066145A/en
Publication of JP2016066145A publication Critical patent/JP2016066145A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow data to be written into a storage device as changeover destination without interrupting data writing.SOLUTION: A data receiving unit 101 receives data continuously. A write processing unit 102 writes data into a magnetic disk device A300a or a magnetic disk device B300b. A setup processing unit 104 performs setup for allowing data to be written into a magnetic disk device C300c in the case where the connection of the magnetic disk device C300c to a data processing device is detected while data is written into the magnetic disk device A300a or the magnetic disk device B300b. When the setup is completed and the magnetic disk device B300b is short of storage capacity, the write processing unit 102 switches a data write destination to the magnetic disk device C300c and starts data writing into the magnetic disk device C300c.SELECTED DRAWING: Figure 1

Description

本発明は、記憶デバイスを管理する技術に関する。   The present invention relates to a technique for managing storage devices.

外付けの記憶デバイスを利用する構成においては、記憶デバイスを段階的に増設していくことが行われている。
記憶デバイスを段階的に増設する技術として、例えば、特許文献1及び特許文献2に開示されている技術がある。
In a configuration using an external storage device, the storage devices are added in stages.
As a technique for increasing the number of storage devices in stages, there are techniques disclosed in Patent Document 1 and Patent Document 2, for example.

特開2009−37297号公報JP 2009-37297 A 特許第4723921号Japanese Patent No. 4723921

特許文献1及び特許文献2では、記憶デバイスを段階的に増設するための方式が開示されている。
しかしながら、特許文献1及び特許文献2の方式では、データの書き込み先を切り替える際に、データの書き込みを中断する必要がある。
つまり、特許文献1及び特許文献2の方式では、データの書き込みを一時的に中断しないと、新たな記憶デバイスへのデータの書き込みが可能にならない。
データを連続して受信するとともに、受信したデータを順次記憶デバイスに書き込むシステムでは、データの書き込みを中断することができない。
例えば、監視カメラは、通常、監視対象エリアを常時撮影しており、監視カメラの撮影データを録画するシステムでは、中断なく撮影データを録画し続けることが必要である。
このため、録画の中断が生じる特許文献1及び特許文献2の方式では、運用に支障をきたしてしまう。
Patent Documents 1 and 2 disclose a method for adding storage devices in stages.
However, in the methods of Patent Document 1 and Patent Document 2, it is necessary to interrupt data writing when switching the data writing destination.
In other words, in the methods disclosed in Patent Document 1 and Patent Document 2, it is not possible to write data to a new storage device unless data writing is temporarily interrupted.
In a system that continuously receives data and sequentially writes the received data to the storage device, data writing cannot be interrupted.
For example, a surveillance camera normally shoots a monitoring target area at all times, and in a system that records photographic data of a surveillance camera, it is necessary to continue recording photographic data without interruption.
For this reason, the methods of Patent Literature 1 and Patent Literature 2 in which recording is interrupted will hinder the operation.

本発明は、このような点に鑑みたものであり、データの書き込みを中断させることなく、切替先の記憶デバイスへのデータの書き込みを開始できる構成を得ることを主な目的とする。   The present invention has been made in view of the above points, and a main object of the present invention is to obtain a configuration capable of starting data writing to a switching destination storage device without interrupting data writing.

本発明に係るデータ処理装置は、
第1の記憶デバイスに接続されているデータ処理装置であって、
データを連続して受信するデータ受信部と、
前記データ受信部により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理部と、
前記書込み処理部による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記書込み処理部による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理部とを有し、
前記書込み処理部は、
前記セットアップ処理部によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始する。
The data processing apparatus according to the present invention
A data processing apparatus connected to the first storage device,
A data receiver for continuously receiving data;
A write processor that writes data continuously received by the data receiver to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the write processing unit, the second storage by the write processing unit A setup processing unit for performing setup to enable writing of data to the device;
The write processing unit
After the setup by the setup processing unit is completed and the storage capacity of the first storage device is insufficient during the writing of data to the first storage device, the data write destination is set to the first storage device. The storage device is switched to the second storage device and data writing to the second storage device is started.

前記セットアップ処理部は、
前記第2の記憶デバイスの接続が検知された場合に、前記第2の記憶デバイスへのパスを定義するセットアップを行い、
前記書込み処理部は、
前記セットアップ処理部により定義された前記第2の記憶デバイスへのパスを参照して、前記第2の記憶デバイスへのデータの書き込みを開始する。
The setup processing unit
When a connection of the second storage device is detected, a setup for defining a path to the second storage device is performed,
The write processing unit
Referring to the path to the second storage device defined by the setup processing unit, data writing to the second storage device is started.

前記データ処理装置は、更に、
前記第1の記憶デバイスへのパスが定義されているデバイスパス情報を記憶するデバイスパス情報記憶部を有し、
前記セットアップ処理部は、
前記第2の記憶デバイスの接続が検知された場合に、前記第2の記憶デバイスへのパスを前記デバイスパス情報において定義するセットアップを行い、
前記書込み処理部は、
前記デバイスパス情報に定義されている前記第1の記憶デバイスへのパスを参照して、前記第1の記憶デバイスにデータを書き込み、
前記デバイスパス情報に定義されている前記第2の記憶デバイスへのパスを参照して、前記第2の記憶デバイスへのデータの書き込みを開始する。
The data processing device further includes:
A device path information storage unit for storing device path information in which a path to the first storage device is defined;
The setup processing unit
When the connection of the second storage device is detected, a setup for defining a path to the second storage device in the device path information is performed,
The write processing unit
Write data to the first storage device with reference to the path to the first storage device defined in the device path information,
With reference to the path to the second storage device defined in the device path information, data writing to the second storage device is started.

前記デバイスパス情報記憶部は、
論理ボリュームである第1のパーティションと第2のパーティションとが記述され、前記第1のパーティションに対して前記第1の記憶デバイスへのパスが定義され、前記第2のパーティションに対してダミーのパスが定義されているデバイスパス情報を記憶し、
前記セットアップ処理部は、
前記デバイスパス情報において、前記第2のパーティションに対して定義されているダミーのパスに代えて前記第2の記憶デバイスへのパスを定義するセットアップを行う。
The device path information storage unit
A first partition and a second partition that are logical volumes are described, a path to the first storage device is defined for the first partition, and a dummy path for the second partition Stores device path information in which
The setup processing unit
In the device path information, a setup for defining a path to the second storage device is performed instead of the dummy path defined for the second partition.

前記デバイスパス情報記憶部は、
論理ボリュームである第1のパーティションが記述され、前記第1のパーティションに対して前記第1の記憶デバイスへのパスが定義されているデバイスパス情報を記憶し、
前記セットアップ処理部は、
前記デバイスパス情報において、論理ボリュームである第2のパーティションの記述を追加し、前記第2のパーティションに対して前記第2の記憶デバイスへのパスを定義するセットアップを行う。
The device path information storage unit
Storing device path information in which a first partition which is a logical volume is described, and a path to the first storage device is defined for the first partition;
The setup processing unit
In the device path information, a description of the second partition, which is a logical volume, is added, and setup for defining the path to the second storage device for the second partition is performed.

前記データ処理装置は、
データの書き込み順序が規定されている複数の第1の記憶デバイスに接続されており、
前記書込み処理部は、
前記書き込み順序において先行する第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記書き込み順序において後続する第1の記憶デバイスに切り替えるという方式にて、前記データ受信部により連続して受信されたデータを、対象となる第1の記憶デバイスに書き込み、
前記セットアップ処理部は、
前記書込み処理部による、いずれかの第1の記憶デバイスへのデータの書き込み中に前記第2の記憶デバイスの接続が検知された場合に、前記書込み処理部による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行い、
前記書込み処理部は、
前記書き込み順序において最後尾の第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記最後尾の第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始する。
The data processing device includes:
Connected to a plurality of first storage devices in which the data writing order is defined,
The write processing unit
When the storage capacity of the first storage device preceding in the write order is insufficient, the data receiving unit continuously switches the data write destination to the first storage device that follows in the write order. The received data is written to the target first storage device,
The setup processing unit
When connection of the second storage device is detected during writing of data to any of the first storage devices by the write processing unit, data to the second storage device by the write processing unit Set up to allow writing,
The write processing unit
When the storage capacity of the last first storage device is insufficient in the writing order, the data write destination is switched from the last first storage device to the second storage device, and the second storage device Start writing data to the storage device.

前記データ受信部は、
監視カメラにより撮影された撮影データを連続して受信する。
The data receiver is
The photographing data photographed by the surveillance camera is continuously received.

本発明に係るデータ処理方法は、
第1の記憶デバイスに接続されているコンピュータが行うデータ処理方法であって、
前記コンピュータが、データを連続して受信するデータ受信処理と、
前記コンピュータが、前記データ受信処理により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理と、
前記書込み処理による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記コンピュータが、前記書込み処理による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理とを有し、
前記書込み処理において、
前記セットアップ処理によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、前記コンピュータが、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始する。
A data processing method according to the present invention includes:
A data processing method performed by a computer connected to a first storage device,
A data reception process in which the computer continuously receives data;
A writing process in which the computer writes the data continuously received by the data receiving process to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the writing process, the computer performs the second process by the writing process. And a setup process for performing setup that enables writing of data to the storage device of
In the writing process,
After the setup by the setup process is completed and the storage capacity of the first storage device is insufficient during the writing of data to the first storage device, the computer sets the data write destination to Switching from the first storage device to the second storage device starts writing data to the second storage device.

本発明に係るプログラムは、
第1の記憶デバイスに接続されているコンピュータに、
データを連続して受信するデータ受信処理と、
前記データ受信処理により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理と、
前記書込み処理による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記書込み処理による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理とを実行させ、
前記書込み処理において、
前記セットアップ処理によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、前記コンピュータに、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えさせて、前記第2の記憶デバイスへのデータの書き込みを開始させる。
The program according to the present invention is:
A computer connected to the first storage device;
Data reception processing for continuously receiving data;
A writing process for writing the data continuously received by the data receiving process to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the write process, the second storage device by the write process is detected. To execute the setup process that performs the setup to enable the writing of data,
In the writing process,
If the storage capacity of the first storage device is insufficient during the writing of data to the first storage device after the setup by the setup process has been completed, The first storage device is switched to the second storage device, and data writing to the second storage device is started.

本発明では、第1の記憶デバイスへのデータの書き込み中に第2の記憶デバイスのセットアップを行い、第1の記憶デバイスへのデータの書き込み中にデータの書き込み先を第2の記憶デバイスに切り替えて第2の記憶デバイスへのデータの書き込みを開始する。
このため、本発明によれば、データの書き込みを中断させることなく、切替先の記憶デバイスへのデータの書き込みを開始することができる。
In the present invention, the second storage device is set up while data is being written to the first storage device, and the data write destination is switched to the second storage device while data is being written to the first storage device. To start writing data to the second storage device.
Therefore, according to the present invention, data writing to the switching destination storage device can be started without interrupting data writing.

実施の形態1に係るデータ処理装置の構成例を示す図。FIG. 3 shows a configuration example of a data processing apparatus according to the first embodiment. 実施の形態1に係るパーティションと磁気ディスク装置との関係を示す図。FIG. 3 is a diagram showing a relationship between a partition and a magnetic disk device according to the first embodiment. 実施の形態1に係るパーティションと磁気ディスク装置との関係を示す図。FIG. 3 is a diagram showing a relationship between a partition and a magnetic disk device according to the first embodiment. 実施の形態1に係るデバイスパス情報の例を示す図。FIG. 6 is a diagram showing an example of device path information according to the first embodiment. 実施の形態1に係るデバイスパス情報の例を示す図。FIG. 6 is a diagram showing an example of device path information according to the first embodiment. 実施の形態1に係るデータ処理装置のデータ受信処理と書込み処理の例を示すフローチャート図。FIG. 3 is a flowchart showing an example of data reception processing and write processing of the data processing apparatus according to the first embodiment. 実施の形態1に係るデータ処理装置のセットアップ処理の例を示すフローチャート図。FIG. 3 is a flowchart showing an example of setup processing of the data processing apparatus according to the first embodiment. 実施の形態2に係るデバイスパス情報の例を示す図。FIG. 10 is a diagram illustrating an example of device path information according to the second embodiment. 実施の形態2に係るデバイスパス情報の例を示す図。FIG. 10 is a diagram illustrating an example of device path information according to the second embodiment. 実施の形態1及び2に係るデータ処理装置のハードウェア構成例を示す図。FIG. 3 is a diagram showing a hardware configuration example of a data processing device according to Embodiments 1 and 2.

実施の形態1.
***構成の説明***
図1は、本実施の形態に係るデータ処理装置の構成例を示す。
本実施の形態では、一例として、監視カメラで撮影された撮影データを連続して受信し、受信した撮影データを記憶デバイスに書き込むデータ処理装置を説明する。
Embodiment 1 FIG.
*** Explanation of configuration ***
FIG. 1 shows a configuration example of a data processing apparatus according to the present embodiment.
In this embodiment, as an example, a data processing apparatus that continuously receives shooting data shot by a monitoring camera and writes the received shooting data to a storage device will be described.

本実施の形態に係るデータ処理装置100は、第1の記憶デバイス1000に物理的に接続されている。
第1の記憶デバイス1000は、例えば、磁気ディスク装置A300aと磁気ディスク装置B300bである。
また、データ処理装置100には、第2の記憶デバイス2000を追加で物理的に接続することができる。
第2の記憶デバイス2000は、例えば、磁気ディスク装置C300cである。
第1の記憶デバイス1000は、第2の記憶デバイス2000がデータ処理装置100に接続される前にデータ処理装置100に接続されている記憶デバイスである。
第2の記憶デバイス2000は、第1の記憶デバイス1000へのデータの書き込み中にデータ処理装置100に追加で接続される記憶デバイスである。
第1の記憶デバイス1000は、2つである必要はなく、1つであってもよいし、3つ以上であってもよい。
同様に、第2の記憶デバイス2000は、1つである必要はなく、2つ以上であってもよい。
The data processing apparatus 100 according to the present embodiment is physically connected to the first storage device 1000.
The first storage device 1000 is, for example, a magnetic disk device A300a and a magnetic disk device B300b.
In addition, a second storage device 2000 can be additionally physically connected to the data processing apparatus 100.
The second storage device 2000 is, for example, a magnetic disk device C300c.
The first storage device 1000 is a storage device connected to the data processing apparatus 100 before the second storage device 2000 is connected to the data processing apparatus 100.
The second storage device 2000 is a storage device that is additionally connected to the data processing apparatus 100 while data is being written to the first storage device 1000.
The number of first storage devices 1000 does not have to be two, and may be one, or may be three or more.
Similarly, the number of the second storage devices 2000 is not necessarily one, and may be two or more.

データ受信部101は、監視カメラ200からの撮影データを連続して受信する。   The data receiving unit 101 continuously receives shooting data from the monitoring camera 200.

書込み処理部102は、データ受信部101により連続して受信された撮影データを第1の記憶デバイス1000に書き込む。
後述するように、第1の記憶デバイス1000では、磁気ディスク装置A300a、磁気ディスク装置B300bの順に書き込み順序が設定されており、書込み処理部102は、磁気ディスク装置A300aの記憶容量が不足するまでは磁気ディスク装置A300aに撮影データを書き込む。
そして、磁気ディスク装置A300aの記憶容量が不足した際に、書込み処理部102は、書き込み先を磁気ディスク装置A300aから磁気ディスク装置B300bに切り替え、以降は磁気ディスク装置B300bに撮影データを書き込む。
また、書込み処理部102は、後述の接続検知部105により第2の記憶デバイス2000の接続が検知され、後述のセットアップ処理部104により第2の記憶デバイス2000のセットアップが完了した後であって第1の記憶デバイス1000へのデータの書き込み中に第1の記憶デバイス1000の記憶容量が不足した場合に、データの書き込み先を、第1の記憶デバイス1000から第2の記憶デバイス2000に切り替えて、第2の記憶デバイス2000へのデータの書き込みを開始する。
The writing processing unit 102 writes the photographing data continuously received by the data receiving unit 101 to the first storage device 1000.
As will be described later, in the first storage device 1000, the write order is set in the order of the magnetic disk device A300a and the magnetic disk device B300b, and the write processing unit 102 does not run out until the storage capacity of the magnetic disk device A300a is insufficient. Shooting data is written to the magnetic disk device A300a.
When the storage capacity of the magnetic disk device A 300a is insufficient, the write processing unit 102 switches the writing destination from the magnetic disk device A 300a to the magnetic disk device B 300b, and thereafter writes the shooting data to the magnetic disk device B 300b.
The write processing unit 102 is connected to the second storage device 2000 after the connection detection unit 105 described later detects the connection of the second storage device 2000 and the setup processing unit 104 described later completes the setup of the second storage device 2000. When the storage capacity of the first storage device 1000 is insufficient during the writing of data to the first storage device 1000, the data write destination is switched from the first storage device 1000 to the second storage device 2000, Writing of data to the second storage device 2000 is started.

デバイスパス情報記憶部103は、デバイスパス情報を記憶する。
デバイスパス情報は、第1の記憶デバイス1000へのパスが定義されている。
具体的には、デバイスパス情報は、図4に示す情報であり、磁気ディスク装置A300aへのパス(/home/diskA)及び磁気ディスク装置B300bへのパス(/home/diskB)が定義されている。
また、接続検知部105により第2の記憶デバイス2000の接続が検知された場合に、デバイスパス情報には、第2の記憶デバイス2000へのパスの定義が追加される。
具体的には、図5に示すように、磁気ディスク装置C300cへのパス(/home/diskC)の定義が追加される。
書込み処理部102は、デバイスパス情報の第1の記憶デバイス1000へのパス(磁気ディスク装置A300aへのパス又は磁気ディスク装置B300bへのパス)を参照して、第1の記憶デバイス1000(磁気ディスク装置A300a又は磁気ディスク装置B300b)に撮影データを書き込む。
また、第2の記憶デバイス2000(磁気ディスク装置C300c)の接続が検知された後は、書込み処理部102は、デバイスパス情報の第2の記憶デバイス2000へのパス(磁気ディスク装置C300cへのパス)を参照して、第2の記憶デバイス2000(磁気ディスク装置C300c)への撮影データの書き込みを開始する。
なお、デバイスパス情報の詳細は後述する。
The device path information storage unit 103 stores device path information.
In the device path information, a path to the first storage device 1000 is defined.
Specifically, the device path information is information shown in FIG. 4, and a path to the magnetic disk device A 300a (/ home / diskA) and a path to the magnetic disk device B 300b (/ home / disk B) are defined. .
When the connection detection unit 105 detects the connection of the second storage device 2000, the definition of the path to the second storage device 2000 is added to the device path information.
Specifically, as shown in FIG. 5, the definition of the path (/ home / diskC) to the magnetic disk device C300c is added.
The write processing unit 102 refers to the path of the device path information to the first storage device 1000 (the path to the magnetic disk device A 300a or the path to the magnetic disk device B 300b), and the first storage device 1000 (magnetic disk The photographing data is written into the device A 300a or the magnetic disk device B 300b).
After the connection of the second storage device 2000 (magnetic disk device C300c) is detected, the write processing unit 102 passes the path of the device path information to the second storage device 2000 (path to the magnetic disk device C300c). ), The writing of the shooting data to the second storage device 2000 (magnetic disk device C300c) is started.
Details of the device path information will be described later.

セットアップ処理部104は、書込み処理部102による第1の記憶デバイス1000へのデータの書き込み中に接続検知部105によりデータ処理装置100への第2の記憶デバイス2000の接続が検知された場合に、書込み処理部102による第2の記憶デバイス2000へのデータの書き込みを可能にするセットアップを行う。
より具体的には、書込み処理部102は、デバイスパス情報に、磁気ディスク装置C300cへのパスを定義するセットアップを行う。
When the connection detection unit 105 detects the connection of the second storage device 2000 to the data processing device 100 while the write processing unit 102 writes data to the first storage device 1000, the setup processing unit 104 A setup for enabling the writing processing unit 102 to write data to the second storage device 2000 is performed.
More specifically, the write processing unit 102 performs setup for defining a path to the magnetic disk device C300c in the device path information.

接続検知部105は、第2の記憶デバイス2000のデータ処理装置100への接続を検知し、第2の記憶デバイス2000がデータ処理装置100に接続された旨をセットアップ処理部104に通知する。   The connection detection unit 105 detects the connection of the second storage device 2000 to the data processing apparatus 100 and notifies the setup processing unit 104 that the second storage device 2000 is connected to the data processing apparatus 100.

図2は、データ処理装置100におけるパーティションと磁気ディスク装置との関係を示す。   FIG. 2 shows the relationship between the partitions and the magnetic disk device in the data processing apparatus 100.

書込み処理部102は、論理ボリュームであるパーティションにより記憶領域を管理している。
パーティションAは磁気ディスク装置A300aと対応付けられており、パーティションBは磁気ディスク装置B300bと対応付けられている。
デバイスパス情報では、図4に示すように、パーティションAに対して磁気ディスク装置A300aへのパス(/home/diskA)が定義され、パーティションBに対して磁気ディスク装置B300bへのパス(/home/diskB)が定義されている。
また、パーティションAのデータサイズとして、磁気ディスク装置A300aのデータサイズである2テラバイトが定義され、パーティションBのデータサイズとして、磁気ディスク装置B300bのデータサイズである1テラバイトが定義されている。
磁気ディスク装置A300a(パーティションA)と磁気ディスク装置B300b(パーティションB)の間では、データの書き込み順序が規定されている。
本実施の形態では、磁気ディスク装置A300a(パーティションA)、磁気ディスク装置B300b(パーティションB)の順でデータの書き込みが行われる。
書込み処理部102は、書き込み順序において先行する磁気ディスク装置A300a(パーティションA)の記憶容量が不足した場合に、データの書き込み先を、書き込み順序において後続する磁気ディスク装置B300b(パーティションB)に切り替えるという方式にて、データ受信部101により連続して受信された撮影データを、対象となる磁気ディスク装置に書き込む。
また、パーティションCは、いずれの磁気ディスクとも対応付けられていないため、パーティションCに対しては、ダミーのパス(/home/dummy)が定義されている。
また、パーティションCのデータサイズは0である。
磁気ディスク装置B300b(パーティションB)が書き込み対象となっている際に、磁気ディスク装置B300b(パーティションB)の記憶容量が不足した場合は、パーティションCの記憶容量はサイズ:0なので、データの書き込み先は、パーティションCにはならない。
磁気ディスク装置A300a(パーティションA)内の撮影データが他の記憶媒体に移管されて、磁気ディスク装置A300a(パーティションA)に十分な記憶容量ができれば、書込み処理部102は、データの書き込み先を磁気ディスク装置A300a(パーティションA)に切り替える。
The write processing unit 102 manages storage areas using partitions that are logical volumes.
The partition A is associated with the magnetic disk device A 300a, and the partition B is associated with the magnetic disk device B 300b.
In the device path information, as shown in FIG. 4, the path to the magnetic disk device A 300a (/ home / diskA) is defined for the partition A, and the path to the magnetic disk device B 300b for the partition B (/ home / diskB) is defined.
Further, 2 terabytes, which is the data size of the magnetic disk device A 300a, is defined as the data size of the partition A, and 1 terabyte, which is the data size of the magnetic disk device B 300b, is defined as the data size of the partition B.
A data writing order is defined between the magnetic disk device A 300a (partition A) and the magnetic disk device B 300b (partition B).
In this embodiment, data is written in the order of the magnetic disk device A300a (partition A) and the magnetic disk device B300b (partition B).
When the storage capacity of the preceding magnetic disk device A300a (partition A) is insufficient in the writing order, the write processing unit 102 switches the data write destination to the subsequent magnetic disk device B300b (partition B) in the writing order. In this manner, the image data continuously received by the data receiving unit 101 is written to the target magnetic disk device.
Since partition C is not associated with any magnetic disk, a dummy path (/ home / dummy) is defined for partition C.
The data size of partition C is 0.
When the magnetic disk device B300b (partition B) is a write target and the storage capacity of the magnetic disk device B300b (partition B) is insufficient, the storage capacity of the partition C is size 0, so the data write destination Does not become partition C.
If the shooting data in the magnetic disk device A300a (partition A) is transferred to another storage medium and the magnetic disk device A300a (partition A) has a sufficient storage capacity, the write processing unit 102 sets the data write destination as a magnetic field. Switch to the disk device A300a (partition A).

図3は、磁気ディスク装置C300cがデータ処理装置100に接続された後のパーティションと磁気ディスク装置との関係を示す。   FIG. 3 shows the relationship between the partition and the magnetic disk device after the magnetic disk device C300c is connected to the data processing device 100.

磁気ディスク装置A300a又は磁気ディスク装置B300bへの撮影データの書き込み中に磁気ディスク装置C300cがデータ処理装置100に接続されると、セットアップ処理部104は、図4のダミーのパス(/home/dummy)に代えて、パーティションCに対して、磁気ディスク装置C300cへのパス(/home/diskC)を定義するセットアップを行う。
また、セットアップ処理部104は、パーティションCのデータサイズとして、磁気ディスク装置C300cのデータサイズである3テラバイトをデバイスパス情報に記述する。
この結果、デバイスパス情報は図5のように更新される。
セットアップ処理部104によるセットアップによりパーティションCが磁気ディスク装置C300cと対応付けられると、最後尾の第1の記憶デバイスである磁気ディスク装置B300b(パーティションB)の記憶容量が不足した際に、書込み処理部102は、データ書き込み先を、第2の記憶デバイスである磁気ディスク装置C300c(パーティションC)に切り替え、磁気ディスク装置C300c(パーティションC)への撮影データの書き込みを開始する。
磁気ディスク装置C300c(パーティションC)が書き込み対象となっている際に、磁気ディスク装置C300c(パーティションC)の記憶容量が不足した場合は、磁気ディスク装置A300a(パーティションA)内の撮影データが他の記憶媒体に移管されて、磁気ディスク装置A300a(パーティションA)に十分な記憶容量ができれば、書込み処理部102は、データの書き込み先を磁気ディスク装置A300a(パーティションA)に切り替える。
なお、パーティションA及びパーティションBは、第1のパーティションに相当し、パーティションCは、第2のパーティションに相当する。
When the magnetic disk device C300c is connected to the data processing device 100 during the writing of shooting data to the magnetic disk device A300a or the magnetic disk device B300b, the setup processing unit 104 displays the dummy path (/ home / dummy) in FIG. Instead, a setup for defining a path (/ home / diskC) to the magnetic disk device C300c is performed for the partition C.
In addition, the setup processing unit 104 describes 3 terabytes, which is the data size of the magnetic disk device C300c, as the data size of the partition C in the device path information.
As a result, the device path information is updated as shown in FIG.
When the partition C is associated with the magnetic disk device C300c by setup by the setup processing unit 104, when the storage capacity of the magnetic disk device B300b (partition B) which is the last first storage device is insufficient, the write processing unit 102 switches the data writing destination to the magnetic disk device C300c (partition C), which is the second storage device, and starts to write imaging data to the magnetic disk device C300c (partition C).
If the storage capacity of the magnetic disk device C300c (partition C) is insufficient when the magnetic disk device C300c (partition C) is the target of writing, the captured data in the magnetic disk device A300a (partition A) is not If the data is transferred to the storage medium and the magnetic disk device A300a (partition A) has sufficient storage capacity, the write processing unit 102 switches the data write destination to the magnetic disk device A300a (partition A).
Partition A and partition B correspond to the first partition, and partition C corresponds to the second partition.

***動作の説明***
図6は、データ処理装置100のデータ受信処理S11及び書込み処理S12の例を示すフローチャート図である。
*** Explanation of operation ***
FIG. 6 is a flowchart illustrating an example of the data reception process S11 and the write process S12 of the data processing apparatus 100.

まず、データ受信部101が監視カメラ200からの撮影データを受信し(S101)、データ受信部101は受信した撮影データを書込み処理部102に出力する。   First, the data receiving unit 101 receives shooting data from the monitoring camera 200 (S101), and the data receiving unit 101 outputs the received shooting data to the writing processing unit 102.

次に、書込み処理部102は、撮影データのデータサイズが、現在書き込み対象のパーティションでの空き容量よりも大きいかどうかを判断する(S102)。
書込み処理部102は、例えば、撮影データを書き込む度に、書き込み対象のパーティションの空き容量を計算しており、S102の時点での空き容量と、データ受信部101から得た撮影データのデータサイズとを比較して、書き込み対象のパーティションに撮影データを書き込むことが可能か否かを判断する。
Next, the writing processing unit 102 determines whether or not the data size of the photographic data is larger than the free space in the current writing target partition (S102).
For example, the writing processing unit 102 calculates the free space of the partition to be written every time shooting data is written, the free space at the time of S102, the data size of the shooting data obtained from the data receiving unit 101, and the like. To determine whether or not the shooting data can be written to the partition to be written.

撮影データのデータサイズが書き込み対象のパーティションの空き容量以下である場合(S102でNO)は、書込み処理部102は、撮影データを書き込み対象の磁気ディスク装置に書き込む(S103)。
例えば、現在の書き込み対象のパーティションがパーティションAであれば、デバイスパス情報のパス(/home/diskA)に従い、書込み処理部102は磁気ディスク装置A300aに撮影データを書き込む。
If the data size of the photographic data is less than or equal to the free capacity of the partition to be written (NO in S102), the write processing unit 102 writes the photographic data to the magnetic disk device to be written (S103).
For example, if the current partition to be written is partition A, the write processing unit 102 writes imaging data to the magnetic disk device A 300a according to the path (/ home / diskA) of the device path information.

一方、撮影データのデータサイズが書き込み対象のパーティションの空き容量を超える場合(S102でYES)は、書込み処理部102は、デバイスパス情報の次のパーティションの情報を読み出す(S104)。
そして、書込み処理部102は、S102において、撮影データのデータサイズと次のパーティションの空き容量とを比較する。
撮影データのデータサイズが次のパーティションの空き容量以下であれば、書込み処理部102は、当該次のパーティションに対応する磁気ディスク装置に撮影データを書き込む(S103)。
On the other hand, when the data size of the photographic data exceeds the available capacity of the partition to be written (YES in S102), the write processing unit 102 reads information on the next partition of the device path information (S104).
In step S102, the writing processing unit 102 compares the data size of the captured data with the free space of the next partition.
If the data size of the shooting data is less than or equal to the free capacity of the next partition, the write processing unit 102 writes the shooting data to the magnetic disk device corresponding to the next partition (S103).

例えば、S102で判断の対象となったパーティションがパーティションAであれば、書込み処理部102はS104でデバイスパス情報のパーティションBの情報を読み出す。
そして、パーティションBの空き容量は、1テラバイトなので、書込み処理部102は、撮影データのデータサイズはパーティションBの空き容量以下であると判断して、デバイスパス情報のパス(/home/diskB)に従い、書込み処理部102は磁気ディスク装置B300bに撮影データを書き込む。
For example, if the partition to be determined in S102 is the partition A, the write processing unit 102 reads the partition B information of the device path information in S104.
Since the free capacity of the partition B is 1 terabyte, the writing processing unit 102 determines that the data size of the captured data is equal to or less than the free capacity of the partition B and follows the path (/ home / diskB) of the device path information. The write processing unit 102 writes the shooting data to the magnetic disk device B300b.

例えば、S102で判断の対象となったパーティションがパーティションBであれば、書込み処理部102はS104でデバイスパス情報のパーティションCの情報を読み出す。
デバイスパス情報が図4の状態、すなわち、磁気ディスク装置C300cがデータ処理装置100に接続される前の段階では、パーティションCの空き容量は0バイトなので、書込み処理部102は、撮影データのデータサイズがパーティションCの空き容量を超えると判断して、次のパーティションであるパーティションAの情報を読み出す(S104)。
デバイスパス情報が図5の状態、すなわち、磁気ディスク装置C300cがデータ処理装置100に接続された後の段階では、パーティションCの空き容量は、3テラバイトなので、書込み処理部102は、撮影データのデータサイズはパーティションCの空き容量以下であると判断して、デバイスパス情報のパス(/home/diskC)に従い、書込み処理部102は磁気ディスク装置C300cに撮影データを書き込む。
For example, if the partition to be determined in S102 is the partition B, the write processing unit 102 reads the information of the partition C in the device path information in S104.
In the state shown in FIG. 4, that is, before the magnetic disk device C300c is connected to the data processing device 100, the free space of the partition C is 0 bytes. Is determined to exceed the free capacity of the partition C, and the information of the partition A, which is the next partition, is read (S104).
When the device path information is in the state of FIG. 5, that is, after the magnetic disk device C300c is connected to the data processing device 100, the free capacity of the partition C is 3 terabytes. The size is determined to be less than or equal to the free capacity of the partition C, and the write processing unit 102 writes the shooting data to the magnetic disk device C300c according to the path (/ home / diskC) of the device path information.

図7は、データ処理装置100のセットアップ処理S13の例を示すフローチャートである。   FIG. 7 is a flowchart illustrating an example of the setup process S13 of the data processing apparatus 100.

書込み処理部102による磁気ディスク装置A300a又は磁気ディスク装置B300bへの撮影データの書き込み中に接続検知部105が新たな磁気ディスクである磁気ディスク装置C300cの接続を検知した場合(S201でYES)に、セットアップ処理部104は、デバイスパス情報記憶部103からデバイスパス情報内の空きパーティションの情報を読み出す(S202)。
具体的には、セットアップ処理部104は、図4のパーティションCの情報を読み出す。
When the connection detection unit 105 detects the connection of the magnetic disk device C300c, which is a new magnetic disk, while writing data to the magnetic disk device A300a or the magnetic disk device B300b by the write processing unit 102 (YES in S201), The setup processing unit 104 reads the information on the empty partition in the device path information from the device path information storage unit 103 (S202).
Specifically, the setup processing unit 104 reads the information of the partition C in FIG.

次に、セットアップ処理部104は、S201で読み出した情報において、空きパーティションのパスを新たな磁気ディスクである磁気ディスク装置C300cへのパスに変更する(S203)。
つまり、図4に示すパーティションCのパーティションのパス「/home/dummy」を図5に示す「/home/discC」に変更する。
Next, the setup processing unit 104 changes the path of the empty partition to the path to the magnetic disk device C300c, which is a new magnetic disk, in the information read in S201 (S203).
That is, the partition path “/ home / dummy” of the partition C shown in FIG. 4 is changed to “/ home / discC” shown in FIG.

また、セットアップ処理部104は、S201で読み出した情報において、空きパーティションのサイズを、新たな磁気ディスクである磁気ディスク装置C300cのサイズに変更する(S204)。
つまり、図4に示すパーティションCのパーティションのサイズ「0バイト」を「3テラバイト」に変更する。
In addition, the setup processing unit 104 changes the size of the free partition in the information read in S201 to the size of the magnetic disk device C300c that is a new magnetic disk (S204).
That is, the partition size “0 byte” of the partition C shown in FIG. 4 is changed to “3 terabytes”.

その後、セットアップ処理部104は、変更後のデバイスパス情報をデバイスパス情報記憶部103に書き戻す(S205)。
つまり、セットアップ処理部104は、図5に示すパーティションCの情報をデバイスパス情報記憶部103に書き戻す。
Thereafter, the setup processing unit 104 writes the changed device path information back to the device path information storage unit 103 (S205).
That is, the setup processing unit 104 writes the information on the partition C shown in FIG. 5 back to the device path information storage unit 103.

***効果の説明***
以上のように、図7に示す手順により、磁気ディスク装置A300a又は磁気ディスク装置B300bへの撮影データの書き込み中に磁気ディスク装置C300cがデータ処理装置100に接続された場合に、磁気ディスク装置A300a及び磁気ディスク装置B300bへの書き込みを停止することなく、磁気ディスク装置C300cへの撮影データの書き込みを可能にするセットアップを完了させることができる。
そして、実際に磁気ディスク装置B300bの空き容量が不足した際に、図6に示す手順により、書き込みが可能な状態になっている磁気ディスク装置C300cへ間断なく撮影データを書き込むことができる。
このため、撮影データの録画漏れを回避することができる。
*** Explanation of effects ***
As described above, when the magnetic disk device C300c is connected to the data processing device 100 during the writing of shooting data to the magnetic disk device A300a or the magnetic disk device B300b by the procedure shown in FIG. Without stopping writing to the magnetic disk device B300b, it is possible to complete the setup that enables writing of shooting data to the magnetic disk device C300c.
Then, when the free capacity of the magnetic disk device B 300b is actually insufficient, the shooting data can be written to the magnetic disk device C 300c in a writable state without interruption by the procedure shown in FIG.
For this reason, it is possible to avoid omission of recording of the photographing data.

実施の形態2.
実施の形態1では、図4及び図5に例示したデバイスパス情報を用いる例を説明した。
図4及び図5のデバイスパス情報に代えて、図8及び図9に示すデバイスパス情報を用いるようにしてもよい。
Embodiment 2. FIG.
In the first embodiment, the example using the device path information illustrated in FIGS. 4 and 5 has been described.
Instead of the device path information shown in FIGS. 4 and 5, the device path information shown in FIGS. 8 and 9 may be used.

図8は、磁気ディスク装置C300cがデータ処理装置100に接続される前のデバイスパス情報の例を示し、図9は、磁気ディスク装置C300cがデータ処理装置100に接続された後のデバイスパス情報の例を示す。   FIG. 8 shows an example of device path information before the magnetic disk device C300c is connected to the data processing device 100. FIG. 9 shows device path information after the magnetic disk device C300c is connected to the data processing device 100. An example is shown.

図8では、図4と同様に、パーティションAとパーティションBについて、「パーティションのパス」と「パーティションのサイズ」の欄が存在する。
一方で、図4には存在していない「切替先のパーティション」の欄が設けられている。
図4の例では、撮影データの書き込み順序として、パーティションA→パーティションB→パーティションAが定義されている。
また、図8では、図4と異なり、パーティションCの情報は存在していない。
In FIG. 8, as in FIG. 4, there are columns of “partition path” and “partition size” for partition A and partition B.
On the other hand, a “switched partition” column that does not exist is provided in FIG.
In the example of FIG. 4, partition A → partition B → partition A is defined as the shooting order of the shooting data.
Also, in FIG. 8, unlike FIG. 4, no information on partition C exists.

図9では、磁気ディスク装置C300cがデータ処理装置100に接続されたことにより、パーティションCの記述が追加されている。
追加されたパーティションCの情報では、図5と同様に、磁気ディスク装置C300cへのパス(/home/discC)と、パーティションCのサイズ(3テラバイト)が定義されている。
また、「切替先パーティション」としてパーティションAが定義されている。
また、パーティションBの「切替先パーティション」がパーティションCに変更されている。
このため、磁気ディスク装置C300cが接続された後の書き込み順序は、パーティションA→パーティションB→パーティションC→パーティションAとなる。
図8のデバイスパス情報から図9のデバイスパス情報への更新は、セットアップ処理部104が行う。
In FIG. 9, the description of the partition C is added because the magnetic disk device C300c is connected to the data processing device 100.
In the added information on the partition C, the path (/ home / discC) to the magnetic disk device C300c and the size of the partition C (3 terabytes) are defined as in FIG.
Further, the partition A is defined as the “switching destination partition”.
Further, the “switching destination partition” of the partition B is changed to the partition C.
Therefore, the write order after the magnetic disk device C300c is connected is partition A → partition B → partition C → partition A.
Update from the device path information in FIG. 8 to the device path information in FIG. 9 is performed by the setup processing unit 104.

本実施の形態では、セットアップ処理部104によるセットアップ処理が異なっており、図4のデバイスパス情報を図5のデバイスパス情報に更新する代わりに、図8のデバイスパス情報を図9のデバイスパス情報に更新する点が異なる。
これ以外の点は、実施の形態1と同様である。
つまり、本実施の形態に係るデータ処理装置100、監視カメラ200、磁気ディスク装置A300a、磁気ディスク装置B300b、磁気ディスク装置C300cの構成は、図1に示す通りである。
また、本実施の形態に係るデータ受信処理及び書込み処理は、図6に示す通りである。
In the present embodiment, the setup processing by the setup processing unit 104 is different, and instead of updating the device path information of FIG. 4 to the device path information of FIG. 5, the device path information of FIG. The point of updating is different.
The other points are the same as in the first embodiment.
That is, the configuration of the data processing device 100, the monitoring camera 200, the magnetic disk device A 300a, the magnetic disk device B 300b, and the magnetic disk device C 300c according to the present embodiment is as shown in FIG.
Further, the data reception process and the write process according to the present embodiment are as shown in FIG.

本実施の形態によっても、実施の形態1と同様に、磁気ディスク装置A300a又は磁気ディスク装置B300bへの撮影データの書き込み中に磁気ディスク装置C300cがデータ処理装置100に接続された場合に、磁気ディスク装置A300a及び磁気ディスク装置B300bへの書き込みを停止することなく、磁気ディスク装置C300cへの撮影データの書き込みを可能にするセットアップを完了させることができる。
そして、実際に磁気ディスク装置B300bの空き容量が不足した際に、書き込みが可能な状態になっている磁気ディスク装置C300cへ間断なく撮影データを書き込むことができる。
このため、撮影データの録画漏れを回避することができる。
Also in the present embodiment, in the same way as in the first embodiment, when the magnetic disk device C300c is connected to the data processing device 100 during writing of shooting data to the magnetic disk device A300a or the magnetic disk device B300b, the magnetic disk It is possible to complete the setup that enables the photographing data to be written to the magnetic disk device C300c without stopping the writing to the device A300a and the magnetic disk device B300b.
Then, when the free capacity of the magnetic disk device B300b is actually insufficient, the photographing data can be written to the magnetic disk device C300c in a writable state without interruption.
For this reason, it is possible to avoid omission of recording of the photographing data.

なお、以上では、監視カメラ200からの撮影データを磁気ディスクに書き込む例を説明したが、受信するデータは撮影データに限るものではなく、連続して受信するデータ(データストリーム)であれば、どのようなデータでもよい。
音声データであっても、テキストデータであってもよい。
また、書き込み先は磁気ディスク装置でなくてもよく、例えば、SSD(Solid State Drive)等の他の種類の記憶デバイスであってもよい。
In the above, the example in which the shooting data from the monitoring camera 200 is written to the magnetic disk has been described. However, the received data is not limited to the shooting data, and any data (data stream) that is continuously received can be used. Such data may be used.
It may be voice data or text data.
The write destination may not be a magnetic disk device, but may be another type of storage device such as an SSD (Solid State Drive).

以上、本発明の実施の形態について説明したが、これら2つの実施の形態を組み合わせて実施しても構わない。
あるいは、これら2つの実施の形態のうち、1つを部分的に実施しても構わない。
あるいは、これら2つの実施の形態を部分的に組み合わせて実施しても構わない。
なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。
Although the embodiments of the present invention have been described above, these two embodiments may be combined and implemented.
Alternatively, one of these two embodiments may be partially implemented.
Alternatively, these two embodiments may be partially combined.
In addition, this invention is not limited to these embodiment, A various change is possible as needed.

最後に、実施の形態1又は2に示したデータ処理装置100のハードウェア構成例を図10を参照して説明する。
データ処理装置100はコンピュータであり、データ処理装置100の各要素をプログラムで実現することができる。
データ処理装置100のハードウェア構成としては、バスに、演算装置901、外部記憶装置902、主記憶装置903、通信装置904、入出力装置905が接続されている。
Finally, a hardware configuration example of the data processing apparatus 100 shown in the first or second embodiment will be described with reference to FIG.
The data processing apparatus 100 is a computer, and each element of the data processing apparatus 100 can be realized by a program.
As a hardware configuration of the data processing device 100, an arithmetic device 901, an external storage device 902, a main storage device 903, a communication device 904, and an input / output device 905 are connected to the bus.

演算装置901は、プログラムを実行するCPU(Central Processing Unit)である。
外部記憶装置902は、例えばROM(Read Only Memory)やフラッシュメモリ、磁気ディスク装置である。
外部記憶装置902は、磁気ディスク装置A300a、磁気ディスク装置B300b、磁気ディスク装置C300cとは異なる記憶装置である。
主記憶装置903は、RAM(Random Access Memory)である。
通信装置904は、データ受信部101の物理層に対応する。
入出力装置905は、例えばマウス、キーボード、ディスプレイ装置等である。
The arithmetic device 901 is a CPU (Central Processing Unit) that executes a program.
The external storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or a magnetic disk device.
The external storage device 902 is a storage device different from the magnetic disk device A 300a, the magnetic disk device B 300b, and the magnetic disk device C 300c.
The main storage device 903 is a RAM (Random Access Memory).
The communication device 904 corresponds to the physical layer of the data receiving unit 101.
The input / output device 905 is, for example, a mouse, a keyboard, a display device, or the like.

プログラムは、通常は外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次演算装置901に読み込まれ、実行される。
プログラムは、図1に示す「〜部」として説明している機能を実現するプログラムである。
更に、外部記憶装置902にはオペレーティングシステム(OS)も記憶されており、OSの少なくとも一部が主記憶装置903にロードされ、演算装置901はOSを実行しながら、図1に示す「〜部」の機能を実現するプログラムを実行する。
また、実施の形態1又は2の説明において、「書き込む」、「セットアップを行う」、「判断する」、「判定する」、「検知する」、「設定する」、「生成する」、「受信する」等として説明している処理の結果を示す情報やデータや信号値や変数値が主記憶装置903にファイルとして記憶されている。
The program is normally stored in the external storage device 902, and is loaded into the main storage device 903 and sequentially read into the arithmetic device 901 and executed.
The program is a program that realizes a function described as “unit” shown in FIG.
Further, an operating system (OS) is also stored in the external storage device 902. At least a part of the OS is loaded into the main storage device 903. ”Is executed.
In the description of the first or second embodiment, “write”, “perform setup”, “determine”, “determine”, “detect”, “set”, “generate”, “receive” The information, data, signal values, and variable values indicating the results of the processing described as “etc.” are stored in the main storage device 903 as files.

なお、図10の構成は、あくまでもデータ処理装置100のハードウェア構成の一例を示すものであり、データ処理装置100のハードウェア構成は図10に記載の構成に限らず、他の構成であってもよい。   Note that the configuration of FIG. 10 is merely an example of the hardware configuration of the data processing apparatus 100, and the hardware configuration of the data processing apparatus 100 is not limited to the configuration illustrated in FIG. Also good.

また、実施の形態1又は2に示す手順により、本発明に係るデータ処理方法を実現可能である。   Further, the data processing method according to the present invention can be realized by the procedure shown in the first or second embodiment.

100 データ処理装置、101 データ受信部、102 書込み処理部、103 デバイスパス情報記憶部、104 セットアップ処理部、105 接続検知部、200 監視カメラ、300a 磁気ディスク装置A、300b 磁気ディスク装置B、300c 磁気ディスク装置C、1000 第1の記憶デバイス、2000 第2の記憶デバイス、S11 データ受信処理、S12 書込み処理、S13 セットアップ処理。   DESCRIPTION OF SYMBOLS 100 Data processing apparatus, 101 Data receiving part, 102 Write processing part, 103 Device path information storage part, 104 Setup processing part, 105 Connection detection part, 200 Monitoring camera, 300a Magnetic disk apparatus A, 300b Magnetic disk apparatus B, 300c Magnetic Disk device C, 1000 first storage device, 2000 second storage device, S11 data reception process, S12 write process, S13 setup process.

Claims (9)

第1の記憶デバイスに接続されているデータ処理装置であって、
データを連続して受信するデータ受信部と、
前記データ受信部により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理部と、
前記書込み処理部による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記書込み処理部による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理部とを有し、
前記書込み処理部は、
前記セットアップ処理部によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始するデータ処理装置。
A data processing apparatus connected to the first storage device,
A data receiver for continuously receiving data;
A write processor that writes data continuously received by the data receiver to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the write processing unit, the second storage by the write processing unit A setup processing unit for performing setup to enable writing of data to the device;
The write processing unit
After the setup by the setup processing unit is completed and the storage capacity of the first storage device is insufficient during the writing of data to the first storage device, the data write destination is set to the first storage device. A data processing apparatus that switches from the storage device to the second storage device and starts writing data to the second storage device.
前記セットアップ処理部は、
前記第2の記憶デバイスの接続が検知された場合に、前記第2の記憶デバイスへのパスを定義するセットアップを行い、
前記書込み処理部は、
前記セットアップ処理部により定義された前記第2の記憶デバイスへのパスを参照して、前記第2の記憶デバイスへのデータの書き込みを開始する請求項1に記載のデータ処理装置。
The setup processing unit
When a connection of the second storage device is detected, a setup for defining a path to the second storage device is performed,
The write processing unit
The data processing apparatus according to claim 1, wherein writing of data to the second storage device is started with reference to a path to the second storage device defined by the setup processing unit.
前記データ処理装置は、更に、
前記第1の記憶デバイスへのパスが定義されているデバイスパス情報を記憶するデバイスパス情報記憶部を有し、
前記セットアップ処理部は、
前記第2の記憶デバイスの接続が検知された場合に、前記第2の記憶デバイスへのパスを前記デバイスパス情報において定義するセットアップを行い、
前記書込み処理部は、
前記デバイスパス情報に定義されている前記第1の記憶デバイスへのパスを参照して、前記第1の記憶デバイスにデータを書き込み、
前記デバイスパス情報に定義されている前記第2の記憶デバイスへのパスを参照して、前記第2の記憶デバイスへのデータの書き込みを開始する請求項1に記載のデータ処理装置。
The data processing device further includes:
A device path information storage unit for storing device path information in which a path to the first storage device is defined;
The setup processing unit
When the connection of the second storage device is detected, a setup for defining a path to the second storage device in the device path information is performed,
The write processing unit
Write data to the first storage device with reference to the path to the first storage device defined in the device path information,
The data processing apparatus according to claim 1, wherein writing of data to the second storage device is started with reference to a path to the second storage device defined in the device path information.
前記デバイスパス情報記憶部は、
論理ボリュームである第1のパーティションと第2のパーティションとが記述され、前記第1のパーティションに対して前記第1の記憶デバイスへのパスが定義され、前記第2のパーティションに対してダミーのパスが定義されているデバイスパス情報を記憶し、
前記セットアップ処理部は、
前記デバイスパス情報において、前記第2のパーティションに対して定義されているダミーのパスに代えて前記第2の記憶デバイスへのパスを定義するセットアップを行う請求項3に記載のデータ処理装置。
The device path information storage unit
A first partition and a second partition that are logical volumes are described, a path to the first storage device is defined for the first partition, and a dummy path for the second partition Stores device path information in which
The setup processing unit
4. The data processing apparatus according to claim 3, wherein in the device path information, setup is performed to define a path to the second storage device instead of a dummy path defined for the second partition.
前記デバイスパス情報記憶部は、
論理ボリュームである第1のパーティションが記述され、前記第1のパーティションに対して前記第1の記憶デバイスへのパスが定義されているデバイスパス情報を記憶し、
前記セットアップ処理部は、
前記デバイスパス情報において、論理ボリュームである第2のパーティションの記述を追加し、前記第2のパーティションに対して前記第2の記憶デバイスへのパスを定義するセットアップを行う請求項3に記載のデータ処理装置。
The device path information storage unit
Storing device path information in which a first partition which is a logical volume is described, and a path to the first storage device is defined for the first partition;
The setup processing unit
The data according to claim 3, wherein a description of a second partition that is a logical volume is added to the device path information, and setup is performed to define a path to the second storage device for the second partition. Processing equipment.
前記データ処理装置は、
データの書き込み順序が規定されている複数の第1の記憶デバイスに接続されており、
前記書込み処理部は、
前記書き込み順序において先行する第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記書き込み順序において後続する第1の記憶デバイスに切り替えるという方式にて、前記データ受信部により連続して受信されたデータを、対象となる第1の記憶デバイスに書き込み、
前記セットアップ処理部は、
前記書込み処理部による、いずれかの第1の記憶デバイスへのデータの書き込み中に前記第2の記憶デバイスの接続が検知された場合に、前記書込み処理部による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行い、
前記書込み処理部は、
前記書き込み順序において最後尾の第1の記憶デバイスの記憶容量が不足した場合に、データの書き込み先を、前記最後尾の第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始する請求項1に記載のデータ処理装置。
The data processing device includes:
Connected to a plurality of first storage devices in which the data writing order is defined,
The write processing unit
When the storage capacity of the first storage device preceding in the write order is insufficient, the data receiving unit continuously switches the data write destination to the first storage device that follows in the write order. The received data is written to the target first storage device,
The setup processing unit
When connection of the second storage device is detected during writing of data to any of the first storage devices by the write processing unit, data to the second storage device by the write processing unit Set up to allow writing,
The write processing unit
When the storage capacity of the last first storage device is insufficient in the writing order, the data write destination is switched from the last first storage device to the second storage device, and the second storage device The data processing apparatus according to claim 1, wherein data writing to the storage device is started.
前記データ受信部は、
監視カメラにより撮影された撮影データを連続して受信する請求項1に記載のデータ処理装置。
The data receiver is
The data processing apparatus according to claim 1, wherein the image data captured by the monitoring camera is continuously received.
第1の記憶デバイスに接続されているコンピュータが行うデータ処理方法であって、
前記コンピュータが、データを連続して受信するデータ受信処理と、
前記コンピュータが、前記データ受信処理により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理と、
前記書込み処理による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記コンピュータが、前記書込み処理による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理とを有し、
前記書込み処理において、
前記セットアップ処理によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、前記コンピュータが、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えて、前記第2の記憶デバイスへのデータの書き込みを開始するデータ処理方法。
A data processing method performed by a computer connected to a first storage device,
A data reception process in which the computer continuously receives data;
A writing process in which the computer writes the data continuously received by the data receiving process to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the writing process, the computer performs the second process by the writing process. And a setup process for performing setup that enables writing of data to the storage device of
In the writing process,
After the setup by the setup process is completed and the storage capacity of the first storage device is insufficient during the writing of data to the first storage device, the computer sets the data write destination to A data processing method for switching from the first storage device to the second storage device and starting writing data to the second storage device.
第1の記憶デバイスに接続されているコンピュータに、
データを連続して受信するデータ受信処理と、
前記データ受信処理により連続して受信されたデータを前記第1の記憶デバイスに書き込む書込み処理と、
前記書込み処理による前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスと異なる第2の記憶デバイスの接続が検知された場合に、前記書込み処理による前記第2の記憶デバイスへのデータの書き込みを可能にするセットアップを行うセットアップ処理とを実行させ、
前記書込み処理において、
前記セットアップ処理によるセットアップが完了した後であって前記第1の記憶デバイスへのデータの書き込み中に前記第1の記憶デバイスの記憶容量が不足した場合に、前記コンピュータに、データの書き込み先を、前記第1の記憶デバイスから前記第2の記憶デバイスに切り替えさせて、前記第2の記憶デバイスへのデータの書き込みを開始させるプログラム。
A computer connected to the first storage device;
Data reception processing for continuously receiving data;
A writing process for writing the data continuously received by the data receiving process to the first storage device;
When connection of a second storage device different from the first storage device is detected during writing of data to the first storage device by the write process, the second storage device by the write process is detected. To execute the setup process that performs the setup to enable the writing of data,
In the writing process,
If the storage capacity of the first storage device is insufficient during the writing of data to the first storage device after the setup by the setup process has been completed, A program for switching from the first storage device to the second storage device and starting writing data to the second storage device.
JP2014193331A 2014-09-24 2014-09-24 Data processing device, data processing method and program Pending JP2016066145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014193331A JP2016066145A (en) 2014-09-24 2014-09-24 Data processing device, data processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014193331A JP2016066145A (en) 2014-09-24 2014-09-24 Data processing device, data processing method and program

Publications (1)

Publication Number Publication Date
JP2016066145A true JP2016066145A (en) 2016-04-28

Family

ID=55805571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014193331A Pending JP2016066145A (en) 2014-09-24 2014-09-24 Data processing device, data processing method and program

Country Status (1)

Country Link
JP (1) JP2016066145A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023514143A (en) * 2020-02-20 2023-04-05 エルエス、エレクトリック、カンパニー、リミテッド Method for Changing of Storage Apparatus in Human Machine Interface System

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049311A (en) * 1996-08-07 1998-02-20 Nec Corp Auxiliary storage medium data writing control system
JP2007004929A (en) * 2005-06-27 2007-01-11 Sharp Corp Digital data recording/reproducing device
JP2009065387A (en) * 2007-09-05 2009-03-26 Sony Corp Video recorder, video recording method and program
US20090234982A1 (en) * 2008-03-13 2009-09-17 Inventec Corporation Method of identifying and dynamically updating storage device status at target
US20100268909A1 (en) * 2009-04-16 2010-10-21 Hon Hai Precision Industry Co., Ltd. Storage system and controlling system and method thereof
JP2012505439A (en) * 2009-02-25 2012-03-01 株式会社日立製作所 Storage apparatus and control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049311A (en) * 1996-08-07 1998-02-20 Nec Corp Auxiliary storage medium data writing control system
JP2007004929A (en) * 2005-06-27 2007-01-11 Sharp Corp Digital data recording/reproducing device
JP2009065387A (en) * 2007-09-05 2009-03-26 Sony Corp Video recorder, video recording method and program
US20090234982A1 (en) * 2008-03-13 2009-09-17 Inventec Corporation Method of identifying and dynamically updating storage device status at target
JP2012505439A (en) * 2009-02-25 2012-03-01 株式会社日立製作所 Storage apparatus and control method thereof
US20100268909A1 (en) * 2009-04-16 2010-10-21 Hon Hai Precision Industry Co., Ltd. Storage system and controlling system and method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
アクセルソン ジャン, USB組み込みホスト 初版, vol. 第1版, JPN6018014552, 30 November 2012 (2012-11-30), JP, pages 71 - 85 *
中井 悦司, 「独習LINUX専科」 サーバ構築/運用/管理 −あなたに伝えたい技と知恵と鉄則 初版, vol. 第1版, JPN6018014556, 1 October 2013 (2013-10-01), JP, pages 150 - 167 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023514143A (en) * 2020-02-20 2023-04-05 エルエス、エレクトリック、カンパニー、リミテッド Method for Changing of Storage Apparatus in Human Machine Interface System
JP7425215B2 (en) 2020-02-20 2024-01-30 エルエス、エレクトリック、カンパニー、リミテッド Method for Changing of Storage Apparatus in Human Machine Interface System

Similar Documents

Publication Publication Date Title
JP5774742B2 (en) Data deduplication method and apparatus
US9767035B2 (en) Pass-through tape access in a disk storage environment
JP2020515197A (en) Block data verification method and device
US11188560B2 (en) Synchronizing object in local object storage node
JP5842768B2 (en) Deduplication apparatus, deduplication method, and deduplication program
US20170103068A1 (en) Data deduplication using a small hash table
US20120173778A1 (en) Dynamic compression of an i/o data block
US9235348B2 (en) System, and methods for initializing a memory system
US11086965B2 (en) Recording ledger data on a blockchain
CN107798063B (en) Snapshot processing method and snapshot processing device
US11455117B2 (en) Data reading method, apparatus, and system, avoiding version rollback issues in distributed system
US11494117B2 (en) Method and system for data processing
CN113641640B (en) Data processing method, device, equipment and medium for stream type computing system
KR20150035876A (en) Method for de-duplicating data and apparatus therefor
CN112020729A (en) Image dead pixel detection method, image processing chip and electronic equipment
JP2016066145A (en) Data processing device, data processing method and program
US20170168672A1 (en) Method and electronic device for data updating
CN105830067B (en) A kind of file information processing method, device and document handling apparatus, system
CN107911541A (en) Multi-camera switching use method and device based on Android system
US20200007447A1 (en) Storing data in association with a key within a hash table and retrieving the data from the hash table using the key
JP6899972B2 (en) Information processing equipment, information processing methods and information processing programs
US9588706B2 (en) Selective memory dump using usertokens
US11068194B2 (en) Method and system for storing and managing states of a computer
US10033810B2 (en) Recovery point objective via dynamic usage of bind segments in a global mirror environment
CN110196785B (en) Data backup management method and device and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180424

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20181023