JPH064363A - Session state log sampling device - Google Patents

Session state log sampling device

Info

Publication number
JPH064363A
JPH064363A JP4187539A JP18753992A JPH064363A JP H064363 A JPH064363 A JP H064363A JP 4187539 A JP4187539 A JP 4187539A JP 18753992 A JP18753992 A JP 18753992A JP H064363 A JPH064363 A JP H064363A
Authority
JP
Japan
Prior art keywords
log
session
session state
log area
area
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
JP4187539A
Other languages
Japanese (ja)
Inventor
Tatsuhiro Ito
達博 伊藤
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 JP4187539A priority Critical patent/JPH064363A/en
Publication of JPH064363A publication Critical patent/JPH064363A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely record and preserve all the session state logs. CONSTITUTION:When a session event is received from a terminal equipment 1-1, a managing table selecting means 4 selects a session state managing table 3-1 corresponding to terminal identification information added to the event, and a session state control means 5 operates the session state managing table 3-1 corresponding to the received session event. Among plural log areas 6-1 to 6-n provided for each terminal equipment, the log area 6-1 corresponding to the terminal identification information is selected by a write log area selecting means 7, and a log area writing means 8 writes the session state log containing the session state information in the session state managing table 3-1 operated by the session state control means 5 and the received session event in the log area 6-1. When empty areas are lacked, in that case, a file writing means 11 reads the session state log from the log area 6-1 and wirtes it in a terminal log file 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、端末装置とのセッショ
ンの制御を行うオンラインシステムにおけるセッション
状態ログ採取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a session status log collecting device in an online system for controlling a session with a terminal device.

【0002】[0002]

【従来の技術】データ通信におけるデータの送信元と受
け取り先との間の論理的な接続状態であるセッションの
制御を行って、端末装置とデータ通信するオンラインシ
ステムにおいては、端末装置の障害等の種々の原因によ
って、端末装置から通知されるセッション事象(接続要
求,切断要求等)とオンラインシステムが管理するセッ
ション状態情報(接続中,切断中等のセッションの状態
を示す情報)との間に矛盾が発生する。このような矛
盾、即ちセッション状態の異常が生じた場合、その原因
を究明する作業が行われるが、その際に、上記通知され
たセッション事象とその時点のセッション状態情報とを
含むセッションログ情報が障害解析において非常に有効
な資料となる。そこで、従来より、以下のようにしてセ
ッション状態ログを採取している。
2. Description of the Related Art In an online system in which data communication with a terminal device is performed by controlling a session, which is a logical connection state between a data transmission source and a data reception destination in data communication, a failure of the terminal device, etc. Due to various causes, there is a contradiction between the session event (connection request, disconnection request, etc.) notified from the terminal device and the session state information managed by the online system (information indicating the session state such as connecting or disconnecting). Occur. When such a contradiction, that is, when an abnormality in the session state occurs, work for investigating the cause is performed, but at that time, the session log information including the notified session event and the session state information at that time is recorded. It is a very effective material for failure analysis. Therefore, conventionally, the session status log is collected as follows.

【0003】先ず、オンラインシステムの起動時に、主
記憶等のメモリ上に各端末装置共通のログ領域を確保
し、セッション状態ログの記録を開始する。即ち、例え
ば端末装置からセッション事象が通知される毎に、その
セッション事象とその時点においてシステムで管理され
ているセッション状態情報とを含むセッション状態ログ
を上記ログ領域に順次書き込む。なお、ログ領域には限
りがあるため、全ての領域を使い切った後は最も古いセ
ッション状態ログが記録されている領域に最新のセッシ
ョン状態ログを上書きする方法を採用する。
First, when the online system is started up, a log area common to each terminal device is secured in a memory such as a main memory and recording of a session state log is started. That is, for example, each time a session event is notified from the terminal device, a session status log including the session event and session status information managed by the system at that time is sequentially written in the log area. Since the log area is limited, the method of overwriting the latest session status log in the area where the oldest session status log is recorded after all areas are used up is adopted.

【0004】そして、端末装置から通知されるセッショ
ン事象とシステム自身が管理するセッション状態情報と
の間に矛盾を検出すると、オンラインシステムはコンソ
ール等を通じてシステム操作員にその旨を通知する。そ
して、この後もセッション状態の異常を検出した端末装
置以外の端末装置にかかるセッション状態ログの記録を
継続する。
When an inconsistency is detected between the session event notified from the terminal device and the session state information managed by the system itself, the online system notifies the system operator of the fact through the console or the like. Then, after this, the recording of the session state log relating to the terminal devices other than the terminal device in which the abnormality in the session state is detected is continued.

【0005】オンラインシステムのセッション制御の異
常を上記コンソール等からの通知で認識したシステム操
作員は、コンソール操作等によって上記ログ領域からセ
ッション状態ログを読み出してファイルに書き込むこと
により、セッション状態ログを確保する。
The system operator who has recognized the abnormality in the session control of the online system by the notification from the console or the like secures the session state log by reading the session state log from the log area by the console operation or the like and writing it in a file. To do.

【0006】[0006]

【発明が解決しようとする課題】従来は上述したように
してセッション状態ログを採取していたが、以下のよう
な問題点があった。
Conventionally, the session status log was collected as described above, but there were the following problems.

【0007】全ての端末装置にかかるセッション状態ロ
グを共通のログ領域に記録するようにし、また領域を使
い切ると古いセッション状態ログの領域に最新のセッシ
ョン状態ログを上書きし、更にセッション状態の異常を
システム操作員に通知した後も他の端末装置にかかるセ
ッション状態ログの記録を継続するため、システム操作
員がコンソール等に表示されたセッション制御の異常を
認識できなかった場合、或いは認識およびログ領域から
ファイルへの書き出し操作が遅れた場合、セッション制
御の異常が検出された端末装置に関するセッション状態
ログが、それ以外の端末装置に関するセッション状態ロ
グによって上書きされ、障害解析に役立つセッション状
態ログが失われる可能性が高い。このようなことは、シ
ステム操作員がログ領域のセッション状態ログをファイ
ルへ書き出す操作を行っている最中に、多重にセッショ
ン状態の異常が検出された場合にも、ファイルへの書き
出しが追いつかないことから同様に問題となる。
The session status log concerning all terminal devices is recorded in a common log area, and when the area is used up, the latest session status log is overwritten in the area of the old session status log, and the abnormal session status is detected. Even if the system operator does not recognize the session control error displayed on the console, etc., because the session status log recording to other terminal devices will continue to be recorded even after notifying the system operator, or the recognition and log area If the write operation to the file is delayed, the session state log related to the terminal device where the abnormal session control is detected is overwritten by the session state log related to the other terminal device, and the session state log useful for failure analysis is lost. Probability is high. If a system operator is writing a session status log in the log area to a file and multiple session status errors are detected, writing to the file cannot keep up. This is also a problem.

【0008】ログ領域に記録されたセッション状態ログ
のファイルへの書き出しをシステム操作員の操作に頼る
ため、システム操作員の負担が大きい。
Since the writing of the session state log recorded in the log area to the file depends on the operation of the system operator, the burden on the system operator is heavy.

【0009】本発明はこのような事情に鑑みて為された
ものであり、その目的は、システム操作員に負担をかけ
ることなく障害解析に役立つセッション状態ログの消失
を極力防止することにある。
The present invention has been made in view of such circumstances, and an object thereof is to prevent the loss of a session state log useful for failure analysis as much as possible without imposing a burden on a system operator.

【0010】[0010]

【課題を解決するための手段】本発明は上記の目的を達
成するために、以下の(A),(B)のような構成を採
用している。
The present invention adopts the following configurations (A) and (B) in order to achieve the above object.

【0011】(A)端末装置とのセッションの制御を行
うオンラインシステムにおいて、端末装置から受け取っ
たセッション事象に付随する端末識別情報に対応するセ
ッション状態管理表を選択する管理表選択手段と、該管
理表選択手段で選択されたセッション状態管理表を前記
受け取ったセッション事象に応じて操作するセッション
状態制御手段と、端末装置毎に設けられた複数のログ領
域と、該複数のログ領域のうちから前記端末識別情報に
対応するログ領域を選択する書き込みログ領域選択手段
と、前記セッション状態制御手段で操作されるセッショ
ン状態管理表中のセッション状態情報と前記受け取った
セッション事象とを含むセッション状態ログを前記書き
込みログ領域選択手段で選択されたログ領域に書き込む
ログ領域書き込み手段とを備える構成。
(A) In an online system for controlling a session with a terminal device, management table selecting means for selecting a session state management table corresponding to terminal identification information associated with a session event received from the terminal device, and the management. Session state control means for operating the session state management table selected by the table selection means in accordance with the received session event, a plurality of log areas provided for each terminal device, and a plurality of log areas among the plurality of log areas A write log area selecting means for selecting a log area corresponding to terminal identification information; and a session status log including session status information in the session status management table operated by the session status control means and the received session event, Write log area Writing to the log area selected by the log area selection means Configuration and a stage.

【0012】なお、好ましい実施例においては、前記ロ
グ領域書き込み手段が前記ログ領域の空き領域不足を検
出することにより、前記ログ領域からセッション状態ロ
グを読み出して端末ログファイルに書き出すファイル書
き出し手段を備え、更に、前記セッション状態制御手段
がセッション状態の異常を検出することにより、異常に
かかるセッション事象に付随する端末識別情報に対応す
るログ領域を選択する書き出しログ領域選択手段を備
え、前記ファイル書き出し手段は、該書き出しログ領域
選択手段で選択されたログ領域からセッション状態ログ
を読み出して前記端末ログファイルに書き出すようにし
ている。
In a preferred embodiment, the log area writing means detects the lack of free space in the log area, so that the session area log is read from the log area and is written in a terminal log file. Further comprising write log area selecting means for selecting a log area corresponding to the terminal identification information associated with the abnormal session event when the session state control means detects an abnormal session state, and the file writing means Reads out the session status log from the log area selected by the write log area selecting means and writes it in the terminal log file.

【0013】(B)端末装置とのセッションの制御を行
うオンラインシステムにおいて、端末装置から受け取っ
たセッション事象に付随する端末識別情報に対応するセ
ッション状態管理表を選択する管理表選択手段と、該管
理表選択手段で選択されたセッション状態管理表を前記
受け取ったセッション事象に応じて操作するセッション
状態制御手段と、端末装置毎に設けられた複数のログ領
域と、前記セッション状態制御手段がセッション状態の
異常を検出することにより、前記複数のログ領域のうち
から異常にかかるセッション事象に付随する端末識別情
報に対応するログ領域を選択する書き込みログ領域選択
手段と、前記セッション状態制御手段で操作される前記
セッション状態管理表中のセッション状態情報と前記異
常にかかるセッション事象とを含むセッション状態ログ
を前記書き込みログ領域選択手段で選択されたログ領域
に書き込むログ領域書き込み手段とを備える構成。
(B) In an online system for controlling a session with a terminal device, management table selection means for selecting a session state management table corresponding to terminal identification information associated with a session event received from the terminal device, and the management. Session state control means for operating the session state management table selected by the table selection means according to the received session event, a plurality of log areas provided for each terminal device, and the session state control means A write log area selecting unit that selects a log area corresponding to the terminal identification information associated with the abnormal session event from the plurality of log areas by detecting an abnormality, and is operated by the session state control unit. Session status information in the session status management table and the session related to the abnormality Configuration and a log area writing means for writing the session status log to a selected log area in the write log area selecting means including a down event.

【0014】なお、好ましい実施例においては、前記ロ
グ領域書き込み手段が前記ログ領域の空き領域不足を検
出することにより、前記ログ領域からセッション状態ロ
グを読み出して端末ログファイルに書き出すファイル書
き出し手段を備えている。
In a preferred embodiment, the log area writing means is provided with a file writing means for reading the session status log from the log area and writing it to a terminal log file when the log area shortage is detected. ing.

【0015】[0015]

【作用】構成(A)のセッション状態ログ採取装置にお
いては、オンラインシステムが端末装置からセッション
事象を受け取ると、管理表選択手段が、そのセッション
事象に付随する端末識別情報に対応するセッション状態
管理表を選択し、セッション状態制御手段が、その選択
されたセッション状態管理表を前記受け取ったセッショ
ン事象に応じて操作する。そして、書き込みログ領域選
択手段が、端末装置毎に設けられた複数のログ領域のう
ちから前記端末識別情報に対応するログ領域を選択し、
ログ領域書き込み手段が、セッション状態制御手段で操
作されるセッション状態管理表中のセッション状態情報
と前記受け取ったセッション事象とを含むセッション状
態ログを書き込みログ領域選択手段で選択されたログ領
域に書き込む。
In the session state log collecting device of the configuration (A), when the online system receives a session event from the terminal device, the management table selection means causes the session state management table corresponding to the terminal identification information associated with the session event. And the session state control means operates the selected session state management table according to the received session event. Then, the writing log area selection means selects a log area corresponding to the terminal identification information from among a plurality of log areas provided for each terminal device,
The log area writing means writes the session status log including the session status information in the session status management table operated by the session status control means and the received session event in the log area selected by the write log area selecting means.

【0016】また、ログ領域書き込み手段がログ領域の
空き領域不足を検出すると、ファイル書き出し手段が、
その空き領域不足のログ領域からセッション状態ログを
読み出して端末ログファイルに書き出すことにより、空
き領域を増大させる。
When the log area writing means detects a shortage of free space in the log area, the file writing means
The free area is increased by reading the session status log from the log area with insufficient free area and writing it to the terminal log file.

【0017】更に、セッション状態制御手段がセッショ
ン状態の異常を検出すると、書き出しログ領域選択手段
が、その異常にかかるセッション事象に付随する端末識
別情報に対応するログ領域を選択し、ファイル書き出し
手段が、この選択されたログ領域からセッション状態ロ
グを読み出して端末ログファイルに書き出す。
Further, when the session state control means detects an abnormal session state, the writing log area selecting means selects a log area corresponding to the terminal identification information associated with the session event related to the abnormality, and the file writing means selects the log area. , Read the session status log from this selected log area and write it to the terminal log file.

【0018】構成(B)のセッション状態ログ採取装置
においては、オンラインシステムが端末装置からセッシ
ョン事象を受け取ると、管理表選択手段が、そのセッシ
ョン事象に付随する端末識別情報に対応するセッション
状態管理表を選択し、セッション状態制御手段が、その
選択されたセッション状態管理表を前記受け取ったセッ
ション事象に応じて操作する。そして、セッション状態
制御手段がセッション状態の異常を検出すると、書き込
みログ領域選択手段が、端末装置毎に設けられた複数の
ログ領域のうちから異常にかかるセッション事象に付随
する端末識別情報に対応するログ領域を選択し、ログ領
域書き込み手段が、セッション状態制御手段で操作され
る前記セッション状態管理表中のセッション状態情報と
前記異常にかかるセッション事象とを含むセッション状
態ログを書き込みログ領域選択手段で選択されたログ領
域に書き込む。
In the session status log collecting apparatus of the configuration (B), when the online system receives a session event from the terminal device, the management table selecting means causes the session status management table corresponding to the terminal identification information associated with the session event. And the session state control means operates the selected session state management table according to the received session event. When the session state control means detects an abnormality in the session state, the write log area selection means responds to the terminal identification information associated with the abnormal session event from the plurality of log areas provided for each terminal device. A log area is selected, and the log area writing unit writes a session state log including session state information in the session state management table operated by the session state control unit and the abnormal session event by the log area selecting unit. Write to the selected log area.

【0019】また、ログ領域書き込み手段がログ領域の
空き領域不足を検出すると、ファイル書き出し手段が、
その空き領域不足のログ領域からセッション状態ログを
読み出して端末ログファイルに書き出すことにより、空
き領域を増大させる。
When the log area writing means detects a shortage of free space in the log area, the file writing means
The free area is increased by reading the session status log from the log area with insufficient free area and writing it to the terminal log file.

【0020】[0020]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0021】図1を参照すると、本発明の一実施例のセ
ッション状態ログ採取装置は、複数の端末装置1−1〜
1−nと通信回線等により接続されたホストコンピュー
タ等に設けられ端末装置1−1〜1−nとの間のセッシ
ョンの制御を行うオンラインシステム2において、端末
装置1−1〜1−n対応に設けられたセッション状態管
理表3−1〜3−nと、管理表選択手段4と、セッショ
ン状態制御手段5と、端末装置1−1〜1−n対応に設
けられた主記憶上等のログ領域6−1〜6−nと、書き
込みログ領域選択手段7と、ログ領域書き込み手段8
と、書き出しログ領域選択手段9と、端末ログファイル
10と、ファイル書き出し手段11とを備えている。
Referring to FIG. 1, a session status log collecting apparatus according to an embodiment of the present invention includes a plurality of terminal devices 1-1 to 1-1.
In the online system 2 for controlling a session between the terminal devices 1-1 to 1-n provided in a host computer or the like connected to 1-n by a communication line or the like, the terminal devices 1-1 to 1-n are supported. Of the session state management tables 3-1 to 3-n, the management table selection means 4, the session state control means 5, and the main memory provided corresponding to the terminal devices 1-1 to 1-n. Log areas 6-1 to 6-n, write log area selecting means 7, and log area writing means 8
And a writing log area selecting means 9, a terminal log file 10, and a file writing means 11.

【0022】図1において、端末装置1−1からセッシ
ョン事象を受け取ると、オンラインシステム2の管理表
選択手段4は、そのセッション事象に付随する端末識別
情報よりセッション事象の発信元である端末装置1−1
を認識し、その端末装置1−1に対応するセッション状
態管理表3−1を選択し、セッション事象を渡してセッ
ション状態制御手段5を起動する。
In FIG. 1, when a session event is received from the terminal device 1-1, the management table selecting means 4 of the online system 2 uses the terminal identification information attached to the session event to determine the terminal device 1 which is the source of the session event. -1
Is selected, the session state management table 3-1 corresponding to the terminal device 1-1 is selected, the session event is passed, and the session state control means 5 is activated.

【0023】セッション状態制御手段5は、通知された
セッション事象に応じて、管理表選択手段4によって選
択されたセッション状態管理表3−1を操作、即ちセッ
ション状態情報の更新等を行う。そして、今回通知され
たセッション事象と操作対象のセッション状態管理表3
−1の内容であるセッション状態情報とを渡して書き込
みログ領域選択手段7を起動する。
The session state control means 5 operates the session state management table 3-1 selected by the management table selection means 4 in accordance with the notified session event, that is, updates the session state information. Then, the session event notified this time and the session state management table 3 of the operation target
The session state information, which is the content of -1, is passed to activate the write log area selection means 7.

【0024】また、セッション状態制御手段5は、セッ
ション状態管理表3−1を操作する際、通知されたセッ
ション事象とセッション状態管理表3−1のセッション
状態情報との間に矛盾が無いかを検定し、矛盾を検出し
た場合にはそのセッション状態情報を渡して書き出しロ
グ領域選択手段9を起動する。なお、どのような矛盾を
検出の対象とするかの検定基準は、端末装置1−1との
間のセッション事象の遷移を定める通信プロトコルに沿
う。
Further, when operating the session state management table 3-1, the session state control means 5 determines whether or not there is a contradiction between the notified session event and the session state information of the session state management table 3-1. When it is verified that the contradiction is detected, the session state information is passed and the writing log area selecting means 9 is activated. In addition, the verification standard of what kind of contradiction is to be detected is in accordance with the communication protocol that defines the transition of the session event with the terminal device 1-1.

【0025】書き込みログ領域選択手段7は、通知され
たセッション事象に付随する端末識別情報よりセッショ
ン事象の発信元である端末装置1−1を認識し、その端
末装置1−1に対応するログ領域6−1を選択し、セッ
ション状態制御手段5から渡されたセッション事象とセ
ッション状態情報とをログ領域書き込み手段8に渡して
これを起動する。
The write log area selecting means 7 recognizes the terminal device 1-1 which is the source of the session event from the terminal identification information attached to the notified session event, and the log area corresponding to the terminal device 1-1. 6-1 is selected, and the session event and session state information passed from the session state control means 5 are passed to the log area writing means 8 to be activated.

【0026】ログ領域書き込み手段8は、通知されたセ
ッション事象とセッション状態情報とを含むセッション
状態ログを編集し、書き込みログ領域選択手段7で選択
されたログ領域6−1に書き込む。そして、ログ領域6
−1の空き領域を調べ、次回以降の書き込みに必要な空
き領域が不足していれば、ログ領域6−1を選択し、フ
ァイル書き出し手段11を起動する。
The log area writing means 8 edits the session state log including the notified session event and session state information, and writes it in the log area 6-1 selected by the write log area selecting means 7. And the log area 6
The free area of -1 is checked, and if the free area required for writing from the next time is insufficient, the log area 6-1 is selected and the file writing means 11 is activated.

【0027】ログ領域書き込み手段8によって起動され
たファイル書き出し手段11は、ログ領域書き込み手段
8によって選択されたログ領域6−1に記録されている
端末装置1−1に関するセッション状態ログを全て読み
出し、端末ログファイル10に書き出す。これにより、
ログ領域6−1の空き領域が拡大される。
The file writing means 11 activated by the log area writing means 8 reads all session state logs relating to the terminal device 1-1 recorded in the log area 6-1 selected by the log area writing means 8, Write to the terminal log file 10. This allows
The free area of the log area 6-1 is expanded.

【0028】他方、セッション状態制御手段5におい
て、通知されたセッション事象とセッション状態管理表
3−1のセッション状態情報との間の矛盾が検出された
ことにより同手段5からセッション事象を渡されて起動
された書き出しログ領域選択手段9は、通知されたセッ
ション事象に付随する端末識別情報によりセッション事
象の発信元である端末装置1−1を認識し、その端末装
置1−1に対応するログ領域6−1を選択してファイル
書き出し手段11を起動する。
On the other hand, in the session state control means 5, when the discrepancy between the notified session event and the session state information in the session state management table 3-1 is detected, the session event is passed from the means 5 The activated write log area selecting means 9 recognizes the terminal device 1-1 which is the source of the session event based on the terminal identification information attached to the notified session event, and the log area corresponding to the terminal device 1-1. 6-1 is selected and the file writing means 11 is started.

【0029】書き出しログ領域選択手段9によって起動
されたファイル書き出し手段11は、書き出しログ領域
選択手段9によって選択されたログ領域6−1に記録さ
れている端末装置1−1に関するセッション状態ログを
全て読み出し、端末ログファイル10に書き出す。
The file writing means 11 activated by the writing log area selecting means 9 collects all session state logs relating to the terminal device 1-1 recorded in the log area 6-1 selected by the writing log area selecting means 9. Read and write to the terminal log file 10.

【0030】以上の動作は端末装置1−1からセッショ
ン事象を受け取ったときの動作であるが、他の端末装置
1−n等からセッション事象を受け取ったときも同様の
動作が行われ、セッション事象の発信元の端末装置に対
応するログ領域にセッション状態ログが記録され、その
ログ領域に空き領域不足が生じていればファイル書き出
し手段11によって端末ログファイル10に書き出さ
れ、更にセッション制御の異常検出時には書き出しログ
領域選択手段9によって該当するログ領域が選択されて
その内容がファイル書き出し手段11によって端末ログ
ファイル10に速やかに書き出される。
The above operation is the operation when the session event is received from the terminal device 1-1, but the same operation is performed when the session event is received from the other terminal device 1-n or the like, and the session event occurs. The session state log is recorded in the log area corresponding to the terminal device that is the source of the transmission, and if there is insufficient free space in the log area, the file writing means 11 writes the session status log in the terminal log file 10. Further, the session control is abnormal. At the time of detection, the corresponding log area is selected by the writing log area selecting means 9 and the contents thereof are promptly written to the terminal log file 10 by the file writing means 11.

【0031】なお、ログ領域書き込み手段8によるログ
領域6−1〜6−nへのセッション状態ログの書き込み
と、ファイル書き出し手段11によるログ領域6−1〜
6−n中のセッション状態ログの端末ログファイル10
への書き出しは独立して行われる。従って、セッション
状態ログの端末ログファイル10への書き出しの最中も
セッション状態ログをログ領域6−1〜6−nへ継続し
て書き込むことができる。
The session area log is written to the log areas 6-1 to 6-n by the log area writing means 8 and the log area 6-1 to the log area 6-1 by the file writing means 11.
Terminal log file 10 of session status log in 6-n
Writing to is done independently. Therefore, the session status log can be continuously written to the log areas 6-1 to 6-n even while the session status log is being written to the terminal log file 10.

【0032】図2は本発明の別の実施例の構成図であ
り、図1と同一符号は同一部分を示し、5’はセッショ
ン状態制御手段、11’はファイル書き出し手段であ
る。
FIG. 2 is a block diagram of another embodiment of the present invention, in which the same reference numerals as those in FIG. 1 denote the same parts, 5'is session state control means, and 11 'is file writing means.

【0033】図2に示す実施例のセッション状態ログ採
取装置が図1の実施例のセッション状態ログ採取装置と
相違するところは、採取するセッション状態ログをセッ
ション制御の異常発生時のものに限定した点等にある。
以下、この実施例の動作を説明する。
The difference between the session status log collecting apparatus of the embodiment shown in FIG. 2 and the session status log collecting apparatus of the embodiment of FIG. 1 is that the session status log to be collected is limited to that when a session control error occurs. There is a point etc.
The operation of this embodiment will be described below.

【0034】図2において、端末装置1−1からセッシ
ョン事象を受け取ると、オンラインシステム2の管理表
選択手段4は、そのセッション事象に付随する端末識別
情報よりセッション事象の発信元である端末装置1−1
を認識し、その端末装置1−1に対応するセッション状
態管理表3−1を選択し、セッション事象を渡してセッ
ション状態制御手段5を起動する。
In FIG. 2, when a session event is received from the terminal device 1-1, the management table selecting means 4 of the online system 2 uses the terminal identification information associated with the session event as the source terminal device 1 of the session event. -1
Is selected, the session state management table 3-1 corresponding to the terminal device 1-1 is selected, the session event is passed, and the session state control means 5 is activated.

【0035】セッション状態制御手段5’は、通知され
たセッション事象に応じて、管理表選択手段4によって
選択されたセッション状態管理表3−1を操作する。そ
して、その際、通知されたセッション事象とセッション
状態管理表3−1のセッション状態情報との間に矛盾を
検出すると、今回通知されたセッション事象と操作対象
のセッション状態管理表3−1の内容であるセッション
状態情報とを渡して書き込みログ領域選択手段7を起動
する。
The session state control means 5'operates the session state management table 3-1 selected by the management table selection means 4 according to the notified session event. Then, at that time, if a contradiction is detected between the notified session event and the session state information of the session state management table 3-1, the contents of the session event notified this time and the session state management table 3-1 of the operation target are detected. Then, the write log area selection means 7 is activated by passing the session state information which is

【0036】書き込みログ領域選択手段7は、通知され
たセッション事象に付随する端末識別情報より異常にか
かるセッション事象の発信元である端末装置1−1を認
識し、その端末装置1−1に対応するログ領域6−1を
選択し、セッション状態制御手段5’から渡されたセッ
ション事象とセッション状態情報とをログ領域書き込み
手段8に渡してこれを起動する。
The writing log area selecting means 7 recognizes the terminal device 1-1 which is the source of the abnormal session event from the terminal identification information attached to the notified session event, and corresponds to the terminal device 1-1. The log area 6-1 is selected, and the session event and the session status information passed from the session state control means 5'are passed to the log area writing means 8 to be activated.

【0037】ログ領域書き込み手段8は、通知されたセ
ッション事象とセッション状態情報とを含むセッション
状態ログを編集し、書き込みログ領域選択手段7で選択
されたログ領域6−1に書き込む。そして、ログ領域6
−1の空き領域を調べ、次回以降の書き込みに必要な空
き領域が不足していれば、ログ領域6−1を選択し、フ
ァイル書き出し手段11’を起動する。
The log area writing means 8 edits the session state log including the notified session event and session state information, and writes it in the log area 6-1 selected by the write log area selecting means 7. And the log area 6
The free area of -1 is checked, and if the free area required for the next and subsequent writing is insufficient, the log area 6-1 is selected and the file writing means 11 'is activated.

【0038】ファイル書き出し手段11’は、ログ領域
書き込み手段8によって選択されたログ領域6−1に記
録されている端末装置1−1に関するセッション状態ロ
グを全て読み出し、端末ログファイル10に書き出す。
これにより、ログ領域6−1の空き領域が拡大される。
The file writing means 11 ′ reads all the session status logs relating to the terminal device 1-1 recorded in the log area 6-1 selected by the log area writing means 8 and writes them in the terminal log file 10.
As a result, the free area of the log area 6-1 is expanded.

【0039】以上の動作は、他の端末装置1−n等から
セッション事象を受け取ったときにも同様に行われる。
ログ領域書き込み手段8によるログ領域6−1〜6−n
へのセッション状態ログの書き込みと、ファイル書き出
し手段11’によるログ領域6−1〜6−n中のセッシ
ョン状態ログの端末ログファイル10への書き出しは独
立して行われる。従って、セッション状態ログの端末ロ
グファイル10への書き出しの最中もセッション状態ロ
グをログ領域6−1〜6−nへ継続して書き込むことが
できる。
The above operation is similarly performed when a session event is received from another terminal device 1-n or the like.
Log areas 6-1 to 6-n by the log area writing means 8
The writing of the session state log to the terminal log file 10 and the writing of the session state log in the log areas 6-1 to 6-n by the file writing means 11 'are performed independently. Therefore, the session status log can be continuously written to the log areas 6-1 to 6-n even while the session status log is being written to the terminal log file 10.

【0040】[0040]

【発明の効果】以上説明した本発明のセッション状態ロ
グ採取装置によれば、以下のような効果を得ることがで
きる。
According to the session status log collecting apparatus of the present invention described above, the following effects can be obtained.

【0041】セッション状態ログを記録するログ領域を
端末装置毎に独立して備えているので、或る端末装置に
関するセッション状態ログが他の端末装置のセッション
状態ログによって上書きされて消失することが防止でき
る。
Since the log area for recording the session status log is independently provided for each terminal device, the session status log relating to a certain terminal device is prevented from being overwritten by the session status log of another terminal device and disappearing. it can.

【0042】ログ領域に空き領域が不足すると、ファイ
ル書き出し手段によって自動的にそのログ領域のセッシ
ョン状態ログが端末ログファイルに書き出されるので、
記録されたセッション状態ログを消失させることなく全
て保存することができる。
When there is not enough free space in the log area, the file writing means automatically writes the session state log in the log area to the terminal log file.
All recorded session state logs can be saved without loss.

【0043】請求項4記載のセッション状態ログ採取装
置によれば、セッション制御の異常にかかるセッション
状態ログだけを記録でき、請求項1記載のセッション状
態ログ採取装置によれば、それ以外に各セッション事象
受け取り時点のセッション状態ログをも記録できる。
According to the session status log collecting device of the fourth aspect, only the session status log relating to the abnormal session control can be recorded. According to the session state log collecting device of the first aspect, each session other than that can be recorded. A session status log at the time of event reception can also be recorded.

【0044】請求項3記載のセッション状態ログ採取装
置によれば、セッション制御の異常時にその時点までに
記録されたセッション状態ログを消失させることなく端
末ログファイルに速やかに書き出すことができる。
According to the session state log collecting apparatus of the third aspect, when the session control is abnormal, the session state log recorded up to that point can be promptly written to the terminal log file without being erased.

【0045】ログ領域に記録されたセッション状態ログ
の端末ログファイルへの書き出しに関しシステム操作員
の介在を必要としないため、システム操作員の負担が軽
減される。
Since it is not necessary for the system operator to intervene in writing the session state log recorded in the log area to the terminal log file, the burden on the system operator is reduced.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の別の実施例の構成図である。FIG. 2 is a configuration diagram of another embodiment of the present invention.

【符号の説明】 1−1〜1−n…端末装置 2…オンラインシステム 3−1〜3−n…セッション状態管理表 4…管理表選択手段 5,5’…セッション状態制御手段 6−1〜6−n…ログ領域 7…書き込みログ領域選択手段 8…ログ領域書き込み手段 9…書き出しログ領域選択手段 10…端末ログファイル 11,11’…ファイル書き出し手段[Explanation of reference numerals] 1-1 to 1-n ... Terminal device 2 ... Online system 3-1 to 3-n ... Session state management table 4 ... Management table selection means 5, 5 '... Session state control means 6-1 6-n ... Log area 7 ... Writing log area selecting means 8 ... Log area writing means 9 ... Writing log area selecting means 10 ... Terminal log file 11, 11 '... File writing means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 端末装置とのセッションの制御を行うオ
ンラインシステムにおいて、 端末装置から受け取ったセッション事象に付随する端末
識別情報に対応するセッション状態管理表を選択する管
理表選択手段と、 該管理表選択手段で選択されたセッション状態管理表を
前記受け取ったセッション事象に応じて操作するセッシ
ョン状態制御手段と、 端末装置毎に設けられた複数のログ領域と、 該複数のログ領域のうちから前記端末識別情報に対応す
るログ領域を選択する書き込みログ領域選択手段と、 前記セッション状態制御手段で操作されるセッション状
態管理表中のセッション状態情報と前記受け取ったセッ
ション事象とを含むセッション状態ログを前記書き込み
ログ領域選択手段で選択されたログ領域に書き込むログ
領域書き込み手段とを具備したことを特徴とするセッシ
ョン状態ログ採取装置。
1. In an online system for controlling a session with a terminal device, management table selecting means for selecting a session state management table corresponding to terminal identification information associated with a session event received from the terminal device, and the management table. Session state control means for operating the session state management table selected by the selection means according to the received session event, a plurality of log areas provided for each terminal device, and the terminal among the plurality of log areas Write log area selection means for selecting a log area corresponding to identification information, and write the session state log including session state information in the session state management table operated by the session state control means and the received session event. Log area writer to write to the log area selected by the log area selection means Session status log collecting apparatus characterized by comprising and.
【請求項2】 前記ログ領域書き込み手段が前記ログ領
域の空き領域不足を検出することにより、前記ログ領域
からセッション状態ログを読み出して端末ログファイル
に書き出すファイル書き出し手段を備える請求項1記載
のセッション状態ログ採取装置。
2. The session according to claim 1, further comprising file writing means for reading the session status log from the log area and writing the session status log to a terminal log file when the log area writing means detects a lack of free space in the log area. Status log collection device.
【請求項3】 前記セッション状態制御手段がセッショ
ン状態の異常を検出することにより、異常にかかるセッ
ション事象に付随する端末識別情報に対応するログ領域
を選択する書き出しログ領域選択手段を備え、 前記ファイル書き出し手段は、該書き出しログ領域選択
手段で選択されたログ領域からセッション状態ログを読
み出して前記端末ログファイルに書き出す請求項2記載
のセッション状態ログ採取装置。
3. The file comprises: a write log area selecting means for selecting a log area corresponding to terminal identification information associated with an abnormal session event when the session status controlling means detects an abnormal session status; The session state log collection device according to claim 2, wherein the writing unit reads the session state log from the log area selected by the writing log area selecting unit and writes the session state log in the terminal log file.
【請求項4】 端末装置とのセッションの制御を行うオ
ンラインシステムにおいて、 端末装置から受け取ったセッション事象に付随する端末
識別情報に対応するセッション状態管理表を選択する管
理表選択手段と、 該管理表選択手段で選択されたセッション状態管理表を
前記受け取ったセッション事象に応じて操作するセッシ
ョン状態制御手段と、 端末装置毎に設けられた複数のログ領域と、 前記セッション状態制御手段がセッション状態の異常を
検出することにより、前記複数のログ領域のうちから異
常にかかるセッション事象に付随する端末識別情報に対
応するログ領域を選択する書き込みログ領域選択手段
と、 前記セッション状態制御手段で操作される前記セッショ
ン状態管理表中のセッション状態情報と前記異常にかか
るセッション事象とを含むセッション状態ログを前記書
き込みログ領域選択手段で選択されたログ領域に書き込
むログ領域書き込み手段とを具備したことを特徴とする
セッション状態ログ採取装置。
4. An online system for controlling a session with a terminal device, management table selecting means for selecting a session state management table corresponding to terminal identification information associated with a session event received from the terminal device, and the management table. Session state control means for operating the session state management table selected by the selection means according to the received session event, a plurality of log areas provided for each terminal device, and the session state control means for abnormal session state By detecting a log area corresponding to the terminal identification information associated with the abnormal session event from the plurality of log areas, write log area selection means, and the session state control means operated Session status information in the session status management table and the session related to the above abnormality Session status log collecting apparatus characterized by comprising a log area writing means for writing the session status log to a selected log area in the write log area selecting means including an event.
【請求項5】 前記ログ領域書き込み手段が前記ログ領
域の空き領域不足を検出することにより、前記ログ領域
からセッション状態ログを読み出して端末ログファイル
に書き出すファイル書き出し手段を備える請求項4記載
のセッション状態ログ採取装置。
5. The session according to claim 4, further comprising file writing means for reading the session status log from the log area and writing it to a terminal log file when the log area writing means detects a lack of free space in the log area. Status log collection device.
JP4187539A 1992-06-22 1992-06-22 Session state log sampling device Pending JPH064363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4187539A JPH064363A (en) 1992-06-22 1992-06-22 Session state log sampling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4187539A JPH064363A (en) 1992-06-22 1992-06-22 Session state log sampling device

Publications (1)

Publication Number Publication Date
JPH064363A true JPH064363A (en) 1994-01-14

Family

ID=16207862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4187539A Pending JPH064363A (en) 1992-06-22 1992-06-22 Session state log sampling device

Country Status (1)

Country Link
JP (1) JPH064363A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53107954A (en) * 1977-03-03 1978-09-20 Tomoyuki Ono Molded fruits and flower cultivating method and its mold device
JP2013045256A (en) * 2011-08-23 2013-03-04 Fujitsu Ltd Server device, system, and log collection support method
WO2022024562A1 (en) * 2020-07-30 2022-02-03 株式会社情報科学研究所 Parallel and distributed computing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6191735A (en) * 1984-10-11 1986-05-09 Japanese National Railways<Jnr> Journal information processing system of on-line system
JPS6275745A (en) * 1985-09-30 1987-04-07 Hitachi Ltd System for acquiring error logging of terminal controller
JPH0370058A (en) * 1989-08-09 1991-03-26 Nec Corp Computer system
JPH0378039A (en) * 1989-08-21 1991-04-03 Nec Corp Transaction processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6191735A (en) * 1984-10-11 1986-05-09 Japanese National Railways<Jnr> Journal information processing system of on-line system
JPS6275745A (en) * 1985-09-30 1987-04-07 Hitachi Ltd System for acquiring error logging of terminal controller
JPH0370058A (en) * 1989-08-09 1991-03-26 Nec Corp Computer system
JPH0378039A (en) * 1989-08-21 1991-04-03 Nec Corp Transaction processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53107954A (en) * 1977-03-03 1978-09-20 Tomoyuki Ono Molded fruits and flower cultivating method and its mold device
JPS5527767B2 (en) * 1977-03-03 1980-07-23
JP2013045256A (en) * 2011-08-23 2013-03-04 Fujitsu Ltd Server device, system, and log collection support method
US9594663B2 (en) 2011-08-23 2017-03-14 Fujitsu Limited Apparatus and method for collecting log information from a plurality of servers
WO2022024562A1 (en) * 2020-07-30 2022-02-03 株式会社情報科学研究所 Parallel and distributed computing system

Similar Documents

Publication Publication Date Title
US7016957B2 (en) Distributed data processing system and error analysis information saving method appropriate therefor
US6434616B2 (en) Method for monitoring abnormal behavior in a computer system
US6105150A (en) Error information collecting method and apparatus
DE20321583U1 (en) Memory controller
US20010051952A1 (en) Sample analyzing system for facilitating control and maintenance of registered information
US5935260A (en) Method and apparatus for providing system level errors in a large disk array storage system
US5625841A (en) Data processing system
JPH064363A (en) Session state log sampling device
JP4202158B2 (en) Plant data collection device
CN100505751C (en) Method for error management and target device of data storage system
JP3691272B2 (en) Distributed processing system and failure analysis information storage method
JP2003132019A (en) Hindrance-monitoring method for computer system
JPS5860346A (en) Controlling system for terminal connection status
JP2626381B2 (en) Air conditioner
JP2002318736A (en) System, method and program for saving log data
JPS63254539A (en) Error log system
GB2378536A (en) A method of logging message activity
EP0633528A2 (en) Maintenance of a data processing system
JPH0644254B2 (en) Connection confirmation method for data processing system
JP3240990B2 (en) Transaction record management device and transaction record management method
JPH10304021A (en) Alarm history management system in transmitter monitor control system
JP3346424B2 (en) Terminal device with operation monitoring function
JP2674465B2 (en) Online information processing system
JP2778343B2 (en) Monitoring and control equipment
JP2000134238A (en) Communication equipment