[go: up one dir, main page]

JP2008299484A - Storage device - Google Patents

Storage device Download PDF

Info

Publication number
JP2008299484A
JP2008299484A JP2007143105A JP2007143105A JP2008299484A JP 2008299484 A JP2008299484 A JP 2008299484A JP 2007143105 A JP2007143105 A JP 2007143105A JP 2007143105 A JP2007143105 A JP 2007143105A JP 2008299484 A JP2008299484 A JP 2008299484A
Authority
JP
Japan
Prior art keywords
usb
storage
descriptor
setting
information
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
JP2007143105A
Other languages
Japanese (ja)
Inventor
Yasutoku Wada
泰徳 和田
Shinichi Segi
真一 勢木
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 Corp
Original Assignee
Mitsubishi Electric 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 Corp filed Critical Mitsubishi Electric Corp
Priority to JP2007143105A priority Critical patent/JP2008299484A/en
Publication of JP2008299484A publication Critical patent/JP2008299484A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】監視用映像記録装置の運用に使用される複数の増設ストレージ装置において、任意のストレージ装置に任意の機器IDを容易に設定できるストレージ装置を得ることを目的とする。
【解決手段】本発明におけるストレージ装置1a〜1nは、記録装置からのデータをインターフェースを介して記録するストレージ装置1a〜1nであって、設定値が選択自在な機器ID設定用スイッチ12を備え、機器ID設定用スイッチ12の設定値を選択することにより、インターフェースを介して記録装置が取得するストレージ装置1a〜1nの機器情報を変更可能とする。
【選択図】図1
An object of the present invention is to provide a storage device that can easily set an arbitrary device ID in an arbitrary storage device in a plurality of additional storage devices used for operation of a monitoring video recording device.
Storage devices 1a to 1n according to the present invention are storage devices 1a to 1n for recording data from a recording device via an interface, and include a device ID setting switch 12 with a selectable setting value. By selecting the setting value of the device ID setting switch 12, the device information of the storage devices 1a to 1n acquired by the recording device via the interface can be changed.
[Selection] Figure 1

Description

本発明は、デジタル化された映像信号等を複数の記録デバイスに記録する監視用映像記録等に用いるストレージ装置に関するものである。   The present invention relates to a storage apparatus used for monitoring video recording or the like for recording digitized video signals or the like on a plurality of recording devices.

監視用映像記録装置は、24時間連続で記録し続ける機能を備えており、銀行などの業界では、行政指導により記録したデータの一定期間の保存が義務付けられている。そこで、デジタルデータを取り出し可能なメディアに記録してライブラリーとして保管する運用や、固定型で高速大容量記録可能なメディアを多数接続し、一定期間のデータを保存する運用が行われている。取り出し可能なメディアの種類として主なものには、CD-ROMやDVD-ROMなどの回転ディスク型メディアがある。また、固定型で高速大容量記録可能なメディアの代表的なものには、ハードディスクドライブ(以下HDDと記載)がある。   Surveillance video recording devices have a function of continuously recording for 24 hours, and banks and other industries are obliged to store data recorded by administrative guidance for a certain period of time. Therefore, there are operations in which digital data is recorded on a removable medium and stored as a library, or a large number of fixed, high-speed, large-capacity recording media are connected to store data for a certain period. The main types of media that can be taken out are rotating disk media such as CD-ROM and DVD-ROM. A typical fixed medium capable of high-speed and large-capacity recording is a hard disk drive (hereinafter referred to as HDD).

ここで、従来の一般的な監視用映像記録装置の構成は、監視用映像記録装置本体に内蔵したHDDだけでなく、HDDを内蔵したストレージ装置を、USB(ユニバーサルシリアルバス)を用いて多数増設した構成となっており、記録可能な時間を延ばす運用や、USBで増設されたストレージ装置をバックアップ用として用いる運用が行われている。   Here, the configuration of the conventional general video recording device for monitoring is not only the HDD built in the video recording device main body but also a large number of storage devices with built-in HDD using USB (Universal Serial Bus). In this configuration, the operation for extending the recordable time and the operation using the storage device added by USB for backup are performed.

このように多数の増設ストレージ装置を監視用映像記録装置に接続することにより、監視用映像記録装置にあるUSBホストコントローラはエニュメレーションを実行する。エニュメレーションは、接続された多数のストレージ装置にあるUSBデバイスにユニークなアドレスを割り振り、USBデバイスからデータ構造の読み取りなどを行い、データ転送の用意をする。この割り振られたアドレスは、USBデバイスがはずされる、またはシステムである監視用映像記録装置がリセットされるまで有効である。次にエニュメレーションがされたときにはUSBデバイスには別のアドレスが割り振られるかもしれず、USBで接続されたストレージ装置のデバイスのIDがダイナミックに変わる(下記非特許文献1参照)。   By connecting a large number of additional storage apparatuses to the monitoring video recording apparatus in this way, the USB host controller in the monitoring video recording apparatus executes enumeration. Enumeration allocates unique addresses to USB devices in many connected storage devices, reads data structures from USB devices, and prepares for data transfer. This allocated address is valid until the USB device is removed or the monitoring video recording apparatus as the system is reset. When enumeration is performed next, another address may be allocated to the USB device, and the ID of the device of the storage apparatus connected via USB changes dynamically (see Non-Patent Document 1 below).

ジャン・アクセルソン著、「USB2.0を含むカスタムUSBデバイス開発のすべて、USBコンプリート」、第2版、株式会社エスアイビー・アクセス、2002年8月1日、p.79−110Jean Axelson, "All of USB device development including USB 2.0, USB Complete", 2nd edition, SIB Access Inc., August 1, 2002, p. 79-110

従来のストレージ装置は、USBホストデバイスにより割り振られたID情報をもとに、増設ストレージ装置を識別するための別の機器識別用IDを作成し、この機器識別用IDをストレージ装置に内蔵されたHDDの中のデータとして持たせている。   The conventional storage device creates another device identification ID for identifying the additional storage device based on the ID information allocated by the USB host device, and this device identification ID is built into the storage device. It is stored as data in the HDD.

しかしながら、上述のような機器識別用IDの設定方法では、ユーザーが多数接続された増設ストレージ装置のどのユニットにどのIDを割り当てるかを指定することが困難であった。また、多数接続された増設ストレージ装置の個々にどのIDが設定されているかを認識することが困難であった。   However, in the device identification ID setting method as described above, it is difficult to specify which ID is assigned to which unit of the extended storage apparatus to which the user is connected in large numbers. In addition, it is difficult to recognize which ID is set for each of the extended storage apparatuses connected in large numbers.

従って、所望の映像記録データを保存するために、監視用映像記録装置の運用から特定の増設装置を外して保存するような場合は、所望の記録映像が入った増設ストレージ装置を特定するのに、外からIDが分からないので容易に特定できないという問題があった。   Therefore, in order to store desired video recording data, when a specific expansion device is removed from the operation of the monitoring video recording device and stored, the additional storage device containing the desired recording video is specified. There is a problem that the ID cannot be easily identified because the ID is not known from the outside.

また、メイン記録用、バックアップ用など、運用が異なる増設ストレージ装置が同時に多数接続されているような監視用映像記録装置の運用においても、ID番号が容易に特定できないため、運用が異なる増設ストレージ装置を容易に特定できないという問題があった。   In addition, even in the operation of surveillance video recording devices such as main recording and backup, where many additional storage devices with different operations are connected at the same time, the ID number cannot be easily specified, so the additional storage devices with different operations There was a problem that could not be identified easily.

また、増設ストレージ装置が多数接続された監視用映像記録装置の運用において、増設ストレージ装置に内蔵されたHDDに異常が発生した場合においても、容易にIDが特定できないため、どの増設ストレージ装置のどのHDDを交換すればよいかを特定するのが困難であるといった問題があった。   In addition, when operating a video recording device for monitoring with a large number of additional storage devices connected, even if an abnormality occurs in the HDD built in the additional storage device, the ID cannot be easily identified. There was a problem that it was difficult to specify whether to replace the HDD.

そこで本発明はかかる問題を解決するためになされたものであり、監視用映像記録装置の運用に使用される複数の増設ストレージ装置において、任意のストレージ装置に任意の機器IDを容易に設定できるストレージ装置を得ることを目的とする。   Accordingly, the present invention has been made to solve such a problem, and in a plurality of additional storage devices used for the operation of the monitoring video recording device, a storage in which an arbitrary device ID can be easily set in an arbitrary storage device. The object is to obtain a device.

本発明におけるストレージ装置は、記録装置からのデータをインターフェースを介して記録するストレージ装置であって、設定値が選択自在な機器ID設定用スイッチを備え、前記機器ID設定用スイッチの設定値を選択することにより、前記インターフェースを介して前記記録装置が取得する前記ストレージ装置の機器情報を変更可能とする。   The storage device according to the present invention is a storage device that records data from a recording device via an interface, and includes a device ID setting switch with a selectable setting value, and selects the setting value of the device ID setting switch. As a result, the device information of the storage device acquired by the recording device can be changed via the interface.

本発明のストレージ装置によれば、増設ストレージ装置に機器ID設定用のスイッチを備え、そのスイッチの設定によりストレージ装置の機器情報を設定して、ストレージ装置を識別することが可能になるため、任意のストレージ装置に任意のIDを設定でき、増設ストレージ装置のIDを容易に特定できる。   According to the storage apparatus of the present invention, the expansion storage apparatus is provided with a device ID setting switch, and by setting the switch, it is possible to set the storage apparatus information to identify the storage apparatus. An arbitrary ID can be set for each storage device, and the ID of the additional storage device can be easily identified.

<実施の形態1>
図1は、本発明の実施の形態1におけるストレージ装置1a〜1nの構成を示したものであり、記録装置からのデータをインターフェースを介して記録するストレージ装置1a〜1nを示したものである。本実施の形態では、記録装置を監視用映像記録装置2とし、インターフェースをUSBインターフェース5として説明する。
<Embodiment 1>
FIG. 1 shows the configuration of the storage apparatuses 1a to 1n according to the first embodiment of the present invention, and shows the storage apparatuses 1a to 1n that record data from the recording apparatus via an interface. In the present embodiment, the recording apparatus is described as the monitoring video recording apparatus 2 and the interface is described as the USB interface 5.

ストレージ装置1a〜1nは、設定値が選択自在な機器ID設定用スイッチ12、USBインターフェース5を介して監視用映像記録装置2と情報の送受信を行うUSBデバイス11,情報を記憶するHDD13a,13bを備え、USBデバイス11は演算や実行状態の保持に用いる記憶素子であるレジスタ14を備えている。このUSBデバイス11は、USBインターフェース5を介して監視用映像記録装置2のUSBホスト21に接続されて情報を送受信する。ここで、本実施の形態における機器ID設定用スイッチ12は、ロータリースイッチやディップスイッチなどである。   The storage devices 1a to 1n include a device ID setting switch 12 with selectable setting values, a USB device 11 that transmits and receives information to and from the monitoring video recording device 2 via the USB interface 5, and HDDs 13a and 13b that store information. In addition, the USB device 11 includes a register 14 that is a storage element used for calculation and holding of an execution state. The USB device 11 is connected to the USB host 21 of the monitoring video recording apparatus 2 via the USB interface 5 to transmit / receive information. Here, the device ID setting switch 12 in the present embodiment is a rotary switch, a dip switch, or the like.

図2は、本発明の実施の形態1のストレージ装置1a〜1nにおけるUSBデバイス11のディスクリプタ112の構成を示したものである。ディスクリプタ112は、ストレージ装置1a〜1nを監視用映像記録装置2側で正しく認識させるためのデータの集合体であり、USBデバイス11に関する一般情報を記述するデバイスディスクリプタ113、デバイス,インターフェースなどの説明を記述したり、デバイスのシリアル番号文字列を設定できるストリングディスクリプタ115などの種類がある。また、デバイスディスクリプタ113は、製品を示すストリングディスクリプタ115へのインデックスであるiProduct114、製造番号を示すストリングディスクリプタ115へのインデックスであるiSerialNumber116などの種類がある。   FIG. 2 shows the configuration of the descriptor 112 of the USB device 11 in the storage apparatuses 1a to 1n according to the first embodiment of the present invention. The descriptor 112 is a collection of data for correctly recognizing the storage apparatuses 1a to 1n on the monitoring video recording apparatus 2 side. The descriptor 112 describes the device descriptor 113 that describes general information about the USB device 11, devices, interfaces, and the like. There are types such as a string descriptor 115 that can be described or set a device serial number character string. The device descriptor 113 includes types such as iProduct 114 that is an index to the string descriptor 115 that indicates a product and iSerialNumber 116 that is an index to the string descriptor 115 that indicates a production number.

ここで、USBホスト21とUSBデバイス11のディスクリプタ112との関係について説明する。USBホスト21がエニュメレーションする際、USBデバイス11にコントロール転送を行ってディスクリプタ112をリクエストする。USBデバイス11はリクエストされたら、ディスクリプタ112を返さなければならないため、ディスクリプタ112に情報を格納することが必要である。エニュメレーションが進行するにつれて、次第にデバイスの小さな要素のディスクリプタ112がリクエストされるようになり、USBホスト21はUSBデバイスの情報を取得する。   Here, the relationship between the USB host 21 and the descriptor 112 of the USB device 11 will be described. When the USB host 21 enumerates, a control transfer is performed to the USB device 11 to request the descriptor 112. Since the USB device 11 must return the descriptor 112 when requested, it is necessary to store information in the descriptor 112. As the enumeration progresses, the device small element descriptor 112 is gradually requested, and the USB host 21 acquires the information of the USB device.

次に、ストレージ装置1aがUSBデバイス11のディスクリプタ112に機器情報を格納する動作について説明する。まず、ストレージ装置1aの電源を起動し、USBデバイス11が起動すると、USBデバイス11は機器ID設定用スイッチ12の設定値を読み取る。読み取った機器ID設定値はUSBデバイス11内のレジスタ14に設定される。USBデバイス11はレジスタ14に設定された機器ID設定値をもとに、製品を表すディスクリプタ112、例えばデバイスディスクリプタ113のiProduct114に機器情報を設定する。ここで、iProduct114はストリングディスクリプタ115へのインデックスであるため、iProduct114にはインデックス値を設定し、機器IDの設定値に対応する文字列をストリングディスクリプタ115に設定する。   Next, an operation in which the storage apparatus 1a stores device information in the descriptor 112 of the USB device 11 will be described. First, when the power supply of the storage apparatus 1a is activated and the USB device 11 is activated, the USB device 11 reads the setting value of the device ID setting switch 12. The read device ID setting value is set in the register 14 in the USB device 11. Based on the device ID setting value set in the register 14, the USB device 11 sets device information in a descriptor 112 representing a product, for example, iProduct 114 of the device descriptor 113. Here, since iProduct 114 is an index to the string descriptor 115, an index value is set in iProduct 114, and a character string corresponding to the set value of the device ID is set in the string descriptor 115.

同様にして各ストレージ装置1b〜1nの電源を起動すると、各々のストレージ装置1b〜1nは各々の機器ID設定用スイッチ12で設定された設定値を読み取り、USBデバイス11のレジスタ14に設定する。各々のストレージ装置1b〜1nはデバイスディスクリプタ113のiProduct114にインデックス値を設定し、USBデバイス11内のレジスタ14に設定された値に対応する文字列をストリングディスクリプタ115に設定する。ここで、この機器ID設定値と、ストリングディスクリプタ115に設定する文字列の関係は例えば以下の表1のようにする。このようにしてディスクリプタ112に機器情報を格納することができる。   Similarly, when the power supplies of the storage apparatuses 1b to 1n are activated, the storage apparatuses 1b to 1n read the setting values set by the respective device ID setting switches 12 and set them in the register 14 of the USB device 11. Each of the storage apparatuses 1b to 1n sets an index value in iProduct 114 of the device descriptor 113, and sets a character string corresponding to the value set in the register 14 in the USB device 11 in the string descriptor 115. Here, the relationship between the device ID setting value and the character string set in the string descriptor 115 is, for example, as shown in Table 1 below. In this way, device information can be stored in the descriptor 112.

Figure 2008299484
Figure 2008299484

次に、監視用映像記録装置2とストレージ装置1a〜1nとの通信動作について説明する。ストレージ装置1a〜1nの各USBデバイス11がホスト側のポートに接続された状態で監視用映像記録装置2のシステムが起動する。監視用映像記録装置2のUSBホスト21はUSBデバイス11が接続されたことを知り、各々のストレージ装置1a〜1nにUSBデバイス11のリセットをリクエストする。USBデバイス11がリセット状態から脱出した後、USBデバイス11との間に信号路を確立する。   Next, a communication operation between the monitoring video recording apparatus 2 and the storage apparatuses 1a to 1n will be described. The system of the monitoring video recording apparatus 2 is activated in a state where the USB devices 11 of the storage apparatuses 1a to 1n are connected to the ports on the host side. The USB host 21 of the monitoring video recording device 2 learns that the USB device 11 is connected, and requests the storage devices 1a to 1n to reset the USB device 11. After the USB device 11 exits from the reset state, a signal path is established with the USB device 11.

次に、USBホスト21は、各々のストレージ装置1a〜1nのUSBデバイス11にユニークなアドレスを割り振る。USBホスト21は割り振った新しいアドレスからディスクリプタ112をリクエストしてデバイスディスクリプタ113を読み取る。USBホスト21は、各ストレージ装置1a〜1nにあるUSBデバイス11のデバイスディスクリプタ113から読み取った情報を使用して以降の通信を行う。   Next, the USB host 21 assigns a unique address to the USB device 11 of each of the storage apparatuses 1a to 1n. The USB host 21 requests the descriptor 112 from the new allocated address and reads the device descriptor 113. The USB host 21 performs subsequent communication using information read from the device descriptor 113 of the USB device 11 in each of the storage apparatuses 1a to 1n.

ここで、上述したように各々のストレージ装置1a〜1nにあるUSBデバイス11のデバイスディスクリプタ113のiProduct114には、ストリングディスクリプタ115へのインデックス値が設定されており、そのインデックスで示されるストリングディスクリプタ115には、上記機器ID設定用スイッチ12で設定したID番号に対応する文字列が含まれている。従って、USBホスト21は、USBデバイス11から送出された機器情報を含むディスクリプタを読み取ることによって、ストレージ装置1a〜1nの機器情報を取得することができ、すなわちユーザーがストレージ装置1a〜1nに設定した各ID番号を全て取得することができる。   Here, as described above, an index value for the string descriptor 115 is set in the iProduct 114 of the device descriptor 113 of the USB device 11 in each of the storage devices 1a to 1n, and the string descriptor 115 indicated by the index is set in the string descriptor 115. Includes a character string corresponding to the ID number set by the device ID setting switch 12. Therefore, the USB host 21 can acquire the device information of the storage devices 1a to 1n by reading the descriptor including the device information sent from the USB device 11, that is, the user sets the storage devices 1a to 1n. All ID numbers can be acquired.

このようにして、ユーザーが各々のストレージ装置1a〜1nに具備された機器ID設定用スイッチ12で設定したID番号により、監視用映像記録装置2はストレージ装置1a〜1nを識別することが可能になり、この情報をもとに機器IDをストレージ装置1a〜1nに設定する。すなわち、ユーザーが機器ID設定用スイッチ12の設定値を選択することにより、監視用映像記録装置2が取得するストレージ装置1a〜1nの機器情報を変更することが可能である。   In this way, the monitoring video recording apparatus 2 can identify the storage apparatuses 1a to 1n based on the ID number set by the user with the device ID setting switch 12 provided in each of the storage apparatuses 1a to 1n. Therefore, the device ID is set in the storage devices 1a to 1n based on this information. That is, when the user selects the setting value of the device ID setting switch 12, the device information of the storage devices 1a to 1n acquired by the monitoring video recording device 2 can be changed.

以上から、ストレージ装置1a〜1nのID設定用スイッチで設定したIDを監視用映像記録装置2で使用することが可能になり、複数接続された増設ストレージ装置1a〜1nの中から所望のIDのストレージ装置1a〜1nを容易に特定することができる。   As described above, the ID set by the ID setting switch of the storage devices 1a to 1n can be used by the monitoring video recording device 2, and a desired ID can be selected from the plurality of additional storage devices 1a to 1n connected. The storage devices 1a to 1n can be easily identified.

<実施の形態2>
本実施の形態では、各々のストレージ装置1a〜1nのUSBデバイス11は機器ID設定スイッチ12により設定され、レジスタ14に設定されたID設定値に対応する機器情報をデバイスディスクリプタ113の設定フィールドとして、iSerialNumber116に設定する。実施の形態1と異なる点は、機器情報をデバイスディスクリプタ113のiSerialNumber116に設定する点である。ここで、iSerialNumber116はストリングディスクリプタ115へのインデックスであるため、iSerialNumber116にはインデックス値を設定し、機器IDの設定値に対応する文字列をストリングディスクリプタ115に設定する。
<Embodiment 2>
In the present embodiment, the USB device 11 of each of the storage apparatuses 1a to 1n is set by the device ID setting switch 12, and the device information corresponding to the ID setting value set in the register 14 is used as the setting field of the device descriptor 113. Set to iSerialNumber 116. The difference from the first embodiment is that the device information is set in the iSerialNumber 116 of the device descriptor 113. Here, since iSerialNumber 116 is an index to the string descriptor 115, an index value is set in the iSerialNumber 116, and a character string corresponding to the set value of the device ID is set in the string descriptor 115.

次に、監視用映像記録装置2とストレージ装置1a〜1nとの通信動作について説明する。監視用映像記録装置2のシステムを起動すると、監視用映像記録装置2のUSBホスト21はストレージ装置1a〜1nのデバイスディスクリプタ113を読み取る。USBホスト21は、各ストレージ装置1a〜1nにあるUSBデバイス11のデバイスディスクリプタ113から読み取った情報を用いて以降の通信を行う。   Next, a communication operation between the monitoring video recording apparatus 2 and the storage apparatuses 1a to 1n will be described. When the system of the monitoring video recording apparatus 2 is activated, the USB host 21 of the monitoring video recording apparatus 2 reads the device descriptor 113 of the storage apparatuses 1a to 1n. The USB host 21 performs subsequent communication using information read from the device descriptor 113 of the USB device 11 in each of the storage apparatuses 1a to 1n.

ここで、上述したように各々のストレージ装置1a〜1nにあるUSBデバイス11のデバイスディスクリプタ113のiSerialNumber116にはストリングディスクリプタ115へのインデックス値が設定されており、そのインデックスで示されるストリングディスクリプタ115には、機器ID設定用スイッチ12で設定したID番号に対応する文字列が含まれている。従って、USBホスト21は、USBデバイス11から送出されたディスクリプタを読み取ることによってストレージ装置1a〜1nの機器情報を取得することができ、すなわちユーザーがストレージ装置1a〜1nに設定した各ID番号を全て取得することができる。   Here, as described above, an index value for the string descriptor 115 is set in the iSerialNumber 116 of the device descriptor 113 of the USB device 11 in each of the storage apparatuses 1a to 1n, and the string descriptor 115 indicated by the index has the index value. A character string corresponding to the ID number set by the device ID setting switch 12 is included. Therefore, the USB host 21 can acquire the device information of the storage devices 1a to 1n by reading the descriptor sent from the USB device 11, that is, all the ID numbers set by the user in the storage devices 1a to 1n. Can be acquired.

このようにして、ユーザーが各々のストレージ装置1a〜1nに具備された機器ID設定用スイッチ12で設定したID番号により、監視用映像記録装置2はストレージ装置1a〜1nを識別することが可能になり、この情報をもとに機器IDをストレージ装置1a〜1nに設定する。その他の構成・動作は実施の形態1と同様のため説明を省略する。   In this way, the monitoring video recording apparatus 2 can identify the storage apparatuses 1a to 1n based on the ID number set by the user with the device ID setting switch 12 provided in each of the storage apparatuses 1a to 1n. Therefore, the device ID is set in the storage devices 1a to 1n based on this information. Other configurations and operations are the same as those in the first embodiment, and thus description thereof is omitted.

機器ID設定スイッチにより設定された設定値の設定フィールドとしては、例えばiManufacturerなどのほかのフィールとでも良い。また、機器ID設定スイッチにより設定された設定値の設定フィールドとして、デバイスディスクリプタ113の複数の設定フィールドにID番号に対応する情報を設定しても良い。   The setting field for the setting value set by the device ID setting switch may be another field such as iManufacturer, for example. Further, information corresponding to the ID number may be set in a plurality of setting fields of the device descriptor 113 as a setting value setting field set by the device ID setting switch.

以上から、ストレージ装置1a〜1nのID設定用スイッチで設定したIDを監視用映像記録装置2で使用することが可能になり、複数接続された増設ストレージ装置1a〜1nの中から、所望のIDのストレージ装置1a〜1nを容易に特定することができる。   As described above, the ID set by the ID setting switch of the storage devices 1a to 1n can be used by the monitoring video recording device 2, and a desired ID can be selected from a plurality of additional storage devices 1a to 1n connected. The storage devices 1a to 1n can be easily identified.

<実施の形態3>
図3は、本発明の実施の形態3におけるストレージ装置3a〜3nの構成を示したものであり、実施の形態1と異なる点は、機器ID設定用スイッチ12とUSBデバイス11との間にパラレルシリアル変換器15をさらに備えた点である。
<Embodiment 3>
FIG. 3 shows the configuration of the storage apparatuses 3a to 3n according to the third embodiment of the present invention. The difference from the first embodiment is that the parallel connection between the device ID setting switch 12 and the USB device 11 is performed. The serial converter 15 is further provided.

次に、ストレージ装置3aがUSBデバイス11のディスクリプタ112に機器情報を格納する動作について説明する。まず、ストレージ装置3aの電源を起動し、USBデバイス11が起動すると、USBデバイス11はパラレルシリアル変換器15にクロックを供給する。パラレルシリアル変換器15は、パラレル入力インターフェース側に接続された機器ID設定用スイッチ12の設定値を、USBデバイス11から供給されるロード信号のタイミングで読み取り、シリアル出力インターフェースから送出する。   Next, an operation in which the storage apparatus 3a stores device information in the descriptor 112 of the USB device 11 will be described. First, when the power supply of the storage device 3 a is activated and the USB device 11 is activated, the USB device 11 supplies a clock to the parallel-serial converter 15. The parallel-serial converter 15 reads the setting value of the device ID setting switch 12 connected to the parallel input interface side at the timing of the load signal supplied from the USB device 11 and sends it from the serial output interface.

USBデバイス11は、パラレルシリアル変換器15からシリアルデータとして送出された機器ID設定用スイッチ12の設定値を読み取る。読み取った機器ID設定値はUSBデバイス11内のレジスタ14に設定される。USBデバイス11はレジスタ14に設定された機器ID設定値をもとに、製品を表すディスクリプタ112、例えばデバイスディスクリプタ113のiProduct114に機器情報を設定する。ここで、iProduct114はストリングディスクリプタ115へのインデックスであるため、iProduct114にはインデックス値を設定し、機器IDの設定値に対応する文字列をストリングディスクリプタ115に設定する。   The USB device 11 reads the setting value of the device ID setting switch 12 sent as serial data from the parallel-serial converter 15. The read device ID setting value is set in the register 14 in the USB device 11. Based on the device ID setting value set in the register 14, the USB device 11 sets device information in a descriptor 112 representing a product, for example, iProduct 114 of the device descriptor 113. Here, since iProduct 114 is an index to the string descriptor 115, an index value is set in iProduct 114, and a character string corresponding to the set value of the device ID is set in the string descriptor 115.

同様にして各ストレージ装置3b〜3nの電源を起動すると、各々のストレージ装置3b〜3nは各々の機器ID設定用スイッチ12で設定された設定値を、パラレルシリアル変換器15を通して読み取り、USBデバイス11のレジスタ14に設定する。各々のストレージ装置は3b〜3nデバイスディスクリプタ113のiProduct114にインデックス値を設定し、USBデバイス11内のレジスタ14に設定された値に対応する文字列をストリングディスクリプタ115に設定する。その他の構成・動作は実施の形態1と同様のため、説明を省略する。   Similarly, when the power supplies of the respective storage apparatuses 3b to 3n are activated, the respective storage apparatuses 3b to 3n read the setting values set by the respective device ID setting switches 12 through the parallel-serial converter 15, and the USB device 11 Is set in the register 14. Each storage apparatus sets an index value in iProduct 114 of the 3b to 3n device descriptor 113 and sets a character string corresponding to the value set in the register 14 in the USB device 11 in the string descriptor 115. Other configurations and operations are the same as those in the first embodiment, and thus description thereof is omitted.

以上から、ストレージ装置3a〜3nのUSBデバイス11は、少ない信号線で機器ID設定用スイッチ12の設置値を読み取ることが可能となる。また、ストレージ装置3a〜3nのID設定用スイッチで設定したIDを監視用映像記録装置2で使用することが可能となり、複数接続された増設ストレージ装置3a〜3nの中から、所望のIDのストレージ装置3a〜3nを容易に特定することができる。   As described above, the USB devices 11 of the storage apparatuses 3a to 3n can read the setting value of the device ID setting switch 12 with a small number of signal lines. Further, the ID set by the ID setting switch of the storage devices 3a to 3n can be used by the monitoring video recording device 2, and a storage with a desired ID can be selected from the plurality of additional storage devices 3a to 3n connected. The devices 3a to 3n can be easily identified.

<実施の形態4>
図4は、本発明の実施の形態4におけるストレージ装置4a〜4nの構成を示したものであり、実施の形態3と異なる点は、設定値が選択自在な動作モード設定用スイッチ16、をさらに備えた点である。
<Embodiment 4>
FIG. 4 shows the configuration of the storage apparatuses 4a to 4n according to the fourth embodiment of the present invention. The difference from the third embodiment is that an operation mode setting switch 16 with a selectable setting value is further provided. It is a prepared point.

次に、ストレージ装置4aがUSBデバイス11のディスクリプタ112に機器情報を格納する動作について説明する。まず、ストレージ装置4aの電源を起動し、USBデバイス11が起動すると、USBデバイス11は機器ID設定用スイッチ12、動作モード設定用スイッチ16の設定値を、パラレルシリアル変換器15を通して読み取る。読み取った機器ID設定値、動作モード設定値はUSBデバイス11内のレジスタ14に設定される。USBデバイス11はレジスタ14に設定された機器ID設定値、動作モード設定値をもとに、製品を表すディスクリプタ112、例えばデバイスディスクリプタ113のiProduct114に機器情報、動作モード情報を設定する。ここで、iProduct114はストリングディスクリプタ115へのインデックスであるため、iProduct114にはインデックス値を設定し、機器ID設定値、動作モード設定値に対応する文字列をストリングディスクリプタ115に設定する。   Next, an operation in which the storage apparatus 4a stores device information in the descriptor 112 of the USB device 11 will be described. First, when the power supply of the storage apparatus 4 a is activated and the USB device 11 is activated, the USB device 11 reads the setting values of the device ID setting switch 12 and the operation mode setting switch 16 through the parallel-serial converter 15. The read device ID setting value and operation mode setting value are set in the register 14 in the USB device 11. The USB device 11 sets device information and operation mode information in a descriptor 112 representing a product, for example, iProduct 114 of the device descriptor 113 based on the device ID setting value and operation mode setting value set in the register 14. Here, since iProduct 114 is an index to the string descriptor 115, an index value is set in iProduct 114, and a character string corresponding to the device ID setting value and the operation mode setting value is set in the string descriptor 115.

同様にして各ストレージ装置4b〜4nの電源を起動すると、各々のストレージ装置4b〜4nは各々の機器ID設定用スイッチ12、動作モード設定用スイッチ16で設定された設定値を、パラレルシリアル変換器15を通して読み取り、USBデバイス11のレジスタ14に設定する。各々のストレージ装置4b〜4nはデバイスディスクリプタ113のiProduct114にインデックス値を設定し、USBデバイス11内のレジスタ14に設定された値に対応する文字列をストリングディスクリプタ115に設定する。   Similarly, when the power supply of each of the storage apparatuses 4b to 4n is started, each of the storage apparatuses 4b to 4n converts the setting values set by the device ID setting switch 12 and the operation mode setting switch 16 into parallel-serial converters. 15 and set in the register 14 of the USB device 11. Each of the storage apparatuses 4b to 4n sets an index value in iProduct 114 of the device descriptor 113, and sets a character string corresponding to the value set in the register 14 in the USB device 11 in the string descriptor 115.

次に、監視用映像記録装置2とストレージ装置4a〜4nとの通信動作について説明する。監視用映像記録装置2のシステムを起動すると、監視用映像記録装置2のUSBホスト21はストレージ装置4a〜4nのデバイスディスクリプタ113を読み取る。各々のストレージ装置4a〜4nにあるUSBデバイス11のデバイスディスクリプタ113のiProduct114にはストリングディスクリプタ115へのインデックス値が設定されており、そのインデックスで示されるストリングディスクリプタ115には、機器ID設定用スイッチ12で設定したID番号、動作モード設定用スイッチ16で設定した動作モードに対応する文字列が含まれている。   Next, a communication operation between the monitoring video recording apparatus 2 and the storage apparatuses 4a to 4n will be described. When the system of the monitoring video recording apparatus 2 is activated, the USB host 21 of the monitoring video recording apparatus 2 reads the device descriptor 113 of the storage apparatuses 4a to 4n. An index value to the string descriptor 115 is set in the iProduct 114 of the device descriptor 113 of the USB device 11 in each of the storage apparatuses 4a to 4n, and the device ID setting switch 12 is set in the string descriptor 115 indicated by the index. And the character string corresponding to the operation mode set by the operation mode setting switch 16 is included.

監視用映像記録装置2は、USBデバイス11から送出された動作モード情報読み取ってストレージ装置4a〜4nの動作モードを認識し、HDD13a,13bの運用を決定する。動作モード設定スイッチにより設定されるHDD13a,13bの動作運用モードとして、2台のHDD13a,13bを個別に読み書き可能なセパレート運用、2台のHDD13a,13bに同じデータを書き込んでいくミラーリング運用、2台のHDD13a,13bを合わせて1台のHDDとして読み書き可能なスパニング運用などがあげられる。その他の構成・動作は実施の形態3と同様のため説明を省略する。   The monitoring video recording apparatus 2 reads the operation mode information sent from the USB device 11, recognizes the operation mode of the storage apparatuses 4a to 4n, and determines the operation of the HDDs 13a and 13b. The operation mode of the HDDs 13a and 13b set by the operation mode setting switch is a separate operation in which the two HDDs 13a and 13b can be read and written individually, and a mirroring operation in which the same data is written in the two HDDs 13a and 13b. The HDD 13a and 13b can be combined into a single HDD, and can be read / written as a spanning operation. Other configurations and operations are the same as those in the third embodiment, and a description thereof will be omitted.

このようにして監視用映像記録装置2は、各々のストレージ装置4a〜4nに設定した機器情報から機器ID番号を取得することができ、このID番号によりストレージ装置4a〜4nを識別することが可能となる。また、同様に監視用映像記録装置2は、ストレージ装置4a〜4nに設定した動作モード情報から動作モード設定値を取得することができ、この動作モード設定値によりストレージ装置4a〜4nの動作モードを識別することが可能となる。これらの情報をもとに機器IDをストレージ装置4a〜4nに設定する。   In this way, the monitoring video recording apparatus 2 can acquire the apparatus ID number from the apparatus information set in each of the storage apparatuses 4a to 4n, and can identify the storage apparatuses 4a to 4n by this ID number. It becomes. Similarly, the monitoring video recording apparatus 2 can acquire the operation mode setting value from the operation mode information set in the storage apparatuses 4a to 4n, and the operation mode of the storage apparatuses 4a to 4n is determined based on the operation mode setting value. It becomes possible to identify. Based on these pieces of information, device IDs are set in the storage apparatuses 4a to 4n.

以上から、ストレージ装置4a〜4nの機器ID設定用スイッチ12で設定したIDを監視用映像記録装置で使用することが可能になるとともに、ストレージ装置4a〜4bの動作モードも識別することが可能になり、複数接続されたストレージ装置4a〜4nの中から、所望のIDのストレージ装置4a〜4nを容易に特定することができるとともに、そのストレージ装置4a〜4nの動作モードも特定することができる。   As described above, the ID set by the device ID setting switch 12 of the storage apparatuses 4a to 4n can be used in the monitoring video recording apparatus, and the operation mode of the storage apparatuses 4a to 4b can be identified. Thus, the storage devices 4a to 4n having a desired ID can be easily specified from the plurality of connected storage devices 4a to 4n, and the operation mode of the storage devices 4a to 4n can also be specified.

本発明の実施の形態1におけるストレージ装置の構成を示した図である。1 is a diagram showing a configuration of a storage device according to a first embodiment of the present invention. 本発明の実施の形態1におけるディスクリプタの構成を示した図である。It is the figure which showed the structure of the descriptor in Embodiment 1 of this invention. 本発明の実施の形態3におけるストレージ装置の構成を示した図である。It is the figure which showed the structure of the storage apparatus in Embodiment 3 of this invention. 本発明の実施の形態4におけるストレージ装置の構成を示した図である。It is the figure which showed the structure of the storage apparatus in Embodiment 4 of this invention.

符号の説明Explanation of symbols

1a〜1n,3a〜3n,4a〜4n ストレージ装置、2 監視用映像記録装置、5 USBインターフェース、11 USBデバイス、12 機器ID設定用スイッチ、13a,13b HDD、14 レジスタ、15 パラレルシリアル変換器、16 モード設定用スイッチ、112 ディスクリプタ、113 デバイスディスクリプタ、114 iProduct、115 ストリングディスクリプタ、116 iSerialNumber。   1a to 1n, 3a to 3n, 4a to 4n storage device, 2 monitoring video recording device, 5 USB interface, 11 USB device, 12 device ID setting switch, 13a, 13b HDD, 14 register, 15 parallel serial converter, 16 Mode setting switch, 112 descriptor, 113 device descriptor, 114 iProduct, 115 string descriptor, 116 iSerialNumber.

Claims (6)

記録装置からのデータをインターフェースを介して記録するストレージ装置において、
設定値が選択自在な機器ID設定用スイッチを備え、
前記機器ID設定用スイッチの設定値を選択することにより、前記インターフェースを介して前記記録装置が取得する前記ストレージ装置の機器情報を変更可能なストレージ装置。
In a storage device that records data from a recording device via an interface,
Equipped with a device ID setting switch with selectable setting values,
A storage device capable of changing device information of the storage device acquired by the recording device via the interface by selecting a setting value of the device ID setting switch.
前記インターフェースはUSBインターフェースであり、
前記USBインターフェースを介して前記記録装置と情報の送受信を行うUSBデバイスをさらに備え、
前記機器ID設定用スイッチの設定値に対応する情報を前記USBデバイスのデバイスディスクリプタおよびストリングディスクリプタに設定することにより前記機器情報を特定し、前記USBインターフェースを介して前記記録装置へ前記機器情報を送出する請求項1に記載のストレージ装置。
The interface is a USB interface;
Further comprising a USB device for transmitting and receiving information to and from the recording device via the USB interface;
The device information is specified by setting information corresponding to the setting value of the device ID setting switch in the device descriptor and string descriptor of the USB device, and the device information is sent to the recording device via the USB interface The storage device according to claim 1.
前記デバイスディスクリプタの複数のフィールドに前記機器ID設定値に対応する情報を設定する請求項2に記載のストレージ装置。   The storage apparatus according to claim 2, wherein information corresponding to the device ID setting value is set in a plurality of fields of the device descriptor. パラレルシリアル変換器をさらに備え、
前記USBデバイスは、前記機器ID設定用スイッチの設定値を前記パラレルシリアル変換器を介して取得する請求項2または3に記載のストレージ装置。
A parallel serial converter,
The storage device according to claim 2 or 3, wherein the USB device acquires a setting value of the device ID setting switch via the parallel-serial converter.
前記ストレージ装置は複数のHDDで構成され、
設定値が選択自在な動作モード設定用スイッチをさらに備え、
前記動作モード設定用スイッチの設定値を選択することにより、前記インターフェースを介して前記記録装置が取得する前記ストレージ装置の動作モード情報を変更可能な請求項1に記載のストレージ装置。
The storage device is composed of a plurality of HDDs,
It further includes an operation mode setting switch with selectable setting values.
The storage apparatus according to claim 1, wherein operation mode information of the storage apparatus acquired by the recording apparatus via the interface can be changed by selecting a setting value of the operation mode setting switch.
前記インターフェースはUSBインターフェースであり、
前記USBインターフェースを介して前記記録装置と情報の送受信を行うUSBデバイスをさらに備え、
前記動作モード設定用スイッチの設定値に対応する情報を前記USBデバイスのデバイスディスクリプタおよびストリングディスクリプタに設定することにより前記動作モード情報を特定し、前記USBインターフェースを介して前記記録装置へ前記動作モード情報を送出する請求項5に記載のストレージ装置。
The interface is a USB interface;
Further comprising a USB device for transmitting and receiving information to and from the recording device via the USB interface;
The operation mode information is specified by setting information corresponding to a setting value of the operation mode setting switch in a device descriptor and a string descriptor of the USB device, and the operation mode information is transmitted to the recording device via the USB interface. The storage device according to claim 5, wherein
JP2007143105A 2007-05-30 2007-05-30 Storage device Pending JP2008299484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007143105A JP2008299484A (en) 2007-05-30 2007-05-30 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007143105A JP2008299484A (en) 2007-05-30 2007-05-30 Storage device

Publications (1)

Publication Number Publication Date
JP2008299484A true JP2008299484A (en) 2008-12-11

Family

ID=40172977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007143105A Pending JP2008299484A (en) 2007-05-30 2007-05-30 Storage device

Country Status (1)

Country Link
JP (1) JP2008299484A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115028A1 (en) * 2012-01-31 2013-08-08 京セラドキュメントソリューションズ株式会社 Mounting method in electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62166532U (en) * 1986-04-08 1987-10-22
JP2001144769A (en) * 1999-11-11 2001-05-25 Sankyo Seiki Mfg Co Ltd Device adaptable to usb and its communication control method
JP2005339067A (en) * 2004-05-25 2005-12-08 Sony Corp Electronic device and control method thereof, information processing apparatus, and computer program
JP2006134093A (en) * 2004-11-05 2006-05-25 Toshiba Tec Corp USB device and USB system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62166532U (en) * 1986-04-08 1987-10-22
JP2001144769A (en) * 1999-11-11 2001-05-25 Sankyo Seiki Mfg Co Ltd Device adaptable to usb and its communication control method
JP2005339067A (en) * 2004-05-25 2005-12-08 Sony Corp Electronic device and control method thereof, information processing apparatus, and computer program
JP2006134093A (en) * 2004-11-05 2006-05-25 Toshiba Tec Corp USB device and USB system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013115028A1 (en) * 2012-01-31 2013-08-08 京セラドキュメントソリューションズ株式会社 Mounting method in electronic device
JP2013156879A (en) * 2012-01-31 2013-08-15 Kyocera Document Solutions Inc Electronic apparatus, image forming apparatus, application program, and mounting method
CN104094214A (en) * 2012-01-31 2014-10-08 京瓷办公信息系统株式会社 Mounting method in electronic device
CN104094214B (en) * 2012-01-31 2016-12-21 京瓷办公信息系统株式会社 Image processing system

Similar Documents

Publication Publication Date Title
US20090150629A1 (en) Storage management device, storage system control device, storage medium storing storage management program, and storage system
JP3806077B2 (en) Memory card recognition system, capacity switching type memory card / host device, capacity switching type memory card, storage capacity setting method and storage capacity setting program
JPWO2009153982A1 (en) Multiple-partitioned nonvolatile storage device and system
JP4445535B2 (en) DATA TRANSFER DEVICE, INFORMATION PROCESSING SYSTEM, DATA TRANSFER PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
US6965954B2 (en) Data playing system, transmitting and receiving apparatus, and bus conversion unit
KR101833464B1 (en) Method for transferring data between disk device and external storage device and system using the method
JP2008299484A (en) Storage device
CN101078972B (en) Data storage device and data access method
JP2006004078A (en) Disk control device, disk patrol method, and disk patrol program
US8164936B2 (en) Switched memory devices
JP2007034537A (en) COMPOSITE STORAGE DEVICE, DATA WRITE METHOD, AND PROGRAM
US7533205B2 (en) Control method and system of constructing raid configuration across multiple host bus adapters
JP2003150319A (en) Disk enclosure and disk storage
JP3279854B2 (en) Recording and playback device
JP2006146466A (en) Recording medium and file system management method
JP2010198112A (en) Removable device built-in equipment, removable device, and method for managing drive identification information
JP2012186787A (en) Storage medium adapter, information writing device and information writing system
JP2003308230A (en) Recording medium processing device
JP2016053796A (en) Storage control apparatus and program
TW200413940A (en) Method and apparatus for handling data transfers
JPH03158919A (en) Interface for connection external storage device
US8665680B2 (en) Recording/reproducing apparatus
JP4505520B2 (en) Disk array device and its control device, control method and control program
JPH0496845A (en) Data preserving method for shared memory system
JP4422319B2 (en) Multiplexed storage controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100409

A977 Report on retrieval

Effective date: 20111028

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20111101

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120403