JPH0573621A - Time series data processing system - Google Patents

Time series data processing system

Info

Publication number
JPH0573621A
JPH0573621A JP3231318A JP23131891A JPH0573621A JP H0573621 A JPH0573621 A JP H0573621A JP 3231318 A JP3231318 A JP 3231318A JP 23131891 A JP23131891 A JP 23131891A JP H0573621 A JPH0573621 A JP H0573621A
Authority
JP
Japan
Prior art keywords
data
file
time
management
series 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
JP3231318A
Other languages
Japanese (ja)
Inventor
Shigeru Inoue
茂 井上
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP3231318A priority Critical patent/JPH0573621A/en
Publication of JPH0573621A publication Critical patent/JPH0573621A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To efficiently execute a processing for statistics, which designates plural periods as to time series data on plural files. CONSTITUTION:A time series data management part 3 classifies time series data stored in plural input files by individual data types and generates data files 4. At that time, management data having the time of initial data and the time of final data are written into a management file 5 with the medium types designated by the individual data types, a volume name and a file name. When the data type and the period are designated, a data retrieval processing part 6 retrieves the concerned data file 4 from the management file 5 and extracts data in the period of the data file 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は時系列データ処理方式、
特に複数のファイルのそれぞれに時系列に格納されたデ
ータを処理する系列データ処理方式に関する。
The present invention relates to a time series data processing system,
In particular, it relates to a series data processing method for processing data stored in time series in each of a plurality of files.

【0002】[0002]

【従来の技術】従来、この種の時系列データ処理方式
は、処理の対象となる複数のファイルのデータを日付・
時刻データをキーとしてソート・マージして一つのファ
イルにした後に、検索等のデータ処理を実行するように
なっている。
2. Description of the Related Art Conventionally, this type of time-series data processing method uses data of a plurality of files to be processed as date / time data.
After the time data is used as a key for sorting and merging into one file, data processing such as searching is executed.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の時系列
データ処理方式は、データ処理の対象となる期間の時系
列データを含む複数のファイルをソート・マージして一
つのファイルにしているためファイル数が増大するに伴
って処理手順が煩雑になるという問題点を有している。
また処理する期間をパラメータとして入力し、複数の異
なった期間で処理を行なうには、ファイルから対象とす
るデータのみを抽出する処理をパラメータの数だけ実行
しなければならないため、ファイル数、指定の期間数、
データ量に伴なって処理時間が増大するという欠点があ
る。
According to the conventional time series data processing method described above, a plurality of files containing time series data of a period to be processed are sorted and merged into one file. There is a problem that the processing procedure becomes complicated as the number increases.
To input the period to be processed as a parameter and to process at multiple different periods, it is necessary to execute the process of extracting only the target data from the file for the number of parameters. Number of periods,
There is a drawback that the processing time increases with the amount of data.

【0004】[0004]

【課題を解決するための手段】本発明の時系列データ処
理方式は、複数の入力ファイルのそれぞれに時系列に格
納されたデータを処理する時系列データ処理方式におい
て、記録媒体種別,ボリューム名を指定され入力ファイ
ルの時系列データをデータ種別ごとに分類したデータフ
ァイルを生成し、生成したデータファイルごとのデータ
種別と記録媒体種別とボリューム名とファイル名と最初
のデータの時刻と最後のデータの時刻とを含む管理デー
タを出力する時系列データ管理手段と、この時刻列デー
タ管理手段から出力された管理データを書込む管理ファ
イルと、データ種別と期間との指定を受けて前記管理フ
ァイルから該当する管理データを検索して、検索した管
理データが示すデータファイルから指定された期間の時
系列データを読出すデータ検索処理手段とを有すること
により構成される。
The time series data processing method of the present invention is a time series data processing method for processing data stored in time series in each of a plurality of input files. Generates a data file that classifies the time-series data of the specified input file for each data type, and generates the data type, recording medium type, volume name, file name, time of the first data, and last data of each generated data file. A time-series data management unit that outputs management data including time, a management file that writes the management data output from the time-series data management unit, and a management file corresponding to the data type and the period specified. Search the management data to be read and read the time series data for the specified period from the data file indicated by the searched management data. It constituted by having a data search processing means.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の構成図である。
図1の実施例において、時系列データ管理部3は時系列
データを記録した複数の入力ファイル1および操作卓2
から出力するデータファイル4の記憶媒体種別,ボリュ
ーム名のパラメータを読込み、時系列データをデータ種
別で分類してデータファイル4に出力する。また出力し
た時系列データに基づき、データファイルの管理データ
を生成して管理ファイル5に出力する。データ検索処理
部6は操作卓2から入力したデータ種別およびパラメー
タ(期間)を読込み、指定されたデータ種別とパラメー
タとを条件に管理ファイル5上の管理データを検索し、
管理データから条件の一致するデータファイルをみつけ
て該当のデータファイルを読込む。
FIG. 1 is a block diagram of an embodiment of the present invention.
In the embodiment of FIG. 1, the time-series data management unit 3 includes a plurality of input files 1 and operation consoles 2 that record time-series data.
The parameters of the storage medium type and volume name of the data file 4 output from are read, the time-series data is classified by the data type, and output to the data file 4. Also, based on the output time-series data, management data of the data file is generated and output to the management file 5. The data search processing unit 6 reads the data type and parameters (period) input from the console 2, searches the management data on the management file 5 on the condition of the specified data type and parameter,
Find the data file that matches the conditions from the management data and read the corresponding data file.

【0007】図2は図1の入力ファイル1のレコードの
形式図で、データ種別は時系列データの種類を示してい
る。入力ファイル1のそれぞれは各レコードに付与した
日時・時刻をキーとして昇順に記録したデータの集合で
あり、順編成ファイルの形成となっている。
FIG. 2 is a format diagram of the record of the input file 1 of FIG. 1, and the data type shows the type of time series data. Each of the input files 1 is a set of data recorded in ascending order using the date and time given to each record as a key, and forms a sequential file.

【0008】図3は図1の管理ファイル5の形式図で、
時刻列データを一元的に管理するためのデータが表形式
で書込まれる。管理ファイル5の1行の各項にデータ種
別,記憶媒体種別,ボリューム名,ファイル名,最初の
データ時刻,最後のデータ時刻を含み、種別ごとに一つ
の時系列データの集合であるデータファイルを管理す
る。
FIG. 3 is a format diagram of the management file 5 of FIG.
Data for centrally managing the time series data is written in a table format. A data file that is a set of time series data for each type, including the data type, storage medium type, volume name, file name, first data time, and last data time in each item of one line of the management file 5 to manage.

【0009】図4は図1の時系列データ管理部3の処理
の流れ図である。図4を参照して時系列データ管理部3
の処理について説明を進めると、時系列データ管理部3
はまず入力ファイル1から時系列データを、また操作卓
から時系列データを出力するデータファイルの記憶媒体
種別,ボリューム名をパラメータとして読込む(ステッ
プ101)。次いで読込んだ時系列データをデータ種別
で分類し、指定されたボリューム上にデータファイルを
生成し出力する(ステップ102)。このときデータフ
ァイル上の時系列データを管理するために、データ種別
単位に第1レコードと最終レコードとの時刻を記憶して
おき、入力ファイル1の処理終了時に、出力したデータ
ファイル4のデータ種別,媒体種別,ボリューム名,フ
ァイル名を付加して管理データを生成し(ステップ10
3)、管理ファイル5へ出力する(ステップ104)。
FIG. 4 is a flow chart of processing of the time series data management unit 3 of FIG. Referring to FIG. 4, the time series data management unit 3
The processing of the time series data management unit 3
First, the time series data is read from the input file 1 and the storage medium type and volume name of the data file that outputs the time series data from the console are read as parameters (step 101). Next, the read time-series data is classified by data type, and a data file is generated and output on the designated volume (step 102). At this time, in order to manage the time-series data on the data file, the times of the first record and the last record are stored for each data type unit, and when the processing of the input file 1 is completed, the data type of the output data file 4 is output. , Medium type, volume name, and file name are added to generate management data (step 10
3), output to the management file 5 (step 104).

【0010】図5は図1のデータ検索処理部6の処理の
流れ図である。図5を参照してデータ検出処理部6の処
理について説明を進めると、データ検出処理部6は、ま
ず操作卓2からデータ処理の対象となるデータ種別,期
間をパラメータとして読込み(ステップ201)、この
パラメータを検索条件として管理ファイル5の管理デー
タを検索し、パラメータの一致した管理データから、デ
ータ処理の対象となるデータファイル4をアクセスする
ための情報である媒体種別,ボリューム名,ファイル名
を抽出し(ステップ202)、データファイルをオープ
ンする(ステップ203)。オープンしたデータファイ
ル4の読込みを実行した、パラメータで指定した期間の
時系列データを抽出する(ステップ204)。
FIG. 5 is a flow chart of processing of the data search processing unit 6 of FIG. To explain the processing of the data detection processing unit 6 with reference to FIG. 5, the data detection processing unit 6 first reads from the operator console 2 the data type and the period to be subjected to the data processing as parameters (step 201), The management data of the management file 5 is searched using this parameter as the search condition, and the medium type, volume name, and file name, which are the information for accessing the data file 4 that is the target of the data processing, are calculated from the management data with the matching parameters. The data file is extracted (step 202) and the data file is opened (step 203). The open data file 4 is read and the time-series data of the period designated by the parameter is extracted (step 204).

【0011】[0011]

【発明の効果】以上説明したように本発明は、複数の時
系列データを格納した入力ファイルから、データ種別ご
とのデータファイルとこのデータファイルを管理する管
理ファイルとを生成することにより、必要とする期間お
よびデータ種別の時系列データ処理が、操作卓からのパ
ラメータ入力だけで容易に実行することができるように
なり、運用手順を大幅に簡略化できる。また、従来のデ
ータのソート・マージ処理に要した時間や該当データの
抽出処理に要した時間を短縮でき効率的なデータ処理が
行なえるという効果がある。
As described above, the present invention is required by generating a data file for each data type and a management file for managing this data file from an input file storing a plurality of time series data. The time series data processing of the period and the data type to be performed can be easily executed only by inputting the parameter from the operator console, and the operation procedure can be greatly simplified. Further, there is an effect that the time required for the conventional data sort / merge processing and the time required for the extraction processing of the corresponding data can be shortened and efficient data processing can be performed.

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

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

【図2】図1に示した入力ファイルのレコードの形式図
である。
FIG. 2 is a format diagram of a record of the input file shown in FIG.

【図3】図1に示した管理ファイルの形式図である。FIG. 3 is a format diagram of a management file shown in FIG.

【図4】図1の時系列データ管理部の処理の流れ図であ
る。
FIG. 4 is a flowchart of processing of a time series data management unit of FIG.

【図5】図1のデータ検索処理部の処理の流れ図であ
る。
5 is a flow chart of processing of a data search processing unit in FIG.

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

1 入力ファイル 2 操作卓 3 時系列データ管理部 4 データファイル 5 管理ファイル 6 データ検索処理部 1 input file 2 operation console 3 time series data management unit 4 data file 5 management file 6 data search processing unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力ファイルのそれぞれに時系列
に格納されたデータを処理する時系列データ処理方式に
おいて、記録媒体種別,ボリューム名を指定され入力フ
ァイルの時系列データをデータ種別ごとに分類したデー
タファイルを生成し、生成したデータファイルごとのデ
ータ種別と記録媒体種別とボリューム名とファイル名と
最初のデータの時刻と最後のデータの時刻とを含む管理
データを出力する時系列データ管理手段と、この時刻列
データ管理手段から出力された管理データを書込む管理
ファイルと、データ種別と期間との指定を受けて前記管
理ファイルから該当する管理データを検索して、検索し
た管理データが示すデータファイルから指定された期間
の時系列データを読出すデータ検索処理手段とを有する
ことを特徴とする時系列データ処理方式。
1. A time-series data processing method for processing data stored in time series in each of a plurality of input files, in which a time-series data of an input file is classified by a data type by specifying a recording medium type and a volume name. Time-series data management means for generating the generated data file and outputting management data including the data type, the recording medium type, the volume name, the file name, the time of the first data, and the time of the last data for each generated data file. And a management file in which the management data output from this time series data management means is written, and a corresponding management data is searched from the management file in response to designation of the data type and period, and the searched management data indicates And a data search processing means for reading time-series data of a specified period from the data file. Series data processing method.
JP3231318A 1991-09-11 1991-09-11 Time series data processing system Pending JPH0573621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3231318A JPH0573621A (en) 1991-09-11 1991-09-11 Time series data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3231318A JPH0573621A (en) 1991-09-11 1991-09-11 Time series data processing system

Publications (1)

Publication Number Publication Date
JPH0573621A true JPH0573621A (en) 1993-03-26

Family

ID=16921757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3231318A Pending JPH0573621A (en) 1991-09-11 1991-09-11 Time series data processing system

Country Status (1)

Country Link
JP (1) JPH0573621A (en)

Similar Documents

Publication Publication Date Title
EP1566753B1 (en) Searchable archive
JP2003162545A (en) File search device, index file creation device and file search program
JP4879193B2 (en) System log management support apparatus and system log management support method
JPH05257774A (en) Information retrieving device compressing/storing index record number
JPH0573621A (en) Time series data processing system
JP2835854B2 (en) Control method of image file device
JP2573577B2 (en) File access device
JP2759951B2 (en) General-purpose multi-dimensional summary book creation system
JP2669241B2 (en) Migration processing method
JP2724235B2 (en) Variable name inference device
JPH09101886A (en) Device for automatically extracting/reusing program component
JPH11306183A (en) Data base retrieval system
JP3309803B2 (en) Sorting method, method, and recording medium recording sort processing program
JP2852253B2 (en) Data retrieval device
JPH08235044A (en) Journal retrieval systm
JPH0452967A (en) And operation processing system for set file
JPH0756952A (en) Data extraction retrieval system
JPH0830642A (en) Cd-rom data retrieval system
JPH06223119A (en) Optical disk retrieving device
JPH0594338A (en) Trace editing system
JPH07295993A (en) System for retrieving relational record
JPH0823867B2 (en) Adjacency search method using aggregate files
JPH06149635A (en) Method for additional processing of record
JP2001109768A (en) Device for generating database index
JPH04230576A (en) Method for retrieving record