JPH03202956A - Retrieval method for history data - Google Patents

Retrieval method for history data

Info

Publication number
JPH03202956A
JPH03202956A JP1344416A JP34441689A JPH03202956A JP H03202956 A JPH03202956 A JP H03202956A JP 1344416 A JP1344416 A JP 1344416A JP 34441689 A JP34441689 A JP 34441689A JP H03202956 A JPH03202956 A JP H03202956A
Authority
JP
Japan
Prior art keywords
time
index
history data
date
historical data
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
JP1344416A
Other languages
Japanese (ja)
Inventor
Minoru Yamamoto
山元 実
Masaru Horie
堀江 勝
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.)
Toshiba Corp
Toshiba Intelligent Technology Co Ltd
Original Assignee
Toshiba Corp
Toshiba Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Intelligent Technology Co Ltd filed Critical Toshiba Corp
Priority to JP1344416A priority Critical patent/JPH03202956A/en
Publication of JPH03202956A publication Critical patent/JPH03202956A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To shorten a retrieval time by saving a data and time at that time, using the table of the date and time as an index and retrieving the date and time form the index when history data is generated and when it is saved in a hard disk and the like. CONSTITUTION:A recording medium consists of the index area of one track and the history data saving area 2 of 3,000 tracks. Namely, history data from a history data buffer on a memory is saved in the history data saving area 2 in a track unit and the index is generated on the memory. For the content of the index, the date is recorded by six bytes from the head in an ASCII code, the number of registration by subsequent two bytes by hexadecimal and time by the ASCII code in four bytes unit the end of one table. At the time of retrieval, retrieval start date and time are inputted and a device being the object of retrieval is inputted so as to retrieve the objective index. Thus, the retrieval time can be shortened.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えばシステムでトラブル発生時の履歴デー
タ解析等に適用される履歴データの検索方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a historical data retrieval method that is applied, for example, to historical data analysis when a trouble occurs in a system.

(従来の技術) 従来、システムでトラブル発生時に履歴データを解析す
る場合には、膨大な量の履歴データの中から直接対象と
する日付・時刻の履歴データ部分を検索し、出力して解
析していた。
(Conventional technology) Conventionally, when analyzing historical data when a problem occurs in a system, it is necessary to directly search for the historical data part of the target date and time from a huge amount of historical data, output it, and analyze it. was.

(発明が解決しようとする課題) 従来は、膨大な量の履歴データの中から、必要部分を検
索する際に多くの時間がかかるという問題があった。
(Problems to be Solved by the Invention) Conventionally, there has been a problem in that it takes a lot of time to search for a necessary part from a huge amount of historical data.

そこで、この発明は、日付・時刻をインデックスエリア
から検索することにより、日付検索1時刻検索に費やす
時間を短縮し得、以て必要部分の検索時間を短縮し得る
履歴データの検索方法を提供することを目的とする。
Therefore, the present invention provides a historical data search method that can reduce the time required for date search and time search by searching the index area for date and time, thereby reducing the time required to search for necessary parts. The purpose is to

[発明の構成] (課題を解決するための手段) 本発明は上記課題を解決するために、履歴データを記憶
媒体の履歴データセーブエリアに1トラック単位でセー
ブする手段と、コードで日付。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above-mentioned problems, the present invention provides a means for saving history data track by track in a history data save area of a storage medium, and a means for saving history data in units of tracks in a history data save area of a storage medium, and a method for saving history data in units of tracks in a history data save area of a storage medium.

登録件数及び時刻が記録されたインデックスを前記記憶
媒体のインデックスエリアにセーブする手段と、この手
段でセーブしたインデックスエリアから対象とする日付
、登録件数及び時刻を検索する手段と、この手段で検索
した日付、登録件数及び時刻から対象とする履歴データ
を検索する手段と、この手段で検索した履歴データを読
み込んで対象デバイスを検索する手段とを具備したこと
を特徴とするものである。
means for saving an index in which the number of registrations and time are recorded in the index area of the storage medium; means for searching the index area saved by this means for a target date, number of registrations and time; and means for searching by this means. The present invention is characterized by comprising means for searching target historical data based on date, number of registrations, and time, and means for reading the historical data searched by this means and searching for a target device.

(作用) 本発明は、履歴データが発生してノ\−ドディスク等に
セーブする際に、その時の日付・時刻もセーブし、その
日付・時刻のデープルをインチ2ソクスとして使用し、
日付・時刻を上記インテ・ソクスから検索することによ
り、膨大な量の履歴データになればなるほど、ディスク
・アクセスを低減でき、検索時間の短縮となる。
(Function) When historical data is generated and saved to a node disk, etc., the present invention also saves the date and time at that time, and uses the date and time data as inch 2 soks.
By searching for the date and time from the above-mentioned information, the larger the amount of historical data, the more disk access can be reduced and the search time can be shortened.

(実施例) 第2図は記憶媒体、例えばノ\−ドディスクの構成を示
し、1トラツク(64セクタ)のインデックスエリア1
及び3000トラツクの履歴データセーブエリア2より
構成される。即ち、メモリ上の履歴データバッファより
の履歴データを、ノ\−ドディスクの履歴データセーブ
エリア2に1トラック単位でセーブする。その後、第1
図に示すような内容のインデックスをメモリ上に作成す
る。
(Example) Fig. 2 shows the configuration of a storage medium, for example a node disk, with an index area 1 of 1 track (64 sectors).
and a history data save area 2 of 3000 tracks. That is, the history data from the history data buffer on the memory is saved track by track in the history data save area 2 of the node disk. Then the first
Create an index in memory with the contents shown in the figure.

第1図はインデックスのテーブル256バイト(byt
e)を拡大し、そのメモリの内容を表したものである。
Figure 1 shows an index table of 256 bytes (bytes
e) is enlarged to show the contents of the memory.

即ち、インデックスの内容は、先頭から6バイトがAS
CIIコードで■日付(例えば09月25日89年)を
、次の2バイトが16進数で■登録件数、次からは、4
バイト単位ASCIIコードで■時刻(例えば15時O
O分)と、1テーブル(256バイト)の終りまで(最
大62件)記録される。このインデックスエリア1は1
トラツク(64セクタ)分確保され、上記テーブルが6
4テーブル、最大3968件登録が可能となる。
In other words, the contents of the index are AS 6 bytes from the beginning.
■The date (for example, September 25, 1989) in CII code, the next 2 bytes in hexadecimal, ■the number of registrations, and from then on, 4
■Time in byte unit ASCII code (for example, 15:00
0 minutes) and up to the end of one table (256 bytes) (up to 62 items). This index area 1 is 1
Tracks (64 sectors) are secured, and the above table is 6
It is possible to register up to 4 tables and a maximum of 3968 items.

上記インデックスの作成により、検索の際は、第3図の
履歴データ検索の処理概要に示すように、検索開始日付
・時刻を人力すると共に検索対象デバイスを人力し、対
象インデックスの検索をする。
By creating the above-mentioned index, when performing a search, as shown in the processing overview of historical data search in FIG. 3, the search start date and time are entered manually, and the device to be searched is entered to search for the target index.

即ち、まず、インデックステーブルの先頭6バイトの日
付を検索し、該当日付が見付かれば、次に、時刻の検索
をする。そして該当時刻がインデックスの先頭から何件
目の登録時刻であったかをカウントし、その件数がハー
ドディスクの履歴データの先頭から何トラック目にあた
るかがわかり、その該当トラックから履歴データを読み
込み、対象デバイスの検索を開始する。而して、対象デ
バイスの検索結果を出力して終了する。
That is, first, the date in the first 6 bytes of the index table is searched, and if the corresponding date is found, then the time is searched. Then, it counts the registration time of the corresponding time from the beginning of the index, finds out how many tracks from the beginning of the history data on the hard disk the corresponding time is, reads the history data from the corresponding track, and registers the target device. Start your search. Then, the search results for the target device are output and the process ends.

[発明の効果] 以上説明したように本発明によれば、数日に渡る膨大な
履歴データを検索する際に日付検索1時刻検索に費やす
時間の短縮に有効である。従って、履歴データの必要部
分の検索時間を短縮することができる。
[Effects of the Invention] As described above, the present invention is effective in reducing the time spent on date search and time search when searching a huge amount of historical data spanning several days. Therefore, it is possible to shorten the time required to search for a necessary portion of historical data.

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

第1図は本発明に係るインデックステーブルの内容の一
例を示す構成説明図、第2図は本発明に係るハードディ
スクのインデックスエリアと履歴データセーブエリアの
一例を示す構成説明図、第3図は本発明に係る履歴デー
タ検索の処理概要の一例を示すフローチャートである。 1・・・インデックスエリア、2・・・履歴データセー
ブエリア。
FIG. 1 is a configuration explanatory diagram showing an example of the contents of an index table according to the present invention, FIG. 2 is a configuration explanatory diagram showing an example of the index area and history data save area of a hard disk according to the present invention, and FIG. 3 is a flowchart illustrating an example of an overview of a historical data search process according to the invention. 1... Index area, 2... History data save area.

Claims (1)

【特許請求の範囲】[Claims] 履歴データを記憶媒体の履歴データ記憶エリアに1トラ
ック単位で記憶する手段と、履歴データの日付、登録件
数及び時刻から成るインデックス情報を前記記憶媒体の
インデックスエリアに記憶する手段と、この手段で記憶
したインデックスエリアから対象とする日付、登録件数
及び時刻のインデックス情報を検索する手段と、この手
段で検索したインデックス情報から対象とする履歴デー
タを検索する手段と、この手段で検索した履歴データを
読み込んで対象装置を検索する手段とを具備したことを
特徴とする履歴データの検索方法。
means for storing historical data on a track-by-track basis in a historical data storage area of a storage medium; means for storing index information consisting of date, number of registrations, and time of historical data in an index area of said storage medium; means for searching index information of a target date, number of registrations, and time from the index area searched for, a means for searching for target historical data from the index information searched by this means, and a means for reading the historical data searched by this means. 1. A method for searching historical data, comprising: means for searching for a target device.
JP1344416A 1989-12-28 1989-12-28 Retrieval method for history data Pending JPH03202956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1344416A JPH03202956A (en) 1989-12-28 1989-12-28 Retrieval method for history data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1344416A JPH03202956A (en) 1989-12-28 1989-12-28 Retrieval method for history data

Publications (1)

Publication Number Publication Date
JPH03202956A true JPH03202956A (en) 1991-09-04

Family

ID=18369085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1344416A Pending JPH03202956A (en) 1989-12-28 1989-12-28 Retrieval method for history data

Country Status (1)

Country Link
JP (1) JPH03202956A (en)

Similar Documents

Publication Publication Date Title
JPH03202956A (en) Retrieval method for history data
JPH07334402A (en) Data base as main memory
KR0156401B1 (en) Disc cashe dealing method of i/o processor
JPH0239225A (en) Filing system
JPS62245574A (en) Data storing system to rotating type recording medium
JPS61103242A (en) High-speed retrieval system
JPH04335471A (en) Data base reference processing system
JPH10289533A (en) Disk access method
JPH10106233A (en) Image recording method
JPH03225412A (en) File data read system
JPH0628779A (en) Method for recording and controlling data in disk device
JPS62167483A (en) Laboratory automation system
JPH06282475A (en) Filing system for time-series data
JPH04140825A (en) Optical disk device access system
JPH02252061A (en) Image filing device
JPH02302869A (en) File edition system
JPH0371349A (en) File control system
JPH0296214A (en) Partial restoring system for memory medium
JPH0317752A (en) Access method using index
JPH04116737A (en) Electronic filing device
JPH05274845A (en) Controlling method for magnetic tape recording/ reproducing device
JPH02120950A (en) Address conversion system for memory dump file access
JPH03194629A (en) Draw type optical disk data access control system
JPS63148349A (en) Cache memory positioning system
JPH0764835A (en) Data storage system for relational data base