JP4632996B2 - Data collection device - Google Patents
Data collection device Download PDFInfo
- Publication number
- JP4632996B2 JP4632996B2 JP2006122280A JP2006122280A JP4632996B2 JP 4632996 B2 JP4632996 B2 JP 4632996B2 JP 2006122280 A JP2006122280 A JP 2006122280A JP 2006122280 A JP2006122280 A JP 2006122280A JP 4632996 B2 JP4632996 B2 JP 4632996B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- time
- collection
- cross
- change
- 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.)
- Active
Links
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Description
この発明は、収集対象装置からその動作状態を示すデータなどを収集するデータ収集装置に関するものである。 The present invention relates to a data collection device that collects data indicating an operation state from a collection target device.
特許文献1に記載された従来のデータ収集装置では、収集対象装置から収集したデータを全て記録し、イベント情報に合わせて要求された時間幅でデータを表示することにより、視覚的に障害調査を行うようにしている。 In the conventional data collection device described in Patent Document 1, all the data collected from the collection target device is recorded, and the data is displayed in the requested time width according to the event information, so that the fault investigation is visually performed. Like to do.
特許文献1に示される従来のデータ収集装置では、収集したデータを全て記録するため、大容量の記憶装置が必要となり、装置が大型になるとともに高価になるという問題があった。 The conventional data collection device disclosed in Patent Document 1 has a problem that a large-capacity storage device is required to record all collected data, and the device becomes large and expensive.
この発明は、上述のような課題を解決するためになされたものであり、収集対象装置から収集するデータを蓄積するときのサイズを小さくするようにしたデータ収集装置を得ることを目的にしている。 The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a data collection device in which the size when storing data to be collected from the collection target device is reduced. .
この発明に係わるデータ収集装置においては、収集対象装置からデータを収集するデータ収集装置において、データを一定周期で収集するデータ収集手段、このデータ収集手段により一定周期で収集されたデータを、一定周期とは別に予め決められた断面データ蓄積時刻を経過する毎に蓄積すると共に、断面データ蓄積時刻間に収集されたデータについては一定周期で収集されるデータの前回収集されたデータからの変化分のみを収集時刻とともに蓄積するデータ蓄積手段、このデータ蓄積手段により、断面データ蓄積時刻を経過する毎に、一定周期で収集されるデータが蓄積される断面データファイル、データ蓄積手段により、変化分のデータ及び収集時刻が蓄積される変化データファイル、及びこの変化データファイルにおける変化分のデータの蓄積位置を、断面データ蓄積時刻ごとに、断面データ蓄積時刻と対応させて蓄積した索引データファイルを備えたものである。 In the data collection device according to the present invention, in the data collection device for collecting data from the collection target device, the data collection means for collecting the data at a constant cycle, the data collected by the data collection device at a constant cycle, In addition to storing data every time a predetermined cross-section data storage time elapses, the data collected during the cross-section data storage time is only the change from the previously collected data of data collected at a fixed period Data accumulating means for accumulating data together with the collection time, a cross-section data file for accumulating data collected at a constant period each time the cross-section data accumulation time elapses, and data for changes by the data accumulating means And the change data file in which the collection time is accumulated, and the change in the change data file The storage locations over data for each cross-sectional data accumulation time, those with an index data file accumulated in correspondence with section data storage time.
この発明は、以上説明したように、収集対象装置からデータを収集するデータ収集装置において、データを一定周期で収集するデータ収集手段、このデータ収集手段により一定周期で収集されたデータを、一定周期とは別に予め決められた断面データ蓄積時刻を経過する毎に蓄積すると共に、断面データ蓄積時刻間に収集されたデータについては一定周期で収集されるデータの前回収集されたデータからの変化分のみを収集時刻とともに蓄積するデータ蓄積手段、このデータ蓄積手段により、断面データ蓄積時刻を経過する毎に、一定周期で収集されるデータが蓄積される断面データファイル、データ蓄積手段により、変化分のデータ及び収集時刻が蓄積される変化データファイル、及びこの変化データファイルにおける変化分のデータの蓄積位置を、断面データ蓄積時刻ごとに、断面データ蓄積時刻と対応させて蓄積した索引データファイルを備えたので、収集データを蓄積するときのサイズを小さくすることができる。
As described above, according to the present invention, in the data collection device that collects data from the collection target device, the data collection unit that collects data at a constant cycle, the data collected by the data collection unit at a constant cycle, In addition to storing data every time a predetermined cross-section data storage time elapses, the data collected during the cross-section data storage time is only the change from the previously collected data of data collected at a fixed period Data accumulating means for accumulating data together with the collection time, a cross-section data file for accumulating data collected at a constant period each time the cross-section data accumulation time elapses, and data for changes by the data accumulating means And a change data file in which the collection time is stored, and storage of change data in the change data file Position, each section data storage time, since with the index data file accumulated in correspondence with section data storage time, the collected data can be reduced in size when storing.
実施の形態1.
以下、本発明の実施の形態1について図を用いて説明する。
図1は、この発明の実施の形態1によるデータ収集装置を示す構成図である。
図1において、データ収集手段1は、収集対象装置が一定周期に出力する収集対象装置の動作状態を示すデータなどを収集する。データ蓄積手段2は、データ収集手段1によって収集されたデータを記憶装置内の蓄積データファイル3に蓄積する。
蓄積データファイル3は、記憶装置内に設けられており、収集周期毎に収集したデータを、収集周期とは別に予め決められた断面データ蓄積時刻を経過する毎に蓄積する断面データファイル31、今回周期収集データの前回周期収集データからの変化分である変化データを蓄積する変化データファイル32、及び変化データファイルの変化データの蓄積位置を蓄積する索引データファイル33の三つのファイルにより構成される。
データ読出し手段4は、蓄積データファイル3から蓄積データを読出す。データ表示手段5は、データ読出し手段4によって読出されたデータを表示する。時刻範囲入力手段6は、ユーザによって、読出すデータの時刻範囲が入力される。
Embodiment 1 FIG.
Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings.
1 is a block diagram showing a data collection apparatus according to Embodiment 1 of the present invention.
In FIG. 1, a data collection unit 1 collects data indicating an operation state of a collection target device output by the collection target device at a certain period. The
The accumulated
The
図2は、この発明の実施の形態1によるデータ収集装置のデータ蓄積時の動作を示すフローチャートである。
次に、図2によりデータ収集装置のデータ蓄積時の動作について説明する。
ステップS1では、システムを構成する収集対象装置が一定周期に出力するデータを今回周期収集データとして収集する。ステップS2では、予め定められた断面データ蓄積時刻を経過したかどうかをチェックする。ここで、経過していれば、その時刻を最初に経過したときのみ、ステップS3の処理を、そうでなければ、ステップS4の処理を実行する。
FIG. 2 is a flowchart showing the operation at the time of data storage of the data collecting apparatus according to the first embodiment of the present invention.
Next, the operation at the time of data accumulation of the data collection device will be described with reference to FIG.
In step S1, data output by the collection target devices constituting the system at a certain period is collected as current period collection data. In step S2, it is checked whether or not a predetermined cross-section data accumulation time has elapsed. Here, if it has elapsed, the process of step S3 is executed only when the time has elapsed for the first time, and if not, the process of step S4 is executed.
ステップS3では、今回周期収集データを断面データファイル31に蓄積する。ステップS4では、今回周期収集データと前回周期収集データの内容を比較し、不一致であれば、ステップS5の処理を、一致していれば、ステップS9の処理を実行する。
ステップS5では、今回周期収集データと前回周期収集データの内容の差である変化データを作成し、収集した時刻をタイムスタンプとして付加して蓄積データファイル3の変化データファイル32に蓄積する。ステップS6では、次に蓄積する変化データの変化データファイル32における先頭からの蓄積位置を更新する。
In step S <b> 3, the current cycle collection data is accumulated in the
In step S5, change data that is the difference between the contents of the current period collection data and the previous period collection data is created, and the collected time is added as a time stamp and accumulated in the
ステップS7では、断面データ蓄積時刻を経過したかどうかをチェックする。ここで、経過していれば、その時刻を最初に経過したときのみ、ステップS8の処理を、そうでなければ、ステップS9の処理を実行する。
ステップS8では、ステップS6で更新した変化データの蓄積位置を索引データファイル33に蓄積する。ステップS9では、今回周期収集データを前回周期蓄積データとして一時記憶して、ステップS1に行く。
これにより、断面データ蓄積時刻を経過する毎に断面データを蓄積し、断面データ蓄積時刻間の収集データは、変化データのみを蓄積することにより、蓄積される収集データのサイズを小さくすることができる。
In step S7, it is checked whether or not the cross-section data accumulation time has elapsed. Here, if it has elapsed, the process of step S8 is executed only when the time has elapsed first, and if not, the process of step S9 is executed.
In step S8, the storage position of the change data updated in step S6 is stored in the
As a result, the cross-section data is accumulated every time the cross-section data accumulation time elapses, and the collected data between the cross-section data accumulation times can be reduced in size by accumulating only the change data. .
実施の形態1によれば、断面データ蓄積時刻を経過する毎に断面データを蓄積すると共に、断面データ蓄積時刻間では収集データの変化分のみを蓄積するようにしたので、収集データを蓄積するときのサイズを小さくすることができる。 According to the first embodiment, the cross-section data is accumulated every time the cross-section data accumulation time elapses, and only the change in the collected data is accumulated between the cross-section data accumulation times. Can be reduced in size.
実施の形態2.
図3は、この発明の実施の形態2によるデータ収集装置の蓄積データ読出し時の動作を示すフローチャートである。
次に、実施の形態1により蓄積された収集データを読み出す時の動作について、図3を用いて説明する。
例として、断面データ蓄積時刻を毎時0分とし、読出す蓄積データの時刻範囲を10時10分0秒から10時20分0秒とする場合について説明する。
なお、断面データ蓄積時刻を毎時0分としたが、この時刻以外の時刻であったも構わない。また、データ収集周期は、例えば、150msとするが、これに限るものではない。
FIG. 3 is a flowchart showing an operation at the time of reading stored data of the data collecting apparatus according to the second embodiment of the present invention.
Next, an operation when reading the collected data accumulated in the first embodiment will be described with reference to FIG.
As an example, a case will be described in which the cross-section data accumulation time is 0 minutes per hour, and the time range of the accumulated data to be read is from 10: 10: 0 to 10: 20: 0.
In addition, although the cross-section data accumulation time is 0 minute per hour, it may be a time other than this time. The data collection period is, for example, 150 ms, but is not limited to this.
ステップS20では、ユーザが時刻範囲入力手段6により、読出す蓄積データの時刻範囲を入力する。入力された時刻範囲の開始時刻は、上述の例では、10時10分0秒、終了時刻は10時20分0秒である。ステップS21では、入力された開始時刻が10時10分0秒であることと、断面データは、毎時0分に蓄積されることにより、10時に蓄積した断面データを断面データファイル31から読出し、蓄積データ表示用メモリに格納する。
ステップS22では、入力した開始時刻が10時10分0秒であることと、断面データは毎時0分に蓄積されることより、索引データファイルの10時に蓄積された変化データの蓄積位置を読出す。ステップS23では、ステップS22で読出した蓄積位置を変化データ読出し位置として記憶する。ステップS24では、変化データ読出し位置から変化データを読出す。ステップS25では、読出した変化データを、蓄積データ表示用メモリに反映する。
ステップS26では、蓄積データ表示用メモリ内容の時刻が、開始時刻の10時10分10秒を越えているかどうかをチェックし、越えていなければステップS29を、越えていればステップS27を実行する。
ステップS27では、蓄積データ表示用メモリ内容を表示する。ステップS28では、変化データのタイムスタンプが終了時刻の10時20分0秒を越えているかどうかをチェックし、越えていなければ、ステップS29の処理を行い、越えていれば、処理を終了する。ステップS29では、読出し位置を更新(+1)して、ステップS24に行く。
In step S20, the user inputs the time range of the stored data to be read by the time range input means 6. In the above example, the start time of the input time range is 10: 10: 0, and the end time is 10: 20: 0. In step S21, the input start time is 10: 10: 0, and the cross-sectional data is stored at 0 minutes every hour, so that the cross-sectional data stored at 10:00 is read from the
In step S22, since the input start time is 10: 10: 0, and the cross-sectional data is accumulated at 0 hour every hour, the accumulation position of the change data accumulated at 10:00 in the index data file is read. . In step S23, the storage position read in step S22 is stored as a change data reading position. In step S24, change data is read from the change data read position. In step S25, the read change data is reflected in the stored data display memory.
In step S26, it is checked whether or not the time of the stored data display memory contents exceeds the start time of 10:10:10. If not, step S29 is executed.
In step S27, the stored data display memory contents are displayed. In step S28, it is checked whether or not the time stamp of the change data exceeds 10: 20: 0 of the end time. If not, the process of step S29 is performed. In step S29, the reading position is updated (+1), and the process goes to step S24.
実施の形態2によれば、実施の形態1にようにして蓄積された収集データを読出すことができると共に、この蓄積した収集データを読出す時間を短縮することができる。 According to the second embodiment, the collected data accumulated as in the first embodiment can be read, and the time for reading the accumulated collected data can be shortened.
1 データ収集手段
2 データ蓄積手段
3 蓄積データファイル
31 断面データファイル
32 変化データファイル
33 索引データファイル
4 データ読出し手段
5 データ表示手段
6 時刻範囲入力手段
DESCRIPTION OF SYMBOLS 1 Data collection means 2 Data storage means 3 Accumulated
Claims (3)
上記データを一定周期で収集するデータ収集手段、
このデータ収集手段により一定周期で収集されたデータを、上記一定周期とは別に予め決められた断面データ蓄積時刻を経過する毎に蓄積すると共に、上記断面データ蓄積時刻間に収集されたデータについては上記一定周期で収集されるデータの前回収集されたデータからの変化分のみを収集時刻とともに蓄積するデータ蓄積手段、
このデータ蓄積手段により、断面データ蓄積時刻を経過する毎に、上記一定周期で収集されるデータが蓄積される断面データファイル、
上記データ蓄積手段により、上記変化分のデータ及び収集時刻が蓄積される変化データファイル、
及びこの変化データファイルにおける上記変化分のデータの蓄積位置を、上記断面データ蓄積時刻ごとに、上記断面データ蓄積時刻と対応させて蓄積した索引データファイルを備えたことを特徴とするデータ収集装置。 In the data collection device that collects data from the collection target device,
Data collection means for collecting the above data at regular intervals;
The data collected by the data collection means at a constant cycle is accumulated every time a predetermined cross-section data accumulation time elapses separately from the constant cycle, and the data collected between the cross-section data accumulation times is as follows. Data accumulation means for accumulating only the change from the previously collected data of the data collected at a certain period together with the collection time;
By this data accumulating means, a cross-sectional data file in which data collected at a certain period is accumulated every time the cross-sectional data accumulation time elapses,
A change data file in which the data for the change and the collection time are stored by the data storage means;
And an index data file in which the change data storage position in the change data file is stored in correspondence with the cross-section data storage time for each cross-section data storage time .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006122280A JP4632996B2 (en) | 2006-04-26 | 2006-04-26 | Data collection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006122280A JP4632996B2 (en) | 2006-04-26 | 2006-04-26 | Data collection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007293694A JP2007293694A (en) | 2007-11-08 |
JP4632996B2 true JP4632996B2 (en) | 2011-02-16 |
Family
ID=38764260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006122280A Active JP4632996B2 (en) | 2006-04-26 | 2006-04-26 | Data collection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4632996B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5921415B2 (en) * | 2012-11-05 | 2016-05-24 | 三菱電機株式会社 | Monitoring server and monitoring control system using the same |
JP2015230644A (en) * | 2014-06-06 | 2015-12-21 | 株式会社東芝 | Past cross section reproducing device and monitoring and controlling system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09244618A (en) * | 1996-03-13 | 1997-09-19 | Toshiba Corp | Trend graph display method and display device therefor |
JP2000132223A (en) * | 1998-10-28 | 2000-05-12 | Hitachi Ltd | Electric system accident reproducer |
JP2005034810A (en) * | 2003-07-18 | 2005-02-10 | Komatsu Denki Sangyo Kk | Management system in water treatment plant |
JP2005275494A (en) * | 2004-03-23 | 2005-10-06 | Hitachi Ltd | Storage system and remote copy method for storage system |
-
2006
- 2006-04-26 JP JP2006122280A patent/JP4632996B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09244618A (en) * | 1996-03-13 | 1997-09-19 | Toshiba Corp | Trend graph display method and display device therefor |
JP2000132223A (en) * | 1998-10-28 | 2000-05-12 | Hitachi Ltd | Electric system accident reproducer |
JP2005034810A (en) * | 2003-07-18 | 2005-02-10 | Komatsu Denki Sangyo Kk | Management system in water treatment plant |
JP2005275494A (en) * | 2004-03-23 | 2005-10-06 | Hitachi Ltd | Storage system and remote copy method for storage system |
Also Published As
Publication number | Publication date |
---|---|
JP2007293694A (en) | 2007-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006279119A (en) | Image reproducing device and program | |
JP4632996B2 (en) | Data collection device | |
JP2012053506A (en) | Drive recorder and limit notification method | |
JP5577623B2 (en) | Imaging device | |
JP2008165512A5 (en) | ||
JP2004294267A5 (en) | ||
JP2019004500A (en) | Electronic device and program | |
JP2011258064A (en) | Data collecting and recording apparatus, and data collecting and recording method | |
US20140341546A1 (en) | Editing apparatus and control method therefor | |
JP5631665B2 (en) | Drive recorder and data recording method | |
US9786317B2 (en) | Recording apparatus and method of controlling recording apparatus | |
EP2620853A1 (en) | Display device | |
US8824856B2 (en) | Moving image processing apparatus, moving image processing method, and program | |
JP5033680B2 (en) | List diagram creation system, digital camera, list diagram creation program, and list diagram creation method | |
CN110990239B (en) | System and method for collecting user data in user equipment based on soft sensor | |
JP2012194785A (en) | Method for setting recording image quality of drive recorder and device of the same | |
JP2006004157A5 (en) | ||
JP4689538B2 (en) | Image recording system | |
JP2009123021A5 (en) | ||
CN105681718B (en) | Display method for video playback of automobile data recorder and automobile data recorder | |
JP4349303B2 (en) | File storage system, file storage method, and file storage program | |
JP2006153965A (en) | Display control apparatus, camera, display control method and program | |
KR102151198B1 (en) | Black box having a function of storage recommendations and storage capacity recommended method using the same | |
US12026171B2 (en) | Method and system of managing error data associated with a vehicle | |
JP4901375B2 (en) | Video recording / playback device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080805 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100223 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100225 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100330 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100622 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100817 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101116 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4632996 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131126 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |