JPH0827777B2 - Data processing device - Google Patents
Data processing deviceInfo
- Publication number
- JPH0827777B2 JPH0827777B2 JP24777585A JP24777585A JPH0827777B2 JP H0827777 B2 JPH0827777 B2 JP H0827777B2 JP 24777585 A JP24777585 A JP 24777585A JP 24777585 A JP24777585 A JP 24777585A JP H0827777 B2 JPH0827777 B2 JP H0827777B2
- Authority
- JP
- Japan
- Prior art keywords
- cdb
- command
- input
- unit
- block
- 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.)
- Expired - Lifetime
Links
Description
【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第8図) 発明が解決しようとする問題点 問題点を解決するための手段(第1図) 作用 実施例 (1)実施例の構成(第2図〜第5図) (2)実施例の動作(第6図、第7図) 発明の効果 〔概要〕 米国規格のANSIにより規格化された小型コンピュータ
用周辺装置インタフェース(Small Computer System In
terface,SCSIインタフェース)を使用する、異なる種類
の入出力装置を同一プログラムで制御するために装置対
応コマンドテーブルを用意して、装置対応に異なるコマ
ンドパラメータをこのコマンドテーブルより求めてCDB
を作成することにより異なる種類の入出力装置のSCSIイ
ンタフェースを1本のプログラムで制御できるようにし
たものである。DETAILED DESCRIPTION [Table of Contents] Outline Industrial field of application Conventional technology (Fig. 8) Problems to be solved by the invention Means for solving problems (Fig. 1) Operation Example (1) ) Configuration of Embodiment (FIGS. 2 to 5) (2) Operation of Embodiment (FIGS. 6 and 7) Effect of the Invention [Outline] Peripheral device for small computer standardized by ANSI of American standard Interface (Small Computer System In
terface, SCSI interface) that prepares a device-compatible command table to control different types of I / O devices with the same program, and obtains different command parameters for this device from the command table, CDB
By creating the above, the SCSI interfaces of different types of input / output devices can be controlled by one program.
本発明はコマンド情報格納ブロック(CDB;Command De
scription Block)作成方式に係り、特にANSIにより規
格化されたSCSIインタフェースを使用する異種入出力装
置を同一プログラムで制御することを可能にするため、
各入出力装置に必要なパラメータが記入されているCDB
を自動的に作成するようにしたデータ処理装置に関す
る。The present invention is a command information storage block (CDB;
description block), in order to control different types of I / O devices that use the SCSI interface standardized by ANSI with the same program.
CDB with required parameters for each I / O device
The present invention relates to a data processing device adapted to automatically create.
データ処理装置では、端末装置に種々の入出力装置、
例えば磁気ディスク装置、光ディスク装置、フロッピィ
ディスク、カセット式磁気テープ装置等が接続されてい
る。In the data processing device, various input / output devices,
For example, a magnetic disk device, an optical disk device, a floppy disk, a cassette type magnetic tape device, etc. are connected.
例えば第8図に示す如く、端末装置30に磁気ディスク
装置31、光ディスク装置32、フロッピィディスク33、プ
リンタ……が接続されるとき、各装置毎にチャネル34、
35、36……を設け、これを磁気ディスク制御プログラム
37、光ディスク制御プログラム38、フロッピィディスク
制御プログラム39……等の各入出力装置毎に用意された
制御プログラムで制御していた。For example, as shown in FIG. 8, when a magnetic disk device 31, an optical disk device 32, a floppy disk 33, a printer ... Are connected to the terminal device 30, a channel 34,
35, 36 ... are provided and this is a magnetic disk control program.
37, the optical disk control program 38, the floppy disk control program 39, etc. were controlled by the control programs prepared for each input / output device.
即ち、各入出力装置毎にデータ長とかアドレス等のデ
ータフォーマットが異なり、これに応じてハードの入出
力インタフェースが異なるため、それぞれ独立した制御
プログラムが必要であった。That is, each input / output device has a different data format such as a data length or an address, and the hardware input / output interface differs accordingly, so that independent control programs are required.
ところで最近、米国では米国規格(ANSI)により規格
化された前記小型コンピュータ用周辺装置インタフェー
ス(SCSIインタフェース)が定められ、このSCSIインタ
フェースの入出力装置では1/Oコマンドのフォーマット
が同一に定められた。By the way, recently, in the United States, the peripheral device interface (SCSI interface) for the small computer standardized by the American National Standard (ANSI) was defined, and the format of the 1 / O command was defined in the input / output device of this SCSI interface. .
ところで前記SCSIインタフェースにより入出力装置の
I/Oコマンドが同一フォーマットになるように定められ
ても、各入出力装置では、装置毎にアドレスとかデータ
長というようなパラメータ情報が異なる。そのため、こ
れを装置対応に作成するパラメータ情報付加手段が開発
されていなかったため、その開発が強く要望されてい
た。By the way, the SCSI interface
Even if the I / O commands are determined to have the same format, each input / output device has different parameter information such as an address and a data length. Therefore, since the parameter information adding means for creating the device corresponding to the device has not been developed, there has been a strong demand for its development.
本発明の目的は、このような要望を満足するためのデ
ータ処理装置を提供することである。An object of the present invention is to provide a data processing device for satisfying such a demand.
前記目的を達成するために本発明では、第1図に示す
如く、装置対応コマンド変換テーブル1を設ける。この
装置対応コマンド変換テーブル1には、例えば光ディス
ク装置2とか、カセット式磁気テープ装置3とかその端
末装置に接続される入出力装置に固有のコマンドパラメ
ータ情報が記載されている。In order to achieve the above object, the present invention provides a device-compatible command conversion table 1 as shown in FIG. In this device-corresponding command conversion table 1, command parameter information peculiar to, for example, the optical disk device 2, the cassette type magnetic tape device 3 or an input / output device connected to the terminal device is described.
〔作用〕 従って端末装置から入出力装置にコマンドを出力する
とき、この装置対応コマンド変換テーブル1を参照して
その入出力装置に対するI/Oコマンドを組立てることが
できるので、SCSIインタフェースの入出力装置を同一の
プログラムで制御することができる。[Operation] Therefore, when a command is output from the terminal device to the input / output device, the I / O command for the input / output device can be assembled by referring to the device conversion command conversion table 1. Can be controlled by the same program.
(1)実施例の構成 本発明の一実施例構成を第2図〜第5図にもとづき説
明する。(1) Configuration of Embodiment An embodiment of the present invention will be described with reference to FIGS. 2 to 5.
第2図は本発明の一実施例構成図、第3図は入力パラ
メータのフォーマット、第4図は装置対応コマンド変換
テーブルのフォーマット、第5図はCDBのフォーマット
例である。FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is an input parameter format, FIG. 4 is a device-compatible command conversion table format, and FIG. 5 is a CDB format example.
第2図において、他図と同符号部は同一部分を示し、
4は制御部、5はCDB作成部、6はCCW(チャネル・コマ
ンド・ワード)作成部、7はハンドラ部、8は入力部、
9は出力部、10は端末装置、11はチャネル部である。In FIG. 2, the same parts as those in the other figures indicate the same parts,
4 is a control unit, 5 is a CDB creation unit, 6 is a CCW (channel command word) creation unit, 7 is a handler unit, 8 is an input unit,
Reference numeral 9 is an output unit, 10 is a terminal device, and 11 is a channel unit.
制御部4は端末装置10に接続されている入出力装置を
総合的に制御するものであり、CDBの作成については、
外部から端末装置10に接続された入出力装置に対するア
クセス要求に伝達されたとき、図示省略したデバイス・
テーブル・ブロック(DTB)により該入出力装置の種類
を検出し、これをCDB作成部5、CCW作成部6等に伝達す
るものである。The control unit 4 comprehensively controls the input / output devices connected to the terminal device 10. For creating the CDB,
When an access request for an input / output device connected to the terminal device 10 is transmitted from the outside, a device (not shown)
The type of the input / output device is detected by the table block (DTB), and this is transmitted to the CDB creating unit 5, the CCW creating unit 6, and the like.
CDB作成部5は変換テーブル1にもとづきアクセス先
の入出力装置に対する固有のパラメータ情報を作成する
ものである。CDBには複数のフォーマットがあり、光デ
ィスクをリードする場合には、第6図に示す如く、コマ
ンド、ユニット番号、読出し位置を示すブロック・アド
レス、転送ブロック数、メーカー固有情報領域R.B、E.F
等が記入されている。またカセット式磁気テープ装置を
リードする場合には、同図に示す如く、コマンド、ユニ
ット番号、転送ブロック数、メーカー固有情報領域SLi
等が記入されている(ブロックアドレスはない)。The CDB creating unit 5 creates unique parameter information for the input / output device of the access destination based on the conversion table 1. CDB has multiple formats, and when reading an optical disc, as shown in FIG. 6, a command, a unit number, a block address indicating a read position, a transfer block number, a manufacturer specific information area RB, EF
Etc. are entered. When reading a cassette type magnetic tape device, as shown in the figure, the command, unit number, transfer block number, manufacturer specific information area SLi
Etc. are entered (there is no block address).
CCW作成部6はチャネル部11が実行すべきデータが記
入されているCCWを作成し、その位置を出力するもので
あり、このとき同時にCDBもチャネル部11に伝達され
る。なおこのCCWにはCDBのアドレスも記入され、CCWを
解読することによりCDBを読出すことができる。The CCW creating unit 6 creates a CCW in which data to be executed by the channel unit 11 is written and outputs its position, and at the same time, the CDB is also transmitted to the channel unit 11. The address of the CDB is also written in this CCW, and the CDB can be read by decoding the CCW.
ハンドラ部7は入出力装置内の論理的な構造を意識す
るものであって、例えば外部装置より、光ディスク装置
2に対してファイルAの先頭1ブロックから10ブロック
までのデータ読出し要求があったとき、ファイルAの先
頭1ブロックから10ブロックまでをボリウム内相対アド
レスに変換するものである。The handler unit 7 is conscious of the logical structure in the input / output device. For example, when an external device requests the optical disc device 2 to read data from the first 1 block to the 10th block of the file A. , The first block to the 10th block of the file A are converted into relative addresses in the volume.
入力部8は外部からの情報が入力されるものであり、
出力部9はチャネル部11に対するデータが出力されるも
のである。The input section 8 is for inputting information from the outside,
The output unit 9 outputs data for the channel unit 11.
チャネル部11はSCSIインタフェースの複数の入出力装
置、例えば光ディスク装置2、カセット式磁気テープ装
置3……が接続されるものである。The channel section 11 is connected to a plurality of input / output devices of a SCSI interface, such as an optical disk device 2 and a cassette type magnetic tape device 3.
装置対応コマンド変換テーブル1は、図示省略したメ
モリに第4図に示す如きフォーマットで構成されてお
り、CDBのタイプ(グループ)を表すCDBタイプ、CDBに
セットするコマンドのコードを表すコマンドコード、当
該CDBの先頭からのバイト数を示すブロックアドレス位
置と当該CDB内のブロックアドレス領域の大きさを示す
ブロックアドレス領域サイズと当該CDBに指定可能なブ
ロックアドレスの最大値を示すブロックアドレス最大値
を有するブロックアドレス情報と、当該CDBの先頭から
のバイト数を示す転送ブロック数位置と当該CDB内の転
送ブロック数領域の大きさを示す転送ブロック数領域サ
イズと当該CDBに指定可能な転送ブロック数の最大値を
示す転送ブロック数最大値を有する転送ブロック情報
と、当該CDBの先頭からのバイト数を示すコントロール
バイト位置と当該CDBのコントロールバイトの有効ビッ
トを示すコントロールバイト有効範囲を有する処理モー
ド情報等を含む。このとき、ブロックアドレス情報と転
送ブロック情報は、前記の如く、CDB内位置、パラメー
タサイズ、指定可能範囲の順で構成されている。The device-corresponding command conversion table 1 is configured in a memory (not shown) in a format as shown in FIG. 4, and includes a CDB type indicating a CDB type (group), a command code indicating a command code to be set in the CDB, A block having a block address position that indicates the number of bytes from the beginning of the CDB, a block address area size that indicates the size of the block address area in the CDB, and a block address maximum value that indicates the maximum value of the block address that can be specified in the CDB. Address information, transfer block number position indicating the number of bytes from the beginning of the CDB, transfer block number area size indicating the size of the transfer block number area in the CDB, and maximum transfer block number that can be specified in the CDB The transfer block information that has the maximum value of the transfer block number and the code that indicates the number of bytes from the beginning of the CDB Including processing mode information and the like having a control byte scope indicating a valid bit in the control byte of the trawl byte positions and the CDB. At this time, the block address information and the transfer block information are configured in the order of the position in the CDB, the parameter size, and the specifiable range, as described above.
またCDBのフォーマットは、例えば第5図(a)〜
(c)に示す如く、複数のものが定められている。これ
らのフォーマットの選定は入出力装置が取扱うデータ量
の大小により選定され、大きいものはそのアドレス長や
転送量も大きくなるので、大容量のフォーマットが選択
されることになる。カセット式磁気テープ装置は第5図
(a)のものが、光ディスク装置は第5図(a)又は
(b)が選択される。なお、第5図(b)、(c)にお
いて「Rel Adr」は絶対アドレスまたは相対アドレスの
いずれであるのかを示すものである。The CDB format is, for example, FIG.
As shown in (c), a plurality of items are defined. These formats are selected according to the size of the data handled by the input / output device, and the larger ones also have a larger address length and transfer amount, so a large capacity format is selected. The cassette type magnetic tape device is selected as shown in FIG. 5 (a), and the optical disc device is selected as shown in FIG. 5 (a) or (b). In FIGS. 5B and 5C, “Rel Adr” indicates whether it is an absolute address or a relative address.
なお、第3図において、入力パラメータフォーマット
におけるコマンドモードは、コマンドにおける下位のモ
ードを示すものであり、例えば転送データにエラーがあ
っても送信を求めるような場合にはこれを指示してお
く。この場合、CDBには、第6図の光ディスク(Read)
に示す如く、コントロールバイトにE.F(エラーフリ
ー)が記入されることになる。In FIG. 3, the command mode in the input parameter format indicates the lower mode of the command. For example, if transmission is requested even if there is an error in the transfer data, this is designated. In this case, the CDB has an optical disk (Read) shown in FIG.
As shown in, EF (error free) is written in the control byte.
(2)実施例の動作 第2図に示す本発明の動作を第7図のフローチャート
にもとづき詳述するに先立ち、第6図に示すCDB作成状
態説明図を参照しながら簡単に説明する。(2) Operation of Embodiment Prior to detailed description of the operation of the present invention shown in FIG. 2 based on the flowchart of FIG. 7, a brief explanation will be given with reference to the CDB creation state explanatory view shown in FIG.
端末装置10に外部装置より、例えば、光ディスク装置
2のファイルAの先頭1バイトより10バイト読出せとい
う指示が入力されたとき、制御部4は、このアクセス先
の入出力装置名(この例では光ディスク装置)より、図
示省略したデバイス・テーブル(DTB)のポインタをCCW
作成部6に伝達し、またその光ディスク装置2の前記フ
ァイルのアクセスデータをハンドラ部7に伝達する。ハ
ンドラ部7はこの物理アドレスをボリウム内相対アドレ
スすなわち物理アドレスに変換し、これが制御部4を経
由してCCW作成部6、CDB作成部5に伝達される。CCW作
成部6は制御部4から伝達されたポインタにより前記DT
Bをアクセスして図示省略したチャネル・コントロール
・ブロック(CCB)のリンク先をアクセスし、これに記
入されたチャネルIDにより光ディスク装置2がチャネル
部11に接続されていることおよびチャネル部11がSCSIイ
ンタフェースであることを認識する。そしれこれにより
CCW作成部6はCDB作成部5に対してCDB作成を指示す
る。このときCCW作成部6及びCDB作成部5には、制御部
4か前記入力データに存在するユニット番号(論理アド
レス)、コマンド名(この例ではRead)、コマンドモー
ドが、前記ボリウム内相対アドレス(ブロックアドレ
ス)、処理ブロック数(この例では10バイト)とともに
伝達されているので、CCW作成部6は、コマンド名、ユ
ニット番号等が記入されたCCWを作成する。このときCDB
作成部5はこのCCWに付属したCDBを後述するように装置
対応コマンド変換テーブルにより作成することになる。When an instruction to read 10 bytes from the first 1 byte of the file A of the optical disk device 2 is input to the terminal device 10 from an external device, the control unit 4 causes the input / output device name of this access destination (in this example, From the optical disk device) to CCW the pointer of the device table (DTB) not shown.
The data is transmitted to the creating unit 6, and the access data of the file of the optical disk device 2 is transmitted to the handler unit 7. The handler unit 7 converts this physical address into a relative address within the volume, that is, a physical address, and this is transmitted to the CCW creating unit 6 and the CDB creating unit 5 via the control unit 4. The CCW creation unit 6 uses the pointer transmitted from the control unit 4 to send the DT
B is accessed to access a link destination of a channel control block (CCB) (not shown), and the optical disk device 2 is connected to the channel section 11 by the channel ID written in this, and the channel section 11 is SCSI. Recognize that it is an interface. And this
The CCW creating unit 6 instructs the CDB creating unit 5 to create a CDB. At this time, in the CCW creation unit 6 and the CDB creation unit 5, the unit number (logical address) existing in the control unit 4 or the input data, the command name (Read in this example), the command mode, the relative address in the volume ( Since it is transmitted together with the block address) and the number of processing blocks (10 bytes in this example), the CCW creating unit 6 creates a CCW in which a command name, a unit number, etc. are entered. At this time CDB
The creation unit 5 creates the CDB attached to this CCW by the device-compatible command conversion table as described later.
ところで光ディスク装置からデータをリードする場
合、装置対応コマンド変換テーブルの光ディスク装置Re
adの項には、第6図に示す如く、CDBタイプ、コマンド
コード、ブロックアドレス情報、転送ブロック情報、処
理モード情報等が記載されているので、CDB作成部5は
これらを参照して、第6図に示す如きCDB(光ディス
ク、Read)を作成する。そしてCDBのアドレスをCCWに付
記してチャネル部11に送出することになる。By the way, when reading data from the optical disc device, the optical disc device Re
As shown in FIG. 6, CDB type, command code, block address information, transfer block information, processing mode information, and the like are described in the ad section, so the CDB creating unit 5 refers to these and A CDB (optical disk, Read) as shown in FIG. 6 is created. Then, the address of the CDB is added to CCW and transmitted to the channel unit 11.
またカセット式磁気テープ装置からデータをリードす
る場合、これまた同様に装置対応コマンド変換テーブル
のカセット式磁気テープ装置のReadの項を参照してCDB
を作成することになる。このときカセット式磁気テープ
装置にはそのテープの特定位置からデータをアクセスす
る機能はなく、常に最初からアクセスするので、そのCD
Bには先頭からのアクセス位置を示すブロックアドレス
は不必要であり、このデータはない。When reading data from a cassette-type magnetic tape device, also refer to the Read section of the cassette-type magnetic tape device in the device-compatible command conversion table in the same manner.
Will be created. At this time, the cassette type magnetic tape device does not have a function to access data from a specific position on the tape, and it always accesses from the beginning.
B does not need a block address indicating the access position from the beginning and does not have this data.
次に第7図により前記CDB作成部5の動作について説
明する。Next, the operation of the CDB creating unit 5 will be described with reference to FIG.
CDB作成部5は、伝達された装置名(光ディスク装
置、カセット式磁気テープ装置……)およびコマンド名
(Read,Write……)により装置対応コマンド変換テーブ
ル(以下変換テーブル)1の当該部分をサーチする。The CDB creating unit 5 searches the relevant part of the device-compatible command conversion table (hereinafter referred to as conversion table) 1 by the transmitted device name (optical disk device, cassette type magnetic tape device ...) And command name (Read, Write ...). To do.
前記変換テーブル1のCDBタイプにより、それに応
じた大きさのCDB領域を獲得し、この獲得領域をゼロク
リアする。The CDB type of the conversion table 1 is used to acquire a CDB area of a size corresponding to the CDB type, and the acquired area is cleared to zero.
CDB領域にCDB共通パラメータをセットする。この共
通パラメータとしては、コマンドコード(Operation Co
de)、ユニット番号(Logical Unit Number,装置の論理
番号)等が記入される。Set CDB common parameters in the CDB area. This common parameter includes the command code (Operation Co
de), unit number (Logical Unit Number, device logical number), etc. are entered.
次にCDB作成部5はこの変換テーブル1の当該部分
のブロックアドレス位置が零か否かを判定してブロック
アドレスの有無をチェックする。光ディスク装置や磁気
ディスク装置の場合には、任意のアドレスからデータを
アクセスできるのブロックアドレス位置は零ではない
が、カセット式磁気テープ装置の場合には最初のブロッ
クからアクセスするように構成されているので、ブロッ
クアドレス位置は零である。Next, the CDB creating unit 5 determines whether or not the block address position of the relevant portion of the conversion table 1 is zero and checks the presence or absence of the block address. In the case of an optical disk device or magnetic disk device, data can be accessed from any address, but the block address position is not zero, but in the case of a cassette type magnetic tape device, it is configured to access from the first block. Therefore, the block address position is zero.
ブロックアドレス位置が零でなければ、ブロックア
ドレスは有るので、次に、第6図の入力パラメータのブ
ロックアドレスの値が前記変換テーブル1内のブロック
アドレス最大値より大きくないことを確認してその妥当
性をチェックする。If the block address position is not zero, there is a block address. Next, it is confirmed that the value of the block address of the input parameter in FIG. Check sex.
妥当の場合には、変換テーブル1内のブロックアド
レス位置をもとに、CDB(前記獲得領域)に入力パラメ
ータのブロックアドレスをセットする。If it is valid, the block address of the input parameter is set in the CDB (the acquisition area) based on the block address position in the conversion table 1.
CDB作成部5は変換テーブル1の当該部分の転送ブ
ロック数位置が零が否かを判定して転送ブロック数の有
無をチェックする。このとき、コマンドが入出力装置の
状態のチェックを求めるものである場合や、光ディスク
装置の場合におけるケースのロックを求めるような場合
には転送ブロック数は零である。The CDB creating unit 5 determines whether or not the transfer block number position of the relevant portion of the conversion table 1 is zero, and checks the presence or absence of the transfer block number. At this time, the number of transfer blocks is zero when the command is for requesting the check of the state of the input / output device or for requesting the lock of the case in the case of the optical disk device.
転送ブロックが有る場合には、入力パラメータの処
理ブロック数の値が前記変換テーブル内の転送ブロック
数最大値以内にあることを確認してその妥当性をチェッ
クする。If there is a transfer block, it is confirmed that the value of the number of processing blocks of the input parameter is within the maximum value of the number of transfer blocks in the conversion table, and the validity is checked.
妥当のとき変換テーブル1内の転送ブロック数位置
をもとに、CDB内に転送ブロック数をセットする。When appropriate, the number of transfer blocks is set in the CDB based on the position of the number of transfer blocks in the conversion table 1.
CDB作成部5は変換テーブル1の当該部分のコント
ロールバイト位置が零か否かを判定して処理ードの有無
をチェックする。The CDB creating unit 5 determines whether or not the control byte position of the relevant portion of the conversion table 1 is zero, and checks the presence or absence of processing.
処理モードが有る場合には、入力パラメータのコマ
ンドモードの値が前記変換テーブル1内のコントロール
バイト有効位置以内にあることを確認してその妥当性を
チェックする。If there is a processing mode, the validity of the command mode of the input parameter is checked by confirming that it is within the valid position of the control byte in the conversion table 1.
妥当の場合には変換テーブル1のコントロールバイ
ト位置をもとに、CDB内にコントロールバイトをセット
する。If appropriate, set the control byte in the CDB based on the control byte position in conversion table 1.
このようにして作成された第6図に示す如きCDBはCCW
とともにチャネル装置11に送出される。チャネル装置11
はこのCCWとCDBにもとづき、指示された入出力装置をア
クセスすることになる。The CDB created in this way as shown in Fig. 6 is CCW.
It is also sent to the channel device 11. Channel device 11
Will access the specified I / O device based on this CCW and CDB.
なお、前記本発明の実施例では入出力装置として光デ
ィスク装置やカセット式磁気テープ装置等の例について
説明したが、本発明は勿論これらに限定されるものでは
なく、磁気ディスク装置やプリンタ等その他のものにも
適用できる。In the embodiments of the present invention described above, examples of an optical disk device, a cassette type magnetic tape device and the like have been described as input / output devices, but the present invention is not limited to these, and magnetic disk devices, printers and other devices may be used. It can also be applied to things.
本発明によれば入出力装置毎に固有のコマンドパラメ
ータを、変換テーブルを参照することにより同一の制御
プログラムで作成することができるために、SCSIインタ
フェースの入出力装置をすべて1つのプログラムで制御
することが可能となる。According to the present invention, since command parameters unique to each input / output device can be created by the same control program by referring to the conversion table, all input / output devices of the SCSI interface are controlled by one program. It becomes possible.
また新しくSCSIインタフェースの入出力装置をチャネ
ル部11に接続する場合でも、その入出力装置に必要な固
有のコマンドパラメータ情報を変換テーブルに追加する
のみでよい。Further, even when a new input / output device of the SCSI interface is connected to the channel unit 11, it is only necessary to add the unique command parameter information required for the input / output device to the conversion table.
第1図は本発明の原理図、 第2図は本発明の一実施例構成図、 第3図は入力パラメータのフォーマット、 第4図は装置対応コマンド変換テーブルのフォーマッ
ト、 第5図はCDBのフォーマットの例、 第6図は本発明におけるCDB作成状態説明図、 第7図は本発明の動作説明図、 第8図は従来例を示す。 1……装置対応コマンド変換テーブル 2……光ディスク装置 3……カセット式磁気テープ装置 4……制御部、5……CDB作成部 6……CCW作成部、7……ハンドラ部 8……入力部、9……出力部 10……端末装置、11……チャネル部FIG. 1 is a principle diagram of the present invention, FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an input parameter format, FIG. 4 is a device-compatible command conversion table format, and FIG. An example of the format, FIG. 6 is an explanatory diagram of a CDB creation state in the present invention, FIG. 7 is an operational explanatory diagram of the present invention, and FIG. 8 is a conventional example. 1 ... Device command conversion table 2 ... Optical disk device 3 ... Cassette type magnetic tape device 4 ... Control unit, 5 ... CDB creation unit 6 ... CCW creation unit, 7 ... Handler unit 8 ... Input unit , 9 …… Output section 10 …… Terminal device, 11 …… Channel section
Claims (1)
する入出力コマンドから当該周辺装置固有のコマンドを
生成する処理を行うデータ処理装置において、 当該周辺装置を制御する入出力コマンドと当該周辺装置
固有のコマンドの入出力情報を記憶した装置対応コマン
ド記憶手段と、 当該装置対応コマンド記憶手段に基づいて、前記入出力
コマンドから当該周辺装置固有のコマンドを作成するコ
マンド作成手段と を有することを特徴とするデータ処理装置。1. A data processing device for generating a command unique to a peripheral device from an input / output command controlling a peripheral device for a plurality of small computers, and an input / output command controlling the peripheral device and a device specific to the peripheral device. Device corresponding command storage means for storing input / output information of the command, and command creating means for creating a command peculiar to the peripheral device from the input / output command based on the device corresponding command storage means. Data processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24777585A JPH0827777B2 (en) | 1985-11-05 | 1985-11-05 | Data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP24777585A JPH0827777B2 (en) | 1985-11-05 | 1985-11-05 | Data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62107356A JPS62107356A (en) | 1987-05-18 |
| JPH0827777B2 true JPH0827777B2 (en) | 1996-03-21 |
Family
ID=17168465
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP24777585A Expired - Lifetime JPH0827777B2 (en) | 1985-11-05 | 1985-11-05 | Data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0827777B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2840687B2 (en) * | 1990-01-09 | 1998-12-24 | ソニー株式会社 | Disc playback device |
-
1985
- 1985-11-05 JP JP24777585A patent/JPH0827777B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62107356A (en) | 1987-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101853254B (en) | Method and device for mounting file or catalogue to local or remote host | |
| US6324604B1 (en) | Magnetic disk storage for storing data in disk block size from fixed length of host block in non-integer multiple of the disk block size | |
| US6275910B1 (en) | Storage device and method for data sharing | |
| US6408369B1 (en) | Internal copy for a storage controller | |
| US20020087786A1 (en) | Method, system, and data structures for superimposing data records in a first data format to memory in a second data format | |
| JPS6243766A (en) | Control system for state of shared resources | |
| US20080209420A1 (en) | Processing system, storage device, and method for performing series of processes in given order | |
| US7051054B1 (en) | Method and apparatus for emulating read/write file system on a write-once storage disk | |
| US7415480B2 (en) | System and method for providing programming-language-independent access to file system content | |
| US7921265B2 (en) | Data access method, channel adapter, and data access control device | |
| JP2005108239A (en) | Storage system for storing data in hierarchical data structure | |
| US9990133B2 (en) | Storage library client interface system and method | |
| JPH0827777B2 (en) | Data processing device | |
| JP4378342B2 (en) | Mechanism for applying transformations to multipart files | |
| JPH0895835A (en) | Method for reserving file space | |
| US20050007811A1 (en) | Storage device and data conversion program | |
| JP4285202B2 (en) | Complex computer system and complex I/O system | |
| JPS6359618A (en) | How to copy | |
| JP4075790B2 (en) | Complex computer system and complex I/O system | |
| JP2988048B2 (en) | Dictionary information resident access device | |
| JP4480592B2 (en) | File system | |
| JP2545587B2 (en) | Garbage collection method | |
| WO1991008537A1 (en) | Data record copy apparatus for a virtual memory system | |
| JP2798140B2 (en) | Virtual space control method | |
| WO1991008536A1 (en) | Data record move apparatus for a virtual memory system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |