JPS62295157A - Control system for receiving data in communication control equipment - Google Patents

Control system for receiving data in communication control equipment

Info

Publication number
JPS62295157A
JPS62295157A JP61138796A JP13879686A JPS62295157A JP S62295157 A JPS62295157 A JP S62295157A JP 61138796 A JP61138796 A JP 61138796A JP 13879686 A JP13879686 A JP 13879686A JP S62295157 A JPS62295157 A JP S62295157A
Authority
JP
Japan
Prior art keywords
bank
data
memory
reception
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61138796A
Other languages
Japanese (ja)
Other versions
JPH063591B2 (en
Inventor
Yasunari Suzumura
鈴村 康成
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP61138796A priority Critical patent/JPH063591B2/en
Publication of JPS62295157A publication Critical patent/JPS62295157A/en
Publication of JPH063591B2 publication Critical patent/JPH063591B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To refer the data of the latest broadcasting by one switching request by making three bank memories correspond respectively to a data receiving bank, a data updating bank and a data referring bank. CONSTITUTION:The three bank memories is provided with memories 31-33, and either one of these memories 31-33 is connected to a communication line 4 according to the receiving timing of the broadcasting data, another one is connected to a CPU7 through a system bus 6, and the remaining one is not connected to any one. The three bank memories 3 correspond to the data receiving bank, the data updating bank and the data referring bank, respectively, and the CPU7 receives and updates the data by using the data receiving bank and the data updating bank which are not referred.

Description

【発明の詳細な説明】 3、発明の詳細な説明 (産業上の利用分野) 本発明は、通信回線を介して他の通信設備との間でブロ
ードキャストデータ等の送・受信を行なう通信制御装置
において、受信データをCPUにて参照するための制御
方式に関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention (Field of Industrial Application) The present invention is a communication control device that transmits and receives broadcast data, etc., to and from other communication equipment via a communication line. The present invention relates to a control method for referring to received data in a CPU.

(従来の技術) 従来、この種の通信制御装置としては、第6図に示す如
くブロードキャストデータの送・受信バッファに2パン
クメモリを用いたものが知られている。すなわち、図に
おいて1′は通信制御装置、2はメモリ21,22を備
えた2バンクメモリ、4は通信回線、5はこの通信回線
4を介してデータを送・受信するコントローラや計算機
の如き他の通信設備(以下、コントローラという)、6
はシステムバス、7は中央処理装置(以下、CPUとい
う)、11はメモリ切替制御部、13はシステムバス制
御部、17は受信フラグをそれぞれ示している。なお、
便室上、第6図では通信回線4との間のデータの送・受
信手段やシステムバス6とのインターフェース手段を省
略しである。
(Prior Art) Conventionally, as a communication control device of this type, one using a 2-punk memory as a transmitting/receiving buffer for broadcast data is known as shown in FIG. That is, in the figure, 1' is a communication control device, 2 is a 2-bank memory including memories 21 and 22, 4 is a communication line, and 5 is a controller, computer, etc. that sends and receives data via this communication line 4. communication equipment (hereinafter referred to as controller), 6
1 is a system bus, 7 is a central processing unit (hereinafter referred to as CPU), 11 is a memory switching control section, 13 is a system bus control section, and 17 is a reception flag. In addition,
In FIG. 6, the means for transmitting and receiving data with the communication line 4 and the means for interfacing with the system bus 6 on the toilet room are omitted.

この通信制御装置1′において、通信回線4を介してブ
ロードキャストデータを他のコントローラ5との間で送
・受信する場合の動作の概要を説明する。まず送信時に
おいて、図示するように通信回XlA4側に接続されて
いるメモリ21には、現在この通信制御装置1′がコン
トローラ5に送信しているブロードキャストデータが格
納されており、他方、システムバス6に接続されている
メモリ22は、CPU7が新たな送信データを準備する
ための作業領域として使用される。
An overview of the operation of this communication control device 1' when transmitting and receiving broadcast data to and from another controller 5 via the communication line 4 will be explained. First, at the time of transmission, as shown in the figure, the memory 21 connected to the communication line The memory 22 connected to the CPU 6 is used as a work area for the CPU 7 to prepare new transmission data.

ここで、通信制御装置1′からコントローラ5に送信し
ているブロードキャストデータを変更する動作としては
、システムバス6に接続されたメモリ22に対してCP
U7が新しい送信データを設定し、その後、送信メモリ
切替要求を出力する。
Here, as an operation for changing the broadcast data being sent from the communication control device 1' to the controller 5, the CP
U7 sets new transmission data and then outputs a transmission memory switching request.

通信制御装置1″では、かかる切替要求に従い、メモリ
切替制御部11を介してメモリの接続を切り替える。す
なわち、メモリ22は通信回線4に、またメモリ21は
システムバス6側にそれぞれ接続替えされる。
In the communication control device 1'', the memory connection is switched via the memory switching control unit 11 in accordance with the switching request. That is, the memory 22 is switched to the communication line 4, and the memory 21 is switched to the system bus 6 side. .

一方、ブロードキャストデータを受信する場合には1通
信回線4に接続されたメモリ21はブロードキャストデ
ータの受信バッファとして、またシステムバス6側に接
続されたメモリ22はCPU7の参照領域として用いら
れる。
On the other hand, when receiving broadcast data, the memory 21 connected to one communication line 4 is used as a reception buffer for the broadcast data, and the memory 22 connected to the system bus 6 side is used as a reference area for the CPU 7.

通信制御装置1′は、受信フラグ17がセットされてい
ない場合に限り、通信回線4上のブロードキャストデー
タをメモリ21に格納する。この時、ブロードキャスト
データの受信が正常に終了していたならば受信フラグ1
7をセットし、以後のCPU7からの受信メモリ切替要
求によってメモリ切替が直ちに行なえる状態にしておく
。ここで、メモリ切替とはそれまで通信回線4に接続さ
れていた2バンクメモリ2内のメモリをシステムバス6
側に接続し、逆にシステムバス6に接続されていたメモ
リを通信回線4に接続することをいう。
Communication control device 1' stores broadcast data on communication line 4 in memory 21 only when reception flag 17 is not set. At this time, if the reception of broadcast data has been completed normally, the reception flag is set to 1.
7 is set so that memory switching can be performed immediately in response to a reception memory switching request from the CPU 7 thereafter. Here, memory switching means switching the memory in the 2-bank memory 2 that was previously connected to the communication line 4 to the system bus 6.
This refers to connecting the memory that was previously connected to the system bus 6 to the communication line 4.

通信制御装置1′は、受信フラグ17がセットされでい
る場合には新たなブロードキャストデータの受信処理を
行なわず、CPU7からの受信メモリ切替要求を受は付
けるとメモリ切替を行なう。
The communication control device 1' does not perform reception processing of new broadcast data when the reception flag 17 is already set, but performs memory switching when accepting a reception memory switching request from the CPU 7.

そして、メモリ切替が行なわれると受信フラグ17をク
リアする。なお、前回の受信メモリ切替要求から今回の
受信メモリ切替要求までの間に、新たなブロードキャス
トデータの受信が行なわれていないか、あるいは行なわ
れていたとしてもその何れもが正常に終了しなかった場
合には、受信フラグ17がセットされていないため、通
信制御装置1′はメモリ切替を行なわず、CPU7は前
回と同じブロードキャストデータを参照し続けることと
な机 ここでCPU7は、まず受信メモリ切替要求を出力し、
通信制御装置1″がそれを受は付けた後で2バンクメモ
リ2をアクセスすることによりブロードキャストデータ
を参照する。
Then, when memory switching is performed, the reception flag 17 is cleared. Furthermore, between the previous reception memory switching request and the current reception memory switching request, either no new broadcast data was received, or even if it was received, none of it was completed normally. In this case, the reception flag 17 is not set, so the communication control device 1' does not perform memory switching, and the CPU 7 continues to refer to the same broadcast data as the previous time.Here, the CPU 7 first switches the reception memory. output the request,
After the communication control device 1'' accepts the data, the broadcast data is referenced by accessing the two-bank memory 2.

以上のような動作に従い、CPU7がある一定の周期で
受信メモリ切替要求を出力した場合にCPU7が参照で
きるブロードキャストデータの更新状態は、第7図のタ
イミングチャートによって表わされる。この第7図にお
いて、ブロードキャストデータの受信タイミングとその
データをCPU7が参照できるタイミングとの関係に注
目すると、CPU7からの受信バンク切替要求が出力さ
れた後、初めて正常に受信できたデータ’1Lld2s
d4.d、、d7が次の受信メモリ切替要求によって参
照可能になることが明らかである。なお、図において符
号×は参照できないデータを示す。
According to the above-described operation, when the CPU 7 outputs a reception memory switching request at a certain period, the update state of the broadcast data that the CPU 7 can refer to is represented by the timing chart in FIG. In FIG. 7, if we pay attention to the relationship between the reception timing of broadcast data and the timing at which the CPU 7 can refer to that data, we can see that the data '1Lld2s' was successfully received for the first time after the reception bank switching request was output from the CPU 7.
d4. It is clear that d, , d7 can be referenced by the next reception memory switching request. Note that in the figure, the symbol x indicates data that cannot be referenced.

このことから、CPU7がブロードキャストデータのリ
フレッシュ周期に対してさほど長くない一定周期にて受
信メモリ切替要求を常時出力している場合には、CPU
7は常にほぼ最新のブロードキャストデータを参照可能
であるということができる。
From this, if the CPU 7 always outputs a reception memory switching request at a fixed period that is not very long with respect to the refresh period of broadcast data, the CPU 7
7 can always refer to almost the latest broadcast data.

(発明が解決しようとする問題点) ここで、通信制御装置1′に付随するC P U 7が
コントローラ5の動作の監視や制御のみを行なうような
分散処理システムでは、CPU7は、ある事象が発生し
た場合やコントローラ5の状態のロギングのために、通
信回線4を介して時々送られてくるブロードキャストデ
ータを参照すればよく、この場合には必要に応じて不定
期に1回だけ受信メモリ切替要求を出力すればよいこと
になる。
(Problems to be Solved by the Invention) Here, in a distributed processing system in which the CPU 7 attached to the communication control device 1' only monitors and controls the operation of the controller 5, the CPU 7 In order to log occurrences and the status of the controller 5, it is only necessary to refer to the broadcast data sent from time to time via the communication line 4, and in this case, the reception memory may be switched only once irregularly as necessary. All you have to do is output the request.

しかしながら、従来の制御方式では、前述したようにC
PU7が常時一定周期で受信メモリ切替要求を出力して
いない限りほぼ最新のブロードキャストデータを参照す
ることは不可能であり、必要が生じた場合にのみ1回だ
け受信メモリ切替要求を出力する場合には、CPU7ば
かなり以前の価値のないデータしか参照できない事態を
生じる。
However, in the conventional control method, as mentioned above, C
Unless the PU7 always outputs reception memory switching requests at regular intervals, it is impossible to refer to almost the latest broadcast data. This results in a situation where the CPU 7 can only refer to worthless data from a long time ago.

従って、従来にあっては、前述の分散処理システムのよ
うに必要に応じてブロードキャストデータを参照すれば
よいような場合でも、CPU7は一定周期で常時1通信
制御装置1′に対して受信メモリ切替要求を出力しなく
てはならず、CPU7の負荷が増大するという開運があ
った。また、ブロードキャストデータを参照する場合に
受信メモリ切替要求を2回出力する方式においては、1
回目と2回目の切替要求の間隔として新たなブロードキ
ャストデータを受信するに十分な時間を設定しなくては
ならず、応答性が著しく低下するという欠点を有してい
た。
Therefore, conventionally, even in cases where it is sufficient to refer to broadcast data as needed, such as in the above-mentioned distributed processing system, the CPU 7 constantly switches the reception memory for one communication control device 1' at a fixed period. Unfortunately, the request had to be output, increasing the load on the CPU 7. In addition, in a method that outputs a reception memory switching request twice when referring to broadcast data, one
It is necessary to set a time sufficient for receiving new broadcast data as the interval between the first and second switching requests, which has the drawback of significantly reducing responsiveness.

更に、別の方式として、ブロードキャストデータの正常
な受信が完了した時点で通信制御装置1″自身が自発的
に受信メモリを切り替えてしまう方法も考えられるが、
これによるとCPU7の処理との同期がとれなくなり、
CP U 7.側でブロードキャストデータの2度読み
が必要になるという問題が生じる。
Furthermore, as another method, a method may be considered in which the communication control device 1'' itself automatically switches the reception memory when the normal reception of the broadcast data is completed.
According to this, it becomes impossible to synchronize with the processing of CPU 7,
CPU 7. A problem arises in that the broadcast data must be read twice on the side.

本発明は上記の問題点を解決するべく提案されたもので
、その目的とするところは、C,PUが必要に応じて切
替要求を1回だけ出力すれば、常にその時点での最新の
ブロードキャストデータを参照できるようにしてCPU
の負荷の軽減および応答性の向上を図った通信制御方式
を提供することにある。
The present invention was proposed to solve the above-mentioned problems, and its purpose is that if the C and PU output a switching request only once as necessary, the latest broadcast at that time is always available. Make the data visible to the CPU
An object of the present invention is to provide a communication control method that reduces the load and improves responsiveness.

(問題点を解決するための手段) 上記目的を達成するため、本発明においては、まず1通
信制御装置内の受信領域内に受信データを格納するデー
タ受信バンクと、受信データの受信タイミングに応じて
最新の受信データを更新するデータ更新バンクと、CP
Uにより常時参照されるデータ参照バンクとをそれぞれ
設定する。
(Means for Solving the Problems) In order to achieve the above object, the present invention first provides a data receiving bank that stores received data within a receiving area in one communication control device, and a data receiving bank that stores received data in a receiving area in one communication control device, and A data update bank that updates the latest received data, and a CP
A data reference bank that is constantly referenced by U is set respectively.

そして、受信バッファとして設けられた3バンクメモリ
内の各メモリをデータの受信タイミングに応じてデータ
受信バンク、データ更新バンクお゛      よびデ
ータ参照バンクにそれぞれ交互に対応させ、CPUから
の受信バンク切替要求によりデータ更新バンクに対応す
るメモリをデータ参照バンクに切り替えて対応させ、当
該メモリ内に格納されている最新の受信データを参照す
るようにしたことを特徴とする。
Then, each memory in the 3-bank memory provided as a reception buffer is made to correspond alternately to the data reception bank, data update bank, and data reference bank according to the data reception timing, and receives a reception bank switching request from the CPU. The present invention is characterized in that the memory corresponding to the data update bank is switched to correspond to the data reference bank, and the latest received data stored in the memory is referred to.

(作用) 本発明では、CPUが参照していない2つのバンク、す
なわちデータ受信バンクおよびデータ更新バンクにて常
時、データの受信および更新処理を行なって最新の受信
データが常にデータ更新バツクピ対応するメモリに格納
されるようにし、必要に応じてCPUから出力される受
信バンク切替要求により、前記メモリをデータ参照バン
クに対応させることで最新の受信データの参照を可能と
している。
(Function) In the present invention, data is always received and updated in two banks that the CPU does not refer to, namely, a data reception bank and a data update bank, so that the latest received data always corresponds to the data update bank. The latest received data can be referenced by making the memory correspond to a data reference bank in response to a receive bank switching request output from the CPU as necessary.

(実施例) 以下、図に沿って本発明の詳細な説明する。(Example) The present invention will be described in detail below with reference to the drawings.

第1図は本発明を適用した通信制御装置1の概念図を示
すもので、この実施例においてはブロードキャストデー
タの受信バッファとして3バンクメモリ3を用いた点が
第6図の従来例と異なっている。
FIG. 1 shows a conceptual diagram of a communication control device 1 to which the present invention is applied. This embodiment differs from the conventional example shown in FIG. 6 in that a 3-bank memory 3 is used as a reception buffer for broadcast data. There is.

すなわち、第1図において、3バンクメモリ3はメモリ
31〜33を備えており、これらのメモリ31〜33は
ブロードキャストデータの受信タイミングに従ってその
何れか1つが通信回線4に接続され、また別の1つがシ
ステムパス6を介してCPU7に接続され、更に残りの
1つが何れにも接続されないようになっている。図示例
ではいまメモリ31が通信回線4に接続され、またメモ
リ33がシステムパス6に接続されているが、かかる接
続構成は固定的なものではない。
That is, in FIG. 1, the 3-bank memory 3 includes memories 31 to 33, and one of these memories 31 to 33 is connected to the communication line 4, and another one is connected to the communication line 4 according to the reception timing of broadcast data. One is connected to the CPU 7 via the system path 6, and the remaining one is not connected to anything. In the illustrated example, the memory 31 is connected to the communication line 4, and the memory 33 is connected to the system path 6, but these connection configurations are not fixed.

なお、他の構成は第6図と同様であり、5は他のコント
ローラ、11はメモリ切替制御部、12は通° 信回線
制御部、13はシステムバス制御部、17は受信フラグ
をそれぞれ示している。
The other configurations are the same as those shown in FIG. 6, and 5 is another controller, 11 is a memory switching control section, 12 is a communication line control section, 13 is a system bus control section, and 17 is a reception flag. ing.

次に、3バンクメモリ3の機能を第2図を参照しつつ説
明する0図において、Aは通信回線4に接続されて受信
データを格納するデータ受信バンク、Bはシステムバス
6に接続されてCPU7により受信データが参照される
データ参照バンク、Cは通信回線4およびシステムバス
6の何れにも接続されておらず、データ受信パンクA内
の最新の受信データを常時格納するデータ更新バンクを
それぞれ示す。ここで、前述したようにバンクA〜Cは
第1図のメモリ31.33.32に対応するものではな
い。
Next, in FIG. 0, which describes the functions of the three-bank memory 3 with reference to FIG. A data reference bank C to which received data is referenced by the CPU 7 is not connected to either the communication line 4 or the system bus 6, and is a data update bank that constantly stores the latest received data in the data reception block A. show. Here, as mentioned above, banks A to C do not correspond to memories 31, 33, and 32 in FIG.

これらのバンクA−Cにおいて、バンクAには通信回線
4上のブロードキャストデータが必ず格納される。仮り
に、データの受信が正常に終了した場合には受信フラグ
17がセットされ、バンクAとバンクCとの間でバンク
切替300が行なわれる。
Among these banks A to C, broadcast data on the communication line 4 is always stored in bank A. If data reception is completed normally, the reception flag 17 is set and bank switching 300 is performed between bank A and bank C.

ここでパンク切替とは、後述する如くバンクAに対応す
るメモリをバンクCに対応させるべく切り替えることを
いう。
Here, puncture switching refers to switching the memory corresponding to bank A to correspond to bank C, as will be described later.

以後、新たなデータが通信回線4上に送られる毎にその
データはバンクAに格納され、受信が正常に終了した場
合には受信フラグ17がセットされ続ける。ここで、受
信フラグ17が予めセットされていれば、そのセット状
態が維持される。このように受信フラグ17がセットさ
れている状態では、必ずバンクCに対応するメモリにブ
ロードキャストデータが格納されている。
Thereafter, each time new data is sent over the communication line 4, the data is stored in bank A, and if reception is completed normally, the reception flag 17 continues to be set. Here, if the reception flag 17 has been set in advance, the set state is maintained. In this state where the reception flag 17 is set, broadcast data is always stored in the memory corresponding to bank C.

一方、CPU7から受信バンク切替要求が通信制御装置
1に向けて出力された場合には、通信制御装置1は受信
フラグ17をチェックする。この時、受信フラグ17が
セットされていればバンクCとバンクBとの間でパンク
切替301を行い、受信フラグ17をクリアする。この
処理により、バンクCに対応するメモリに格納されてい
た最新のブロードキャストデータが、システムバス6に
接続されたバンクBに対応することとなり、CPU7に
よってこのデータを参照することが可能となる。
On the other hand, when a reception bank switching request is output from the CPU 7 to the communication control device 1, the communication control device 1 checks the reception flag 17. At this time, if the reception flag 17 is set, puncture switching 301 is performed between bank C and bank B, and the reception flag 17 is cleared. Through this process, the latest broadcast data stored in the memory corresponding to bank C corresponds to bank B connected to system bus 6, and this data can be referenced by CPU 7.

第3図は先に説明した第7図に対応するもので、3バン
クメモリ3の各メモリ31〜33におけるデータの更新
状態をタイミングチャートにて示したものである。図に
おいて、ブロードキャストデータdよを受信するタイミ
ングにおいて、第2図におけるバンクAがメモリ32に
、バンクBがメモリ31に、またバンクCがメモリ33
にそれぞれ対応する。
FIG. 3 corresponds to FIG. 7 described above, and is a timing chart showing the update state of data in each of the memories 31 to 33 of the three-bank memory 3. In the figure, at the timing of receiving broadcast data d, bank A in FIG. 2 is stored in the memory 32, bank B is stored in the memory 31, and bank C is stored in the memory 33.
correspond to each.

データd□の受信が正常に終了すると、受信フラグ17
がセットされ、バンクA、Cに対応するメモリ32.3
3間でパンク切替が行なわれる。そして、CPU7から
受信バンク切替要求が出力され、受信フラグ17のセッ
ト状態を確かめてからバンクC2Bに対応するメモリ3
3.31間でパンク切替が行なわれると共に受信フラグ
17がクリアされる。これにより、CPU7はバンクB
のデータd1を参照することができる。
When the reception of data d□ is completed normally, the reception flag 17
is set, and the memory 32.3 corresponding to banks A and C
Puncture switching is performed between 3 and 3. Then, a reception bank switching request is output from the CPU 7, and after confirming the set state of the reception flag 17, the memory 3 corresponding to bank C2B
Punk switching is performed between 3.31 and the reception flag 17 is cleared. As a result, CPU 7
The data d1 can be referred to.

以後同様に、データd1の後に送られてきたデータd2
を受信するタイミングではバンクAがメモリ33に、ま
たデータd3を受信するタイミングではバンクAがメモ
リ31に対応し、同様にしてバンクB、Cに対応するメ
モリも順次変化していくものであるが、何れにしてもC
PU7からの受信バンク切替要求があれば、受信フラグ
17をチェックした後に最新のデータd4.d、・・・
・・・等をバンクBにて参照することができるものであ
る。
Thereafter, in the same way, data d2 sent after data d1
At the timing of receiving data d3, bank A corresponds to memory 33, and at the timing of receiving data d3, bank A corresponds to memory 31, and in the same way, the memories corresponding to banks B and C change sequentially. , in any case C
If there is a receive bank switching request from PU7, the latest data d4. is checked after checking the receive flag 17. d...
. . . etc. can be referred to in Bank B.

次いで、第4図に基づき、この実施例における通信制御
装置1の構成を詳細に説明する。図において、3バンク
メモリ3のメモリ31〜33はそれぞれ同一のアドレス
に重なって割り付けられており、これらを各バンクA−
Cの何れに対応させるかの選択制御はバンク切替制御部
11が行い、通信回線制御部12.システムバス制御部
13およびCPU7はどのメモリ31〜33をアクセス
しているかを意識する必要はない。
Next, the configuration of the communication control device 1 in this embodiment will be explained in detail based on FIG. 4. In the figure, memories 31 to 33 of the 3-bank memory 3 are allocated to the same address, and these are allocated to each bank A-3.
The bank switching control section 11 performs selection control as to which one of C to correspond to, and the communication line control section 12. The system bus control unit 13 and the CPU 7 do not need to be aware of which memory 31 to 33 they are accessing.

通信回線制御部12は、通信回線4上のブロードキャス
トデータを受信すると、システムバス制御部13および
3バンクメモリ3のアクセス権の排他制御を行なった後
、3バンクメモリ3に対して受信したブロードキャスト
データの書き込みを行なう、また、14はバンク切替単
位指定部であり、このバンク切替単位指定部14は、3
バンクメモリ3のアクセスされたアドレスからバンク切
替を行なう単位であるブロックのどこがアクセスされて
いるかを判定し当該ブロックのバンク切替情報を用意す
るようにバンク切替情報メモリ15にブロック番号を出
力する。なお、バンク切替単位指定部14は、前述の如
く全体が1つの切替単位にて構成されている場合には不
要となる。
When the communication line control unit 12 receives the broadcast data on the communication line 4, the communication line control unit 12 performs exclusive control of the access rights of the system bus control unit 13 and the 3-bank memory 3, and then transmits the received broadcast data to the 3-bank memory 3. Also, 14 is a bank switching unit designation part, and this bank switching unit designation part 14 writes 3.
It is determined from the accessed address of the bank memory 3 which part of the block which is the unit for bank switching is being accessed, and the block number is output to the bank switching information memory 15 so as to prepare the bank switching information of the block. Note that the bank switching unit designation section 14 is not necessary when the entire system is configured by one switching unit as described above.

一方、バンク切替制御部11は、通信回線制御部12、
システムバス制御部13のうちの何れが3バンクメモリ
3をアクセスしているかをチェックすると共に、受信正
常終了100およびCPU7からの受信バンク切替要求
101が出力されているか否か等をチェックする。仮り
に、受信正常終了100が検出されれば、3バンクメモ
リ3のメモリ31〜33のうちの何れかに選択信号を送
出する。また、CPU7からの受信バンク切替要求10
1が検出された場合には、新たなバンク切替情報を作成
し、バンク切替情報メモリ15の内容を更新する。
On the other hand, the bank switching control section 11 includes a communication line control section 12,
It is checked which of the system bus control units 13 is accessing the 3-bank memory 3, and it is also checked whether the reception normal end 100 and the reception bank switching request 101 from the CPU 7 have been output. If reception normal end 100 is detected, a selection signal is sent to any one of the memories 31 to 33 of the 3-bank memory 3. In addition, the reception bank switching request 10 from the CPU 7
If 1 is detected, new bank switching information is created and the contents of the bank switching information memory 15 are updated.

次に、第5図にバンク切替情報メモリ15のフォーマッ
トを示すにのメモリ15はバンク切替状態情報16と前
記受信フラグ17とからなっており、バンク切替状態情
報16は、3バンクメモリ3のメモリ31〜33がそれ
ぞれ第2図におけるバンクA−Cのどれに対応するかを
表わすものである。
Next, the format of the bank switching information memory 15 is shown in FIG. 31 to 33 each indicate which bank A to C in FIG. 2 corresponds to.

なお、データを他の通信制御装置5に送信する場合の動
作については、第2図におけるバンクCが存在しないも
のとすれば、従来の2バンクメモリの場合の制御方式と
同一であるため、詳述を省略する。
Note that the operation when transmitting data to another communication control device 5 is the same as the control method for the conventional 2-bank memory, assuming that bank C in FIG. 2 does not exist, so the details will not be described. The description will be omitted.

以上のように、この実施例においては、3バンクメモリ
3を用いることやバンク切替情報メモリ15等によって
メモリ容量が増加すると共に、バンク切替制御部11の
動作が若干煩雑になるが、近年におけるメモリの価格低
下を背景として、メモリ容量の増加がハードウェアのコ
ストアップの大きな要因となる心配はなく、また、バン
ク切替情報メモリ15の更新処理や実際に選択されるメ
モリ31〜33の選択シーケンスは一種の変換テーブル
とみなすことができ、ROM等によって簡単に実現可能
であるため、本発明の有用性を損なうおそれはない。
As described above, in this embodiment, the memory capacity is increased by using the 3-bank memory 3 and the bank switching information memory 15, etc., and the operation of the bank switching control section 11 becomes slightly complicated. Due to the decline in the price of , there is no worry that an increase in memory capacity will be a major factor in increasing hardware costs, and the process of updating the bank switching information memory 15 and the selection sequence of the memories 31 to 33 that are actually selected are Since it can be regarded as a type of conversion table and can be easily realized using a ROM or the like, there is no risk of impairing the usefulness of the present invention.

(発明の効果) 以上詳述したように本発明によれば、3バンクメモリを
データ受信バンク、データ更新バンクおよびデータ参照
バンクにそれぞれ対応させ、CPUが参照していないデ
ータ受信バンク、データ更新バンクを使用してデータの
受信および更新処理を行なうようにしたから、CPUは
、必要に応じて受信バンク切替要求を出力すればデータ
参照バンクにて常に最新の受信データを参照することが
できる。
(Effects of the Invention) As described in detail above, according to the present invention, three banks of memory are made to correspond to the data reception bank, the data update bank, and the data reference bank, respectively, and the data reception bank and the data update bank that are not referred to by the CPU are Since data reception and update processing are performed using the data reference bank, the CPU can always refer to the latest received data in the data reference bank by outputting a receive bank switching request as necessary.

従って1通信制御装置を分散処理システム等に用いた場
合には、従来の如<cpuが常に切替要求を出力すると
いった無駄な処理が不要となり、CPUの負荷の軽減、
処理能力の向上を図ることができる。
Therefore, when one communication control device is used in a distributed processing system, etc., there is no need for the conventional process where the CPU always outputs a switching request, which reduces the load on the CPU.
It is possible to improve processing capacity.

また、従来の如くデータを受信してからこれをCPUが
参照できるまでの遅れ時間を短縮することができ、応答
性を向上させることが可能である。
Furthermore, it is possible to shorten the delay time from when data is received until it can be referenced by the CPU as in the prior art, and it is possible to improve responsiveness.

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

第1図は本発明が適用される通信制御装置の一実施例を
示す概略的なブロック図、第2図は3バンクメモリの概
念説明図、第3図は受信データのタイミングに応じてC
PUが参照できるデータを説明するためのタイミングチ
ャート、第4図は通信制御装置の詳細な構成を示すプロ
、ツク図、第5図はバンク切替情報メモリのフォーマッ
トの説明図、第6図は従来例を示す通信制御装置のブロ
ック図、第7図は同じく受信データのタイミングに応じ
てCPUが参照できるデータを説明するためのタイミン
グチャートである。 1・・・通信制御装置   3・・・3バンクメモリ3
1、32.33・・・メモリ  4・・・通信回線7・
・・CPU       A・・・データ受信バンクB
・・・データ更新バンク C・・・データ参照バンク第
1図 7・・−CPLJ 第6図
FIG. 1 is a schematic block diagram showing an embodiment of a communication control device to which the present invention is applied, FIG. 2 is a conceptual explanatory diagram of a 3-bank memory, and FIG.
A timing chart for explaining the data that can be referenced by the PU, Fig. 4 is a program diagram showing the detailed configuration of the communication control device, Fig. 5 is an explanatory diagram of the format of the bank switching information memory, and Fig. 6 is a conventional diagram. FIG. 7, which is a block diagram of a communication control device showing an example, is a timing chart for explaining data that the CPU can refer to depending on the timing of received data. 1...Communication control device 3...3 bank memory 3
1, 32.33...Memory 4...Communication line 7.
...CPU A...Data reception bank B
...Data update bank C...Data reference bank Figure 1 7...-CPLJ Figure 6

Claims (1)

【特許請求の範囲】[Claims] 通信回線を介して他の通信設備との間でデータを送・受
信し、かつ受信データをCPUからの要求により参照可
能とした通信制御装置において、前記通信制御装置内の
受信領域内に受信データを格納するデータ受信バンクと
、受信データの受信タイミングに応じて最新の受信デー
タを更新するデータ更新バンクと、前記CPUにより常
時参照されるデータ参照バンクとをそれぞれ設定すると
共に、前記受信領域内に設けられた3つのメモリを前記
受信タイミングに応じてデータ受信バンク、データ更新
バンクおよびデータ参照バンクにそれぞれ交互に対応さ
せ、前記CPUからの受信バンク切替要求により前記デ
ータ更新バンクに対応するメモリを前記データ参照バン
クに切り替えて対応させ、当該メモリ内の前記最新の受
信データを参照するようにしたことを特徴とする通信制
御装置における受信データの制御方式。
In a communication control device that transmits and receives data to and from other communication equipment via a communication line, and that allows the received data to be referenced upon request from a CPU, the received data is stored within a reception area within the communication control device. A data reception bank that stores the latest received data, a data update bank that updates the latest received data according to the reception timing of the received data, and a data reference bank that is constantly referenced by the CPU are respectively set. The three provided memories are made to correspond alternately to a data reception bank, a data update bank, and a data reference bank according to the reception timing, and the memory corresponding to the data update bank is made to correspond to the data update bank according to a reception bank switching request from the CPU. A method for controlling received data in a communication control device, characterized in that the latest received data in the memory is referred to by switching to a data reference bank.
JP61138796A 1986-06-14 1986-06-14 Control method of reception data in communication control device Expired - Fee Related JPH063591B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61138796A JPH063591B2 (en) 1986-06-14 1986-06-14 Control method of reception data in communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61138796A JPH063591B2 (en) 1986-06-14 1986-06-14 Control method of reception data in communication control device

Publications (2)

Publication Number Publication Date
JPS62295157A true JPS62295157A (en) 1987-12-22
JPH063591B2 JPH063591B2 (en) 1994-01-12

Family

ID=15230424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61138796A Expired - Fee Related JPH063591B2 (en) 1986-06-14 1986-06-14 Control method of reception data in communication control device

Country Status (1)

Country Link
JP (1) JPH063591B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6500257B1 (en) 1998-04-17 2002-12-31 Agilent Technologies, Inc. Epitaxial material grown laterally within a trench and method for producing same
JP2011039698A (en) * 2009-08-07 2011-02-24 Sanyo Electric Co Ltd Arithmetic processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6500257B1 (en) 1998-04-17 2002-12-31 Agilent Technologies, Inc. Epitaxial material grown laterally within a trench and method for producing same
JP2011039698A (en) * 2009-08-07 2011-02-24 Sanyo Electric Co Ltd Arithmetic processor

Also Published As

Publication number Publication date
JPH063591B2 (en) 1994-01-12

Similar Documents

Publication Publication Date Title
JPS62282328A (en) Multiple picture control system
JPH0769878B2 (en) Data frame transfer device
WO1992005490A1 (en) Exclusive control method for shared memory
JPS62295157A (en) Control system for receiving data in communication control equipment
JPH08202672A (en) Decentralized multiprocessing system
JPH0323026B2 (en)
JPS59165287A (en) Information processing system
US6480945B2 (en) Method and apparatus for controlling memory access by a plurality of devices
JP2519298B2 (en) Data transmission equipment
JP3351581B2 (en) Data relay device
JPH03228162A (en) Unit number setting system
JP3112280B2 (en) Computer system
JPS62192846A (en) Bus switching control system
JP2944193B2 (en) Data receiving device
JPH03196351A (en) Server multiplexing method
JPH0465746A (en) Bus
JPS61262876A (en) Multiprocessor system
JPH01248207A (en) Numerical controller
JPH04330541A (en) Common data transfer system
JPS63262746A (en) Synchronizing system for common data in multi-processor system
JPH02121043A (en) Data processor
JPH10240317A (en) Module device
JPS6074829A (en) Reference system for connection data
JPH06149753A (en) Semaphore control method
JPH02254557A (en) Communication control processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees