JPS6074836A - Data transfer system - Google Patents
Data transfer systemInfo
- Publication number
- JPS6074836A JPS6074836A JP58181938A JP18193883A JPS6074836A JP S6074836 A JPS6074836 A JP S6074836A JP 58181938 A JP58181938 A JP 58181938A JP 18193883 A JP18193883 A JP 18193883A JP S6074836 A JPS6074836 A JP S6074836A
- Authority
- JP
- Japan
- Prior art keywords
- data
- node
- nodes
- transferred
- data transfer
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
Abstract
Description
【発明の詳細な説明】
(イ)発明の技術分野
本発明はデータ転送方式に係り、特に2つのノード間を
単一の通信回線で結ぶ場合のデータ転送態様に工夫を凝
らしたデータ転送方式に関する。Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a data transfer system, and particularly relates to a data transfer system in which a data transfer mode is devised when two nodes are connected by a single communication line. .
(0)技術の背景
コンピュータシステムのデータベースが集中型である場
合には、そのデータベースとホストコンピュータとの間
でデータを送受すれば足りるが、データベースを分散型
にしたコンピュータシステムでは、その成るホストコン
ピュータとこれに通信回線を介して結ばれる他のホスト
コンピュータとの間でデータの送受を行なう必要性が生
ずる。(0) Background of the Technology When the database of a computer system is centralized, it is sufficient to send and receive data between the database and the host computer, but in a computer system where the database is distributed, the host computer There arises a need to transmit and receive data between the host computer and other host computers connected to it via a communication line.
このような場合における通信回線を経てのデータ転送が
ホストコンピュータのオーバーヘッドを極力少なくして
能率的に行なわれ得ることが望ましく、そのような要求
に応え得る技術手段の開発が要請されている。In such cases, it is desirable to be able to efficiently transfer data via a communication line with as little overhead on the host computer as possible, and there is a need for the development of technical means that can meet such demands.
(ハ)発明の目的
本発明は上述したような技術的課題に着目して創案され
たもので、その目的は夫々転送すべきデータを有するノ
ード間のデータ転送を、オーバーヘッドを極力少なくし
て能率的に行ない得るデータ転送方式を提供することに
ある。(c) Purpose of the Invention The present invention was devised focusing on the above-mentioned technical problem, and its purpose is to efficiently transfer data between nodes each having data to be transferred by minimizing overhead. The purpose of this invention is to provide a data transfer method that can be carried out efficiently.
仁)発明の構成
そして、この目的達成のため、本発明方式は単−の通信
回線を介して結ばれる2つのノード間のデータ転送に際
して、ノードに転送すべきデータがないときダミーメツ
セージを当該ノードがら上記通信回線を介して相手ノー
ドへ転送し、ダミーメツセージが上記ノード間で往復し
たときデータ待ちにすることとしたものである。Structure of the Invention In order to achieve this objective, the method of the present invention transmits a dummy message to the node when there is no data to be transferred between two nodes connected via a single communication line. However, the dummy message is transferred to the other node via the communication line, and the data is waited for when the dummy message is sent back and forth between the nodes.
休)発明の実施例
以下、添付図面を参照しながら本発明の詳細な説明する
。Embodiments of the Invention The present invention will be described in detail below with reference to the accompanying drawings.
第1図は本発明の一実施例を示、し、その実施例の各ノ
ードの詳細図を第2図に示す。この実施例は例えば、デ
ータベースを分散型にしたコンピュータシステムで実施
される。FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows a detailed diagram of each node of the embodiment. This embodiment is implemented, for example, in a computer system with a distributed database.
第り図において、A、Bはノードであり、Cはこれらノ
ード間を結ぶ通信回線である。ノードA。In the figure, A and B are nodes, and C is a communication line connecting these nodes. Node A.
Bの詳細は第2図に示すように、図示しないデータ源(
ユーザ)に接続されるデータ入力部l、データ入力部1
に接続されるデータ貯蔵部2、データ貯蔵部2に接続さ
れるデータ転送部3がら成るデータ転送装置であり、こ
の装置はデータベースを分散型にしたコンピュータシス
テムにおいてはそのホストコンピュータのデータ転送部
に相当するものである。上述データ転送部3はデータ貯
蔵部2と通信回線・Cとの間に介設された送受信用バッ
ファ4と、バッファ4とデータ貯蔵部2とに接続された
制御部5とから成葛。The details of B are shown in Figure 2 from a data source (not shown).
data input section l connected to the user), data input section 1
This data transfer device consists of a data storage section 2 connected to the data storage section 2, and a data transfer section 3 connected to the data storage section 2.In a computer system in which the database is distributed, this device is connected to the data transfer section of the host computer. It is equivalent. The data transfer section 3 is composed of a transmitting/receiving buffer 4 interposed between the data storage section 2 and the communication line C, and a control section 5 connected to the buffer 4 and the data storage section 2.
次に、上述構成におけるデータ転送態様を説明する。Next, a data transfer mode in the above configuration will be explained.
説明の都合上、ノードAに3つのデータA1+A2 r
A3があり、ノードBに2つのデータBl。For convenience of explanation, node A has three data A1+A2 r
There is A3 and node B has two data Bl.
B2があるものとする(第3図参照)。これらのデータ
は相手ノードに転送されるべく各ノードのユーザからデ
ータ入力部1を経てデータ貯蔵部2に一旦貯えられ、制
御部5の制御の下に次のようにして転送される。Assume that there is B2 (see Figure 3). These data are temporarily stored in the data storage section 2 via the data input section 1 from the user of each node in order to be transferred to the other node, and are transferred under the control of the control section 5 as follows.
先ず、ノードAがデータA1をノードBに送る。First, node A sends data A1 to node B.
そのデータをノードBが受け取ると、ノードBからノー
ドAヘデータB1を送る。以下、同様の手順で、データ
A2 + 82 + A3の順に交互にデータの転送が
生ぜしめられる。データA8がノードBに送られると、
ノードBにはノードAへ送るべきデータがなくなるので
、ノードBの制御部5の制御の下に同期をとるためのダ
ミーメツセージDがノードAに送られる。ノードAはダ
ミーメツセージDを受け取った時点で両ノードにデータ
がなくなっていることが分かるので、ノードAは上記と
同様にしてダミーメンセージDをノーとBへ送ってデー
タ待ちに入る。又、ダミーメツセージDを受け取ったノ
ードBもその時点でデータ待ちに人名。When node B receives the data, it sends data B1 to node A. Thereafter, data is transferred alternately in the order of data A2 + 82 + A3 using the same procedure. When data A8 is sent to node B,
Since node B has no more data to send to node A, a dummy message D for synchronization is sent to node A under the control of the control unit 5 of node B. When node A receives dummy message D, it knows that both nodes have no data, so node A sends dummy message D to node B and waits for data in the same manner as described above. Also, the node B that received the dummy message D is also waiting for data at that time.
このようにして両ノードがデータ待ちとなっている状態
において、いづれか一方例えばノードAに2つのデータ
AI + A2が入力されたが、ノードBにはデータが
入力されずにデータ転送が再開される状態が発生したと
する(第4図参照)、この場合には、先ず、ノードAが
ノードBヘデータA1を送る。ノードBには、データが
ないので、ノードBからノードAヘダミーメソセージD
を送る。同様にして、ノードAはノードBヘデータA2
を送り、ノードBはノードAヘダミーメッセージDを送
る。この時点でノードAにはデータがなくなるので、ノ
ードAからノードBにダミーメソセージDを送る。この
ようにして、両ノードはデータ待ちに入る。In this state where both nodes are waiting for data, for example, two data AI + A2 are input to node A, but no data is input to node B, and data transfer is resumed. Assume that a situation occurs (see FIG. 4), in which case node A first sends data A1 to node B. Since node B has no data, a dummy message D is sent from node B to node A.
send. Similarly, node A sends data A2 to node B.
and node B sends a dummy message D to node A. At this point, node A has no more data, so node A sends a dummy message D to node B. In this way, both nodes wait for data.
又、両ノードがデータ待ちとなっている状態において、
両ノードに同時にデータが入力された場合には、同時に
転送が行なわれるため衝突が生ずる。この場合、両ノー
ドの優先順位に従って先ず優先順位の高いノードからデ
ータを転送し、次に優先順位の低い方からデータを転送
する。この制御は制御部5において行なわれるが、その
制御技法自体は公知のものであり、その詳細は省略する
。Also, when both nodes are waiting for data,
If data is input to both nodes at the same time, a collision occurs because data is transferred at the same time. In this case, according to the priorities of both nodes, data is first transferred from the node with the higher priority, and then data is transferred from the node with the lower priority. This control is performed by the control section 5, but the control technique itself is well known and the details thereof will be omitted.
なお、上記実施例は2つのノード間について説明したが
、それらノード間に他のノードが介在する場合にもそれ
ら3以上のノードの各ノード間において本発明を適用し
得るものである。Although the above embodiment has been described between two nodes, the present invention can be applied between three or more nodes even when other nodes intervene between the two nodes.
(へ)発明の効果
以上述べたように、本発明によれば、
■単一の通信回線を介して交互型式で両方向のデータ転
送をなし得る、
■必要なときだけメツセージ交換が行なわれるので、オ
ーバーヘッドは極力少なくし得て能率的なデータ転送を
遂行し得る、等の効果が得られる。(F) Effects of the Invention As described above, according to the present invention, 1) data can be transferred in both directions in an alternating manner via a single communication line; 2) messages are exchanged only when necessary; Effects such as overhead can be minimized and efficient data transfer can be achieved are obtained.
第1図は本発明の一実施例を示す図、第2図は第1図実
施例の各ノードの詳細図、第3図は本発明方式における
通常のデータ転送例を示す図、第4図は2つのノードが
データ待ちになってからデータ転送を再開する場合の例
を示す図である。
図中、A、Bはノード、Cは通信回線、1はデータ入力
部、2はデータ貯蔵部、3はデータ転送部、4は送受信
用バッファ、5は制御部である。
第1図
第2図
第3図
At、A2+A3 F5t 1e)z
データ待う デ゛−5待ち
第4図
ノード゛Aに発生tたデ′−夕
AI 、 Az
D、−一一一−FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a detailed diagram of each node in the embodiment of FIG. 1, FIG. 3 is a diagram showing an example of normal data transfer in the method of the present invention, and FIG. is a diagram showing an example of a case where two nodes restart data transfer after waiting for data. In the figure, A and B are nodes, C is a communication line, 1 is a data input section, 2 is a data storage section, 3 is a data transfer section, 4 is a transmission/reception buffer, and 5 is a control section. Figure 1 Figure 2 Figure 3 At, A2+A3 F5t 1e)z Waiting for data Waiting for D-5 Figure 4 Data generated at node A AI, Az D, -111-
Claims (2)
のデータ転送に際してノードに転送すべきデータがない
ときダミーメツセージを当該ノードから上記通信回線を
介して相手ノードへ転送し、ダミーメツセージが上記ノ
ード間で往復したときデータ待ちにすることを特徴とす
るデータ転送方式。(1) When data is transferred between two nodes connected via a single communication line, when there is no data to be transferred to the node, a dummy message is transferred from the node to the other node via the communication line, and a dummy message is sent. A data transfer method characterized by waiting for data when the data is sent back and forth between the nodes.
ュータシステムのホストコンピュータであることを特徴
とする特許請求の範囲第1項記載のデータ転送方式。(2) The data transfer method according to claim 1, wherein the node is a host computer of a computer system in which the database is distributed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58181938A JPS6074836A (en) | 1983-09-30 | 1983-09-30 | Data transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58181938A JPS6074836A (en) | 1983-09-30 | 1983-09-30 | Data transfer system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6074836A true JPS6074836A (en) | 1985-04-27 |
JPH0129465B2 JPH0129465B2 (en) | 1989-06-12 |
Family
ID=16109517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58181938A Granted JPS6074836A (en) | 1983-09-30 | 1983-09-30 | Data transfer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6074836A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS623828A (en) * | 1985-06-28 | 1987-01-09 | Amada Co Ltd | Abnormality detector in serial communication |
-
1983
- 1983-09-30 JP JP58181938A patent/JPS6074836A/en active Granted
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS623828A (en) * | 1985-06-28 | 1987-01-09 | Amada Co Ltd | Abnormality detector in serial communication |
Also Published As
Publication number | Publication date |
---|---|
JPH0129465B2 (en) | 1989-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02151151A (en) | Exchanging system | |
JPH04239950A (en) | Connection holding control system | |
JPS6074836A (en) | Data transfer system | |
JPH0473178B2 (en) | ||
JPH0365702B2 (en) | ||
JPH054040Y2 (en) | ||
JP2000148216A (en) | Plant controller communication equipment | |
JPH0511341B2 (en) | ||
JP2000004246A (en) | Supervisory and control method for communication equipment | |
JPS60176165A (en) | Interdevice connecting system | |
JPS62100048A (en) | System for sending large amount data in parallel | |
JPS6347023B2 (en) | ||
JPS59205848A (en) | Priority control system | |
JPH10320345A (en) | Bus controller | |
JPH0225962A (en) | Inter-processor communication system by serial transmission | |
JPS5980041A (en) | Digital multiplex optical coupling controller for installation on airplane | |
JPH0381852A (en) | Connection control system | |
JPS60242751A (en) | Data transfer system | |
JPH04278732A (en) | Device switching system | |
JPS61196353A (en) | Multiplexing bus control system | |
JPH0582617B2 (en) | ||
JPS63178367A (en) | Distributed processing system | |
JPH11149388A (en) | Acceleration system for data synchronization in duplex device | |
JPS61260350A (en) | Parallel processing control system | |
JPH0477146A (en) | Multi cast communication method |