JPH0418339B2 - - Google Patents

Info

Publication number
JPH0418339B2
JPH0418339B2 JP57013100A JP1310082A JPH0418339B2 JP H0418339 B2 JPH0418339 B2 JP H0418339B2 JP 57013100 A JP57013100 A JP 57013100A JP 1310082 A JP1310082 A JP 1310082A JP H0418339 B2 JPH0418339 B2 JP H0418339B2
Authority
JP
Japan
Prior art keywords
data
transfer
state
transferred
specified number
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
JP57013100A
Other languages
Japanese (ja)
Other versions
JPS58129624A (en
Inventor
Shinichi Kazamaki
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP57013100A priority Critical patent/JPS58129624A/en
Publication of JPS58129624A publication Critical patent/JPS58129624A/en
Publication of JPH0418339B2 publication Critical patent/JPH0418339B2/ja
Granted 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)
  • Information Transfer Systems (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 本発明は2つの計算機システム間におけるデー
タ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer method between two computer systems.

従来、2つの計算機システム間において、複数
の論理転送路を設けてデータ転送を行なう場合、
一般にポーリング方式によつて行なつている。す
なわち、一方のシステムから他方のシステムに対
し、論理転送No.を順次指定して受信する。このと
き指定した論理転送No.にデータが有る時はデータ
転送、受信を行なうが、データが無い時は転送し
ない。従つて、すべてのNo.について順次個々に問
合せをしなければならず、指定したNo.にデータが
無ければその問合せは無効になつてしまい、問合
せ効率が低く転送速度が遅くなるという問題があ
つた。
Conventionally, when data is transferred between two computer systems by providing multiple logical transfer paths,
This is generally done using a polling method. That is, logical transfer numbers are sequentially designated and received from one system to the other system. At this time, if there is data in the specified logical transfer number, data is transferred and received, but if there is no data, it is not transferred. Therefore, each number must be queried individually in sequence, and if there is no data in the specified number, the query becomes invalid, resulting in a problem of low query efficiency and slow transfer speed. Ta.

本発明は上記の点に鑑みてなされたもので、問
合せ効率、転送路使用効率を向上して転送速度を
上げることができるデータ転送方式を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a data transfer method that can improve query efficiency and transfer path usage efficiency, and increase transfer speed.

以下図面を参照して本発明の一実施例を説明す
る。第1図において、11は計算機システムAに
おけるCPUで、このCPU11にはバスライン1
2を介してRAM13が接続される。このRAM
13には各種データ記憶エリアと共に、I/Oバ
ツフア13A、制御情報記憶エリア13Bが設け
られる。上記I/Oバツフア13Aは、ワークス
テーシヨンとして使用されるn個のレジスタによ
つて構成される。また、記憶エリア13Bに記憶
される制御情報は、伝送データ、記憶エリアの管
理情報であり、送られてきたデータをどのエリア
に記憶させるか等の制御を行なう。また、21は
計算機システムBにおけるCPUで、このCPU2
1にはバスライン22を介してRAM23が接続
される。このRAM23には各種データ記憶エリ
アと共に、I/Oバツフア23Aが設けられる。
このI/Oバツフア23Aは、ワークステーシヨ
ンとして使用されるn個のレジスタによつて構成
される。しかして、上記計算機システムAとBと
の間のデータ転送は、バスライン12,22より
インタフエイス14,24を介して行なわれる。
An embodiment of the present invention will be described below with reference to the drawings. In Fig. 1, 11 is a CPU in computer system A, and this CPU 11 has a bus line 1.
RAM 13 is connected via 2. This RAM
13 is provided with various data storage areas, as well as an I/O buffer 13A and a control information storage area 13B. The I/O buffer 13A is composed of n registers used as a work station. Further, the control information stored in the storage area 13B is management information for transmission data and storage areas, and controls in which area the sent data is stored. In addition, 21 is a CPU in computer system B, and this CPU2
1 is connected to a RAM 23 via a bus line 22. This RAM 23 is provided with an I/O buffer 23A as well as various data storage areas.
This I/O buffer 23A is composed of n registers used as a work station. Data transfer between the computer systems A and B is performed via the bus lines 12, 22 and the interfaces 14, 24.

第2図は論理転送路、物理転送路の関係を図示
したもので、1〜nのレジスタは、システムA,
BにおけるI/Oバツフア13A,13Bであ
る。そして、論理的には破線の矢印で示すように
n本の転送路があるが、ハードウエア的には実線
矢印で示す1本の転送路DLがあるだけである。
Figure 2 illustrates the relationship between logical transfer paths and physical transfer paths, and registers 1 to n are in system A,
These are I/O buffers 13A and 13B in B. Although logically there are n transfer paths as indicated by the dashed arrows, in terms of hardware there is only one transfer path DL as indicated by the solid arrow.

次に本発明によるデータ転送方式の動作を第3
図のフローチヤートを参照して説明する。システ
ムAは論理転送路No.XのI/Oバツフア13Aが
空きの場合、CPU11の制御により第3図のス
テツプX1に示すようにシステムBに対し論理転
送路No.Xを指定してデータの有無を問合せる。こ
の場合、どの論理転送路No.で問合せするかは、あ
る一定のアルゴリズムがあるものとする。しかし
て、システムBはシステムAからの問合せを受け
ると、その時の状態A,B,Cに応じて応答動作
する。状態AはNo.1〜nの全ての論理転送路にデ
ータが無い場合、状態Bは指定No.にデータが無く
他のNo.にデータが有る場合、状態Cは指定No.にデ
ータがある場合である。そして、システムBは、
まずステツプY1に示すように状態がAであるか
否かを判断し、状態Aであつた場合にはステツプ
Y2に進んで全てのNo.にデータが無いことをシス
テムAに知らせ、応答処理を終了する。また、上
記ステツプY1の判断の結果、状態Aでなかつた
場合はステツプY3に進んで状態がCであるか否
かを判断する。この判断の結果、状態Cであれば
ステツプY4に進んで指定No.にデータがある旨の
応答処理を行ない、続いてステツプY5に進み、
I/Oバツフア23A内の指定No.のデータをシス
テムAに転送して処理を終了する。また、上記ス
テツプY3において状態がCではないと判断され
た場合は状態B、つまり指定No.以外にデータがあ
る状態であるので、ステツプY6に進んで状態B
に対する応答、つまり、受信可能な全てのNo.を通
知するようにシステムAに応答する。この応答に
よりシステムAから受信可能No.がシステムBに送
られてくるので、システムBはステツプY7に進
み、一定のアルゴリズムに従つて転送できるNo.を
捜す。そして、送信可能なデータが無かつた場合
は、ステツプY2に戻つて状態Aの応答処理を行
ない、送信可能なデータが見つかつた場合は、ス
テツプY8でデータ有の応答を行ない、ステツプ
Y9でデータ転送を行なう。ステツプY10の判別
で、他にも送信可能なデータが有ればステツプ
Y8、Y9を繰り返し、無ければ終了する。
Next, the operation of the data transfer method according to the present invention will be explained in the third section.
This will be explained with reference to the flowchart shown in the figure. If the I/O buffer 13A of logical transfer path No. Inquire whether there is. In this case, it is assumed that there is a certain algorithm for determining which logical transfer path number to make the inquiry. Thus, when system B receives an inquiry from system A, it responds according to the states A, B, and C at that time. State A is when there is no data on all logical transfer paths No. 1 to n, state B is when there is no data on the specified number and there is data on other numbers, and state C is when there is data on the specified number. This is the case. And system B is
First, as shown in step Y1 , it is determined whether the state is A or not, and if the state is A, step
Proceed to Y 2 to inform system A that there is no data in all numbers, and end the response process. If the result of the judgment in step Y1 is that the state is not A, the process proceeds to step Y3 , where it is determined whether the state is C or not. As a result of this judgment, if the state is C, proceed to step Y4 , perform a response process indicating that there is data in the specified number, then proceed to step Y5 ,
The data of the specified number in the I/O buffer 23A is transferred to the system A, and the process ends. Furthermore, if it is determined that the state is not C in step Y 3 above, it is state B, that is, a state in which there is data other than the specified number, so proceed to step Y 6 and change to state B.
In other words, the system A is notified of all receivable numbers. In response to this response, system A sends a receivable number to system B, so system B proceeds to step Y7 and searches for a number that can be transferred according to a certain algorithm. If there is no data that can be sent, the process returns to step Y 2 and processes the response in status A. If data that can be sent is found, a response that there is data is made in step Y 8 , and the process returns to step Y 2.
Perform data transfer with Y 9 . Step Y If there is any other data that can be sent in step Y 10 , proceed to step Y.
Repeat Y 8 and Y 9 , and if there are none, exit.

一方、システムAにおいては、ステツプX1
システムBに対するデータ問合せを行なつた後、
システムBからの応答信号によつてその状態を判
断する。まず、ステツプX2においてシステムB
が状態Aであるか否かを判断し、状態Aであれば
データが無いのでそのまま動作を終了する。ま
た、ステツプX2で状態Aでないと判断した場合
はステツプX3に進んで状態Cであるか否かを判
断する。このステツプX3で状態Cであると判断
した場合はステツプX4に進み、システムBから
インタフエイス24,14を介して送られてくる
転送データを受入れ、I/Oバツフア13Aの指
定No.位置に書込んで処理を終了する。また、ステ
ツプX3で状態Cではないと判断した場合はステ
ツプX5へ進んで状態Bであるか否かを判断する。
このステツプX5で状態Bではないと判断した場
合は、状態A、B、Cの何れにも該当しなかつた
ことになるので、エラーとして処理する。そし
て、ステツプX5で状態Bであると判断した場合
はステツプX6へ進み、記憶エリア13B内の制
御情報を参照してI/Oバツフア13Aにおける
受信可能な全てのNo.をシステムBへ通知する。そ
して、その後ステツプX2へ戻る。システムBで
は上記システムAからの通知データに従つて上記
したようにステツプY7以降の処理を行なう。
On the other hand, in system A, after making a data query to system B in step X1 ,
Its status is determined based on the response signal from system B. First, in step
It is determined whether or not it is in state A. If it is in state A, there is no data, so the operation ends. Further , if it is determined in step If it is determined that the state is C in step X3 , the process advances to step and end the process. Further , if it is determined in step
If it is determined in this step X5 that the state is not B, it means that none of the states A, B, or C is applicable, so it is treated as an error. If it is determined in step X5 that state B is present, the process proceeds to step do. Then, return to step X 2 . System B performs the processing from step Y7 onwards as described above in accordance with the notification data from system A.

以上述べたように本発明によれば、システムA
からシステムBにデータの問合せを行なつた際、
システムBにおいて指定のNo.にデータが有る場合
は直ちにシステムBからAにデータ転送を行な
い、指定No.にデータが無く、他のNo.にデータがあ
つた場合にシステムAに対して受信可能な全ての
No.を通知するように応答してその処理を行なうよ
うにしたので、問合せ効率並びに転送路使用効率
を向上して、転送速度を大幅に上げることがで
き、実用的に極めて大きな効果を得ることができ
る。
As described above, according to the present invention, system A
When querying system B for data from
If there is data in the specified number in system B, the data is immediately transferred from system B to A. If there is no data in the specified number and data is in another number, it can be received from system A. all of
Since the processing is carried out in response to notification of No., it is possible to improve query efficiency and transfer path usage efficiency, greatly increasing transfer speed, and obtaining extremely large practical effects. I can do it.

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

図面は本発明の一実施例を示すもので、第1図
はシステムAとシステムBの接続関係を示す図、
第2図は論理転送路と物理転送路の関係を示した
図、第3図は動作内容を示すフローチヤートであ
る。 11,21……CPU、12,22……バスラ
イン、13,23……RAM、14,24……イ
ンタフエイス。
The drawings show one embodiment of the present invention, and FIG. 1 is a diagram showing the connection relationship between system A and system B.
FIG. 2 is a diagram showing the relationship between logical transfer paths and physical transfer paths, and FIG. 3 is a flowchart showing the operation contents. 11, 21... CPU, 12, 22... Bus line, 13, 23... RAM, 14, 24... Interface.

Claims (1)

【特許請求の範囲】[Claims] 1 A,B2つのシステム間で複数の論理転送路
を単一の物理転送路で構成してポーリングにより
データを転送するデータ転送方式において、上記
一方のAシステムから他方のBシステムに転送路
No.を指定してデータの問合せを行なつた際、指定
No.にデータが有る場合は直ちにBシステムからA
システムにデータ転送を行ない、指定No.にデータ
が無く、他のNo.にデータが有つた場合に上記Bシ
ステムからAシステムにAシステムが受信可能な
全ての転送路No.をBシステムに通知するように応
答して処理を続行する手段を具備したことを特徴
とするデータ転送方式。
1 In a data transfer method in which multiple logical transfer paths are configured with a single physical transfer path between two systems A and B and data is transferred by polling, a transfer path is transferred from one system A to the other system B.
When making a data query by specifying the No.
If there is data in No., immediately transfer it from B system to A.
When data is transferred to the system and there is no data in the specified number but there is data in another number, the B system will notify the A system of all transfer path numbers that the A system can receive. A data transfer method characterized by comprising a means for responding to a request to continue processing.
JP57013100A 1982-01-29 1982-01-29 Data transferring system Granted JPS58129624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57013100A JPS58129624A (en) 1982-01-29 1982-01-29 Data transferring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57013100A JPS58129624A (en) 1982-01-29 1982-01-29 Data transferring system

Publications (2)

Publication Number Publication Date
JPS58129624A JPS58129624A (en) 1983-08-02
JPH0418339B2 true JPH0418339B2 (en) 1992-03-27

Family

ID=11823727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57013100A Granted JPS58129624A (en) 1982-01-29 1982-01-29 Data transferring system

Country Status (1)

Country Link
JP (1) JPS58129624A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5024041A (en) * 1973-07-04 1975-03-14
JPS5452437A (en) * 1977-10-03 1979-04-25 Nec Corp Control system for terminal equipment
JPS5476002A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Transmission control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5024041A (en) * 1973-07-04 1975-03-14
JPS5452437A (en) * 1977-10-03 1979-04-25 Nec Corp Control system for terminal equipment
JPS5476002A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Transmission control system

Also Published As

Publication number Publication date
JPS58129624A (en) 1983-08-02

Similar Documents

Publication Publication Date Title
US6502136B1 (en) Exclusive control method with each node controlling issue of an exclusive use request to a shared resource, a computer system therefor and a computer system with a circuit for detecting writing of an event flag into a shared main storage
JP2706602B2 (en) Interrupt retry reduction device
JP2539021B2 (en) Interrupt request generation node that sends an interrupt request to the pending bus
JPH0642236B2 (en) Device that executes interlock read command message from commander node in responder node
JPH0587855B2 (en)
JPH07101407B2 (en) Method and apparatus for scheduling
JPH0679305B2 (en) Device and method for responding to an interrupt using a hold bus
JPH0418339B2 (en)
JPH05324573A (en) Multiprocessor system, transfer-path controlling system in above described system, method therefor and data processing method
JPH0581178A (en) Pipeline bus
JPH08212178A (en) Parallel computer
JPH05189232A (en) Automated apparatus and operating method thereof
JPH05282242A (en) Bus control system
JPH02213976A (en) Communication method between multiprocessing computer and processor
JPH05289987A (en) Bus right arbitrating circuit
JPH0562384B2 (en)
JP2699873B2 (en) Bus control circuit
JPH01305461A (en) Right of using bus control system
JPS60136850A (en) Control device of storage part
JPH0234062B2 (en) MARUCHIPUROSETSUSASHISUTEMUNIOKERUMEMORIAKUSESUSEIGYOHOSHIKI
JP2504528B2 (en) Bus control system between main memory controllers
JPS6126104B2 (en)
JPS6240565A (en) Memory control system
JP2567900B2 (en) PLU processing method at POS terminal
JPH03100853A (en) Inter-processor communication system