JPH10143543A - Time sequential data preservation device and recording medium - Google Patents

Time sequential data preservation device and recording medium

Info

Publication number
JPH10143543A
JPH10143543A JP30060496A JP30060496A JPH10143543A JP H10143543 A JPH10143543 A JP H10143543A JP 30060496 A JP30060496 A JP 30060496A JP 30060496 A JP30060496 A JP 30060496A JP H10143543 A JPH10143543 A JP H10143543A
Authority
JP
Japan
Prior art keywords
data
time
series data
change amount
unit
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
JP30060496A
Other languages
Japanese (ja)
Inventor
Keiji Hokari
啓志 穂刈
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
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP30060496A priority Critical patent/JPH10143543A/en
Publication of JPH10143543A publication Critical patent/JPH10143543A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To save preservation resources and to save time required for the write and read processings of data by controlling the preservation of the data corresponding to the change amount of time sequential data. SOLUTION: When a data read part 21 reads the data outputted by the respective kinds of measurement devices 1a-1d in a fixed cycle, a data temporary preservation part 22 temporarily preserves the read new data, the data one before and a counter value at the present point of time, etc. A change amount calculation part 23 reads the previous data for comparison and the data of this time from the data temporary preservation part 22 and calculates the difference of each other. A change amount comparison part 24 compares the value of a calculated deviation and the reference value of the change amount set beforehand and judges size and a data preservation interval control part 25 preserves the data and the counter value to a data preservation part 26 when the value of the deviation is larger than the reference value as the compared result of the comparison part 24. Thus, when the change amount of the data is small, a preservation interval is prolonged and the preservation resources are saved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば下水処理プ
ラントなどで利用される時系列データ保存装置および記
録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time-series data storage device and a recording medium used in, for example, a sewage treatment plant.

【0002】[0002]

【従来の技術】例えば下水処理プラントなどでは、プラ
ント内に流れ込む下水の流量を計測する流量計、下水を
溜めておく池(沈殿池)の水位を計測する水位計、その
温度を計測する温度計、下水の水質を検査、分析する計
器類などが利用されており、それぞれの測定機器から得
られたデータ(プロセスデータ)を時系列データ保存装
置が記憶/保存し、そのプロセスデータをプラント制御
・監視などに役立てている。
2. Description of the Related Art In a sewage treatment plant, for example, a flow meter for measuring a flow rate of sewage flowing into the plant, a water level meter for measuring a water level of a pond (sedimentation pond) for storing sewage, and a thermometer for measuring the temperature thereof Instruments that inspect and analyze the quality of sewage water are used. Time-series data storage devices store and save data (process data) obtained from each measuring device, and process data is used for plant control and It is useful for monitoring.

【0003】下水処理プラントは、通常、停止すること
なく24時間稼働していることから、各種測定機器から
得られるプロセスデータも膨大な量になる。このため、
時系列データ保存装置の保存資源(データ保存部)とし
ての光磁気ディスク装置や磁気テープなども記憶容量の
大きなものが利用されている。
[0003] Since a sewage treatment plant is normally operated for 24 hours without stopping, enormous amount of process data is obtained from various measuring instruments. For this reason,
Magneto-optical disk devices, magnetic tapes, and the like as storage resources (data storage units) of the time-series data storage device also have a large storage capacity.

【0004】この種のプロセスデータは、長時間でわず
かな値しか変化しないものがほとんどであるが、監視と
いう意味では、全ての計器から得られたデータをそれぞ
れの変化が解るように保存しておく必要がある。
[0004] In most cases, this type of process data changes only slightly over a long period of time. However, in the sense of monitoring, data obtained from all instruments is stored so that each change can be understood. Need to be kept.

【0005】[0005]

【発明が解決しようとする課題】このように上述した従
来の時系列データ保存装置では、長時間でわずかな値し
か変化しないデータであったとしても時系列的に全てを
保存しておく必要があることから、大容量のデータ保存
手段を用いる必要があり、資源を節約できないという問
題があった。
As described above, in the conventional time-series data storage device described above, it is necessary to store all data in a time-series even if the data has only a small change in a long time. For this reason, there is a problem that it is necessary to use a large-capacity data storage means and resources cannot be saved.

【0006】本発明はこのような課題を解決するために
なされたもので、資源を節約することのできる時系列デ
ータ保存装置および記録媒体を提供することを目的とし
ている。
The present invention has been made to solve such a problem, and an object of the present invention is to provide a time-series data storage device and a recording medium that can save resources.

【0007】[0007]

【課題を解決するための手段】上記した目的を達成する
ために、請求項1記載の発明の時系列データ保存装置
は、データ発生源が発生したデータを所定時間毎に時系
列データとして取り込む取込手段と、前記取込手段によ
り取り込まれた時系列データを一時的に記憶する一時記
憶手段と、前記一時記憶手段から前回と今回の時系列デ
ータを読み出し変化量を求める変化量計算手段と、前記
変化量計算手段により求められた変化量に応じて前記一
時記憶手段に記憶した時系列データを保存するか否かの
判定を行う制御手段と、前記制御手段により保存許可さ
れた前記時系列データを保存する保存手段とを具備した
ことを特徴としている。
In order to achieve the above-mentioned object, a time-series data storage device according to the first aspect of the present invention is provided with a data-generating apparatus which captures data generated by a data source as time-series data at predetermined time intervals. Capturing means, temporary storage means for temporarily storing the time-series data captured by the capturing means, change amount calculation means for reading the previous and current time-series data from the temporary storage means to determine the change amount, Control means for determining whether to save the time-series data stored in the temporary storage means according to the amount of change obtained by the change-amount calculating means; and the time-series data permitted to be stored by the control means And a storage means for storing

【0008】請求項2記載の発明の時系列データ保存装
置は、請求項1記載の時系列データ保存装置において、
前記制御手段は、前記変化量計算手段により求められた
変化量と、予め設定された基準値とを比較する変化量比
較部と、前記変化量比較部により比較された結果、前記
変化量が基準値の範囲を越えた場合のみ前記一時記憶手
段の時系列データを前記保存手段へ保存するデータ保存
間隔制御部とを具備したことを特徴としている。
According to a second aspect of the present invention, there is provided the time-series data storage device according to the first aspect.
The control unit includes a change amount comparison unit that compares the change amount obtained by the change amount calculation unit with a preset reference value, and a comparison result obtained by the change amount comparison unit. A data storage interval control unit that stores the time-series data in the temporary storage unit in the storage unit only when the value exceeds the value range.

【0009】請求項3記載の発明の時系列データ保存装
置は、請求項2記載の時系列データ保存装置において、
前記データ保存間隔制御部は、予め設定した基準値の範
囲内であった変化量の時系列データは保存せず、前回の
データに新たなサンプリング回数を加算することを特徴
としている。
The time-series data storage device according to the third aspect of the present invention is the time-series data storage device according to the second aspect,
The data storage interval control unit does not store the time-series data of the change amount within the range of the preset reference value, and adds a new sampling number to the previous data.

【0010】請求項4記載の発明の時系列データ保存装
置は、請求項2記載の時系列データ保存装置において、
前記データ保存間隔制御部は、前記変化量が基準値の範
囲を越えた場合、それまでに一時記憶手段に一時的に記
憶されている前回までのデータをそれまで基準範囲内で
データが連続した回数と共に前記保存手段へ保存するこ
とを特徴としている。。
According to a fourth aspect of the present invention, there is provided the time-series data storage device according to the second aspect.
The data storage interval control unit, when the change amount exceeds the range of the reference value, the data up to the previous time temporarily stored in the temporary storage means up to that time until the data has been continuous within the reference range It is characterized in that it is stored in the storage means together with the number of times. .

【0011】請求項5記載の発明の時系列データ保存装
置は、請求項1乃至4記載の時系列データ保存装置にお
いて、前記データ発生源は、24時間の監視・制御を必
要とするデータを計測する機器であることを特徴として
いる。
According to a fifth aspect of the present invention, in the time series data storage device according to any one of the first to fourth aspects, the data generation source measures data that requires monitoring and control for 24 hours. It is characterized by being a device that performs.

【0012】請求項6記載の発明の記録媒体は、データ
発生源が発生したデータを所定時間毎に時系列データと
して取り込み、一時的に一時記憶手段に記憶し、前記一
時記憶手段から前回と今回の時系列データを読み出し、
読み出した時系列データを基に互いの変化量を求め、求
めた変化量に応じて前記一時記憶手段に一時的に記憶し
た時系列データを保存手段へ保存するか否かを判定し、
保存すると判定した前記時系列データを前記保存手段へ
保存する処理をコンピュータに実行させるプログラムを
記録したことを特徴としている。
According to a sixth aspect of the present invention, there is provided a recording medium wherein data generated by a data source is captured as time-series data at predetermined time intervals and temporarily stored in temporary storage means. Read the time series data of
Determine the mutual change amount based on the read time-series data, determine whether to save the time-series data temporarily stored in the temporary storage means to the storage means according to the obtained change amount,
A program for causing a computer to execute a process of storing the time-series data determined to be stored in the storage unit is recorded.

【0013】すなわち、本発明では、所定時間間隔で時
系列データを読み込み、読み込んだデータを一時的に記
憶しておき、前回と今回との変化量を求め、その変化量
に基づきデータの保存を制御して、データ保存部へデー
タを保存する間隔を変えるので、データの変化量が少な
いときはデータ保存間隔が長くなり、従来よりも保存資
源を節約することができる。またデータ保存間隔が長く
なると、データの書き込みおよび読み込み処理に要する
時間も節約することができ、保存領域と時間の両面で資
源を節約することができる。
That is, according to the present invention, time-series data is read at predetermined time intervals, the read data is temporarily stored, the amount of change between the previous time and this time is obtained, and the data is stored based on the amount of change. Since the control is performed to change the interval at which data is stored in the data storage unit, when the amount of change in the data is small, the data storage interval becomes longer, thereby saving storage resources more than before. When the data storage interval is long, the time required for data write and read processing can be saved, and resources can be saved both in storage area and time.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0015】図1は本発明の時系列データ保存装置に係
る一つの実施形態の密度可変式データ保存装置の構成を
示す図である。
FIG. 1 is a diagram showing the configuration of a variable-density data storage device according to one embodiment of the time-series data storage device of the present invention.

【0016】同図において、1はデータ発生源である。
このデータ発生源1は、下水処理プラントで処理される
下水を溜めておく沈殿池に設置され、その沈殿池に溜ま
った水の高さ(水位)を常に計測する水位計1aなどで
ある。下水処理プラントには、この水位計1a以外のデ
ータ発生源1として、例えば流量計1b、温度計1c、
水質分析装置1dなども設置されている。2は計算機で
あり、下水処理プラントのある建物内に設置されてお
り、下水処理に係る各制御機器(ポンプ、弁など)を制
御するための計算を行う。3はデータ伝送手段であり、
データ発生源1から計算機2へデータを伝送するもので
あり、例えばRS232CケーブルやEthernet
(通信網)、MAP(Manufacturing Automation Proto
col:工業用LAN)などである。
In FIG. 1, reference numeral 1 denotes a data source.
The data generation source 1 is a water level meter 1a installed in a sedimentation basin for storing sewage treated in a sewage treatment plant, and constantly measuring the height (water level) of the water accumulated in the sedimentation basin. In the sewage treatment plant, as a data source 1 other than the water level meter 1a, for example, a flow meter 1b, a thermometer 1c,
A water quality analyzer 1d and the like are also installed. Reference numeral 2 denotes a computer, which is installed in a building having a sewage treatment plant and performs calculations for controlling each control device (pump, valve, etc.) related to sewage treatment. 3 is a data transmission means,
This is for transmitting data from the data source 1 to the computer 2, such as an RS232C cable or Ethernet.
(Communication network), MAP (Manufacturing Automation Proto
col: industrial LAN).

【0017】計算機2は、データ読込部21、データ一
時保存部22、変化量計算部23、変化量比較部24、
データ保存間隔制御部25、データ保存部26などを有
している。データ読込部21は、各種計測器が出力した
結果(データ)を定周期(一定の時間間隔)で読み込み
タイムスタンプを付してプロセスデータとするものであ
り、測定機器と計算機2とのインターフェイスである。
データ一時保存部22は、データ読込部21が読み込ん
だ新たなデータ、比較用の一つ前のデータ、現時点のカ
ウンタの値などを一時保存するものであり、例えばバッ
ファメモリなどである。変化量計算部23は、データ一
時保存部22(バッファメモリ)から前の比較用データ
と今回のデータとを読み出し、互いの差を計算する。変
化量比較部24は、変化量計算部23により計算された
偏差の値と予め設定されている変化量の基準値とを比較
し大小(基準範囲内か基準範囲外か)を判定する。デー
タ保存間隔制御部25は、内部にカウンタ25aを有
し、変化量比較部24の比較結果に基づき、データを保
存するか否かを判定し、カウンタ25aをクリアまたは
インクリメントするものである。例えば変化量比較部2
4の比較結果、偏差の値が基準値よりも大きければ、デ
ータ一時保存部22のデータとカウンタ25aのカウン
ト値とをデータ保存部26へ保存する。データ保存部2
6は、例えば光磁気ディスク装置、ハードディスク装
置、磁気テープ装置などの大容量のデータを保存可能な
装置である。(従来のものよりも記憶容量は少なくてよ
い。)以下、図2〜図7を参照してこの密度可変式デー
タ保存装置の動作を説明する。 図2は計算機内のデー
タの流れを示す図、図3は計算機の処理手順を示すフロ
ーチャート、図4は入力データと収集データを示す図、
図5は収集したデータの密度を可変して保存する一つの
パターンを示す図、図6は保存するデータの内容を示す
図である。図7はこの密度可変式データ保存装置と従来
のものとの比較例を示す図である。図8はこの密度可変
式データ保存装置の効果を具体的に説明するための図で
ある。
The computer 2 includes a data reading unit 21, a data temporary storage unit 22, a change amount calculation unit 23, a change amount comparison unit 24,
It has a data storage interval control unit 25, a data storage unit 26, and the like. The data reading unit 21 reads the results (data) output from the various measuring instruments at regular intervals (at fixed time intervals) and attaches a time stamp to the data as process data. is there.
The data temporary storage unit 22 temporarily stores the new data read by the data reading unit 21, the previous data for comparison, the current counter value, and the like, and is, for example, a buffer memory. The change amount calculation unit 23 reads the previous comparison data and the current data from the data temporary storage unit 22 (buffer memory), and calculates the difference between them. The change amount comparison unit 24 compares the value of the deviation calculated by the change amount calculation unit 23 with a preset reference value of the change amount to determine whether the difference is within the reference range or outside the reference range. The data storage interval control unit 25 has a counter 25a therein, determines whether or not to store data based on the comparison result of the change amount comparison unit 24, and clears or increments the counter 25a. For example, the change amount comparison unit 2
As a result of the comparison in 4, if the deviation value is larger than the reference value, the data in the data temporary storage unit 22 and the count value of the counter 25a are stored in the data storage unit 26. Data storage unit 2
Reference numeral 6 denotes a device capable of storing a large amount of data, such as a magneto-optical disk device, a hard disk device, and a magnetic tape device. (The storage capacity may be smaller than the conventional one.) The operation of this variable density data storage device will be described below with reference to FIGS. 2 is a diagram showing a flow of data in the computer, FIG. 3 is a flowchart showing a processing procedure of the computer, FIG. 4 is a diagram showing input data and collected data,
FIG. 5 is a diagram showing one pattern in which the density of collected data is changed and stored, and FIG. 6 is a diagram showing the contents of data to be stored. FIG. 7 is a diagram showing a comparative example of the variable density data storage device and a conventional device. FIG. 8 is a diagram for specifically explaining the effect of the variable density data storage device.

【0018】この密度可変式データ保存装置の場合、下
水処理プラントの水位計1aからデータ伝送手段3を通
じて、図2、4に示すように、アナログ信号である測定
データP(入力時系列データP)が計算機2に入力され
ると、その入力時系列データPがデータ読込部21によ
って等時間間隔で読み込まれ(図3のステップ101 )、
収集時系列データQ(棒状のデータ)となり、データ一
時保存部22に一時保存される。変化量比較部24に
は、予めサンプリング時間間隔の長いAパターンと時間
間隔の短いBパターンが設定されている。これらAパタ
ーン、Bパターンの時間間隔のうち、いずれか一方、例
えばBパターンなどを利用するものとする。 データQ
がBパターンの時間間隔でデータ一時保存部22に保存
されると、変化量計算部23は、データ一時保存部22
から今回のデータQと前回の比較用データQ-1との信号
強度(高さ方向)を比較して互いの偏差を求める(ステ
ップ102 )。
In the case of this variable-density data storage device, as shown in FIGS. 2 and 4, measurement data P (input time-series data P) which is an analog signal from the water level gauge 1a of the sewage treatment plant through the data transmission means 3. Is input to the computer 2, the input time-series data P is read by the data reading unit 21 at equal time intervals (step 101 in FIG. 3).
It becomes collected time-series data Q (bar-shaped data) and is temporarily stored in the data temporary storage unit 22. In the change amount comparing section 24, an A pattern having a long sampling time interval and a B pattern having a short time interval are set in advance. One of the time intervals of the A pattern and the B pattern, for example, the B pattern is used. Data Q
Are stored in the data temporary storage unit 22 at the time interval of the B pattern, the change amount calculation unit 23
Then, the signal intensity (height direction) of the current data Q and the previous comparison data Q-1 are compared to obtain a mutual deviation (step 102).

【0019】続いて、変化量比較部24において、変化
量計算部23で計算された偏差の値と予め設定されてい
る偏差の変化量の基準信号強度の値(基準値)とが比較
されて偏差の値が設定した基準値の範囲内か否かが判定
される(ステップ103 )。
Subsequently, the change amount comparison unit 24 compares the value of the deviation calculated by the change amount calculation unit 23 with a preset reference signal intensity value (reference value) of the change amount of the deviation. It is determined whether or not the value of the deviation is within the range of the set reference value (step 103).

【0020】データ保存間隔制御部25では、変化量比
較部24の比較結果に基づき、データQをデータ保存部
26に保存するか否かが判定される。
The data storage interval control unit 25 determines whether to store the data Q in the data storage unit 26 based on the comparison result of the change amount comparison unit 24.

【0021】ここで、例えば差の値がAパターンの基準
値の範囲内であれば(ステップ103のyes )、データ保
存間隔制御部25は、データを保存しないと判定して
(ステップ104 )、カウンタ25aのカウント値に 1を
加算(インクリメント)して(ステップ105 )、そのカ
ウント値のみをデータ一時保存部22に記憶し、次のサ
ンプリングタイミングを待つ。
Here, for example, if the difference value is within the range of the reference value of the pattern A (yes in step 103), the data storage interval control unit 25 determines that data is not stored (step 104). One is added (incremented) to the count value of the counter 25a (step 105), and only the count value is stored in the data temporary storage unit 22 to wait for the next sampling timing.

【0022】一方、偏差が基準値の範囲を越えていれば
(ステップ103 のno)、データ一時保存部22に記憶さ
れている前回までのデータQ-1と、それまでのサンプリ
ングでカウンタ25aにより加算された現時点のカウン
ト値、つまり偏差が基準値の範囲内であった連続回数と
をデータ保存部26へ保存する(ステップ106 )。
On the other hand, if the deviation exceeds the range of the reference value (no in step 103), the data Q-1 stored in the data temporary storage unit 22 up to the previous time and the counter 25a in the sampling up to that time are used. The added current count value, that is, the number of consecutive times that the deviation was within the range of the reference value, is stored in the data storage unit 26 (step 106).

【0023】データ保存後、データ保存間隔制御部25
は、カウンタ25aのカウント値をリセット、つまりカ
ウント値 1としてデータ一時保存部22の今回のデータ
Qと共に記憶する。
After storing the data, the data storage interval control unit 25
Resets the count value of the counter 25a, that is, stores the count value 1 together with the current data Q in the data temporary storage unit 22.

【0024】これにより、図5に示すように、基準値を
小さく設定したパターンCなどの場合は、データ保存部
26に細かな間隔でデータが保存され、サンプリングし
たデータに近い記録密度になる。
As a result, as shown in FIG. 5, in the case of the pattern C or the like in which the reference value is set small, the data is stored in the data storage unit 26 at small intervals, and the recording density becomes close to the sampled data.

【0025】一方、例えば基準値を大きく設定したパタ
ーンDなどの場合は、データ保存部26に大まかな間隔
でデータが保存され、その分、記録密度が疎になる。
On the other hand, for example, in the case of the pattern D in which the reference value is set large, the data is stored in the data storage unit 26 at roughly intervals, and the recording density is reduced accordingly.

【0026】図6に示すように、データ一時保存部22
に一時保存する内容としては、今回サンプリングされた
データ、比較用データ、カウンタ25aのカウント値で
あり、データ保存部26に保存されるファイルの内容と
しては、保存データとその保存データが何回連続したか
を示す回数データである。
As shown in FIG. 6, the data temporary storage 22
The data to be temporarily stored include the data sampled this time, the comparison data, and the count value of the counter 25a. The contents of the file stored in the data storage unit 26 include the stored data and the stored data This is the data of the number of times indicating whether the operation has been performed.

【0027】データ保存部26に保存するファイルの具
体的な例としては、図7(a)に示すように、例えば信
号強度11.1が 9回連続し、信号強度9.2 が2 回連続した
場合、図7(b)に示すように、データ保存部26に
は、信号強度11.1とその下に回数 9が保存され、その下
に信号強度9.2 とその下に回数2 が保存される。
As a specific example of a file stored in the data storage unit 26, as shown in FIG. 7 (a), for example, when the signal strength 11.1 is continuous nine times and the signal strength 9.2 is continuous twice, FIG. As shown in FIG. 7 (b), the data storage unit 26 stores the signal strength 11.1 and the number 9 below it, the signal strength 9.2 below it, and the number 2 below it.

【0028】なお従来であれば、図7(c)に示すよう
に、信号強度11.1が 9個保存され、その下に信号強度9.
2 が2 個保存される。
In the prior art, as shown in FIG. 7C, nine signal intensities 11.1 are stored, and the signal intensity 9.1 is stored below them.
2 are saved.

【0029】このようにこの密度可変式データ保存装置
によれば、時系列データを記録精度的に問題の生じない
範囲で適正な記憶密度で保存することにより、データを
保存する領域と、データの読み込みおよびデータの書き
込みなどに必要な時間の両面で計算機2の資源を節約す
ることができる。
As described above, according to the variable-density data storage device, the time-series data is stored at an appropriate storage density within a range where there is no problem in recording accuracy, so that the data storage area and the data storage The resources of the computer 2 can be saved in both time required for reading and writing data.

【0030】ここで、一例を挙げて具体的な効果につい
て説明する。
Here, specific effects will be described with reference to an example.

【0031】例えばデータ発生源1からの時系列データ
として、周波数1/72で振幅 1の正弦波を考えてみる。
For example, consider a sine wave having a frequency of 1/72 and an amplitude of 1 as time series data from the data source 1.

【0032】そして、計算機2のサンプリング周期を 1
秒とすると、正弦波 1周期で72点をサンプリングするこ
とができる。
Then, the sampling period of the computer 2 is set to 1
If it is seconds, 72 points can be sampled in one sine wave cycle.

【0033】この場合、従来の技術では、図8(a)に
示すように、サンプリングした72点全てが無条件でデー
タ保存部に保存される。この保存のために必要な記憶領
域は、倍精度小数として 8×72=576byteが必要になる。
In this case, in the conventional technique, as shown in FIG. 8A, all 72 sampled points are unconditionally stored in the data storage unit. The storage area required for this storage requires 8 × 72 = 576 bytes as a double precision decimal.

【0034】この例の正弦波は、 0秒、36秒、72秒付近
において、最大0.087 と比較的大きく変化するが18秒、
54秒付近では、0.0039と変化量が少ない。
The sine wave of this example is relatively large at a maximum of 0.087 near 0, 36, and 72 seconds.
At around 54 seconds, the change is as small as 0.0039.

【0035】そこで、本発明の場合、上記変化を考慮し
て例えば偏差の基準値を0.045 などと設定しておくと、
変化量が0.045 よりも少ないデータは保存されないの
で、図8(b)に示すように、データ保存部26へ保存
されるデータの時間間隔が開き、記憶領域としは 8×50
=400byteで済む。
Therefore, in the case of the present invention, taking the above change into consideration, for example, if the reference value of the deviation is set to 0.045 or the like,
Since the data whose change amount is smaller than 0.045 is not stored, the time interval of the data stored in the data storage unit 26 is widened as shown in FIG.
= 400 bytes.

【0036】これに付加する整数型(short 型)のカウ
ンタ25aの値は、 2×50=100byteであり、本装置で保
存のために必要な記憶領域は、全部で400+100=500byte
となる。したがって、従来の576byte と比べると、576-
500=76byteの節約となる。
The value of the integer type (short type) counter 25a to be added thereto is 2 × 50 = 100 bytes, and the storage area necessary for storage in this apparatus is 400 + 100 = 500 bytes in total.
Becomes Therefore, compared to the conventional 576 bytes,
Saving 500 = 76 bytes.

【0037】またデータ書き込みや読み込みに必要な時
間は、データを保存するのに必要な領域に比例するの
で、 500/576×100=86.8% 節約することができる。なお
偏差の基準値を0.045 よりも大きな値に設定しておけ
ば、記憶領域や時間をさらに節約することができる。
The time required for writing and reading data is proportional to the area required for storing data, so that 500/576 × 100 = 86.8% can be saved. If the reference value of the deviation is set to a value larger than 0.045, the storage area and time can be further saved.

【0038】なお、本発明は、上記実施形態のみに限定
されるものではない。
The present invention is not limited only to the above embodiment.

【0039】例えば図1に示した計算機2を構成する各
部(データ読込部21、データ一時保存部22、変化量
計算部23、変化量比較部24、データ保存間隔制御部
25、データ保存部26など)の機能(処理)をプログ
ラム化し、図9に示すように、予めCD−ROM50な
どの記録媒体に書き込んでおき、このCD−ROM50
を、CD−ROMドライブを搭載した計算機51に装着
し、計算機51がCD−ROM50からプログラムをロ
ードすることにより上記実施形態同様の機能を実現する
ことができる。なお記録媒体としては、上記CD−RO
M50以外に、磁気テープ、DVD−ROM、フロッピ
ーディスク、MO、MD、CD−R、メモリカードなど
でもよい。
For example, each unit (the data reading unit 21, the data temporary storage unit 22, the change amount calculation unit 23, the change amount comparison unit 24, the data storage interval control unit 25, and the data storage unit 26) which constitute the computer 2 shown in FIG. ) Are programmed and written in advance in a recording medium such as a CD-ROM 50 as shown in FIG.
Is mounted on the computer 51 equipped with a CD-ROM drive, and the computer 51 loads a program from the CD-ROM 50, thereby realizing the same function as the above embodiment. The recording medium is the CD-RO described above.
Other than the M50, a magnetic tape, a DVD-ROM, a floppy disk, an MO, an MD, a CD-R, a memory card, or the like may be used.

【0040】また上記機能(処理)をプログラム化した
場合、CD−ROM50などの形態に限らず、上記機能
を実現する手段もある。
When the above functions (processes) are programmed, the present invention is not limited to the form of the CD-ROM 50 and the like, but there are also means for realizing the above functions.

【0041】例えば上記プログラムをハードディスクな
どに記録した計算機などから公衆回線網やLANなどを
通じて他の計算機にロードして実現することもできる。
また公衆回線網やLANなどのデータ通信網に限らず、
無線通信で上記プログラムを授受することも考えられ
る。
For example, the present invention can be realized by loading the program from a computer or the like recorded on a hard disk or the like to another computer via a public line network or a LAN.
In addition to data communication networks such as public line networks and LANs,
It is also conceivable to send and receive the above program by wireless communication.

【0042】[0042]

【発明の効果】以上説明したように本発明によれば、時
系列データの変化量に応じて時系列データの保存を制御
する、つまりデータ保存間隔を変えることにより、デー
タの変化量が少ないときは従来よりも保存資源を節約す
ることができる。またデータの書き込みおよび読み込み
処理に要する時間も節約することができる。
As described above, according to the present invention, the storage of time-series data is controlled in accordance with the amount of change in time-series data, that is, by changing the data storage interval, the amount of change in data is small. Can save resources more than before. Also, the time required for data writing and reading processing can be saved.

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

【図1】本発明の一つの実施形態の密度可変式データ保
存装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a variable density data storage device according to one embodiment of the present invention.

【図2】この密度可変式データ保存装置の計算機内のデ
ータの流れを示す図である。
FIG. 2 is a diagram showing a data flow in a computer of the variable density data storage device.

【図3】計算機の処理手順を示すフローチャートであ
る。
FIG. 3 is a flowchart illustrating a processing procedure of a computer.

【図4】入力データと収集データを示す図である。FIG. 4 is a diagram showing input data and collected data.

【図5】収集したデータの密度を可変して保存するパタ
ーンC、Dを示す図である。
FIG. 5 is a diagram showing patterns C and D in which the density of collected data is changed and stored.

【図6】データ一時保存部22とデータ保存部26との
保存内容を示す図である。
FIG. 6 is a diagram showing contents stored in a data temporary storage unit 22 and a data storage unit 26;

【図7】(a)はサンプリングされた時系列データの一
例を示す図である。(b)は本実施形態のデータ保存部
に保存されるデータを示す図である。(c)は従来のデ
ータ保存部に保存されるデータを示す図である。
FIG. 7A is a diagram illustrating an example of sampled time-series data. FIG. 3B is a diagram illustrating data stored in a data storage unit according to the present embodiment. (C) is a diagram showing data stored in a conventional data storage unit.

【図8】(a)は従来の保存データを示す図である。
(b)は本実施形態の保存データを示す図である。
FIG. 8A is a diagram showing stored data in the related art.
FIG. 2B is a diagram illustrating stored data according to the embodiment.

【図9】本発明の記録媒体の構成例を示す図である。FIG. 9 is a diagram showing a configuration example of a recording medium of the present invention.

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

1…データ発生源、2…計算機、3…データ伝送手段、
21…データ読込部、22…データ一時保存部、23…
変化量計算部、24…変化量比較部、25…データ保存
間隔制御部、26…データ保存部。
DESCRIPTION OF SYMBOLS 1 ... Data source, 2 ... Computer, 3 ... Data transmission means,
21: Data reading unit, 22: Data temporary storage unit, 23:
Change amount calculation unit, 24: change amount comparison unit, 25: data storage interval control unit, 26: data storage unit.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 データ発生源が発生したデータを所定時
間毎に時系列データとして取り込む取込手段と、 前記取込手段により取り込まれた時系列データを一時的
に記憶する一時記憶手段と、 前記一時記憶手段から前回と今回の時系列データを読み
出し変化量を求める変化量計算手段と、 前記変化量計算手段により求められた変化量に応じて前
記一時記憶手段に一時的に記憶した時系列データを保存
するか否かの判定を行う制御手段と前記制御手段により
保存許可された前記時系列データを保存する保存手段と
を具備したことを特徴とする時系列データ保存装置。
An input unit for inputting data generated by a data source as time-series data at predetermined time intervals; a temporary storage unit for temporarily storing the time-series data input by the input unit; Change amount calculating means for reading the previous and current time-series data from the temporary storage means to obtain a change amount; and time-series data temporarily stored in the temporary storage means according to the change amount obtained by the change amount calculating means. A time-series data storage device, comprising: control means for determining whether to store the time-series data; and storage means for storing the time-series data permitted to be stored by the control means.
【請求項2】 請求項1記載の時系列データ保存装置に
おいて、 前記制御手段は、 前記変化量計算手段により求められた変化量と、予め設
定された基準値とを比較する変化量比較部と、 前記変化量比較部により比較された結果、前記変化量が
基準値の範囲を越えた場合のみ前記一時記憶手段の時系
列データを前記保存手段へ保存するデータ保存間隔制御
部とを具備したことを特徴とする時系列データ保存装
置。
2. The time-series data storage device according to claim 1, wherein the control unit includes a change amount comparison unit that compares the change amount obtained by the change amount calculation unit with a preset reference value. A data storage interval control unit that stores the time-series data of the temporary storage unit in the storage unit only when the change amount exceeds the range of the reference value as a result of the comparison by the change amount comparison unit. A time-series data storage device characterized by the above-mentioned.
【請求項3】 請求項2記載の時系列データ保存装置に
おいて、 前記データ保存間隔制御部は、 予め設定した基準値の範囲内であった変化量の時系列デ
ータは保存せず、前回のデータに新たなサンプリング回
数を加算することを特徴とする時系列データ保存装置。
3. The time-series data storage device according to claim 2, wherein the data storage interval control unit does not store the time-series data of the change amount within a range of a preset reference value, and stores the time-series data of the previous time. A time-series data storage device, characterized by adding a new number of samplings to the data.
【請求項4】 請求項2記載の時系列データ保存装置に
おいて、 前記データ保存間隔制御部は、 前記変化量が基準値の範囲を越えた場合、それまでに一
時記憶手段に記憶されている前回までのデータをそれま
で基準範囲内でデータが連続した回数と共に前記保存手
段へ保存することを特徴とする時系列データ保存装置。
4. The time-series data storage device according to claim 2, wherein the data storage interval control unit, when the change amount exceeds a range of a reference value, stores the last time stored in the temporary storage unit up to that time. A time-series data storage device for storing the data up to and including the number of times the data has continued in the reference range.
【請求項5】 請求項1乃至4記載の時系列データ保存
装置において、 前記データ発生源は、 24時間の監視・制御を必要とするデータを計測する機
器であることを特徴とする時系列データ保存装置。
5. The time-series data storage device according to claim 1, wherein the data generation source is a device that measures data requiring monitoring and control for 24 hours. Storage device.
【請求項6】 データ発生源が発生したデータを所定時
間毎に時系列データとして取り込み、一時的に一時記憶
手段に記憶し、前記一時記憶手段から前回と今回の時系
列データを読み出し、読み出した時系列データを基に互
いの変化量を求め、求めた変化量に応じて前記一時記憶
手段の時系列データを保存手段へ保存するか否かを判定
し、保存すると判定した前記時系列データを前記保存手
段へ保存する処理をコンピュータに実行させるプログラ
ムを記録したことを特徴とする記録媒体。
6. The data generated by the data source is captured as time-series data at predetermined time intervals, temporarily stored in temporary storage means, and the previous and current time-series data are read out from said temporary storage means and read out. Determine the mutual change amount based on the time-series data, determine whether to save the time-series data of the temporary storage means to the storage means according to the obtained change amount, the time-series data determined to be saved A recording medium on which a program for causing a computer to execute a process of storing in the storage unit is recorded.
JP30060496A 1996-11-12 1996-11-12 Time sequential data preservation device and recording medium Pending JPH10143543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30060496A JPH10143543A (en) 1996-11-12 1996-11-12 Time sequential data preservation device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30060496A JPH10143543A (en) 1996-11-12 1996-11-12 Time sequential data preservation device and recording medium

Publications (1)

Publication Number Publication Date
JPH10143543A true JPH10143543A (en) 1998-05-29

Family

ID=17886856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30060496A Pending JPH10143543A (en) 1996-11-12 1996-11-12 Time sequential data preservation device and recording medium

Country Status (1)

Country Link
JP (1) JPH10143543A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009034821A1 (en) * 2007-09-11 2009-03-19 Nec Corporation Data logger, data saving method and program
EP2500835A1 (en) 2011-03-18 2012-09-19 Nec Corporation Data storage apparatus and data storage method
KR20150120924A (en) * 2015-10-15 2015-10-28 (주) 솔텍시스템 Apparatus, method and computer readable recording medium for compressing time series processing data
KR101575015B1 (en) * 2013-07-01 2015-12-07 (주) 솔텍시스템 Apparatus, method and computer readable recording medium for compressing time series processing data
JP2016114977A (en) * 2014-12-11 2016-06-23 株式会社東芝 Information creation equipment, information creation system, and information creation method
JP2017157072A (en) * 2016-03-03 2017-09-07 株式会社日立製作所 Abnormality detection apparatus, system stability monitoring device, and system thereof
JP2017199194A (en) * 2016-04-27 2017-11-02 アズビル株式会社 Monitoring device
CN114726379A (en) * 2022-06-13 2022-07-08 西安热工研究院有限公司 Self-adaptive compression method and system based on time sequence database sample storage characteristics

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009034821A1 (en) * 2007-09-11 2009-03-19 Nec Corporation Data logger, data saving method and program
US8386730B2 (en) 2007-09-11 2013-02-26 Nec Corporation Data logger, data saving method and program
JP5223866B2 (en) * 2007-09-11 2013-06-26 日本電気株式会社 Data logger, data storage method and program
EP2500835A1 (en) 2011-03-18 2012-09-19 Nec Corporation Data storage apparatus and data storage method
CN102737093A (en) * 2011-03-18 2012-10-17 日本电气株式会社 Data storage apparatus and data storage method
KR101575015B1 (en) * 2013-07-01 2015-12-07 (주) 솔텍시스템 Apparatus, method and computer readable recording medium for compressing time series processing data
JP2016114977A (en) * 2014-12-11 2016-06-23 株式会社東芝 Information creation equipment, information creation system, and information creation method
KR20150120924A (en) * 2015-10-15 2015-10-28 (주) 솔텍시스템 Apparatus, method and computer readable recording medium for compressing time series processing data
JP2017157072A (en) * 2016-03-03 2017-09-07 株式会社日立製作所 Abnormality detection apparatus, system stability monitoring device, and system thereof
JP2017199194A (en) * 2016-04-27 2017-11-02 アズビル株式会社 Monitoring device
CN114726379A (en) * 2022-06-13 2022-07-08 西安热工研究院有限公司 Self-adaptive compression method and system based on time sequence database sample storage characteristics
CN114726379B (en) * 2022-06-13 2022-09-13 西安热工研究院有限公司 Self-adaptive compression method and system based on time sequence database sample storage characteristics

Similar Documents

Publication Publication Date Title
US4910692A (en) Adaptive data logger
Kamwa et al. Fast adaptive schemes for tracking voltage phasor and local frequency in power transmission and distribution systems
US7006939B2 (en) Method and apparatus for low cost signature testing for analog and RF circuits
JPH10143543A (en) Time sequential data preservation device and recording medium
US3914585A (en) Sheet moving average filter controller
CN117093832A (en) Data interpolation method and system for air quality data loss
US5093751A (en) Carry noise measuring system for magnetic recording medium
JPH11271183A (en) Vibration data-collecting device
JPH04172294A (en) Plant data aquisition system
JP3223501B2 (en) Differential pressure measuring device
Dumont et al. Control system performance monitoring: new developments and practical issues
JPH07324950A (en) Recording apparatus of measured value
JP2020149282A (en) Data prediction device, data prediction method, and data prediction program
JP3047892B2 (en) Equipment deterioration diagnosis apparatus, equipment deterioration diagnosis method, and recording medium
CN114358715A (en) Data processing method and system, equipment and storage medium
EP3806483A1 (en) Method of monitoring regional areal, tree or linear infrastructure and an installment of a monitoring system
JP2676088B2 (en) Particle size distribution processor
Cerone et al. Parameter bounds evaluation for linear system with output backlash
JPS62217179A (en) Radiation monitor system
JPH07128084A (en) Measured data memory
JPH08178962A (en) Waveform measurement system
CN117691736A (en) Non-invasive intelligent factory energy consumption monitoring method and system
JPH06282475A (en) Filing system for time-series data
CN117805542A (en) Mining flameproof intrinsically safe frequency converter operation monitoring system
CN112101614A (en) Resampling-based distribution transformer overload prediction method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010904