JP2001282650A - Data-buffering device and decentralized control system using the data-buffering device - Google Patents

Data-buffering device and decentralized control system using the data-buffering device

Info

Publication number
JP2001282650A
JP2001282650A JP2000090927A JP2000090927A JP2001282650A JP 2001282650 A JP2001282650 A JP 2001282650A JP 2000090927 A JP2000090927 A JP 2000090927A JP 2000090927 A JP2000090927 A JP 2000090927A JP 2001282650 A JP2001282650 A JP 2001282650A
Authority
JP
Japan
Prior art keywords
buffer
data
node
physical
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000090927A
Other languages
Japanese (ja)
Inventor
Haruhiko Takeyama
治彦 竹山
Tadashi Yoshimoto
忠司 吉本
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 JP2000090927A priority Critical patent/JP2001282650A/en
Publication of JP2001282650A publication Critical patent/JP2001282650A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a data-buffering device and a decentralized control system which guarantee the concurrency of data, generates no wait time when data are read and written, and provides latest data at the start of the read of the data. SOLUTION: Three physical buffers 222, 224, and 226 are provided in the data buffering device 200, which stores data provided from a data providing part 100 to a data reference part 110, and the numbers of the physical buffers corresponding to a buffer (write buffer) to that the data providing part 100 writes data to, a buffer (read buffer) cut of which the data reference part 110 reads data, and a buffer (storage buffer) that is disabled in access from either of them is held in a buffer information register 211. A buffer controller 217 replaces the values in the buffer information register 211, to replaces the physical buffers corresponding to the write buffer, read buffer, an storage buffers.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明はデータを一時的に
格納するためのデータバッファリング装置およびこのデ
ータバッファリング装置を用いた分散制御システムに関
するものであり、ここでは、車両等の機器内に搭載され
たデータバッファリング装置を有する複数の制御ノード
を伝送路等のネットワークを介して接続し分散システム
を構成した車載電子制御システムを例にして説明する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data buffering device for temporarily storing data and a distributed control system using the data buffering device. A plurality of control nodes each having the data buffering device described above are connected via a network such as a transmission line, and an onboard electronic control system configured as a distributed system will be described as an example.

【0002】[0002]

【従来の技術】通信媒体とプロセッサ(中央処理装置)
との間の通信データバッファリング装置に関して、従
来、特開平4−282938号公報や特開平11−65
974号公報に示されるものがあった。これらのものに
おいては、いずれも装置内部に3つバッファを持ち、デ
ータの書き込みを実施する装置と読み出しを実施する装
置が同時に同じバッファ(もしくはブロック)に対して
アクセスをしない仕組みを設けることにより、データの
同時性を保証すると共に、データ授受の高速化を図って
いた。
2. Description of the Related Art Communication media and processors (central processing units)
With respect to a communication data buffering device for communication with the Japanese Patent Application Laid-Open Nos. 4-282938 and 11-65,
No. 974 was disclosed. In each of these devices, there is provided a mechanism in which three buffers are provided inside the device, and a device that performs data writing and a device that performs reading do not simultaneously access the same buffer (or block). The data synchronization was guaranteed, and the speed of data transfer was increased.

【0003】前者の特開平4−282938号公報に開
示されるものにおける代表図を図11に示す。図におい
て、1000は通信媒体、1001はアクセス制御部、
1002は3つのブロックよりなるバッファ、1003
はレジスタ、1004はデータ送受信機能部、1005
は通信制御機能部、1006は通信制御装置、1007
は情報処理装置である。この従来例では、各ブロック1
002がアクセス制御部1001とデータ送受信機能部
1004とのどちらからアクセス可能かを示すレジスタ
1003を持つことが特徴である。このレジスタ100
3は0であればデータ送受信機能部1004からアクセ
ス可能であり、1であればアクセス制御部1001から
アクセス可能である。
FIG. 11 shows a representative diagram of the former disclosed in Japanese Patent Application Laid-Open No. 4-282938. In the figure, 1000 is a communication medium, 1001 is an access control unit,
1002 is a buffer composed of three blocks, 1003
Is a register, 1004 is a data transmission / reception function unit, 1005
Is a communication control function unit, 1006 is a communication control device, 1007
Is an information processing device. In this conventional example, each block 1
002 has a register 1003 indicating which of the access control unit 1001 and the data transmission / reception function unit 1004 can access. This register 100
If 3 is 0, it can be accessed from the data transmission / reception function unit 1004, and if it is 1, it can be accessed from the access control unit 1001.

【0004】アクセス制御部1001とデータ送受信機
能部1004は自分が処理を終えたバッファを相手側に
開放することにより、バッファの排他制御を行う仕組み
になっている。処理速度に差があった場合にも、全ての
バッファが片側によってしまわない(つまりレジスタ1
003が全て0もしくはすべて1にはならない)ような
制約を設けることにより、アクセスするバッファが必ず
1つは存在する。
The access control unit 1001 and the data transmission / reception function unit 1004 are configured to perform exclusive control of the buffer by releasing the buffer that has been processed by itself to the other party. Even if there is a difference in processing speed, not all buffers are filled by one side (that is, register 1
003 is not all 0 or all 1), there is always one buffer to access.

【0005】後者の特開平11−65974公報に開示
されるものにおける代表図を図12に示す。図におい
て、1100は通信媒体、1101は中央制御装置、1
102は中央制御装置のバッファアクセス終了判定部、
1103は通信制御装置、1104は通信制御装置のバ
ッファアクセス終了部、1105はBUFF#1、BU
FF#2、BUFF#3よりなる3つのバッファ、11
06は空きバッファ検出部、1107は遷移条件判定部
である。
FIG. 12 shows a representative view of the latter one disclosed in Japanese Patent Application Laid-Open No. 11-65974. In the figure, 1100 is a communication medium, 1101 is a central control device, 1
102 is a buffer access end determination unit of the central control unit,
1103 is a communication control device, 1104 is a buffer access end unit of the communication control device, 1105 is BUFF # 1, BU
3 buffers composed of FF # 2 and BUFF # 3, 11
Reference numeral 06 denotes an empty buffer detection unit, and reference numeral 1107 denotes a transition condition determination unit.

【0006】この従来例は空きバッファ検出部1106
によって通信制御装置1103からも中央処理装置11
01からもアクセスされていないバッファを検出し、こ
の検出されたバッファと現在使用しているバッファか
ら、遷移条件判定部1107が、図13に示す状態遷移
図に従って次回使用するバッファを決定することを特徴
としている。
In this conventional example, an empty buffer detecting unit 1106
From the communication control device 1103 to the central processing unit 11
01, a buffer that has not been accessed is detected, and from the detected buffer and the buffer currently being used, the transition condition determination unit 1107 determines that a buffer to be used next time is determined according to the state transition diagram shown in FIG. Features.

【0007】遷移図の中の数字は、中央処理装置110
1がBUFF#1にアクセスし、通信制御装置1103
がBUFF#3にアクセスし、BUFF#2が空いてい
る状態を123として示している。通信制御装置110
3と中央処理装置1101は、次のバッファを使用する
際には遷移条件判定部1107に問い合わせを行うだけ
で良く、高速に処理可能であるという特徴を持つ。
The numbers in the transition diagram represent the central processing unit 110.
1 accesses BUFF # 1 and the communication control device 1103
Access to BUFF # 3, and the state where BUFF # 2 is empty is shown as 123. Communication control device 110
3 and the central processing unit 1101 are characterized in that they only need to make an inquiry to the transition condition determination unit 1107 when using the next buffer, and can perform high-speed processing.

【0008】また、通信媒体とプロセッサ(中央処理装
置)との間の通信データバッファリング装置として、特
開平9−269934号公報に示すものもある。これは
エリア毎にデータの同時性を保証した共有メモリシステ
ムであり、その代表図を図14に示す。図において、1
200は通信媒体、1201は通信制御装置、1202
は共有メモリアクセス制御手段、1203は内部パス調
停手段、1204は共有メモリ、1205はシステムパ
スI/F手段、1206はシステムパス、1207は計
算機である。
As a communication data buffering device between a communication medium and a processor (central processing unit), there is one disclosed in Japanese Patent Application Laid-Open No. 9-269934. This is a shared memory system that guarantees data simultaneity for each area, and a typical diagram is shown in FIG. In the figure, 1
200 is a communication medium, 1201 is a communication control device, 1202
Is a shared memory access control means, 1203 is an internal path arbitration means, 1204 is a shared memory, 1205 is a system path I / F means, 1206 is a system path, and 1207 is a computer.

【0009】この方法では、システムバスI/F手段1
205と通信制御手段1201の両手段から共有メモリ
1204に対して発生するアクセスを、共有メモリアク
セス制御手段1202と内部バス調停手段1203を用
いて共有メモリへ1204のアクセスを制御する方法で
ある。図15に示すように、各ノード(伝送装置2〜
4)は同じメモリ領域を有する共有メモリを持ってお
り、各ノードは自分の提供すべきデータをネットワーク
(通信媒体)を経由して送信する。受けたノードが適切
な領域に展開することによって、各ノードが同じメモリ
マップを共有することができる。
In this method, the system bus I / F means 1
This is a method for controlling access to the shared memory 1204 from both means 205 and the communication control means 1201 and controlling access to the shared memory 1204 using the shared memory access control means 1202 and the internal bus arbitration means 1203. As shown in FIG.
4) has a shared memory having the same memory area, and each node transmits data to be provided by itself via a network (communication medium). Each node can share the same memory map by expanding the received node to an appropriate area.

【0010】[0010]

【発明が解決しようとする課題】従来の通信データバッ
ファリング装置は以上のように構成されており、特開平
4−282938号公報や特開平11−65974号公
報に示すものは、3個のバッファ(もしくはブロック)
を使用してバッファ毎のデータの同時性を保証するデー
タ伝達手段であるが、それぞれ問題を含んでいる。
The conventional communication data buffering apparatus is constructed as described above. Japanese Patent Application Laid-Open Nos. 4-282938 and 11-65974 disclose three buffers. (Or block)
Is a data transmission means that guarantees data synchronization for each buffer, but each has its own problems.

【0011】特開平4−282938号公報に示すもの
(図11)では、データ送受信機能部1004がデータ
を書き込む時間間隔よりもアクセス制御部1001がデ
ータを読み出す時間間隔が大幅に長くなった場合、最新
のデータを読み出せない可能性がある。第1のブロック
をアクセス制御部1001が使用している間に、データ
送受信機能部1004から第2のブロックと第3のブロ
ックに順次新しいデータが書き込まれた場合を考える。
Japanese Patent Application Laid-Open No. 4-282938 (FIG. 11) discloses that when the time interval at which the access control unit 1001 reads data is significantly longer than the time interval at which the data transmission / reception function unit 1004 writes data, The latest data may not be read. It is assumed that new data is sequentially written from the data transmission / reception function unit 1004 to the second block and the third block while the access control unit 1001 uses the first block.

【0012】この時点で第2のブロックは既にアクセス
制御部1001からアクセス可能である。しかし該発明
ではどちらかの側に全てのバッファが偏る(レジスタ1
003が全て0もしくは全て1になる)状態を避けるよ
うに定義されているため、レジスタ1003は書き換え
られず、第3のブロックはデータ送受信機能部1004
から利用可能のままになっている。
At this point, the second block is already accessible from the access control unit 1001. However, in this invention, all buffers are biased to either side (register 1
003 becomes all 0 or all 1), the register 1003 is not rewritten, and the third block is the data transmission / reception function unit 1004
Remains available from.

【0013】この後、さらに書き込みが行われると第3
のブロックに書き込まれた最も新しいデータの上から上
書きされ、これまでに書き込み完了した中で最新のデー
タは失われてしまう。その最新データの上書き中にアク
セス制御部1001がブロックを切り替えると、上書き
中の第3のブロックは利用できない為、1周期分古いデ
ータを持つ第2のブロックを利用することになる。アク
セス制御部1001とデータ送受信機能部1004の動
作速度が特定できない場合、このような現象が起こり、
最新ではないデータを使用する場合があった。
Thereafter, when further writing is performed, the third
Is overwritten on the newest data written in the block, and the latest data that has been written so far is lost. If the access control unit 1001 switches blocks during the overwriting of the latest data, the third block being overwritten cannot be used, so the second block having data that is one cycle older is used. When the operation speeds of the access control unit 1001 and the data transmission / reception function unit 1004 cannot be specified, such a phenomenon occurs.
In some cases, out-of-date data was used.

【0014】特開平11−65974号公報に示すもの
(図12)も同様に最新のデータを参照しない可能性が
ある。この従来装置では空きバッファ検出手段1106
によって、通信制御装置1103からも中央処理装置1
101からもアクセスされていないバッファを検出し、
次回使用するバッファとしている。しかしこの方法は、
中央処理装置1101が通信制御装置1103より非常
に高速な場合、古いデータを参照してしまう可能性があ
る。中央処理装置1101がバッファを2回切り替える
間に通信制御装置1103がバッファを切り替えなかっ
た場合(つまり新しいデータが書き込まれなかった場
合)を考える。
[0014] Similarly, the one disclosed in JP-A-11-65974 (FIG. 12) may not refer to the latest data. In this conventional device, the empty buffer detecting means 1106
Thus, the central processing unit 1
Detect a buffer that has not been accessed from 101,
The buffer to be used next time. But this method
If the central processing unit 1101 is much faster than the communication control unit 1103, there is a possibility that old data will be referred to. Consider a case where the communication control unit 1103 does not switch the buffer while the central processing unit 1101 switches the buffer twice (that is, no new data is written).

【0015】中央処理装置はあるデータAをBuff#
1から参照し、バッファを切り替えてさらに新しいデー
タBをBuff#2から参照した後、さらにバッファを
切り替えるとBuff#1からデータAを再び読むこと
になる。その間Buff#3は通信制御装置1103が
使用している。片側の装置から続けてバッファの切り替
えが発生した場合、状態遷移図に従って動作すれば2つ
のバッファを切り替え続ける。よって、この従来装置に
はデータが更新されたことを示すフラグを持たず、常に
最新のデータが参照できる装置ではない。
The central processing unit converts certain data A into Buff #
1, the buffer A is switched and the newer data B is referred to from Buff # 2. If the buffer is further switched, the data A is read again from Buff # 1. Meanwhile, Buff # 3 is used by the communication control device 1103. When the switching of the buffer occurs continuously from one device, if the operation is performed according to the state transition diagram, the switching of the two buffers is continued. Therefore, this conventional device does not have a flag indicating that data has been updated, and is not a device that can always refer to the latest data.

【0016】所定エリア毎のデータの同時性を保証した
特開平9−269934号公報に示すもの(図14)で
は、通信制御手段1201もしくはシステムバスI/F
手段1205が所定のエリアに対してアクセスを実施し
ている間は、他方からのアクセスを禁止することによ
り、データの同時性を保証している。そのためアクセス
するエリアが重なった場合には一方の一連のアクセスが
終了するまで待たされることになる。
Japanese Patent Application Laid-Open No. 9-269934 (FIG. 14), which guarantees data simultaneity for each predetermined area, has a communication control means 1201 or a system bus I / F.
While the means 1205 is accessing the predetermined area, the access from the other side is prohibited, thereby guaranteeing the data synchronization. Therefore, if the areas to be accessed overlap, the user must wait until one series of accesses is completed.

【0017】この発明は上記のような問題点を解消する
ためになされたものであり、データを提供する側の装置
(通信制御装置)がデータを書き込む際にも、データを
参照する側の装置(中央処理装置)がデータを読み出す
際にも待ち時間が発生せず、データバッファリング装置
内にある複数のバッファのどれにアクセスしているかを
意識すること無く、中央処理装置がデータを取得しよう
としてバッファ切り替えを禁止した時点で、それまでに
書き込まれたバッファの中で最新のバッファを参照する
ことが可能であり、データはバッファ単位で同時性が保
証されているデータバッファリング装置を提供すること
を目的とする。またこのデータバッファリング装置を複
数使用することにより、各ノードが提供するデータをノ
ード毎に同時性を保って共有することが可能な分散制御
システムを提供するものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and a device that refers to data even when a device that provides data (communication control device) writes data. There is no waiting time when the (central processing unit) reads data, and the central processing unit tries to acquire data without being aware of which of the plurality of buffers in the data buffering device is being accessed. At the time when buffer switching is prohibited, it is possible to refer to the latest buffer among the buffers written so far, and to provide a data buffering device in which data is guaranteed to be synchronized at the buffer level. The purpose is to: Further, by using a plurality of data buffering devices, a distributed control system capable of sharing data provided by each node while maintaining synchronization at each node is provided.

【0018】[0018]

【課題を解決するための手段】本発明の第1の構成によ
るデータバッファリング装置は、データ提供部からデー
タ参照部に提供するデータを格納するためのデータバッ
ファリング装置であって、3つの同じサイズの物理バッ
ファと、上記データ提供部が提供するデータを書き込む
ためにアクセスする書き込みバッファ、上記データ参照
部が書き込まれたデータを読み出すためにアクセスする
読み出しバッファ、および上記データ提供部と上記デー
タ参照部とのどちらからもアクセスできないようにした
格納バッファのうちのいずれかのバッファとして上記3
つの物理バッファのそれぞれを機能させるための情報を
保持するバッファ情報レジスタと、上記バッファ情報レ
ジスタに保持する情報に基づいて、上記データ提供部が
アクセスする物理バッファおよび上記データ参照部がア
クセスする物理バッファを上記3つの物理バッファの中
から割り当てるバッファセレクタと、上記データ提供部
が書き込みバッファに対応する物理バッファへのアクセ
ス終了後に、上記データ提供部がアクセスする物理バッ
ファを他の物理バッファへ切り替える要求を書き込むバ
ッファ切り替え要求レジスタと、上記データ参照部が読
み出しバッファに対応する物理バッファへのアクセス開
始時に、当該物理バッファへのアクセス中に上記データ
参照部がアクセスする物理バッファが他の物理バッファ
へ切り替えられるのを禁止する要求を書き込むバッファ
切り替え禁止レジスタと、上記格納バッファに対応する
物理バッファに上記データ参照部がアクセスすべきデー
タが保存されているかどうか示す格納バッファ有効フラ
グを記憶する第1の記憶手段と、上記バッファ切り替え
要求レジスタに物理バッファを切り替える要求が書き込
まれた場合であってかつ、上記バッファ切り替え禁止レ
ジスタに他の物理バッファへ切り替えられるのを禁止す
る要求が書き込まれていない場合、上記データ提供部が
アクセスする物理バッファと上記データ参照部がアクセ
スする物理バッファとを切り替える指令を上記バッファ
情報レジスタへ送り、上記バッファ切り替え要求レジス
タに物理バッファを切り替える要求が書き込まれた場合
であってかつ、上記バッファ切り替え禁止レジスタに他
の物理バッファへ切り替えられるのを禁止する要求が書
き込まれている場合、上記データ提供部がアクセスする
物理バッファと格納バッファに対応する物理バッファと
を切り替えるように上記バッファ情報レジスタ内の情報
を変更し、上記第1の記憶手段に格納された格納バッフ
ァ有効フラグが上記格納バッファに対応する物理バッフ
ァに上記データ参照部がアクセスすべきデータが保存さ
れている場合であってかつ、上記バッファ切り替え禁止
レジスタに他の物理バッファへ切り替えられるのを禁止
する要求が書き込まれていない場合、上記データ参照部
がアクセスする物理バッファと格納バッファに対応する
物理バッファとを切り替えるように上記バッファ情報レ
ジスタ内の情報を変更するバッファ情報レジスタ制御手
段とを備えたものである。
A data buffering device according to a first configuration of the present invention is a data buffering device for storing data to be provided from a data providing unit to a data reference unit. A physical buffer having a size, a write buffer for accessing to write the data provided by the data providing unit, a read buffer for accessing the data reference unit to read the written data, and the data providing unit and the data reference As one of the storage buffers that are inaccessible from either
A buffer information register for holding information for causing each of the two physical buffers to function, a physical buffer accessed by the data providing unit and a physical buffer accessed by the data reference unit based on the information held in the buffer information register And a request to switch the physical buffer accessed by the data providing unit to another physical buffer after the data providing unit has finished accessing the physical buffer corresponding to the write buffer. When a write buffer switching request register and the data reference unit start accessing a physical buffer corresponding to a read buffer, the physical buffer accessed by the data reference unit is switched to another physical buffer during access to the physical buffer. A buffer switching prohibition register for writing a request for prohibiting the storage, and first storage means for storing a storage buffer valid flag indicating whether data to be accessed by the data reference unit is stored in a physical buffer corresponding to the storage buffer. In the case where a request to switch a physical buffer is written in the buffer switching request register and the request to inhibit switching to another physical buffer is not written in the buffer switching prohibition register, the data provision is performed. Sending a command to switch the physical buffer accessed by the unit and the physical buffer accessed by the data reference unit to the buffer information register, and writing a request to switch the physical buffer to the buffer switching request register; and Buffer switching When a request to prohibit switching to another physical buffer is written in the prohibition register, the buffer information register is configured to switch between the physical buffer accessed by the data providing unit and the physical buffer corresponding to the storage buffer. Information is changed, and the storage buffer valid flag stored in the first storage means is a case where data to be accessed by the data reference unit is stored in a physical buffer corresponding to the storage buffer; and If a request to prohibit switching to another physical buffer is not written in the buffer switch prohibition register, the buffer information register is configured to switch between the physical buffer accessed by the data reference unit and the physical buffer corresponding to the storage buffer. Buffer information register control to change information in the buffer And a step.

【0019】本発明の第2の構成によるデータバッファ
リング装置は、第1の構成のデータバッファリング装置
において、データ参照部から読み出しとクリアが可能で
あり、読み出しバッファを更新したかどうかを示す読み
出しバッファ更新フラグを記憶する第2の記憶手段を備
えたものである。
The data buffering device according to the second configuration of the present invention is the same as the data buffering device according to the first configuration, wherein reading and clearing are possible from a data reference section, and a reading indicating whether or not the reading buffer has been updated. A second storage means for storing a buffer update flag is provided.

【0020】本発明の第1の構成による分散制御システ
ムは、N(N:2以上の整数)個のノード装置を伝送路
を介して接続した分散制御システムであって、各ノード
装置は、自身のノード装置によるデータの送信、他のノ
ード装置からのデータの受信を制御する通信制御装置
と、上記他のノード装置毎に対応して設けたN―1個の
上記第1の構成のデータバッファリング装置(第1のデ
ータバッファリング装置)と、上記通信制御装置に送ら
れてくる他のノード装置からのデータを受け取り、送ら
れてくるデータから送り元のノード装置を調べ、対応す
る上記第1のデータバッファリング装置に送る第1のデ
ータ提供部と、上記第1のデータバッファリング装置に
アクセスする第1のデータ参照部と、上記自身のノード
装置に対応する情報を格納する送信用ノードレジスタ
と、上記自身のノード装置から送信されるデータを提供
する第2のデータ提供部と、上記自身のノード装置に対
応して設けた上記第1の構成のデータバッファリング装
置(第2のデータバッファリング装置)と、上記第2の
データバッファリング装置のデータを参照する第2のデ
ータ参照部とを備えたものである。
The distributed control system according to the first configuration of the present invention is a distributed control system in which N (N: an integer equal to or greater than 2) node devices are connected via a transmission line. A communication control device for controlling transmission of data by the node device and reception of data from another node device, and N-1 data buffers of the first configuration provided corresponding to the other node devices, respectively. A ring device (first data buffering device) receives data from another node device sent to the communication control device, checks a source node device from the sent data, and A first data providing unit for sending to the first data buffering device, a first data reference unit for accessing the first data buffering device, and information corresponding to the own node device A transmitting node register for storing, a second data providing unit for providing data transmitted from the own node device, and a data buffering device of the first configuration provided corresponding to the own node device (A second data buffering device) and a second data reference unit for referring to data of the second data buffering device.

【0021】本発明の第2の構成による分散制御システ
ムは、第1の構成の分散制御システムにおいて、第1の
データバッファリング装置の各々に含まれるN−1個の
バッファ切り替え禁止レジスタを、N−1ビットで構成
される1つのバッファ切り替え禁止レジスタとし、N−
1個の第1のデータバッファリング装置に対して切り替
え禁止を同時に設定可能としたものである。
A distributed control system according to a second configuration of the present invention is the distributed control system according to the first configuration, wherein N-1 buffer switching prohibition registers included in each of the first data buffering devices are set to N. One buffer switch prohibition register composed of -1 bits, and N-
Switching prohibition can be simultaneously set for one first data buffering device.

【0022】本発明の第3の構成による分散制御システ
ムは、第1または第2の構成の分散制御システムにおい
て、N−1個の第1のデータバッファリング装置に各々
含まれるN−1個のバッファ切り替え要求レジスタを、
N−1ビットで構成される1つのバッファ切り替え要求
レジスタとし、N−1個の第1のデータバッファリング
装置に対して切り替え要求を同時に設定可能としたもの
である。
A distributed control system according to a third configuration of the present invention is the distributed control system according to the first or second configuration, wherein the N-1 first data buffering devices include N-1 first data buffering devices. Buffer switch request register
A single buffer switch request register composed of N-1 bits is provided, so that a switch request can be simultaneously set for N-1 first data buffering devices.

【0023】本発明の第4の構成による分散制御システ
ムは、第1ないし第3のいずれかの構成の分散制御シス
テムにおいて、N−1個の第1のデータバッファリング
装置は、書き込みバッファを共有し、第1のデータ提供
部から上記書き込みバッファに対応する物理バッファに
データを書き込んだ際に、上記データを送信したノード
装置のバッファ切り替え要求レジスタに対してのみバッ
ファ切り替え要求を書き込むようにするとともに、N個
のノード装置が予め定められた順序に従って自身のノー
ド装置のデータを他のノード装置に送信するように構成
したものである。
A distributed control system according to a fourth configuration of the present invention is the distributed control system according to any one of the first to third configurations, wherein N-1 first data buffering devices share a write buffer. When data is written from the first data providing unit to the physical buffer corresponding to the write buffer, a buffer switch request is written only to the buffer switch request register of the node device that has transmitted the data. , N node devices transmit their own node device data to other node devices according to a predetermined order.

【0024】本発明の第5の構成による分散制御システ
ムは、第4の構成の分散制御システムにおいて、N−1
個の第1のデータバッファリング装置は、格納バッファ
を共有し、第1のデータ参照部からはバッファ切り替え
禁止レジスタに対して、N−1個の他のノード装置のう
ち1つのノード装置に対してのみバッファ切り替え禁止
を書き込むようにしたものである。
A distributed control system according to a fifth configuration of the present invention is the distributed control system according to the fourth configuration, wherein N-1
The first data buffering devices share a storage buffer, and the first data reference unit sends a buffer switching prohibition register to one of N-1 other node devices. In this case, the buffer switching prohibition is written.

【0025】本発明の第6の構成による分散制御システ
ムは、第5の構成の分散制御システムにおいて、N−1
個の第1のデータバッファリング装置は、M(M:Nよ
り小さい整数)個の書き込みバッファと、M個の格納バ
ッファと、N−1個の読み出しバッファと、上記N−1
個の読み出しバッファ各々に対応する他のノード装置を
割り当てるための番号を有する受信用ノード番号レジス
タとを有し、伝送路に接続するノード装置がN個に満た
ない場合に、上記受信用ノード番号レジスタにおいて、
連続したM個以下の物理バッファを同一のノード装置へ
割り当てるように構成したものである。
A distributed control system according to a sixth configuration of the present invention is the distributed control system according to the fifth configuration, wherein N-1
The first data buffering devices include M (M: an integer smaller than N) write buffers, M storage buffers, N-1 read buffers, and N-1 read buffers.
And a receiving node number register having a number for allocating another node device corresponding to each of the read buffers. If the number of node devices connected to the transmission path is less than N, the receiving node number In the register,
The configuration is such that no more than M consecutive physical buffers are allocated to the same node device.

【0026】本発明の第7の構成による分散制御システ
ムは、第6の構成の分散制御システムにおいて、M個の
受信用書き込みバッファと、M個の送信用読み出しバッ
ファと、M個の受信用格納バッファと、M個の送信用格
納バッファと、N個の送受信用読み出し/書き込みバッ
ファと、上記送受信用読み出し/書き込みバッファに対
応するノード番号を設定するノード番号レジスタとを有
し、上記ノード番号レジスタに自ノード番号を設定し、
中央処理装置からアクセス可能なN個の送受信用読み出
し/書き込みバッファの中からM個以下のバッファを送
信用書き込みバッファとして用いるようにしたものであ
る。
A distributed control system according to a seventh configuration of the present invention is the distributed control system according to the sixth configuration, wherein M reception write buffers, M transmission read buffers, and M reception storages are provided. A buffer, M transmission storage buffers, N transmission / reception read / write buffers, and a node number register for setting a node number corresponding to the transmission / reception read / write buffer; Set your own node number in
Among the N read / write buffers for transmission / reception accessible from the central processing unit, M or less buffers are used as write buffers for transmission.

【0027】[0027]

【発明の実施の形態】実施の形態1.以下、本発明の実
施の形態1を図に従って説明する。図1は本発明の実施
の形態1によるデータバッファリング装置の物理的な構
成を示すブロック構成図、図2は本実施の形態1による
データバッファリング装置の論理的な構成を示すブロッ
ク構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a physical configuration of the data buffering device according to the first embodiment of the present invention, and FIG. 2 is a block diagram showing a logical configuration of the data buffering device according to the first embodiment. is there.

【0028】図1、2において、100はデータを提供
するデータ提供部、110はデータを参照するデータ参
照部、200はデータ提供部100からデータ参照部1
10に提供するデータを格納するデータバッファリング
装置である。データバッファリング装置はそのサイズが
同一の3つの物理バッファ222〜224を有する。こ
れらの物理バッファ222〜224はそれぞれ後述する
バッファ情報レジスタに格納された情報に従って書き込
みバッファ、読み出しバッファ、格納バッファのいずれ
かのバッファとして機能するものである。202はデー
タ提供部110が提供するデータを書き込むためにアク
セスする書き込みバッファ、204はデータ提供部10
0とデータ参照部110とのどちらからもアクセスでき
ないようにした格納バッファ、206はデータ参照部1
10が書き込まれたデータを読み出すためにアクセスす
る読み出しバッファである。
1 and 2, reference numeral 100 denotes a data providing unit for providing data, 110 denotes a data reference unit for referring to data, and 200 denotes a data reference unit 1 from the data providing unit 100.
10 is a data buffering device for storing data to be provided to the data buffer 10. The data buffering device has three physical buffers 222 to 224 having the same size. Each of these physical buffers 222 to 224 functions as one of a write buffer, a read buffer, and a storage buffer according to information stored in a buffer information register described later. Reference numeral 202 denotes a write buffer accessed to write data provided by the data providing unit 110, and 204 denotes a data buffer
0 is a storage buffer that is inaccessible from either the data reference unit 110 or the data reference unit 110.
Reference numeral 10 denotes a read buffer accessed to read the written data.

【0029】211は3つの物理バッファ222〜22
4がそれぞれ書き込みバッファ202、読み出しバッフ
ァ206、格納バッファ204のいずれかのバッファと
して機能をさせるための情報(例えば書き込みバッファ
202、読み出しバッファ206、格納バッファ204
の各々に対応した番号)を保持するバッファ情報レジス
タである。
Reference numeral 211 denotes three physical buffers 222 to 22
4 is information (eg, the write buffer 202, the read buffer 206, and the storage buffer 204) for functioning as one of the write buffer 202, the read buffer 206, and the storage buffer 204.
(A number corresponding to each of the above).

【0030】208はバッファ情報レジスタ211に保
持された情報に従って物理バッファ222〜224のい
ずれかを書き込みバッファ202として機能させる書き
込み用バッファセレクタ、209はバッファ情報レジス
タ211に保持された情報に従って物理バッファ222
〜224のいずれかを読み出しバッファ206として機
能させる読み出し用バッファセレクタである。
Reference numeral 208 denotes a write buffer selector for causing any of the physical buffers 222 to 224 to function as the write buffer 202 according to the information held in the buffer information register 211. Reference numeral 209 denotes a physical buffer 222 according to the information held in the buffer information register 211.
To 224 function as a read buffer 206.

【0031】210はバッファ制御部であり、バッファ
制御部210はバッファ情報レジスタ211、後述する
バッファ切り替え要求レジスタ214、格納バッファ有
効フラグ215を格納する第1の記憶手段、バッファ切
り替え禁止レジスタ216、バッファ制御装置217、
バッファ更新フラグ218を記憶する第2の記憶手段を
有するものである。
Reference numeral 210 denotes a buffer control unit. The buffer control unit 210 includes a buffer information register 211, a buffer switch request register 214 described later, first storage means for storing a storage buffer valid flag 215, a buffer switch prohibition register 216, a buffer switch Control device 217,
It has a second storage means for storing the buffer update flag 218.

【0032】214はデータ提供部100が書き込みバ
ッファに対応する物理バッファへのアクセス終了後に、
データ提供部100がアクセスする物理バッファを他の
物理バッファへ切り替える要求を書き込むバッファ切り
替え要求レジスタである。
At 214, after the data providing unit 100 has finished accessing the physical buffer corresponding to the write buffer,
This is a buffer switching request register for writing a request to switch the physical buffer accessed by the data providing unit 100 to another physical buffer.

【0033】215は格納バッファ有効フラグであり、
格納バッファ切り替えフラグ215が立てられている場
合、格納バッファとして機能している物理バッファには
データ参照部110が参照すべき有効なデータが格納さ
れていることを意味する。格納バッファ切り替えフラグ
215は例えばメモリなどの記憶媒体を有する第1の記
憶手段(図示せず)に記憶されている。
215 is a storage buffer valid flag.
When the storage buffer switching flag 215 is set, it means that valid data to be referred to by the data reference unit 110 is stored in the physical buffer functioning as the storage buffer. The storage buffer switching flag 215 is stored in a first storage unit (not shown) having a storage medium such as a memory, for example.

【0034】216はデータ参照部110が読み出しバ
ッファ206に対応する物理バッファへのアクセス開始
時に、当該物理バッファへのアクセス中にデータ参照部
110がアクセスする物理バッファが他の物理バッファ
へ切り替えられるのを禁止する要求を書き込むバッファ
切り替え禁止レジスタである。
At 216, when the data reference unit 110 starts accessing the physical buffer corresponding to the read buffer 206, the physical buffer accessed by the data reference unit 110 is switched to another physical buffer while accessing the physical buffer. This is a buffer switching prohibition register for writing a request to prohibit the operation.

【0035】218は読み出しバッファを更新したかど
うかを示す読み出しバッファ更新フラグバッファ更新フ
ラグであり、読み出しバッファ更新フラグ218は例え
ばメモリなどの記憶媒体を有する第2の記憶手段(図示
せず)に記憶されている。
Reference numeral 218 denotes a read buffer update flag indicating whether the read buffer has been updated. The read buffer update flag 218 is stored in a second storage means (not shown) having a storage medium such as a memory. Have been.

【0036】217はバッファ情報レジスタ制御手段に
対応するバッファ制御装置である。バッファ制御装置2
17は、バッファ切り替え要求レジスタ214に物理バ
ッファを切り替える要求が書き込まれた場合であってか
つ、バッファ切り替え禁止レジスタ216に他の物理バ
ッファへ切り替えられるのを禁止する要求が書き込まれ
ていない場合、データ提供部100がアクセスする物理
バッファとデータ参照部110がアクセスする物理バッ
ファとを切り替えるようにバッファ情報レジスタ211
内の情報を変更する。また、バッファ制御装置217
は、バッファ切り替え要求レジスタ214に物理バッフ
ァを切り替える要求が書き込まれた場合であってかつ、
バッファ切り替え禁止レジスタ216に他の物理バッフ
ァへ切り替えられるのを禁止する要求が書き込まれてい
る場合、データ提供部100がアクセスする物理バッフ
ァと格納バッファ110に対応する物理バッファとを切
り替えるようにバッファ情報レジスタ211内の情報を
変更する。また格納バッファ有効フラグ218が立てら
れている状態であってかつ、バッファ切り替え禁止レジ
スタ216に他の物理バッファへ切り替えられるのを禁
止する要求が書き込まれていない場合、データ参照部1
10がアクセスする物理バッファと格納バッファ204
に対応する物理バッファとを切り替えるようにバッファ
情報レジスタ211内の情報を変更する。
Reference numeral 217 denotes a buffer control device corresponding to the buffer information register control means. Buffer control device 2
Reference numeral 17 denotes a case where a request for switching a physical buffer is written in the buffer switching request register 214 and a request for prohibiting switching to another physical buffer is not written in the buffer switching prohibition register 216; The buffer information register 211 switches between the physical buffer accessed by the providing unit 100 and the physical buffer accessed by the data reference unit 110.
Change the information in Also, the buffer control device 217
Is a case where a request to switch the physical buffer is written in the buffer switching request register 214, and
When a request to prohibit switching to another physical buffer is written in the buffer switching prohibition register 216, the buffer information is switched to switch between the physical buffer accessed by the data providing unit 100 and the physical buffer corresponding to the storage buffer 110. The information in the register 211 is changed. If the storage buffer valid flag 218 is set and a request to prohibit switching to another physical buffer is not written in the buffer switching prohibition register 216, the data reference unit 1
Physical buffer and storage buffer 204 accessed by 10
The information in the buffer information register 211 is changed so as to switch to the physical buffer corresponding to.

【0037】本実施の形態1の動作について説明する。
本実施の形態1においては、提供するデータの書き込み
を行うデータ提供部100と、上記データを参照するデ
ータ参照部110との間にデータバッファリング装置2
00が設けられており、データバッファリング装置20
0の中には3枚の物理バッファ222,224,226
と2つのバッファセレクタ208,209、バッファ制
御部210が設けられている。物理バッファは3枚存在
するがデータ提供部100あるいはデータ参照部110
からはそれぞれ異なる一つのバッファしかアクセスでき
ない。データ提供部100から書き込み可能なバッファ
を書き込みバッファ202、データ参照部110から読
み出し可能なバッファを読み出しバッファ206、どち
らもアクセス不可能なバッファを格納バッファと呼ぶ。
これらはそれぞれ物理バッファ222,224,226
のいずれかに割り当てられているが、状況によって割り
当ては変更される。
The operation of the first embodiment will be described.
In the first embodiment, a data buffering device 2 is provided between a data providing unit 100 that writes data to be provided and a data reference unit 110 that refers to the data.
00, the data buffering device 20
In 0, three physical buffers 222, 224, 226
And two buffer selectors 208 and 209 and a buffer control unit 210 are provided. Although there are three physical buffers, the data provision unit 100 or the data reference unit 110
Can access only one different buffer. A buffer that can be written from the data providing unit 100 is called a write buffer 202, a buffer that can be read from the data reference unit 110 is a read buffer 206, and a buffer that is inaccessible to both is called a storage buffer.
These are the physical buffers 222, 224, and 226, respectively.
, But the assignment changes depending on the situation.

【0038】これらを図2に概念的に示す。図2中の論
理的なバッファ202,204,206がそれぞれ図1
中の物理バッファ222,224,226と対応づけら
れている。対応づけに関する情報を保持するレジスタが
図1中のバッファ情報レジスタ211である。書き込み
バッファ202と対応している物理バッファ番号が書き
込みバッファ番号、読み出しバッファ206と対応して
いる物理バッファ番号が読み出しバッファ番号、格納バ
ッファ204に対応している物理バッファ番号が格納バ
ッファ番号としてバッファ情報レジスタ211に格納さ
れている。この値を参照してバッファセレクタ208,
209がデータ提供部100やデータ参照部110のア
クセスを対応する物理バッファに振り分けている。
These are conceptually shown in FIG. The logical buffers 202, 204, and 206 in FIG.
The physical buffers 222, 224, and 226 are associated with each other. The register that holds the information on the association is the buffer information register 211 in FIG. The physical buffer number corresponding to the write buffer 202 is the write buffer number, the physical buffer number corresponding to the read buffer 206 is the read buffer number, and the physical buffer number corresponding to the storage buffer 204 is the storage buffer number as buffer information. It is stored in the register 211. Referring to this value, the buffer selector 208,
Reference numeral 209 distributes accesses of the data providing unit 100 and the data reference unit 110 to corresponding physical buffers.

【0039】次にバッファの切り替えの実現方法につい
て述べる。各バッファ情報レジスタ211には書き込み
バッファ情報に1、格納バッファ情報に2、読み出しバ
ッファ情報に3といった重複しない初期値が与えられて
いるものとする。このバッファ情報の値を1対1で交換
することによってデータ提供部100やデータ参照部1
10からアクセスする物理バッファが瞬時に変更可能で
ある。例えば上記の値がバッファ情報レジスタ211に
格納されている場合、データ提供部100は書き込みバ
ッファ202に割り当てられている物理バッファ1にデ
ータを書き込む。書き込みが終了した時点でバッファ切
り替えを行い、読み出しバッファ情報と書き込みバッフ
ァ情報を入れ替える。すると、バッファ情報レジスタ2
11は書き込みバッファ情報が3、格納バッファ情報が
2、読み出しバッファ情報が1となり、データが書き込
まれた物理バッファ1が読み出しバッファ206に割り
当てられる。このような原理で物理バッファの切り替え
は行われる。各バッファ情報の値の切り替えはバッファ
制御部210が行う。
Next, a method of realizing buffer switching will be described. It is assumed that each buffer information register 211 is given a non-overlapping initial value such as 1 for write buffer information, 2 for storage buffer information, and 3 for read buffer information. By exchanging the value of the buffer information on a one-to-one basis, the data providing unit 100 and the data reference unit 1 are exchanged.
The physical buffer accessed from 10 can be changed instantaneously. For example, when the above value is stored in the buffer information register 211, the data providing unit 100 writes data to the physical buffer 1 allocated to the write buffer 202. When the writing is completed, the buffer is switched, and the read buffer information and the write buffer information are exchanged. Then, the buffer information register 2
Reference numeral 11 indicates that the write buffer information is 3, the storage buffer information is 2, and the read buffer information is 1, and the physical buffer 1 in which the data is written is allocated to the read buffer 206. The switching of the physical buffer is performed based on such a principle. The buffer control unit 210 switches the value of each buffer information.

【0040】バッファ交換のアルゴリズムについて説明
する。図3はバッファ制御装置の動作を説明するための
制御フローチャート図である。以下では書き込みバッフ
ァや読み出しバッファといった概念的なバッファを用い
て説明を行う。物理バッファの切り替えは、データ提供
部100によるバッファ切り替え要求発行とデータ参照
部110のバッファ切り替え禁止の解除(0の書き込
み)が発生した場合に行われる可能性がある。図3に沿
って具体的に説明する。バッファ切り替え要求が発生し
た場合(図3中、ステップ10→ステップ12)、バッ
ファ切り替え禁止レジスタ216内の情報(例えばフラ
グ)を確認する(ステップ12)。バッファ切り替え禁
止レジスタ216内のフラグが0なら読み出しバッファ
は利用されていないので、読み出しバッファ206と最
新のデータが書き込まれた書き込みバッファ202とを
交換する(ステップ14)。
The algorithm for buffer exchange will be described. FIG. 3 is a control flowchart for explaining the operation of the buffer control device. Hereinafter, description will be made using conceptual buffers such as a write buffer and a read buffer. The physical buffer switching may be performed when the data providing unit 100 issues a buffer switching request and the data reference unit 110 releases the buffer switching prohibition (write 0). This will be specifically described with reference to FIG. When a buffer switching request occurs (step 10 → step 12 in FIG. 3), information (for example, a flag) in the buffer switching prohibition register 216 is confirmed (step 12). If the flag in the buffer switching prohibition register 216 is 0, the read buffer is not used, and the read buffer 206 is replaced with the write buffer 202 in which the latest data is written (step 14).

【0041】バッファ切り替え要求レジスタ214内の
情報(例えばフラグ)が物理バッファの切り替えを要求
するものであり、かつバッファ切り替え禁止レジスタ2
16内の情報(例えばフラグ)が物理バッファの切り替
の禁止を解除するものであった場合は、書き込みバッフ
ァ202と読み出しバッファ206を入れ替える動作を
実施する。その際に格納バッファ204にデータがあっ
たとしてもデータ提供部100により書き込み終了した
物理バッファのデータの方が新しいため、格納バッファ
204のデータは破棄する。よって、書き込みバッファ
202と読み出しバッファ206を交換する(ステップ
14)場合、格納バッファ有効フラグ215は必ず0に
リセットする。
The information (for example, a flag) in the buffer switching request register 214 requests switching of the physical buffer, and the buffer switching inhibition register 2
If the information (for example, a flag) in 16 is to release the prohibition of switching of the physical buffer, an operation of switching the write buffer 202 and the read buffer 206 is performed. At this time, even if there is data in the storage buffer 204, the data in the storage buffer 204 is discarded because the data in the physical buffer that has been written by the data providing unit 100 is newer. Therefore, when the write buffer 202 and the read buffer 206 are exchanged (Step 14), the storage buffer valid flag 215 is always reset to 0.

【0042】またバッファ切り替え禁止レジスタ216
のフラグが1なら読み出しバッファ206は利用されて
いるため、データの同時性を保証するためには読み出し
バッファ206を切り替えることはできない。そこで格
納バッファ204と書き込みバッファ202を交換し、
格納バッファ204に現在の読み出しバッファ206よ
りも新しいデータが入っていることを示す格納バッファ
有効フラグ215に1をセットする(ステップ16)。
The buffer switching prohibition register 216
If the flag is 1, the read buffer 206 is being used, so that the read buffer 206 cannot be switched to guarantee the data synchronization. Therefore, the storage buffer 204 and the write buffer 202 are exchanged,
The storage buffer valid flag 215 indicating that the storage buffer 204 contains newer data than the current read buffer 206 is set to 1 (step 16).

【0043】バッファ切り替え禁止レジスタ216のフ
ラグに0が書き込まれて値が1から0に変化した場合
(ステップ10→ステップ18)、格納バッファ有効レ
ジスタ215が1であれば(ステップ18→ステップ2
0)、読み出しバッファ206と格納バッファ204を
入れ替えて、格納バッファ有効フラグ215を0にセッ
トする。格納バッファ有効フラグ215が0の場合、現
在の読み出しバッファ206が最新であるため、バッフ
ァの入れ替えは行わない。
When 0 is written to the flag of the buffer switching prohibition register 216 and the value changes from 1 to 0 (step 10 → step 18), if the storage buffer valid register 215 is 1 (step 18 → step 2)
0), the read buffer 206 and the storage buffer 204 are exchanged, and the storage buffer valid flag 215 is set to 0. If the storage buffer valid flag 215 is 0, the buffer is not replaced because the current read buffer 206 is the latest.

【0044】バッファ制御部210には読み出しバッフ
ァ更新フラグ218を持ち、読み出しバッファ206が
バッファ制御装置217によって実際に切り替えが起こ
った際に1になる。このフラグはデータ参照部110か
ら0をライトしてクリア可能である。使用する場合はバ
ッファを切り替え禁止にしてデータを参照する際に、バ
ッファの切り替え禁止を解除する前に該バッファ更新フ
ラグ218をクリアしておく。
The buffer control unit 210 has a read buffer update flag 218, and becomes 1 when the read buffer 206 is actually switched by the buffer control unit 217. This flag can be cleared by writing 0 from the data reference unit 110. When the buffer update flag 218 is used, the buffer update flag 218 is cleared before canceling the buffer switching prohibition when referring to data with the buffer switching prohibited.

【0045】続いてバッファ切り替え禁止を解除する
と、次回バッファを参照しようと試みる際に、バッファ
更新フラグ218の値を確認すれば前回参照した時点か
らバッファが更新されているかどうかを確認することが
可能である。
Subsequently, when the buffer switching prohibition is released, the next time an attempt is made to refer to the buffer, by checking the value of the buffer update flag 218, it is possible to confirm whether or not the buffer has been updated since the previous reference. It is.

【0046】実施の形態1のデータバッファリング装置
は、上述のように構成されているので、データ提供部1
00が物理バッファへアクセスを実行するとき、データ
参照部110はこの物理バッファにはアクセスを実行し
ないためデータの同時性が保証される。
Since the data buffering device according to the first embodiment is configured as described above,
When 00 accesses the physical buffer, the data reference unit 110 does not execute access to this physical buffer, so that the data synchronization is guaranteed.

【0047】更に、データ提供部100、データ参照部
110にはアクセスすべき物理バッファが常に割り当て
られるのでアクセス時において、物理バッファを割り当
てるためにアクセスするのを待たされることがない。更
に、データ参照部110は、アクセスを開始した時点に
おいて、物理バッファへの書き込みが完了した最新のデ
ータを格納する物理バッファへのアクセスが可能とな
る。
Furthermore, since a physical buffer to be accessed is always allocated to the data providing unit 100 and the data reference unit 110, there is no need to wait for access to allocate a physical buffer during access. Further, at the time when the access is started, the data reference unit 110 can access the physical buffer that stores the latest data that has been written to the physical buffer.

【0048】更に、読み出しバッファ更新フラグ218
を有するので、データ参照部110は読み出しバッファ
更新フラグ218の情報を調べることにより、アクセス
している物理バッファが前回アクセスした物理バッファ
と切り替えがなされているかどうかを調べることができ
るため、データ参照部110は最新のデータを格納する
物理バッファへのアクセスがなされているかどうかを調
べることができる。
Further, the read buffer update flag 218
Since the data reference unit 110 checks the information of the read buffer update flag 218, the data reference unit 110 can check whether the accessed physical buffer has been switched with the previously accessed physical buffer. 110 can check whether the physical buffer storing the latest data has been accessed.

【0049】実施の形態2.本実施の形態2では、デー
タバッファリング装置を用いた分散制御システムについ
て説明する。ここではネットワーク等の伝送路に接続さ
れるデータバッファリング装置を有する複数ノード装置
を用いて分散制御システムを構成したものであり、ノー
ド装置毎に提供されるデータの同時性を保証し、読み出
し・書き込み時の時間待ちを防ぐと共に、データ読み出
し開始時にそれまでに受信した最新データを参照するこ
とが可能な分散制御システムについて説明する。
Embodiment 2 In the second embodiment, a distributed control system using a data buffering device will be described. Here, a distributed control system is configured using a plurality of node devices having a data buffering device connected to a transmission path such as a network, and guarantees the synchronization of data provided for each node device, and A description will be given of a distributed control system capable of preventing waiting for writing time and referring to the latest data received so far at the start of data reading.

【0050】図4は本実施の形態2による分散制御シス
テムにおける1つのノード装置の構成を示すブロック構
成図である。図において、1はネットワーク、300
は、複数のノードとデータの共有を行う為に実施の形態
1のデータバッファリング装置を複数備えた通信データ
バッファリング装置であり、350は自身のノード装置
(自ノードと称す)によるデータの送信、および他のノ
ード装置からのデータを受信を制御する通信制御装置、
360は各ノード装置における中央処理装置である。
FIG. 4 is a block diagram showing the configuration of one node device in the distributed control system according to the second embodiment. In the figure, 1 is a network, 300
Is a communication data buffering apparatus provided with a plurality of data buffering apparatuses according to the first embodiment for sharing data with a plurality of nodes. Data transmission 350 is performed by its own node apparatus (referred to as its own node). , And a communication control device that controls reception of data from other node devices,
360 is a central processing unit in each node device.

【0051】通信データバッファリング装置300は、
自身のノード装置がデータを送信することを前提として
おり、送信用データバッファリング装置315と受信用
データバッファリング装置316を備えている。図4に
はネットワークに接続してデータの共有を行うノード装
置の数が最大4ノードの場合について示しているため、
受信用データバッファリング装置316は自ノードを除
いた他の3つのノード装置の各々に対応する3つの第1
のデータバッファリング装置であるデータバッファリン
グ装置302,304,306を備え、送信用データバ
ッファリング装置315は自ノードに対応する第2のデ
ータバッファリング装置であるデータバッファリング装
置308を備えている。なお、4つのノード装置のうち
の少なくとも1つのノード装置は送信用データバッファ
リング装置315を持たないものであってもかまわな
い。
The communication data buffering device 300
It is assumed that its own node device transmits data, and includes a transmission data buffering device 315 and a reception data buffering device 316. FIG. 4 shows a case where the number of node devices connected to the network and sharing data is a maximum of four nodes.
The reception data buffering device 316 includes three first data bases corresponding to each of the other three node devices except the own node.
The data buffering devices 302, 304, and 306, which are the data buffering devices, are provided. The transmission data buffering device 315 includes the data buffering device 308, which is the second data buffering device corresponding to the own node. . At least one of the four node devices may not have the transmission data buffering device 315.

【0052】データバッファリング装置302,30
4,306に関しては、実施の形態1におけるデータ提
供部100に対応するデータ提供部(第1のデータ提供
部)として、通信制御装置350または後述する受信デ
ータ分配装置312が対応し、実施の形態1におけるデ
ータ参照部110に対応するデータ参照部(第1のデー
タ参照部)として、中央処理装置360が対応する。ま
たデータバッファリング装置308に関しては、実施の
形態1におけるデータ提供部100に対応するデータ提
供部(第2のデータ提供部)として、中央処理装置36
0が対応し、実施の形態1におけるデータ参照部110
に対応するデータ参照部(第2のデータ参照部)とし
て、通信制御装置350がそれぞれ対応する。
Data buffering devices 302 and 30
Regarding 4,306, a communication control device 350 or a reception data distribution device 312 described later corresponds as a data providing unit (first data providing unit) corresponding to the data providing unit 100 in the first embodiment. The central processing unit 360 corresponds to a data reference unit (first data reference unit) corresponding to the data reference unit 110 in No. 1. As for the data buffering device 308, the central processing unit 36 serves as a data providing unit (second data providing unit) corresponding to the data providing unit 100 in the first embodiment.
0 corresponds to the data reference unit 110 in the first embodiment.
The communication control device 350 corresponds to a data reference unit (second data reference unit) corresponding to.

【0053】また通信データバッファリング装置300
は、各データバッファリング装置302,304,30
6がどのノード装置からのデータを格納するかに関する
情報(例えば各ノード装置に割り当てた番号など)を保
持する受信用ノード番号レジスタ310と、受信用ノー
ド番号レジスタ310を参照して受信したデータを各デ
ータバッファリング装置に振り分ける機能を持つ受信用
データ分配装置312を備えている。
The communication data buffering device 300
Are the respective data buffering devices 302, 304, 30
6 is a receiving node number register 310 that holds information (for example, a number assigned to each node device) about which node device stores data from the receiving device. A receiving data distribution device 312 having a function of distributing to each data buffering device is provided.

【0054】送信用データバッファリング装置315に
は、自ノードのノード番号を示す送信用ノード番号レジ
スタ311が備えられている。通信制御装置350はこ
の送信用ノード番号レジスタ311を参照して自ノード
の送信データからパケットを生成する。パケットの中に
は該パケットを送信したノード番号が含まれている。ま
た複数のパケットにデータ分割して送る場合にはパケッ
トの組み立て分割は通信制御装置350が行う。
The transmission data buffering device 315 is provided with a transmission node number register 311 indicating the node number of the own node. The communication control device 350 refers to the transmission node number register 311 to generate a packet from the transmission data of the own node. The packet contains the number of the node that transmitted the packet. When data is transmitted after being divided into a plurality of packets, the communication control device 350 performs the assembly division of the packets.

【0055】また、通信制御装置350は、受信したパ
ケットからノード番号とデータを取得し、受信データ分
配装置312では受信したノード番号とデータバッファ
リング装置302,304,306の対応を示す受信用
ノード番号レジスタ310を用いてデータを格納するデ
ータバッファリング装置を決定する。そして、決定した
受信用のデータバッファリング装置302〜306に書
き込みを行い、書き込みが終了した時点で同一のデータ
バッファリング装置にバッファ切り替え要求を発行す
る。
The communication control device 350 acquires the node number and the data from the received packet, and the reception data distribution device 312 receives the reception node number indicating the correspondence between the received node number and the data buffering devices 302, 304, and 306. A data buffering device for storing data is determined using the number register 310. Then, writing is performed to the determined receiving data buffering devices 302 to 306, and when the writing is completed, a buffer switching request is issued to the same data buffering device.

【0056】送信用データバッファリング装置315は
中央処理装置360が更新するデータをバッファリング
する。中央処理装置360は自身のノード装置の動作周
期でデータを収集し、他のノード装置(他ノードと称
す)に提供すべきデータをデータバッファリング装置3
08に書き込む。書き込みが終了した時点でバッファ切
り替え要求を発行する。
The transmission data buffering device 315 buffers data updated by the central processing unit 360. The central processing unit 360 collects data in the operation cycle of its own node device, and stores data to be provided to another node device (referred to as another node) in the data buffering device 3.
08 is written. When the writing is completed, a buffer switching request is issued.

【0057】通信制御装置350の動作はここでは特に
規定しないが、データバッファリング装置308のバッ
ファ更新フラグを監視し、バッファが更新されたらデー
タを読み出して他ノードに送信を行う方法や、通信制御
装置が独自のタイミング(タイマーやネットワークの状
態、マスターからの指示等)でデータバッファリング装
置からのデータを取り出すことかが考えられる。データ
を読み出す際には該当するバッファを切り替え禁止にし
た後にデータを読み出し、終了したら切り替え禁止を解
除するという手順を守って行われる。
Although the operation of the communication control device 350 is not particularly defined here, a method of monitoring the buffer update flag of the data buffering device 308 and reading out the data when the buffer is updated and transmitting the data to another node, a communication control It is conceivable that the device extracts data from the data buffering device at a unique timing (timer, network status, instruction from master, etc.). When data is read, data is read after the corresponding buffer is prohibited from being switched, and the prohibition of switching is released when the process is completed.

【0058】実施の形態2の分散制御システムは各ノー
ド装置に実施の形態1で説明したデータバッファリング
装置をN個備え、他ノードより送られるデータをノード
番号に従って分配する受信データ分配装置312を備え
たので、データの同時性をノード毎に保証すると共に、
データの読み出しと書き込みに関して時間待ちが発生せ
ず、データの読み出し開始時に最新のデータを提供する
ことが可能となる。
In the distributed control system according to the second embodiment, each node device includes N data buffering devices described in the first embodiment, and a reception data distribution device 312 that distributes data sent from another node according to the node number. As well as guaranteeing data concurrency for each node,
There is no need to wait for data reading and writing, and the latest data can be provided at the start of data reading.

【0059】更には、受信用データバッファリング装置
316において各データバッファリング装置のバッファ
切り替え禁止レジスタをN−1ビットの1つのレジスタ
にまとめるように構成すれば、1回のライトアクセスで
すべての受信データバッファリング装置に対してバッフ
ァ切り替え禁止を同時に発行できるため、複数のバッフ
ァに対して切り替え禁止を発行する手間を省くと共に、
ある時点でのバッファの状態をすべての受信用データバ
ッファリング装置316内のデータバッファリング装置
に対して残すことが可能である。
Furthermore, if the reception data buffering device 316 is configured so that the buffer switch prohibition registers of each data buffering device are combined into one register of N-1 bits, all receptions can be performed by one write access. Since the buffer switching prohibition can be issued to the data buffering device at the same time, the trouble of issuing the switching prohibition for a plurality of buffers can be omitted, and
It is possible to leave the state of the buffer at a certain point in time in the data buffering devices in all the receiving data buffering devices 316.

【0060】更には、受信用データバッファリング装置
316において各データバッファリング装置のバッファ
切り替え要求レジスタをN−1ビットの1つのレジスタ
にまとめるように構成すれば、複数のバッファに格納す
べきデータが1つのパケットに格納されている場合にお
いて、各バッファにデータを書き込んだ後に同時にバッ
ファ切り替え要求を発行することが可能となる。
Further, if the buffer switching request register of each data buffering device is configured to be integrated into one register of N-1 bits in the receiving data buffering device 316, data to be stored in a plurality of buffers can be stored. When the data is stored in one packet, it is possible to simultaneously issue a buffer switching request after writing data to each buffer.

【0061】実施の形態3.本実施の形態は、メモリの
利用効率が悪いトリプルバッファに対して、バッファ削
減のための仕組みを設けたものである。書き込みバッフ
ァが各ノード装置毎に必要であるのは、様々なノード装
置に対するデータが順不同に受信されるという自由度の
高い場合であることに着目している。ネットワーク上の
動作をマスタ(図示せず)が管理し、各ノード装置がマ
スタの指示に従って送信を行い、1つのノード装置が送
信を始めたら終了するまで他のノード装置が送信しない
様な分散制御システムにおいては、書き込みバッファを
受信用データバッファリング装置内のデータバッファリ
ング装置間で共用化することにより書き込みバッファを
1つに削減することが可能である。
Embodiment 3 In the present embodiment, a mechanism for reducing a buffer is provided for a triple buffer having a low memory use efficiency. It is noted that a write buffer is required for each node device when there is a high degree of freedom that data for various node devices is received out of order. A master (not shown) manages the operation on the network, and each node device performs transmission according to the instruction of the master, and when one node device starts transmission, another node device does not transmit until it ends. In the system, it is possible to reduce the number of write buffers to one by sharing the write buffer among the data buffering devices in the receiving data buffering device.

【0062】この例について図5に示す。図5は本発明
の実施の形態3による分散制御システムにおける1つの
ノード装置の構成を示すブロック構成図である。図にお
いて、400は、複数のノードとデータの共有を行う為
に複数のデータバッファリング装置を備えた通信データ
バッファリング装置であり、送信用データバッファリン
グ装置315と受信用データバッファリング装置416
を備える。図中には接続ノード数Nを4(自ノードを含
む)として図示している。受信用データバッファリング
装置416に関しては、第1のデータ提供部として通信
制御装置350が対応し、第1のデータ参照部として中
央処理装置360が対応する。また送信用データバッフ
ァリング装置315に関しては、第2のデータ提供部と
して中央処理装置360が対応し、第2のデータ参照部
として通信制御装置350がそれぞれ対応する。
FIG. 5 shows this example. FIG. 5 is a block diagram showing a configuration of one node device in the distributed control system according to the third embodiment of the present invention. In the figure, reference numeral 400 denotes a communication data buffering device provided with a plurality of data buffering devices for sharing data with a plurality of nodes, and includes a transmission data buffering device 315 and a reception data buffering device 416.
Is provided. In the figure, the number N of connected nodes is illustrated as 4 (including the own node). As for the reception data buffering device 416, the communication control device 350 corresponds as a first data providing unit, and the central processing unit 360 corresponds as a first data reference unit. As for the transmission data buffering device 315, the central processing unit 360 corresponds as a second data providing unit, and the communication control device 350 corresponds as a second data reference unit.

【0063】本実施の形態の受信データバッファリング
装置416は、通信制御装置350がノード装置毎にデ
ータを書き込むという条件の下に動作するものである。
この条件は、各ノード装置より送信されるデータがネッ
トワーク1上において1つのパケットで送信される場合
は特に問題はない。複数のパケットに分割される場合に
おいても、トークンをまわして複数のノード装置が予め
定められた順序に従って自身のノード装置のデータを他
のノード装置に送信するといったようにデータ送信順を
管理するようなネットワークシステムや、通信制御装置
内にもバッファを持ち、各ノード装置からのデータに対
して完全にデータが揃った時点で受信用データバッファ
リング装置の対応するデータバッファリング装置へ書き
込むといった手順を経ることによって本実施の形態が動
作可能となる。
The received data buffering device 416 of this embodiment operates under the condition that the communication control device 350 writes data for each node device.
This condition is not a problem when the data transmitted from each node device is transmitted in one packet on the network 1. Even when the packet is divided into a plurality of packets, the data transmission order is managed such that a plurality of node devices transmit data of their own node device to another node device in a predetermined order by turning a token. A network system or a buffer in the communication controller, and write the data to the corresponding data buffering device of the receiving data buffering device when the data from each node device is completely prepared. After this, the present embodiment becomes operable.

【0064】実施の形態2に示した受信用データバッフ
ァリング装置316と本実施の形態に係わる受信用デー
タバッファリング装置416との相違について図5を用
いて説明する。図5の受信用データバッファリング装置
416では1つの書き込みバッファ202と、N−1個
の格納バッファ204と、N−1個の読み出しバッファ
206を備えている。従ってN=4の場合には全部で7
個の物理バッファを備えている。そして、これらのバッ
ファは全て同じサイズである。受信用データバッファリ
ング装置416は実施の形態2に示す受信データバッフ
ァリング装置316と同等の機能を持ち、実施の形態1
に示したバッファ情報を交換する方法により使用する物
理バッファを交換する。即ち、図5中に描かれたバッフ
ァ202,204,206に対してバッファ制御部21
0の中のバッファ情報レジスタの中に対応する物理バッ
ファ番号が格納されており、これらを切り替えることに
よりノード間をまたいでバッファの交換が可能となる。
The difference between the receiving data buffering device 316 shown in the second embodiment and the receiving data buffering device 416 according to the present embodiment will be described with reference to FIG. The reception data buffering device 416 of FIG. 5 includes one write buffer 202, N-1 storage buffers 204, and N-1 read buffers 206. Therefore, when N = 4, a total of 7
Physical buffers. And these buffers are all the same size. The reception data buffering device 416 has the same function as the reception data buffering device 316 shown in the second embodiment, and
The physical buffer to be used is exchanged by the method of exchanging buffer information described in (1). That is, the buffers 202, 204, and 206 depicted in FIG.
The corresponding physical buffer number is stored in the buffer information register in 0, and the buffer can be exchanged across nodes by switching these.

【0065】また、各ノードに対してバッファ切り替え
要求レジスタ214、バッファ切り替え禁止レジスタ2
16、格納バッファ有効フラグ215、バッファ更新フ
ラグ218、バッファ制御回路217をバッファ制御部
210の中に各ノード用に備えている。
The buffer switching request register 214 and the buffer switching prohibition register 2
16, a storage buffer valid flag 215, a buffer update flag 218, and a buffer control circuit 217 are provided in the buffer control unit 210 for each node.

【0066】受信用データバッファリング装置416が
実施の形態2の受信用データバッファリング装置316
と異なる点は、本実施の形態の受信用データバッファリ
ング装置416の場合、書き込みバッファが共通書き込
みバッファ202の1個しか存在しないことである。本
実施の形態では通信制御部350から書き込まれるデー
タが必ずノード装置毎であるため、1ノード装置から送
信される分のデータを書き込むバッファが存在すればよ
い。
The receiving data buffering device 316 according to the second embodiment
The difference is that in the case of the receiving data buffering device 416 of the present embodiment, only one common write buffer 202 exists in the write buffer. In the present embodiment, since data written from communication control section 350 is always for each node device, it suffices that a buffer for writing data transmitted from one node device exists.

【0067】動作原理を以下に示す。通信制御部350
は受信したデータを共有書き込みバッファ202に書き
込む。書き込みが終了した時点でバッファ切り替え要求
を発行する。切り替え要求を受け付けると共通書き込み
バッファ202は状況に応じて該当するノード装置用の
読み出しバッファ206か格納バッファ204と交換さ
れ、新しく書き込みが可能な物理バッファを持つ共有書
き込みバッファ202が発生する。次に受信するデータ
はこの新しい共有書き込みバッファ202に格納され、
以下同様にバッファ交換されていく。交換の動作原理は
実施の形態1や実施の形態2で示した方法と同じである
が、書き込みバッファとの交換に関してのみ、全てのノ
ードが共用書き込みバッファ202を用いる。バッファ
制御部210の中のバッファ切り替え要求レジスタ21
4を用いて1度の書き込みでは1つのノードに対してバ
ッファ切り替えを行うのか指示をすることが可能であ
る。
The operation principle will be described below. Communication control unit 350
Writes the received data into the shared write buffer 202. When the writing is completed, a buffer switching request is issued. When the switching request is received, the common write buffer 202 is replaced with a read buffer 206 or a storage buffer 204 for the corresponding node device according to the situation, and a shared write buffer 202 having a new writable physical buffer is generated. The next data to be received is stored in this new shared write buffer 202,
Thereafter, the buffer is exchanged in the same manner. The operation principle of the exchange is the same as the method described in the first and second embodiments, but only the exchange with the write buffer uses the shared write buffer 202 for all nodes. Buffer switching request register 21 in buffer controller 210
It is possible to instruct one node whether to perform buffer switching in one writing by using No.4.

【0068】本実施の形態と同様の制約の下でも実施の
形態2の受信用データバッファリング装置316は使用
可能である。しかし、N−1個保有している書き込みバ
ッファは順番に使用され、同時にデータを保存すること
はない。この使用されないバッファを削減したものが本
実施の形態の受信用データバッファリング装置416で
ある。
The receiving data buffering device 316 of the second embodiment can be used under the same restrictions as in the present embodiment. However, the N-1 write buffers are used sequentially and do not store data at the same time. The reception data buffering device 416 according to the present embodiment is obtained by reducing the unused buffers.

【0069】実施の形態4.本実施の形態に示すデータ
バッファリング装置は、実施の形態3のデータバッファ
リング装置400からさらに使用するバッファを削減し
たものであり、中央処理装置360がデータを参照する
際に1ノードづつ順番にバッファ切り替え禁止を発行し
てデータを参照することを前提としている。即ち、本実
施の形態では、プロセッサがバッファ切り替え禁止を宣
言するノードを1つに限定することにより、同時には格
納バッファが1つしか利用されないことに着目し、格納
バッファを1個に削減したことを特徴とするものであ
る。複数ノードのデータを使用する場合には中央処理装
置360のワーク領域にデータのコピーを作成する。
Embodiment 4 The data buffering device according to the present embodiment is obtained by reducing the number of buffers further used from the data buffering device 400 according to the third embodiment. When the central processing unit 360 refers to the data, the data buffering device 400 sequentially uses one node at a time. It is assumed that buffer switching prohibition is issued and data is referenced. That is, in the present embodiment, the processor limits the number of nodes that declare buffer switching prohibition to one, and pays attention to the fact that only one storage buffer is used at the same time, and reduces the number of storage buffers to one. It is characterized by the following. When using data from a plurality of nodes, a copy of the data is created in the work area of the central processing unit 360.

【0070】図6は本実施の形態4による分散制御シス
テムにおける1つのノード装置の構成を示すブロック構
成図である。図において、500は、複数のノードとデ
ータの共有を行う為に複数のデータバッファリング装置
を備えた通信データバッファリング装置であり、送信用
データバッファリング装置315と受信用データバッフ
ァリング装置516を備える。受信用データバッファリ
ング装置516に関しては、第1のデータ提供部として
通信制御装置350が対応し、第1のデータ参照部とし
て中央処理装置360が対応する。また送信用データバ
ッファリング装置315に関しては、第2のデータ提供
部として中央処理装置360が対応し、第2のデータ参
照部として通信制御装置350がそれぞれ対応する。本
実施の形態の受信用データバッファリング装置516
は、実施の形態2、実施の形態3に示した受信用データ
バッファリング装置316,416と同等の機構を備え
ているが、同時に使用しないバッファを削減することに
よりバッファの利用効率を向上している。
FIG. 6 is a block diagram showing the configuration of one node device in the distributed control system according to the fourth embodiment. In the figure, reference numeral 500 denotes a communication data buffering device provided with a plurality of data buffering devices for sharing data with a plurality of nodes, and a transmission data buffering device 315 and a reception data buffering device 516 are provided. Prepare. As for the reception data buffering device 516, the communication control device 350 corresponds as a first data providing unit, and the central processing unit 360 corresponds as a first data reference unit. As for the transmission data buffering device 315, the central processing unit 360 corresponds as a second data providing unit, and the communication control device 350 corresponds as a second data reference unit. Receiving data buffering device 516 of the present embodiment
Has the same mechanism as the receiving data buffering devices 316 and 416 shown in the second and third embodiments, but improves the use efficiency of buffers by reducing the number of buffers not used at the same time. I have.

【0071】図6は、接続ノード数Nを4(自ノードを
含む)として図示している。3ノード分(N−1ノード
分)の受信用データバッファ装置516として、共通書
き込みバッファ202と共通格納バッファ204、各ノ
ード用の読み出しバッファ206を備えている。バッフ
ァ制御部210は存在するが、実施の形態3と比較する
と共通格納バッファ204が共通になっているため、格
納バッファ有効フラグは1ビットしか存在しない。
FIG. 6 illustrates the case where the number N of connected nodes is 4 (including the own node). The reception data buffer device 516 for three nodes (for N-1 nodes) includes a common write buffer 202, a common storage buffer 204, and a read buffer 206 for each node. Although the buffer control unit 210 exists, the storage buffer valid flag has only one bit because the common storage buffer 204 is common as compared with the third embodiment.

【0072】この装置の中央処理装置360からの使用
方法は実施の形態3に示した方法と同様であるが、中央
処理装置360からのデータアクセスに関する部分に変
更が加わっている。バッファ切り替え禁止レジスタは一
度に全てのフラグに対して操作可能であったが、本実施
の形態4に示すバッファ切り替え禁止レジスタは1ノー
ドに対してのみバッファ切り替え禁止フラグを有効にす
る仕組みを持つ。
The method of using this device from the central processing unit 360 is the same as the method shown in the third embodiment, except that a part related to data access from the central processing unit 360 has been changed. Although the buffer switching prohibition register can operate on all the flags at once, the buffer switching prohibition register described in the fourth embodiment has a mechanism for validating the buffer switching prohibition flag for only one node.

【0073】格納バッファの役割は中央処理装置360
が読み出しバッファのいずれかを切り替え禁止としてい
る間に受信した最新のデータを格納するバッファであ
り、中央処理装置360が複数のバッファを切り替え禁
止とした場合、複数の格納バッファに最新データが貯え
る必要がある。しかし中央処理装置360が1つずつし
かバッファを切り替え禁止としなければ、格納バッファ
204は1つしか同時には使用されない。本実施の形態
では、不要な格納バッファを削減し、バッファの利用効
率を上げている。
The storage buffer plays the role of the central processing unit 360.
Is a buffer for storing the latest data received while any one of the read buffers is prohibited from being switched. When the central processing unit 360 prohibits the switching of a plurality of buffers, it is necessary to store the latest data in a plurality of storage buffers. There is. However, if the central processing unit 360 prohibits the switching of only one buffer at a time, only one storage buffer 204 is used at a time. In the present embodiment, unnecessary storage buffers are reduced, and the use efficiency of the buffers is increased.

【0074】バッファ制御部210の動作フローを図7
に示す。実施の形態1で示した図3の動作フローと比較
すると、バッファ切り替え要求とバッファ切り替え禁止
フラグと読み出しバッファとがN−1個の各ノードによ
って区別されている。図中ではノードAという形で示し
ている。また特定のノードについて図を比較すると図3
と図7は同じ動作を表している。
The operation flow of the buffer control unit 210 is shown in FIG.
Shown in As compared with the operation flow of FIG. 3 described in the first embodiment, the buffer switching request, the buffer switching prohibition flag, and the read buffer are distinguished by N−1 nodes. It is shown in the form of node A in the figure. Fig. 3
7 and FIG. 7 show the same operation.

【0075】本実施の形態では格納バッファを受信用デ
ータバッファ装置516内で共用しているが、どのノー
ド用のデータを格納しているかを示すレジスタを持つ必
要はない。中央処理装置360が切り替え禁止としてい
るバッファは1つしかなく、格納バッファ有効フラグ2
15が有効であれば、切り替え禁止とされている読み出
しバッファに対する格納バッファであることは明白であ
り、読み出しバッファのバッファ切り替え禁止が解かれ
たら、該読み出しバッファと共通格納バッファとを交換
すればよい。
In this embodiment, the storage buffer is shared in the reception data buffer device 516, but it is not necessary to have a register indicating which node stores data. There is only one buffer for which switching is prohibited by the central processing unit 360, and the storage buffer valid flag 2
If 15 is valid, it is clear that the storage buffer is for the read buffer which is prohibited from being switched, and when the buffer switching of the read buffer is released, the read buffer and the common storage buffer may be exchanged. .

【0076】実施の形態5.本実施の形態では、Nノー
ドに対応しているバッファリング装置を、Nより少ない
Mノードで使用した際に、複数のバッファ(最大M個)
を1つのノード用に利用できるように構成したことを特
徴とするものである。ここでは、読み出しバッファに対
応するノード番号を受信用ノード番号レジスタに設定す
る際に、同一ノード番号を連続して設定することによ
り、1つのノードが複数のバッファを使用することを可
能としたものである。
Embodiment 5 In this embodiment, when a buffering device corresponding to N nodes is used by M nodes less than N, a plurality of buffers (maximum M) are used.
Is configured to be used for one node. Here, when the node number corresponding to the read buffer is set in the reception node number register, the same node number is set continuously so that one node can use a plurality of buffers. It is.

【0077】この例を図8に示す。図において、600
は、複数のノードとデータの共有を行う為に複数のデー
タバッファリング装置を備えた通信データバッファリン
グ装置であり、送信用データバッファリング装置315
と受信用データバッファリング装置616を備える。受
信用データバッファリング装置616に関しては、第1
のデータ提供部として通信制御装置350が対応し、第
1のデータ参照部として中央処理装置360が対応す
る。また送信用データバッファリング装置315に関し
ては、第2のデータ提供部として中央処理装置360が
対応し、第2のデータ参照部として通信制御装置350
がそれぞれ対応する。受信用データバッファリング装置
616は、N個の読み出しバッファ206と(Nより小
さい)M個の共通書き込みバッファ202とM個の共通
格納バッファ204を持つ。この図ではN=8、M=4
の場合の構成図を示す。
FIG. 8 shows this example. In the figure, 600
Is a communication data buffering device including a plurality of data buffering devices for sharing data with a plurality of nodes.
And a reception data buffering device 616. Regarding the reception data buffering device 616, the first
The communication control unit 350 corresponds to the data providing unit, and the central processing unit 360 corresponds to the first data reference unit. As for the transmission data buffering device 315, the central processing unit 360 corresponds as a second data providing unit, and the communication control unit 350 as a second data reference unit.
Correspond respectively. The reception data buffering device 616 has N read buffers 206, M (smaller than N) common write buffers 202, and M common storage buffers 204. In this figure, N = 8, M = 4
FIG.

【0078】M個用意されている共通書き込みバッファ
202に対して、通信制御装置は1つのノード装置のデ
ータを複数のバッファに書き込むことが可能である。ノ
ード装置による書き込みを終了してバッファ切り替え要
求を発行する際に、共通書き込みバッファ202を共通
格納バッファ204と切り替える場合はそれぞれM個あ
るバッファを全て切り替える。
The communication control device can write data of one node device into a plurality of buffers for the M common write buffers 202 prepared. When the writing by the node device is completed and a buffer switching request is issued, when switching the common write buffer 202 to the common storage buffer 204, all M buffers are switched.

【0079】該当するノード装置用の読み出しバッファ
206と書き込みバッファ202(もしくは格納バッフ
ァ204)を切り替える場合は次の手順に従う。通信制
御装置350がバッファ切り替え要求を発行するノード
番号に対して(もしくは切り替え禁止が解除されるノー
ド番号に対して)、受信用ノード番号レジスタ310に
同じノード番号がつけられている読み出しバッファ20
6を共通書き込みバッファ202(もしくは共通格納バ
ッファ204)と交換する。同一のノード番号は必ず連
続して設定されるものとする。この際、書き込みバッフ
ァ202と読み出しバッファ206は番号の小さいもの
から(図中の上から)選んで交換を行う。
When switching between the read buffer 206 and the write buffer 202 (or the storage buffer 204) for the corresponding node device, the following procedure is followed. The read buffer 20 in which the same node number is assigned to the receiving node number register 310 with respect to the node number for which the communication control device 350 issues the buffer switching request (or for the node number for which the switching prohibition is canceled).
6 is replaced with the common write buffer 202 (or the common storage buffer 204). The same node number is always set consecutively. At this time, the write buffer 202 and the read buffer 206 are selected and exchanged from the one with the smallest number (from the top in the figure).

【0080】上記の操作を具体的に説明する。図9に受
信用ノード番号レジスタ310の設定状態と読み出しバ
ッファ206の割り当て状態、交換される書き込みバッ
ファ202の割り当て状態を示す。ノード番号として
1,2,3,4を用い、ノード番号レジスタ310を図
9のAの様に設定する。このレジスタの設定により各ノ
ード装置に対して割り当てられる読み出しバッファ20
6を図9のBの様に決定し、書き込みバッファ202と
交換する場合の書き込みバッファを図9のCの様に決定
する。例えば、1番目のノード装置(ノード1と称す)
に関して読み出しバッファ206と書き込みバッファ2
02を交換する場合、ノード1用と設定されている読み
出しバッファである読み出しバッファ1,2と書き込み
バッファ1,2を交換する。同様に2番目のノード装置
(ノード2と称す)では、読み出しバッファ3と書き込
みバッファ3を交換し、3番目のノード装置(ノード3
と称す)では読み出しバッファ4,5,6,7と書き込
みバッファ1,2,3,4を交換し、4番目のノード装
置(ノード4と称す)では読み出しバッファ8と書き込
みバッファ1を交換する。
The above operation will be specifically described. FIG. 9 shows the setting state of the receiving node number register 310, the allocation state of the read buffer 206, and the allocation state of the exchanged write buffer 202. The node numbers 1, 2, 3, and 4 are used, and the node number register 310 is set as shown in FIG. The read buffer 20 assigned to each node device by setting this register
6 is determined as shown in FIG. 9B, and the write buffer to be replaced with the write buffer 202 is determined as shown in FIG. 9C. For example, the first node device (referred to as node 1)
Read buffer 206 and write buffer 2
When exchanging 02, the read buffers 1 and 2, which are the read buffers set for the node 1, and the write buffers 1 and 2 are exchanged. Similarly, in the second node device (referred to as node 2), the read buffer 3 and the write buffer 3 are exchanged, and the third node device (node 3
), The write buffers 1, 2, 3, and 4 are exchanged with the read buffers 4, 5, 6, and 7, and the fourth node device (called the node 4) exchanges the read buffer 8 and the write buffer 1.

【0081】このような処理により1つのノード装置に
対するバッファ切り替え要求に対して連続する複数のバ
ッファと切り替えることが可能となり、特定のノード装
置に対して複数のバッファを割り当てることが可能とな
る。
By such processing, it is possible to switch to a plurality of continuous buffers in response to a buffer switching request for one node device, and it is possible to allocate a plurality of buffers to a specific node device.

【0082】実施の形態6.本実施の形態ではデータバ
ッファリング装置をシステムに適用した際に発生する問
題に対応している。実施の形態5では受信用として各ノ
ードに割り当てられるバッファの数は可変であったが、
それに応じて送信バッファのサイズを変更する必要があ
った。送信データの多いノードに着目すると、受信デー
タは他ノードより少ないことになり、使用しない受信バ
ッファの数が多くなる。ネットワーク全体で提供される
データ量は一定であるが、各ノード装置では送信用に用
いられるものと受信用に用いられるものに分けられるた
めである。そこで本実施の形態では、全てのノード装置
が同じ数の読み出しバッファを持ち、その中の一部を自
分のデータを送信する為の送信用書き込みバッファとし
て用いることにより、ネットワークに参加する全てのノ
ード装置が同じ装置を使用することを可能としたもので
ある。
Embodiment 6 FIG. This embodiment addresses a problem that occurs when the data buffering device is applied to a system. In the fifth embodiment, the number of buffers allocated to each node for reception is variable.
It was necessary to change the size of the transmission buffer accordingly. Focusing on a node with a large amount of transmission data, the reception data is smaller than other nodes, and the number of unused reception buffers increases. Although the amount of data provided in the entire network is constant, each node device is divided into one used for transmission and one used for reception. Therefore, in the present embodiment, all the node devices have the same number of read buffers, and a part of them is used as a transmission write buffer for transmitting own data. This allows the devices to use the same device.

【0083】図10は本発明の実施の形態6による分散
制御システムにおける1つのノード装置の構成を示すブ
ロック構成図である。図において、700は、複数のノ
ードとデータの共有を行う通信データバッファリング装
置であり、710は受信用バッファ制御部、712は送
信用バッファ制御部712、207は送受信用読み出し
/書き込みバッファである。通信データバッファリング
装置700に関しては、他ノードからのデータの受信時
には、第1のデータ提供部として通信制御装置350が
対応し、第1のデータ参照部として中央処理装置360
が対応する。また、自ノードからデータを送信する際に
は、第2のデータ提供部として中央処理装置360が対
応し、第2のデータ参照部として通信制御装置350が
それぞれ対応する。
FIG. 10 is a block diagram showing a configuration of one node device in the distributed control system according to the sixth embodiment of the present invention. In the figure, 700 is a communication data buffering device for sharing data with a plurality of nodes, 710 is a reception buffer control unit, 712 is a transmission buffer control unit 712, and 207 is a transmission / reception read / write buffer. . Regarding the communication data buffering device 700, when receiving data from another node, the communication control device 350 corresponds as a first data providing unit, and the central processing unit 360 as a first data reference unit.
Corresponds. When transmitting data from the own node, the central processing unit 360 corresponds to the second data providing unit, and the communication control unit 350 corresponds to the second data reference unit.

【0084】図10は、総ノード数N=8、1ノードが
使用できるバッファ数M=2として図示しており、通信
データバッファリング装置700は共通書き込みバッフ
ァ(受信用書き込みバッファ)、共通格納バッファ(受
信用格納バッファ)、送信用読み出しバッファ、送信用
格納バッファをそれぞれM個(=2個)ずつ備え、送受
信用読み出し/書き込みバッファをN個(=8個)備え
ている。また、通信データバッファリング装置700
は、送受信用読み出し/書き込みバッファ207とノー
ド番号との割り当て情報を格納する受信用ノード番号レ
ジスタ310と、自ノードの番号を格納する送信用ノー
ド番号レジスタ311、送信側のバッファ入れ替えを行
う送信用バッファ制御部712と受信側のバッファ入れ
替えを行う受信バッファ制御部710を持つ。
FIG. 10 illustrates the case where the total number of nodes N = 8 and the number of buffers M that can be used by the nodes M = 2. The communication data buffering device 700 includes a common write buffer (reception write buffer) and a common storage buffer. (Reception storage buffer), M (= 2) storage buffers for transmission, and N (= 8) read / write buffers for transmission and reception. Also, the communication data buffering device 700
Is a reception node number register 310 for storing assignment information between the transmission / reception read / write buffer 207 and the node number, a transmission node number register 311 for storing the number of the own node, and a transmission side buffer for switching the transmission side. It has a buffer control section 712 and a reception buffer control section 710 for performing buffer exchange on the receiving side.

【0085】受信側の動作原理は実施の形態5に示した
通りである。異なる点は、自ノードのノード番号を受信
用ノード番号レジスタ310に設定できることと、自ノ
ード番号が設定された読み出しバッファは送信用書き込
みバッファとして用い、受信には使用されないことであ
る。
The operation principle on the receiving side is as described in the fifth embodiment. The difference is that the node number of the own node can be set in the receiving node number register 310, and the read buffer in which the own node number is set is used as a write buffer for transmission and is not used for reception.

【0086】送信側の動作原理も、基本的にはこれまで
に用いられている送信用データバッファリング装置31
5と変わらない。送信用の書き込みバッファと受信用の
読み出しバッファとが共通の読み出し/書き込みバッフ
ァに割り当てられているため、バッファ切り替え要求が
中央処理装置360から発行された場合に、どの読み出
し/書き込みバッファが送信用書き込みバッファとして
設定されているかを送信用ノード番号レジスタ311と
受信用ノード番号レジスタ310を用いて検索する必要
がある。しかし同じ装置を用いて送信用に用いるバッフ
ァの数を変化させられる利点がある。その結果、複数の
ノードが接続されたデータ共有システムを考えた場合、
各ノードが同一の装置を使用し、各ノードにN個のバッ
ファを配分し、送信用データバッファリング装置と受信
用データバッファリング装置を区別せずに1つの装置内
の送信用ノード番号レジスタ311と受信用ノード番号
レジスタ310の設定を各ノード毎に行うだけでシステ
ムを構成することが可能となる。
The operation principle of the transmission side is basically the same as that of the transmission data buffering device 31 used so far.
It is not different from 5. Since the write buffer for transmission and the read buffer for reception are assigned to a common read / write buffer, when a buffer switching request is issued from the central processing unit 360, which read / write buffer is used for writing for transmission. It is necessary to search using the transmission node number register 311 and the reception node number register 310 to determine whether the buffer is set as a buffer. However, there is an advantage that the number of buffers used for transmission can be changed using the same device. As a result, considering a data sharing system in which multiple nodes are connected,
Each node uses the same device, N buffers are allocated to each node, and the transmission node number register 311 in one device without distinguishing between the transmission data buffering device and the reception data buffering device. The system can be configured only by setting the reception node number register 310 for each node.

【0087】[0087]

【発明の効果】以上のように、この発明の第1の構成の
データバッファリング装置によれば、データ提供部から
データ参照部に提供するデータを格納するためのデータ
バッファリング装置であって、3つの同じサイズの物理
バッファと、上記データ提供部が提供するデータを書き
込むためにアクセスする書き込みバッファ、上記データ
参照部が書き込まれたデータを読み出すためにアクセス
する読み出しバッファ、および上記データ提供部と上記
データ参照部とのどちらからもアクセスできないように
した格納バッファのうちのいずれかのバッファとして上
記3つの物理バッファのそれぞれを機能させるための情
報を保持するバッファ情報レジスタと、上記バッファ情
報レジスタに保持する情報に基づいて、上記データ提供
部がアクセスする物理バッファおよび上記データ参照部
がアクセスする物理バッファを上記3つの物理バッファ
の中から割り当てるバッファセレクタと、上記データ提
供部が書き込みバッファに対応する物理バッファへのア
クセス終了後に、上記データ提供部がアクセスする物理
バッファを他の物理バッファへ切り替える要求を書き込
むバッファ切り替え要求レジスタと、上記データ参照部
が読み出しバッファに対応する物理バッファへのアクセ
ス開始時に、当該物理バッファへのアクセス中に上記デ
ータ参照部がアクセスする物理バッファが他の物理バッ
ファへ切り替えられるのを禁止する要求を書き込むバッ
ファ切り替え禁止レジスタと、上記格納バッファに対応
する物理バッファに上記データ参照部がアクセスすべき
データが保存されているかどうか示す格納バッファ有効
フラグを記憶する第1の記憶手段と、上記バッファ切り
替え要求レジスタに物理バッファを切り替える要求が書
き込まれた場合であってかつ、上記バッファ切り替え禁
止レジスタに他の物理バッファへ切り替えられるのを禁
止する要求が書き込まれていない場合、上記データ提供
部がアクセスする物理バッファと上記データ参照部がア
クセスする物理バッファとを切り替える指令を上記バッ
ファ情報レジスタへ送り、上記バッファ切り替え要求レ
ジスタに物理バッファを切り替える要求が書き込まれた
場合であってかつ、上記バッファ切り替え禁止レジスタ
に他の物理バッファへ切り替えられるのを禁止する要求
が書き込まれている場合、上記データ提供部がアクセス
する物理バッファと格納バッファに対応する物理バッフ
ァとを切り替えるように上記バッファ情報レジスタ内の
情報を変更し、上記第1の記憶手段に格納された格納バ
ッファ有効フラグが上記格納バッファに対応する物理バ
ッファに上記データ参照部がアクセスすべきデータが保
存されている場合であってかつ、上記バッファ切り替え
禁止レジスタに他の物理バッファへ切り替えられるのを
禁止する要求が書き込まれていない場合、上記データ参
照部がアクセスする物理バッファと格納バッファに対応
する物理バッファとを切り替えるように上記バッファ情
報レジスタ内の情報を変更するバッファ情報レジスタ制
御手段とを備えたので、データ提供部が物理バッファへ
アクセスを実行するとき、データ参照部はこの物理バッ
ファにはアクセスを実行しないためデータの同時性が保
証される効果がある。また、データ提供部、データ参照
部にはアクセスすべき物理バッファが常に割り当てられ
るのでアクセス時において、物理バッファを割り当てる
ためにアクセスするのを待たされることがない。また、
データ参照部は、アクセスを開始した時点において、物
理バッファへの書き込みが完了した最新のデータを格納
する物理バッファへのアクセスが可能となる。
As described above, according to the data buffering device of the first configuration of the present invention, there is provided a data buffering device for storing data provided from a data providing unit to a data reference unit, Three physical buffers of the same size, a write buffer for accessing to write the data provided by the data providing unit, a read buffer for accessing the data reference unit to read the written data, and the data providing unit A buffer information register that holds information for causing each of the three physical buffers to function as one of the storage buffers that cannot be accessed from either of the data reference unit; The data providing unit accesses based on the information held A buffer selector for allocating a physical buffer and a physical buffer to be accessed by the data reference unit from the three physical buffers, and the data providing unit accessing the physical buffer corresponding to the write buffer after the data providing unit has finished accessing the physical buffer. A buffer switching request register for writing a request to switch a physical buffer to another physical buffer to be written, and when the data reference unit starts accessing a physical buffer corresponding to the read buffer, the data reference unit A buffer switch prohibition register for writing a request for prohibiting a physical buffer to be accessed from being switched to another physical buffer; and indicating whether data to be accessed by the data reference unit is stored in a physical buffer corresponding to the storage buffer. A first storage unit for storing a storage buffer valid flag; and a case where a request for switching a physical buffer is written to the buffer switching request register and the buffer switching prohibition register switches to another physical buffer. If the prohibition request has not been written, a command to switch between the physical buffer accessed by the data providing unit and the physical buffer accessed by the data reference unit is sent to the buffer information register, and the physical buffer is sent to the buffer switching request register. If a request to switch is written and if a request to prohibit switching to another physical buffer is written to the buffer switch prohibition register, the physical buffer and storage buffer accessed by the data providing unit Corresponding physical buffer The data in the buffer information register is changed so as to switch between the data buffer and the storage buffer valid flag stored in the first storage means. Is stored, and if the request to prohibit switching to another physical buffer is not written in the buffer switch prohibition register, the buffer corresponds to the physical buffer and the storage buffer accessed by the data reference unit. Buffer information register control means for changing the information in the buffer information register so as to switch between the physical buffer and the data buffer. Does not execute access, which has the effect of guaranteeing data concurrency. . In addition, since a physical buffer to be accessed is always allocated to the data providing unit and the data reference unit, there is no need to wait for access to allocate a physical buffer during access. Also,
The data reference unit can access the physical buffer that stores the latest data that has been written to the physical buffer when access is started.

【0088】本発明の第2の構成のデータバッファリン
グ装置によれば、第1の構成のデータバッファリング装
置において、データ参照部から読み出しとクリアが可能
であり、読み出しバッファを更新したかどうかを示す読
み出しバッファ更新フラグを記憶する第2の記憶手段を
備えたので、データ参照部は読み出しバッファ更新フラ
グの情報を調べることにより、アクセスしている物理バ
ッファが前回アクセスした物理バッファと切り替えがな
されているかどうかを調べることができるため、データ
参照部は最新のデータを格納する物理バッファへのアク
セスがなされているかどうかを調べることができる効果
がある。
According to the data buffering device of the second configuration of the present invention, in the data buffering device of the first configuration, reading and clearing are possible from the data reference section, and whether or not the read buffer is updated is determined. The data referencing unit checks the information of the read buffer update flag, so that the accessing physical buffer is switched with the previously accessed physical buffer. Since it can be checked whether or not the data buffer is accessed, the data reference unit can check whether or not the physical buffer storing the latest data is accessed.

【0089】本発明の第1の構成による分散制御システ
ムは、N(N:2以上の整数)個のノード装置を伝送路
を介して接続した分散制御システムであって、各ノード
装置は、自身のノード装置によるデータの送信、他のノ
ード装置からのデータの受信を制御する通信制御装置
と、上記他のノード装置毎に対応して設けたN―1個の
請求項1に記載の第1のデータバッファリング装置と、
上記通信制御装置に送られてくる他のノード装置からの
データを受け取り、送られてくるデータから送り元のノ
ード装置を調べ、対応する上記第1のデータバッファリ
ング装置に送る第1のデータ提供部と、上記第1のデー
タバッファリング装置にアクセスする第1のデータ参照
部と、上記自身のノード装置に対応する情報を格納する
送信用ノードレジスタと、上記自身のノード装置から送
信されるデータを提供する第2のデータ提供部と、上記
自身のノード装置に対応して設けた請求項1に記載の送
信用データバッファリング装置と、上記第2のデータバ
ッファリング装置のデータを参照する第2のデータ参照
部とを備えたので、データの同時性をノード毎に保証す
ると共に、データの読み出しと書き込みに関して時間待
ちが発生せず、データの読み出し開始時に最新のデータ
を提供することが可能な分散制御システムを得ることが
可能となる。
The distributed control system according to the first configuration of the present invention is a distributed control system in which N (N: an integer of 2 or more) node devices are connected via a transmission line. 2. A communication control device for controlling transmission of data by one of the node devices and reception of data from another node device, and N-1 first communication devices provided for each of the other node devices. A data buffering device;
A first data providing device that receives data from another node device sent to the communication control device, checks a source node device from the sent data, and sends the data to the corresponding first data buffering device; Unit, a first data reference unit for accessing the first data buffering device, a transmission node register for storing information corresponding to the own node device, and data transmitted from the own node device. A second data providing unit for providing the data, a transmission data buffering device according to claim 1 provided corresponding to the own node device, and a second data providing unit for referring to data of the second data buffering device. 2 and a data reference unit, so that data synchronization is assured for each node, and there is no time waiting for data reading and writing. It is possible to obtain a distributed control system which can provide the latest data at the start of the read data.

【0090】本発明の第2の構成の分散制御システムに
よれば、第1の構成の分散制御システムにおいて、第1
のデータバッファリング装置の各々に含まれるN−1個
のバッファ切り替え禁止レジスタを、N−1ビットで構
成される1つのバッファ切り替え禁止レジスタとし、N
−1個の第1のデータバッファリング装置に対して切り
替え禁止を同時に設定可能としたので、1回のライトア
クセスですべての受信データバッファリング装置に対し
てバッファ切り替え禁止を同時に発行できるため、複数
のバッファに対して切り替え禁止を発行する手間を省く
ことができる。
According to the distributed control system of the second configuration of the present invention, in the distributed control system of the first configuration,
, The N-1 buffer switching prohibition registers included in each of the data buffering devices are configured as one buffer switching prohibition register composed of N-1 bits.
Since the switching prohibition can be simultaneously set for one first data buffering device, the buffer switching prohibition can be simultaneously issued to all the reception data buffering devices by one write access. This eliminates the need to issue the switching prohibition for the buffer.

【0091】本発明の第3の構成の分散制御システムに
よれば、第1または第2の構成の分散制御システムにお
いて、N−1個の第1のデータバッファリング装置に各
々含まれるN−1個のバッファ切り替え要求レジスタ
を、N−1ビットで構成される1つのバッファ切り替え
要求レジスタとし、N−1個の第1のデータバッファリ
ング装置に対して切り替え要求を同時に設定可能とした
ので、複数のバッファに格納すべきデータが1つのパケ
ットに格納されている場合において、各バッファにデー
タを書き込んだ後に同時にバッファ切り替え要求を発行
することが可能となる。
According to the distributed control system of the third configuration of the present invention, in the distributed control system of the first or second configuration, the N-1 first data buffering devices each include N-1 The number of buffer switch request registers is one buffer switch request register composed of N-1 bits, and a switch request can be simultaneously set for the N-1 first data buffering devices. When data to be stored in one buffer is stored in one packet, it is possible to simultaneously issue a buffer switching request after writing data to each buffer.

【0092】本発明の第4の構成の分散制御システムに
よれば、第1ないし第3のいずれかの構成の分散制御シ
ステムにおいて、N−1個の第1のデータバッファリン
グ装置は、書き込みバッファを共有し、第1のデータ提
供部から上記書き込みバッファに対応する物理バッファ
にデータを書き込んだ際に、上記データを送信したノー
ド装置のバッファ切り替え要求レジスタに対してのみバ
ッファ切り替え要求を書き込むようにするとともに、N
個のノード装置が予め定められた順序に従って自身のノ
ード装置のデータを他のノード装置に送信するように構
成したので、第1の構成の分散制御システムと同じ機能
を提供しながら利用するバッファの数を削減することが
可能となり、バッファを有効利用することができる。
According to the distributed control system having the fourth configuration of the present invention, in the distributed control system having any one of the first to third configurations, the (N-1) first data buffering devices are provided with a write buffer. When writing data from the first data providing unit to the physical buffer corresponding to the write buffer, a buffer switch request is written only to the buffer switch request register of the node device that transmitted the data. And N
Since the plurality of node devices are configured to transmit the data of their own node devices to other node devices in accordance with a predetermined order, the buffer of the buffer used while providing the same function as the distributed control system of the first configuration is provided. The number can be reduced, and the buffer can be used effectively.

【0093】本発明の第5の構成の分散制御システムに
よれば、第4の構成の分散制御システムにおいて、N−
1個の第1のデータバッファリング装置は、格納バッフ
ァを共有し、第1のデータ参照部からはバッファ切り替
え禁止レジスタに対して、N−1個の他のノード装置の
うち1つのノード装置に対してのみバッファ切り替え禁
止を書き込むようにしたので、第1の構成の分散制御シ
ステムと同じ機能を提供しながら利用するバッファの数
をさらに削減することが可能となり、バッファを有効利
用することができる。
According to the distributed control system of the fifth configuration of the present invention, in the distributed control system of the fourth configuration, N-
One first data buffering device shares a storage buffer, and the first data reference unit sends a buffer switching prohibition register to one of N-1 other node devices. Since the buffer switching prohibition is written only to the buffer, the number of buffers to be used can be further reduced while providing the same function as the distributed control system of the first configuration, and the buffers can be used effectively. .

【0094】本発明の第6の構成の分散制御システムに
よれば、第5の構成の分散制御システムにおいて、N−
1個の第1のデータバッファリング装置は、M(M:N
より小さい整数)個の書き込みバッファと、M個の格納
バッファと、N−1個の読み出しバッファと、上記N−
1個の読み出しバッファ各々に対応する他のノード装置
を割り当てるための番号を有する受信用ノード番号レジ
スタとを有し、伝送路に接続するノード装置がN個に満
たない場合に、上記受信用ノード番号レジスタにおい
て、連続したM個以下の物理バッファを同一のノード装
置へ割り当てるように構成したので、あるノード装置よ
り送信されるデータが1つの物理バッファに格納しきれ
ないものであっても、対応することが可能となる。
According to the distributed control system of the sixth configuration of the present invention, in the distributed control system of the fifth configuration, N-
One first data buffering device is M (M: N
N) write buffers, M storage buffers, N-1 read buffers, and N-
A receiving node number register having a number for allocating another node device corresponding to each one read buffer; and when the number of node devices connected to the transmission path is less than N, the receiving node Since the number register is configured so that no more than M consecutive physical buffers are allocated to the same node device, even if data transmitted from a certain node device cannot be stored in one physical buffer, It is possible to do.

【0095】本発明の第7の構成の分散制御システムに
よれば、第6の構成の分散制御システムにおいて、M個
の受信用書き込みバッファと、M個の送信用読み出しバ
ッファと、M個の受信用格納バッファと、M個の送信用
格納バッファと、N個の送受信用読み出し/書き込みバ
ッファと、上記送受信用読み出し/書き込みバッファに
対応するノード番号を設定するノード番号レジスタとを
有し、上記ノード番号レジスタに自ノード番号を設定
し、中央処理装置からアクセス可能なN個の送受信用読
み出し/書き込みバッファの中からM個以下のバッファ
を送信用書き込みバッファとして用いるようにしたの
で、未使用バッファを作らずに効率よくバッファを利用
することが可能となる。
According to the distributed control system of the seventh configuration of the present invention, in the distributed control system of the sixth configuration, M reception write buffers, M transmission read buffers, and M reception buffers are provided. A transmission storage buffer, M transmission storage buffers, N transmission / reception read / write buffers, and a node number register for setting a node number corresponding to the transmission / reception read / write buffer. Since the own node number is set in the number register and no more than M buffers are used as transmission write buffers from among the N transmission / reception read / write buffers accessible from the central processing unit. It is possible to use the buffer efficiently without making it.

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

【図1】 本発明の実施の形態1によるデータバッファ
リング装置の物理的な構成を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing a physical configuration of a data buffering device according to a first embodiment of the present invention.

【図2】 本発明の実施の形態1によるデータバッファ
リング装置の論理的な構成を示すブロック構成図であ
る。
FIG. 2 is a block diagram showing a logical configuration of the data buffering device according to the first embodiment of the present invention.

【図3】 本発明の実施の形態1に係わるバッファ制御
装置の動作を説明するための制御フローチャート図であ
る。
FIG. 3 is a control flowchart for explaining the operation of the buffer control device according to the first embodiment of the present invention.

【図4】 本発明の実施の形態2による分散制御システ
ムにおける1つのノード装置の構成を示すブロック構成
図である。
FIG. 4 is a block diagram showing a configuration of one node device in a distributed control system according to a second embodiment of the present invention.

【図5】 本発明の実施の形態3による分散制御システ
ムにおける1つのノード装置の構成を示すブロック構成
図である。
FIG. 5 is a block diagram showing a configuration of one node device in a distributed control system according to a third embodiment of the present invention.

【図6】 本発明の実施の形態4による分散制御システ
ムにおける1つのノード装置の構成を示すブロック構成
図である。
FIG. 6 is a block diagram showing a configuration of one node device in a distributed control system according to a fourth embodiment of the present invention.

【図7】 本発明の実施の形態4に係わるバッファ制御
装置の動作を説明するための制御フローチャート図であ
る。
FIG. 7 is a control flowchart for explaining an operation of the buffer control device according to the fourth embodiment of the present invention.

【図8】 本発明の実施の形態5による分散制御システ
ムにおける1つのノード装置の構成を示すブロック構成
図である。
FIG. 8 is a block diagram showing a configuration of one node device in a distributed control system according to a fifth embodiment of the present invention.

【図9】 本発明の実施の形態5に係わる受信用ノード
番号レジスタの設定とバッファの割り当てを説明する図
である。
FIG. 9 is a diagram for explaining setting of a receiving node number register and assignment of a buffer according to the fifth embodiment of the present invention.

【図10】 本発明の実施の形態6による分散制御シス
テムにおける1つのノード装置の構成を示すブロック構
成図である。
FIG. 10 is a block diagram showing a configuration of one node device in a distributed control system according to a sixth embodiment of the present invention.

【図11】 従来の通信データバッファリング装置(特
開平4−282938号公報)を示すブロック構成図で
ある。
FIG. 11 is a block diagram showing a conventional communication data buffering device (Japanese Patent Laid-Open No. 4-282938).

【図12】 従来の他の通信データバッファリング装置
(特開平11−65974号公報)を示すブロック構成
図である。
FIG. 12 is a block diagram showing another conventional communication data buffering device (JP-A-11-65974).

【図13】 図12に示す従来装置のバッファ遷移条件
を説明する図である。
13 is a diagram illustrating a buffer transition condition of the conventional device shown in FIG.

【図14】 従来のさらに他の通信データバッファリン
グ装置(特開平9−269934号公報)を示すブロッ
ク構成図である。
FIG. 14 is a block diagram showing still another conventional communication data buffering device (Japanese Patent Application Laid-Open No. 9-269934).

【図15】 図14に示す従来装置のメモリマップを説
明する図である。
15 is a diagram illustrating a memory map of the conventional device shown in FIG.

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

1 ネットワーク、100 データ提供部、110 デ
ータ参照部、200データバッファリング装置、202
書き込みバッファ、204 格納バッファ、206
読み出しバッファ、207 送受信用読み出し/書き込
みバッファ、208 書き込み用バッファセレクタ、2
09 読み出し用バッファセレクタ、210 バッファ
制御部、211 バッファ情報レジスタ、214 バッ
ファ切り替え要求レジスタ、215 格納バッファ有効
フラグ、216 バッファ切り替え禁止レジスタ、21
7 バッファ制御装置、218 バッファ更新フラグ、
222 物理バッファ1、224 物理バッファ2、2
26 物理バッファ3、300,400,500,60
0,700 通信データバッファリング装置、302
データバッファリング装置1、304 データバッファ
リング装置2、306 データバッファリング装置3、
308 データバッファリング装置4、310 受信用
ノード番号レジスタ、311 送信用ノード番号レジス
タ、312受信データ分配装置、315 送信用データ
バッファリング装置、316,416,516,616
受信用データバッファリング装置、350 通信制御
装置、360 中央処理装置、710 受信用バッファ
制御部、712 送信用バッファ制御部、1000,1
100,1200 通信媒体、1001 アクセス制御
部、1002 3つのブロックよりなるバッファ、10
03 レジスタ、1004 データ送受信機能部、10
05 通信制御機能部、1006 通信制御装置、10
07 情報処理装置、1101 中央制御装置、110
2 中央制御装置のバッファアクセス終了判定部、11
03 通信制御装置、1104 通信制御装置のバッフ
ァアクセス終了部、1105 BUFF#1、BUFF
#2、BUFF#3よりなる3つのバッファ、1106
空きバッファ検出部、1107 遷移条件判定部、1
201 通信制御装置、1202 共有メモリアクセス
制御手段、1203 内部パス調停手段、1204 共
有メモリ、1205 システムパスI/F手段、120
6 システムパス、1207 計算機。
1 network, 100 data providing unit, 110 data reference unit, 200 data buffering device, 202
Write buffer, 204 storage buffer, 206
Read buffer, 207 transmit / receive read / write buffer, 208 write buffer selector, 2
09 buffer selector for reading, 210 buffer controller, 211 buffer information register, 214 buffer switching request register, 215 storage buffer valid flag, 216 buffer switching prohibition register, 21
7 buffer controller, 218 buffer update flag,
222 Physical buffer 1, 224 Physical buffer 2, 2
26 physical buffers 3, 300, 400, 500, 60
0,700 Communication data buffering device, 302
Data buffering device 1, 304 Data buffering device 2, 306 Data buffering device 3,
308 Data buffering device 4, 310 Node number register for reception, 311 Node number register for transmission, 312 received data distribution device, 315 Data buffering device for transmission, 316, 416, 516, 616
Data buffering device for reception, 350 communication control device, 360 central processing unit, 710 reception buffer control unit, 712 transmission buffer control unit, 1000, 1
100, 1200 communication medium, 1001 access control unit, 1002 buffer composed of three blocks, 10
03 register, 1004 data transmission / reception function unit, 10
05 communication control function unit, 1006 communication control device, 10
07 Information processing device, 1101 Central control device, 110
2. Buffer access end determination unit of central control unit, 11
03 Communication control device, 1104 Buffer access end unit of communication control device, 1105 BUFF # 1, BUFF
# 2, three buffers consisting of BUFF # 3, 1106
Empty buffer detector, 1107 transition condition determiner, 1
201 communication control device, 1202 shared memory access control means, 1203 internal path arbitration means, 1204 shared memory, 1205 system path I / F means, 120
6 System path, 1207 computer.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B077 DD02 DD06 DD22 MM03 5B089 GA04 KD01 KD07 5K034 AA03 HH17 HH27 HH42 HH48 HH49 HH50 HH53  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B077 DD02 DD06 DD22 MM03 5B089 GA04 KD01 KD07 5K034 AA03 HH17 HH27 HH42 HH48 HH49 HH50 HH53

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 データ提供部からデータ参照部に提供す
るデータを格納するためのデータバッファリング装置で
あって、 3つの同じサイズの物理バッファと、 上記データ提供部が提供するデータを書き込むためにア
クセスする書き込みバッファ、上記データ参照部が書き
込まれたデータを読み出すためにアクセスする読み出し
バッファ、および上記データ提供部と上記データ参照部
とのどちらからもアクセスできないようにした格納バッ
ファのうちのいずれかのバッファとして上記3つの物理
バッファのそれぞれを機能させるための情報を保持する
バッファ情報レジスタと、 上記バッファ情報レジスタに保持する情報に基づいて、
上記データ提供部がアクセスする物理バッファおよび上
記データ参照部がアクセスする物理バッファを上記3つ
の物理バッファの中から割り当てるバッファセレクタ
と、 上記データ提供部が書き込みバッファに対応する物理バ
ッファへのアクセス終了後に、上記データ提供部がアク
セスする物理バッファを他の物理バッファへ切り替える
要求を書き込むバッファ切り替え要求レジスタと、 上記データ参照部が読み出しバッファに対応する物理バ
ッファへのアクセス開始時に、当該物理バッファへのア
クセス中に上記データ参照部がアクセスする物理バッフ
ァが他の物理バッファへ切り替えられるのを禁止する要
求を書き込むバッファ切り替え禁止レジスタと、 上記格納バッファに対応する物理バッファに上記データ
参照部がアクセスすべきデータが保存されているかどう
か示す格納バッファ有効フラグを記憶する第1の記憶手
段と、 上記バッファ切り替え要求レジスタに物理バッファを切
り替える要求が書き込まれた場合であってかつ、上記バ
ッファ切り替え禁止レジスタに他の物理バッファへ切り
替えられるのを禁止する要求が書き込まれていない場
合、上記データ提供部がアクセスする物理バッファと上
記データ参照部がアクセスする物理バッファとを切り替
える指令を上記バッファ情報レジスタへ送り、 上記バッファ切り替え要求レジスタに物理バッファを切
り替える要求が書き込まれた場合であってかつ、上記バ
ッファ切り替え禁止レジスタに他の物理バッファへ切り
替えられるのを禁止する要求が書き込まれている場合、
上記データ提供部がアクセスする物理バッファと格納バ
ッファに対応する物理バッファとを切り替えるように上
記バッファ情報レジスタ内の情報を変更し、 上記第1の記憶手段に格納された格納バッファ有効フラ
グが上記格納バッファに対応する物理バッファに上記デ
ータ参照部がアクセスすべきデータが保存されている場
合であってかつ、上記バッファ切り替え禁止レジスタに
他の物理バッファへ切り替えられるのを禁止する要求が
書き込まれていない場合、上記データ参照部がアクセス
する物理バッファと格納バッファに対応する物理バッフ
ァとを切り替えるように上記バッファ情報レジスタ内の
情報を変更するバッファ情報レジスタ制御手段とを備え
たことを特徴とするデータバッファリング装置。
1. A data buffering device for storing data provided from a data providing unit to a data reference unit, comprising: three physical buffers of the same size; Any of a write buffer to be accessed, a read buffer to be accessed to read the written data by the data reference unit, and a storage buffer to be inaccessible from either the data providing unit or the data reference unit A buffer information register that holds information for causing each of the three physical buffers to function as a buffer, and information stored in the buffer information register.
A buffer selector for allocating a physical buffer accessed by the data providing unit and a physical buffer accessed by the data reference unit from among the three physical buffers; and after the data providing unit has finished accessing the physical buffer corresponding to the write buffer. A buffer switching request register for writing a request to switch the physical buffer accessed by the data providing unit to another physical buffer; and an access to the physical buffer when the data reference unit starts accessing the physical buffer corresponding to the read buffer. A buffer switch prohibition register for writing a request to prohibit a physical buffer accessed by the data reference unit from being switched to another physical buffer, and the data reference unit to access a physical buffer corresponding to the storage buffer. First storage means for storing a storage buffer valid flag indicating whether or not data is stored; and when a request to switch a physical buffer is written in the buffer switching request register, and If a request to inhibit switching to another physical buffer has not been written, send a command to the buffer information register to switch between the physical buffer accessed by the data providing unit and the physical buffer accessed by the data reference unit, When a request to switch a physical buffer is written to the buffer switching request register and when a request to inhibit switching to another physical buffer is written to the buffer switching prohibition register,
The information in the buffer information register is changed so as to switch between the physical buffer accessed by the data providing unit and the physical buffer corresponding to the storage buffer, and the storage buffer valid flag stored in the first storage means is stored in the first storage unit. When the data to be accessed by the data reference unit is stored in the physical buffer corresponding to the buffer, and a request to prohibit switching to another physical buffer is not written in the buffer switching prohibition register. A buffer information register control means for changing information in the buffer information register so as to switch between a physical buffer accessed by the data reference unit and a physical buffer corresponding to a storage buffer. Ring device.
【請求項2】 データ参照部から読み出しとクリアが可
能であり、読み出しバッファを更新したかどうかを示す
読み出しバッファ更新フラグを記憶する第2の記憶手段
を備えたことを特徴とする請求項1記載のデータバッフ
ァリング装置。
2. The apparatus according to claim 1, further comprising a second storage unit that can be read and cleared from a data reference unit and stores a read buffer update flag indicating whether or not the read buffer has been updated. Data buffering equipment.
【請求項3】 N(N:2以上の整数)個のノード装置
を伝送路を介して接続した分散制御システムであって、 各ノード装置は、 自身のノード装置によるデータの送信、他のノード装置
からのデータの受信を制御する通信制御装置と、 上記他のノード装置毎に対応して設けたN―1個の請求
項1に記載の第1のデータバッファリング装置と、 上記通信制御装置に送られてくる他のノード装置からの
データを受け取り、送られてくるデータから送り元のノ
ード装置を調べ、対応する上記第1のデータバッファリ
ング装置に送る第1のデータ提供部と、 上記第1のデータバッファリング装置にアクセスする第
1のデータ参照部と、 上記自身のノード装置に対応する情報を格納する送信用
ノードレジスタと、 上記自身のノード装置から送信されるデータを提供する
第2のデータ提供部と、 上記自身のノード装置に対応して設けた請求項1に記載
の第2のデータバッファリング装置と、 上記第2のデータバッファリング装置のデータを参照す
る第2のデータ参照部とを備えたことを特徴とする分散
制御システム。
3. A distributed control system in which N (N: an integer equal to or greater than 2) node devices are connected via a transmission line, wherein each node device transmits data by its own node device and transmits data to another node device. 2. A communication control device for controlling reception of data from a device, N-1 first data buffering devices according to claim 1, provided for each of said other node devices, and said communication control device A first data providing unit that receives data from another node device transmitted to the first device, checks a source node device from the transmitted data, and transmits the data to the corresponding first data buffering device; A first data reference unit that accesses the first data buffering device; a transmission node register that stores information corresponding to the own node device; and a transmission node register that is transmitted from the own node device. A second data providing unit for providing data; a second data buffering device according to claim 1 provided corresponding to the own node device; and data of the second data buffering device. And a second data reference unit.
【請求項4】 第1のデータバッファリング装置の各々
に含まれるN−1個のバッファ切り替え禁止レジスタ
を、N−1ビットで構成される1つのバッファ切り替え
禁止レジスタとし、N−1個の第1のデータバッファリ
ング装置に対して切り替え禁止を同時に設定可能とした
ことを特徴とする請求項3記載の分散制御システム。
4. The method according to claim 1, wherein the N-1 buffer switching inhibit registers included in each of the first data buffering devices are one buffer switching inhibiting register composed of N-1 bits. 4. The distributed control system according to claim 3, wherein switching prohibition can be set simultaneously for one data buffering device.
【請求項5】 N−1個の第1のデータバッファリング
装置に各々含まれるN−1個のバッファ切り替え要求レ
ジスタを、N−1ビットで構成される1つのバッファ切
り替え要求レジスタとし、N−1個の第1のデータバッ
ファリング装置に対して切り替え要求を同時に設定可能
としたことを特徴とする請求項3または4記載の分散制
御システム。
5. The method according to claim 1, wherein the N-1 buffer switching request registers included in the N-1 first data buffering devices are one buffer switching request register composed of N-1 bits. 5. The distributed control system according to claim 3, wherein a switching request can be simultaneously set for one first data buffering device.
【請求項6】 N−1個の第1のデータバッファリング
装置は、書き込みバッファを共有し、第1のデータ提供
部から上記書き込みバッファに対応する物理バッファに
データを書き込んだ際に、上記データを送信したノード
装置のバッファ切り替え要求レジスタに対してのみバッ
ファ切り替え要求を書き込むようにするとともに、N個
のノード装置が予め定められた順序に従って自身のノー
ド装置のデータを他のノード装置に送信するように構成
したことを特徴とする請求項3ないし5のいずれかに記
載の分散制御システム。
6. The N-1 first data buffering devices share a write buffer, and write data from a first data providing unit to a physical buffer corresponding to the write buffer. Is written only into the buffer switching request register of the node device that has transmitted the N, and the N node devices transmit their own node device data to the other node devices in a predetermined order. The distributed control system according to any one of claims 3 to 5, wherein the distributed control system is configured as described above.
【請求項7】 N−1個の第1のデータバッファリング
装置は、格納バッファを共有し、第1のデータ参照部か
らはバッファ切り替え禁止レジスタに対して、N−1個
の他のノード装置のうち1つのノード装置に対してのみ
バッファ切り替え禁止を書き込むようにしたことを特徴
とする請求項6記載の分散制御システム。
7. The N-1 first data buffering devices share a storage buffer, and the first data reference unit sends N-1 other node devices to a buffer switch prohibition register. 7. The distributed control system according to claim 6, wherein the buffer switching prohibition is written to only one of the node devices.
【請求項8】 N−1個の第1のデータバッファリング
装置は、 M(M:Nより小さい整数)個の書き込みバッファと、 M個の格納バッファと、 N−1個の読み出しバッファと、 上記N−1個の読み出しバッファ各々に対応する他のノ
ード装置を割り当てるための番号を有する受信用ノード
番号レジスタとを有し、 伝送路に接続するノード装置がN個に満たない場合に、
上記受信用ノード番号レジスタにおいて、連続したM個
以下の物理バッファを同一のノード装置へ割り当てるよ
うに構成したことを特徴とする請求項7記載の分散制御
システム。
8. The N-1 first data buffering devices include: M (M: an integer smaller than N) write buffers; M storage buffers; N-1 read buffers; A receiving node number register having a number for allocating another node device corresponding to each of the N-1 read buffers, and when the number of node devices connected to the transmission path is less than N,
8. The distributed control system according to claim 7, wherein the receiving node number register is configured to allocate consecutive M or less physical buffers to the same node device.
【請求項9】M個の受信用書き込みバッファと、 M個の送信用読み出しバッファと、 M個の受信用格納バッファと、 M個の送信用格納バッファと、 N個の送受信用読み出し/書き込みバッファと、 上記送受信用読み出し/書き込みバッファに対応するノ
ード番号を設定するノード番号レジスタとを有し、 上記ノード番号レジスタに自ノード番号を設定し、中央
処理装置からアクセス可能なN個の送受信用読み出し/
書き込みバッファの中からM個以下のバッファを送信用
書き込みバッファとして用いるようにしたことを特徴と
する請求項8記載の分散制御システム。
9. M reception write buffers, M transmission read buffers, M reception storage buffers, M transmission storage buffers, and N transmission / reception read / write buffers. And a node number register for setting a node number corresponding to the transmission / reception read / write buffer. The node number register is set to its own node number, and N transmission / reception reads accessible from the central processing unit. /
9. The distributed control system according to claim 8, wherein M or less buffers among the write buffers are used as write buffers for transmission.
JP2000090927A 2000-03-29 2000-03-29 Data-buffering device and decentralized control system using the data-buffering device Pending JP2001282650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000090927A JP2001282650A (en) 2000-03-29 2000-03-29 Data-buffering device and decentralized control system using the data-buffering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000090927A JP2001282650A (en) 2000-03-29 2000-03-29 Data-buffering device and decentralized control system using the data-buffering device

Publications (1)

Publication Number Publication Date
JP2001282650A true JP2001282650A (en) 2001-10-12

Family

ID=18606457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000090927A Pending JP2001282650A (en) 2000-03-29 2000-03-29 Data-buffering device and decentralized control system using the data-buffering device

Country Status (1)

Country Link
JP (1) JP2001282650A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236114A (en) * 2005-02-25 2006-09-07 Nec Electronics Corp Data transfer device, image processor and data transfer control method
JP2007096973A (en) * 2005-09-29 2007-04-12 Toshiba Corp Encrypting/decoding device
JP2009289269A (en) * 2008-05-28 2009-12-10 Siemens Ag Method for allocating memory in buffer memory
JP2014085820A (en) * 2012-10-23 2014-05-12 Toshiba Corp Shared memory access system and shared memory access method
JP2015505409A (en) * 2012-01-06 2015-02-19 インテル コーポレイション Pointer swapping to process data buffered by the data source without copying the data to another storage device
CN109151762A (en) * 2018-10-19 2019-01-04 海南易乐物联科技有限公司 A kind of the asynchronous process system and processing method of high concurrent acquisition data

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006236114A (en) * 2005-02-25 2006-09-07 Nec Electronics Corp Data transfer device, image processor and data transfer control method
CN100445975C (en) * 2005-02-25 2008-12-24 恩益禧电子股份有限公司 Data transmission control device, image processing unit, and data transmission control method
US7657673B2 (en) 2005-02-25 2010-02-02 Nec Electronics Corporation Data transfer control device, image processing device, and data transfer control method
JP2007096973A (en) * 2005-09-29 2007-04-12 Toshiba Corp Encrypting/decoding device
US8023643B2 (en) 2005-09-29 2011-09-20 Kabushiki Kaisha Toshiba Encryption/decryption apparatus
JP2009289269A (en) * 2008-05-28 2009-12-10 Siemens Ag Method for allocating memory in buffer memory
JP2015505409A (en) * 2012-01-06 2015-02-19 インテル コーポレイション Pointer swapping to process data buffered by the data source without copying the data to another storage device
JP2014085820A (en) * 2012-10-23 2014-05-12 Toshiba Corp Shared memory access system and shared memory access method
CN109151762A (en) * 2018-10-19 2019-01-04 海南易乐物联科技有限公司 A kind of the asynchronous process system and processing method of high concurrent acquisition data

Similar Documents

Publication Publication Date Title
JP3641675B2 (en) Split buffer architecture
JP2654369B2 (en) Adapter device provided between processor channel and switching mechanism
US5446915A (en) Parallel processing system virtual connection method and apparatus with protection and flow control
US5179665A (en) Microprocessor information exchange with updating of messages by asynchronous processors using assigned and/or available buffers in dual port memory
EP0993635B1 (en) Method and apparatus for dynamic queue sizing
US6640245B1 (en) Real-time channel-based reflective memory based upon timeliness requirements
JP2002334049A (en) Storage subsystem and control method for storage subsystem
EP2075983A2 (en) Storage subsystem
US6029233A (en) Circuit for moving data between remote memories and computer comprising such a circuit
US6606715B1 (en) Device control apparatus and control method
US7545746B2 (en) Computer system for controlling routed data amount
JPH11212939A (en) System for exchanging data between data processor units having processor interconnected by common bus
JP2001282650A (en) Data-buffering device and decentralized control system using the data-buffering device
CN110035021B (en) Resource allocation for atomic data access requests
JPH10320365A (en) Data exchange device and method therefor
KR100472207B1 (en) RAID control system for Sharing Logical Disk Units by Multiple RAID Controllers
JP3719976B2 (en) Duplex controller configuration disk storage system controller and disk storage system in which the controller is duplicated
JPH10116224A (en) Circuit moving data between remote memories, and computer including circuit like the same
KR100950356B1 (en) Data transfer unit with support for multiple coherency granules
EP3244582B1 (en) Switch and data accessing method thereof
JPH05300152A (en) Address setter
JPS62179035A (en) Sharing multiplexing volume system
EP0464637B1 (en) Expanded memory unit
JP2004272373A (en) Buffering device
KR20220132333A (en) Peripheral component interconnect express interface device and operating method thereof

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090414

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090901