JPH05252237A - Collection system for communication trace data - Google Patents
Collection system for communication trace dataInfo
- Publication number
- JPH05252237A JPH05252237A JP4049076A JP4907692A JPH05252237A JP H05252237 A JPH05252237 A JP H05252237A JP 4049076 A JP4049076 A JP 4049076A JP 4907692 A JP4907692 A JP 4907692A JP H05252237 A JPH05252237 A JP H05252237A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- trace
- signal
- control process
- received
- 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.)
- Withdrawn
Links
Landscapes
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は通信トレースデータの採
取方式に関し、特に通信障害発生時のトレースデータの
自動ダンプ方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for collecting communication trace data, and more particularly to a method for automatically dumping trace data when a communication failure occurs.
【0002】[0002]
【従来の技術】従来の通信システムは、図2に示すよう
に、通信業務を行う通信アプリケーションプログラム1
と、通信機能を有する通信制御プロセス2と、通信トレ
ースの情報を記録しておくトレース用メモリ4と、通信
トレース情報を出力するためのダンプファイル5と、通
信を行う相手である相手局6とから構成されている。2. Description of the Related Art A conventional communication system, as shown in FIG. 2, is a communication application program 1 for performing communication work.
A communication control process 2 having a communication function, a trace memory 4 for recording communication trace information, a dump file 5 for outputting communication trace information, and a partner station 6 with which communication is performed. It consists of
【0003】次に、動作について説明する。Next, the operation will be described.
【0004】通信アプリケーションプログラム1は、通
信制御プロセス2を通して相手局6と通信業務を行う。
通信業務中、通信制御プロセス2は通信内容や、通信結
果を随時トレース用メモリ4に記録する。通信アプリケ
ーションプログラム1が通信業務を異常終了した時、又
は通信アプリケーションプログラム1が通信制御プロセ
ス2に対して通信トレースダンプファイル出力コマンド
を発行した時、通信制御プロセス2は、トレース用メモ
リ4の内容をダンプファイル5に出力する。The communication application program 1 communicates with the partner station 6 through the communication control process 2.
During the communication work, the communication control process 2 records the communication content and the communication result in the trace memory 4 as needed. When the communication application program 1 abnormally terminates the communication work or when the communication application program 1 issues a communication trace dump file output command to the communication control process 2, the communication control process 2 changes the contents of the trace memory 4 Output to dump file 5.
【0005】[0005]
【発明が解決しようとする課題】上述した従来の通信ト
レースデータの採取方式は、ダンプファイルの採取のき
っかけが、通信アプリケーションプログラムが異常終了
した時、または通信アプリケーションプログラムが通信
制御プロセスに対して通信トレースダンプファイル出力
コマンドを発行した時のみであったため、通信制御プロ
セス自身が異常になった場合や、通信異常を検出した場
合には、通信トレースダンプファイルが出力できないと
いう欠点があった。In the conventional communication trace data collection method described above, the dump file collection is triggered when the communication application program terminates abnormally, or the communication application program communicates with the communication control process. Since it was only when the trace dump file output command was issued, there was a drawback that the communication trace dump file could not be output when the communication control process itself became abnormal or when a communication error was detected.
【0006】[0006]
【課題を解決するための手段】第1の発明は、相手局と
通信回線を介してデータの送受信を行うコンピュータシ
ステムにおける通信トレースデータの採取方式におい
て、通信アプリケーションプログラムからの要求を受け
て前記相手局と通信を行い前記通信を行うたびに通信内
容や通信結果をトレース情報として予め備えたトレース
共有メモリに記録するとともに通信実行中シグナルを発
行し前記相手局との通信時に通信異常を検出すると異常
発生シグナルを発行する通信制御手段と、前記異常発生
シグナルを受信した場合及び前記通信実行中シグナルを
予め定められた時間内に受信しなかった場合に前記トレ
ース共有メモリから前記トレース情報を読み込み予め備
えたダンプファイルに出力する通信監視手段とを備えた
ことを特徴とする。According to a first aspect of the present invention, there is provided a communication trace data collecting method in a computer system for transmitting / receiving data to / from a partner station via a communication line, wherein the partner is received in response to a request from a communication application program. Each time communication is performed with a station, the communication content and communication result are recorded as trace information in a pre-equipped trace shared memory, and a communication execution signal is issued to detect a communication error during communication with the partner station. A communication control unit that issues a generation signal, and pre-reads the trace information from the trace shared memory when the abnormality generation signal is received and when the communication execution signal is not received within a predetermined time And a communication monitoring means for outputting to a dump file.
【0007】[0007]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Embodiments of the present invention will now be described with reference to the drawings.
【0008】図1は本発明の一実施例を示すブロック図
である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【0009】本実施例は、図1に示すように、通信業務
を行う通信アプリケーションプログラム1と、通信機能
を有する通信制御プロセス2と、通信状態の監視を行う
通信監視プロセス3と、通信トレースの情報を記録して
おくトレース用共有メモリ4と、通信トレース情報を出
力するためのダンプファイル5と、通信を行う相手であ
る相手局6とから構成されている。In this embodiment, as shown in FIG. 1, a communication application program 1 for performing communication work, a communication control process 2 having a communication function, a communication monitoring process 3 for monitoring a communication state, and a communication trace. It comprises a shared trace memory 4 for recording information, a dump file 5 for outputting communication trace information, and a partner station 6 which is a partner of communication.
【0010】通信制御プロセス2は、通信中に異常が発
生した場合、通信監視プロセス3に対して異常発生シグ
ナル7を発行する機能と、データの送信及び受信のたび
に通信監視プロセス3に対して通信実行中シグナル8を
発行する機能を有する。The communication control process 2 has a function of issuing an abnormality occurrence signal 7 to the communication monitoring process 3 when an abnormality occurs during communication, and a function for the communication monitoring process 3 each time data is transmitted and received. It has a function of issuing a signal 8 during communication execution.
【0011】次に、動作について説明する。Next, the operation will be described.
【0012】まず、図1を用いて、通常の通信時の動作
例を示す。通信アプリケーションプログラム1は、通信
制御プロセス2が提供する通信機能を使用して相手局6
と通信を行う。通信制御プロセス2は、通信を行うたび
に通信内容や通信結果をトレース情報としてトレース共
有メモリ4に記録する。また、通信制御プロセス2は、
通信を行うたびに通信監視プロセス3に対して通信実行
中シグナル8を発行する。通信アプリケーションプログ
ラム1が通信業務を終了した時、または通信制御プロセ
ス2に対して通信トレースダンプファイル出力コマンド
を発行した時、通信制御プロセス2は、トレース共有メ
モリ4の内容を読み込みダンプファイル5に出力する。First, an operation example during normal communication will be described with reference to FIG. The communication application program 1 uses the communication function provided by the communication control process 2 to communicate with the partner station 6
Communicate with. The communication control process 2 records the communication content and communication result in the trace shared memory 4 as trace information each time communication is performed. In addition, the communication control process 2
The communication execution signal 8 is issued to the communication monitoring process 3 every time communication is performed. When the communication application program 1 finishes communication work or issues a communication trace dump file output command to the communication control process 2, the communication control process 2 reads the contents of the trace shared memory 4 and outputs it to the dump file 5. To do.
【0013】次に、通信制御プロセス2が相手局5と通
信を行っている間に、通信制御プロセス2が異常を検出
した時(例えば、送受信中の回線切断等)は、通信監視
プロセス3に対して異常発生シグナル7を発行する。通
信監視プロセス3は、異常発生シグナル7を受信する
と、トレース共有メモリ4から通信トレース情報を読み
込みダンプファイル5に出力する。Next, when the communication control process 2 detects an abnormality while the communication control process 2 is communicating with the partner station 5 (for example, a line disconnection during transmission / reception), the communication monitoring process 3 is notified. The abnormality occurrence signal 7 is issued in response. Upon receiving the abnormality occurrence signal 7, the communication monitoring process 3 reads communication trace information from the trace shared memory 4 and outputs it to the dump file 5.
【0014】次に、通信制御プロセス2は、相手局とデ
ータの送信及び受信のたびに通信監視プロセス3に対し
て通信実行中シグナル8を発行するが、通信監視プロセ
ス3は、通信実行中シグナル8の時間間隔を測定し、一
定時間以上経過しても次の通信実行中シグナル8が発行
されないと、無通信状態になったと判断し、トレース共
有メモリ4から通信トレース情報を読み込みダンプファ
イル5に出力する。Next, the communication control process 2 issues a communication-in-progress signal 8 to the communication monitoring process 3 each time data is transmitted to or received from the partner station. The time interval of 8 is measured, and if the next communication execution signal 8 is not issued even after a lapse of a certain time or more, it is determined that the communication is not in progress, the communication trace information is read from the trace shared memory 4, and the dump file 5 is read. Output.
【0015】[0015]
【発明の効果】以上説明したように、本発明は、通信ア
プリケーションプログラムの状態に関係なく、通信監視
プロセスにより、通信制御プロセスの異常や、通信制御
プロセスが異常を検出した場合に、通信トレース情報を
ダンプファイルに出力することができるという効果があ
る。As described above, according to the present invention, regardless of the state of the communication application program, when the communication monitoring process detects an abnormality in the communication control process or an abnormality in the communication control process, the communication trace information is displayed. Can be output to a dump file.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】従来例の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an example of a conventional example.
1 通信アプリケーションプログラム 2 通信制御プロセス 3 通信監視プロセス 4 トレース用メモリ 5 ダンプファイル 6 相手局 7 異常発生シグナル 8 通信実行中シグナル 1 communication application program 2 communication control process 3 communication monitoring process 4 trace memory 5 dump file 6 partner station 7 error signal 8 communication execution signal
Claims (1)
を行うコンピュータシステムにおける通信トレースデー
タの採取方式において、通信アプリケーションプログラ
ムからの要求を受けて前記相手局と通信を行い前記通信
を行うたびに通信内容や通信結果をトレース情報として
予め備えたトレース共有メモリに記録するとともに通信
実行中シグナルを発行し前記相手局との通信時に通信異
常を検出すると異常発生シグナルを発行する通信制御手
段と、前記異常発生シグナルを受信した場合及び前記通
信実行中シグナルを予め定められた時間内に受信しなか
った場合に前記トレース共有メモリから前記トレース情
報を読み込み予め備えたダンプファイルに出力する通信
監視手段とを備えたことを特徴とする通信トレースデー
タの採取方式。1. A communication trace data collection method in a computer system for transmitting / receiving data to / from a partner station via a communication line, each time communication is performed with the partner station in response to a request from a communication application program. A communication control unit that records the communication content and the communication result as trace information in a pre-provided trace shared memory and issues a signal during communication and issues an error occurrence signal when a communication error is detected during communication with the partner station, A communication monitoring unit that reads the trace information from the trace shared memory and outputs it to a dump file provided in advance when the abnormality occurrence signal is received and when the communication execution signal is not received within a predetermined time. A method for collecting communication trace data, characterized by being equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4049076A JPH05252237A (en) | 1992-03-06 | 1992-03-06 | Collection system for communication trace data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4049076A JPH05252237A (en) | 1992-03-06 | 1992-03-06 | Collection system for communication trace data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05252237A true JPH05252237A (en) | 1993-09-28 |
Family
ID=12820998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4049076A Withdrawn JPH05252237A (en) | 1992-03-06 | 1992-03-06 | Collection system for communication trace data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05252237A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009104274A1 (en) * | 2008-02-22 | 2009-08-27 | 富士通株式会社 | Information processing unit, method for assisting process verification, and program for assisting process verification |
-
1992
- 1992-03-06 JP JP4049076A patent/JPH05252237A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009104274A1 (en) * | 2008-02-22 | 2009-08-27 | 富士通株式会社 | Information processing unit, method for assisting process verification, and program for assisting process verification |
US8225141B2 (en) | 2008-02-22 | 2012-07-17 | Fujitsu Limited | Information processing apparatus, process verification support method, and computer product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH05252237A (en) | Collection system for communication trace data | |
JPH08286943A (en) | Abnormality detector for data processor | |
JPH036748A (en) | On-line terminal equipment | |
JPS6146543A (en) | Fault processing system of transfer device | |
JPS633351B2 (en) | ||
JPH0375856A (en) | Applied protocol machine testing system | |
JP2513121B2 (en) | Transmission device for serial bus | |
JP2557127B2 (en) | Transmission terminal equipment | |
JP2531831B2 (en) | Network network communication status monitoring device | |
JPH01276859A (en) | Extension communication tracing system | |
JP2663713B2 (en) | Bus connection device | |
JPH0525219B2 (en) | ||
JPS6175463A (en) | Information processing system | |
JP2729184B2 (en) | Output synchronization method in control device using a plurality of data processing devices | |
JPS61136142A (en) | Memory method of input and output data | |
JPH11134261A (en) | Input and output controller | |
JPH0772909A (en) | Supporting device for programmable controller | |
JPH037177B2 (en) | ||
JPH0638603B2 (en) | Communication line scheduling device | |
JPH04225639A (en) | Data transmission equipment | |
JPH0797327B2 (en) | Failure detection method | |
JP2001075641A (en) | Data logging device | |
JPH05183966A (en) | Centralized monitor system | |
JPH01298894A (en) | Data transmitter | |
JPH02176905A (en) | Programmable controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990518 |