Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2564978B2 - Communication control program trace data collection method - Google Patents
[go: Go Back, main page]

JP2564978B2 - Communication control program trace data collection method - Google Patents

Communication control program trace data collection method

Info

Publication number
JP2564978B2
JP2564978B2 JP2235903A JP23590390A JP2564978B2 JP 2564978 B2 JP2564978 B2 JP 2564978B2 JP 2235903 A JP2235903 A JP 2235903A JP 23590390 A JP23590390 A JP 23590390A JP 2564978 B2 JP2564978 B2 JP 2564978B2
Authority
JP
Japan
Prior art keywords
trace data
communication
control program
trace
communication control
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.)
Expired - Lifetime
Application number
JP2235903A
Other languages
Japanese (ja)
Other versions
JPH04116748A (en
Inventor
正 森
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2235903A priority Critical patent/JP2564978B2/en
Publication of JPH04116748A publication Critical patent/JPH04116748A/en
Application granted granted Critical
Publication of JP2564978B2 publication Critical patent/JP2564978B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はホスト上で動作する通信管理プログラムが前
置通信処理装置上で動作する通信制御プログラムのトレ
ースデータを収集しホスト上の外部ファイルに格納して
いるオンラインシステムにおける通信制御プログラムの
トレースデータ収集方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention collects trace data of a communication control program operating on a host communication processing program by a communication management program operating on a host, and stores it in an external file on the host. The present invention relates to a trace data collection method for a communication control program in a stored online system.

[従来の技術] 従来、前置通信処理装置上で動作する通信制御プログ
ラムが採取する各種トレースデータをホスト上で動作す
る通信管理プログラムが収集する場合には、通信制御プ
ログラムから送られてくるトレースデータを通信管理プ
ログラムの資源がある限り受信し、外部ファイルに書き
込むまで保有していた。
[Prior Art] Conventionally, when a communication management program running on a host collects various trace data collected by a communication control program running on a front-end communication processing device, a trace sent from the communication control program As long as the resources of the communication management program are received, the data is held until it is written to the external file.

少し進んだ通信管理プログラムは、自身の資源の総量
を考慮し一定以上資源が使用されている場合には以降の
トレースデータを廃棄していた。
A slightly advanced communication management program discards subsequent trace data when the resources are used for a certain amount or more in consideration of the total amount of the resources of itself.

このようにして通信管理プログラムの資源がトレース
データによって圧迫されないようにして正常なオンライ
ン制御を保証していた。
In this way, the resources of the communication management program are prevented from being overwhelmed by the trace data, and normal online control is guaranteed.

[発明が解決しようとする課題] 上述した従来のホスト上で動作する通信管理プログラ
ムが前置通信処理装置上で動作する通信制御プログラム
のトレースデータを収集しホスト上の外部ファイルに格
納しているオンラインシステムにおける通信制御プログ
ラムのトレースデータ収集方式では、受信するトレース
データに何ら制限値を設けていないため通信制御プログ
ラムのトレース量が多大な場合に通信管理プログラムの
資源をトレースデータによって圧迫し、本来の責務であ
るオンライン制御に支障を来し、場合によっては通信障
害すら発生させる危険がある。
[Problems to be Solved by the Invention] The above-mentioned conventional communication management program operating on a host collects trace data of a communication control program operating on a pre-communication processing device and stores it in an external file on the host. In the trace data collection method of the communication control program in the online system, since no limit value is set for the received trace data, the resources of the communication management program are compressed by the trace data when the trace amount of the communication control program is large, and There is a risk that it may interfere with the online control, which is the responsibility of the company, and even cause a communication failure in some cases.

少し進んだトレースデータ収集方式においても、有限
な資源を考慮することにより通信障害を発生させること
はなくなったが、資源の試用形態に無関係に一定の割合
のみで廃棄如何を判定しているため、実際の業務データ
により資源が廃棄基準以上使用されている場合には、本
来の目的である通信制御ブログラムのトレースデータが
無条件にすべて廃棄されてしまう。
Even in the slightly advanced trace data collection method, communication failures will no longer occur due to consideration of finite resources, but since it is determined whether or not to discard at a fixed rate regardless of the trial form of resources, If the resources are used for more than the discard standard by the actual business data, all trace data of the communication control program, which is the original purpose, is unconditionally discarded.

以上のように従来のトレースデータ収集方式では通信
制御プログラムのトレースデータによって資源が圧迫さ
れ通信障害が発生したり、トレースデータが全て廃棄さ
れてしまいトレースデータを収集してホスト上の外部フ
ァイルに書き込むことができないという欠点がある。
As described above, in the conventional trace data collection method, resources are squeezed by the trace data of the communication control program and a communication failure occurs, or all trace data is discarded and the trace data is collected and written to an external file on the host. There is a drawback that you cannot do it.

本発明の目的は上述の欠点を除去するようにしたトレ
ースデータ収集方式を提供することにある。
It is an object of the present invention to provide a trace data collection method that eliminates the above-mentioned drawbacks.

[課題を解決するための手段] 本発明による通信制御プログラムのトレースデータ収
集方式は、ホスト上で動作する通信管理プログラムが前
置通信処置装置上で動作する通信制御プログラムのトレ
ースデータを収集しホスト上の外部ファイルに格納して
いるオンラインシステムにおいて、 通信制御プログラムからのトレースデータを受信する
トレースデータ受信手段と、 前記トレースデータ受信手段から得たトレースデータ
を前置通信処理装置単位に管理するトレースデータ管理
表と、 通信管理プログラム内滞留トレースデータ量によって
受信トレースデータを廃棄するか外部ファイルに書き込
むかを判定するトレースデータ廃棄判定手段と、 前記トレースデータ廃棄判定手段によって外部ファイ
ルに書き込む様に判定されたトレースデータを外部ファ
イルに書き込むと共に書き込み完了を通知して前記トレ
ースデータ管理表を制御するトレースデータ書き込み手
段とを含む。
[Means for Solving the Problems] In the trace data collection method of the communication control program according to the present invention, the communication management program operating on the host collects the trace data of the communication control program operating on the anterior communication treatment device to collect data from the host. In the online system stored in the above external file, trace data receiving means for receiving trace data from the communication control program, and trace for managing the trace data obtained from the trace data receiving means for each front communication processing device A data management table and a trace data discard judging means for judging whether to discard the received trace data or write it to an external file according to the amount of staying trace data in the communication management program, and a judgment to write to the external file by the trace data discard judging means Traced data Notifies the completion of writing writes the data to an external file containing the trace data writing means for controlling said trace data management table.

[作用] 通信制御プログラムのトレースデータを、ホスト上で
動作する通信管理プログラムがトレースデータ受信手段
によって収集し、トレースデータ廃棄判定手段がトレー
スデータ管理表中に予め設定してあるデータの滞留値と
比較して、新規受信データの書き込みか廃棄を判定し、
書き込み可の場合はその要求をトレースデータ書き込み
手段に通知する。トレースデータ書き込み手段は、その
データをトレースデータ管理表と連携をとって外部ファ
イルに(場合によっては行列待ちもあり得るが)書き込
む。又書き込み終了の作用はトレースデータ管理表にフ
ィードバックされて、以後のトレースデータ廃棄判定手
段の動作に有効となる。
[Operation] The trace data of the communication control program is collected by the trace data receiving means by the communication management program operating on the host, and the trace data discarding judging means stores the data retention value preset in the trace data management table. Compare to determine whether to write or discard new received data,
If the request is writable, the request is notified to the trace data writing means. The trace data writing means writes the data in an external file (in some cases, queue waiting may be possible) in cooperation with the trace data management table. Further, the effect of the end of writing is fed back to the trace data management table and becomes effective for the subsequent operation of the trace data discarding judging means.

[実施例] 次に本発明について図面を参照して詳細に説明する。EXAMPLES Next, the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示す図、第2図はトレー
スデータ廃棄判定手段2の詳細な動作を説明するための
フローチャート、第3図はトレースデータ書き込み手段
3の動作を説明するためのフローチャート、第4図はト
レースデータ管理表4の詳細な形式を示す図である。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a flow chart for explaining the detailed operation of the trace data discarding judging means 2, and FIG. 3 is for explaining the operation of the trace data writing means 3. FIG. 4 is a diagram showing the detailed format of the trace data management table 4.

第1図を参照すると本発明の一実施例は、ホストコン
ピュータ7上で動作する通信管理プログラム5、前置通
信処理装置8上で動作する通信制御プログラム6および
トレースデータを格納する外部ファイル9から構成され
ている。
With reference to FIG. 1, one embodiment of the present invention includes a communication management program 5 operating on a host computer 7, a communication control program 6 operating on a front end communication processing device 8 and an external file 9 for storing trace data. It is configured.

さらに通信管理プログラム5は通信制御プログラム6
が送信するトレースデータを受信するトレースデータ受
信手段1、 前記トレースデータ受信手段1から渡されたトレース
データを前置通信処理装置8単位に管理するトレースデ
ータ管理表4、 このトレースデータ管理表4のデータを基準にして、
滞留トレースデータ数が規定値未満ならば外部ファイル
に書き込み、規定値以上ならば廃棄するよう判定するト
レースデータ廃棄判定手段2、 前記トレースデータ廃棄判定手段2により外部ファイ
ル9に書き込むよう判定されたトレースデータを外部フ
ァイル9に書き込むと共に書き込みが完了した場合にト
レースデータ管理表のトレースデータ滞留数を更新する
トレースデータ書き込み手段3から構成されている。
Further, the communication management program 5 is the communication control program 6
Trace data receiving means 1 for receiving the trace data transmitted by the following, a trace data management table 4 for managing the trace data passed from the trace data receiving means 1 for each pre-communication processing device 8; Based on the data,
Trace data discarding judgment means 2 for judging to write to an external file if the number of staying trace data is less than a specified value, and discarding if it is more than a specified value, traces judged to be written to the external file 9 by the trace data disposal judging means 2 It is composed of the trace data writing means 3 for writing the data to the external file 9 and updating the trace data retention number of the trace data management table when the writing is completed.

次に本発明の動作を第1図から第5図を参照しながら
説明する。
Next, the operation of the present invention will be described with reference to FIGS.

第2図のステップ201〜205を参照するとトレースデー
タ廃棄判定手段2は滞留トレースデータ量判定処理201
でトレースデータ管理表4を元に現在の滞留数403と規
定値402を比較する。滞留数403が規定値402以上であれ
ばトレースデータ廃棄処理205に進み今渡されたトレー
スデータを廃棄する。滞留数403が規定値402未満であれ
ば本トレースデータを外部ファイル9に書き込むべくト
レースデータ書き込み判定処理202に進む。トレースデ
ータ書き込み判定処理202は現在ファイル書き込み中で
あるか否かをトレースデータ管理表4の書き込み制御フ
ラグ406で判定し、書き込み中でなければトレースデー
タ書き込み要求処理203に進む。トレースデータ書き込
み要求処理203は本トレースデータの書き込みをトレー
スデータ書き込み手段3に要求する。判定の結果現在書
き込み中ならばトレースデータ書き込み待ち登録処理20
4に進む。トレースデータ書き込み待ち登録処理204は滞
留トレースデータ数403を1増加させ、本トレースデー
タを滞留トレースデータ待ち行列に登録する。滞留トレ
ースデータ待ち行列はトレースデータ管理表4の滞留ト
レースデータ先頭404と滞留トレースデータ最終405とで
管理する。
Referring to steps 201 to 205 in FIG. 2, the trace data discarding judging means 2 judges the accumulated trace data amount judging process 201.
Then, based on the trace data management table 4, the current retention number 403 is compared with the specified value 402. If the staying number 403 is equal to or larger than the specified value 402, the process proceeds to the trace data discarding process 205, and the trace data passed now is discarded. If the staying number 403 is less than the specified value 402, the process proceeds to the trace data write determination process 202 to write this trace data in the external file 9. The trace data write determination processing 202 determines whether or not the file is currently being written by the write control flag 406 of the trace data management table 4, and if it is not writing, the process proceeds to the trace data write request processing 203. The trace data write request processing 203 requests the trace data write means 3 to write the main trace data. Judgment result If writing is currently in progress, trace data write wait registration processing 20
Go to 4. The trace data write wait registration processing 204 increments the stay trace data count 403 by 1 and registers this trace data in the stay trace data queue. The accumulated trace data queue is managed by the accumulated trace data head 404 and the accumulated trace data last 405 of the trace data management table 4.

第3図のステップ301〜302を参照するとトレースデー
タ書き込み手段3はトレースデータ書き込み処理301で
トレースデータ管理表4の書き込み制御フラグ406を書
き込み中とした上でトレースデータを外部ファイル9に
書き込む。トレースデータ書き込み完了処理302ではト
レースデータ管理表4の滞留トレースデータ待ち行列を
参照し、待ち行列に登録されているトレースデータがあ
れば待ち行列の先頭から1つ外すと共に滞留トレースデ
ータ数403を1減じる。待ち行列に登録されていなけれ
ばトレースデータ管理表4の書き込み制御フラグ406を
書き込み中でない状態にする。
Referring to steps 301 to 302 in FIG. 3, the trace data writing unit 3 writes the trace data to the external file 9 after the write control flag 406 of the trace data management table 4 is being written in the trace data writing process 301. In the trace data write completion processing 302, the accumulated trace data queue in the trace data management table 4 is referenced, and if there is trace data registered in the queue, one is removed from the head of the queue and the accumulated trace data number 403 is set to 1 Reduce. If it is not registered in the queue, the write control flag 406 of the trace data management table 4 is set to the non-writing state.

第4図を参照するとトレースデータ管理表4は通信制
御プログラム各401と滞留トレースデータ規定値402と現
在の滞留数を表す滞留トレースデータ数403と滞留トレ
ースデータ待ち行列を制御する滞留トレースデータ先頭
404と滞留トレースデータ最終405と外部ファイル9への
書き込み状態を制御する書き込み制御フラグ406とから
構成されている。
Referring to FIG. 4, the trace data management table 4 shows the communication control programs 401, stay trace data specified value 402, stay trace data number 403 indicating the current stay count, and stay trace data head for controlling the stay trace data queue.
It is composed of a 404, a stay trace data final 405, and a write control flag 406 for controlling the write state to the external file 9.

[発明の効果] 本発明では、ホスト上で動作する通信管理プログラム
が前置通信処理装置上で動作する通信制御プログラムの
トレースデータを収集しホスト上の外部ファイルに格納
しているオンラインシステムにおいて、通信制御プログ
ラムのトレースデータの通信管理プログラム内滞留量を
前置通信処理装置単位に管理するようにし、全体の資源
の使用量とは独立に、滞留量が規定値未満のときには必
ず保有し、規定値以上のときだけ新規に受信するトレー
スデータを廃棄するようにしているため、トレースデー
タが多大になった場合でも資源を圧迫することなく通常
の業務データの制御が可能となり、また業務データによ
り資源が多量に使用されている状態でも一定量のトレー
スデータは必ず外部ファイルに書き込めるため、高負荷
時のトレースデータも採取できることにより主に高負荷
時に発生する障害解析にも役立つという効果がある。
According to the present invention, in the online system, the communication management program operating on the host collects the trace data of the communication control program operating on the pre-communication processing device and stores it in the external file on the host. The amount of stay in the communication management program of the trace data of the communication control program is managed for each pre-communication processing device, and it is always held when the amount of stay is less than the specified value, independent of the total resource usage. Since the newly received trace data is discarded only when the value exceeds the value, it is possible to control normal business data without overwhelming the resources even when the trace data becomes large. Even if a large amount of data is being used, a certain amount of trace data can always be written to an external file, so The ability to collect trace data also has the effect of being useful for failure analysis, which occurs mainly when the load is high.

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

第1図は本発明の一実施例を示す図、第2図はトレース
データ廃棄判定手段2の詳細な動作を説明するためのフ
ローチャート、第3図はトレースデータ書き込み手段3
の概略動作を説明するためのフローチャート、第4図は
トレースデータ管理表4の詳細な形式を示す図である。 第1図から第4図において、 1……トレースデータ受信手段、2……トレースデータ
廃棄判定手段、3……トレースデータ書き込み手段、4
……トレースデータ管理表、5……通信管理プログラ
ム、6……通信制御プログラム、7……ホストコンピュ
ータ、8……前置通信処理装置、9……外部ファイル。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a flow chart for explaining the detailed operation of the trace data discarding judging means 2, and FIG. 3 is a trace data writing means 3
4 is a flow chart for explaining the outline operation of FIG. 4, and FIG. 4 is a diagram showing a detailed format of the trace data management table 4. 1 to 4, 1 ... Trace data receiving means, 2 ... Trace data discard determining means, 3 ... Trace data writing means, 4
...... Trace data management table, 5 ... Communication management program, 6 ... Communication control program, 7 ... Host computer, 8 ... Front-end communication processing device, 9 ... External file.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ホスト上で動作する通信管理プログラムが
前置通信処理装置上で動作する通信制御プログラムのト
レースデータを収集しホスト上の外部ファイルに格納し
ているオンラインシステムにおいて、 通信制御プログラムからのトレースデータを受信するト
レースデータ受信手段と、 前記トレースデータ受信手段から得たトレースデータを
前置通信処理装置単位に管理するトレースデータ管理表
と、 通信管理プログラム内滞留トレースデータ量によって受
信トレースデータを廃棄するか外部ファイルに書き込む
かを判定するトレースデータ廃棄判定手段と、 前記トレースデータ廃棄判定手段によって外部ファイル
に書き込む様に判定されたトレースデータを外部ファイ
ルに書き込むと共に書き込み完了を通知して前記トレー
スデータ管理表を制御するトレースデータ書き込み手段
とを有することを特徴とする通信制御プログラムのトレ
ース収集方式。
1. An online system in which a communication management program operating on a host collects trace data of a communication control program operating on a pre-communication processing device and stores the trace data in an external file on the host. Trace data receiving means for receiving the trace data of, the trace data management table for managing the trace data obtained from the trace data receiving means for each pre-communication processing device, and the received trace data according to the amount of accumulated trace data in the communication management program Trace data discarding determining means for determining whether to discard or write to an external file, and write the trace data determined to be written to the external file by the trace data discarding determining means to the external file and notify the completion of writing and Trace data pipe A trace collection method for a communication control program, comprising: trace data writing means for controlling a scientific table.
JP2235903A 1990-09-07 1990-09-07 Communication control program trace data collection method Expired - Lifetime JP2564978B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2235903A JP2564978B2 (en) 1990-09-07 1990-09-07 Communication control program trace data collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2235903A JP2564978B2 (en) 1990-09-07 1990-09-07 Communication control program trace data collection method

Publications (2)

Publication Number Publication Date
JPH04116748A JPH04116748A (en) 1992-04-17
JP2564978B2 true JP2564978B2 (en) 1996-12-18

Family

ID=16992944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2235903A Expired - Lifetime JP2564978B2 (en) 1990-09-07 1990-09-07 Communication control program trace data collection method

Country Status (1)

Country Link
JP (1) JP2564978B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006003186A (en) 2004-06-17 2006-01-05 Yokogawa Electric Corp Vibration type pressure sensor

Also Published As

Publication number Publication date
JPH04116748A (en) 1992-04-17

Similar Documents

Publication Publication Date Title
CN107527317B (en) Data Transmission System Based on Image Processing
JPH05197568A (en) Computer system and method of event management
CN111431757A (en) Virtual network flow acquisition method and device
CN102346710A (en) Dynamic stubbing technology based time-delay analysis method for data packet processing
WO2021093365A1 (en) Gpu video memory management control method and related device
US7840725B2 (en) Capture of data in a computer network
CN117632860A (en) Method and device for merging small files based on Flink engine and electronic equipment
CN112667614A (en) A data processing method, device and computer equipment
CN113157467B (en) Multi-process data output method
US20050114608A1 (en) Storage device having a capability of learning access patterns
US9405472B2 (en) Tracking ownership of memory in a data processing system through use of a memory monitor
JP2564978B2 (en) Communication control program trace data collection method
JPH11203193A (en) Shared memory management device and method
CN102984680B (en) A kind of method that realizes number tracking in the external interface of telecom operation system
JPS603229B2 (en) Information processing method
JP2882859B2 (en) Online event processing time analysis method
CN118503016B (en) A GPU command abnormality recovery method
JPH03237544A (en) Communication control processing device
JPH0310343A (en) Hot spot data management processing system
CN108920722A (en) A kind of method, apparatus and computer storage medium of parameter configuration
JPH04320556A (en) Sampling system for transaction execution tracing information
CN120067018A (en) Interface interaction device, data interaction method, storage medium and electronic equipment
JPS63298550A (en) Non-stop trace system
CN120045525A (en) Log data processing method, device, electronic equipment and readable storage medium
CN112965950A (en) Method for realizing storage of stream data write-in object