JP5542491B2 - Digital recorder - Google Patents
Digital recorder Download PDFInfo
- Publication number
- JP5542491B2 JP5542491B2 JP2010067228A JP2010067228A JP5542491B2 JP 5542491 B2 JP5542491 B2 JP 5542491B2 JP 2010067228 A JP2010067228 A JP 2010067228A JP 2010067228 A JP2010067228 A JP 2010067228A JP 5542491 B2 JP5542491 B2 JP 5542491B2
- Authority
- JP
- Japan
- Prior art keywords
- control
- unit
- digital recorder
- data
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Stored Programmes (AREA)
Description
この発明は、制御プログラムであるファームウェアの更新機能を備えたデジタルレコーダーに関する。 The present invention relates to a digital recorder having a firmware update function as a control program.
これまで、主に不審人物の検出、監視等を主な目的とした監視用デジタルレコーダーは多く提案されている。近年、これらのデジタルレコーダーには機能的なグラフィカルユーザーインターフェース(以下、単に「GUI」と呼ぶ)や高度なネットワーク通信機能等を搭載したものが多く、ますます高機能化は進む傾向にある。 Until now, many digital recorders for monitoring mainly for detecting and monitoring suspicious persons have been proposed. In recent years, many of these digital recorders are equipped with a functional graphical user interface (hereinafter simply referred to as “GUI”), an advanced network communication function, and the like, and there is a trend toward higher functionality.
このような状況下、デジタルレコーダーの主要動作を制御する制御プログラムであるファームウェアを更新する頻度も増える傾向にある。 Under such circumstances, the frequency of updating firmware, which is a control program for controlling the main operation of the digital recorder, tends to increase.
一方、デジタルレコーダーは監視業務等の用途として用いられる場合、24時間連続で運転されることが多いが、ファームウェアを更新する場合は、一旦、5〜10分程度、デジタルレコーダーの運転(記録)を停止する必要があり、停止期間中においても上記24時間連続運転を担保すべく、別のレコーダーを用意し代替運用させる必要がある。 On the other hand, digital recorders are often operated continuously for 24 hours when used for monitoring purposes, etc. However, when updating firmware, the digital recorder should be operated (recorded) for about 5 to 10 minutes. It is necessary to stop the operation, and it is necessary to prepare another recorder for alternative operation in order to guarantee the 24-hour continuous operation even during the stop period.
このように24時間連続運転が要求されるデジタルレコーダーにおいては、映像の記録中であっても当該デジタルレコーダーのシステム(動作)を止めることなく、デジタルレコーダー本体のファームウェアの更新を実現できれば、他のレコーダーの代替運用が不要となり非常に便利になる。 Thus, in a digital recorder that requires continuous operation for 24 hours, if the firmware of the digital recorder can be updated without stopping the system (operation) of the digital recorder even during video recording, It becomes very convenient because the alternative operation of the recorder is unnecessary.
映像等の記録中のデジタルレコーダーは制御部であるマイクロコンピュータ(CPU(Central Processing Unit)、以下、単に「CPU」と呼ぶ)がファームウェアに基づく制御動作を実行している。このため、CPUの制御動作内容に悪影響を与えることなく、CPUが制御動作時に用いているファームウェア自体を書き換えることは実質的に不可能である。したがって、現在、記録中にファームウェア更新が可能なデジタルレコーダーは存在していない。 In a digital recorder that is recording video or the like, a microcomputer (CPU (Central Processing Unit), hereinafter simply referred to as “CPU”) as a control unit executes a control operation based on firmware. For this reason, it is virtually impossible to rewrite the firmware itself used by the CPU during the control operation without adversely affecting the control operation content of the CPU. Therefore, there is currently no digital recorder that can update firmware during recording.
また、特許文献1で開示されたようなマルチCPUシステムは、各CPUに対するソフトウェアをダウンロードする処理を、他のCPUが運用中の通常サービスにほとんど影響を与えることなく実行することを実現している。このように、ほとんど同一の機能を有するCPUとプログラムを追加する手法をデジタルレコーダーに適用することで、記録中のファームウェア更新を実現するという解決案が一つ考えられる。
Further, the multi-CPU system as disclosed in
しかしながら、特許文献1のように、新たに同一機能のシステム(CPUとプログラム)を追加する場合には、追加分の回路規模が大きくなるため多くの基板等のスペースを占有することに加え、開発規模も増大するため、トータル的にコスト面で不利になってしまうという問題点があった。
However, when a system (CPU and program) having the same function is newly added as in
この発明は上記問題点を解決するためになされたもので、映像等の外部情報の記録中であってもファームウェア更新処理が可能なデジタルレコーダーを比較的簡単な構成で得ることを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a digital recorder capable of firmware update processing with a relatively simple configuration even during recording of external information such as video.
この発明に係る請求項1記載のデジタルレコーダーは、外部より得られる外部情報に基づくデータを記録するデジタルレコーダーであって、前記外部情報に基づくデジタル信号に対し圧縮処理を行い圧縮処理済みデータを得るデータ圧縮部と、前記圧縮処理済みデータを転送して所定の記録デバイスに記録させるデータ転送処理を行うデータ転送部と、前記データ圧縮部による前記圧縮処理及び前記データ転送部による前記データ転送処理を制御する補助制御部と、前記デジタルレコーダーの主要動作を制御するための制御プログラムを格納する制御プログラム格納部と、前記制御プログラムに基づき主要制御動作を実行する主要制御部とを備え、前記主要制御部は前記制御プログラム格納部における前記制御プログラムの内容を更新可能であり、前記補助制御部及び前記主要制御部からアクセス可能な共有情報保持部をさらに備え、前記共有情報保持部は前記データ圧縮部による前記圧縮処理の制御用の制御パラメータを格納する制御情報用記憶部を含み、前記制御パラメータは第1及び第2の制御パラメータを含み、前記制御情報用記憶部は前記第1及び第2の制御パラメータを格納する第1及び第2の制御情報用記憶部を含み、前記補助制御部は、前記主要制御部の前記主要制御動作のうち少なくともデータの記録動作の制御中は、前記主要制御部が前記第1の制御情報記憶部に格納した前記第1の制御パラメータを読み出して、該第1の制御パラメータに基づき前記データ圧縮部による前記圧縮処理を制御し、前記主要制御部による前記制御プログラムの更新処理の実行中において、前記主要制御部が前記第2の制御情報用記憶部に格納した前記第2の制御パラメータを読み出して、該第2の制御パラメータに基づき前記データ圧縮部による前記圧縮処理を制御している。 According to a first aspect of the present invention, there is provided a digital recorder for recording data based on external information obtained from the outside, and compressing the digital signal based on the external information to obtain compressed data A data compression unit, a data transfer unit that performs data transfer processing for transferring the compressed data and recording the data on a predetermined recording device, the compression processing by the data compression unit, and the data transfer processing by the data transfer unit. An auxiliary control unit for controlling, a control program storage unit for storing a control program for controlling the main operation of the digital recorder, and a main control unit for executing a main control operation based on the control program. Can update the contents of the control program in the control program storage unit. A shared information holding unit accessible from the auxiliary control unit and the main control unit, wherein the shared information holding unit stores a control parameter for controlling the compression processing by the data compression unit. The control parameter includes first and second control parameters, and the control information storage unit includes first and second control information storage units for storing the first and second control parameters. The auxiliary control unit includes the first control stored in the first control information storage unit by the main control unit during control of at least the data recording operation of the main control operation of the main control unit. read the parameter, based on the control parameters of the first controls the compression processing by the data compression unit, the running of the update process of the control program by the main control unit Oite, said main control unit reads the second control parameter stored in the storage unit for the second control information, and controls the compression processing by the data compression unit on the basis of the control parameters of the second Yes.
この発明における請求項1記載のデジタルレコーダーにおいて、補助制御部は、主要制御部による制御プログラムの更新処理の実行中において、上記主要制御部が第2の制御情報用記憶部に格納した第2の制御パラメータを読み出して、該第2の制御パラメータに基づき上記データ圧縮部による上記圧縮処理を制御している。このため、制御プログラムの更新処理中においても、補助制御部の制御下で支障なく外部情報に基づく圧縮処理済みデータを記録デバイスに記録することができる。
Stored in the digital recorder according to
その結果、他に同等なデジタルレコーダーを用意して代替運用させることなく、制御プログラムを更新しながら圧縮処理済みデータの連続記録を支障なく行うことができる効果を奏する。 As a result, there is an effect that the continuous recording of the compressed data can be performed without any trouble while updating the control program without preparing another equivalent digital recorder and performing the alternative operation.
加えて、補助制御部及び制御情報用記憶部は、所定の記録デバイスへの記録機能を実現するための最低限必要な制御を行う機能を有すればよいため、比較的簡単な回路構成でデジタルレコーダーを構成することができる。 In addition, the auxiliary control unit and the control information storage unit need only have a function of performing the minimum necessary control for realizing a recording function to a predetermined recording device, so that the digital control can be performed with a relatively simple circuit configuration. A recorder can be configured.
<前提技術>
図6は本発明の前提技術となる、従来のデジタルレコーダーの一般的な構成を示すブロック図である。
<Prerequisite technology>
FIG. 6 is a block diagram showing a general configuration of a conventional digital recorder, which is a prerequisite technology of the present invention.
同図に示すように、カメラ20は内部の所定の撮像装置から取得した映像・音声アナログ信号S20をデジタルレコーダーDR9に出力する。
As shown in the figure, the
従来のデジタルレコーダーDR9は、A/D変換部11、映像処理部12、CODEC13、記録デバイス14、データ転送部15、CPU16、RAM17、フラッシュメモリ18及びUSBポート19から構成される。
The conventional digital recorder DR9 includes an A /
A/D変換部11は、入力された映像・音声アナログ信号S20を映像・音声デジタル信号S11に変換する。
The A /
映像処理部12は、入力された映像・音声デジタル信号S11に対して拡大、縮小等の画像処理等で加工を施して得られる画像処理済みデジタル信号S12をCODEC13に出力する。
The
CODEC13は、映像処理部12から入力された無圧縮の画像処理済みデジタル信号S12に対し、JPEG、MPEG等の圧縮技術を用いて、圧縮処理済みデータD13を得るデータ圧縮手段である。
The
データ転送部15は、それぞれCODEC13、記録デバイス14のバスを利用した相互データ転送を実現している。
The
次に、CPU16の役割について説明する。CPU16はデジタルレコーダーDR9全体の制御及び各種情報の管理を行う。具体的には、記録再生やデータ転送等のためのデータ転送制御、CODEC13、GUIなどの各種インターフェイスの制御、記録データ管理、時計管理機能等、多岐にわたる。これらの機能は、ファームウェアとして実装された制御プログラムをCPU16が実行することにより実現される。ただし、映像等の記録のみ行っている状態においては、CPU16の役割は主にCODEC13の制御等に限られるため、CPU16の処理負荷はそれほど高くない。
Next, the role of the
なお、GUIは、ユーザが各種設定するための画面がパソコン(PC)のGUIのような操作で行えるようにするためのものである。インターフェイス制御は、たとえばUSBやLCD等の制御を行うものである。記録データ管理は、CODEC13から受け取ったデータをHDD等の記録デバイス14に格納する際に、後に再生しやすいように、データの並び順を変えたり、データの内容を少し変更したりというような作業を意味する。時計管理機能は、CODEC13から受け取ったデータに現在の時刻を埋めこんで、再生する際に時間も表示できるようにするための機能である。
Note that the GUI is for enabling a user to perform various settings on the screen by operating the personal computer (PC) GUI. The interface control is, for example, for controlling a USB or LCD. In the recording data management, when the data received from the
次に、ファームウェア更新の仕組みについて説明する。ファームウェア更新は、CPU16がUSBメモリ(図示せず)に格納されている更新対象のファームウェアをUSBポート19を介して転送しフラッシュメモリ18内に格納することにより実現される。
Next, the firmware update mechanism will be described. The firmware update is realized by the
ファームウェアの更新中において、CPU16はファームウェアに基づく制御動作を実行することができないため、デジタルレコーダーDR9の全機能を停止させる必要があり、当然、映像等の記録機能においても停止させなければならない。
During the update of the firmware, the
図7は従来のデジタルレコーダーDR9におけるファームウェア更新の処理手順を示すフローチャートである。以下、同図を参照して従来のデジタルレコーダーDR9におけるファームウェア更新処理内容を説明する。 FIG. 7 is a flowchart showing a firmware update processing procedure in the conventional digital recorder DR9. Hereinafter, the firmware update processing content in the conventional digital recorder DR9 will be described with reference to FIG.
まず、ステップST21において、はじめにREC状態(映像等の記録中の状態)から、ステップST22で記録を停止(REC STOP)させ、その後、ステップST23で電源OFF状態(POWER OFF)にする。 First, in step ST21, recording is first stopped (REC STOP) from step REC (REC STOP) in step ST22 from the REC state (video recording state), and then in step ST23, the power is turned off (POWER OFF).
そして、ステップST24において、CPU16が映像等の記録を停止した状態で、ファームウェア更新が行われる。その後、ステップST25で電源ON状態(POWER ON)にされた後、ステップST26でREC状態に復帰する。
In step ST24, the firmware is updated in a state where the
このように、従来のデジタルレコーダーDR9のシステム構成では、映像等の記録を続けながらファームウェア更新処理を行うことは原理的に不可能であった。 As described above, in the system configuration of the conventional digital recorder DR9, it is impossible in principle to perform the firmware update process while continuing to record video and the like.
<実施の形態1>
図1はこの発明の実施の形態1であるデジタルレコーダーのシステム構成を示すブロック図である。
<
FIG. 1 is a block diagram showing a system configuration of a digital recorder according to
なお、本明細書で示す実施の形態(実施の形態1,実施の形態2)では、カメラ等の映像・音声信号等の外部情報から内容処理により得られたデジタルデータをデータ圧縮手段を用いて圧縮し、圧縮したデータをHDDなどの記録デバイスに保存する機能を有した典型的なデジタルレコーダーを想定している。
In the embodiments shown in this specification (
図1に示すように、カメラ20より外部情報である映像・音声アナログ信号S20を受けるデジタルレコーダーDR1は、A/D変換部1、映像処理部2、CODEC3、記録デバイス4、データ転送部5、信号処理制御部6、RAM7、CPU8、フラッシュメモリ9及びUSBポート10から構成される。
As shown in FIG. 1, a digital recorder DR1 that receives a video / audio analog signal S20 that is external information from a
図1に示すように、カメラ20は内部の所定の撮像装置から取得した映像・音声アナログ信号S20をデジタルレコーダーDR1に出力する。
As shown in FIG. 1, the
A/D変換部1は、入力された映像・音声アナログ信号S20を映像・音声デジタル信号S1に変換する。
The A /
映像処理部2は、入力された映像・音声デジタル信号S1に対して拡大、縮小等の画像処理等で加工を施して得られる画像処理済みデジタル信号S2をCODEC3に出力する。
The
CODEC3は、映像処理部2から入力された無圧縮の画像処理済みデジタル信号S2に対し、JPEG、MPEG等の圧縮技術を用いて圧縮処理を行い、圧縮処理済みデータD3を得るデータ圧縮部である。CODEC3による上記圧縮処理は信号処理制御部6より得られる制御信号SCに基づき実行される。
The CODEC 3 is a data compression unit that performs compression processing on the uncompressed image processed digital signal S2 input from the
データ転送部5は、それぞれCODEC3、記録デバイス4(所定の記録デバイス)のバスを利用した相互データ転送処理を実現しており、圧縮処理済みデータD3を記録デバイス4に転送し、記録デバイス4内に圧縮処理済みデータD3を記録する等のデータ転送処理を行う。データ転送部5による上記データ転送処理は信号処理制御部6より得られる制御信号S6に基づき実行される。
The
信号処理制御部6は記録用マイコン部6a、制御用レジスタ群6b、制御用レジスタ群6c及びファームウェア更新状態通知用レジスタ群6dから構成される。
The signal
記録用マイコン部6aは、制御信号S6及び制御信号SCを信号処理制御部6及びCODEC3に与え、データ転送部5及びCODEC3の動作を制御する。すなわち、記録用マイコン部6aは第1のマイクロコンピュータ(補助制御部)として機能する。
The
共有情報保持部であるレジスタ群6b〜6dは記録用マイコン部6a及び後述するCPU8から読み書き可能な共有情報保持手段として機能する。
The
第2のマイクロコンピュータ(主要制御部)であるCPU8は上述したようにレジスタ群6b〜6dに対する読み書き可能であるとともに、RAM7及びフラッシュメモリ9に対しても読み書き可能である。制御プログラム格納部であるフラッシュメモリ9にはファームウェアと呼ばれるCPU8による制御動作用の制御プログラムが格納されており、このファームウェアCPU8によって書き換え可能である。
As described above, the CPU 8 that is the second microcomputer (main control unit) can read and write to the
信号処理制御部6は、前述したとおり大きく分類すると、データ転送部5及び信号処理制御部6を制御する第1のマイクロコンピュータとして機能する記録用マイコン部6aと、記録用マイコン部6a及びCPU8から読み書き可能なレジスタ群6b〜6dとに分類される。
The signal
レジスタ群6b〜6dは、CODEC制御用の制御パラメータを格納する制御用レジスタ群6b,6cと、ファームウェア更新状態通知のための内外部のデバイスから書き込み、読み出し可能なファームウェア更新状態通知用レジスタ群6dとから構成される。
制御情報用記憶部である制御用レジスタ群6b,6cには、CODEC3に対して設定するフレームレート値、画質パラメータ値等の設定データ、および記録開始、停止、画像要求等のパラメータを含む制御パラメータが格納される。
また、制御プログラム更新状態通知用記憶部であるファームウェア更新状態通知用レジスタ群6dは、CPU8から信号処理制御部6に対してファームウェア更新状態(更新開始、更新停止)を通知可能な情報を格納するために用意されている。
The firmware update status
記録用マイコン部6aは、レジスタ群6b〜6dに格納された値に基づき、CODEC3に対して上記制御パラメータを含む制御信号SCを与え、CODEC3による圧縮処理を制御する。
Based on the values stored in the
また、記録用マイコン部6aは、データ転送部5に制御信号S6を与えデータ転送部5を制御して、CODEC3から入力された圧縮処理済みデータD3を、メモリ、HDD等に代表される記録デバイス4に転送させるデータ転送制御機能も有している。なお、記録用マイコン部6aによる上記データ転送制御機能、記録データ管理機能、時計管理機能等は内部のメモリ(図示せず)等に格納された専用プログラム等を実行することにより実現される。
Further, the
また、記録用マイコン部6aには、CPU8より廉価な簡単な構成のマイクロコンピュータが使用されており、前述した制御パラメータの設定、データ転送制御機能等を実現している。なぜなら、記録用マイコン部6aに要求される機能はCODEC3及びデータ転送部5の制御等であり、比較的簡単な構成で実現できるからである。
The
次に、図6で示した従来のデジタルレコーダーDR9におけるCPU16と、図1で示した実施の形態1のデジタルレコーダーDR1におけるCPU8及び信号処理制御部6の役割の違いについて説明する。
Next, differences in the roles of the
従来のデジタルレコーダーDR9におけるCPU16の役割として、ODEC13の制御全般、データ転送部15の制御、GUI等の各種インターフェイスの制御、記録データ管理機能、時計管理機能等がある。
The role of the
一方、本実施の形態のデジタルレコーダーDR1におけるCPU8(第2のマイクロコンピュータ)の役割として、CODEC3を制御するための制御パラメータの設定等、GUI等の各種インターフェイスの制御等がある。CPU8は、GUI等の各種インターフェイスの制御をRAM7を用いて実行するが、この制御は比較的負荷が大きい。 On the other hand, the role of the CPU 8 (second microcomputer) in the digital recorder DR1 of the present embodiment includes setting of control parameters for controlling the CODEC 3, control of various interfaces such as GUI, and the like. The CPU 8 executes control of various interfaces such as GUI using the RAM 7, but this control is relatively heavy.
加えて、本実施の形態1のデジタルレコーダーDR1における記録用マイコン部6a(第1のマイクロコンピュータ)の役割として、CODEC3の制御、データ転送部5の制御、記録データ管理機能、時計管理機能がある。
In addition, the role of the
上述したように、実施の形態1では、従来システムであるデジタルレコーダーDR9のCPU16が担う処理を、実施の形態1のデジタルレコーダーDR1におけるCPU8と信号処理制御部6(記録用マイコン部6a)とに分担させている。これにより、本実施の形態では、通常記録時において、システム全体におけるCPU8の負担を軽くすることができる。
As described above, in the first embodiment, the processing performed by the
図2は通常動作モード設定時におけるCPU8及び記録用マイコン部6aの動作内容を模式的に示す説明図である。
FIG. 2 is an explanatory diagram schematically showing the operation contents of the CPU 8 and the
同図に示すように、通常動作モード設定時においては、CPU8は制御用レジスタ群6bに対しCODEC3用の制御パラメータを逐一設定し、記録用マイコン部6aは制御用レジスタ群6bに格納された制御パラメータに基づく制御信号SCをCODEC3に出力し、CODEC3による圧縮処理を制御する。
As shown in the figure, when the normal operation mode is set, the CPU 8 sets control parameters for the CODEC 3 for the
図3はファームウェア更新モード設定時におけるCPU8及び記録用マイコン部6aの動作内容を模式的に示す説明図である。
FIG. 3 is an explanatory diagram schematically showing the operation contents of the CPU 8 and the
ファームウェア更新モード設定時においては、CPU8はファームウェア更新処理を行うため、CODEC3用の制御パラメータを制御用レジスタ群6bに逐一設定することはできない。このため、図3に示すように、記録用マイコン部6aは、制御用レジスタ群6cに格納された制御パラメータに基づき、制御信号SCをCODEC3に出力してCODEC3による圧縮処理を制御する。
When the firmware update mode is set, since the CPU 8 performs firmware update processing, the control parameters for the CODEC 3 cannot be set in the
図4は実施の形態1のデジタルレコーダーDR1におけるファームウェア更新処理の処理手順を示すフローチャートである。以下、同図を参照して、デジタルレコーダーDR1のファームウェア更新処理内容を説明する。 FIG. 4 is a flowchart showing a processing procedure of firmware update processing in the digital recorder DR1 of the first embodiment. Hereinafter, the firmware update processing content of the digital recorder DR1 will be described with reference to FIG.
なお、図4で示す処理が実行されるときは、更新対象のファームウェアが格納されたUSBメモリ(図1では図示せず)をデジタルレコーダーDR1のUSBポート10に装着するというファームウェア更新の事前準備が行われていることを前提としている。
When the process shown in FIG. 4 is executed, there is a preparation for firmware update in which a USB memory (not shown in FIG. 1) storing firmware to be updated is attached to the
また、上記事前準備の段階ではデジタルレコーダーDR1は通常動作モードであり通常の記録動作を行っている。すなわち、図2に示すように、CPU8は制御用レジスタ群6bに格納する制御パラメータを逐次書き換え、記録用マイコン部6aは制御用レジスタ群6bに格納された最新の制御パラメータに基づく制御信号SCを与えCODEC3による圧縮処理を制御し、CODEC3より得られる圧縮処理済みデータD3をデータ転送部5を介して記録デバイス4に記録させている。
Further, at the stage of the advance preparation, the digital recorder DR1 is in a normal operation mode and performs a normal recording operation. That is, as shown in FIG. 2, the CPU 8 sequentially rewrites the control parameters stored in the
図4を参照して、まず、ステップST1において、CPU8が制御用レジスタ群6cにCODEC3に対する制御、設定用の制御パラメータを設定する。すなわち、ファームウェア更新モードに移行すべく、制御用レジスタ群6cに制御パラメータを設定する。
Referring to FIG. 4, first, in step ST1, CPU 8 sets control parameters for control and setting for CODEC 3 in
次に、ステップST2において、CPU8がファームウェア更新状態通知用レジスタ群6dに格納される情報を「有効」に設定する。その結果、デジタルレコーダーDR1は通常動作モードからファームウェア更新モードに切り替わる。
Next, in step ST2, the CPU 8 sets the information stored in the firmware update state
したがって、記録用マイコン部6aは、ファームウェア更新状態通知用レジスタ群6dに格納された「有効」を指示する情報を参照することにより、ファームウェア更新モードであることを認識することができる。そして、記録用マイコン部6aは、図3で示したように、制御用レジスタ群6cに格納された制御パラメータに基づく制御信号SCを与えCODEC3による圧縮処理を制御し、CODEC3より得られる圧縮処理済みデータD3をデータ転送部5を介して記録デバイス4に記録させる。
Therefore, the
続いて、ステップST3において、CPU8によるレジスタ群6b〜6dへのアクセスを停止して、CPU8はUSBメモリ内の更新対象のファームウェア(制御プログラム)を、フラッシュメモリ9に書込むことによりファームウェアを更新し、さらに、フラッシュメモリ9内で更新された最新のファームウェア(制御プログラム)を実行する。
Subsequently, in step ST3, the CPU 8 stops accessing the
ステップST3の実行時においても、記録用マイコン部6aは、制御用レジスタ群6cに格納された制御パラメータに基づく制御信号SCを与えCODEC3による圧縮処理の制御(ファームウェア更新モード設定時の制御)を支障なく行うことができる。
Even during the execution of step ST3, the
そして、ステップST3のファームウェアの起動が完了すると、ステップST4において、CPU8がファームウェア更新状態通知用レジスタ群6dに格納される情報を「無効」に設定する。その結果、デジタルレコーダーDR1はファームウェア更新モードから通常動作モードに切り替わる。
When the activation of the firmware in step ST3 is completed, in step ST4, the CPU 8 sets the information stored in the firmware update state
その後、ステップST5において、CPU8は制御用レジスタ群6bに逐一CODEC3に対する制御パラメータを設定する通常動作に移行する。
Thereafter, in step ST5, the CPU 8 shifts to a normal operation in which control parameters for the CODEC 3 are set in the
したがって、記録用マイコン部6aは、ステップST4の実行後に、ファームウェア更新状態通知用レジスタ群6dに設定された「無効」を指示する情報を参照することにより、通常動作モードへの復帰を認識することができ、ステップST5の実行段階では、制御用レジスタ群6bに格納された制御パラメータに基づく制御信号SCを与えCODEC3による圧縮制御、すなわち、通常動作モード時の制御を行うことができる。
Therefore, the
以上が実施の形態1のデジタルレコーダーDR1におけるファームウェア更新開始から終了までの手順である。 The above is the procedure from the start to the end of firmware update in the digital recorder DR1 of the first embodiment.
なお、実施の形態1では、ファームウェア格納媒体(手段)としてUSBメモリをUSBポート10に接続した例を挙げたが、ファームウェア格納手段はこれに限定するものではなく、例えばフラッシュメモリやSDカード等の他の格納手段を用いても良い。
In the first embodiment, an example in which a USB memory is connected to the
この発明における実施の形態1のデジタルレコーダーDR1において、補助制御部である記録用マイコン部6aは、主要制御部であるCPU8によるファームウェアの更新処理の実行中において、制御情報用記憶部である制御用レジスタ群6cに格納された制御パラメータを読み出して、該制御パラメータに基づきCODEC3による圧縮処理を制御している。このため、ファームウェアの更新処理中も支障なく外部情報である映像・音声アナログ信号S20に基づく圧縮処理済みデータD3を記録デバイス4に記録することができる。
In the digital recorder DR1 according to the first embodiment of the present invention, the
すなわち、実施の形態1のデジタルレコーダーDR1は、CPU8に加え記録用マイコン部6aを有することにより、CPU8の処理負荷を軽減できることに加え、CPU8によるファームウェア更新処理時には、CPU8をフリー状態にできるため、記録用マイコン部6aによる圧縮処理済みデータD3の記録中にCPU8によるファームウェア更新処理を実行させることができる。
That is, since the digital recorder DR1 of the first embodiment has the
その結果、デジタルレコーダーDR1は、他に同等なデジタルレコーダーを用意して代替運用させることなく、ファームウェアを更新しながら圧縮処理済みデータD3の連続記録を支障なく行うことができる効果を奏する。 As a result, the digital recorder DR1 has an effect that it is possible to continuously record the compressed data D3 while updating the firmware without preparing another equivalent digital recorder and performing a replacement operation.
すなわち、デジタルレコーダーDR1単体でファームウェア更新処理中においても映像・音声アナログ信号S20に基づく圧縮処理済みデータD3の連続記録が可能であるため、ファームウェア更新処理中に別のデジタルレコーダーを用意し代替運用させる手間を省くことができる効果を奏する。 That is, since it is possible to continuously record the compressed data D3 based on the video / audio analog signal S20 even during the firmware update process of the digital recorder DR1 alone, another digital recorder is prepared for the alternative operation during the firmware update process. There is an effect that can save time and effort.
また、記録用マイコン部6aは、ファームウェア更新状態通知用レジスタ群6dの内容(情報)を参照することにより、ファームウェアの更新時であることを正確に認識することができる。
The
加えて、信号処理制御部6内の記録用マイコン部6aは、デジタルレコーダーDR9ではCPU16が行っていた記録制御処理及び各種情報管理のうち、記録機能を実現する最低限必要な制御処理及び情報管理を実行している。また、レジスタ群6b〜6dは、記録用マイコン部6aの処理に必要な情報を格納しているにすぎない。
In addition, the
したがって、記録用マイコン部6a及びレジスタ群6b〜6dからなる信号処理制御部6の追加よるコスト増加及びスペース増加はほとんどないため、低コストかつ省スペースなデジタルレコーダーDR1を得ることができる。
Therefore, there is almost no increase in cost and space due to the addition of the
このように、デジタルレコーダーDR1は全体としてかなり小規模なハードウェアシステムで構成されるため、部品の実装面積も少なく省スペース化を実現することができ、コストメリットも大きい。 As described above, since the digital recorder DR1 is constituted by a considerably small hardware system as a whole, the mounting area of components is small, space saving can be realized, and cost merit is great.
なお、本実施の形態の信号処理制御部6(記録用マイコン部6a)を実現するデバイスの第一候補としては、ASIC等が挙げられる。
In addition, ASIC etc. are mentioned as a 1st candidate of the device which implement | achieves the signal processing control part 6 (
<実施の形態2>
図5は実施の形態1のデジタルレコーダーDR2におけるファームウェア更新処理の処理手順を示すフローチャートである。以下、同図を参照して、デジタルレコーダーDR2のファームウェア更新処理内容を説明する。
<
FIG. 5 is a flowchart showing a processing procedure of firmware update processing in the digital recorder DR2 of the first embodiment. Hereinafter, the firmware update processing content of the digital recorder DR2 will be described with reference to FIG.
なお、デジタルレコーダーDR2の構成は図1で示したデジタルレコーダーDR1と同様である。また、デジタルレコーダーDR2のファームウェア更新処理において、実施の形態1のデジタルレコーダーDR1と同様な処理内容は説明を適宜省略する。 The configuration of the digital recorder DR2 is the same as that of the digital recorder DR1 shown in FIG. In the firmware update process of the digital recorder DR2, the description of the same processing contents as those of the digital recorder DR1 of the first embodiment will be omitted as appropriate.
図5を参照して、まず、ステップST11において、CPU8が制御用レジスタ群6cにCODEC3用の制御パラメータを設定する。制御パラメータには、画像処理済みデジタル信号S2に対するフレームレートを所定範囲で規定するフレームレート情報を含んでいる。
Referring to FIG. 5, first, in step ST11, CPU 8 sets a control parameter for CODEC 3 in
ステップST11において、最大秒間フレームレート(例えば、30 fps(frame per second))を指示するフレームレート情報を含む制御パラメータを設定する。なお、秒間フレームレートは、0.5fps〜30fps程度の範囲内でユーザの指定により設定されるのが一般的である。 In step ST11, a control parameter including frame rate information indicating a maximum frame rate (for example, 30 fps (frame per second)) is set. Note that the second frame rate is generally set by the user's designation within a range of about 0.5 fps to 30 fps.
その後、実施の形態1のデジタルレコーダーDR1のステップST2〜ST5と同様なステップST12〜ST15を実行する。 Thereafter, steps ST12 to ST15 similar to steps ST2 to ST5 of the digital recorder DR1 of the first embodiment are executed.
以上説明したように、実施の形態2のデジタルレコーダーDR2は、ファームウェア更新処理時において、制御用レジスタ群6cに設定する制御パラメータ内のフレームレート情報によって指示される秒間フレームレートを最大秒間フレームレートに設定したことを特徴としている。
As described above, the digital recorder DR2 according to the second embodiment sets the maximum frame rate for the second frame rate specified by the frame rate information in the control parameter set in the
したがって、第1のマイクロコンピュータである記録用マイコン部6aは、CPU8によるファームウェア更新処理時において、制御パラメータが指示する最大秒間フレームでCODEC3による圧縮処理が行われるよう、CODEC3を制御する。
Therefore, the
このように、実施の形態2のデジタルレコーダーDR2によれば、CPU8によるファームウェア更新処理時において、補助制御部である記録用マイコン部6aの制御下でCODEC3から画像処理済みデジタル信号S2に対し最大秒間フレームレートで処理された圧縮処理済みデータD3を得ることにより、精度の高い動画情報を含む圧縮処理済みデータD3の記録デバイス4への記録を行うことができる。
Thus, according to the digital recorder DR2 of the second embodiment, during the firmware update process by the CPU 8, under the control of the
例えば、デジタルレコーダーDR2を監視用デジタルレコーダーなどに適用する場合、圧縮処理済みデータD3が時間的に密に取得できるため、ファームウェア更新処理中に不審人物等がカメラ20に撮影された場合等において、記録デバイス4に記録された圧縮処理済みデータD3として、当該人物を記録し損なう確率を低く抑えることができる効果を奏する。
For example, when the digital recorder DR2 is applied to a monitoring digital recorder or the like, since the compressed data D3 can be obtained densely in time, when a suspicious person is photographed by the
(その他)
上述したデジタルレコーダーDR1,DR2を、24時間の連続運用が必要な監視用デジタルレコーダーなどに適用することで、記録中の映像や音声のデータが欠けることなくデジタルレコーダーDR1,DR2内に蓄積しながら、ファームウェア更新処理を行うことができる。そのため、不審(人)物などの映像を逃すことなく記録デバイス4への圧縮処理済みデータD3として記録することができ、堅牢なセキュリティシステムの構築が可能になる。
(Other)
By applying the above-described digital recorders DR1 and DR2 to a monitoring digital recorder that requires continuous operation for 24 hours, the video and audio data being recorded can be accumulated in the digital recorders DR1 and DR2 without being lost. Firmware update processing can be performed. Therefore, video such as suspicious (human) objects can be recorded as compressed data D3 to the recording device 4 without missing, and a robust security system can be constructed.
また、上述した実施の形態では、通常動作モード及びファームウェア更新モードで制御用レジスタ群6b及び6cを使い分けたが、一つの制御用レジスタ群を用いても、通常動作モードではCPU8による制御パラメータの逐次更新が行われるように、ファームウェア更新モードでは制御パラメータを固定にすることにより実現可能である。
In the above-described embodiment, the
本発明は、映像等の記録中においても途切れることなく、ファームウェア更新処理を実現したデジタルレコーダー全般に係るものである。 The present invention generally relates to a digital recorder that realizes a firmware update process without interruption even during recording of a video or the like.
1 A/D変換部、2 映像処理部、3 CODEC、4 記録デバイス、5 データ転送部、6 信号処理制御部、6a 記録用マイコン部、6b,6c 制御用レジスタ群、6d ファームウェア更新状態通知用レジスタ群、7 RAM、8 CPU、9 フラッシュメモリ、10 USBポート、20 カメラ。 1 A / D conversion unit, 2 video processing unit, 3 CODEC, 4 recording device, 5 data transfer unit, 6 signal processing control unit, 6a recording microcomputer unit, 6b, 6c control register group, 6d for firmware update status notification Register group, 7 RAM, 8 CPU, 9 Flash memory, 10 USB port, 20 Cameras.
Claims (3)
前記外部情報に基づくデジタル信号に対し圧縮処理を行い圧縮処理済みデータを得るデータ圧縮部と、
前記圧縮処理済みデータを転送して所定の記録デバイスに記録させるデータ転送処理を行うデータ転送部と、
前記データ圧縮部による前記圧縮処理及び前記データ転送部による前記データ転送処理を制御する補助制御部と、
前記デジタルレコーダーの主要動作を制御するための制御プログラムを格納する制御プログラム格納部と、
前記制御プログラムに基づき主要制御動作を実行する主要制御部とを備え、前記主要制御部は前記制御プログラム格納部における前記制御プログラムの内容を更新可能であり、
前記補助制御部及び前記主要制御部からアクセス可能な共有情報保持部をさらに備え、前記共有情報保持部は前記データ圧縮部による前記圧縮処理の制御用の制御パラメータを格納する制御情報用記憶部を含み、
前記制御パラメータは第1及び第2の制御パラメータを含み、前記制御情報用記憶部は前記第1及び第2の制御パラメータを格納する第1及び第2の制御情報用記憶部を含み、
前記補助制御部は、前記主要制御部の前記主要制御動作のうち少なくともデータの記録動作の制御中は、前記主要制御部が前記第1の制御情報記憶部に格納した前記第1の制御パラメータを読み出して、該第1の制御パラメータに基づき前記データ圧縮部による前記圧縮処理を制御し、前記主要制御部による前記制御プログラムの更新処理の実行中において、前記主要制御部が前記第2の制御情報用記憶部に格納した前記第2の制御パラメータを読み出して、該第2の制御パラメータに基づき前記データ圧縮部による前記圧縮処理を制御することを特徴とする、
デジタルレコーダー。 A digital recorder for recording data based on external information obtained from outside,
A data compression unit that performs compression processing on the digital signal based on the external information to obtain compressed data;
A data transfer unit that performs a data transfer process for transferring the compressed data and recording the data on a predetermined recording device;
An auxiliary control unit that controls the compression processing by the data compression unit and the data transfer processing by the data transfer unit;
A control program storage unit for storing a control program for controlling main operations of the digital recorder;
A main control unit that executes a main control operation based on the control program, the main control unit can update the content of the control program in the control program storage unit,
The information processing apparatus further includes a shared information holding unit accessible from the auxiliary control unit and the main control unit, and the shared information holding unit includes a control information storage unit that stores control parameters for controlling the compression processing by the data compression unit. Including
The control parameters include first and second control parameters, and the control information storage unit includes first and second control information storage units that store the first and second control parameters,
The auxiliary control unit is configured to store the first control parameter stored in the first control information storage unit by the main control unit during control of at least a data recording operation among the main control operations of the main control unit. Read and control the compression processing by the data compression unit based on the first control parameter, and during execution of the update process of the control program by the main control unit, the main control unit is the second control information Reading the second control parameter stored in the storage unit for controlling, and controlling the compression processing by the data compression unit based on the second control parameter ,
Digital recorder.
前記共有情報保持部は、制御プログラムの更新状態の有無に関する情報を格納する制御プログラム更新状態通知用記憶部をさらに含み、
前記主要制御部は、制御プログラムの更新処理に先がけて、前記制御プログラムの更新時であることを指示する情報を前記制御プログラム更新状態通知用記憶部に書込み、
前記補助制御部は、前記制御プログラム更新状態通知用記憶部の内容を参照することにより、前記制御プログラムの更新時であることを認識する、
デジタルレコーダー。 The digital recorder according to claim 1,
The shared information holding unit further includes a control program update state notification storage unit that stores information on the presence or absence of an update state of the control program,
Prior to the update process of the control program, the main control unit writes information indicating that the control program is being updated to the control program update state notification storage unit,
The auxiliary control unit recognizes that the control program is being updated by referring to the content of the control program update state notification storage unit.
Digital recorder.
前記デジタル信号は映像デジタル信号を含み、
前記制御パラメータは、前記映像デジタル信号に対するフレームレートを所定範囲で規定するフレームレート情報を含み、
前記主要制御部は、制御プログラムの更新処理に先がけて、前記所定範囲内で最大のフレームレートを指示する前記フレームレート情報を含む前記第2の制御パラメータを前記制御情報用記憶部に書き込む、
デジタルレコーダー。 A digital recorder according to claim 1 or claim 2,
The digital signal includes a video digital signal,
The control parameter includes frame rate information defining a frame rate for the video digital signal within a predetermined range,
The main control unit writes the second control parameter including the frame rate information indicating the maximum frame rate within the predetermined range in the control information storage unit prior to the update process of the control program.
Digital recorder.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010067228A JP5542491B2 (en) | 2010-03-24 | 2010-03-24 | Digital recorder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010067228A JP5542491B2 (en) | 2010-03-24 | 2010-03-24 | Digital recorder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011198315A JP2011198315A (en) | 2011-10-06 |
| JP5542491B2 true JP5542491B2 (en) | 2014-07-09 |
Family
ID=44876362
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010067228A Expired - Fee Related JP5542491B2 (en) | 2010-03-24 | 2010-03-24 | Digital recorder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5542491B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5933875B1 (en) * | 2014-12-15 | 2016-06-15 | 三菱電機株式会社 | Information processing apparatus and activation method |
| WO2016136014A1 (en) * | 2015-02-26 | 2016-09-01 | 三菱電機株式会社 | Monitoring recorder |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08237635A (en) * | 1995-02-28 | 1996-09-13 | Canon Inc | Imaging control device and control method thereof |
| JP2003110785A (en) * | 2001-09-28 | 2003-04-11 | Matsushita Electric Ind Co Ltd | Image storage device |
| JP4158517B2 (en) * | 2002-12-25 | 2008-10-01 | 富士通株式会社 | Shared data access method for multiprocessor devices |
| JP2004252704A (en) * | 2003-02-20 | 2004-09-09 | Mitsubishi Electric Corp | Device management device, network connection device, network system, device management method, program for executing this method, and recording medium recording this program |
| JP2005065238A (en) * | 2003-07-25 | 2005-03-10 | Hitachi Ltd | Monitoring information providing apparatus and monitoring information providing method |
| JP2008271454A (en) * | 2007-04-25 | 2008-11-06 | Mitsubishi Electric Corp | Digital recorder |
| JP2008288752A (en) * | 2007-05-16 | 2008-11-27 | Mitsubishi Electric Corp | Digital recorder |
-
2010
- 2010-03-24 JP JP2010067228A patent/JP5542491B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011198315A (en) | 2011-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8953066B2 (en) | Image file generation device, camera and image file generation method | |
| JP2003303102A (en) | Image processing device | |
| WO2015063845A1 (en) | Data storage device, data storage method, and data storage program | |
| JP2015136073A (en) | RECORDING DEVICE, IMAGING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
| CA2473985A1 (en) | Imaging apparatus and imaging system control method | |
| JP5542491B2 (en) | Digital recorder | |
| US20090148126A1 (en) | Moving Image Editing System and Moving Image Editing Method | |
| US8625968B2 (en) | Recording apparatus and control method thereof | |
| US20150195455A1 (en) | Image data recording apparatus capable of recording still and moving images simultaneously | |
| JP6559040B2 (en) | Parameter recording control device, display device, control method of parameter recording control device, and program | |
| JP3810343B2 (en) | Video system, video device, software installation method, program for executing the method, and recording medium storing the program | |
| JP5455689B2 (en) | Recording apparatus and method | |
| JP2003046939A (en) | Electronic camera and control IC for electronic camera | |
| JP5119519B2 (en) | Information collection system | |
| JP2009140233A (en) | Video recording apparatus and monitoring system | |
| US20090231426A1 (en) | Image recording reproducing device | |
| US8086092B2 (en) | Video image recording apparatus | |
| JP5950798B2 (en) | Recording apparatus and control method thereof | |
| JP5629088B2 (en) | Recording data record management system | |
| JP2009303169A (en) | Camera system and recorder | |
| KR100846406B1 (en) | Video Encoder to Send Extracted Images Externally During Encoding | |
| CN100562086C (en) | A video encoder that sends extracted images externally in the encoder | |
| JP6110730B2 (en) | Imaging device | |
| JP2005333437A (en) | Imaging equipment | |
| JP5597292B2 (en) | Video recording apparatus and monitoring system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121114 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130729 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130903 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131025 |
|
| 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: 20140408 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140507 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5542491 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |