JP2007049681A - Network camera device and video frame transmission method of network camera device - Google Patents
Network camera device and video frame transmission method of network camera device Download PDFInfo
- Publication number
- JP2007049681A JP2007049681A JP2006173623A JP2006173623A JP2007049681A JP 2007049681 A JP2007049681 A JP 2007049681A JP 2006173623 A JP2006173623 A JP 2006173623A JP 2006173623 A JP2006173623 A JP 2006173623A JP 2007049681 A JP2007049681 A JP 2007049681A
- Authority
- JP
- Japan
- Prior art keywords
- video frame
- request
- transmission method
- unit
- network camera
- 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
Links
Images
Landscapes
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
【課題】 ライブ表示用の映像フレームの送信方法と録画用の映像フレームの送信方法とを選択的に実行処理する。
【解決手段】 撮影部において生成された映像フレームをクライアント装置に送信するためのネットワークカメラ装置において、受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、撮影部において生成された各映像フレームを保持手段に一時的に保持し、保持された各映像フレームを通信手段に送信させる処理を実行する。受信された映像フレームの送信方法のリクエストがライブ表示用の映像フレームの送信方法のリクエストである場合、撮影部において生成された映像フレームの中で最も新しいフレームを通信手段に送信させる処理を繰り返し実行する。
【選択図】 図1PROBLEM TO BE SOLVED: To selectively execute a transmission method of a video frame for live display and a transmission method of a video frame for recording.
In a network camera device for transmitting a video frame generated in a photographing unit to a client device, when a request for a transmission method of a received video frame is a request for a transmission method of a video frame for recording, Each video frame generated in the photographing unit is temporarily held in the holding unit, and processing for causing the communication unit to transmit each held video frame is executed. When the request for the transmission method of the received video frame is a request for the transmission method of the video frame for live display, the process of repeatedly transmitting the newest frame among the video frames generated in the photographing unit to the communication means is repeatedly executed. To do.
[Selection] Figure 1
Description
本発明は、ネットワークを介してカメラで撮影した映像を送信する技術に関するものである。 The present invention relates to a technique for transmitting video captured by a camera via a network.
ネットワークを介してカメラから出力されたライブ映像を表示し、HDDなどの記憶装置に保存する技術が存在する(特許文献1参照)。
帯域が可変なネットワークにおいてデータの送受信を行う場合は、特有の揺らぎによるランダムな遅延や、アクセスの集中による輻輳が発生する。すなわち、従来の技術では、撮影から表示までに要する時間が長くなるという課題や、録画する映像フレームが抜けてしまうという課題がある。 When data is transmitted / received in a network with a variable bandwidth, random delay due to characteristic fluctuations and congestion due to access concentration occur. That is, the conventional technique has a problem that the time required from shooting to display becomes long and a problem that a video frame to be recorded is lost.
上述した目的を達成するために、撮影部において生成された映像フレームをクライアント装置に送信するためのネットワークカメラ装置において、クライアント装置と通信する通信手段と、前記通信手段において、前記クライアント装置の映像フレームの送信方法のリクエストが受信された場合、受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストであるか、あるいはライブ表示用の映像フレームの送信方法のリクエストであるかを判断する制御手段とを有し、前記制御手段は、受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、前記撮影部において生成された各映像フレームを前記通信手段に送信させる処理を実行し、受信された映像フレームの送信方法のリクエストがライブ表示用の映像フレームの送信方法のリクエストである場合、最新のフレームを前記通信手段に送信させる処理を繰り返し実行することを特徴とするネットワークカメラ装置を提供する。 In order to achieve the above-described object, in a network camera device for transmitting a video frame generated in a photographing unit to a client device, a communication unit that communicates with the client device, and a video frame of the client device in the communication unit When a request for a transmission method is received, a request for a transmission method of a received video frame is a request for a transmission method of a video frame for recording, or a request for a transmission method of a video frame for live display Control means for determining whether the received video frame transmission method request is a video frame transmission method request for recording. A process for transmitting the frame to the communication means is executed, and the received image is received. If the request transmission method of the frame is a request for transmitting method of the video frames for the live display, to provide a network camera apparatus characterized by repeatedly executing the processing for transmitting the latest frame to the communication unit.
本発明によれば、ライブ表示用の映像フレームの送信方法と録画用の映像フレームの送信方法とを選択的に実行処理することが可能となる。そのため、クライアント装置側の個々の要求に対応した映像フレームの送信を行うことができる。 According to the present invention, it is possible to selectively execute a transmission method of a video frame for live display and a transmission method of a video frame for recording. Therefore, it is possible to transmit a video frame corresponding to each request on the client device side.
(第1の実施の形態)
以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.
図1はネットワークカメラ装置の構成図である。図1において、ネットワークカメラ装置1は撮影した映像をネットワークに送信する。撮影部11は被写体を撮影し、映像フレームを出力する。
FIG. 1 is a configuration diagram of a network camera device. In FIG. 1, a network camera device 1 transmits a captured video to a network. The photographing
撮影用一時記憶部15は、撮影部11内の処理に際して映像フレームを一時記憶する。処理部12は、ネットワークカメラ装置全体を制御する。一時記憶部13は、撮影した映像フレームを一時記憶する。通信部14は、クライアント装置との通信を制御する。通信用一時記憶部16は、通信部14の処理に際して通信データを一時記憶する。
The temporary
撮影部11は、CCDなどの撮像素子、撮像素子からの画像信号をA/D変換し、色信号処理および圧縮処理などを行う画像処理回路、および撮影部11を制御する制御回路を有する。また、撮影部11は、画像処理回路によって得られた映像フレームごとに撮影時刻の情報を付加する。
The
撮影用一時記憶部15は、撮影部11の撮影の処理において映像フレームを一時記録する半導体メモリなどの揮発性メモリを有する。
The photographing
処理部12は、プログラムを記憶するROM,ROMから読み出したプログラムを一時的に記憶するRAMを有する。さらに、処理部12は、RAMによって一時的に記憶されたプログラムに基づいてネットワークカメラ装置1の全体を制御するCPUなどの処理装置を有する。
The
一時記憶部13は、ハードディスクやフラッシュメモリなどの不揮発性メモリを有する。通信用一時記憶部16は、通信部14から送信する映像フレームもしくはクライアント装置から受信したリクエストを一時記憶する半導体メモリなどの揮発性メモリを有する。
The
通信部14は、映像フレームの送信およびクライアント装置からのリクエストの受信を行う通信回路である。通信部14は、クライアント装置から受信したリクエストを処理部12に出力すると、通信用一時記憶部16に記憶したリクエストを削除する。
The
ネットワークカメラ装置1は、ライブ表示用の映像フレームの送信方法と録画用の映像フレームの送信方法を有する。なお、「ライブ表示」とは、クライアント装置において、ネットワークカメラ装置1の撮影部11において生成され、通信部14から配信された映像フレームをリアルタイム表示することを指す。
The network camera device 1 has a method for transmitting a video frame for live display and a method for transmitting a video frame for recording. Note that “live display” refers to real-time display of a video frame generated in the photographing
図2は、本実施の形態におけるネットワークカメラシステムの全体構成図である。図2において、ネットワークカメラ装置1の構成は、図1と同様であるのでその説明を省略する。表示装置2および記録装置3は、クライアント装置として機能するものである。表示装置2および記録装置3は、ネットワークカメラ装置1とインターネットなどのネットワークを介して通信できる。
FIG. 2 is an overall configuration diagram of the network camera system according to the present embodiment. 2, the configuration of the network camera device 1 is the same as that in FIG. The display device 2 and the
表示装置2は、通信部21,処理部22,および映像表示部23を有する。
The display device 2 includes a communication unit 21, a
通信部21は、ネットワークを介してネットワークカメラ装置1などとの情報のやり取りを行う回路である。例えば、通信部21は、ネットワークカメラ装置1に対してライブ表示用の映像フレームの送信リクエストあるいはフレームレートのリクエストを送信する。このリクエストには、記録装置3およびネットワークカメラ1のアドレスが含まれる。処理部22は、プログラムを記憶するROM,ROMから読み出したプログラムを一時的に記憶するRAM,RAMによって一時的に記憶されたプログラムに基づいて表示装置2全体を制御するCPUからなる。映像表示部23は、LCDなどのディスプレイデバイスからなり、ネットワークカメラ装置1から配信された映像フレームに基づいて映像を表示する。
The communication unit 21 is a circuit that exchanges information with the network camera device 1 and the like via a network. For example, the communication unit 21 transmits a transmission request for a video frame for live display or a request for a frame rate to the network camera device 1. This request includes the addresses of the
記録装置3は、通信部31,映像記録部32,および処理部33を有する。
The
通信部31は、ネットワークを介してネットワークカメラ装置1などとの情報のやり取りを行う回路である。例えば、通信部31は、ネットワークカメラ装置に対してライブ表示用の映像フレームの送信リクエストあるいはフレームレートのリクエストを送信する。映像記録部32は、ハードディスクドライブなどの大容量の不揮発性の記録媒体を有する。処理部33は、プログラムを記憶するROM,ROMから読み出したプログラムを一時的に記憶するRAM,RAMによって一時的に記憶されたプログラムに基づいて表示装置2全体を制御するCPUなどの処理装置からなる。
The
図6は、処理部12が実行する送信方法の選択処理に関するフローチャートである。
FIG. 6 is a flowchart regarding a transmission method selection process executed by the
処理部12は、通信部14が受信したクライアント装置からのリクエストを解析する。解析の結果、リクエストが録画用の映像フレームの送信リクエストであると判別した場合(S601/Yes)、処理部12は、撮影部11に対して録画用の撮影処理を実行させる。それとともに、処理部12は、録画用の映像フレームの送信処理の実行を開始する。
The
一方、リクエストが録画用の映像フレームの送信リクエストでないと判別した場合(S601/No)、処理部12は、ライブ表示用の映像フレームの送信リクエストであるか否かを判別する(S602)。
On the other hand, if it is determined that the request is not a video frame transmission request for recording (S601 / No), the
ライブ表示用の映像フレームの送信リクエストであると判別した場合(S602/Yes)、処理部12は、撮影部11に対してライブ表示用の撮影処理を実行させるとともに、ライブ表示用の映像フレームの送信処理を実行する(S604)。
When it is determined that the request is a transmission request for a video frame for live display (S602 / Yes), the
ライブ表示用の映像フレームの送信リクエストでないと判別した場合(S602/No)、リクエストに対してエラー信号を通信部14に返信させる(S603)。
When it is determined that the request is not a transmission request for a video frame for live display (S602 / No), an error signal is returned to the
図3〜5はネットワークカメラ装置1から送信される映像フレームの時刻を示すタイミングチャートである。 3 to 5 are timing charts showing the times of video frames transmitted from the network camera device 1.
図3〜5において、「T1」は、撮影部11において、被写体を撮影することによって得られた画像信号に基づいて映像フレームが生成される時刻を示す。なお、実際には、撮影部11の撮像素子の撮影時刻と、映像フレームが生成される生成時刻とは微妙に異なるが、以下では、等価なものとして説明する。また、撮影部11の撮像素子の撮影間隔と映像フレームの生成間隔に関しても等価なものとして説明する。
3 to 5, “T1” indicates a time at which the video frame is generated based on the image signal obtained by shooting the subject in the
「T2」は、通信部14において、映像フレームをクライアント装置に送信した時刻を示す。「T3」は、表示装置2または記録装置3などのクライアント装置が映像フレームを受信する時刻を示す。T11はネットワークカメラ装置1から送信する映像フレームのフレームレートに対応する映像フレームの時間間隔である。
“T2” indicates the time at which the
図3は、ネットワークカメラ装置1からクライアント装置に、遅延することなく映像フレームが送信された場合のタイミングチャートを示している。図3は、ライブ表示用と録画用の両方の映像フレーム送信処理におけるタイミングチャートを示している。 FIG. 3 shows a timing chart when a video frame is transmitted without delay from the network camera device 1 to the client device. FIG. 3 shows a timing chart in video frame transmission processing for both live display and recording.
図3において、ある時刻t1に撮影部11で生成された映像フレームは、処理部12の処理によって通信部14に出力される。撮影部11から通信部14への映像フレームの出力はT1からT2への矢印で示される。また、撮影部11から通信部14へ映像フレームの出力に要した時間はT21である。
In FIG. 3, the video frame generated by the photographing
そして、時刻t1で撮影部11で生成された映像フレームは、通信部14からクライアント装置に送信される。通信部14からクライアント装置への送信はT2からT3の矢印で示され、クライアント装置への送信に要した時間はT31である。
Then, the video frame generated by the photographing
図3に示す遅延することなく映像フレームが送信された場合のタイミングチャートでは、T21とT31の合計が映像フレームの時間間隔T11よりも小さくなる。そして、時刻t1から時間T11経過後に撮影部11において映像フレームが生成され、同様の処理が繰り返される。
In the timing chart when the video frame is transmitted without delay shown in FIG. 3, the sum of T21 and T31 is smaller than the time interval T11 of the video frame. Then, after the time T11 has elapsed from time t1, a video frame is generated in the photographing
図4は、ネットワークの輻輳などにより送信が遅延した場合のライブ表示用の映像フレームの送信処理におけるタイミングチャートである。 FIG. 4 is a timing chart in transmission processing of a video frame for live display when transmission is delayed due to network congestion or the like.
図4において、時刻t2において生成された映像フレームの通信部14への出力は、時間T22経過後に完了する。そして、通信部14からクライアント装置へ時間T32後に映像フレームの送信が完了する。
In FIG. 4, the output of the video frame generated at time t2 to the
ネットワークの輻輳などにより、映像フレームの送信にかかる時間T32はT31と比べて大きくなっている。すなわち、図4のタイミングチャートは、撮影部11からクライアント装置に映像フレームの送信が完了する時間であるT22とT32の合計が映像フレームの生成間隔T11よりも大きくなる場合を示している。ライブ表示用の映像フレームの送信処理では、映像フレームの生成間隔より直前の映像フレームの送信時間が長い場合、直前の映像フレームの送信完了に応じて次の映像フレームの送信処理が開始される。
Due to network congestion and the like, the time T32 required to transmit the video frame is longer than T31. That is, the timing chart of FIG. 4 shows a case where the sum of T22 and T32, which is the time for completing transmission of the video frame from the photographing
処理部12は、時刻t2からT11時間経過後の時刻t3に撮影部11で生成された映像フレームを通信部14に送信する。通信部14は、時刻t2からT11+T12後の時刻t5まで、前の映像フレームの送信を行っている。そのため、時刻t3で生成された映像フレームのクライアント装置への転送は、時刻t5に開始されることになる。なお、t3で生成された映像フレームに対して、クライアント装置に送信されるまでの間に送信処理が行われていない時間(T12−T23)が存在している。
The
時刻t5に撮影部11で生成された映像フレームの撮影部11から通信部14への送信にかかる時間は、時間T24である。そして、時刻t5に撮影部11で生成された映像フレームの通信部14からクライアント装置への送信にかかかる時間は、時間T34である。ここで、時間T24,T34が時刻t3において生成された映像フレームの送信処理とそれぞれ同じである(T23=T24、T33=T34)とする。この場合、撮影されてからクライアント装置に送信されるまでの時間は、時刻t5において生成された映像フレームの方が時刻t3で生成された映像フレームよりも短い。
The time required for transmission of the video frame generated by the photographing
ライブ表示用の送信において、撮影されてからクライアント装置に送信されるまでに要する時間を短くすることが目的である。そのため、ライブ表示用の映像フレームの送信処理では、映像フレームの生成間隔より送信処理に時間を要した場合、映像フレームの送信完了にともなって、処理部12が撮影部11に映像フレームの生成を指示する。そして、生成された映像フレームをクライアント装置に送信する。撮影部11において生成された映像フレームを送信する。すなわち、図4のタイミングチャートにおいて、時刻t3では映像フレームの撮影と送信は行わず、時刻t5で撮影部11において生成された映像フレームを送信する処理が実行される。
The purpose of the transmission for live display is to shorten the time required from the shooting to the transmission to the client device. Therefore, in the transmission process of the video frame for live display, when the transmission process takes time from the generation interval of the video frame, the
図5は、ネットワークの輻輳などにより送信が遅延した場合の録画用の映像フレーム送信処理におけるタイミングチャートである。 FIG. 5 is a timing chart in video frame transmission processing for recording when transmission is delayed due to network congestion or the like.
図5において、時刻t2において、撮影部11で生成された映像フレームのクライアント装置への送信は遅延している。時刻t2において生成された映像フレームのクライアント装置への送信完了時間T22+T32は、映像フレームの生成間隔T11よりも大きい。
In FIG. 5, at time t2, transmission of the video frame generated by the photographing
録画用の映像フレームの送信処理において、映像フレームのリアルタイム性は重要でない。録画用の映像フレームの送信処理では、生成された映像フレームを確実に送信することを優先して処理が行われる。 In transmission processing of video frames for recording, the real-time property of video frames is not important. In the transmission process of the video frame for recording, the process is performed with priority given to reliably transmitting the generated video frame.
図5のタイミングチャートの時刻t3において、通信部14は、前の映像フレーム(時刻t2において生成された映像フレーム)をクライアント装置に送信している状態である。そして、前の映像フレームの送信が完了した時刻t5に時刻t3で生成された映像フレームの送信が開始される。
At time t3 in the timing chart of FIG. 5, the
図7は、処理部12によって実行されるライブ表示用の映像フレームの送信処理を示すフローチャートである。ライブ表示用の映像フレームの送信処理は、撮影部11より取得される最新の映像フレームを送信する処理が行われる。
FIG. 7 is a flowchart showing a live display video frame transmission process executed by the
処理部12は、クライアント装置からの映像送信のリクエスト、もしくは予め設定されたネットワークカメラ装置1の設定値に基づいて、撮影部11において生成される映像フレームのフレームレートを決定する。なお、図7の処理におけるクライアント装置は表示装置2である。そして、決定されたフレームレート(枚/秒)の値に対応する映像フレームの生成間隔(撮影間隔)を算出する(S701)。
The
処理部12は、撮影部11に撮影動作を開始させ、算出した間隔ごとに映像フレームを生成させる。そして、処理部12は、撮影用一時記憶部15に記憶された映像フレームを取得する(S702)。
The
処理部12は、撮影部11から取得した映像フレームを通信部14に出力し、通信用一時記憶部16に記憶させる。そして、処理部12は、通信部14に対してリクエストの送信元のクライアント装置に通信用一時記憶部16に記憶された映像フレームを送信させる(S703)。
The
次に、処理部12は、前回の映像フレームが撮影部11において生成され、出力が開始された時刻(撮影時刻)からの時間が、ステップS701で算出した撮影間隔と同じになったか否かを判別する(S704)。出力が開始された時刻(撮影時刻)からの時間が撮影間隔となっていない場合(S704/No)、処理部12は、待機する(S705)。
Next, the
一方、出力が開始された時刻(撮影時刻)からの時間が撮影間隔を超えている場合(S704/Yes)、処理部12は、S703で通信部14に命令した映像フレームの送信が完了しているかを確認する(S706)。通信部14が映像フレームの送信を完了していない場合(S706/No)、処理部12は、通信部14にS703で命令した映像フレームの送信処理を継続させる(S707)。
On the other hand, when the time from the time when the output is started (shooting time) exceeds the shooting interval (S704 / Yes), the
通信部14がS703で命令した映像フレームの通信を完了している場合(S706/Yes)、映像フレームの送信を継続するか否かを判断する。処理部12は、クライアント装置から送信終了のリクエストを受信しているか否か、あるいは、クライアント装置の通信状況などに基づいて、映像フレーム送信の継続の可否判断をする(S708)。
If the
映像フレームの送信を継続する場合(S708/Yes)、処理部12は、S702からの処理を繰り返し実行する。すなわち、撮影間隔内で直前の映像フレームの送信処理が完了している場合、処理部12は、算出された撮影間隔で撮影部11から映像フレームを取得する。また、撮影間隔を超えて直前の映像フレームの送信処理が完了した場合、処理部12は、最新の映像フレームを送信するために、送信が完了したときに撮影部11から映像フレームを取得する。
When the transmission of the video frame is continued (S708 / Yes), the
映像の送信を継続しない場合(S708/No)、処理部12は、映像送信のための撮影と送信の制御処理を終了する。
When the video transmission is not continued (S708 / No), the
図8は、処理部12によって実行される録画用の映像フレームの送信処理フローチャートである。また、図9は、処理部12によって実行される録画用の映像フレームの送信処理フローチャートである。録画用の映像フレームの送信処理は、撮影部11より取得した各映像フレームをすべて送信する処理が行われる。なお、図8,9の処理におけるクライアント装置は録画装置3である。
FIG. 8 is a flowchart of video recording transmission processing executed by the
図8において、処理部12は、クライアント装置からの映像送信のリクエスト、もしくは予め設定されたネットワークカメラ装置1の設定値に基づいて、撮影部11において生成される映像フレームのフレームレートを決定する。そして、処理部12は、決定されたフレームレートの値に対応する映像フレームの生成間隔(撮影間隔)を算出する(S801)。
In FIG. 8, the
処理部12は、撮影部11に映像フレームの生成処理を実行させる。そして、処理部12は、撮影用一時記憶部15に記憶された映像フレームを取得する(S802)。そして、処理部12は、撮影部11から取得した映像フレームを一時記憶部13に記憶する(S803)。
The
処理部12は、直前のS802で撮影した時刻から、S801で算出した撮影間隔が経過するまで次の処理の実行を待機する(S804)。
The
処理部12は、映像の送信を継続するか否かを、送信終了のリクエストの受信の有無、クライアント装置の通信状況などに基づいて判断する(S805)。
The
映像の送信を継続する場合(S805/Yes)、処理部12は、S802からS804までの処理を繰り返す。映像の送信を継続しない場合(S805/No)、処理部12は、映像送信のための撮影の制御処理を終了する。
When the video transmission is continued (S805 / Yes), the
図9おいて、処理部12は、まず、S901において、同時に実行される図8の処理により一時記憶部13に映像フレームを記憶したか否かを確認する。
In FIG. 9, the
一時記憶部13に映像フレームが記憶されていない場合(S901/No)、処理部12は、一時記憶部に映像フレームが記憶されているかを判断する処理を継続する。
When the video frame is not stored in the temporary storage unit 13 (S901 / No), the
一時記憶部13に映像フレームが記憶されている場合(S901/Yes)、処理部12は、記憶された映像フレームの中から、最も古い時刻に撮影された映像フレームを検索する(S902)。この検索処理は、映像フレームごとに付加されている撮影時刻情報を参照する処理が行われる。
When the video frame is stored in the temporary storage unit 13 (S901 / Yes), the
次に、処理部12は、S902において検索された映像フレームを通信部14に送り、通信用一時記憶部16に記憶させる。そして、処理部12は、通信部14に対して、映像フレームのリクエストの送信元のクライアント装置に通信用一時記憶部16に記憶された映像フレームを送信させる(S903)。
Next, the
処理部12は、S903において通信部14から映像フレームの送信の完了通知を受けると、S902で検索された映像フレームを一時記憶部13から削除する(S904)。
Upon receiving a video frame transmission completion notification from the
処理部12は、映像の送信を継続するか否かを、送信終了のリクエストの受信の有無、映像送信先の通信状況などに基づいて判断する(S905)。
The
映像の送信を継続する場合(S905/Yes)、処理部12は、S901からS904の処理を繰り返す。映像の送信を継続しない場合(S905/No)、処理部12は、映像送信のための送信の制御処理を終了する。
When the video transmission is continued (S905 / Yes), the
以上説明したように、本実施の形態によれば、クライアント装置の要求に応じて適切な映像フレームの配信を行うことができる。 As described above, according to the present embodiment, an appropriate video frame can be distributed in response to a request from a client device.
(第2の実施の形態)
次に、第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment will be described.
第2の実施形態は、録画用の映像フレームの送信処理が第1の実施の形態と異なる。その他は同じ構成・処理であるので、説明を省略する。 The second embodiment differs from the first embodiment in the transmission process of video frames for recording. Others are the same configuration and processing, and thus the description is omitted.
図10は、処理部12によって実行される録画用の映像送信処理を示すフローチャートである。図10において、図8と同じ符号のS801,802,804,805は同じ処理を示すので、その説明を省略する。
FIG. 10 is a flowchart showing a video transmission process for recording executed by the
処理部12は、通信部14の処理状態に関する情報を通信部14より取得する。そして、処理部12は、この通信部14が通信部14の処理状態に関する情報に基づいて、録画用の映像送信の処理における映像フレームの送信処理を現在実行中であるか否かを判断する(S1003)。
The
通信部14が録画用の映像送信の処理における映像フレームの送信を実行中である場合(S1003/Yes)、処理部12は、取得した映像フレームを通信部14から送信することなく一時記憶部13に記憶する(S1005)。すなわち、直前の映像フレームの送信が完了していない場合、処理部12は、取得した映像フレームを通信部14から送信することなく一時記憶部13に記憶する。
When the
通信部14が録画用の映像送信の処理における映像フレームの送信を実行中でない場合(S1003/No)、処理部12は、取得した映像フレームを通信部14の通信用一時記憶部16に記憶させる。そして、通信部14にリクエストの送信元であるクライアント装置に送信させる(S1004)。
When the
図10における録画用の映像フレームの送信方法においては、通信状態によっては映像フレームが送信されずに一時記憶部13に記憶されることがある。一時記憶部13に記憶された映像フレームは、撮影の時刻やIDなどの映像フレームを特定する情報を含む再送のリクエストを受けてネットワークカメラ装置1から送信される。
In the video frame transmission method for recording in FIG. 10, the video frame may be stored in the
図11は、一時記憶部13に記憶された映像フレームの再送のリクエストによる処理部12で行われる映像フレームの送信の制御処理を示すフローチャートであり、図11を参照しながら動作を説明する。
FIG. 11 is a flowchart showing a video frame transmission control process performed by the
処理部12は、受信したリクエストが映像フレームの再送のリクエストであるか否かを判断する(S1101)。
The
再送のリクエストでない場合(S1101/No)、処理部12による再送の処理を終了する。再送のリクエストである場合(S1101/Yes)、処理部12は、再送のリクエストによって時刻指定された映像フレームを、一時記憶部13に記憶されている映像フレームの中から検索する(S1102)。
If the request is not a retransmission request (S1101 / No), the retransmission process by the
検索の結果、処理部12は、指定された映像フレームが一時記憶部13に存在するか否かを判断する(S1103)。
As a result of the search, the
一時記憶部に指定された映像フレームが存在しない場合(S1103/No)、処理部12は、再送のリクエストを送信したクライアント装置に対してエラー通知を行い、再送の処理を終了する。
When the video frame designated in the temporary storage unit does not exist (S1103 / No), the
一時記憶部に指定された映像フレームが存在する場合(S1103/Yes)、処理部12は、検索された映像フレームを通信部14の通信用一時記憶部16に記憶させる。そして、処理部12は、通信部14に対して再送のリクエストの送信元に送信させ、再送処理を終了させる(S1104)。
If the designated video frame exists in the temporary storage unit (S1103 / Yes), the
図12は、記録装置3がネットワークカメラ装置1から映像フレームを受信したときに処理部33が実行する動作処理のフローチャートを示している。
FIG. 12 shows a flowchart of operation processing executed by the processing unit 33 when the
記録装置3において、処理部33は、受信した映像フレームに付加された当該映像フレームの生成時刻情報(撮影部11の撮影時刻情報)を取得する(S1201)。
In the
処理部33は、処理部33のRAMに記憶されたフレームレートのリクエストの履歴情報に基づいて、S1201で取得した撮影時刻のときのフレームレート(撮影間隔)を推定する(S1202)。なお、記録装置3から出力されるフレームレートのリクエストには、映像フレームの生成時刻(撮影部11の撮影時刻)とそのときのフレームレートを指定するコマンドが含まれる。
Based on the frame rate request history information stored in the RAM of the processing unit 33, the processing unit 33 estimates the frame rate (shooting interval) at the shooting time acquired in S1201 (S1202). The frame rate request output from the
処理部33は、S1201において得られた映像フレームの生成時刻と、その直前の映像記録部32に記録された映像フレームの生成時刻とに基づいて、受信した映像フレームとその直前の映像フレームの生成間隔(撮影間隔)を求める。処理部33は、求めた映像フレームの間隔とS1202で推定した撮影間隔から、受信した映像フレームの撮影時刻の周辺に映像フレームの抜けがないか否かを解析する(S1203)。
The processing unit 33 generates the received video frame and the immediately preceding video frame based on the generation time of the video frame obtained in S1201 and the generation time of the video frame recorded in the immediately preceding
映像フレームの抜けが存在する場合(S1204/Yes)、処理部33は、映像フレームの抜けている部分の再送リクエストを生成し、ネットワークカメラ装置1に送信する(S1205)。再送リクエストには、S1202で推定した撮影間隔と、S1201において得られた映像フレームの生成時刻とに基づいて求められた取得していない映像フレームの生成時刻(撮影部11の撮影時刻)情報が含まれる。また、再送リクエストには、さらに記録装置3およびネットワークカメラ1のアドレスが含まれる。
If there is a missing video frame (S1204 / Yes), the processing unit 33 generates a retransmission request for the missing video frame and transmits it to the network camera device 1 (S1205). The retransmission request includes information on the generation time (shooting time of the shooting unit 11) of an unacquired video frame obtained based on the shooting interval estimated in S1202 and the generation time of the video frame obtained in S1201. It is. The retransmission request further includes addresses of the
映像フレームの抜けが存在しない場合(S1204/No)、処理部33は、受信した映像フレームを映像記録部32に記録する(S1206)。 If there is no missing video frame (S1204 / No), the processing unit 33 records the received video frame in the video recording unit 32 (S1206).
以上説明したように、録画用の映像フレームのリクエストに対しては、映像フレームが抜けた場合に再送を行うため、確実な映像フレームの記録が可能となる。また、一時記憶部13には、連続した映像フレームが蓄積される可能性が少なくなる。そのため、長期間にわたって映像フレームが記録されないことがなくなる。
As described above, since a video frame request for recording is retransmitted when the video frame is lost, it is possible to record the video frame reliably. Further, the possibility that consecutive video frames are accumulated in the
なお、上述した各実施の形態では、ネットワークカメラ装置1において、撮影部1が生成する映像フレームの間隔(フレームレート)を処理部が制御する形態を示した。さらに、本願発明は、撮影部11と、ネットワークカメラ装置1のその他の構成とが物理的かつ機能的に分離され、ケーブルなどによってしていてもよい。
In each of the above-described embodiments, the network camera device 1 has shown a form in which the processing unit controls the interval (frame rate) between video frames generated by the photographing unit 1. Further, in the present invention, the photographing
すなわち、処理部12が設定したフレームレートではなく、撮影部11において予め設定されたフレームレート(例えば、30フレーム/秒)で配信された映像フレームを処理部12が受動的に処理する形態においても適用することができる。この形態の場合、図7のライブ用の映像フレームの送信処理は、次のようになる。まず、S701において、撮影間隔を算出する処理に代えて、撮影間隔(映像フレームの生成間隔)に関する情報を撮影部11より取得する。これは、S704の判断に用いるための処理である。そして、S702において、撮影間隔ごとに撮影部11より取得した映像フレームを一時記憶部13に記憶する。一時記憶部13に記憶される映像フレームは、撮影部11から新たな映像フレームが取得されるごとに更新される。すなわち、一時記憶部13に記憶される映像フレームは常に最新の映像フレームが記憶されることになる。そして、S703において、処理部12は、一時記憶部13に記憶された最新の映像フレームを通信部14に送信させる。一方、図8の録画用の映像フレームの送信処理は、S801において、撮影間隔を算出する処理に代えて、撮影間隔(映像フレームの生成間隔)に関する情報を撮影部11より取得する処理が行われる。これは、S704の判断に用いるための処理である。
In other words, not in the frame rate set by the
1 ネットワークカメラ装置
2 表示装置
3 記録装置
11 撮影部
12 処理部
13 一時記憶部
14 通信部
DESCRIPTION OF SYMBOLS 1 Network camera apparatus 2
Claims (10)
クライアント装置と通信する通信手段と、
前記通信手段において、前記クライアント装置の映像フレームの送信方法のリクエストが受信された場合、受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストであるか、あるいはライブ表示用の映像フレームの送信方法のリクエストであるかを判断する制御手段とを有し、
前記制御手段は、
受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、前記撮影部において生成された各映像フレームを前記通信手段に送信させる処理を実行し、
受信された映像フレームの送信方法のリクエストがライブ表示用の映像フレームの送信方法のリクエストである場合、最新の映像フレームを前記通信手段に送信させることを特徴とするネットワークカメラ装置。 In a network camera device for transmitting a video frame generated in a photographing unit to a client device,
Communication means for communicating with the client device;
In the communication means, when a request for a video frame transmission method of the client device is received, the received video frame transmission method request is a request for a video frame transmission method for recording, or a live display Control means for determining whether the request is a request for a video frame transmission method,
The control means includes
When the received video frame transmission method request is a recording video frame transmission method request, a process of causing the communication means to transmit each video frame generated in the imaging unit is executed.
The network camera device, wherein when the received request for a transmission method of a video frame is a request for a transmission method of a video frame for live display, the latest video frame is transmitted to the communication unit.
受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、前記制御手段は、前記撮影部において生成された時刻順に前記保持手段に保持された各映像フレームを送信する処理を実行させることを特徴とするネットワークカメラ装置。 In Claim 1, It has a holding means to hold a picture frame temporarily,
When the received video frame transmission method request is a request for recording video frame transmission method, the control unit displays each video frame held in the holding unit in the order of time generated in the photographing unit. A network camera device, characterized by causing a process to be transmitted to be executed.
前記保持手段に保持される映像フレームは、前の映像フレームの送信が映像フレームの生成間隔より遅れたことにより、前記撮影ユニットにおいて生成された時刻順に各映像フレームを送信されなかった映像フレームであり、前記制御手段は、前記クライアント装置からの再送リクエストに応じて前記保持手段に保持される映像フレームを前記通信手段に送信させることを特徴とするネットワークカメラ装置。 In Claim 1, It has a holding means to hold a picture frame temporarily,
The video frame held in the holding means is a video frame in which each video frame was not transmitted in the order of time generated in the photographing unit because transmission of the previous video frame was delayed from the generation interval of the video frame. The control unit causes the communication unit to transmit a video frame held in the holding unit in response to a retransmission request from the client device.
クライアント装置と通信するための通信部において、前記クライアント装置の映像フレームの送信方法のリクエストが受信された場合、受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストであるか、あるいはライブ表示用の映像フレームの送信方法のリクエストであるかを処理部が判断する判断ステップと、
受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、前記処理部が、撮影部において生成された各映像フレームを前記通信部に送信させる第1の映像フレーム送信ステップと、
受信された映像フレームの送信方法のリクエストがライブ表示用の映像フレームの送信方法のリクエストである場合、最新のフレームを送信する処理を繰り返し実行する第2の映像フレーム送信ステップとを有することを特徴とするネットワークカメラ装置の映像フレーム送信方法。 A video frame transmission method of a network camera device for transmitting a video frame generated in a photographing unit to a client device,
In the communication unit for communicating with the client device, when a request for the transmission method of the video frame of the client device is received, the request for the transmission method of the received video frame is a request for the transmission method of the video frame for recording. A determination step in which the processing unit determines whether there is a request for a transmission method of a video frame for live display;
When the received video frame transmission method request is a recording video frame transmission method request, the processing unit causes the communication unit to transmit each video frame generated in the imaging unit. A frame transmission step;
A second video frame transmission step of repeatedly executing a process of transmitting the latest frame when the received video frame transmission method request is a live display video frame transmission method request. A video frame transmission method for a network camera device.
受信された映像フレームの送信方法のリクエストが録画用の映像フレームの送信方法のリクエストである場合、前記処理部が、前記撮影部において生成された時刻順に一時記憶部に記憶された各映像フレームを前記通信部に送信させることを特徴とするネットワークカメラ装置の映像フレーム送信方法。 In the first video frame transmission step according to claim 5,
When the received video frame transmission method request is a recording video frame transmission method request, the processing unit displays each video frame stored in the temporary storage unit in the order of time generated in the photographing unit. A video frame transmission method for a network camera device, characterized by causing the communication unit to transmit.
一時記憶部に記憶される映像フレームは、前の映像フレームの送信が映像フレームの生成間隔より遅れたことにより、前記撮影部において生成された時刻順に各映像フレームを送信されなかった映像フレームであり、前記処理部が、前記クライアント装置からの再送リクエストに応じて前記保持部に保持される映像フレームを前記通信部に送信させることを特徴とするネットワークカメラ装置の映像フレーム送信方法。 In the first video frame transmission step according to claim 5,
The video frame stored in the temporary storage unit is a video frame in which each video frame is not transmitted in the order of time generated in the photographing unit because transmission of the previous video frame is delayed from the generation interval of the video frame. A video frame transmission method for a network camera device, wherein the processing unit causes the communication unit to transmit a video frame held in the holding unit in response to a retransmission request from the client device.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006173623A JP4914127B2 (en) | 2005-07-11 | 2006-06-23 | Network camera device and video frame transmission method of network camera device |
| US11/428,952 US7877777B2 (en) | 2006-06-23 | 2006-07-06 | Network camera apparatus and distributing method of video frames |
| US12/961,549 US8302142B2 (en) | 2006-06-23 | 2010-12-07 | Network camera apparatus and distributing method of video frames |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005201558 | 2005-07-11 | ||
| JP2005201558 | 2005-07-11 | ||
| JP2006173623A JP4914127B2 (en) | 2005-07-11 | 2006-06-23 | Network camera device and video frame transmission method of network camera device |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2007049681A true JP2007049681A (en) | 2007-02-22 |
| JP2007049681A5 JP2007049681A5 (en) | 2009-07-09 |
| JP4914127B2 JP4914127B2 (en) | 2012-04-11 |
Family
ID=37852111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006173623A Expired - Fee Related JP4914127B2 (en) | 2005-07-11 | 2006-06-23 | Network camera device and video frame transmission method of network camera device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4914127B2 (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007142861A (en) * | 2005-11-18 | 2007-06-07 | Matsushita Electric Ind Co Ltd | Network camera, network camera system, and monitoring method |
| WO2017130269A1 (en) * | 2016-01-25 | 2017-08-03 | オリンパス株式会社 | Image transmission apparatus, image communication system, image transmission method, and program |
| JP2017225164A (en) * | 2017-08-09 | 2017-12-21 | キヤノン株式会社 | Receiving device, receiving method, transmitting device, transmitting method, and program |
| WO2018235258A1 (en) * | 2017-06-23 | 2018-12-27 | オリンパス株式会社 | Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assisting method, adjustment program, and adjustment assisting program |
| WO2018235259A1 (en) * | 2017-06-23 | 2018-12-27 | オリンパス株式会社 | Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assisting method, adjustment program, and adjustment assisting program |
| CN112369039A (en) * | 2018-07-18 | 2021-02-12 | 奥林巴斯株式会社 | Wireless communication device, wireless communication system, wireless communication method, and program |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002077857A (en) * | 2000-08-31 | 2002-03-15 | Hitachi Ltd | Multimedia data transmission device |
| JP2003018525A (en) * | 2001-07-04 | 2003-01-17 | Fujitsu Ltd | Network storage type video camera system |
| JP2003219397A (en) * | 2002-01-17 | 2003-07-31 | Toshiba Corp | Video distribution server and video distribution system |
| JP2003324710A (en) * | 2002-05-08 | 2003-11-14 | Fujitsu General Ltd | Network camera system |
| JP2004200863A (en) * | 2002-12-17 | 2004-07-15 | Nec Corp | Digital broadcast receiving system and digital broadcast receiving method |
-
2006
- 2006-06-23 JP JP2006173623A patent/JP4914127B2/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002077857A (en) * | 2000-08-31 | 2002-03-15 | Hitachi Ltd | Multimedia data transmission device |
| JP2003018525A (en) * | 2001-07-04 | 2003-01-17 | Fujitsu Ltd | Network storage type video camera system |
| JP2003219397A (en) * | 2002-01-17 | 2003-07-31 | Toshiba Corp | Video distribution server and video distribution system |
| JP2003324710A (en) * | 2002-05-08 | 2003-11-14 | Fujitsu General Ltd | Network camera system |
| JP2004200863A (en) * | 2002-12-17 | 2004-07-15 | Nec Corp | Digital broadcast receiving system and digital broadcast receiving method |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007142861A (en) * | 2005-11-18 | 2007-06-07 | Matsushita Electric Ind Co Ltd | Network camera, network camera system, and monitoring method |
| US9113065B2 (en) | 2005-11-18 | 2015-08-18 | Panasonic Intellectual Property Management Co., Ltd. | Network camera, network camera system and monitoring method |
| WO2017130269A1 (en) * | 2016-01-25 | 2017-08-03 | オリンパス株式会社 | Image transmission apparatus, image communication system, image transmission method, and program |
| US10764616B2 (en) | 2016-01-25 | 2020-09-01 | Olympus Corporation | Image transmission apparatus, image transmission method, and recording medium |
| WO2018235258A1 (en) * | 2017-06-23 | 2018-12-27 | オリンパス株式会社 | Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assisting method, adjustment program, and adjustment assisting program |
| WO2018235259A1 (en) * | 2017-06-23 | 2018-12-27 | オリンパス株式会社 | Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assisting method, adjustment program, and adjustment assisting program |
| US11050548B2 (en) | 2017-06-23 | 2021-06-29 | Olympus Corporation | Image transmission system, imaging terminal, display terminal, adjustment method, adjustment assistance method, and non-transitory computer-readable recording medium storing program |
| US11089169B2 (en) | 2017-06-23 | 2021-08-10 | Olympus Corporation | Image transfer system, imaging terminal, display terminal, and adjustment method |
| JP2017225164A (en) * | 2017-08-09 | 2017-12-21 | キヤノン株式会社 | Receiving device, receiving method, transmitting device, transmitting method, and program |
| CN112369039A (en) * | 2018-07-18 | 2021-02-12 | 奥林巴斯株式会社 | Wireless communication device, wireless communication system, wireless communication method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4914127B2 (en) | 2012-04-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8302142B2 (en) | Network camera apparatus and distributing method of video frames | |
| US9467509B2 (en) | Device control method and computer-readable recording medium | |
| JPH1042185A (en) | Imaging server and its method and medium | |
| US20190141105A1 (en) | Backfill of video stream | |
| JP7105675B2 (en) | Transmission device, server device, transmission method and program | |
| JP4914127B2 (en) | Network camera device and video frame transmission method of network camera device | |
| JP2016046598A (en) | Communication device, communication method, and program | |
| US20190158551A1 (en) | Transmission device, receiving device, communication system, and computer program product | |
| JP6289076B2 (en) | Information processing apparatus, information processing method, and program | |
| US9277261B2 (en) | Information processing apparatus and control method thereof | |
| JP5078538B2 (en) | Image reproducing apparatus, processing method thereof, and program thereof | |
| JP2004356829A (en) | Data reception / reproduction method and data reception / reproduction device | |
| KR102602898B1 (en) | Server device, information processing method, and non-transitory computer readable recording medium | |
| KR102291293B1 (en) | Transmission device, comunication system, transmission method, and non-transitory computer readable recording medium | |
| JP2025028932A (en) | TRANSMISSION DEVICE, SERVER DEVICE, TRANSMISSION METHOD, AND PROGRAM | |
| CN113315997A (en) | Transmission device, server device, transmission method, and program | |
| JP4640075B2 (en) | Imaging apparatus and imaging program | |
| JP4640074B2 (en) | Imaging apparatus and imaging program | |
| KR20250056958A (en) | Imaging device and its control method and program, and system | |
| JP2005117229A (en) | Image transmission device | |
| JP2014207613A (en) | Imaging apparatus and imaging method | |
| JP2023146067A (en) | Imaging system, recording device, recording method and program | |
| JP2020188439A (en) | Imaging device, control method and program | |
| JP2017208672A (en) | Video supply device, video acquisition device, control method and program thereof, and video supply system | |
| JP2017212544A (en) | Controller, control method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090525 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090525 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20100630 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110712 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110908 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111018 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111219 |
|
| 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: 20120117 |
|
| 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: 20120120 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4914127 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150127 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |