JPH0560699B2 - - Google Patents

Info

Publication number
JPH0560699B2
JPH0560699B2 JP61233303A JP23330386A JPH0560699B2 JP H0560699 B2 JPH0560699 B2 JP H0560699B2 JP 61233303 A JP61233303 A JP 61233303A JP 23330386 A JP23330386 A JP 23330386A JP H0560699 B2 JPH0560699 B2 JP H0560699B2
Authority
JP
Japan
Prior art keywords
data
information processing
transmission
information
processing device
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
JP61233303A
Other languages
Japanese (ja)
Other versions
JPS6388928A (en
Inventor
Tokuo Yamada
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 JP61233303A priority Critical patent/JPS6388928A/en
Publication of JPS6388928A publication Critical patent/JPS6388928A/en
Publication of JPH0560699B2 publication Critical patent/JPH0560699B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は情報伝送方式に関するものである。[Detailed description of the invention] [Industrial application field] This invention relates to an information transmission system.

〔従来の技術〕[Conventional technology]

第4図は従来の情報伝送方式のシステムの構成
を示すブロツク図であり、図において、Aはコン
ピユータシステムよりなるA局の情報処理装置、
BはコンピユータシステムよりなるB局の情報処
理装置、Tは両情報処理装置A,Bの相互間の情
報伝送装置である。情報伝送装置Tは情報処理装
置A側の通信チヤネルaと、情報処理装置B側の
通信チヤネルbと、両チヤネルa,b間を結ぶ伝
送路lとにより構成されている。M1は情報処理
装置Aと通信チヤネルaとの共有メモリ、M2は
情報処理装置Bと通信チヤネルbとの共有メモリ
である。各共有メモリM1,M2は受信バツフア
RB1,RB2と送信バツフアTB1,TB2とを
備えている。
FIG. 4 is a block diagram showing the configuration of a conventional information transmission system. In the figure, A is an information processing device of station A consisting of a computer system;
B is an information processing device of the B station consisting of a computer system, and T is an information transmission device between both information processing devices A and B. The information transmission device T is composed of a communication channel a on the information processing device A side, a communication channel b on the information processing device B side, and a transmission path l connecting both channels a and b. M1 is a shared memory between information processing device A and communication channel a, and M2 is a shared memory between information processing device B and communication channel b. Each shared memory M1, M2 is a reception buffer.
It includes RB1, RB2 and transmission buffers TB1, TB2.

次に動作について説明する。情報処理装置Aか
ら情報処理装置Bへ情報を伝送する場合、情報処
理装置Aは共有メモリM1の送信バツフアTB1
にデータを書き込み、送信要求信号S1を通信チ
ヤネルaに出す。通信チヤネルaはデータを伝送
路lを経て通信チヤネルbに送信する。通信チヤ
ネルbはデータを受信すると、これを共有メモリ
M2の受信バツフアRB2に書き込み、データ受
信信号S2を情報処理装置Bを出す。情報処理装
置Bはデータの読み取り後、通信チヤネルbに読
み取り完了信号S3を出す。通信チヤネルbは通
信チヤネルaに送受信手順完了信号を出す。通信
チヤネルaは情報処理装置Aに情報伝送完了信号
S4を出す。
Next, the operation will be explained. When transmitting information from information processing device A to information processing device B, information processing device A uses transmission buffer TB1 of shared memory M1.
, and sends a transmission request signal S1 to communication channel a. Communication channel a transmits data to communication channel b via transmission path l. When the communication channel b receives the data, it writes it into the reception buffer RB2 of the shared memory M2, and outputs the data reception signal S2 to the information processing device B. After reading the data, information processing device B issues a reading completion signal S3 to communication channel b. Communication channel b issues a transmission/reception procedure completion signal to communication channel a. Communication channel a issues an information transmission completion signal S4 to information processing device A.

逆方向に送信する場合は、同様にして行う。 When transmitting in the opposite direction, do the same.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の情報伝送方式は以上のように行われてい
たので、情報伝送が情報処理と比較してかなり遅
い場合には、情報伝送が処理機能全体の隘路とな
るため有効であるが、情報伝送が十分速い場合に
は、情報処理装置は情報伝送装置からのデータ受
信信号や情報伝送完了信号に対して割り込み処理
を行なわなければならず、高い頻度で情報処理装
置と情報伝送装置との間で上記のハンドシエイク
を行うと、ソフトウエアのアーバヘツドが大きく
なり、かえつて情報処理全体としての効率を下げ
る問題点をあつた。
Conventional information transmission methods were performed as described above, so when information transmission is considerably slower than information processing, it is effective because information transmission becomes a bottleneck for the entire processing function, but information transmission is If the speed is sufficiently fast, the information processing device must perform interrupt processing for the data reception signal and information transmission completion signal from the information transmission device, and the above-mentioned communication between the information processing device and the information transmission device is frequently performed. When the handshake was performed, the arbor head of the software became large, which caused a problem of lowering the efficiency of the information processing as a whole.

この発明は上記のような問題点を解消するため
になされたもので、情報処理装置と情報伝送装置
との間の制御信号を省略し、これに代わる機能を
情報処理装置上のソフトウエアの働きによつて得
ることができる情報伝送方式を得ることを目的と
している。
This invention was made to solve the above-mentioned problems, and it eliminates the control signal between the information processing device and the information transmission device, and replaces it with the function of the software on the information processing device. The purpose is to obtain an information transmission method that can be obtained by

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

この発明に係る情報伝送方式においては、送信
側の情報処理装置は装信データを情報伝送装置と
共有メモリ上の送信バツフアに任意のタイミング
で書き込む。情報伝送装置は送信側の情報処理装
置の請求にしたがつて伝送を行うのではなく、自
動的かつ周期的にこれを行う。受信側の情報処理
装置は受信データを情報伝送装置との共有メモリ
上の受信バツフアに任意のタイミングで書き込
む。情報処理装置側から見たデータの書き込み・
読み出し回数とその内容を一致させるために伝送
データの一部を同期用データとし、受信側ではこ
のデータを返送し、これを互いの情報処理装置上
のソフトウエアによつて参照することにより情報
処理装置間で同期をとる。
In the information transmission method according to the present invention, the information processing device on the transmitting side writes the transmission data to the transmission buffer on the shared memory with the information transmitting device at an arbitrary timing. The information transmission device does not perform transmission according to a request from the information processing device on the sending side, but performs this automatically and periodically. The receiving side information processing device writes the received data to a receiving buffer on a shared memory with the information transmitting device at an arbitrary timing. Data writing/writing from the perspective of the information processing device
In order to match the number of reads and the contents, a part of the transmitted data is used as synchronization data, and the receiving side sends this data back, and the information processing is performed by referring to this data by the software on each information processing device. Synchronize between devices.

〔作用〕[Effect]

この発明における同期は、周期的に伝送される
伝送データの内容の一部の同期用データを互いに
情報処理装置側で参照することによつてとり、伝
送手順の進行状況を知る。
Synchronization in the present invention is achieved by mutually referencing synchronization data, which is part of the contents of transmission data that is periodically transmitted, on the information processing apparatus side, and the progress status of the transmission procedure is known.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明す
る。第1図はこの発明の情報伝送方式のシステム
構成を示すブロツク図であり、前述した従来技術
を示す第4図と同一、又は相当部分を示す。本実
施例の構成と、前述した従来技術の構成とのちが
いは、ハンドシエイク用制御線がなくなつた点で
ある。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the system configuration of the information transmission system of the present invention, and shows the same or equivalent parts as FIG. 4 showing the prior art described above. The difference between the configuration of this embodiment and the configuration of the prior art described above is that there is no handshake control line.

次に、この実施例の動作について、第1図及び
第2図A,Bに示すフローチヤート図を参照して
説明する。
Next, the operation of this embodiment will be explained with reference to the flowcharts shown in FIG. 1 and FIGS. 2A and 2B.

通信チヤネルaと通信チヤネルbは交互に共有
メモリM1,M2内の送信バツフアTB1,TB
2の内容を送信する。受信データは受信バツフア
RB1,RB2に入る。送信の周期は通信チヤネ
ルa,bの伝送能力が許す限り短い方がよい。
Communication channel a and communication channel b alternately use transmission buffers TB1 and TB in shared memories M1 and M2.
Send the contents of 2. Received data is received buffer
Enter RB1 and RB2. It is preferable that the transmission cycle be as short as the transmission capabilities of communication channels a and b allow.

情報処理装置Aが情報処理装置Bへデータを1
回渡したい場合の手順は次のようになる。
Information processing device A sends data 1 to information processing device B
If you want to pass it twice, the procedure is as follows.

情報処理装置Aは共有メモリM1の送信バツ
フアTB1にデータを書き込み、同期用データ
(=P1)を“+1”する。
The information processing device A writes data to the transmission buffer TB1 of the shared memory M1, and adds "+1" to the synchronization data (=P1).

情報伝送装置Tの働きで共有メモリM1の送
信バツフアTB1の内容は情報処理装置Bの共
有メモリM2の受信バツフアRB2にコピーさ
れる(P1=P2)。
By the action of the information transmission device T, the contents of the transmission buffer TB1 of the shared memory M1 are copied to the reception buffer RB2 of the shared memory M2 of the information processing device B (P1=P2).

情報処理装置Bは、第2図の受信処理フロー
チヤートに示すように、受信 バツフアRB2
の内容を繰り返し参照することによつて同期デ
ータP2の値の変化を検出し、変化があると新
しいデータがきたとしてこれを読み取り、その
後該同期用データP2の値を送信バツフアTB
2にP3として書く(P2→P3)。
As shown in the reception processing flowchart of FIG.
By repeatedly referring to the contents of the synchronization data P2, a change in the value of the synchronization data P2 is detected, and when there is a change, it is read as new data has arrived, and then the value of the synchronization data P2 is sent to the buffer TB.
2 as P3 (P2→P3).

情報伝送装置Tの働きで共有メモリM2の送
信バツフアTB2の内容は情報処理装置Aの共
有メモリM1の受信バツフアRB1にコピーさ
れる(P3=P4)。
By the action of the information transmission device T, the contents of the transmission buffer TB2 of the shared memory M2 are copied to the reception buffer RB1 of the shared memory M1 of the information processing device A (P3=P4).

情報処理装置Aは情報処理装置Bがデータを
取つたことを同期用データがP4=P1となつ
たことで知る。
Information processing device A learns that information processing device B has taken the data because the synchronization data becomes P4=P1.

即ち、送信側では、同期用データが、送信時の
値と返送された値が等価になつたことによつて、
受信側の完了を知る。
In other words, on the sending side, the value of the synchronization data at the time of sending and the value returned are equivalent, so that
Know the receiver's completion.

受信側では、受信データの中の同期用データを
参照して新たな同期用データを返送することによ
つて知らせる。
On the receiving side, notification is made by referring to the synchronization data in the received data and sending back new synchronization data.

上記情報伝送方式をN対Nのバス型ネツトワー
クに用いる場合、本方式では伝送路使用の管理を
もともと行つているため(自動的に交互に使用し
ている)、比較的容易にN対Nに機能拡張を行う
ことができる。
When the above information transmission method is used in an N-to-N bus type network, since this method originally manages the use of transmission paths (they are used alternately automatically), it is relatively easy to connect N-to-N. Functions can be expanded to.

第3図は第1図の情報伝送方式を拡張した際の
A局〜D局の各情報処理装置の共有メモリM1〜
M4のみの構成を示したブロツク図である。第1
図では1対1の通信であつたものを、第3図のよ
うにN対Nに拡張する場合には、各局は自局の共
有メモリM1〜M4の送信バツフアTB1〜TB
4と受信バツフアRB1〜RB4とに相手局別に
受信エリアをそれぞれ持たせ、受信データの中か
ら各共有メモリM1〜M4に取り込む部分を自局
宛の部分に限定することによつて実現できる。
FIG. 3 shows the shared memory M1 to each information processing device of stations A to D when the information transmission method shown in FIG. 1 is expanded.
FIG. 3 is a block diagram showing the configuration of only M4. 1st
When expanding the one-to-one communication shown in the figure to N-to-N as shown in Fig. 3, each station uses the transmission buffers TB1 to TB of its own shared memory M1 to M4.
This can be realized by providing each of the receiving buffers RB1 to RB4 with a receiving area for each partner station, and by limiting the portion of the received data to be taken into each shared memory M1 to M4 to the portion addressed to the own station.

例えば、A局からB局へデータを送る場合に
は、A局の送信バツフアTB1における「Bへ」
で示された部分のデータをB局の受信バツフア
RB2における「Aから」で示された部分に複写
するように、A局,B局の各情報伝送装置が協力
して処理することにより実現できる。すべての局
の組み合わせで、上記の処理を行うことによつて
N対Nの通信ができる。
For example, when sending data from station A to station B, select "To B" in the transmission buffer TB1 of station A.
The data of the part indicated by is sent to the reception buffer of station B.
This can be realized by the information transmission devices of the A station and the B station working together to copy the information to the part indicated by "From A" in RB2. N-to-N communication is possible by performing the above processing in all combinations of stations.

送信は、総局数をNとすると、1,2,3…
…,N−1,N,1,2……の順で行なわれ、送
信データは送信バツフアの内容全体である。つま
り、送信順序が決められており、例えば送信順序
がA,B,C,D,A,B,C,D……となつて
いるのであれば、 となる。
For transmission, if the total number of stations is N, then 1, 2, 3...
..., N-1, N, 1, 2..., and the transmission data is the entire contents of the transmission buffer. In other words, if the transmission order is determined, for example, the transmission order is A, B, C, D, A, B, C, D... becomes.

送信データ中には、送信を行つた局を示すデー
タが含まれており、各局はこれを参照することに
より、自分が送信を行う順番であることを知る。
The transmission data includes data indicating the station that has transmitted, and by referring to this data, each station knows that it is its turn to transmit.

受信側では、受信データの内、自局に割り当て
られた領域のみを受信バツフアに移す。
On the receiving side, of the received data, only the area allocated to the local station is transferred to the receiving buffer.

送信局が一巡すると、各局にすべての相手局か
ら1回ずつデータを受信したことになる。
When the transmitting station completes one round, each station receives data once from all partner stations.

ここで、互いにやりとりするデータに各相手局
毎の同期用データを含めると、前記で述べた1対
1伝送と同様にデータ伝送の同期をとることがで
きる。
Here, if synchronization data for each partner station is included in the data exchanged with each other, data transmission can be synchronized in the same way as in the one-to-one transmission described above.

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

以上のようにこの発明によれば、情報処理装置
と情報伝送装置間ではハンドシエイク方式に類す
るデータの受け渡しの同期を取らずに、情報処理
装置側で、伝送データ中の同期用データの更新・
参照をすることによつて情報装置側で同期をとる
ようにしたので、情報処理装置と情報伝送装置間
のインターフエイスを減らすことができ、互いの
機構を簡単化でき、高負荷時に能率的に情報伝送
を行うことができる。
As described above, according to the present invention, the information processing device side updates and updates the synchronization data in the transmitted data without synchronizing the data exchange similar to a handshake method between the information processing device and the information transmission device.
By using references, synchronization is achieved on the information device side, which reduces the number of interfaces between the information processing device and the information transmission device, simplifies both mechanisms, and improves efficiency during high loads. Information transmission can be performed.

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

第1図はこの発明の一実施例における情報伝送
方式のシステム構成を示すブロツク図、第2図は
第1図におけるプログラムによる制御動作のフロ
ーチヤート図、第3図はN対N通信に利用した場
合の各共有メモリの構成を示すブロツク図、第4
図は従来の情報伝送方式のシステム構成を示すブ
ロツク図である。 A,Bは情報処理装置、M1,M2は共有メモ
リ、TB1,TB2は送信バツフア、RB1,RB
2は受信バツフア、Tは情報伝送装置、a,bは
通信チヤネル、lは伝送路。なお、図中、同一符
号は同一、又は相当部分を示す。
Fig. 1 is a block diagram showing the system configuration of an information transmission system in an embodiment of the present invention, Fig. 2 is a flowchart of control operations by the program in Fig. 1, and Fig. 3 is a block diagram showing the system configuration of an information transmission method in an embodiment of the present invention. Block diagram showing the configuration of each shared memory in case 4.
The figure is a block diagram showing the system configuration of a conventional information transmission system. A and B are information processing devices, M1 and M2 are shared memories, TB1 and TB2 are transmission buffers, RB1 and RB
2 is a reception buffer, T is an information transmission device, a and b are communication channels, and l is a transmission path. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 1 情報処理装置が情報伝送装置を通じて他の情
報処理装置と接続されており、前記情報処理装置
と前記情報伝送装置は第1の共有メモリを介して
データを受け渡し、また、前記他の情報処理装置
と前記情報伝送装置間は第2の共有メモリを介し
てデータを受け渡す情報伝送方式において、前記
情報処理装置が前記他の情報処理装置に対して前
記データを送信する場合、前記情報処理装置が前
記第1の共有メモリの送信バツフアに前記データ
を書き込むとともに、前記送信バツフアの同期用
データの値を所定値にすると、前記情報伝送装置
が前記データを前記第2の共有メモリの受信バツ
フアに伝送するとともに、前記受信バツフアの同
期用データの値を所定値にし、また、その同期用
データが所定値になつたことを前記他の情報処理
装置が検知すると前記受信バツフアから前記デー
タを読み込むととに、前記第2の共有メモリの送
信バツフアの同期用データの値を所定値にしたの
ち、前記情報伝送装置が前記第2の共有メモリの
送信バツフア中のデータを前記第1の共有メモリ
の受信バツフアに伝送するとともに、前記第1の
共有メモリの受信バツフアの同期用データの値を
所定値にし、前記情報処理装置がその同期用デー
タの値が所定値になつたことを検知すると一連の
送信処理を終了することを特徴とする情報伝送方
式。
1. An information processing device is connected to another information processing device through an information transmission device, the information processing device and the information transmission device exchange data via a first shared memory, and the other information processing device In the information transmission method in which data is exchanged between the information processing apparatus and the information transmission apparatus via a second shared memory, when the information processing apparatus transmits the data to the other information processing apparatus, the information processing apparatus When the data is written to the transmission buffer of the first shared memory and the value of the synchronization data of the transmission buffer is set to a predetermined value, the information transmission device transmits the data to the reception buffer of the second shared memory. At the same time, the value of the synchronization data of the reception buffer is set to a predetermined value, and when the other information processing device detects that the synchronization data has reached the predetermined value, the data is read from the reception buffer. After setting the value of the synchronization data in the transmission buffer of the second shared memory to a predetermined value, the information transmission device transmits the data in the transmission buffer of the second shared memory to the reception of the first shared memory. At the same time, the value of the synchronization data of the reception buffer of the first shared memory is set to a predetermined value, and when the information processing device detects that the value of the synchronization data has reached the predetermined value, a series of transmissions is performed. An information transmission method characterized by terminating processing.
JP61233303A 1986-10-02 1986-10-02 Information transmission system Granted JPS6388928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61233303A JPS6388928A (en) 1986-10-02 1986-10-02 Information transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61233303A JPS6388928A (en) 1986-10-02 1986-10-02 Information transmission system

Publications (2)

Publication Number Publication Date
JPS6388928A JPS6388928A (en) 1988-04-20
JPH0560699B2 true JPH0560699B2 (en) 1993-09-02

Family

ID=16953001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61233303A Granted JPS6388928A (en) 1986-10-02 1986-10-02 Information transmission system

Country Status (1)

Country Link
JP (1) JPS6388928A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0283744A (en) * 1988-09-21 1990-03-23 Hitachi Ltd Double system synchronizing processing method
US7290647B2 (en) 2005-03-10 2007-11-06 Thk Co., Ltd. Guide apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55108043A (en) * 1979-02-14 1980-08-19 Nec Corp Transmission control system of storage type line control unit
JPS56119559A (en) * 1980-02-26 1981-09-19 Nec Corp Communication control device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55108043A (en) * 1979-02-14 1980-08-19 Nec Corp Transmission control system of storage type line control unit
JPS56119559A (en) * 1980-02-26 1981-09-19 Nec Corp Communication control device

Also Published As

Publication number Publication date
JPS6388928A (en) 1988-04-20

Similar Documents

Publication Publication Date Title
EP0183080A2 (en) Loop transmission system with a variable station connection order
JPH0560699B2 (en)
JPH0567092B2 (en)
JPH0151221B2 (en)
JPH0220026B2 (en)
JPH0730576A (en) Transmission system
CN111130675B (en) Time synchronization device based on time trigger network
JPS62132444A (en) Radio communication system provided with centralized control function
JPS6049350B2 (en) Data bus control method
JPS61264833A (en) Data transfer and control system
JP2693799B2 (en) Data transmission method
JPS6384228A (en) Data transmission system between master station and plural slave stations
JPS6361356A (en) Serial data transfer device
JPH0343657B2 (en)
JP2662257B2 (en) Signal transmission method
JP2644558B2 (en) Test apparatus and test method for communication device
JPS589620B2 (en) Peer communication system
JPS589619B2 (en) data communication system
JPH0521378B2 (en)
JPH0533862B2 (en)
JPH0362648A (en) Rolling system
JPH1011353A (en) Data transmission equipment
JPH01112843A (en) Communication system for community communication line
JPS6143047A (en) Busy supervisory system of data transmission
JPS5816774B2 (en) Loop data transmission system