JP2013121125A - Network camera - Google Patents

Network camera Download PDF

Info

Publication number
JP2013121125A
JP2013121125A JP2011269092A JP2011269092A JP2013121125A JP 2013121125 A JP2013121125 A JP 2013121125A JP 2011269092 A JP2011269092 A JP 2011269092A JP 2011269092 A JP2011269092 A JP 2011269092A JP 2013121125 A JP2013121125 A JP 2013121125A
Authority
JP
Japan
Prior art keywords
unit
video
recording medium
built
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011269092A
Other languages
Japanese (ja)
Inventor
Shinya Kudo
慎也 工藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011269092A priority Critical patent/JP2013121125A/en
Publication of JP2013121125A publication Critical patent/JP2013121125A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a network camera capable of adaptively controlling the quality of recorded videos in accordance with the amount of free space in a built-in recording medium in order to disperse the video missing portions, thus avoiding the occurrence of extensive video missing periods.SOLUTION: A network camera includes: an imaging part 11 for capturing videos; a first coding part 13 for generating coded data by coding the videos captured by the imaging part 11; a second coding part 14 for reorganizing the coded data coded by the first coding part 13; an event detection part 18 for detecting troubles of a network 2 or a recording device 3 and recording the coded data generated by the first coding part 13 in a built-in recording medium 19; a quality control part 15 for checking the free space of the built-in recording medium 19 and, if the amount of the free space of the built-in recording medium 19 is smaller than a predetermined threshold value, causing the second coding part 14 to reedit the videos so as to lower the quality of the videos of the coded data recorded in the built-in recording medium.

Description

この発明は、記録装置の故障またはネットワークの通信障害等が発生した場合に、内蔵の記憶媒体の空き容量に応じて適応的に記録する映像の品質を制御して、映像を記録するネットワークカメラに関するものである。   The present invention relates to a network camera that records video by adaptively controlling the quality of video to be recorded according to the free space of a built-in storage medium when a recording device failure or network communication failure occurs. Is.

従来のネットワークカメラとしては、カメラの監視性能と利便性を高める目的で、カメラ、サーバおよび記録装置をネットワークで接続するネットワークカメラシステムが実用化されており、カメラ内において画像圧縮処理を行い、カメラ内部または外部に備えられた記録装置へ保存を行う技術や、ネットワークで障害が発生した場合のバックアップ処理等の技術が知られている。   As a conventional network camera, a network camera system that connects a camera, a server, and a recording device via a network has been put into practical use for the purpose of enhancing the monitoring performance and convenience of the camera. There are known techniques for storing data in a recording device provided inside or outside, and techniques such as backup processing when a failure occurs in a network.

ここで、ネットワークカメラシステムは、ネットワークカメラ、記録装置、記録した映像を再生するための表示装置、そして、これらの伝送媒体であるネットワーク等によって構成されており、ネットワークカメラにより撮影された映像は、ネットワークを介して記録装置へ伝送および記録され、ユーザは記録装置に記録された映像を表示装置に表示して確認するものである。   Here, the network camera system is configured by a network camera, a recording device, a display device for reproducing recorded video, and a network as a transmission medium of these, and the video taken by the network camera is The user transmits and records to the recording device via the network, and the user displays the video recorded on the recording device on the display device for confirmation.

ネットワークカメラシステムにおいて、記録装置やネットワークカメラと記録装置の伝送媒体であるネットワークに障害が発生した場合に、ネットワークカメラで撮影した映像を記録装置に伝送することや、記録することが不可能となってしまうという問題があるが、このような場合でも、障害発生中の映像が記録されずに失われてしまうことを避けることができるネットワークカメラが求められている。   In a network camera system, when a failure occurs in a recording device or a network that is a transmission medium between the network camera and the recording device, it becomes impossible to transmit or record video captured by the network camera to the recording device. Even in such a case, there is a need for a network camera that can avoid losing an image of a failure without being recorded.

例えば、特許文献1では、ネットワーク障害の発生によって、ネットワークカメラで撮影した映像を記録装置に伝送できなくなった場合に、ネットワークカメラに内蔵されている内蔵記録媒体に映像を記録しておき、障害復旧後にネットワークカメラの内蔵記録媒体に記録した映像をネットワーク経由で記録装置に伝送している。   For example, in Japanese Patent Laid-Open No. 2004-228867, when a video captured by a network camera cannot be transmitted to a recording device due to the occurrence of a network failure, the video is recorded on a built-in recording medium built in the network camera to recover from the failure. Later, the video recorded on the internal recording medium of the network camera is transmitted to the recording device via the network.

また、例えば、特許文献2では、予めネットワークカメラごとに優先度を設定しておき、障害発生時にはネットワーク通信可能な複数台のネットワークカメラの内蔵記録媒体をまとめ、仮想的な大きなメモリとし、優先度を高く設定されたネットワークカメラが撮影した映像をその仮想的な大きなメモリに記録することで、有限な内蔵記録媒体を効率的に使用している。   Also, for example, in Patent Document 2, priorities are set in advance for each network camera, and when a failure occurs, the built-in recording media of a plurality of network cameras capable of network communication are combined into a virtual large memory. By recording video captured by a network camera set to a high value in a virtual large memory, a finite built-in recording medium is efficiently used.

特開2005−26866号公報Japanese Patent Laid-Open No. 2005-26866 特開2010−093665号公報JP 2010-093665 A

しかしながら、特許文献1のような従来のネットワークカメラでは、内蔵記録媒体へ映像を記録するが、障害の発生期間が内蔵記録媒体の許容量を超えた場合について考慮されておらず、そのような場合は、記録映像を停止するか、または、古い映像を順次削除して新しい映像を記録する等の対応が必要となり、結果的に映像を記録することができない期間が集中し、長期にわたって映像が失われる期間が発生することは避けられない。また、特許文献2のような従来のネットワークカメラシステムでは、優先度が低いネットワークカメラの映像は失われるほか、障害が長期化した場合に長期にわたって映像が失われる期間が発生することは避けられない。   However, in a conventional network camera such as Patent Document 1, video is recorded on a built-in recording medium, but no consideration is given to the case where the failure occurrence period exceeds the allowable amount of the built-in recording medium. However, it is necessary to stop the recorded video or to delete the old video one after another and record a new video. As a result, the period during which video cannot be recorded is concentrated and the video is lost for a long time. It is inevitable that a period will be generated. In addition, in the conventional network camera system as disclosed in Patent Document 2, the video of the network camera having a low priority is lost, and it is unavoidable that a period in which the video is lost for a long period of time occurs when the failure is prolonged. .

本発明は、このような課題を解決するためになされたものであり、記録装置またはネットワークに障害が長期間にわたって発生したとしても、内蔵記録媒体の空き容量に応じて、適応的に記録映像の品質を制御することにより、映像が失われる箇所が従来方式のように集中せず、分散し、長期にわたって映像が失われる期間が発生することを避けることが可能なネットワークカメラを提供することを目的とする。   The present invention has been made to solve such a problem. Even if a failure occurs in the recording apparatus or the network over a long period of time, the recorded video is adaptively adapted to the free space of the built-in recording medium. The purpose is to provide a network camera that can avoid the occurrence of a period of video loss over a long period of time by controlling the quality so that the locations where the video is lost are not concentrated as in the conventional method but dispersed. And

上記の目的を達成するために、この発明のネットワークカメラは、ネットワークを介して記録装置と接続され、内蔵記録媒体部を有するネットワークカメラにおいて、映像を撮像する撮像部と、前記撮像部により撮像された映像を符号化して符号化データを生成する第1の符号化部と、前記第1の符号化部により符号化された符号化データを再編集する第2の符号化部と、前記ネットワークまたは前記記録装置の障害を検出して、前記第1の符号化部により生成された符号化データを前記内蔵記録媒体部に記録させるイベント検出部と、前記内蔵記録媒体部の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、前記内蔵記録媒体部に記録されている符号化データの映像の品質を低くするように前記第2の符号化部に再編集させる品質制御部とを備えることを特徴とする。   In order to achieve the above object, a network camera according to the present invention is connected to a recording device via a network, and in a network camera having a built-in recording medium unit, an image capturing unit that captures an image and the image capturing unit capture an image. A first encoding unit for encoding encoded video to generate encoded data, a second encoding unit for re-editing encoded data encoded by the first encoding unit, the network or Detecting a failure of the recording device, confirming the free space of the internal recording medium unit, an event detection unit for recording the encoded data generated by the first encoding unit on the internal recording medium unit, When the free space is smaller than a predetermined threshold, the second encoding unit is re-edited so as to reduce the quality of the video of the encoded data recorded in the built-in recording medium unit. Characterized in that it comprises a quality control unit.

本発明に係るネットワークカメラによれば、内蔵記録媒体部の空き容量に応じて、適応的に記録映像の品質を制御するため、映像が失われる箇所が従来方式のように集中せず、分散し、長期にわたって映像が失われる期間が発生することを避けることが可能となる。   According to the network camera of the present invention, the quality of the recorded video is adaptively controlled according to the free space of the built-in recording medium unit, so that the locations where the video is lost are not concentrated and distributed as in the conventional method. It is possible to avoid occurrence of a period in which video is lost over a long period of time.

この発明の実施の形態1に係るネットワークカメラをネットワークに接続させたネットワークカメラシステムの構成図を示す。1 is a configuration diagram of a network camera system in which a network camera according to Embodiment 1 of the present invention is connected to a network. FIG. この発明の実施の形態1に係るネットワークカメラの構成図を示す。The block diagram of the network camera which concerns on Embodiment 1 of this invention is shown. この発明の実施の形態1に係るネットワークカメラの全体動作のフローチャートを示している。2 shows a flowchart of the overall operation of the network camera according to Embodiment 1 of the present invention. この発明の実施の形態1に係るネットワークカメラのイベント検出部の障害の検出方式のシーケンス図を示す。FIG. 3 shows a sequence diagram of a failure detection method of the event detection unit of the network camera according to the first embodiment of the present invention. この発明の実施の形態1に係るネットワークカメラの通常運用時の処理のフローチャートを示す。3 shows a flowchart of processing during normal operation of the network camera according to Embodiment 1 of the present invention. この発明の実施の形態1に係るネットワークカメラの障害運用時の処理のフローチャートを示す。5 shows a flowchart of processing during fault operation of the network camera according to Embodiment 1 of the present invention. この発明の実施の形態1に係るネットワークカメラの品質制御部による内蔵記録媒体部に保存される映像の品質の調整の一例についての説明図を示す。FIG. 6 is an explanatory diagram illustrating an example of adjustment of the quality of video stored in a built-in recording medium unit by the quality control unit of the network camera according to Embodiment 1 of the present invention. この発明の実施の形態2に係るネットワークカメラの構成図を示す。The block diagram of the network camera which concerns on Embodiment 2 of this invention is shown. この発明の実施の形態2に係るネットワークカメラの障害運用時の処理のフローチャートを示す。9 shows a flowchart of processing during fault operation of a network camera according to Embodiment 2 of the present invention. この発明の実施の形態3に係るネットワークカメラの障害運用の処理のフローチャートを示す。7 shows a flowchart of processing for fault operation of a network camera according to Embodiment 3 of the present invention. この発明の実施の形態3に係るネットワークカメラが記録した記録映像に設定する優先度についての説明図を示す。An explanatory view about priority set to a record picture which a network camera concerning Embodiment 3 of this invention recorded is shown.

実施の形態1.
図1は、この発明の実施の形態1に係るネットワークカメラ1をネットワーク2に接続させたネットワークカメラシステムの構成図を示しており、このネットワークカメラシステムは、内蔵記録媒体部を有するネットワークカメラ1−1〜1−3、記録装置3、表示装置4がネットワーク2を介して接続されている。ここで、ネットワークカメラ1が有する内蔵記録媒体部の具体例としては、SDカード、SSD(Solid State Drive)、ハードディスク、Flashメモリなどが挙げられるが、これらに限らず、電源を遮断されても記録内容が保持される不揮発性の内蔵記録媒体であれば何でもよい。
Embodiment 1 FIG.
FIG. 1 shows a configuration diagram of a network camera system in which a network camera 1 according to Embodiment 1 of the present invention is connected to a network 2. This network camera system includes a network camera 1 having a built-in recording medium section. 1 to 1-3, the recording device 3, and the display device 4 are connected via the network 2. Here, specific examples of the built-in recording medium unit included in the network camera 1 include an SD card, an SSD (Solid State Drive), a hard disk, a flash memory, and the like. Any non-volatile built-in recording medium that retains the contents may be used.

ネットワークカメラ1−1〜1−3によって撮影された映像は、ネットワーク2を介して記録装置3に伝送されて記録され、このネットワークカメラシステムのユーザは、表示装置4により記録装置3に記録された任意の時刻の映像をネットワーク2を介して参照することができる。   Images taken by the network cameras 1-1 to 1-3 are transmitted to the recording device 3 through the network 2 and recorded. The user of the network camera system records the images on the recording device 3 by the display device 4. A video at an arbitrary time can be referred to via the network 2.

なお、図1には、ネットワークカメラ1が3台、記録装置3および表示装置4がそれぞれ1台を有する構成のネットワークカメラシステムについて記載されているが、ネットワークカメラ1だけでなく記録装置3、表示装置4等についても複数台設置される構成としてもよい。   Although FIG. 1 shows a network camera system having three network cameras 1 and one recording device 3 and one display device 4, not only the network camera 1 but also the recording device 3 and display are shown. A plurality of devices 4 may be installed.

図2は、この発明の実施の形態1に係るネットワークカメラ1の構成図を示している。図2に示すネットワークカメラ1は、映像を撮像する撮像部11、撮像部11により撮像された映像について輝度制御などの各種映像処理を行う映像処理部12、映像処理部12により各種映像処理が行われた映像を符号化して符号化データを生成する符号化部(第1の符号化部)13、符号化部13により生成された符号化データを再編集する符号化部(第2の符号化部)14、符号化部13,14により符号化された映像をネットワーク2を介して接続された記録装置3へ送信するデータ送受信部17、ネットワーク2や記録装置3に障害が発生した場合に障害発生を検知するイベント検出部18、イベント検出部18が記録装置3やネットワーク2に障害が発生したことを検出した場合に、記録装置3の代わりに符号化部13,14により符号化された映像を保存する内蔵記録媒体部19、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、内蔵記録媒体部19に記録されている符号化データの映像の品質を低くするよう符号化部14に再編集させる品質制御部15、および、符号化部13,14、品質制御部15、データ送受信部17、イベント検出部18、内蔵記録媒体部19等を接続するバス16とを備えている。   FIG. 2 shows a configuration diagram of the network camera 1 according to the first embodiment of the present invention. The network camera 1 shown in FIG. 2 performs various video processes by an imaging unit 11 that captures video, a video processing unit 12 that performs various video processes such as brightness control on the video captured by the imaging unit 11, and a video processing unit 12. An encoding unit (first encoding unit) 13 that encodes the transmitted video to generate encoded data, and an encoding unit (second encoding) that re-edits the encoded data generated by the encoding unit 13 14), the data transmission / reception unit 17 for transmitting the video encoded by the encoding units 13 and 14 to the recording device 3 connected via the network 2, and a failure when a failure occurs in the network 2 or the recording device 3. When the event detection unit 18 that detects occurrence and the event detection unit 18 detect that a failure has occurred in the recording device 3 or the network 2, the encoding units 13 and 14 are used instead of the recording device 3. The internal recording medium unit 19 for storing the encoded video and the free space of the internal recording medium unit 19 are confirmed. If the free space is smaller than a predetermined threshold, the code recorded in the internal recording medium unit 19 Quality control unit 15 that causes the encoding unit 14 to re-edit to reduce the quality of the video of the encoded data, and the encoding units 13 and 14, the quality control unit 15, the data transmission / reception unit 17, the event detection unit 18, and a built-in recording medium And a bus 16 for connecting the unit 19 and the like.

次に、動作について説明する。図3は、この発明の実施の形態1に係るネットワークカメラ1の全体動作のフローチャートを示している。まず、ネットワークカメラ1のイベント検出部18がネットワーク2または記録装置3における障害の発生を検出しているか判定し(ステップST11)、イベント検出部18がネットワーク2または記録装置3における障害の発生を検出していない場合(ステップST11のNOの場合)、ネットワークカメラ1は通常運用を行い(ステップST12)、一方、イベント検出部18がネットワーク2または記録装置3における障害の発生を検出している場合(ステップST11のYESの場合)には、ネットワークカメラ1は障害運用を行う(ステップST13)。その後、ステップST11に戻って処理を繰り返す。   Next, the operation will be described. FIG. 3 shows a flowchart of the overall operation of the network camera 1 according to Embodiment 1 of the present invention. First, it is determined whether the event detection unit 18 of the network camera 1 detects the occurrence of a failure in the network 2 or the recording device 3 (step ST11), and the event detection unit 18 detects the occurrence of a failure in the network 2 or the recording device 3. If not (NO in step ST11), the network camera 1 performs normal operation (step ST12), while the event detection unit 18 detects the occurrence of a failure in the network 2 or the recording device 3 ( In the case of YES in step ST11, the network camera 1 performs failure operation (step ST13). Then, it returns to step ST11 and repeats a process.

図4は、この発明の実施の形態1に係るネットワークカメラ1のイベント検出部18の障害の検出方式のシーケンス図を示す。イベント検出部18は、データ送受信部17を介して記録装置3に対し定期的に活性監視(1.1)を送信する。記録装置3は、活性監視(1.1)に対して応答(1.2)を返す。正常動作中はこの動作が繰り返される。ここで、ネットワーク2または記録装置3において障害が発生すると、ネットワークカメラ1が送信する活性監視(3.1)に対する応答が返らないので、規定時間内に応答(3.2)が得られない場合、イベント検出部18はネットワーク2または記録装置3における「障害の発生」を検出する。   FIG. 4 shows a sequence diagram of a failure detection method of the event detection unit 18 of the network camera 1 according to the first embodiment of the present invention. The event detection unit 18 periodically transmits activity monitoring (1.1) to the recording device 3 via the data transmission / reception unit 17. The recording device 3 returns a response (1.2) to the activity monitor (1.1). This operation is repeated during normal operation. Here, when a failure occurs in the network 2 or the recording device 3, a response to the activity monitoring (3.1) transmitted by the network camera 1 is not returned, and therefore a response (3.2) cannot be obtained within a specified time. The event detection unit 18 detects “occurrence of failure” in the network 2 or the recording device 3.

イベント検出部18がネットワーク2または記録装置3において障害を検出した後も、障害が継続しているかを確認するためにイベント検出部18は一定周期で活性監視(4.1)を送信し続ける。そして、障害が復旧した際には、活性監視(5.1)に対して応答(5.2)が返るため、この応答(5.2)を検出することによりイベント検出部18はネットワーク2または記録装置3における「障害の復旧」を検出する。   Even after the event detection unit 18 detects a failure in the network 2 or the recording device 3, the event detection unit 18 continues to transmit activity monitoring (4.1) at a constant period in order to confirm whether the failure continues. When the failure is recovered, a response (5.2) is returned to the activity monitor (5.1). Therefore, the event detection unit 18 detects the response (5.2), so that the event detection unit 18 “Failure recovery” in the recording device 3 is detected.

なお、活性監視および応答についての具体的なプロトコルはSNMP(Simple Network Management Protocol)でも、ICMP(Internet Control Message Protocol) echo request/replyでも、その他のプロトコルでもよい。   A specific protocol for activity monitoring and response may be SNMP (Simple Network Management Protocol), ICMP (Internet Control Message Protocol) echo request / reply, or any other protocol.

また、図4では、イベント検出部18が活性監視を送信して記録装置3が応答を返す構成について記載されているが、記録装置3が活性監視を送信し、イベント検出部18が応答を返す構成としてもよい。このとき、ネットワークカメラ1のイベント検出部18は、活性監視が所定時間を過ぎても受信されないことをもって障害発生を検出し、活性監視が再び受信されたことをもって障害復旧を検出する。   Further, FIG. 4 illustrates a configuration in which the event detection unit 18 transmits activity monitoring and the recording device 3 returns a response. However, the recording device 3 transmits activity monitoring and the event detection unit 18 returns a response. It is good also as a structure. At this time, the event detection unit 18 of the network camera 1 detects the occurrence of failure when the activity monitoring is not received even after a predetermined time, and detects the failure recovery when the activity monitoring is received again.

図5は、この発明の実施の形態1に係るネットワークカメラ1の図3のステップST12に示す通常運用時の処理のフローチャートを示す。通常運用では、まず、撮像部11が映像を撮像し(ステップST21)、映像処理部12が撮像部11により撮像された映像について輝度制御などの各種映像処理を行う(ステップST22)。次に、符号化部13が映像処理部12により各種映像処理を行われた映像を符号化して符号化データを生成し(ステップST23)、データ送受信部17が符号化部13により符号化された符号化データをネットワーク2を介して記録装置3へ送信する(ステップST24)。   FIG. 5 shows a flowchart of processing during normal operation shown in step ST12 of FIG. 3 of the network camera 1 according to Embodiment 1 of the present invention. In normal operation, first, the imaging unit 11 captures an image (step ST21), and the image processing unit 12 performs various image processing such as luminance control on the image captured by the imaging unit 11 (step ST22). Next, the encoding unit 13 generates encoded data by encoding the video processed by the video processing unit 12 (step ST23), and the data transmitting / receiving unit 17 is encoded by the encoding unit 13. The encoded data is transmitted to the recording device 3 via the network 2 (step ST24).

ここで、ステップST23において符号化部13が映像を符号化する際に、映像に撮影時刻情報を付与する。これにより、記録装置3では保存した映像を時系列によって整列することができ、これにより、ユーザは後ほど、記録装置3に記録された映像を表示装置4を用いて再生する際に、障害が発生していたか否かについて気にすることなく、時刻を指定するだけで当該時刻に撮影された映像を再生することができる。   Here, when the encoding unit 13 encodes the video in step ST23, shooting time information is added to the video. As a result, the recording device 3 can arrange the stored videos in time series, and this causes a failure when the user later reproduces the video recorded in the recording device 3 using the display device 4. Without worrying about whether or not it was done, it is possible to reproduce the video shot at that time simply by specifying the time.

次に、品質制御部15が内蔵記録媒体部19に未送信の映像が残っているか判定し(ステップST25)、内蔵記録媒体部19に未送信の映像が残っている場合(ステップST25のYESの場合)、データ送受信部17が内蔵記録媒体部19に残っている未送信の映像を記録装置3に送信して(ステップST26)処理を終了する。また、内蔵記録媒体部19に未送信の映像が残っていない場合(ステップST25のNOの場合)には、そのまま処理を終了する。   Next, the quality control unit 15 determines whether or not an untransmitted video remains in the internal recording medium unit 19 (step ST25). If an untransmitted video remains in the internal recording medium unit 19 (YES in step ST25) ), The data transmitting / receiving unit 17 transmits the untransmitted video remaining in the built-in recording medium unit 19 to the recording device 3 (step ST26), and the process is terminated. If no untransmitted video remains in the built-in recording medium unit 19 (NO in step ST25), the process ends.

なお、ステップST26において、そのとき撮影され、符号化部13により符号化された符号化データと内蔵記録媒体部19に保存された符号化データが同時に記録装置3へ送信されることとなるが、ネットワーク2の帯域不足により撮影した映像の送信に失敗することがないように、内蔵記録媒体部19に保存された映像の送信処理の優先度を下げる。   In step ST26, the encoded data shot at that time and encoded by the encoding unit 13 and the encoded data stored in the built-in recording medium unit 19 are simultaneously transmitted to the recording device 3. The priority of the transmission processing of the video stored in the built-in recording medium unit 19 is lowered so that the transmission of the captured video does not fail due to insufficient bandwidth of the network 2.

図6は、この発明の実施の形態1に係るネットワークカメラ1の図3のステップST13の障害運用時の処理のフローチャートを示す。障害運用では、まず、撮像部11が映像を撮像し(ステップST31)、映像処理部12が撮像部11により撮像された映像について輝度制御などの各種映像処理を行い(ステップST32)、符号化部13が映像処理部12により各種映像処理が行われた映像を符号化して符号化データを生成し(ステップST33)、イベント検出部18が符号化部13により符号化された符号化データを内蔵記録媒体部19に保存する(ステップST34)。   FIG. 6 shows a flowchart of processing at the time of fault operation in step ST13 of FIG. 3 of the network camera 1 according to Embodiment 1 of the present invention. In failure operation, first, the imaging unit 11 captures a video (step ST31), and the video processing unit 12 performs various video processing such as luminance control on the video captured by the imaging unit 11 (step ST32), and an encoding unit. 13 encodes the video processed by the video processor 12 to generate encoded data (step ST33), and the event detector 18 records the encoded data encoded by the encoder 13 in a built-in manner. It stores in the medium part 19 (step ST34).

次に、品質制御部15が内蔵記録媒体部19の空き容量の大きさが所定の閾値より小さいか判定し(ステップST35)、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きいと判定された場合(ステップST35のNOの場合)、処理を終了する。一方、内蔵記録媒体部19の空き容量の大きさが所定の閾値より小さいと判定された場合(ステップST35のYESの場合)には、品質制御部15が符号化部14の符号化処理の設定パラメータ値を符号化データの品質を低くする(映像データのサイズが小さくなる)ように変更し(ステップST36)、符号化部14が内蔵記録媒体部19に記録されている符号化データの再編集を行う(ステップST37)。その後、ステップST35に戻って、再度、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きいか判定し、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きくなるまで処理を繰り返す。   Next, the quality control unit 15 determines whether the size of the free space of the built-in recording medium unit 19 is smaller than a predetermined threshold (step ST35), and the size of the free space of the built-in recording medium unit 19 is larger than the predetermined threshold. Is determined (NO in step ST35), the process is terminated. On the other hand, when it is determined that the amount of free space in the internal recording medium unit 19 is smaller than the predetermined threshold (in the case of YES in step ST35), the quality control unit 15 sets the encoding process of the encoding unit 14. The parameter value is changed so as to lower the quality of the encoded data (the size of the video data is reduced) (step ST36), and the encoding unit 14 re-edits the encoded data recorded in the internal recording medium unit 19 Is performed (step ST37). Thereafter, the process returns to step ST35, and it is determined again whether the size of the free space of the internal recording medium unit 19 is larger than a predetermined threshold, and until the size of the free space of the internal recording medium unit 19 becomes larger than the predetermined threshold. Repeat the process.

ここで、品質制御部15が変更する符号化部14の符号化処理の設定パラメータ値としては、具体的には画質と秒間コマ数が挙げられる。   Here, the setting parameter values of the encoding process of the encoding unit 14 changed by the quality control unit 15 are specifically image quality and the number of frames per second.

図7は、この発明の実施の形態1に係るネットワークカメラ1の品質制御部15による内蔵記録媒体部19に保存される映像の品質の調整の一例についての説明図を示す。例えば、ネットワークカメラシステムにおいて、ネットワーク2または記録装置3に障害が発生し、内蔵記録媒体部19の空き容量が所定の閾値よりも大きい場合、図7(A)に示すように、符号化部13が通常運用時と同じ品質の符号化データを生成し、イベント検出部18が内蔵記録媒体部19に記録する。   FIG. 7 is an explanatory diagram illustrating an example of adjustment of the quality of video stored in the built-in recording medium unit 19 by the quality control unit 15 of the network camera 1 according to Embodiment 1 of the present invention. For example, in the network camera system, when a failure occurs in the network 2 or the recording device 3 and the free space of the built-in recording medium unit 19 is larger than a predetermined threshold value, as shown in FIG. Generates encoded data of the same quality as during normal operation, and the event detection unit 18 records it in the built-in recording medium unit 19.

その後、内蔵記録媒体部19の空き容量が所定の閾値を下回った場合、図7(B)に示すように、品質制御部15が符号化部14の符号化処理の画質の設定パラメータ値を変更し、内蔵記録媒体部19にそれまでに記録された映像の画質を落として内蔵記録媒体部19の空き容量を確保して映像の記録を続ける。   Thereafter, when the free space of the internal recording medium unit 19 falls below a predetermined threshold, the quality control unit 15 changes the setting parameter value of the image quality of the encoding process of the encoding unit 14 as shown in FIG. Then, the image quality of the video recorded so far on the built-in recording medium unit 19 is reduced, and the free space of the built-in recording medium unit 19 is secured, and the video recording is continued.

さらにその後、内蔵記録媒体部19の空き容量が再度所定の閾値を下回った場合、図7(C)に示すように、品質制御部15が符号化部14の符号化処理の秒間コマ数の設定パラメータ値を変更し、内蔵記録媒体部19にそれまでに記録された映像の秒間コマ数を減らして空き容量を確保して映像の記録を続ける。   Thereafter, when the free space of the built-in recording medium unit 19 again falls below a predetermined threshold, the quality control unit 15 sets the number of frames per second for the encoding process of the encoding unit 14 as shown in FIG. The parameter value is changed, the number of frames per second recorded on the built-in recording medium unit 19 is reduced, the free space is secured, and the video recording is continued.

さらにその後、内蔵記録媒体部19の空き容量が再度所定の閾値を下回った場合、図7(D)に示すように、品質制御部15が符号化部14の符号化処理の秒間コマ数の設定パラメータ値を変更し、内蔵記録媒体部19にそれまでに記録した映像の秒間コマ数を図7(C)の場合よりもさらに減らし、空き容量を確保して映像の記録を続け、以後この処理を繰り返す。   Thereafter, when the free space of the built-in recording medium unit 19 again falls below a predetermined threshold value, the quality control unit 15 sets the number of frames per second for the encoding process of the encoding unit 14 as shown in FIG. The parameter value is changed, and the number of frames per second recorded on the built-in recording medium unit 19 is further reduced as compared with the case of FIG. 7C. repeat.

なお、図6に示すステップST33において符号化部13が映像を符号化する際に、映像に撮影時刻情報を付与する。これにより、記録装置3では保存した映像を時系列によって整列することができ、これにより、ユーザは後ほど、記録装置3に記録された映像を表示装置4を用いて再生する際に、障害が発生していたか否かについて気にすることなく、時刻を指定するだけで当該時刻に撮影された映像を再生することができる。   Note that, when the encoding unit 13 encodes the video in step ST33 shown in FIG. 6, shooting time information is added to the video. As a result, the recording device 3 can arrange the stored videos in time series, and this causes a failure when the user later reproduces the video recorded in the recording device 3 using the display device 4. Without worrying about whether or not it was done, it is possible to reproduce the video shot at that time simply by specifying the time.

また、実施の形態1に係るネットワークカメラ1においては、符号化部を2つ備える構成について記載しているが、映像に対して2種類の符号化処理の実施が可能な符号化部を1つのみ備え、上述した符号化部13,14の処理を1つの符号化部によって行うとしてもよい。   In addition, although the network camera 1 according to Embodiment 1 describes a configuration including two encoding units, there is one encoding unit capable of performing two types of encoding processes on video. However, the processing of the encoding units 13 and 14 described above may be performed by one encoding unit.

以上により、映像を撮像する撮像部11と、撮像部11により撮像された映像を符号化して符号化データを生成する第1の符号化部13と、第1の符号化部13により符号化された符号化データを再編集する第2の符号化部14と、ネットワーク2または記録装置3の障害を検出して、第1の符号化部13により生成された符号化データを内蔵記録媒体部19に記録させるイベント検出部18と、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、内蔵記録媒体部19に記録されている符号化データの映像の品質を低くするように第2の符号化部14に再編集させる品質制御部15とを備えるように構成したので、内蔵記録媒体部19の空き容量に応じて適応的に記録映像の品質を制御し、映像が失われる箇所が従来方式のように集中せず、分散し、長期にわたって映像が失われる期間が発生することを避けることが可能となる。   As described above, the image is captured by the image capturing unit 11 that captures an image, the first encoding unit 13 that encodes the image captured by the image capturing unit 11 to generate encoded data, and the first encoding unit 13. The second encoding unit 14 for re-editing the encoded data and the failure of the network 2 or the recording device 3 are detected, and the encoded data generated by the first encoding unit 13 is stored in the built-in recording medium unit 19. The free space of the event detection unit 18 and the internal recording medium unit 19 to be recorded is confirmed, and when the free space is smaller than a predetermined threshold, the quality of the video of the encoded data recorded in the internal recording medium unit 19 The quality control unit 15 that causes the second encoding unit 14 to re-edit so as to reduce the image quality is reduced, so that the quality of the recorded video is adaptively controlled according to the free space of the built-in recording medium unit 19. , Video is lost Where there is not concentrated as the conventional method, dispersed, period image for a long time is lost and it is possible to avoid the occurrence.

実施の形態2.
図8は、この発明の実施の形態2に係るネットワークカメラ1の構成図であり、実施の形態1の図2に示すネットワークカメラ1の構成図との違いは、映像処理部12と符号化部14を直接接続されている点のみである。
Embodiment 2. FIG.
FIG. 8 is a configuration diagram of the network camera 1 according to the second embodiment of the present invention. The difference from the configuration diagram of the network camera 1 shown in FIG. 14 is only connected directly.

図8に示すネットワークカメラ1は、映像を撮像する撮像部11、撮像部11により撮像された映像について輝度制御などの各種映像処理を行う映像処理部12、映像処理部12により各種映像処理が行われた映像を通常運用時と同じ品質で符号化して符号化データを生成する符号化部13、映像処理部12により各種映像処理が行われた映像を通常運用時よりも低い品質で符号化して符号化データを生成する符号化部14、符号化部13,14により符号化された映像をネットワーク2を介して接続された記録装置3へ送信するデータ送受信部17、ネットワーク2や記録装置3に障害が発生した場合に障害発生を検知するイベント検出部18、イベント検出部18が記録装置3やネットワーク2に障害が発生したことを検出した場合に、記録装置3の代わりに符号化部13,14により符号化された映像を保存する内蔵記録媒体部19、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に内蔵記録媒体部19に記録されている通常運用時と同じ品質の符号化データを削除する品質制御部15、および、符号化部13,14、品質制御部15、データ送受信部17、イベント検出部18、内蔵記録媒体部19等を接続するバス16とを備えている。   The network camera 1 shown in FIG. 8 performs various video processing by an imaging unit 11 that captures video, a video processing unit 12 that performs various video processing such as luminance control on the video captured by the imaging unit 11, and a video processing unit 12. The encoded image 13 is encoded with the same quality as during normal operation to generate encoded data, and the image subjected to various types of image processing by the image processing unit 12 is encoded with lower quality than during normal operation. An encoding unit 14 that generates encoded data, a data transmission / reception unit 17 that transmits the video encoded by the encoding units 13 and 14 to the recording device 3 connected via the network 2, the network 2 and the recording device 3 When the event detection unit 18 that detects the occurrence of a failure when the failure occurs, and the event detection unit 18 detects that a failure has occurred in the recording device 3 or the network 2, The internal recording medium unit 19 for storing the video encoded by the encoding units 13 and 14 instead of the recording device 3 is checked, and the free capacity of the internal recording medium unit 19 is confirmed, and the free capacity is smaller than a predetermined threshold value. A quality control unit 15 that deletes encoded data of the same quality as that during normal operation recorded in the built-in recording medium unit 19, encoding units 13 and 14, quality control unit 15, data transmission / reception unit 17, and event detection unit 18 and a bus 16 for connecting the built-in recording medium section 19 and the like.

実施の形態2に係るネットワークカメラ1は通常運用においては実施の形態1に係るネットワークカメラ1と同様の図5に示された処理を行うが、障害運用においては実施の形態1とは処理が異なる。図9は、この発明の実施の形態2に係るネットワークカメラ1の図3のステップST13の障害運用時の処理のフローチャートを示す。   The network camera 1 according to the second embodiment performs the processing shown in FIG. 5 similar to the network camera 1 according to the first embodiment in normal operation, but the processing is different from that in the first embodiment in failure operation. . FIG. 9 shows a flowchart of processing at the time of fault operation in step ST13 of FIG. 3 of the network camera 1 according to Embodiment 2 of the present invention.

まず、撮像部11が映像を撮像し(ステップST41)、映像処理部12が撮像部11により撮像された映像について輝度制御などの各種映像処理を行い(ステップST42)、符号化部13が映像処理部12により各種映像処理が行われた映像について、図7(A)に示すように、通常運用時と同じ品質で符号化して符号化データを生成し(ステップST43)、符号化部14が映像処理部12により各種映像処理が行われた映像について、図7(B)に示すように、通常運用時よりも低い品質で符号化して符号化データを生成し(ステップST44)、イベント検出部18が符号化部13により符号化された通常運用時と同じ品質の符号化データおよび符号化部14により符号化された通常運用時よりも品質を落とした符号化データを内蔵記録媒体部19に保存する(ステップST45)。   First, the imaging unit 11 captures a video (step ST41), the video processing unit 12 performs various video processing such as luminance control on the video captured by the imaging unit 11 (step ST42), and the encoding unit 13 performs video processing. As shown in FIG. 7A, the video that has undergone various types of video processing by the unit 12 is encoded with the same quality as during normal operation to generate encoded data (step ST43). As shown in FIG. 7B, the video that has been subjected to various types of video processing by the processing unit 12 is encoded with lower quality than that during normal operation to generate encoded data (step ST44), and the event detection unit 18 Are encoded data with the same quality as that during normal operation encoded by the encoding unit 13 and encoded data with lower quality than during normal operation encoded by the encoding unit 14. To save the recording medium unit 19 (step ST45).

次に、品質制御部15が内蔵記録媒体部19の空き容量の大きさが所定の閾値未満であるか判定し(ステップST46)、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きいと判定された場合(ステップST46のNOの場合)、処理を終了する。一方、内蔵記録媒体部19の空き容量の大きさが所定の閾値より小さいと判定された場合(ステップST46のYESの場合)には、品質制御部15が内蔵記録媒体部19に記録されている符号化部13によって符号化された通常運用時と同じ品質の符号化データを削除する(ステップST47)。その後、ステップST46に戻って再度、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きいか判定し、処理を繰り返す。   Next, the quality control unit 15 determines whether the size of the free space in the built-in recording medium unit 19 is less than a predetermined threshold (step ST46), and the size of the free space in the built-in recording medium unit 19 is greater than the predetermined threshold. If it is determined that the value is larger (NO in step ST46), the process ends. On the other hand, when it is determined that the amount of free space in the internal recording medium unit 19 is smaller than the predetermined threshold (in the case of YES in step ST46), the quality control unit 15 is recorded in the internal recording medium unit 19. The encoded data having the same quality as that in the normal operation encoded by the encoding unit 13 is deleted (step ST47). Thereafter, the process returns to step ST46, and it is determined again whether the size of the free space in the built-in recording medium unit 19 is larger than a predetermined threshold value, and the process is repeated.

なお、実施の形態2に係るネットワークカメラ1において、符号化部14が通常運用時よりも低い品質で符号化する例として、図7(B)に示すように、映像の画質を落とすことについて説明したが、図7(C),(D)に示すように、映像の秒間コマ数を減らすとしてもよい。   In the network camera 1 according to the second embodiment, as an example in which the encoding unit 14 encodes with a quality lower than that during normal operation, as shown in FIG. However, as shown in FIGS. 7C and 7D, the number of frames per second of the video may be reduced.

なお、ステップST43およびステップST44において符号化部13,14が映像を符号化する際に、映像に撮影時刻情報を付与する。これにより、記録装置3では保存した映像を時系列によって整列することができ、これにより、ユーザは後ほど、記録装置3に記録された映像を表示装置4を用いて再生する際に、障害が発生していたか否かについて気にすることなく、時刻を指定するだけで当該時刻に撮影された映像を再生することができる。   In addition, when the encoding units 13 and 14 encode the video in step ST43 and step ST44, shooting time information is added to the video. As a result, the recording device 3 can arrange the stored videos in time series, and this causes a failure when the user later reproduces the video recorded in the recording device 3 using the display device 4. Without worrying about whether or not it was done, it is possible to reproduce the video shot at that time simply by specifying the time.

また、実施の形態2に係るネットワークカメラ1においては、符号化部を2つ備える構成について記載しているが、映像に対して2種類の符号化処理の実施が可能な符号化部を1つのみ備え、上述した符号化部13,14の処理を1つの符号化部によって行うとしてもよい。   In addition, in the network camera 1 according to the second embodiment, a configuration including two encoding units is described, but one encoding unit capable of performing two types of encoding processes on a video is described. However, the processing of the encoding units 13 and 14 described above may be performed by one encoding unit.

以上により、この発明の実施の形態2に係るネットワークカメラ1は、映像を撮像する撮像部11と、撮像部11により撮像された映像を、通常運用時と同じ品質および通常運用時よりも低い品質の2種類の品質で符号化して符号化データを生成する符号化部と、ネットワーク2または記録装置3の障害を検出して、符号化部に生成された符号化データを内蔵記録媒体部19に記憶させるイベント検出部18と、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に内蔵記録媒体部19に記録されている通常運用時と同じ品質の符号化データを削除する品質制御部15とを備えるように構成したので、符号化データの再編集を要さずに内蔵記録媒体部19の空き容量に応じて適応的に記録映像の品質を制御し、映像が失われる箇所が従来の方式のように集中せず、分散し、長期にわたって映像が失われる期間が発生することを避けることが可能となる。   As described above, in the network camera 1 according to Embodiment 2 of the present invention, the image capturing unit 11 that captures an image and the image captured by the image capturing unit 11 have the same quality as that during normal operation and lower quality than during normal operation. The encoding unit that generates the encoded data by encoding with the two types of quality, and the encoded data generated in the encoding unit by detecting the failure of the network 2 or the recording device 3 are stored in the built-in recording medium unit 19. The free space of the event detection unit 18 to be stored and the internal recording medium unit 19 is confirmed, and when the free space is smaller than a predetermined threshold, the same quality encoding as that during normal operation recorded in the internal recording medium unit 19 is performed. And a quality control unit 15 for deleting data, so that the quality of the recorded video is adaptively controlled according to the free space of the built-in recording medium unit 19 without the need to re-edit the encoded data, Not concentrated so places the conventional method in which the image is lost, dispersed, period image for a long time is lost and it is possible to avoid the occurrence.

実施の形態3.
実施の形態3に係るネットワークカメラ1の構成は図2に示す実施の形態1に係るネットワークカメラ1と同様であるが、次の点において異なる。イベント検出部18は、撮影環境において何らかのイベントを検出してイベントが発生した時刻の時間帯の映像の優先度を高く設定する。また、品質制御部15は、実施の形態1と同様に処理すると共に、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、内蔵記録媒体部19に記録されている符号化データのうち優先度が低く設定された時間帯の映像の品質を低くするよう符号化部14に再編集させる。
Embodiment 3 FIG.
The configuration of the network camera 1 according to Embodiment 3 is the same as that of the network camera 1 according to Embodiment 1 shown in FIG. 2, but differs in the following points. The event detection unit 18 detects a certain event in the shooting environment and sets a high priority for the video in the time zone at the time when the event occurred. Further, the quality control unit 15 performs the same processing as in the first embodiment, confirms the free space of the built-in recording medium unit 19, and records in the built-in recording medium unit 19 when the free space is smaller than a predetermined threshold. In the encoded data, the encoding unit 14 is re-edited so as to reduce the quality of the video in the time zone set with a low priority.

実施の形態3に係るネットワークカメラ1の構成は図2に示す実施の形態1に係るネットワークカメラ1と同様である。実施の形態3に係るネットワークカメラ1は、映像を撮像する撮像部11、撮像部11により撮像された映像について輝度制御などの各種映像処理を行う映像処理部12、映像処理部12により各種映像処理が行われた映像を符号化して符号化データを生成する符号化部(第1の符号化部)13、符号化部13により生成された符号化データを再編集する符号化部(第2の符号化部)14、符号化部13,14により符号化された映像をネットワーク2を介して接続された記録装置3へ送信するデータ送受信部17、ネットワーク2や記録装置3に障害が発生した場合に障害発生を検知して、符号化部13により生成された符号化データを内蔵記録媒体部19に記録させると共に、撮影環境において何らかのイベントを検出してイベントが発生した時刻の時間帯の映像の優先度を高く設定し、それ以外の時間帯の映像の優先度を低く設定するイベント検出部18、イベント検出部18が記録装置3やネットワーク2に障害が発生したことを検出した場合に、記録装置3の代わりに符号化部13,14により符号化された映像を保存する内蔵記録媒体部19、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、内蔵記録媒体部19に記録されている符号化データのうち優先度が低く設定された時間帯の映像の品質を低くするよう符号化部14に再編集させる品質制御部15、および、符号化部13,14、品質制御部15、データ送受信部17、イベント検出部18、内蔵記録媒体部19等を接続するバス16とを備えている。   The configuration of the network camera 1 according to the third embodiment is the same as that of the network camera 1 according to the first embodiment shown in FIG. The network camera 1 according to the third embodiment includes an imaging unit 11 that captures video, a video processing unit 12 that performs various video processes such as brightness control on the video captured by the imaging unit 11, and various video processes performed by the video processing unit 12. The encoding unit (first encoding unit) 13 that encodes the video that has been subjected to encoding to generate encoded data, and the encoding unit (second encoding unit) that re-edits the encoded data generated by the encoding unit 13 Encoding unit 14, data transmission / reception unit 17 that transmits the video encoded by the encoding units 13, 14 to the recording device 3 connected via the network 2, when a failure occurs in the network 2 or the recording device 3 When the occurrence of a failure is detected, the encoded data generated by the encoding unit 13 is recorded in the built-in recording medium unit 19, and an event is generated by detecting some event in the shooting environment. The event detection unit 18 and the event detection unit 18 that set the priority of the video in the time zone at a high time and set the priority of the video in the other time zone low has failed in the recording device 3 or the network 2 If this is detected, the internal recording medium unit 19 for storing the video encoded by the encoding units 13 and 14 instead of the recording device 3 is confirmed, and the free space of the internal recording medium unit 19 is confirmed, and the free space is determined to be predetermined. Quality control that causes the encoding unit 14 to re-edit to reduce the quality of the video in the time zone set with a low priority among the encoded data recorded in the internal recording medium unit 19 when the threshold value is smaller than Unit 15, encoding units 13 and 14, quality control unit 15, data transmission / reception unit 17, event detection unit 18, built-in recording medium unit 19, and the like.

次に動作について説明する。実施の形態3に係るネットワークカメラ1は通常運用においては実施の形態1に係るネットワークカメラ1と同様の図5に示された処理を行うが、障害運用においては実施の形態1とは処理が異なる。   Next, the operation will be described. The network camera 1 according to the third embodiment performs the processing shown in FIG. 5 similar to the network camera 1 according to the first embodiment in normal operation, but the processing is different from that in the first embodiment in failure operation. .

図10は、実施の形態3に係るネットワークカメラ1の障害運用の処理のフローチャートを示す。このネットワークカメラ1の障害運用では、まず、撮像部11が映像を撮像し(ステップST51)、映像処理部12が撮像部11により撮像された映像について輝度制御などの各種映像処理を行い(ステップST52)、符号化部13が映像処理部12により各種映像処理を行われた映像を符号化し(ステップST53)、内蔵記録媒体部19が符号化部13により符号化された映像を保存する(ステップST54)。   FIG. 10 shows a flowchart of the fault operation processing of the network camera 1 according to the third embodiment. In the fault operation of the network camera 1, first, the imaging unit 11 captures a video (step ST51), and the video processing unit 12 performs various video processing such as brightness control on the video captured by the imaging unit 11 (step ST52). ), The encoding unit 13 encodes the video processed by the video processing unit 12 (step ST53), and the built-in recording medium unit 19 stores the video encoded by the encoding unit 13 (step ST54). ).

次に、イベント検出部18が撮影環境において何らかのイベントを検出しているか判定し(ステップST55)、イベント検出部18が撮影環境において何らかのイベントを検出している場合(ステップST55のYESの場合)、イベント検出部18がその時間帯の映像の優先度を高く設定する(ステップST56)。一方、イベント検出部18が撮影環境において何らかのイベントを検出していない場合(ステップST55のNOの場合)には、イベント検出部18がその時間帯の映像の優先度を低く設定する(ステップST57)。   Next, it is determined whether the event detection unit 18 has detected any event in the shooting environment (step ST55). If the event detection unit 18 has detected any event in the shooting environment (YES in step ST55), The event detection unit 18 sets the priority of the video during that time zone to be high (step ST56). On the other hand, when the event detection unit 18 has not detected any event in the shooting environment (in the case of NO in step ST55), the event detection unit 18 sets the video priority in that time zone to a low level (step ST57). .

図11は、この発明の実施の形態3に係るネットワークカメラ1が記録した記録映像に設定する優先度についての説明図を示す。イベント検出部18は図11(A)に示すように、イベントが発生した時刻の時間帯の映像の優先度を高く設定する。   FIG. 11 is an explanatory diagram for the priority set for the recorded video recorded by the network camera 1 according to the third embodiment of the present invention. As shown in FIG. 11A, the event detection unit 18 sets a high priority for the video in the time zone at the time when the event occurred.

その後、図10に示すように、品質制御部15が内蔵記録媒体部19の空き容量が所定の閾値未満であるか判定し(ステップST58)、閾値を下回っていた場合(ステップST58のYESの場合)、品質制御部15が記録された映像の単位時間ごとの優先度が低く設定されているか判定し(ステップST59)、優先度が低く設定されている場合(ステップST59のYESの場合)、品質制御部15が符号化部14の設定パラメータ値を変更し(ステップST60)、符号化部14が当該単位時間の映像の品質を低くする映像の再編集を行う(ステップST61)。   After that, as shown in FIG. 10, the quality control unit 15 determines whether the free space of the built-in recording medium unit 19 is less than a predetermined threshold (step ST58), and if it is below the threshold (in the case of YES in step ST58) ), The quality control unit 15 determines whether the priority for each unit time of the recorded video is set low (step ST59). If the priority is set low (YES in step ST59), the quality is determined. The control unit 15 changes the setting parameter value of the encoding unit 14 (step ST60), and the encoding unit 14 re-edits the video to reduce the quality of the unit time video (step ST61).

優先度が高く設定された時間帯の映像については、品質制御部15による品質制御の対象にならないものとする、または品質制御の内容を優先度が低い時間帯の映像とは異なるものする。すなわち、再編集の設定パラメータ値を優先度が低く設定された映像の場合と異なるものとする。これにより、障害運用時に内蔵記録媒体部19の空き容量の大きさが所定の閾値より小さいと判定され、内蔵記録媒体部19に保存された映像について再編集を行なったとしても、図11(B)に示すように、優先度の低い時間帯の映像についてのみ、画質や秒間コマ数等を低く設定して再編集し、優先度が高い時間帯の映像については品質を維持する。   The video in the time zone set with high priority is not subject to quality control by the quality control unit 15, or the content of the quality control is different from the video in the time zone with low priority. That is, the re-editing setting parameter value is different from that of the video set with a low priority. As a result, even if it is determined that the size of the free space of the internal recording medium unit 19 is smaller than the predetermined threshold at the time of failure operation and the video stored in the internal recording medium unit 19 is re-edited, FIG. As shown in (), only the video in the time zone with low priority is re-edited with the image quality and the number of frames per second set low, and the quality of the video in the time zone with high priority is maintained.

その後、図10に示すように、ステップST59〜ステップST61の処理を内蔵記録媒体部19に保存されている映像のすべての単位時間ごとに行い、その後、ステップST58に戻って再度、内蔵記録媒体部19の空き容量の大きさが所定の閾値より大きいか判定し、内蔵記録媒体部19の空き容量の大きさが閾値以上になるまで繰り返す。   Thereafter, as shown in FIG. 10, the processing of step ST59 to step ST61 is performed for every unit time of the video stored in the built-in recording medium unit 19, and then the process returns to step ST58 and again the built-in recording medium unit. It is determined whether the size of the 19 free space is larger than a predetermined threshold value, and the process is repeated until the free space size of the built-in recording medium unit 19 becomes equal to or larger than the threshold value.

ここで、品質制御部15が変更する符号化部14の符号化処理の設定パラメータ値としては、具体的には画質と秒間コマ数が挙げられる。   Here, the setting parameter values of the encoding process of the encoding unit 14 changed by the quality control unit 15 are specifically image quality and the number of frames per second.

さらに、その後、障害運用時に内蔵記録媒体部19の空き容量が再度所定の閾値より小さいと判定された場合、優先度が低い時間帯の映像についてのみ、秒間コマ数等をさらに減らすように設定して再編集し、優先度が高い時間帯の映像については品質を維持する。以後、この処理を繰り返す。   Furthermore, after that, when it is determined that the free space of the built-in recording medium unit 19 is smaller than the predetermined threshold again at the time of failure operation, the number of frames per second is set to be further reduced only for the video with a low priority. Re-edit and maintain the quality of high priority video. Thereafter, this process is repeated.

ここで、イベント検出部18が検出して優先度を高く設定するイベントとは、具体的には映像や音声の変化、人感センサなどの各種センサからの入力、および、ネットワークカメラ1の外部電源喪失(内蔵バックアップ電源が備えられている場合)などが考えられるが、これらに限るものではなく、また、イベントの発生はネットワークカメラ1の単独によって検出するとしてもよいし、ネットワークカメラ1に接続された機器類から通知されるものとしてもよい。   Here, the event detected by the event detection unit 18 and set to a high priority specifically includes changes in video and audio, input from various sensors such as human sensors, and external power supply of the network camera 1. Loss (when a built-in backup power supply is provided) is conceivable. However, the present invention is not limited to this, and the occurrence of an event may be detected by the network camera 1 alone or connected to the network camera 1. It may be notified from the devices.

以上により、この発明の実施の形態3に係るネットワークカメラ1は、映像を撮像する撮像部11と、撮像部11により撮像された映像を符号化して符号化データを生成する第1の符号化部13と、第1の符号化部13により符号化された符号化データを再編集する第2の符号化部14と、ネットワーク2または記録装置3の障害を検出して、第1の符号化部13により生成された符号化データを内蔵記録媒体部19に記録させると共に、撮影環境におけるイベントを検出した場合にその時間帯に撮影した映像の優先度を高く設定し、それ以外の時間帯の映像の優先度を低く設定するイベント検出部18と、内蔵記録媒体部19の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、内蔵記録媒体部19に記録されている符号化データのうち優先度が低く設定された時間帯の映像の品質を低くするように第2の符号化部14に再編集させる品質制御部15とを備えるように構成したので、一般的に、より重要なシーンであると考えられる撮影環境においてイベントが発生した時間帯の映像の品質を維持することができるため、障害復旧後の参照時に重要度の高い時間帯の記録映像については高い品質の映像を再生することが可能となる。   As described above, the network camera 1 according to Embodiment 3 of the present invention includes the imaging unit 11 that captures video and the first encoding unit that encodes the video captured by the imaging unit 11 and generates encoded data. 13, a second encoding unit 14 that re-edits the encoded data encoded by the first encoding unit 13, a failure of the network 2 or the recording device 3, and a first encoding unit 13 is recorded in the built-in recording medium unit 19, and when an event in the shooting environment is detected, the priority of the video shot in that time zone is set high, and the video in other time zones is set. The free space of the event detection unit 18 and the built-in recording medium unit 19 that sets the priority of the recording medium unit 19 is confirmed. If the free space is smaller than a predetermined threshold value, the encoded data recorded in the built-in recording medium unit 19 is checked. Since the second encoding unit 14 is re-edited so as to reduce the quality of the video in the time zone set with a low priority among the data, generally, Since the quality of the video during the event occurred in the shooting environment that is considered to be an important scene can be maintained, high-quality video is recorded for the video during the high-importance time when referencing after failure recovery Can be played.

なお、本願発明はその発明の範囲内において、各実施の形態の自由な組み合わせ、または各実施の形態の任意の構成要素の変形、もしくは各実施の形態において任意の構成要素の省略が可能である。   In the present invention, within the scope of the invention, free combinations of the respective embodiments, modifications of arbitrary components of the respective embodiments, or omission of arbitrary components of the respective embodiments are possible. .

1 ネットワークカメラ、2 ネットワーク、3 記録装置、4 表示装置、11 撮像部、12 映像処理部、13 符号化部、14 符号化部、15 品質制御部、16 バス、17 データ送受信部、18 イベント検出部、19 内蔵記録媒体部。   1 network camera, 2 network, 3 recording device, 4 display device, 11 imaging unit, 12 video processing unit, 13 encoding unit, 14 encoding unit, 15 quality control unit, 16 bus, 17 data transmission / reception unit, 18 event detection Part, 19 Built-in recording medium part.

Claims (7)

ネットワークを介して記録装置と接続され、内蔵記録媒体部を有するネットワークカメラにおいて、
映像を撮像する撮像部と、
前記撮像部により撮像された映像を符号化して符号化データを生成する第1の符号化部と、
前記第1の符号化部により符号化された符号化データを再編集する第2の符号化部と、
前記ネットワークまたは前記記録装置の障害を検出して、前記第1の符号化部により生成された符号化データを前記内蔵記録媒体部に記録させるイベント検出部と、
前記内蔵記録媒体部の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、前記内蔵記録媒体部に記録されている符号化データの映像の品質を低くするように前記第2の符号化部に再編集させる品質制御部とを
備えることを特徴とするネットワークカメラ。
In a network camera connected to a recording device via a network and having a built-in recording medium unit,
An imaging unit for imaging video;
A first encoding unit that encodes the video imaged by the imaging unit to generate encoded data;
A second encoding unit that re-edits the encoded data encoded by the first encoding unit;
An event detection unit that detects a failure of the network or the recording device and records the encoded data generated by the first encoding unit in the built-in recording medium unit;
The free space of the built-in recording medium unit is checked, and when the free space is smaller than a predetermined threshold, the second quality of the encoded data recorded in the built-in recording medium unit is lowered. A network camera comprising: a quality control unit that causes the encoding unit to re-edit.
前記品質制御部が再編集させる前記第2の符号化部の符号化処理の設定パラメータ値が画質または秒間コマ数の設定値であることを特徴とする請求項1に記載のネットワークカメラ。   The network camera according to claim 1, wherein the setting parameter value of the encoding process of the second encoding unit that is re-edited by the quality control unit is a setting value of image quality or the number of frames per second. ネットワークを介して記録装置と接続され、内蔵記録媒体部を有するネットワークカメラにおいて、
映像を撮像する撮像部と、
前記撮像部により撮像された映像を、通常運用時と同じ品質および通常運用時よりも低い品質の2種類の品質で符号化して符号化データを生成する符号化部と、
前記ネットワークまたは前記記録装置の障害を検出して、前記符号化部により生成された符号化データを前記内蔵記録媒体部に記憶させるイベント検出部と、
前記内蔵記録媒体部の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に前記内蔵記録媒体部に記録されている通常運用時と同じ品質の符号化データを削除する品質制御部
とを備えることを特徴とするネットワークカメラ。
In a network camera connected to a recording device via a network and having a built-in recording medium unit,
An imaging unit for imaging video;
An encoding unit that generates encoded data by encoding the video imaged by the imaging unit with two types of quality, the same quality during normal operation and lower quality than during normal operation;
An event detection unit that detects a failure of the network or the recording device and stores the encoded data generated by the encoding unit in the built-in recording medium unit;
A quality control unit that checks the free space of the internal recording medium unit and deletes the encoded data having the same quality as that during normal operation recorded in the internal recording medium unit when the free space is smaller than a predetermined threshold; A network camera comprising:
前記品質制御部が再編集させる符号化部の符号化処理の設定パラメータ値が画質または秒間コマ数の設定値であることを特徴とする請求項3に記載のネットワークカメラ。   The network camera according to claim 3, wherein the setting parameter value of the encoding process of the encoding unit re-edited by the quality control unit is a setting value of image quality or the number of frames per second. 前記第1の符号化部または前記符号化部は符号化した映像に撮影時刻情報を付加することを特徴とする請求項1または請求項3記載のネットワークカメラ。   4. The network camera according to claim 1, wherein the first encoding unit or the encoding unit adds shooting time information to the encoded video. 前記イベント検出部が障害を検出していないときに前記内蔵記録媒体部に保存された映像がある場合、前記内蔵記録媒体部に保存された映像を前記記録装置へ送信することを特徴とする請求項1または請求項3記載のネットワークカメラ。   The video stored in the built-in recording medium unit is transmitted to the recording device when there is a video stored in the built-in recording medium unit when the event detection unit has not detected a failure. The network camera according to claim 1 or 3. ネットワークを介して記録装置と接続され、内蔵記録媒体部を有するネットワークカメラにおいて、
映像を撮像する撮像部と、
前記撮像部により撮像された映像を符号化して符号化データを生成する第1の符号化部と、
前記第1の符号化部により符号化された符号化データを再編集する第2の符号化部と、
前記ネットワークまたは前記記録装置の障害を検出して、前記第1の符号化部により生成された符号化データを前記内蔵記録媒体部に記録させると共に、撮影環境におけるイベントを検出した場合にその時間帯に撮影した映像の優先度を高く設定し、それ以外の時間帯の映像の優先度を低く設定するイベント検出部と、
前記内蔵記録媒体部の空き容量を確認し、空き容量が所定の閾値よりも小さい場合に、前記内蔵記録媒体部に記録されている符号化データのうち優先度が低く設定された時間帯の映像の品質を低くするように前記第2の符号化部に再編集させる品質制御部とを
備えることを特徴とするネットワークカメラ。
In a network camera connected to a recording device via a network and having a built-in recording medium unit,
An imaging unit for imaging video;
A first encoding unit that encodes the video imaged by the imaging unit to generate encoded data;
A second encoding unit that re-edits the encoded data encoded by the first encoding unit;
When a failure of the network or the recording device is detected, the encoded data generated by the first encoding unit is recorded in the built-in recording medium unit, and an event in the shooting environment is detected. An event detection unit that sets the priority of the video shot at a high level and sets the video priority at other times low,
When the free space of the built-in recording medium unit is confirmed, and the free space is smaller than a predetermined threshold, the video in the time zone set with a low priority among the encoded data recorded in the built-in recording medium unit A network camera comprising: a quality control unit that causes the second encoding unit to re-edit so as to reduce the quality of the network.
JP2011269092A 2011-12-08 2011-12-08 Network camera Pending JP2013121125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011269092A JP2013121125A (en) 2011-12-08 2011-12-08 Network camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011269092A JP2013121125A (en) 2011-12-08 2011-12-08 Network camera

Publications (1)

Publication Number Publication Date
JP2013121125A true JP2013121125A (en) 2013-06-17

Family

ID=48773562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011269092A Pending JP2013121125A (en) 2011-12-08 2011-12-08 Network camera

Country Status (1)

Country Link
JP (1) JP2013121125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101610295B1 (en) 2015-12-07 2016-04-06 (주) 신도컴퓨터 Intelligent enforcement system for illegal parking enforcement and providing method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101610295B1 (en) 2015-12-07 2016-04-06 (주) 신도컴퓨터 Intelligent enforcement system for illegal parking enforcement and providing method thereof

Similar Documents

Publication Publication Date Title
US9024999B2 (en) Information processing apparatus, conference system, and storage medium
JP6686541B2 (en) Information processing system
CN109348279B (en) Plug flow method, device, equipment and storage medium
US20140341531A1 (en) Dynamic video storing method and network security surveillance apparatus
JP5766297B2 (en) Imaging device, video recording device, video display device, video monitoring device, video monitoring system, and video monitoring method
CN102196249B (en) Monitoring data playback method, EC (Encoder) and video management server
KR101858695B1 (en) Method for managing data
JP2015095705A (en) Video monitoring system
JP5473623B2 (en) Data recording apparatus and control method thereof
JP2013121125A (en) Network camera
CN114465993B (en) Video encoding method, video decoding method and device, medium and computing device
US9338388B2 (en) Recording apparatus
JP5739079B1 (en) Movie compression apparatus and movie compression / decompression system
JP2010011287A (en) Image transmission method and terminal device
JP4780005B2 (en) Data compression recording apparatus and data compression recording method
JP4250477B2 (en) Media data recording method, media data recording apparatus, computer program, and computer-readable recording medium
JP2006287876A (en) Image recording and reproducing apparatus, image recording method, and image reproducing method
JP2015099995A (en) Recording device and recording device control method
US20080089670A1 (en) Recording apparatus
JP5392140B2 (en) Video data collection system
JP2011244294A (en) Image processing apparatus
JP5697526B2 (en) Video surveillance recorder and video surveillance system
JP4350638B2 (en) Video recording device
JP4056375B2 (en) Moving picture communication apparatus, moving picture communication method, moving picture communication program, and program recording medium
WO2021166039A1 (en) Terminal, aggregation apparatus, control circuit, storage medium, and data collection method