JPH0888672A - Intelligent communication protocol monitor - Google Patents

Intelligent communication protocol monitor

Info

Publication number
JPH0888672A
JPH0888672A JP6223138A JP22313894A JPH0888672A JP H0888672 A JPH0888672 A JP H0888672A JP 6223138 A JP6223138 A JP 6223138A JP 22313894 A JP22313894 A JP 22313894A JP H0888672 A JPH0888672 A JP H0888672A
Authority
JP
Japan
Prior art keywords
protocol
error
communication
data
software
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
JP6223138A
Other languages
Japanese (ja)
Other versions
JP3431693B2 (en
Inventor
Kenji Suzuki
健二 鈴木
Tomohiko Ogishi
智彦 大岸
Shiyunichi Iisaku
俊一 飯作
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP22313894A priority Critical patent/JP3431693B2/en
Publication of JPH0888672A publication Critical patent/JPH0888672A/en
Application granted granted Critical
Publication of JP3431693B2 publication Critical patent/JP3431693B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To realize an intellight communication protocol monitor that automatically detects the error position of protocol in data on a channel and estimates its cause. CONSTITUTION: The communication protocol monitor having a protocol analysis section 3 being a conventional monitor is provided with a couple of protocol software sets A', B' operating correctly a protocol decided between both communication systems A, B, and with an intelligent processing section 6 which has a function of managing a state and a parameter of a couple of protocol software sets A', B', a function of detecting the error of the protocol of the communication systems A, B by comparing data analyzed by the protocol analysis section 3 based on received data from a channel 1 with reply data from the protocol software sets A', B' and a function of estimating a cause to the error according to the content of the error. Thus, the error location of the communication software is automatically pointed out from data transmitted on the channel 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はインテリジェント通信プ
ロトコルモニタ装置に関し、特に、例えばOSIプロト
コルのような通信プロトコルを実装したコンピュータや
端末が、正常に動作しているか否かを実時間で判断する
通信プロトコルモニタ装置、若しくは誤った通信プロト
コル動作を発見し、通信システムのソフトウェアの不具
合を指示する通信ソフトウェア用開発支援ツールとして
有用なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an intelligent communication protocol monitor, and more particularly, to communication for judging in real time whether or not a computer or terminal equipped with a communication protocol such as OSI protocol is operating normally. It is useful as a protocol monitor device or as a communication software development support tool for detecting an erroneous communication protocol operation and instructing a malfunction of software of a communication system.

【0002】[0002]

【従来の技術】近年、異機種間通信の重要性が高まり、
各種のOSI通信システムが開発されている。通信シス
テムの開発にあたっては製品検証が必要となり、そこで
は、OSI標準仕様に適合するか否かを検査するために
システム単体の機能を試験する適合性試験、及び標準仕
様に適合したシステム間の相互接続性を試験する相互接
続試験が行われる。
2. Description of the Related Art In recent years, the importance of heterogeneous communication has increased,
Various OSI communication systems have been developed. Product development is required in the development of communication systems, in which there are compatibility tests that test the functions of individual systems to check whether they conform to OSI standard specifications, and mutual compatibility between systems that conform to standard specifications. An interconnect test is performed to test connectivity.

【0003】これらの試験には、被試験システムに外部
からテストシナリオを送信してそれに対する応答で動作
の正否を判定するテスタ方式のツールと、通信回線をタ
ップしてプロトコルシーケンス等を検査するモニタ方式
のツールが用いられる。
For these tests, a tester type tool for externally transmitting a test scenario to the system under test and judging whether the operation is correct or not by a response thereto, and a monitor for inspecting a protocol sequence etc. by tapping a communication line. Method tools are used.

【0004】従来技術に係るモニタ方式のツールである
通信プロトコルモニタ装置は、回線上を流れるデータを
受信する回線データ受信機能、及び受信したデータを各
層のプロトコルに従って解析するプロトコル解析機能の
みを持ち、回線上を流れるデータを受動的にモニタする
だけのものであった。
A communication protocol monitor device, which is a monitor-type tool according to the prior art, has only a line data reception function for receiving data flowing on a line and a protocol analysis function for analyzing the received data according to the protocol of each layer. It was only for passively monitoring the data flowing on the line.

【0005】[0005]

【発明が解決しようとする課題】上述の如く従来技術に
係る通信プロトコルモニタ装置では、モニタ上に表示さ
れたデータの解析及びプロトコル誤りの判断は、プロト
コルを熟知している人間が手作業で行う必要があり、こ
のため作業に熟練を要するばかりでなく、多大の労力と
時間とを要していた。
As described above, in the communication protocol monitoring device according to the prior art, a person who is familiar with the protocol manually performs the analysis of the data displayed on the monitor and the determination of the protocol error. Therefore, not only the skill is required for the work, but also much labor and time are required.

【0006】本発明は、上記従来技術に鑑み、回線上を
流れるデータのプロトコル誤り箇所を自動的に検出する
とともにその原因を推定し得るインテリジェント通信プ
ロトコルモニタ装置を提供することを目的とする。
In view of the above-mentioned conventional technique, it is an object of the present invention to provide an intelligent communication protocol monitor device capable of automatically detecting a protocol error portion of data flowing on a line and estimating the cause thereof.

【0007】[0007]

【課題を解決するための手段】上記目的を達成する本発
明の構成は、一方の通信システムと他方の通信システム
との間を接続する回線の途中に接続し、この回線を流れ
るデータを取り込んでこのデータ中のプロトコル誤りを
検出するインテリジェント通信プロトコルモニタ装置に
おいて、上記データを解析することによりそのプロトコ
ルを解析するプロトコル解析手段と、上記一方及び他方
の通信システム間で取り決められたプロトコルを正しく
動作させるための各通信システムに対応するプロトコル
ソフトウェアをそれぞれ実行する一対のプロトコルソフ
トウェア実行手段と、プロトコルソフトウェア記憶手段
に記憶されている一対のプロトコルソフトウェアの状態
及びパラメータを管理し、上記プロトコル解析手段から
のプロトコルデータとこれに対応するプロトコルソフト
ウェア記憶手段からの応答データを比較することにより
上記通信システムのプロトコルの誤りを検出するととも
に、誤りの内容にしたがって誤りの原因を推定する知的
処理手段とを有することを特徴とする。
The structure of the present invention for achieving the above object is to connect a communication line between one communication system and the other communication system in the middle of the line and take in data flowing through this line. In an intelligent communication protocol monitor for detecting a protocol error in this data, a protocol analyzing means for analyzing the protocol by analyzing the data and a protocol negotiated between the one and the other communication systems are operated properly. For executing the protocol software corresponding to each communication system, and managing the state and parameters of the pair of protocol software stored in the protocol software storage means, and the protocol from the protocol analysis means. Day And an intelligent processing means for detecting the error of the protocol of the communication system by comparing the response data from the corresponding protocol software storage means and estimating the cause of the error according to the content of the error. Characterize.

【0008】[0008]

【作用】上記構成の本発明によれば、通信システム間を
結ぶ回線上を流れるデータのプロトコルは、各通信シス
テムに対応した正しいプロトコルソフトウェア間で知的
処理部を介して疑似的に授受するプロトコルと対比され
る。
According to the present invention having the above-described structure, the protocol of the data flowing on the line connecting the communication systems is a protocol in which the correct protocol software corresponding to each communication system is pseudo-transmitted and received via the intelligent processing section. Contrast with.

【0009】この対比結果に基づき知的処理部がプロト
コルの誤り箇所を自動的に検出するとともにその原因を
推定する。
Based on the comparison result, the intelligent processing unit automatically detects the error portion of the protocol and estimates the cause.

【0010】[0010]

【実施例】以下本発明の実施例を図面に基づき詳細に説
明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0011】図1は本実施例に係るインテリジェント通
信プロトコルモニタ装置を、これを適用する通信システ
ムA,Bとともに示す構成図である。同図に示すよう
に、当該インテリジェント通信プロトコルモニタ装置
は、通信システムA,B間を接続する回線1の途中に接
続してある。
FIG. 1 is a block diagram showing an intelligent communication protocol monitor apparatus according to this embodiment, together with communication systems A and B to which the intelligent communication protocol monitor apparatus is applied. As shown in the figure, the intelligent communication protocol monitor device is connected in the middle of the line 1 connecting the communication systems A and B.

【0012】回線インタフェース部2は、回線1上を流
れるデータを方向別に受信し、プロトコル解析部3に送
信する機能を有する。プロトコル解析部3は、予め指定
されたプロトコルに従ってデータを解析することにより
画面表示情報を作成して画面表示部5に表示するととも
に、そのプロトコル情報要素(以下PDUと称す)を、
該当するプロトコルに対応した知的処理部6に送信す
る。これら回線インタフェース部2、プロトコル解析部
3及び画面表示部4で従来と同構成の通信プロトコルモ
ニタ装置を構成している。
The line interface unit 2 has a function of receiving data flowing on the line 1 for each direction and transmitting it to the protocol analysis unit 3. The protocol analysis unit 3 creates screen display information by analyzing the data according to a protocol specified in advance and displays the screen display information on the screen display unit 5, and at the same time, displays the protocol information element (hereinafter referred to as PDU).
It is transmitted to the intelligent processing unit 6 corresponding to the applicable protocol. The line interface unit 2, the protocol analysis unit 3, and the screen display unit 4 constitute a communication protocol monitor device having the same configuration as the conventional one.

【0013】知的処理部6は、プロトコル毎に存在し、
送受信処理部7、誤り判定部8、誤り原因推定部9、状
態/パラメータ履歴管理部10、疑似誤り履歴管理部1
1、及び誤り原因履歴管理部12を有する。
The intelligent processing section 6 exists for each protocol,
Transmission / reception processing unit 7, error determination unit 8, error cause estimation unit 9, state / parameter history management unit 10, pseudo error history management unit 1
1 and an error cause history management unit 12.

【0014】送受信処理部7は、プロトコル解析部3及
びプロトコルソフトウェア実行部13,14が実行する
プロトコルソフトウェアA′,B′からデータを受信す
るとともに、プロトコルソフトウェアA′,B′にデー
タを送信する。また、送受信処理部7は、データの送受
信に伴って更新された状態及び動的パラメータの値を、
状態/パラメータ履歴管理部10に渡すとともに、プロ
トコル解析部3及びプロトコルソフトウェアA′,B′
から受信したデータを比較し、比較したデータが異なる
場合等において、疑似誤り発生とし、疑似誤り履歴管理
部11に、そのときの状態、動的パラメータ、疑似誤り
の種類、疑似誤りが発生したPDUの情報を渡し、誤り
判定部8に、疑似誤りの内容を送信する。ここで、「疑
似誤り」とは、誤りである可能性があるものをいう。
The transmission / reception processing unit 7 receives data from the protocol software A'and B'executed by the protocol analysis unit 3 and the protocol software execution units 13 and 14, and also transmits data to the protocol software A'and B '. . In addition, the transmission / reception processing unit 7 calculates the state and the dynamic parameter values updated as the data is transmitted / received.
The state / parameter history management unit 10 is passed to the protocol analysis unit 3 and the protocol software A ′, B ′.
The received data is compared, and when the compared data are different, it is determined that a pseudo error has occurred, and the pseudo error history management unit 11 determines the status at that time, the dynamic parameter, the type of pseudo error, and the PDU in which the pseudo error has occurred. The information of the pseudo error is transmitted to the error determination unit 8. Here, the “pseudo error” refers to something that may be an error.

【0015】誤り判定部8は、疑似誤りの内容に従っ
て、送受信処理部7より受信した疑似誤りが、誤りであ
るか否かを判断する。かくして、誤りであった場合に
は、誤り原因推定部12に、誤りの種類及び誤りが発生
したPDUの情報を渡す。また、誤りの内容に従って、
双方のプロトコルソフトウェアA′,B′の状態及び動
的パラメータを誤りが発生する以前の値に戻すか否かを
決定する。さらに、誤りが発生した場合、誤りの発生を
画面表示部5に通知するための画面表示情報を作成す
る。
The error determination unit 8 determines whether the pseudo error received from the transmission / reception processing unit 7 is an error according to the content of the pseudo error. Thus, if there is an error, the error cause estimation unit 12 is passed the information on the type of error and the PDU in which the error occurred. Also, according to the contents of the error,
It decides whether to restore the state and dynamic parameters of both protocol software A ', B'to the values before the error occurred. Further, when an error occurs, screen display information for notifying the screen display unit 5 of the occurrence of the error is created.

【0016】誤り原因推定部9は、誤り判定部8より受
信した誤りの種類、誤りが発生したPDUの情報、疑似
誤り履歴管理部11が記憶している疑似誤り履歴情報及
び状態/パラメータ履歴管理部10が記憶している状態
/パラメータ履歴情報を参照して誤りの原因となる疑似
誤りの箇所を指摘し、誤りの原因を推定する。ただし、
疑似誤りがこれまでに発生していない場合のように、誤
りの原因となる疑似誤りが発生したばかりの疑似誤りで
ある場合も考えられる。原因が複数考えられる場合は、
誤り原因履歴を参照することにより、最も可能性の高い
誤りの原因を推定する。誤りの原因が判明した場合、誤
りの原因を画面表示部5に通知するための画面表示情報
を作成する。
The error cause estimator 9 manages the type of error received from the error determiner 8, information on the PDU in which the error occurred, pseudo error history information and status / parameter history management stored in the pseudo error history manager 11. By referring to the state / parameter history information stored in the unit 10, a pseudo error location that causes an error is pointed out and the cause of the error is estimated. However,
It is also conceivable that the pseudo error that has caused the error is a pseudo error that has just occurred, as in the case where no pseudo error has occurred so far. If there are multiple possible causes,
The most probable cause of the error is estimated by referring to the error cause history. When the cause of the error is found, screen display information for notifying the screen display unit 5 of the cause of the error is created.

【0017】状態/パラメータ履歴管理部10は、双方
のプロトコルソフトウェアA′,B′の状態及び動的パ
ラメータの履歴を管理する。この履歴情報は、プロトコ
ルソフトウェアA′,B′が知的処理部6内の送受信処
理部7に対してデータを送受信する度に記録される。ま
た、この履歴情報は、誤りが発生した場合に、状態及び
動的パラメータを、プロトコルソフトウェアA′,B′
が正しく動作していたときの値に戻すために保持され
る。
The status / parameter history management unit 10 manages the status of both protocol software A'and B'and the history of dynamic parameters. This history information is recorded each time the protocol software A ′, B ′ transmits / receives data to / from the transmission / reception processing unit 7 in the intelligent processing unit 6. In addition, this history information shows the status and dynamic parameters in the protocol software A'and B'when an error occurs.
Is retained to revert to the value it was in when it was working correctly.

【0018】疑似誤り履歴管理部11は、送受信処理部
7が検出した疑似誤りの履歴を記録して管理する。この
履歴情報は、誤りが発生した場合に、その原因となる疑
似誤りの箇所を指摘するために用いる。
The pseudo error history management unit 11 records and manages a history of pseudo errors detected by the transmission / reception processing unit 7. This history information is used to point out a pseudo error location that causes an error when the error occurs.

【0019】誤り原因履歴管理部12は、通信において
発生した誤りを逐次記録する。状態/パラメータ履歴管
理部10及び疑似誤り履歴管理部11が、一つの通信の
モニタが終了する度にデータを削除するのに対し、誤り
原因履歴管理部12は永久にデータを保持する。このと
きの誤り原因履歴情報は、過去に発生した誤りとその原
因及び発生回数から構成される。誤りの原因が複数考え
られる場合に、発生回数の多い原因が最も可能性のある
原因となる。また、手作業により、新たに発見した誤り
の原因を、オペレータが任意に履歴情報に追加すること
ができる。これにより、今後同様の誤りが発生した場合
に原因を自動的に究明するような学習機能を提供するこ
とができる。
The error cause history management unit 12 sequentially records the errors generated in communication. The status / parameter history management unit 10 and the pseudo error history management unit 11 delete the data each time the monitoring of one communication is completed, while the error cause history management unit 12 holds the data permanently. The error cause history information at this time is composed of errors that occurred in the past, their causes, and the number of occurrences. When there are multiple possible causes for an error, the most frequent cause is the most likely cause. Moreover, the operator can arbitrarily add the cause of the newly discovered error to the history information. This makes it possible to provide a learning function that automatically investigates the cause when a similar error occurs in the future.

【0020】プロトコルソフトウェアA′,B′は、通
信システムA,B間で取り決められたプロトコルソフト
ウェアを有し、正しいと考えられる通信システムA,B
の動作を実時間で模擬する機能を有する。また、プロト
コルソフトウェアA′,B′の状態、PDUの送受信や
タイマイベント等とともに変化する動的パラメータ、並
びに、不変値として与えられる静的パラメータを持つ。
静的パラメータは、通信システムA,Bの静的パラメー
タと同じ値に設定し、状態及び動的パラメータは、モニ
タの開始時に初期値に設定する。
The protocol software A ', B'has protocol software negotiated between the communication systems A, B and is considered to be correct.
Has the function of simulating the operation of in real time. It also has the states of the protocol software A ′ and B ′, dynamic parameters that change with transmission / reception of PDUs and timer events, and static parameters given as invariant values.
The static parameters are set to the same values as the static parameters of the communication systems A and B, and the state and dynamic parameters are set to the initial values at the start of monitoring.

【0021】画面表示部5は、プロトコル解析部3、及
び、知的処理部6内の誤り判定部8及び誤り原因推定部
9より得た画面表示情報をディスプレイに表示する機能
を有する。
The screen display unit 5 has a function of displaying the screen display information obtained from the protocol analysis unit 3 and the error determination unit 8 and the error cause estimation unit 9 in the intelligent processing unit 6 on the display.

【0022】一般に、通信プロトコルのシーケンスは、
要求(REQ)のみを行うものと、要求に対し応答を要
求するものの2通りがある。応答には、肯定の応答(R
ESP)と否定の応答(REJ)が存在する。プロトコ
ル解析部3より得たデータがREQであるかRESP/
REJであるかは、知的処理部6内の送受信処理部7が
判断する。
In general, the sequence of communication protocols is
There are two types: one that only makes a request (REQ) and one that requests a response to the request. A positive response (R
There is an ESP) and a negative response (REJ). Whether the data obtained from the protocol analysis unit 3 is REQ or RESP /
The transmission / reception processing unit 7 in the intelligent processing unit 6 determines whether it is REJ.

【0023】知的処理部6内の送受信処理部7の動作シ
ーケンスを図2から図7までに示す。当該送受信処理部
7内では、プロトコル解析部3からのデータ受信、プロ
トコルソフトウェアA′,B′からのデータ受信及びタ
イマT1タイムアウトに対してそれぞれ図2,3,4に
示すイベントが発生する。タイマT1は、REQに対す
る応答が無応答であるか否かを判断するために用いる。
The operation sequence of the transmission / reception processing unit 7 in the intelligent processing unit 6 is shown in FIGS. 2 to 7. In the transmission / reception processing unit 7, events shown in FIGS. 2, 3 and 4 occur in response to data reception from the protocol analysis unit 3, data reception from the protocol software A ′ and B ′, and timer T1 timeout. The timer T1 is used to determine whether or not the response to REQ is non-response.

【0024】図2に示すように、プロトコル解析部3か
ら、例えば通信システムAから通信システムBの方向の
データを受信した場合、受信データの識別を判断し(ス
テップS1 参照)、受信データがREQの場合は、処理
1(図5参照)を行う。受信データがRESP/REJ
の場合は、プロトコルソフトウェアA′より既にデータ
を受信したか否かを判断し(ステップS2 参照)、受信
していれば処理3(図7参照)を行い、受信していなけ
ればイベントを終了する。
As shown in FIG. 2, when data in the direction from the communication system A to the communication system B is received from the protocol analysis unit 3, the identification of the received data is judged (see step S 1 ), and the received data is In the case of REQ, process 1 (see FIG. 5) is performed. Received data is RESP / REJ
In the case of, it is judged from the protocol software A ′ whether or not the data has already been received (see step S 2 ), and if it has been received, the process 3 (see FIG. 7) is performed, and if not, the event ends. To do.

【0025】図3に示すように、プロトコルソフトウェ
アA′,B′から、例えばプロトコルソフトウェアA′
からプロトコルソフトウェアB′の方向のデータを受信
した場合、受信データの識別を判断し(ステップS3
照)、受信データがREQの場合は、処理2を行う(図
6参照)。このシーケンスは、特定の状態においてプロ
トコルソフトウェアが自発的にREQを送信する場合に
考えられる。
As shown in FIG. 3, from the protocol software A'and B ', for example, the protocol software A'
When receiving the direction of the data protocol software B 'from determines the identity of the received data (step S 3), if the received data is REQ performs processing 2 (see FIG. 6). This sequence is considered when the protocol software voluntarily sends a REQ in a particular state.

【0026】一方、受信データがRESP/REJの場
合、プロトコルソフトウェアA′より既にデータを受信
したか否かを判断し(ステップS4 参照)、プロトコル
解析部3より例えば通信システムAから通信システムB
への回線データを受信していれば、処理3(図7参照)
を行い、受信していなければイベントを終了する。
On the other hand, when the received data is RESP / REJ, it is judged from the protocol software A ′ whether or not the data has already been received (see step S 4 ), and the protocol analysis unit 3 determines, for example, the communication system A to the communication system B.
Process 3 (see FIG. 7) if line data to
And ends the event if not received.

【0027】上記ステップS2 ,S4 の処理を行なうの
は、プロトコルソフトウェアA′,B′若しくはプロト
コル解析部3の何れのRESP/REJの受信が先に行
われるかが不明であるためである。
The processes of steps S 2 and S 4 are performed because it is unclear which RESP / REJ of the protocol software A ', B'or the protocol analysis unit 3 is received first. .

【0028】図4に示すように、通信システムBから通
信システムAにREQを送信し、それに伴いプロトコル
ソフトウェアB′からプロトコルソフトウェアA′にR
EQが送信された後、タイマT1の時間が満了しタイム
アウトとなった場合、通信システムA及びプロトコルソ
フトウェアA′よりRESP/REJを受信したかを判
断し(ステップS5 ,S6 ,S7 参照)、双方より受信
していれば無応答に関する疑似誤りなしと判断し、イベ
ントを終了する。通信システムAのみ、プロトコルソフ
トウェアA′のみ、通信システムA及びプロトコルソフ
トウェアA′よりRESP/REJを受信していない場
合、それぞれ疑似誤り3,4,5(このときの番号3,
4,5は図8に示す表の「疑似誤り」の項目の番号に対
応している。以下同じ。)と判断して疑似誤り履歴管理
部に記録し(ステップS8 ,S9,S10参照)、誤り判
定部8に処理を依頼する(ステップS11)。
As shown in FIG. 4, REQ is transmitted from the communication system B to the communication system A, and accordingly, R is sent from the protocol software B'to the protocol software A '.
After EQ is sent, if the time of the timer T1 becomes expired timeout, and determines whether it has received a RESP / REJ from the communication system A and the protocol software A '(step S 5, S 6, S 7 reference ), If received from both sides, it is determined that there is no pseudo error regarding no response, and the event ends. When the RESP / REJ is not received from the communication system A only, the protocol software A ′ only, or the communication system A and the protocol software A ′, the pseudo errors 3, 4 and 5 (number 3 at this time, respectively) are received.
Numbers 4 and 5 correspond to the numbers of the items of "pseudo error" in the table shown in FIG. same as below. ) Is recorded in the pseudo error history management unit (see steps S 8 , S 9 and S 10 ), and the error determination unit 8 is requested to perform processing (step S 11 ).

【0029】図5に示す処理1は、上述の如く、例えば
通信システムAから通信システムBの方向へのREQを
受信した場合に行われる。この処理1では、先ずプロト
コルソフトウェアA′が受信したデータを送信可能であ
るか否かを判断し(ステップS12)、送信可能でなけれ
ば疑似誤り1と判断して疑似誤り履歴管理部11に記録
し(ステップS16参照)、誤り判定部8に処理を依頼す
る(ステップS17参照)。送信可能であれば、プロトコ
ルソフトウェアA′の状態及び動的パラメータを更新し
(ステップS13参照)、プロトコル解析部3より受信し
たPDUをプロトコルソフトウェアB′に送信し(ステ
ップS14参照)、無応答を検出するためのタイマT1を
起動する(ステップS15参照)。
The process 1 shown in FIG. 5 is executed, for example, when the REQ from the communication system A to the communication system B is received as described above. In this process 1, first, it is judged whether or not the data received by the protocol software A ′ can be transmitted (step S 12 ), and if it cannot be transmitted, it is judged as a pseudo error 1 and the pseudo error history management unit 11 is judged. recorded (step S 16), requests processing to the error determining unit 8 (see step S 17). If it can be transmitted, the state and dynamic parameters of the protocol software A ′ are updated (see step S 13 ), and the PDU received from the protocol analysis unit 3 is transmitted to the protocol software B ′ (see step S 14 ). It starts a timer T1 for detecting a response (see step S 15).

【0030】図6に示す処理2は、上述の如く、例えば
プロトコルソフトウェアA′よりREQを受信した場合
に行われる。プロトコルソフトウェアA′の特定の状態
の場合、プロトコルソフトウェアA′が自発的にREQ
を送信する場合があり、このシーケンスはそれに該当す
る。この場合、疑似誤り2と判断し、疑似誤り履歴管理
部11に記録し(ステップS18参照)、誤り判定部8に
処理を依頼する(ステップS19参照)。
As described above, the process 2 shown in FIG. 6 is performed when REQ is received from the protocol software A ', for example. In the specific state of the protocol software A ′, the protocol software A ′ voluntarily REQs.
May be transmitted, and this sequence corresponds to it. In this case, it is determined as the pseudo error 2 and is recorded in the pseudo error history management unit 11 (see step S 18 ) and the error determination unit 8 is requested to perform the processing (see step S 19 ).

【0031】図7に示す処理3は、上述の如く、例えば
通信システムB及びプロトコルソフトウェアB′から通
信システムA及びプロトコルソフトウェアA′にREQ
を送信し、その応答として通信システムA及びプロトコ
ルソフトウェアA′よりRESP/REJを受信した場
合に行われる。この処理3では、まず通信システムA及
びプロトコルソフトウェアA′からの受信が共にRES
Pであるか否かを判断し(ステップS20参照)、通信シ
ステムA及びプロトコルソフトウェアA′からの受信が
RESPでない場合は、それぞれ疑似誤り6,7,8と
判断し、疑似誤り履歴管理部11に記録し(ステップS
23参照)、誤り判定部8に処理を依頼する(ステップS
25参照)。共にRESPである場合は、パラメータ値が
等しいか否かを判断し(ステップS21参照)、異なる場
合は、疑似誤り9と判断し、疑似誤り履歴管理部12に
記録し(ステップS24参照)、誤り判定部8に処理を依
頼する(ステップS25参照)。パラメータ値が等しい場
合は、プロトコル解析部3より受信したPDUをプロト
コルソフトウェアB′に送信し(ステップS22参照)、
イベントを終了する。
As described above, the process 3 shown in FIG. 7 REQs the communication system B and the protocol software B'from the communication system B and the protocol software A '.
Is transmitted, and RESP / REJ is received from the communication system A and the protocol software A ′ as a response. In this process 3, first, the reception from the communication system A and the protocol software A ′ are both RES.
It is determined whether or not it is P (see step S 20 ), and if the reception from the communication system A and the protocol software A ′ is not RESP, it is determined to be pseudo errors 6, 7 and 8, respectively, and the pseudo error history management unit. 11 (step S
23 ), and requests the error determination unit 8 to perform processing (step S).
25 ). If both of them are RESP, it is determined whether the parameter values are equal (see step S 21), if different, it is determined that the pseudo error 9, recorded in the pseudo error history management unit 12 (see step S 24) , requests processing to the error determining unit 8 (see step S 25). If the parameter values are equal, sends a PDU received from the protocol analysis section 3 to the protocol software B '(see step S 22),
End the event.

【0032】誤り判定部8では、状態及び動的パラメー
タの更新を行うか否かを判断し、更新する場合はステッ
プS22を実行し、更新しない場合はステップS22を実行
しない。
The error determination unit 8 determines whether or not to update the state and the dynamic parameter. If the update is to be performed, step S 22 is executed, and if not updated, step S 22 is not executed.

【0033】図8にプロトコルソフトウェアA′の動作
と通信システムAの動作の比較による疑似誤りの判断の
例を示す。図中の“A:REQ”は、AがREQを送信
することを意味する。また、疑似誤り3から9において
“B:REQ”及び“B′:REQ”は、A及びA′の
動作の前にB及びB′がREQを送信していることを示
す。
FIG. 8 shows an example of determination of a pseudo error by comparing the operation of the protocol software A'and the operation of the communication system A. "A: REQ" in the figure means that A transmits REQ. Also, in pseudo-errors 3 to 9, "B: REQ" and "B ': REQ" indicate that B and B'transmit REQ before the operation of A and A'.

【0034】本実施例に係る通信プロトコルモニタ装置
は、特にREQに対してRESPが返るような、通常の
ソフトウェア開発支援ツールでは誤りを検出しづらい正
常なシーケンス(疑似誤り6,9の場合)においても、
それが誤りであると判断できることが利点として挙げら
れる。
The communication protocol monitoring apparatus according to the present embodiment is particularly useful in the case of a normal sequence (in the case of pseudo errors 6 and 9) in which it is difficult to detect an error with a normal software development support tool, such as RESP returning to REQ. Also,
The advantage is that it can be judged to be incorrect.

【0035】上記本実施例によれば、回線1上を流れる
データのプロトコルには、各通信システムに対応した正
しいプロトコルソフトウェアA′,B′間で知的処理部
6を介して疑似的に授受するプロトコルと対比される。
According to the above-mentioned embodiment, the protocol of the data flowing on the line 1 is pseudo-transmitted and received between the correct protocol software A'and B'corresponding to each communication system through the intelligent processing section 6. Contrast with the protocol.

【0036】この対比結果に基づき知的処理部がプロト
コルの誤り箇所を自動的に検出するとともに原因を推定
する。
Based on the comparison result, the intelligent processing unit automatically detects the error portion of the protocol and estimates the cause.

【0037】[0037]

【発明の効果】以上実施例とともに具体的に説明したよ
うに、本発明によれば回線上を流れるデータのプロトコ
ル誤り箇所を自動的に検出し、誤りの内容に従って通信
ソフトウェアの誤り箇所を指摘することができる。した
がって特にプロトコルを熟知していない人間が通信ソフ
トウェアを作成した場合などに、通信ソフトウェアの開
発支援に有用なものとなる。
As described above in detail with the embodiments, according to the present invention, the protocol error portion of the data flowing on the line is automatically detected and the error portion of the communication software is pointed out according to the content of the error. be able to. Therefore, it is useful for the development support of communication software when a person who is not familiar with the protocol creates the communication software.

【0038】また、本発明によれば誤りが検出された場
合、双方のプロトコルソフトウェアを、この誤りが発生
する以前の状態に戻すようにしたので、誤り検出後に継
続して行なわれている通信においても同様の誤り検出の
ためのモニタを行うことができる。
Further, according to the present invention, when an error is detected, both protocol software are returned to the state before the error occurred, so that in the communication which is continuously performed after the error is detected. Can also monitor for the same error detection.

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

【図1】本発明の実施例を示すブロック線図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(プロトコル解析
部からのデータ受信により発生するイベント)。
FIG. 2 is a flowchart showing the sequence of a transmission / reception processing unit in the intelligent processing unit in the above embodiment (an event generated by data reception from a protocol analysis unit).

【図3】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(プロトコルソフ
トウェアからのデータ受信により発生するイベント)。
FIG. 3 is a flowchart showing the sequence of a transmission / reception processing unit in the intelligent processing unit in the above embodiment (an event generated by data reception from protocol software).

【図4】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(タイマT1タイ
ムアウトにより発生するイベント)。
FIG. 4 is a flowchart showing the sequence of a transmission / reception processing unit in the intelligent processing unit according to the above-described embodiment (event generated by timer T1 timeout).

【図5】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(処理1)。
FIG. 5 is a flowchart (process 1) showing a sequence of a transmission / reception processing unit in the intelligent processing unit in the above embodiment.

【図6】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(処理2)。
FIG. 6 is a flowchart (process 2) showing a sequence of a transmission / reception processing unit in the intelligent processing unit in the above embodiment.

【図7】上記実施例における知的処理部内の送受信処理
部のシーケンスを示すフローチャート(処理3)。
FIG. 7 is a flowchart (process 3) showing a sequence of a transmission / reception processing unit in the intelligent processing unit in the above embodiment.

【図8】図4〜図7において判断する疑似誤りの種類を
その内容とともに示す図表。
FIG. 8 is a table showing the types of pseudo errors determined in FIGS. 4 to 7 together with their contents.

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

A,B 通信システム A′,B′ プロトコルソフトウェア 1 回線 3 プロトコル解析部 6 知的処理部 A, B Communication system A ', B'Protocol software 1 Line 3 Protocol analysis unit 6 Intelligent processing unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一方の通信システムと他方の通信システ
ムとの間を接続する回線の途中に接続し、この回線を流
れるデータを取り込んでこのデータ中のプロトコル誤り
を検出するインテリジェント通信プロトコルモニタ装置
において、 上記データを解析することによりそのプロトコルを解析
するプロトコル解析手段と、 上記一方及び他方の通信システム間で取り決められたプ
ロトコルを正しく動作させるための各通信システムに対
応するプロトコルソフトウェアをそれぞれ実行する一対
のプロトコルソフトウェア実行手段と、 プロトコルソフトウェア記憶手段に記憶されている一対
のプロトコルソフトウェアの状態及びパラメータを管理
し、上記プロトコル解析手段からのプロトコルデータと
これに対応するプロトコルソフトウェア記憶手段からの
応答データを比較することにより上記通信システムのプ
ロトコルの誤りを検出するとともに、誤りの内容にした
がって誤りの原因を推定する知的処理手段とを有するこ
とを特徴とするインテリジェント通信プロトコルモニタ
装置。
1. An intelligent communication protocol monitor apparatus for connecting a communication line between one communication system and another communication system, and capturing data flowing through this line to detect a protocol error in the data. , A pair of protocol analysis means for analyzing the protocol by analyzing the data, and a pair of protocol software corresponding to each communication system for correctly operating the protocol negotiated between the one and the other communication systems. Managing the state and parameters of a pair of protocol software stored in the protocol software executing means and the protocol software storing means, and the protocol data from the protocol analyzing means and the corresponding protocol software storing means. An intelligent communication protocol monitor device comprising: intelligent processing means for detecting a protocol error of the communication system by comparing response data from the device and estimating the cause of the error according to the content of the error.
【請求項2】 上記知的処理部は、誤りを検出してもそ
れ以降の通信が行なわれている場合、誤りの内容に従っ
て、双方のプロトコルソフトウェアの状態及びパラメー
タを誤りが発生する以前の値に戻すようにしたことを特
徴とする[請求項1]に記載するインテリジェント通信
プロトコルモニタ装置。
2. The intelligent processing unit, when communication is performed thereafter even if an error is detected, sets the state and parameters of both protocol software according to the content of the error before the error occurs. The intelligent communication protocol monitor device according to claim 1, wherein the intelligent communication protocol monitor device is returned to the above.
JP22313894A 1994-09-19 1994-09-19 Intelligent communication protocol monitor Expired - Fee Related JP3431693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22313894A JP3431693B2 (en) 1994-09-19 1994-09-19 Intelligent communication protocol monitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22313894A JP3431693B2 (en) 1994-09-19 1994-09-19 Intelligent communication protocol monitor

Publications (2)

Publication Number Publication Date
JPH0888672A true JPH0888672A (en) 1996-04-02
JP3431693B2 JP3431693B2 (en) 2003-07-28

Family

ID=16793391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22313894A Expired - Fee Related JP3431693B2 (en) 1994-09-19 1994-09-19 Intelligent communication protocol monitor

Country Status (1)

Country Link
JP (1) JP3431693B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7549010B2 (en) 2005-08-11 2009-06-16 Canon Kabushiki Kaisha Communication apparatus and method
JP2011030083A (en) * 2009-07-28 2011-02-10 Nippon Telegr & Teleph Corp <Ntt> Ip packet analyzing apparatus
US7975054B2 (en) 2005-08-02 2011-07-05 Canon Kabushiki Kaisha Network device and control method of the same
JP2011211544A (en) * 2010-03-30 2011-10-20 Nippon Telegr & Teleph Corp <Ntt> Network analysis apparatus and method of operating the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7975054B2 (en) 2005-08-02 2011-07-05 Canon Kabushiki Kaisha Network device and control method of the same
US7549010B2 (en) 2005-08-11 2009-06-16 Canon Kabushiki Kaisha Communication apparatus and method
JP2011030083A (en) * 2009-07-28 2011-02-10 Nippon Telegr & Teleph Corp <Ntt> Ip packet analyzing apparatus
JP2011211544A (en) * 2010-03-30 2011-10-20 Nippon Telegr & Teleph Corp <Ntt> Network analysis apparatus and method of operating the same

Also Published As

Publication number Publication date
JP3431693B2 (en) 2003-07-28

Similar Documents

Publication Publication Date Title
CN105446827B (en) Date storage method and equipment when a kind of database failure
US20180077230A1 (en) Method and apparatus for switching between servers in server cluster
US10621797B2 (en) System and method for transferring diagnostic commands to a vehicle
WO2017000424A1 (en) Protocol detection method and apparatus
EP0838788A1 (en) System and method for managing time for vehicle fault diagnostic apparatus
CN106302025B (en) Automatic testing method and device for communication protocol
CN107959599B (en) Bus_off fault test system and test method
US7257739B2 (en) Diagnosis of link failures in a network
CN110445688A (en) Interface service function monitoring method and system based on data collection
US20030145125A1 (en) Apparatus and method for analyzing and displaying operations of computer and computer program for the same
JPH0888672A (en) Intelligent communication protocol monitor
WO2016145405A1 (en) Intelligent packet analyzer circuits, systems, and methods
JPH09205429A (en) Network fault diagnostic device, fault prediction device, and its diagnostic and prediction method
JP2642084B2 (en) Multi-protocol network monitoring and diagnostic system
CN112565019B (en) Method, system and electronic equipment for detecting connectivity of database
JP3257656B2 (en) Debug device
JP2536449B2 (en) Trace data collection method for fault location investigation in packet communication network
CN110290545A (en) A kind of online keepalive method of wireless telecom equipment
JP2835907B2 (en) Communication error analyzer for PLC network
JP3912187B2 (en) Production line process management system
CN114328157A (en) Serial port data recording and displaying method and related components
JP2003018329A (en) Line terminating device and fault detecting method using the same
CN116302992A (en) Software test debugging method and device, upper computer and storage medium
JP2003018240A (en) Communication monitor system
JPH0362752A (en) Communication system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030415

LAPS Cancellation because of no payment of annual fees