JP3463845B2 - Data transmission control device - Google Patents

Data transmission control device

Info

Publication number
JP3463845B2
JP3463845B2 JP01105097A JP1105097A JP3463845B2 JP 3463845 B2 JP3463845 B2 JP 3463845B2 JP 01105097 A JP01105097 A JP 01105097A JP 1105097 A JP1105097 A JP 1105097A JP 3463845 B2 JP3463845 B2 JP 3463845B2
Authority
JP
Japan
Prior art keywords
common memory
data
processing device
transmission
common
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 - Fee Related
Application number
JP01105097A
Other languages
Japanese (ja)
Other versions
JPH10210085A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP01105097A priority Critical patent/JP3463845B2/en
Publication of JPH10210085A publication Critical patent/JPH10210085A/en
Application granted granted Critical
Publication of JP3463845B2 publication Critical patent/JP3463845B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信回線を介して
接続されたコンピュータ等の各ノードが共通のデータを
保持するようにしたサイクリック通信方式のネットワー
クシステムに係り、特に、コモンメモリの各ブロックで
伝送情報の同時性を保証、即ち、各局のコモンメモリを
同一内容にすることのできるデータ伝送制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network system of a cyclic communication system in which each node such as a computer connected via a communication line holds common data, and in particular, each common memory The present invention relates to a data transmission control device capable of guaranteeing simultaneity of transmission information in blocks, that is, making common memory of each station the same.

【0002】[0002]

【従来の技術】コンピュータネットワークシステムにお
ける通信方法の1つにサイクリック通信がある。このサ
イクリック通信は、ネットワークに接続された複数のコ
ンピュータの相互間にコモンメモリ(common memory)を
介在させ、各々のコンピュータのネットワークコントロ
ール部内のメモリにあるデータを一定の周期で一致化さ
せ、各コンピュータがほぼ同時刻に同一データを参照す
ることができる。このようなシステムは、コモンメモリ
のデータが一定周期で書き換えられているため、この周
期に近い応答時間が得られ、応答時間の短縮が図られ
る。また、コモンメモリへのアクセスが、プログラム上
は読み出し命令、書き込み命令によって行われるので通
信制御用ソフト等のオーバーヘッドがなく、コンピュー
タの負荷を大幅に軽減することができる。
2. Description of the Related Art Cyclic communication is one of communication methods in a computer network system. In this cyclic communication, a common memory (common memory) is interposed between a plurality of computers connected to a network, and the data in the memory in the network control unit of each computer is made to coincide with each other at a constant cycle. Computers can refer to the same data at approximately the same time. In such a system, since the data in the common memory is rewritten at a constant cycle, a response time close to this cycle can be obtained and the response time can be shortened. Further, since the access to the common memory is performed by a read command and a write command on the program, there is no overhead of communication control software and the like, and the load on the computer can be greatly reduced.

【0003】サイクリック通信を用いたシステムの従来
技術として、例えば、特公昭64−8501号公報に示
されたものがある。この従来技術の装置は、バスとの間
のインターフェースをとる伝送制御回路と、それを制御
する伝送制御用のプロセッサ、タイマ、コモンメモリ等
から構成され、プロセッサはタイマを用いて送信権の巡
回を監視し、前もって決定された限定時間内に送信権が
回ってきた場合は、伝送制御回路にコモンメモリ内の自
局の固有情報を他局にブロードキャスト(同報通信:br
oadcast)伝送させ、他局からのフレームを受信した場
合、そのデータをコモンメモリ内の送信局対応エリアに
格納することで、複数局が同一情報を共有するようにし
ている。
As a conventional technique of a system using cyclic communication, for example, there is one disclosed in Japanese Patent Publication No. 64-8501. This prior art device is composed of a transmission control circuit that interfaces with a bus, a transmission control processor that controls the interface, a timer, a common memory, and the like, and the processor uses the timer to circulate the transmission right. If the transmission right is monitored within a limited time determined in advance, the transmission control circuit broadcasts its own information in the common memory to other stations (broadcast communication: br
When a frame from another station is received, the data is stored in the area corresponding to the transmitting station in the common memory so that multiple stations share the same information.

【0004】以下、従来のデータ伝送制御装置につい
て、図面を用いて説明する。図9は従来のデータ伝送制
御装置を用いたデータ通信システムの構成例を示すブロ
ック図である。局1は伝送路4に接続され、この伝送路
4に接続された他の処理装置(不図示)との間でデータ
伝送を行うことができる。局1はコンピュータによる処
理装置2及びデータ伝送制御装置3を備えて構成されて
いる。また、データ伝送制御装置3は、処理装置インタ
ーフェース手段5、コモンメモリ6、及び伝送路アクセ
ス手段7を備えて構成されている。
A conventional data transmission control device will be described below with reference to the drawings. FIG. 9 is a block diagram showing a configuration example of a data communication system using a conventional data transmission control device. The station 1 is connected to the transmission line 4 and can perform data transmission with another processing device (not shown) connected to the transmission line 4. The station 1 is configured to include a computer processing device 2 and a data transmission control device 3. Further, the data transmission control device 3 comprises a processing device interface means 5, a common memory 6, and a transmission path access means 7.

【0005】図10はコモンメモリ6のメモリ空間の状
態の一例を示している。コモンメモリ6は送信用エリア
6aと受信用エリア6bを備えて構成されている。図9
及び図10を用いて従来のデータ伝送制御装置3を用い
たデータ通信システムの動作を説明する。処理装置2が
データ伝送路4に接続される他の処理装置における自局
(処理装置2)の固有情報を更新しようとする場合、ま
ず、処理装置2はデータ伝送制御装置3のコモンメモリ
6の送信用エリア6aに自局の固有情報の書き込みを行
う。送信用エリア6aに書き込まれた自局の固有情報
は、一定周期(以下、「転写周期」という)毎にブロー
ドキャストで伝送される。また、処理装置2の固有情報
を受信した局は該当エリアに格納する。このようなデー
タ転送の動作は、処理装置側の動作とは無関係に行わ
れ、処理装置はデータ伝送制御装置3のコモンメモリ6
の送信用エリア6aに自局の固有情報を書き込むだけ
で、自局の固有情報は他の処理装置が参照できるコモン
メモリの送信局対応に定められた受信用エリアに転送さ
れる。他の処理装置は、コモンメモリ6の受信エリア6
bを必要な時にリードすることで処理装置の出力データ
を受け取ることができる。なお、類似の技術に特開平4
−101538号公報に示されるCPU出力データ制御
回路がある。この構成は、書き込み用と読み出し用の2
面の送信用メモリを備え、これらを切り替えて使用する
ことにより時分割通信を行うもので、2面の送信用メモ
リは言わば交替バッファとして用いられる。
FIG. 10 shows an example of the state of the memory space of the common memory 6. The common memory 6 comprises a transmission area 6a and a reception area 6b. Figure 9
The operation of the data communication system using the conventional data transmission control device 3 will be described with reference to FIG. When the processing device 2 tries to update the unique information of its own station (processing device 2) in another processing device connected to the data transmission path 4, first, the processing device 2 stores in the common memory 6 of the data transmission control device 3. The unique information of the own station is written in the transmission area 6a. The unique information of the own station written in the transmission area 6a is broadcasted at regular intervals (hereinafter, referred to as "transfer cycle"). The station that has received the unique information of the processing device 2 stores it in the corresponding area. Such a data transfer operation is performed independently of the operation on the processing device side, and the processing device is the common memory 6 of the data transmission control device 3.
Only by writing the unique information of its own station in the transmitting area 6a of 1, the unique information of its own station is transferred to the receiving area of the common memory which can be referred to by other processing devices and which is defined for the transmitting station. The other processing device is the reception area 6 of the common memory 6.
The output data of the processing device can be received by reading b when necessary. A similar technique is disclosed in Japanese Patent Laid-Open No.
There is a CPU output data control circuit disclosed in Japanese Patent Laid-Open No. 101538. This configuration is for writing and reading
A plane transmission memory is provided, and time division communication is performed by switching and using these. The plane transmission memory is used as a so-called alternation buffer.

【0006】[0006]

【発明が解決しようとする課題】しかし、コモンメモリ
や交替バッファを用いる従来技術においては、コモンメ
モリ内の送信エリアのデータを他のデータ伝送制御装置
に対してブロードキャスト伝送する動作が、処理装置の
動作と無関係に行われるために、処理装置がコモンメモ
リ内の送信エリアに或る程度の容量を持った自局の固有
情報を書き込み中に、データ伝送制御装置が送信エリア
内の自局の固有情報を他局へ送信するタイミングになっ
た場合、処理装置からコモンメモリへのアクセスの速さ
と、データ伝送制御装置がデータを送信する速さが異な
るため、処理装置からコモンメモリの送信エリアへの自
局の固有情報の更新が終わらない内にデータが他の処理
装置へ転送されてしまうという問題がある。
However, in the prior art using the common memory and the alternate buffer, the operation of broadcasting the data in the transmission area in the common memory to other data transmission control devices is performed by the processing device. Since the processing is performed independently of the operation, the data transmission control device writes the unique information of its own station in the transmission area while the processing device is writing the unique information of its own station with a certain capacity in the transmission area of the common memory. If it is time to send information to another station, the speed of access from the processing device to the common memory and the speed at which the data transmission control device sends data are different. There is a problem that the data is transferred to another processing device before the update of the unique information of the own station is completed.

【0007】すなわち、図11に示すような問題が生じ
る。(a)のように送信用メモリ101と送信用メモリ
102を備え、送信用メモリ101にCPU103の指
定のエリアにデータAの更新を行う。このとき、送信用
メモリ102は伝送路4に接続されている。データAの
更新終了後、(b)のように送信用メモリ101と送信
用メモリ102が切り替えられる。(b)では、送信用
メモリ102に対してCPU103によって、指定のエ
リアに対しデータBの更新が行われる。このとき、送信
用メモリ101からデータ送信が行われないまま、再び
(a)の状態にコモンメモリの切り替えが行われた場
合、(c)のように、送信用メモリ101の内容(デー
タA)が送信用メモリ102に転写(同じ内容のデータ
を別のメモリに保存する処理)されていないため、送信
用メモリ2からは更新されたデータと末更新のデータ
A′が伝送路4へ送信されるという不具合が生じる。つ
まり、データAを更新したにもかかわらず、末更新の内
容で送信されてしまう。このため、サイクリック通信で
は、処理装置からのデータ更新の単位でしかデータの同
時性は保証されず、前後のアドレスにあるデータ同士
が、必ずしも同時刻のものであるという保証はない。し
たがって、処理装置からのデータ更新の単位で情報を扱
う場合は特別な考慮を必要としないが、複数のデータを
ブロックとして扱う場合、例えば、ソフトウェア側でデ
ータの先頭と最後にチェックデータを付加し、受信側で
全データが完全に揃ったことを確認したうえでデータを
処理する必要がある。
That is, the problem shown in FIG. 11 arises. As shown in (a), the memory for transmission 101 and the memory for transmission 102 are provided, and the data A is updated in the area designated by the CPU 103 in the memory for transmission 101. At this time, the transmission memory 102 is connected to the transmission path 4. After the update of the data A is completed, the transmission memory 101 and the transmission memory 102 are switched as shown in (b). In (b), the CPU 103 updates the data B in the designated area in the transmission memory 102. At this time, when the common memory is switched to the state of (a) again without data transmission from the transmission memory 101, the contents of the transmission memory 101 (data A) are changed as shown in (c). Has not been transferred to the transmission memory 102 (processing for storing the same data in another memory), the updated data and the last updated data A ′ are transmitted from the transmission memory 2 to the transmission path 4. There is a problem that That is, although the data A has been updated, the contents of the last update will be transmitted. For this reason, in the cyclic communication, the simultaneity of data is guaranteed only in the unit of data update from the processing device, and there is no guarantee that the data at the preceding and following addresses are at the same time. Therefore, no special consideration is required when handling information in units of data updates from the processor, but when handling multiple data as blocks, for example, the software adds check data to the beginning and end of the data. , It is necessary to process the data after confirming that all data is completely prepared on the receiving side.

【0008】更に、処理装置からコモンメモリの送信エ
リアへの自局の固有情報の更新が全て完了した後、送信
エリアのデータが他局へブロードキャスト伝送された場
合、受信したデータをコモンメモリの送信エリアに書き
込み中に、受信した局に接続されている処理装置がコモ
ンメモリの送信エリアを読み出すと、データを受信する
処理装置は更新された自局の固有情報を全て受け取るこ
とができない。
Furthermore, when the data in the transmission area is broadcast-transmitted to other stations after the update of the unique information of the own station from the processing device to the transmission area of the common memory is completed, the received data is transmitted to the common memory. When the processing device connected to the receiving station reads the transmission area of the common memory during writing in the area, the processing device receiving the data cannot receive all the updated unique information of the own station.

【0009】本発明の目的は、処理装置側と伝送路側が
同時にコモンメモリをアクセスできないようにし、コモ
ンメモリの各データブロック内における送受信データの
同時性を保証できるようにしたデータ伝送制御装置を提
供することにある。
An object of the present invention is to provide a data transmission control device capable of guaranteeing the simultaneity of transmission / reception data in each data block of the common memory by preventing the processing device side and the transmission line side from accessing the common memory at the same time. To do.

【0010】[0010]

【課題を解決するための手段】本発明は、書き込み及び
読み出し処理を実行する処理装置及び伝送路に対するイ
ンターフェースを司る伝送路アクセス手段との組み合わ
せによって1つの局を構成し、前記伝送路を介して他局
とのデータ交換を行うデータ伝送制御装置において、前
記処理装置によって固有情報が書き込まれる送信用エリ
アと他局からのデータを受信する受信用エリアを各々が
備える2つのコモンメモリと、前記伝送路に対するイン
ターフェースを司る伝送路アクセス手段と、前記伝送路
アクセス手段及び処理装置に対する前記コモンメモリの
各々の接続先を切り替えるコモンメモリ切替手段と、該
コモンメモリ切替手段及び前記処理装置に接続される処
理装置インターフェース手段を具備すると共に、前記コ
モンメモリ切替手段は、前記処理装置インターフェース
手段側に接続された前記コモンメモリへの書き込み時に
おける書き込み内容のアドレス及びデータを格納すべく
前記コモンメモリの各々に接続されるバッファを備え、
前記伝送路アクセス手段側に接続された前記コモンメモ
リから前記伝送路への送信終了後、前記バッファから非
書き込み中のコモンメモリの所定のアドレスにデータを
書き込み、送信用と受信用のコモンメモリの内容を一致
させることを特徴とするデータ伝送制御装置を開示す
る。
According to the present invention, one station is constituted by a combination of a processing device for executing a writing and reading process and a transmission line access means for controlling an interface to the transmission line, and the station is connected via the transmission line. In a data transmission control device for exchanging data with another station, two common memories each having a transmission area in which unique information is written by the processing device and a reception area for receiving data from another station; Transmission path access means for controlling the interface to the communication path, common memory switching means for switching the connection destination of each of the common memories to the transmission path access means and the processing device, and processing connected to the common memory switching means and the processing device The common memory switching device is provided with a device interface means. Comprises a buffer connected to each of said common memory in order to store the address and data contents written in the writing to the common memory connected to the processor interface means side,
After the transmission from the common memory connected to the transmission line access means side to the transmission line is completed, data is written from the buffer to a predetermined address of the non-writing common memory, and the common memory for transmission and reception is stored. Disclosed is a data transmission control device characterized by matching the contents.

【0011】この構成によれば、2つ(2面)のコモン
メモリの各々が送信用エリアと受信用エリアを備え、処
理装置インターフェース手段側に接続されたコモンメモ
リと伝送路アクセス手段側に接続されたコモンメモリに
対し、処理装置インターフェース手段側に接続されたコ
モンメモリへの固有情報の書き込みの終了に応じて2つ
のコモンメモリがコモンメモリ切替手段により切り替え
られる。これにより、処理装置インターフェース手段側
に接続されたコモンメモリへ固有情報を書き込み中に該
コモンメモリにデータ転送が行われるのが防止され、デ
ータの同時性保証することができる。
According to this construction, each of the two (two) common memories has a transmission area and a reception area, and is connected to the common memory connected to the processor interface means side and to the transmission path access means side. Two common memories are switched by the common memory switching unit in response to the completion of writing the unique information to the common memory connected to the processing device interface unit side. As a result, it is possible to prevent the data transfer to the common memory while writing the unique information to the common memory connected to the processor interface means side, and to guarantee the simultaneity of the data.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。図1は本発明のデータ伝
送制御装置の一実施の形態、及びこれを用いたデータ通
信システムの構成を示すブロック図である。本発明によ
るデータ伝送制御装置13は、従来と同じ構成の処理装
置インターフェース手段5及び伝送路アクセス手段7の
ほか、コモンメモリ8,9、このコモンメモリ8及び9
に接続されたライトバッファ(write buffer) 10,1
1、コモンメモリ8,9とライトバッファ10(WB
1),11(WB2)と処理装置インターフェース手段
5に接続されたコモンメモリ切替手段12を加えて構成
されている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a data transmission control device of the present invention and a configuration of a data communication system using the same. The data transmission control device 13 according to the present invention includes a processing device interface means 5 and a transmission line access means 7 having the same configuration as the conventional one, common memories 8 and 9, and the common memories 8 and 9.
Write buffer 10,1 connected to
1, common memory 8 and 9 and write buffer 10 (WB
1), 11 (WB2) and a common memory switching means 12 connected to the processor interface means 5 are added.

【0013】図2はコモンメモリ8,9のメモリ空間の
使用区分を示す説明図である。図2に示すように、コモ
ンメモリ8(第1のコモンメモリ)は送信用エリア8a
と受信用エリア8bを備え、コモンメモリ9(第2のコ
モンメモリ)は送信用エリア9aと受信用エリア9bを
備えている。
FIG. 2 is an explanatory diagram showing usage divisions of the memory spaces of the common memories 8 and 9. As shown in FIG. 2, the common memory 8 (first common memory) is a transmission area 8a.
And a receiving area 8b, and the common memory 9 (second common memory) includes a transmitting area 9a and a receiving area 9b.

【0014】図3はコモンメモリ8,9におけるメモリ
転写の原理を示す説明図である。ここでは、3つの局
(局1、局2、局3)の間でデータ送受信が行われ、各
局が局数に応じた数のコモンメモリ(A,B,C)を備
えたシステムを例示している。このコモンメモリAがコ
モンメモリ8に相当し、コモンメモリB,Cがコモンメ
モリ9に相当する。また、コントローラは、コモンメモ
リ切替手段12及びライトバッファ等を含んだ構成に相
当する。
FIG. 3 is an explanatory view showing the principle of memory transfer in the common memories 8 and 9. Here, a system in which data is transmitted and received among three stations (station 1, station 2, station 3) and each station includes a number of common memories (A, B, C) corresponding to the number of stations is illustrated. ing. The common memory A corresponds to the common memory 8 and the common memories B and C correspond to the common memory 9. Further, the controller corresponds to a configuration including the common memory switching unit 12 and the write buffer.

【0015】コモンメモリAにはコントローラAから書
き込みが行われ、コモンメモリBにはコントローラBか
ら書き込みが行われ、コモンメモリCにはコントローラ
Cから書き込みが行われる。したがって、自局において
は、コモンメモリAは他の局のコモンメモリB,Cへの
送信用に用いられ、コモンメモリB,Cは他局からの受
信データの書き込み用に用いられる。例えば、局1のコ
モンメモリAに書き込まれたデータは、周期的にブロー
ドキャストが行われることで伝送路4上へ送信される。
局2,3では他局から伝送路4を通して伝送されてきた
データを受信し、コモンメモリの該当エリアへ一定時間
内に格納する。この処理によって、局1〜局3の夫々の
コモンメモリにおいて同一内容のデータを保有、即ちデ
ータの同時性が得られたたことになる。コントローラか
らのデータ参照は、通信を意識しない単なるメモリのリ
ード/ライト処理に徹することができ、この結果、応答
性を高めることができる。
The common memory A is written by the controller A, the common memory B is written by the controller B, and the common memory C is written by the controller C. Therefore, in the own station, the common memory A is used for transmitting to the common memories B and C of other stations, and the common memories B and C are used for writing the received data from other stations. For example, the data written in the common memory A of the station 1 is transmitted to the transmission path 4 by being periodically broadcast.
The stations 2 and 3 receive the data transmitted from the other stations through the transmission path 4 and store it in the corresponding area of the common memory within a fixed time. This processing means that the common memory of each of the stations 1 to 3 holds the data of the same content, that is, the simultaneity of the data is obtained. The data reference from the controller can be devoted to simple memory read / write processing that is not conscious of communication, and as a result, responsiveness can be improved.

【0016】図3の構成において、自局のコントローラ
によるコモンメモリAとコモンメモリB,Cの切り替え
は、例えば、コモンメモリAが伝送路4に接続され、コ
モンメモリB,Cがコントローラ側に接続されている場
合であれば、コモンメモリAが伝送路4からコントロー
ラ側に切り替えられ、コモンメモリB,Cがコントロー
ラ側から伝送路4へ切り替えられる。
In the configuration of FIG. 3, switching of the common memory A and the common memories B and C by the controller of the own station is performed, for example, by connecting the common memory A to the transmission line 4 and connecting the common memories B and C to the controller side. If so, the common memory A is switched from the transmission line 4 to the controller side, and the common memories B and C are switched from the controller side to the transmission line 4.

【0017】次に、図1及び図2を参照して本発明のデ
ータ伝送制御装置13を用いたデータ通信システムの動
作について説明する。コモンメモリ切替手段10によっ
て、コモンメモリ8は接続先がデータ伝送路4側から処
理装置2側に切り替えられ、コモンメモリ9は処理装置
2側から伝送路4側に切り替えれる。この接続状態にお
いては、送信データが転写周期毎にコモンメモリ9の送
信用エリア9aから読み出され、データ伝送路4を介し
て他の局(不図示)の処理装置へ伝送される。ここで、
処理装置2に自局の固有情報が発生し、データ伝送制御
装置13のコモンメモリへ書き込みを行う場合について
説明する。処理装置2はコモンメモリ8に対して書き込
みを実行する。処理装置2からコモンメモリ8への自局
の固有情報の書き込みが終了しない間の局1から他局へ
のデータ転送処理は、処理装置2から切り離され伝送路
4に接続されているコモンメモリ9を用いて行われる。
そして、自局の固有情報の書き込みが終了した時点で、
コモンメモリ切替手段12により、処理装置2側に接続
されているコモンメモリ8とデータ伝送路4側に接続さ
れているコモンメモリ9の切り替えが行われ、コモンメ
モリ8はコモンメモリ切替手段12を介して伝送路アク
セス手段7に接続され、コモンメモリ9は処理装置2側
に接続される。
Next, the operation of the data communication system using the data transmission control device 13 of the present invention will be described with reference to FIGS. 1 and 2. By the common memory switching means 10, the connection destination of the common memory 8 is switched from the data transmission path 4 side to the processing device 2 side, and the common memory 9 is switched from the processing device 2 side to the transmission path 4 side. In this connection state, transmission data is read from the transmission area 9a of the common memory 9 for each transfer cycle and transmitted to the processing device of another station (not shown) via the data transmission path 4. here,
A case will be described in which the unique information of its own station is generated in the processing device 2 and writing is performed in the common memory of the data transmission control device 13. The processing device 2 executes writing to the common memory 8. The data transfer process from the station 1 to another station while the writing of the unique information of the own station from the processing device 2 to the common memory 8 is not completed, the common memory 9 disconnected from the processing device 2 and connected to the transmission line 4 is connected. Is performed using.
Then, when the writing of the unique information of the own station is completed,
The common memory switching means 12 switches between the common memory 8 connected to the processing device 2 side and the common memory 9 connected to the data transmission path 4 side, and the common memory 8 passes through the common memory switching means 12. Is connected to the transmission line access means 7, and the common memory 9 is connected to the processing device 2 side.

【0018】このように、一方のコモンメモリに書き込
み中には、他方のコモンメモリから読み出しを行うこと
によってデータの同時性が保証される。すなわち、処理
装置2がコモンメモリ8に書き込みを行っている時にコ
モンメモリ8のデータ転送(読み出し)が起こることは
なく、データの同時性を保証することができる。以降、
処理装置2側に接続されたコモンメモリとデータ伝送路
4側に接続されたコモンメモリを切り替えていくことで
データの同時性が保証される。しかし、2つのコモンメ
モリを切り替えて使用する場合、切り替えの発生する前
に2つのコモンメモリの内容を一致させないと、2つの
コモンメモリの内容に不整合を生じる問題がある。つま
り、図2において、処理装置2によって送信用エリア8
aの領域81に更新が行われた後、処理装置インターフ
ェース手段5側に接続されたコモンメモリ8と伝送路ア
クセス手段7側に接続されたコモンメモリ9を切り替え
る場合、コモンメモリ9のデータ末更新領域91ではデ
ータの更新が行われていないため、コモンメモリを切り
替え後、コモンメモリ8とコモンメモリ9の間で内容の
不整合が生じる。
As described above, during writing in one common memory, data simultaneity is guaranteed by reading from the other common memory. That is, data transfer (reading) of the common memory 8 does not occur while the processing device 2 is writing to the common memory 8, and the simultaneity of data can be guaranteed. Or later,
Data simultaneity is guaranteed by switching the common memory connected to the processing device 2 side and the common memory connected to the data transmission line 4 side. However, when the two common memories are switched and used, there is a problem that the contents of the two common memories become inconsistent unless the contents of the two common memories are matched before the switching occurs. That is, in FIG. 2, the transmission area 8 is set by the processing device 2.
When the common memory 8 connected to the processor interface means 5 side and the common memory 9 connected to the transmission path access means 7 side are switched after the area 81 of a is updated, the data end update of the common memory 9 is performed. Since the data is not updated in the area 91, the mismatch of contents occurs between the common memory 8 and the common memory 9 after switching the common memory.

【0019】この問題を解決するために、本発明ではラ
イトバッファ10,11を用いている。すなわち、コモ
ンメモリ切替手段10とコモンメモリ9との間にライト
バッファ11(WB2)を介在させ、処理装置2から処
理装置インターフェース手段5側に接続されたコモンメ
モリ8の内容を更新すると同時に、更新内容のアドレス
とデータをライトバッファ11に保持する。ついで、伝
送路アクセス手段7側に接続されたコモンメモリ9の領
域91からデータ伝送路4への送信が完了した後、ライ
トバッファ11によってコモンメモリ9の領域91のデ
ータを更新し、コモンメモリ8とコモンメモリ9の内容
を一致させる。この後、コモンメモリ切替手段12によ
って処理装置インターフェース手段5側に接続されたコ
モンメモリ8と伝送路アクセス手段7側に接続されたコ
モンメモリ9とを切り替える。これにより、2つのコモ
ンメモリの内容に不整合が発生するのを防止できる。
In order to solve this problem, the write buffers 10 and 11 are used in the present invention. That is, the write buffer 11 (WB2) is interposed between the common memory switching unit 10 and the common memory 9 to update the contents of the common memory 8 connected to the processing device interface unit 5 side from the processing device 2 and at the same time. The content address and data are held in the write buffer 11. Then, after the transmission from the area 91 of the common memory 9 connected to the transmission path access means 7 side to the data transmission path 4 is completed, the data in the area 91 of the common memory 9 is updated by the write buffer 11, and the common memory 8 And the contents of the common memory 9 are matched. After that, the common memory switching means 12 switches between the common memory 8 connected to the processing device interface means 5 side and the common memory 9 connected to the transmission path access means 7 side. This can prevent the contents of the two common memories from becoming inconsistent.

【0020】なお、コモンメモリ9が処理装置インター
フェース手段5側に接続され、コモンメモリ8が伝送路
アクセス手段7側に接続された場合は、コモンメモリ9
の内容を更新すると同時に、ライトバッファ10に更新
内容のアドレスとデータを保持し、以後、上記と同様の
処理を行うことによって、2つのコモンメモリの内容に
不整合が発生するのを防止できる。
When the common memory 9 is connected to the processor interface means 5 side and the common memory 8 is connected to the transmission path access means 7 side, the common memory 9 is connected.
At the same time that the contents of the above are updated, the address and data of the updated contents are held in the write buffer 10, and thereafter, by performing the same processing as described above, it is possible to prevent inconsistency between the contents of the two common memories.

【0021】以上の説明は、送信エリアに自局の固有情
報が書き込まれる場合についてであったが、局1以外の
他局から固有情報を受信し、コモンメモリ内の送信局対
応に定められたエリアへ受信固有情報を格納する場合も
同様にして説明することができる。すなわち、局1が他
局から固有情報を受信した場合、コモンメモリ切替手段
12によってコモンメモリ8と処理装置2を接続すると
共に、コモンメモリ8とデータ伝送路4の接続を分離す
る。一方、コモンメモリ9においては、コモンメモリ切
替手段10によって処理装置2側から切り離され、伝送
路アクセス手段7との接続が行われる。転写周期毎にデ
ータ伝送路4及び伝送路アクセス手段7を介して受信し
た固有情報は、コモンメモリ9内の送信局対応に定めら
れた領域9bへ受信固有情報が格納される。
The above description is about the case where the unique information of the own station is written in the transmission area, but it is determined that the unique information is received from another station other than the station 1 and corresponds to the transmitting station in the common memory. The case of storing the reception specific information in the area can be similarly explained. That is, when the station 1 receives the unique information from another station, the common memory switching means 12 connects the common memory 8 and the processing device 2 and separates the connection between the common memory 8 and the data transmission path 4. On the other hand, the common memory 9 is separated from the processing device 2 side by the common memory switching means 10 and is connected to the transmission path access means 7. The unique information received via the data transmission path 4 and the transmission path access means 7 for each transfer cycle is stored in the area 9b of the common memory 9 defined for the transmitting station.

【0022】また、処理装置2がデータ伝送制御装置1
3のコモンメモリから他局よりの受信データを読み込む
場合、処理装置2はコモンメモリ8から受信データの読
み出しを行う。この時、他局からのデータの受信は、コ
モンメモリ8から処理装置2への読み出しが終了するま
では、処理装置2側から切り離され且つ伝送路4側に接
続されたコモンメモリ9を用いて行われる。そして、コ
モンメモリ8から他局の固有情報の読み出しが終了した
時点で、コモンメモリ切替手段12によってコモンメモ
リ8とコモンメモリ9の切り替えが行われ、コモンメモ
リ8がデータ伝送路4側に接続され、コモンメモリ9が
処理装置2側に接続される。この状態では、処理装置2
がコモンメモリ9に対してリード処理を行っていても、
コモンメモリ8に対してデータ受信(書き込み)が行わ
れることはなく、データの同時性が保証される。以降、
処理装置2側に接続されたコモンメモリとデータ伝送路
4側に接続されたコモンメモリとを切り替える操作を行
うことで、常にデータの同時性が保証される。
Further, the processing device 2 is the data transmission control device 1
When reading the received data from the other station from the common memory of No. 3, the processing device 2 reads the received data from the common memory 8. At this time, the reception of data from another station is performed by using the common memory 9 which is separated from the processing device 2 side and connected to the transmission path 4 side until the reading from the common memory 8 to the processing device 2 is completed. Done. Then, when the reading of the unique information of the other station from the common memory 8 is completed, the common memory switching means 12 switches between the common memory 8 and the common memory 9, and the common memory 8 is connected to the data transmission path 4 side. , The common memory 9 is connected to the processing device 2 side. In this state, the processing device 2
Is performing read processing on the common memory 9,
Data reception (writing) is not performed to the common memory 8, and data simultaneity is guaranteed. Or later,
By performing the operation of switching the common memory connected to the processing device 2 side and the common memory connected to the data transmission path 4 side, the simultaneity of data is always guaranteed.

【0023】図4はコモンメモリ切替手段12の詳細構
成を示すブロック図である。図中、14は処理装置イン
ターフェース手段5及び伝送路アクセス手段7に接続さ
れたデータ伝送制御装置用バス、15はデータ伝送制御
装置用バス14に接続された通信コントローラ用MPU
(Micro Processing Unit )、16はデータ伝送制御装
置用バス14に接続されたタイマ、17はデータ伝送制
御装置用バス14に接続されたDMA(Direct Memory
Access)コントローラ、18はデータ伝送制御装置用バ
ス14に接続された送受信用バッファメモリ、19はデ
ータ伝送制御装置用バス14に接続された第1のセレク
タ、20はデータ伝送制御装置用バス14及び各コモン
メモリに接続された第2のセレクタ、21はコモンメモ
リ8及びセレクタ19に接続された第1のアクセス検知
回路、22はコモンメモリ9及びセレクタ19に接続さ
れた第2のアクセス検知回路である。これら15〜22
の部材はデータ伝送制御装置13内に設置される。な
お、他の部材については、図1に示したと同じであるの
で、説明を省略する。
FIG. 4 is a block diagram showing the detailed structure of the common memory switching means 12. In the figure, 14 is a data transmission control device bus connected to the processing device interface means 5 and the transmission path access means 7, and 15 is a communication controller MPU connected to the data transmission control device bus 14.
(Micro Processing Unit), 16 is a timer connected to the data transmission control device bus 14, and 17 is a DMA (Direct Memory) connected to the data transmission control device bus 14.
Access) controller, 18 is a transmission / reception buffer memory connected to the data transmission control device bus 14, 19 is a first selector connected to the data transmission control device bus 14, and 20 is the data transmission control device bus 14 and A second selector connected to each common memory, 21 is a first access detection circuit connected to the common memory 8 and the selector 19, and 22 is a second access detection circuit connected to the common memory 9 and the selector 19. is there. These 15-22
Are installed in the data transmission control device 13. Since the other members are the same as those shown in FIG. 1, the description thereof will be omitted.

【0024】次に、図4のコモンメモリ切替手段12の
動作について説明する。通信コントローラ用MPU15
は、タイマ16の出力を基に一定周期毎にDMAコント
ローラ17へ転写指令を送出する。DMAコントローラ
17はコモンメモリ8又はコモンメモリ9から送信受信
用バッファメモリ18へ送信データを転写するが、この
時、セレクタ20によってコモンメモリ9が選択され
る。送信データがコモンメモリ9から送信受信用バッフ
ァメモリ18に書き込まれると、通信コントローラ用M
PU15に応答信号が返信される。コモンメモリ9から
送信受信用バッファメモリ18に書き込まれた送信デー
タは、更に伝送路アクセス手段7を通してデータ伝送路
4へ送信される。処理装置2からの自局の固有情報の更
新が行われない間は、前記したようにコモンメモリ9か
ら周期的にデータがデータ伝送路4へ伝送される。一
方、処理装置2に新たに自局の固有情報が発生した場
合、処理装置2はコモンメモリ8又はコモンメモリ9に
自局の固有情報を書き込むが、この場合、セレクタ19
によりコモンメモリ8が選択される。
Next, the operation of the common memory switching means 12 of FIG. 4 will be described. MPU15 for communication controller
Sends a transfer command to the DMA controller 17 at regular intervals based on the output of the timer 16. The DMA controller 17 transfers the transmission data from the common memory 8 or the common memory 9 to the transmission / reception buffer memory 18, and at this time, the common memory 9 is selected by the selector 20. When the transmission data is written from the common memory 9 to the transmission / reception buffer memory 18, the communication controller M
A response signal is returned to PU15. The transmission data written in the transmission / reception buffer memory 18 from the common memory 9 is further transmitted to the data transmission line 4 through the transmission line access means 7. While the unique information of the own station is not updated from the processing device 2, the data is periodically transmitted from the common memory 9 to the data transmission line 4 as described above. On the other hand, when the unique information of the own station is newly generated in the processing device 2, the processing device 2 writes the unique information of the own station in the common memory 8 or the common memory 9. In this case, the selector 19
The common memory 8 is selected by.

【0025】このように、コモンメモリ切替手段12は
処理装置インターフェース手段5側に接続されたコモン
メモリと伝送路アクセス手段7されたコモンメモリとを
別々に切り替えることができる。次に、処理装置2がコ
モンメモリ8に自局の固有情報を書き込む際におけるそ
の書き込みの開始と終了の検出方法の幾つかについて、
図5〜図8のフローチャートを参照して説明する。ま
ず、第1の方法について図5のフローチャートを基に説
明する。まず、処理装置2からコモンメモリ8又は9の
送信用エリアのアドレスに書き込みがあると(ステップ
S501)、タイマ16によるカウントが開始される
(ステップS502)。ついで、コモンメモリ8の別の
アドレスに予め定めた設定時間に達する前にタイマ16
のカウント値の書き込みがある間(ステップS50
3)、処理装置2は自局の固有情報を書き込み中である
とし(ステップS504)、予め定めた設定時間になっ
てもアクセスのない時点をもって書き込みを終了する。
この設定時間は、コモンメモリに使用されるRAM(Ra
ndom Access Memory)のアクセス時間よりも大きくなる
ように設定される。例えば、アクセスタイムの実測によ
り決定される。その後、ライトバッファ10又は11に
より伝送路アクセス手段7側に接続されるコモンメモリ
に対してデータの更新を行い、2つのコモンメモリのデ
ータを一致化させる(ステップS505)。この後、コ
モンメモリ切替手段12によりコモンメモリ8とコモン
メモリ9の切り替えが行われる(ステップS506)。
As described above, the common memory switching means 12 can separately switch between the common memory connected to the processor interface means 5 side and the common memory connected to the transmission path access means 7. Next, some of the methods of detecting the start and end of writing when the processing device 2 writes the unique information of its own station in the common memory 8,
This will be described with reference to the flowcharts of FIGS. First, the first method will be described based on the flowchart of FIG. First, when there is a write from the processing device 2 to the address of the transmission area of the common memory 8 or 9 (step S501), the timer 16 starts counting (step S502). Then, before the preset time is reached for another address of the common memory 8, the timer 16
While the count value of is written (step S50
3) It is assumed that the processing device 2 is writing the unique information of its own station (step S504), and the writing is terminated when there is no access even if the preset time is reached.
This set time depends on the RAM (Ra
It is set to be longer than the access time of ndom Access Memory). For example, it is determined by measuring the access time. After that, the write buffer 10 or 11 updates the data in the common memory connected to the transmission path access unit 7 side to make the data in the two common memories match (step S505). After that, the common memory switching means 12 switches between the common memory 8 and the common memory 9 (step S506).

【0026】図6のフローチャートは自局の固有情報の
書き込みの開始と終了の検出方法の第2の方法を示して
いる。自局の固有情報が発生し(ステップS601)、
処理装置インターフェース手段5側に接続されているコ
モンメモリ8への自局の固有情報の書き込み終了時に、
データ伝送制御装置13内に設けられる不図示のレジス
タ(前記処理装置及び前記データ伝送制御装置側からア
クセス可能)に書き込み終了を示すフラグを立てる(ス
テップS602)。このフラグを確認後、コモンメモリ
9側で通信が行われているか否かが判定される(ステッ
プS603)。コモンメモリ9側で通信が行われていれ
ば、コモンメモリ8とコモンメモリ9の内容の一致化を
行う(ステップS604)。この後、コモンメモリ切替
手段12によりコモンメモリ8とコモンメモリ9の切り
替えが行われる(ステップS605)。
The flowchart of FIG. 6 shows a second method of detecting the start and end of writing the unique information of the own station. Unique information of its own station is generated (step S601),
At the end of writing the unique information of its own station to the common memory 8 connected to the processing device interface means 5,
A flag (not shown) provided in the data transmission control device 13 (accessible from the processing device and the data transmission control device side) is set to indicate the end of writing (step S602). After checking this flag, it is determined whether or not communication is being performed on the common memory 9 side (step S603). If communication is being performed on the common memory 9 side, the contents of the common memory 8 and the common memory 9 are matched (step S604). After that, the common memory switching means 12 switches between the common memory 8 and the common memory 9 (step S605).

【0027】図7のフローチャートは自局の固有情報の
書き込みの開始と終了の検出方法の第3の方法を示して
いる。自局の固有情報が発生し(ステップS701)、
処理装置インターフェース手段5側に接続されたコモン
メモリ8内の送信用エリア8a内の特定のアドレス(こ
こでは最終アドレス)のアクセスの監視を行い(ステッ
プS702)、上記特定のアドレスにアクセスがあった
時点をもって書き込みを終了する。更に、コモンメモリ
9側で通信が行われているか否かが判定される(ステッ
プS703)。通信が行われていない場合、コモンメモ
リ切替手段12によってコモンメモリ8とコモンメモリ
9の切り替えが行われる(ステップS704)。
The flowchart of FIG. 7 shows a third method of detecting the start and end of writing the unique information of the own station. Unique information of its own station is generated (step S701),
The access of a specific address (here, the final address) in the transmission area 8a in the common memory 8 connected to the processing device interface means 5 is monitored (step S702), and the specific address is accessed. Writing ends at the time. Further, it is determined whether or not communication is performed on the common memory 9 side (step S703). If communication is not being performed, the common memory switching means 12 switches between the common memory 8 and the common memory 9 (step S704).

【0028】更に、図8は自局の固有情報の書き込みの
開始と終了の検出方法の第4の方法を示している。自局
の固有情報が発生し(ステップS801)、処理装置イ
ンターフェース手段5側に接続されたコモンメモリ8内
の全アドレスのアクセスの監視を行う(ステップS80
2)。ステップS802でアクセスのあったことが判定
された場合、その時点で書き込みが終了する。更に、コ
モンメモリ9側で通信が行われているか否かが判定され
る(ステップS803)。通信が行われていない場合、
コモンメモリ切替手段12によりコモンメモリ8とコモ
ンメモリ9の切り替えが行われる(ステップS80
4)。
Further, FIG. 8 shows a fourth method of detecting the start and end of writing the unique information of the own station. Unique information of its own station is generated (step S801), and access to all addresses in the common memory 8 connected to the processor interface means 5 is monitored (step S80).
2). When it is determined in step S802 that there is an access, the writing ends at that point. Further, it is determined whether or not communication is being performed on the common memory 9 side (step S803). If there is no communication,
The common memory switching means 12 switches between the common memory 8 and the common memory 9 (step S80).
4).

【0029】以上、説明したような方法により、自局の
固有情報の書き込みの開始と終了が検知される。このよ
うにして、固有情報の書き込みと終了を検出することに
より、コモンメモリ切替手段12はコモンメモリの切り
替えのタイミングを知ることができる。
As described above, the start and end of writing the unique information of the own station is detected by the method described above. In this way, the common memory switching unit 12 can know the timing of switching the common memory by detecting the writing and the end of the unique information.

【0030】次に、処理装置2からコモンメモリ8への
自局の固有情報の書き込みが終了した後の図4の動作に
ついて説明する。コモンメモリ切替手段10は、(i) コ
モンメモリ8へ自局の固有情報の書き込みが終了し、且
つ、(ii)コモンメモリ9から送信受信用バッファメモリ
18への送信データの書き込みが終了し、通信コントロ
ーラ用MPU15に応答信号が返されたときの2つの条
件が満たされたことをもって、コモンメモリ切替手段1
2は処理装置2側に接続されたコモンメモリ8とデータ
伝送路4側に接続されたコモンメモリ9との切り替えを
実行する。この切り替え後、コモンメモリ8はデータ伝
送路4側に接続され、コモンメモリ9は処理装置2側に
接続される。以降、一定周期毎にコモンメモリ8から送
受信用バッファメモリ18へ送信データが書き込まれ
る。この送信データは、伝送路アクセス手段7を介して
データ伝送路4へ送出される。なお、処理装置2に自局
の固有情報が新たに発生した場合、コモンメモリ切替手
段10でコモンメモリ9が選択され、処理装置2はコモ
ンメモリ9に自局の固有情報の書き込みを行う。
Next, the operation of FIG. 4 after the writing of the unique information of the own station from the processing device 2 to the common memory 8 is completed will be described. The common memory switching means 10 (i) finishes writing the unique information of its own station to the common memory 8, and (ii) finishes writing the transmission data from the common memory 9 to the transmission / reception buffer memory 18, When the two conditions when the response signal is returned to the communication controller MPU 15 are satisfied, the common memory switching unit 1
Reference numeral 2 executes switching between the common memory 8 connected to the processing device 2 side and the common memory 9 connected to the data transmission line 4 side. After this switching, the common memory 8 is connected to the data transmission line 4 side, and the common memory 9 is connected to the processing device 2 side. After that, the transmission data is written from the common memory 8 to the transmission / reception buffer memory 18 at regular intervals. This transmission data is sent to the data transmission line 4 via the transmission line access means 7. When the unique information of its own station is newly generated in the processing device 2, the common memory 9 is selected by the common memory switching means 10, and the processing device 2 writes the unique information of its own station in the common memory 9.

【0031】[0031]

【発明の効果】以上説明した通り、本発明によれば、コ
モンメモリを2面にし、これらを切り替えるコモンメモ
リ切替手段を設けたことにより、処理装置インターフェ
ース手段側に接続されたコモンメモリへ固有情報を書き
込み中に該コモンメモリにデータ転送が行われることは
なく、サイクリック通信におけるコモンメモリの各ブロ
ックで伝送情報の同時性を保証することができる。
As described above, according to the present invention, since the common memory has two surfaces and the common memory switching means for switching between these surfaces is provided, the unique information can be stored in the common memory connected to the processing device interface means. Data is not transferred to the common memory during writing, and the simultaneity of transmission information can be guaranteed in each block of the common memory in cyclic communication.

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

【図1】本発明のデータ伝送制御装置の一実施の形態、
及びこれを用いたデータ通信システムの構成を示すブロ
ック図である。
FIG. 1 is an embodiment of a data transmission control device of the present invention,
It is a block diagram which shows the structure of the data communication system using this.

【図2】本発明に係るコモンメモリのメモリ空間の使用
区分を示す説明図である。
FIG. 2 is an explanatory diagram showing usage divisions of a memory space of a common memory according to the present invention.

【図3】本発明に係るコモンメモリにおけるメモリ転写
の原理を示す説明図である。
FIG. 3 is an explanatory diagram showing the principle of memory transfer in the common memory according to the present invention.

【図4】本発明に係るコモンメモリ切替手段の詳細構成
を示すブロック図である。
FIG. 4 is a block diagram showing a detailed configuration of common memory switching means according to the present invention.

【図5】処理装置がコモンメモリに自局の固有情報を書
き込む際の書き込み開始と終了の検出方法の第1例を示
すフローチャートである。
FIG. 5 is a flowchart showing a first example of a writing start and end detection method when the processing device writes its own unique information in the common memory.

【図6】処理装置がコモンメモリに自局の固有情報を書
き込む際の書き込み開始と終了の検出方法の第2例を示
すフローチャートである。
FIG. 6 is a flowchart showing a second example of a writing start and end detection method when the processing device writes the unique information of its own station in the common memory.

【図7】処理装置がコモンメモリに自局の固有情報を書
き込む際の書き込み開始と終了の検出方法の第3例を示
すフローチャートである。
FIG. 7 is a flowchart showing a third example of a writing start and end detection method when the processing device writes the unique information of its own station in the common memory.

【図8】処理装置がコモンメモリに自局の固有情報を書
き込む際の書き込み開始と終了の検出方法の第4例を示
すフローチャートである。
FIG. 8 is a flowchart showing a fourth example of the method of detecting the start and end of writing when the processing device writes the unique information of its own station in the common memory.

【図9】従来のデータ伝送制御装置を用いたデータ通信
システムの構成例を示すブロック図である。
FIG. 9 is a block diagram showing a configuration example of a data communication system using a conventional data transmission control device.

【図10】図9のコモンメモリのメモリ空間の状態を示
す説明図である。
10 is an explanatory diagram showing a state of a memory space of the common memory in FIG. 9. FIG.

【図11】交替バッファをサイクリック通信に適用した
場合の末更新データの送信発生を示す説明図である。
FIG. 11 is an explanatory diagram showing transmission of end update data when the replacement buffer is applied to cyclic communication.

【符号の説明】[Explanation of symbols]

1 局 2 処理装置 4 伝送路 5 処理装置インターフェース手段 7 伝送路アクセス手段 8,9 コモンメモリ 8a,9a 送信用エリア 8b,b 受信用エリア 10,11 ライトバッファ 12 コモンメモリ切替手段 13 データ伝送制御装置 1 station 2 processing equipment 4 transmission lines 5 Processor interface means 7 Transmission line access means 8, 9 common memory 8a, 9a transmission area 8b, b reception area 10,11 write buffer 12 Common memory switching means 13 Data transmission control device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−22307(JP,A) 特開 平2−77935(JP,A) 特開 平4−101538(JP,A) 特公 平8−2057(JP,B2) (58)調査した分野(Int.Cl.7,DB名) H04L 13/08 ─────────────────────────────────────────────────── --- Continuation of front page (56) References JP-A-5-22307 (JP, A) JP-A-2-77935 (JP, A) JP-A-4-101538 (JP, A) JP-B 8- 2057 (JP, B2) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 13/08

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 書き込み及び読み出し処理を実行する処
理装置及び伝送路に対するインターフェースを司る伝送
路アクセス手段との組み合わせによって1つの局を構成
し、前記伝送路を介して他局とのデータ交換を行うデー
タ伝送制御装置において、前記処理装置によって固有情
報が書き込まれる送信用エリアと他局からのデータを受
信する受信用エリアを各々が備える2つのコモンメモリ
と、前記伝送路に対するインターフェースを司る伝送路
アクセス手段と、前記伝送路アクセス手段及び処理装置
に対する前記コモンメモリの各々の接続先を切り替える
コモンメモリ切替手段と、該コモンメモリ切替手段及び
前記処理装置に接続される処理装置インターフェース手
段を具備すると共に、 前記コモンメモリ切替手段は、前記処理装置インターフ
ェース手段側に接続された前記コモンメモリへの書き込
み時における書き込み内容のアドレス及びデータを格納
すべく前記コモンメモリの各々に接続されるバッファを
備え、前記伝送路アクセス手段側に接続された前記コモ
ンメモリから前記伝送路への送信終了後、前記バッファ
から非書き込み中のコモンメモリの所定のアドレスにデ
ータを書き込み、送信用と受信用のコモンメモリの内容
を一致させることを特徴とするデータ伝送制御装置。
1. A single station is configured by a combination of a processing device that executes write and read processing and a transmission path access unit that controls an interface to the transmission path, and data is exchanged with another station via the transmission path. In the data transmission control device, two common memories each having a transmission area in which unique information is written by the processing device and a reception area for receiving data from another station, and a transmission path access that controls the interface to the transmission path Means, a common memory switching means for switching each connection destination of the common memory to the transmission path access means and the processing device, and a processing device interface means connected to the common memory switching means and the processing device, The common memory switching means is the processing device interface. The common connected to the transmission path access means side, including a buffer connected to each of the common memories for storing the address and data of the write contents at the time of writing to the common memory connected to the face means side. After the transmission from the memory to the transmission path is completed, data is written from the buffer to a predetermined address of the common memory that is not being written, and the contents of the common memory for transmission and the common memory for reception are matched. apparatus.
【請求項2】 前記コモンメモリ切替手段は、前記処理
装置インターフェース手段側に接続されたコモンメモリ
の同一ブロックに対して前記処理装置インターフェース
手段及び前記伝送路アクセス手段が同時にアクセスされ
ないように制御し、且つ、前記処理装置インターフェー
ス手段側に接続された前記コモンメモリが更新される
時、前記コモンメモリの接続切り替えの前に前記処理装
置側のコモンメモリと伝送路側のコモンメモリの同一ブ
ロックのデータ更新を行うことを特徴とする請求項1記
載のデータ伝送制御装置。
2. The common memory switching means controls so that the processing device interface means and the transmission line access means are not simultaneously accessed to the same block of the common memory connected to the processing device interface means side. Further, when the common memory connected to the processing device interface means side is updated, the data of the same block of the common memory on the processing device side and the common memory on the transmission line side is updated before switching the connection of the common memory. The data transmission control device according to claim 1, which is performed.
【請求項3】 前記コモンメモリ切替手段は、前記処理
装置インターフェース手段側に接続された前記コモンメ
モリへのアクセスから或る定められた時間内に前記コモ
ンメモリの別のアドレスへのアクセスが無く、且つ、伝
送路アクセス手段側に接続された前記コモンメモリから
前記伝送路への送信が実行中でないことを条件に前記同
一ブロックのデータ更新を実行することを特徴とする請
求項2記載のデータ伝送制御装置。
3. The common memory switching means does not access another address of the common memory within a predetermined time from the access to the common memory connected to the processing device interface means side, 3. The data transmission according to claim 2, wherein the data update of the same block is executed on condition that the transmission from the common memory connected to the transmission path access means side to the transmission path is not being executed. Control device.
【請求項4】 前記コモンメモリ切替手段は、前記処理
装置インターフェース手段側に接続された前記コモンメ
モリへの前記処理装置による固有情報の書き込み終了時
にレジスタに書き込み終了を示すフラグが立ち、且つ、
前記伝送路アクセス手段側に接続された前記コモンメモ
リから共通の伝送路への通信が実行中でないことを条件
に前記同一ブロックのデータ更新を実行することを特徴
とする請求項2記載のデータ伝送制御装置。
4. The common memory switching means sets a write end flag in a register at the end of writing the unique information by the processing device to the common memory connected to the processing device interface means side, and
3. The data transmission according to claim 2, wherein the data update of the same block is executed on condition that communication from the common memory connected to the transmission path access means side to the common transmission path is not being executed. Control device.
【請求項5】 前記コモンメモリ切替手段は、前記処理
装置インターフェース手段側に接続された前記コモンメ
モリの特定のアドレスに対してアクセスがあり、且つ、
前記伝送路アクセス手段側に接続された前記コモンメモ
リから前記伝送路への通信が実行中でないことを条件に
前記同一ブロックのデータ更新を実行することを特徴と
する請求項2記載のデータ伝送制御装置。
5. The common memory switching means has access to a specific address of the common memory connected to the processing device interface means side, and
3. The data transmission control according to claim 2, wherein the data update of the same block is executed on condition that communication from the common memory connected to the transmission path access means side to the transmission path is not being executed. apparatus.
【請求項6】 前記コモンメモリ切替手段は、前記コモ
ンメモリの送信ブロックの全てのアドレスにアクセスが
あり、且つ、前記伝送路アクセス手段側に接続された前
記コモンメモリから前記伝送路への通信が実行中でない
ことを条件に前記同一ブロックのデータ更新を実行する
ことを特徴とする請求項2記載のデータ伝送制御装置。
6. The common memory switching means has access to all addresses of a transmission block of the common memory, and communication from the common memory connected to the transmission path access means side to the transmission path is possible. The data transmission control device according to claim 2, wherein the data update of the same block is executed on condition that it is not being executed.
JP01105097A 1997-01-24 1997-01-24 Data transmission control device Expired - Fee Related JP3463845B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01105097A JP3463845B2 (en) 1997-01-24 1997-01-24 Data transmission control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01105097A JP3463845B2 (en) 1997-01-24 1997-01-24 Data transmission control device

Publications (2)

Publication Number Publication Date
JPH10210085A JPH10210085A (en) 1998-08-07
JP3463845B2 true JP3463845B2 (en) 2003-11-05

Family

ID=11767210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01105097A Expired - Fee Related JP3463845B2 (en) 1997-01-24 1997-01-24 Data transmission control device

Country Status (1)

Country Link
JP (1) JP3463845B2 (en)

Also Published As

Publication number Publication date
JPH10210085A (en) 1998-08-07

Similar Documents

Publication Publication Date Title
JPH08116348A (en) High-speed communication equipment
EP1255375B1 (en) Plural station memory data sharing system
JP3463845B2 (en) Data transmission control device
US20020089940A1 (en) Duplexing apparatus and method in large scale system
JPH05136788A (en) Reception data transfer controller in data transmission system
JPS636893B2 (en)
JP3178474B2 (en) Communication control device
JPS6298444A (en) Data communication system
JPH05292555A (en) Switch control method and switch system
JP2527335B2 (en) High-speed transfer method
JP2755998B2 (en) Data transfer device
JPH0736739A (en) Data processor
JP2738314B2 (en) Switching system of N + 1 redundant circuit controller
JP3086245B2 (en) Other system access designation device
JPH0764602A (en) Duplex controller
JPH0234518B2 (en)
JPH05334232A (en) Dma transfer controller
JP2708366B2 (en) Data processing system and auxiliary control device
JPS6294042A (en) Communication control equipment
JPH104410A (en) Communication control system
JPH03252848A (en) Variable bus width designation/information reception system for split bus
JP2001043198A (en) Inter-system communication control system
JP2002073521A (en) Data transfer circuit
JPS60258638A (en) Control system of magnetic disk device
JPH1011353A (en) Data transmission equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110822

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees