JP2007078351A - Information processing apparatus and method therefor, and computer program - Google Patents
Information processing apparatus and method therefor, and computer program Download PDFInfo
- Publication number
- JP2007078351A JP2007078351A JP2005262621A JP2005262621A JP2007078351A JP 2007078351 A JP2007078351 A JP 2007078351A JP 2005262621 A JP2005262621 A JP 2005262621A JP 2005262621 A JP2005262621 A JP 2005262621A JP 2007078351 A JP2007078351 A JP 2007078351A
- Authority
- JP
- Japan
- Prior art keywords
- time
- time information
- data
- information
- external device
- 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.)
- Withdrawn
Links
Images
Landscapes
- Electric Clocks (AREA)
Abstract
Description
本発明は,外部装置から入力されたデータに付与された時刻情報の誤差を補正して,正しいデータを出力する情報処理装置,情報処理方法およびコンピュータプログラムに関し,特に,撮影した画像および音声について記録した情報について,記録した時点の時刻情報の誤差を補正して,指定された撮影時刻に対応する情報を出力する情報処理装置,情報処理方法およびコンピュータプログラムに関する。 The present invention relates to an information processing apparatus, an information processing method, and a computer program that corrects an error in time information added to data input from an external device and outputs correct data, and particularly records recorded images and sounds. The present invention relates to an information processing apparatus, an information processing method, and a computer program that correct an error in time information at the time of recording and output information corresponding to a specified shooting time.
従来から,外部装置により入力された情報を時刻情報とともに記録し,指定された時刻情報に対応する情報を出力する機能を備える情報処理装置が存在している。例えば,監視カメラなどにより撮像された情報を記録した場合,指定された時刻に対応する情報を取得して,その時刻の状況を確認している。そのため,撮像された情報とともに記録される時刻情報は正確な時刻情報でなければならない。 Conventionally, there exists an information processing apparatus having a function of recording information input from an external device together with time information and outputting information corresponding to the specified time information. For example, when information captured by a monitoring camera or the like is recorded, information corresponding to a specified time is acquired and the status at that time is confirmed. Therefore, the time information recorded together with the imaged information must be accurate time information.
しかし,一般的に記録装置等に設けられた内蔵時計は,一定の精度誤差を許容した簡易な計時機能しか持たない。記録装置を長期間稼動した場合には,基準となる正確な時刻とは大きくずれた誤差を生じてしまう。そこで,正確な時刻情報を取得し,これをもとに内蔵時計の時刻情報の補正を定期的または不定期に行うことで,内蔵時計の出力時刻の誤差を低減している。しかしこの場合,正確な時刻情報が一度も取得されない場合には,正確ではない時刻情報が記録されてしまったり,内蔵時計が補正される以前と後で記録される時刻情報の順序が逆になってしまったりするという問題があった。 However, generally, a built-in clock provided in a recording device or the like has only a simple timekeeping function that allows a certain accuracy error. When the recording apparatus is operated for a long period of time, an error greatly deviating from the reference accurate time occurs. Therefore, accurate time information is acquired, and based on this, the time information of the internal clock is corrected regularly or irregularly, thereby reducing the error in the output time of the internal clock. However, in this case, if accurate time information is never obtained, incorrect time information is recorded, or the order of time information recorded before and after the internal clock is corrected is reversed. There was a problem of being lost.
そこで,上記問題を解決するために,外部時刻源を用いて,内蔵時計の誤差を補正する補正機能を持つ記録装置が開発されている(例えば特許文献1)。特許文献1では,記録装置の内蔵時計は,第1の時刻情報と第2の時刻情報を保持している。第1の時刻情報は内蔵時計のパルスをカウントしたカウント値であり,記録装置の電源投入と同時にカウントが開始される。また,第2の時刻情報は一般的な時刻情報となっており,第1の時刻のカウント値が所定の補正間隔を超えると,タイムサーバから入手される正確な時刻情報に基づいて,第2の時刻情報の補正が行われる,また,あるイベントが第2の時刻情報の補正が行われる前に発生した場合には,第2の時刻情報は記録せず,第1の時刻情報のみを記録するようにしている。第2の時刻情報の補正が行われる前に発生したイベントの時刻情報は,第1の時刻情報のみが記録されるようになり,内蔵時計が補正される以前と後で記録される時刻情報の順序が逆になってしまったりすることがない。
Therefore, in order to solve the above problem, a recording apparatus having a correction function for correcting an error of an internal clock using an external time source has been developed (for example, Patent Document 1). In
しかし,第1の時刻情報についても,記録装置の内蔵時計の誤差の影響を受けるため,記録されたイベント発生時の時刻は誤差が生じたままとなってしまうという問題があった。また,第2の時刻情報の補正は,ネットワーク上のタイムサーバから入手しているため記録装置は常にネットワークと接続された環境にしておかなければならない。しかしながら,ネットワークに接続する必要がない環境で使用される機器においては,時刻情報を補正するためだけにネットワーク設備を構築することは,設備が複雑となり,コストもかかってしまうという問題があった。 However, since the first time information is also affected by the error of the built-in clock of the recording device, there has been a problem that the time when the recorded event occurs remains an error. In addition, since the second time information correction is obtained from a time server on the network, the recording apparatus must always be in an environment connected to the network. However, in a device used in an environment that does not need to be connected to a network, there is a problem that constructing a network facility only for correcting time information makes the facility complicated and costly.
そこで,本発明は,このような問題に鑑みてなされたもので,その目的とするところは,入力されたデータに付与された時刻情報と外部装置に指定された時刻情報との誤差に基づいて,指定された時刻情報に対応するデータを正しく出力することが可能な,新規かつ改良された,情報処理装置,情報処理方法およびコンピュータプログラムを提供することにある。 Therefore, the present invention has been made in view of such problems, and the object of the present invention is based on an error between time information given to input data and time information designated by an external device. An object of the present invention is to provide a new and improved information processing apparatus, information processing method, and computer program capable of correctly outputting data corresponding to specified time information.
上記課題を解決するために,本発明のある観点によれば,第1外部装置から入力されたデータを第2外部装置に出力する情報処理装置であって:第1外部装置から入力されたデータに第1時刻情報を付与する第1時刻情報付与部と;第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得する第2時刻情報取得部と;データ出力要求時点の第1時刻情報と第2時刻情報との出力要求時刻誤差を算出する出力要求時刻誤差算出部と;出力要求時刻誤差に基づいて,第2外部装置により指定された時刻の第1時刻情報と第2時刻情報との指定時刻誤差を算出する指定時刻誤差算出部と;指定時刻誤差に対応する第1時刻情報が付与されたデータを第2外部装置に出力するデータ出力部と;を備えることを特徴とする,情報処理装置が提供される。 In order to solve the above problems, according to an aspect of the present invention, there is provided an information processing apparatus that outputs data input from a first external device to a second external device: data input from the first external device A first time information giving unit for giving first time information to the second time information obtaining unit for obtaining second time information as a reference for the data output request time in response to a data output request from the second external device An output request time error calculation unit for calculating an output request time error between the first time information and the second time information at the time of data output request; a time designated by the second external device based on the output request time error A designated time error calculation unit for calculating a designated time error between the first time information and the second time information; and data output for outputting data to which the first time information corresponding to the designated time error is given to the second external device And comprising Wherein, the information processing apparatus is provided.
上記発明によれば,上記情報処理装置に入力されたデータの記憶時には,第1時刻情報を付与し,第2外部装置によりデータが要求される際に,第1時刻情報と第2時刻情報との誤差を算出して,その誤差に基づいて,第2外部装置により指定されたデータを正しく出力することが可能となる。これにより,上記情報処理装置は,常にネットワークに接続して,自己の時刻情報を補正せずとも,正しいデータを出力することができる。 According to the invention, when the data input to the information processing device is stored, the first time information is given, and when the data is requested by the second external device, the first time information, the second time information, It is possible to correctly output the data designated by the second external device based on the error. Thus, the information processing apparatus can always connect to the network and output correct data without correcting its own time information.
また,上記第1時刻情報付与部は,第1外部装置から入力されたデータを所定時間ごとに分割して,各データに第1時刻情報を付与するようにしてもよい。これにより,第2外部装置に,所定時間ごとに分割された分割データを出力することが可能となる。 The first time information adding unit may divide the data input from the first external device every predetermined time and add the first time information to each data. Thereby, it is possible to output the divided data divided every predetermined time to the second external device.
また,上記情報処理装置は,第1時刻情報を,第2時刻情報に補正する時刻情報補正部をさらに備え,上記時刻情報補正部は,第1時刻情報を第2時刻情報に補正した時点の時刻情報を保持するようにしてもよい。これにより,第1時刻情報を基準となる第2時刻情報に補正して,第1時刻情報を正確なものとすることができる。 The information processing apparatus further includes a time information correcting unit that corrects the first time information to the second time information, and the time information correcting unit corrects the first time information to the second time information. You may make it hold | maintain time information. As a result, the first time information can be corrected to the second time information serving as a reference, and the first time information can be made accurate.
上記情報処理装置は,第1時刻情報付与部により第1時刻情報が付与されたデータを記憶するデータ記憶部をさらに備え,上記データ出力部は,データ記憶部に記憶されたデータから,指定時刻誤差に対応する第1時刻情報が付与されたデータを取得して第2外部装置に出力するようにしてもよい。 The information processing apparatus further includes a data storage unit that stores data to which the first time information is added by the first time information adding unit, and the data output unit receives a specified time from the data stored in the data storage unit. Data with the first time information corresponding to the error may be acquired and output to the second external device.
上記第2時刻情報は,第2外部装置がタイムサーバにアクセスして得られる時刻情報であり,第1時刻情報は,時刻情報補正部により第2時刻情報に補正された時点から,第2時刻情報に対して所定の割合で誤差が生じる時刻情報であってもよい。 The second time information is time information obtained by the second external device accessing the time server, and the first time information is the second time from the time when the time information correction unit corrects the second time information. It may be time information in which an error occurs at a predetermined rate with respect to the information.
上記指定時刻誤差算出部は,第1時刻情報が第2時刻情報に補正された補正時点から第2外部装置からのデータ出力要求時点までの時間と,補正時点から第2外部装置により指定された指定時刻までの時間の比を,出力要求時刻誤差算出部により算出された出力要求時刻誤差に比例演算して,指定時刻誤差を算出するようにしてもよい。これにより,データ出力要求時点での第1時刻情報と第2時刻情報との誤差から,第2外部装置により指定された時刻のデータを正しく出力することが可能となる。 The designated time error calculation unit is designated by the second external device from the correction time point when the first time information is corrected to the second time information until the data output request time point from the second external device. The specified time error may be calculated by calculating a ratio of the time until the specified time in proportion to the output request time error calculated by the output request time error calculation unit. As a result, it is possible to correctly output data at the time designated by the second external device from the error between the first time information and the second time information at the time of the data output request.
上記課題を解決するために,本発明の別の観点によれば,第1外部装置から入力されたデータを第2外部装置に出力する情報処理装置をして,第1外部装置から入力されたデータに第1時刻情報を付与する処理と;第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得する処理と;データ出力要求時点の第1時刻情報と第2時刻情報との出力要求時刻誤差を算出する処理と;出力要求時刻誤差に基づいて,第2外部装置により指定された時刻の第1時刻情報と第2時刻情報との指定時刻誤差を算出する処理と;指定時刻誤差に対応する第1時刻情報が付与されたデータを第2外部装置に出力する処理と;を実行せしめることを特徴とする,コンピュータプログラムが提供される。 In order to solve the above-described problem, according to another aspect of the present invention, an information processing device that outputs data input from a first external device to a second external device is input from the first external device. A process of giving first time information to data; a process of acquiring second time information as a reference for a data output request time in response to a data output request from a second external device; a first of the data output request time A process for calculating an output request time error between the time information and the second time information; a specified time between the first time information and the second time information at a time specified by the second external device based on the output request time error There is provided a computer program characterized in that: a process for calculating an error; and a process for outputting data to which a first time information corresponding to a specified time error is added to a second external device are executed.
上記コンピュータプログラムは,コンピュータが備える記憶部に格納され,コンピュータが備えるCPUに読み込まれて実行されることにより,そのコンピュータを上記の情報処理装置として機能させる。また,コンピュータプログラムが記録された,コンピュータで読み取り可能な記録媒体も提供される。記録媒体は,例えば,磁気ディスク,光ディスクなどである。 The computer program is stored in a storage unit included in the computer, and is read and executed by a CPU included in the computer, thereby causing the computer to function as the information processing apparatus. A computer-readable recording medium on which a computer program is recorded is also provided. The recording medium is, for example, a magnetic disk or an optical disk.
上記課題を解決するために,本発明の別の観点によれば,第1外部装置から入力されたデータを第2外部装置に出力する情報処理方法であって:第1外部装置から入力されたデータに第1時刻情報を付与するステップと;第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得するステップと;データ出力要求時点の第1時刻情報と第2時刻情報との出力要求時刻誤差を算出するステップと;出力要求時刻誤差に基づいて,第2外部装置により指定された時刻の第1時刻情報と第2時刻情報との指定時刻誤差を算出するステップと;指定時刻誤差に対応する第1時刻情報が付与されたデータを第2外部装置に出力するステップと;を含むことを特徴とする,情報処理方法が提供される。 In order to solve the above-described problem, according to another aspect of the present invention, there is provided an information processing method for outputting data input from a first external device to a second external device, wherein the information is input from the first external device. Adding first time information to the data; obtaining second time information serving as a reference for the data output request time in response to a data output request from the second external device; and first data output request time A step of calculating an output request time error between the time information and the second time information; a specified time between the first time information and the second time information at a time specified by the second external device based on the output request time error There is provided an information processing method comprising: calculating an error; and outputting the data to which the first time information corresponding to the specified time error is added to the second external device.
以上説明したように本発明によれば,入力されたデータに付与された時刻情報と外部装置に指定された時刻情報との誤差に基づいて,指定された時刻情報に対応するデータを正しく出力することができる。 As described above, according to the present invention, data corresponding to the specified time information is correctly output based on the error between the time information given to the input data and the time information specified to the external device. be able to.
以下に添付図面を参照しながら,本発明の好適な実施の形態について詳細に説明する。なお,本明細書及び図面において,実質的に同一の機能構成を有する構成要素については,同一の符号を付することにより重複説明を省略する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, components having substantially the same functional configuration are denoted by the same reference numerals, and redundant description is omitted.
まず,図1に基づいて,本実施形態の概要を説明する。以下では,本発明を,主に入力されたデータに付与された時刻情報の誤差を補正して,指定された時刻のデータを正しく出力することが可能な,情報処理装置100に適用して説明する。
First, an outline of the present embodiment will be described based on FIG. In the following description, the present invention is applied to an
本実施形態では,本発明における入力および出力されるデータの一例として,映像情報や音声情報を適用することができるが,かかる例に限定されず,文章ファイルなどのテキストデータであってもよい。本実施形態にかかる情報処理装置100は,第1外部装置から入力されたデータを第2外部装置に出力する機能を有する。以下,第1外部装置をデータ発生装置200とし,第2外部装置をコンピュータ300として説明する。
In the present embodiment, video information and audio information can be applied as an example of input and output data in the present invention. However, the present invention is not limited to this example, and text data such as a text file may be used. The
データ発生装置200により発生したデータは,情報処理装置100に入力され時刻情報とともに情報処理装置100に備わる記憶装置に記憶される。コンピュータ300は,情報処理装置100とネットワークを介して接続して,所望のデータの取得を要求する。コンピュータ300は,情報処理装置100に記憶されたデータを取得する際に,情報処理装置100に接続される装置であり,情報処理装置100に対して,時刻を指定してデータの取得を要求する。情報処理装置100は,コンピュータ300により指定された時刻に対応するデータをコンピュータ300に出力する。
Data generated by the
ここで,情報処理装置100に備わる記憶装置に記憶される際にデータに付与される時刻情報を第1時刻情報とし,コンピュータ300により指定された時刻を第2時刻情報として以下説明する。第2時刻情報は,コンピュータ300がタイムサーバにアクセスして得られる時刻情報である。第2時刻情報はコンピュータ300に備わる内蔵時計の時刻情報であってもよい。コンピュータ300は,常にネットワークに接続し,タイムサーバにアクセスして基準となる時刻情報を取得して,コンピュータ300に備わる内蔵時計の時刻情報をタイムサーバの時刻情報に対応させてもよいし,情報処理装置100と接続する際にネットワークに接続してタイムサーバから基準となる時刻情報を取得するようにしてもよい。
Here, the time information given to the data when stored in the storage device included in the
第1時刻情報は,情報処理装置100に備わる内蔵時計の時刻情報である。第1時刻情報は,第2時刻情報に対して所定の割合で誤差が生じる時刻情報である。また,コンピュータ300が情報処理装置100に接続してデータの取得を要求する際には,第1時刻情報は,第2時刻情報に補正される。つまり,第1時刻情報は,第2時刻情報に補正された時点から,第2時刻情報に対して所定の割合で誤差が生じる時刻情報である。
The first time information is time information of a built-in clock provided in the
次に,情報処理装置100,データ発生装置200,コンピュータ300の構成について説明する。データ発生装置200は,映像撮影装置(ビデオカメラ等)や音声集音装置(マイク等)などから構成され,例えば外部映像監視装置(金融機関外に設置されたATMや自動販売機等の監視装置)などである。データ発生装置200により撮像または集音されたデータは,情報処理装置100に出力される。
Next, the configuration of the
情報処理装置100は,CPU(Central Processing Unit)102,RTC(Real Time Clock)104,エンコード処理ユニット106,時刻補正部108,記憶装置110,ネットワークインターフェース(以下,ネットワークI/Fという)112などから構成される。
The
CPU102は,中央演算処理装置であって,情報処理装置100全体の制御を行う機能を有する。RTC104は,情報処理装置100の内蔵時計であって,時刻情報を提供する機能を有する。エンコード処理ユニット106は,例えばデータ発生装置などから入力された映像音声データをMPEG(Moving Picture Experts Group)−4等の圧縮技術を用いて符号化する機能を有する。
The
記憶装置110は,エンコード処理ユニット106により符号化された情報を記憶する機能を有する。記憶装置110は,例えば大容量のハードディスクドライブなどから構成されている。記憶装置110に記憶されるデータは,例えば,1〜10分毎の所定時間毎に1つのデータとして分割されて記憶される。分割されたデータには,撮影時の第1時刻情報が付与される。撮影時の第1時刻情報を,分割されたデータの名称として付与するようにしてもよい。記憶装置100に記憶されたデータが出力される際には,分割されたデータ単体で出力したり,所定時間のデータを接続して出力したりするようにしてもよい。
The
時刻補正部108は,コンピュータ300から指定された時刻のデータを検索する際に,第1時刻情報を補正する機能を有する。時刻補正部108による第1時刻情報の補正については,後で詳細に説明する。
The
ネットワークI/F112は,コンピュータ300と接続する機能を有するインタフェースである。ネットワークI/F112は,コンピュータ300がデータの出力を要求する際に使用され,通常は他のコンピュータと接続されていない。
The network I /
コンピュータ300は,CPU302,RTC304,ネットワークI/F306,入力装置308,記憶装置310などから構成される。CPU302は,中央演算処理装置であり,コンピュータ300全体の制御を行う。RTC304は,コンピュータ300の内蔵時計であり,時刻情報を提供する機能を有する。情報処理装置100と接続して,所望のデータを取得する際には,コンピュータ300は予めタイムサーバにアクセスして基準となる時刻情報を取得して,コンピュータ300の内蔵時計を補正している。つまり,コンピュータ300が情報処理装置100に接続される際に指定される第2時刻情報は,タイムサーバの時刻情報に補正された正確な時刻情報となる。
The
ネットワークI/F306は,情報処理装置100と接続する機能を有するインタフェースである。ネットワークI/F306は,情報処理装置100と接続する際に使用されるが,情報処理装置100とは別の装置と接続する際に使用してもよい。記憶装置310は,コンピュータ300の動作に必要な情報や,情報処理装置100から出力されたデータを記憶する装置であって,例えば,ハードディスクドライブなどである。
A network I /
以上,情報処理装置100,データ出力装置200およびコンピュータ300の構成について説明した。次に,図2に基づいて,情報処理装置100の機能構成を詳細に説明する。
The configuration of the
図2は,情報処理装置100の機能構成を示したブロック図である。図2に示したように,情報処置装置100は,第1時刻情報付与部120と,第2時刻情報取得部122と,時刻情報補正部124と,データ記憶部126と,出力要求時刻誤差算出部128と,データ出力部130と,指定時刻誤差算出部132などを含んで構成される。第1時刻情報付与部120は,図1のRTC104を例示することができる。データ出力部130は,図1のネットワークI/F112を例示することができる。第2時刻情報取得部122,時刻情報補正部124,出力要求時刻誤差算出部128,指定時刻誤差算出部132は,図1の時刻補正部108を例示することができる。データ記憶部126は,図1の記憶装置110を例示することができる。
FIG. 2 is a block diagram illustrating a functional configuration of the
第1時刻情報付与部120は,第1外部装置であるデータ発生装置200から入力されたデータに,第1時刻情報を付与する機能を有する。第1時刻情報付与部120により第1時刻情報が付与されたデータは,データ記憶部126に記憶される。上述したように,入力されたデータを所定時間毎に分割して,分割した各データに第1時刻情報を付与してデータ記憶部126に記憶するようにしてもよい。例えば,図3に示したように,撮影時刻が0時10分00秒から0時15分00秒の撮影データを,1分ごとに分割して記憶するようにしてもよい。第1時刻情報付与部120は,1分ごとに分割されたデータに,第1時刻情報を付与する。例えば,0時10分00秒から0時11分00秒の撮影データには,時刻情報「−00.10.00」が撮影データのファイル名として付与される。同様に,0時11分00秒から0時12分00秒の撮影データには,時刻情報「−00.11.00」が付与され,0時12分00秒から0時13分00秒の撮影データには,時刻情報「−00.12.00」が付与され,0時13分00秒から0時14分00秒の撮影データには,時刻情報「−00.13.00」が付与され,0時14分00秒から0時15分00秒の撮影データには,時刻情報「−00.14.00」が付与される。本実施形態では,各撮影データに付与された第1時刻情報を,各撮影データのファイル名として,各撮影データを識別することが可能となる。撮影データを分割する時間は,予め設定するようにしてもよいし,ユーザにより分割する時間が設定,変更されるようにしてもよい。
The first time
図2に戻り,データ記憶部126は,第1時刻情報付与部120により第1時刻情報が付与されたデータを記憶する機能を有する。
Returning to FIG. 2, the
第2時刻情報取得部122は,第2外部装置であるコンピュータ300からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得する機能を有する。上述したように,第2時刻情報は,コンピュータ300がタイムサーバにアクセスして得られる基準となる時刻情報である。第2時刻情報取得部122は,コンピュータ300がデータの出力を要求するために情報処理装置100に接続した時点の第2時刻情報を取得する。
The second time
出力要求時刻誤差算出部128は,データ出力要求時点の第1時刻情報と第2時刻情報との時刻誤差を算出する機能を有する。上述したように,第1時刻情報は,情報処理装置100に備わる内蔵時計の時刻情報であり,第2時刻情報に対して所定の割合で誤差が生じる時刻情報である。出力要求時刻誤差算出部128は,コンピュータ300からデータ出力要求があった時点の第1時刻情報と第2時刻情報との誤差を算出して,算出した誤差のデータを指定時刻誤差算出部132に提供する。
The output request time
指定時刻誤差算出部132は,出力要求時刻誤差算出部128により算出された出力要求時刻誤差に基づいて,コンピュータ300により指定された時刻の第1時刻情報と第2時刻情報との指定時刻誤差を算出する機能を有する。コンピュータ300は,時刻情報,例えば「年月日時分秒」を指定して,データの出力を要求する。コンピュータ300により指定される時刻情報は,第2時刻情報に基づく時刻情報である。一方,データ記憶部126に記憶されたデータに付与された第1時刻情報は,第2時刻情報に対して所定の割合で誤差が生じる時刻情報である。コンピュータ300により指定された時刻の時点における第1時刻情報と第2時刻情報との誤差を算出することにより,その誤差を考慮した第1時刻情報が付与されたデータを検索することが可能となる。
The specified time
ここで,図4,図5に基づいて,出力要求時刻誤差算出部128および指定時刻誤差算出部132による時刻誤差の算出方法について説明する。図4は,時刻誤差算出方法を説明する説明図である。図4のA点は,前回の時刻補正をした時点の時間,つまり,コンピュータ300によりデータ出力が要求される時点より以前に第1時刻情報が補正された時点の時間である。B点は,コンピュータ300によりデータ出力が要求された時点の時間,つまり,情報処理装置100とコンピュータ300とがネットワークを介して接続された時点の時間である。C点は,コンピュータ300により指定されたデータが記憶された時点の時間である。
Here, based on FIGS. 4 and 5, a method of calculating the time error by the output request time
そして,(1)は前回の時刻補正をした時点の時間(A点)からデータの出力要求があった時点の時間(B点)までの時間である。(2)は,データの出力要求があった時点の時間のズレ量であり,データの出力要求があった時点の第1時刻情報と第2時刻情報との誤差である。出力要求時刻誤差算出部128は,(2)の誤差を算出している。(3)は,前回の時刻補正を行った時点(A点)から指定されたデータが記憶された時点までの時間である。(4)は,指定されたデータが記憶された時点の時間のズレ量であり,指定時刻誤差算出部132は,(4)の誤差を算出している。(4)の誤差を算出する方法は以下の通りである。第1時刻情報の第2時刻情報に対する誤差は直線的に増加すると仮定すると,指定時刻誤差(4)は,(3)と(1)の比を(2)に比例演算することにより求められる。具体的には,以下の数式1により(4)が算出される。
(4)=(2)×(3)÷(1)・・・(数式1)
(1) is the time from the time (point A) when the previous time correction was made to the time (point B) when the data output was requested. (2) is the amount of time deviation when a data output request is made, and is an error between the first time information and the second time information when the data output request is made. The output request time
(4) = (2) × (3) ÷ (1) (Formula 1)
例えば,数式1により,指定された時刻の指定時刻誤差が+1分であると算出されたとする。指定時刻誤差算出部132は,指定時刻と,指定時刻誤差が+1分であることをデータ出力部130に提供する。
For example, it is assumed that the specified time error of the specified time is calculated by
データ出力部130は,指定時刻誤差算出部132により算出された指定時刻誤差に対応する第1時刻情報が付与されたデータをコンピュータ300に出力する機能を有する。例えば,データ出力部130が,指定時刻誤差算出部132から,指定時刻0時11分00秒と指定時刻誤差+1分の情報を提供された場合には,図5に示したように,0時11分00秒から+1分ずれた0時12分00秒のデータをデータ記憶部126から取得して,コンピュータ300に取得したデータを出力する。
The
時刻情報補正部124は,第1時刻情報を第2時刻情報に補正する機能を有する。第1時刻情報が第2時刻情報に補正されることにより,情報処理装置100の内蔵時計の時刻情報を正確な時刻情報とすることが可能となる。
The time
以上,情報処理装置100の機能構成について説明した。情報処理装置100によれば,入力されたデータの記憶時には,情報処理装置100に備わる内蔵時計の時刻情報を付与し,コンピュータ300によりデータを要求される際にデータに付与された時刻情報に基づいて,コンピュータ300に指定されたデータを正しく出力することが可能となる。これにより,情報処理装置100は常にネットワークに接続して,自己の時刻情報を補正しなくとも,正しいデータを出力することができる。また,コンピュータ300に接続した際には,自己の時刻情報の補正を行うため,内蔵時計の時刻情報を正確なものとすることができる。
The functional configuration of the
次に,図6に基づいて,情報処理装置100による第1時刻情報の補正処理について説明する。図6は,情報処理装置100に入力されたデータの時刻情報の補正が行われて出力されるまでの処理の流れを示すタイミングチャートである。
Next, based on FIG. 6, the correction process of the 1st time information by the
まず,情報処理装置100がコンピュータ300に接続されて,情報処理装置100の内蔵時計の時刻情報である第1時刻情報が,コンピュータ300の第2時刻情報に補正される(S102)。ステップS102において補正された時点の時刻情報は,時刻補正部108に記憶される(S103)。
First, the
データ発生装置200により撮影が行われる(S104)。ステップS104において撮影された映像データが情報処理装置100に送信され,情報処理装置100に備わるエンコード処理ユニット106に提供される(S106)。
Photographing is performed by the data generator 200 (S104). The video data shot in step S104 is transmitted to the
ステップS106により映像データを提供されたエンコード処理ユニット106は,映像データをMPEG−4等の圧縮技術により符号化する(S108)。ステップS108においてエンコード処理が行なわれる際に,データ発生装置200により撮影が行われた時点の時刻情報がRTC104からエンコード処理ユニット106に送信される(S110)。エンコード処理ユニット106は,ステップS108において符号化したデータに,ステップS110において送信された時刻情報を付与する。ここで,符号化したデータを分割した場合には,分割した各データに時刻情報をそれぞれ付与する。上述したように,符号化したデータに付与された時刻情報を,データのファイル名としてもよい。分割した各データに付与された時刻情報をファイル名として,各データを識別することが可能となる。
The
そして,ステップS108において時刻情報が付与された符号化データを,エンコード処理ユニット106内で一時的に保存するための保存データを作成する(S114)。
Then, storage data for temporarily storing the encoded data to which the time information is added in step S108 in the
ステップS114において保存データの作成を行ったエンコード処理ユニット106は,作成した保存データを記憶装置110に送信する(S116)。ステップS116において保存データを送信された記憶装置110は,分割された複数のファイルを時刻情報であるファイル名で検索可能な状態で保存する(S120)。ステップS120において記憶装置110にデータが保存される際に,RTC104から時刻情報が送信されて,各データに付与してもよい。記憶装置110に記憶されたデータのファイル名は,ステップS110において送信された時刻情報であり,時刻情報をファイル名とするデータにステップS118において送信された時刻情報が付与される。
The
コンピュータ300は,情報処理装置100に接続して,コンピュータ300の入力装置から所望の映像データの時刻情報(検索対象時刻)を送信する(S122)。例えば,「6月20日0時40分00秒から長さ1時間30分の映像データを要求」と入力する。予め正確な時刻に補正されているコンピュータ300の内蔵時計の時刻情報(第2時刻情報)を情報処理装置100の時刻補正部108に送信する(S124)。
The
時刻補正部108は,ステップS124において送信された正確な時刻である第2時刻情報と,情報処理装置100の内蔵時計の時刻情報である第1時刻情報とを比較し,第1時刻情報と第1時刻情報との誤差を算出する。そして,上記計算式1により,ステップS122において送信された指定データの時刻情報の誤差を算出する(S126)。
The
ステップS126において算出された誤差が考慮された,検索対象時刻の映像データを取得するための時刻情報を記憶装置110に送信する(S128)。上述したように,映像データのファイル名が時刻情報である場合には,ファイル名が記憶装置110に送信される。例えば,検索対象時刻が0時11分00秒で,算出された誤差が+1分であれば,0時12分00秒の時刻情報が記憶装置に送信される。ステップS128において指定された時刻情報が付与された映像データが記憶装置110からコンピュータ300に送信される(S130)。
Time information for acquiring the video data at the search target time in consideration of the error calculated in step S126 is transmitted to the storage device 110 (S128). As described above, when the file name of the video data is time information, the file name is transmitted to the
次に,ステップS124において取得された正確な時刻情報である第2時刻情報がRTC104に送信される(S132)。ステップS132において送信された第2時刻情報に基づいて,RTC104の時刻情報である第1時刻情報が補正される(S134)。時刻補正部108により,ステップS134においてRTC104の時刻情報が補正された日時の情報が保存される(S136)。
Next, the 2nd time information which is the exact time information acquired in Step S124 is transmitted to RTC104 (S132). Based on the second time information transmitted in step S132, the first time information, which is the time information of the
本実施形態では,ステップS130において,コンピュータ300により指定されたデータを送信した後に,ステップS134において情報処理装置100の内蔵時計の時刻情報である第1時刻情報を補正している。このように,第1時刻情報を補正する前に,コンピュータ300により指定されたデータを送信しておくことにより,第1時刻情報補正後の時刻情報が付与されたデータを誤って出力することを回避することができる。また,ステップS136により時刻情報が補正された時点の情報を保存して,コンピュータ300により指定される時刻情報を,前回補正された時点から今回補正された時点までとするようにしてもよい。
In this embodiment, after transmitting the data designated by the
以上,情報処理装置100に入力されたデータの時刻情報の補正が行われて出力されるまでの処理の流れについて説明した。次に,図7に基づいて,情報処理装置100のデータ記憶処理について説明する。図7は,情報処理装置100のデータ記憶処理を示すフローチャートである。
The flow of processing until the time information of the data input to the
情報処理装置100は,データ発生装置200により入力されたデータを取得する(S202)。そして,ステップS202において取得したデータに第1時刻情報を付与する(S204)。ステップS204において第1時刻情報が付与されたデータをデータ記憶部126に記憶する(S206)。以上,情報処理装置100のデータ記憶処理について説明した。次に,図8に基づいて,情報処理装置100の時刻情報補正処理について説明する。
The
図8は,情報処理装置100の時刻情報補正処理を示すフローチャートである。まず,コンピュータ300からデータ出力要求を受信する(S212)。次に,コンピュータ300から第2時刻情報を取得する(S214)。ステップS212において受信したデータ出力要求時点の第2時刻情報と第1時刻情報との出力要求時刻誤差を算出する(S216)。ステップS216において算出された出力要求時刻誤差に基づいて,コンピュータ300により指定された時刻の第1時刻情報と第2時刻情報との指定時刻誤差を算出する(S218)。
FIG. 8 is a flowchart showing time information correction processing of the
ステップS218において算出された指定時刻誤差に対応する第1時刻情報が付与された映像データをデータ記憶部126から取得して,コンピュータ300に出力する(S220)。そして,情報処理装置100の内蔵時計の時刻情報(第1時刻情報)を,コンピュータ300の内蔵時計の時刻情報(第2時刻情報)に補正する。以上,情報処理装置100の時刻情報補正処理について説明した。
Video data to which the first time information corresponding to the specified time error calculated in step S218 is added is acquired from the
本実施形態にかかる情報処理装置100によれば,入力されたデータの記憶時には,情報処理装置100に備わる内蔵時計の時刻情報を付与し,コンピュータ300によりデータを要求される際にデータに付与された時刻情報に基づいて,コンピュータ300に指定されたデータを正しく出力することが可能となる。これにより,情報処理装置100は常にネットワークに接続して,自己の時刻情報を補正しなくとも,正しいデータを出力することができる。また,コンピュータ300に接続した際には,自己の時刻情報の補正を行うため,内蔵時計の時刻情報を正確なものとすることができる。
According to the
以上,添付図面を参照しながら本発明の好適な実施形態について説明したが,本発明は係る例に限定されないことは言うまでもない。当業者であれば,特許請求の範囲に記載された範疇内において,各種の変更例または修正例に想到し得ることは明らかであり,それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
上記実施形態では,コンピュータ300に指定された時点のデータを出力するようにしているが,かかる例に限定されず,前回補正された時点から,コンピュータ300に接続された時点のデータをすべてコンピュータ300に出力するようにしてもよい。例えば,前回補正された時点から,コンピュータ300に接続された時点のすべてのデータの第1時刻情報を,上記計算式(1)を用いて補正して,データをコンピュータ300に出力するようにしてもよい。
In the above embodiment, the data at the specified time point is output to the
本発明は,外部装置から入力されたデータに付与された時刻情報の誤差を補正して,正しいデータを出力する情報処理装置に適用可能であり,特に,撮影した画像および音声について記録した情報について,記録した時点の時刻情報の誤差に基づいて,指定された撮影時刻に対応する情報を出力する情報処理装置に適用可能である。 The present invention can be applied to an information processing apparatus that corrects an error in time information given to data input from an external apparatus and outputs correct data, and particularly, for information recorded on captured images and sounds. Therefore, the present invention can be applied to an information processing apparatus that outputs information corresponding to a specified shooting time based on an error in time information at the time of recording.
100 情報処理装置
102 CPU
104 RTC
106 エンコード処理ユニット
108 時刻補正部
110 記憶装置
112 ネットワークI/F
120 第1時刻情報付与部
122 第2時刻情報取得部
124 時刻情報補正部
126 データ記憶部
128 出力要求時刻誤差算出部
130 データ出力部
132 指定時刻誤差算出部
200 データ発生装置
300 コンピュータ
100
104 RTC
106
DESCRIPTION OF
Claims (8)
前記第1外部装置から入力されたデータに第1時刻情報を付与する第1時刻情報付与部と;
前記第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得する第2時刻情報取得部と;
前記データ出力要求時点の前記第1時刻情報と前記第2時刻情報との出力要求時刻誤差を算出する出力要求時刻誤差算出部と;
前記出力要求時刻誤差に基づいて,前記第2外部装置により指定された時刻の前記第1時刻情報と前記第2時刻情報との指定時刻誤差を算出する指定時刻誤差算出部と;
前記指定時刻誤差に対応する前記第1時刻情報が付与されたデータを前記第2外部装置に出力するデータ出力部と;
を備えることを特徴とする,情報処理装置。 An information processing apparatus that outputs data input from a first external device to a second external device:
A first time information giving unit for giving first time information to data inputted from the first external device;
A second time information acquisition unit for acquiring second time information serving as a reference at the time of data output request in response to a data output request from the second external device;
An output request time error calculation unit for calculating an output request time error between the first time information and the second time information at the time of the data output request;
A designated time error calculation unit for calculating a designated time error between the first time information and the second time information at a time designated by the second external device based on the output request time error;
A data output unit that outputs data to which the first time information corresponding to the specified time error is added to the second external device;
An information processing apparatus comprising:
前記第1外部装置から入力されたデータを所定時間ごとに分割して,各データに前記第1時刻情報を付与することを特徴とする,請求項1に記載の情報処理装置。 The first time information adding unit
The information processing apparatus according to claim 1, wherein data input from the first external device is divided at predetermined time intervals, and the first time information is assigned to each data.
前記時刻情報補正部は,前記第1時刻情報を前記第2時刻情報に補正した時点の時刻情報を保持することを特徴とする,請求項1に記載の情報処理装置。 A time information correction unit that corrects the first time information to the second time information;
The information processing apparatus according to claim 1, wherein the time information correction unit holds time information at a time when the first time information is corrected to the second time information.
前記データ出力部は,
前記データ記憶部に記憶されたデータから,前記指定時刻誤差に対応する前記第1時刻情報が付与されたデータを取得して前記第2外部装置に出力することを特徴とする,請求項1に記載の情報処理装置。 A data storage unit for storing data to which the first time information is given by the first time information giving unit;
The data output unit is:
The data to which the first time information corresponding to the specified time error is acquired from the data stored in the data storage unit, and is output to the second external device. The information processing apparatus described.
前記第1時刻情報は,前記時刻情報補正部により前記第2時刻情報に補正された時点から,前記第2時刻情報に対して所定の割合で誤差が生じる時刻情報であることを特徴とする,請求項1に記載の情報処理装置。 The second time information is time information obtained by the second external device accessing a time server,
The first time information is time information in which an error occurs at a predetermined ratio with respect to the second time information from the time when the time information correction unit corrects the second time information. The information processing apparatus according to claim 1.
前記第1時刻情報が前記第2時刻情報に補正された補正時点から,前記第2外部装置からのデータ出力要求時点までの時間と,前記補正時点から前記第2外部装置により指定された指定時刻までの時間の比を,前記出力要求時刻誤差算出部により算出された前記出力要求時刻誤差に比例演算して,前記指定時刻誤差を算出することを特徴とする,請求項1に記載の情報処理装置。 The specified time error calculation unit
The time from the correction time point when the first time information is corrected to the second time information to the data output request time point from the second external device, and the specified time specified by the second external device from the correction time point 2. The information processing according to claim 1, wherein the specified time error is calculated by performing a proportional operation on the ratio of the time until the output request time error calculated by the output request time error calculation unit. apparatus.
前記第1外部装置から入力されたデータに第1時刻情報を付与する処理と;
前記第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得する処理と;
前記データ出力要求時点の前記第1時刻情報と前記第2時刻情報との出力要求時刻誤差を算出する処理と;
前記出力要求時刻誤差に基づいて,前記第2外部装置により指定された時刻の前記第1時刻情報と前記第2時刻情報との指定時刻誤差を算出する処理と;
前記指定時刻誤差に対応する前記第1時刻情報が付与されたデータを前記第2外部装置に出力する処理と;
を実行せしめることを特徴とする,コンピュータプログラム。 An information processing device that outputs data input from the first external device to the second external device,
A process of adding first time information to data input from the first external device;
Processing for obtaining second time information serving as a reference at the time of data output request in response to a data output request from the second external device;
Processing for calculating an output request time error between the first time information and the second time information at the time of the data output request;
Processing for calculating a designated time error between the first time information and the second time information at a time designated by the second external device based on the output request time error;
Processing for outputting data to which the first time information corresponding to the specified time error is added to the second external device;
A computer program characterized in that it is executed.
前記第1外部装置から入力されたデータに第1時刻情報を付与するステップと;
前記第2外部装置からのデータ出力要求に応じて,データ出力要求時点の基準となる第2時刻情報を取得するステップと;
前記データ出力要求時点の前記第1時刻情報と前記第2時刻情報との出力要求時刻誤差を算出するステップと;
前記出力要求時刻誤差に基づいて,前記第2外部装置により指定された時刻の前記第1時刻情報と前記第2時刻情報との指定時刻誤差を算出するステップと;
前記指定時刻誤差に対応する前記第1時刻情報が付与されたデータを前記第2外部装置に出力するステップと;
を含むことを特徴とする,情報処理方法。
An information processing method for outputting data input from a first external device to a second external device, wherein:
Adding first time information to data input from the first external device;
Obtaining second time information as a reference at the time of data output request in response to a data output request from the second external device;
Calculating an output request time error between the first time information and the second time information at the data output request time;
Calculating a designated time error between the first time information and the second time information at a time designated by the second external device based on the output request time error;
Outputting data to which the first time information corresponding to the specified time error is added to the second external device;
An information processing method characterized by including:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262621A JP2007078351A (en) | 2005-09-09 | 2005-09-09 | Information processing apparatus and method therefor, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005262621A JP2007078351A (en) | 2005-09-09 | 2005-09-09 | Information processing apparatus and method therefor, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007078351A true JP2007078351A (en) | 2007-03-29 |
Family
ID=37938847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005262621A Withdrawn JP2007078351A (en) | 2005-09-09 | 2005-09-09 | Information processing apparatus and method therefor, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007078351A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020038539A (en) * | 2018-09-05 | 2020-03-12 | アズビル株式会社 | Communication system and slave unit |
-
2005
- 2005-09-09 JP JP2005262621A patent/JP2007078351A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020038539A (en) * | 2018-09-05 | 2020-03-12 | アズビル株式会社 | Communication system and slave unit |
JP7134030B2 (en) | 2018-09-05 | 2022-09-09 | アズビル株式会社 | Communication system and slave device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11636880B2 (en) | System and method for event data collection and video alignment | |
US8972607B2 (en) | Relative timestamp when real time clock is unavailable | |
US20170155788A1 (en) | Information processing apparatus ensuring temporal matching with server, method of controlling the information processing apparatus, information processing system, and storage medium | |
US20120050561A1 (en) | Image processing apparatus, control method thereof, and program | |
CN111158999B (en) | Formatting time calculation method and device | |
US8214682B2 (en) | Synchronizing signals related to the operation of a computer system | |
JP2007078351A (en) | Information processing apparatus and method therefor, and computer program | |
JP5480495B2 (en) | Information processing apparatus, information processing method, and information processing system | |
US20220393888A1 (en) | Method for distributed and secure timekeeping | |
JP4764364B2 (en) | Information processing apparatus, server apparatus, system, information processing method, control method, display control method, program | |
US20210194610A1 (en) | Monitoring video broadcasts | |
JP2011061586A (en) | Information management system, management apparatus and management program | |
US8438311B2 (en) | Image processing method and image display system | |
JP2005252469A (en) | Photographing date information correction system of image data file | |
US20240004918A1 (en) | Method and apparatus for the collection and management of quantitative data on unusual aerial phenomena via a citizen network of personal devices | |
JP2008191876A (en) | Information processor and information processing method | |
US20230121095A1 (en) | Image capturing apparatus capable of guaranteeing authenticity of digital image, management system, control method, and storage medium | |
US20230199047A1 (en) | Information processing system, server device, and computer program product | |
CN113448723B (en) | Image sensing system control method and image sensing system | |
JP5911395B2 (en) | Order quantity calculation apparatus, order quantity calculation method, and order quantity calculation program | |
US20230281097A1 (en) | Accurate global eventual counting | |
WO2023248858A1 (en) | Content generation device and content management device which register information in blockchain using audio data in video file, and control method and program for same | |
JP7215340B2 (en) | Information processing device, log control program, and log control method | |
US20220229462A1 (en) | Time clock quality determination | |
JP2022112380A (en) | Video data transmission apparatus, video data transmission program, and video data transmission method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081202 |