JP2005259041A - Data accumulation method and device - Google Patents

Data accumulation method and device Download PDF

Info

Publication number
JP2005259041A
JP2005259041A JP2004073016A JP2004073016A JP2005259041A JP 2005259041 A JP2005259041 A JP 2005259041A JP 2004073016 A JP2004073016 A JP 2004073016A JP 2004073016 A JP2004073016 A JP 2004073016A JP 2005259041 A JP2005259041 A JP 2005259041A
Authority
JP
Japan
Prior art keywords
data
storage means
data storage
free space
stored
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
JP2004073016A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Abe
信義 阿部
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2004073016A priority Critical patent/JP2005259041A/en
Publication of JP2005259041A publication Critical patent/JP2005259041A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and a device capable of effectively using even a limit of storage capacity in a storage medium (data accumulation means) and continuously performing stable data accumulation processing. <P>SOLUTION: A data logger device 11, having a detector 13 which detects a state of a monitoring object 16, a temporary storage means 14 which temporarily holds a detected result as data and the data accumulation means 15 for accumulating the data for a long period and which records the data in the data accumulation means 15 as accumulation data at any time as dividing the data temporarily held in the temporary storage means 14 at fixed time intervals, is provided with a means for monitoring a free space of the data accumulation means 15; and an arithmetic unit 12 which performs decision processing of a fact that the free space of the data accumulation means 15 is sufficient for storing the accumulation means and deletes the oldest data when the free space of the data accumulation means 15 runs short. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、監視対象状態の蓄積データを、有限サイズのデータ蓄積手段に連続して蓄積し続けることのできるデータ蓄積管理方法および装置に関する。   The present invention relates to a data accumulation management method and apparatus capable of continuously accumulating accumulated data in a monitoring target state in a data accumulation means of a finite size.

従来のデータ蓄積装置、例えばデータロガー装置では、限られた記憶容量の記憶媒体に対して次々に新しいデータを追加し、一定期間が経過すると古いデータを削除することで記憶媒体の空き容量を確保する手法がとられていた。
また、従来より、限られた容量にできるだけ長期間のデータを蓄積するために、蓄積データを圧縮して、記憶媒体における記憶容量をなるべく有効に使用することで、蓄積期間を長期化する手法が行われている。
このように、従来のデータロガー装置では、データを圧縮することで蓄積媒体の蓄積容量を有効に活用して期間の長期化を図ったうえで、データ蓄積期間を限定し、蓄積期限が過ぎたデータを削除して蓄積媒体の空き容量を確保する、という手順がとられていた。
In a conventional data storage device, for example, a data logger device, new data is successively added to a storage medium with a limited storage capacity, and the old data is deleted after a certain period of time to secure free space on the storage medium. The technique to take was taken.
Further, conventionally, in order to accumulate data for a long time as much as possible in a limited capacity, there has been a technique for extending the accumulation period by compressing the accumulated data and effectively using the storage capacity in the storage medium as much as possible. Has been done.
As described above, in the conventional data logger device, the data storage period is limited by effectively utilizing the storage capacity of the storage medium by compressing the data, and the storage time limit has passed. The procedure of deleting data to secure free space on the storage medium was taken.

また、特許文献1には、通信ネットワークを構成する複数の通信装置と、通信ネットワークの監視や制御を行うネットワーク監視システムと、これらの間に通信回線を介して接続され、ネットワーク監視システム側から複数の通信装置側に送出される各種設定情報などの設定命令の手順と、通信装置側からネットワーク監視システム側に通知されるイベントや警報などの運用保守情報を詳細ログデータとして記憶保持するとともに、複数の通信装置の配置や構成あるいは通信装置相互間に接続されている通信回線などに関する情報である装置構成情報と各種設定情報の内容を構成データベース内に蓄積するインターフェース部とを備えたログデータ保存システムが開示されている。前記インターフェース部においては、ログデータ保存部が詳細ログデータを記憶保持させるたびにその記憶保持日時を記憶しておき、定期的に起動されて、現在の日時が記憶保持日時から別途設定されている一定期間が経過したかどうかを判定する経過期間判定部と、経過期間判定部の判定が、一定期間が経過したとの判定であった場合に起動され、2次記憶媒体内の詳細ログデータの中から必要最低限の主要なログデータのみを残してあとは削除することによって、詳細ログデータの縮小を行うログデータ縮小部とを備えている。   Further, Patent Document 1 discloses a plurality of communication devices that constitute a communication network, a network monitoring system that monitors and controls the communication network, and a plurality of communication devices that are connected to each other via a communication line. Stores and holds detailed log data as procedures for setting instructions such as various setting information sent to the communication device side and operation maintenance information such as events and alarms notified from the communication device side to the network monitoring system side. Log data storage system comprising device configuration information, which is information related to the arrangement and configuration of communication devices or communication lines connected between the communication devices, and an interface unit for storing the contents of various setting information in the configuration database Is disclosed. In the interface unit, each time the detailed log data is stored and held by the log data storage unit, the storage and holding date is stored, and is periodically started, and the current date and time is set separately from the storage and holding date. The elapsed period determination unit that determines whether the period has elapsed and the determination of the elapsed period determination unit are activated when the determination that the predetermined period has elapsed is included in the detailed log data in the secondary storage medium And a log data reduction unit that reduces the detailed log data by leaving only the minimum necessary log data and then deleting it.

特開2002−318736号公報JP 2002-318736 A

しかしながら、上述した従来の蓄積状況管理方法では、蓄積期間が経過したら古いデータを削除するという手順をとっており、蓄積データが効果的に圧縮された場合には、記憶媒体の空き容量が十分に確保されていても蓄積期間を経過したデータが削除されるので、記憶媒体の空き容量を限界まで有効に活用することができないという問題があった。
また、特許文献1に開示されたログデータ保存システムでは、2次記憶媒体の空き容量を確保するために、蓄積対象データの重要性を判定し、主要ではないデータは削除することで効果的な蓄積方法を提案している。その削除するタイミングは、別途指定されているはずの一定期間というパラメータである。しかし、主要なデータが連続的に発生した場合で、削除までの期間が経過していない場合は、容量に制限のある2次記憶媒体の空き容量が不足する可能性がある。過去のデータ蓄積を優先するために、最新のログデータが蓄積できなくなる可能性もある。つまり、データ蓄積期間の間に常時重要なイベントが発生した際に、詳細データを蓄積し続けても十分な容量の2次記憶媒体が必要となる。すなわち、2次記憶媒体に空き容量が少なくなると新規イベントが発生したときにそのイベントを保持できない場合があるという問題がある。
本発明はこのような問題点に鑑みてなされたものであり、記憶媒体(データ蓄積手段)における記憶容量の限界までを有効に活用し、かつ連続して安定したデータ蓄積処理することができる方法および装置を提供することを目的とする。
However, in the conventional storage status management method described above, the procedure of deleting old data when the storage period elapses is taken, and when the stored data is effectively compressed, the free space of the storage medium is sufficient. Even if the data is secured, the data that has passed the accumulation period is deleted, and there is a problem that the free capacity of the storage medium cannot be effectively utilized to the limit.
Further, in the log data storage system disclosed in Patent Document 1, it is effective to determine the importance of data to be accumulated and to delete non-essential data in order to secure the free capacity of the secondary storage medium. A storage method is proposed. The timing of deletion is a parameter of a certain period that should be specified separately. However, when main data is continuously generated and the period until deletion has not elapsed, there is a possibility that the free capacity of the secondary storage medium with limited capacity may be insufficient. Since the past data accumulation is prioritized, there is a possibility that the latest log data cannot be accumulated. That is, a secondary storage medium having a sufficient capacity is required even if detailed data continues to be stored when an important event always occurs during the data storage period. That is, there is a problem that when a free space is reduced in the secondary storage medium, the event may not be held when a new event occurs.
The present invention has been made in view of such problems, and can effectively utilize the storage capacity limit of the storage medium (data storage means) and continuously and stably perform data storage processing. And an object to provide an apparatus.

上記問題を解決するため、本発明の第1の構成は、監視対象の機器の状態を検出する手段と、検出した結果をデータとして一時的に保持する一時記憶手段と、長期間データを蓄積するためのデータ蓄積手段とを備え、前記一時記憶手段に一時的に保持されたデータを一定時間間隔で分割しながら前記データ蓄積手段に蓄積データとして随時データを記録するデータ蓄積方法であって、前記データ蓄積手段の空き容量を監視し、前記データ蓄積手段の空き容量が前記蓄積データを保存するのに十分なことを判定処理し、前記データ蓄積手段の空き容量が不足した場合には、最旧のデータを削除することを特徴とするデータ蓄積方法である。
この第1の構成においては、データ蓄積手段の空き容量を最低限に設定し、その状態を監視するとともに最旧の蓄積データを削除することで、データの蓄積期間を最大限に確保することができ、常に安定したデータ蓄積を可能するものである。
また、本発明の第2の構成は、前記一時記憶手段に保持されるデータの変化を監視し、データ変化時のみ前記データ蓄積手段にデータを蓄積することにより、連続した同一データを排除して蓄積するデータ量を圧縮することを特徴とするものである。
この第2の構成においては、データを蓄積する際に変化時のデータのみをデータ蓄積手段に保存することで圧縮処理を行うことができる。
In order to solve the above problem, the first configuration of the present invention is a means for detecting the state of a device to be monitored, a temporary storage means for temporarily holding the detected result as data, and storing data for a long time. A data storage method for recording data at any time as stored data in the data storage means while dividing the data temporarily stored in the temporary storage means at regular time intervals, Monitor the free capacity of the data storage means, determine that the free capacity of the data storage means is sufficient to store the stored data, and if the free capacity of the data storage means is insufficient, The data storage method is characterized in that the data is deleted.
In this first configuration, the data storage means is set to the minimum, and the state is monitored, and the oldest stored data is deleted, thereby ensuring the maximum data storage period. It is possible to always stably store data.
Further, the second configuration of the present invention monitors changes in data held in the temporary storage means, and accumulates data in the data storage means only when data changes, thereby eliminating consecutive identical data. The amount of data to be stored is compressed.
In the second configuration, when data is stored, only the data at the time of change is stored in the data storage means, so that the compression process can be performed.

本発明の第3の構成は、監視対象の機器の状態を検出する手段と、検出した結果をデータとして一時的に保持する一時記憶手段と、長期間データを蓄積するためのデータ蓄積手段とを備え、前記一時記憶手段に一時的に保持されたデータを一定時間間隔で分割しながら前記データ蓄積手段に蓄積データとして随時データを記録するデータ蓄積装置であって、前記データ蓄積手段の空き容量を監視する手段と、前記データ蓄積手段の空き容量が前記蓄積データを保存するのに十分なことを判定処理する手段と、前記データ蓄積手段の空き容量が不足した場合には、最旧のデータを削除する手段とを備えたことを特徴とするデータ蓄積装置である。
この第3の構成においては、データ蓄積手段の空き容量を最低限に設定し、その状態を監視するとともに最旧の蓄積データを削除することで、データの蓄積期間を最大限に確保することができ、常に安定したデータ蓄積を可能するものである。
本発明の第4の構成は、前記一時記憶手段に保持されるデータの変化を監視し、データ変化時のみ前記データ蓄積手段にデータを蓄積する手段を備えたものである。
この第4の構成においては、データを蓄積する際に変化時のデータのみをデータ蓄積手段に保存することで圧縮処理を行うことができる。
本発明の第5の構成は、前記データ蓄積装置をデータロガー装置に適用したものである。これにより、長期間にわたるログデータの保存が可能になる。
According to a third configuration of the present invention, there is provided means for detecting the state of the device to be monitored, temporary storage means for temporarily holding the detected result as data, and data storage means for storing data for a long period of time. A data storage device that records data as stored data in the data storage means as needed while dividing the data temporarily held in the temporary storage means at a predetermined time interval, the free space of the data storage means Means for monitoring, means for determining that the free capacity of the data storage means is sufficient to store the stored data, and if the free capacity of the data storage means is insufficient, the oldest data is A data storage device comprising means for deleting.
In the third configuration, the free space of the data storage means is set to the minimum, the state is monitored, and the oldest stored data is deleted, thereby ensuring the maximum data storage period. It is possible to always stably store data.
According to a fourth aspect of the present invention, there is provided means for monitoring changes in data held in the temporary storage means and storing data in the data storage means only when data changes.
In the fourth configuration, the compression process can be performed by storing only the data at the time of change in the data storage means when storing the data.
According to a fifth configuration of the present invention, the data storage device is applied to a data logger device. Thereby, log data can be stored for a long period of time.

本発明によれば、データ蓄積手段の空き容量は常時最低限の容量のみとして確保し、データ蓄積手段の空き容量の状態監視を行って、最旧蓄積データの削除タイミングを制御することにより、データ蓄積手段の容量制限における保存期間を算出し設定することなく、データ蓄積手段の記憶容量を有効に使用することができ、連続して安定したデータ蓄積処理を実行することができる。
また、一時記憶手段に保持されるデータの変化を監視し、データ変化時のみ前記データ蓄積手段にデータを蓄積することにより、監視対象の検出データにおける実測値の変化が少ないほどデータを圧縮することができ、長期間のデータを有効にデータ蓄積手段に保存することができる。
According to the present invention, the free capacity of the data storage means is always ensured as only the minimum capacity, the status of the free capacity of the data storage means is monitored, and the deletion timing of the oldest stored data is controlled, whereby the data The storage capacity of the data storage means can be used effectively without calculating and setting the storage period in the capacity limit of the storage means, and stable and stable data storage processing can be executed.
In addition, by monitoring the change in data held in the temporary storage means and storing the data in the data storage means only when the data changes, the data is compressed as the change in the actual measurement value in the detection data to be monitored is smaller And long-term data can be effectively stored in the data storage means.

以下、本発明の実施の形態について、図に基づいて説明する。
図1は、本発明の実施の形態に係るデータロガー装置の構成例である。
図において、データロガー装置11は、検出器13と、一時記憶手段14と、データ蓄積手段15と、これらを制御する演算器12で構成されており、データロガー装置11には、監視対象となる機器16とケーブル17によって接続されている。この構成により、監視対象の機器16から出力されるデータをデータロガー装置に取り込み、データ蓄積手段15に蓄積することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration example of a data logger device according to an embodiment of the present invention.
In the figure, the data logger device 11 includes a detector 13, a temporary storage unit 14, a data storage unit 15, and an arithmetic unit 12 that controls them. The data logger device 11 is a monitoring target. The device 16 and the cable 17 are connected. With this configuration, data output from the monitoring target device 16 can be taken into the data logger device and stored in the data storage unit 15.

検出器13は、例えばI/O(入出力装置)やネットワーク処理カードなどにより、監視対象16からの出力情報を、ケーブル17を介して取り込み、データロガー装置11が動作しているときは、常時データが入力されている。
一時記憶手段14は、例えばRAM(Random Access Memory)等の半導体メモリを用いて構成されており、検出器13から得られた監視データを一時的に蓄積し、データ蓄積手段15へのデータ追記が完了すれば開放される。また、一時記憶手段14は、検出器13からの連続した入力データを一時的に順次蓄積することが可能であり、前回値検出データを、データ蓄積手段15に書き込みが完了するまで蓄積することができる。
The detector 13 takes in output information from the monitoring target 16 via a cable 17 by, for example, an I / O (input / output device) or a network processing card, and always operates when the data logger device 11 is operating. Data has been entered.
The temporary storage unit 14 is configured by using a semiconductor memory such as a RAM (Random Access Memory), for example. The temporary storage unit 14 temporarily stores the monitoring data obtained from the detector 13, and adds data to the data storage unit 15. It will be released when completed. In addition, the temporary storage unit 14 can temporarily and continuously store the continuous input data from the detector 13, and can store the previous value detection data until the writing to the data storage unit 15 is completed. it can.

データ蓄積手段15は、例えばハードディスクなどの記憶媒体を用いて構成されており、一時記憶手段14に保存されたデータを追記していく手法を用いて、例えば日単位や時間単位の一塊のデータ群として構成されている。
演算器12は、例えばCPUなどの演算装置から構成され、上述した処理を制御することにより、データロガー装置としての機能をなしている。すなわち、データ蓄積手段15の空き容量を監視し、空き容量がある場合に一時記憶手段14に保存されているデータをデータ蓄積手段15に追記し、データの単位が、例えば時間ごとであれば、時間ごとに別のデータの塊として記録する。また、データ蓄積手段15の空き容量が、設定された空き容量確保値以下になった場合はデータ蓄積手段15にあるデータの塊の中から最旧の塊を削除する機能を持ち、データ蓄積手段15の空き容量を別途設定した空き容量確保値と比較する機能をもつ。
The data storage unit 15 is configured using a storage medium such as a hard disk, for example, and uses a method of additionally writing data stored in the temporary storage unit 14, for example, a batch of data groups in units of days or hours. It is configured as.
The computing unit 12 is composed of a computing device such as a CPU, for example, and functions as a data logger device by controlling the processing described above. That is, the free space of the data storage unit 15 is monitored, and when there is free space, the data stored in the temporary storage unit 14 is added to the data storage unit 15, and if the data unit is, for example, every hour, Record as separate data chunks over time. Further, when the free capacity of the data storage means 15 is equal to or less than the set free capacity securing value, the data storage means 15 has a function of deleting the oldest data from the data data in the data storage means 15, and the data storage means It has a function of comparing 15 free capacities with separately set free capacities.

図2は、データロガー装置において、データ蓄積手段15の蓄積状況を管理する第1の実施の形態の処理手順を示すフローチャートである。この図を用いて本発明の第1の実施の形態に係る方法を、順を追って説明する。
はじめにステップS01であらかじめ設定されているデータ蓄積手段15の空き容量確保値Aを取り出し、ステップS02で限界空き容量値Bを取り出す処理(初期処理)をし、データ蓄積手段15の空き容量を判定する基準を確保する。
次にステップS03でデータ蓄積手段15の空き容量Cを検出し、ステップS04では、ステップS01で取得した空き容量確保値AとステップS03で取得した空き容量検出値Cを比較すると、データ蓄積手段15の状況が判断できる。空き容量確保値Aよりも検出値Cが少ない場合は、データ蓄積手段15の空き容量を確保する必要があると判定できる。データ蓄積手段15の空き容量を確保する必要がある場合は、ステップS06により最旧データの塊を削除する。
FIG. 2 is a flowchart showing the processing procedure of the first embodiment for managing the storage status of the data storage means 15 in the data logger device. The method according to the first embodiment of the present invention will be described step by step with reference to this figure.
First, in step S01, the reserved free capacity value A of the data storage unit 15 set in advance is extracted, and in step S02, the limit free capacity value B is extracted (initial processing), and the free capacity of the data storage unit 15 is determined. Ensure standards.
Next, in step S03, the free capacity C of the data storage means 15 is detected. In step S04, the free capacity secured value A acquired in step S01 is compared with the free capacity detection value C acquired in step S03. Can be judged. When the detected value C is smaller than the free space securing value A, it can be determined that the free space of the data storage unit 15 needs to be secured. If it is necessary to secure a free space in the data storage means 15, the oldest data chunk is deleted in step S06.

また、空き容量確保値Aよりも検出値Cが大きい場合は、データ蓄積手段15の空き容量を確保する必要がないと判定できる。データ蓄積手段15の空き容量を確保する必要がない場合は、そのままステップS03のデータ蓄積手段15の空き容量検出を継続する。
また、空き容量確保のためにステップS06の最旧データ削除処理を実施した後も、ステップS04と同様にステップS07で削除後のデータ蓄積手段15の空き容量を検出し、今度はステップS02で取得した限界空き容量値Bと比較し、ステップS08で限界空き容量判定を行う。限界空き容量判定で限界空き容量値Bより空き容量値Cが少ない場合は、すぐにステップS06の最旧データ削除処理を実行することで、データ蓄積手段15の空き容量確保処理を加速する。限界空き容量判定で限界空き容量値Bより空き容量値Cが大きい場合は、ステップS05のタイマ処理で削除処理を一旦停止し、データロガー装置のデータ蓄積手段15へのアクセス頻度を低下させ、データロガー装置11の負荷を低減させる。
If the detected value C is larger than the free space securing value A, it can be determined that it is not necessary to secure the free space of the data storage unit 15. If it is not necessary to secure the free capacity of the data storage means 15, the free capacity detection of the data storage means 15 in step S03 is continued as it is.
Also, after the oldest data deletion process of step S06 is performed to secure the free space, the free space of the data storage means 15 after deletion is detected in step S07 as in step S04, and this time acquired in step S02. Compared with the limit free capacity value B, the limit free capacity is determined in step S08. When the free space value C is smaller than the free space value B in the free space determination, the oldest data deletion process in step S06 is immediately executed to accelerate the free space securing process of the data storage unit 15. When the free space value C is larger than the free space value B in the free space determination, the deletion process is temporarily stopped in the timer process in step S05, the access frequency to the data storage means 15 of the data logger device is lowered, and the data The load on the logger device 11 is reduced.

このように、データ蓄積手段15の空き容量を常時監視しながら、最旧データの削除処理を行うことにより、データ収集処理を実行しながらでも最低限必要なデータ蓄積手段15の空き容量を確保することができる。これにより、データ蓄積手段15の記憶容量を有効に活用しながらデータの蓄積を有効に実行することができる。
さらに、データ蓄積手段15へのアクセス時間等が低下するなどの環境変化があった場合に、空き容量確保のための最旧データ削除処理がデータ蓄積処理よりも遅くなることで、データ蓄積手段15の空き容量が十分に実行できなくなってもステップS08の限界空き容量確保処理による緊急に空き容量確保を行うことを、自動的に実施できる。これにより、データ蓄積手段15の記憶容量を有効に活用し、かつ長期的なデータの蓄積が可能になる。
In this way, by deleting the oldest data while constantly monitoring the free capacity of the data storage unit 15, the minimum required free capacity of the data storage unit 15 is ensured while executing the data collection process. be able to. Thereby, it is possible to effectively execute data accumulation while effectively utilizing the storage capacity of the data accumulation means 15.
Further, when there is an environmental change such as a decrease in the access time to the data storage unit 15 or the like, the oldest data deletion process for securing the free space becomes slower than the data storage process, so that the data storage unit 15 Even if it becomes impossible to sufficiently execute the free space, it is possible to automatically secure the free space urgently by the limit free space securing process in step S08. This makes it possible to effectively use the storage capacity of the data storage means 15 and to store data for a long time.

図3は、さらに、データ蓄積手段15を有効に活用するためのデータ蓄積方法の処理手順を示すフローチャートである。この図を用いて本発明の第2の実施形態によるデータ蓄積方法を、順を追って説明する。
ステップS11では、検出器13により検出されたデータをGとすると、ステップS12により一時記憶手段14にHとしてデータを一時保管する。このデータHは今後、前回値として処理される。次に、ステップS13により演算器12の周期の次のタイミングで検出器13より検出されたデータIは、ステップS14により次回データとして一時記憶手段14に一時保管される。これらの2つのデータは、ステップS15により、データの変化があったかどうかが比較検出される。ステップS15の比較検出結果により、前回値と次回値が同一であれば、すぐにステップS13の次回データ検出を行う。データの変化が検出されれば、ステップS16でデータHを一時記憶手段14へ蓄積する。データ蓄積は前述のとおり、例えば時間や日単位で、データの塊として追記する。ステップS16でデータの蓄積が完了後に一時記憶手段14に追記された一時保管データHは不要となり、ステップS17で次回値データKを前回値データHとして一時記憶手段14上で代入することで、新しい前回値となる。代入後のデータKはステップS18で初期化する。
なお、データ検出したデータがなかなか変化しない場合は、前回値Kをデータ蓄積手段15に蓄積することができないが、これは内部的なタイマ処理によるイベント処理等により強制的にデータ蓄積手段15へ蓄積する手段により保証される。
FIG. 3 is a flowchart showing the processing procedure of the data storage method for effectively using the data storage means 15. A data storage method according to the second embodiment of the present invention will be described step by step with reference to FIG.
In step S11, if the data detected by the detector 13 is G, the data is temporarily stored as H in the temporary storage means 14 in step S12. This data H will be processed as the previous value in the future. Next, the data I detected by the detector 13 at the next timing of the cycle of the arithmetic unit 12 in step S13 is temporarily stored in the temporary storage means 14 as next data in step S14. In step S15, these two data are compared and detected to determine whether or not the data has changed. If the previous value and the next value are the same as a result of the comparison detection in step S15, the next data detection in step S13 is immediately performed. If a change in data is detected, the data H is stored in the temporary storage means 14 in step S16. As described above, the data accumulation is added as a data chunk, for example, in units of hours or days. The temporary storage data H added to the temporary storage means 14 after the completion of data accumulation in step S16 becomes unnecessary, and a new value is obtained by substituting the next value data K as the previous value data H on the temporary storage means 14 in step S17. The previous value. The substituted data K is initialized in step S18.
If the detected data does not change easily, the previous value K cannot be stored in the data storage means 15, but this is forcibly stored in the data storage means 15 by an event process or the like by an internal timer process. Guaranteed by the means.

このように、検出器13で検出されたデータは一時記憶媒体14にて変化検出処理を行い、データ蓄積手段15に蓄積するデータを選別することにより、データが圧縮される効果があるほかに、データ蓄積手段15へのアクセス頻度を低減する手順をとるので、演算器12への負荷が低減され、さらに、前述の空き容量確保処理への処理時間を確保することもできる。
本発明の第2の態様によるデータ蓄積方法では、検出器13により入力した監視対象16の出力データを、演算器12により一時記憶手段14に定周期に取り込み、前回値と異なったデータの場合にのみデータ蓄積手段15に順次蓄積することでデータの圧縮をすることができる。
以上、データ蓄積装置として、データロガー装置を例にとって本発明の実施の形態を説明したが、本発明は、データロガー装置だけでなく、パーソナルコンピュータや専用ハードウェアを使用した、長い期間、データを蓄積しつづける用途にも適用できる。
As described above, the data detected by the detector 13 is subjected to change detection processing in the temporary storage medium 14, and the data stored in the data storage means 15 is selected. Since the procedure for reducing the frequency of access to the data storage means 15 is taken, the load on the arithmetic unit 12 is reduced, and further, the processing time for the above-described free capacity securing process can be secured.
In the data accumulating method according to the second aspect of the present invention, the output data of the monitoring object 16 input by the detector 13 is taken into the temporary storage means 14 by the arithmetic unit 12 at regular intervals, and the data is different from the previous value. The data can be compressed by sequentially storing only in the data storage means 15.
As described above, the embodiment of the present invention has been described by taking the data logger device as an example of the data storage device. However, the present invention is not limited to the data logger device, and the data is stored for a long period of time using a personal computer or dedicated hardware. It can also be applied to uses that continue to accumulate.

本発明は、データ変化検出によるデータ圧縮と、データ蓄積手段の空き容量状況確認によるデータ蓄積手段の管理という手順をとるため長期間に渡り連続したデータ蓄積を行うことができるので、データロガー装置を始め、パーソナルコンピュータや専用ハードウェア等の、データを長期間蓄積する用途に適用することができる。   Since the present invention adopts the procedures of data compression by data change detection and data storage means management by checking the free capacity status of the data storage means, it is possible to perform continuous data storage over a long period of time. First, it can be applied to uses such as personal computers and dedicated hardware that store data for a long period of time.

本発明の実施の形態に係るデータロガー装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data logger apparatus which concerns on embodiment of this invention. 本発明の第1の実施の形態に係るデータ蓄積手段の蓄積状況を管理する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence which manages the storage condition of the data storage means which concerns on the 1st Embodiment of this invention. 本発明の第2の実施の形態に係るデータ蓄積方法の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the data storage method based on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

11 データロガー装置
12 演算器
13 検出器
14 一時記憶手段
15 データ蓄積手段
16 監視対象
17 ケーブル
DESCRIPTION OF SYMBOLS 11 Data logger apparatus 12 Calculator 13 Detector 14 Temporary storage means 15 Data storage means 16 Monitoring object 17 Cable

Claims (5)

監視対象の機器の状態を検出する手段と、検出した結果をデータとして一時的に保持する一時記憶手段と、長期間データを蓄積するためのデータ蓄積手段とを備え、前記一時記憶手段に一時的に保持されたデータを一定時間間隔で分割しながら前記データ蓄積手段に蓄積データとして随時データを記録するデータ蓄積方法であって、
前記データ蓄積手段の空き容量を監視し、
前記データ蓄積手段の空き容量が前記蓄積データを保存するのに十分なことを判定処理し、
前記データ蓄積手段の空き容量が不足した場合には、最旧のデータを削除する
ことを特徴とするデータ蓄積方法。
A means for detecting the state of the device to be monitored; a temporary storage means for temporarily storing the detected result as data; and a data storage means for storing data for a long period of time, the temporary storage means temporarily A data storage method for recording data as stored data in the data storage means at any time while dividing the data held in a fixed time interval,
Monitoring the free capacity of the data storage means;
A process of determining that the free capacity of the data storage means is sufficient to store the stored data;
A data storage method, wherein the oldest data is deleted when the free capacity of the data storage means is insufficient.
前記一時記憶手段に保持されるデータの変化を監視し、データ変化時のみ前記データ蓄積手段にデータを蓄積することにより、連続した同一データを排除して蓄積するデータ量を圧縮することを特徴とする請求項1記載のデータ蓄積方法。   Monitoring the change in data held in the temporary storage means, and storing the data in the data storage means only when the data changes, thereby eliminating the same continuous data and compressing the stored data amount. The data storage method according to claim 1. 監視対象の機器の状態を検出する手段と、検出した結果をデータとして一時的に保持する一時記憶手段と、長期間データを蓄積するためのデータ蓄積手段とを備え、前記一時記憶手段に一時的に保持されたデータを一定時間間隔で分割しながら前記データ蓄積手段に蓄積データとして随時データを記録するデータ蓄積装置であって、
前記データ蓄積手段の空き容量を監視する手段と、
前記データ蓄積手段の空き容量が前記蓄積データを保存するのに十分なことを判定処理する手段と、
前記データ蓄積手段の空き容量が不足した場合には、最旧のデータを削除する手段とを備えたことを特徴とするデータ蓄積装置。
A means for detecting the state of the device to be monitored; a temporary storage means for temporarily storing the detected result as data; and a data storage means for storing data for a long period of time, the temporary storage means temporarily A data storage device that records data as stored data in the data storage means at any time while dividing the data held in a fixed time interval,
Means for monitoring free space in the data storage means;
Means for determining that the free capacity of the data storage means is sufficient to store the stored data;
A data storage apparatus comprising: means for deleting the oldest data when the free space of the data storage means is insufficient.
前記一時記憶手段に保持されるデータの変化を監視し、データ変化時のみ前記データ蓄積手段にデータを蓄積する手段を備えたことを特徴とする請求項3記載のデータ蓄積装置。   4. A data storage apparatus according to claim 3, further comprising means for monitoring changes in data held in said temporary storage means and storing data in said data storage means only when data changes. 前記データ蓄積装置はデータロガー装置である請求項3または4記載のデータ蓄積装置。   The data storage device according to claim 3 or 4, wherein the data storage device is a data logger device.
JP2004073016A 2004-03-15 2004-03-15 Data accumulation method and device Pending JP2005259041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004073016A JP2005259041A (en) 2004-03-15 2004-03-15 Data accumulation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004073016A JP2005259041A (en) 2004-03-15 2004-03-15 Data accumulation method and device

Publications (1)

Publication Number Publication Date
JP2005259041A true JP2005259041A (en) 2005-09-22

Family

ID=35084662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004073016A Pending JP2005259041A (en) 2004-03-15 2004-03-15 Data accumulation method and device

Country Status (1)

Country Link
JP (1) JP2005259041A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663906B2 (en) 2006-10-02 2010-02-16 Seiko Epson Corporation Semiconductor memory device, data storage device and method for controlling semiconductor memory device
JP2010205128A (en) * 2009-03-05 2010-09-16 Denso Wave Inc Robot control system
US7826738B2 (en) 2007-01-11 2010-11-02 Seiko Epson Corporation Semiconductor integrated circuit device, data recording device, and layout method for semiconductor integrated circuit device
US8028145B2 (en) 2006-10-16 2011-09-27 Seiko Epson Corporation Data storage device
JP2012056230A (en) * 2010-09-10 2012-03-22 Ricoh Co Ltd Image forming apparatus
US8386730B2 (en) 2007-09-11 2013-02-26 Nec Corporation Data logger, data saving method and program
US8423741B2 (en) 2010-07-27 2013-04-16 Hitachi, Ltd. Storage control device and data processing system
JP2013168188A (en) * 2013-06-04 2013-08-29 Denso Wave Inc Robot control log acquiring system
CN110750522A (en) * 2018-07-23 2020-02-04 发那科株式会社 Data management device, data management program, and data management method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663906B2 (en) 2006-10-02 2010-02-16 Seiko Epson Corporation Semiconductor memory device, data storage device and method for controlling semiconductor memory device
US8028145B2 (en) 2006-10-16 2011-09-27 Seiko Epson Corporation Data storage device
US7826738B2 (en) 2007-01-11 2010-11-02 Seiko Epson Corporation Semiconductor integrated circuit device, data recording device, and layout method for semiconductor integrated circuit device
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
JP2010205128A (en) * 2009-03-05 2010-09-16 Denso Wave Inc Robot control system
US8423741B2 (en) 2010-07-27 2013-04-16 Hitachi, Ltd. Storage control device and data processing system
JP2012056230A (en) * 2010-09-10 2012-03-22 Ricoh Co Ltd Image forming apparatus
JP2013168188A (en) * 2013-06-04 2013-08-29 Denso Wave Inc Robot control log acquiring system
CN110750522A (en) * 2018-07-23 2020-02-04 发那科株式会社 Data management device, data management program, and data management method
CN110750522B (en) * 2018-07-23 2023-08-08 发那科株式会社 Data management device, storage medium, and data management method

Similar Documents

Publication Publication Date Title
JP5699715B2 (en) Data storage device and data storage method
US10255114B2 (en) Abnormality detection apparatus, control method, and program
CN106294206B (en) Cache data processing method and device
US10146450B1 (en) Managing a pool of storage slices via consumption estimation based on historical data
JP3951835B2 (en) Business management method and business processing system
CN111026728A (en) Log data processing method and related device
JP2005259041A (en) Data accumulation method and device
EP3584716A1 (en) Storage constrained synchronization of shared content items
CN105700656B (en) Standby abnormal power consumption detection system and method
EP1739558A1 (en) Method, computer program and device to automatically predict performance shortages of databases
JP2006172401A (en) Information collection apparatus
US11675536B2 (en) Intelligent scheduling for garbage collection
JP2006221439A (en) Method for storing log
CN108920344B (en) Storage method and device and computer readable storage medium
JP2003308238A (en) Storage network system
JP2001273172A (en) Computer operation data recording system and recording medium used for the system
JP6840013B2 (en) Time series data recording method and equipment
JP2010152469A (en) Log collection process monitoring system
JP6857068B2 (en) Time series data recording method and equipment
US10705149B2 (en) Voltage drop detection through data corruption detection
JP2011003038A (en) Process monitoring and controlling device
JP2005018225A (en) Document management device
JP2991137B2 (en) Alarm data recording method
CN112083884A (en) Disk early warning method and device based on bastion machine
CN113032330A (en) File supervision method and device and multimedia broadcast control equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100309