JPH0293702A - Duplex transmission device - Google Patents

Duplex transmission device

Info

Publication number
JPH0293702A
JPH0293702A JP63245290A JP24529088A JPH0293702A JP H0293702 A JPH0293702 A JP H0293702A JP 63245290 A JP63245290 A JP 63245290A JP 24529088 A JP24529088 A JP 24529088A JP H0293702 A JPH0293702 A JP H0293702A
Authority
JP
Japan
Prior art keywords
control device
transmission
flag
preferential
data
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
JP63245290A
Other languages
Japanese (ja)
Inventor
Hideo Shikida
式田 秀男
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 JP63245290A priority Critical patent/JPH0293702A/en
Publication of JPH0293702A publication Critical patent/JPH0293702A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To attain the speedy transferring of preferential data without waiting for the operation completion of a normal system sub control device and to improve the operation efficiency of a duplex control device by providing a prescribed area in a shared storing means and activating a standby system sub control device. CONSTITUTION:When the preferential data are generated, a main control device 1 sets its data to a preferential transmission and reception buffer 64 of a standby system 2 port memory 5 and sets a transmission request 1 to a preferential transmission requesting flag 62. A preferential reception requesting flag 63 is checked. When there is a reception request 1, the preferential data are read from the buffer 64. Then, when the reading is finished, reception completion 2 is set to the flag 63. On the other hand, in the preferential processing of the sub control device, the flag 62 is checked and when there is the request 1, the preferential data of the buffer 64 are transmitted to an opponent station. Then, when the transmission is completed, transmission completion 2 is set to the flag 62. The presence or absence of the preferential data from the opponent station is checked. When the preferential data are present, these data are received by the buffer 64 and the request 1 is set to the flag 63 and informed of the device 1. Then, the completion of the reading is checked. After that, when the flag 63 goes to the completion 2, the operation is repeated.

Description

【発明の詳細な説明】 〔産業上の利用分野) この発明は、常用系と待機系制御装置からなる二重化伝
送装置において、待機系制御装置を通して優先データの
送受を行うことでデータ伝送効率を高める二重化伝送装
置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] This invention improves data transmission efficiency in a duplex transmission device consisting of a regular system and a standby system control device by transmitting and receiving priority data through the standby system control device. This invention relates to a duplex transmission device.

(従来の技術) 第4図は従来の二重化伝送装置の構成を示すブロック構
成図である。二重化伝送装置は図に示すように2台の副
制御装置(A) 、 (B)より構成され、この2台の
副制御袋fit (A) 、 (B)中、一方は制御時
に最初に起動し、故障時は待機系になる常用系副制御装
置であり、他方は常用系副制御装置が故障した時に常用
系に変わり動作する待機系副制御装置である。これら、
常用系と待機系のモード設定は主制御装置により行なわ
れる。
(Prior Art) FIG. 4 is a block configuration diagram showing the configuration of a conventional duplex transmission device. As shown in the figure, the duplex transmission device consists of two sub-control devices (A) and (B), and one of these two sub-control devices (A) and (B) is activated first during control. However, when a failure occurs, the regular system sub-control device becomes a standby system, and the other is a standby system sub-control device, which changes to the regular system and operates when the regular system sub-control device fails. these,
Mode settings for the regular system and standby system are performed by the main controller.

以上のように構成された二重化伝送装置において、(1
)は主制御装置であり、主制御装置(1)には中央処理
装置(11)と、中央処理装置(11)が実行する主制
御装置(1)のプログラムを記憶するメモリ(12)を
備えている。(2)は主制御装置(1)で制御される副
制御装置Aであり、副制御装置A(2)には中央処理装
置(21)と、中央処理装置(21)が処理する動作が
登録されたR OM (22)と、データの送受信を行
う送受信部(23)とを備えている。
In the duplex transmission device configured as above, (1
) is a main control device, and the main control device (1) includes a central processing unit (11) and a memory (12) that stores a program for the main control device (1) executed by the central processing unit (11). ing. (2) is a sub-control device A that is controlled by the main control device (1), and the sub-control device A (2) is registered with the central processing unit (21) and the operations processed by the central processing unit (21). ROM (22), and a transmitting/receiving section (23) for transmitting and receiving data.

なお、副制御装置A(2)に電源が投入されると、RO
M (22)は中央処理装置(21)により起動がかけ
られるようになっている。(3)は主制御装置で制御さ
れる副制御装置Bであり、前記副制御装置A(2)の構
成と同様である。
Note that when the power is turned on to the sub-control device A (2), the RO
M (22) is activated by the central processing unit (21). (3) is a sub-control device B controlled by the main control device, and has the same configuration as the sub-control device A (2).

(4) 、 (5)は主制御装置(1)と副制御装置A
、 B(2) 、 (3)  との間に共用記憶装置と
して設けられた2ボートメモリである。2ボートメモリ
(4) 、 (5)は第5図の領域配買図に示すように
、主制御装置(1)の中央処理装置(11)が副制御装
置A、B(2)。
(4) and (5) are main controller (1) and sub-control device A
, B(2), and (3) as a shared storage device. As shown in the area allocation diagram of FIG. 5, the two-board memories (4) and (5) are the central processing unit (11) of the main control unit (1) and the sub-control units A and B (2).

(3)のどちらかの常用系に対して送受信の要求。(3) Send/receive requests to either of the regular systems.

完了を示す送受信要求フラグ(61)を有しており、例
えば副制御装置A(2)が常用系であったら、2ボート
メモリ(4)のこの領域に“1″が設定されると副制御
装置A(2)は送受信の処理を行い、処理が終了すると
“2”を設定する。
It has a transmission/reception request flag (61) that indicates completion. For example, if the sub-control device A (2) is the regular system, if "1" is set in this area of the 2-boat memory (4), the sub-control device Device A (2) performs transmission and reception processing, and sets "2" when the processing is completed.

上記のように構成された二重化伝送装置の動作を第6図
に示したフローチャートを参照して説明する。この文中
では、常用系を副制御装置A(2)、待機系を副制御装
置B(3)として説明する。
The operation of the duplex transmission apparatus configured as described above will be explained with reference to the flowchart shown in FIG. In this text, the regular system will be explained as sub-control device A (2), and the standby system will be explained as sub-control device B (3).

まず、主制御装置(1)の中央処理装置(11)は、常
用系となっている副制御装置A(2)に設けた2ボート
メモリ(4)の送受信要求フラグの領域(61)に“1
”を設定しくステップ101)、その後送受信が完了す
るのを待つ(ステップ102)。一方、常用系の副制御
装置A(2)においては、中央処理装置(21)はRO
M (22)に格納されたプログラムによって、2ボー
トメモリ(4)の送受信要求フラグを監視し、この領域
(61)に“1°゛が設定されていると(ステップ10
3)、送受信処理を行い(ステップ104)、送受信が
完了すると、2ボートメモリ(4)の送受信要求フラグ
(61)に“2”を設定する(ステップ105)。主制
御装置は、送受信要求フラグ(61)に“2”が設定さ
れるのを確認して、次の送受信を再度繰り返す。一方、
待機系の副制御装置B(3)は、常用系の副制御装置A
(2)が故障するまで動作せず待機している。
First, the central processing unit (11) of the main control unit (1) writes “ 1
” (Step 101), and then waits for transmission/reception to be completed (Step 102).On the other hand, in the regular system sub-control device A (2), the central processing unit (21)
The program stored in M (22) monitors the transmission/reception request flag in the 2-board memory (4), and if "1°" is set in this area (61) (step 10).
3) Performs transmission/reception processing (step 104), and when the transmission/reception is completed, sets "2" to the transmission/reception request flag (61) of the 2-vote memory (4) (step 105). The main controller confirms that the transmission/reception request flag (61) is set to "2" and repeats the next transmission/reception. on the other hand,
The standby system sub-control device B (3) is the regular system sub-control device A.
(2) remains inactive and on standby until it fails.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の二重化伝送装置は以上のように、常用系の副制御
装置が動作中は、待機系の副制御装置は動作を停止して
いるため、常用系副制御装置が大量なデータ送受信中に
主制御装置に優先的に伝送するデータが発生した場合、
主制御装置は優先データの伝送を、現在勤作中の常用系
副制御装置の送受信処理が完了するまで待機しなければ
ならず、データ伝送効率が低いと共に、データ送受信に
対する応答性が悪いという問題点があった。
As described above, in conventional duplex transmission equipment, while the regular sub-control unit is operating, the standby sub-control unit is inactive, so the main sub-control unit cannot be used while the regular sub-control unit is transmitting or receiving a large amount of data. When data to be transmitted preferentially to the control device occurs,
The main controller must wait to transmit priority data until the transmission/reception processing of the currently active sub-controller is completed, resulting in low data transmission efficiency and poor responsiveness to data transmission/reception. There was a point.

この発明は上記のような問題点を解消するためになされ
たもので、常用系副制御装置の動作にも拘わりなく主制
御装置で発生した優先データを応答性良く送受信できる
二重化伝送装置を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and it is an object of the present invention to obtain a duplex transmission device that can transmit and receive priority data generated by a main control device with good responsiveness regardless of the operation of a regular sub-control device. With the goal.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る二重化伝送装置は、中央処理装置を内蔵
した主制御装置により常用系と待機系とに設定される複
数の副制御装置中、待機系に設定された副制御装置に主
制御装置で発生した優先データの送受信機能を設け、更
にこの副制御装置と主制御装置間に設けられた共通記憶
装置に、主制御装置より副制御装置に対して立てる優先
データ送信要求フラグ及び優先データ受信完了フラグと
、副制御装置より主制御装置に対して立てる優先データ
送信完了フラグ及び優先データ受信要求フラグの領域を
設けると共に、副制御装置を通して主制御装置と外部装
置とで送受される優先データを一時格納する優先データ
バッファ領域を設けたものである。
In the duplex transmission device according to the present invention, among a plurality of sub-control devices set as a regular system and a standby system by a main control device incorporating a central processing unit, a main control device is set as a sub-control device set as a stand-by system. A function for transmitting and receiving the generated priority data is provided, and a priority data transmission request flag and a priority data reception completion flag are set from the main controller to the secondary controller in the common storage device provided between the secondary controller and the main controller. In addition to providing areas for flags, priority data transmission completion flags, and priority data reception request flags that are set from the sub-control device to the main control device, priority data sent and received between the main control device and external devices through the sub-control device is temporarily stored. A priority data buffer area is provided for storing the data.

〔作 用〕[For production]

この発明によれば、常用系副制御装置が動作し、大量の
データを送受信している際に、主制御装置において優先
データが発生したならば、動作を停止している待機系制
御装置に設けられた共通記憶装置の優先データバッファ
領域に優先データを書き込み、優先データ送信要求フラ
グ領域を介して待機系制御装置に優先データの送信を要
求し、又、待機系制御装置において優先データを受信し
たのであれば優先データ受信要求フラグ領域を介して主
制御装置に優先データの受信を要求する。
According to this invention, if priority data is generated in the main control device while the regular sub-control device is operating and transmitting and receiving a large amount of data, the standby control device that is not operating is provided with priority data. The priority data is written to the priority data buffer area of the shared common storage device, the priority data is requested to be sent to the standby system control device via the priority data transmission request flag area, and the priority data is received by the standby system control device. If so, request the main controller to receive priority data via the priority data reception request flag area.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。本実
施例による二重化伝送装置の全体構成図は第4図に示し
た従来装置と同様であるが、待機系副制御装置に設けた
2ボートメモリの領域配置に関しては、第3図に示す如
く送信要求時には“1“が立ち、送信完了時には“2“
が立っ優先送信要求フラグ(62)、受信要求時には“
1”が立ち、受信完了時には“2”が立つ優先受信要求
フラグ(63)、及び優先データを一時格納する優先送
受i バッファ(64)の各領域が配置されている。
An embodiment of the present invention will be described below with reference to the drawings. The overall configuration diagram of the duplex transmission device according to this embodiment is the same as the conventional device shown in FIG. “1” is set when a request is made, and “2” is set when transmission is completed.
The priority transmission request flag (62) is set, and “
A priority reception request flag (63) which is set to "1" and set to "2" when reception is completed, and a priority transmission/reception i buffer (64) for temporarily storing priority data are arranged.

次に上記構成に基づき本実施例の動作を第1図及び第2
図に示したフローチャートを参照して説明する。この文
中では、常用系を副制御装置A(2)、待機系を副制御
装置B(3) として説明する。なお、常用系の副制御
装置A(2)の動作は第6図に示した従来例と全く同じ
である。主制御装置(1)が常用系となっている副制御
装置A(2)に送受信の要求を設定しくステップ101
)、完了待ち(ステップ102)の間に優先処理(ステ
ップ200)の処理を行う。一方、待機系の副制御装置
B(3)に優先処理(ステップ300)の処理を行う。
Next, based on the above configuration, the operation of this embodiment will be explained as shown in FIGS. 1 and 2.
This will be explained with reference to the flowchart shown in the figure. In this text, the regular system will be explained as the sub-control device A (2), and the standby system will be explained as the sub-control device B (3). The operation of the regular system sub-control device A(2) is exactly the same as the conventional example shown in FIG. Step 101: The main control device (1) sets a transmission/reception request to the sub-control device A (2) which is the regular system.
), the priority processing (step 200) is performed while waiting for completion (step 102). On the other hand, priority processing (step 300) is performed on the standby sub-control device B(3).

優先処理について、第2図のフローチャートを参照して
説明する。
The priority processing will be explained with reference to the flowchart in FIG.

まず、主制御装置(1)にて優先データが有無をチエツ
クしくステップ201)、有りならば、優先データを待
機系2ボートメモリ(5)の優先送受信バッファ(64
)に設定する(ステップ202)。待機系2ボートメモ
リ(5)の優先送信要求フラグ(62)に送信要求“1
”を設定(ステップ203)。優先送信要求フラグ(6
2)が送信完了“2“となるのを待つ(ステップ204
)。又、相手局からの優先データ受信の有無(優先受信
要求フラグ(63)が“1”か否か)をチエツクしくス
テップ205)、受信要求“1″ならば、優先データを
待機系2ボートメモリ(5)の優先送受信バッファ(6
4)より読み出す(ステップ206)。読み出しを終了
したら、待機系2ホードメモリ(5)の優先受信要求フ
ラグ(63)に受信完了“2”を設定する(ステップ2
07)。
First, the main controller (1) checks whether there is priority data (step 201). If there is, the priority data is transferred to the priority transmission/reception buffer (64) of the standby 2-boat memory (5).
) (step 202). A transmission request of “1” is set in the priority transmission request flag (62) of the standby system 2-boat memory (5).
” (step 203). Priority transmission request flag (6
2) waits for transmission completion to be "2" (step 204).
). Also, check whether priority data has been received from the partner station (whether the priority reception request flag (63) is "1" or not) (step 205). If the reception request is "1", the priority data is stored in the standby 2-board memory. (5) Priority sending/receiving buffer (6
4) Read from (step 206). When the reading is completed, the priority reception request flag (63) of the standby system 2 hold memory (5) is set to “2” (step 2).
07).

一方、副制御装置の優先処理においては、2ボートメモ
リ(5)の優先送信要求フラグ(62)が送信要求“1
”か否かをチエツクしくステップ301)、送信要求“
1“ならば、2ボートメモリ(5)の優先送受信バッフ
ァ(64)の優先データを相手局に送信する(ステップ
302)、送信完了したら、優先送信要求フラグ(62
)に送信完了“2”を設定する(ステップ303) 、
又、相手局よりの優先データの有無をチエツクしくステ
ップ3o4)、有ならば、優先データを優先送受信バッ
ファ(64)に受信シ(ステップ305)、優先データ
を受信したことを主制御装置(1)に知らせるため、優
先受信要求フラグ(63)に受信要求“1”を設定する
(ステップ306)、主制御装置(1)が読み出しを終
了するかチエツクし、優先受信要求フラグ(63)が受
信完了“2”になったら、再度繰り返す(ステップ30
7)。
On the other hand, in the priority processing of the sub-control device, the priority transmission request flag (62) of the 2-boat memory (5) is set to the transmission request "1".
"Check whether or not" in step 301), send request "
1", the priority data in the priority transmission/reception buffer (64) of the 2-boat memory (5) is transmitted to the other station (step 302). When the transmission is completed, the priority transmission request flag (62
) is set to “2” indicating completion of transmission (step 303),
Also, check whether there is priority data from the other station (step 3o4), and if there is, receive the priority data into the priority transmission/reception buffer (64) (step 305), and notify the main controller (1) that the priority data has been received. ), the priority reception request flag (63) is set to ``1'' (step 306), the main controller (1) checks whether reading is completed, and the priority reception request flag (63) is set to ``1'' (step 306). When it reaches completion “2”, repeat again (step 30)
7).

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

以上のように、この発明によれば従来常用系副制御装置
が動作している時、動作を停止している待機系副制御装
置を起動し、主制御装置で発生した優先データを送受信
できるように構成したので、常用系副制御装置の動作完
了を待たずとも、優先データを迅速に転送できると共に
、装置の稼動効率が高くできる効果がある。
As described above, according to the present invention, when the conventional regular sub-control device is operating, the standby sub-control device, which has stopped operating, can be activated to send and receive priority data generated by the main control device. Because of this configuration, priority data can be quickly transferred without waiting for the completion of the operation of the regular system sub-control device, and the operating efficiency of the device can be increased.

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

第1.2図はこの発明の実施例の動作を示すフローチャ
ート、第3図は上記実施例の2ボートメモリの領域配置
図、第4図は二重化伝送装置の構成を示すブロック図、
第5図は従来例の2ボートメモリの領域配置図、第6図
は従来例の動作を示すフローチャートである。 (1)・・・主制御装置、(2)・・・副制御装置A、
(3)・・・副制御装置B、 (4) 、 (5)・・・2ボートメモリ、(11) 
、 (21) 、 (31)・・・中央処理装置、(2
3) 、 (33)・・・送受信部、(61)・・・送
受信要求フラグ、 (62)・・・優先送信要求フラグ、 (63)・・・優先受信要求フラグ、 (64)・・・優先送受信バッファ。 なお、各図中同一符号は同一または相当部分を示す。
1.2 is a flowchart showing the operation of the embodiment of the present invention, FIG. 3 is an area layout diagram of the two-boat memory of the above embodiment, and FIG. 4 is a block diagram showing the configuration of the duplex transmission device.
FIG. 5 is an area layout diagram of a conventional two-boat memory, and FIG. 6 is a flowchart showing the operation of the conventional example. (1)... Main controller, (2)... Sub-control device A,
(3)...Sub control device B, (4), (5)...2 boat memory, (11)
, (21), (31)...Central processing unit, (2
3) , (33)... Transmission/reception unit, (61)... Transmission/reception request flag, (62)... Priority transmission request flag, (63)... Priority reception request flag, (64)... Priority transmit/receive buffer. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims]  中央処理装置を内蔵した主制御装置により常用系と待
機系とに設定される複数の副制御装置を備え、通常は常
用系副制御装置にて制御動作を行うものにおいて、上記
待機系に設定された副制御装置に優先データの送受信機
能を備え、且つこの副制御装置と主制御装置間に設けら
れている共通記憶装置に主制御装置より副制御装置に対
して立てる優先データ送信要求フラグ及び優先データ受
信完了フラグと、副制御装置より主制御装置に対して立
てる優先データ送信完了フラグ及び優先データ受信要求
フラグの領域を設けると共に、副制御装置を通して主制
御装置と外部装置とで送受される優先データを一時格納
する優先データバッファ領域を設けたことを特徴とする
二重化伝送装置。
A main control unit with a built-in central processing unit has multiple sub-control units set as a regular system and a standby system, and the control operation is normally performed by the regular system sub-control unit. A secondary control device equipped with a priority data transmission/reception function, and a priority data transmission request flag and a priority data set from the main control device to the secondary control device in a common storage device provided between the secondary control device and the main control device. In addition to providing areas for a data reception completion flag, a priority data transmission completion flag and a priority data reception request flag that are set from the subcontrol device to the main control device, priority information is sent and received between the main control device and external devices through the subcontrol device. A duplex transmission device characterized by providing a priority data buffer area for temporarily storing data.
JP63245290A 1988-09-29 1988-09-29 Duplex transmission device Pending JPH0293702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63245290A JPH0293702A (en) 1988-09-29 1988-09-29 Duplex transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63245290A JPH0293702A (en) 1988-09-29 1988-09-29 Duplex transmission device

Publications (1)

Publication Number Publication Date
JPH0293702A true JPH0293702A (en) 1990-04-04

Family

ID=17131466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63245290A Pending JPH0293702A (en) 1988-09-29 1988-09-29 Duplex transmission device

Country Status (1)

Country Link
JP (1) JPH0293702A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172522A (en) * 2005-12-26 2007-07-05 Fujifilm Corp Production information management method and production information managing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172522A (en) * 2005-12-26 2007-07-05 Fujifilm Corp Production information management method and production information managing system

Similar Documents

Publication Publication Date Title
US8891523B2 (en) Multi-processor apparatus using dedicated buffers for multicast communications
JPH0293702A (en) Duplex transmission device
JPH08235092A (en) Data transfer controller
KR920004061B1 (en) A system for reconstructing i/o control system
JPH054040Y2 (en)
JPS58222634A (en) Polling transmission system
JP2526621B2 (en) Network monitoring device
JP2000105753A (en) Two-way data transfer method
JPS61260350A (en) Parallel processing control system
JPH0511341B2 (en)
JPS6154556A (en) Inter-memory data transfer system
JPS61196353A (en) Multiplexing bus control system
JPS63128837A (en) Line controller
KR100395452B1 (en) Arbitrating Apparatus Of Peripheral Processor And Device In Switching System
JPH10341257A (en) Packet processing unit
JPS58222635A (en) Polling transmission system
JPH02211569A (en) Information processor
JPH0410050A (en) Computer system
JPH1117728A (en) Transmitting method for electronic mail
JPS635452A (en) Transmission controller
JPS5977565A (en) Information processor
JPH03219361A (en) Data communication system
JPH0635865A (en) Parallel processing system
JPH048044A (en) Communication controller
JPH0310351A (en) Control information gathering system