Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH07120341B2 - Data controller - Google Patents
[go: Go Back, main page]

JPH07120341B2 - Data controller - Google Patents

Data controller

Info

Publication number
JPH07120341B2
JPH07120341B2 JP19588787A JP19588787A JPH07120341B2 JP H07120341 B2 JPH07120341 B2 JP H07120341B2 JP 19588787 A JP19588787 A JP 19588787A JP 19588787 A JP19588787 A JP 19588787A JP H07120341 B2 JPH07120341 B2 JP H07120341B2
Authority
JP
Japan
Prior art keywords
port
ports
data
shared memory
address
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
Application number
JP19588787A
Other languages
Japanese (ja)
Other versions
JPS6438861A (en
Inventor
光代 倉科
正和 河本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP19588787A priority Critical patent/JPH07120341B2/en
Publication of JPS6438861A publication Critical patent/JPS6438861A/en
Publication of JPH07120341B2 publication Critical patent/JPH07120341B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 作用 実施例 発明の効果 〔概要〕 各種データの処理を実行する複数のデータ処理モジュー
ル(以下、機能単位と略記する)の、共用メモリに対す
るアクセス競合に伴う待ち時間を短縮するデータ制御装
置に関し ポートの数だけの機能単位のアクセスには自動的に共用
メモリの使用を割当てて、共用メモリに対する機能単位
の競合を処理し、不必要な待ち時間の発生を防止するこ
とを目的とし、 共用メモリに対する機能単位のアクセスを制御するポー
トには、自分が選択されたことを認識する認識手段と、
認識手段の認識に基づき、アクセスしてきた機能単位の
アドレスを記憶し、該記憶しているアドレスを持つ機能
単位のデータ転送のみ実行する指示を行う指示手段を設
け、又更にポートに設けた該認識手段の認識に基づき、
複数のポートに優先順位を与える自動割当制御回路を設
け、複数の機能単位が共用メモリに対しアクセスした
時、優先順位に従って複数のポートを順次アクセス順に
割当て、共用メモリとアクセスを許可された機能単位と
の間のデータ転送を行わせる構成とする。
Detailed Description of the Invention [Table of Contents] Outline Industrial field of use Conventional technology Problems to be solved by the invention Means for solving problems Problems Working Example Effect of the invention [Outline] Processing of various data A data controller that shortens the waiting time associated with access competition to shared memory for multiple data processing modules (hereinafter abbreviated as “functional unit”) automatically It was chosen to be the port that controls the access of the functional unit to the shared memory, with the purpose of allocating usage, handling functional unit contention for the shared memory, and preventing unnecessary latency. Recognition means to recognize that,
Based on the recognition of the recognition means, the address of the accessed functional unit is stored, and an instruction means for instructing to execute only data transfer of the functional unit having the stored address is provided. Based on the recognition of the means,
An automatic allocation control circuit that gives priority to multiple ports is provided, and when multiple functional units access the shared memory, multiple ports are sequentially assigned in the order of access according to the priority order, and the shared memory and the functional units that are permitted access. The configuration is such that data transfer between and is performed.

〔産業上の利用分野〕[Industrial application field]

本発明は各種のデータ処理を実行する複数のデータ処理
モジュールから構成され、該機能単位相互間でデータの
転送を行う装置に係り、特に機能単位相互間で転送され
るデータを一時記憶させる共用メモリに対し、各機能単
位がアクセスする場合に発生する競合に伴う待ち時間を
短縮するデータ制御装置に関する。
The present invention relates to an apparatus that is composed of a plurality of data processing modules that execute various data processing, and that transfers data between the functional units, and in particular, a shared memory that temporarily stores the data transferred between the functional units. On the other hand, the present invention relates to a data control device that shortens the waiting time due to contention that occurs when each functional unit accesses.

情報処理システムにおける中央処理装置の高性能化、高
速化は著しいものがあり、当然データの処理件数も多く
なるため、そのデータを蓄えるための多くのファイルが
必要となると共に、このファイルは複数の中央処理装置
から使用出来ることが不可欠となって来た。
The central processing unit in an information processing system is remarkably improved in performance and speed, and of course the number of data processing is large. Therefore, many files are required to store the data, and this file is Being able to use it from a central processing unit has become essential.

ところで、情報処理システムの外部記憶装置として使用
される例えばディスク装置は、システム用常駐ファイ
ル、仮想記憶用のベージファイルとして必要不可欠であ
り、更に莫大な情報を格納するためのデータファイルと
しても数多く使用される。
By the way, for example, a disk device used as an external storage device of an information processing system is indispensable as a system resident file and a virtual storage page file, and is also used as a large number of data files for storing enormous amounts of information. To be done.

ところで、このような要求を実現するためのディスク制
御装置は、一つのプロセッサで数多くのチャネル径路や
ディスク装置を制御管理することが困難になりつつあ
る。そこで、考えられたのが、チャネルに対応する機能
単位とディスク装置に対応する機能単位と、これら複数
の機能単位がアクセスする共有メモリと、総ての機能単
位を管理する管理機能単位で構成し、各機能単位を共通
バスで接続したディスク制御装置がある。
By the way, it is becoming difficult for a disk controller for realizing such a demand to control and manage a large number of channel paths and disk devices by one processor. Therefore, the idea was to configure functional units corresponding to channels, functional units corresponding to disk devices, shared memory accessed by these functional units, and management functional units that manage all functional units. There is a disk controller in which each functional unit is connected by a common bus.

このような機能単位で構成されたディスク制御装置で
は、各機能単位が共用するメモリに対するアクセスに対
し、排他制御が必要であるが、この排他制御を行う場合
に待ち時間の発生は少ないことが必要である。
In a disk controller configured with such functional units, exclusive control is required for access to the memory shared by each functional unit, but it is necessary that there be little waiting time when performing this exclusive control. Is.

〔従来の技術〕[Conventional technology]

第3図は機能単位の組合わせで構成されたディスク制御
装置の一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a disk controller configured by combining functional units.

1は共用メモリでボート2を経て共通バス8と接続さ
れ、共通バス8に接続された他の機能単位からアクセス
されてデータ転送を行う。
Reference numeral 1 denotes a shared memory, which is connected to the common bus 8 via the boat 2 and is accessed by another functional unit connected to the common bus 8 to transfer data.

2はポートで、第4図に示す如く構成され、共通バス8
からレシーバ16を経て、他の機能単位が送出するコマン
ドと、該コマンドの出先を示す機能単位のアドレスと、
宛先を示す共通メモリ1に対するアドレスとが入力す
る。
2 is a port, which is configured as shown in FIG.
Command sent from another functional unit via the receiver 16 and the address of the functional unit indicating the destination of the command,
The address for the common memory 1 indicating the destination is input.

デコーダ11には、例えばデータの書込み又は読出しを指
示するコマンドが入力し、比較回路10には宛先を示すア
ドレスが入力し、ポートアドレス9が保持するポートア
ドレスと比較され、一致するとデコーダ11に有効を示す
信号が送出される。
For example, a command for instructing writing or reading of data is input to the decoder 11, an address indicating a destination is input to the comparison circuit 10, and the address is compared with the port address held by the port address 9. If they match, the decoder 11 is effective. Is transmitted.

デコーダ11でデコードしたコマンドが有効となると、デ
コーダ11はアドレスレジスタ13とデータバッファ14を、
イネーブルとする信号を送出する。
When the command decoded by the decoder 11 becomes valid, the decoder 11 sets the address register 13 and the data buffer 14
Send the enable signal.

コマンドバッファ12には、宛先を示す共用メモリ1のア
ドレスが記憶されており、アドレスレジスタ13を経て共
用メモリ1に送出される。従って、宛先を示すアドレス
に続いて機能単位が送出するデータは、データバッファ
14を経て共用メモリ1に転送され、共用メモリ1に書込
まれる。
The command buffer 12 stores the address of the shared memory 1 indicating the destination, and the address is sent to the shared memory 1 via the address register 13. Therefore, the data sent by the functional unit after the address indicating the destination is stored in the data buffer.
It is transferred to the shared memory 1 via 14 and written in the shared memory 1.

又、共用メモリ1からデータを読出す場合、アドレスレ
ジスタ13の送出するアドレスで、データバッファ11に読
出されたデータが、ドライバ15を経て共通バス8に送出
される。
When reading data from the shared memory 1, the data read to the data buffer 11 at the address sent by the address register 13 is sent to the common bus 8 via the driver 15.

尚、ポートアドレス9の保持するアドレスを変更する場
合、デコーダ11が送出する信号に基づき、コマンドバッ
ファ12が送出するアドレスが、ポートアドレス9に書込
まれる。
When changing the address held by the port address 9, the address sent by the command buffer 12 is written in the port address 9 based on the signal sent by the decoder 11.

このようにポート2は共用メモリ1に対する他の機能単
位からのアクセスを制御する。
In this way, the port 2 controls access to the shared memory 1 from other functional units.

4,5はチャネルアダプタで、第5図に示す如く構成さ
れ、プロセッサ19は制御記憶20からプログラムを読出し
て動作し、インタフェース回路17を経て、上位装置であ
るチャネルからのスタートI/O命令の受領と、チャネル
との間のデータ転送を行うと共に、共通バス制御回路18
を制御して、共通バス8を経てポート2にアドレスを送
出し、共用メモリ1との間のデータ転送を行う。
Numerals 4 and 5 are channel adapters, which are constructed as shown in FIG. 5, and the processor 19 reads out a program from the control memory 20 to operate, and through the interface circuit 17, the start I / O instruction from the channel which is the host device. The common bus control circuit 18
To send an address to the port 2 via the common bus 8 to transfer data with the shared memory 1.

6,7はデバイスアダプタで、第5図に示す如く構成さ
れ、プロセッサ19は制御記憶20からプログラムを読出し
て動作し、インタフェース回路17を経て、ディスク装置
に命令を送出して、ディスク装置との間のデータ転送を
行うと共に、共通バス制御回路18を制御して、共通バス
8を経てポート2にアドレスを送出し、共用メモリ1と
の間のデータ転送を行う。
The device adapters 6 and 7 are configured as shown in FIG. 5, and the processor 19 reads out a program from the control memory 20 to operate, sends a command to the disk device through the interface circuit 17, and communicates with the disk device. Data transfer between the shared memory 1 and the shared memory 1 is performed by controlling the common bus control circuit 18 to send an address to the port 2 via the common bus 8.

3はリソースマネージャで、第6図に示す如く構成さ
れ、プロセッサ22は制御記憶21からプログラムを読出し
て動作し、共通バス制御回路23を制御して、共通バス8
を経てチャネルアダプタ4及び5が送出するチャネルか
らの全スタートI/O命令を受領して、RAM24に格納し、こ
のスタートI/O命令を集中管理する。
Reference numeral 3 denotes a resource manager, which is configured as shown in FIG. 6, and the processor 22 reads a program from the control memory 21 to operate and controls the common bus control circuit 23 to make the common bus 8
All start I / O commands from the channels transmitted by the channel adapters 4 and 5 are received and stored in the RAM 24, and the start I / O commands are centrally managed.

そして、各スタートI/O命令毎にチャネルアダプタ4,5と
デバイスアダプタ6,7に処理の指示を行う。又、受領し
た全スタートI/O命令毎の制御情報や、チャネル経路毎
の制御情報、ディスク装置毎の制御情報を集中して記憶
しており、RAMアクセス制御回路25を経て他の機能単位
がRAM24をアクセスし、上記制御情報を読出すことを可
能としている。
Then, the processing instruction is given to the channel adapters 4 and 5 and the device adapters 6 and 7 for each start I / O instruction. Further, the control information for each received all start I / O commands, the control information for each channel path, and the control information for each disk device are centrally stored, and other functional units are passed through the RAM access control circuit 25. It is possible to access the RAM 24 and read the control information.

このように構成されたディスク制御装置で、例えば、チ
ャネルアダプタ4が上位装置のチャネルから選択され、
スタートI/O命令を受領すると、リソースマネージャ3
の指示に従い、指定されたディスク装置を接続している
例えばデバイスアダプタ6と、共通バス8を経て結合
し、ディスク装置との間でデータの転送を行う。この場
合チャネルアダプタ4とデバイスアダプタ6は共用メモ
リ1に転送するデータを一旦記憶させるため、ポート2
をアクセスする。
In the disk controller configured in this way, for example, the channel adapter 4 is selected from the channels of the host device,
Upon receiving the start I / O command, resource manager 3
According to the instruction of (1), the specified disk device is connected to, for example, the device adapter 6 via the common bus 8 and data is transferred to and from the disk device. In this case, since the channel adapter 4 and the device adapter 6 temporarily store the data to be transferred to the shared memory 1, the port 2
To access.

そして、共用メモリ1に交互にデータを格納してデータ
転送を行うが、このデータ転送が終了しない中に、チャ
ネルアダプタ5がチャネルから選択され、デバイスアダ
プタ7を経てディスク装置とデータ転送を行う場合、同
様にして共用メモリ1にデータを一旦記憶させるため、
ポート2をアクセスするが、ポート2は他の機能単位が
共用メモリ1とデータ転送中は占有されているため、使
用することが出来ない。従って、処理効率が低下する。
Then, data is alternately stored in the shared memory 1 and data transfer is performed, but when this data transfer is not completed, the channel adapter 5 is selected from the channel and data is transferred to the disk device via the device adapter 7. , In order to temporarily store the data in the shared memory 1 in the same manner,
Although the port 2 is accessed, the port 2 cannot be used because another functional unit is occupied with the shared memory 1 during data transfer. Therefore, the processing efficiency is reduced.

第7図は複数のポートを備えたディスク制御装置の一例
を示すブロック図である。
FIG. 7 is a block diagram showing an example of a disk controller having a plurality of ports.

第3図ではポートが一つで処理効率が低下するため、ポ
ートを複数設けて処理効率を高めるようにしたものが第
7図である。即ち、ポート2以外にポート26と27を設け
たもので、例えば、チャネルアダプタ4が共用メモリ1
をアクセスする場合、リソースマネージャ3に空いてい
るポートを問い合わせ、リソースマネージャ3が指定す
るアドレスのポート、例えば、ポート27を割当ててもら
い、ポート27にアドレスを送出して、共用メモリ1とデ
ータ転送を行う。
In FIG. 3, since one port has a low processing efficiency, a plurality of ports are provided to improve the processing efficiency in FIG. 7. That is, the ports 26 and 27 are provided in addition to the port 2. For example, the channel adapter 4 uses the shared memory 1
When accessing, the resource manager 3 is inquired about a free port, the port of the address specified by the resource manager 3, for example, port 27 is assigned, the address is sent to the port 27, and the shared memory 1 and the data transfer are performed. I do.

又他の方法として、チャネルアダプタ4,5とデバイスア
ダプタ6,7が夫々独自にポート2,26,27を走査して、空い
ているポートを探してアクセスしている。
As another method, the channel adapters 4 and 5 and the device adapters 6 and 7 individually scan the ports 2, 26 and 27 respectively to search for a free port and access it.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

リソースマネージャ3に空いているポートを問い合わ
せ、空いているポートを割当てもらう方法は、リソース
マネージャに対する問い合わせが競合した時、待たされ
るため、不必要な時間がかかるという問題がある。
The method of inquiring a free port to the resource manager 3 and allocating the free port has a problem that it takes an unnecessary time because it is kept waiting when an inquiry to the resource manager conflicts.

又、機能単位が独自にポートを走査して、空いているポ
ートを探す方法は、走査が共通バス8上で衝突した時、
処理に時間がかかり、同様に不必要な時間がかかるとい
う問題がある。
Further, the method in which each functional unit independently scans a port to search for a vacant port is as follows:
There is a problem that the processing takes time, and similarly, it takes unnecessary time.

本発明は複数のポートに夫々自分が選択されたことを認
識する認識手段と、該認識手段の認識に基づき、選択し
てきた機能単位のアドレスを記憶し、記憶しているアド
レスを持つ機能単位のデータ転送のみ実行する指示を行
う指示手段を設け、新たに複数のポートに優先順位を与
える自動割当制御回路を設けて、ポートの数だけの機能
単位のアクセスには自動的に、且つ、瞬時に共用メモリ
の使用を割当てるようにして、共用メモリ1に対する機
能単位の競合を処理し、不必要な処理時間の発生を防止
することを目的としている。
The present invention recognizes each of a plurality of ports for recognizing that one has been selected, stores the address of the selected functional unit based on the recognition of the recognizing unit, and stores the address of the functional unit having the stored address. By providing an instruction means for instructing to execute only data transfer and newly providing an automatic allocation control circuit for giving priority to a plurality of ports, access to functional units corresponding to the number of ports is automatically and instantly performed. By allocating the use of the shared memory, it is intended to handle the competition of the functional units with respect to the shared memory 1 and prevent the occurrence of unnecessary processing time.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

ポート28〜30は同一のアドレスを付与されているものと
する。ここで、例えば機能単位44が共通バス8に、コマ
ンドと機能単位44のアドレスとポートのアドレスを送出
すると、自動割当制御回路31は予め定めた優先順位に従
い、ポート28〜30の認識手段42が送出するコマンドをデ
コードした信号に対し、最高の優先順位のポートに、例
えばポート28にのみ応答する。
It is assumed that the ports 28 to 30 have the same address. Here, for example, when the functional unit 44 sends a command, the address of the functional unit 44, and the address of the port to the common bus 8, the automatic allocation control circuit 31 follows the predetermined priority order, and the recognition means 42 of the ports 28 to 30 Only the port having the highest priority, for example, the port 28, responds to the signal obtained by decoding the command to be transmitted.

従って、ポート28の認識手段42は自分が選択されたこと
を認識し、指示手段43に共通バス8にアドレスを送出し
て来た機能単位44のアドレスを記憶させる。ここで、指
示手段43はこの記憶したアドレスを送出して来た機能単
位44のみに共用メモリ1をアクセスさせる指示を機能単
位44に送出する。
Therefore, the recognition means 42 of the port 28 recognizes that it has been selected, and causes the instruction means 43 to store the address of the functional unit 44 which has sent the address to the common bus 8. Here, the instruction means 43 sends to the functional unit 44 an instruction to access the shared memory 1 only to the functional unit 44 which has sent out the stored address.

続いて、機能単位45がコマンドと機能単位45のアドレス
とポートのアドレスを送出すると、自動割当制御回路31
は予め定めた優先順位に従い、ポート28〜30の認識手段
42が送出するコマンドをデコードした信号に対し、最高
の優先順位のポートに、例えばポート29にのみ応答す
る。
Then, when the functional unit 45 sends out the command, the address of the functional unit 45, and the address of the port, the automatic allocation control circuit 31
Is a means of recognizing ports 28 to 30 according to a predetermined priority.
Only the port having the highest priority, for example, the port 29, responds to the signal obtained by decoding the command sent by 42.

従って、ポート29の認識手段42は自分が選択されたこと
を認識し、指示手段43に共通バス8にアドレスを送出し
て来た機能単位45のアドレスを記憶させる。ここで、指
示手段43はこの記憶したアドレスを送出して来た機能単
位45のみに共用メモリ1をアクセスさせる指示を機能単
位45に送出する。
Therefore, the recognition means 42 of the port 29 recognizes that it has been selected, and causes the instruction means 43 to store the address of the functional unit 45 which has sent the address to the common bus 8. Here, the instruction means 43 sends to the functional unit 45 an instruction to access the shared memory 1 only to the functional unit 45 which has sent out the stored address.

続いて、機能単位46がコマンドと機能単位46のアドレス
とポートのアドレスを送出すると、自動割当制御回路31
は予め定めた優先順位に従い、ポート28〜30の認識手段
42が送出するコマンドをデコードした信号に対し既に応
答済みの次の優先順位のポートに、例えばポート30にの
み応答する。
Then, when the functional unit 46 sends out the command, the address of the functional unit 46, and the address of the port, the automatic allocation control circuit 31
Is a means of recognizing ports 28 to 30 according to a predetermined priority.
Only the port of the next priority, which has already responded to the signal obtained by decoding the command sent by 42, for example, the port 30, is responded to.

従って、ポート30の認識手段42は自分が選択されたこと
を認識し、指示手段43に共通バス8にアドレスを送出し
て来た機能単位46のアドレスを記憶させる。ここで、指
示手段43はこの記憶したアドレスを送出して来た機能単
位46のみに共用メモリ1をアクセスさせる指示を機能単
位46に送出する。
Therefore, the recognition means 42 of the port 30 recognizes that it has been selected, and causes the instruction means 43 to store the address of the functional unit 46 which has sent the address to the common bus 8. Here, the instruction means 43 sends to the functional unit 46 an instruction to access the shared memory 1 only to the functional unit 46 that has sent out the stored address.

続いて、機能単位47がコマンドと機能単位47のアドレス
とポートのアドレスを送出すると、自動割当制御回路31
はポート28〜30の認識手段42が送出するコマンドをデコ
ードした信号に対し応答しない。ポート30は優先順位が
最低であることから、ポート30の認識手段42はビジー信
号を共通バス8に送出する。
Then, when the functional unit 47 sends a command, the address of the functional unit 47, and the address of the port, the automatic allocation control circuit 31
Does not respond to the signal obtained by decoding the command transmitted by the recognition means 42 of the ports 28 to 30. Since the port 30 has the lowest priority, the recognition means 42 of the port 30 sends a busy signal to the common bus 8.

〔作用〕[Action]

上記の如く構成することにより、自動割当制御回路31は
ポート28〜30に対し、優先順位に従って、機能単位から
のアクセスを順次割当てるため、各ポートの認識手段42
はアクセスしてきた機能単位のアドレスを指示手段43に
記憶させる。従って、指示手段43は記憶したアドレスを
持つ機能単位に対し、共用メモリ1との間のデータ転送
を許容するため、ポートに対するアクセス競合に対し、
優先順にアクセスを割当てることが可能となり、機能単
位がポートの割当てのため、待ち時間の発生することを
防止出来る。
With the above-mentioned configuration, the automatic allocation control circuit 31 sequentially allocates the access from the functional units to the ports 28 to 30 in accordance with the priority order.
Stores the address of the accessed functional unit in the instruction means 43. Therefore, the instructing unit 43 allows the functional unit having the stored address to transfer data to and from the shared memory 1.
It becomes possible to allocate access in order of priority, and since functional units allocate ports, it is possible to prevent a wait time from occurring.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.

ポート28,29,30は同一構成であり、デコーダ11とデータ
バッファ14を除き第4図に追加された部分を示す。デコ
ーダ11は前記の如く、デコードした内容が有効となる
と、“1"をAND回路35に送出する。
Ports 28, 29 and 30 have the same structure, and show the parts added to FIG. 4 except the decoder 11 and the data buffer 14. As described above, the decoder 11 sends "1" to the AND circuit 35 when the decoded contents become valid.

フリップフロップ34は初期時はセットされていないた
め、AND回路35に“1"を送出しており、AND回路35は“1"
をAND回路33に送出する。従って、AND回路33はデコーダ
11が送り出する“1"をフリップフロップ34に送出し、フ
リップフロップ34はセットされて、自動割当制御回路31
のAND回路40と41に“1"を送出し、AND回路35には“0"を
送出する。
Since the flip-flop 34 is not set at the initial stage, "1" is sent to the AND circuit 35, and the AND circuit 35 outputs "1".
To the AND circuit 33. Therefore, the AND circuit 33 is a decoder
The "1" sent by 11 is sent to the flip-flop 34, the flip-flop 34 is set, and the automatic allocation control circuit 31
“1” is sent to the AND circuits 40 and 41, and “0” is sent to the AND circuit 35.

従って、AND回路33は再び“0"をフリップフロップ34に
送出するが、フリップフロップ34はリセットされるま
で、“1"をAND回路40と41に送出している。
Therefore, the AND circuit 33 sends "0" to the flip-flop 34 again, but the flip-flop 34 sends "1" to the AND circuits 40 and 41 until it is reset.

アドレスレジスタ37はAND回路35が“1"を送出したこと
で、イネーブルとなり、ポート28をアクセスした機能単
位のアドレスを記憶し、比較回路38に送出する。比較回
路38は機能単位がデータ転送を要求する度に、該機能単
位のアドレスを共通バス8に送出するため、共通バス8
から入力する機能単位のアドレスが、アドレスレジスタ
37の記憶しているアドレスと一致すると、“1"をAND回
路39に送出する。
The address register 37 is enabled by the AND circuit 35 sending "1", stores the address of the functional unit that accessed the port 28, and sends it to the comparison circuit 38. The comparison circuit 38 sends out the address of the functional unit to the common bus 8 every time the functional unit requests data transfer.
The address of the functional unit input from the
When it matches the address stored in 37, "1" is sent to the AND circuit 39.

従って、AND回路39はデコーダ11が送出する“1"をデー
タバッファ14に送出し、データバッファ14をイネーブル
として、共用メモリ1と共通バス8の間のデータ転送を
行わせる。
Therefore, the AND circuit 39 sends "1" sent from the decoder 11 to the data buffer 14, enables the data buffer 14, and causes data transfer between the shared memory 1 and the common bus 8.

ポート28をアクセスして、共用メモリ1とデータ転送を
行った機能単位が、データ転送が完了し、ポート28との
結合を解除するコマンドを送出すると、デコーダ11はこ
のコマンドをデコードする。
When the functional unit that has accessed the port 28 and transferred data to the shared memory 1 sends a command for releasing the coupling with the port 28 after the data transfer is completed, the decoder 11 decodes this command.

比較回路38はアドレスレジスタ37のアドレスと比較し、
一致したことから、デコーダ11のデコードした結合解除
のコマンドを有効とするため、デコーダ11は“0"を送出
する。従って、NOT回路36は“1"をフリップフロップ34
に送出して、フリップフロップ34をリセットするため、
フリップフロップ34は、AND回路35に再び“1"を送出す
る。
The comparison circuit 38 compares with the address of the address register 37,
Since they match, the decoder 11 sends "0" to validate the decoded decoupling command of the decoder 11. Therefore, the NOT circuit 36 outputs "1" to the flip-flop 34.
To reset the flip-flop 34,
The flip-flop 34 sends “1” to the AND circuit 35 again.

又、アドレスレジスタ37は、デコーダ11が“0"を送出す
ると、リセットされ記憶している機能単位のアドレスを
消去する。
Further, the address register 37 is reset when the decoder 11 sends out "0", and erases the stored address of the functional unit.

ポート28以外のポート29,30のデコーダ11も、デコード
した内容が有効となると、“1"をポート29と30のAND回
路35に夫々送出し、ポート29と30のフリップフロップ34
が夫々“1"を送出しているため、ポート29のAND回路35
は“1"を自動割当制御回路31のAND回路40に送出する
が、この時ポート28のフリップフロップ34が自動割当制
御回路31のAND回路40に未だ“1"を送出していないた
め、AND回路40はポート29のAND回路33に“1"を送出しな
い。
When the decoded contents become valid, the decoders 11 of the ports 29 and 30 other than the port 28 also send "1" to the AND circuits 35 of the ports 29 and 30, respectively, and the flip-flops 34 of the ports 29 and 30.
Each send "1", the AND circuit 35 of port 29
Sends "1" to the AND circuit 40 of the automatic allocation control circuit 31. At this time, the flip-flop 34 of the port 28 has not yet sent "1" to the AND circuit 40 of the automatic allocation control circuit 31. The circuit 40 does not send "1" to the AND circuit 33 of the port 29.

従って、ポート29のアドレスレジスタ37はイネーブルと
はならず、又、自動割当制御回路31のAND回路41も、
“0"を送出したままであるため、ポート30のアドレスレ
ジスタ37もイネーブルとはならず、ポートをアクセスし
てきた機能単位のアドレスは、ポート28のアドレスレジ
スタ37にのみ記憶される。
Therefore, the address register 37 of the port 29 is not enabled, and the AND circuit 41 of the automatic allocation control circuit 31 is also
Since "0" is still sent, the address register 37 of the port 30 is not enabled either, and the address of the functional unit that has accessed the port is stored only in the address register 37 of the port 28.

ポート28が占有されている時、続いてポートをアクセス
する機能単位があった場合、ポート28のデコーダ11がデ
コードして“1"を送出しても、ポート28のAND回路35は
ポート28のフリップフロップ34が“0"を送出しているた
め、ポート28のAND回路35は“0"を送出したまである。
When the port 28 is occupied and there is a functional unit that accesses the port subsequently, even if the decoder 11 of the port 28 decodes and outputs "1", the AND circuit 35 of the port 28 does not Since the flip-flop 34 is sending out "0", the AND circuit 35 of the port 28 remains until it sends out "0".

従って、ポート28のアドレスレジスタ37は新たな機能単
位のアドレスを記憶することは無い。しかし、自動割当
制御回路31のAND回路40は、ポート28のフリップフロッ
プ34が“1"を送出しているため、ポート29のデコーダ11
が“1"を送出し、ポート29のAND回路35が“1"を送出す
ると、“1"をポート29のAND回路33とアドレスレジスタ3
7に送出する。従って、ポート29のアドレスレジスタ37
はイネーブルとなって、新たな機能単位のアドレスを記
憶する。
Therefore, the address register 37 of the port 28 does not store the address of the new functional unit. However, because the AND circuit 40 of the automatic allocation control circuit 31 outputs “1” from the flip-flop 34 of the port 28, the decoder 11 of the port 29
Sends "1" and the AND circuit 35 of the port 29 sends "1", the "1" is sent to the AND circuit 33 of the port 29 and the address register 3
Send to 7. Therefore, the address register 37 of port 29
Is enabled and stores the address of the new functional unit.

同時に、ポート29のフリップフロップ34は“1"を自動割
当制御回路31のAND回路41に送出する。従って、ポート3
0のデコーダ11が“1"を送出すると、前記同様に、ポー
ト30のフリップフロップ34は“1"をAND回路41に送出す
る。
At the same time, the flip-flop 34 of the port 29 sends “1” to the AND circuit 41 of the automatic allocation control circuit 31. Therefore, port 3
When the decoder 11 of 0 sends out "1", the flip-flop 34 of the port 30 sends out "1" to the AND circuit 41 as described above.

この時ポート28のフリップフロップ34も“1"をAND回路4
1に送出しているため、AND回路41は“1"を送出する。従
って、ポート30のアドレスレジスタ37はイネーブルとな
り、次にポートをアクセスしてきた機能単位のアドレス
を記憶する。
At this time, the flip-flop 34 of the port 28 also sets "1" to the AND circuit 4
Since it is transmitting to 1, the AND circuit 41 transmits "1". Therefore, the address register 37 of the port 30 is enabled and stores the address of the functional unit that next accessed the port.

そして、ポート30のフリップフロップ34は“1"を共通バ
ス8に送出し、ポート28〜30まで、総て使用中であるこ
とを示すビジー信号とする。
Then, the flip-flop 34 of the port 30 sends "1" to the common bus 8 and makes it a busy signal indicating that all of the ports 28 to 30 are in use.

〔発明の効果〕〔The invention's effect〕

以上説明した如く、本発明は複数の機能単位が共用メモ
リをアクセスする場合に、複数のポートが総て使用中と
なるまでは、アクセス順にポートを自動的に瞬時に割当
てるため、ポート割当てのための待ち時間の発生を防止
することが可能で、入出力制御装置の処理効率を高める
ことが出来る。
As described above, according to the present invention, when a plurality of functional units access a shared memory, the ports are automatically and instantly allocated in the order of access until all the ports are in use. It is possible to prevent the occurrence of the waiting time and improve the processing efficiency of the input / output control device.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路のブロック図、 第3図は機能単位の組合わせで構成されたディスク制御
装置の一例を示すブロック図、 第4図はポートの一例を示すブロック図、 第5図はチャネルアダプタ及びデバイスアダプタの一例
を示すブロック図、 第6図はリソースマネージャの一例を示すブロック図、 第7図は複数のポートを備えたディスク制御装置の一例
を示すブロック図である。 図において、 1は共用メモリ、2,26,27,28〜30はポート、 3はリソースマネージャ、 4,5はチャネルアダプタ、 6,7はデバイスアダプタ、 8は共通バス、9はポートアドレス、 10,38は比較回路、11はデコーダ、 12はコマンドバッファ、 13,37はアドレスレジスタ、 14はデータバッファ、15はドライバ、 16はレシーバ、17はインタフェース回路、 18,23は共通バス制御回路、 19,22はプロセッサ、20,21は制御記憶、 24はRAM、 25はRAMアクセス制御回路、 31は自動割当制御回路、 33,35,39,40,41はAND回路、 34はフリップフロップ、 36はNOT回路、42は認識手段、 43は指示手段、 44〜47はデータ処理モジュール(機能単位)である。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a block diagram showing an example of a disk controller configured by combining functional units. , FIG. 4 is a block diagram showing an example of a port, FIG. 5 is a block diagram showing an example of a channel adapter and a device adapter, FIG. 6 is a block diagram showing an example of a resource manager, and FIG. It is a block diagram showing an example of a disk control device provided. In the figure, 1 is a shared memory, 2, 26, 27, 28 to 30 are ports, 3 is a resource manager, 4,5 are channel adapters, 6, 7 are device adapters, 8 is a common bus, 9 is a port address, 10 , 38 is a comparison circuit, 11 is a decoder, 12 is a command buffer, 13,37 is an address register, 14 is a data buffer, 15 is a driver, 16 is a receiver, 17 is an interface circuit, 18, 23 is a common bus control circuit, 19 , 22 is a processor, 20,21 is a control memory, 24 is a RAM, 25 is a RAM access control circuit, 31 is an automatic allocation control circuit, 33,35,39,40,41 is an AND circuit, 34 is a flip-flop, and 36 is A NOT circuit, 42 is a recognition means, 43 is an instruction means, and 44 to 47 are data processing modules (functional units).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置とのデータの送受信の処理を
実行する複数のデータ処理モジュール(44)〜(45)及
びデータ記憶デバイスとのデータの送受信の処理を実行
する複数のデータ処理モジュール(46)〜(47)と、前
記データ処理モジュール(44)〜(47)間で転送される
データを一時記憶する共用メモリ(1)と、前記共用メ
モリ(1)に接続され該共用メモリへのアクセスを制御
する複数のポート(28)(29)(30)と、前記データ処
理モジュール(44)〜(47)及び前記複数のポート(2
8)(29)(30)が接続される共通バス(8)とを有
し、前記中央処理装置からの命令により、該中央処理装
置と前記複数のデータ記憶デバイスとの間のデータ転送
を制御するデータ制御装置において、 前記複数のポート(28)(29)(30)に同一のアドレス
を与えると共に、該各ポート(28)(29)(30)内に、 前記データ処理モジュール(44)〜(47)により前記ポ
ート(28)(29)(30)のアドレスをもってアクセスさ
れたとき自己のポートが後記自動割当制御手段(31)に
より選択済みでない場合は、該自動割当制御手段(31)
へ該アクセスに伴って送付されたコマンドをデコードし
た信号を送り、該自動割当制御手段(31)から選択され
た時は選択されたことを認識する認識手段(42)と、前
記認識手段(42)の選択された認識に基づき前記自己の
ポートをアクセスしてきた前記データ処理モジュール
(44)〜(47)のアドレスを記憶し、以後該データ処理
モジュール(44)〜(47)からの結合解除のコマンドを
受け取るまでは前記記憶しているアドレスを持つデータ
処理モジュール(44)〜(47)とのデータ転送のみ実行
する指示を行う指示手段(43)とを夫々設けると共に、 前記複数のポート(28)(29)(30)に同一アドレスを
与えたことにより発生し得る複数のポート(28)(29)
(30)による同一アクセスの同時検出によって前記各ポ
ート(28)(29)(30)に設けた前記認識手段(42)か
らのコマンドのデコード信号の送出に対して各ポート
(28)(29)(30)に予め設定してある優先順位に従っ
て既に選択済の次の優先順位のポートに共用メモリ
(1)へのアクセス許可を与える選択を行うと共に、前
記複数のポート(28)(29)(30)からの前記共用メモ
リ(1)へのアクセス要求があったとき、既に選択済の
次の優先順位のポート(28)(29)(30)を順次アクセ
ス順に割当て前記許可を与える選択を行う自動割当制御
手段(31)を設け、 複数の前記データ処理モジュール(44)〜(47)が前記
共用メモリ(1)に対してアクセスするため前記ポート
(28)(29)(30)にアクセス要求を出した時に、前記
優先順位に従って複数の前記ポート(28)(29)(30)
のアクセス順を割当て、前記共用メモリ(1)と前記ポ
ートの前記指示手段(43)にアドレスを記憶された前記
データ処理モジュール(44)〜(47)との間のデータ転
送を行わせることを特徴とするデータ制御装置。
1. A plurality of data processing modules (44) to (45) for executing a process of transmitting and receiving data to and from a central processing unit, and a plurality of data processing modules (for executing a process of transmitting and receiving data to and from a data storage device ( 46) to (47), a shared memory (1) for temporarily storing data transferred between the data processing modules (44) to (47), and a shared memory connected to the shared memory (1) A plurality of ports (28) (29) (30) for controlling access, the data processing modules (44) to (47) and the plurality of ports (2
8) A common bus (8) to which (29) and (30) are connected, and controls data transfer between the central processing unit and the plurality of data storage devices according to an instruction from the central processing unit. In the data control device, the same address is given to the plurality of ports (28) (29) (30), and the data processing modules (44) to (44) to (29) are provided in the respective ports (28) (29) (30). When the port (28) (29) (30) is accessed by (47) and its own port has not been selected by the automatic allocation control means (31) described later, the automatic allocation control means (31)
To the automatic allocation control means (31), a recognition means (42) for recognizing that the command has been decoded, the recognition means (42), and the recognition means (42). ) Stores the addresses of the data processing modules (44) to (47) that have accessed the self-port based on the selected recognition, and thereafter, the connection cancellation from the data processing modules (44) to (47) is performed. An instruction means (43) for instructing to execute only data transfer with the data processing modules (44) to (47) having the stored address is provided respectively until a command is received, and the plurality of ports (28 ) (29) (30) multiple ports that can be generated by giving the same address (28) (29)
By the simultaneous detection of the same access by (30), each port (28) (29) responds to the transmission of the decode signal of the command from the recognition means (42) provided in each port (28) (29) (30). A selection is made to give access permission to the shared memory (1) to the port having the next priority already selected in accordance with the priority set in advance in (30), and the plurality of ports (28) (29) ( When there is an access request to the shared memory (1) from (30), the ports (28), (29) and (30) of the next priority that have already been selected are sequentially assigned in the access order and the permission is selected. An automatic allocation control means (31) is provided, and an access request is made to the ports (28) (29) (30) for the plurality of data processing modules (44) to (47) to access the shared memory (1). According to the above priority, Number said port (28) (29) (30)
And assigning an access order to the data processing modules (44) to (47) whose addresses are stored in the shared memory (1) and the instruction means (43) of the port. Characteristic data control device.
JP19588787A 1987-08-05 1987-08-05 Data controller Expired - Lifetime JPH07120341B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19588787A JPH07120341B2 (en) 1987-08-05 1987-08-05 Data controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19588787A JPH07120341B2 (en) 1987-08-05 1987-08-05 Data controller

Publications (2)

Publication Number Publication Date
JPS6438861A JPS6438861A (en) 1989-02-09
JPH07120341B2 true JPH07120341B2 (en) 1995-12-20

Family

ID=16348635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19588787A Expired - Lifetime JPH07120341B2 (en) 1987-08-05 1987-08-05 Data controller

Country Status (1)

Country Link
JP (1) JPH07120341B2 (en)

Also Published As

Publication number Publication date
JPS6438861A (en) 1989-02-09

Similar Documents

Publication Publication Date Title
US5907684A (en) Independent channel coupled to be shared by multiple physical processing nodes with each node characterized as having its own memory, CPU and operating system image
US6523088B2 (en) Disk array controller with connection path formed on connection request queue basis
US5574862A (en) Multiprocessing system with distributed input/output management
US4485438A (en) High transfer rate between multi-processor units
JPH04257054A (en) Inter-channel connecting apparatus
US6728843B1 (en) System and method for tracking and processing parallel coherent memory accesses
KR100630071B1 (en) High speed data transmission method using DM in multiprocessor environment and apparatus therefor
JP2002278833A (en) Disk array controller
JPH07191930A (en) Interface for disk device and control method therefor
CN120705094A (en) Interrupt processing method, PCIe system and storage medium
CN116107697B (en) Method and system for communication between different operating systems
JPH07120341B2 (en) Data controller
JPH11232213A (en) Data transfer system for input/output device
CN117370231B (en) Protocol conversion module and method for realizing network bus access on chip of GPU (graphics processing Unit)
KR102833295B1 (en) System-on-chip for managing control authorization to share physical resources by heterogeneous multi cpu and method thereof
CN115878522B (en) Data transmission device and system
JPH064401A (en) Memory access circuit
JPH08272754A (en) Multiprocessor system
JP4983133B2 (en) INPUT / OUTPUT CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM
US4809218A (en) Apparatus and method for increased system bus utilization in a data processing system
JPH0337339B2 (en)
JPH0823854B2 (en) Control device
JPS593665A (en) Multiaccessible memory system
JP2000250712A (en) Disk array controller
JPH064464A (en) Peripheral device access device