JP7448815B2 - Information processing system, storage device, host device, and program - Google Patents
Information processing system, storage device, host device, and program Download PDFInfo
- Publication number
- JP7448815B2 JP7448815B2 JP2020101789A JP2020101789A JP7448815B2 JP 7448815 B2 JP7448815 B2 JP 7448815B2 JP 2020101789 A JP2020101789 A JP 2020101789A JP 2020101789 A JP2020101789 A JP 2020101789A JP 7448815 B2 JP7448815 B2 JP 7448815B2
- Authority
- JP
- Japan
- Prior art keywords
- failure
- related information
- information
- storage medium
- host device
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 10
- 238000012546 transfer Methods 0.000 claims description 131
- 238000000034 method Methods 0.000 claims description 104
- 238000012545 processing Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
- Information Transfer Systems (AREA)
Description
本発明は、情報処理システム、記憶装置、ホスト装置、及びプログラムに関する。 The present invention relates to an information processing system, a storage device, a host device, and a program.
近年では、家庭用テレビなどの家電製品においても、アンドロイド(登録商標)OSなどのオペレーティングシステムのもとでアプリケーションプログラムを実行するものがある。また、こうした装置には、USBのホスト装置として動作し、USB接続されたハードディスクなどの機器を制御可能なものもある。 In recent years, some home appliances such as home televisions run application programs on operating systems such as Android (registered trademark) OS. Furthermore, some of these devices operate as USB host devices and can control devices such as hard disks connected via USB.
なお、特許文献1には、SCSIコマンドにより、USB経由でS.M.A.R.T.(Self-Monitoring, Analysis and Reporting Technology)情報を送受する方法が開示されている。
Note that
しかしながら、オペレーティングシステムで制御される機器において、USB接続された機器との間でのバルク転送要求が複数のアプリケーションで発生すると、転送するデータが輻輳してアプリケーションの実行に支障を起こす可能性があることがわかった。 However, in devices controlled by an operating system, if multiple applications request bulk transfer between USB-connected devices, the data to be transferred may become congested and cause problems in application execution. I understand.
本発明は上記実情に鑑みて為されたもので、ホスト装置が、そのアプリケーションの実行に支障を生じさせることなく、USBを介して接続された機器から障害関連情報等を収集することができる情報処理システム、記憶装置、ホスト装置、及びプログラムを提供することを、その目的の一つとする。 The present invention has been made in view of the above circumstances, and provides information that allows a host device to collect failure-related information etc. from devices connected via USB without causing any hindrance to the execution of its applications. One of its purposes is to provide processing systems, storage devices, host devices, and programs.
上記従来例の問題点を解決する本発明の一態様は、USBを介して接続されるホスト装置と記憶装置とを含む情報処理システムであって、前記ホスト装置が、当該記憶装置の障害に関連する障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう前記記憶装置に対して要求する要求手段と、前記記憶装置から、前記所定のデータ転送方式により、前記障害関連情報を受け入れて、当該受け入れた障害関連情報を用いた所定の処理を実行する処理手段と、を含み、前記記憶装置が、記憶メディアを備え、前記ホスト装置から、前記所定のデータ転送方式による、前記予め定めた種類の障害関連情報の提供の要求を受け入れる受入手段と、前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、前記記憶メディアから受け入れた障害関連情報を、前記所定のデータ転送方式により、前記ホスト装置へ送出する送出手段と、を含むこととしたものである。 One aspect of the present invention that solves the problems of the conventional example is an information processing system including a host device and a storage device connected via USB, wherein the host device requesting means for requesting the storage device to provide failure-related information using a predetermined data transfer method different from bulk transfer among USB data transfer methods; processing means for accepting the failure-related information and executing a predetermined process using the accepted failure-related information, the storage device including a storage medium, an accepting means for accepting a request for provision of the predetermined type of failure-related information using a data transfer method; an information requesting means for requesting the storage medium for failure-related information related to the accepted request; The apparatus further includes a sending means for sending failure-related information received from the medium to the host device using the predetermined data transfer method.
このように本発明の一態様では、バルク転送とは異なる所定のデータ転送方式により障害関連情報を取得するので、ホスト装置は、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置から、障害関連情報を収集できる。 In this way, in one aspect of the present invention, failure-related information is acquired using a predetermined data transfer method different from bulk transfer, so that the host device can be connected via USB without causing any problems in the execution of applications. Fault-related information can be collected from stored storage devices.
また本発明の一態様は、USBを介してホスト装置に接続される記憶装置であって、記憶メディアを具備し、前記ホスト装置から、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう要求を受け入れる受入手段と、前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、前記記憶メディアから受け入れた障害関連情報を、前記所定のデータ転送方式により、前記ホスト装置へ送出する送出手段と、を含むこととしたものである。 Another aspect of the present invention is a storage device connected to a host device via USB, which includes a storage medium, and transmits predetermined types of failure-related information from the host device using a USB data transfer method. Among them, an accepting means that accepts a request for data to be provided by a predetermined data transfer method different from bulk transfer, an information requesting means that requests the storage medium for failure-related information related to the accepted request, and the storage medium and transmitting means for transmitting failure-related information received from the host device to the host device using the predetermined data transfer method.
このように本発明の一態様では、バルク転送とは異なる所定のデータ転送方式により障害関連情報を転送するので、ホスト装置では、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置等から、障害関連情報を収集できる。 In this way, in one aspect of the present invention, failure-related information is transferred using a predetermined data transfer method different from bulk transfer, so that the host device can connect via USB without causing any problems in the execution of applications. Fault-related information can be collected from stored storage devices, etc.
またここで前記所定のデータ転送方式は、USBのコントロール転送であってもよい。さらに前記送出手段は、前記障害関連情報を、USBのコントロール転送にて送出可能なデータサイズに分割して送出することとしてもよい。 Further, the predetermined data transfer method may be USB control transfer. Furthermore, the sending means may divide the failure-related information into data sizes that can be sent by USB control transfer and send the divided data.
これらの態様では、バルク転送とは異なるコントロール転送により障害関連情報を転送するので、ホスト装置では、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置等から、障害関連情報を収集できる。 In these modes, fault-related information is transferred using control transfer, which is different from bulk transfer, so the host device can transfer fault-related information from a storage device connected via USB without causing any problems in application execution. Information can be collected.
またこれらの態様において、前記障害関連情報の要求は、USBのコントロール転送にて送出可能なデータサイズの指示情報であり、前記情報要求手段は、当該指示情報に基づいて、障害関連情報を前記記憶メディアに対して要求するためのコマンドデータを生成し、当該生成したコマンドデータを、前記記憶メディアに出力して、障害関連情報を前記記憶メディアに対して要求するものであってもよい。 Further, in these aspects, the request for failure-related information is instruction information of a data size that can be sent by USB control transfer, and the information requesting means transfers the failure-related information to the storage based on the instruction information. It may also be possible to generate command data for requesting a medium, output the generated command data to the storage medium, and request failure-related information from the storage medium.
この例によっても、バルク転送とは異なるコントロール転送により障害関連情報を転送するので、ホスト装置では、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置等から、障害関連情報を収集できる。 In this example as well, the fault-related information is transferred by control transfer, which is different from bulk transfer, so the host device can transfer the fault-related information from the storage device connected via USB without causing a problem in the execution of the application. Information can be collected.
また前記障害関連情報は、S.M.A.R.T.情報であってもよい。 Further, the failure related information is S. M. A. R. T. It may be information.
さらに本発明の別の態様に係るホスト装置は、記憶メディアを備えた記憶装置に対し、USBを介して接続されるホスト装置であって、前記記憶装置に対して、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により、予め定めた種類の障害関連情報を提供するよう要求する要求手段と、前記記憶装置から、前記所定のデータ転送方式により、前記障害関連情報を受け入れて、当該受け入れた障害関連情報を用いた所定の処理を実行する処理手段と、を含み、所定のタイミングで、前記記憶装置に対して、当該記憶装置を、前記ホスト装置から、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう要求を受け入れる受入手段と、前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、前記記憶メディアから受け入れた障害関連情報を、前記所定のデータ転送方式により、前記ホスト装置へ送出する送出手段と、として機能させるためのプログラムを転送する。 Furthermore, a host device according to another aspect of the present invention is a host device that is connected to a storage device including a storage medium via a USB, and is connected to a storage device using a USB data transfer method. , requesting means for requesting provision of a predetermined type of failure-related information using a predetermined data transfer method different from bulk transfer; and receiving the failure-related information from the storage device using the predetermined data transfer method. and processing means for executing a predetermined process using the accepted failure-related information, the storage device is sent from the host device to the storage device of a predetermined type at a predetermined timing. an accepting means for accepting a request to provide failure-related information according to a predetermined data transfer method different from bulk transfer among USB data transfer methods, and sending the failure-related information regarding the accepted request to the storage medium; A program is transferred for functioning as an information requesting means for making a request for failure-related information received from the storage medium, and a sending means for sending out failure-related information received from the storage medium to the host device using the predetermined data transfer method.
これにより、記憶装置に対し、バルク転送とは異なる所定のデータ転送方式により障害関連情報を転送させることとし、ホスト装置では、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置等から、障害関連情報を収集できる。 As a result, failure-related information is transferred to the storage device using a predetermined data transfer method different from bulk transfer, and the host device is able to transfer failure-related information to the storage device using a predetermined data transfer method that is different from bulk transfer. Failure-related information can be collected from storage devices, etc.
また本発明のもう一つの態様は、プログラムであって、記憶メディアを備え、ホスト装置との間でUSBを介して接続される記憶装置を、前記ホスト装置から、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう要求を受け入れる受入手段と、前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、前記記憶メディアから受け入れた障害関連情報を、前記所定のデータ転送方式により、前記ホスト装置へ送出する送出手段と、として機能させることとしたものである。 Another aspect of the present invention is a program that sends predetermined types of fault-related information from the host device to a storage device that includes a storage medium and is connected to a host device via USB. an accepting means that accepts a request to provide the data using a predetermined data transfer method different from bulk transfer among USB data transfer methods, and information that requests the storage medium to provide failure-related information related to the accepted request. The apparatus functions as a requesting means and a sending means for sending the failure-related information received from the storage medium to the host device using the predetermined data transfer method.
これにより、記憶装置に対し、バルク転送とは異なる所定のデータ転送方式により障害関連情報を転送させ、ホスト装置が、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置等から、障害関連情報を収集できる。 This allows the storage device to transfer failure-related information using a predetermined data transfer method different from bulk transfer, allowing the host device to connect the storage device via USB to the storage device without causing any problems in application execution. Failure-related information can be collected from etc.
本発明によると、記憶装置に、バルク転送とは異なる所定のデータ転送方式により障害関連情報を転送させ、ホスト装置は、アプリケーションの実行に支障を生じさせることなく、USBを介して接続された記憶装置から、障害関連情報を収集できる。 According to the present invention, failure-related information is transferred to a storage device using a predetermined data transfer method different from bulk transfer, and a host device can transfer failure-related information to a storage device connected via USB without causing any trouble in executing an application. Fault-related information can be collected from devices.
本発明の実施の形態について図面を参照しながら説明する。本発明の実施の形態に係る情報処理システム1は、図1に例示するように、ホスト装置10と、記憶装置20とを含んで構成されている。
Embodiments of the present invention will be described with reference to the drawings. An
ホスト装置10は、例えばアンドロイドOSで動作するテレビジョン装置であり、USBを介して記憶装置20に接続されている。このホスト装置10は、制御部11、記憶部12、操作部13、表示制御部14、記憶メディア15、通信部16、及びUSBインタフェース部17を含む。このホスト装置10は、USBインタフェース部17を介してUSBにて記憶装置20に接続されている。
The
制御部11は、CPU等のプログラム制御デバイスであり、記憶メディア15や記憶部12に格納されたプログラムに従って動作する。本実施の形態の一例では、この制御部11は、テレビジョン装置としての動作を行う。この動作において制御部11は、記憶装置20に動画像データを格納し、また、当該格納した動画像データを記憶装置20からUSBのバルク転送により読み出し、当該動画像データを再生する処理などを実行する。
The
またこの制御部11は、記憶メディア15等にインストールされたプログラムに従い、所定のタイミングで記憶装置20に対して、障害関連情報の提供を要求する。この動作については後に述べる。なお、ここで障害関連情報は、例えばS.M.A.R.T.情報でもよいし、S.M.A.R.T.情報に基づいて得られる情報等、S.M.A.R.T.情報そのものとは異なる種類の情報であって、記憶装置20の障害に関わる情報であってもよい。
Further, the
記憶部12は、メモリ等であり、制御部11によって実行されるプログラムを保持するほか、制御部11のワークメモリとしても動作する。操作部13は、タッチパネルやボタン等のインタフェースを備え、ユーザの操作を受け入れて制御部11に出力する。
The
表示制御部14は、GPU(Graphic Processing Unit)等を備える。この表示制御部14は、制御部11から入力される指示に従って、ディスプレイ等に出力する映像信号を生成する。記憶メディア15は、SSD(Solid State Drive)等であり、制御部11によって実行されるプログラム等を保持する。
The
通信部16は、ネットワークインタフェース等であり、制御部11から入力される指示に従い、ネットワークを介して所定のサーバ等にデータを送出する。またこの通信部16は、ネットワークを介して受信したデータを制御部11に出力する。
The
記憶装置20は、例えばハードディスクやSSD等であり、本実施の形態の例では、コントローラ部21と、記憶メディア22とを含む。またコントローラ部21は、制御部31と、記憶部32と、ホスト側インタフェース部33と、ドライブ側インタフェース部34とを含んで構成される。
The
記憶装置20の制御部31は、CPU等のプログラム制御デバイスであり、記憶部32に格納されたプログラムに従って動作する。本実施の形態の一例では、この制御部31は、記憶メディア22内のデータを読み出すべき旨の指示を、ホスト装置10から受け入れると、記憶メディア22からデータを読み出して、ホスト装置10へと送出する。このデータの送出は、USBのバルク転送方式により行われる。
The
またこの制御部31は、記憶部32に格納された、障害関連情報転送プログラムに従って動作する。この障害関連情報転送プログラムの処理において制御部31は、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するべき旨の要求を受け入れる。そしてこの要求を受けた制御部31は、当該受け入れた要求に係る障害関連情報を、記憶メディア22に対して要求する。制御部31は、記憶メディア22から受け入れた障害関連情報を、上記所定のデータ転送方式により、ホスト装置10へ送出する。この制御部31のより詳しい動作については後に述べる。
Further, the
記憶部32は、例えばメモリデバイスであり、制御部31によって実行される、ファームウェア等のプログラム(障害関連情報転送プログラムを含む)を保持する。この記憶部32は、また、制御部31のワークメモリとしても動作する。
The
またホスト側インタフェース部33は、USBインタフェースであり、ドライブ側インタフェース部34は、本実施の形態の一例では、SATA(Serial ATA)インタフェースである。
Further, the host
記憶メディア22は、ハード記憶メディアやSSD(Solid State Drive)ドライブなどのディスクデバイスであり、ホスト装置10によって利用されるデータが格納されている。このデータは例えば、ホスト装置10であるテレビジョン装置で再生される動画像データ等である。
The
次に、ホスト装置10の制御部11と、記憶装置20の制御部31の動作例について説明する。
Next, an example of the operation of the
ホスト装置10の制御部11は、記憶装置20の監視用アプリケーション(別途インストールされるものとする)の処理として、所定のタイミングごとに、次の処理を繰り返して実行する。すなわち、この制御部11は、USBインタフェース部17を介して接続された機器のうちから障害関連情報の要求先となる装置(ここでは記憶装置20)を検出する。
The
制御部11は、記憶装置20が検出されると、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するべき旨の要求を生成する。
When the
本実施の形態の例ではホスト装置10は、この記憶装置20に対する要求も、バルク転送とは異なる所定のデータ転送方式により送出することとする。本実施の形態において、バルク転送とは異なる所定のデータ転送方式(バルク転送以外の論理プロトコル)は、コントロール転送方式、インタラプト転送方式、アイソクロナス転送方式のいずれであってもよいが、以下の説明ではコントロール転送方式を用いるものとする。
In the example of this embodiment, the
コントロール転送方式を用いる場合、ホスト装置10は、記憶装置20に対する要求を、コントロール転送方式にて送出可能なデータサイズの指示情報とする。具体的には、ホスト装置10は、この要求として、予め定められた、要求の内容を特定する情報(要求コード)を送出することとなる。本実施の形態の例では、予め、記憶装置20に対する障害関連情報の要求を表す要求コードを定めておく。
When using the control transfer method, the
つまり、制御部11は、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するべき旨の要求として、この要求コードを含んだ要求コマンドを生成する。
In other words, the
そして制御部11は、コントロール転送方式により、記憶装置20に対して、生成した要求コマンドを送出する。
The
制御部11は、さらに、この要求コマンドに対する応答として記憶装置20から上記予め定めた種類の障害関連情報を受け入れる。後に説明する記憶装置20の動作により、この応答は、コントロール転送方式により転送される。制御部11は、受け入れた障害関連情報を参照して、ユーザに報知するべき障害が生じている(あるいは障害が生じる可能性がある)か否かを判断する。
The
そして制御部11は、ユーザに報知するべき障害が生じている(あるいは障害が生じる可能性がある)と判断すると、例えば表示制御部14を制御して、記憶装置20に障害が生じている(あるいはその可能性がある)旨の表示を行う。
When the
ホスト装置10の制御部11は、上記の処理を行っている間も、バルク転送方式により、記憶装置20の記憶メディア22に格納されている動画像データを読み出し、当該読み出した動画像データを再生する処理を並列して行っていてもよい。
Even while performing the above processing, the
この例によると、動画像データはバルク転送方式で読み出され、障害関連情報の要求と受け入れとはコントロール転送方式で行われるので、バルク転送方式での転送が輻輳することがない。 According to this example, the moving image data is read using the bulk transfer method, and the request and acceptance of failure-related information are performed using the control transfer method, so that the transfer using the bulk transfer method is not congested.
次に、記憶装置20の制御部31の動作について説明する。本実施の形態では、この制御部31は、記憶メディア22に格納されている動画像データの要求をホスト装置10から受け入れる。そして制御部31は、当該要求に応答して、記憶メディア22に格納されている動画像データを読み出し、ホスト側インタフェース部34を介して、USBのバルク転送方式にて、当該読み出した動画像データを、ホスト装置10へ送出する。
Next, the operation of the
またこの制御部31は、記憶部32に格納された障害関連情報転送プログラムを実行することで、受入部41と、情報要求部42と、情報取得部43と、送出部44とを含む構成を機能的に実現する。
Furthermore, by executing the failure-related information transfer program stored in the
受入部41は、障害関連情報の要求を表す要求コードを含む要求コマンドを、USBのコントロール転送方式にてホスト装置10から受け入れる。この要求コマンドは、既に述べたように、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう要求するものである。
The accepting
情報要求部42は、当該受入部41が受け入れた要求に係る障害関連情報を、記憶メディア22に対して要求する。本実施の形態では、この情報要求部42は、ホスト装置10から受け入れた要求コマンドに基づいて、障害関連情報を記憶メディア22に対して要求する標準的な要求コマンド(標準要求コマンドと呼ぶ)を生成する。そして情報要求部42は、当該生成した標準要求コマンドを、記憶メディア22に出力する。
The
情報取得部43は、標準要求コマンドに応答して記憶メディア22が出力する障害関連情報を取得し、送出部44に出力する。
The
送出部44は、記憶メディア22から取得した障害関連情報を、上記受入部41受け入れた要求コマンドが表す、所定のデータ転送方式により、ホスト装置10へ送出する。本実施の形態において、所定のデータ転送方式は、既に述べたように、例えばコントロール転送方式である。つまりこの例では、送出部44は、記憶メディア22から取得した障害関連情報を、コントロール転送方式にて、ホスト装置10へ送出する。
The sending
[動作]
本実施の形態の情報処理システム1は以上の例のように構成されており、次のように動作する。以下の例では、バルク転送とは異なるデータ転送方式として、コントロール転送方式を用いるものとする。
[motion]
The
ホスト装置10は、バルク転送方式により、記憶装置20の記憶メディア22に格納されている動画像データを読み出し、当該読み出した動画像データを再生する処理を行いつつ、次の図3に例示する処理を行う。
The
ホスト装置10は、USBインタフェース部17を介して接続された機器のうちから障害関連情報の要求先となる記憶装置20を検出する(S11)。
The
ホスト装置10は、検出した記憶装置20に対する要求を生成する(S12)。ここでの要求は、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するべき旨の要求コードを含む要求コマンドである。
The
ホスト装置10は、コントロール転送方式により、記憶装置20に対して、生成した要求コマンドを送出する(S13)。この要求コマンドは、例えばコントロール転送方式の規格で定められるセットアップステージのデータパケットに含めて送出される。
The
記憶装置20の制御部31は、障害関連情報の要求を表す要求コードを含む要求コマンドを、USBのコントロール転送方式にてホスト装置10から受け入れると、当該受け入れた要求コマンドに基づいて、障害関連情報を記憶メディア22に対して要求する標準的な標準要求コマンドを生成する(S14)。
When the
制御部31は、当該生成した標準要求コマンドを、記憶メディア22に出力する(S15)。記憶メディア22は、この標準要求コマンドに応答して、記憶メディア22内の障害関連情報を生成する(S16)。この記憶メディア22の動作は、広く知られたS.M.A.R.T.情報を生成する処理であるので、ここでの詳細な説明は省略する。
The
記憶メディア22は、生成した障害関連情報を制御部31に出力する(S17)。制御部31は、記憶メディア22から取得した障害関連情報を、コントロール転送方式によりホスト装置10へ送出する(S18)。この障害関連情報の送出は、コントロール転送方式の規格で定められるデータステージのデータパケットに含めて送出される。なお、データステージのパケットの送受が終了した後に、ステータスステージのパケットの送受が行われるのが全体の通信の流れであるが、ステータスステージのパケットについては通常の通信と同様であるので、ここでの詳しい説明は省略する。
The
ホスト装置10は、記憶装置20から障害関連情報を受信し、当該受信した障害関連情報に基づいて、ユーザに報知するべき障害が生じている(あるいは障害が生じる可能性がある)か否かを判断する(S19:情報分析)。
The
そしてホスト装置10は、当該判断の結果に応じて、記憶装置20に障害が生じている(あるいはその可能性がある)か否かなどを表す情報の表示を行う(S20)。本実施の形態のこの図3に例示した処理は、所定のタイミングごとに繰り返して行われる。
Then, the
本実施の形態のこの例によると、動画像データはバルク転送方式で読み出され、障害関連情報の要求と受け入れとはコントロール転送方式で行われるので、バルク転送方式での転送が輻輳することがない。 According to this example of the present embodiment, the moving image data is read using the bulk transfer method, and the request and acceptance of failure-related information are performed using the control transfer method, so that transfer using the bulk transfer method is not congested. do not have.
[情報の分割]
なお、例えばUSBの規格では、データ転送方式によってパケットサイズに相違がある。このため、記憶装置20の制御部31は、送出部44としての動作において、次のような処理を行う。
[Dividing information]
Note that, for example, in the USB standard, there are differences in packet size depending on the data transfer method. For this reason, the
すなわち送出部44は、選択されたデータ転送方式のパケットサイズに応じて、障害関連情報を複数のパケットに分割して送出する。例えば送出部44は、コントロール転送方式を採用する場合、障害関連情報の一例としてのS.M.A.R.T.情報を、コントロール転送方式のパケットサイズである64バイトずつのデータ要素に分割する。
That is, the sending
そして送出部44は、コントロール転送方式の規格で定められるデータステージにおいて、各データ要素をそれぞれ含むデータパケットを生成して、当該生成したデータパケットを順次送出する。
Then, the sending
このように分割された複数のデータ要素を受信したホスト装置10では、当該複数のデータ要素を連結して分割前の障害関連情報を得て、情報分析(図3のステップS19)以降の処理を実行する。なお、データ要素の連結処理については、オペレーティングシステムが標準的に用意している処理を用いて行うこととすればよい。
The
[データのフィルタリング等]
またここで制御部31は、記憶メディア22が生成した障害関連情報を、そのままホスト装置10へ送出することとしていたが、本実施の形態はこれに限られない。
[Data filtering, etc.]
Furthermore, although the
例えば制御部31は、障害関連情報に対して、他の情報を付加してホスト装置10へ送出してもよい。また別の態様では制御部31は、得られた障害関連情報の一部を取り出してホスト装置10へ送出してもよい。あるいは制御部31は、得られた障害関連情報に基づいて生成した情報を含めてホスト装置10へ送出してもよい。
For example, the
一例として制御部31は、障害関連情報であるS.M.A.R.T.情報のうち、障害発生の判断に必要な属性情報として予め定められた、リードエラーレートや、リロケートされたセクタの数などを選択してホスト装置10へ送出することとする。この例では制御部31は、選択されていない、例えば、現在の温度の属性情報等はホスト装置10へ送出しないよう制御する(いわゆるフィルタリング)。
As an example, the
また制御部31は、S.M.A.R.T.情報をそのまま送出する代わりに、例えばその属性情報ごとに定められたしきい値を超えるか否かを表す情報を生成するなど、S.M.A.R.T.情報に基づいて別の種類の障害関連情報を生成して、ホスト装置10へ送出してもよい。
The
この例では、制御部31は、リロケート先として定められた全セクタの数のうち、リロケート先として未使用のセクタの数の比に基づいて、その比が90%以上であればランクA、90%未満で60%以上であればランクB…などと複数のしきい値に基づいてランク情報を生成し、このランク情報を、(記憶メディア22が生成した障害関連情報とは別の)障害関連情報として、ホスト装置10へ送出することとしてもよい。
In this example, based on the ratio of the number of unused sectors as relocation destinations among all the sectors determined as relocation destinations, if the ratio is 90% or more, the
このようにすれば、ホスト装置10へ送出するべきデータ量が、もともとの障害関連情報に対して低減でき、またホスト装置10での分析処理を簡易化できる。
In this way, the amount of data to be sent to the
[ファームウェアの導入]
さらに本実施の形態のホスト装置10は、本実施の形態の処理を行うためのファームウェアプログラムを、記憶装置20に対してインストールする処理を行ってもよい。
[Firmware installation]
Furthermore, the
具体的にホスト装置10は、バルク転送とは異なる所定のデータ転送方式により障害関連情報を提供するべき旨の要求コマンドを、記憶装置20に対して送出した後(図3のステップS13の後)、予め定めた時間の間に記憶装置20から応答がない場合、あるいは記憶装置20から要求コマンドが解釈できない旨のエラーの応答があった場合に、記憶装置20用のファームウェアプログラムを、記憶装置20へ転送することとしてもよい。
Specifically, the
ホスト装置10は、このファームウェアプログラムを、ネットワークを介して記憶装置20のメーカーのサーバ等からダウンロードして、記憶装置20宛に転送することとすればよい。
The
本実施の形態において、このファームウェアプログラムは、予め定めた種類の障害関連情報を、USBのデータ転送方式のうち、バルク転送とは異なる所定のデータ転送方式により提供するよう要求を受け入れる受入部としての処理と、当該受け入れた要求に係る障害関連情報を記憶メディア22に対して要求する処理と、記憶メディア22から受け入れた障害関連情報を、要求に係る所定のデータ転送方式により、ホスト装置10へ送出する送出部としての処理と、を実行させるためのプログラムを含む。
In this embodiment, this firmware program functions as an accepting unit that accepts a request to provide a predetermined type of failure-related information using a predetermined data transfer method different from bulk transfer among USB data transfer methods. processing, processing to request the
記憶装置20では、ホスト装置10が転送したファームウェアプログラムを受け入れ、当該ファームウェアプログラムをインストールする処理を実行する。このようなファームウェアのインストールの処理については広く知られた方法が採用できるので、ここでの詳しい説明は省略する。
The
記憶装置20の制御部31は、ファームウェアのインストール後、当該インストールされたファームウェアを実行し、本実施の形態の図2に例示した機能的構成を実現する。これにより記憶装置20が、図3に例示した動作を行うこととなる。
After installing the firmware, the
[情報分析サーバの利用]
またホスト装置10は、記憶装置20から受け入れた障害関連情報についての分析処理を実行する際に、ホスト装置10自身が分析を行うのではなく、外部のサーバ装置に障害関連情報を送出して、分析を行わせることとしてもよい。
[Use of information analysis server]
Furthermore, when the
この例では、予め記憶装置20のメーカー等が障害関連情報であるS.M.A.R.T.情報を受信して、当該S.M.A.R.T.情報に基づいて(例えば機械学習結果を利用して)記憶装置20に障害が発生しているか、あるいは発生する可能性があるかを分析し、当該分析の結果を、当該S.M.A.R.T.情報の送信元であるホスト装置10へ送出することとする。
In this example, the manufacturer of the
[変形例]
また本実施の形態のここまでの例では、記憶メディア22が提供し、記憶装置20が送信する障害関連情報は例えばS.M.A.R.T.情報であるものとしたが、この障害関連情報はS.M.A.R.T.情報に限られるものではなく、記憶装置20のメーカーが独自に設定した情報であってもよいし、その他、記憶装置20の障害の発生を検知、あるいは予測するために利用可能な種類のどのような情報であってもよい。
[Modified example]
Furthermore, in the examples of this embodiment so far, the failure-related information provided by the
1 情報処理システム、10 ホスト装置、11,31 制御部、12,32 記憶部、13 操作部、14 表示制御部、15 記憶メディア、16 通信部、17 USBインタフェース部、20 記憶装置、21 コントローラ部、22 記憶メディア、33 ホスト側インタフェース部、34 ドライブ側インタフェース部、41 受入部、42 情報要求部、43 情報取得部、44 送出部。
1 information processing system, 10 host device, 11, 31 control unit, 12, 32 storage unit, 13 operation unit, 14 display control unit, 15 storage medium, 16 communication unit, 17 USB interface unit, 20 storage device, 21 controller unit , 22 storage medium, 33 host side interface section, 34 drive side interface section, 41 reception section, 42 information request section, 43 information acquisition section, 44 sending section.
Claims (5)
前記ホスト装置が、当該記憶装置の障害に関連する障害関連情報を、USBのデータ転送方式のうちコントロール転送方式により提供するべき旨の要求を、前記記憶装置に対して行う要求手段と、
前記記憶装置から、コントロール転送方式により提供された、前記障害関連情報を受け入れて、当該受け入れた障害関連情報を用いた所定の処理を実行する処理手段と、
を含み、
前記記憶装置が、記憶メディアを備え、
前記ホスト装置から、予め定めた種類の障害関連情報をコントロール転送方式により提供するべき旨の要求を受け入れる受入手段と、
前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、
前記記憶メディアから受け入れた障害関連情報を、前記ホスト装置へ、コントロール転送方式により送出する送出手段と、
を含み、
前記障害関連情報の要求は、USBのコントロール転送方式にて送出可能なデータサイズの指示情報であり、
前記記憶装置の情報要求手段は、当該指示情報に基づいて、障害関連情報を前記記憶メディアに対して要求するためのコマンドデータを生成し、当該生成したコマンドデータを、前記記憶メディアに出力して、障害関連情報を前記記憶メディアに対して要求する情報処理システム。 An information processing system including a host device and a storage device connected via USB,
requesting means for the host device to issue a request to the storage device to provide failure-related information related to a failure of the storage device using a control transfer method among USB data transfer methods;
processing means for accepting the failure-related information provided by the control transfer method from the storage device and executing a predetermined process using the accepted failure-related information;
including;
The storage device includes a storage medium,
acceptance means for accepting a request from the host device to provide a predetermined type of failure-related information using a control transfer method ;
information requesting means for requesting failure-related information related to the accepted request from the storage medium;
Sending means for sending failure-related information received from the storage medium to the host device using a control transfer method ;
including;
The request for failure-related information is instruction information of a data size that can be sent using a USB control transfer method,
The information requesting means of the storage device generates command data for requesting failure-related information from the storage medium based on the instruction information, and outputs the generated command data to the storage medium. , an information processing system that requests failure-related information from the storage medium .
記憶メディアを具備し、
前記ホスト装置から、予め定めた種類の障害関連情報を、USBのデータ転送方式のうちコントロール転送方式により提供するべき旨の要求を受け入れる受入手段と、
前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、
前記記憶メディアから受け入れた障害関連情報を、前記ホスト装置へ、コントロール転送方式により送出する送出手段と、
を含み、
前記障害関連情報の要求は、USBのコントロール転送方式にて送出可能なデータサイズの指示情報であり、
前記情報要求手段は、当該指示情報に基づいて、障害関連情報を前記記憶メディアに対して要求するためのコマンドデータを生成し、当該生成したコマンドデータを、前記記憶メディアに出力して、障害関連情報を前記記憶メディアに対して要求する記憶装置。 A storage device connected to a host device via USB,
Equipped with a storage medium,
acceptance means for accepting a request from the host device to provide a predetermined type of failure-related information using a control transfer method among USB data transfer methods;
information requesting means for requesting failure-related information related to the accepted request from the storage medium;
Sending means for sending failure-related information received from the storage medium to the host device using a control transfer method ;
including;
The request for failure-related information is instruction information of a data size that can be sent using a USB control transfer method,
The information requesting means generates command data for requesting failure-related information from the storage medium based on the instruction information, outputs the generated command data to the storage medium, and outputs the generated command data to the storage medium to provide failure-related information. A storage device that requests information from the storage medium .
前記送出手段は、前記障害関連情報を、USBのコントロール転送にて送出可能なデータサイズに分割して送出する記憶装置。 3. The storage device according to claim 2 ,
The sending means is a storage device that divides the failure-related information into data sizes that can be sent by USB control transfer and sends the divided information.
前記ホスト装置から、予め定めた種類の障害関連情報を、USBのデータ転送方式のうちコントロール転送方式により提供するべき旨の要求を受け入れる受入手段と、
前記受け入れた要求に係る障害関連情報を前記記憶メディアに対して要求する情報要求手段と、
前記記憶メディアから受け入れた障害関連情報を、前記ホスト装置へ、コントロール転送方式により送出する送出手段と、
として機能させ、
前記障害関連情報の要求は、USBのコントロール転送方式にて送出可能なデータサイズの指示情報であり、
前記情報要求手段として機能させる際には、当該指示情報に基づいて、障害関連情報を前記記憶メディアに対して要求するためのコマンドデータを生成し、当該生成したコマンドデータを、前記記憶メディアに出力して、障害関連情報を前記記憶メディアに対して要求させるプログラム。
A storage device equipped with a storage medium and connected to a host device via USB,
acceptance means for accepting a request from the host device to provide a predetermined type of failure-related information using a control transfer method among USB data transfer methods;
information requesting means for requesting failure-related information related to the accepted request from the storage medium;
Sending means for sending failure-related information received from the storage medium to the host device using a control transfer method ;
function as
The request for failure-related information is instruction information of a data size that can be sent using a USB control transfer method,
When functioning as the information requesting means, it generates command data for requesting failure-related information from the storage medium based on the instruction information, and outputs the generated command data to the storage medium. and requests failure-related information from the storage medium .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020101789A JP7448815B2 (en) | 2020-06-11 | 2020-06-11 | Information processing system, storage device, host device, and program |
CN202110653357.XA CN113806256A (en) | 2020-06-11 | 2021-06-11 | Storage device, host device, recording medium, information processing system, and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020101789A JP7448815B2 (en) | 2020-06-11 | 2020-06-11 | Information processing system, storage device, host device, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021196764A JP2021196764A (en) | 2021-12-27 |
JP7448815B2 true JP7448815B2 (en) | 2024-03-13 |
Family
ID=78893026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020101789A Active JP7448815B2 (en) | 2020-06-11 | 2020-06-11 | Information processing system, storage device, host device, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7448815B2 (en) |
CN (1) | CN113806256A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7283524B2 (en) * | 2017-06-16 | 2023-05-30 | 株式会社三洋物産 | game machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060041689A1 (en) | 2004-08-18 | 2006-02-23 | Shinichiro Fujita | Data transfer control system, electronic apparatus and program |
JP2009009237A (en) | 2007-06-26 | 2009-01-15 | Toshiba Corp | Information processor and firmware update method |
JP2014197254A (en) | 2013-03-29 | 2014-10-16 | 日本電産サンキョー株式会社 | Information processing apparatus, information processing method, information processing system, and program |
JP2020013621A (en) | 2019-10-29 | 2020-01-23 | 株式会社バッファロー | Magnetic disk device, computer program, and recording medium |
-
2020
- 2020-06-11 JP JP2020101789A patent/JP7448815B2/en active Active
-
2021
- 2021-06-11 CN CN202110653357.XA patent/CN113806256A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060041689A1 (en) | 2004-08-18 | 2006-02-23 | Shinichiro Fujita | Data transfer control system, electronic apparatus and program |
JP2009009237A (en) | 2007-06-26 | 2009-01-15 | Toshiba Corp | Information processor and firmware update method |
JP2014197254A (en) | 2013-03-29 | 2014-10-16 | 日本電産サンキョー株式会社 | Information processing apparatus, information processing method, information processing system, and program |
JP2020013621A (en) | 2019-10-29 | 2020-01-23 | 株式会社バッファロー | Magnetic disk device, computer program, and recording medium |
Non-Patent Citations (2)
Title |
---|
Universal Serial Bus Specification,Revision 2.0,USB Implementers Forum,2000年04月27日,pp. 38-44,https://usb.org/sites/default/files/usb_20_20230224.zip |
窪田 悌二,何でも接続! USB活用術 Part 1 USBの通信とデバイス定義,UNIX USER,日本,ソフトバンククリエイティブ株式会社,2005年11月01日,第14巻 第11号,pp. 40-49 |
Also Published As
Publication number | Publication date |
---|---|
CN113806256A (en) | 2021-12-17 |
JP2021196764A (en) | 2021-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8874959B2 (en) | Information processing apparatus, image forming apparatus, and information processing program | |
TWI553485B (en) | Serial output system and method of the same | |
JP2008065433A (en) | Computer system and performance tuning method | |
JP2008226040A (en) | Information processor and command multiplexing degree control method | |
JP7448815B2 (en) | Information processing system, storage device, host device, and program | |
JP2011164777A (en) | Switch device, switch control method and storage system | |
JP6717008B2 (en) | Information generating program, information generating method, and information generating apparatus | |
JP4775843B2 (en) | Storage system and storage control method | |
WO2011137833A1 (en) | Network processor and method for diagnosing programs stored in network processor | |
JP2008210089A (en) | Command relay unit and command relay program | |
CN114035855A (en) | Firmware debugging method, device, terminal and storage medium | |
JP2005149283A (en) | Information processing system, control method therefor, and program | |
US20110022737A1 (en) | Device control method and device selecting apparatus | |
JP7038629B2 (en) | Equipment condition monitoring device and program | |
JP2005165556A (en) | Information system | |
CN111309509A (en) | Method and system for solving channel switching failure based on server BMC | |
JP2020198044A (en) | Parallel processing device | |
KR101056759B1 (en) | Recording medium recording an information processing system, a method of controlling the information processing system, and a control program of the information processing system | |
US11095778B2 (en) | Storing and outputting log for failure analysis in image forming apparatus equipped with SATA system, control method therefor, and storage medium | |
JP2015102951A (en) | Processing request reading/transferring device and processing request transferring method | |
JP2013025439A (en) | Memory device and program | |
JP6379841B2 (en) | Information processing apparatus, test method, and test control program | |
JP3702161B2 (en) | Control system, control device, and monitor device | |
JP2006178704A (en) | Device having a plurality of functions and host device allowed to be connected to the device | |
US20170115999A1 (en) | Method, system, and non-transitory computer-readable recording medium for recording and reproducing an operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230216 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240115 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20240130 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240212 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7448815 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |