JPS63191247A - Log-out processing system - Google Patents
Log-out processing systemInfo
- Publication number
- JPS63191247A JPS63191247A JP62022968A JP2296887A JPS63191247A JP S63191247 A JPS63191247 A JP S63191247A JP 62022968 A JP62022968 A JP 62022968A JP 2296887 A JP2296887 A JP 2296887A JP S63191247 A JPS63191247 A JP S63191247A
- Authority
- JP
- Japan
- Prior art keywords
- data
- log
- block
- log data
- valid
- 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
Links
- 238000013480 data collection Methods 0.000 claims abstract description 9
- 238000003672 processing method Methods 0.000 claims description 16
- 238000013500 data storage Methods 0.000 claims description 14
- 238000000034 method Methods 0.000 abstract description 4
- 230000010365 information processing Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は情報処理装置におけるログアウト処理方式に関
し、特にログデータの収集対象となるデータ格納領域の
データの内容に応じてログデータを選択的に収集するロ
グアウト処理方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a logout processing method in an information processing device, and in particular to a method for selectively collecting log data according to the content of data in a data storage area from which log data is collected. Regarding the logout processing method to be collected.
一般に、ログアウト処理は、情報処理装置において装置
故障やプログラム運用上の障害等のログアウト要因の発
生時に障害原因の解析データを残すためのデータ収集を
目的として行われるものである。In general, logout processing is performed in an information processing apparatus for the purpose of collecting data in order to preserve analysis data of the cause of the failure when a logout factor such as a device failure or a failure in program operation occurs.
従来、この種のログアウト処理方式は、ログアウト要因
に従ってあらかじめ定められたデータ格納領域からその
内容に無関係にログデータを収集してログアウト処理を
行っていた。Conventionally, this type of logout processing method performs logout processing by collecting log data from a predetermined data storage area in accordance with the logout factor, regardless of its contents.
上述した従来のログアウト処理方式は、有効な情報の有
無にかかわらずデータ格納領域から常に一定量のログデ
ータを収集するようになっているので、記憶装置等の大
容量のデータ格納領域からログデータを収集する場合に
は、ログデータを格納するログファイルの容量上の制限
から収集するログデータの範囲が限定されてしまうとい
う欠点がある。The conventional logout processing method described above always collects a certain amount of log data from the data storage area regardless of the presence or absence of valid information. When collecting log data, there is a drawback that the range of log data to be collected is limited due to capacity limitations of log files that store log data.
また、収集された多量のログデータ中に不要なデータが
混在することになるので、ログデータの解析に手間取る
という欠点がある。Furthermore, since unnecessary data is mixed in a large amount of collected log data, there is a drawback that it takes time to analyze the log data.
本発明の目的は、上述の点に鑑み、データをその内容に
応じてブロック11位に選択的にログデータとして収集
することにより、ログデータの収集量を削減するように
したログアウト処理方式を提供することにある。In view of the above-mentioned points, an object of the present invention is to provide a logout processing method that reduces the amount of collected log data by selectively collecting data as log data in the 11th block according to its content. It's about doing.
本発明のログアウト処理方式は、ログデータの収集対象
となるデータ格納領域を1つあるいは複数のブロックに
分割してブロック単位にデータをロードするプロ・ツク
分割ロード手段と、このブロック分割ロード手段により
ロードされたデータの一部を参照してこのデータの有効
性を判断する有効データ選択手段と、この有効データ選
択手段により有効と判断されたブロックのデータをログ
データとして収集するブロックデータ収集手段とを有す
る。The logout processing method of the present invention includes a block division loading means that divides a data storage area for which log data is collected into one or more blocks and loads data in block units, and a block division loading means. valid data selection means that refers to a part of the loaded data and determines the validity of this data; and block data collection means that collects data of blocks determined to be valid by the valid data selection means as log data. has.
本発明のログアウト処理方式では、ブロック分割ロード
手段がログデータの収集対象となるデータ格納領域を1
つあるいは複数のブロックに分割してブロック単位にデ
ータをロードし、有効データ選択手段がブロック分割ロ
ード手段によりロードされたデータの一部を参照してデ
ータの有効性−を判断し、ブロックデータ収集手段が有
効データ選択手段により有効と判断されたブロックのデ
ータをログデータとして収集する。In the logout processing method of the present invention, the block division loading means divides the data storage area from which log data is collected into one
The data is divided into one or more blocks and loaded in block units, and the valid data selection means judges the validity of the data by referring to a part of the data loaded by the block division loading means, and collects the block data. The means collects data of blocks determined to be valid by the valid data selection means as log data.
〔実施例〕 7 次に、本発明について図面を参照して詳細に説明する。[Example] 7 Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明の一実施例の構成を示すブロック図で
ある。本実施例のログアウト処理方式は、ブロック分割
ロード手段1と、有効データ選択手段2と、ブロックデ
ータ収集手段3とから構成されている。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The logout processing method of this embodiment is comprised of block division loading means 1, valid data selection means 2, and block data collection means 3.
ブロック分割ロード手段1は、ログアウト処理時にログ
データの収集対象となるデータ格納領域lOを1つある
いは複数のブロックに分割してブロック単位にデータを
主記憶(図示せず)にロードする0例えば、本実施例の
ログアウト処理時式では、データ格納領域lO上の制御
情報を32バイトを1ブロツクとしてブロック単位に主
記憶上にロードする。The block division loading means 1 divides the data storage area 1O from which log data is collected during logout processing into one or more blocks, and loads the data into the main memory (not shown) in units of blocks. In the logout processing method of this embodiment, the control information on the data storage area IO is loaded into the main memory in blocks of 32 bytes each.
有効データ選択手段2は、ブロック分割ロード手段1に
より主記憶上にロードされたデータの一部の情報を参照
してこのデータの有効性を判断する。本実施例のログア
ウト処理方式では、各ブロック中の先頭より17バイト
目の!j[4ビツトにブロック内の制御情報を代表する
ステータスが置かれており、この4ビツトが全て′0”
のときにはそのブロックの制御情報が情報処理装置上で
使われていないことを示すのでログ収集の対象とせず、
この4ビツトのうちの少な(とも1ビツトが“l゛のと
きには、そのビットの表す状態によりブロック内の制御
情報が情報処理”Jl上で使われていて意味を持つこと
を示、すQでログ収集の対象としている。以下、ログ収
集の対象としないデータを無効なデータと称し、ログ収
集の対象とするデータを有効なデータと称する。The valid data selection means 2 refers to information on a part of the data loaded onto the main memory by the block division loading means 1 and determines the validity of this data. In the logout processing method of this embodiment, the 17th byte from the beginning of each block! j [The status representing the control information in the block is placed in 4 bits, and these 4 bits are all '0''
When , it indicates that the control information for that block is not used on the information processing device, so it is not subject to log collection.
When one of these four bits is "1", the state represented by that bit indicates that the control information in the block is used in information processing and has meaning. Hereinafter, data that is not subject to log collection will be referred to as invalid data, and data that is subject to log collection will be referred to as valid data.
なお、ログアウト要因の発生時に必要とされるログデー
タの収集条件がもつと詳蝉に規定できる場合は、その収
集条件に従ってデータをあらかじめ解析して必要なデー
タのみを選別することも可能であるが、本実施例のログ
アウト処理方式では処理速度等の面から単純にブロック
の17バイト目の!114ビットが全てO゛かどうかだ
けを判断することによりログデータとして収集するか否
かを決定している。Furthermore, if it can be specified that the log data collection conditions required when a logout factor occurs, it is possible to analyze the data in advance according to the collection conditions and select only the necessary data. , in the logout processing method of this embodiment, from the viewpoint of processing speed, etc., the 17th byte of the block is simply stored! It is determined whether or not to collect log data by simply determining whether all 114 bits are O'.
ブロックデータ収集手段3は、有効データ選択手段2に
よりブロックのデータが有効と判断されたときに、この
ブロックのデータをログデータとして収集してログファ
イル20に格納する。When the data of a block is determined to be valid by the valid data selection means 2, the block data collection means 3 collects the data of this block as log data and stores it in the log file 20.
次に、このように構成された本実施例のログアウト処理
方式の動作について説明する。なお、ここでは、第2図
を参照しながら、データ格納領域lO上に情報処理装置
の状態を表示している制御情報を32バイトを1ブロツ
クとして8192個有する情報処理装置における制御情
報のログ収集を一例として説明を行う。Next, the operation of the logout processing method of this embodiment configured as described above will be explained. Here, with reference to FIG. 2, we will discuss the log collection of control information in an information processing device that has 8192 pieces of control information indicating the status of the information processing device in the data storage area IO, with 32 bytes as one block. will be explained as an example.
情報処理装置の稼動時には、8192個の制御情報#1
〜#8192を格納するデータ格納領域10の一部が使
用されるが、使用される領域をあらかじめ特定すること
はできない。When the information processing device is in operation, 8192 pieces of control information #1
A part of the data storage area 10 for storing ~#8192 is used, but the area to be used cannot be specified in advance.
いま、障害発生等の要因によりログアウト処理が起動さ
れると、ブロック分割ロード手段lはデータ格納領域1
0の先頭のブロック上の制御情報#1を主記憶上にロー
ドする。次に、有効データ選択手段2は、ブロック分割
ロード手段1により主記憶上にロードされた制御情報#
Iの32バイト中の17バイト目のデータ“04H”C
下付のHは16進数であることを示す。以下同様)の類
4ビットが11″であるか”o”であるかをテストし、
全て“0”であるので制御情報#lが無効なデータであ
ると判断する。続いて、ブロックデータ収集手段3は、
制御情報#lが有効データ選択手段2により無効なデー
タであると判断されたのを受けて、制御情報#1のブロ
ックをログファイル20に格納せずに廃棄する。Now, when logout processing is started due to a factor such as the occurrence of a failure, the block division loading means l loads the data storage area 1.
Control information #1 on the first block of 0 is loaded onto the main memory. Next, the valid data selection means 2 selects the control information # loaded onto the main memory by the block division loading means 1.
Data “04H”C of 17th byte of 32 bytes of I
The subscript H indicates a hexadecimal number. (Same below) tests whether the 4 bits of the class are 11" or "o",
Since they are all "0", it is determined that the control information #l is invalid data. Subsequently, the block data collection means 3
When the control information #1 is determined to be invalid data by the valid data selection means 2, the block of control information #1 is discarded without being stored in the log file 20.
ブロックデータ収集手段3での処理が終了すると、再び
ブロック分割手段1が起動され、データ格納領域IOの
次のブロック上の制御情報#2が主記憶上にロードされ
る。次に、有効データ選択手段2は、制御情報#2の3
2バイト中の17バイト目のデータ″lOH“の類4ビ
ットが“1”であるか0”であるかをテストし、全て“
0″ではないので制御情報#2が有効なデータであると
判断する。続いて、ブロックデータ収集手段3は、制御
情報#2が有効データ選択手段2により有効なデータで
あると判断されたのを受けて、制御情報#2をログデー
タとして収集し制御情報#2のブロック番号を示す情報
(アドレス等)とともにログファイル20に格納する。When the processing in the block data collecting means 3 is completed, the block dividing means 1 is activated again, and the control information #2 on the next block in the data storage area IO is loaded onto the main memory. Next, the valid data selection means 2 selects 3 of the control information #2.
Test whether the 4 bits of the 17th byte data "lOH" in the 2 bytes are "1" or 0, and all "
0'', the control information #2 is determined to be valid data.Next, the block data collection means 3 determines that the control information #2 is valid data by the valid data selection means 2. In response, the control information #2 is collected as log data and stored in the log file 20 together with information (address, etc.) indicating the block number of the control information #2.
なお、ログデータの一部としてアドレス等の付加情報を
加えることは、ログデータを見やすくするために一般的
に行われていることである。Note that adding additional information such as an address as part of log data is a common practice in order to make log data easier to read.
以下、同様にして、ブロック分割ロード手段1により制
御情報#3〜#8192のブロックが順次主記憶上にロ
ードされ、有効データ選択手段2により制御情報#3〜
#8192のブロックが順次テストされ、ブロックデー
タ収集手段3により制御情報#3〜#8192がログデ
ータとして収集されて選択的にログファイル20に格納
される。そして、データ格納領域10上の制御情報がな
くなると、本実施例のログアウト処理方式の動作が終了
される。Thereafter, similarly, blocks of control information #3 to #8192 are sequentially loaded onto the main memory by the block division loading means 1, and blocks of control information #3 to #8192 are sequentially loaded onto the main memory by the block division loading means 2.
Block #8192 is sequentially tested, and control information #3 to #8192 are collected as log data by the block data collecting means 3 and selectively stored in the log file 20. Then, when the control information on the data storage area 10 is exhausted, the operation of the logout processing method of this embodiment is ended.
以上の結果、’tL+ ”、 ”42++ ”、“C
o11”等のように制御情報#1〜#8192中の17
バイト目のデータの!14ビットが“0“でない制御情
報#2. #8190. #8192等のブロックが
選択され、各制御情報#2. #8190.98192
等のブロック番号を示す情報(アドレス等)とともにロ
グデータとして収集されてログファイル20に格納され
る。As a result of the above, 'tL+'', '42++', 'C
17 of control information #1 to #8192, such as "o11"
Byte data! Control information #2 in which 14 bits are not “0”. #8190. Blocks such as #8192 are selected and each control information #2. #8190.98192
The data is collected as log data together with information indicating the block number (address, etc.) and stored in the log file 20.
以上説明したように本発明は、ログデータの収集時にブ
ロック単位にデータを読み出しそのデータの一部に基づ
いてあらかじめ定められた方法によりブロック内のデー
タがログデータとして有効かどうかを判断してログデー
タを選択的に収集することにより、ログデータの収集量
が削減されるとともに、有効なデータのみがログデータ
として収集されるのでログデータの解析能率が向上する
という効果がある。As explained above, the present invention reads data block by block when collecting log data, determines whether or not the data in the block is valid as log data based on a part of the data in a predetermined method, and logs the log data. By selectively collecting data, the amount of collected log data is reduced, and since only valid data is collected as log data, log data analysis efficiency is improved.
第1図は本発明のログアウト処理方式の一実施例の構成
を示すブロック図、
第2図は本実施例のログアウト処理方式の動作の一例を
示す図である。
図において、
1・・・ブロック分割ロード手段、
2・・・有効データ選択手段、
3・・・ブロックデータ収集手段、
工0・・・データ格納領域、
20・・・ログファイルである。FIG. 1 is a block diagram showing the configuration of an embodiment of the logout processing method of the present invention, and FIG. 2 is a diagram showing an example of the operation of the logout processing method of the present embodiment. In the figure, 1... block division loading means, 2... valid data selection means, 3... block data collection means, 0... data storage area, 20... log file.
Claims (1)
いは複数のブロックに分割してブロック単位にデータを
ロードするブロック分割ロード手段と、 このブロック分割ロード手段によりロードされたデータ
の一部を参照してこのデータの有効性を判断する有効デ
ータ選択手段と、 この有効データ選択手段により有効と判断されたブロッ
クのデータをログデータとして収集するブロックデータ
収集手段と、 を有することを特徴とするログアウト処理方式。[Scope of Claims] Block division loading means for dividing a data storage area from which log data is collected into one or more blocks and loading data in units of blocks; and data loaded by the block division loading means. valid data selection means for determining the validity of this data by referring to a part of the data; and block data collection means for collecting data of blocks determined to be valid by the valid data selection means as log data. A logout processing method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62022968A JPS63191247A (en) | 1987-02-03 | 1987-02-03 | Log-out processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62022968A JPS63191247A (en) | 1987-02-03 | 1987-02-03 | Log-out processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63191247A true JPS63191247A (en) | 1988-08-08 |
Family
ID=12097378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62022968A Pending JPS63191247A (en) | 1987-02-03 | 1987-02-03 | Log-out processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63191247A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200366A (en) * | 1993-12-28 | 1995-08-04 | Nec Corp | Collection system for fault information |
-
1987
- 1987-02-03 JP JP62022968A patent/JPS63191247A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200366A (en) * | 1993-12-28 | 1995-08-04 | Nec Corp | Collection system for fault information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3545535B2 (en) | Semiconductor memory test method and apparatus | |
CN111008135A (en) | APP test method, device, equipment and storage medium | |
CN109992511B (en) | Device and method for obtaining code test coverage rate | |
JPS63191247A (en) | Log-out processing system | |
JPH11327967A (en) | Log file analyzer | |
JPH0452835A (en) | Program test evaluation system | |
JPS63211442A (en) | Logout processing system | |
JP3399741B2 (en) | Dump data display method and failure analysis system | |
JP2734023B2 (en) | Index search method | |
JPS63201841A (en) | Program debugging system | |
JPH01107371A (en) | Dynamic processing system for fault track | |
JPH0193841A (en) | System for evaluating program execution in data processing system | |
JPS6266326A (en) | Array processing system for japanese data | |
JPH0689203A (en) | Program collective test device | |
JPS6324425A (en) | Test comprehensive state detection system | |
JP2513328B2 (en) | Dump output method | |
JPH02304640A (en) | Memory dump collecting system | |
JPS59177799A (en) | Checking system of read-only memory | |
JP2936170B2 (en) | Failure handling method | |
JPS61279951A (en) | Instrumentation system for program including factor | |
JPH06222888A (en) | File copying system | |
JPS5833631B2 (en) | data processing system | |
JPH05210467A (en) | Method for copying to plural floppy disks | |
JPS603759A (en) | Program analyzer | |
JPH01227560A (en) | System for measuring test coverage for electronic switching system |