[go: up one dir, main page]

JPH03265238A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH03265238A
JPH03265238A JP2064730A JP6473090A JPH03265238A JP H03265238 A JPH03265238 A JP H03265238A JP 2064730 A JP2064730 A JP 2064730A JP 6473090 A JP6473090 A JP 6473090A JP H03265238 A JPH03265238 A JP H03265238A
Authority
JP
Japan
Prior art keywords
control means
sub
data
reception error
main
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
JP2064730A
Other languages
Japanese (ja)
Inventor
Hidehiko Nishikubo
秀彦 西窪
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2064730A priority Critical patent/JPH03265238A/en
Publication of JPH03265238A publication Critical patent/JPH03265238A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To improve the reliability of received information by requesting retransmission to a 1st control means via a signal line from a 2nd control means when a reception error takes place only in the 2nd control means in the normal state of the 1st control means and allowing the 1st control means to raise an output. CONSTITUTION:Information Dr from an external device 9 is given to main and sub CPUs 2, 3 and stored respectively in main and sub RAMs 4, 5. A relay 6 is normally thrown to the position that an output of the main CPU 2 is sent to the external device 9 as information Dt. When the main CPU 2 is faulty, an output of the sub CPU 3 is sent to the external device 9 as the information Dt. The CPUs 2, 3 are connected by signal lines 7, 8 and the sub CPU 3 gives a retransmission request to the main CPU 2 via the signal line 7 when a reception error takes place in the sub CPU. The main CPU 2 requests retransmission to the external device 9. Thus, runaway of the program of the sub CPU 3 due to reception error is prevented and occurrence of difference between contents of the main and sub memories 4, 5 is prevented and the reliability of received information is considerably improved.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、データの送受信を行い、受信したデータのバ
ックアップ用メモリを備える通信装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication device that transmits and receives data and includes a memory for backing up received data.

従来の技術 従来から、データの送受信を行う通信装置においては、
通信制御およびデータ処理を行う制御部と、制御部が受
信した受信データを記憶するメモリとを含んで構成され
る。また、前記制御部が異常状態となったときのために
、副制御部とバックアップ用メモリとを備える。したが
って、データを受信するときは、制御部および副制御部
がそれぞれ受信し、メモリおよびバックアップ用メモリ
にそれぞれデータを格納する。データを送信する場合は
、制御部が正常状態であるときは、制御部からデータを
送信し、制御部が異常状態であるときは、副制御部から
データを送信する。
Conventional technology Traditionally, in communication devices that transmit and receive data,
It is configured to include a control section that performs communication control and data processing, and a memory that stores reception data received by the control section. Further, in case the control section becomes abnormal, a sub-control section and a backup memory are provided. Therefore, when receiving data, the control section and the sub-control section each receive the data and store the data in the memory and the backup memory, respectively. When transmitting data, data is transmitted from the control section when the control section is in a normal state, and data is transmitted from the sub-control section when the control section is in an abnormal state.

このように、受信したデータは並列に制御部および副制
御部に供給することができるが、制御部および副制御部
から出力されるデータを並列に送信することはできない
、このため、リレーなどの切換器が必要である0通常、
前記切換器は制御部倒に接続されており、制御部側が異
常状態となったときは、副制御部側に接続される。
In this way, the received data can be supplied to the control unit and the sub-control unit in parallel, but the data output from the control unit and the sub-control unit cannot be transmitted in parallel. Normally, a switch is required.
The switching device is connected to the control section, and when the control section side is in an abnormal state, it is connected to the sub-control section side.

発明が解決しようとする課題 第3図は、従来の通信装置におけるデータの受信動作を
説明するためのフローチャートである。
Problems to be Solved by the Invention FIG. 3 is a flowchart for explaining a data receiving operation in a conventional communication device.

ステップb1でたとえば外部コンピュータなどからのデ
ータが受信されると、ステップb2において、制御部で
受信エラーが発生したかどうかが判断される。受信エラ
ーが発生していない場合はステップb3に進み、副制御
部で受信エラーが発生したかどうかが判断される。副制
御部においても、受信エラーが発生していない場合は、
受信動作を終了する。
When data is received from, for example, an external computer in step b1, the control unit determines whether a reception error has occurred in step b2. If no reception error has occurred, the process proceeds to step b3, where the sub-control unit determines whether or not a reception error has occurred. If no reception error occurs in the sub-control unit,
Ends the reception operation.

ステップb2において、制御部で受信エラーが発生した
場合は、ステップb4に進む。ステップb4では、制御
部から前記外部コンピュータに対して再送要求信号が送
信され、外部コ〉・ピユータにおいては前記再送要求信
号が受信されると、再度、データを送信する0通信装置
は、ステップb1に戻り、再度、外部コンピュータから
のデータを受信する。
If a reception error occurs in the control section in step b2, the process proceeds to step b4. In step b4, a retransmission request signal is transmitted from the control unit to the external computer, and when the external computer receives the retransmission request signal, the communication device that transmits data again transmits data in step b1. and receive data from the external computer again.

ステップb3において判断が肯定て゛あった場合、すな
わち制御部では受信エラーが発生せず、副制御部で受信
エラーが発生した場合は、再送要求信号を外部コンピュ
ータに対して送信することができない。つまり、制御部
が正常状態であるため前記切換器は、制御部側に接続さ
れており、副制御部から出力される再送要求信号は外部
に送信されない、このため、制御部側のメモリの内容と
、副制御部側のバックアップ用メモリの内容との間に違
いが発生し、バックアップ用メモリとしての役割りを果
たさないという問題がある。
If the determination in step b3 is affirmative, that is, if no reception error occurs in the control unit but a reception error occurs in the sub-control unit, the retransmission request signal cannot be transmitted to the external computer. In other words, since the control unit is in a normal state, the switching device is connected to the control unit, and the retransmission request signal output from the sub-control unit is not sent to the outside. Therefore, the contents of the memory on the control unit side There is a problem that there is a difference between the contents of the backup memory and the contents of the backup memory on the sub-control unit side, and the backup memory does not function as a backup memory.

本発明の目的は、上記技術的課題を解決し、受信データ
の信頼性を格段に向上することができる通信装置を提供
することである。
An object of the present invention is to provide a communication device that can solve the above technical problems and significantly improve the reliability of received data.

課題を解決するための手段 本発明は、データの送受信を行い、データの受信時にお
いて受信エラーが発生したときに再送要求信号を出力す
る第1および第2制御手段と、第1制御手段の正常時に
は第1制御手段の出力を送信し、第1制御手段の異常時
には第2制御手段の出力を送信する送信手段と、 第1および第2制御手段を接続する信号ライ〉とを含み
、 第1制御手段の正常時に第2制御手段においてのみ受信
エラーが発生すると、第2制御手段は前記信号ラインを
介して再送要求信号を第1制御手段に送信し、第1制御
手段から再送要求信号を出力するようにしたことを特徴
とする通信装置である。
Means for Solving the Problems The present invention provides first and second control means for transmitting and receiving data and outputting a retransmission request signal when a reception error occurs during data reception; a signal line connecting the first and second control means; When a reception error occurs only in the second control means when the control means is normal, the second control means transmits a retransmission request signal to the first control means via the signal line, and the first control means outputs the retransmission request signal. This is a communication device characterized by:

作  用 本発明に従えば、データの受信時においては、第1およ
び第2制御手段がそれぞれデータを受信し、データの送
信時においては、送信手段によって、第1制御手段の正
常時には第1制御手段の出力が送信され、第1制御手段
の異常時には第2制御手段の出力が送信される。つまり
、第1制御手段が正常であるときは、第1制御手段にお
いてデータの送受信動作を行い、第2制御手段は受信デ
ータのバックアップ用として使用される。
According to the present invention, when receiving data, the first and second control means each receive the data, and when transmitting data, the transmitting means controls the first control means when the first control means is normal. The output of the means is transmitted, and when the first control means is abnormal, the output of the second control means is transmitted. That is, when the first control means is normal, the first control means performs data transmission and reception operations, and the second control means is used for backing up received data.

第1および第2制御手段は、データの受信時において受
信エラーが発生したときには、データの再送要求信号を
出力する。したがって、第1制御手段が正常であるとき
に、第1制御手段において受信エラーが発生したときは
、第1制御手段から再送要求信号が出力される。また、
第2制御手段においてのみ受信エラーが発生したときは
、第2制御手段は、信号ラインを介して再送要求信号を
第1制御手段に送信し、第1制御手段から再送要求信号
を出力する。
The first and second control means output a data retransmission request signal when a reception error occurs during data reception. Therefore, when a reception error occurs in the first control means when the first control means is normal, a retransmission request signal is output from the first control means. Also,
When a reception error occurs only in the second control means, the second control means transmits a retransmission request signal to the first control means via the signal line, and the first control means outputs the retransmission request signal.

したがって、第1制御手段の正常時に第2制御手段にお
いてのみ受信エラーが発生した場合でも、データの再送
要求信号を送信する二とがて゛き、再度、同じデータが
第1および第2制御手段によって受信されることになる
。これによって、第2制御手段を受信データのバックア
ップ用として有効に使用することが可能となり、受信デ
ータの信頼性が格段に向上する。
Therefore, even if a reception error occurs only in the second control means when the first control means is normal, a data retransmission request signal is sent, and the same data is received by the first and second control means again. will be done. This makes it possible to effectively use the second control means for backing up the received data, thereby significantly improving the reliability of the received data.

実施例 第1図は、本発明の一実施例である通信装置1の基本的
楕1.3示すブロック図である。通信装置1は、パーソ
ナルコンピュータなどの外部装置9からのデータをそれ
ぞれ受信する主制御部2および副制御部3と、主制御部
2および副制御部3がそれぞれ受信したデータを記憶す
る主メモリ4および副メモリ5と、主制御部2および副
制御部3からの出力を切換えて出力するリレー6とを含
んで構成される。
Embodiment FIG. 1 is a block diagram showing the basic structure of a communication device 1 according to an embodiment of the present invention. The communication device 1 includes a main control unit 2 and a sub-control unit 3 that each receive data from an external device 9 such as a personal computer, and a main memory 4 that stores data received by the main control unit 2 and the sub-control unit 3, respectively. It is configured to include a sub memory 5, and a relay 6 that switches and outputs the outputs from the main control section 2 and the sub control section 3.

外部装置9からのデータDrは、主制御部2の端子RD
Iと、副制御部3の端子RD2とに与えられる。CP 
U (Central Processing Uni
t)などて実現される主制御部2は、受信したデータD
rをランダムアクセスメモリなどで実現される主メモリ
4に記憶する。同様に、CPUなとで実現される副制御
部3は、受信したデータDrをランダムアクセスメモリ
などで実現される副メモリ5に記憶する。主制御部2の
端子TD1はリレー6の端子6aに接続されており、副
制御部3の端子TD2はリレー6の端子6bに接続され
ている1通常、リレー6においては、端子6aと端子6
Cとが導通されており、主制御部2からの出力がデータ
Dtとして外部装置9に送信される。主制御部2が異常
状嬰となった場合は、リレー6において端子6bと端子
6Cとを導通し、副制御部3からの出力をデータDtと
して外部装置9に出力する。
Data Dr from the external device 9 is sent to the terminal RD of the main control unit 2.
I and the terminal RD2 of the sub-control unit 3. C.P.
U (Central Processing Uni)
t) etc., the main control unit 2 realizes the received data D.
r is stored in main memory 4 realized by random access memory or the like. Similarly, the sub-control unit 3, which is implemented by a CPU or the like, stores the received data Dr in the sub-memory 5, which is implemented by a random access memory or the like. The terminal TD1 of the main control section 2 is connected to the terminal 6a of the relay 6, and the terminal TD2 of the sub-control section 3 is connected to the terminal 6b of the relay 6.
C is electrically connected, and the output from the main control section 2 is transmitted to the external device 9 as data Dt. When the main control section 2 is in an abnormal state, the relay 6 connects the terminal 6b and the terminal 6C, and outputs the output from the sub-control section 3 to the external device 9 as data Dt.

主制御部2および副制御部3は、信号ライン7゜8によ
って相互に接続されている。副制御部3は信号ライン7
を介して、副制御部3において受信エラーが発生した際
に再送要求信号を主制御部2に送信する。
The main control section 2 and the sub-control section 3 are interconnected by a signal line 7.8. The sub-control unit 3 is connected to the signal line 7
When a reception error occurs in the sub-control unit 3, a retransmission request signal is transmitted to the main control unit 2 via the sub-control unit 3.

リレー6の切換は、通信装置1の操作者が動作状態が異
常であると判断した際に手動で行うようにしてもよいし
、また副制御部3から一定の時間間隔で特定の信号を主
制御部2に送信し、前記特定信号に対する応答がなかっ
たときに、副制御部3からの切換信号によって自動的に
行うようにしてもよい。
The relay 6 may be switched manually when the operator of the communication device 1 determines that the operating state is abnormal, or the relay 6 may be switched manually when the operator of the communication device 1 determines that the operating state is abnormal. The switching signal may be transmitted to the control unit 2 and automatically performed by a switching signal from the sub-control unit 3 when there is no response to the specific signal.

第2図は、通信装置1におけるデータの受信動作を説明
するためのフローチャートである。ステップa1におい
て、外部装置9からのデータDrが受信されると、ステ
ン7a2においては、主制御部2で受信エラーが発生し
たかどうかが判断される。受信エラーが発生していない
場合は、ステップa3に進み、副制御部3で受信エラー
が発生したかどうかが判断される。ステップa3におい
て判断が否定である場合、すなわち主制御部2および副
制御部3において共に受信エラーが発生していない場合
は受信動作を終了する。
FIG. 2 is a flowchart for explaining the data receiving operation in the communication device 1. As shown in FIG. In step a1, when the data Dr from the external device 9 is received, the main controller 2 determines whether a reception error has occurred in the main control unit 2 in the stainless steel 7a2. If no reception error has occurred, the process proceeds to step a3, where the sub-control unit 3 determines whether or not a reception error has occurred. If the determination in step a3 is negative, that is, if no reception error has occurred in either the main control section 2 or the sub-control section 3, the reception operation is ended.

ステップa2において、主制御部2で受信エラーが発生
した場合は、ステップa4に進み、主制御部2から外部
装置9に対して再送要求信号が出力される。この再送要
求信号が外部装置9によって受信されると、外部装置9
は再度、データDrを通信装置lに対して送信する。通
信装置1は、ステップa1に戻り、再度データの受信動
作を開始する。
In step a2, if a reception error occurs in the main control section 2, the process proceeds to step a4, and a retransmission request signal is outputted from the main control section 2 to the external device 9. When this retransmission request signal is received by the external device 9, the external device 9
transmits the data Dr again to the communication device l. The communication device 1 returns to step a1 and starts the data reception operation again.

ステップa3で判断が肯定である場合、すなわち主制御
部2では受信エラーは発生していないが、副制御部3で
のみ受信エラーが発生した場合は、ステップa5に進む
6ステツプa5において副制御部3は、再送要求信号を
主制御部2に出力する。
If the determination in step a3 is affirmative, that is, no reception error has occurred in the main control section 2, but a reception error has occurred only in the sub-control section 3, the process proceeds to step a5.6 In step a5, the sub-control section 3 outputs a retransmission request signal to the main control section 2.

その後ステップa4において、主制御部2がら再送要求
信号が外部装置9に対して送信される。この再送要求信
号が外部装置9によって受信されると、外部装置9は再
度5データDrを通信装置1に対して送信し、通信装置
1は、ステップatに戻り、再度データの受信動作を開
始する。
Thereafter, in step a4, the main controller 2 transmits a retransmission request signal to the external device 9. When this retransmission request signal is received by the external device 9, the external device 9 again transmits 5 data Dr to the communication device 1, and the communication device 1 returns to step at and starts the data receiving operation again. .

以上のように本実施例によれば、主制御部2においては
受信エラーは発生せず、副制御部3においてのみ受信エ
ラーが発生した場合、副制御部3は再送要求信号を主制
御部2に送り、この再送要求信号に基づいて主制御部2
は、外部装置9に対−て再送要求信号を送信する。した
がって、受信エラーによる副制御部3のいわゆるプログ
ラムの暴走の発生むとが防止され、また主メモリ4の内
容と、副メモリ5の内容とに違いが生じることが防止さ
れる。これによって、受信データの信頼性が格段に向上
する。
As described above, according to this embodiment, if a reception error does not occur in the main control section 2 and a reception error occurs only in the sub-control section 3, the sub-control section 3 transmits the retransmission request signal to the main control section 2. Based on this retransmission request signal, the main control unit 2
transmits a retransmission request signal to the external device 9. Therefore, it is possible to prevent the so-called program runaway of the sub-control unit 3 from occurring due to a reception error, and also to prevent a difference between the contents of the main memory 4 and the contents of the sub-memory 5. This greatly improves the reliability of received data.

本発明においては、外部装置との間でデータの送受信を
行う通信装置として説明したけれども、1つの装置内で
データの送受信を行う場合に実施するようにしてもよい
。たとえば、舞台などで使用される照明の調光レベルを
制御する調光装置において実施するようにしてもよい。
Although the present invention has been described as a communication device that transmits and receives data with an external device, the present invention may be implemented when transmitting and receiving data within one device. For example, the present invention may be implemented in a light control device that controls the dimming level of lighting used on a stage or the like.

調光装置は、プリセットフェーダやクロスフェーダなど
が設けられた調光操作卓と、照明の調光レベルを制御す
る調光ユニットとを含んで構成され、調光操作卓で設定
される調光レベルデータを調光ユニットに送信して照明
の調光レベルを制御する。:a光繰作卓と調光ユニット
とは、それぞれCPUなとの制御部を含み、これらの制
御部間でデータの送受信を行う。
The dimmer device includes a dimmer console that is equipped with a preset fader, crossfader, etc., and a dimmer unit that controls the dimming level of the lighting. Send data to the dimming unit to control the dimming level of the lighting. :a The optical operator console and the light control unit each include a control section such as a CPU, and data is transmitted and received between these control sections.

したがって、調光ユニット内で本発明の通信製W1を実
施することによって、調光ユニットの受信する調光レベ
ルデータの信頼性が向上する。
Therefore, by implementing communication W1 of the present invention within the dimming unit, the reliability of the dimming level data received by the dimming unit is improved.

発明の効果 以上のように本発明によれば、第1制御手段の正常時に
第2ivI御手段においてのみ受信エラーが発生した場
合でも、データの再送要求信号を送信することができ、
再度、同じデータが第1および第2制御手段によって受
信されることになる。これによって、第2制御手段を受
信データのバックアップ用として有効に使用することが
可能となり、受信データの信頼性が格段に向上する。
Effects of the Invention As described above, according to the present invention, even if a reception error occurs only in the second ivI control means when the first control means is normal, a data retransmission request signal can be transmitted.
Again, the same data will be received by the first and second control means. This makes it possible to effectively use the second control means for backing up the received data, thereby significantly improving the reliability of the received data.

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

第1図は本発明の一実施例である通信装置1の基本的構
成を示すブロック図、第2図は通信装置1における受信
動作を説明するためのフローチャート、第3図は従来の
通信装置における受信動作を説明するためのフローチャ
ートである。
FIG. 1 is a block diagram showing the basic configuration of a communication device 1 which is an embodiment of the present invention, FIG. 2 is a flowchart for explaining the reception operation in the communication device 1, and FIG. It is a flowchart for explaining reception operation.

Claims (1)

【特許請求の範囲】 データの送受信を行い、データの受信時において受信エ
ラーが発生したときに再送要求信号を出力する第1およ
び第2制御手段と、 第1制御手段の正常時には第1制御手段の出力を送信し
、第1制御手段の異常時には第2制御手段の出力を送信
する送信手段と、 第1および第2制御手段を接続する信号ラインとを含み
、 第1制御手段の正常時に第2制御手段においてのみ受信
エラーが発生すると、第2制御手段は前記信号ラインを
介して再送要求信号を第1制御手段に送信し、第1制御
手段から再送要求信号を出力するようにしたことを特徴
とする通信装置。
[Claims] First and second control means that transmit and receive data and output a retransmission request signal when a reception error occurs during data reception; and a first control means when the first control means is normal. transmitting means for transmitting the output of the second control means when the first control means is abnormal; and a signal line connecting the first and second control means; When a reception error occurs only in the second control means, the second control means transmits a retransmission request signal to the first control means via the signal line, and the first control means outputs the retransmission request signal. Characteristic communication device.
JP2064730A 1990-03-14 1990-03-14 Communication equipment Pending JPH03265238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2064730A JPH03265238A (en) 1990-03-14 1990-03-14 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2064730A JPH03265238A (en) 1990-03-14 1990-03-14 Communication equipment

Publications (1)

Publication Number Publication Date
JPH03265238A true JPH03265238A (en) 1991-11-26

Family

ID=13266561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2064730A Pending JPH03265238A (en) 1990-03-14 1990-03-14 Communication equipment

Country Status (1)

Country Link
JP (1) JPH03265238A (en)

Similar Documents

Publication Publication Date Title
JPH09162782A (en) Unit changeover device
JPH03265238A (en) Communication equipment
JPS5826582B2 (en) Terminal system failure notification method
KR19980067077A (en) Redundant Control System and Its Control Method
KR960011136B1 (en) Network dualization and its method
JP4741750B2 (en) Control device having main microprocessor and processor interface for bus transmission / reception unit
JP2666849B2 (en) Remote monitoring device
JPS6027256A (en) Switching system of packet switchboard
JPH0537421A (en) Transmission line switching control method and device thereof
JP3505540B2 (en) Data transfer device
KR100227516B1 (en) Apparatus for controlling pstn subscriber
JP3351885B2 (en) Remote monitoring and control system
JP2738314B2 (en) Switching system of N + 1 redundant circuit controller
KR100787699B1 (en) Gateway matching device for IPC interface
JPS62213347A (en) Line switching method
KR100187822B1 (en) Message loss protecting method in an exchange
JPH05260063A (en) Network repeating device and method for monitoring network system
JP2746201B2 (en) Bus connection control method and device
JPH0738655B2 (en) Preliminary identification method of availability of access to line processing unit by standby processor
JPH02285726A (en) Load control system
JPH0440534A (en) Stand-by device switching system
JPH0514323A (en) Line controller
JPS6340437A (en) Remedy system for invalid holding of terminal equipment
JPS5858629A (en) Bus switching system
JPH0326048A (en) Incoming call processing method