JPH0736762A - Message recording system - Google Patents

Message recording system

Info

Publication number
JPH0736762A
JPH0736762A JP5178413A JP17841393A JPH0736762A JP H0736762 A JPH0736762 A JP H0736762A JP 5178413 A JP5178413 A JP 5178413A JP 17841393 A JP17841393 A JP 17841393A JP H0736762 A JPH0736762 A JP H0736762A
Authority
JP
Japan
Prior art keywords
message
recording
output
memory
same
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
JP5178413A
Other languages
Japanese (ja)
Other versions
JP3157655B2 (en
Inventor
Kenichi Kurata
憲一 蔵田
Masamune Iwatani
正宗 岩谷
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
NEC Software Shizuoka Ltd
Original Assignee
NEC Corp
NEC Software Shizuoka 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 NEC Corp, NEC Software Shizuoka Ltd filed Critical NEC Corp
Priority to JP17841393A priority Critical patent/JP3157655B2/en
Publication of JPH0736762A publication Critical patent/JPH0736762A/en
Application granted granted Critical
Publication of JP3157655B2 publication Critical patent/JP3157655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve the working efficiency of a file on which a message is recorded. CONSTITUTION:In a message output request sub system 1, a message generating means 2 generates the message to be outputted to a console 12, and stores it in first memory 3 for message. In a message recording sub system 4, a message output means 5 takes out the message from the first memory 3 for message, and outputs it to the console 12, and a message comparison means 6 compares the message with the one recorded on second memory 10 for message. In the message comparison means 6, a different kind message recording means 7 records the content of the message when it is judged as a different kind of message on a message recording file 9, and a same message recording means 8 records a same identification flag when it is judged that they are the same messages. Furthermore, the message is stored in the second memory 10 for message.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムのオペ
レーティングシステムを構成する各サブシステムから操
作卓に出力される様々なメッセージをファイルに格納す
るメッセージ記録システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a message recording system for storing various messages output to a console from each subsystem constituting an operating system of a computer system in a file.

【0002】[0002]

【従来の技術】特開昭63−68927号公報には、計
算機システムが表示するメッセージを外部記憶装置に格
納する処理が記載されている。
2. Description of the Related Art Japanese Patent Laid-Open No. 63-68927 discloses a process of storing a message displayed by a computer system in an external storage device.

【0003】上記公開公報の例にも見られるように、従
来の技術においては、オペレーティングシステムを構成
する各サブシステムから出力される様々なメッセージ
は、その後の参照のためファイル手段に時系列に無編集
でそのまま記録されている。
As seen in the example of the above-mentioned publication, in the conventional technique, various messages output from each subsystem constituting the operating system are not chronologically stored in the file means for later reference. It is recorded as it is in the edit.

【0004】[0004]

【発明が解決しようとする課題】特開昭63−6892
7号公報をはじめとする従来の技術においては、オペレ
ーティングシステムを構成する各サブシステムから操作
卓へ出力される様々なメッセージが、その後の参照のた
めファイルに時系列に無編集でそのまま記録される。同
じまたは一部分だけ異なるようなメッセージが繰り返し
連続して出力されるような状況に陥った場合に、ファイ
ルがすぐに一杯になってしまい、ファイルを効率的に利
用できないという課題がある。
Problems to be Solved by the Invention JP-A-63-6892
In the prior arts such as Japanese Patent Publication No. 7, various messages output from the subsystems constituting the operating system to the console are recorded in a file in a time series as they are without being edited for subsequent reference. . If the same or a partly different message is repeatedly output continuously, the file becomes full immediately and the file cannot be used efficiently.

【0005】このようなファイル容量の不足に対処する
ために、ファイル容量を自動的に拡張する手段を採るシ
ステムもある。しかし、ファイル容量を拡張していくこ
とは、限りある計算機システムの資源を効率的に利用で
きないという別の課題を発生してしまう。
In order to cope with such a shortage of the file capacity, there is a system that automatically expands the file capacity. However, expanding the file capacity causes another problem that the limited resources of the computer system cannot be efficiently used.

【0006】さらにファイル容量の不足に対処するため
に、ファイルを循環的に使用する手段を採るシステムも
ある。この場合、ファイルの循環使用により、短期間で
過去のメッセージが上書きされてしまい、参照できなく
なってしまうという別の課題を発生してしまう。
Further, in order to cope with the shortage of the file capacity, there is also a system which employs means for cyclically using the file. In this case, due to the cyclic use of the file, another problem that the past message is overwritten in a short period of time and cannot be referred to occurs.

【0007】[0007]

【課題を解決するための手段】第1の発明のメッセージ
記録システムは、計算機システムのオペレーティングシ
ステムを構成する各サブシステムから操作卓に出力され
る様々なメッセージをファイルに格納するメッセージ記
録システムにおいて、計算機システムのオペレーティン
グシステムを構成するメッセージ出力要求サブシステム
は、操作卓に出力するメッセージを作成するメッセージ
作成手段と、このメッセージ作成手段が作成したメッセ
ージを格納する第1のメッセージ用メモリとを備え、メ
ッセージ記録サブシステムは、前記第1のメッセージ用
メモリからメッセージを取りだし、操作卓に出力するメ
ッセージ出力手段と、このメッセージ出力手段によっ
て、前回出力された1メッセージを格納する第2のメッ
セージ用メモリと、前記メッセージ出力手段により出力
されたメッセージと、この第2のメッセージ用メモリに
比較されたメッセージを比較するメッセージ比較手段
と、このメッセージ比較手段において、異なるメッセー
ジと判断された場合にメッセージ記録ファイルにメッセ
ージの内容を記録する異種メッセージ記録手段と、前記
メッセージ比較手段において、同一メッセージと判断さ
れた場合にメッセージ記録ファイルに同一識別フラグを
記録する同一メッセージ記録手段とを備えて構成されて
いる。
A message recording system according to a first aspect of the present invention is a message recording system for storing various messages output to a console from each subsystem constituting an operating system of a computer system in a file, The message output request subsystem that constitutes the operating system of the computer system includes a message creating unit that creates a message to be output to the operator console, and a first message memory that stores the message created by this message creating unit, The message recording subsystem fetches a message from the first message memory and outputs the message to a console, and a second message memory that stores one message previously output by the message output unit. , A message comparing means for comparing the message output by the message output means with the message compared to the second message memory, and a message in the message recording file when the message comparing means determines that the message is different. Different message recording means for recording the contents of the above, and the same message recording means for recording the same identification flag in the message recording file when the message comparing means determines that the same message is recorded.

【0008】第2の発明のメッセージ記録システムは、
計算機システムのオペレーティングシステムを構成する
各サブシステムから操作卓に出力される様々なメッセー
ジをファイルに格納するメッセージ記録システムにおい
て、計算機システムのオペレーティングシステムを構成
するメッセージ出力要求サブシステムは、操作卓の出力
するメッセージを作成するメッセージ作成手段と、この
メッセージ作成手段が作成したメッセージを格納する第
1のメッセージ用メモリとを備え、メッセージ記録サブ
システムは、前記第1のメッセージ用メモリからメッセ
ージを採りだし、操作卓に出力するメッセージ出力手段
と、このメッセージ出力手段によって、前回出力された
1メッセージを格納する第2のメッセージ用メモリと、
前記メッセージ出力手段により出力されたメッセージ
と、前記第2のメッセージ用メモリに格納されたメッセ
ージを比較するメッセージ比較手段と、このメッセージ
比較手段において、異なるメッセージと判断された場合
にメッセージ記録ファイルにメッセージの内容を記録す
る異種メッセージ記録手段と、前記メッセージ比較手段
において、同一メッセージと判断された場合にメッセー
ジ記録ファイルに同一識別フラグを記録する同一メッセ
ージ記録手段と、前記メッセージ比較手段において、予
め設定する規則により同種のメッセージと判断された場
合に、メッセージ記録ファイルに同種識別フラグと、メ
ッセージの内容の一部であるサブメッセージとを記録す
る同種メッセージ記録手段とを備えて構成されている。
The message recording system of the second invention is
In a message recording system that stores various messages output to the console from each subsystem that configures the operating system of the computer system in a file, the message output request subsystem that configures the operating system of the computer system outputs the output of the console. And a first message memory for storing the message created by the message creating means, wherein the message recording subsystem extracts the message from the first message memory, A message output means for outputting to a console, a second message memory for storing one message previously output by the message output means,
Message comparison means for comparing the message output by the message output means with the message stored in the second message memory, and a message in the message recording file when the message comparison means determines that the messages are different. The different message recording means for recording the contents of the above, the same message recording means for recording the same identification flag in the message recording file when the same message is judged in the message comparing means, and the message comparing means are set in advance. When it is determined by the rules that the messages are of the same type, the same type identification flag and the same type message recording means for recording the sub message which is a part of the contents of the message are provided in the message recording file.

【0009】[0009]

【実施例】以下本発明の一実施例について、図を参照し
ながら詳細に説明する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

【0010】図1を参照すると、本発明の第1の実施例
であるメッセージ記録システムは、計算機システムのオ
ペレーティングシステムを構成する1サブシステムであ
り、各サブシステムから出力される様々なメッセージを
操作卓12へ出力する形式に作成して、メモリに格納す
るメッセージ出力要求サブシステム1は、操作卓12に
出力する形式にメッセージを作成するプログラムである
メッセージ作成プログラム2(以下、メッセージ作成手
段2とする)と、このメッセージ作成手段2により作成
されたメッセージを格納する第1のメッセージ用メモリ
3とを含み、メッセージ出力要求サブシステム1が第1
のメッセージ用メモリ3に格納したメッセージを取りだ
し、操作卓12に出力し、そのメッセージをメッセージ
記録ファイル9に記録するメッセージ記録サブシステム
4は、第1のメッセージ用メモリ3からメッセージを取
りだし、操作卓12にメッセージを出力するプログラム
であるメッセージ出力プログラム5(以下、メッセージ
出力手段5とする)と、このメッセージ出力手段5によ
って、前回出力された1メッセージを格納する第2のメ
ッセージ用メモリ10と、前記メッセージ出力手段5に
より出力されたメッセージと、前記第2のメッセージ用
メモリ10に記録されたメッセージを比較するプログラ
ムであるメッセージ比較プログラム6(以下、メッセー
ジ比較手段6とする)と、このメッセージ比較手段6に
おいて、異なるメッセージと判断された場合にメッセー
ジ記録ファイル9にメッセージの内容を記録するプログ
ラムである異種メッセージ記録プログラム7(以下、異
種メッセージ記録手段7とする)と、前記メッセージ比
較手段6において、同一メッセージと判断された場合に
メッセージ記録ファイル9に同一識別フラグを記録する
プログラムである同一メッセージ記録プログラム8(以
下、同一メッセージ記録手段8とする)とを含む。
Referring to FIG. 1, a message recording system according to a first embodiment of the present invention is one subsystem that constitutes an operating system of a computer system and operates various messages output from each subsystem. The message output request subsystem 1, which is created in a format to be output to the desk 12 and stored in the memory, is a message creation program 2 (hereinafter referred to as the message creating means 2) which is a program to create a message in the format to be output to the console 12. And a first message memory 3 for storing the message created by the message creating means 2, and the message output request subsystem 1 is the first
The message recording subsystem 4 which takes out the message stored in the message memory 3 of the above, outputs it to the console 12 and records the message in the message recording file 9, extracts the message from the first message memory 3 and outputs the message. A message output program 5 (hereinafter referred to as message output means 5) which is a program for outputting a message to 12, a second message memory 10 for storing one message output last time by the message output means 5, and A message comparison program 6 (hereinafter referred to as message comparison means 6), which is a program for comparing the message output by the message output means 5 with the message recorded in the second message memory 10, and this message comparison In the means 6, different memory When the message is judged to be a sage, a different message recording program 7 (hereinafter referred to as a different message recording means 7) which is a program for recording the content of the message in the message recording file 9 and the message comparing means 6 determine the same message. The same message recording program 8 (hereinafter, referred to as the same message recording means 8) which is a program for recording the same identification flag in the message recording file 9 when the message is recorded.

【0011】次に、本発明の第1の実施例の動作につい
て、図1,図2と図6を参照して説明する。
Next, the operation of the first embodiment of the present invention will be described with reference to FIGS. 1, 2 and 6.

【0012】計算機システムのオペレーティングシステ
ムを構成する一サブシステムであるメッセージ出力要求
サブシステム1がメッセージ作成手段2を起動する(ス
テップ21)。各サブシステムから出力されるメッセー
ジは、各サブシステムの処理過程における計算機システ
ムの操作員への指示メッセージ、処理結果を示す結果メ
ッセージ、そしてエラーメッセージ等がある。メッセー
ジ作成手段2は、それらのメッセージの操作卓12に出
力する形式に整形し、さらにメッセージの出力元である
機能を示すメッセージID、メッセージの長さ、および
同一識別フラグの3領域からなる付加情報と共に第1の
メッセージ用メモリ3に格納する(ステップ22)。な
お図5に第1のメッセージ用メモリ3の内容を図示す
る。
The message output request subsystem 1, which is a subsystem constituting the operating system of the computer system, activates the message creating means 2 (step 21). The messages output from each subsystem include an instruction message to the operator of the computer system in the processing process of each subsystem, a result message indicating the processing result, and an error message. The message creating means 2 formats the messages into a format to be output to the console 12, and further includes additional information consisting of three areas of a message ID indicating the function from which the message is output, a message length, and the same identification flag. It is also stored in the first message memory 3 (step 22). The contents of the first message memory 3 are shown in FIG.

【0013】メッセージ出力要求サブシステム1は、メ
ッセージ作成手段2が第1のメッセージ用メモリ3に1
メッセージと付加情報を格納し終わると、次にメッセー
ジ記録サブシステム4を起動する(ステップ23)。
In the message output request subsystem 1, the message creating means 2 stores 1 in the first message memory 3.
After storing the message and the additional information, the message recording subsystem 4 is activated next (step 23).

【0014】まずメッセージ記録サブシステム4は、メ
ッセージ出力手段5を起動する(ステップ24)。メッ
セージ出力手段5は、前記第1のメッセージ用メモリ3
にメッセージがあるか否かを判定し(ステップ25)、
メッセージがあればメッセージを取り出し(ステップ2
6)、操作卓12にメッセージを出力する(ステップ2
7)。
First, the message recording subsystem 4 activates the message output means 5 (step 24). The message output means 5 includes the first message memory 3
Whether or not there is a message (step 25),
If there is a message, retrieve the message (step 2
6), output a message to the console 12 (step 2)
7).

【0015】次にメッセージ記録サブシステム4は、メ
ッセージ比較手段6を起動する(ステップ28)。メッ
セージ比較手段6は、第2のメッセージ用メモリ10に
メッセージがあるか否かを判定し(ステップ29)、メ
ッセージがあれば1メッセージを取り出し(ステップ2
A)、前記メッセージ出力手段5により前記第1のメッ
セージ用メモリ3から取り出された1メッセージと比較
する(ステップ2B)。ステップ29の処理の第1回目
においては、第2のメッセージ用メモリ10は空の状態
である。ステップ2Bにおいては、まず両メッセージの
付加情報であるメッセージIDを比較する(ステップ2
C)。ステップ2Cにおいて両メッセージのメッセージ
IDが等しかった場合には、メッセージの内容を比較す
る(ステップ2S)。ステップ2Cにおいて両メッセー
ジの付加情報であるメッセージIDが異なった場合、ま
たはステップ2Dにおいて両メッセージの内容が異なっ
た場合には、異種メッセージ記録手段7を起動する(ス
テップ2E)。ステップ2Dにおいて、両メッセージの
内容が等しかった場合には、同一メッセージ記録手段8
を起動する(ステップ2F)。
Next, the message recording subsystem 4 activates the message comparison means 6 (step 28). The message comparison unit 6 determines whether or not there is a message in the second message memory 10 (step 29), and if there is a message, extracts one message (step 2).
A), the message output means 5 compares with one message retrieved from the first message memory 3 (step 2B). At the first time of the process of step 29, the second message memory 10 is empty. In step 2B, first, message IDs, which are additional information of both messages, are compared (step 2
C). If the message IDs of both messages are the same in step 2C, the contents of the messages are compared (step 2S). If the message IDs, which are the additional information of both messages, differ in step 2C, or if the contents of both messages differ in step 2D, the different message recording means 7 is activated (step 2E). In step 2D, if both messages have the same content, the same message recording means 8
Is activated (step 2F).

【0016】異種メッセージ記録手段7は、メッセージ
記録ファイル9に、前記メッセージ出力手段5により前
記第1のメッセージ用メモリ3から取り出された1メッ
セージと付加情報を記録する(ステップ2G)。さらに
該メッセージと付加情報を第2のメッセージ用メモリ1
0へ置換する(ステップ2H)。
The heterogeneous message recording means 7 records in the message recording file 9 one message and the additional information extracted from the first message memory 3 by the message output means 5 (step 2G). Further, the message and the additional information are added to the second message memory 1
Replace with 0 (step 2H).

【0017】同一メッセージ記録手段8は、メッセージ
記録ファイル9から最も最近に記録された1メッセージ
と付加情報を取り出し(ステップ2I)、付加情報内に
同一識別フラグに1を加算し(ステップ2J)、該メッ
セージと付加情報をメッセージ記録ファイル9に戻す
(ステップ2K)。さらに該メッセージと付加情報を第
2のメッセージ用メモリ10へ置換する(ステップ2
L)。ここで付加情報内の同一識別フラグの既定値は0
であり、ステップ2Jによって加算されていく数字が示
す数だけ同一メッセージが連続して前記メッセージ出力
手段5により出力されたことを示す。なお、ステップ2
Iにおいては、同一メッセージ記録手段8が起動された
時点で既にメッセージ記録ファイル9には少なくとも1
メッセージは存在することになるので、メッセージの存
在チェックは行わない。
The same message recording means 8 extracts the most recently recorded one message and additional information from the message recording file 9 (step 2I), adds 1 to the same identification flag in the additional information (step 2J), The message and the additional information are returned to the message recording file 9 (step 2K). Further, the message and the additional information are replaced in the second message memory 10 (step 2).
L). Here, the default value of the same identification flag in the additional information is 0.
And the same message is continuously output by the message output means 5 by the number indicated by the numbers added in step 2J. In addition, step 2
In I, at least 1 is already stored in the message recording file 9 when the same message recording means 8 is activated.
Since the message exists, the message existence check is not performed.

【0018】以上の処理を経て、メッセージ出力要求サ
ブシステム1とメッセージ記録サブシステム4による1
メッセージの処理が完了する。
After the above processing, the message output request subsystem 1 and the message recording subsystem 4
Message processing is complete.

【0019】図3を参照すると、本発明の第2の実施例
であるメッセージ記録システムは、計算機システムのオ
ペレーティングシステムを構成する一サブシステムであ
り、各サブシステムから出力される様々なメッセージを
操作卓12へ出力する形式に作成して、メモリに格納す
るメッセージ出力要求サブシステム1は、操作卓12に
出力する形式にメッセージを作成するプログラムである
メッセージ作成プログラム2(以下、メッセージ作成手
段2とする)と、このメッセージ作成手段2により作成
されたメッセージを格納する第1のメッセージ用メモリ
3とを含み、メッセージ出力要求サブシステム1が第1
のメッセージ用メモリ3に格納したメッセージを取りだ
し、操作卓12に出力し、そのメッセージをメッセージ
記録ファイル9に記録するメッセージ記録サブシステム
4は、第1のメッセージ用メモリ3からメッセージを取
りだし、操作卓12にメッセージを出力するプログラム
であるメッセージ出力プログラム5(以下、メッセージ
出力手段5とする)と、このメッセージ出力手段5によ
って、前回出力された1メッセージを格納する第2のメ
ッセージ用メモリ10と、前記メッセージ出力手段5に
よって、出力されたメッセージと、前記第2のメッセー
ジ用メモリ10に記録されたメッセージを比較するプロ
グラムであるメッセージ比較プログラム6(以下、メッ
セージ比較手段6とする)と、このメッセージ比較手段
6において、異なるメッセージと判断された場合にメッ
セージ記録ファイル9にメッセージの内容を記録するプ
ログラムである異種メッセージ記録プログラム7(以
下、異種メッセージ記録手段7とする)と、前記メッセ
ージ比較手段6において、同一メッセージと判断された
場合にメッセージ記録ファイル9に同一識別フラグを記
録するプログラムである同一メッセージ記録プログラム
8(以下、同一メッセージ記録手段8とする)と、前記
メッセージ比較手段6において、予め測定する規則によ
り同種のメッセージと判断された場合に、メッセージ記
録ファイル9に同種識別フラグと、メッセージの内容の
一部であるサブメッセージとを記録するプログラムであ
る同種メッセージ記録プログラム11(以下、同種メッ
セージ記録手段11とする)とを含む。
Referring to FIG. 3, the message recording system according to the second embodiment of the present invention is one subsystem that constitutes the operating system of the computer system, and operates various messages output from each subsystem. The message output request subsystem 1, which is created in a format to be output to the desk 12 and stored in the memory, is a message creation program 2 (hereinafter referred to as the message creating means 2) which is a program to create a message in the format to be output to the console 12. And a first message memory 3 for storing the message created by the message creating means 2, and the message output request subsystem 1 is the first
The message recording subsystem 4 which takes out the message stored in the message memory 3 of the above, outputs it to the console 12 and records the message in the message recording file 9, extracts the message from the first message memory 3 and outputs the message. A message output program 5 (hereinafter referred to as message output means 5) which is a program for outputting a message to 12, a second message memory 10 for storing one message output last time by the message output means 5, and A message comparison program 6 (hereinafter referred to as message comparison means 6) which is a program for comparing the message output by the message output means 5 with the message recorded in the second message memory 10 and this message. In the comparison means 6, When it is determined that the message is the same message, the heterogeneous message recording program 7 (hereinafter referred to as heterogeneous message recording means 7) which is a program for recording the contents of the message in the message recording file 9 and the message comparing means 6 determine the same message If the same message is recorded, the same message recording program 8 (hereinafter referred to as the same message recording means 8) which is a program for recording the same identification flag in the message recording file 9 and the message comparing means 6 are of the same kind according to a rule measured in advance. When it is determined that the message is a message, the same-type identification flag and the same-type message recording program 11 (hereinafter referred to as the same-type message recording means 11) that is a program for recording the sub-message that is a part of the content of the message in the message recording file 9. ) And including

【0020】次に、本発明の第2の実施例の動作につい
て、図3〜図5と図7を参照して説明する。
Next, the operation of the second embodiment of the present invention will be described with reference to FIGS. 3 to 5 and 7.

【0021】計算機システムのオペレーティングシステ
ムを構成する一サブシステムであるメッセージ出力要求
サブシステム1がメッセージ作成手段2を起動する(ス
テップ41)。各サブシステムから出力されるメッセー
ジは、各サブシステムの処理過程における計算機システ
ムの操作員への指示メッセージ、処理結果を示す結果メ
ッセージ、そしてエラーメッセージ等がある。メッセー
ジ作成手段2は、それらのメッセージを操作卓12に出
力する形式に整形し、さらにメッセージの出力元である
機能を示すメッセージID、メッセージの長さ、同一識
別フラグ、同種識別フラグ、およびサブメッセージの5
領域からなる付加情報と共に第1のメッセージ用メモリ
3に格納する(ステップ42)。なお図6に第1のメッ
セージ用メモリ3の内容を図示する。
The message output request subsystem 1, which is a subsystem constituting the operating system of the computer system, activates the message creating means 2 (step 41). The messages output from each subsystem include an instruction message to the operator of the computer system in the processing process of each subsystem, a result message indicating the processing result, and an error message. The message creating means 2 formats those messages into a format to be output to the console 12, and further, a message ID indicating the function that is the output source of the message, the message length, the same identification flag, the same identification flag, and the sub message. Of 5
It is stored in the first message memory 3 together with the additional information consisting of an area (step 42). The contents of the first message memory 3 are shown in FIG.

【0022】メッセージ出力要求サブシステム1は、メ
ッセージ作成手段2が第1のメッセージ用メモリ3に1
メッセージと付加情報を格納し終わると、次にメッセー
ジ記録サブシステム4を起動する(ステップ43)。
In the message output request subsystem 1, the message creating means 2 stores 1 in the first message memory 3.
After storing the message and the additional information, the message recording subsystem 4 is activated next (step 43).

【0023】まずメッセージ記録サブシステム4は、メ
ッセージ出力手段5を起動する(ステップ44)。メッ
セージ出力手段5は、前記第1のメッセージ用メモリ3
にメッセージがあるか否かを判定し(ステップ45)、
メッセージがあればメッセージを取り出し(ステップ4
6)、操作卓12にメッセージを出力する(ステップ4
7)。
First, the message recording subsystem 4 activates the message output means 5 (step 44). The message output means 5 includes the first message memory 3
Whether or not there is a message (step 45),
If there is a message, retrieve the message (step 4
6), output a message to the console 12 (step 4)
7).

【0024】次にメッセージ記録サブシステム4は、メ
ッセージ比較手段6を起動する(ステップ48)。メッ
セージ比較手段6は、第2のメッセージ用メモリ10に
メッセージがあるか否かを判定し(ステップ49)、メ
ッセージがあれば1メッセージを取り出し(ステップ4
A)、前記メッセージ出力手段5により前記第1のメッ
セージ用メモリ3から取り出された1メッセージと比較
する(ステップ4B)。ステップ49の処理の第1回目
においては、第2のメッセージ用メモリ10は空の状態
である。ステップ4Bにおいては、まず両メッセージの
付加情報であるメッセージIDを比較する(ステップ4
C)。ステップ4Cにおいて両メッセージのメッセージ
IDが等しかった場合には、メッセージの内容を比較す
る(ステップ4D)。ステップ4Cにおいて両メッセー
ジの付加情報であるメッセージIDが異なった場合に
は、異種メッセージ記録手段7を起動する(ステップ4
E)。また、ステップ4Dにおいて、両メッセージの内
容が等しかった場合には、同一メッセージ記録手段8を
起動する(ステップ4F)。さらにステップ4Dにおい
て両メッセージの内容が異なる場合には、第2のメッセ
ージ用メモリ10から取り出された1メッセージの付加
情報である同種フラグがONかOFFかを判定し(ステ
ップ4G)、OFFの場合には、同種メッセージ記録手
段11を起動し(ステップ4H)、ONの場合には、異
種メッセージ記録手段7を起動する(ステップ4I)。
Next, the message recording subsystem 4 activates the message comparison means 6 (step 48). The message comparison means 6 determines whether or not there is a message in the second message memory 10 (step 49), and if there is a message, extracts one message (step 4).
A), and compares with one message extracted from the first message memory 3 by the message output means 5 (step 4B). At the first time of the process of step 49, the second message memory 10 is empty. In step 4B, first, the message IDs that are the additional information of both messages are compared (step 4).
C). If the message IDs of both messages are the same in step 4C, the contents of the messages are compared (step 4D). When the message IDs, which are the additional information of both messages, differ in step 4C, the different message recording means 7 is activated (step 4
E). If the contents of both messages are equal in step 4D, the same message recording means 8 is activated (step 4F). Further, if the contents of both messages are different in step 4D, it is judged whether the same type flag which is the additional information of one message fetched from the second message memory 10 is ON or OFF (step 4G), and if it is OFF The same-type message recording means 11 is activated (step 4H), and if ON, the heterogeneous message recording means 7 is activated (step 4I).

【0025】異種メッセージ記録手段7は、メッセージ
記録ファイル9に、前記メッセージ出力手段5により前
記第1のメッセージ用メモリ3から取り出された1メッ
セージと付加情報を記録する(ステップ4J)。さらに
該メッセージと付加情報を第2のメッセージ用メモリ1
0へ置換する(ステップ4K)。
The heterogeneous message recording means 7 records in the message recording file 9 one message extracted from the first message memory 3 by the message output means 5 and additional information (step 4J). Further, the message and the additional information are added to the second message memory 1
Replace with 0 (step 4K).

【0026】同一メッセージ記録手段8は、メッセージ
記録ファイル9から最も最近に記録された1メッセージ
と付加情報を取り出し(ステップ4L)、付加情報内の
同一識別フラグに1を加算し(ステップ4M)、該メッ
セージと付加情報をメッセージ記録ファイル9に戻す
(ステップ4N)。さらに該メッセージと付加情報を第
2のメッセージ用メモリ10へ置換する(ステップ4
O)。ここで付加情報内の同一識別フラグの既定値は0
であり、ステップ4Mによって加算されてくる数字が示
す数だけ同一メッセージが連続して前記メッセージ出力
手段5により出力されたことを示す。なお、ステップ4
Lにおいては、同一メッセージ記録手段8が起動された
時点で既にメッセージ記録ファイル9には少なくとも1
メッセージは存在することになるので、メッセージの存
在チェックは行わない。
The same message recording means 8 extracts the most recently recorded one message and additional information from the message recording file 9 (step 4L), adds 1 to the same identification flag in the additional information (step 4M), The message and the additional information are returned to the message recording file 9 (step 4N). Further, the message and the additional information are replaced in the second message memory 10 (step 4).
O). Here, the default value of the same identification flag in the additional information is 0.
And the same message is continuously output by the message output means 5 by the number indicated by the number added in step 4M. In addition, step 4
In L, at least 1 is already stored in the message recording file 9 when the same message recording means 8 is activated.
Since the message exists, the message existence check is not performed.

【0027】同種メッセージ記録手段11は、メッセー
ジ記録ファイル9から最も最近に記録された1メッセー
ジと付加情報を取り出し(ステップ4P)、付加情報内
の同種識別フラグをONにし(ステップ4Q)、さらに
前記第1のメッセージ用メモリ3から取り出された1メ
ッセージの内容が異なる部分の文字をメッセージの先頭
から比較して抽出し、サブメッセージとして付加情報に
格納し(ステップ4R)、該メッセージと付加情報をメ
ッセージ記録ファイル9に戻す(ステップ4S)。さら
に該メッセージと付加情報を第2のメッセージ用メモリ
10へ置換する(ステップ4T)。本発明の第2の実施
例において、前記メッセージ出力手段5から出力される
メッセージが同種のものが2つ連続した場合には、ステ
ップ4Gにおいて同種識別フラグがONになっているの
で、2つ目のメッセージのメッセージは異種として処理
される。しかしさらに同種のものがもう1つ連続すると
2つ目のメッセージは異種として扱われているので、同
種識別フラグがOFFのままであるので、3つ目のメッ
セージは同種として処理される。なお、ステップ4Pに
おいては、同種メッセージ記録手段11が起動された時
点で既にメッセージ記録ファイル9には少なくとも1メ
ッセージは存在することになるので、メッセージの存在
チェックは行わない。
The same kind message recording means 11 extracts the most recently recorded one message and additional information from the message recording file 9 (step 4P), turns on the same kind identification flag in the additional information (step 4Q), and further Characters of different parts of one message extracted from the first message memory 3 are compared and extracted from the beginning of the message and stored in the additional information as a sub message (step 4R), and the message and the additional information are stored. Return to the message recording file 9 (step 4S). Further, the message and the additional information are replaced in the second message memory 10 (step 4T). In the second embodiment of the present invention, if two messages of the same type output from the message output means 5 are consecutive, the same type identification flag is set to ON in step 4G. The message of the message is treated as heterogeneous. However, if another one of the same type continues, the second message is treated as a different type, and the same type identification flag remains OFF, so the third message is processed as the same type. In step 4P, at least one message already exists in the message recording file 9 at the time when the similar message recording means 11 is activated, so that the existence of the message is not checked.

【0028】以上の処理を経て、メッセージ出力要求サ
ブシステム1とメッセージ記録サブシステム4による1
メッセージの処理が完了する。
After the above processing, the message output request subsystem 1 and the message recording subsystem 4
Message processing is complete.

【0029】[0029]

【発明の効果】以上説明したように本発明は、メッセー
ジ出力要求サブシステム1内において、メッセージ作成
手段2が操作卓12に出力するメッセージを作成し、第
1のメッセージ用メモリ3に格納する。そしてメッセー
ジ記録サブシステム4内において、メッセージ出力手段
5が第1のメッセージ用メモリ3からメッセージを取り
だし、操作卓12に出力し、メッセージ比較手段6が該
メッセージを、第2のメッセージ用メモリ10に記録さ
れたメッセージと比較する。メッセージ比較手段6にお
いては、異なるメッセージと判断された場合に異種メッ
セージ記録手段7がメッセージ記録ファイル9に該メッ
セージの内容を記録し、同一メッセージと判断された場
合に同一メッセージ記録手段8が同一識別フラグを記録
し、同種メッセージと判断された場合に同種メッセージ
記録手段11がメッセージ記録ファイル9に同種識別フ
ラグとサブメッセージを記録する。このことにより、各
サブシステムから同じまたは一部分だけ異なるようなメ
ッセージが繰り返し連続して出力されても、メッセージ
そのものを記録せず識別フラグと付加情報のみを記録す
るので、メッセージを記録するファイルの使用効率が高
まる効果がある。
As described above, according to the present invention, in the message output request subsystem 1, the message creating means 2 creates a message to be output to the console 12 and stores it in the first message memory 3. Then, in the message recording subsystem 4, the message output means 5 takes out the message from the first message memory 3 and outputs it to the console 12, and the message comparison means 6 sends the message to the second message memory 10. Compare with the recorded message. In the message comparison means 6, when it is determined that the messages are different, the different message recording means 7 records the content of the message in the message recording file 9, and when it is determined that they are the same message, the same message recording means 8 identifies the same. The flag is recorded, and when it is determined that the message is the same message, the same message recording means 11 records the same identification flag and the sub message in the message recording file 9. As a result, even if the same or a partly different message is repeatedly output from each subsystem, only the identification flag and additional information are recorded without recording the message itself. It has the effect of increasing efficiency.

【0030】例えば、記録ファイル容量の不足に対処す
るために、ファイル容量を自動的に拡張する手段を採る
システムにおいても、ファイル容量を拡張しなければな
らないケースが減少するため、計算機システムの資源を
効率的に利用できる効果がある。
For example, even in a system which adopts a means for automatically expanding the file capacity in order to cope with the shortage of the recording file capacity, the number of cases in which the file capacity has to be expanded is reduced, so that the resources of the computer system are reduced. There is an effect that can be used efficiently.

【0031】さらに記録ファイル容量の不足に対処する
ために、ファイル手段を循環的に使用する手段を採るシ
ステムにおいても、過去のメッセージが上書きされてし
まうケースが減少する、つまりファイルにより多くのメ
ッセージを保持できる効果がある。
Further, even in a system employing a means for cyclically using the file means in order to cope with the shortage of the recording file capacity, the case where past messages are overwritten is reduced, that is, more messages are written to the file. There is an effect that can be retained.

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

【図1】図1は本発明の第1のメッセージ記録システム
の実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a first message recording system of the present invention.

【図2】図2は本発明の第1のメッセージ記録システム
におけるメッセージ出力要求サブシステム1と、メッセ
ージ記録サブシステム4の処理を示す流れ図である。
FIG. 2 is a flow chart showing a process of a message output request subsystem 1 and a message recording subsystem 4 in the first message recording system of the present invention.

【図3】図3は本発明の第2のメッセージ記録システム
の実施例を示すブロック図である。
FIG. 3 is a block diagram showing an embodiment of a second message recording system of the present invention.

【図4】図4は本発明の第2のメッセージ記録システム
におけるメッセージ出力要求サブシステム1と、メッセ
ージ記録サブシステム4の処理を示す流れ図である。
FIG. 4 is a flow chart showing a process of a message output request subsystem 1 and a message recording subsystem 4 in the second message recording system of the present invention.

【図5】図5は本発明の第2のメッセージ記録システム
におけるメッセージ記録サブシステム4の処理を示す流
れ図である。
FIG. 5 is a flow chart showing the processing of the message recording subsystem 4 in the second message recording system of the present invention.

【図6】図6は本発明の第1のメッセージ記録システム
における第1のメッセージ用メモリ3の内容を示す図で
ある。
FIG. 6 is a diagram showing the contents of a first message memory 3 in the first message recording system of the present invention.

【図7】図7は本発明の第2のメッセージ記録システム
における第1のメッセージ用メモリ3の内容を示す図で
ある。
FIG. 7 is a diagram showing the contents of the first message memory 3 in the second message recording system of the present invention.

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

1 メッセージ出力要求サブシステム 2 メッセージ作成手段 3 第1のメッセージ用メモリ 4 メッセージ記録サブシステム 5 メッセージ出力手段 6 メッセージ比較手段 7 異種メッセージ記録手段 8 同一メッセージ記録手段 9 メッセージ記録ファイル 10 第2のメッセージ用メモリ 11 同種メッセージ記録手段 12 操作卓 1 Message Output Request Subsystem 2 Message Creating Means 3 First Message Memory 4 Message Recording Subsystem 5 Message Output Means 6 Message Comparing Means 7 Different Message Recording Means 8 Same Message Recording Means 9 Message Recording File 10 Second Message Memory 11 Same-type message recording means 12 Operation console

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 計算機システムのオペレーティングシス
テムを構成する各サブシステムから操作卓に出力される
様々なメッセージをファイルに格納するメッセージ記録
システムにおいて、 計算機システムのオペレーティングシステムを構成する
メッセージ出力要求サブシステムは、 操作卓に出力するメッセージを作成するメッセージ作成
手段と、 このメッセージ作成手段が作成したメッセージを格納す
る第1のメッセージ用メモリとを備え、 メッセージ記録サブシステムは、 前記第1のメッセージ用メモリからメッセージを取りだ
し、操作卓に出力するメッセージ出力手段と、 このメッセージ出力手段によって、前回出力された1メ
ッセージを格納する第2のメッセージ用メモリと、 前記メッセージ出力手段により出力されたメッセージ
と、この第2のメッセージ用メモリに格納されたメッセ
ージを比較するメッセージ比較手段と、 このメッセージ比較手段において、異なるメッセージと
判断された場合にメッセージ記録ファイルにメッセージ
の内容を記録する異種メッセージ記録手段と、 前記メッセージ比較手段において、同一メッセージと判
断された場合にメッセージ記録ファイルに同一識別フラ
グを記録する同一メッセージ記録手段と、を備えたこと
を特徴とするメッセージ記録システム。
1. A message recording system for storing various messages output to a console from each subsystem constituting an operating system of a computer system in a file, wherein a message output request subsystem constituting the operating system of the computer system is A message creating means for creating a message to be output to a console, and a first message memory for storing the message created by the message creating means. Message output means for taking out a message and outputting it to the console, second message memory for storing one message output last time by this message output means, and message output by the message output means Message comparison means for comparing the messages stored in the second message memory, and different message recording means for recording the content of the message in the message recording file when the message comparison means determines that the messages are different. A message recording unit that records the same identification flag in a message recording file when the message comparison unit determines that the message is the same message.
【請求項2】 計算機システムのオペレーティングシス
テムを構成する各サブシステムから操作卓に出力される
様々なメッセージをファイルに格納するメッセージ格納
システムにおいて、 計算機システムのオペレーティングシステムを構成する
メッセージ出力要求サブシステムは、 操作卓に出力するメッセージを作成するメッセージ作成
手段と、 このメッセージ作成手段が作成したメッセージを格納す
る第1のメッセージ用メモリとを備え、 メッセージ記録サブシステムは、 前記第1のメッセージ用メモリからメッセージを取りだ
し、操作卓に出力するメッセージ出力手段と、 このメッセージ出力手段によって、前回出力された1メ
ッセージを格納する第2のメッセージ用メモリと、 前記メッセージ出力手段により出力されたメッセージ
と、前記第2のメッセージ用メモリに格納されたメッセ
ージを比較するメッセージ比較手段と、 このメッセージ比較手段において、異なるメッセージと
判断された場合にメッセージ記録ファイルにメッセージ
の内容を記録する異種メッセージ記録手段と、 前記メッセージ比較手段において、同一メッセージと判
断された場合にメッセージ記録ファイルに同一識別フラ
グを記録する同一メッセージ記録手段と、 前記メッセージ比較手段において、予め設定する規則に
より同種のメッセージと判断された場合に、メッセージ
記録ファイルに同種識別フラグと、メッセージの内容の
一部であるサブメッセージとを記録する同種メッセージ
記録手段と、を備えたことを特徴とするメッセージ記録
システム。
2. A message storage system for storing various messages output to a console from each subsystem constituting an operating system of a computer system in a file, wherein a message output request subsystem constituting the operating system of the computer system is A message creating means for creating a message to be output to a console, and a first message memory for storing the message created by the message creating means. Message output means for taking out a message and outputting it to the console, second message memory for storing one message output last time by this message output means, and message output by the message output means Message comparing means for comparing the messages stored in the second message memory, and different message recording means for recording the content of the message in the message recording file when the message comparing means determines that the messages are different. When the message comparison unit determines that the messages are the same message, the same message recording unit records the same identification flag in the message recording file, and when the message comparison unit determines that the messages are of the same type according to a preset rule. The message recording system further comprises: a same-type identification flag and a same-type message recording means for recording a sub-message, which is a part of the content of the message, in the message recording file.
JP17841393A 1993-07-20 1993-07-20 Message recording system Expired - Fee Related JP3157655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17841393A JP3157655B2 (en) 1993-07-20 1993-07-20 Message recording system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17841393A JP3157655B2 (en) 1993-07-20 1993-07-20 Message recording system

Publications (2)

Publication Number Publication Date
JPH0736762A true JPH0736762A (en) 1995-02-07
JP3157655B2 JP3157655B2 (en) 2001-04-16

Family

ID=16048066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17841393A Expired - Fee Related JP3157655B2 (en) 1993-07-20 1993-07-20 Message recording system

Country Status (1)

Country Link
JP (1) JP3157655B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139940B2 (en) 2003-04-10 2006-11-21 International Business Machines Corporation Method and apparatus for reporting global errors on heterogeneous partitioned systems

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139940B2 (en) 2003-04-10 2006-11-21 International Business Machines Corporation Method and apparatus for reporting global errors on heterogeneous partitioned systems

Also Published As

Publication number Publication date
JP3157655B2 (en) 2001-04-16

Similar Documents

Publication Publication Date Title
AU719368B2 (en) Font sharing system and method, and recording medium storing program for executing font sharing method
JPH0736762A (en) Message recording system
US20040019854A1 (en) Dynamically configurable page numbering system
JP3800588B2 (en) Summary video display device and summary video display method
JP2845742B2 (en) Cut data information management device
JP3912849B2 (en) Character processing apparatus, character processing method, and recording medium
JP2834032B2 (en) Individual output method of the same attribute form
JP3037046B2 (en) Network configuration statement list editing method
JP2959490B2 (en) String addition method
JPH05224860A (en) System for storing picture display message data
JP2995248B2 (en) File control unit
JPH08137880A (en) Document processor
JP2000322413A (en) Method and device for editing character string and recording medium recording program for character string editing
JPH11120175A (en) Structured document display system and storage medium recording program functioning computer as structured document display system
JP2000222403A (en) Device and method for preparing graphic, and storage medium
JP2002163107A (en) Automatic program generator and its method
JPH10116350A (en) Graphic compiling device and method, and storage medium
JP2000231593A (en) Method for outputting dump list for database
JPH10200646A (en) Data communication equipment
JPH0756910A (en) Word processor
JPH04199236A (en) File controller
JP2000029750A (en) Memory dump file reconstituting system
JP2001256237A (en) System and method for retrieving cad data and recording medium with recorded cad data retrieval program
JP2001022338A (en) Font changeover system
JP2005222457A (en) Structured document processor, structured document processing method and program therefor

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: 20010123

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees