JPS59170956A - Coupling device of computer - Google Patents

Coupling device of computer

Info

Publication number
JPS59170956A
JPS59170956A JP4542183A JP4542183A JPS59170956A JP S59170956 A JPS59170956 A JP S59170956A JP 4542183 A JP4542183 A JP 4542183A JP 4542183 A JP4542183 A JP 4542183A JP S59170956 A JPS59170956 A JP S59170956A
Authority
JP
Japan
Prior art keywords
computer
register
address
main memory
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4542183A
Other languages
Japanese (ja)
Inventor
Katsumi Muraki
村木 克己
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4542183A priority Critical patent/JPS59170956A/en
Publication of JPS59170956A publication Critical patent/JPS59170956A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent data from damage due to accessing from another computer and to eliminate the change in an opposite computer even if a data storing address in a main memory is changed and to execute maintenance easily by providing the titled device with an address conversion means and an access control means. CONSTITUTION:When a main memory 2b of a computer 1b is accessed from a computer 1a, logical address information outputted from the computer 1a is transferred to an address register 9a and a data register 60a seccessively, then transferred to an address register 61a in a coupling device 3b. The transferred logical address information is converted into physical address information corresponding to the main memory 2b by an address conversion circuit 11b, and converted information is transferred to an address register 9b. The physical address information transferred to the register 9b is supplied to the main memory 2b through a bus line 7b and stored data in the main memory 2b are read out and transferred to a data register 10a through the register 61b. Since both the address conversion means and address control means are connected, data can be prevented from damage due to access from another computer and system design and program maintenance can be easily performed.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、主メモリを有する2つの計算機のそれぞれに
接続され、一方の計算機から他方の計算機の主メモリに
対するアクセスを仲介する計算機結合装置に関するもの
である。
Detailed Description of the Invention [Technical Field of the Invention] The present invention relates to a computer coupling device that is connected to each of two computers each having a main memory and mediates access from one computer to the main memory of the other computer. It is.

〔従来技術〕[Prior art]

従来、この種の装置として第1図に示すようなものがあ
る。第1図において、(11L)および(1b)は主メ
モリ(2Jおよび(2b)をそれぞれ有する計算機、(
3a)および(3b)はバス制御回路(4g=)、(4
b)、制御回路(sa)、(sb)、データ送受レジス
タ(6m)、(6b)をそれぞれ有する結合装置、(y
a)および(7b)は計算機(1m)、主メモリ(2m
)、結合装置(3a)および計算機(lb)、主メモリ
(2b)、結合装置(3b)の間を結ぶパスライン(ア
ドレスバスおよヒテータバス)、(8)は結合装置(3
m)と(3b)間を結合する線路である。
Conventionally, there is a device of this type as shown in FIG. In FIG. 1, (11L) and (1b) are computers having main memories (2J and (2b), respectively);
3a) and (3b) are bus control circuits (4g=), (4
b), a coupling device having control circuits (sa), (sb), data transmission/reception registers (6m), (6b), respectively;
a) and (7b) are computer (1m), main memory (2m)
), a path line (address bus and hitator bus) connecting the coupling device (3a), the computer (lb), the main memory (2b), and the coupling device (3b); (8) is the coupling device (3b);
This is a line that connects between (m) and (3b).

このような構成において、計算機(Im)から一方の計
算機(1b)の主メモIJ (2b)をアクセスして必
要なデータを取出す場合について説明すると、まず計算
機(詣)は必要とするデータが格納されている主メモリ
(2b)のアドレス情報をパスライン(71L)に送出
する。すると、このアドレス情報は結合装置(3^)に
おけるバス制御回路(4a)に読込まれ、ここにおいて
バス制御回路(4a)自体の制御対象に関係するアドレ
ス情報であるか否かが判別される。判別の結束、バス制
御回路(4a)の制御に関係するアドレス情報であれば
、このアドレス情報は制御回路(5a)の制御によって
データ送受レジスタ(6a)に転送され、さらにこのデ
ータ送受レジスタ(に)および線路(8)を介して結合
装置(3b)のデータ送受レジスタ(6b)に転送され
る。
In such a configuration, to explain the case where the computer (Im) accesses the main memo IJ (2b) of one computer (1b) and retrieves the necessary data, the computer (Im) first stores the necessary data. The address information of the main memory (2b) that has been stored is sent to the pass line (71L). Then, this address information is read into the bus control circuit (4a) in the coupling device (3^), and it is determined here whether or not the address information is related to the object to be controlled by the bus control circuit (4a) itself. If the address information is related to the determination and control of the bus control circuit (4a), this address information is transferred to the data transmission/reception register (6a) under the control of the control circuit (5a), and is further transferred to the data transmission/reception register (6a). ) and the line (8) to the data transmission/reception register (6b) of the coupling device (3b).

データ送受レジスタ(6b)にアドレス情報が転送され
てくると、結合装置(3b)における制御回路(5b)
はこのときの入力アドレス情報をパスライン(γb)に
送出する。これによって、このアドレス情報に対応した
主メモIJ (2b)のアドレスから記憶データが読出
される。そして、この読出しデータは制御回路(5b)
の制御によってデータ送受レジスタ(6b)を介して一
方の結合装置(3ル)のデータ送受レジスタ(6a)に
転送され、さらには制御回路(Sa)の制御によってパ
スライン(7瓢)を介して計算機(1&)に転送される
。これによって、計算機(1a)id二必要とするデー
タを一方の計算機(1b)の主メモリ(2b)から得る
ことができる。
When the address information is transferred to the data transmission/reception register (6b), the control circuit (5b) in the coupling device (3b)
sends the input address information at this time to the pass line (γb). As a result, stored data is read from the address of the main memory IJ (2b) corresponding to this address information. This read data is sent to the control circuit (5b)
The data is transferred to the data sending/receiving register (6a) of one coupling device (3) via the data sending/receiving register (6b) under the control of the control circuit (Sa), and is further transferred via the pass line (7) under the control of the control circuit (Sa). Transferred to computer (1&). As a result, data required by the computer (1a) id can be obtained from the main memory (2b) of one of the computers (1b).

従って、このような構成においては一方の計算機の主メ
モリの内容を当該計算機の制御を受けずに直接読み書き
することができるため、各種の分散処理システムに適用
することができる。
Therefore, in such a configuration, the contents of the main memory of one computer can be directly read and written without being controlled by that computer, so it can be applied to various distributed processing systems.

しかしながら、一方の計算機から他方の計算機の主メモ
リをアクセスする場合、アクセス対象の主メモリに対す
るアドレスを直接指定しているため、アクセスされる側
の計算機にとっては自己の側の主メモリ内のデータを保
饅することができないという欠点がある。また、主メモ
リ内のデータの格納番地を変更した場合には相手にもそ
の旨を知らせなければならない。すなわち、結合装置に
よって結合される2台の計算機のプログラムを同時に変
更しなければならないという欠点がある。
However, when one computer accesses the main memory of another computer, the address of the main memory to be accessed is directly specified, so the computer being accessed cannot access the data in its own main memory. The drawback is that it cannot be preserved. Furthermore, if the data storage address in the main memory is changed, the other party must also be informed of this fact. That is, there is a drawback that the programs of the two computers connected by the combining device must be changed at the same time.

〔発明の概要〕[Summary of the invention]

本発明は上記のような欠点を解決するためになされたも
ので、その目的はデータ保護を可能にし、かつ主メモリ
内のデータの格納番地を変更しても相手の計算機のプロ
グラムの変更を必要としない計算機結合装置を提供する
ことにある。
The present invention was made in order to solve the above-mentioned drawbacks, and its purpose is to enable data protection, and even if the data storage address in main memory is changed, it is not necessary to change the program of the other computer. The object of the present invention is to provide a computer coupling device that does not require a computer connection.

このために本発明は、一方の計算機から自己が接続され
ている側の計算機の主メモリに対するアドレス情報を自
己が接続されている側の計算機により割当てられたアド
レス情報に変換して該当する主メモリに供給するアドレ
ス変換手段と、自己が接続されている側の計算機の主メ
モリに対する一方の計算機からのアクセスを自己が接続
されている側の計算機によシ定められたメモリ領域につ
いてのみ許可するアクセス制御手段とを設けたものであ
る。
For this purpose, the present invention converts the address information from one computer to the main memory of the computer to which it is connected to the address information allocated by the computer to which it is connected, and converts the address information from one computer to the main memory of the computer to which it is connected. and an address conversion means that supplies access to the main memory of the computer to which it is connected, allowing access from one computer only to the memory area specified by the computer to which it is connected. A control means is provided.

〔発明の実施例〕[Embodiments of the invention]

第2図は本発明の一実施例を示すブロック図であって、
第1図と同一部分は同一記号を用いて表わしている。同
図において、結合装置(3m) 、(3b)はバス制御
回路(4凰)+(4b)、制御回路(5m) 、(5b
)、データ送受レジスタ(6m)、(6b)とから構成
されている。バス制御回路(4m)および(4b)はア
ドレスレジスタ(9m)、(9b)とデータレジスタ(
10m)、(10b)とをそれぞれ備え、制御回路(5
m) 、(sb)はアドレス変換回路(ILa)、(1
1b)を備えている。また、データ送受レジスタ(6m
)、(6b)は、データレジスタcsoa)、(sob
)とアドレスレジスタ(61m) 、 (61b)とを
それぞれ備えている。
FIG. 2 is a block diagram showing an embodiment of the present invention,
The same parts as in FIG. 1 are represented using the same symbols. In the same figure, the coupling device (3m), (3b) is the bus control circuit (4 凰) + (4b), the control circuit (5m), (5b
), data transmission/reception registers (6m), and (6b). Bus control circuits (4m) and (4b) are connected to address registers (9m) and (9b) and data registers (
10m) and (10b), and a control circuit (5
m), (sb) are address conversion circuits (ILa), (1
1b). In addition, a data transmission/reception register (6m
), (6b) are data registers csoa), (sob
) and address registers (61m) and (61b), respectively.

第3図は、アドレスレジスタ(9b)、アドレス変換回
路(11b)、  アドレスレジスタ(61b)の関係
を示す詳細図であって、アドレス変換回路(11b)は
デコーダ(100)、  レジスタファイル(101)
l +/レジスタtl)2t)および(103)を備え
、レジスタファイル(101)は主メモIJ (2b)
におけるメモリ領域の分割数に対応して複数個に分割さ
れている。そして、分割された各レジスタファイルには
対応するメモリ領域に対するアクセスを禁止または許可
するための7ラグレジスタ(104)が設けられている
0なお、結合装置(3a)についても全く同様に構成さ
れている。
FIG. 3 is a detailed diagram showing the relationship between the address register (9b), the address conversion circuit (11b), and the address register (61b), where the address conversion circuit (11b) is connected to the decoder (100) and the register file (101).
l+/register tl)2t) and (103), and the register file (101) is the main memory IJ (2b)
It is divided into a plurality of parts corresponding to the number of divisions of the memory area. Each divided register file is provided with seven lag registers (104) for prohibiting or permitting access to the corresponding memory area. Note that the coupling device (3a) is also configured in exactly the same way. There is.

このような構成において、アドレス変換回路(11m)
のレジスタファイル(101)には相手の計算機(1b
)が知っている主メモリ(2a)の論理アドレス情報に
対応する物理アドレス情報が計算機(1a)のオペlノ
ーティングシステムによって登録される。
In such a configuration, the address conversion circuit (11m)
The register file (101) of the other party's computer (1b
Physical address information corresponding to the logical address information of the main memory (2a) known to the computer (1a) is registered by the operating system of the computer (1a).

一方、アドレス変換回路(11b)のレジスタ7゛アイ
ル(101)には相手の計算機(1a)が知っている主
メモリ(2b)の論理アドレス情報に対応する物理アド
レス情叩が登録される。この場合、相手の計算機からの
アクセスを禁止しだいメそり領域があるときには、その
メモリ領域に対応するレジスタファイルの7ラグレジス
タ(f04)にアクセス禁止を示す−IIの情報が登録
される。
On the other hand, physical address information corresponding to the logical address information of the main memory (2b) known to the other party's computer (1a) is registered in the register 7'isle (101) of the address conversion circuit (11b). In this case, if there is a memory area for which access from the other party's computer is prohibited, information of -II indicating access prohibition is registered in the 7-lag register (f04) of the register file corresponding to that memory area.

このような状態で、計算機(1&)から計算機(1b)
の主メモリ(2b)をアクセスする場合について説明す
ると、まず、計算機(1m)から出力された論理アドレ
ス情報はアドレスレジスタ(9a)に転送された後、デ
ータレジスタ(60m)に転送される。さらに、このデ
ータレジスタ(60m)を介して結合装置(3b)のア
ドレスレジスタ(61b) K転送される。そして、こ
の論理アドレス情報は第3図に示してbるようにmビッ
トのうち第nビット目を境界として上位論理アドレス情
報と下位論理アドレス情報とに分割され、このうち上位
論理アドレス情報はレジスタファイル(101)の各分
割ファイルを選択するだめのデコーダ(10G)に入力
される。これによシ、上位論理アドレス情報に対応する
分割ファイルが選択され、この分割ファイルに予め登録
されている上位物理アドレス情報が読出されてレジスタ
(102)に記憶される。この場合、選択された分割フ
ァイルの中のフラグレジスタ(104)に登録されてい
るアクセス制御情報も読出されるが、このアクセス制御
情報が111の場合には計算機(1a)K対してエラー
信号が返送されて主メモリ(2b)に対するアクセスは
禁止される。
In this state, from calculator (1&) to calculator (1b)
To explain the case of accessing the main memory (2b) of the computer, first, the logical address information output from the computer (1m) is transferred to the address register (9a) and then to the data register (60m). Further, the data is transferred to the address register (61b) of the coupling device (3b) via this data register (60m). Then, this logical address information is divided into upper logical address information and lower logical address information using the nth bit of m bits as a boundary, as shown in FIG. It is input to a decoder (10G) for selecting each divided file of the file (101). As a result, the divided file corresponding to the upper logical address information is selected, and the upper physical address information registered in advance in this divided file is read out and stored in the register (102). In this case, the access control information registered in the flag register (104) in the selected divided file is also read, but if this access control information is 111, an error signal is sent to the computer (1a) K. The message is returned and access to the main memory (2b) is prohibited.

しかし、アクセス制御情報が101の場合には、レジス
タ(102)に記憶された上位物理アドレス情報は、ア
ドレスレジスタ(61b)の第nビット目以下に記憶さ
れ、かつレジスタ(103)に転送された下位論理アド
レス情報と共にアドレスレジスタ(9b)に転送される
。このようにしてアドレスレジスタ(9b)に記憶され
たmビット構成の物理アドレス情報はパスライン(7b
)を介して主メモリ(2b)に供給される。これによシ
、この物理アドレス情報に対応した主メモリ(2b)の
アドレスから記憶データが読出される。この読出しデー
タはデータレジスタ(10b)、  アドレスレジスタ
(61b)、データレジスタ(60m)を介してデータ
レジスタ(tOa)に転送された後、計算機(1a)に
転送される。
However, when the access control information is 101, the upper physical address information stored in the register (102) is stored below the nth bit of the address register (61b) and transferred to the register (103). It is transferred to the address register (9b) together with the lower logical address information. The m-bit physical address information stored in the address register (9b) in this way is stored in the pass line (7b).
) to the main memory (2b). Accordingly, the stored data is read from the address of the main memory (2b) corresponding to this physical address information. This read data is transferred to the data register (tOa) via the data register (10b), address register (61b), and data register (60m), and then transferred to the computer (1a).

このよう々動作により、計算機(1a)は主メモリ(2
b)が計算機(1b)のアドレス空間のどこで動いてい
るかを知らなくても主メモリ(2b)をアクセスするこ
とができる。一方、計算機(1b)はフラグレジスタ(
j04)の内容を制御することによシ主メモリ(2b)
における任意のメモリ領域に対する計算機(1a)から
のアクセスを禁止でき、データを保護することができる
Through these operations, the computer (1a) is transferred to the main memory (2).
b) can access the main memory (2b) without knowing where in the address space of the computer (1b) it is running. On the other hand, the computer (1b) has a flag register (
main memory (2b) by controlling the contents of
Access from the computer (1a) to any memory area in the computer (1a) can be prohibited, and data can be protected.

従って、このような結合装置を用いて複数の計算機を結
合することにより、各種の構造の分散処理システムを構
成することができる上、各計算機におけるプログラムや
主メモリのアドレス割当てを独立し2て行うことができ
、システム設計や保守が容易になるなどの利点がある。
Therefore, by connecting multiple computers using such a connecting device, it is possible to configure distributed processing systems with various structures, and it is also possible to independently assign addresses to programs and main memory in each computer. This has advantages such as ease of system design and maintenance.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明はアドレス変換
手段とアクセス制御手段とを設けたため、他の計算機か
らのアクセスによるデータの破壊も防止でき、また主メ
モリ内のデータ格納番地を変更しても相手の計算機のプ
ログラムを変更しなくテ済ミ、システム設計やプログラ
ムの保守が容易になるなどの効果を得ることができる。
As is clear from the above description, since the present invention includes an address conversion means and an access control means, it is possible to prevent data from being destroyed due to access from other computers, and also to change the data storage address in the main memory. It is also possible to obtain benefits such as making it easier to design the system and maintain the program without having to change the program on the other party's computer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来における計算機結合装置の構成を示すブロ
ック図、第2図は本発明の一実施例を示すブロック図、
第3図はアドレス変換回路の詳細を示すブロック図であ
る。 (IJL)、(lb)・・・・計算機、(2a)、(2
b) @・・・主メモリ、(3a)、(3b)・・・・
結合装置、(4&)+(4b)・・・−バス制御回路、
(5m) 、(5b)・・・・制御回路、(6a)、(
6b)・・・・データ送受レジスタ、(11m)、(i
lb)・・・・アドレス変換回路、(100)・――・
デコーダ、(101)・・・・レジスタフアイル’1 
 (102)、(f03)・・・中レジスタ(104)
・・・−フラグレジスタ。 代理人  葛 野 信 −
FIG. 1 is a block diagram showing the configuration of a conventional computer coupling device, FIG. 2 is a block diagram showing an embodiment of the present invention,
FIG. 3 is a block diagram showing details of the address translation circuit. (IJL), (lb)...calculator, (2a), (2
b) @...Main memory, (3a), (3b)...
Coupling device, (4&)+(4b)...-bus control circuit,
(5m), (5b)...control circuit, (6a), (
6b)...Data transmission/reception register, (11m), (i
lb)...address conversion circuit, (100)...
Decoder, (101)...Register file '1
(102), (f03)...middle register (104)
...-Flag register. Agent Shin Kuzuno −

Claims (1)

【特許請求の範囲】 主メモリを有する2つの計算機のそれぞれに接続され、
一方の計算機から他方の計算機の主メモリに対するアク
セスを仲介する計算機結合装置において、 一方の計算機から自己が接続されている側の計算機の主
メモリに対するアドレス情報を自己が接続されている側
の計算機によシ割描てられたアドレス情報に変換して該
当する主メモリに供給するアドレス変換手段と、 自己が接続されている側の計算機の主メモリに対する一
方の計算機からのアクセスを自己が接続されている側の
計算機によシ定められたメモリ領域についてのみ許可す
るアクセス制御手段とを備えた計算機結合装置。
[Claims] Connected to each of two computers having main memory,
In a computer coupling device that mediates access from one computer to the main memory of another computer, one computer transmits address information for the main memory of the computer to which it is connected to the computer to which it is connected. An address conversion means that converts the address information into the horizontally drawn address information and supplies it to the corresponding main memory, and an address conversion means that converts the address information into the divided address information and supplies it to the corresponding main memory. A computer coupling device comprising: access control means for permitting access only to a memory area determined by the computer on which the computer is located;
JP4542183A 1983-03-18 1983-03-18 Coupling device of computer Pending JPS59170956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4542183A JPS59170956A (en) 1983-03-18 1983-03-18 Coupling device of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4542183A JPS59170956A (en) 1983-03-18 1983-03-18 Coupling device of computer

Publications (1)

Publication Number Publication Date
JPS59170956A true JPS59170956A (en) 1984-09-27

Family

ID=12718800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4542183A Pending JPS59170956A (en) 1983-03-18 1983-03-18 Coupling device of computer

Country Status (1)

Country Link
JP (1) JPS59170956A (en)

Similar Documents

Publication Publication Date Title
US4443846A (en) Dual port exchange memory between multiple microprocessors
US4163280A (en) Address management system
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
US5175839A (en) Storage control system in a computer system for double-writing
US4695948A (en) Bus to bus converter using a RAM for multiple address mapping
JPS6259822B2 (en)
US5060186A (en) High-capacity memory having extended addressing capacity in a multiprocessing system
KR940001877B1 (en) Multiprocessor system
US5444852A (en) I/O device interface having buffer mapped in processor memory addressing space and control registers mapped in processor I/O addressing space
US5895496A (en) System for an method of efficiently controlling memory accesses in a multiprocessor computer system
EP0323123B1 (en) A storage control system in a computer system
US5530839A (en) Apparatus for checking access rights
US6397305B1 (en) Method and apparatus for controlling shared memory access
JPS59170956A (en) Coupling device of computer
JPH0731666B2 (en) Inter-processor communication method
USRE38514E1 (en) System for and method of efficiently controlling memory accesses in a multiprocessor computer system
US5349564A (en) Multi-port RAM having means for providing selectable interrupt signals
EP0391537A2 (en) Lock converting bus-to-bus interface system
US5115498A (en) Local memory fast selecting apparatus including a memory management unit (mmu) and an auxiliary memory
JPH0323026B2 (en)
JPH07334420A (en) Extended memory control circuit
JPS5916064A (en) Shared memory device
KR900009212Y1 (en) Address control apparatus
JPS58137066A (en) Memory access controlling method of computer system
JPH023164A (en) Dual port memory