JP2007265305A - Communication system and peripheral device used therefor - Google Patents
Communication system and peripheral device used therefor Download PDFInfo
- Publication number
- JP2007265305A JP2007265305A JP2006092562A JP2006092562A JP2007265305A JP 2007265305 A JP2007265305 A JP 2007265305A JP 2006092562 A JP2006092562 A JP 2006092562A JP 2006092562 A JP2006092562 A JP 2006092562A JP 2007265305 A JP2007265305 A JP 2007265305A
- Authority
- JP
- Japan
- Prior art keywords
- data
- peripheral device
- information
- host device
- command
- 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
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 240
- 230000006854 communication Effects 0.000 title claims abstract description 216
- 238000004891 communication Methods 0.000 title claims abstract description 212
- 230000005540 biological transmission Effects 0.000 claims abstract description 85
- 238000012545 processing Methods 0.000 claims description 98
- 238000000034 method Methods 0.000 claims description 66
- 230000008569 process Effects 0.000 claims description 60
- 230000004044 response Effects 0.000 claims description 49
- 238000011835 investigation Methods 0.000 claims description 47
- 238000012546 transfer Methods 0.000 claims description 16
- 238000012790 confirmation Methods 0.000 claims description 14
- 230000004913 activation Effects 0.000 claims description 7
- 238000013500 data storage Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 13
- 238000012544 monitoring process Methods 0.000 description 11
- 239000003999 initiator Substances 0.000 description 10
- 238000001514 detection method Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 239000000872 buffer Substances 0.000 description 6
- 239000004973 liquid crystal related substance Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Abstract
Description
本発明は、パーソナルコンピュータ(以下「PC」と略称する)やワークステーション等をホスト装置としてこれに周辺装置が接続された通信システムと、それに使用する周辺装置とに関する。 The present invention relates to a communication system in which a peripheral device is connected to a personal computer (hereinafter abbreviated as “PC”), a workstation, or the like as a host device, and a peripheral device used therefor.
近年、フラッシュメモリなどの不揮発性メモリがカード型にパッケージングされたいわゆるメモリーカード(記録メディアの一例)が広く知られている。このメモリーカードは、デジタルカメラや携帯音楽プレーヤーなどのデジタル機器に用いられるデータの記憶媒体として急速に普及している。メモリーカードの仕様は統一されておらず、例えば、コンパクトフラッシュ(登録商標、以下「CF」と略称する)、スマートメディア(登録商標、以下「SM」と略称する)、メモリースティック(登録商標、以下「MS」と略称する)、SDメモリーカード(登録商標、以下「SD」と略称する)など、種々のものが市場に出回っている。 In recent years, a so-called memory card (an example of a recording medium) in which a nonvolatile memory such as a flash memory is packaged in a card type is widely known. This memory card is rapidly spreading as a data storage medium used in digital devices such as digital cameras and portable music players. The specifications of the memory card are not unified. For example, compact flash (registered trademark, hereinafter abbreviated as “CF”), smart media (registered trademark, hereinafter abbreviated as “SM”), memory stick (registered trademark, hereinafter referred to as “SM”). Various products such as “MS” and SD memory card (registered trademark, hereinafter abbreviated as “SD”) are on the market.
上記メモリーカードは、PCなどに接続されてメモリーカードの読み書きを行なうメモリーカードリーダライタ(周辺装置の一例、以下「リーダライタ」と略称する)を用いることで、PCから上記メモリーカードへのアクセスが可能となる。これにより、PCとメモリーカードとの間でデータ通信が行なえるようになる。こうしたリーダライタには、メモリーカードを挿入するスロットを一つ備えたシングルスロットタイプと、複数のスロットを備えて複数のメモリーカードに対するデータの読み書きが可能なマルチスロットタイプなどがある(特許文献1〜2)。 By using a memory card reader / writer (an example of a peripheral device, hereinafter abbreviated as “reader / writer”) connected to a PC or the like, the memory card can be accessed from the PC. It becomes possible. As a result, data communication can be performed between the PC and the memory card. Such reader / writers include a single slot type having one slot for inserting a memory card, and a multi-slot type having a plurality of slots and capable of reading / writing data from / to a plurality of memory cards (Patent Documents 1 to 3). 2).
ところで、上記のようなリーダライタは、マルチメディアの普及によりデータ転送容量が飛躍的に増大した背景から、PCとの間のデータ伝送をシリアル通信にて行なうことも一般化してきている。しかしながら、データアクセスのための制御には、複数記憶媒体の取り扱いが容易、といった観点から、パラレル通信用周辺機器の調停/アクセス制御にて使用されていた方式を引き継いだ機器も数多く存在する。その典型例として、PCとリーダライタとのデータ通信を、いわゆるSCSI規格で定義されたプロトコル(以下、SCSIプロトコルともいう)に基づいて行われるように設計されたシステムを例示できる。SCSI規格は、ANSI(American National Standard Institute;米規格協会)によって規格化され、国際的に広く準拠されている通信プロトコルである。該プロトコルは、PC及びリーダライタの汎用性を高めることができるため広く用いられている。なお、以下の説明において、SCSI規格とは主としてSCSI−2を示すものとする。 By the way, the reader / writer as described above has also been generalized to perform data transmission with a PC by serial communication due to the background of the dramatic increase in data transfer capacity due to the spread of multimedia. However, in the control for data access, there are many devices that take over the method used in the arbitration / access control of peripheral devices for parallel communication from the viewpoint of easy handling of a plurality of storage media. As a typical example, a system designed to perform data communication between a PC and a reader / writer based on a protocol defined by a so-called SCSI standard (hereinafter also referred to as a SCSI protocol) can be exemplified. The SCSI standard is a communication protocol standardized by ANSI (American National Standard Institute) and widely internationally compliant. This protocol is widely used because it can enhance the versatility of PCs and reader / writers. In the following description, the SCSI standard mainly indicates SCSI-2.
SCSIプロトコルにおいては、ホスト装置となるPCは、通信イベントの起動決定権が与えられたイニシエータとして機能し、周辺装置は該ホスト装置の通信対象であるターゲットとして定められる。通信イベントを実行命令するためのコマンドはPCから周辺装置に向けて順次発行される一方、発行されたコマンドを受領した周辺装置が当該コマンドに対応する処理(例えば、データの読出しや書き込み、消去、及び種々の付随的な処理)を逐次実行し、その実行結果に応じた応答情報をホスト装置側に返信する。そして、通信イベントの実行を司るコマンドの発行方向は、ホスト装置側から周辺装置側への一方向に規制されている。 In the SCSI protocol, a PC serving as a host device functions as an initiator to which a communication event activation decision right is given, and a peripheral device is defined as a target that is a communication target of the host device. A command for instructing execution of a communication event is sequentially issued from the PC to the peripheral device, while the peripheral device that has received the issued command performs processing corresponding to the command (for example, data read, write, erase, And various incidental processes) are sequentially executed, and response information corresponding to the execution result is returned to the host device side. The issue direction of the command that controls the execution of the communication event is restricted to one direction from the host device side to the peripheral device side.
上記のごとく、SCSI通信はPCと周辺装置との間での双方向通信ではあるが、通信イベントの実行を司るコマンドの発行方向が、上記のごとく、PC側から周辺装置側への一方向に規制されており、通信処理開始の主導権は常にイニシエータとなるPC側が握る形となる。つまり、SCSIプロトコルに従う限り、周辺装置側でホスト装置側に通信イベント始動のためのコマンドを逆発行することは不可能であり、周辺装置側で特定の通信イベントを自発的に起動する方法が存在しなかった。例えば、リーダライタに装着したメモリーカードに記憶されたデータファイルをPC側で読み出したり、あるいはハードディスクドライブ(HDD)等のPC側の記憶装置に保存したりする場合、ユーザーは必ずPC側でそれら読み書き処理の操作(つまり、コマンド実行入力)を行なわなければならない。このため、PCから離れた場所に配置されたリーダライタにデータファイルが格納されたメモリーカードを装着しても、そのデータファイルをPCに保存したい場合、わざわざPC位置まで赴かなければ保存のための操作を行なうことができず、非常に不便であった。 As described above, the SCSI communication is bidirectional communication between the PC and the peripheral device. However, as described above, the command issuing direction for executing the communication event is unidirectional from the PC side to the peripheral device side. It is regulated, and the initiative to start communication processing is always held by the PC side that is the initiator. In other words, as long as the SCSI protocol is followed, it is impossible for the peripheral device side to reversely issue a command for starting a communication event to the host device side, and there is a method for spontaneously starting a specific communication event on the peripheral device side. I did not. For example, when data files stored in a memory card attached to a reader / writer are read on the PC side or stored in a storage device on the PC side such as a hard disk drive (HDD), the user must read and write them on the PC side. Processing operations (that is, command execution input) must be performed. For this reason, even if a memory card storing a data file is attached to a reader / writer placed at a location away from the PC, if the data file is to be stored on the PC, the data file must be saved unless it is bothered to the PC position. It was very inconvenient because it could not be operated.
本発明の課題は、通信イベントの実行を司るコマンドの発行方向が、上記のごとく、PC側から周辺装置側への一方向に規制されているにも拘わらず、周辺装置側でのユーザー操作により特定の通信イベントを自発的に起動することが可能な通信システムと、それに使用する周辺装置とを提供することにある。 The problem of the present invention is that, although the issue direction of the command for executing the communication event is restricted to one direction from the PC side to the peripheral device side as described above, the command is issued by a user operation on the peripheral device side. An object of the present invention is to provide a communication system capable of spontaneously starting a specific communication event and a peripheral device used for the communication system.
上記課題を解決するための本発明の通信システムは、
通信イベントの起動決定権を有したホスト装置と、該ホスト装置に接続される該ホスト装置の通信対象となる周辺装置とを含み、通信イベントを実行命令するためのコマンドをホスト装置から周辺装置に向けて順次発行する一方、発行されたコマンドを受領した周辺装置が当該コマンドに対応するデータ処理を逐次実行し、その実行結果に応じた応答情報をホスト装置側に返信するようになっており、かつ、コマンドの発行方向がホスト装置側から周辺装置側への一方向に規制された主通信プロトコルを有する通信システムにおいて、
周辺装置に設けられ、予め定められた内容の対象通信イベントの起動をホスト装置に促すための周辺装置側トリガを、該周辺装置側でのユーザー操作に基づいて発生させる周辺装置側トリガ発生手段と、
ホスト装置側に設けられ、周辺装置における周辺装置側トリガの発生を監視するために、周辺装置側トリガの発生の有無を反映したトリガ発生報告情報を応答情報として要求するためのトリガ報告要求コマンドを、主通信プロトコルに従い周辺装置に向けて発行するトリガ報告要求コマンド発行手段と、
周辺装置側に設けられ、トリガ発生報告情報を応答情報としてホスト装置に主通信プロトコルに従い返信するトリガ発生報告情報返信手段と、
ホスト装置側に設けられ、トリガ発生報告情報を周辺装置から受領する報告情報受領手段と、
当該トリガ発生報告情報の内容に基づいて周辺装置側トリガの有無を判定し、該周辺装置側トリガがありと判定された場合に、対象通信イベントを起動させる対象通信イベント起動手段とを有し、
周辺装置が、少なくともデータの読出しに係るデータアクセスが可能とされた記憶媒体が着脱可能に装着され、通信イベントにより該記憶媒体に対してデータアクセスを行なう記憶装置として構成されるとともに、記憶媒体内のデータファイルを選択するファイル選択操作と、選択されたデータファイルの保存処理条件の設定操作とを行なうための手動操作部を有するものとされ、対象通信イベントの実行手段として、手動操作部によるデータファイルの選択内容を確定させる周辺装置側トリガとしての確定操作トリガの発生を周辺装置からのトリガ発生報告情報によりホスト装置側で把握するに伴い、手動操作部によるデータファイルの選択確定内容の送信をホスト装置から周辺装置に要求し、該データファイル選択確定内容を周辺装置からの応答情報としてホスト装置側で受信する第一の通信イベントと、該手動操作部による保存処理条件の設定内容の送信をホスト装置から周辺装置に要求し、該保存処理条件の設定内容を周辺装置からの応答情報としてホスト装置側で受信する第二の通信イベントと、選択されたデータファイルを周辺装置にて読み出してホスト装置へ送信する第三の通信イベントとを含むデータファイル選択・保存イベント実行手段手段が設けられ、
ホスト装置には、受信したデータファイルを、保存処理条件にてホスト装置側の記憶装置の予め定められた格納領域に保存するデータファイル保存制御手段が設けられてなることを特徴とする。
The communication system of the present invention for solving the above problems is as follows.
A host device having a communication event activation decision right and a peripheral device to be communicated with the host device connected to the host device, and a command for instructing execution of the communication event is transmitted from the host device to the peripheral device. The peripheral device that has issued the issued command sequentially executes the data processing corresponding to the command, and returns response information corresponding to the execution result to the host device side. And in a communication system having a main communication protocol in which the command issuing direction is regulated in one direction from the host device side to the peripheral device side,
Peripheral device-side trigger generating means provided in the peripheral device for generating a peripheral device-side trigger for prompting the host device to start a target communication event having a predetermined content based on a user operation on the peripheral device side; ,
A trigger report request command is provided on the host device side to request the trigger occurrence report information reflecting the presence or absence of the peripheral device side trigger as response information in order to monitor the generation of the peripheral device side trigger in the peripheral device. , Trigger report request command issuing means for issuing to the peripheral device according to the main communication protocol,
Trigger occurrence report information return means provided on the peripheral device side for returning trigger occurrence report information as response information to the host device according to the main communication protocol,
Report information receiving means provided on the host device side for receiving trigger generation report information from the peripheral device;
Based on the content of the trigger occurrence report information, the presence or absence of a peripheral device side trigger is determined, and when it is determined that there is a peripheral device side trigger, the target communication event activation means for activating the target communication event,
The peripheral device is configured as a storage device in which at least a storage medium capable of data access relating to data reading is detachably mounted, and configured to perform data access to the storage medium by a communication event. A manual operation unit for performing a file selection operation for selecting a data file and a setting operation for setting a storage processing condition for the selected data file. As the host device side grasps the occurrence of the confirmation operation trigger as the peripheral device side trigger to confirm the file selection content from the trigger occurrence report information from the peripheral device, the manual operation unit sends the data file selection confirmation content. A request is sent from the host device to the peripheral device, and the data file selection confirmation is sent to the peripheral device. The host device requests the peripheral device to transmit the first communication event received on the host device side as response information and the setting details of the storage processing condition by the manual operation unit, and the setting information of the storage processing condition is transmitted to the peripheral device. Data file selection / save event execution that includes the second communication event received on the host device side as response information from the host device and the third communication event that reads the selected data file at the peripheral device and transmits it to the host device Means are provided,
The host device is provided with data file storage control means for storing the received data file in a predetermined storage area of the storage device on the host device side under the storage processing condition.
また、本発明の周辺装置は、上記本発明の通信システムを構成する周辺装置であって、
の通信システムを構成する周辺装置であって、少なくともデータの読出しに係るデータアクセスが可能とされた記憶媒体が着脱可能に装着され、通信イベントにより該記憶媒体に対してデータアクセスを行なう記憶装置として構成されるとともに、
記憶媒体内のデータファイルを選択するファイル選択操作と、選択されたデータファイルの保存処理条件の設定操作とを行なうための手動操作部と、
予め定められた内容の対象通信イベントの起動をホスト装置に促すための周辺装置側トリガを、該周辺装置側でのユーザー操作に基づいて発生させる周辺装置側トリガ発生手段と、
周辺装置側に設けられ、ホスト装置からのトリガ報告要求コマンドに対応するトリガ発生報告情報を応答情報としてホスト装置に主通信プロトコルに従い返信するトリガ発生報告情報返信手段と、を有してなることを特徴とする。
Further, the peripheral device of the present invention is a peripheral device constituting the communication system of the present invention,
As a storage device that is detachably mounted with a storage medium capable of data access related to data reading, and performs data access to the storage medium by a communication event Composed and
A manual operation unit for performing a file selection operation for selecting a data file in the storage medium, and a setting operation for a storage processing condition of the selected data file;
Peripheral device side trigger generating means for generating a peripheral device side trigger for prompting the host device to start a target communication event having a predetermined content based on a user operation on the peripheral device side;
Trigger occurrence report information return means provided on the peripheral device side and returning the trigger occurrence report information corresponding to the trigger report request command from the host device as response information to the host device in accordance with the main communication protocol. Features.
上記本発明によると、対象通信イベントの起動をホスト装置に促すための周辺装置側トリガをユーザー操作に基づいて発生させ、ホスト装置側では、周辺装置における周辺装置側トリガの発生を監視するためのトリガ報告要求コマンドを、主通信プロトコルに従い周辺装置に向けて発行する。これを受けた周辺装置からのトリガ発生報告情報をホスト装置側で受領し、当該トリガ発生報告情報の内容から周辺装置側トリガがありと判定された場合に、対象通信イベントを起動させる。これにより、通信イベントの実行を司るコマンドの発行方向が、ホスト装置側から周辺装置側への一方向に規制されているにも拘わらず、特定の通信イベントを周辺装置側でのユーザー操作により(ホスト装置側にて)自発的に起動することが可能となる。 According to the present invention, the peripheral device-side trigger for prompting the host device to start the target communication event is generated based on a user operation, and the host device side monitors the generation of the peripheral device-side trigger in the peripheral device. A trigger report request command is issued to the peripheral device according to the main communication protocol. The host device receives the trigger occurrence report information from the peripheral device that has received this, and activates the target communication event when it is determined from the content of the trigger occurrence report information that there is a peripheral device side trigger. As a result, even though the direction of issuing a command for executing the communication event is restricted to one direction from the host device side to the peripheral device side, a specific communication event is controlled by a user operation on the peripheral device side ( It can be activated spontaneously (on the host device side).
そして、本発明では、周辺装置側トリガとして、手動操作部による選択操作トリガの発生を、周辺装置からのトリガ発生報告情報によりホスト装置側で把握するに伴い、手動操作部によるデータファイルの選択内容の送信を周辺装置に要求し、該データファイル選択内容を周辺装置からの応答情報として受信するとともに、選択されたデータファイルを、周辺装置にて読み出してホスト装置へ送信し、該周辺装置から受信したデータファイルをホスト装置側に設けられたホスト装置側記憶装置上の予め定められた保存領域に保存する。この際、周辺装置の手動操作部からは、選択されたデータファイルの保存処理条件の設定操作が可能とされ、該保存処理条件の設定内容が周辺装置からの応答情報としてホスト装置側に返され、ホスト装置側では、該受信した保存処理条件にてデータファイルの保存処理が行なわれる。これにより、周辺機器側でのユーザー操作によりデータファイルの保存処理を実行でき、また、保存処理条件も周辺機器側でのユーザー操作により設定できるので、周辺機器がホスト装置から離れて接続されている場合でも、該画像データファイルの保存処理を周辺機器側からの遠隔操作により適確に行なうことができる。 In the present invention, as the peripheral device-side trigger, the selection of the data file by the manual operation unit as the host device side grasps the generation of the selection operation trigger by the manual operation unit from the trigger generation report information from the peripheral device. The peripheral device is requested to transmit the data file, and the selected data file is received as response information from the peripheral device. The selected data file is read by the peripheral device, transmitted to the host device, and received from the peripheral device. The data file is stored in a predetermined storage area on the host device side storage device provided on the host device side. At this time, the manual operation unit of the peripheral device can set the save processing condition of the selected data file, and the setting contents of the save processing condition are returned to the host device side as response information from the peripheral device. On the host device side, data file storage processing is performed under the received storage processing conditions. As a result, the data file storage process can be executed by the user operation on the peripheral device side, and the storage processing conditions can be set by the user operation on the peripheral device side, so the peripheral device is connected away from the host device. Even in this case, the image data file can be stored appropriately by remote operation from the peripheral device side.
本発明においては、記憶媒体内の保存対象データファイルと重複するファイル名を有したデータファイルがホスト装置側の保存領域に存在する場合に、当該重複するファイル名を有したデータファイルに対する保存処理条件が、手動操作部による操作内容に応じて複数条件から選択して設定可能とすることができる。該重複ファイル名を有したデータファイルが存在する場合、通常通りの保存処理を行なうと、保存領域内のデータファイルが記憶媒体からのデータファイルにより、ユーザーの意図に反して上書きされてしまう等のトラブルを生じやすい。そこで、こうした重複ファイル名が存在する場合の保存処理条件を複数通りの中から選択できるようにしておけば、こうしたトラブルを回避しつつデータファイルの保存を合理的に行なうための適正な方法を見出しやすくすることができる。 In the present invention, when a data file having a file name that overlaps with a data file to be stored in the storage medium exists in the storage area on the host device side, a storage processing condition for the data file having the duplicate file name However, it is possible to select and set from a plurality of conditions according to the operation content by the manual operation unit. If there is a data file with the duplicate file name and the normal save process is performed, the data file in the save area is overwritten by the data file from the storage medium against the user's intention. Prone to trouble. Therefore, if it is possible to select from several types of storage processing conditions when such duplicate file names exist, an appropriate method for rationally saving the data file while avoiding such troubles has been found. It can be made easier.
この場合、保存処理条件として、ホスト装置側又は記憶媒体側のデータファイル名を変更する条件が設定されるようにしておくと、送信先又は送信元の一方でデータファイル名が意図的に変更され、データファイルの上書き喪失を効果的に防止することができる。 In this case, if a condition for changing the data file name on the host device side or the storage medium side is set as the storage processing condition, the data file name is intentionally changed on either the transmission destination or the transmission source. The data file overwrite loss can be effectively prevented.
また、上記の構成においては、周辺装置に表示部を設け記憶媒体内の保存対象データファイルと重複するファイル名を有したデータファイルがホスト装置側の保存領域に存在する場合に、データファイル選択・保存イベントにおいて、該重複するデータファイル名をホスト装置側から周辺装置に文字情報として送信する第四の通信イベントが実行するとともに、周辺装置には、当該重複するデータファイル名を表示部表示する重複データファイル名表示手段を設けることができる。このようにすると、周辺装置側での表示により、どのデータファイルが重複しているかを容易に把握することができる。 Further, in the above configuration, when the peripheral device has a display unit and a data file having a file name overlapping with the data file to be stored in the storage medium exists in the storage area on the host device side, the data file selection / In the save event, a fourth communication event is executed in which the duplicate data file name is transmitted as character information from the host device side to the peripheral device, and the duplicate data file name is displayed on the peripheral device on the display unit. Data file name display means can be provided. In this way, it is possible to easily grasp which data file is duplicated by the display on the peripheral device side.
主通信プロトコルとしては、本発明においてはSCSIプロトコル(SCSI−1、SCSI−2及びSCSI−3のいずれか:特に、現在も多くのOSカーネルで使われつづけているSCSI−2)を採用することができるが、これに限定されるものではない。 As the main communication protocol, in the present invention, the SCSI protocol (either SCSI-1, SCSI-2, or SCSI-3: in particular, SCSI-2 that is still used in many OS kernels) is adopted. However, it is not limited to this.
トリガ報告要求コマンド発行手段は、トリガ報告要求コマンドを周辺装置に対し予め定められた時間間隔で繰り返し継続的に発行するものとすることができる。トリガ報告要求コマンドを繰り返し継続的に発行することで、周辺装置側トリガがどのようなタイミングで発生しても、ホスト装置側でこれを確実に取得することができる。 The trigger report request command issuing means can repeatedly issue the trigger report request command to the peripheral device at a predetermined time interval. By issuing the trigger report request command repeatedly and continuously, the host device can reliably acquire the peripheral device-side trigger no matter what timing it occurs.
なお、本発明では、周辺装置との間でピア・ツー・ピア通信が可能な別プロトコルに準拠した通信インターフェース(例えば、IEEE1394ないし1394b)をホスト装置側に組み込み、その通信インターフェースの端子に周辺装置を接続する構成も可能である。このハードウェア構成では、周辺装置側から上記通信インターフェース(すなわち、ホスト装置)に通信処理用のコマンドを発行することができるので、トリガ報告要求コマンド発行手段(ホスト装置側)やトリガ発生報告情報返信手段(周辺装置側)などの主通信プロトコルに従う機能を省略した、本発明に属さない参考技術態様へのシフトが一応可能ではある。ただし、この参考技術態様は、ホスト装置側のシステムに上記ピア・ツー・ピア通信を可能とするための別プロトコルを取り扱うモジュールも組み入れねばならず、通信インターフェースの高コスト化も免れ得ない欠点があるので現実的ではない。 In the present invention, a communication interface (for example, IEEE 1394 to 1394b) compliant with another protocol capable of peer-to-peer communication with a peripheral device is incorporated on the host device side, and the peripheral device is connected to the terminal of the communication interface. It is also possible to connect them. In this hardware configuration, since a command for communication processing can be issued from the peripheral device side to the communication interface (that is, the host device), trigger report request command issuing means (host device side) or trigger occurrence report information return It is possible to shift to a reference technical mode that does not belong to the present invention, omitting the function according to the main communication protocol such as means (peripheral device side). However, this reference technical aspect has a drawback in that it is necessary to incorporate a module for handling another protocol for enabling the peer-to-peer communication in the system on the host device side, and the cost of the communication interface cannot be avoided. Because it is, it is not realistic.
他方、本発明においては、周辺装置とホスト装置とを、ホスト装置側からの周辺装置のポーリングは可能であって、該周辺装置側からのホスト装置の逆ポーリングが不能なシリアル通信機構を介して接続し、通信イベントを実行するためのホスト装置と周辺装置との間における情報転送を、ホスト装置が周辺装置をポーリングする形式にてシリアル通信により実行されるものとして構成できる。この構成では、周辺装置側からホスト装置をポーリングすることができない(つまり、周辺装置側に通信開始の決定権が与えられない)形になるので、本発明の効果がより有効に発揮されるばかりでなく、周辺装置を直接接続するためのホスト装置側の通信インターフェースが大幅に簡略化され、システム構成の軽量・低コスト化を図ることができる。このようなシリアル通信の規格として、USB(Universal Serial Bus)を例示できる。また、本明細書では、主通信プロトコルとしてSCSIプロトコルが採用され、かつ、ホスト装置とUSBプロトコルに従うシリアル通信バスにより接続される周辺機器のことを、USB/SCSI型周辺機器とも称する。 On the other hand, in the present invention, the peripheral device and the host device can be polled by the peripheral device from the host device side through a serial communication mechanism in which the reverse polling of the host device from the peripheral device side is impossible. Information transfer between the host device and the peripheral device for connecting and executing a communication event can be configured to be executed by serial communication in a form in which the host device polls the peripheral device. In this configuration, since the host device cannot be polled from the peripheral device side (that is, the peripheral device side is not given the right to start communication), the effect of the present invention is more effectively exhibited. In addition, the communication interface on the host device side for directly connecting the peripheral devices is greatly simplified, and the system configuration can be reduced in weight and cost. An example of such a serial communication standard is USB (Universal Serial Bus). Further, in this specification, a peripheral device that adopts the SCSI protocol as a main communication protocol and is connected to the host device by a serial communication bus according to the USB protocol is also referred to as a USB / SCSI type peripheral device.
USBを採用する場合、周辺装置は、より具体的には以下のように構成できる。すなわち、コマンドをホスト装置から受信してコマンド内容を解析するコマンド解析ステップと、該コマンドの解析内容を反映したデータ処理を実行するデータ処理ステップと、データ処理の結果を示す応答情報をホスト装置に返信する応答情報返信ステップとをこの順序で実行する形で周辺機器側の通信処理制御を行なうアクセス制御デバイスと、上記コマンド及び応答情報の相互転送を、前記ホスト装置が複数の前記アクセス制御デバイスをポーリングする形式にてシリアル通信により実行するシリアル通信部とを有するものとして構成する。アクセス制御デバイスは、シリアル通信部との間でコマンド及び応答情報を送受信する送受信部と、コマンドを解釈してその内容に応じたデータ処理を制御実行主体とからなるものとして構成される。なお、送受信部とシリアル通信部とは専用ICに集積することができる。この構成では、USBプロトコルに従うシリアル通信にバスを介して、SCSI等の主通信プロトコルに従うコマンドないし応答情報のやり取りを問題なく行なうことができる。 When USB is adopted, the peripheral device can be configured more specifically as follows. That is, a command analysis step for receiving a command from the host device and analyzing the command content, a data processing step for executing data processing reflecting the analysis content of the command, and response information indicating the result of the data processing are sent to the host device. A response information return step for replying is executed in this order, and an access control device for controlling communication processing on the peripheral device side, and mutual transfer of the command and response information is performed by the host device with a plurality of access control devices. And a serial communication unit that executes serial communication in a polling format. The access control device includes a transmission / reception unit that transmits / receives command and response information to / from the serial communication unit, and a control execution entity that interprets the command and performs data processing according to the content. The transmission / reception unit and the serial communication unit can be integrated in a dedicated IC. In this configuration, commands or response information according to a main communication protocol such as SCSI can be exchanged without problems via a bus for serial communication according to the USB protocol.
より具体的には、周辺装置側のシリアル通信部が、ホスト装置からのシリアル通信バスを接続する通信バス接続端子と、シリアル通信バスと送受信部との間でコマンド及び応答情報の転送通信処理を実行する通信制御部とを備え、該通信制御部が、通信バス接続端子に接続される通信処理のプロトコルエンジン部と、該プロトコルエンジン部にFIFOメモリからなる制御用の双方向エンドポイントを介して接続され、転送通信処理の制御を司る制御指令部とを備えたものとして構成できる。そして、送受信部は上記プロトコルエンジン部に対し、FIFOメモリからなる該プロトコルエンジン部への入力用エンドポイントと、FIFOメモリからなる該プロトコルエンジン部からの出力用エンドポイントとを介して入出力経路が分離された形で接続することができる。また、通信制御部は、ホスト装置側から、データアクセスの対象となる送受信部の特定情報と、該送受信部に対応するエンドポイントの特定情報とを受信して、各送受信部をターゲットデバイスとしてポーリングするものとなるように構成することができる。送受信のデータバッファとなるエンドポイントを送信側と受信側とで独立して設け、ポーリング時にいずれのエンドポイントを指定するかによって、データの転送方向も容易に特定することができる。 More specifically, the serial communication unit on the peripheral device side performs the communication processing of the command and response information between the communication bus connection terminal for connecting the serial communication bus from the host device and the serial communication bus and the transmission / reception unit. A communication control unit that executes communication protocol unit connected to the communication bus connection terminal, and the protocol engine unit via a bidirectional endpoint for control including a FIFO memory. A control command unit that is connected and controls the transfer communication process can be provided. The transmission / reception unit has an input / output path to the protocol engine unit via an input endpoint to the protocol engine unit including a FIFO memory and an output endpoint from the protocol engine unit including a FIFO memory. Can be connected separately. In addition, the communication control unit receives from the host device side the identification information of the transmission / reception unit to be accessed and the identification information of the endpoint corresponding to the transmission / reception unit, and polls each transmission / reception unit as a target device. It can be configured to be. Endpoints serving as transmission / reception data buffers are provided independently on the transmission side and the reception side, and the data transfer direction can be easily specified depending on which endpoint is designated at the time of polling.
次に、本発明の通信システムにおいては、
ホスト装置側に設けられ、周辺装置に対し該周辺装置自身に対する調査報告処理を要求する調査要求コマンドを発行するとともに、該調査要求コマンドの発行に伴い、調査報告指示内容を示す予め定められたフレームフォーマットを有するとともに当該フレームの予め定められたフィールドに付加情報が書き込まれた調査指示データを作成する調査指示データ作成手段と、作成された調査指示データを周辺装置に送信する調査指示データ送信手段と、
周辺装置に設けられ、調査指示データを受けて、予め定められたフレームフォーマットを有する調査報告データを生成する調査報告データ生成手段と、
周辺装置に設けられ、調査報告データを応答情報としてホスト装置に送信する調査報告データ送信手段と、
周辺装置側に設けられ、受信した該調査指示データの予め定められたフィールドから付加情報を抽出する付加情報抽出手段と、を設けることができる。
Next, in the communication system of the present invention,
A predetermined frame that is provided on the host device side and issues a survey request command requesting the peripheral device itself to perform a survey report process on the peripheral device, and indicates the content of the survey report instruction when the survey request command is issued Survey instruction data creating means for creating survey instruction data having a format and additional information written in a predetermined field of the frame, and survey instruction data transmitting means for transmitting the created survey instruction data to the peripheral device ,
Survey report data generating means provided in the peripheral device, receiving survey instruction data, and generating survey report data having a predetermined frame format;
A survey report data transmitting means provided in the peripheral device for transmitting the survey report data as response information to the host device;
Additional information extraction means provided on the peripheral device side for extracting additional information from a predetermined field of the received survey instruction data can be provided.
本発明において主通信プロトコルは、周辺装置をなす記憶装置との間のデータファイルの送受信を行なうのが主目的であり、主通信プロトコルがサポートしていない制御処理(特に、周辺装置側で通信イベントを開始するような処理)に関与する情報は、主通信プロトコルがサポートする制御情報からは独立した付加情報として取り扱う必要がある。このような付加情報は、送受信の対象となるデータファイルの本体に書き込んでも意味がない。なぜなら、制御実行等のために付加情報の内容をホスト装置側あるいは周辺装置側で参照しようとした場合、そのデータファイルを開くためのアプリケーションソフトを立ち上げる必要が生じ、全く現実性がないためである。しかし、上記の構成によれば、ホスト装置側から周辺装置側へ送りたい付加情報を、周辺装置に対し該周辺装置自身に対する調査報告処理を要求する調査要求イベントを利用する形で、その調査要求コマンドの発行に伴い作成される調査指示データの予め定められたフィールドに書き込むことで、主通信プロトコルによる制御下でデータファイルを経由せずに確実に送信することができる。 In the present invention, the main communication protocol is mainly for transmitting / receiving data files to / from a storage device constituting a peripheral device, and control processing not supported by the main communication protocol (particularly, communication events on the peripheral device side). It is necessary to handle the information related to the processing that starts the process as additional information independent of the control information supported by the main communication protocol. It is meaningless to write such additional information in the main body of the data file to be transmitted / received. This is because when the content of the additional information is referred to on the host device side or peripheral device side for control execution etc., it is necessary to start up application software for opening the data file, which is not realistic at all. is there. However, according to the above configuration, additional information desired to be transmitted from the host device side to the peripheral device side can be obtained by using the investigation request event for requesting the peripheral device to perform the investigation report processing on the peripheral device itself. By writing in the predetermined field of the survey instruction data created when the command is issued, the data can be reliably transmitted without going through the data file under the control of the main communication protocol.
また、調査報告データ生成手段は、調査報告データの予め定められたフレームにホスト装置側からの付加情報に対応する対応付加情報を書き込むものとすることができ、調査報告データ送信手段は、その対応付加情報が書き込まれた調査報告データを応答情報としてホスト装置に送信するものとすることができる。これにより、周辺装置側からホスト装置側へ送りたい対応付加情報を、上記調査要求コマンドに対する応答情報である調査報告データの予め定められたフィールドに書き込むことで、主通信プロトコルによる制御下でデータファイルを経由せずに確実に送信することができる。 Further, the investigation report data generation means can write corresponding additional information corresponding to the additional information from the host device side in a predetermined frame of the investigation report data, and the investigation report data transmission means The investigation report data in which the additional information is written can be transmitted as response information to the host device. Thus, the corresponding additional information that is to be sent from the peripheral device side to the host device side is written in a predetermined field of the investigation report data that is response information to the investigation request command, so that the data file is controlled under the control of the main communication protocol. It can be transmitted reliably without going through.
具体的には、前述のトリガ報告要求コマンドとして調査要求コマンドを使用することができる。この場合、調査指示データに付加情報として周辺装置側トリガの発生報告指示情報が書き込まれるとともに、対応する調査報告データに対応付加情報としてトリガ発生報告情報が書き込まれる。これにより、周辺装置側トリガの発生報告指示を周辺装置側に適確に伝えることができ、また、周辺装置側での周辺装置側トリガを調査報告データ中のトリガ発生報告情報により確実に把握することができる。 Specifically, a survey request command can be used as the above-described trigger report request command. In this case, the peripheral device side trigger occurrence report instruction information is written as additional information in the investigation instruction data, and the trigger occurrence report information is written as corresponding additional information in the corresponding investigation report data. As a result, the peripheral device side trigger generation report instruction can be accurately transmitted to the peripheral device side, and the peripheral device side trigger on the peripheral device side is surely grasped by the trigger generation report information in the investigation report data. be able to.
他方、調査要求コマンドは、表示部に表示させる文字情報をホスト装置から周辺装置に送信する通信イベントの起動に使用することもできる。この場合、調査指示データには、付加情報として送信すべき文字を特定するための文字コード情報が付加情報として書き込まれる。また、周辺装置側には、表示部への表示用文字データを文字コードと対応付けて記憶する表示用文字データ記憶手段と、付加情報抽出手段が抽出する付加情報としての文字コード情報に対応する表示用文字データを表示用文字データ記憶手段から読み出して、表示部に表示させる表示制御手段とを設けておく。このようにすると、主通信プロトコルに文字列転送用のコマンドが存在しない場合でも(特に、SCSIプロトコル)、周辺装置側の表示部に表示したい文字の文字コードを、調査要求コマンドを用いて転送することが可能となる。そして、周辺装置側に表示用文字データ記憶手段を設けておくことで、受けた文字コードに対応する表示用文字データを用いて表示部に文字を表示することができる。なお、表示するべき文字列が長い場合は、複数回の調査要求コマンドの実行により分割送信することが可能である。また、2バイト文字(全角漢字や記号など)など、1つの文字に対応する文字コードのデータサイズが、調査指示データのフィールドサイズを超える場合、1つの文字コードを分割して複数回の調査要求コマンドの実行により送信することも可能である。 On the other hand, the investigation request command can also be used to start a communication event in which character information to be displayed on the display unit is transmitted from the host device to the peripheral device. In this case, character code information for specifying a character to be transmitted as additional information is written as additional information in the survey instruction data. Further, on the peripheral device side, display character data storage means for storing character data for display on the display unit in association with the character code, and character code information as additional information extracted by the additional information extraction means are supported. Display control means for reading the display character data from the display character data storage means and displaying it on the display unit is provided. In this way, even if there is no character string transfer command in the main communication protocol (especially the SCSI protocol), the character code of the character to be displayed on the display unit on the peripheral device side is transferred using the investigation request command. It becomes possible. By providing the display character data storage means on the peripheral device side, it is possible to display characters on the display unit using the display character data corresponding to the received character code. When the character string to be displayed is long, it can be divided and transmitted by executing a plurality of investigation request commands. Also, if the data size of the character code corresponding to one character, such as a 2-byte character (double-byte Kanji, symbol, etc.) exceeds the field size of the survey instruction data, one character code is divided and multiple survey requests are made. It is also possible to send it by executing a command.
また、調査要求コマンドは、周辺装置から受信したデータファイルと重複するファイル名を有したデータファイルが保存領域に存在する場合に、これを周辺装置に通知する通信イベントの起動に使用することもできる。この場合、調査指示データには付加情報として重複ファイル名特定情報が書き込まれる。また、周辺装置には、受信した重複ファイル名特定情報に基づいて重複ファイル名を表示部に表示する重複ファイル名表示手段を設け、表示された重複ファイルに対しホスト装置に指示する保存処理条件が手動操作部から選択入力可能とすることができる。この場合、調査報告データには対応付加情報として、手動操作部からの入力情報に基づいて保存処理条件を指示する保存処理条件指示情報を書き込むことができ、ホスト装置側のデータファイル保存制御手段は、周辺装置から受領する保存処理条件に従い、データファイルの保存処理を実行するものとすることができる。 The investigation request command can also be used to start a communication event that notifies the peripheral device when a data file having a file name that overlaps with the data file received from the peripheral device exists in the storage area. . In this case, duplicate file name specifying information is written as additional information in the survey instruction data. Further, the peripheral device is provided with a duplicate file name display means for displaying the duplicate file name on the display unit based on the received duplicate file name specifying information, and there is a storage processing condition for instructing the host device for the displayed duplicate file. Selection input can be performed from the manual operation unit. In this case, the storage report condition instruction information for instructing the storage process condition can be written in the investigation report data as the corresponding additional information based on the input information from the manual operation unit, and the data file storage control means on the host device side The data file storage process can be executed in accordance with the storage process condition received from the peripheral device.
上記のように構成すると、周辺装置側で選択したデータファイルが、ホスト装置側の記憶領域に既に存在している場合に、その存在を通知する情報を周辺装置側で表示でき、当該重複ファイルへの対応処理も周辺装置側での保存処理条件設定により適確に指示することができる。この場合、ホスト装置側のデータファイルのファイル名を変更するか、記憶媒体側のデータファイルのファイル名を変更するかの、いずれかの保存処理条件を選択できるように構成することができる。 With the above configuration, when the data file selected on the peripheral device side already exists in the storage area on the host device side, information indicating the existence can be displayed on the peripheral device side, and the duplicate file can be displayed. The corresponding processing can be instructed appropriately by setting the storage processing condition on the peripheral device side. In this case, it is possible to select one of the storage processing conditions to change the file name of the data file on the host device side or to change the file name of the data file on the storage medium side.
調査指示データ作成手段は調査指示データにおいて、格納するべき主格納情報として発生報告指示情報以外の情報が格納されるよう主通信プロトコルに規定されたフィールドに、発生報告指示情報を主格納情報に兼用させる形で書き込むものとすることができる。主通信プロトコルがSCSIプロトコルのごとく既製の通信規格に従う場合などにおいては、本発明において初めて発生する技術概念である(トリガ)発生報告指示情報用の専用フィールドを、調査指示データのフレーム内に新たに設定できる余地が存在しない場合がある。このとき、上記のように本来発生報告指示情報とは全く別の主格納情報用に用意されたフィールドに、発生報告指示情報(を含む付加情報)を当該主格納情報に兼用させる形で書き込むようにすれば、上記のごとく専用フィールドを設ける余裕がない場合でも発生報告指示情報を問題なく書き込むことができる。 The investigation instruction data creation means uses the occurrence report instruction information as the main storage information in the field defined in the main communication protocol so that information other than the occurrence report instruction information is stored as the main storage information to be stored in the investigation instruction data. It can be written in the form of When the main communication protocol conforms to an off-the-shelf communication standard such as the SCSI protocol, a dedicated field for (trigger) occurrence report instruction information, which is a technical concept generated for the first time in the present invention, is newly added in the frame of the investigation instruction data. There may be no room for setting. At this time, as described above, the occurrence report instruction information (including additional information) is written in the field prepared for the main storage information that is completely different from the original occurrence report instruction information in a form that is also used as the main storage information. By doing so, even when there is no room for providing a dedicated field as described above, the occurrence report instruction information can be written without any problem.
例えば、調査指示データにおいて、主通信プロトコルに従い記憶媒体に対するデータの読み出し又は書き込みに係る通信イベントを実行する際に、該読み出し処理又は書き込み処理に割り当てられる当該記憶媒体上のメモリ領域のアロケーション長を設定するためのフィールドをアロケーション長設定フィールドとして確保することができる。この場合、該アロケーション長設定フィールドにおいてアロケーション長情報を主格納情報とする形で、該アロケーション長情報に兼用される発生報告指示情報を書き込むことができる。このようにすると、アロケーション長情報に兼用させる形で、主通信プロトコルに規定されていない固有の付加情報を周辺装置側へ送信することが可能となり、周辺装置側トリガの発生報告指示情報を周辺装置側へ問題なく送信できる。 For example, in the survey instruction data, when executing a communication event related to reading or writing of data to the storage medium according to the main communication protocol, the allocation length of the memory area on the storage medium assigned to the reading or writing process is set. The field to be used can be secured as an allocation length setting field. In this case, the occurrence report instruction information that is also used as the allocation length information can be written in the allocation length setting field, with the allocation length information as the main storage information. In this way, it is possible to transmit specific additional information not defined in the main communication protocol to the peripheral device side in a form that is also used as allocation length information, and the peripheral device side trigger generation report instruction information is transmitted to the peripheral device. Can be sent to the other side without any problems.
主通信プロトコルにおいて、アロケーション長設定フィールドのサイズが一定ビット長に定められる場合、アロケーション長設定フィールドに上記付加情報を書き込む空き領域を形成するために、次のような巧妙な方法が存在する。すなわち、アロケーション長として設定可能な最大値をバイト単位にて表わしたときのビット数を、アロケーション長設定フィールドの総ビット数未満に設定する。そして、上記最大値を超えるアロケーション長がアロケーション長設定フィールドに記述された場合には、記述されたアロケーション長値とは無関係に上記最大値をアロケーション長の実設定値として定める。そして、該最大値を超える冗長なアロケーション長記述値に一義的に対応付ける形で、発生報告指示情報を含む、異なる付加情報内容を定義することができる。例えば、SCSIプロトコルにおける後述のInquiryコマンドのCDBを調査指示データとして使用する場合、このCDBはSCSIプロトコル制御用に割り振られたフィールドばかりからなり、ユーザーが新たなデータを書き込むための余裕は一見全く存在しないように見える。しかし、本来はSCSIプロトコルの主格納情報であるアロケーション長の設定フィールドにおいて、上記のごとくアロケーション長として設定可能な最大値をアロケーション長設定フィールドの総ビット数未満に設定することで、該最大値を超える冗長なアロケーション長の設定記述値に、発生報告指示情報を含む付加情報としての意味をもたせることができる。 In the main communication protocol, when the size of the allocation length setting field is set to a certain bit length, the following clever method exists to form a free area in which the additional information is written in the allocation length setting field. That is, the number of bits when the maximum value that can be set as the allocation length is expressed in bytes is set to be less than the total number of bits in the allocation length setting field. If an allocation length exceeding the maximum value is described in the allocation length setting field, the maximum value is determined as the actual setting value of the allocation length regardless of the described allocation length value. Then, different additional information contents including the occurrence report instruction information can be defined in a manner that uniquely associates with the redundant allocation length description value exceeding the maximum value. For example, when a CDB of an inquiry command (to be described later) in the SCSI protocol is used as the survey instruction data, this CDB consists only of fields allocated for SCSI protocol control, and there is no room for the user to write new data. Looks like not. However, by setting the maximum value that can be set as the allocation length as described above in the allocation length setting field that is originally the main storage information of the SCSI protocol, the maximum value is set to be less than the total number of bits of the allocation length setting field. It is possible to give a meaning as additional information including occurrence report instruction information to the setting description value of the redundant allocation length exceeding.
次に、SCSIプロトコル等の場合、調査要求コマンドにはいくつかの種別が用意されている場合がある。この場合、どのような種別の調査要求コマンドをトリガ報告要求コマンドとして使用するかが問題になる場合がある。例えば、周辺装置が、データの読出し及び書込の双方に係るデータアクセスが可能とされた記憶媒体が着脱可能に装着され、通信イベントにより該記憶媒体に対してデータアクセスを行なう記憶装置として構成される場合、周辺装置には、記憶媒体の交換がなされた場合に当該記憶媒体の交換をホスト装置に通知するための交換通知情報を保持する交換通知情報保持手段と、ホスト装置から予め定められた第一種コマンドを受信した場合には、該コマンドの実行後に交換通知情報保持手段に保持されている交換通知情報をクリアし、同じく第一種コマンド以外の第二種コマンドを受信した場合は、該コマンドの実行後においても交換通知情報保持手段による交換通知情報の保持状態を保留する交換通知情報保持制御手段とが設けられる場合がある。この場合、トリガ報告要求コマンドとして使用する調査要求コマンドとしては、第二種コマンドの使用が強く推奨される。なぜならば、このような目的に第一種コマンドを使用した場合、交換通知情報を特に必要としないトリガ報告要求イベントであるにも拘わらず、処理終了時には交換通知情報がクリアされてしまい、ホスト装置側でこの交換通知情報を本来必要とするシステムコンポーネント(例えばファイルシステム)が、これを取得できなくなってしまう状況が発生し、記憶媒体の記憶内容が破壊されたりするといったトラブルにつながる場合があるためである。 Next, in the case of the SCSI protocol or the like, there are cases where some types of investigation request commands are prepared. In this case, what type of investigation request command is used as a trigger report request command may be a problem. For example, the peripheral device is configured as a storage device in which a storage medium capable of data access for both reading and writing of data is detachably mounted and data access to the storage medium is performed by a communication event. When the storage medium is replaced, the peripheral device includes a replacement notification information holding unit that holds replacement notification information for notifying the host device of the replacement of the storage medium, When the first type command is received, the exchange notification information held in the exchange notification information holding unit is cleared after the execution of the command, and when the second type command other than the first type command is received, In some cases, after the execution of the command, there is provided an exchange notification information holding control means for holding the exchange notification information holding state by the exchange notification information holding means. That. In this case, the use of the second type command is strongly recommended as the investigation request command used as the trigger report request command. This is because when the first type command is used for such a purpose, the exchange notification information is cleared at the end of the process, even though it is a trigger report request event that does not particularly require the exchange notification information. The system component (for example, a file system) that originally needs the exchange notification information on the side may not be able to obtain it, which may lead to troubles such as the storage contents of the storage medium being destroyed. It is.
調査要求コマンドとしては、例えば、周辺装置に対し該周辺装置自身の構成及び属性を特定する情報である構成/属性特定情報の報告を指示する構成/属性調査要求コマンドを採用することができる。このような周辺装置自身の構成及び属性の特定に係る通信イベントは、主通信プロトコル上では、例えばどのような種別の周辺装置(デバイス:SCSIの場合、ターゲット)が接続されているのかを、装置立ち上げ時に認識するために実行する目的で使用されることが多いが、これを本発明では、周辺装置における周辺装置側トリガの発生を監視用に、装置立ち上げ後においても所定のタイミングで繰り返し発行する。該構成/属性調査要求コマンドにより規定される通信イベントは、本来的には(装置使用中においては不変となる)周辺装置のいわば「素性」を認識することのみが目的であり、例えば、コマンドの発生の前後で記憶媒体の交換があった場合において、交換通知情報の保持状態等に不要な影響を与えるべきではないので、上記の第二種コマンドとして用意することが望ましいのである。これを周辺装置側トリガの発生監視用に流用することで、該コマンドを何度繰り返し発行しても交換通知情報の保持状態には影響が及ばず、前述のトラブルを防ぐことができる。 As the investigation request command, for example, a configuration / attribute investigation request command for instructing a peripheral device to report configuration / attribute identification information that is information for identifying the configuration and attributes of the peripheral device itself can be employed. Such a communication event related to specifying the configuration and attributes of the peripheral device itself indicates, for example, what type of peripheral device (device: target in the case of SCSI) is connected on the main communication protocol. In many cases, this is used for the purpose of executing recognition at the time of start-up. In the present invention, this is repeated at a predetermined timing even after device start-up for monitoring the generation of a peripheral device-side trigger in the peripheral device. Issue. The communication event defined by the configuration / attribute investigation request command is originally intended only to recognize the so-called “feature” of the peripheral device (which remains unchanged when the device is in use). When the storage medium is exchanged before and after the occurrence, it should not be unnecessarily affected in the exchange notification information holding state or the like, so it is desirable to prepare it as the second type command. By using this for monitoring the generation of the peripheral device side trigger, no matter how many times the command is repeatedly issued, the holding state of the exchange notification information is not affected, and the above-mentioned trouble can be prevented.
主通信プロトコルがSCSIプロトコルである場合、上記の調査要求コマンドとしてInquiry(照会)コマンドを使用することが望ましい。この場合、ホスト装置(イニシエータ)から周辺装置(ターゲット)に送られる調査指示データは、Inquiryコマンドの詳細内容を記述する、CDB(Command Descriptor Block:コマンド記述ブロック、コマンド毎にフレーム形式がSCSIプロトコルにて詳細に規定されている)であり、周辺装置(ターゲット)からホスト装置(イニシエータ)に返される調査報告データはInquiryデータ(フレーム形式がSCSIプロトコルにて詳細に規定されている)である。表1はInquiryコマンドに対応するCDBの形式を示すものである。 When the main communication protocol is the SCSI protocol, it is desirable to use an inquiry command as the above-mentioned investigation request command. In this case, the investigation instruction data sent from the host device (initiator) to the peripheral device (target) describes the detailed contents of the inquiry command, CDB (Command Descriptor Block: command description block, and the frame format for each command conforms to the SCSI protocol. The investigation report data returned from the peripheral device (target) to the host device (initiator) is inquiry data (the frame format is defined in detail by the SCSI protocol). Table 1 shows a CDB format corresponding to the inquiry command.
SCSIプロトコルでは、ホスト装置(イニシエータ)側で周辺装置(ターゲット)から返されるInquiryデータの種別を指定することができる。具体的には、Inquiryコマンドに対応するCDBには、EVPD(Enable Vital Product Data)と称されるフィールド(1ビット)と、ページコード(8ビット)と称されるフィールドが形成されている。表2に示すごとくEVPDフィールドに「0」が記述されているCDB(以下、CDB(0)と略記する)に対しては、Inquiryデータとして、表3に示すような、周辺装置の仕様に関係なく形式及び内容が共通に定められたスタンダードInquiryデータ(以下、S/Iデータと略称する)が返される。S/Iデータのうち、SCSIプロトコルによる通信制御に直接使用しない空き領域を、トリガ発生報告情報等、本発明特有の応答情報(以下、特有応答情報という)の記述フィールドとして使用することができる。 In the SCSI protocol, the type of inquiry data returned from the peripheral device (target) can be specified on the host device (initiator) side. Specifically, a field called EVPD (Enable Vital Product Data) (1 bit) and a field called page code (8 bits) are formed in the CDB corresponding to the inquiry command. As shown in Table 2, for a CDB in which “0” is described in the EVPD field (hereinafter abbreviated as CDB (0)), the inquiry data is related to the peripheral device specifications as shown in Table 3. Instead, standard inquiry data (hereinafter abbreviated as S / I data) whose format and contents are defined in common is returned. Of the S / I data, a free area that is not directly used for communication control by the SCSI protocol can be used as a description field of response information unique to the present invention (hereinafter referred to as unique response information) such as trigger generation report information.
例えば、S/Iデータでは、デバイスのベンダに固有の情報を記述するための一定長のフィールド(以下、ベンダ固有領域という)が設けられており、このフィールドに空き領域がある場合は、これを本発明特有の応答情報の記述フィールドとして使用することができる。また、ビット数は僅少であるが、次のような空き領域も、本発明特有の応答情報の記述フィールドとして利用することができる。すなわち、8ビットに設定された追加データ長フィールド(S/Iデータのバイト5以降のデータ長)は、S/Iデータにおけるデータフレーム長の上限から、最大データ長が8ビットに満たないことがある。この場合、追加データ長フィールドに上記最大データ長を超えるデータ長が指定されている場合、追加データ長フィールドの記述内容によらず、最大データ長が指定されることとなる。その結果、最大データ長を超えるビット値の範囲は、実質的に特有応答情報を記述するための「空き領域」として活用できる。 For example, in the S / I data, a fixed-length field (hereinafter referred to as a vendor-specific area) for describing information specific to a device vendor is provided. If there is a free area in this field, It can be used as a description field for response information unique to the present invention. Although the number of bits is very small, the following free space can also be used as a description field for response information unique to the present invention. In other words, the additional data length field (data length after byte 5 of S / I data) set to 8 bits may have a maximum data length of less than 8 bits due to the upper limit of the data frame length in S / I data. is there. In this case, when a data length exceeding the maximum data length is specified in the additional data length field, the maximum data length is specified regardless of the description content of the additional data length field. As a result, a range of bit values exceeding the maximum data length can be utilized as a “free area” for describing the specific response information substantially.
一方、表4のごとく、EVPDフィールドに「1」が記述されているCDB(以下、CDB(1)と略記する)は、ホスト装置(イニシエータ)により詳細な、あるいはデバイス固有の情報を提供するための、表5のようなVPD(Vital Product Data)と称される特殊なInquiryデータが返される。 On the other hand, as shown in Table 4, a CDB in which “1” is described in the EVPD field (hereinafter abbreviated as CDB (1)) provides detailed or device-specific information to the host device (initiator). As shown in Table 5, special inquiry data called VPD (Vital Product Data) is returned.
VPDにはいくつかの種類が規定されており、どの種別のVPDを指定するかをCDBのページコードフィールドに記述する(具体的には、ページコードリスト(ページコード:00h)、FRU ASCII情報(ページコード:01h〜7Fh)、ユニットシリアル番号(ページコード:80h)、動作モード定義(ページコード:81h)、ASCII動作モード定義(ページコード:82h)、及びベンダ固有の形式(ページコード:C0h〜FFh))。周辺装置はページコードフィールドで指定された種類のVDPを作成し、ホスト装置に返信する。特に、FRU ASCII情報形式及びASCII動作モード定義形式のVPDは、ページ長フィールドに続いて、必要なASCII情報を書き込むフィールドのデータ長のフィールドと、そのデータ長で指定されるASCII情報フィールドとが形成されるが、以降のフィールドはベンダ固有領域として、特有応答情報を記述するための「空き領域」として活用できる。例えば、ASCII動作モード定義形式のVPDにおいて、ASCII情報フィールドを、デバイスのバージョン情報などを記述するためのバイト数の小さい(例えば1〜3バイト)のフィールドとして定義すれば、ベンダ固有領域となる残りのフィールドの長さを比較的大きく確保することができ、ある程度サイズの大きい特有応答情報を書き込むことが可能となる。 The VPD are defined several types, or to specify the VPD of which type to describe (specifically page code field of the CDB, pages Listing (Page Code: 00 h), FRU ASCII information (page code: 01 h ~7F h), the unit serial number (page code: 80 h), the operation mode definition (page code: 81 h), ASCII operation mode definition (page code: 82 h), and vendor-specific format (page code: C0 h ~FF h)). The peripheral device creates a VDP of the type specified in the page code field and returns it to the host device. In particular, in the VPD in the FRU ASCII information format and the ASCII operation mode definition format, a data length field in which necessary ASCII information is written and an ASCII information field specified by the data length are formed following the page length field. However, the following fields can be used as a “free area” for describing unique response information as a vendor specific area. For example, in the ASCII operation mode definition format VPD, if the ASCII information field is defined as a field having a small number of bytes (for example, 1 to 3 bytes) for describing the version information of the device, the remaining vendor-specific area It is possible to ensure a relatively large field length, and to write specific response information that is somewhat large in size.
SCSIプロトコルでは、ターゲット(周辺装置)、あるいはこれに含まれる1又は複数のロジカルユニット(周辺装置が記憶装置である場合は、1又は複数の記憶媒体装着スロットである)上で事象や状態の変化が、ホスト装置(イニシエータ)の動作とは非同期に発生した場合、これを該イニシエータに通知するためのユニット・アテンション・コンディションを生成する機能が設けられている。周辺装置にて記憶媒体の交換が発生した場合、その交換通知情報が生成されるユニット・アテンション・コンディションに反映されることとなる。SCSIプロトコルでは、そのようなユニット・アテンション・コンディションを保留中の周辺装置に向けてInquiryコマンドが発行された場合、該周辺装置は保留中のユニット・アテンション・コンディションをクリアせずに(ただし、Copy Aborded(CA)状態の生成前に限る)、発行されたInquiryコマンドが実行される(Inquiryデータの作成・返信)。従って、トリガ発生報告情報など特有応答情報の返信要求イベントを起動する際にあっては、Inquiryコマンドを用いることで、記憶媒体の交換がなされた場合も、その交換通知情報を含むユニット・アテンション・コンディションが保持され、交換通知情報の喪失を防ぐことができる。Inquiryコマンドが前述の第二種コマンドに該当するものであることは明らかである。 In the SCSI protocol, a change in an event or a state on a target (peripheral device) or one or a plurality of logical units included therein (or one or a plurality of storage medium mounting slots when the peripheral device is a storage device). However, when the operation occurs asynchronously with the operation of the host device (initiator), a function is provided for generating a unit attention condition for notifying the initiator. When the storage medium is exchanged in the peripheral device, the exchange notification information is reflected in the generated unit attention condition. In the SCSI protocol, when an inquiry command is issued to a peripheral device that has such a unit attention condition pending, the peripheral device does not clear the pending unit attention condition (however, Copy The issued Inquiry command is executed (created / returned Inquiry data) only when the Aborted (CA) state is generated. Therefore, when the response request event of the specific response information such as the trigger occurrence report information is activated, even if the storage medium is exchanged by using the inquiry command, the unit attention including the exchange notification information is used. Conditions are maintained and loss of exchange notification information can be prevented. It is clear that the inquiry command corresponds to the above-described second type command.
なお、SCSIプロトコルでは、Request Senseコマンドと称される別の調査要求コマンドも使用が可能である。Request Senseコマンドは、周辺装置(ターゲット)に例えばエラー原因や種類などを報告するためのセンスデータを要求するコマンドであり、調査報告データとして該センスデータが規定フォーマットのフレームに記述されて返される。本発明においては、このセンスデータの空き領域を利用してトリガ発生報告情報など特有応答情報を書き込み、ホスト装置に返すことも原理的には可能である。しかし、SCSIプロトコルでは、SCSIプロトコルでは、ユニット・アテンション・コンディションを保留中の周辺装置に向けてRequest Senseコマンドが発行された場合、該周辺装置は保留中のユニット・アテンション・コンディションをクリアするように(ただし、Copy Aborded(CA)状態の生成前に限る)決められており、記憶媒体の交換がなされた場合に、その交換通知情報を含むユニット・アテンション・コンディションがクリアされ、交換通知情報が喪失する惧れがある。つまり、Request Senseコマンドは前述の第一種コマンドに該当するものである。 In the SCSI protocol, another investigation request command called a Request Sense command can also be used. The Request Sense command is a command for requesting sense data for reporting, for example, an error cause and type to a peripheral device (target), and the sense data is described and returned as a survey report data in a frame of a prescribed format. In the present invention, it is also possible in principle to write specific response information such as trigger occurrence report information using the empty space of the sense data and return it to the host device. However, in the SCSI protocol, in the SCSI protocol, when a Request Sense command is issued to a peripheral device that is holding a unit attention condition, the peripheral device is configured to clear the pending unit attention condition. (However, only before the creation of the Copy Aborted (CA) state) When a storage medium is replaced, the unit attention condition including the replacement notification information is cleared and the replacement notification information is lost. There is a fear. That is, the Request Sense command corresponds to the first type command described above.
以下、適宜図面を参照して本発明の実施形態に係る通信システム1について説明する。図1は通信システム1に適用されるマルチリーダライタ2(記憶装置:周辺装置の一例)の斜視図、図2はマルチリーダライタ2の概略構成を示すブロック図、図6は通信システム1に適用されるPC3(ホスト装置の一例)の概略構成を示すブロック図である。なお、以下に説明する通信システム1の構成は、本発明を具現化するための単なる一例であり、本発明の要旨を変更しない範囲で構成を適宜変更できることは当然である。
Hereinafter, a communication system 1 according to an embodiment of the present invention will be described with reference to the drawings as appropriate. 1 is a perspective view of a multi-reader / writer 2 (storage device: an example of a peripheral device) applied to the communication system 1, FIG. 2 is a block diagram showing a schematic configuration of the multi-reader /
図1(a)に示すように、マルチリーダライタ2は、その前面に着脱可能な記憶媒体として、第1メモリーカード11(例えばCF)を挿入するための第1スロット16と、第2メモリーカード12(例えばSM)を挿入するための第2スロット17と、第3メモリーカード13(例えばMS)を挿入するための第3スロット18と、第4メモリーカード14(例えばSD)を挿入するための第4スロット19とを備えている。なお、本実施形態では、周辺装置としてマルチリーダライタ2を例示して説明するが、シングルスロットタイプのリーダライタにも適用可能である。また、CFやSMなどのメモリーカードに代えてCD−ROM、DVD−ROMあるいはリムーバブルハードディスクなどのディスク記録メディアとする場合は、該ディスク記録メディアを単数あるいは複数着脱可能に挿入可能な挿入部を備えてなる、いわゆるチェンジャー型ドライブ周辺装置となる。該周辺装置を備えて構成された通信システムにも本発明は適用可能である。
As shown in FIG. 1A, the multi-reader /
マルチリーダライタ2はUSB/SCSI型周辺機器として構成され、その背面には、図1B及び図2に示すように、USBケーブル25(図2参照)を接続するためのUSB端子24が設けられている。また、本実施形態では、主通信プロトコルとしてSCSI−2のプロトコルが採用されているものとする。図2に示すように、マルチリーダライタ2は、その内部に、各構成部を制御するCPU27と、制御プログラムや種々のデータ等を格納するROM28と、CPU27による演算の作業領域となるRAM29と、入出力制御LSI31と、USBチップ32とを備え、これらがバス33を介して相互にデータ転送が可能なように接続されている。マルチリーダライタ2は、該マルチリーダライタ2が接続されるPC3との間で、SCSIプロトコルに従うデータ通信を行なう。
The multi-reader /
具体的には、ROM28には、SCSIプロトコルに基づいて作成された通信制御プログラムと、PC3から送信されたデータ(CDB)を解析するために用いられる解析データのテーブルリストが格納され、CPU27は、リーダライタ2がSCSI対応機器のターゲットとして機能するための、受信したSCSIコマンドに対応した通信イベントの実行制御処理を行なう。また、各スロット16〜19に着脱可能に装着される各第1〜第4メモリーカード11〜14は、例えば、コンパクトフラッシュ(CF:登録商標)、スマートメディア(SM:登録商標)、メモリースティック(MS:登録商標)、SDメモリーカード(SD:登録商標)など、PC3によるデータの書き込み、書き換え、消去、読出し、メディア装着確認等のデータアクセスが可能なフラッシュメモリを搭載したカード型記憶メディアである。なお、記憶デバイスとしては、CD−ROM、DVD−ROM、リムーバブルハードディスク等の読出し専用の記憶媒体からデータの読出しを行なうドライブ装置を用いることもできる。
Specifically, the
SCSIプロトコルに従い、PC3はホスト装置として通信イベントの起動決定権が与えられ、該PC3(ホスト装置:イニシエータ)に接続されるマルチリーダライタ2は、PC3(ホスト装置)の通信対象(ターゲット)となる。そして、通信イベントを実行命令するためのSCSIコマンドがPC3(ホスト装置)からマルチリーダライタ2(周辺装置)に向けて順次発行される一方、発行されたコマンドを受領したマルチリーダライタ2(周辺装置)が当該SCSIコマンドに対応するデータ処理を逐次実行し、その実行結果に応じた応答情報をホスト装置側に返信する。また、SCSIコマンドの発行方向は、PC3(ホスト装置)側からマルチリーダライタ2(周辺装置)側への一方向に規制されている。
In accordance with the SCSI protocol, the
次に、マルチリーダライタ2には、予め定められた内容の対象通信イベントの起動をホスト装置に促すための周辺装置側トリガを、該周辺装置側でのユーザー操作に基づいて発生させる周辺装置側トリガ発生手段の機能が具備されている。具体的には、周辺装置側トリガ発生手段を構成する手動操作部としてキーボード22が筐体上面に設けられている。キーボード22を構成する各ボタン22a,22b,22には、それらボタンの押圧操作により独立に付勢されるスイッチが設けられ、ボタンの押圧/解除に伴いスイッチ出力信号のレベルが変化する。このスイッチ出力信号を周辺装置側トリガ信号として利用できる。該周辺装置側トリガ信号は、図2において入力制御LSI30に入力される。また、表示部をなす液晶表示パネル(以下、LCDという)21が表示制御LSI34を介してバス33に接続されている。
Next, the multi-reader /
入力制御LSI30は周辺装置側トリガ信号を受け、トリガ検出データ信号(レベル信号である)を、ボタン毎に異なるアドレスにてデータバス上に出力する。データバス上のトリガ検出データ信号は、後述のInquiryコマンド実行時に参照され、各ボタンに対応するアドレスのトリガ検出データが「トリガあり」の状態を示していれば、作成されるInquiryデータに、対応するボタンが操作された内容の対応付加情報を書き込む。つまり、キーボード22の操作状態の検出は、PC3からの指示に従って行われる。なお、Inquiryデータ作成後は、トリガ検出データ信号はリセットされる。本実施形態では、ボタン22a及びボタン22bが、LCD21に表示される複数行の文字列を上下にスクロールするためのスクロールキーであり(符号22aが上スクロールキー、符号22bが下スクロールキー)、ボタン22cは、LCD21に表示される文字列の選択(例えばシングルクリック時)、及び確定(例えばダブルクリック時)の操作を行なうための実行キーである。
The
次に、USBチップ32には、各外部メモリ入出力制御部51〜54に共通して設けられたコマンド・データ・ステータス送受信部(以下、単に「送受信部」という;転送要素送受信部)341と、USB端子(通信バス接続端子)24に接続されたUSBプロトコルエンジン(プロトコルエンジン部)321と、転送通信処理の制御を司るUSBコントロール部(制御指令部)331とが集積されてなる。
Next, the
ここで、USBプロトコルエンジン(プロトコルエンジン部)321と、USBコントロール部(制御指令部)331とで構成される部分が通信制御部に該当し、また、この通信制御部と、USB端子(通信バス接続端子)24とで構成される部分がシリアル通信部に該当する。
Here, a portion composed of a USB protocol engine (protocol engine unit) 321 and a USB control unit (control command unit) 331 corresponds to the communication control unit, and this communication control unit and a USB terminal (communication bus) The portion composed of the
各USBコントロール部331は、対応するUSBプロトコルエンジン321にFIFOメモリからなる制御用の双方向エンドポイントを介して接続されている。また、送受信部341は、USBプロトコルエンジン321に対し、FIFOメモリからなるUSBプロトコルエンジン321への入力用エンドポイントと、FIFOメモリからなるUSBプロトコルエンジン321からの出力用エンドポイントとを介して入出力経路が分離された形で接続されている。
Each
USBプロトコルエンジン321とUSBコントロール部331とで構成される通信制御部は、それぞれ、PC側から、送受信部341の特定情報と、該送受信部341に対応するエンドポイントの特定情報とを受信して、該送受信部341をターゲットデバイスとしてポーリングすることにより、データアクセス先が外部メモリ入出力制御部51〜54であることと、データ送受信の方向とを特定する。なお、当然のことであるが、ターゲットデバイスとなる送受信部341側からホスト装置であるPC3を逆ポーリングすることは、USBプロトコルでは許されていない。
Each of the communication control units including the
送受信部(転送要素送受信部)341は、USBプロトコルエンジン321との間でSCSIプロトコルに従う送受信するものである。ここで、転送要素とは、PC3との間でUSBバスを介してやり取りされる、通信イベントの内容を特定するコマンド(SCSIコマンド)と、通信イベント処理実行に対応して周辺装置側から返信される応答情報(ステータス)とを含む(SCSIコマンドに特定された処理内容が、メモリーカードに記憶されたデータの送受信に関係するデータアクセス処理であった場合は、そのデータも転送要素となる)。
The transmission / reception unit (transfer element transmission / reception unit) 341 performs transmission / reception with the
また、送受信部341は、図3に示すように、コントロールレジスタ81(図4参照)、ステータスレジスタ82(図5参照)、SCSIコマンドバッファ83、SCSIステータスバッファ84、SCSIデータDMAアドレスレジスタ85、SCSIデータDMAカウントレジスタ86を有する。これらの詳細については後述する。
As shown in FIG. 3, the transmission /
CPU27は、送受信部341が受信したSCSIコマンドを解析するコマンド解析ステップと、該SCSIコマンドに特定された内容の通信イベントを、対象となる外部メモリ入出力制御部51〜54(つまり、リーダライタ2をターゲットとした場合、それに含まれている複数のロジカルユニット)との間で行なうイベント実行ステップと、ステータスを送受信部341に送信させるステータス送信ステップと、をこの順序で実行する。
The
マルチリーダライタ2では、挿入されたメモリーカードに対してデータの読み書きを行なう場合は、該メモリーカードからデータを読み出すために使用するメモリ領域あるいは該メモリーカードにデータを記憶するために使用するメモリ領域の割り当てが行われる。この割り当てられるメモリ領域のデータ長はアロケーション長と呼ばれている。一般に、該アロケーション長はマルチリーダライタ2にアクセスするPC3からの指定されたデータ長に設定されるが、本実施形態では、マルチリーダライタ2で設定可能なアロケーション長の最大値が、PC3側から指定し得る最大数値未満に設定されている。
In the multi-reader /
PC3は、図6に示すように、各構成部を制御するCPU41と、ROM42と、RAM43と、各種ソフトウェアプログラムやデータが格納されたHDD44と、ビデオコントロールLSI45と、USBチップ46と、ビデオ端子47と、複数の入出力ポートを有するUSB端子48などを備え、これらがバス100を介して相互にデータ転送が可能なように接続されている。これら各部はいわゆるマザーボードと呼ばれるメイン制御基板に一体的に組み込まれている。ビデオ端子47にはビデオケーブルを介してディスプレイ56が接続されている。USB端子48はUSBハブ機能を有する。このUSB端子48には、キーボード57及びマウス58等の入力手段が接続されており、さらに、マルチリーダライタ2が接続されている。
As shown in FIG. 6, the
ROM42には、マルチリーダライタ2へ送信されるデータであって、マルチリーダライタ2のCPU27に所定の処理を実行させる指示データが格納されている。該指示データはテーブルリスト化された状態でHDD44又はROM42に格納されている。また、HDD44のプログラム格納領域には、PC3のオペレーションシステムであるWindows2000(登録商標)のSP3(以下「WIN2000」と称する)や、マルチリーダライタ2へのデータの書き込み及び読み出しを可能とするためのR/Wアプリケーションなどのソフトウェアプログラムが格納されている。これらソフトウェアプログラムがCPU41によって読み出されて所定の演算処理がなされることにより、各アプリケーションがPC3において動作可能となる。また、上記プログラム格納領域には、マルチリーダライタ2との間でSCSIプロトコルに従うデータ通信プログラムが格納されている。本実施形態では、WIN2000が搭載されたPC3を例示して説明するが、Linuxシリーズ、MacOSシリーズなどのOSが搭載されたものであってもよい。もちろん、Windows2000のSP3をSP4に代替することも可能である。
The
上記R/Wアプリケーション、PC3側のデータ通信プログラム及びリーダライタ2側の制御プログラムは、互いに協働して、以下の各手段を機能的に実現する処理を行なう。
・トリガ報告要求コマンド発行手段:PC3(ホスト装置)側のR/Wアプリケーションにより機能実現され、リーダライタ2(周辺装置)においてボタン(手動操作部)3が操作されるに伴い発生する周辺装置側トリガを監視するために、SCSIプロトコル(主通信プロトコル)に従い、トリガ発生報告情報を応答情報として要求するためのトリガ報告要求コマンドを、Inquiryコマンド、具体的には前述のCDB(1)を用いたInquiryコマンド(以下、Inq(1)コマンドという)として、リーダライタ2(周辺装置)に向けて発行する。
・トリガ発生報告情報返信手段:リーダライタ2側の制御プログラム(ROM28内)により機能実現され、周辺装置側トリガの発生の有無を反映したトリガ発生報告情報を応答情報としてPC3(ホスト装置)にSCSIプロトコルに従い返信する。
The R / W application, the data communication program on the
Trigger report request command issuing means: Peripheral device side that is realized by the R / W application on the PC 3 (host device) side and that occurs when the button (manual operation unit) 3 is operated in the reader / writer 2 (peripheral device) In order to monitor the trigger, according to the SCSI protocol (main communication protocol), a trigger report request command for requesting trigger generation report information as response information is an inquiry command, specifically, the above-mentioned CDB (1) is used. It is issued to the reader / writer 2 (peripheral device) as an inquiry command (hereinafter referred to as an Inq (1) command).
Trigger occurrence report information return means: The function is realized by the control program (in the ROM 28) on the reader /
・報告情報受領手段:R/Wアプリケーションにより機能実現され、トリガ発生報告情報をリーダライタ2から受領する。
・対象通信イベント起動手段:R/Wアプリケーションにより機能実現され、受け取ったトリガ発生報告情報の内容に基づいて周辺装置側トリガの有無を判定し、該周辺装置側トリガがありと判定された場合に、対象通信イベントを起動させる。対象通信イベントの実行手段としては、次の各手段が機能実現される。
Report information receiving means: The function is realized by the R / W application, and trigger generation report information is received from the reader /
Target communication event activation means: When the function is realized by the R / W application, the presence or absence of the peripheral device side trigger is determined based on the content of the received trigger occurrence report information, and it is determined that the peripheral device side trigger exists Trigger the target communication event. As means for executing the target communication event, the following means are realized.
・データファイル選択・保存イベント実行手段:キーボード22(手動操作部)によるデータファイルの選択内容を確定させる周辺装置側トリガとしての確定操作トリガの発生を。マルチリーダライタ2(周辺装置)からのトリガ発生報告情報によりホスト装置側で把握するに伴い、手動操作部によるデータファイルの選択確定内容の送信をホスト装置から周辺装置に要求し、該データファイル選択確定内容を周辺装置からの応答情報としてホスト装置側で受信する第一の通信イベントと、該手動操作部による保存処理条件の設定内容の送信をホスト装置から周辺装置に要求し、該保存処理条件の設定内容を周辺装置からの応答情報としてホスト装置側で受信する第二の通信イベントと、選択されたデータファイルを周辺装置にて読み出してホスト装置へ送信する第三の通信イベントとを含む。 Data file selection / save event execution means: Generates a confirmation operation trigger as a peripheral device side trigger for confirming the selection contents of the data file by the keyboard 22 (manual operation unit). As the host device grasps the trigger occurrence report information from the multi-reader / writer 2 (peripheral device), the host device requests the peripheral device to transmit the data file selection confirmation contents and selects the data file. The host device requests the peripheral device to transmit the setting contents of the first communication event received on the host device side as the response information from the peripheral device and the storage processing condition by the manual operation unit, and the storage processing condition The second communication event is received on the host device side as the response information from the peripheral device, and the third communication event is that the selected data file is read by the peripheral device and transmitted to the host device.
まず、図7を用いて、SCSIコマンドに基づいて、PC3と、USB−I/F78を介して該PC3とUSB接続されたリーダライタ2との間で行われるデータ通信の概略について説明する。OS70は、GUI(Graphical User Interface)71とファイルシステム72とOSカーネル73を備えてその基幹システムが構成されている。GUI71は、コンピュータグラフィックスとマウスなどのポインティングデバイスを用いてユーザーの入力操作を実現するユーザインターフェースであり、ファイルシステム72は、コンピュータ内部でファイルやフォルダを用いてデータを管理する方式及びその管理システムである。また、OSカーネル73はアプリケーションや周辺機器を監視する等の基本機能を実装したソフトウェアである。なお、PC3には、リーダライタ2へのアクセスが可能なようにドライバソフト74が予めインストールされており、該ドライバソフト74はモジュール化された状態でOSカーネル73に実装されている。
First, an outline of data communication performed between the
例えば、リーダライタ2へアクセスするためのアプリケーションの一例であるエクスプローラ75とR/Wアプリケーション76とがPC3上で起動されたとする。エクスプローラ75は周知のごとく、ファイルやフォルダを管理するためのものである。エクスプローラ75はOS70のシステムに準拠して作成されており、一般には、OS70の一機能として認識されている。従って、エクスプローラ75はファイルシステム72を介してリーダライタ2と通信する。一方、R/Wアプリケーション76は、例えばリーダライタ2の製造メーカが開発した独自のアプリケーションソフトであって、リーダライタ2に挿入された記録メディアに対してデータを書き込む処理あるいはデータを読み出す処理を行なうものである。一般に、R/Wアプリケーション76は、ファイルシステム72の仕様が公開されていないため、OS70には準拠せずに作成される。
For example, it is assumed that an
まず、エクスプローラ75からリーダライタ2にアクセスする場合について説明する。OS70が起動され、エクスプローラ75が起動されると、エクスプローラ75によって、Inquiryコマンドがファイルシステム72を介してOSカーネル73に発行される。なお、Inquiryコマンドを含む全てのSCSIコマンドは、OSカーネル73において仮想的に設けられたSCSIコマンド処理入口79に対して発行されるようになっている。上記Inquiryコマンドが発行されると、リーダライタ2へは対応するCDB(ここではCDB(0);表2)が送信され、リーダライタ2は応答情報として、その型式やデバイス名、SCSI−ID、LUN(Logical Unit Number:ロジカルユニット番号)の有無、メモリーカードの種別などの構成情報を含むInquiryデータ(この場合、S/Iデータ(表3))を作成し、PC3に返信する。これにより、リーダライタ2が認識される。
First, a case where the reader /
リーダライタ2が認識されると、GUI71によってエクスプローラ75上にリーダライタ2のドライブアイコンが生成される。そして、ユーザーがマウスなどを用いて上記ドライブアイコンにアクセスするなどして、データの読出指示が入力されると、エクスプローラ75はファイルシステム72に働きかけて、OSカーネル73に対してReadコマンド(SCSIコマンドの一例)を発行させる。一方、同様に、書込指示を入力すると、OSカーネル73に対してWriteコマンド(SCSIコマンドの一例)を発行させる。これらのコマンドデータがUSBなどのI/Fを介してリーダライタ2に転送され、該コマンドに従った読み出し若しくは書き込みがリーダライタ2側で実行される。なお、上記InquiryコマンドはPC3にリーダライタ2が接続されたときや、リーダライタ2が接続された状態でPC3の電源がリセットされたときにも発行される。
When the reader /
次に、R/Wアプリケーション76からリーダライタ2にアクセスする場合について説明する。R/Wアプリケーション76が起動されると、OSカーネル73に対してR/Wアプリケーションにのみデータバスを開放する要求が出される。OSカーネル73はこの要求を受けてR/Wアプリケーション76にデータバスを占有させる。換言すれば、ファイル72からSCSIコマンド処理入口79に対して発行されたSCSIコマンドを該SCSIコマンド処理入口79で受け入れないようにする。従って、R/Wアプリケーション76の起動中は、ファイルシステム72はリーダライタ2へアクセスできなくなる。また、R/Wアプリケーション76が起動されると、GUI71によってR/Wアプリケーション76でプログラムされた入力画面(ユーザインターフェース画面)がディスプレイ上に表示される。また、ドライバソフト74によって、InquiryコマンドがOSカーネル73に発行されて、その応答情報であるInquiryデータ(この場合、表3のS/Iデータ)の返信により、リーダライタ2の型式やデバイス名などの構成情報が取得される。これにより、リーダライタ2が認識される。その後、ドライバソフト74によってOSカーネル73に対して出されたReadコマンドやWriteコマンドに従って、リーダライタ2側でデータの読み出し若しくは書き込みが実行される。
Next, a case where the reader /
なお、リーダライタ2の認識は次のようにして行われる。すなわち、まず、OSカーネル73に対してInquiryコマンドを発行した際に生成されるCDB(0)(表2)をリーダライタ2に送信する。該CDB(0)を受信したリーダライタ2側では、CDB(0)に含まれる種々の情報を参照して、該情報に従った構成情報を生成し、該構成情報を含むS/Iデータ(表3)をPC3へ返信する。この返信されたS/Iデータに基づき、リーダライタ2が認識される。
The reader /
なお、リーダライタ2(ターゲット:周辺装置)上のいずれかのスロット(あるいは外部メモリ入出力制御部:ロジカルユニット)上で、メモリーカードの交換(つまり、事象や状態の変化)がなされると、PC3(イニシエータ)に通知するためのユニット・アテンション・コンディションが生成される。PC3のファイルシステムは、このユニット・アテンション・コンディションを参照してメモリーカードの交換を認識し、FAT(ファイル・アロケーション・テーブル)等のファイル情報の更新を行なう。このようなユニット・アテンション・コンディションを保留中のロジカルユニットに向けてInquiryコマンドが発行された場合、該ロジカルユニットは保留中のユニット・アテンション・コンディションをクリアせずに、Inquiryコマンドを実行する。つまり、Inquiryコマンドが実行された場合でも、該ユニット・アテンション・コンディションに反映されているメモリーカードの交換通知情報は消去されずに保持されるので、PC3のファイルシステムは、交換後のメモリーカードに対するアクセスを問題なく行なうことができる。
When a memory card is exchanged (that is, an event or a state is changed) on any slot (or external memory input / output control unit: logical unit) on the reader / writer 2 (target: peripheral device), A unit attention condition for notifying the PC 3 (initiator) is generated. The file system of the
次に、リーダライタ2のより具体的な動作について、図8のフローチャートを用いて説明する。なお、以下の説明では、1つのスロットに対する処理についてのみ行っている。複数のスロットに対しては、当該処理が割り込み処理により並列して行われる。CPU27は、PC3からUSBケーブルを介して供給される電源(バスパワー)によりONされると(T1)、USBチップ32からの割り込みを許可する状態となる(T2)。USBチップ32では、PC3側からUSBバス上を伝送してきたコマンドを、USBプロトコルエンジン321及びUSBコントロール部331の動作によって送受信部341へ転送する。なお、ここではまだ、コマンドを受け取ったことを示すレスポンスを返さない。
Next, a more specific operation of the reader /
送受信部341は、コマンドを受け取ると、ステータスレジスタ82の「コマンド受信完了」bitを1にし、CPU27に割り込みを掛ける。この場合、CPU27は、ステータスレジスタ82を参照することで何のための割り込みなのかを把握することができる。また、受け取ったコマンドは、SCSIコマンドバッファ83に格納される。
When receiving the command, the transmission /
CPU27は、割り込みがあり(T3:YES)、SCSIコマンドの受信が完了すると(T4:YES)、送受信部341が受け取ったコマンドの解釈を行なう(T5)。すなわち、CPU27は、送受信部341のステータスレジスタ82を参照し、送受信部341がコマンドを受け取ったことを知ると、SCSIコマンドバッファ83からコマンドを取得して、それを解釈する。これにより、CPU27は、SCSIデータの有無や伝送方向、大きさを把握する。
When there is an interrupt (T3: YES) and the reception of the SCSI command is completed (T4: YES), the
CPU27は、コマンドの解釈によって、SCSIデータが無いと把握した場合(例えば、InquiryコマンドやTest Unit Readyコマンドの場合)およびSCSIデータの伝送方向がデバイス→PC(送信)であると把握した場合(例えば、Readコマンドの場合)には(T6:YES)、送受信部341のコントロールレジスタ81の「コマンド受付完了」bitと「ステータスレジスタクリア」bitに1を書き込む(T7)。
When the
送受信部341は、T7で「コマンド受付完了」bitに1が書き込まれた時点で、PCに対してコマンドを受け取ったことを示すレスポンスを返す。ここで、PC3側は、レスポンスを受け取ると、SCSIデータが無い場合には次がSCSIステータスの受信で、SCSIデータの伝送方向がデバイス→PCである場合には次がSCSIデータの受信であるので、デバイス待ちの状態に遷移する。
The transmission /
他方、CPU27は、コマンドの解釈によって、SCSIデータの伝送方向がPC→デバイス(受信)であると把握した場合(例えば、Writeコマンドの場合)には(T6:NO)、PC3からのSCSIデータを受信する準備をする(T8)。具体的には、RAM29上に受信に必要な領域を確保し、その先頭アドレスをSCSIデータDMAアドレスレジスタ85に書き込み、受信するバイト数をSCSIデータDMAカウントレジスタ86に書き込む。その後、送受信部341のコントロールレジスタ81の「コマンド受付完了」bitと「ステータスレジスタクリア」bitに1を書き込む(T9)。
On the other hand, when the
送受信部341は、T9で「コマンド受付完了」bitに1が書き込まれた時点で、PC3に対してコマンドを受け取ったことを示すレスポンスを返す。ここで、PC3側は、レスポンスを受け取ると、デバイス側でコマンドを解釈してSCSIデータを受け取る準備が出来たと認識して、SCSIデータの送信を開始する。
The transmission /
そして、送受信部341は、SCSIデータDMAカウントレジスタ86が0になった時点で、ステータスレジスタ82の「データ受信完了」bitを1にし、CPU27に割り込みを掛ける。
Then, when the SCSI data DMA count register 86 becomes 0, the transmission /
CPU27は、割り込みがあると(T10:YES)、送受信部341のコントロールレジスタ81の「データ受取完了」bitと「ステータスレジスタクリア」bitに1を書き込んで、SCSIデータの受信を完了する(T11:YES)。ここで、PC3側は、SCSIデータがデバイスに到達されたことが通知され、次がSCSIステータスの受信であるので、デバイス待ちの状態に遷移する。
When there is an interrupt (T10: YES), the
T7およびT11(YES)の後には、CPU27は、コマンドを実行する(T12)。例えばTest Unit Readyコマンドなら、第1〜第4メモリーカード11〜14が挿入されているか否かを判断する。例えばReadコマンドなら、第1〜第4メモリーカード11〜14からデータを読み出す。例えばWriteコマンドなら、この時点で書き込むべきデータをPC3から受け取っているので(上述のT8〜T11)、それを第1〜第4メモリーカード11〜14に書き込む。
After T7 and T11 (YES), the
次に、CPU27は、SCSIデータの伝送方向がデバイス→PC(送信)である場合(例えば、Readコマンドの場合)には(T13:YES)、読み出したデータをPC3へ送信する準備をする(T14)。具体的には、RAM29上に送信に必要な領域を確保して読み出したデータを格納するとともに、その先頭アドレスをSCSIデータDMAアドレスレジスタ85に書き込み、受信するバイト数をSCSIデータDMAカウントレジスタ86に書き込む。そして、送受信部341のコントロールレジスタ81の「データ送信開始」bitに1を書き込む。
Next, when the transmission direction of the SCSI data is device → PC (transmission) (for example, in the case of a Read command) (T13: YES), the
送受信部341は、T14で「データ送信開始」bitに1が書き込まれた時点で、PC3へSCSIデータの転送を開始する。そして、送受信部341は、SCSIデータの転送が終わったら、ステータスレジスタ82の「データ送信完了」bitを1にし、CPU27に割り込みを掛ける。
The transmission /
CPU27は、割り込みがあると(T15:YES)、SCSIデータの転送が終わったことを把握するので、送受信部341のコントロールレジスタ81の「ステータスレジスタクリア」bitに1を書き込んで、SCSIデータの送信を完了する(T16:YES)。
When there is an interrupt (T15: YES), the
T13(NO)およびT16(YES)の後には、CPU27は、SCSIステータスの送信を開始する(T17)。具体的には、CPU27は、上記処理の中で、PC3に返すべきステータスを既に決定しているので、そのステータスをSCSIステータスバッファ84に書き込み、送受信部341のコントロールレジスタ81の「ステータス送信開始」bitに1を書き込んで、SCSIステータスの送信を開始する。
After T13 (NO) and T16 (YES), the
送受信部341は、T17で「ステータス送信開始」bitに1が書き込まれた時点で、PC3へSCSIステータスの送信を開始する。そして、送受信部341は、PC3側からSCSIステータスを受け取ったレスポンスを受けると、ステータスレジスタ82の「ステータス送信完了」bitを1にし、CPU27に割り込みを掛ける。
The transmission /
CPU27は、割り込みがあると(T18:YES)、SCSIステータスの送信が終わったことを把握するので、送受信部341のコントロールレジスタ81の「ステータスレジスタクリア」bitに1を書き込んで、SCSIデータの送信を完了する(T19:YES)。これにより、送受信部341のステータスレジスタ82がクリアされて、元の状態に戻る。
When there is an interrupt (T18: YES), the
次に、本通信システム1において、Inquiryデータを用いた本発明の主要機能に係るデータ通信処理の流れの一例について説明を行なう。なお、各ステップにおける処理(請求項に記載した機能実現手段)は、PC3のCPU41あるいはマルチリーダライタ2のCPU27によって各構成部が制御されることにより行われる。図9は、主処理の流れを示すフローチャートである。すなわち、PC3にマルチリーダライタ2が接続され、各装置に電源が投入されると、まず、PC3に接続されている不明なデバイスに対してドライブを割り当てるドライブ割当処理(S1)が実行される。本実施形態では、デバイスとしてマルチリーダライタ2だけが接続されているため、これのみにドライブが割り当てられる。
Next, an example of the flow of data communication processing according to the main function of the present invention using inquiry data in the communication system 1 will be described. Note that the processing in each step (function implementation means described in claims) is performed by each component being controlled by the CPU 41 of the
次に、ユーザーによって選択されたドライブを通信相手として設定するドライブ設定処理(S2)が行われる。ドライブが設定されると、設定されたドライブに対応するデバイス(本実施形態ではマルチリーダライタ2)が通信相手として認識される。そして、マルチリーダライタ2へのメモリーカード11〜14の装着(あるいは交換)発生の有無を監視するメモリーカード監視処理(S3)と、ファイル選択監視処理(S4)とが実施される。該主処理ルーチンは、起動管理タイマールーチンから定期的に出される起動トリガを用いる等により、一定の時間間隔(例えば100ms〜1000ms:例えば500ms)で繰り返し定常的に実行される。
Next, drive setting processing (S2) for setting the drive selected by the user as the communication partner is performed. When the drive is set, a device (multi-reader /
図10は、PC3においてCPU41により実行されるドライブ割当処理(S1)の詳細を示すものである。まず、参照されるドライブ(以下「参照ドライブ」と称する)がAドライブに初期設定される(S101)。該参照ドライブは、PC3側で割り当て可能なドライブのことを意味するものであって、該ドライブが複数存在する場合はドライブの割り当て処理時に昇順で参照される。参照ドライブは、PC3のWIN2000のOSカーネルで管理されている。本実施形態では、割り当て可能なドライブ数をA〜Zの26個としている。
FIG. 10 shows the details of the drive allocation process (S1) executed by the CPU 41 in the
参照ドライブが設定されると、次に、CPU41によって、ドライブが割り当てられるデバイスからS/Iデータを返信させるためのInquiryコマンド(以下「Inq(0)コマンド」と称する)が参照ドライブに対して発行される(S102)。実際には、CPU41によって該Inq(0)コマンドがOSカーネルに対して発行され、該OSカーネルにおいて該Inq(0)コマンドが参照ドライブに発行されたものとして取り扱われる。そして、OSカーネルにより、EVPD領域が“0”に設定されたCDB(0)が生成されて、参照ドライブに関連づけられた不明デバイスに送信される。SCSI規格では、EVPD領域が“0”に設定されている場合はS/Iデータを返信するよう定義されている。CDB(0)の具体例は、前述のごとく表2に示している。なお、表2のデータ欄には、各データが16進数表記で示されている。本明細書において特に明示しない限り、データ欄は全て16進数表記で示すものとする。 When the reference drive is set, the CPU 41 then issues an inquiry command (hereinafter referred to as “Inq (0) command”) for returning S / I data from the device to which the drive is assigned to the reference drive. (S102). Actually, the CPU 41 issues the Inq (0) command to the OS kernel, and the OS kernel treats the Inq (0) command as being issued to the reference drive. Then, a CDB (0) in which the EVPD area is set to “0” is generated by the OS kernel and transmitted to the unknown device associated with the reference drive. The SCSI standard defines that S / I data is returned when the EVPD area is set to “0”. Specific examples of CDB (0) are shown in Table 2 as described above. In the data column of Table 2, each data is shown in hexadecimal notation. Unless otherwise specified in this specification, all data fields are shown in hexadecimal notation.
参照ドライブに関連づけられたデバイスが存在する場合であって、該デバイスがSCSIコマンドを処理することができるデバイス(SCSIコマンド対応デバイス)である場合は、該デバイスからS/Iデータが返信される。一方、デバイスが存在しない場合、あるいは存在していても該デバイスがSCSIコマンドを処理することができない場合(SCSIコマンド非対応デバイス)は、該デバイスからS/Iデータは返信されない。S103では、S/Iデータの返信の有無に基づいてCPU41によってエラー判定が行われる(S103)。具体的には、S/Iデータの返信がない場合はエラーと判定される(S103のYes側)。この場合、その後の処理はステップS107に進む。また、S/Iデータの返信がある場合はエラーと判定されない(S103のNo側)。すなわち、当該参照ドライブに関連づけられたデバイスが存在すると判定される。この場合、その後の処理はステップS104に進む。 If there is a device associated with the reference drive and the device is a device that can process a SCSI command (a SCSI command compatible device), S / I data is returned from the device. On the other hand, if the device does not exist, or if the device exists, the device cannot process the SCSI command (device that does not support the SCSI command), the S / I data is not returned from the device. In S103, the CPU 41 makes an error determination based on whether or not S / I data is returned (S103). Specifically, when no S / I data is returned, it is determined as an error (Yes in S103). In this case, the subsequent processing proceeds to step S107. Further, when there is a reply of S / I data, it is not determined as an error (No side of S103). That is, it is determined that there is a device associated with the reference drive. In this case, the subsequent processing proceeds to step S104.
S103においてエラーでないと判定されると、返信されたS/Iデータに基づいて、参照ドライブに関連づけられたデバイスが通信対象となり得るデバイスであるかどうか、すなわち、通信可能なデバイスであるかどうかが判定される。本実施形態では、当該ステップは、参照ドライブに関連付けられたデバイスがマルチリーダライタ2であるかどうかを判定するために行われる。また、本実施形態では、マルチリーダライタ2から、表3に示すS/IデータがPC3へ返信されるようになっており、当該ステップにおける判定処理は、返信されたS/Iデータのバイト0の領域やバイト1の領域のデータ、あるいは、バイト8〜15の領域のベンダIDや、バイト16〜31の領域のプロダクトIDなどが、PC3側で予め登録しておいたID情報等と一致しているかどうかによって行われる。当該ステップで、通信可能なデバイスであると判定されると(S104のYes側)、処理はステップS105に進み、通信可能なデバイスではないと判定されると(S104のNo側)、処理はS107に進む。なお、表3中のバイト0領域のデータ「0x00」はダイレクトアクセスデバイスを示し、バイト1の領域のデータ「0x80」は可換記憶媒体を示すものである。上述の各バイト領域に記述される内容については、SCSI規格で定義されているため、詳細については、当該規格書を参照されたい。
If it is determined in S103 that there is no error, whether or not the device associated with the reference drive is a device that can be communicated based on the returned S / I data, that is, whether or not it is a communicable device. Determined. In the present embodiment, this step is performed to determine whether or not the device associated with the reference drive is the multi-reader /
処理がS105に進むと、ここでは、返信されたS/Iデータに基づいて、当該参照ドライブのLUNが“0”であるかどうかがCPU41によって判定される。かかる判定は、S/Iデータにおけるベンダ固有領域のバイト54の領域のデータに基づいて行われる。本実施形態では、上述したように、マルチリーダライタ2から、表3に示すS/IデータがPC3へ返信されるようになっている。また、表3のバイト54領域の備考欄にも記載しているように、マルチリーダライタ2では、S/Iデータを返信する際に、バイト54の領域の上位4ビットに該マルチリーダライタ2の物理的I/Fを示す情報(本実施形態ではUSBであることを示す情報)が格納され、下位4ビットにLUNの番号を格納するようにプログラミングされている。従って、CPU41は、バイト54の領域のデータを参照すれば、LUNの情報を取得することができる。これにより、当該ステップの判定処理を行なうことができる。例えば、バイト54の領域に「0x10」が格納されている場合は、物理的I/FがUSB接続コネクタであって、LUNが0であることが取得され、「0x23」が格納されている場合は、物理的I/FがSCSI接続コネクタであって、LUNが3であることが取得される。
When the process proceeds to S105, the CPU 41 determines whether or not the LUN of the reference drive is “0” based on the returned S / I data. This determination is made based on the data in the area of byte 54 of the vendor specific area in the S / I data. In the present embodiment, as described above, the S / I data shown in Table 3 is returned from the multi-reader /
S105で、LUNが“0”であると判定されると(S105のYes側)処理はS106に進み、LUNが“0”でないと判定されると(S105のNo側)処理はS107に進む。なお、WIN2000がインストールされたPC3と接続されている場合は、マルチリーダライタ2側でバイト54の領域に、例えばLUN=1の情報を格納したとしても、PC3側ではLUN=0として認識するようになっている。そのため、当該S105の処理は必ずYes側に進むことになる。この場合は、S105の判定処理は意味を成さないため省略してもよい。
If it is determined in S105 that the LUN is “0” (Yes in S105), the process proceeds to S106, and if it is determined that the LUN is not “0” (No in S105), the process proceeds to S107. When connected to the
S106では、現在の参照ドライブを対応ドライブリストに追加する処理が実行される。対応ドライブリストは、最終的にドライブが割り当てられる参照ドライブをリストアップしたものである。詳細には、該対応ドライブリストがRAM43の所定の記憶領域に展開されており、該当する参照ドライブが該記憶領域に書き込まれる。その後、処理はS107に進む。
In S106, a process of adding the current reference drive to the corresponding drive list is executed. The corresponding drive list is a list of reference drives to which drives are finally assigned. Specifically, the corresponding drive list is expanded in a predetermined storage area of the
S107では、参照ドライブがZドライブであるかどうかがCPU41によって判定される。例えば、カウンタメモリなどにドライブの参照順をカウントさせておき、そのカウンタ値をCPU41が監視することにより、現在の参照ドライブがZドライブであるかどうかの判定が可能である。かかる判定は、設定された参照ドライブが最後であるかどうかを判定するために行われる。ここで、参照ドライブがZドライブであると判定されると、参照可能なドライブが存在しないため、続く処理はS109に進む。参照ドライブがZドライブではないと判定されると、参照ドライブを次順のドライブに設定した後に(S108)、S102からの処理がS107においてYesと判定されるまで繰り返し行われる。 In S107, the CPU 41 determines whether or not the reference drive is the Z drive. For example, it is possible to determine whether the current reference drive is the Z drive by causing the counter memory or the like to count the reference order of the drives and monitoring the counter value by the CPU 41. Such determination is performed to determine whether the set reference drive is the last. Here, if it is determined that the reference drive is the Z drive, there is no drive that can be referred to, and the subsequent process advances to S109. If it is determined that the reference drive is not the Z drive, after setting the reference drive as the next drive (S108), the processing from S102 is repeated until it is determined Yes in S107.
処理がS109に進むと、ここでは、対応ドライブリストに基づいてドライブの割り当てがなされる。これにより、一連のドライブ割当処理(S1)が終了する。なお、本実施形態では、外部ストレージデバイスとしてマルチリーダライタ2のみが接続されているため、Aドライブに対してマルチリーダライタ2が割り当てられ、他のドライブには何ら割り当てられないものとする。
When the process proceeds to S109, here, a drive is allocated based on the corresponding drive list. Thereby, a series of drive allocation processes (S1) are complete | finished. In the present embodiment, since only the multi-reader /
続いて、図11は、ドライブ設定処理(S2)の詳細を示すものである。S201では、前記ドライブ割当処理(S1)によって割り当てられたドライブ(以下「対応ドライブ」と称する)が存在するかどうかが判定される(S201)。すなわち、PC3で割当可能なドライブのいずれかに所定のデバイスが割り当てられたかどうかが判定される。本実施形態では、マルチリーダライタ2が割り当てられたAドライブが存在するため、対応ドライブがあると判定される。その後、対応ドライブが1つであるかどうかが判定される(S202)。一方、S201で、対応ドライブが存在しないと判定されると(S201のNo側)、通信対象が存在しないため、処理が終了する。
Next, FIG. 11 shows details of the drive setting process (S2). In S201, it is determined whether there is a drive (hereinafter referred to as “corresponding drive”) allocated by the drive allocation process (S1) (S201). That is, it is determined whether or not a predetermined device is assigned to any of the drives that can be assigned by the
S202で対応ドライブが1つであると判定されると(S202のYes側)、当該対応ドライブが通信対象として設定される(S205)。すなわち、当該対応ドライブに関連付けられたデバイスが通信対象に設定される。なお、本実施形態では、Aドライブが通信対象として設定される。換言すれば、マルチリーダライタ2が通信対象のデバイスとして設定される。
If it is determined in S202 that there is one corresponding drive (Yes in S202), the corresponding drive is set as a communication target (S205). That is, a device associated with the corresponding drive is set as a communication target. In the present embodiment, the A drive is set as a communication target. In other words, the multi-reader /
一方、対応ドライブが複数存在すると判定された場合は(S202のNo側)、対応ドライブを示すアイコンをダイアログ表示させる(S203)。その後、ユーザーからいずれかのアイコンが選択されることによって所望の対応ドライブが選択されると(S204)、選択された対応ドライブが通信対象として設定される(S205)。なお、いずれのアイコンも選択されない場合であっても、例えば、対応ドライブごとに優先度が設定されている場合は、最も優先度の高い対応ドライブが通信対象に自動的に設定される。これにより、一連のドライブ設定処理(S2)が終了する。 On the other hand, when it is determined that there are a plurality of corresponding drives (No in S202), an icon indicating the corresponding drive is displayed in a dialog (S203). Thereafter, when a desired corresponding drive is selected by selecting any icon from the user (S204), the selected corresponding drive is set as a communication target (S205). Even when no icon is selected, for example, when a priority is set for each corresponding drive, the corresponding drive with the highest priority is automatically set as a communication target. Thereby, a series of drive setting processes (S2) are complete | finished.
次に、図12は、周辺装置側トリガ監視処理(S3)の詳細を示すものである。まず、PC3側において、マルチリーダライタ2から該マルチリーダライタ2のVPD(Vital Product Data)を返信させるためのInquiryコマンド(以下「Inq(1)コマンド」と称する)がAドライブに対して発行される(S301)。実際には、該Inq(1)コマンドが、OSカーネル73に対して発行され、該OSカーネル73によってAドライブに対して発行されたものとして取り扱われる。上記Inq(1)コマンドが発行されると、OSカーネル73によって、EVPD領域が“1”に設定されたCDB(1)が生成されて、Aドライブに関連づけられたマルチリーダライタ2にUSBケーブル25を介して送信される。このとき生成されるCDB(1)を表4に示す。すなわち、該CDB(1)のバイト2の領域にはページコード「0xE0」が記述されている。
Next, FIG. 12 shows the details of the peripheral device side trigger monitoring process (S3). First, on the
CDB(1)のバイト4の領域、すなわちアロケーション長領域には「0x10」(2進数表記では「00010000」)が格納されている。本来、アロケーション長領域には、接続されたデバイスに要求するデータ長が格納される。本実施の形態では、マルチリーダライタ2のアロケーション長の最大値が予め固定長(ここでは、仮に15バイトとしているが、これに限定されるものではない)に設定されている。この“15”という数は下位4ビットで表現できる。SCSI規格に従えば、マルチリーダライタ2において設定された上記最大値以上の数値がアロケーション長として指定されたとしても、マルチリーダライタ2のアロケーション長は上記最大値、すなわち、15バイトに設定される。従って、アロケーション長領域に「0x10」が記述されていても、また、「0x11」以上が記述されていても、アロケーション長は15バイトに設定される。これは、アロケーション長領域のデータのうち、上位4ビットのいずれかのビットが「1」である場合は、該アロケーション長領域のデータを(アロケーション長の設定値に兼用された)任意のデータ(付加情報)として自由に使用することができるということを意味する。すなわち、上位4ビットのいずれかのビットを「1」とすることにより、アロケーション長領域における当該ビット以外のビットを、いわば仮想的な空き領域として確保することができる。このように確保された仮想的な空き領域に任意のデータを付加することで、PC3とマルチリーダライタ2との間で、上記付加情報に係るデータ通信が可能となるのである。
In the area of byte 4 of the CDB (1), that is, the allocation length area, “0x10” (“00010000” in binary notation) is stored. Originally, the data length required for the connected device is stored in the allocation length area. In the present embodiment, the maximum value of the allocation length of the multi-reader /
なお、上記アロケーション長は常に固定長(ここでは15バイト)に設定されるのではなく、CDB(1)のページコードに応じてその最大値が設定されるようにしてもよい。例えば、ページコード「0xE0」の場合は、アロケーション長の最大値が15バイトの固定長に設定され、ページコード「0xE2」の場合は、9バイトの固定長に設定される。かかる設定処理は、CDB(1)を受信したマルチリーダライタ2のCPU27によってページコードの内容が読み取られ、読み取られた内容に応じて、予めROM28に格納しておいた固定長対応リストから該当する固定長を選定することにより行われる。もちろん、15バイトあるいは9バイトと定めた上記アロケーション長は任意に設定することができる。
The allocation length is not always set to a fixed length (here, 15 bytes), but may be set to a maximum value according to the page code of CDB (1). For example, in the case of page code “0xE0”, the maximum value of the allocation length is set to a fixed length of 15 bytes, and in the case of page code “0xE2”, it is set to a fixed length of 9 bytes. The setting process corresponds to the fixed length correspondence list stored in the
表6及び表7に、上記アロケーション長領域に確保された空き領域に付加される通信データを類別して示す。各表のデータ内容欄に示すように、各データには、それ自体が何を意味するものであるのかが定義づけられている。具体的には、データ内容欄の記載を参照されたい。なお、表6はページコードが「0xE0」の場合に送信される通信データであり、表7は、ページコードが「0xE2」の場合に送信される通信データである。CDB(調査指示データ)において、このページコード(調査指示データ種別識別情報)を変更すれば、アロケーション長最大値や付加情報内容の異なる別の調査指示データフォーマットを生成することができる。 Tables 6 and 7 categorize the communication data added to the empty area secured in the allocation length area. As shown in the data content column of each table, each data defines what it means. Specifically, refer to the description in the data content column. Table 6 shows communication data transmitted when the page code is “0xE0”, and Table 7 shows communication data transmitted when the page code is “0xE2”. If this page code (investigation instruction data type identification information) is changed in CDB (investigation instruction data), another investigation instruction data format having a different allocation length maximum value and additional information content can be generated.
表6及び表7の左欄には、アロケーション長領域に記述されるデータそのものが、右欄にはそのデータの意味する内容が示されている。PC3側からマルチリーダライタ2に上記左欄のデータが送信されると、マルチリーダライタ2側では、CPU27により、受信したCDB(1)からアロケーション長領域のデータが抽出され、抽出されたデータの内容が解析され、そして、解析されたデータの内容に従った処理が実行される。なお、表6及び表7に示す内容は、テーブルリスト化されて、PC3のHDD44又はROM42と、マルチリーダライタ2のROM28に予め格納されている。
The left column of Tables 6 and 7 shows the data itself described in the allocation length area, and the right column shows the meaning of the data. When the data in the left column is transmitted from the
上記S301でInq(1)コマンドが発行されて生成されたCDB(1)には、表5に示すように、アロケーション長領域に「0x10」が記述されている。従って、Inq(1)コマンドは、PC3からマルチリーダライタ2に対して、メモリーカードの装着発生有無を検出させるための命令であることを意味する。一方、マルチリーダライタ2側では、送信されたCDB(1)が受信される。その後、CPU27によって、CDB(1)内のアロケーション長領域のデータ「0x10」が抽出され、そして、該データに従って、メモリーカードの装着発生有無を検出する処理が行われる(S302)。
In CDB (1) generated by issuing the Inq (1) command in S301, “0x10” is described in the allocation length area as shown in Table 5. Therefore, the Inq (1) command means a command for causing the multi-reader /
メモリーカードの装着発生有無の検出が終了すると、その検出結果がCPU27によってPC3へ返信される(S303)。該返信処理は、具体的には、CDB(1)の受信後に生成されてPC3へ返信されるVPDに上記検出結果を書き込むことにより行われる。より詳細には、表8に示すように、バイト7の領域にメモリーカードの装着発生のありなしが書き込まれる。本実施形態では、装着発生なしの場合は「0x00」が書き込まれ、装着発生ありの場合は「0x01」が書き込まれる。なお、表8は装着発生ありの場合のVPDを示す。
When the detection of the presence / absence of the memory card is completed, the detection result is returned to the
続いて、PC3側では、マルチリーダライタ2から返信される表8のVPDを受信して、該VPDのバイト7の領域を参照することにより、メモリーカードの装着発生の有無が判定される(S304)。ここで、メモリーカードの装着なしと判定されると(S304のB側)、以下のステップは全てスキップされて処理は終了する。
Subsequently, the
他方、メモリーカードの装着ありと判定されると(S304のA側)、PC3側では、既に説明したファイルシステムを利用して、装着されたメモリーカード内のデータファイルを検索し、ファイルリスト(フォルダ構造を含む)を作成する。
On the other hand, if it is determined that a memory card is installed (A side in S304), the
その後、作成したファイルリストデータに基づいて、リーダライタ2側のLCD21に該ファイルリストを文字表示させるための文字列データが作成され(S308)、RAM29にファイルリスト用文字列データとして記憶される。文字列データは、表示対象となる文字に一対一に対応したビットコードデータ(文字コード)であり、JISコード、シフトJISコードあるいはASCIIコードなどの既製のコードをそのまま使用してもよいし、独自のコードを使用してもよい。ただし、周辺装置側の表示用文字データテーブル(例えばROM28内:表示用データ自体は、ビットマップ型あるいはアウトライン型のフォントデータである)が上記既製コードを用いて作成されたものである場合、上記独自コードとの対応関係を示すテーブルを別途周辺装置側にて用意しておき(例えばROM28内)、このテーブルを参照して該独自コードを上記既製コードに変換してから表示に用いるとよい。
Then, based on the created file list data, character string data for displaying the file list on the
作成された文字列データは、マルチリーダライタ2へ送信される(S309)。かかる送信処理は、図13のフローチャートに示すステップS401以降の処理手順に従って行われる。まず、Inq(1)コマンドが発行される(ステップS401)。このInq(1)コマンドが発行されることにより生成されたCDB(1)データはマルチリーダライタ2へ送信される。なお、Inq(1)コマンドの発行によりマルチリーダライタ2からVPDが返信されてくるが、文字列送信の場合の該VPDには返信データは付加されないように決めてある。それ故、ここではVPDの返信処理の説明を省略する。
The created character string data is transmitted to the multi-reader / writer 2 (S309). Such transmission processing is performed according to the processing procedure after step S401 shown in the flowchart of FIG. First, an Inq (1) command is issued (step S401). The CDB (1) data generated by issuing this Inq (1) command is transmitted to the multi-reader /
より詳細には、ステップS401では、ページコードとしてバイト2の領域に「0xE2」が、アロケーション長領域に「0x18」が記述されたCDB(1)データが生成される。従って、該ステップで発行されるInq(1)コマンドは、表7に基づけば、「0x90」で示される文字列番号に対応する文字列記憶領域(RAM29内の記憶領域)の先頭にポインタをセットさせるための要求命令である。もちろん、この要求命令はマルチリーダライタ2に対してなされるものである。なお、上記ポインタとは、後述するステップS402によって切り出された文字を格納する位置を指示する指標を意味する。
More specifically, in step S401, CDB (1) data in which “0xE2” is described in the
続いてステップS402では、PC3のRAM43に格納されたファイルリスト表示用の文字列データから、その先頭から順番に文字が切り出される。その後、ステップS403において、ステップS402で切り出された文字が終端文字であるかどうかがCPU41によって判定される(S403)。かかる処理は、切り出された文字を示すデータが「0x00」であるかどうかによって判定される。「0x00」は文字を示すものではないため、このステップで、「0x00」であると判定されると、終端文字であると判定される。切り出された文字が終端文字であると判定されると、処理はステップS406に進む。一方、切り出された文字が終端文字でないと判定されると、処理はステップS404に進む。ここでは、Inq(1)コマンドが発行されて、ページコードとして「0xE2」が、アロケーション長領域に、ステップS402で切り出された文字データの記述されたCDB(1)データが生成される。そして、生成されたCDB(1)データがマルチリーダライタ2へ送信される。
Subsequently, in step S402, characters are cut out from the file list display character string data stored in the
CDB(1)データの送信後は、文字データの切り出し位置が次の文字に設定され(S405)、その後に、ステップS402からの処理が繰り返し実行される。その後、処理がステップS406に進むと、Inq(1)コマンドが発行されて、ページコードとしてバイト2の領域に「0xE2」が、アロケーション長領域に「0x17」が記述されたCDB(1)データが生成される。これは、現在の文字列記憶領域において、最後に格納された文字(即ち末文字)が格納された領域以降のすべてのビット領域を「0x00」で埋めるための要求命令である。換言すれば、マルチリーダライタ2に送信され、RAM29に格納されたデータの終端以降に「0x00」を付け加えて、格納されたデータを所定長さ(例えば128ビット)のビットデータに揃えさせるための要求命令である。該ステップS406の後に、上記図12の送信処理(S309)が完了する。
After the transmission of the CDB (1) data, the character data cut-out position is set to the next character (S405), and then the processing from step S402 is repeatedly executed. Thereafter, when the process proceeds to step S406, an Inq (1) command is issued, and CDB (1) data in which “0xE2” is described in the
図12に示す上記送信処理(S309)によりデータが送信されると、送信されたデータは、マルチリーダライタ2側で受信され、該受信されたデータがRAM29に格納される(S310)。実際には、上記ステップS406(図8参照)で切り出された文字が一つずつ送信される毎に、その文字データが順次RAM29に格納される。
When data is transmitted by the transmission process (S309) shown in FIG. 12, the transmitted data is received on the multi-reader /
上記送信処理(S309)の後、再度、PC3側でInq(1)コマンドが発行され、これにより生成されたCDB(1)データがマルチリーダライタ2へ送信される(S311)。このとき生成されるCDB(1)データを表9に示す。表9に示すように、バイト2の領域に「0xE0」が、アロケーション長領域に「0x11」が記述されているため、表6に基づけば、このとき発行されたInq(1)コマンドは、次に送信されるデータが示す数に対応する文字列番号の文字列記憶領域(RAM29内の記憶領域)に格納されたデータをマルチリーダライタ2の液晶表示部21へ転送させる要求命令であることが理解できる。
After the transmission process (S309), the Inq (1) command is issued again on the
その後、もう一度Inq(1)コマンドが発行され、ページコードとしてバイト2の領域に「0xE0」が、アロケーション長領域に文字データが記憶されている文字列番号を示すデータ「0x90」が記述されたCDB(1)データがマルチリーダライタ2へ送信される(S312)。従って、マルチリーダライタ2で該CDB(1)データが受信されると、CPU27によって、ステップS310で送信されてきた文字列番号に対応する文字列記憶領域に格納された受信データ(文字データ)が読み出されて、液晶表示部21へ転送される。これにより、PC3から送信されたデータが液晶表示部21で表示される。
Thereafter, the Inq (1) command is issued again, and “0xE0” is described as the page code in the
本実施形態では、ファイルリスト表示用の文字データがメモリーカードの装着時に一括してリーダライタ2側に送信され、図2のRAM29に格納される。そして、そのLCD21への表示と、閲覧のためのLCD21上でのスクロール処理、及び表示されたファイルリスト上でのファイル選択処理は、全てROM28内のリーダライタ(周辺装置)側の表示制御プログラムにより、表示制御LSI34と協働して実行される。キーボード22の出力は表示制御LSI34にも分配入力されている。
In the present embodiment, the character data for displaying the file list is transmitted to the reader /
以上説明したごとく、PC3側でのInq(1)コマンドの発行及び付加情報(上記の場合、画像データファイルの選択確定操作の有無を要求する情報)が書き込まれたCDB(1)データの印刷装置80(マルチリーダライタ2)への送信と、印刷装置80(マルチリーダライタ2)側からの該付加データに応答するための対応付加データ(上記の場合、選択確定操作の有無を報告する情報)を書き込んだVPEを返す本発明特有の一連の通信処理を、「Inq(1)/VPE付加通信」とも称する。
As described above, the printing apparatus for the CDB (1) data in which the issue of the Inq (1) command on the
図15のステップ1は、LCD21におけるファイルリストの表示例を示している。上位フォルダFのフォルダ名を示す文字列データが複数取得されているが、LCD21の表示画面にはその一部だけが表示されている。図2Aのスクロールキー22a,22bを操作すると、ステップ2に示すように、文字列データ(上位フォルダF)が上下にスクロールされ、隠れていた文字列データを表示することができる。
Step 1 in FIG. 15 shows a display example of the file list on the
表示されている上位フォルダFを選択し(本実施形態では、スクロールによりLCD21に表示させた状態が選択状態も兼ねているが、別途、カーソルを用いてもよい)、確定ボタン22cをシングルクリックすれば、ステップ3のごとく、上位フォルダFが開いてその内部の下位フォルダSFのリストが表示される。なお、この状態でステップ4に示すごとく、対応する上位フォルダFを再度選択してシングルクリックすれば、上位フォルダFが閉じてステップ3の状態に戻る。他方、下位フォルダSFのいずれかを選択して確定ボタン22cをシングルクリックすれば、ステップ5に示すごとく、選択した下位フォルダSFが開き、その内部のデータファイルDFのリストが表示される。このように、クリックを繰り返してフォルダ階層間を移動する処理は周知である。
Select the upper folder F that is displayed (in this embodiment, the state displayed on the
データファイルDFのリストが表示されば、所望のデータファイルDFを選んで確定ボタン22cをシングルクリックすれば、ステップ6に示すごとく、そのデータファイルDFの仮選択状態となる(再度シングルクリックすると仮選択状態が解除される。仮選択されたデータファイルDFの表示は、反転、強調などにより、非選択状態とは異なる仮選択表示状態とされる。仮選択が完了すれば、仮選択されたデータファイルDFのどれかをLCD22に表示させた状態とし、確定ボタン22cをダブルクリックすれば、ステップ8に示すごとく、仮選択したデータファイルDFの選択状態が確定される。
If a list of data files DF is displayed, if a desired data file DF is selected and the
次に、図14は、ファイル選択監視処理(S4)の詳細を示すものである。PC3側では、ファイル選択情報をリーダライタ2から取得するための新しいInq(1)コマンドが発行され、生成されたCDB(1)には、アロケーション長領域に「0x13」が記述される(S1301)。表6から、このInq(1)コマンドは、PC3からマルチリーダライタ2に対して、上記データファイルDFの選択状態を送信させる命令であることを意味する。一方、マルチリーダライタ2側では、送信されたCDB(1)が受信される。その後、CPU27によって、CDB(1)内のアロケーション長領域のデータ「0x13」が抽出され、そして、該データに従って、上記CDB(1)の受信後に生成されるVPDに上記データファイルDFの選択状態を書き込み(S1304)、PC3に返信する(S1305)。
Next, FIG. 14 shows the details of the file selection monitoring process (S4). On the
PC3はマルチリーダライタ2から返信されるVPDを受信して、該VPDのバイト7の領域を参照することにより、選択確定されたデータファイルDFが何であるかが判定される(S1306)。S1307で選択確定されたデータファイルDFが存在すれば、この後説明する操作連動ファイル処理ルーチンに、マルチリーダライタ2に装着されたメモリーカード(記憶媒体)の該選択されたデータファイルに対する、該データファイル受信を含む予め定められたファイル処理(通信イベント)を指令する。
The
PC3側では、受信したデータファイルの保存に関する設定カスタマイズ処理を予め行なうことができる。図17は、設定カスタマイズ処理の流れを示すもので、S501ではマルチリーダライタ2からのファイル転送モードを、マウス58あるいはキーボード57により入力・選択する。ファイル転送モードには、メモリーカード11〜14から転送されたデータファイルを、HDD44(データファイル保存手段)上の予め定められたフォルダ(保存領域)にコピーする(この場合、メモリーカード11〜14からデータファイルは削除されない)コピーモードと、同じくムーブ(移動:メモリーカード11〜14からデータファイルが削除される)するムーブモードとがあり、上記の入力内容に従い、S502〜S506で、そのいずれかが選択可能とされる。また、S507では、データファイルの格納先を指定する入力を行なう。例えば、周知のごとくディスプレイ56にファイルディレクトリ構造を、フォルダツリー形式で表示し、マウス58によるクリックにより、格納先とするフォルダを選択することができる。S508で選択されたフォルダがファイル格納先として設定される。なお、設定カスタマイズが実施されていない場合は、デフォルト設定に従う。
On the
図16Aは、操作連動ファイル処理ルーチンの処理の流れを示すフローチャートである(このルーチンは、定期的に繰り返し実行されるものである)。S501では、前述の処理により選択確定されたデータファイルの情報を取得する。次に、S502では、PC3のHDD44内に設定されたデータファイルの格納先となるフォルダ内を検索し、選択確定されたデータファイルと重複するファイル名のデータファイルが存在しないかどうかを確認する。存在しない場合はS508に進み、OSのファイルシステムを用いてメモリーカードのデータファイルを読み出す通信イベントを起動し、マルチリーダライタ2から読み出されたデータファイルを受信する。そしてS404で、受信したデータファイルを保存先として指定されているHDD44内のフォルダに書き込む。なお、ムーブモードが選択されている場合は、メモリーカードの送信元となるデータファイルを削除する通信イベントを起動する。
FIG. 16A is a flowchart showing the processing flow of the operation-linked file processing routine (this routine is repeatedly executed periodically). In S501, information on the data file selected and confirmed by the above-described processing is acquired. In step S502, the data file storage destination folder set in the
一方、S503で、選択確定されたデータファイルと重複するファイル名のデータファイルが存在する場合はS504に進み、これをリーダライタ2に通知する通信イベントユーザーが起動される。この場合も、新しいInq(1)コマンド(調査要求コマンド)が発行され、作成されるCDB(1)データ(調査指示データ)に付加情報として重複ファイル名を特定する情報(文字列データとしてもよいが、ファイルリスト上での順位コードで簡略化して特定するほうが望ましい)を書き込み、リーダライタ2に送信する。リーダライタ2では、受信した重複ファイル名特定情報に対応するデータファイルを、RAM29に既に格納されているファイルリスト上で検索し、図16Bに示すように、そのファイル名(すなわち、重複ファイル名)をLCD21表示部に表示する。この場合に可能な保存処理条件も、LCD21に合わせて表示することができる(図16Bでは、スクロールにより複数の対応処理を順次表示できるようにしている)。なお、この対応処理の種別を示す文字情報は、内容が一定であるためROM28等、リーダライタ2側で予め用意しておくことができ、この場合はPC3から文字列データを受信する必要はない。
On the other hand, if there is a data file having a file name that overlaps with the data file selected and confirmed in S503, the process proceeds to S504, and a communication event user for notifying this to the reader /
リーダライタ2側では、キーボード22を用いてLCD21上で保存処理条件をスクロールし、確定ボタンのダブルクリックにより選択・確定する(キーボード22は対応処理選択入力部に兼用されている)。選択可能な保存処理条件の種別は、コピー先(HDD44)のファイル名変更(1)、コピー元(メモリーカード(記憶媒体))のファイル名変更(2)、コピー中止(3)である。そして、どの保存処理条件が選択されたかがVPD(調査報告データ)に書き込まれ、PC3側に返信される。
On the reader /
なお、PC3側で行なっていた格納先の設定処理(これも保存処理条件の一種である)も、周辺装置2側で実行できるようにすることが可能である。この場合、PC3側の格納先のディレクトリ(フォルダ)階層構造情報をPC3側から取得してリーダライタ2の液晶表示部21に表示し、キーボード22を用いて格納先となるフォルダを同様に選択する処理を、Inq(1)/VPE付加通信を用いて実施すればよい。
The storage destination setting process (which is also a kind of storage process condition) performed on the
図16Bに戻り、PC3側では受信したVPDに書き込まれている情報により、対応処理の種別が上記1〜3のいずれであるかを特定し、処理を行なう(S506,S507)。つまり、1である場合はコピー先(HDD44)のファイル名を書換え(例えば、元のファイル名に「コピー〜」などの文字列を加える)、2である場合は、コピー元(メモリーカード(記憶媒体))のファイル名変更を行なうための通信イベントを起動する。ファイル名変更が完了すればS508の処理に進む。以下、選択確定された全てのデータファイルについての処理(コピー中止も処理完了とみなす)が終了するまで、同じ処理を繰り返す(S509→S503)。
Referring back to FIG. 16B, the
なお、上述した実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、実施形態を適宜変更することができる。 In addition, embodiment mentioned above is only an example of this invention, and can change suitably embodiment in the range which does not change the summary of this invention.
1 通信システム
2 マルチリーダライタ(周辺装置)
3 PC(ホスト装置)
11 第1メモリーカード(記憶媒体)
12 第2メモリーカード(記憶媒体)
13 第3メモリーカード(記憶媒体)
14 第4メモリーカード(記憶媒体)
21 液晶ディスプレイ(表示部)
22 キーボード(手動操作部、周辺装置側トリガ発生手段、手動操作部、対応処理選択入力部)
27 CPU(トリガ発生報告情報返信手段、調査報告データ生成手段、トリガ発生報告情報書き込み手段、調査報告データ送信手段、交換通知情報保持手段、交換通知情報保持制御手段、データファイル選択・保存イベント実行手段手段、、ファイルリスト表示イベント実行手段、データファイル選択イベント実行手段、データファイル送信イベント実行手段、付加情報抽出手段)
34 表示制御LSI(表示制御手段)
41 CPU(トリガ報告要求コマンド発行手段、報告情報受領手段、対象通信イベント起動手段、データファイル選択・保存イベント実行手段手段、データファイル保存制御手段、調査指示データ作成手段、調査指示データ送信手段、ファイルリスト表示イベント実行手段、データファイル選択イベント実行手段、データファイル送信イベント実行手段、対応処理実行手段)
51〜54 入出力制御部(記憶媒体装着検出手段)
1
3 PC (host device)
11 First memory card (storage medium)
12 Second memory card (storage medium)
13 Third memory card (storage medium)
14 Fourth memory card (storage medium)
21 Liquid crystal display (display unit)
22 Keyboard (manual operation unit, peripheral device side trigger generation means, manual operation unit, corresponding processing selection input unit)
27 CPU (trigger occurrence report information return means, investigation report data generation means, trigger occurrence report information writing means, investigation report data transmission means, exchange notification information holding means, exchange notification information holding control means, data file selection / save event execution means Means, file list display event execution means, data file selection event execution means, data file transmission event execution means, additional information extraction means)
34 Display control LSI (Display control means)
41 CPU (trigger report request command issuing means, report information receiving means, target communication event starting means, data file selecting / saving event executing means, data file saving control means, investigation instruction data creating means, investigation instruction data transmitting means, file List display event execution means, data file selection event execution means, data file transmission event execution means, corresponding processing execution means)
51-54 Input / output control unit (storage medium attachment detection means)
Claims (19)
前記周辺装置に設けられ、予め定められた内容の対象通信イベントの起動を前記ホスト装置に促すための周辺装置側トリガを、該周辺装置側でのユーザー操作に基づいて発生させる周辺装置側トリガ発生手段と、
前記ホスト装置側に設けられ、前記周辺装置における前記周辺装置側トリガの発生を監視するために、前記周辺装置側トリガの発生の有無を反映したトリガ発生報告情報を前記応答情報として要求するためのトリガ報告要求コマンドを、前記主通信プロトコルに従い前記周辺装置に向けて発行するトリガ報告要求コマンド発行手段と、
前記周辺装置側に設けられ、前記トリガ発生報告情報を前記応答情報として前記ホスト装置に前記主通信プロトコルに従い返信するトリガ発生報告情報返信手段と、
前記ホスト装置側に設けられ、前記トリガ発生報告情報を前記周辺装置から受領する報告情報受領手段と、
当該トリガ発生報告情報の内容に基づいて前記周辺装置側トリガの有無を判定し、該周辺装置側トリガがありと判定された場合に、前記対象通信イベントを起動させる対象通信イベント起動手段とを有し、
前記周辺装置が、少なくともデータの読出しに係るデータアクセスが可能とされた記憶媒体が着脱可能に装着され、前記通信イベントにより該記憶媒体に対してデータアクセスを行なう記憶装置として構成されるとともに、前記記憶媒体内のデータファイルを選択するファイル選択操作と、選択されたデータファイルの保存処理条件の設定操作とを行なうための手動操作部を有するものとされ、前記対象通信イベントの実行手段として、前記手動操作部による前記データファイルの選択内容を確定させる前記周辺装置側トリガとしての確定操作トリガの発生を前記周辺装置からの前記トリガ発生報告情報により前記ホスト装置側で把握するに伴い、前記手動操作部による前記データファイルの選択確定内容の送信を前記ホスト装置から前記周辺装置に要求し、該データファイル選択確定内容を前記周辺装置からの前記応答情報として前記ホスト装置側で受信する第一の通信イベントと、該手動操作部による前記保存処理条件の設定内容の送信を前記ホスト装置から前記周辺装置に要求し、該保存処理条件の設定内容を前記周辺装置からの前記応答情報として前記ホスト装置側で受信する第二の通信イベントと、選択された前記データファイルを前記周辺装置にて読み出して前記ホスト装置へ送信する第三の通信イベントとを含むデータファイル選択・保存イベント実行手段手段が設けられ、
前記ホスト装置には、受信した前記データファイルを、前記保存処理条件にて前記ホスト装置側の記憶装置の予め定められた格納領域に保存するデータファイル保存制御手段が設けられてなることを特徴とする通信システム。 A host device having a communication event activation decision right and a peripheral device to be communicated with the host device connected to the host device, and a command for instructing execution of the communication event from the host device While sequentially issuing to the peripheral device, the peripheral device that has received the issued command sequentially executes data processing corresponding to the command, and returns response information corresponding to the execution result to the host device side. In the communication system having a main communication protocol in which the command issuance direction is restricted in one direction from the host device side to the peripheral device side,
Peripheral device side trigger generation that is provided in the peripheral device and generates a peripheral device side trigger for prompting the host device to start a target communication event with predetermined contents based on a user operation on the peripheral device side Means,
In order to monitor the occurrence of the peripheral device side trigger in the peripheral device and request trigger occurrence report information reflecting the presence or absence of the peripheral device side trigger as the response information provided on the host device side Trigger report request command issuing means for issuing a trigger report request command to the peripheral device according to the main communication protocol;
Trigger generation report information return means provided on the peripheral device side, which returns the trigger generation report information as the response information to the host device according to the main communication protocol;
Report information receiving means provided on the host device side for receiving the trigger occurrence report information from the peripheral device;
Based on the contents of the trigger occurrence report information, the presence / absence of the peripheral device side trigger is determined, and when it is determined that the peripheral device side trigger is present, target communication event starting means for starting the target communication event is provided. And
The peripheral device is configured as a storage device that is detachably mounted with a storage medium capable of data access related to data reading, and configured to access the storage medium by the communication event, and A manual operation unit for performing a file selection operation for selecting a data file in the storage medium and a setting operation of a storage processing condition for the selected data file, and as the execution means for the target communication event, The manual operation is performed as the host device side grasps the generation of the confirmation operation trigger as the peripheral device side trigger for confirming the selection contents of the data file by the manual operation unit based on the trigger generation report information from the peripheral device. Transmission of the data file selection confirmation contents by the host device from the host device. A request is made to the device, and the first communication event for receiving the data file selection confirmation content as the response information from the peripheral device on the host device side and transmission of the setting content of the storage processing condition by the manual operation unit are transmitted. A request from the host device to the peripheral device, a second communication event for receiving on the host device side the set content of the storage processing condition as the response information from the peripheral device, and the selected data file A data file selection / save event execution means means including a third communication event read by the peripheral device and transmitted to the host device;
The host device is provided with data file storage control means for storing the received data file in a predetermined storage area of the storage device on the host device side under the storage processing condition. Communication system.
前記記憶媒体内の保存対象データファイルと重複するファイル名を有したデータファイルが前記ホスト装置側の前記保存領域に存在する場合に、前記データファイル選択・保存イベントにおいて、該重複するデータファイル名を前記ホスト装置側から前記周辺装置に文字情報として送信する第四の通信イベントが実行され、
前記周辺装置には、当該重複するデータファイル名を前記表示部表示する重複データファイル名表示手段が設けられている請求項3記載の通信システム。 A display unit is provided in the peripheral device,
When a data file having a file name that overlaps with the data file to be stored in the storage medium exists in the storage area on the host device side, the data file name that is duplicated in the data file selection / storage event is A fourth communication event that is transmitted as character information from the host device side to the peripheral device is executed,
4. The communication system according to claim 3, wherein the peripheral device is provided with a duplicate data file name display means for displaying the duplicate data file name on the display unit.
前記周辺装置に設けられ、前記調査指示データを受けて、予め定められたフレームフォーマットを有する調査報告データを生成する調査報告データ生成手段と、
前記周辺装置に設けられ、前記調査報告データを応答情報として前記ホスト装置に送信する調査報告データ送信手段と、
前記周辺装置側に設けられ、受信した該調査指示データの前記予め定められたフィールドから前記付加情報を抽出する付加情報抽出手段と、
を有する請求項1ないし請求項7のいずれか1項に記載の通信システム。 Provided on the host device side, issues a survey request command for requesting the peripheral device itself to perform a survey report process on the peripheral device, and is accompanied by a predetermined search report instruction content accompanying the issuance of the survey request command. Survey instruction data creating means for creating survey instruction data having a frame format and additional information written in a predetermined field of the frame, and a survey instruction for transmitting the created survey instruction data to the peripheral device Data transmission means;
Survey report data generating means provided in the peripheral device, receiving the survey instruction data, and generating survey report data having a predetermined frame format;
Provided in the peripheral device, a survey report data transmitting means for transmitting the survey report data as response information to the host device;
Additional information extraction means provided on the peripheral device side, for extracting the additional information from the predetermined field of the received survey instruction data;
The communication system according to any one of claims 1 to 7, further comprising:
前記調査報告データ送信手段は、その対応付加情報が書き込まれた前記調査報告データを応答情報として前記ホスト装置に送信する請求項8記載の通信システム。 The survey report data generation means writes corresponding additional information corresponding to additional information from the host device side in a predetermined frame of the survey report data,
9. The communication system according to claim 8, wherein the survey report data transmitting means transmits the survey report data in which the corresponding additional information is written as response information to the host device.
前記周辺装置側には表示部と、前記表示部への表示用文字データを前記文字コードと対応付けて記憶する表示用文字データ記憶手段と、前記付加情報抽出手段が抽出する前記付加情報としての文字コード情報に対応する表示用文字データを表示用文字データ記憶手段から読み出して、前記表示部に表示させる表示制御手段とが設けられる請求項8ないし請求項10のいずれか1項に記載の通信システム。 The investigation request command is used to start a communication event for transmitting character information to be displayed on the display unit from the host device to the peripheral device, and specifies the character to be transmitted as the additional information in the investigation instruction data. Character code information is written as additional information,
The peripheral device side includes a display unit, display character data storage means for storing character data for display on the display section in association with the character code, and the additional information extracted by the additional information extraction means. The communication according to any one of claims 8 to 10, further comprising display control means for reading display character data corresponding to the character code information from the display character data storage means and displaying the read character data on the display unit. system.
前記周辺装置には、受信した重複ファイル名特定情報に基づいて前記重複ファイル名を前記表示部に表示する重複ファイル名表示手段が設けられ、表示された重複ファイルに対し前記ホスト装置に指示する前記保存処理条件が前記手動操作部から選択入力可能とされてなり、
前記調査報告データには前記対応付加情報として、前記手動操作部からの入力情報に基づいて前記保存処理条件を指示する保存処理条件指示情報が書き込まれ、
前記ホスト装置側の前記データファイル保存制御手段は、前記周辺装置から受領する前記保存処理条件に従い、前記データファイルの保存処理を実行する請求項11記載の通信システム。 3. If the data file having a file name that overlaps with the data file received from the peripheral device is present in the storage area, the peripheral device has the requirement according to claim 2 Is used to start a communication event to be notified, and duplicate file name specifying information is written as the additional information in the investigation instruction data,
The peripheral device is provided with a duplicate file name display means for displaying the duplicate file name on the display unit based on the received duplicate file name specifying information, and instructs the host device for the displayed duplicate file. The storage processing conditions can be selected and input from the manual operation unit,
In the survey report data, as the corresponding additional information, storage processing condition instruction information for instructing the storage processing condition based on input information from the manual operation unit is written,
12. The communication system according to claim 11, wherein the data file storage control means on the host device side executes the data file storage processing in accordance with the storage processing conditions received from the peripheral device.
前記調査要求コマンドとして前記第二種コマンドが使用される請求項8ないし請求項15のいずれか1項に記載の通信システム。 In the peripheral device, when the storage medium is exchanged, exchange notice information holding means for holding exchange notice information for notifying the host apparatus of the exchange of the storage medium, and predetermined from the host apparatus. When the first type command is received, the exchange notification information held in the exchange notification information holding unit is cleared after the command is executed, and the second type command other than the first type command is received. In this case, it has an exchange notification information holding control means for holding the exchange notification information holding state by the exchange notification information holding means even after execution of the command,
The communication system according to any one of claims 8 to 15, wherein the second type command is used as the investigation request command.
前記記憶媒体内のデータファイルを選択するファイル選択操作と、選択されたデータファイルの保存処理条件の設定操作とを行なうための手動操作部と、
予め定められた内容の対象通信イベントの起動を前記ホスト装置に促すための周辺装置側トリガを、該周辺装置側でのユーザー操作に基づいて発生させる前記周辺装置側トリガ発生手段と、
前記周辺装置側に設けられ、前記ホスト装置からの前記トリガ報告要求コマンドに対応する前記トリガ発生報告情報を前記応答情報として前記ホスト装置に前記主通信プロトコルに従い返信するトリガ発生報告情報返信手段と、
を有してなることを特徴とする周辺装置。 The peripheral device constituting the communication system according to any one of claims 1 to 18, wherein at least a storage medium capable of data access relating to data reading is detachably mounted, and As a storage device that performs data access to the storage medium by a communication event,
A manual operation unit for performing a file selection operation for selecting a data file in the storage medium, and a setting operation for a storage processing condition of the selected data file;
The peripheral device side trigger generating means for generating a peripheral device side trigger for prompting the host device to start a target communication event having a predetermined content based on a user operation on the peripheral device side;
Trigger generation report information return means provided on the peripheral device side, which returns the trigger generation report information corresponding to the trigger report request command from the host device as the response information to the host device according to the main communication protocol;
A peripheral device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006092562A JP2007265305A (en) | 2006-03-29 | 2006-03-29 | Communication system and peripheral device used therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006092562A JP2007265305A (en) | 2006-03-29 | 2006-03-29 | Communication system and peripheral device used therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007265305A true JP2007265305A (en) | 2007-10-11 |
Family
ID=38638190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006092562A Pending JP2007265305A (en) | 2006-03-29 | 2006-03-29 | Communication system and peripheral device used therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007265305A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010103967A (en) * | 2008-10-24 | 2010-05-06 | Feitian Technologies Co Ltd | Intelligent cipher key apparatus for enhancing pin code input security and its method |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01320551A (en) * | 1988-06-13 | 1989-12-26 | Internatl Business Mach Corp <Ibm> | File transfer method |
JPH0497495A (en) * | 1990-08-16 | 1992-03-30 | Canon Inc | Image processing system |
US5892955A (en) * | 1996-09-20 | 1999-04-06 | Emc Corporation | Control of a multi-user disk storage system |
JP2001290692A (en) * | 2000-04-05 | 2001-10-19 | Sk Kaken Co Ltd | Ftp server and file transfer method therefor |
JP2002077690A (en) * | 2000-08-31 | 2002-03-15 | Olympus Optical Co Ltd | Electronic camera and computer system |
JP2003241903A (en) * | 2002-02-14 | 2003-08-29 | Hitachi Ltd | Storage control device, storage system, and control method therefor |
JP2004133502A (en) * | 2002-10-08 | 2004-04-30 | Matsushita Electric Ind Co Ltd | Data distribution system and related device or method, recording medium or program |
JP2005050192A (en) * | 2003-07-30 | 2005-02-24 | Matsushita Electric Ind Co Ltd | Information recording system |
JP2005092461A (en) * | 2003-09-16 | 2005-04-07 | Canon Sales Co Inc | Data editing device, and control method and control program for the same |
JP2005175957A (en) * | 2003-12-11 | 2005-06-30 | Canon Inc | Image management device, digital camera, and image management method |
JP2005212345A (en) * | 2004-01-30 | 2005-08-11 | Seiko Epson Corp | Data conversion apparatus, printer provided with data conversion apparatus, data conversion method, and printing method using data conversion method |
JP2005538455A (en) * | 2002-09-06 | 2005-12-15 | マクスター コーポレイション | 1 button external backup |
JP2006079634A (en) * | 2002-05-29 | 2006-03-23 | Hagiwara Sys-Com:Kk | Usb storage device and program |
-
2006
- 2006-03-29 JP JP2006092562A patent/JP2007265305A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01320551A (en) * | 1988-06-13 | 1989-12-26 | Internatl Business Mach Corp <Ibm> | File transfer method |
JPH0497495A (en) * | 1990-08-16 | 1992-03-30 | Canon Inc | Image processing system |
US5892955A (en) * | 1996-09-20 | 1999-04-06 | Emc Corporation | Control of a multi-user disk storage system |
JP2001290692A (en) * | 2000-04-05 | 2001-10-19 | Sk Kaken Co Ltd | Ftp server and file transfer method therefor |
JP2002077690A (en) * | 2000-08-31 | 2002-03-15 | Olympus Optical Co Ltd | Electronic camera and computer system |
JP2003241903A (en) * | 2002-02-14 | 2003-08-29 | Hitachi Ltd | Storage control device, storage system, and control method therefor |
JP2006079634A (en) * | 2002-05-29 | 2006-03-23 | Hagiwara Sys-Com:Kk | Usb storage device and program |
JP2005538455A (en) * | 2002-09-06 | 2005-12-15 | マクスター コーポレイション | 1 button external backup |
JP2004133502A (en) * | 2002-10-08 | 2004-04-30 | Matsushita Electric Ind Co Ltd | Data distribution system and related device or method, recording medium or program |
JP2005050192A (en) * | 2003-07-30 | 2005-02-24 | Matsushita Electric Ind Co Ltd | Information recording system |
JP2005092461A (en) * | 2003-09-16 | 2005-04-07 | Canon Sales Co Inc | Data editing device, and control method and control program for the same |
JP2005175957A (en) * | 2003-12-11 | 2005-06-30 | Canon Inc | Image management device, digital camera, and image management method |
JP2005212345A (en) * | 2004-01-30 | 2005-08-11 | Seiko Epson Corp | Data conversion apparatus, printer provided with data conversion apparatus, data conversion method, and printing method using data conversion method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010103967A (en) * | 2008-10-24 | 2010-05-06 | Feitian Technologies Co Ltd | Intelligent cipher key apparatus for enhancing pin code input security and its method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7941579B2 (en) | Communication system for authenticating authority of host device for accessing storage medium set to periphery device | |
US7797398B2 (en) | Communication system, and peripheral device having trigger generating device and computer program product that monitors whether a trigger has been generated | |
JP4551320B2 (en) | Electronic flash memory external storage method and apparatus | |
US6886083B2 (en) | Apparatus and method for controlling a card device | |
JP5235768B2 (en) | Control device, control method thereof, and program | |
US8451484B2 (en) | Information processing apparatus, printing apparatus, electronic device, and computer program therefor based on existence of printer configuration file | |
US7869074B2 (en) | Communication system, information processing device, peripheral device and communication method | |
JP2003242470A (en) | External connecting device and host device | |
JP2003241908A (en) | External connection equipment and host equipment | |
US8051221B2 (en) | Communication system, information processing device, peripheral device and communication method | |
JP4618560B2 (en) | Communication system and peripheral device used therefor | |
TW446884B (en) | Automatic configuration of primary and secondary peripheral devices for a computer | |
JP2003196613A (en) | Device and method for controlling memory card | |
JP2007265305A (en) | Communication system and peripheral device used therefor | |
JP4618559B2 (en) | Communication system and peripheral device used therefor | |
KR20030059773A (en) | Information processing device | |
JP2007265300A (en) | Communication system and peripheral device used therefor | |
JP2007265304A (en) | Communication system and peripheral device used therefor | |
JP2007265302A (en) | Communication system and peripheral device used therefor | |
JP2007265303A (en) | Computer program | |
JP4807667B2 (en) | Communication system and peripheral device used therefor | |
JP2008500617A (en) | Method for managing plug-in or removal of a memory card with respect to a card reader and apparatus using the method | |
JP2007265299A (en) | Communication system and peripheral device used therefor | |
JP2003337784A (en) | Control system and usb device | |
JP2008033451A (en) | Removable storage media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100218 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100810 |