JP2014225107A - Data recording device and time correction method - Google Patents
Data recording device and time correction method Download PDFInfo
- Publication number
- JP2014225107A JP2014225107A JP2013103635A JP2013103635A JP2014225107A JP 2014225107 A JP2014225107 A JP 2014225107A JP 2013103635 A JP2013103635 A JP 2013103635A JP 2013103635 A JP2013103635 A JP 2013103635A JP 2014225107 A JP2014225107 A JP 2014225107A
- Authority
- JP
- Japan
- Prior art keywords
- time
- data
- correction
- change
- recording
- 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
Links
Images
Abstract
Description
本発明は、データ記録装置に記録したデータの時刻を補正する技術に関する。 The present invention relates to a technique for correcting the time of data recorded in a data recording apparatus.
監視対象の状態等のデータを記録するデータ記録装置は、時計を備えており、収集したデータを時刻とともに記録している。しかし、その時計は、温度変化等によって、真の時刻(実時刻)から少しずつずれてしまうことがある。そのため、ある時点で、時計の時刻合わせが行われる。 A data recording device that records data such as the status of a monitoring target includes a clock and records the collected data together with the time. However, the timepiece may gradually shift from the true time (actual time) due to a temperature change or the like. Therefore, the clock is set at a certain time.
時刻合わせが行われた後で、データ記録装置から記録データを読み出すときまたは再生するときに、次のような問題が起きる。第1のケースでは、時刻合わせで時計を戻した場合、同じ時刻の記録データが重複して存在することになる。第2のケースでは、時刻合わせで時計を進めた場合、時系列データに空白の時間帯が存在することになる。 The following problems occur when the recorded data is read or reproduced from the data recording device after the time is set. In the first case, when the clock is returned with the time adjustment, the recorded data at the same time is duplicated. In the second case, when the clock is advanced by adjusting the time, there is a blank time zone in the time series data.
特許文献1には、従来技術として、第1のケースの場合に対応するために、時刻変更前に記録したデータを、時刻変更後に記録したデータで上書きすること、第2のケースの場合に対応するために、空白の時間帯を欠測扱いとすることが記載されている。また、特許文献1では、今回の時刻変更時で修正した時間分を、前回の時刻変更時から今回の時刻変更時までの間で線形補間することによって、記録データの時刻における補正時間を算出して、時刻補正を行う技術が開示されている。
In
しかしながら、線形補間によって時刻を補正する特許文献1に記載の技術では、今回の時刻変更時に設定された時刻を、前回の時刻変更時に設定された時刻よりも戻した場合、記録データの時刻が過去に逆行するという問題がある。また、特許文献1に記載の技術では、記録データの補正時間を線形補間によって求めているために、時系列データ間の時間間隔が許容範囲より広くなる、または許容範囲より狭くなるという虞がある。ここで、許容範囲とは、データ記録装置が記録可能および再生可能の双方またはいずれかの時間間隔を意味している。例えば、記録データが監視映像の場合には、許容範囲を満足しない場合には、映像を記録したり再生したりすることができない虞もある。
そこで、本発明では、データを記録順に再生可能に時刻補正を行う技術を提供することを課題とする。
However, in the technique described in
Accordingly, an object of the present invention is to provide a technique for performing time correction so that data can be reproduced in the order of recording.
前記課題を解決するために、本発明のデータ記録装置は、時刻変更時の時刻が記憶される記憶部と、今回の時刻変更時から前回の時刻変更時までの記録データの個数を取得し、前記記録データの個数を前記今回の時刻変更時から前記前回の時刻変更時までの時間で除算してデータレートを算出し、前記データレートが所定の範囲内であるか否かを判定する判定部と、前記判定部の判定結果に基づいて、前記今回の時刻変更時で修正した時間分を前記前回の時刻変更時から前記今回の時刻変更時までの間で線形補間することによって、前記記録データの時刻における補正時間を算出して、当該記録データの時刻を補正する第1の時刻補正、または、前記今回の時刻変更時に修正した時間で過去の前記記録データの時刻を補正する第2の時刻補正のいずれかを実行する記録時刻修正部と、を備えることを特徴とする。 In order to solve the above-mentioned problem, the data recording apparatus of the present invention obtains the number of recorded data from the time of the current time change to the time of the previous time change, and a storage unit that stores the time of the time change. A determination unit that calculates the data rate by dividing the number of the recording data by the time from the current time change to the previous time change, and determines whether the data rate is within a predetermined range And based on the determination result of the determination unit, linearly interpolates the time corrected at the time of the current time change from the time of the previous time change to the time of the current time change. The first time correction for correcting the time of the recording data by calculating the correction time at the time of the second time, or the second time for correcting the time of the past recording data with the time corrected when the current time is changed correction Characterized in that it comprises a recording time correction unit that performs either.
本発明によれば、データを記録順に再生可能に時刻補正を行うことができる。 According to the present invention, it is possible to perform time correction so that data can be reproduced in the order of recording.
ここで、本発明を実施するための形態(以降、「本実施形態」と称す。)について、適宜図面を参照しながら詳細に説明する。 Here, a mode for carrying out the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings as appropriate.
まず、時刻補正が可能なデータ記録装置の機能例について、図1を用いて説明する。なお、データ記録装置1は、単位時間当たりに所定数のデータを記録し、再生する(読み出す)機能を備えているものとする。データ記録装置1は、例えば、監視対象が所定のフレームレートの監視映像(データ)である場合には、そのフレームレート(データレート)の許容される範囲が決められている。また、データ記録装置1が、所定の周期で測定したデータ(温度や監視対象の装置の状態等)を記録する場合には、本実施形態では、通信プロトコルや通信インタフェース等に制約されて、データレートの許容される範囲が決められている。本実施形態では、記録データが監視映像の場合を例として、データ記録装置1の機能例について、以下に説明する。
First, an example of functions of a data recording apparatus capable of time correction will be described with reference to FIG. It is assumed that the
図1に示すように、データ記録装置1は、処理部10、記憶部20および通信部30を備える。
通信部30は、通信インタフェースであり、監視対象装置2からネットワーク3を介して、監視映像(データ)を受信する機能を備えている。
記憶部20は、メモリやハードディスク等であり、処理部10の処理結果や記録データやアプリケーションプログラムを記憶している。また、記憶部20には、変更した時刻や時刻の補正方法に関する情報が格納される時刻補正テーブル21が記憶される。なお、時刻補正テーブル21の詳細については後記する。
As shown in FIG. 1, the
The
The
処理部10は、時計補正部11、時計部12、判定部13、データ収集部14、時刻補正管理部15および記録時刻修正部16を備える。処理部10は、図示しないCPU(Central Processing Unit)およびメインメモリによって構成され、処理部10内の各部11〜16の機能は記憶部20に記憶されているアプリケーションプログラムをメインメモリに展開して具現化される。
The processing unit 10 includes a
時計補正部11は、不図示の入力装置を介して入力された時刻の変更要求を受け付けて、時計部12に時刻の変更指示を送信する機能を有する。なお、入力される時刻の変更要求は、例えば、設定する時刻、時計を進める量、時計を戻す量のいずれでも構わない。
時計部12は、時刻を出力するとともに、時計補正部11から受信した時刻の変更要求に基づいて時刻を変更する機能を有する。
The
The
判定部13は、記憶部20から今回の時刻変更時および前回の時刻変更時の情報を読み出し、双方の時刻変更時の間に記録された映像フレーム数(データ数)を取得し、その映像フレーム数(データ数)を双方の時刻変更時の間の時間で除算してフレームレート(データレート)を算出し、当該フレームレート(データレート)が所定の範囲内であるか否かを判定する機能を有する。また、判定部13は、判定結果に基づいて、予め決められている2つの時刻の補正方法の中から、いずれか一方の補正方法を選択する機能を有する。
The
データ収集部14は、監視対象装置2から映像フレーム(データ)を受信し、時刻補正管理部15によって発行される項番(具体的には、図3に示す時刻補正テーブル21の項番)と関連付けて記憶部20に記憶する機能を有する。
時刻補正管理部15は、補正方法を選択する機能を有する。また、時刻補正管理部15は、時計補正部11が受け付けた時刻の変更要求に対応する時刻(変更後時刻)、その時刻変更時の時計部12の時刻(変更前時刻)および判定部13によって選択された補正方法を関連付けて記憶部20に記憶する機能を有する。
記録時刻修正部16は、判定部13によって選択された補正方法を用いて、映像フレーム(データ)の時刻を補正する機能を有する。
The
The time
The recording
次に、各部11〜16間の情報の流れについて、図1を用いて具体的に説明する。
時計補正部11は、不図示の入力装置から時刻の変更要求として、例えば、今回の時刻変更時の時刻Tnewを受け付ける。例えば、入力装置は、時刻Tnewが設定され、セットボタンが押されることによって、時刻Tnewを時刻補正部11に出力する。次に、時計補正部11は、時刻の変更要求を時計部12に送信し、変更要求時の時計部12の時刻T0を変更前時刻T0として取得する。時計部12は、時刻Tnewを変更後時刻Tnewとして時計を設定する。そして、時計補正部11は、変更後時刻Tnewおよび変更前時刻T0を判定部13に送信する。
Next, the flow of information between the
The
判定部13は、時計補正部11から今回の時刻変更時の変更前時刻T0および変更後時刻Tnewを受信し、時刻補正管理部15を介して記憶部20から前回の時刻変更時の時刻Toldを取得する。判定部13は、記憶部20から前回の時刻変更時から今回の時刻変更時までの映像フレーム数Pnumをデータ収集部14を介して取得し、図2に示す時刻補正の処理フローによって判定処理を実行する。判定部13は、判定処理に基づいて、第1の時刻補正方法または第2の時刻補正方法のいずれかを選択し、変更前時刻T0と変更後時刻Tnewとともに選択した時刻補正処理方法を時刻補正管理部15に送信する。
The
時刻補正管理部15は、今回の時刻変更時の変更前時刻T0と変更後時刻Tnewと時刻補正処理方法を受信し、項番を付して記憶部20の時刻補正テーブル21に記憶し、当該項番をデータ収集部14に送信する。
データ収集部14は、監視対象装置2から映像フレーム(データ)を取得し、時計部12から現在の時刻を取得し、時刻補正管理部15から項番を取得し、取得した映像フレーム(データ)に時刻および項番を関連付けて、記憶部20に記憶する。
記録時刻修正部16は、映像フレーム(データ)の再生要求(読み出し要求)を受け付けたとき、その映像フレームに関連付けられた項番を用いて、時刻補正管理部15を介して記憶部20から時刻補正処理方法を取得し、映像フレーム(データ)の時刻を補正する。
The time
The
When the recording
ここで、判定部13における時刻補正の処理フロー例について、図2を用いて説明する。なお、判定部13は、時刻補正部11から今回の時刻変更時の変更前時刻T0および変更後時刻Tnewを受信している状態、すなわち、時刻変更が発生している状態にあるものとする。
Here, an example of a processing flow of time correction in the
ステップS201では、判定部13は、記憶部20を参照して、過去の記録データがあるか否かを判定する。
過去の記録データがあると判定された場合(ステップS201でYes)、処理はステップS202へ進み、過去の記録データがないと判定された場合(ステップS201でNo)、処理はステップS206へ進む。
In step S <b> 201, the
If it is determined that there is past recording data (Yes in step S201), the process proceeds to step S202. If it is determined that there is no past recording data (No in step S201), the process proceeds to step S206.
ステップS202では、判定部13は、記憶部20の時刻補正テーブル21を参照して、過去に時刻変更されたか否かを判定する。なお、過去に時刻変更されたと判定されるケースは、時刻補正テーブル21に既に項番とともに時刻変更時の情報が記憶されている場合である。
過去に時刻変更されたと判定された場合(ステップS202でYes)、処理はステップS203へ進み、過去に時刻変更されていないと判定された場合(ステップS202でNo)、処理はステップS206へ進む。
In step S202, the
If it is determined that the time has been changed in the past (Yes in step S202), the process proceeds to step S203. If it is determined that the time has not been changed in the past (No in step S202), the process proceeds to step S206.
ステップS203では、判定部13は、今回の時刻変更時の時刻Tnewと前回の時刻変更時の時刻Toldとの間の映像フレーム数(データ数)Pnumを、今回の時刻変更時の時刻Tnewと前回の時刻変更時の時刻Toldとの間の時間で除算して、フレームレート(データレート)Fを演算する。具体的には、判定部13は、今回の時刻変更時の時刻Tnewを時刻補正部11から受信し、時刻補正管理部15を介して記憶部20から前回の時刻変更時の時刻Toldを取得する。また、判定部13は、記憶部20から前回の時刻変更時から今回の時刻変更時までの映像フレーム数(データ数)Pnumをデータ収集部14を介して取得する。そして、判定部13は、Pnum/(Tnew−Told)を演算し、その結果をフレームレート(データレート)Fとする。
In step S203, the
ステップS204では、判定部13は、フレームレート(データレート)FがFmin以上かつFmax以下を満たすか否かを判定する。言い換えると、判定部13は、フレームレート(データレート)Fが所定の範囲を満たすか否かを判定する。ここで、Fminは、例えばデータ記録装置1が記録または再生可能な最小のフレームレート(データレート)を表す。また、Fmaxは、例えばデータ記録装置1が記録または再生可能な最大のフレームレート(データレート)を表している。
FがFmin以上かつFmax以下を満たすと判定した場合(ステップS204でYes)、処理はステップS205へ進み、FがFmin以上かつFmax以下を満たさないと判定した場合(ステップS204でNo)、処理はステップS206へ進む。
In step S204, the
If it is determined that F is greater than or equal to Fmin and less than or equal to Fmax (Yes in step S204), the process proceeds to step S205, and if it is determined that F is not greater than or equal to Fmin and less than or equal to Fmax (No in step S204), the process is performed. Proceed to step S206.
ステップS205では、判定部13は、第1の時刻補正方法を選択する。
ステップS206では、判定部13は、第2の時刻補正方法を選択する。
なお、第1の時刻補正方法および第2の時刻補正方法の詳細については、後記する。
In step S205, the
In step S206, the
Details of the first time correction method and the second time correction method will be described later.
次に、時刻補正テーブル21の一例について、図3を用いて説明する。
図3に示すように、時刻補正テーブル21は、項番、変更前時刻、変更後時刻および補正方法を関連付けて記憶している。
項番の欄には、時刻補正管理部15によって時刻変更時に発行される識別情報が記憶される。
変更前時刻の欄には、時刻変更時に、時計部12から取得した時刻T0が記憶される。
変更後時刻の欄には、時刻変更時に、不図示の入力装置から時刻の変更要求として受け付けた時刻Tnewが記憶される。
補正方法の欄には、判定部13によって選択された第1の時刻補正方法または第2の時刻補正方法のいずれかが記憶される。
Next, an example of the time correction table 21 will be described with reference to FIG.
As shown in FIG. 3, the time correction table 21 stores an item number, a time before change, a time after change, and a correction method in association with each other.
In the item number column, identification information issued by the time
The time T0 acquired from the
The time after change field stores the time Tnew received as a time change request from an input device (not shown) when the time is changed.
In the correction method column, either the first time correction method or the second time correction method selected by the
図3に示す時刻補正テーブル21の項番「1」は、1回目の時刻変更を表しており、2013年1月22日の12時(変更前時刻)から12時5分(変更後時刻)に時刻を進めている。項番「2」は、2回目の時刻変更を表しており、2013年1月22日の13時5分(変更前時刻)から13時(変更後時刻)に時刻を戻している。項番「3」は、3回目の時刻変更を表しており、2013年1月22日の14時から12時30分に時刻を戻している。また、補正方法には、図2に示した処理フローによって選択された時刻補正方法が「第1」「第2」のように表されている。なお、「第1」は第1の時刻補正方法を表し、「第2」は第2の時刻補正方法を表している。 The item number “1” of the time correction table 21 shown in FIG. 3 represents the first time change, and from 12 o'clock on January 22, 2013 (pre-change time) to 12:05 (post-change time). The time is moving forward. The item number “2” represents the second time change, and the time is returned from 13:05 (pre-change time) on January 22, 2013 to 13:00 (post-change time). The item number “3” represents the third time change, and the time is returned from 14:00 on January 22, 2013 to 12:30. In the correction method, the time correction method selected by the processing flow shown in FIG. 2 is expressed as “first” and “second”. “First” represents the first time correction method, and “second” represents the second time correction method.
図4は、第1の時刻補正方法を説明する図である。横軸は実時刻を表し、縦軸はデータ記録装置1の時計部12の時刻を表す。
第1の時刻補正方法は、今回の時刻変更時によって変更前時刻T0から変更後時刻Tnewに時刻が変更された場合、前回の時刻変更時の時刻Toldから変更前時刻T0まで間に記録された記録データに付された時刻に対して、時刻変更量(Tnew−T0)(白抜き矢印の長さ)と記録期間(T0−Told)との比から算出される時刻補正量を加算することによって、補正後の時刻を算出する。つまり、今回の時刻変更時で修正した時間分(時刻変更量(Tnew−T0)(白抜き矢印の長さ))を前回の時刻変更時から今回の時刻変更時までの間で線形補間することによって、記録データの時刻における補正時間(図4中の矢印実線で示される補正値)を算出する。例として、補正後の時刻Tbは、次の式(1)によって算出される。
Tb=(Tnew−T0) (Ta−Told) /(T0−Told)+Ta ・・・・式(1)
FIG. 4 is a diagram for explaining the first time correction method. The horizontal axis represents the actual time, and the vertical axis represents the time of the
In the first time correction method, when the time is changed from the pre-change time T0 to the post-change time Tnew due to the current time change, the time was recorded between the previous time change time Tod and the pre-change time T0. By adding the time correction amount calculated from the ratio of the time change amount (Tnew-T0) (the length of the white arrow) and the recording period (T0-Told) to the time attached to the recording data. Then, the corrected time is calculated. That is, the amount of time (time change amount (Tnew−T0) (length of white arrow)) corrected at the time of the current time change is linearly interpolated between the previous time change and the current time change. Thus, the correction time (the correction value indicated by the solid line in FIG. 4) at the time of the recording data is calculated. As an example, the corrected time Tb is calculated by the following equation (1).
Tb = (Tnew-T0) (Ta-Told) / (T0-Told) + Ta (1)
図5は、第2の時刻補正方法を説明する図である。横軸は実時刻を表し、縦軸はデータ記録装置1の時計部12の時刻を表す。
第2の時刻補正方法は、今回の時刻変更時によって変更前時刻T0から変更後時刻Tnewに時刻変更された場合、変更前時刻T0以前のすべての記録データの時刻に対して、時刻変更量(Tnew−T0)(白抜き矢印の長さ)を加算することによって補正後の時刻を算出する。例として、補正後の時刻Tbは、次の式(2)によって算出される。
Tb=(Tnew−T0)+Ta ・・・・式(2)
FIG. 5 is a diagram for explaining the second time correction method. The horizontal axis represents the actual time, and the vertical axis represents the time of the
In the second time correction method, when the time is changed from the pre-change time T0 to the post-change time Tnew due to the current time change, the time change amount (with respect to the time of all recorded data before the pre-change time T0 ( The corrected time is calculated by adding (Tnew−T0) (the length of the white arrow). As an example, the corrected time Tb is calculated by the following equation (2).
Tb = (Tnew−T0) + Ta (2)
図6は、図3に示す時刻補正テーブル21に記載されている情報を、実時刻とデータ記録装置の時刻とで表される座標に書き表したものである(適宜、図3参照)。
項番「1」の時刻変更では、第2の時刻補正方法が用いられるため、2013年1月22日の12時以前の記録データすべてには、時刻変化量5分が加算される。その加算した値は、破線61で表される。
次に、項番「2」の時刻変更では、第1の時刻補正方法が用いられるため、12時5分から13時5分までの間の記録データに対して、式(1)によって補正後の時刻Tbが算出される。その算出された値は、破線62で表される。
次に、項番「3」の時刻変更では、第2の時刻補正方法が用いられるため、14時以前の記録データすべてに対して時刻変化量90分を減算される。その算出された値は、破線63で表される。
FIG. 6 shows the information described in the time correction table 21 shown in FIG. 3 written in the coordinates represented by the actual time and the time of the data recording device (see FIG. 3 as appropriate).
When the item number “1” is changed, the second time correction method is used. Therefore, a time change amount of 5 minutes is added to all the recorded data before 12:00 on January 22, 2013. The added value is represented by a
Next, since the first time correction method is used in the time change of the item number “2”, the recording data from 12: 5 to 13: 5 is corrected by the equation (1). Time Tb is calculated. The calculated value is represented by a
Next, in the time change of item number “3”, since the second time correction method is used, the time change amount of 90 minutes is subtracted from all the recorded data before 14:00. The calculated value is represented by a
以上説明したように、本発明のデータ記録装置1は、時刻変更時の時刻が記憶される記憶部20と、今回の時刻変更時から前回の時刻変更時までの記録データの個数を取得し、記録データの個数を今回の時刻変更時から前回の時刻変更時までの時間で除算してデータレートを算出し、データレートが所定の範囲内であるか否かを判定する判定部13と、データレートが所定の範囲内であると判定した場合、今回の時刻変更時で修正した時間分を前回の時刻変更時から今回の時刻変更時までの間で線形補間することによって、記録データの時刻における補正時間を算出して、当該記録データの時刻を補正する第1の時刻補正を実行し、データレートが所定の範囲外であると判定した場合、今回の時刻変更時に修正した時間で過去の記録データの時刻を補正する第2の時刻補正を実行する記録時刻修正部16と、を備える。したがって、データ記録装置1は、記録した時系列データを記録順に再生可能に時刻補正を行うことができる。
As described above, the
なお、本発明は上記した実施形態に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施形態は、本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも、説明したすべての構成を備えるものに限定されるものではない。また、ある実施形態の構成の一部を他の実施形態の構成に置き換えることが可能であり、ある実施形態の構成に他の実施形態の構成を加えることも可能である。また、実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。
また、データ記録装置1の各機能等は、それらの一部または全部を、例えば、集積回路で設計する等によりハードウェアで実現してもよい。また、処理部10の各機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、またはICカード、SDカード、DVD(Digital Versatile Disc)等の記録媒体に置くことができる。
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしもすべての制御線や情報線を示しているとは限らない。実際には、ほとんどすべての構成が相互に接続されていると考えてもよい。
In addition, this invention is not limited to above-described embodiment, Various modifications are included. For example, the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to one having all the configurations described. In addition, a part of the configuration of a certain embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of a certain embodiment. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of the embodiment.
Further, each function or the like of the
In addition, the control lines and information lines are those that are considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. In practice, it may be considered that almost all configurations are connected to each other.
1 データ記録装置
2 監視対象装置
3 ネットワーク
10 処理部
11 時計補正部
12 時計部
13 判定部
14 データ収集部
15 時刻補正管理部
16 記録時刻修正部
20 記憶部
21 時刻補正テーブル
30 通信部
DESCRIPTION OF
Claims (4)
今回の時刻変更時から前回の時刻変更時までの記録データの個数を取得し、前記記録データの個数を前記今回の時刻変更時から前記前回の時刻変更時までの時間で除算してデータレートを算出し、前記データレートが所定の範囲内であるか否かを判定する判定部と、
前記判定部の判定結果に基づいて、前記今回の時刻変更時で修正した時間分を前記前回の時刻変更時から前記今回の時刻変更時までの間で線形補間することによって、前記記録データの時刻における補正時間を算出して、当該記録データの時刻を補正する第1の時刻補正、または、前記今回の時刻変更時に修正した時間で過去の前記記録データの時刻を補正する第2の時刻補正のいずれかを実行する記録時刻修正部と、
を備えることを特徴とするデータ記録装置。 A storage unit for storing the time when the time is changed;
The number of recorded data from the current time change to the previous time change is obtained, and the data rate is divided by the time from the current time change to the previous time change. A determination unit that calculates and determines whether or not the data rate is within a predetermined range;
Based on the determination result of the determination unit, the time of the recording data is obtained by linearly interpolating the time corrected at the time of the current time change from the time of the previous time change to the time of the current time change. The first time correction for correcting the time of the recording data by calculating the correction time at the time or the second time correction for correcting the time of the past recording data with the time corrected at the time of the current time change. A recording time correction unit for executing one of the following:
A data recording apparatus comprising:
前記判定部において前記データレートが前記所定の範囲内であると判定された場合、前記第1の時刻補正を実行し、前記判定部において前記データレートが前記所定の範囲外であると判定した場合、前記第2の時刻補正を実行する
ことを特徴とする請求項1に記載のデータ記録装置。 The recording time correction unit
When the determination unit determines that the data rate is within the predetermined range, the first time correction is performed, and the determination unit determines that the data rate is outside the predetermined range The data recording apparatus according to claim 1, wherein the second time correction is performed.
前記データ記録装置は、
時刻変更時の時刻が記憶される記憶部、を備え、
今回の時刻変更時から前回の時刻変更時までの記録データの個数を取得し、前記記録データの個数を前記今回の時刻変更時から前記前回の時刻変更時までの時間で除算してデータレートを算出し、前記データレートが所定の範囲内であるか否かを判定する判定ステップと、
前記判定ステップにおける判定結果に基づいて、前記今回の時刻変更時で修正した時間分を前記前回の時刻変更時から前記今回の時刻変更時までの間で線形補間することによって、前記記録データの時刻における補正時間を算出して、当該記録データの時刻を補正する第1の時刻補正、または、前記今回の時刻変更時に修正した時間で過去の前記記録データの時刻を補正する第2の時刻補正のいずれかを実行する記録時刻修正ステップと、
を実行することを特徴とする時刻補正方法。 A time correction method for a data recording apparatus for recording recorded data together with time,
The data recording device comprises:
A storage unit for storing the time when the time is changed,
The number of recorded data from the current time change to the previous time change is obtained, and the data rate is divided by the time from the current time change to the previous time change. A determination step of calculating and determining whether the data rate is within a predetermined range;
Based on the determination result in the determination step, the time of the recording data is obtained by linearly interpolating the time corrected at the time of the current time change from the time of the previous time change to the time of the current time change. The first time correction for correcting the time of the recording data by calculating the correction time at the time or the second time correction for correcting the time of the past recording data with the time corrected at the time of the current time change. A recording time correction step for performing one of the following:
The time correction method characterized by performing.
前記判定ステップにおいて前記データレートが前記所定の範囲内であると判定された場合、前記第1の時刻補正を実行し、前記判定ステップにおいて前記データレートが前記所定の範囲外であると判定した場合、前記第2の時刻補正を実行する
ことを特徴とする請求項3に記載の時刻補正方法。 In the recording time correction step,
When it is determined in the determination step that the data rate is within the predetermined range, the first time correction is performed, and when the data rate is determined to be outside the predetermined range in the determination step The time correction method according to claim 3, wherein the second time correction is executed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013103635A JP2014225107A (en) | 2013-05-16 | 2013-05-16 | Data recording device and time correction method |
CN201410201256.9A CN104166424A (en) | 2013-05-16 | 2014-05-13 | Data recording device and correction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013103635A JP2014225107A (en) | 2013-05-16 | 2013-05-16 | Data recording device and time correction method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014225107A true JP2014225107A (en) | 2014-12-04 |
Family
ID=51910284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013103635A Pending JP2014225107A (en) | 2013-05-16 | 2013-05-16 | Data recording device and time correction method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2014225107A (en) |
CN (1) | CN104166424A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110087137B (en) * | 2018-01-26 | 2022-03-29 | 龙芯中科技术股份有限公司 | Method, device, equipment and medium for acquiring video playing frame information |
CN111225251B (en) * | 2018-11-27 | 2022-07-08 | 深圳Tcl数字技术有限公司 | Method, storage medium and equipment for obtaining EPG (electronic program guide) by self-adaptive matching of time |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3955216B2 (en) * | 2002-02-14 | 2007-08-08 | シャープ株式会社 | Time-series data recording apparatus and time-series data recording method |
KR100793233B1 (en) * | 2006-05-17 | 2008-01-10 | 엘지전자 주식회사 | Method for changing device informtaion |
CN101212619A (en) * | 2006-12-29 | 2008-07-02 | 上海乐金广电电子有限公司 | Data recording method and data searching method |
-
2013
- 2013-05-16 JP JP2013103635A patent/JP2014225107A/en active Pending
-
2014
- 2014-05-13 CN CN201410201256.9A patent/CN104166424A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
CN104166424A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7978572B2 (en) | Device and method for reproducing digital signal and device and method for recording digital signal | |
KR101658316B1 (en) | Synchronous audio playback method, apparatus and system | |
CN109167890B (en) | Sound and picture synchronization method and device and display equipment | |
JP2018056821A (en) | Digital watermark embedding program, digital watermark embedding device, and digital watermark embedding method | |
JP2014225107A (en) | Data recording device and time correction method | |
CN105530534B (en) | A kind of method and apparatus of video clipping | |
US10912494B2 (en) | Sensor signal reconstruction in a sensor hub | |
JP4124798B2 (en) | Timing extracting device, information reproducing device and DVD device using the same | |
US20180286140A1 (en) | Information processing apparatus and information processing method | |
JP5504290B2 (en) | Screen recording system and recording method thereof | |
CN105323653B (en) | A kind of method and apparatus playing segment video | |
JP5771472B2 (en) | Data recording / reproducing apparatus and data library apparatus | |
CN107256004B (en) | Product processing method and device | |
JP5075932B2 (en) | Bit rate setting device | |
KR101637022B1 (en) | Apparatus and method for transmitting and receiving content | |
CN109255579A (en) | A kind of data target determines method and apparatus | |
JP6806577B2 (en) | Recording device and its control method and program | |
JP4857807B2 (en) | Control device | |
JP6467923B2 (en) | TS data reading device and TS data reading method | |
CN114827680A (en) | Multi-channel video synchronous playing method, system, equipment and storage medium | |
WO2020026873A1 (en) | Display data generating device, display data generating method, program, and program recording medium | |
JP2004348281A (en) | Redundancy storage system, method and program | |
KR100937521B1 (en) | High speed image recording method and apparatus | |
KR20150066197A (en) | Continuous data compression method | |
JP2012080467A (en) | Video data processing device and video data processing method |