JPH01272346A - Diagnosis communication system - Google Patents

Diagnosis communication system

Info

Publication number
JPH01272346A
JPH01272346A JP63103257A JP10325788A JPH01272346A JP H01272346 A JPH01272346 A JP H01272346A JP 63103257 A JP63103257 A JP 63103257A JP 10325788 A JP10325788 A JP 10325788A JP H01272346 A JPH01272346 A JP H01272346A
Authority
JP
Japan
Prior art keywords
command
frame
communication control
communication
central processing
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
JP63103257A
Other languages
Japanese (ja)
Inventor
Kazuo Takagaki
高垣 和雄
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63103257A priority Critical patent/JPH01272346A/en
Publication of JPH01272346A publication Critical patent/JPH01272346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To reduce the number of inputs/outputs between a central processing unit and a communication control equipment into a half and to reduce the load of software required for diagnosis by properly determining the sending of a command frame and a response frame. CONSTITUTION:Receiving a transmission command from a central processing unit 111, a communication control equipment 131 sends a command frame to a communication line 20. A communication control equipment 132 receives the command frame, sends an asynchronizing report to a central processor 112, and at the time of receiving a transmission command from the processing unit 112, sends a response frame and its following command frame to the line 20. At the time of successively receiving the response frame and the command frame, the equipment 131 sends the response frame to the line 20 to inform the end of the transmission command to the unit 111. The equipment 132 receives the response frame and informs the end of the transmission command to the unit 112.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、オンライン業務を主目的とするホットスタン
バイのコンピュータシステムの診断通信方式に利用する
。特に、複数のオペレーティングシステム(以下、O8
という。)間の診断を行う診断通信方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is utilized in a diagnostic communication system for a hot standby computer system whose main purpose is online business. In particular, multiple operating systems (hereinafter referred to as O8)
That's what it means. ) relates to a diagnostic communication method for performing diagnosis between

〔ヰ既要〕[ヰAlready required]

本発明は診断通信方式において、 一方の通信制御装置は一方の中央処理装置の第一の送信
指令を受けて第一のコマンドフレームを通信回線に送出
し、他方の通信制御装置はこの第一のコマンドフレーム
を受けて非同期報告を他方の中央処理装置に行い他方の
中央処理装置の第二の送信指令を受けて第一のレスポン
スフレームとそれに続いて第二のコマンドフレームとを
通信回線に送出し、一方の通信制御装置はこの第一のレ
スポンスフレームとこの第二のコマンドフレームとを順
に受けたときに第二のレスポンスフレームを通信回線に
送出して一方の中央処理装置に第一の送信指令の終了報
告をし、他方の通信制御装置はこの第二のレスポンスフ
レームを受けて他方の中央処理装置に第二の送信指令の
終了報告をすることにより、 中央処理装置と通信制御装置との間の入出力回数を半減
することができ、診断に要するソフトウェアの負荷を軽
減できるようにしたものである。
The present invention provides a diagnostic communication system in which one communication control device receives a first transmission command from one central processing unit and sends a first command frame to a communication line, and the other communication control device sends a first command frame to a communication line. Upon receiving the command frame, it sends an asynchronous report to the other central processing unit, and upon receiving the second transmission command from the other central processing unit, sends the first response frame and subsequently the second command frame to the communication line. , when one communication control device receives this first response frame and this second command frame in order, it sends the second response frame to the communication line and issues the first transmission command to one central processing device. The other communication control unit receives this second response frame and reports the completion of the second transmission command to the other central processing unit, thereby establishing a connection between the central processing unit and the communication control unit. The number of inputs and outputs can be halved, and the software load required for diagnosis can be reduced.

〔従来の技術〕[Conventional technology]

第3図は従来例の診断通信装置の通信手順を示す図であ
る。
FIG. 3 is a diagram showing a communication procedure of a conventional diagnostic communication device.

従来、診断通信方式は、第3図に示すような手順をとっ
ていた。
Conventionally, diagnostic communication methods have taken steps as shown in FIG.

すなわち、中央処理装置(以下、CPUという。)11
、は、通信制御装置(以下、CCUという。)13、に
対して送信ヂャネルおよび受信チャネルの二つの論理チ
ャネルを介して相手c p Ull2 とコマンドフレ
ームIの送受信を行うことにより、相手CP Ull、
の正常性を確認するための診断を行っていた。
That is, the central processing unit (hereinafter referred to as CPU) 11
, transmits and receives a command frame I to and from the other party CP Ull2 via two logical channels, a transmission channel and a reception channel, to the communication control unit (hereinafter referred to as CCU) 13, thereby transmitting and receiving command frames I to the other party CP Ull,
Diagnosis was performed to confirm the normality of the equipment.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、このような従来の診断通信方式では、二つの論
理チャネルを介して、通信するので、CPULL とc
 c U13+ との間およびCP Ull2とCCU
13□との間の入出力回数がそれぞれ2回必要である欠
点があった。
However, in such a conventional diagnostic communication method, communication is performed via two logical channels, so CPULL and c
c Between U13+ and CP Ull2 and CCU
13□ has the disadvantage that two input/output operations are required for each input/output operation.

また、診断のための入出力要求と、通常の通信のための
入出力要求とがアプリケーションプログラム(以下、A
Pという。)のレベルで競合する欠点があった。
In addition, input/output requests for diagnosis and input/output requests for normal communication are handled by an application program (hereinafter referred to as A
It's called P. ) had the disadvantage of competing at the level of

本発明は上記の欠点を解決するもので、中央処理装置と
通信制御装置との間の入出力回数を半減することができ
、診断に要するソフトウェアの負荷を軽減できる診断通
信方式を提供することを目的とする。
The present invention solves the above-mentioned drawbacks, and aims to provide a diagnostic communication method that can reduce the number of inputs and outputs between the central processing unit and the communication control device by half, and reduce the software load required for diagnosis. purpose.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、二つの中央処理装置と、この二つの中央処理
装置にそれぞれ接続された二つの通信制御装置と、この
二つの通信制御装置を接続する通信回線とを備えた診断
通信方式において、一方の中央処理装置は、第一の送信
指令を出力する手段を含み、一方の通信制御装置は、こ
の第一の送信指令を受けて第一のコマンドフレームを上
記通信回線に送出する手段を含み、他方の通信制御装置
は、この第一のコマンドフレームを受けて非同期報告を
他方の中央処理装置に与える手段を含み、この他方の中
央処理装置は、この非同期報告を受けて第二の送信指令
を出力する手段を含み、上記他方の通信制御装置は、こ
の第二の送信指令を受けて第一のレスポンスフレームと
これに続いて第二のコマンドフレームを上記通信回線に
送出する手段を含み、上記一方の通信制御装置は、この
第一のレスポンスフレームとこの第二のコマンドフレー
4とヲ1111に受けたときに第二のレスポンスフレー
ムを上記通信回線に送出する手段と、上記第一の送信指
令の終了報告を上記一方の中央処理装置に与える手段と
を含み、上記他方の通信制御装置は、上記第二のレスポ
ンスフレームを受ケて上記第二の送信指令の終了報告を
上記他方の中央処理装置に与える手段を含むことを特徴
とする。
The present invention provides a diagnostic communication method that includes two central processing units, two communication control devices respectively connected to these two central processing units, and a communication line connecting these two communication control devices. The central processing unit includes means for outputting a first transmission command, and one communication control device includes means for receiving the first transmission command and transmitting a first command frame to the communication line, The other communication control device includes means for receiving the first command frame and providing an asynchronous report to the other central processing device, and the other central processing device receives the asynchronous report and issues a second transmission command. The other communication control device includes means for receiving the second transmission command and transmitting a first response frame and subsequently a second command frame to the communication line; One of the communication control devices includes means for transmitting the first response frame and the second command frame 4 to the communication line when received by the WO 1111, and a means for transmitting the second response frame to the communication line. the other communication control device receives the second response frame and sends a completion report of the second transmission command to the other central processing unit. characterized in that it includes means for providing to the device.

〔作用〕 一方の中央処理装置は第一の送信指令を一方の通信制御
装置に出力する。一方の通信制御装置はこの第一の送信
指令を受けて第一のコマンドフレームを通信回線に送出
する。他方の通信制御装置はこの第一のコマンドフレー
ムを受けて非同期報告を他方の中央処理装置に与える。
[Operation] One central processing unit outputs a first transmission command to one communication control device. One of the communication control devices receives this first transmission command and sends out a first command frame to the communication line. The other communication control unit receives this first command frame and provides an asynchronous report to the other central processing unit.

他方の中央処理装置はこの非同期報告を受けて第二の送
信指令を出力する。他方の通信制御装置は、この第二の
送信指令を受けて第一のレスポンスフレームとこれに続
いて第二のコマンドフレームを通信回線に送出する。一
方の通信制御装置は、この第一のレスポンスフレームと
この第二のコマンドフレームとを順に受けたときに第二
のレスポンスフレームを通信回線に送出し、第一の送信
指令の終了報告を一方の中央処理装置に与える。他方の
通信制御装置はこの第二のレスポンスフレームを受けて
第二の送信指令の終了報告を他方の中央処理装置に与え
る。以上の動作により中央処理装置と通信制御装置との
間の入出力回数を半減することができ、診断に要するソ
フトウェアの負荷を軽減できる。
The other central processing unit receives this asynchronous report and outputs a second transmission command. The other communication control device receives this second transmission command and sends out a first response frame and subsequently a second command frame to the communication line. When one communication control device receives this first response frame and this second command frame in order, it sends a second response frame to the communication line, and sends a completion report of the first transmission command to one side. to the central processing unit. The other communication control device receives this second response frame and gives a report of completion of the second transmission command to the other central processing device. By the above operation, the number of inputs and outputs between the central processing unit and the communication control device can be halved, and the software load required for diagnosis can be reduced.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。第1
図は本発明一実施例診断通信装置のブロック構成図であ
る。第1図において、診断通信装置は、二つのCP U
llo、112 と、この二つのCP Ull、 、1
12にそれぞれ人出力インタフェース12、 、12□
を介して接続された二つのCPU111.132と、こ
の二つのCCUl3..132を接続する通信回線20
とを備える。
Embodiments of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of a diagnostic communication device according to an embodiment of the present invention. In FIG. 1, the diagnostic communication device includes two CPUs.
llo, 112 and these two CP Ull, , 1
12 have human output interfaces 12, , 12□, respectively.
The two CPUs 111 and 132 are connected via the CCU l3. .. Communication line 20 connecting 132
Equipped with.

ここで本発明の特徴とするところは、いま送信方をCP
UII、およびccU13+ とし、受信力をCP U
ll2およびCCUl32 とすると、cpUILは、
第一の送信指令を出力する手段を含み、CCU131 
は、この第一送信指令を受けて第一のコマンドフレーム
11を通信回線20に送出する手段を含み、CCU13
2は、このコマンドフレーム■1を受けて非同期報告を
CPU112に与える手段を含み、CPU112は、こ
の非同期報告を受けて第二送信指令を出力する手段を含
み、CCU132は、この第二送信指令を受けて第一の
レスポンスフレーム八CP、とこれに続いて第二のコマ
ンドフレームI2を通信回線20に送出する手段を含み
、CCUI:L は、このレスポンスフレームA CP
 +  とこのコマンドフレームI2とを順に受けたと
きに第二のレスポンスフレームACP2を通信回線20
に送出する手段と、第一送信指令の終了報告をCPUI
II に与える手段とを含み、CCUl:bは、このレ
スポンスフレームACP2を受けて第二送信指令の終了
報告をCp Ull□に与える手段を含むことにある。
Here, the feature of the present invention is that the transmission method is now set to CP.
UII, and ccU13+, and the receiving power is CPU
ll2 and CCUl32, cpUIL is
CCU 131 includes means for outputting a first transmission command;
includes means for receiving this first transmission command and transmitting the first command frame 11 to the communication line 20, and the CCU 13
2 includes means for receiving this command frame (1) and providing an asynchronous report to the CPU 112, the CPU 112 includes means for receiving this asynchronous report and outputting a second transmission command, and the CCU 132 receives this second transmission command. CCUI:L includes means for receiving a first response frame ACP and subsequently sending a second command frame I2 to the communication line 20;
+ and this command frame I2 are received in order, the second response frame ACP2 is sent to the communication line 20.
and means to send the first transmission command completion report to the CPU
CCUl:b includes means for receiving this response frame ACP2 and providing a report of completion of the second transmission command to Cp Ull□.

このような構成の診断通信装置の動作について説明する
The operation of the diagnostic communication device having such a configuration will be explained.

本発明の特徴は、両CPUII、 、11□の指令の出
し方と、両CCU13..13□の通信回線20上のフ
レームの出し方とにある。通信回線20のフレームのや
りとりの基本原則は送信方が受信力にコマンドフレーム
を送出すると、受信力がレスポンスフレームを返すか、
規定時間内にレスポンスがないときのみ次のコマンドフ
レームを出すことである。また、通信回線20の途中に
、中継局が存在することを一般には許容しているために
、送信方と受信力との確認応答はレスポンスフレームの
みで行ってはならない。すなわち、コマンドフレームの
やりとりを行って初めて確認応答がとれたと解釈する必
要がある。
The features of the present invention are how to issue commands to both CPU II, , 11□, and both CCU 13. .. 13□ How to send frames on the communication line 20. The basic principle of exchanging frames on the communication line 20 is that when the transmitter sends a command frame to the receiver, the receiver returns a response frame or not.
The next command frame is issued only when there is no response within a specified time. Furthermore, since the presence of a relay station in the middle of the communication line 20 is generally allowed, confirmation of the transmission method and reception power must not be made using only a response frame. In other words, it is necessary to interpret that an acknowledgment is obtained only after command frames are exchanged.

第2図は本発明の診断通信装置の通信手順を示す図であ
る。第1図および第2図において、アプリケーションプ
ログラムは第一送信指令をCCU131 に出す。CC
U 131 は、通信回線20上にコマンドフレーム1
1を送出する。CCU13□は、コマンドフレーム11
を受信すると、CPU112へその旨の非同期報告を出
す。
FIG. 2 is a diagram showing the communication procedure of the diagnostic communication device of the present invention. In FIGS. 1 and 2, the application program issues a first transmission command to CCU 131. C.C.
U 131 transmits command frame 1 on the communication line 20.
Sends 1. CCU13□ is command frame 11
When it receives this, it issues an asynchronous report to that effect to the CPU 112.

CPU111は、第二送信指令をCCUl32に出す。The CPU 111 issues a second transmission command to the CCU132.

CCU13□は、第一送信指令を受けることにより、レ
スポンスフレームACP、を送出する。
Upon receiving the first transmission command, the CCU 13□ transmits a response frame ACP.

引キ続いてCCU13□は、コマンドフレームI2ヲ送
出スル。CCU 131 は、レスポンスフレームAC
P、およびコマンドフレームI2をその順に受信したと
きのみ、レスポンスフレームACP2を通信回線20上
に送出する。CCU 131 は、CPU111 に第
一送信指令の終了報告を行う。ここで、ccU13+の
動作に注意すべき点は、CC1J13゜がレスポンスフ
レームA CP I’Jsよびコマンドフレームエ2を
その順に受信したときのみレスボンスフレームACP2
を返す点であり、レスポンスフレームACP、の受信だ
けでは通信回線20の途中に中継局が存在したときは、
コマンドフレームI、が中継局に到達しただけの意味し
かない点である。すなわち、CCU131 は、コマン
ドフレームI2を受信することで、CCU13□からの
正規の応答があったことを初めて認識することができる
Subsequently, the CCU 13□ sends out the command frame I2. CCU 131 is a response frame AC
A response frame ACP2 is sent onto the communication line 20 only when P and a command frame I2 are received in that order. The CCU 131 reports the completion of the first transmission command to the CPU 111. Here, the point to note about the operation of ccU13+ is that only when CC1J13° receives response frame A CP I'Js and command frame E2 in that order, does response frame ACP2
is returned, and if there is a relay station in the middle of the communication line 20, just receiving the response frame ACP,
The point here is that the only meaning is that the command frame I has arrived at the relay station. That is, by receiving the command frame I2, the CCU 131 can recognize for the first time that there has been a legitimate response from the CCU 13□.

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

以上説明したように、本発明は、論理チャネルを一つだ
け使用して診断を行うことができ、入出力回数が半減で
きる優れた効果がある。
As described above, the present invention has the excellent effect of being able to perform diagnosis using only one logical channel and reducing the number of input/outputs by half.

したがって、アプリケーションプログラムおよびオペレ
ーティングシステムのソフトウェア処理を軽減できるこ
とになり、診断を短時間で行うほど診断に要するソフト
ウェアオーバーヘッドを少なくすることができる利点が
ある。
Therefore, the software processing of the application program and the operating system can be reduced, and there is an advantage that the shorter the diagnosis is performed, the lower the software overhead required for the diagnosis.

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

第1図は本発明一実施例診断通信装置のブロック構成図
。 第2図は本発明の診断通信装置の通信手順を示す図。 第3図は従来例の診断通信装置の通信手順を示す図。 11、.112・・・中央処理装置(CP U) 、1
2+、122・・・入出力インタフェース、13□、1
32・・・通信制御装置(CCU)、20・・・通信回
線、ACP、ACP、、ACP、・・・レスポンスフレ
ーム、IS I、。 I2・・・コマンドフレーム。
FIG. 1 is a block diagram of a diagnostic communication device according to an embodiment of the present invention. FIG. 2 is a diagram showing a communication procedure of the diagnostic communication device of the present invention. FIG. 3 is a diagram showing a communication procedure of a conventional diagnostic communication device. 11. 112...Central processing unit (CPU), 1
2+, 122...I/O interface, 13□, 1
32... Communication control unit (CCU), 20... Communication line, ACP, ACP,, ACP,... Response frame, IS I. I2...Command frame.

Claims (1)

【特許請求の範囲】 1、二つの中央処理装置と、この二つの中央処理装置に
それぞれ接続された二つの通信制御装置と、この二つの
通信制御装置を接続する通信回線とを備えた診断通信方
式において、 一方の中央処理装置は、第一の送信指令を出力する手段
を含み、 一方の通信制御装置は、この第一の送信指令を受けて第
一のコマンドフレームを上記通信回線に送出する手段を
含み、 他方の通信制御装置は、この第一のコマンドフレームを
受けて非同期報告を他方の中央処理装置に与える手段を
含み、 この他方の中央処理装置は、この非同期報告を受けて第
二の送信指令を出力する手段を含み、上記他方の通信制
御装置は、この第二の送信指令を受けて第一のレスポン
スフレームとこれに続いて第二のコマンドフレームを上
記通信回線に送出する手段を含み、 上記一方の通信制御装置は、この第一のレスポンスフレ
ームとこの第二のコマンドフレームとを順に受けたとき
に第二のレスポンスフレームを上記通信回線に送出する
手段と、上記第一の送信指令の終了報告を上記一方の中
央処理装置に与える手段とを含み、 上記他方の通信制御装置は、上記第二のレスポンスフレ
ームを受けて上記第二の送信指令の終了報告を上記他方
の中央処理装置に与える手段を含む ことを特徴とする診断通信方式。
[Claims] 1. Diagnostic communication comprising two central processing units, two communication control devices respectively connected to these two central processing units, and a communication line connecting these two communication control devices. In this method, one central processing unit includes means for outputting a first transmission command, and one communication control device receives the first transmission command and transmits a first command frame to the communication line. and the other communication control device includes means for receiving the first command frame and providing an asynchronous report to the other central processing unit, and the other central processing unit receiving the asynchronous report and providing a second command frame. The other communication control device includes means for outputting a transmission command, and the other communication control device receives the second transmission command and transmits a first response frame and subsequently a second command frame to the communication line. said one communication control device includes means for sending a second response frame to said communication line when receiving said first response frame and said second command frame in order; and means for providing a report of the completion of the transmission command to the one central processing unit, wherein the other communication control device receives the second response frame and transmits the completion report of the second transmission command to the other central processing unit. A diagnostic communication method comprising means for providing to a processing device.
JP63103257A 1988-04-25 1988-04-25 Diagnosis communication system Pending JPH01272346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63103257A JPH01272346A (en) 1988-04-25 1988-04-25 Diagnosis communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63103257A JPH01272346A (en) 1988-04-25 1988-04-25 Diagnosis communication system

Publications (1)

Publication Number Publication Date
JPH01272346A true JPH01272346A (en) 1989-10-31

Family

ID=14349390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63103257A Pending JPH01272346A (en) 1988-04-25 1988-04-25 Diagnosis communication system

Country Status (1)

Country Link
JP (1) JPH01272346A (en)

Similar Documents

Publication Publication Date Title
JPH01272346A (en) Diagnosis communication system
JP3149047B2 (en) Redundant data processor
JPS63285605A (en) Serial data link system for numerical controller
JPS62214750A (en) Communication control equipment
JPS634360A (en) Confirmation system for file transfer between computers
JPH03137760A (en) Memory transfer system for information processing system
JPS61294506A (en) High-speed pio transmission method for programmable controller
JPS6121650A (en) Data terminal connection control system of automatic exchange
JPH01297591A (en) Setting and processing system for system timepiece
JPS6072451A (en) Block transfer system in unconfirming transfer
JPH0199146A (en) Transmitting right control system for communication between different-type computers
JPH03252244A (en) Transmission equipment
JPH0370340A (en) Switching device
JPH04162163A (en) Communication protocol packaging system
JPS58169235A (en) Terminal controller
JPS5980041A (en) Digital multiplex optical coupling controller for installation on airplane
JPH0415855A (en) Online information processing system
JPH0537587A (en) Reply sequence transmission system
JPS62188452A (en) Integrated circuit for communication control
JP2001136299A (en) Data communication system and data communication method
JPH01261040A (en) Data transmission method
JPS62190957A (en) Data transmitter and receiver
JPS5875241A (en) Intercomputer connection system for communication circuit
JPH0375910B2 (en)
JPH03288248A (en) Access method to network peripheral device