JP2008178059A - Video recorder - Google Patents

Video recorder Download PDF

Info

Publication number
JP2008178059A
JP2008178059A JP2007188701A JP2007188701A JP2008178059A JP 2008178059 A JP2008178059 A JP 2008178059A JP 2007188701 A JP2007188701 A JP 2007188701A JP 2007188701 A JP2007188701 A JP 2007188701A JP 2008178059 A JP2008178059 A JP 2008178059A
Authority
JP
Japan
Prior art keywords
ndr
video data
video
recording
stage
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.)
Granted
Application number
JP2007188701A
Other languages
Japanese (ja)
Other versions
JP4822476B2 (en
Inventor
Tomomi Takada
智巳 高田
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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2007188701A priority Critical patent/JP4822476B2/en
Publication of JP2008178059A publication Critical patent/JP2008178059A/en
Application granted granted Critical
Publication of JP4822476B2 publication Critical patent/JP4822476B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shield the cascade structure of a video recorder from a user. <P>SOLUTION: A video processing device 1a on a first stage records video data in a recording means 12a and outputs range information of the recorded video data to a downstream-side video processing device. Video processing devices 1b and 1c on second and third states record video data in recording means 12b and 12c, record the range information from the upstream-side video processing device in range recording means 51b and 51c and output the range information of the video data to a downstream side. For example, the video processing device 1c on the third stage includes a function for outputting range information collecting together the range of the video data in the device itself and ranges of the video data in all the upstream-side video processing devices. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、例えば、ネットワークを介して映像の取得や記録や配信を行う映像処理機器であるネットワークデジタルレコーダ(NDR)などを用いた映像記録装置に関し、特に、このような映像処理機器を複数台接続して、記録時間の延長を実現し、又は、冗長性を増して信頼性を高めることを実現することが可能な映像記録装置に関する。   The present invention relates to a video recording apparatus using, for example, a network digital recorder (NDR) that is a video processing device that acquires, records, and distributes video over a network, and in particular, a plurality of such video processing devices. The present invention relates to a video recording apparatus that can be connected to realize extension of recording time or increase redundancy and reliability.

例えば、NDR(本出願人の登録商標)を有する映像蓄積配信システムは、基本的な構成例として、図7に示されるような構成を有する。
また、カメラ用の記録チャンネル領域への循環記録の様子の一例が図8に示されている。
なお、図7及び図8については、後述する実施例において詳しく説明する。
For example, a video storage / delivery system having NDR (registered trademark of the present applicant) has a configuration as shown in FIG. 7 as a basic configuration example.
FIG. 8 shows an example of the state of cyclic recording in the recording channel area for the camera.
7 and 8 will be described in detail in an embodiment described later.

複数台のNDRを縦列に接続して配置して、映像データを転送する運用がある。
図9には、複数のNDRを多段接続(カスケード接続)した映像記録装置の構成例を示してある。
なお、図9では、説明の便宜上から、後述する実施例で参照する図1に示されるのと概略的に同様な構成部分については同一の符号を付してあるが、ここでは、本発明を不要に限定する意図は無い。
There is an operation of transferring video data by arranging a plurality of NDRs connected in cascade.
FIG. 9 shows a configuration example of a video recording apparatus in which a plurality of NDRs are connected in multiple stages (cascade connection).
In FIG. 9, for the sake of convenience of explanation, the same reference numerals are given to components that are substantially the same as those shown in FIG. There is no intention to limit it to unnecessary.

本例の映像記録装置は、3段のNDR101a、101b、101cを縦列に接続して構成されている。初段である1段目のNDR101aには、例えばネットワーク2を介して、ネットワークカメラ(本例では、IPカメラA1)が接続される。また、最終段である3段目のNDR101cには、例えばネットワーク2を介して、クライアントPC装置B1〜Bnが接続される。   The video recording apparatus of this example is configured by connecting three stages of NDRs 101a, 101b, and 101c in tandem. A network camera (IP camera A1 in this example) is connected to the first-stage NDR 101a, which is the first stage, via the network 2, for example. Further, the client PC apparatuses B1 to Bn are connected to the third-stage NDR 101c, which is the final stage, via the network 2, for example.

1段目のNDR101aは、IPカメラA1からの映像データを取得して、当該1段目のNDR101aの記録デバイス12a上の記録領域に格納する。
具体的には、カメラ受信部42aがIPカメラA1からHTTP形式で映像データを取得して、映像のデータを切り出してディスク入出力部41aへ伝送し、ディスク入出力部41aが該当する記録チャンネル領域に映像データを格納する。
The first-stage NDR 101a acquires video data from the IP camera A1, and stores it in the recording area on the recording device 12a of the first-stage NDR 101a.
Specifically, the camera receiving unit 42a acquires video data in the HTTP format from the IP camera A1, cuts out the video data and transmits it to the disk input / output unit 41a, and the disk input / output unit 41a corresponds to the corresponding recording channel area. Store video data in.

2段目のNDR101bは、1段目のNDR101aから映像データを取得して、当該2段目のNDR101bの記録デバイス12b上の記録領域に格納する。
具体的には、2段目のNDR間通信受信部42bが1段目のNDR型送信部111aへ映像要求を発行する。そして、1段目のNDR型送信部111aは、このHTTP形式の映像要求を受信すると、ディスク入出力部41aを経由して要求された映像データを取得し、HTTP形式で当該映像データを2段目のNDR間通信受信部42bへ送信(返送)する。2段目のNDR間通信受信部42bはHTTP形式で受信した映像データから映像のデータ部分を切り出してディスク入出力部41bへ伝送し、ディスク入出力部41bは該当する記録チャンネル領域に映像データを格納する。
The second-stage NDR 101b acquires video data from the first-stage NDR 101a and stores it in the recording area on the recording device 12b of the second-stage NDR 101b.
Specifically, the second-stage inter-NDR communication receiver 42b issues a video request to the first-stage NDR-type transmitter 111a. When receiving the HTTP format video request, the first-stage NDR type transmission unit 111a acquires the requested video data via the disk input / output unit 41a, and stores the video data in the HTTP format in two stages. It transmits (returns) to the inter-NDR communication receiver 42b. The second-stage NDR communication receiving unit 42b cuts out the video data portion from the video data received in the HTTP format and transmits it to the disc input / output unit 41b. The disc input / output unit 41b sends the video data to the corresponding recording channel area. Store.

3段目のNDR101cは、2段目のNDR101bから映像データを取得して、当該3段目のNDR101cの記録デバイス12c上の記録領域に格納する。
具体的な処理内容としては、2段目のNDR101bが1段目のNDR101aから映像データを取得する場合と同様である。
クライアントPC装置B1〜Bnから映像記録装置(NDR)への映像要求(映像配信要求)としては、1フレーム単位で行い、HTTP形式で命令を発行する。映像データの指定には時刻情報を用いる。
The third-stage NDR 101c acquires video data from the second-stage NDR 101b and stores it in the recording area on the recording device 12c of the third-stage NDR 101c.
The specific processing content is the same as when the second-stage NDR 101b acquires video data from the first-stage NDR 101a.
As a video request (video distribution request) from the client PC devices B1 to Bn to the video recording device (NDR), it is performed in units of frames and an instruction is issued in HTTP format. Time information is used to designate video data.

ここで、図9では、説明を簡易化するために、2段目のNDR101bは1段目のNDR101aからのみ映像データを取得し、3段目のNDR101cは2段目のNDR101bからのみ映像データを取得する構成を示したが、他の構成例として、3段目のNDR101cのある記録チャンネル領域については2段目のNDR101bからの映像データを取得して格納するが、3段目のNDR101cの別の記録チャンネル領域については1段目のNDR101aからの映像データを取得して格納し、3段目のNDR101cの更に別の記録チャンネル領域についてはネットワークカメラ(例えば、IPカメラA1)からの映像データを取得して格納する、というように、カメラ毎(記録チャネル毎)に映像データの取得先が異なる運用もあり得る。   Here, in FIG. 9, in order to simplify the explanation, the second-stage NDR 101b acquires video data only from the first-stage NDR 101a, and the third-stage NDR 101c receives video data only from the second-stage NDR 101b. Although the configuration to be acquired is shown, as another configuration example, the video data from the second-stage NDR 101b is acquired and stored for the recording channel area with the third-stage NDR 101c. Video data from the first-stage NDR 101a is acquired and stored for the recording channel area of the second stage, and video data from the network camera (for example, IP camera A1) is acquired for another recording channel area of the third-stage NDR 101c. Operation where the acquisition source of video data is different for each camera (each recording channel), such as acquisition and storage. Get Ri.

以降では、説明を簡易化するために、多段のNDR間を映像データが移っていく場合に、同じ番号の記録チャンネル領域に伝送されていく構成であるとする。
つまり、例えば、1段目のNDR101aの記録チャンネル1領域の映像の情報は、2段目のNDR101bの記録チャンネル1領域へ移り、更に3段目のNDR101cの記録チャンネル1領域へ移るとする。
なお、この構成は例示であり、例えば、上流側のNDRの任意の番号の記録チャンネル領域から下流側のNDRの任意の番号の記録チャンネル領域へデータを流せるように設定することも可能である。
Hereinafter, in order to simplify the description, it is assumed that when video data moves between multiple stages of NDR, it is transmitted to the recording channel area of the same number.
That is, for example, the video information in the recording channel 1 area of the first-stage NDR 101a moves to the recording channel 1 area of the second-stage NDR 101b, and further moves to the recording channel 1 area of the third-stage NDR 101c.
This configuration is merely an example, and for example, it is possible to set so that data can flow from a recording channel region having an arbitrary number in the upstream NDR to a recording channel region having an arbitrary number in the downstream NDR.

図10には、図9に示されるような映像記録装置において、各NDR101a〜101cに格納される映像データの時刻関係の一例を示してある。
なお、図10では、1段目のNDR101aを「a」で示してあり、2段目のNDR101bを「b」で示してあり、3段目のNDR101cを「c」で示してある。
FIG. 10 shows an example of the time relationship of video data stored in each NDR 101a to 101c in the video recording apparatus as shown in FIG.
In FIG. 10, the first-stage NDR 101a is indicated by “a”, the second-stage NDR 101b is indicated by “b”, and the third-stage NDR 101c is indicated by “c”.

1段目のNDR101a内で古くなった映像データを2段目のNDR101bが取得して格納し、2段目のNDR101b内で古くなった映像データを3段目のNDR101cが取得して格納する。
ここで、1段目のNDR101a内の古い映像データが2段目のNDR101bにより取得される前に上書きで消されることを防ぐために、1段目のNDR101aと2段目のNDR101bとの間では、同じ映像データを2台のNDR101a、101bで持つ区間つまり映像データが重複する区間を設けるのが一般的である。また、2段目のNDR101bと3段目のNDR101cとの間についても同様である。
The second-stage NDR 101b acquires and stores video data that has become old in the first-stage NDR 101a, and the third-stage NDR 101c acquires and stores video data that has become old in the second-stage NDR 101b.
Here, in order to prevent the old video data in the first NDR 101a from being overwritten before being acquired by the second NDR 101b, between the first NDR 101a and the second NDR 101b, Generally, a section having the same video data in two NDRs 101a and 101b, that is, a section in which video data overlaps is provided. The same applies to the second stage NDR 101b and the third stage NDR 101c.

このように、NDRを多段に接続することによって、合計の記録時間を延ばすことが可能となる。
また、例えば、1段目のNDR101aと2段目のNDR101bとの間の重複区間や、2段目のNDR101bと3段目のNDR101cとの間の重複区間を延ばすことによって、冗長性を増やす方向での運用も可能である。
また、例えば、1段目のNDR101aを出張所に設置し、2段目のNDR101bを地方支店に設置し、3段目のNDR101cを本店に設置するというように、物理的に離れた位置に設置して、映像データを集約していくような運用もあり得る。物理的に離すことによって、同時に全てのNDRが破損する確率を下げる効果も望める。
Thus, by connecting NDRs in multiple stages, the total recording time can be extended.
Further, for example, a direction in which redundancy is increased by extending an overlap section between the first-stage NDR 101a and the second-stage NDR 101b and an overlap section between the second-stage NDR 101b and the third-stage NDR 101c. Can also be used.
Also, for example, the first-stage NDR 101a is installed at a branch office, the second-stage NDR 101b is installed at a regional branch, and the third-stage NDR 101c is installed at a head office. Therefore, there may be operations that aggregate video data. By physically separating, it is also possible to reduce the probability that all NDRs are damaged at the same time.

なお、従来技術の例として、特許文献1に係る「循環記録装置」や特許文献2に係る「循環記録装置および画像蓄積配信システム」には、これらの装置やシステムの説明が記載されている。
また、squid等のHTTPプロキシサーバにおいて、親子等の一定の関係の下でキャッシュの共有を行うものが知られる。例えばsquidでは、クライアントからリクエストされたページが自分のキャッシュに存在しない場合、独自プロトコル(ICP、ポート3130)を用いて、連携する別のプロキシサーバにキャッシュを持っているかを問い合わせを出す。もし、そのプロキシサーバがキャッシュを持っていないという応答を返した場合は、実サーバへ対象ページを要求し直す。squidは多段接続することができるが、その場合は問合せを行う必然性は薄れる。
As examples of the prior art, “circulation recording apparatus” according to Patent Document 1 and “circulation recording apparatus and image storage and distribution system” according to Patent Document 2 describe these apparatuses and systems.
Also, an HTTP proxy server such as squid is known that shares a cache under a certain relationship such as parent and child. For example, in the case of squid, when the page requested by the client does not exist in its own cache, an inquiry is made as to whether or not the other proxy server has a cache using a unique protocol (ICP, port 3130). If the response that the proxy server does not have a cache is returned, the target page is requested to the real server again. Squid can be connected in multiple stages, but in that case the necessity of making an inquiry is reduced.

特開2005−092679号公報Japanese Patent Laying-Open No. 2005-092679 特開2004−355724号公報JP 2004-355724 A 特開2004−355794号公報JP 2004-355794 A 特開2005−316671号公報JP 2005-316671 A

上述したようなNDRのカスケード接続は、クライアントPC装置が映像要求する際のプロトコルと、NDR間通信受信部42b〜cが映像要求する際のプロトコルとに互換性を持たせておくことで、クライアントPC装置が、上流カスケードのNDRの存在を意識することなく、またもしカスケードの途中のNDRを知っていればその任意のNDRからも、映像を取得できるようにすることを意図している。
しかしながら、図9に示されるような映像記録装置では、クライアントPC装置B1〜Bnによる映像の再生時に、縦列に配置されたNDR101a〜101c内から目的とする映像を検索して取得する際に、カスケード構造を十分隠蔽できておらず、カスケード接続の利点が十分発揮できないという問題があった。
The NDR cascade connection as described above allows the client PC device to make the client compatible with the protocol when the client PC device requests video and the protocol when the inter-NDR communication receivers 42b to 42c request video. It is intended to allow the PC device to acquire video from any NDR without knowing the existence of the NDR in the upstream cascade and from knowing the NDR in the middle of the cascade.
However, in the video recording apparatus as shown in FIG. 9, when the client PC apparatuses B1 to Bn reproduce the video, cascade search is performed when the target video is retrieved from the NDRs 101a to 101c arranged in a column. There was a problem that the structure was not sufficiently concealed and the advantages of cascade connection could not be fully demonstrated.

すなわち、映像データをJPEGやMPEG等で圧縮して記録する場合、映像ソースにより符号化率が一定でないため、1フレームあたりのサイズも一定ではない。従って記録チャネル領域のサイズが既知であっても、記録時間(収録範囲)は判らない。 また、特定の条件に応じてフレームレートを変更するような、スケージュール録画やアラーム録画を行う場合も、記録時間は変化する。しかし、人感センサや、ドア開閉センサなどの外部要因により起動するアラーム録画は、予測不可能である。 また、NDR間で映像を伝送するときに間引くこともある。例えば、カメラに最も近い(すなわち上流の)NDRでは高いフレームレートで記録し、下流のNDRで、記録時間を確保するために映像データを間引くという運用が考えられ、その間引き方にも「一律に1/nに間引く」や「目標のフレームレートになるように間引く」等の方法がある。 従って、仮に符号化率が一定の符号化方式を用いたとしても、クライアントPC装置側で記録時間を算出するのは困難なため、実際に記録されている範囲を示す情報(範囲情報)を取得する必要が生じる。   That is, when video data is compressed and recorded in JPEG, MPEG, or the like, the encoding rate is not constant depending on the video source, so the size per frame is not constant. Therefore, even if the size of the recording channel area is known, the recording time (recording range) cannot be determined. The recording time also changes when performing schedule recording or alarm recording in which the frame rate is changed according to specific conditions. However, alarm recording that is activated by an external factor such as a human sensor or a door opening / closing sensor is unpredictable. In addition, when video is transmitted between NDRs, it may be thinned out. For example, the NDR closest to the camera (that is, upstream) may record at a high frame rate, and the downstream NDR may thin out video data in order to secure recording time. There are methods such as “thinning out to 1 / n” and “thinning out to a target frame rate”. Therefore, even if an encoding method with a constant encoding rate is used, it is difficult to calculate the recording time on the client PC device side, so information indicating the actually recorded range (range information) is acquired. Need to do.

以下、そのための考えられる方法を例示して説明する。
(方法1)クライアントPC装置B1〜Bnが縦列されたNDR101a〜101c内から目的の映像を持つNDRを探してその映像を取得する方法がある。
しかしながら、クライアントPC装置B1〜Bnが1フレームの映像要求の都度、上流のNDRから目的の映像を探すようにすると、レイテンシが悪化してしまう。
また、クライアントPC装置B1〜Bnに縦列された全てのNDR101a〜101cのアドレス情報を設定しておくことは、手間を要してしまう。
また、クライアントPC装置B1〜Bnが縦列された内の各々のNDR101a〜101cの範囲情報をキャッシュしたとしても、他のクライアントPC装置B1〜Bnはキャッシュ情報を共有することができず、各クライアントPC装置B1〜Bnが各々に範囲情報を取得して保持する必要がある。
Hereinafter, a possible method for this will be described as an example.
(Method 1) There is a method in which the client PC devices B1 to Bn search for an NDR having a target video from the NDRs 101a to 101c in a column and acquire the video.
However, if the client PC devices B1 to Bn search for the target video from the upstream NDR every time a video request for one frame is made, the latency deteriorates.
Also, setting the address information of all the NDRs 101a to 101c in the client PC apparatuses B1 to Bn is time consuming.
Even if the client PC devices B1 to Bn cache the range information of each of the NDRs 101a to 101c, the other client PC devices B1 to Bn cannot share the cache information, and each client PC Each of the devices B1 to Bn needs to acquire and hold range information.

(方法2)範囲情報のキャッシュ用にデータベースを別途設置する方法がある。
(方法2)では、(方法1)と比べて、クライアントPC装置B1〜Bnの側は個別にNDR101a〜101cの範囲情報を保持する必要はない。
しかしながら、データベース用に装置数が増え、映像データとは別のトランザクションで範囲情報をデータベースに集約する必要があるため、通信負荷が増えてしまう。
(Method 2) There is a method of separately installing a database for caching range information.
In (Method 2), as compared with (Method 1), the client PC devices B1 to Bn do not need to individually hold the range information of the NDRs 101a to 101c.
However, the number of devices for the database increases, and it is necessary to collect the range information in the database in a transaction different from the video data, which increases the communication load.

また、上記の方法で範囲情報が取得できたとしても、以下のような問題もある。
すなわち、上流のNDRではセキュリティ上の制限を設けて特定のIPアドレスからの通信しか受け付けない設定になっていることが多い。これに対して、クライアントPC装置B1〜Bnは任意のIPアドレスを持ち得る。このため、クライアントPC装置B1〜Bnが上流のNDRに直接アクセスできず、範囲情報の取得や映像再生が行えないという問題が発生する。
Even if the range information can be acquired by the above method, there are the following problems.
That is, the upstream NDR is often set to accept only communication from a specific IP address with security restrictions. On the other hand, the client PC devices B1 to Bn can have arbitrary IP addresses. For this reason, the client PC devices B1 to Bn cannot directly access the upstream NDR, and there arises a problem that range information acquisition and video reproduction cannot be performed.

また、時刻に関する問題点を示す。
カスケード接続において、各NDR101a〜101cの設置箇所が国を跨ぐ場合もあり得る。そして、国を跨ぐ場合には、基準とする時刻帯が異なる場合があり得る。
また、カスケード接続された最上流のカメラ(例えば、IPカメラA1)や視聴を行うクライアントPC装置B1〜Bnと時刻帯が異なる場合もあり得る。
このため、各NDR101a〜101cやクライントPC装置B1〜Bnなどの時刻帯が異なる場合においても、クライアントPC装置B1〜Bn上には現地の時刻で表示され且つ縦列接続されたNDR101a〜101cの内から正しく目的とする時刻の映像を検索することができる必要がある。
In addition, problems related to time are shown.
In cascade connection, the installation locations of the NDRs 101a to 101c may straddle countries. And when crossing a country, the time zone used as a standard may differ.
In addition, the time zone may be different from the most upstream camera (for example, IP camera A1) cascaded and the client PC apparatuses B1 to Bn that perform viewing.
For this reason, even when the time zones of the NDRs 101a to 101c and the client PC devices B1 to Bn are different, the NDRs 101a to 101c displayed in the local time on the client PC devices B1 to Bn and connected in cascade It is necessary to be able to search for the video of the target time correctly.

本発明は、このような従来の事情に鑑み為されたもので、例えば、NDRなどの映像処理機器を複数接続した構成において、映像データに関する処理を効果的に行うことができる映像記録装置を提供することを目的とする。   The present invention has been made in view of such conventional circumstances. For example, in a configuration in which a plurality of video processing devices such as NDR are connected, a video recording apparatus capable of effectively performing processing related to video data is provided. The purpose is to do.

上記目的を達成するため、本発明では、複数であるL段の映像処理機器が縦列に接続される映像記録装置において、次のような構成とした。
ここで、1段目からL段目に向かって上流側から下流側とする。
1段目の映像処理機器では、第1の入力手段が、外部から映像データを入力する。第1の記録手段が、前記第1の入力手段により入力された映像データを記録する。第1の出力手段が、前記第1の記録手段に記録された映像データを下流側の映像処理機器へ出力する。第1の範囲出力手段が、前記第1の記録手段に記録された映像データの範囲情報を下流側の映像処理機器へ出力する。
またi=2〜(L−1)の各値としたときに、i段目の映像処理機器では、第iの入力手段が、上流側の映像処理機器から出力された映像データを入力する。第iの記録手段が、前記第iの入力手段により入力された映像データを記録する。第iの出力手段が、前記第iの記録手段に記録された映像データを下流側の映像処理機器へ出力する。第iの範囲入力手段が、上流側の映像処理機器から出力された範囲情報を入力する。第iの範囲記録手段が、前記第iの範囲入力手段により入力された範囲情報を記録する。第iの範囲出力手段が、前記第iの記録手段に記録された映像データの範囲情報或いは前記第iの範囲記録手段に記録された上流側の映像処理機器における範囲情報の一方又は両方に基づく情報を下流側の映像処理機器へ出力する。
In order to achieve the above object, the present invention has the following configuration in a video recording apparatus in which a plurality of L-stage video processing devices are connected in cascade.
Here, from the first stage to the L stage, the upstream side is the downstream side.
In the first-stage video processing device, the first input means inputs video data from the outside. The first recording means records the video data input by the first input means. The first output means outputs the video data recorded in the first recording means to the downstream video processing device. The first range output means outputs the range information of the video data recorded in the first recording means to the downstream video processing device.
When i = 2 to (L−1), the i-th input means inputs the video data output from the upstream video processing device in the i-th video processing device. The i-th recording means records the video data input by the i-th input means. The i-th output means outputs the video data recorded in the i-th recording means to the downstream video processing device. The i-th range input means inputs the range information output from the upstream video processing device. The i-th range recording unit records the range information input by the i-th range input unit. The i-th range output means is based on one or both of the range information of the video data recorded in the i-th recording means or the range information in the upstream video processing device recorded in the i-th range recording means. Outputs information to downstream video processing equipment.

L段目の映像処理機器では、第Lの入力手段が、上流側の映像処理機器から出力された映像データを入力する。第Lの記録手段が、前記第Lの入力手段により入力された映像データを記録する。第Lの範囲入力手段が、上流側の映像処理機器から出力された範囲情報を入力する。第Lの範囲記録手段が、前記第Lの範囲入力手段により入力された範囲情報を記録する。第Lの要求入力手段が、外部から映像データの要求を入力する。第Lの検索手段が、前記第Lの要求入力手段により要求された映像データを検索する。第Lの出力手段が、前記第Lの検索手段により検索された映像データを要求元に対して出力する。第Lの範囲出力手段が、前記第Lの記録手段に記録された映像データの範囲情報或いは前記第Lの範囲記録手段に記録された上流側の映像処理機器における範囲情報の一方又は両方に基づく情報を外部へ出力する。   In the L-stage video processing device, the Lth input means inputs the video data output from the upstream video processing device. The Lth recording means records the video data input by the Lth input means. The Lth range input means inputs the range information output from the upstream video processing device. The Lth range recording means records the range information input by the Lth range input means. The Lth request input means inputs a request for video data from the outside. The Lth search means searches for the video data requested by the Lth request input means. The Lth output means outputs the video data searched by the Lth search means to the request source. The Lth range output means is based on one or both of the range information of the video data recorded in the Lth recording means and the range information in the upstream video processing device recorded in the Lth range recording means. Output information to the outside.

前記した2段目〜L段目の映像処理機器のうちの1つ以上では、前記した範囲出力手段は、自己の機器における映像データの範囲と上流側の全ての映像処理機器における映像データの範囲をまとめた範囲の情報を出力する機能を有している。   In one or more of the above-mentioned second to L-stage video processing devices, the range output means described above includes the range of video data in its own device and the range of video data in all upstream video processing devices. It has the function to output the information of the range which put together.

更に、次のような構成とした。
前記した1段目の映像処理機器では、第1の時刻付与手段が、前記第1の入力手段により入力された映像データに、基準となる時刻の情報を付与する。
そして、前記した映像データの要求は、前記映像データに付与される前記基準となる時刻の情報を用いて行われる。
Furthermore, the following configuration was adopted.
In the first-stage video processing device, the first time giving means gives time reference information to the video data input by the first input means.
And the request | requirement of an above described video data is performed using the information of the said reference | standard time provided to the said video data.

従って、例えば、複数の映像処理機器を縦列接続して映像データの記録領域を大きく確保するに際して、下流側の映像処理機器が上流側の映像処理機器における映像データの範囲の情報を記録することにより、映像データの検索などを効率的に行うことが可能となる。また、自己の映像処理機器における映像データの範囲と上流側の全ての映像処理機器における映像データの範囲をまとめた範囲の情報を出力することにより、外部からは1台の映像処理機器があるかのように仮想的に見せることが可能となる。また、基準となる時刻の情報を用いることにより、時刻の統一化を図ることが可能となる。このように、例えば、NDRなどの映像処理機器を複数接続した構成において、映像データに関する処理を効果的に行うことができる。   Thus, for example, when a plurality of video processing devices are connected in cascade to ensure a large recording area for video data, the downstream video processing device records information on the range of video data in the upstream video processing device. It is possible to efficiently search for video data. Whether there is a single video processing device from the outside by outputting information on a range in which the range of video data in the video processing device of its own and the range of video data in all of the upstream video processing devices are combined. It is possible to make it look virtually like this. Moreover, it is possible to unify the time by using the reference time information. Thus, for example, in a configuration in which a plurality of video processing devices such as NDR are connected, processing relating to video data can be performed effectively.

ここで、映像処理機器としては、例えば、NDRなどの種々な機器が用いられてもよい。
また、多段に接続される複数の映像処理機器の数としては、種々な数が用いられてもよい。
また、通信としては、例えば、有線通信が用いられてもよく、或いは、無線通信が用いられてもよい。
また、映像データやその範囲に関して、複数のチャンネルが用いられてもよく、この場合、例えば、各チャンネル毎に入力や出力や記録などの処理が行われる。
Here, as the video processing device, for example, various devices such as NDR may be used.
Various numbers may be used as the number of video processing devices connected in multiple stages.
Further, as communication, for example, wired communication may be used, or wireless communication may be used.
In addition, a plurality of channels may be used for video data and its range. In this case, for example, input, output, recording, and the like are performed for each channel.

また、最も上流(1段目)の映像処理機器は、例えば、ネットワークを介して或いは直接的に接続された外部のカメラにより撮影された映像のデータを入力する。
また、各映像処理機器の記録手段としては、例えば、種々な記録デバイスを用いて構成されてもよい。また、各映像処理機器の記録手段では、例えば、記録領域を循環的に用いるような記録(及び消去)の処理が行われる。
また、複数の映像処理機器の記録手段では、例えば、上流側の映像処理機器ほど新しい映像のデータを記録する一方、下流側の映像処理機器ほど古い映像のデータを記録するというように、全体として一連の映像データを記録し、この場合、隣り合う映像処理機器では一部の映像部分のデータが重複して記録される。
Further, the most upstream (first stage) video processing device inputs data of a video taken by an external camera connected via a network or directly.
Moreover, as a recording means of each video processing device, for example, various recording devices may be used. Further, in the recording means of each video processing device, for example, recording (and erasing) processing is performed so that the recording area is used cyclically.
Also, the recording means of a plurality of video processing devices, for example, record new video data as the upstream video processing device, while recording old video data as the downstream video processing device as a whole. A series of video data is recorded, and in this case, data of some video portions is recorded redundantly in adjacent video processing devices.

また、上流側の映像処理機器から下流側の映像処理機器へ映像データを出力する態様としては、例えば、一段下流の映像処理機器へ出力する態様が用いられてもよく、或いは、二段以上下流の映像処理機器へ出力する態様が用いられてもよく、また、下流側の映像処理機器などからの要求に応じて出力する態様が用いられてもよく、或いは、一定の周期毎に出力するなどのように、自発的に出力する態様が用いられてもよい。   In addition, as an aspect of outputting video data from an upstream video processing device to a downstream video processing device, for example, an aspect of outputting to one downstream video processing device may be used, or two or more downstreams A mode of outputting to a video processing device may be used, a mode of outputting in response to a request from a downstream video processing device or the like may be used, or a mode of outputting at regular intervals, etc. As described above, a mode of outputting spontaneously may be used.

また、映像データの範囲の情報としては、例えば、対象となる記録手段に記録されている映像データの範囲を示す情報が用いられ、具体例として、先頭の映像位置や末尾の映像位置を識別する情報を用いることができる。映像が一連の複数のフレームから構成され、各フレームにフレーム番号やフレーム時刻が付与されるような場合には、記録手段に記憶されている中で、最新のフレームのフレーム番号或いはフレーム時刻や、最古のフレームのフレーム番号或いはフレーム時刻により、映像データの範囲を示すことが可能である。   Further, as the information on the range of the video data, for example, information indicating the range of the video data recorded in the target recording unit is used. As a specific example, the head video position or the tail video position is identified. Information can be used. When the video is composed of a series of a plurality of frames and a frame number and a frame time are given to each frame, the frame number or the frame time of the latest frame stored in the recording means, The range of video data can be indicated by the frame number or frame time of the oldest frame.

また、上流側の映像処理機器から下流側の映像処理機器へ範囲情報を出力する態様としては、例えば、一段下流の映像処理機器へ出力する態様が用いられてもよく、或いは、二段以上下流の映像処理機器へ出力する態様が用いられてもよく、また、下流側の映像処理機器などからの要求に応じて出力する態様が用いられてもよく、或いは、自発的に出力する態様が用いられてもよい。自発的に出力する態様としては、例えば、映像データの出力時に一緒に出力する態様や、エラーメッセージの出力時に一緒に出力する態様や、或いは、一定の周期毎に出力する態様などを用いることができる。   Further, as an aspect of outputting the range information from the upstream video processing device to the downstream video processing device, for example, an aspect of outputting to the downstream video processing device may be used, or two or more downstreams A mode of outputting to a video processing device may be used, a mode of outputting in response to a request from a downstream video processing device or the like may be used, or a mode of spontaneous output is used. May be. As a mode of spontaneous output, for example, a mode of outputting together when outputting video data, a mode of outputting together when outputting an error message, or a mode of outputting at regular intervals is used. it can.

また、各映像処理機器の範囲記録手段には、例えば、上流側に存在する1つ以上の映像処理機器における映像データの範囲の情報を記録し、好ましい態様例として、上流側に存在する全ての映像処理機器における映像データの範囲の情報を記録する。また、各映像処理機器の範囲記録手段には、自己の機器(当該各映像処理機器)における映像データの範囲の情報が記録されてもよい。   Further, the range recording means of each video processing device records, for example, information on the range of video data in one or more video processing devices existing on the upstream side. Records information on the range of video data in the video processing device. Further, the range recording means of each video processing device may record information on the range of video data in its own device (each video processing device).

各映像処理機器には、例えば、自己の機器(当該各映像処理機器)における範囲情報のみを出力する機能や、自己の機器(当該各映像処理機器)における範囲情報及び上流側に存在する全ての映像処理機器における範囲情報を出力する機能や、自己の機器(当該各映像処理機器)における範囲情報及び上流側に存在する1つ以上の映像処理機器における範囲情報を出力する機能などの1つ以上を備えることができる。
また、各映像処理機器には、例えば、各映像処理機器における個別な範囲情報を出力する機能を備えることができるばかりでなく、2段目以降の1つ以上の映像処理機器には、自己の機器(当該映像処理機器)と上流側の全ての映像処理機器をまとめた複数の映像処理機器における映像データの範囲を結合したものの範囲情報を出力する機能を備える。例えば、このような機能を最も下流(最終段)の映像処理機器に備えると、縦列接続される複数の映像処理機器の全体としての範囲情報を出力することが可能となる。
Each video processing device includes, for example, a function that outputs only range information in its own device (each video processing device), range information in its own device (each video processing device), and all upstream information One or more functions, such as a function for outputting range information in a video processing device, a range information in its own device (each video processing device) and a range information in one or more video processing devices existing upstream Can be provided.
In addition, each video processing device can have, for example, a function of outputting individual range information in each video processing device, and one or more video processing devices in the second and subsequent stages can have their own functions. A function of outputting range information of a combination of video data ranges in a plurality of video processing devices in which the device (the video processing device) and all of the upstream video processing devices are combined is provided. For example, when such a function is provided in the most downstream (final stage) video processing device, it becomes possible to output range information as a whole of a plurality of video processing devices connected in cascade.

また、最も下流(最終段)の映像処理機器は、例えば、ネットワークを介して或いは直接的に接続された外部のクライアント装置などの通信装置との間で通信し、外部から映像データの要求を受け付ける処理や、要求された映像データを外部へ出力する処理や、映像データの範囲情報を外部へ出力する処理などを行う。   Further, the most downstream (final stage) video processing device communicates with a communication device such as an external client device connected via a network or directly, and receives a request for video data from the outside. Processing, processing for outputting the requested video data to the outside, processing for outputting the range information of the video data to the outside, and the like are performed.

また、映像処理機器が要求された映像データを検索する態様としては、例えば、自己の機器(当該映像処理機器)の記録手段に記録された映像データのみを検索する態様や、或いは、自己の機器(当該映像処理機器)及び上流側の全ての映像処理機器の記録手段に記録された映像データを検索する態様や、或いは、自己の機器(当該映像処理機器)及び上流側に存在する1つ以上の映像処理機器の記録手段に記録された映像データを検索する態様などを用いることができる。   Further, as a mode of searching for the requested video data by the video processing device, for example, a mode of searching only the video data recorded in the recording means of the own device (the video processing device) or the own device A mode of searching video data recorded in the recording means of (the video processing device) and all the upstream video processing devices, or one or more existing on the own device (the video processing device) and the upstream side A mode of searching for video data recorded in the recording means of the video processing equipment can be used.

また、基準となる時刻の情報としては、例えば、世界において一定な時刻の情報を用いることができる。また、各地域に設置された装置毎にローカルな時刻が用いられるような場合には、基準となる時刻とローカルな時刻とを変換して使用することができる。
また、映像データの要求としては、例えば、映像データに付与される基準となる時刻の情報を用いて行うばかりでなく、映像データに付与されるフレーム番号などの他の情報を用いて行うことも可能である。例えば、基準となる時刻の情報とフレーム番号などの情報とが1対1で対応する場合には、いずれを用いても、同じ映像を指定することができる。
As the reference time information, for example, information at a fixed time in the world can be used. Further, when the local time is used for each device installed in each area, the reference time and the local time can be converted and used.
In addition, as a request for video data, for example, not only using a reference time information given to video data but also using other information such as a frame number given to video data. Is possible. For example, when the reference time information and the information such as the frame number correspond on a one-to-one basis, the same video can be specified using either one.

また、以上では、複数の映像処理機器について、最も上流(1段目)の映像処理機器、2段目〜(L−1)段目の映像処理機器、最も下流(L段目)の映像処理機器に分けて構成や動作を説明したが、実用上で有効な範囲で、各映像処理機器には任意の処理手段が備えられてもよく、任意の動作が行われてもよい。例えば、各映像処理機器に、各種の処理について、同じ機能を有する処理手段が備えられてもよく、或いは、異なる機能を有する処理手段が備えられてもよい。   Also, in the above, for a plurality of video processing devices, the most upstream (first stage) video processing device, the second to (L-1) th stage video processing devices, and the most downstream (L stage) video processing device. Although the configuration and operation have been described separately for each device, each video processing device may be provided with any processing means or may perform any operation within a practically effective range. For example, each video processing device may be provided with processing means having the same function for various processes, or may be provided with processing means having different functions.

なお、本発明は、方法や、プログラムや、記録媒体などとして提供することも可能である。
本発明に係る方法では、装置やシステムにおいて各手段が各種の処理を実行する。
本発明に係るプログラムでは、装置やシステムを構成するコンピュータに実行させるものであって、各種の機能を当該コンピュータに実現させる。
本発明に係る記録媒体では、装置やシステムを構成するコンピュータに実行させるプログラムを当該コンピュータの入力手段により読み取り可能に記録したものであって、当該プログラムは各種の処理(手順)を当該コンピュータに実行させる。
The present invention can also be provided as a method, a program, a recording medium, and the like.
In the method according to the present invention, each unit executes various processes in the apparatus or system.
The program according to the present invention is executed by a computer constituting an apparatus or system, and causes the computer to realize various functions.
In the recording medium according to the present invention, a program to be executed by a computer constituting an apparatus or system is recorded so as to be readable by input means of the computer, and the program executes various processes (procedures) on the computer. Let

以上説明したように、本発明に係る映像記録装置では、複数の映像処理機器を縦列接続して運用する場合に、上流の1つの映像記録装置との接続のみで、それより上流の記録映像の全てに対し検索や映像要求をすることができ、映像データに関する処理を効率的に行うことができる。   As described above, in the video recording apparatus according to the present invention, when a plurality of video processing devices are used in cascade connection, only one upstream video recording apparatus is connected, and an upstream recorded video can be recorded. Searches and video requests can be made for all, and processing relating to video data can be performed efficiently.

本発明に係る実施例を図面を参照して説明する。
まず、映像蓄積配信システムや単体のネットワークデジタルレコーダ(NDR)の基本的な構成例を説明する。
図7には、映像蓄積配信システムの一例を示してある。本例の映像蓄積配信システムは、NDR1と、複数であるm個のIP(Internet Protocol)カメラA1〜Amと、パーソナルコンピュータ(PC)から構成された複数であるn個のクライアントPC装置B1〜Bnと、これらを接続するネットワーク2を有している。
Embodiments according to the present invention will be described with reference to the drawings.
First, basic configuration examples of a video storage / delivery system and a single network digital recorder (NDR) will be described.
FIG. 7 shows an example of a video storage / delivery system. The video storage / delivery system of the present example includes NDR1, a plurality of m (Internet Protocol) cameras A1 to Am, and a plurality of n client PC apparatuses B1 to Bn each composed of a personal computer (PC). And a network 2 connecting them.

ここで、ネットワーク2は、複数のコンピュータを結び制御信号やデータなどの信号を通信するIPネットワークである。
各IPカメラA1〜Amは、映像を撮影して、撮影した映像のデータをネットワーク2へ出力するカメラである。
Here, the network 2 is an IP network that connects a plurality of computers and communicates signals such as control signals and data.
Each of the IP cameras A1 to Am is a camera that captures an image and outputs data of the captured image to the network 2.

各クライアントPC装置B1〜Bnは、ネットワーク接続でのWebブラウザを搭載した一般的なパーソナルコンピュータである。
NDR1は、ネットワーク2を介して、複数のIPカメラA1〜Amと、映像データの視聴及びNDR1の設定を行う複数のクライアントPC装置B1〜Bnと接続される。
Each of the client PC devices B1 to Bn is a general personal computer equipped with a Web browser connected to a network.
The NDR 1 is connected via a network 2 to a plurality of IP cameras A1 to Am and a plurality of client PC devices B1 to Bn that perform viewing of video data and setting of NDR1.

NDR1は、コンピュータボード11と、例えばハードディスクから構成された記録デバイス12を備えている。
コンピュータボード11には、ネットワークインターフェイス(ネットワークI/F)21と、記録デバイスインターフェイス(記録デバイスI/F)22と、メモリ23と、CPU(Central Processing Unit)24と、時計25と、これらを接続する制御バス26を備えている。また、メモリ23には、RAM(Random Access Memory)ディスク27を備えている。
記録デバイス12には、各IPカメラA1〜Amに対応して、m個の記録チャンネル領域C1〜Cmが設けられる。
The NDR 1 includes a computer board 11 and a recording device 12 composed of, for example, a hard disk.
Connected to the computer board 11 are a network interface (network I / F) 21, a recording device interface (recording device I / F) 22, a memory 23, a CPU (Central Processing Unit) 24, and a clock 25. A control bus 26 is provided. The memory 23 includes a RAM (Random Access Memory) disk 27.
The recording device 12 is provided with m recording channel regions C1 to Cm corresponding to the IP cameras A1 to Am.

メモリ23には、記録チャンネル領域毎の映像取得先情報501として、IPアドレス(又はURL:Uniform Resource Locator)502と、ポート番号(Port番号)503と、接続チャンネル番号504が記憶される。
また、メモリ23には、制御プログラム31が記憶されている。制御プログラム31は、その機能として、ディスク入出力部(Disk I/O部)41と、受信部42と、送信部43と、管理部44とを有している。
メモリ23上の一部には、ファイルシステムを実装したRAMディスク27が設けられ、範囲情報キャッシュ51などを格納している。
The memory 23 stores an IP address (or URL: Uniform Resource Locator) 502, a port number (Port number) 503, and a connection channel number 504 as video acquisition destination information 501 for each recording channel area.
The memory 23 stores a control program 31. The control program 31 has a disk input / output unit (Disk I / O unit) 41, a receiving unit 42, a transmitting unit 43, and a managing unit 44 as its functions.
A part of the memory 23 is provided with a RAM disk 27 mounted with a file system, and stores a range information cache 51 and the like.

コンピュータボード11上では、ネットワークI/F21と、記録デバイスI/F22と、メモリ23と、CPU24と、時計25が、制御バス26により接続されている。そして、メモリ23に格納されてCPU24により動作させるソフトウエアプログラム(動作プログラム31)により、記録装置としての機能を実行する。
記録装置としての機能は、ディスクへの書込みと読込みを行うディスク入出力部41と、ネットワークカメラ(IPカメラA1〜Am)から映像データを受信する受信部42と、クライアントPC装置B1〜Bnへ映像データを送信する送信部43と、前記3つのプログラムの起動や終了や設定変更の通知を行う管理部44と、により実現される。
On the computer board 11, a network I / F 21, a recording device I / F 22, a memory 23, a CPU 24, and a clock 25 are connected by a control bus 26. A function as a recording device is executed by a software program (operation program 31) stored in the memory 23 and operated by the CPU 24.
The recording device functions as a disk input / output unit 41 for writing to and reading from a disk, a receiving unit 42 for receiving video data from network cameras (IP cameras A1 to Am), and a video to client PC devices B1 to Bn. This is realized by a transmission unit 43 that transmits data, and a management unit 44 that notifies the activation and termination of the three programs and the setting change.

記録デバイス12内には、カメラ用の記録領域である記録チャンネル領域C1〜Cmが、記録を行うカメラ数分存在する。
各記録チャンネル領域C1〜Cmは、各IPカメラA1〜Amからの映像データを記録するための領域である。
In the recording device 12, there are recording channel areas C1 to Cm, which are recording areas for cameras, for the number of cameras that perform recording.
The recording channel areas C1 to Cm are areas for recording video data from the IP cameras A1 to Am.

映像データの流れを用いて、構成要素の役割を説明する。
映像記録側の処理について説明する。
各IPカメラA1〜Amは、HTTP(HyperText Transfer Protocol)形式のリクエスト(例えばGETメソッド)を受信したときに、撮影した映像の指定された若しくは最新の1フレームを静止画としてJPEG等の画像圧縮方式で圧縮し、HTTPレスポンスとしてIPパケット形式でNDR1に向けてネットワーク2へ送信する。
IPカメラA1〜Amから送出された映像データは、ネットワーク2をTCP/IP(若しくはUDP/IP、XTP/IP等。以下同じ)通信により伝達し、NDR1のネットワークI/F21に到達する。
The role of components will be described using the flow of video data.
Processing on the video recording side will be described.
When each of the IP cameras A1 to Am receives a request (for example, GET method) in HTTP (HyperText Transfer Protocol) format, an image compression method such as JPEG is performed with a specified or latest one frame of the captured video as a still image. And is sent as an HTTP response to the network 2 toward the NDR 1 in the IP packet format.
The video data transmitted from the IP cameras A1 to Am is transmitted through the network 2 by TCP / IP (or UDP / IP, XTP / IP, etc., the same applies hereinafter) communication, and reaches the network I / F 21 of the NDR1.

ネットワークI/F21は、受信したIPパケットを制御バス26上に伝送する形式へ変換し、CPU24上で動作するソフトウエアの受信部42へ当該HTTPレスポンスを渡す。
受信部42は、受信したHTTPレスポンスから、ボディ(映像データ部分)を取り出して、適宜取得時刻(撮影時刻)などの情報とともに、ディクス入出力部41へ当該映像データを転送する。
The network I / F 21 converts the received IP packet into a format to be transmitted on the control bus 26, and passes the HTTP response to the software receiving unit 42 operating on the CPU 24.
The receiving unit 42 extracts the body (video data portion) from the received HTTP response, and transfers the video data to the disc input / output unit 41 together with information such as the acquisition time (shooting time) as appropriate.

ディクス入出力部41は、転送された映像データを一旦メモリ23に格納し、10〜100フレーム程度データを溜めてから、記録デバイス12上の格納位置を計算し、記録デバイス12に格納する。溜めた映像データを、記録デバイス12を介して、カメラ用の記録チャンネル領域C1〜Cmに格納する。
具体的には、IPカメラA1からの映像データを記録チャンネル領域C1に格納し、IPカメラA2からの映像データを記録チャンネル領域C2に格納し、IPカメラAmからの映像データを記録チャンネル領域Cmに格納するというように、各IPカメラA1〜Amからの映像データを対応する記録チャンネル領域C1〜Cmに格納する。
なお、録画動作中であるNDR1のメモリ23には、録画動作に必要な情報が格納されており、例えば、接続するIPカメラA1〜Amに関する情報が格納される。
The disk input / output unit 41 temporarily stores the transferred video data in the memory 23, accumulates about 10 to 100 frames of data, calculates the storage position on the recording device 12, and stores the calculated storage position in the recording device 12. The collected video data is stored in the recording channel areas C1 to Cm for the camera via the recording device 12.
Specifically, video data from the IP camera A1 is stored in the recording channel area C1, video data from the IP camera A2 is stored in the recording channel area C2, and video data from the IP camera Am is stored in the recording channel area Cm. As stored, the video data from each of the IP cameras A1 to Am is stored in the corresponding recording channel areas C1 to Cm.
Note that the information necessary for the recording operation is stored in the memory 23 of the NDR 1 that is performing the recording operation. For example, information about the IP cameras A1 to Am to be connected is stored.

映像配信側の処理について説明する。
NDR1に記録された映像を視聴したいユーザは、クライアントPC装置B1〜Bn(ここでは、例えば、いずれか1つの装置)上で、NDRの再生ソフトウエア(NDR再生ソフト)を稼働させる。これにより、NDR再生ソフトが、NDR1から映像データを取得し、クライアントPC装置B1〜Bnの画面上において映像の表示や再生処理を行う。
Processing on the video distribution side will be described.
A user who wants to view the video recorded in the NDR 1 operates NDR playback software (NDR playback software) on the client PC devices B1 to Bn (here, for example, any one device). Thereby, the NDR playback software acquires the video data from the NDR 1 and performs video display and playback processing on the screens of the client PC devices B1 to Bn.

クライアントPC装置B1〜Bn上のNDR再生ソフトは、HTTP(或いはRTSP:Real Time Streaming Protocol)形式で映像配信要求を、ネットワーク2を介して、NDR1へ送信する。映像配信要求のパラメータは、例えば、CGIパラメータ形式(URLの末尾に?に続けて記述される)としてもよく、そのようなパラメータ文字列を持つファイルパスに対してGETメソッドを送出しても良い。
クライアントPC装置B1〜Bnから送出された映像配信要求は、TCP/IP通信によりネットワーク2を伝達し、NDR1のネットワークI/F21に到達する。
The NDR playback software on the client PC apparatuses B1 to Bn transmits a video distribution request in the HTTP (or RTSP: Real Time Streaming Protocol) format to the NDR 1 via the network 2. The video distribution request parameter may be in the CGI parameter format (described after the? At the end of the URL), for example, and the GET method may be sent to a file path having such a parameter character string. .
The video distribution request transmitted from the client PC devices B1 to Bn is transmitted through the network 2 by TCP / IP communication and reaches the network I / F 21 of NDR1.

ネットワークI/F21は、受信したIPパケットを制御バス26上に伝送する形式へ変換し、CPU24上で動作するソフトウエアの送信部43へ当該映像配信要求を伝送する。
送信部43は、HTTPのCGIパラメータ形式を解析し、映像配信要求であることを確認し、映像配信要求をディスク入出力部41へ伝送する。
ディスク入出力部41は、映像配信要求に従って、記録デバイス12が有するカメラ用の記録チャンネル領域C1〜Cmから映像データを読み出して、送信部43へ返送する。
The network I / F 21 converts the received IP packet into a format to be transmitted on the control bus 26, and transmits the video distribution request to the software transmission unit 43 operating on the CPU 24.
The transmission unit 43 analyzes the HTTP CGI parameter format, confirms that the request is a video distribution request, and transmits the video distribution request to the disk input / output unit 41.
The disc input / output unit 41 reads video data from the camera recording channel areas C1 to Cm of the recording device 12 in accordance with the video distribution request, and returns the video data to the transmission unit 43.

送信部43は、ディスク入出力部41から受けた映像データにHTTPヘッダを付与してHTTPレスポンス形式としたうえで、ネットワークI/F21から、ネットワーク2を介して、クライアントPC装置B1〜Bnへ映像データを送信(返送)する。
クライアントPC装置B1〜Bn上のNDR再生ソフトは、受信したHTTPレスポンスから映像データを取り出してデコードし、画面上に表示する。
The transmission unit 43 adds an HTTP header to the video data received from the disk input / output unit 41 to make an HTTP response format, and then transmits the video from the network I / F 21 to the client PC devices B1 to Bn via the network 2. Send (return) data.
The NDR playback software on the client PC devices B1 to Bn extracts the video data from the received HTTP response, decodes it, and displays it on the screen.

ここで、カメラ用の記録チャンネル領域C1〜Cmの作成としては、映像取得開始前に、NDR1の設定権限者が、クライアントPC装置B1〜Bn(ここでは、例えば、いずれか1つの装置)から、領域確保用の設定画面を用いて作成する。
NDR1の設定権限者は、接続する各IPカメラA1〜Amに関して、録画の際におけるフレームレートと記録時間を勘案して、カメラ用の記録チャンネル領域C1〜Cmのバイトサイズを決定する。
Here, as for the creation of the recording channel areas C1 to Cm for the camera, before the start of video acquisition, the setting authority of the NDR1 is requested from the client PC devices B1 to Bn (here, any one device, for example) Create using the setting screen for area reservation.
The NDR 1 setting authority determines the byte size of the recording channel areas C1 to Cm for the cameras for each of the IP cameras A1 to Am to be connected in consideration of the frame rate and recording time at the time of recording.

図8には、カメラ用の記録チャンネル領域C1〜Cmへの循環記録の様子の一例を示してある。なお、本例では、IPカメラA1と記録チャンネル領域C1とクライアントPC装置B1を代表させて示してあり、IPカメラA2〜Amや記録チャンネル領域C2〜CmやクライアントPC装置B2〜Bmが用いられる場合についても同様である。
図8に示されるように、カメラ用の記録チャンネル領域C1〜Cmへの映像データの記録では、領域の先頭から記録を開始し、末尾に到達すると再び先頭から上書きを行う。このような循環記録には、例えば特許文献1や2に記載された公知の技術を用いることができる
FIG. 8 shows an example of a state of cyclic recording in the recording channel areas C1 to Cm for the camera. In this example, the IP camera A1, the recording channel region C1, and the client PC device B1 are shown as representatives, and the IP cameras A2 to Am, the recording channel regions C2 to Cm, and the client PC devices B2 to Bm are used. The same applies to.
As shown in FIG. 8, when recording video data in the recording channel areas C1 to Cm for the camera, recording starts from the beginning of the area, and overwriting is performed again from the beginning when the end is reached. For such circulation recording, for example, a known technique described in Patent Documents 1 and 2 can be used.

このように本例では、映像録画時に、自動的に容量拡張を行わずに、予め確保された領域内での循環記録を行うが、これに際して、取得した映像データにフレーム番号を付与する。フレーム番号とは、記録デバイス12上での管理のためにフレーム毎に付与される番号(ID)であり、例えば、カメラ毎に独立した1からの連番である。もしフレームが間引かれた場合、間引いた後に連番になるように与えなおす。映像データは、このフレーム番号と撮影時刻(ミリ秒単位の値)とともに記録デバイス12に格納される。   As described above, in this example, during video recording, the capacity is not automatically expanded and the circular recording is performed in a previously secured area. At this time, a frame number is assigned to the acquired video data. The frame number is a number (ID) assigned to each frame for management on the recording device 12, and is, for example, a serial number from 1 independent for each camera. If the frame is thinned, give it a serial number after thinning. The video data is stored in the recording device 12 together with the frame number and shooting time (millisecond unit value).

そして、クライアントPC装置B1〜Bnから映像データの1フレームを取得する際には、時刻又はフレーム番号で指定して目的の映像データを取得することができる。
また、クライアントPC装置B1〜BnからNDR1への映像配信要求は、それが1フレーム単位の場合はHTTP形式で行われ、その応答はJPEGファイルとして返信される。
When acquiring one frame of video data from the client PC devices B1 to Bn, the target video data can be acquired by designating by time or frame number.
The video distribution request from the client PC devices B1 to Bn to NDR1 is made in the HTTP format when it is in units of one frame, and the response is returned as a JPEG file.

次に、本発明の一実施形態として、複数台のNDRを縦列に接続して配置して、映像データを転送する映像記録装置について説明する。
図1には、本発明の実施例1に係る複数のNDRを多段接続(カスケード接続)した映像記録装置の構成例を示してある。
本例の映像記録装置は、3段のNDR1a、1b、1cを縦列に接続して構成されている。初段である1段目のNDR1aには、例えばネットワーク2を介して、ネットワークカメラ(本例では、IPカメラA1を例とする)が接続される。また、最終段である3段目のNDR1cには、例えばネットワーク2を介して、クライアントPC装置B1〜Bnが接続される。他の構成例として、初段のNDR1aに直接的にカメラなどが接続される構成や、最終段のNDR1cに直接的にクライアントPC装置などが接続される構成が用いられてもよい。
なお、本例では、1段目が最も上流であり、3段目が最も下流である。
Next, as one embodiment of the present invention, a video recording apparatus that transfers video data by arranging a plurality of NDRs connected in cascade will be described.
FIG. 1 shows a configuration example of a video recording apparatus in which a plurality of NDRs according to Embodiment 1 of the present invention are connected in multiple stages (cascade connection).
The video recording apparatus of this example is configured by connecting three stages of NDRs 1a, 1b, and 1c in columns. A network camera (in this example, the IP camera A1 is taken as an example) is connected to the first-stage NDR 1a, which is the first stage, via the network 2, for example. Further, the client PC apparatuses B1 to Bn are connected to the third-stage NDR 1c, which is the final stage, via the network 2, for example. As another configuration example, a configuration in which a camera or the like is directly connected to the first-stage NDR 1a, or a configuration in which a client PC device or the like is directly connected to the last-stage NDR 1c may be used.
In this example, the first stage is the most upstream and the third stage is the most downstream.

図1には、各NDR1a〜1cに備えられた一部の機能部を示してある。
1段目のNDR1aは、記録デバイス12aを有しており、また、制御プログラムの機能として、ディスク入出力部(Disk I/O)41aと、受信部42aと、送信部43aと、管理部44aと、範囲情報キャッシュ51aを有している。図1には、各NDR1a〜1cに備えられた一部の機能部を示してある。
2段目のNDR1bは、記録デバイス12bを有しており、また、制御プログラムの機能として、ディスク入出力部(Disk I/O)41bと、NDR間通信受信部42bと、多段検索型送信部43bと、管理部44bを有している。また、2段目のNDR1bは、範囲情報キャッシュ51bを備えている。
3段目のNDR1cは、記録デバイス12cを有しており、また、制御プログラムの機能として、ディスク入出力部(Disk I/O)41cと、NDR間通信受信部42cと、多段検索型送信部43cと、管理部44cを有している。また、3段目のNDR1cは、範囲情報キャッシュ51cを備えている。
各NDR1a〜1cは、各種のデータや設定値等を除き、図7で説明したNDRとほぼ同様の構成となっている。
FIG. 1 shows some functional units provided in each of the NDRs 1a to 1c.
The first-stage NDR 1a includes a recording device 12a, and functions of a control program include a disk input / output unit (Disk I / O) 41a, a reception unit 42a, a transmission unit 43a, and a management unit 44a. And a range information cache 51a. FIG. 1 shows some functional units provided in each of the NDRs 1a to 1c.
The second-stage NDR 1b has a recording device 12b, and functions of a control program include a disk input / output unit (Disk I / O) 41b, an inter-NDR communication reception unit 42b, and a multi-stage search type transmission unit. 43b and a management unit 44b. The second-stage NDR 1b includes a range information cache 51b.
The third-stage NDR 1c includes a recording device 12c, and functions of a control program include a disk input / output unit (Disk I / O) 41c, an inter-NDR communication reception unit 42c, and a multi-stage search type transmission unit. 43c and a management unit 44c. The NDR 1c at the third level includes a range information cache 51c.
Each of the NDRs 1a to 1c has substantially the same configuration as the NDR described with reference to FIG. 7 except for various data and setting values.

図2には、範囲情報キャッシュ51a〜51cに記憶される範囲情報の一例を示してある。
本例の範囲情報では、記録チャンネル1領域C1について、当該NDRの範囲情報D(1、0)と、1段上流のNDRの範囲情報D(1、1)と、・・・、(j_1)段上流のNDRの範囲情報D(1、j_1)を有しており、また、記録チャンネル2領域C2について、当該NDRの範囲情報D(2、0)と、1段上流のNDRの範囲情報D(2、1)と、・・・、(j_2)段上流のNDRの範囲情報D(1、j_2)を有しており、・・・、また、記録チャンネルm領域Cmについて、当該NDRの範囲情報D(m、0)と、1段上流のNDRの範囲情報D(m、1)と、・・・、(j_m)段上流のNDRの範囲情報D(1、j_m)を有している。なお、j_mは、記録チャンネルmに対応するカメラと当該NDRとの間の接続におけるカスケード段数を示している。
FIG. 2 shows an example of range information stored in the range information caches 51a to 51c.
In the range information of this example, for the recording channel 1 region C1, the NDR range information D (1, 0), the NDR range information D (1, 1) upstream by one stage, and (j_1) NDR range information D (1, j_1) upstream of the stage, and for the recording channel 2 area C2, the NDR range information D (2, 0) and NDR range information D upstream of the first stage (2, 1), ..., (j_2) NDR range information D (1, j_2) upstream of the stage, ..., and for the recording channel m region Cm, the NDR range Information D (m, 0), NDR range information D (m, 1) upstream one stage,..., (J_m) NDR range information D (1, j_m) upstream . Note that j_m indicates the number of cascade stages in the connection between the camera corresponding to the recording channel m and the NDR.

また、各範囲情報D(1、0)〜D(m、j_m)は、当該範囲情報を取得した際の時刻の情報と、カメラ用の記録領域における最も古いフレーム(最古フレーム)のフレーム番号及び撮影時刻(フレーム時刻)の情報と、カメラ用の記録領域における最も新しいフレーム(最新フレーム)のフレーム番号及び撮影時刻(フレーム時刻)の情報と、必要に応じ該当するNDRに接続するための情報(例えば、IPアドレス、ポート番号、接続チャンネル番号)と、を有する。   Each range information D (1, 0) to D (m, j_m) includes time information when the range information is acquired and the frame number of the oldest frame (oldest frame) in the recording area for the camera. Information of the shooting time (frame time), frame number and shooting time (frame time) of the newest frame (newest frame) in the recording area for the camera, and information for connecting to the corresponding NDR as required (For example, IP address, port number, connection channel number).

1つの範囲情報Dのキャッシュは、自装置又は上流に存在する任意の1台のNDRにおける記録チャンネル領域1つ分の範囲情報を保持する。以後、記録チャンネル領域1つ分の範囲情報(1段上流のNDRへの接続情報を含んだもの)を「範囲情報セット」と称すが、その表現形式(フォーマット)は任意である。また単に「範囲情報」と言った場合、最古フレーム及び最新フレーム夫々のフレーム番号及び撮影時刻の情報とを含むもの全般を意味するものとする。「範囲情報セット」は「範囲情報」に更に接続情報を含めたものと言える。
注目するNDRに存在する範囲情報キャッシュの数は、各記録チャンネル領域C1〜Cmについて(上流に存在するNDRの数+1)を総和した値となり、例えば、各チャンネルの上流に存在するNDRの数が等しい場合には、{(注目するNDRの記録チャンネル領域の数)×(各チャンネルの上流に存在するNDRの数+1)}となる。範囲情報キャッシュ51aは、上流に存在するNDRの数が0の場合に相当する。
The cache of one range information D holds range information for one recording channel region in the own device or any one NDR existing upstream. Hereinafter, the range information for one recording channel area (including information for connection to the NDR one stage upstream) is referred to as a “range information set”, but the expression format (format) is arbitrary. In addition, the term “range information” simply refers to all information including the frame number and shooting time information of the oldest frame and the latest frame. It can be said that the “range information set” further includes connection information in the “range information”.
The number of range information caches existing in the NDR of interest is a sum of (number of NDRs present upstream) +1 for each recording channel region C1 to Cm. For example, the number of NDRs present upstream of each channel is If equal, {(number of NDR recording channel areas of interest) × (number of NDR existing upstream of each channel + 1)}. The range information cache 51a corresponds to a case where the number of NDRs existing upstream is zero.

本例では、各範囲情報キャッシュを1つのXMLファイル(テキスト形式)として、汎用のファイルシステムで扱えるRAMディスク26上で保持しており、同一のNDR内のプログラム間はDOM(Document Object Model)を介して範囲情報キャッシュを共有することができる。   In this example, each range information cache is held as one XML file (text format) on the RAM disk 26 that can be handled by a general-purpose file system, and a DOM (Document Object Model) is stored between programs in the same NDR. The range information cache can be shared through the network.

なお、本例のようにRAMディスク26を用いることは必須ではなく、例えば、同一のNDR内のプログラム間で範囲情報キャッシュを共有できるのであれば、RAMディスク26を使用する以外の方法が用いられてもよい。例えばバイナリ形式の根付き木やレコードとしてメモリ23上に動的に割り当ててもよい。範囲情報キャッシュの内容はファイル等の形で一体になったものに限らず、散在していても良い。   It is not essential to use the RAM disk 26 as in this example. For example, if the range information cache can be shared between programs in the same NDR, a method other than using the RAM disk 26 is used. May be. For example, it may be dynamically allocated on the memory 23 as a rooted tree or record in binary format. The contents of the range information cache are not limited to being integrated in the form of a file or the like, but may be scattered.

本例では、記録チャンネル領域の番号(1〜m)と、上流段数(0〜j_i)をファイル名に持つファイルとして、RAMディスク26上に範囲情報を保持する。ここで、i=1〜mである。また、上流段数「0」は、自装置(当該NDR)の範囲情報キャッシュを示す。   In this example, the range information is held on the RAM disk 26 as a file having the recording channel area number (1 to m) and the upstream stage number (0 to j_i) as file names. Here, i = 1 to m. The upstream stage number “0” indicates the range information cache of the own device (NDR concerned).

動作プログラム31の何れかが上流から範囲情報を取得した際に、範囲情報のファイルを作成又は更新する。
具体的には、範囲情報を取得した際に、RAMディスク26上に該当するファイルがなければファイルを作成して範囲情報を記録し、また、RAMディスク26上に該当するファイルが存在したならば、取得した範囲情報がRAM26ディスク上の範囲情報より新しければ、新しい内容で上書き更新する。
また、ディスク入出力部41a〜41cは、映像データを格納して記録チャンネル領域の記録内容が変化した際には、対応する範囲情報キャッシュの値も更新する。
When any of the operation programs 31 acquires range information from upstream, a range information file is created or updated.
Specifically, when the range information is acquired, if there is no corresponding file on the RAM disk 26, the file is created and the range information is recorded, and if the corresponding file exists on the RAM disk 26, If the acquired range information is newer than the range information on the RAM 26 disk, it is overwritten and updated with new contents.
The disk input / output units 41a to 41c store the video data and update the corresponding range information cache value when the recording content of the recording channel area changes.

なお本例では、自装置(当該NDR1)の範囲情報も範囲情報キャッシュに格納する構成としたが、記録デバイスのファイルシステムが提供する情報で代用し、明示的に備えなくても良い。一般的なファイルシステムであれば、これらのキャッシュはオペレーティングシステムにより提供されることも多い。したがって、2段目以降のNDR1b、1cにのみ範囲情報キャッシュ51b、51cを備え、1段目のNDR1aでは、必要なときに、記録デバイス12aの記録内容を検索するなどして、自装置(当該NDR1a)の範囲情報を取得するようにしてもよい。
また、本例では、2段目以降のNDR1b、1cが自装置(当該NDR1b、1c)の範囲情報を範囲情報キャッシュ51b、51c内に記憶する構成としたが、同様に、必要なときに記録デバイス12b、12cの記録内容を検索するなどして、自装置(当該NDR1b、1c)の範囲情報を取得するような構成とすることも可能である。
In this example, the range information of the own device (NDR 1 concerned) is also stored in the range information cache. However, the information provided by the file system of the recording device may be substituted and not explicitly provided. In a general file system, these caches are often provided by the operating system. Accordingly, only the second and subsequent NDRs 1b and 1c are provided with the range information caches 51b and 51c, and the first-stage NDR 1a searches the recording contents of the recording device 12a when necessary, for example. The range information of NDR 1a) may be acquired.
In this example, the NDRs 1b and 1c in the second and subsequent stages are configured to store the range information of their own devices (the NDRs 1b and 1c) in the range information caches 51b and 51c. It is also possible to adopt a configuration in which range information of the device itself (NDR 1b, 1c concerned) is acquired by searching the recorded contents of the devices 12b, 12c.

1段目のNDR1aに備えられたNDR型送信部43aについて説明する。
NDR型送信部43aは、下流のクライアントPC装置B1〜Bn又はNDR1b、1cからの映像要求を受けた際に、ディスク入出力部41aに映像データの要求を行う。
The NDR type transmission unit 43a provided in the first-stage NDR 1a will be described.
When receiving a video request from the downstream client PC apparatuses B1 to Bn or NDRs 1b and 1c, the NDR type transmission unit 43a requests video data from the disk input / output unit 41a.

ディスク入出力部41aは、要求された撮影時刻またはフレーム番号の映像データが記録チャンネル領域内に存在する場合には、当該要求への応答として、映像データおよびそれ自体のフレームの情報の他に、記録チャンネル領域における最古フレームの情報及び最新フレームの情報を、NDR型送信部43aへ渡す。なお、フレームの情報としては、フレームIDとなるフレーム番号の情報と、フレーム時刻の情報が用いられる。
一方、ディスク入出力部41aは、要求された映像データが記録チャンネル領域内に存在しない場合には、「存在しない」旨を示すエラーメッセージと最古フレームの情報と最新フレームの情報をNDR型送信部43aへ渡す。
When the video data of the requested shooting time or frame number is present in the recording channel area, the disc input / output unit 41a responds to the request in addition to the video data and the information of the frame itself, The information on the oldest frame and the information on the latest frame in the recording channel area are passed to the NDR type transmitter 43a. As frame information, frame number information serving as a frame ID and frame time information are used.
On the other hand, if the requested video data does not exist in the recording channel area, the disk input / output unit 41a transmits an NDR type error message indicating that it does not exist, information on the oldest frame, and information on the latest frame. To the unit 43a.

NDR型送信部43aは、ディスク入出力部41aから映像データを受け取った場合には、映像の要求元へ、映像データと、その映像データのフレームの情報と、当該記録チャンネル領域に対応する1つの範囲情報セットとを、HTTP形式で送信(返送)する。当該記録チャンネル領域に対応する1つの範囲情報セットは、ディスク入出力部41aから受け取った最古フレームの情報と、最新フレームの情報とに基づいている。これらの情報はHTTPレスポンスのヘッダの最後尾に独自フィールドとして追記するか、レスポンスのボディにマルチパート形式で詰め込むことができる。
一方、NDR型送信部43aは、ディスク入出力部41aから「存在しない」旨のエラーメッセージを受け取った場合には、映像の要求元へ「存在しない」旨を示すレスポンス(例えばクライアントエラーを意味するステータスコードが4XXのレスポンス)を、当該記録チャンネル領域に対応する1つの範囲情報セットとともにHTTP形式で送信(返送)する。
NDR型送信部43aが受け付けることができる映像要求、及びその応答は、IPカメラ1のそれに対し、互換性(上位互換)を持たせても良い。例えば映像要求に撮影時刻やフレーム番号の指定がない場合は、最新の映像データを返信することができる。また、IPカメラ1専用の要求(パンチルト制御など)に対し、IPカメラ1に届くように受信部42aに転送するトンネリングを行ったり、転送を示す300番台のステータスコードでレスポンスを返したりしてもよい。
When receiving the video data from the disk input / output unit 41a, the NDR type transmission unit 43a sends the video data, the frame information of the video data, and one recording channel area corresponding to the video channel to the video request source. The range information set is transmitted (returned) in the HTTP format. One range information set corresponding to the recording channel area is based on the oldest frame information received from the disk input / output unit 41a and the latest frame information. Such information can be added as a unique field at the end of the HTTP response header, or can be packed in the response body in a multipart format.
On the other hand, when receiving an error message “not present” from the disk input / output unit 41a, the NDR type transmission unit 43a indicates a response indicating “not present” to the video request source (for example, a client error). A response having a status code of 4XX) is transmitted (returned) in HTTP format together with one range information set corresponding to the recording channel area.
The video request that can be accepted by the NDR type transmitter 43a and the response thereof may be compatible (upward compatible) with those of the IP camera 1. For example, when there is no designation of shooting time or frame number in the video request, the latest video data can be returned. Also, in response to a request dedicated to the IP camera 1 (such as pan / tilt control), tunneling may be performed to transfer to the receiving unit 42a so as to reach the IP camera 1, or a response may be returned with a status code in the 300s indicating the transfer. Good.

2段目のNDR1bや3段目のNDR1cに備えられた多段検索型送信部43b、43cについて説明する。
多段検索型送信部43b、43cは、NDR型送信部43aの説明で述べた機能を更に拡張したものであり、NDR型送信部43aでは使われることのない幾つかの新たなモードの機能を有している。そのため便宜上、図1では多段検索型とNDR型とを区別しているが、実際はNDR型送信部43aは多段検索型送信部43bなどと同じ機能を備えてよい。以下、この追加機能について説明する。 多段検索型送信部43b、43cは、映像要求の際に、撮影時刻、フレーム番号、チャンネル番号の他に、「上流検索」及び「上流範囲情報」の引数を受け付ける。 「上流検索」は、「ON」/「OFF」のいずれかの値をとり、無指定時には「ON」とみなす。
また、「上流範囲情報」は、「全段」/「結合」/「当該NDRのみ」/「なし」のいずれかの値をとり、無指定時には「結合」であるとする。これらの追加された引数により追加機能の動作を指定する。
The multi-stage search transmission units 43b and 43c provided in the second-stage NDR 1b and the third-stage NDR 1c will be described.
The multi-stage search type transmission units 43b and 43c are functions obtained by further expanding the functions described in the description of the NDR type transmission unit 43a, and have functions of some new modes that are not used in the NDR type transmission unit 43a. is doing. Therefore, for the sake of convenience, the multi-stage search type and the NDR type are distinguished in FIG. 1, but the NDR type transmission unit 43a may actually have the same function as the multi-stage search type transmission unit 43b and the like. Hereinafter, this additional function will be described. The multi-stage search type transmitters 43b and 43c accept arguments of “upstream search” and “upstream range information” in addition to the shooting time, frame number, and channel number when requesting video. “Upstream search” takes one of the values “ON” / “OFF”, and is regarded as “ON” when not designated.
The “upstream range information” takes one of the values “all stages” / “combined” / “only NDR concerned” / “none”, and is “combined” when not specified. These additional arguments specify the behavior of additional functions.

「上流検索」の項目に「OFF」が指定された場合には、多段検索型送信部43b、43cは、従来と同様に、自装置(当該NDR)内の該当する記録チャンネル領域の内からのみ映像データの取得を試み、その結果を要求元へ送信(返送)する。ただし応答には、映像データの有無に関わらず、範囲情報セットを付与して返送し、下流側で範囲情報キャッシュを更新できるようにする。その際、どのような範囲情報を返送するかについては「上流範囲情報」の指定に従う。   When “OFF” is specified in the “upstream search” item, the multi-stage search type transmission units 43b and 43c, as in the past, only from the corresponding recording channel area in the own apparatus (the NDR). Attempts to acquire video data and sends (returns) the result to the request source. However, regardless of the presence or absence of video data, a range information set is added to the response and sent back so that the range information cache can be updated on the downstream side. At this time, what kind of range information is returned depends on the designation of “upstream range information”.

一方、「上流検索」の項目が存在しないか或いは明示的に「ON」が指定された場合には、範囲情報キャッシュ51b、51cを用いて、下流から要求された映像データが多段接続中のいずれのNDRに存在するかを検索する。
この検索を行った結果、要求された映像データが自装置(当該NDR)の記録チャンネル領域に存在する場合には、多段検索型送信部43b、43cは、前記したモードと同様に当該NDRのディスク入出力部41b、41cから映像データの取得を試み、その結果をHTTP形式で要求元へ送信(返送)する。
また、この検索を行った結果、要求された映像データが多段接続中の上流のNDRに存在することが判定された場合には、その検索結果が示すNDRの送信部に対して映像データの要求を試み、その結果を要求元へ送信(返送)する。
これらの場合においても、映像データには範囲情報セットを付与して返送し、いずれの範囲情報を返送するかについては「上流範囲情報」の指定に従う。
On the other hand, if the item “upstream search” does not exist or if “ON” is explicitly designated, the range information caches 51b and 51c are used to determine which of the video data requested from the downstream is in multistage connection. To find if it exists in the NDR.
As a result of this search, if the requested video data is present in the recording channel area of the own device (the NDR), the multi-stage search type transmission units 43b and 43c are connected to the NDR disk in the same manner as in the mode described above. An attempt is made to acquire video data from the input / output units 41b and 41c, and the result is transmitted (returned) to the request source in HTTP format.
If it is determined as a result of this search that the requested video data is present in the upstream NDR in the multi-stage connection, the video data request is sent to the NDR transmitter indicated by the search result. And send (return) the result to the requester.
Even in these cases, the video data is returned with the range information set attached, and which range information is returned depends on the designation of “upstream range information”.

「上流範囲情報」の項目では、映像データ又はエラーメッセージの返送時に、付与する範囲情報の種類を指定する。
「上流範囲情報」の項目に「全段」が指定された場合には、該当する記録チャンネル領域の範囲情報セットとして、0段目(当該NDRのチャンネル情報)から最上流のNDRまでの個々の範囲情報と、1段上流のNDRへの接続情報を、映像データに付与して返送する。
In the item “upstream range information”, the type of range information to be added is specified when video data or an error message is returned.
When “all stages” is designated in the item of “upstream range information”, individual information from the 0th stage (channel information of the NDR) to the most upstream NDR is set as the range information set of the corresponding recording channel area. The range information and the connection information to the NDR one stage upstream are added to the video data and returned.

「上流範囲情報」の項目が存在しないか或いは明示的に「結合」が指定された場合には、該当する記録チャンネル領域の範囲情報において、0段目から最上流のNDRの範囲内から、最古のフレームと最新のフレームを検索し、1つの範囲情報に結合した上で、映像データに付与して返送する。
「上流範囲情報」の項目に「当該NDRのみ」が指定された場合には、自装置(当該NDR)の範囲情報のみを、映像データに付与して返送する。
「上流範囲情報」の項目に「なし」が指定された場合には、映像データに範囲情報を付与せずに返送する。
If the “upstream range information” item does not exist or if “join” is explicitly designated, the range information of the corresponding recording channel area is the highest in the NDR range from the 0th stage to the most upstream. The old frame and the latest frame are searched, combined with one range information, added to the video data, and returned.
When “only the NDR” is designated in the item “upstream range information”, only the range information of the own device (the NDR) is attached to the video data and returned.
When “None” is designated in the item “Upstream range information”, the video data is returned without adding range information.

本例では、多段検索型送信部43b、43cの映像要求の引数項目が指定されなかった場合には、多段の上流への映像検索が行われ、範囲情報が結合されるため、下流側から見ると、あたかも1台のNDRにアクセスするかの如くなり、多段の構造を隠蔽することができる。
これにより、多段検索型送信部43b、43cの拡張機能を知らない既存のクライアントPC装置又はNDRなどからのアクセスへの対応が、多段接続であることを意識させずに可能である。
In this example, when the argument item of the video request of the multistage search type transmission units 43b and 43c is not designated, the video search to the upstream of the multistage is performed and the range information is combined. As if to access one NDR, the multi-stage structure can be concealed.
As a result, it is possible to cope with an access from an existing client PC device or NDR that does not know the extended function of the multistage search type transmission units 43b and 43c without being aware of the multistage connection.

範囲情報キャッシュ51b、51cの初期化の一例を説明する。
多段検索型送信部43b、43cは、起動時に、範囲情報キャッシュ51b、51cの初期化処理を行う。この初期化処理では、上流の全てのNDRについて範囲情報を問い合わせて、範囲情報キャッシュ51b、51cを作成する。
図3を参照して、3段目のNDR1cに備えられた多段検索型送信部43cの起動時における初期化処理の手順の一例を示す。なお、他のNDR1a〜1bに備えられた多段検索型送信部43bやNDR型送信部43aについても同様である。
また、図3では、1段目のNDR1aを「a」で示してあり、2段目のNDR1bを「b」で示してあり、3段目のNDR1cを「c」で示してある。
An example of initialization of the range information caches 51b and 51c will be described.
The multi-stage search type transmission units 43b and 43c perform initialization processing of the range information caches 51b and 51c at the time of activation. In this initialization process, range information caches 51b and 51c are created by inquiring range information for all upstream NDRs.
With reference to FIG. 3, an example of the procedure of the initialization process at the time of activation of the multi-stage search type transmission unit 43c provided in the third-stage NDR 1c is shown. The same applies to the multi-stage search type transmission unit 43b and the NDR type transmission unit 43a provided in the other NDRs 1a to 1b.
In FIG. 3, the first-stage NDR 1 a is indicated by “a”, the second-stage NDR 1 b is indicated by “b”, and the third-stage NDR 1 c is indicated by “c”.

3段目のNDR1cの多段検索型送信部43cは、起動されると、記録チャンネル1領域C1の範囲情報を取得するために、当該NDR1cのディスク入出力部41cへ範囲情報要求601を発行する。
ディスク入出力部41cは、範囲情報要求601を受けると、当該NDR1cのNDR間通信受信部42cへ記録チャンネル1領域C1の接続先情報要求602を発行する。
NDR間通信受信部42cは、接続先情報要求602を受けると、記録チャンネル1領域C1の映像データの取得元(本例では、2段目のNDR1b)への接続情報(IPアドレス、ポート番号、接続チャンネル番号、種類情報(カメラかNDRか))を接続先情報603としてディスク入出力部41cへ渡す。
When activated, the multi-stage search type transmission unit 43c of the third NDR 1c issues a range information request 601 to the disk input / output unit 41c of the NDR 1c in order to acquire the range information of the recording channel 1 area C1.
Upon receiving the range information request 601, the disk input / output unit 41c issues a connection destination information request 602 for the recording channel 1 area C1 to the inter-NDR communication receiving unit 42c of the NDR 1c.
Upon receipt of the connection destination information request 602, the inter-NDR communication receiving unit 42c receives connection information (IP address, port number, etc.) to the video data acquisition source (in this example, the second stage NDR 1b) of the recording channel 1 area C1. The connection channel number and type information (camera or NDR) are transferred to the disk input / output unit 41c as connection destination information 603.

ディスク入出力部41cは、接続先情報603の返送を受け取ると、範囲情報要求601の応答として、当該NDR1cにおける記録チャンネル1領域C1の先頭及び末尾の情報と、2段目のNDR1bへの接続情報とを合わせた1つの範囲情報セット604を多段検索型送信部43cへ渡す。
多段検索型送信部43cは、取得した範囲情報604を、当該NDR1cの範囲情報キャッシュ51c(3段目における範囲情報D(1、0))に反映する。
When receiving the return of the connection destination information 603, the disk input / output unit 41c responds to the range information request 601 with information on the beginning and end of the recording channel 1 area C1 in the NDR 1c and information on connection to the second-stage NDR 1b. And one range information set 604 combined with the above is passed to the multi-stage search type transmission unit 43c.
The multi-stage search type transmission unit 43c reflects the acquired range information 604 in the range information cache 51c of the NDR 1c (the range information D (1, 0) in the third stage).

多段検索型送信部43cは、取得した範囲情報604に含まれる接続先情報603に注目し、カメラではなくNDRから映像データを取得していること、つまり一段上流がNDR1bであることを検出する。
そして、多段検索型送信部43cは、NDR1bの多段検索型送信部43bに対して記録チャンネル1領域C1の範囲情報要求605を発行する。この要求は、HTTPリクエストに限らず、任意のプロトコルでよい。
The multi-stage search type transmission unit 43c pays attention to the connection destination information 603 included in the acquired range information 604, and detects that video data is acquired from the NDR instead of the camera, that is, the first upstream is the NDR 1b.
Then, the multistage search type transmission unit 43c issues a range information request 605 for the recording channel 1 area C1 to the multistage search type transmission unit 43b of the NDR 1b. This request is not limited to an HTTP request, and may be an arbitrary protocol.

2段目のNDR1bに備えられた多段検索型送信部43bは、範囲情報要求605を受信すると、当該NDR1bのディスク入出力部41bに対して記録チャンネル1領域C1の範囲情報要求606を発行する。
ディスク入出力部41bは、範囲情報要求606を受けると、NDR間通信受信部42bに対して記録チャンネル1領域C1の接続先情報要求607を発行する。
NDR間通信受信部42bは、接続先情報要求607を受けると、その応答として、一段上流のNDR1aへの接続情報を接続先情報608としてディスク入出力部41bへ渡す。
When receiving the range information request 605, the multi-stage search type transmission unit 43b provided in the second-stage NDR 1b issues a range information request 606 for the recording channel 1 area C1 to the disk input / output unit 41b of the NDR 1b.
Upon receiving the range information request 606, the disc input / output unit 41b issues a connection destination information request 607 for the recording channel 1 area C1 to the inter-NDR communication receiving unit 42b.
Upon receiving the connection destination information request 607, the inter-NDR communication reception unit 42b passes the connection information to the NDR 1a upstream by one step as connection destination information 608 to the disk input / output unit 41b.

ディスク入出力部41bは、接続先情報608の返送を受け取ると、範囲情報要求606の返答として、2段目のNDR1bにおける記録チャンネル1領域C1の先頭及び末尾の情報と1段目のNDR1aへの接続情報とを含む範囲情報609を多段検索型送信部43bへ送信(返送)する。   When receiving the return of the connection destination information 608, the disk input / output unit 41b returns the information on the beginning and end of the recording channel 1 area C1 in the second-stage NDR 1b and the first-stage NDR 1a as a response to the range information request 606. The range information 609 including the connection information is transmitted (returned) to the multistage search type transmission unit 43b.

多段検索型送信部43bは、取得した範囲情報609を、まず、自身のNDR1bの範囲情報キャッシュ51bに反映する。次に、多段検索型送信部43bは、記録チャンネル1領域C1についての2段目のNDR1bの範囲情報セット(2段目における範囲情報Dセット(1、0))と、もし存在すれば、当該NDR1bの範囲情報キャッシュ51bが保持する記録チャンネル1領域C1についての一段上流のNDR1aの範囲情報と接続情報を合わせた範囲情報セット(2段目における範囲情報Dセット(1、1))とからなる2つ分の範囲情報セット610とを、範囲情報要求605の応答として、3段目のNDR1cの多段検索型送信部43cに対して送信(返信)する。範囲情報Dセット(1、1)が未取得の場合は送信しなくてもよい。   The multistage search type transmitting unit 43b first reflects the acquired range information 609 in the range information cache 51b of its own NDR 1b. Next, the multi-stage search type transmission unit 43b includes the second-stage NDR 1b range information set (the second-stage range information D set (1, 0)) for the recording channel 1 area C1, It consists of a range information set (range information D set (1, 1) in the second stage) that combines the connection information and the range information of the NDR 1a upstream of the recording channel 1 area C1 held by the range information cache 51b of the NDR 1b. Two range information sets 610 are transmitted (returned) as a response to the range information request 605 to the multi-stage search type transmission unit 43c of the third-stage NDR 1c. When the range information D set (1, 1) has not been acquired, it may not be transmitted.

3段目のNDR1cの多段検索型送信部43cは、範囲情報要求605により取得した範囲情報610のうち、2段目のNDR1bの記録チャンネル1領域C1についての範囲情報を、範囲情報キャッシュ51c(3段目における範囲情報D(1、1))に反映する。
なお、これに際して、NDR1bの範囲情報キャッシュ51bが保持していた更に上流のNDR(本例では、1段目のNDR1a)の記録チャンネル1領域C1についての範囲情報も取得できた場合は、それも反映するようにしてもよい。但し、本例では、上流に存在する各NDRにアクセスすることが可能であるか否かを確かめるために、範囲情報要求605の返答で取得したNDR1aの記録チャンネル1領域C1についての範囲情報は使用せず、NDR1aへの接続情報を用いてNDR1aへ範囲情報を問い合わせる。
The multi-stage search type transmission unit 43c of the third-stage NDR 1c transmits the range information for the recording channel 1 area C1 of the second-stage NDR 1b in the range information 610 acquired by the range information request 605 to the range information cache 51c (3 This is reflected in the range information D (1, 1)) at the stage.
At this time, if the range information about the recording channel 1 area C1 of the further upstream NDR (in this example, the first-stage NDR 1a) held in the range information cache 51b of the NDR 1b can also be acquired, You may make it reflect. However, in this example, in order to confirm whether it is possible to access each NDR existing upstream, the range information about the recording channel 1 region C1 of the NDR 1a obtained by replying the range information request 605 is used. Instead, the NDR 1a is inquired about range information using the connection information to the NDR 1a.

3段目のNDR1cの多段検索型送信部43cは、取得した範囲情報セット610に含まれる接続先情報608に注目し、NDR1bはNDR1aから映像データを取得していること、つまり二段上流はNDR1aであることを検出する。
そして、多段検索型送信部43cは、1段目のNDR1aの送信部43aに対して、記録チャンネル1領域C1の範囲情報要求611を発行する。
The multi-stage search type transmission unit 43c of the third stage NDR 1c pays attention to the connection destination information 608 included in the acquired range information set 610, and NDR 1b has acquired video data from NDR 1a, that is, the second stage upstream is NDR 1a. Is detected.
Then, the multistage search type transmission unit 43c issues a range information request 611 for the recording channel 1 area C1 to the transmission unit 43a of the first-stage NDR 1a.

1段目のNDR1aの送信部43aは、範囲情報要求611を受信すると、当該NDR1aのディスク入出力部41aに対して記録チャンネル1領域C1の範囲情報要求612を発行する。
ディスク入出力部41aは、範囲情報要求612を受けると、カメラ型受信部42aに対して記録チャンネル1領域C1の接続先情報要求(本例では、カメラ接続情報の要求)613を発行する。
カメラ型受信部42aは、接続先情報要求613の応答として、上流にあるIPカメラA1への接続情報を接続先情報614としてディスク入出力部41aへ送信(返送)する。
When receiving the range information request 611, the transmission unit 43a of the first-stage NDR 1a issues a range information request 612 of the recording channel 1 area C1 to the disk input / output unit 41a of the NDR 1a.
Upon receiving the range information request 612, the disk input / output unit 41a issues a connection destination information request (camera connection information request in this example) 613 to the recording channel 1 area C1 to the camera-type receiving unit 42a.
In response to the connection destination information request 613, the camera-type receiving unit 42a transmits (returns) connection information to the upstream IP camera A1 to the disk input / output unit 41a as connection destination information 614.

ディスク入出力部41aは、接続先情報614の返送を受け取ると、範囲情報要求612の返答として、1段目のNDR1aにおける記録チャンネル1領域C1の先頭及び末尾の情報と、IPカメラA1への接続情報を合わせた範囲情報615を送信部43aへ送信(返送)する。
送信部43aは、1段目のNDR1aの範囲情報と、IPカメラA1への接続情報を合わせた範囲情報616を、範囲情報要求611への応答として3段目のNDR1cの多段検索型送信部43cに対して送信(返信)する。
When receiving the return of the connection destination information 614, the disk input / output unit 41a returns the information on the beginning and end of the recording channel 1 area C1 in the first-stage NDR 1a and the connection to the IP camera A1 as a response to the range information request 612. The range information 615 combined with the information is transmitted (returned) to the transmission unit 43a.
The transmission unit 43a uses the range information 616 that combines the range information of the first-stage NDR 1a and the connection information to the IP camera A1 as a response to the range information request 611, and the multi-stage search type transmission unit 43c of the third-stage NDR 1c. Send (reply) to.

3段目のNDR1cの多段検索型送信部43cは、範囲情報要求611により取得した範囲情報616のうち、1段目のNDR1aの記録チャンネル1領域についての範囲情報を、範囲情報キャッシュ51c(3段目における範囲情報セットD(1、2))に反映する。
多段検索型送信部43cは、取得した範囲情報616の接続先情報に注目し、NDR1aはIPカメラA1から映像データを取得していることを検出し、つまりNDR1aより上流にはNDRが存在していないことを検出する。そして、多段検索型送信部43cは、NDR1aより上流にNDRが接続されていないことを検出したことに応じて、記録チャンネル1領域C1についての範囲情報キャッシュ51cの初期化処理を終了する。
The multi-stage search type transmission unit 43c of the third-stage NDR 1c transmits the range information about the recording channel 1 area of the first-stage NDR 1a in the range information 616 acquired by the range information request 611 to the range information cache 51c (three-stage search cache). This is reflected in the range information set D (1, 2) in the eye.
The multi-stage search type transmission unit 43c pays attention to the connection destination information of the acquired range information 616 and detects that the NDR 1a acquires video data from the IP camera A1, that is, there is an NDR upstream from the NDR 1a. Detect not. Then, in response to detecting that the NDR is not connected upstream from the NDR 1a, the multi-stage search type transmission unit 43c ends the initialization process of the range information cache 51c for the recording channel 1 area C1.

次に、チャンネル番号が2以上である記録チャンネル領域C2〜Cmについても、上記したチャンネル番号が1である記録チャンネル1領域C1の場合と同様に、上流のNDRに対して順々に問い合わせながら、範囲情報キャッシュ51cを初期化する。
そして、3段目のNDR1cにおける全ての記録チャンネル領域C1〜Cmについて範囲情報のキャッシュの初期化が終了すると、多段検索型送信部43cの初期化処理が終了する。
Next, for the recording channel areas C2 to Cm having a channel number of 2 or more, as in the case of the recording channel area 1 having a channel number of 1 as described above, the upstream NDRs are sequentially inquired. The range information cache 51c is initialized.
When the initialization of the range information cache is completed for all the recording channel areas C1 to Cm in the third-stage NDR 1c, the initialization process of the multi-stage search type transmission unit 43c is completed.

範囲情報は、多段接続の中で上流から下流へ映像データが伝送されている定常状態では、常に、各段のNDR1a〜1cにおいて、最新の状態が保たれる。
図4を参照して、映像データの流れを示しつつ、映像データの転送時における範囲情報キャッシュ51b、51cの更新処理の一例を示す。なお、本例では、記録チャンネル1領域C1に関する映像データの流れを例示するが、他の記録チャンネル領域C2〜Cmについても同様である。
また、図4では、1段目のNDR1aを「a」で示してあり、2段目のNDR1bを「b」で示してあり、3段目のNDR1cを「c」で示してある。
The range information is always kept up-to-date in the NDRs 1a to 1c in each stage in a steady state in which video data is transmitted from upstream to downstream in a multistage connection.
Referring to FIG. 4, an example of update processing of range information caches 51 b and 51 c at the time of transfer of video data is shown while showing the flow of video data. In this example, the flow of video data related to the recording channel 1 area C1 is illustrated, but the same applies to the other recording channel areas C2 to Cm.
In FIG. 4, the first-stage NDR 1 a is indicated by “a”, the second-stage NDR 1 b is indicated by “b”, and the third-stage NDR 1 c is indicated by “c”.

まず、多段接続中の最上流である1段目のNDR1aが、IPカメラA1から映像のデータを取得して、当該NDR1aの記録チャンネル1領域C1に格納する。
具体的には、カメラ受信部42aが、IPカメラA1に対して映像要求631を発行する。
すると、IPカメラA1から映像データがHTTP形式で返送され、この映像データ632をカメラ受信部42aが受信する。
そして、カメラ受信部42aが、HTTP形式の映像データから映像のデータ部分を切り出し、ディスク入出力部41aへ記録要求633を発行して当該映像のデータを送付する。
ディスク入出力部41aは、記録要求633で受信した映像のデータを記録チャンネル1領域C1に格納する。
First, the first-stage NDR 1a, which is the most upstream in the multi-stage connection, acquires video data from the IP camera A1 and stores it in the recording channel 1 area C1 of the NDR 1a.
Specifically, the camera receiving unit 42a issues a video request 631 to the IP camera A1.
Then, the video data is returned from the IP camera A1 in the HTTP format, and the video reception unit 42a receives the video data 632.
Then, the camera receiving unit 42a cuts out the video data portion from the HTTP format video data, issues a recording request 633 to the disk input / output unit 41a, and sends the video data.
The disc input / output unit 41a stores the video data received in response to the recording request 633 in the recording channel 1 area C1.

次に、2段目のNDR1bが、1段目のNDR1a内で古くなった映像データを取得し、2段目のNDR1bの記録チャンネル1領域C1に格納する。
具体的には、2段目のNDR1bのNDR間通信受信部42bが、1段目のNDR1aのNDR型送信部41aに対して、映像要求634をHTTP形式で発行する。
1段目のNDR1aの送信部43aは、映像要求634を受信すると、ディスク入出力部41aに対して、読み出し要求635を発行する。
Next, the second-stage NDR 1b acquires video data that has become obsolete in the first-stage NDR 1a, and stores it in the recording channel 1 area C1 of the second-stage NDR 1b.
Specifically, the inter-NDR communication receiving unit 42b of the second-stage NDR 1b issues a video request 634 in HTTP format to the NDR-type transmitting unit 41a of the first-stage NDR 1a.
When receiving the video request 634, the transmission unit 43a of the first-stage NDR 1a issues a read request 635 to the disk input / output unit 41a.

ディスク入出力部41aは、読み出し要求635を受信すると、当該読み出し要求635で指定された映像データを記録チャンネル1領域C1から読み出し、読み出し要求635の応答として、最古フレームと最新フレームを含むNDR1aの範囲情報と、映像データ636を送信部43aへ送信(返送)する。
送信部43aは、ディスク入出力部41aから受け取ったNDR1aの範囲情報と映像データを合わせた情報637を、映像要求634の応答として、HTTP形式で2段目のNDR1bのNDR間通信受信部42bへ送信(返送)する。
Upon receiving the read request 635, the disk input / output unit 41a reads the video data designated by the read request 635 from the recording channel 1 area C1, and, as a response to the read request 635, the NDR 1a including the oldest frame and the latest frame. The range information and the video data 636 are transmitted (returned) to the transmission unit 43a.
The transmission unit 43a sends the information 637 combining the range information of the NDR 1a and the video data received from the disk input / output unit 41a to the inter-NDR communication reception unit 42b of the second NDR 1b in the HTTP format as a response to the video request 634. Send (return).

2段目のNDR1bのNDR間通信受信部42bは、映像要求634で受信したHTTP形式の映像データとNDR1aの範囲情報を合わせた情報637から、映像データとNDR1aの範囲情報を抜き出し、ディスク入出力部41bへ記録要求638を発行して映像データとNDR1aの範囲情報を送付する。
ディスク入出力部41bは、受信したNDR1aの範囲情報を範囲情報キャッシュ51bに反映し、受信した映像データを記録チャンネル1領域C1に格納し、記録チャンネル1領域C1の更新結果を範囲情報キャッシュ51bに反映する。
The inter-NDR communication receiving unit 42b of the second-stage NDR 1b extracts the video data and the NDR 1a range information from the information 637 obtained by combining the HTTP format video data received by the video request 634 and the NDR 1a range information, and inputs / outputs the disc. The recording request 638 is issued to the unit 41b to send the video data and the range information of the NDR 1a.
The disk input / output unit 41b reflects the received range information of the NDR 1a in the range information cache 51b, stores the received video data in the recording channel 1 area C1, and stores the update result of the recording channel 1 area C1 in the range information cache 51b. reflect.

次に、3段目のNDR1cが、2段目のNDR1b内で古くなった映像データを取得し、3段目のNDR1cの記録チャンネル1領域C1に格納する。これについては、ほとんどの処理は上記した1段目のNDR1aから2段目のNDR1bへの伝送と同様であるが、異なる点として、2段目のNDR1bから3段目のNDR1cへの映像データの伝送時に、NDR1a、1bの範囲情報が送付される。   Next, the third-stage NDR 1c acquires video data that has become obsolete in the second-stage NDR 1b, and stores it in the recording channel 1 area C1 of the third-stage NDR 1c. In this regard, most of the processing is the same as the transmission from the first-stage NDR 1a to the second-stage NDR 1b, except that the video data from the second-stage NDR 1b to the third-stage NDR 1c is different. At the time of transmission, range information of NDRs 1a and 1b is sent.

具体的には、3段目のNDR1cのNDR間通信受信部42cが、2段目のNDR1bの多段検索型送信部43bに対して、映像要求639をHTTP形式で発行する。
2段目のNDR1bの多段検索型送信部43bは、映像要求639を受信すると、ディスク入出力部41bに対して、読み出し要求640を発行する。
ディスク入出力部41bは、読み出し要求640を受信すると、読み出し要求640で指定された映像データを記録チャンネル1領域C1から読み出し、読み出し要求640の応答として、最古フレームと最新フレームを含むNDR1bの範囲情報と、映像データ641を多段検索型送信部43bへ送信(返送)する。
Specifically, the inter-NDR communication receiving unit 42c of the third-stage NDR 1c issues a video request 639 in HTTP format to the multi-stage search type transmitting unit 43b of the second-stage NDR 1b.
Upon receiving the video request 639, the multistage search type transmission unit 43b of the second NDR 1b issues a read request 640 to the disk input / output unit 41b.
Upon receiving the read request 640, the disk input / output unit 41b reads the video data designated by the read request 640 from the recording channel 1 area C1, and, as a response to the read request 640, the range of NDR 1b including the oldest frame and the latest frame Information and video data 641 are transmitted (returned) to the multi-stage search type transmission unit 43b.

多段検索型送信部43bは、ディスク入出力部41bから受け取った映像データ及びNDR1bの範囲情報と、範囲情報キャッシュ51bから読み出したNDR1aの範囲情報を合わせた情報642を、映像要求639の応答として、HTTP形式で3段目のNDR1cのNDR間通信受信部42cへ送信(返送)する。   The multi-stage search type transmission unit 43b receives, as a response to the video request 639, information 642 that combines the video data received from the disk input / output unit 41b and the range information of the NDR 1b and the range information of the NDR 1a read from the range information cache 51b. It transmits (returns) to the inter-NDR communication receiver 42c of the third-stage NDR 1c in HTTP format.

3段目のNDR1cのNDR間通信受信部42cは、映像要求639で受信したHTTP形式の映像データとNDR1bの範囲情報とNDR1aの範囲情報を合わせた情報642から、映像データとNDR1bの範囲情報とNDR1aの範囲情報を抜き出し、ディスク入出力部41cへ記録要求643を発行して、映像データとNDR1bの範囲情報とNDR1aの範囲情報を送付する。
ディスク入出力部41cは、受信したNDR1bの範囲情報とNDR1aの範囲情報を範囲情報キャッシュ51cに反映し、受信した映像データを記録チャンネル1領域C1に格納し、記録チャンネル1領域C1の更新結果を範囲情報キャッシュ51cに反映する。
The inter-NDR communication receiving unit 42c of the third-stage NDR 1c receives the video data and the NDR 1b range information from the HTTP format video data received by the video request 639, the NDR 1b range information, and the NDR 1a range information 642. The NDR 1a range information is extracted, a recording request 643 is issued to the disk input / output unit 41c, and the video data, the NDR 1b range information, and the NDR 1a range information are sent.
The disc input / output unit 41c reflects the received NDR 1b range information and NDR 1a range information in the range information cache 51c, stores the received video data in the recording channel 1 area C1, and updates the recording channel 1 area C1. This is reflected in the range information cache 51c.

以上のように、多段接続の定常状態では常に映像データが流れており、映像データに最新の範囲情報を付与しているため、各段のNDR1a〜1cは、例えば実用上で支障のない遅延で、上流のNDRの範囲情報を取得することができる。   As described above, since the video data always flows in the steady state of the multi-stage connection and the latest range information is given to the video data, the NDRs 1a to 1c at each stage have, for example, a delay that does not cause any trouble in practical use. The upstream NDR range information can be acquired.

更に、本例の多段検索型送信部43は、下流からの映像要求をマルチスレッドにより複数同時に処理する。これにより、クライアントPC装置から様々な映像要求を受けて、範囲情報キャッシュを参照して要求された映像の保存先NDRから映像データを取得し、要求に応答する動作と、図10に示されるような従来の循環記録(ユーザからの要求に拠らない)の動作とを、同時並行に処理できるようになっている。
前者の動作における上流NDRへの映像要求は、上流検索=ON,上流範囲情報=全段または結合の引数で、要求された映像フレームに対して映像要求を行い、受信した映像データを要求元に伝送する。 後者の動作における上流NDRへの映像要求は、上流検索=OFF,上流範囲情報=全段の引数で、上流NDRにおける当該記録チャネルの範囲情報セットDの示す最古フレームより重複区間だけ新しい映像フレームに対して所定の時間間隔で映像要求を行い、受信した映像データを要求元に伝送する。範囲情報セットDの取得時刻と現時刻との差が、前記所定の時間間隔より大きい場合は、範囲情報セットDの示す最古フレームより(重複区間+前記差)だけ新しい映像フレームに対し映像要求してもよい。 これにより、クライアントPC装置は、後者の動作の映像データの伝送が行われているか否かを意識せずに、閲覧等のアクセスを行うことができる。また、最上流のNDRがカメラから取得したばかりの最新の映像データも、低遅延で視聴できる。
Furthermore, the multi-stage search type transmission unit 43 of this example simultaneously processes a plurality of video requests from downstream using multi-threads. As a result, various video requests are received from the client PC device, video data is acquired from the requested video storage destination NDR by referring to the range information cache, and the request is responded, as shown in FIG. Thus, it is possible to process a conventional circular recording operation (not depending on a request from a user) in parallel.
In the former operation, the video request to the upstream NDR is made by requesting the video for the requested video frame with the upstream search = ON, the upstream range information = all stages or the combined argument, and using the received video data as the request source. To transmit. The video request to the upstream NDR in the latter operation is upstream search = OFF, upstream range information = all-stage arguments, and a video frame that is newer than the oldest frame indicated by the range information set D of the recording channel in the upstream NDR by the overlapping section. Is requested at predetermined time intervals, and the received video data is transmitted to the request source. When the difference between the acquisition time of the range information set D and the current time is larger than the predetermined time interval, a video request is made for a video frame that is newer than the oldest frame indicated by the range information set D (overlap interval + difference). May be. As a result, the client PC device can perform access such as browsing without being aware of whether or not the video data of the latter operation is being transmitted. Also, the latest video data just acquired from the camera by the most upstream NDR can be viewed with low delay.

範囲情報キャッシュ51b、51cの再初期化について説明する。
例えば、多段接続中の上流にある一部のNDRが異常な状態から復帰した直後や、長時間止めていた映像伝送を再開した直後等において、範囲情報キャッシュ51b、51cが持つ範囲情報と、実際における多段接続中の各NDRの記録チャンネル領域に保持されている映像データの範囲とで齟齬が生じた場合には、範囲情報キャッシュ51b、51cの再初期化を行う。
この齟齬は、例えば、「多段検索型送信部43b、43cが、下流のクライアントPC装置B1〜Bnから映像要求(映像配信要求)を受けたことに応じて、範囲情報キャッシュ51b、51cを用いて上流のNDRから映像データを取得しようとしたが、対象のNDRにはその映像データが存在しなかった」という形で露見する。
The re-initialization of the range information caches 51b and 51c will be described.
For example, immediately after a part of the NDR upstream in the multi-stage connection recovers from an abnormal state or immediately after restarting video transmission that has been stopped for a long time, the range information held by the range information caches 51b and 51c, If there is a discrepancy between the video data ranges held in the recording channel areas of the NDRs in the multi-stage connection, the range information caches 51b and 51c are reinitialized.
This trap is, for example, “using the range information caches 51b and 51c in response to the fact that the multistage search type transmission units 43b and 43c have received video requests (video distribution requests) from the downstream client PC devices B1 to Bn. I tried to acquire the video data from the upstream NDR, but the video data did not exist in the target NDR.

図5には、範囲情報キャッシュ51b、51cと実体とが相違したこと(例えば、かけ離れたこと)が検出された場合に、映像データの取得と範囲情報キャッシュ51b、51cの更新を行う処理の手順の一例を示してある。
なお、図5には、3段目のNDR1cに備えられた多段検索型送信部43cにより行われる再初期化処理の手順の一例を示してあるが、他のNDR1bに備えられた多段検索型送信部43bについても同様である。
また、図5では、1段目のNDR1aを「a」で示してあり、2段目のNDR1bを「b」で示してあり、3段目のNDR1cを「c」で示してある。
FIG. 5 shows a procedure of processing for obtaining video data and updating the range information caches 51b and 51c when it is detected that the range information caches 51b and 51c are different from the entity (for example, being separated). An example is shown.
FIG. 5 shows an example of the re-initialization process performed by the multi-stage search type transmission unit 43c provided in the third-stage NDR 1c, but the multi-stage search type transmission provided in the other NDR 1b. The same applies to the portion 43b.
In FIG. 5, the first-stage NDR 1 a is indicated by “a”, the second-stage NDR 1 b is indicated by “b”, and the third-stage NDR 1 c is indicated by “c”.

本例の範囲情報キャッシュ51b、51cの再初期化処理では、例えば、図3に示される初期化処理と同様に、多段検索型送信部43cが、一段ずつ上流に映像データが存在するか否かを問い合わせながら、範囲情報を取得していく。
具体的には、図5に示される処理661〜676はそれぞれ図3に示される処理601〜616に対応しており、図3における範囲情報要求601、605、606、611、612が図5では映像要求661、665、666、671、672となっている。また、図5の処理676では、NDR1aの範囲情報(カメラへの接続情報を含む)と映像データを送信する。
In the re-initialization process of the range information caches 51b and 51c of this example, for example, as in the initialization process shown in FIG. 3, the multi-stage search type transmission unit 43c determines whether or not video data exists upstream by one stage. The range information is acquired while inquiring.
Specifically, the processes 661 to 676 shown in FIG. 5 correspond to the processes 601 to 616 shown in FIG. 3, respectively, and the range information requests 601, 605, 606, 611, and 612 in FIG. The image requests 661, 665, 666, 671, and 672 are provided. Further, in process 676 of FIG. 5, the NDR 1a range information (including connection information to the camera) and video data are transmitted.

ここで、本例では、多段検索型送信部43cが、一段ずつ上流に映像データが存在するか否かを確認する際に、最上流(カメラに接続しているもの)に達する前に、多段接続の中ほどのNDRにより映像データを取得することができた場合には、それより上流のNDRに対しては、映像を取得するための要求(映像要求)ではなく、範囲情報を取得するための要求(範囲情報要求)を一段ずつ上流のNDRに発行していき、これにより範囲情報を取得して範囲情報キャッシュ51cを更新する。
このように、NDR1b、1cでは、下流から上流に向かって希望する映像データを発見するまで順々に検索するに際して、同時に範囲情報を取得して当該NDR1b、1c内にキャッシュし、次回以降には、キャッシュした内容に基づいて希望する映像データを取得することができる。
Here, in this example, when the multi-stage search type transmission unit 43c checks whether or not video data exists upstream one by one, the multi-stage search type transmission unit 43c performs multi-stage search before reaching the most upstream (connected to the camera). When the video data can be acquired by the middle NDR of the connection, not the request (video request) for acquiring the video but the range information is acquired for the NDR upstream thereof. The request (range information request) is issued to the upstream NDR step by step, thereby acquiring the range information and updating the range information cache 51c.
As described above, in the NDRs 1b and 1c, when searching in order from the downstream to the upstream until the desired video data is found, the range information is simultaneously acquired and cached in the NDRs 1b and 1c. The desired video data can be acquired based on the cached contents.

次に、映像データの時刻情報について、実施例2を通じて説明する。
図6には、本発明の実施例2に係る映像記録装置の構成例を示してある。
本例の映像記録装置は、1段目のNDR1aに時計25aを明示的に備えて映像データの打刻を行い、NDR間の接続の他の例も同時に例示するものである。その他の言及しない構成は、図1に示した実施例1と実質的の同一である。 図6に示したように、NDR1bの備えるネットワークI/F21bと、NDR1aの備えるネットワークI/F21a(NDR型送信部43a)と、NDR1cの備えるネットワークI/F21c(NDR型送信部43c)と、LAN(サブネット)上の任意のクライアントPCとが、レイヤ3スイッチを介して接続されている。NDR1a、1cは通常遠距離にあるので、VPN(Virtual Private Network)や広域イーサネット(イーサネットは登録商標)等で接続される。
Next, time information of video data will be described through the second embodiment.
FIG. 6 shows a configuration example of a video recording apparatus according to the second embodiment of the present invention.
The video recording apparatus of this example explicitly includes a clock 25a in the first-stage NDR 1a to record video data, and simultaneously illustrates another example of connection between NDRs. Other configurations that are not mentioned are substantially the same as those of the first embodiment shown in FIG. As shown in FIG. 6, the network I / F 21b included in the NDR 1b, the network I / F 21a (NDR type transmission unit 43a) included in the NDR 1a, the network I / F 21c (NDR type transmission unit 43c) included in the NDR 1c, and the LAN Any client PC on the (subnet) is connected via a layer 3 switch. Since the NDRs 1a and 1c are usually at a long distance, they are connected by VPN (Virtual Private Network), wide area Ethernet (Ethernet is a registered trademark), or the like.

多段接続する各NDR1a〜1cは例えばNTP(Network Time Protocol)等により時刻同期が取られていることが望ましいが、必ずしも時刻同期が行われていることは期待できない。
従って、本例では、映像データの時刻情報としては、多段の各NDR1a〜1c間を転送される際に付け替えることはせずに、最初に打刻した時刻情報を維持する。多段接続されたNDR1a〜1cの内で映像の検索を行う際には、この時刻情報を用いる。
The NDRs 1a to 1c connected in multiple stages are desirably time-synchronized by, for example, NTP (Network Time Protocol) or the like, but it is not necessarily expected that time synchronization is performed.
Therefore, in this example, as the time information of the video data, the time information that is first stamped is maintained without being changed when the multi-stage NDRs 1a to 1c are transferred. This time information is used when searching for the video in the NDRs 1a to 1c connected in multiple stages.

本例では、映像データへの打刻は、多段における1段目のNDR1aのカメラ受信部42aがIPカメラA1からの映像データを取得した際に行い、当該カメラ受信部42aが当該1段目のNDR1aの時計25aにより計時される時刻の情報を用いて打刻を行う。
この時刻としては、本例では、協定世界時(UTC:Coordinated Universal Time)として、GMT(Greenwich Mean Time)を用いている。
各クライアントPC装置B1〜Bnでは、映像データを再生する際に、当該各クライアントPC装置B1〜Bnが有する地域情報を元にして、映像データに付与された世界協定時を現地の時刻へ変換してクライアント画面に表示する。
In this example, the video data is stamped when the camera receiving unit 42a of the first-stage NDR 1a in multiple stages acquires the video data from the IP camera A1, and the camera receiving unit 42a Time stamping is performed using time information measured by the clock 25a of the NDR 1a.
In this example, GMT (Greenwich Mean Time) is used as this time as Coordinated Universal Time (UTC).
When reproducing the video data, each client PC device B1 to Bn converts the globally agreed time given to the video data to the local time based on the regional information of each client PC device B1 to Bn. Displayed on the client screen.

ここで、IPカメラA1としては、例えば、機種によっては、映像データに時刻情報が付与されないものや、或いは、映像データに時刻情報が付与されるものであっても時計の精度が悪いものもあり、本例では、最上流のNDR1aで映像データの時刻を打刻することで統一した。
但し、プリ録画のように、IPカメラA1に一定時間バッファリングされてから映像データがNDR1aのカメラ受信部42aへ送信される場合には、IPカメラA1が映像データに付与するバッファリング時間の情報を利用する。具体的には、カメラ受信部42aは、映像データを取得した際に、NDR1aの時計25aに基づいて現在時刻を得て、この現在時刻からIPカメラA1から得たバッファリング時間を差し引いた時刻を、映像の時刻として付与する。
Here, as the IP camera A1, for example, depending on the model, there is a camera in which time information is not given to video data, or a clock with poor accuracy even if time information is given to video data. In this example, the time of the video data is standardized by the most upstream NDR 1a.
However, when the video data is transmitted to the camera receiving unit 42a of the NDR 1a after being buffered in the IP camera A1 for a certain time as in pre-recording, information on the buffering time that the IP camera A1 gives to the video data Is used. Specifically, the camera receiving unit 42a obtains the current time based on the clock 25a of the NDR 1a when acquiring the video data, and subtracts the buffering time obtained from the IP camera A1 from the current time. And given as the time of the video.

以上のように、本発明の各実施例に係る映像蓄積配信システムでは、次のような構成とした。
クライアントPC装置B1〜Bnの接続先となるNDR1a〜1cを多段に接続した映像記録装置を設け、多段のNDR1a〜1cの内から必要とする映像を検索してその映像のデータを取得して要求元のクライアントPC装置B1〜Bnへ送信する。
多段のNDR1a〜1cの間で映像データを送信(転送)する時に、映像データにNDRの範囲情報を付与する。例えば、多段接続時に、NDRは、下流側へ映像データを送信(転送)する際に、保持する最新の上流側のNDRの範囲情報と自装置(自己のNDR)の範囲情報を映像データに付与する。そして、下流側のNDRは、上流側のNDRの範囲情報を保持する。
最下流のNDRでは、映像データと共に取得した上流側の各NDRの範囲情報をキャシュしておき、クライアントPC装置B1〜Bnからの映像データの要求に合わせて、目的の映像データを保持するNDRから当該映像データを取得して、当該映像データを当該クライントPC装置B1〜Bnへ送信する。
As described above, the video storage / delivery system according to each embodiment of the present invention has the following configuration.
A video recording device is provided in which NDRs 1a to 1c to which the client PC devices B1 to Bn are connected are connected in multiple stages, a required video is retrieved from the multistage NDRs 1a to 1c, and data of the video is acquired and requested. Transmit to the original client PC devices B1 to Bn.
When transmitting (transferring) video data between the multistage NDRs 1a to 1c, NDR range information is added to the video data. For example, at the time of multi-stage connection, when transmitting (transferring) video data to the downstream side, the NDR adds the latest upstream NDR range information and the range information of its own device (own NDR) to the video data. To do. The downstream NDR holds the range information of the upstream NDR.
At the most downstream NDR, the range information of each upstream NDR acquired together with the video data is cached, and from the NDR holding the target video data in accordance with the video data request from the client PC devices B1 to Bn. The video data is acquired, and the video data is transmitted to the client PC devices B1 to Bn.

また、カメラ(本例では、IPカメラA1)と接続している最上流のNDR1aでは、映像取得時の時刻を元にして、映像データに時刻情報を付与する。そして、多段接続されたNDR1a〜1cの内から映像データを取得する検索キーとして、このような時刻情報を用いる。
また、映像データに付与する時刻情報をGMTの情報として、縦列されたNDR1a〜1cの内における時刻付与をGMTの情報で行う。カメラの時刻がローカル時刻を示している場合には、これをGMTへ変換して、映像データに時刻情報を付与する。
各クライントPC装置B1〜Bnでは、必要に応じて、GMTを当該各クライアントPC装置B1〜Bnの設置場所におけるローカル時刻へ変換して表示等する。
In the most upstream NDR 1a connected to the camera (in this example, the IP camera A1), time information is given to the video data based on the time when the video was acquired. Such time information is used as a search key for acquiring video data from the NDRs 1a to 1c connected in multiple stages.
Further, the time information to be added to the video data is set as GMT information, and the time addition in the cascaded NDRs 1a to 1c is performed with the GMT information. If the camera time indicates the local time, it is converted to GMT and time information is added to the video data.
In each of the client PC devices B1 to Bn, the GMT is converted into the local time at the installation location of the client PC devices B1 to Bn and displayed, if necessary.

従って、本例のカスケード型の映像記録装置では、例えば、複数のNDR1a〜1cが多段接続されていることを隠蔽して、クライアントPC装置B1〜Bnからはあたかも1台のNDRに接続しているように仮想的に見せかけることができる。また、基準となる時刻の情報を映像データに付与して、各装置が必要に応じて基準となる時刻と各地域などの時刻を変換するようにしたため、時刻の統一化を図ることができる。   Therefore, in the cascade-type video recording apparatus of this example, for example, it is concealed that a plurality of NDRs 1a to 1c are connected in multiple stages, and the client PC apparatuses B1 to Bn are connected to one NDR. It can appear virtually. In addition, since the reference time information is added to the video data so that each apparatus converts the reference time and the time of each region as necessary, the time can be unified.

なお、本例の最も上流(1段目)の映像処理機器(NDR)1aでは、カメラ受信部42aの機能により映像データの第1の入力手段が構成されており、記録デバイス12aの機能により映像データの第1の記録手段が構成されており、送信部43aの機能により映像データの第1の出力手段や範囲情報の第1の範囲出力手段が構成されており、カメラ受信部42aの機能や時計25aの機能により第1の時刻付与手段が構成されている。
また、本例の中段(i=2段目)の映像処理機器(NDR)1bでは、NDR間通信受信部42bの機能や多段検索型送信部43bの機能により映像データの第iの入力手段や範囲情報の第iの範囲入力手段が構成されており、記録デバイス12bの機能により映像データの第iの記録手段が構成されており、多段検索型送信部43bの機能により映像データの第iの出力手段や範囲情報の第iの範囲出力手段が構成されており、範囲情報キャッシュ51bの機能により範囲情報の第iの範囲記録手段が構成されている。
In the most upstream (first stage) video processing device (NDR) 1a in this example, the function of the camera receiving unit 42a constitutes the first input unit of video data, and the function of the recording device 12a A first data recording unit is configured, and a first output unit for video data and a first range output unit for range information are configured by the function of the transmission unit 43a. The function of the camera reception unit 42a The function of the timepiece 25a constitutes a first time giving means.
Further, in the middle stage (i = 2 stage) video processing device (NDR) 1b in this example, the i-th input means for video data and the function of the inter-NDR communication reception unit 42b and the function of the multi-stage search type transmission unit 43b The i-th range input means for the range information is configured, the i-th recording means for the video data is configured by the function of the recording device 12b, and the i-th range of the video data is configured by the function of the multistage search type transmission unit 43b. The output means and the i-th range output means for range information are configured, and the i-th range recording means for the range information is configured by the function of the range information cache 51b.

また、本例の最も下流(L=3段目)の映像処理機器(NDR)1cでは、NDR間通信受信部42cの機能や多段検索型送信部43cの機能により映像データの第Lの入力手段や範囲情報の第Lの範囲入力手段が構成されており、記録デバイス12cの機能により映像データの第Lの記録手段が構成されており、多段検索型送信部43cの機能により映像データの第Lの出力手段や範囲情報の第Lの範囲出力手段や映像データの第Lの要求入力手段や映像データの第Lの検索手段が構成されており、範囲情報キャッシュ51cの機能により範囲情報の第Lの範囲記録手段が構成されている。
なお、ここで示した各手段の構成は一例であり、他の種々な構成が用いられてもよい。
In the most downstream (L = third stage) video processing device (NDR) 1c of this example, the Lth input means for video data is provided by the function of the inter-NDR communication receiving unit 42c and the function of the multi-stage search type transmitting unit 43c. And L-th range input means for range information are configured, the L-th recording means for video data is configured by the function of the recording device 12c, and the L-th range input means for video data is configured by the function of the multistage search type transmission unit 43c. Output means, L-th range output means for range information, L-th request input means for video data, and L-th search means for video data, and the function of the range information cache 51c provides the Lth of range information. The range recording means is configured.
In addition, the structure of each means shown here is an example, and other various structures may be used.

本発明の一実施例に係る複数のNDRを多段接続した映像記録装置の構成例を示す図である。It is a figure which shows the structural example of the video recording apparatus which connected the several NDR which concerns on one Example of this invention in multistage. 範囲情報キャッシュに格納される範囲情報の一例を示す図である。It is a figure which shows an example of the range information stored in a range information cache. 多段検索型送信部の起動時における範囲情報キャッシュの更新処理の一例を示す図である。It is a figure which shows an example of the update process of the range information cache at the time of starting of a multistage search type | mold transmission part. 映像データの転送時における範囲情報キャッシュの更新処理の一例を示す図である。It is a figure which shows an example of the update process of the range information cache at the time of transfer of video data. 範囲情報キャッシュの再初期化処理の一例を示す図である。It is a figure which shows an example of the re-initialization process of a range information cache. 映像データの打刻を行う映像記録装置の構成例を示す図である。It is a figure which shows the structural example of the video recording apparatus which stamps video data. NDRを有する映像蓄積配信システムの構成例を示す図である。It is a figure which shows the structural example of the image | video accumulation | storage delivery system which has NDR. カメラ用の記録チャンネル領域への循環記録の様子の一例を示す図である。It is a figure which shows an example of the mode of the cyclic recording to the recording channel area | region for cameras. 複数のNDRを多段接続した映像記録装置の構成例を示す図である。It is a figure which shows the structural example of the video recording apparatus which connected the several NDR in multistage. 各NDRに格納された映像データの時刻関係の一例を示す図である。It is a figure which shows an example of the time relationship of the video data stored in each NDR.

符号の説明Explanation of symbols

1、101a〜101c・・NDR、 2・・ネットワーク、
11・・コンピューボード、 12、12a〜12c・・記録デバイス、
21・・ネットワークI/F、22・・記録デバイスI/F、 23・・メモリ、
24・・CPU、 25、25a・・時計、 26・・制御バス、 27・・RAMディスク、
31・・制御プログラム、
41、41a〜41c・・ディスク入出力部、
42・・受信部、 42a・・カメラ受信部、 42b、42c・・NDR間通信受信部、
43・・送信部、43a、43b、43c・・多段検索型送信部、
44、44a〜44c・・管理部、
51a、51b、51c・・範囲情報キャッシュ、
111b、111c・・NDR型送信部、
501・・記録チャンネル領域毎映像取得先情報、 502・・IPアドレス(URL)、 503・・ポート番号、 504・・接続チャンネル番号、
A1〜Am・・IPカメラ、
B1〜Bn・・クライアントPC装置、
C1〜Cm・・記録チャンネル領域、
1, 101a to 101c ·· NDR, 2 · · network,
11. Computer board 12, 12a to 12c Recording device
21 .. Network I / F, 22.. Recording device I / F, 23.
24, CPU, 25, 25a, Clock, 26, Control bus, 27, RAM disk,
31 .. Control program,
41, 41a to 41c... Disk input / output unit,
42..Receiver, 42a..Camera receiver, 42b, 42c..NDR communication receiver,
43 ··· Transmitter, 43a, 43b, 43c ··· Multi-stage search type transmitter,
44, 44a-44c .. management part,
51a, 51b, 51c .. range information cache,
111b, 111c... NDR type transmitter,
501 .. Video acquisition destination information for each recording channel area, 502 .. IP address (URL), 503 .. Port number, 504 .. Connection channel number,
A1-Am ... IP camera,
B1-Bn ... Client PC device,
C1-Cm..Recording channel area,

Claims (1)

複数であるL段の映像処理機器が縦列に接続される映像記録装置において、
1段目からL段目に向かって上流側から下流側とし、
1段目の映像処理機器は、外部から映像データを入力する第1の入力手段と、前記第1の入力手段により入力された映像データを記録する第1の記録手段と、前記第1の記録手段に記録された映像データを下流側の映像処理機器へ出力する第1の出力手段と、前記第1の記録手段に記録された映像データの範囲情報を下流側の映像処理機器へ出力する第1の範囲出力手段と、を備え、
i=2〜(L−1)の各値として、i段目の映像処理機器は、上流側の映像処理機器から出力された映像データを入力する第iの入力手段と、前記第iの入力手段により入力された映像データを記録する第iの記録手段と、前記第iの記録手段に記録された映像データを下流側の映像処理機器へ出力する第iの出力手段と、上流側の映像処理機器から出力された範囲情報を入力する第iの範囲入力手段と、前記第iの範囲入力手段により入力された範囲情報を記録する第iの範囲記録手段と、前記第iの記録手段に記録された映像データの範囲情報或いは前記第iの範囲記録手段に記録された上流側の映像処理機器における範囲情報の一方又は両方に基づく情報を下流側の映像処理機器へ出力する第iの範囲出力手段と、を備え、
L段目の映像処理機器は、上流側の映像処理機器から出力された映像データを入力する第Lの入力手段と、前記第Lの入力手段により入力された映像データを記録する第Lの記録手段と、上流側の映像処理機器から出力された範囲情報を入力する第Lの範囲入力手段と、前記第Lの範囲入力手段により入力された範囲情報を記録する第Lの範囲記録手段と、外部から映像データの要求を入力する第Lの要求入力手段と、前記第Lの要求入力手段により要求された映像データを検索する第Lの検索手段と、前記第Lの検索手段により検索された映像データを要求元に対して出力する第Lの出力手段と、前記第Lの記録手段に記録された映像データの範囲情報或いは前記第Lの範囲記録手段に記録された上流側の映像処理機器における範囲情報の一方又は両方に基づく情報を外部へ出力する第Lの範囲出力手段と、を備え、
前記した2段目〜L段目の映像処理機器のうちの1つ以上では、前記した範囲出力手段は、自己の機器における映像データの範囲と上流側の全ての映像処理機器における映像データの範囲をまとめた範囲の情報を出力する機能を有しており、
更に、前記した1段目の映像処理機器は、前記第1の入力手段により入力された映像データに基準となる時刻の情報を付与する第1の時刻付与手段を備え、
前記した映像データの要求は、前記映像データに付与される前記基準となる時刻の情報を用いて行われる、
ことを特徴とする映像記録装置。
In a video recording apparatus in which a plurality of L-stage video processing devices are connected in a column,
From the first stage to the L stage, from the upstream side to the downstream side,
The first-stage video processing device includes a first input unit that inputs video data from the outside, a first recording unit that records the video data input by the first input unit, and the first recording unit. A first output means for outputting the video data recorded in the means to the downstream video processing device, and a first output means for outputting the range information of the video data recorded in the first recording means to the downstream video processing device. 1 range output means,
As each value of i = 2 to (L−1), the i-th video processing device includes an i-th input means for inputting video data output from the upstream video processing device, and the i-th input. An i-th recording means for recording the video data input by the means, an i-th output means for outputting the video data recorded in the i-th recording means to a downstream video processing device, and an upstream video I-th range input means for inputting range information output from a processing device, i-th range recording means for recording range information input by the i-th range input means, and i-th recording means The i-th range for outputting information based on one or both of the range information of the recorded video data or the range information in the upstream video processing device recorded in the i-th range recording means to the downstream video processing device. An output means,
The L-stage video processing device has an L-th input means for inputting video data output from the upstream video processing device, and an L-th recording for recording the video data input by the L-th input means. Means, L-th range input means for inputting range information output from an upstream video processing device, and L-th range recording means for recording range information input by the L-th range input means, L-th request input means for inputting a request for video data from outside, L-th search means for searching for video data requested by the L-th request input means, and search by the L-th search means L-th output means for outputting video data to the request source, and range information of video data recorded in the L-th recording means or upstream video processing equipment recorded in the L-th range recording means Of range information in It comprises a first L range output means for outputting a rectangular or both based on information to the outside, the,
In one or more of the above-mentioned second to L-stage video processing devices, the range output means described above includes the range of video data in its own device and the range of video data in all upstream video processing devices. It has a function to output information in a range that summarizes
The first-stage video processing device further includes first time giving means for giving reference time information to the video data input by the first input means,
The request for the video data is performed using the reference time information given to the video data.
A video recording apparatus characterized by that.
JP2007188701A 2006-12-21 2007-07-19 Video recording device Active JP4822476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007188701A JP4822476B2 (en) 2006-12-21 2007-07-19 Video recording device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006343869 2006-12-21
JP2006343869 2006-12-21
JP2007188701A JP4822476B2 (en) 2006-12-21 2007-07-19 Video recording device

Publications (2)

Publication Number Publication Date
JP2008178059A true JP2008178059A (en) 2008-07-31
JP4822476B2 JP4822476B2 (en) 2011-11-24

Family

ID=39704711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007188701A Active JP4822476B2 (en) 2006-12-21 2007-07-19 Video recording device

Country Status (1)

Country Link
JP (1) JP4822476B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11284987A (en) * 1998-03-30 1999-10-15 Kumahira Safe Co Inc Image supervisory system
JP2003163928A (en) * 2001-11-22 2003-06-06 Nippon Telegr & Teleph Corp <Ntt> Image monitoring system
JP2005174390A (en) * 2003-12-08 2005-06-30 Canon Inc Recording device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11284987A (en) * 1998-03-30 1999-10-15 Kumahira Safe Co Inc Image supervisory system
JP2003163928A (en) * 2001-11-22 2003-06-06 Nippon Telegr & Teleph Corp <Ntt> Image monitoring system
JP2005174390A (en) * 2003-12-08 2005-06-30 Canon Inc Recording device

Also Published As

Publication number Publication date
JP4822476B2 (en) 2011-11-24

Similar Documents

Publication Publication Date Title
JP4426780B2 (en) Video recording / reproducing system and recording / reproducing method
US11269947B2 (en) Method and system for providing a federated wide area motion imagery collection service
US7761900B2 (en) Distribution of content and advertisement
EP1429517B1 (en) Access relaying apparatus
US8949420B2 (en) Content pre-fetching and preparation
US8165146B1 (en) System and method for storing/caching, searching for, and accessing data
US20080072264A1 (en) Distribution of content on a network
CN101147380B (en) Method and apparatus for efficiently expanding a P2P network
JP2005532748A (en) Caching including packet inspection for payload inspection, alert service, digital content delivery, and quality of service management, and selective multicasting in publish-subscribe networks
CN103051663A (en) Proxy caching in a photosharing peer-to-peer network to improve guest image viewing performance
US20060004576A1 (en) Server device
US7836091B2 (en) Systems and methods for providing access to an embedded thumbnail image
JP2993434B2 (en) Distributed hypermedia system
JP4822476B2 (en) Video recording device
JP2001216184A (en) Transmitter, receiver, transmission/reception system, transmitting method and receiving method
US9483575B2 (en) Reproducing a graphical user interface display
JP2010232715A (en) Service retrieval system, service retrieval method, and program for service retrieval
JP4755710B2 (en) Video surveillance system
Deshpande et al. IRIS: Internet-scale resource-intensive sensor services
JP2023090471A (en) Information processing system, server device, and program
JP2003242018A (en) Cache method and cache server
JP4243563B2 (en) Object connection destination notification device, object connection destination notification system, and object connection destination notification program
CN117648379A (en) Method and device for collecting and synchronizing time sequence data of different protocols
Deshpande et al. Mining a World of Smart Sensors
JP2019160040A (en) Data collection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110825

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: 20110901

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: 20110903

R150 Certificate of patent or registration of utility model

Ref document number: 4822476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140916

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