JPH077575B2 - Data storage system of data processor - Google Patents

Data storage system of data processor

Info

Publication number
JPH077575B2
JPH077575B2 JP18087586A JP18087586A JPH077575B2 JP H077575 B2 JPH077575 B2 JP H077575B2 JP 18087586 A JP18087586 A JP 18087586A JP 18087586 A JP18087586 A JP 18087586A JP H077575 B2 JPH077575 B2 JP H077575B2
Authority
JP
Japan
Prior art keywords
data
time
stored
file
observation
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.)
Expired - Fee Related
Application number
JP18087586A
Other languages
Japanese (ja)
Other versions
JPS6337802A (en
Inventor
剛久 長山
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP18087586A priority Critical patent/JPH077575B2/en
Publication of JPS6337802A publication Critical patent/JPS6337802A/en
Publication of JPH077575B2 publication Critical patent/JPH077575B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Recording Or Reproducing By Magnetic Means (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、オンラインリアルタイムで観測される時系
列データを編集・記憶・再生するデータ処理装置のデー
タ記憶方式に関する。
The present invention relates to a data storage system of a data processing device for editing / storing / reproducing time series data observed in online real time.

(ロ)従来の技術 従来、リアルタイムで時系列に観測されるデータを記憶
し、編集・再生等の処理を行うデータ処理装置で、その
時系列データを記憶するのに、例えば磁気ディスク等の
外部記憶装置にシーケンシャルファイルを作成し、連続
的に観測データを順次記憶している。
(B) Conventional technology Conventionally, in a data processing device that stores data observed in time series in real time and performs processing such as editing / playback, in order to store the time series data, an external storage such as a magnetic disk is used. Sequential files are created in the device and observation data are stored sequentially.

(ハ)発明が解決しようとする問題点 上記従来のデータ記憶方式では、時系列データを順次、
シーケンシャルファイルに記憶するものであり、観測計
器やデータ処理装置に故障が発生して記憶動作が一時停
止し、さらに再起動した場合には、観測データをファイ
ルの最初から記憶するか、これまでの記憶データの次に
記憶するため、ある期間のデータが欠落したり、故障の
ために観測できなかったデータ無の部分がどこであるの
か、不連続性の判定ができないという問題があった。
(C) Problems to be Solved by the Invention In the above conventional data storage method, time-series data is sequentially
It is stored in a sequential file, and if a failure occurs in the observation instrument or data processing device and the storage operation is temporarily stopped and then restarted, the observation data is stored from the beginning of the file or Since the data is stored next to the stored data, there is a problem that it is not possible to determine the discontinuity where the data for a certain period is missing or where there is no data that could not be observed due to a failure.

この発明は、上記に鑑み、故障発生による再起動時等に
データ欠落を生じさせない、また故障による観測データ
無の期間を明確に把握し得るデータ記憶方式を提供する
ことを目的としている。
In view of the above, it is an object of the present invention to provide a data storage system which does not cause data loss at the time of restart due to the occurrence of a failure and can clearly grasp the period of no observation data due to the failure.

(ニ)問題点を解決するための手段及び作用 この発明のデータ処理装置のデータ記憶方式は、記憶媒
体で、単位期間(例:1日)毎に更新され、かつ前記単位
期間内の各時刻データと、各時刻の取込みデータの記憶
される相対ブロックアドレスを各時刻毎に記憶するキー
ファイルと、このキーファイルの相対ブロックアドレス
でアドレス指定され、対応時刻の取込みデータを記憶す
るデータファイルとからなるランダムファイルを構成
し、各時刻の取込みデータを時刻に対応して固定的に記
憶している。
(D) Means and Actions for Solving Problems The data storage method of the data processing device of the present invention is a storage medium that is updated every unit period (eg, 1 day) and at each time within the unit period. From the key file that stores the data and the relative block address where the captured data of each time is stored for each time, and the data file that is addressed by the relative block address of this key file and that stores the captured data of the corresponding time. The following random data is configured and the captured data at each time is fixedly stored corresponding to the time.

このデータ記憶方式では、時刻に対応して取込みデータ
の記憶される領域が定まるので、故障等により取込みデ
ータ無の場合には、その取込み時刻よりのキーファイル
の指定する相対ブロックアドレスのデータファイルは、
データが記憶されない。従って、記憶データを再生すれ
ば、どの時点で不連続性が生じているか、直ちに知るこ
とができる。また、単位期間内では、時刻に対応して取
込みデータを記憶しているので、一時的に故障が生じ、
再起動させた場合でも、各取込み時刻に対応する相対ブ
ロックアドレスに記憶されるため、重複してデータを記
憶することはなく、それゆえ、それまでのデータを欠落
させることはない。
In this data storage method, the area where the fetched data is stored is determined according to the time, so if there is no fetched data due to a failure, the data file of the relative block address specified by the key file from the fetched time is ,
No data is stored. Therefore, by reproducing the stored data, it is possible to immediately know at what point the discontinuity has occurred. Also, within the unit period, since the captured data is stored corresponding to the time, a temporary failure occurs,
Even when it is restarted, it is stored in the relative block address corresponding to each capture time, so that data is not redundantly stored, and therefore the data up to that point is not lost.

(ホ)実施例 以下、実施例により、この発明をさらに詳細に説明す
る。
(E) Examples Hereinafter, the present invention will be described in more detail with reference to Examples.

第1図は、この発明の一実施例を示す観測データ記憶装
置のブロック図である。この実施例装置では、センサ1
-1、1-2、1-3、…、1−nからの観測信号がマルチプレ
クサ2に加えられ、それぞれ所定のサンプリング周期
で、しかも時分割でA/D変換器3に入力され、デジタル
値に変換され、観測データとしてCPU4に取込まれ、CPU4
に内蔵のメモリ4Mに一時記憶される。
FIG. 1 is a block diagram of an observation data storage device showing an embodiment of the present invention. In this embodiment, the sensor 1
Observation signals from -1 , 1 -2 , 1 -3 , ..., 1- n are added to the multiplexer 2 and input to the A / D converter 3 at predetermined sampling periods and in time division, and digital values are input. Is converted to, and taken into CPU4 as observation data.
It is temporarily stored in the built-in memory 4M.

CPU4には、さらに1日分の観測データを記憶するための
磁気ディスク5、観測データを表示するためのディスプ
レイ6及び観測モード、再生モード、編集モードを指定
するキーや、各種キーを備えたコンソールディスク7が
結合されている。
The CPU 4 has a magnetic disk 5 for further storing one day's observation data, a display 6 for displaying the observation data, and a console having various keys for designating the observation mode, reproduction mode, and edit mode, and various keys. The disk 7 is connected.

センサ1-1、1-2、1-3、…、1−nの観測された各デー
タは、上記したように、CPU4の内部メモリ4Mに一時記憶
されるが、第2図に示すように、内部メモリ4Mにn個の
センサの128回分のデータ(B1、…、B128)が記憶され
ると、そのデータが一括して磁気ディスク5に移され、
格納される。磁気ディスク5は、キーファイル5aとデー
タファイル5bを構成し、キーファイル5aは、第3図に示
すように、データの取込み時刻を示すデータ(SS:秒、D
D:日、MM:月、YY:年、HH:時、FF:分)と、1ブロックの
データ数(COUNT)と、1レココードの先頭相対ブロッ
クアドレス(ADRP)を記憶している。
Sensor 1 -1, 1 -2, 1 -3, ..., 1 observed the data is of -n, as described above, but is temporarily stored in the internal memory 4M of CPU 4, as shown in Figure 2 , When the data (B 1 , ..., B 128 ) for 128 times of n sensors is stored in the internal memory 4M, the data is collectively transferred to the magnetic disk 5,
Is stored. The magnetic disk 5 constitutes a key file 5a and a data file 5b. As shown in FIG. 3, the key file 5a contains data (SS: seconds, D
D: day, MM: month, YY: year, HH: hour, FF: minute), the number of data in one block (COUNT), and the start relative block address (ADRP) of one record code are stored.

そのため、CPU4の内部メモリ4Mに128回分のデータが記
憶される毎に、このデータは、磁気ディスク5のその時
刻に割当てられた相対ブロックアドレスの位置に格納さ
れる。つまり、時刻に固定して、観測データを記憶する
ようになっている。
Therefore, every time data of 128 times is stored in the internal memory 4M of the CPU 4, this data is stored in the position of the relative block address assigned to the magnetic disk 5 at that time. That is, the observation data is stored at a fixed time.

今、センサ数をn=60個 1ブロック=512バイト(1セクタ=256バイト)で、最
大1日分のデータを格納できるとすると、観測データの
取込みサンプリング時間を3秒として、内部メモリ4Mか
らの磁気ディスク5へ移送格納する1レコード時間は、 3秒×128=384秒 であり、最大レコード個数、つまり1日のレコード個数
は、 24時間×3,600秒/384秒=225 となる。1レコードに 512バイト×60個=30,720バイト 必要であるから、最大 30,720×225/256=27,000セクタの容量のデータファイ
ルを確保すればよい。
Now, assuming that the number of sensors is n = 60, 1 block = 512 bytes (1 sector = 256 bytes), and data for a maximum of one day can be stored, the sampling time of acquisition of observation data is set to 3 seconds and the internal memory 4M The time required for one record to be transferred and stored on the magnetic disk 5 is 3 seconds × 128 = 384 seconds, and the maximum number of records, that is, the number of records per day is 24 hours × 3,600 seconds / 384 seconds = 225. Since one record requires 512 bytes x 60 = 30,720 bytes, it is sufficient to secure a data file with a maximum capacity of 30,720 x 225/256 = 27,000 sectors.

この実施例装置では、観測モードでn個のセンサ1-1、1
-2、1-3、…、1−nの観測データが内部メモリ4Mに一
時記憶されると共に、所定時間毎に、この内部メモリ4M
のデータが磁気ディスク5に移送格納され、観測データ
が時刻に対応して固定されて記憶されている。
In this embodiment, the n sensors 1 -1 , 1 in the observation mode are
-2, 1 -3, ..., with 1 -n observation data is temporarily stored in the internal memory 4M, every predetermined time, the internal memory 4M
Data is transferred and stored on the magnetic disk 5, and the observation data is fixed and stored corresponding to the time.

観測データを再生する場合は、コンソールディスクで再
生モードを指定し、さらに時刻、センサNo.、表示レン
ジを指定することにより、内部メモリ4M及び磁気ディス
ク5、あるいはそのいずれかから、指定範囲に応じたデ
ータが表示バッファに導出され、ディスプレイ6に表示
される。例えば第4図に示すように、指定時刻を中心
に、データ変化が表示される。
When playing back the observation data, specify the playback mode on the console disk, time, sensor No., and display range, and then select the internal memory 4M and / or magnetic disk 5, or either, according to the specified range. The obtained data is derived to the display buffer and displayed on the display 6. For example, as shown in FIG. 4, data changes are displayed centering on a designated time.

また、この実施例では、磁気ディスク5を1日分のファ
イル記憶用としているので、日毎のデータを磁気ディス
クで管理でき、各磁気ディスクの日内でのデータ配置は
同じなので、操作も容易である。
Further, in this embodiment, since the magnetic disk 5 is used for storing files for one day, the data for each day can be managed by the magnetic disk, and the data arrangement of each magnetic disk within the day is the same, so the operation is easy. .

(ヘ)発明の効果 この発明によれば、時系列的な取込みデータを、時刻に
固定して記憶するものであるから、取込みデータの入力
が停止した場合、再起動時に、それまでのデータを欠落
させることがないし、また停止期間中の時刻に対応する
データは記憶されていないので、停止の有無及び停止期
間を容易に判断することができる。さらに、時刻を指定
することにより、その指定時刻がキーとなり、必要とす
るデータを容易に再生することができる。
(F) Effect of the Invention According to the present invention, since the time-sequential captured data is fixedly stored at the time, when the input of the captured data is stopped, the data up to that time is saved when restarting. Since the data is not lost and the data corresponding to the time during the suspension period is not stored, the presence or absence of the suspension and the suspension period can be easily determined. Further, by designating the time, the designated time becomes a key, and the required data can be easily reproduced.

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

第1図は、この発明の一実施例を示す観測データ記憶装
置のブロック図、第2図は、同装置の内部メモリから磁
気ディスクへのデータ移送を説明するための説明図、第
3図は、磁気ディスクのキーファイルのデータ配置を示
す図、第4図は、実施例装置の再生時の表示例を示す図
である。 1-1・1-2・1-3…1−n:センサ、4:CPU、4M:内部メモ
リ、5:磁気ディスク、5a:キーファイル、5b:データファ
イル。
FIG. 1 is a block diagram of an observation data storage device showing an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining data transfer from an internal memory of the device to a magnetic disk, and FIG. FIG. 4 is a diagram showing the data arrangement of the key file of the magnetic disk, and FIG. 4 is a diagram showing a display example at the time of reproduction by the embodiment apparatus. 1 -1 · 1 -2 · 1 -3 ... 1 -n: Sensor, 4: CPU, 4M: internal memory, 5: magnetic disks, 5a: key file, 5b: Data file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力データを時系列的に取込み、記憶媒体
に記憶するデータ処理装置のデータ記憶方式であって、 前記記憶媒体で単位期間毎に更新されるランダムファイ
ルを構成し、且つこのランダムファイルを前記単位期間
内の各時刻データと各時刻の取込みデータの記憶される
相対ブロックアドレスを各時刻毎に記憶するキーファイ
ルと、このキーファイルの相対ブロックアドレスでアド
レス指定され、対応時刻の取込みデータを記憶するデー
タファイルとで構成し、各時刻の取込みデータを時刻に
対応して固定的に記憶するようにしたデータ処理装置の
データ記憶方式。
1. A data storage system for a data processing device, which receives input data in time series and stores the data in a storage medium, the storage medium comprising a random file updated every unit period, and the random file being updated. The file is a key file that stores the relative block address at which each time data within the unit period and the capture data at each time is stored, and the relative block address of this key file is addressed, and the corresponding time is captured. A data storage method of a data processing device that is configured with a data file that stores data, and that capture data at each time is fixedly stored corresponding to the time.
JP18087586A 1986-07-30 1986-07-30 Data storage system of data processor Expired - Fee Related JPH077575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18087586A JPH077575B2 (en) 1986-07-30 1986-07-30 Data storage system of data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18087586A JPH077575B2 (en) 1986-07-30 1986-07-30 Data storage system of data processor

Publications (2)

Publication Number Publication Date
JPS6337802A JPS6337802A (en) 1988-02-18
JPH077575B2 true JPH077575B2 (en) 1995-01-30

Family

ID=16090867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18087586A Expired - Fee Related JPH077575B2 (en) 1986-07-30 1986-07-30 Data storage system of data processor

Country Status (1)

Country Link
JP (1) JPH077575B2 (en)

Also Published As

Publication number Publication date
JPS6337802A (en) 1988-02-18

Similar Documents

Publication Publication Date Title
US6633724B1 (en) Realtime data recording method
JPH0543135B2 (en)
JP2750230B2 (en) Electronic file device
JPH077575B2 (en) Data storage system of data processor
US5911031A (en) IC card memory for recording and reproducing audio and/or video data concurrently or separately and a control method thereof
JP2001045420A (en) Recorder, method and computer-readable storage medium
JPS6295079A (en) Reproducing device
JPH10162559A (en) Method for controlling soft data
JPS63244143A (en) Information processing system
JP2004153452A (en) Digital recording apparatus and file system thereof
JP2546404B2 (en) Magnetic tape media maintenance management method
JP2849487B2 (en) Staging method
JPH1050031A (en) Data recording method
JP2671298B2 (en) File management method
JPS5985557A (en) File control system
JP2001229654A (en) Information recorder
JPH05108723A (en) History file managing system
JP2008059473A (en) Video recording and playing device
JPS581467B2 (en) File access quick access door
JPH0676077A (en) Method for gathering and retrieving data
JPH06325147A (en) Image display device
JPH11144377A (en) Video data recording and reproducing device
JPH0581105A (en) Arithmetic processing unit
JP2004208005A (en) Image recording apparatus
JPH0594348A (en) Method for updating file

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees