JP6045457B2 - Information processing system, control device, control method, control program, and monitoring recorder system - Google Patents

Information processing system, control device, control method, control program, and monitoring recorder system Download PDF

Info

Publication number
JP6045457B2
JP6045457B2 JP2013172031A JP2013172031A JP6045457B2 JP 6045457 B2 JP6045457 B2 JP 6045457B2 JP 2013172031 A JP2013172031 A JP 2013172031A JP 2013172031 A JP2013172031 A JP 2013172031A JP 6045457 B2 JP6045457 B2 JP 6045457B2
Authority
JP
Japan
Prior art keywords
cpu
program
activation
nonvolatile memory
startup
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.)
Active
Application number
JP2013172031A
Other languages
Japanese (ja)
Other versions
JP2015041253A5 (en
JP2015041253A (en
Inventor
敬志 上村
敬志 上村
聡 道籏
聡 道籏
丸山 清泰
清泰 丸山
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 JP2013172031A priority Critical patent/JP6045457B2/en
Publication of JP2015041253A publication Critical patent/JP2015041253A/en
Publication of JP2015041253A5 publication Critical patent/JP2015041253A5/en
Application granted granted Critical
Publication of JP6045457B2 publication Critical patent/JP6045457B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、情報処理システム、制御装置、制御方法、制御プログラム、および監視レコーダシステムに関する。 The present invention relates to an information processing system, a control apparatus, a control method, control program, and a monitoring recorder system.

特許文献1には、複数のCPUと、これら複数のCPUにより共用されるメモリとを備えた処理装置が記載されている。この処理装置では、少なくともいずれかのCPUがメインCPUとして起動し、メインCPU用の所定のアドレスに基づいてメモリから起動プログラムを読み出した後、他のCPUを起動させる制御を行い、メインCPUにより起動されたCPUは、サブCPU用の所定のアドレスに従ってメモリから起動プログラムを読み出す。処理装置は、メインCPUとサブCPUとを選択的にメモリに接続する選択スイッチを備え、メインCPUは、メモリから起動プログラムを読み出して実行した後、サブCPUがメモリに接続されるように選択スイッチを切り替えて、サブCPUのリセットを解除する。   Patent Document 1 describes a processing device including a plurality of CPUs and a memory shared by the plurality of CPUs. In this processing apparatus, at least one of the CPUs is activated as the main CPU, and after starting the activation program from the memory based on a predetermined address for the main CPU, the other CPU is activated and activated by the main CPU. Then, the CPU reads the activation program from the memory according to a predetermined address for the sub CPU. The processing device includes a selection switch that selectively connects the main CPU and the sub CPU to the memory, and the main CPU reads and executes the activation program from the memory, and then selects the sub CPU so that the sub CPU is connected to the memory. To cancel the reset of the sub CPU.

特開2013−50863号公報JP 2013-50863 A

特許文献1に記載された処理装置では、メインCPU用の起動プログラムの異常などによりメインCPUが正常に動作せず、メインCPUによる選択スイッチの切り替えが行われない場合、サブCPUがメモリにアクセスできず、起動処理を実行できない。   In the processing apparatus described in Patent Document 1, if the main CPU does not operate normally due to an abnormality in the activation program for the main CPU and the selection switch is not switched by the main CPU, the sub CPU can access the memory. The startup process cannot be executed.

本発明は、第1のCPUおよび第2のCPUが共通の不揮発性メモリに順番にアクセスして起動処理を行う構成において、第1のCPUが起動処理を開始した後、第2のCPUが起動処理を開始できない事態を抑制することができる情報処理システム、制御装置、制御方法、制御プログラム、および監視レコーダシステムを提供することを目的とする。 In the present invention, in a configuration in which the first CPU and the second CPU sequentially access the common non-volatile memory to perform the startup process, the second CPU starts after the first CPU starts the startup process. the information processing system capable of suppressing a situation that can not start the process, the control device, a control method, and to provide control programs, and the monitoring recorder system.

本発明に係る情報処理システムは、第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUと、前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続する制御手段であって、前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出すると、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更する制御手段とを備え、前記制御手段は、前記第1のCPUが前記起動処理を開始した後、前記トリガを検出することなく所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする。 An information processing system according to the present invention includes a nonvolatile memory storing a first activation program for activating a first system and a second activation program for activating a second system, and the nonvolatile memory Reading and executing the first activation program from the first CPU for performing activation processing for activating the first system, and reading and executing the second activation program from the nonvolatile memory. The second CPU that performs a startup process for starting up the second system, and one of the first CPU and the second CPU during the startup process of the first CPU and the second CPU. Control means for selectively connecting to the non-volatile memory, the first CPU starting the start-up process, and then changing the connection of the non-volatile memory. Control means for changing the connection destination of the non-volatile memory from the first CPU to the second CPU upon detection of a rigger, the control means starting the start-up process by the first CPU Thereafter, when it is determined that a predetermined time has elapsed without detecting the trigger, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU.

また、本発明に係る制御装置は、第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUとを備える情報処理システムの制御装置であって、前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択手段と、前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出手段と、前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出手段が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定手段とを備え、前記CPU選択手段は、前記第1のCPUが前記起動処理を開始した後、前記検出手段が前記トリガを検出した場合、および前記時間判定手段が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする。 Further, the control device according to the present invention includes a nonvolatile memory storing a first activation program for activating the first system and a second activation program for activating the second system, and the nonvolatile memory By reading and executing the first boot program from the memory, the first CPU for performing boot processing for booting the first system and the second boot program from the nonvolatile memory are read and executed. Thus, a control device of an information processing system comprising a second CPU that performs a startup process for starting up the second system, wherein the first CPU and the second CPU are started during the startup process . CPU selection means for selectively connecting one of the first CPU and the second CPU to the nonvolatile memory, and the first CPU opens the startup process. After that, a detecting means for detecting a trigger for changing the connection of the non-volatile memory and an elapsed time from the start of the startup process of the first CPU are measured, and the progress is detected without the detecting means detecting the trigger. A time determination unit that determines whether a predetermined time has elapsed, and the CPU selection unit, when the detection unit detects the trigger after the first CPU starts the startup process, and When the time determination unit determines that the predetermined time has elapsed, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU.

また、本発明に係る制御方法は、第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUとを備える情報処理システムの制御方法であって、前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択工程と、前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出工程と、前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出工程が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定工程とを備え、前記CPU選択工程は、前記第1のCPUが前記起動処理を開始した後、前記検出工程が前記トリガを検出した場合、および前記時間判定工程が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする。 Further, the control method according to the present invention includes a nonvolatile memory storing a first activation program for activating a first system and a second activation program for activating a second system, and the nonvolatile memory By reading and executing the first boot program from the memory, the first CPU for performing boot processing for booting the first system and the second boot program from the nonvolatile memory are read and executed. Accordingly, there is provided a control method for an information processing system including a second CPU that performs a startup process for starting up the second system, wherein the first CPU and the second CPU are activated during the startup process . A CPU selection step of selectively connecting one of the first CPU and the second CPU to the nonvolatile memory; and the first CPU opens the startup process. Then, a detection step of detecting a trigger for changing the connection of the nonvolatile memory, and an elapsed time from the start of the startup process of the first CPU are measured, and the progress is detected without the detection step detecting the trigger. A time determination step for determining whether a predetermined time has elapsed, wherein the CPU selection step is performed when the detection step detects the trigger after the first CPU starts the activation process, and When the time determination step determines that the predetermined time has elapsed, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU.

また、本発明に係る制御プログラムは、第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUとを備える情報処理システムの制御プログラムであって、前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択工程と、前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出工程と、前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出工程が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定工程とをコンピュータに実行させ、前記CPU選択工程は、前記第1のCPUが前記起動処理を開始した後、前記検出工程が前記トリガを検出した場合、および前記時間判定工程が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする。
また、本発明に係る監視レコーダシステムは、映像データを記録する記録システムを起動するための記録起動プログラムおよび記録された前記映像データを再生する再生システムを起動するための再生起動プログラムを記憶する不揮発性メモリと、前記不揮発性メモリから前記記録起動プログラムを読み出して実行することにより、前記記録システムを起動する起動処理を行う記録系CPUと、前記不揮発性メモリから前記再生起動プログラムを読み出して実行することにより、前記再生システムを起動する起動処理を行う再生系CPUと、前記記録系CPUおよび前記再生系CPUの起動処理時に、前記記録系CPUおよび前記再生系CPUの一方を選択的に前記不揮発性メモリに接続する制御手段であって、前記記録系CPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出すると、前記不揮発性メモリの接続先を前記記録系CPUから前記再生系CPUに変更する制御手段とを備え、前記制御手段は、前記記録系CPUが前記起動処理を開始した後、前記トリガを検出することなく所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記記録系CPUから前記再生系CPUに変更することを特徴とする。
In addition, a control program according to the present invention includes a nonvolatile memory that stores a first activation program for activating a first system and a second activation program for activating a second system, and the nonvolatile memory By reading and executing the first boot program from the memory, the first CPU for performing boot processing for booting the first system and the second boot program from the nonvolatile memory are read and executed. Accordingly, there is provided a control program for an information processing system including a second CPU that performs a startup process for starting up the second system, wherein the first CPU and the second CPU are started during the startup process . A CPU selection step of selectively connecting one of the first CPU and the second CPU to the nonvolatile memory; and After starting the dynamic processing, a detection step of detecting a trigger for changing the connection of the nonvolatile memory and an elapsed time from the start of the startup processing of the first CPU are measured, and the detection step detects the trigger Without causing the computer to execute a time determination step for determining whether or not the elapsed time has passed a predetermined time, and the CPU selection step is performed after the first CPU starts the startup process, When a trigger is detected, and when the time determination step determines that the predetermined time has elapsed, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU. .
The surveillance recorder system according to the present invention also stores a recording start program for starting a recording system for recording video data and a playback start program for starting a playback system for playing back the recorded video data. Read-out program from the non-volatile memory, a recording-system CPU that performs a start-up process for starting up the recording system by reading and executing the recording-start program from the non-volatile memory, and executing the read-out program from the non-volatile memory Accordingly, during the start-up process of the recording system CPU and the playback system CPU, one of the recording system CPU and the playback system CPU is selectively set to the nonvolatile memory. Control means for connecting to a memory, wherein the recording CPU is activated Control means for changing the connection destination of the nonvolatile memory from the recording system CPU to the reproduction system CPU upon detecting a trigger for changing the connection of the nonvolatile memory after starting the operation, If it is determined that a predetermined time has elapsed without detecting the trigger after the recording system CPU has started the activation process, the connection destination of the nonvolatile memory is changed from the recording system CPU to the reproduction system CPU. It is characterized by that.

本発明によれば、第1のCPUおよび第2のCPUが共通の不揮発性メモリに順番にアクセスして起動処理を行う構成において、第1のCPUが起動処理を開始した後、不揮発性メモリの接続変更のトリガを検出することなく所定時間が経過した場合に不揮発性メモリの接続先を第2のCPUに変更することにより、第2のCPUが起動処理を開始できない事態を抑制することができる。   According to the present invention, in a configuration in which the first CPU and the second CPU sequentially access the common nonvolatile memory and perform the startup process, after the first CPU starts the startup process, By changing the connection destination of the non-volatile memory to the second CPU when a predetermined time has elapsed without detecting a connection change trigger, the situation where the second CPU cannot start the startup process can be suppressed. .

実施の形態1における監視システムの構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a monitoring system in a first embodiment. 実施の形態1における不揮発性メモリの記憶フォーマットを示す概略図である。3 is a schematic diagram illustrating a storage format of a nonvolatile memory according to Embodiment 1. FIG. 実施の形態1における起動制御部の構成を概略的に示すブロック図である。FIG. 3 is a block diagram schematically showing a configuration of a start control unit in the first embodiment. 実施の形態1における時間判定部の時間計測手段の例を示す回路図である。3 is a circuit diagram illustrating an example of a time measurement unit of a time determination unit according to Embodiment 1. FIG. 実施の形態1における起動制御部の動作を示すフローチャートである。3 is a flowchart showing an operation of a start control unit in the first embodiment. 実施の形態1における第1のCPUまたは第2のCPUの動作を示すフローチャートである。3 is a flowchart illustrating an operation of the first CPU or the second CPU in the first embodiment. 実施の形態2における不揮発性メモリの記憶フォーマットを示す概略図である。6 is a schematic diagram showing a storage format of a nonvolatile memory in Embodiment 2. FIG. 実施の形態2における起動制御部の動作を示すフローチャートである。10 is a flowchart showing an operation of a start control unit in the second embodiment. 実施の形態3における起動制御部の動作を示すフローチャートである。10 is a flowchart illustrating an operation of a start control unit according to Embodiment 3.

以下、本発明の実施の形態を図面に従って説明する。
実施の形態1.
図1は、実施の形態1に係る監視システム100の構成を概略的に示すブロック図である。図1において、監視システム100は、複数台のカメラ1a〜1c、監視レコーダ2、およびモニタ3を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Embodiment 1 FIG.
FIG. 1 is a block diagram schematically showing a configuration of a monitoring system 100 according to the first embodiment. In FIG. 1, the monitoring system 100 includes a plurality of cameras 1 a to 1 c, a monitoring recorder 2, and a monitor 3.

カメラ1a〜1cは、それぞれ、監視レコーダ2に接続されており、監視対象を撮影し、得られた映像を監視レコーダ2に送信する。カメラ1a〜1cは、例えば監視レコーダ2から離れた場所に設置される。監視レコーダ2は、カメラ1a〜1cからの映像を受信して記録する。モニタ3は、監視レコーダ2によって制御される出力装置であり、監視レコーダ2に記録された映像や、カメラ1a〜1cによって撮影された映像を表示する。なお、カメラの台数は3台に限られず、例えば1台でもよい。   The cameras 1 a to 1 c are connected to the monitoring recorder 2, respectively, take an image of the monitoring target, and transmit the obtained video to the monitoring recorder 2. The cameras 1a to 1c are installed at a location away from the monitoring recorder 2, for example. The surveillance recorder 2 receives and records video from the cameras 1a to 1c. The monitor 3 is an output device controlled by the monitoring recorder 2 and displays images recorded on the monitoring recorder 2 and images taken by the cameras 1a to 1c. The number of cameras is not limited to three, and may be one, for example.

監視レコーダ2は、補助記憶装置4および情報処理システム5を備える。
補助記憶装置4は、カメラ1a〜1cによって撮影された映像を記憶する記憶装置であり、例えば、フラッシュメモリまたはHDD(Hard Disc Drive:ハードディスクドライブ)により構成される。なお、補助記憶装置4は、監視レコーダ2の外部に設けられてもよい。
The monitoring recorder 2 includes an auxiliary storage device 4 and an information processing system 5.
The auxiliary storage device 4 is a storage device that stores videos taken by the cameras 1a to 1c, and includes, for example, a flash memory or an HDD (Hard Disc Drive: hard disk drive). The auxiliary storage device 4 may be provided outside the monitoring recorder 2.

情報処理システム5は、不揮発性メモリ10、記録系(記録システム)20、再生系(再生システム)30、および起動制御部40を備える。   The information processing system 5 includes a nonvolatile memory 10, a recording system (recording system) 20, a playback system (playback system) 30, and an activation control unit 40.

不揮発性メモリ10は、情報処理システム5の起動プログラムを記憶する。ここでは、不揮発性メモリ10は、各種データを記憶する読み書き可能なメモリであり、例えばNAND型フラッシュメモリである。不揮発性メモリ10において、プログラムやその他のデータは、例えば、ブロック毎に記憶され、ブロック毎に読み出される。   The nonvolatile memory 10 stores a startup program for the information processing system 5. Here, the nonvolatile memory 10 is a readable / writable memory for storing various data, and is, for example, a NAND flash memory. In the nonvolatile memory 10, a program and other data are stored for each block, for example, and read for each block.

図2は、不揮発性メモリ10の記憶フォーマットを示す概略図である。図2において、不揮発性メモリ10は、第1の起動プログラム11、第2の起動プログラム12、およびアドレス情報13を記憶している。   FIG. 2 is a schematic diagram showing a storage format of the nonvolatile memory 10. In FIG. 2, the nonvolatile memory 10 stores a first activation program 11, a second activation program 12, and address information 13.

第1の起動プログラム11は、第1のシステムとしての記録系20を起動するためのプログラムまたはプログラムデータである。第2の起動プログラム12は、第2のシステムとしての再生系30を起動するためのプログラムまたはプログラムデータである。アドレス情報13は、不揮発性メモリ10における各起動プログラムのアドレスを示す情報である。ここでは、アドレス情報13は、第1の起動プログラム11および第2の起動プログラム12のそれぞれの先頭アドレスを示す。   The first activation program 11 is a program or program data for activating the recording system 20 as the first system. The second activation program 12 is a program or program data for activating the reproduction system 30 as the second system. The address information 13 is information indicating the address of each activation program in the nonvolatile memory 10. Here, the address information 13 indicates the first addresses of the first start program 11 and the second start program 12.

記録系20は、カメラ1a〜1cと接続されており、カメラ1a〜1cから送信される映像を補助記憶装置4に記録する。記録系20は、第1のCPU(Central Processing Unit:中央演算装置)21およびワークメモリ22を含む。   The recording system 20 is connected to the cameras 1 a to 1 c and records videos transmitted from the cameras 1 a to 1 c in the auxiliary storage device 4. The recording system 20 includes a first CPU (Central Processing Unit) 21 and a work memory 22.

第1のCPU21は、不揮発性メモリ10から第1の起動プログラム11を読み出して実行することにより、記録系20を起動する起動処理を行う。第1のCPU21は、不揮発性メモリ10から起動プログラムを読み出す場合、起動制御部40に対して読み出し要求を送り、当該読み出し要求に応じて起動制御部40により不揮発性メモリ10から読み出された起動プログラムを実行する。第1のCPU21は、不揮発性メモリ10または他の記憶装置に記憶されている他のプログラムを実行してもよい。例えば、第1のCPU21は、OS(Operating System:オペレーティングシステム)やアプリケーションプログラムなど、映像を記録するためのプログラムを不揮発性メモリ10または他の記憶装置から読み出して実行し、記録系20の記録動作を制御してもよい。具体的には、第1のCPU21は、不揮発性メモリ10に記憶されている第1の起動プログラム11等のプログラムを実行する場合、不揮発性メモリ10に記憶されているプログラムやその他のデータのうち必要となるものをワークメモリ22に読み出し(またはコピーし)、ワークメモリ22にアクセスし、ワークメモリ22に読み出されたプログラムに記述されている処理を実行する。   The first CPU 21 performs a startup process for starting the recording system 20 by reading and executing the first startup program 11 from the nonvolatile memory 10. When reading the activation program from the nonvolatile memory 10, the first CPU 21 sends a read request to the activation control unit 40, and the activation read out from the nonvolatile memory 10 by the activation control unit 40 in response to the read request. Run the program. The first CPU 21 may execute another program stored in the nonvolatile memory 10 or another storage device. For example, the first CPU 21 reads out and executes a program for recording a video, such as an OS (Operating System: operating system) and an application program, from the nonvolatile memory 10 or another storage device, and performs a recording operation of the recording system 20. May be controlled. Specifically, when the first CPU 21 executes a program such as the first startup program 11 stored in the non-volatile memory 10, among the programs and other data stored in the non-volatile memory 10. What is necessary is read (or copied) into the work memory 22, accessed to the work memory 22, and processing described in the program read into the work memory 22 is executed.

ワークメモリ22は、第1のCPU21の作業領域として使用されるメモリであり、例えばRAM(Random Access Memory)である。ワークメモリ22は、不揮発性メモリ10から読み出されたプログラムやその他のデータを記憶する。   The work memory 22 is a memory used as a work area of the first CPU 21 and is, for example, a RAM (Random Access Memory). The work memory 22 stores a program read from the nonvolatile memory 10 and other data.

再生系30は、モニタ3と接続されており、補助記憶装置4に記録された映像を再生してモニタ3に表示させる。再生系30は、カメラ1a〜1cによって撮影された映像をモニタ3に直接表示させてもよい。再生系30は、第2のCPU31およびワークメモリ32を含む。   The reproduction system 30 is connected to the monitor 3, reproduces the video recorded in the auxiliary storage device 4, and displays it on the monitor 3. The reproduction system 30 may directly display the images taken by the cameras 1a to 1c on the monitor 3. The reproduction system 30 includes a second CPU 31 and a work memory 32.

第2のCPU31は、不揮発性メモリ10から第2の起動プログラム12を読み出して実行することにより、再生系30を起動する起動処理を行う。第2のCPU31は、不揮発性メモリ10から起動プログラムを読み出す場合、起動制御部40に対して読み出し要求を送り、当該読み出し要求に応じて起動制御部40により不揮発性メモリ10から読み出された起動プログラムを実行する。第2のCPU31は、不揮発性メモリ10または他の記憶装置に記憶されている他のプログラムを実行してもよい。例えば、第2のCPU31は、OSやアプリケーションプログラムなど、映像を再生するためのプログラムを不揮発性メモリ10または他の記憶装置から読み出して実行し、再生系30の再生動作を制御してもよい。具体的には、第2のCPU31は、不揮発性メモリ10に記憶されている第2の起動プログラム12等のプログラムを実行する場合、不揮発性メモリ10に記憶されているプログラムやその他のデータのうち必要となるものをワークメモリ32に読み出し(またはコピーし)、ワークメモリ32にアクセスし、ワークメモリ32に読み出されたプログラムに記述されている処理を実行する。   The second CPU 31 performs a startup process for starting the playback system 30 by reading and executing the second startup program 12 from the nonvolatile memory 10. When the second CPU 31 reads the activation program from the nonvolatile memory 10, the second CPU 31 sends a read request to the activation control unit 40, and the activation read from the nonvolatile memory 10 by the activation control unit 40 in response to the read request. Run the program. The second CPU 31 may execute another program stored in the nonvolatile memory 10 or another storage device. For example, the second CPU 31 may read out and execute a program for reproducing video, such as an OS or an application program, from the nonvolatile memory 10 or another storage device, and control the reproduction operation of the reproduction system 30. Specifically, when the second CPU 31 executes a program such as the second startup program 12 stored in the nonvolatile memory 10, among the programs and other data stored in the nonvolatile memory 10. What is necessary is read (or copied) into the work memory 32, the work memory 32 is accessed, and processing described in the program read into the work memory 32 is executed.

ワークメモリ32は、第2のCPU31の作業領域として使用されるメモリであり、例えばRAMである。ワークメモリ32は、不揮発性メモリ10から読み出されたプログラムやその他のデータを記憶する。   The work memory 32 is a memory used as a work area for the second CPU 31 and is, for example, a RAM. The work memory 32 stores a program read from the nonvolatile memory 10 and other data.

起動制御部40は、第1のCPU21および第2のCPU31の一方を選択的に不揮発性メモリ10に接続する。起動制御部40は、第1のCPU21および第2のCPU31と不揮発性メモリ10との接続を制御し、起動処理を実行するCPUが不揮発性メモリ10にアクセス可能となるように、当該CPUを選択して不揮発性メモリ10に接続する。   The activation control unit 40 selectively connects one of the first CPU 21 and the second CPU 31 to the nonvolatile memory 10. The activation control unit 40 controls the connection between the first CPU 21 and the second CPU 31 and the nonvolatile memory 10 and selects the CPU so that the CPU executing the activation process can access the nonvolatile memory 10. And connected to the nonvolatile memory 10.

起動制御部40は、第1のCPU21が起動処理を開始した後、不揮発性メモリ10の接続変更のトリガを検出すると、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。ここで、「不揮発性メモリ10の接続先」とは、不揮発性メモリ10に接続されるCPUを意味する。本実施の形態では、起動制御部40は、接続変更のトリガとして、第1のCPU21の起動処理が終了したことを検出する。具体的には、第1のCPU21は、起動処理が終了すると、不揮発性メモリ10の接続変更の要求(以下、「接続変更要求」という)を起動制御部40に出力し、起動制御部40は、第1のCPU21からの接続変更要求をトリガとして検出する。接続変更要求は、具体的には、不揮発性メモリ10とCPUとの接続の変更を要求する信号である。接続変更要求の出力は、例えば、第1の起動プログラム11または第1の起動プログラム11によって呼び出されたプログラムによって実行される。なお、起動制御部40は、第1のCPU21の起動処理が正常に終了したことをトリガとして検出してもよい。例えば、第1のCPU21は、起動処理が正常に終了した場合に接続変更要求を出力してもよい。   The activation control unit 40 changes the connection destination of the nonvolatile memory 10 from the first CPU 21 to the second CPU 31 when detecting a connection change trigger of the nonvolatile memory 10 after the first CPU 21 starts the activation process. Then, the second CPU 31 starts the activation process. Here, “the connection destination of the nonvolatile memory 10” means a CPU connected to the nonvolatile memory 10. In the present embodiment, the activation control unit 40 detects that the activation process of the first CPU 21 has ended as a connection change trigger. Specifically, when the startup process is completed, the first CPU 21 outputs a connection change request (hereinafter referred to as “connection change request”) of the nonvolatile memory 10 to the startup control unit 40. The connection change request from the first CPU 21 is detected as a trigger. Specifically, the connection change request is a signal for requesting a change in the connection between the nonvolatile memory 10 and the CPU. The output of the connection change request is executed by, for example, the first activation program 11 or a program called by the first activation program 11. Note that the activation control unit 40 may detect that the activation process of the first CPU 21 has ended normally as a trigger. For example, the first CPU 21 may output a connection change request when the startup process is normally completed.

ここで、第1のCPU21が起動処理を開始した後、第1の起動プログラム11の異常などにより、第1のCPU21の起動処理が終了せず、第1のCPU21から接続変更要求が出力されない場合、不揮発性メモリ10の接続先が第2のCPU31に切り替わらず、第2のCPU31の起動処理が実行されない。第1の起動プログラム11の異常としては、例えば、不揮発性メモリ10に記憶されている第1の起動プログラム11のデータのビットエラーがある。このビットエラーは、例えば、不揮発性メモリ10に記憶されたビットの意図しない変化によるものであり、メモリの電荷抜けなどによって発生する。   Here, after the first CPU 21 starts the startup process, the startup process of the first CPU 21 is not completed and a connection change request is not output from the first CPU 21 due to an abnormality of the first startup program 11 or the like. The connection destination of the nonvolatile memory 10 is not switched to the second CPU 31, and the activation process of the second CPU 31 is not executed. As an abnormality of the first activation program 11, for example, there is a bit error in the data of the first activation program 11 stored in the nonvolatile memory 10. This bit error is caused by, for example, an unintended change in bits stored in the non-volatile memory 10 and occurs due to a charge loss of the memory.

本実施の形態では、接続変更のトリガが検出されない場合でも、第2のCPU31の起動処理が実行されるように、起動制御部40は、第1のCPU21が起動処理を開始した後、接続変更のトリガを検出することなく所定時間が経過したと判定した場合、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。ここで、所定時間は、予め設定された時間であり、例えば、起動処理に要する通常の時間よりも長い時間である。   In the present embodiment, the activation control unit 40 changes the connection change after the first CPU 21 starts the activation process so that the activation process of the second CPU 31 is executed even when the connection change trigger is not detected. When it is determined that the predetermined time has elapsed without detecting the trigger, the connection destination of the nonvolatile memory 10 is changed from the first CPU 21 to the second CPU 31, and the second CPU 31 is started. Here, the predetermined time is a preset time, for example, a time longer than a normal time required for the startup process.

図3は、起動制御部40の構成を概略的に示すブロック図である。図3において、起動制御部40は、CPU選択部41、起動開始部42、起動プログラム選択部43、トリガ検出部44、時間判定部45、第1のCPU21と接続されるデータインタフェース40aおよびリセットインタフェース40b、ならびに第2のCPU31と接続されるデータインタフェース40cおよびリセットインタフェース40dを備える。   FIG. 3 is a block diagram schematically showing the configuration of the activation control unit 40. In FIG. 3, the activation control unit 40 includes a CPU selection unit 41, an activation start unit 42, an activation program selection unit 43, a trigger detection unit 44, a time determination unit 45, a data interface 40a connected to the first CPU 21, and a reset interface. 40b, and a data interface 40c and a reset interface 40d connected to the second CPU 31.

CPU選択部41は、第1のCPU21および第2のCPU31のどちらか一方を選択的に不揮発性メモリ10に接続する。不揮発性メモリ10に接続するとは、不揮発性メモリ10にアクセス可能にすることを含む。CPU選択部41は、例えば、データインタフェース40aおよび40cの一方を起動プログラム選択部43に接続するスイッチを切り替えることによって、不揮発性メモリ10に接続されるCPUを切り替える。また例えば、CPU選択部41は、第1のCPU21および第2のCPU31のうちの一方からのアクセス要求を受諾し、他方からのアクセス要求を拒否し、どちらのCPUからのアクセス要求を受諾するかを切り替えることによって、不揮発性メモリ10に接続されるCPUを切り替える。   The CPU selection unit 41 selectively connects one of the first CPU 21 and the second CPU 31 to the nonvolatile memory 10. Connecting to the nonvolatile memory 10 includes making the nonvolatile memory 10 accessible. For example, the CPU selection unit 41 switches the CPU connected to the nonvolatile memory 10 by switching a switch that connects one of the data interfaces 40 a and 40 c to the activation program selection unit 43. Further, for example, the CPU selection unit 41 accepts an access request from one of the first CPU 21 and the second CPU 31, rejects an access request from the other, and accepts an access request from which CPU. By switching, the CPU connected to the nonvolatile memory 10 is switched.

起動開始部42は、第1のCPU21または第2のCPU31に起動処理の開始を指示する。起動開始部42は、第1のCPU21および第2のCPU31のうち起動処理を開始すべきCPUに対し、起動処理の開始を指示する。ここでは、起動開始部42は、第1のCPU21および第2のCPU31のリセットとその解除を制御するリセット制御部である。具体的には、起動開始部42は、リセットインタフェース40bを介して第1のCPU21にリセット信号を出力し、リセットインタフェース40dを介して第2のCPU31にリセット信号を出力し、これらのリセット信号のオン/オフにより起動処理の開始を指示する。   The activation start unit 42 instructs the first CPU 21 or the second CPU 31 to start the activation process. The activation start unit 42 instructs the CPU to start the activation process among the first CPU 21 and the second CPU 31 to start the activation process. Here, the activation start unit 42 is a reset control unit that controls reset and release of the first CPU 21 and the second CPU 31. Specifically, the activation start unit 42 outputs a reset signal to the first CPU 21 via the reset interface 40b, outputs a reset signal to the second CPU 31 via the reset interface 40d, and outputs these reset signals. The start of start processing is instructed by turning on / off.

起動プログラム選択部43は、不揮発性メモリ10にアクセスしてアドレス情報13を取得し、第1のCPU21および第2のCPU31のうち不揮発性メモリ10に接続されたCPUから読み出し要求を受けると、不揮発性メモリ10に記憶されている各起動プログラムのうち、読み出し要求を行ったCPUが実行すべき起動プログラムをアドレス情報に基づいて選択的に読み出す。具体的には、各CPUは、起動プログラムを読み出す場合、読み出しアドレスを指定して読み出し要求を出力する。リセット解除後に最初に指定される読み出しアドレスは0番地である。すなわち、各CPUは、リセットが解除されると、常に0番地から読み出しを要求する。起動プログラム選択部43は、CPUからの読み出し要求を受けると、指定された読み出しアドレスに当該CPUが実行すべき起動プログラムの先頭アドレスを足し合わせ、得られたアドレスを指定して不揮発性メモリ10に読み出しを要求する。これにより、第1のCPU21および第2のCPU31は、実行すべき起動プログラムの先頭アドレスを保持していなくても、実行すべき起動プログラムを読み出すことができる。起動プログラム選択部43は、例えば、起動時に不揮発性メモリ10からアドレス情報13を読み出す。   When the activation program selection unit 43 accesses the nonvolatile memory 10 to acquire the address information 13 and receives a read request from the CPU connected to the nonvolatile memory 10 among the first CPU 21 and the second CPU 31, the activation program selection unit 43 Among the activation programs stored in the memory 10, the activation program to be executed by the CPU that has requested reading is selectively read based on the address information. Specifically, each CPU outputs a read request by designating a read address when reading the activation program. The read address specified first after reset release is address 0. That is, each CPU always requests reading from address 0 when reset is released. Upon receiving a read request from the CPU, the boot program selecting unit 43 adds the start address of the boot program to be executed by the CPU to the designated read address, and designates the obtained address in the nonvolatile memory 10. Request reading. Thereby, even if the first CPU 21 and the second CPU 31 do not hold the start address of the activation program to be executed, the activation program to be executed can be read out. The activation program selection unit 43 reads the address information 13 from the nonvolatile memory 10 at the time of activation, for example.

トリガ検出部44は、不揮発性メモリ10の接続変更のトリガを検出する。本実施の形態では、トリガ検出部44は、接続変更のトリガとして、第1のCPU21から出力される接続変更要求を受ける。なお、図3の例では、トリガ検出部44は、CPU選択部41に含まれる。   The trigger detection unit 44 detects a connection change trigger of the nonvolatile memory 10. In the present embodiment, the trigger detection unit 44 receives a connection change request output from the first CPU 21 as a connection change trigger. In the example of FIG. 3, the trigger detection unit 44 is included in the CPU selection unit 41.

時間判定部45は、第1のCPU21の起動処理の開始からの経過時間を計測し、トリガ検出部44がトリガを検出することなく経過時間が所定時間を経過したかを判定する。例えば、時間判定部45は、第1のCPU21の起動またはリセット解除と同時または略同時に時間計測を開始する。その後、時間判定部45は、計測時間が所定時間を経過する前に、トリガ検出部44がトリガを検出した場合、計測時間を初期化し、時間計測が可能な状態で待機する。時間判定部45は、計測時間が所定時間を経過した場合、トリガを検出することなく経過時間が所定時間を経過したと判定する。時間判定部45は、経過時間が所定時間を経過したと判定した場合、起動開始部42を介してCPU選択部41に時間経過通知を送る。時間判定部45の時間計測手段は、例えば、図4に示すRC回路45a等のアナログ回路や、カウンタ回路等の論理回路により実現される。図4において、RC回路45aは、抵抗RとキャパシタCとの直列接続を有する。抵抗Rの一端には入力電圧Vinが印加され、他端はキャパシタCの一端に接続され、キャパシタCの他端は接地される。時間判定部45は、例えば、入力電圧Vinの印加開始後、抵抗RとキャパシタCとの接続点の電圧Voutが所定閾値に達すると、時間経過通知を出力する。   The time determination unit 45 measures the elapsed time from the start of the activation process of the first CPU 21 and determines whether the predetermined time has elapsed without the trigger detection unit 44 detecting a trigger. For example, the time determination unit 45 starts time measurement simultaneously or substantially simultaneously with the activation or reset cancellation of the first CPU 21. Thereafter, when the trigger detection unit 44 detects a trigger before the measurement time has passed the predetermined time, the time determination unit 45 initializes the measurement time and stands by in a state where time measurement is possible. When the measurement time has passed the predetermined time, the time determination unit 45 determines that the elapsed time has passed the predetermined time without detecting a trigger. When the time determination unit 45 determines that the elapsed time has passed the predetermined time, the time determination unit 45 sends a time elapse notification to the CPU selection unit 41 via the activation start unit 42. The time measuring means of the time determination unit 45 is realized by, for example, an analog circuit such as the RC circuit 45a shown in FIG. 4 or a logic circuit such as a counter circuit. In FIG. 4, the RC circuit 45 a has a series connection of a resistor R and a capacitor C. The input voltage Vin is applied to one end of the resistor R, the other end is connected to one end of the capacitor C, and the other end of the capacitor C is grounded. For example, when the voltage Vout at the connection point between the resistor R and the capacitor C reaches a predetermined threshold after the application of the input voltage Vin is started, the time determination unit 45 outputs a time elapse notification.

図3に示す起動制御部40は、各部が以下のように動作するように構成される。   The activation control unit 40 shown in FIG. 3 is configured such that each unit operates as follows.

システム起動時には、CPU選択部41は、第1のCPU21を不揮発性メモリ10に接続し、起動開始部42は、第1のCPU21に起動処理の開始を指示し、起動プログラム選択部43は、第1のCPU21からの読み出し要求に応じて第1の起動プログラム11を読み出す。ここで、「システム起動時」とは、情報処理システム5の動作開始時である。例えば、監視レコーダ2の電源が投入されると、情報処理システム5はリセット状態となり、電源電圧が安定した後、情報処理システム5のリセットが解除されると、情報処理システム5の動作が開始する。   At the time of system startup, the CPU selection unit 41 connects the first CPU 21 to the nonvolatile memory 10, the startup start unit 42 instructs the first CPU 21 to start startup processing, and the startup program selection unit 43 The first activation program 11 is read in response to a read request from one CPU 21. Here, “when the system is started” is when the information processing system 5 starts to operate. For example, when the power of the monitoring recorder 2 is turned on, the information processing system 5 is in a reset state, and after the power supply voltage is stabilized, when the reset of the information processing system 5 is released, the operation of the information processing system 5 starts. .

第1のCPU21が起動処理を開始した後、トリガ検出部44がトリガを検出した場合、および時間判定部45が所定時間を経過したと判定した場合、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、起動開始部42は、第2のCPU31に起動処理の開始を指示し、起動プログラム選択部43は、第2のCPU31からの読み出し要求に応じて第2の起動プログラム12を読み出す。   When the trigger detection unit 44 detects a trigger after the first CPU 21 starts the activation process, and when the time determination unit 45 determines that the predetermined time has elapsed, the CPU selection unit 41 stores the nonvolatile memory 10. The connection destination is changed from the first CPU 21 to the second CPU 31, the activation start unit 42 instructs the second CPU 31 to start the activation process, and the activation program selection unit 43 receives a read request from the second CPU 31. In response to this, the second activation program 12 is read.

図5は、本実施の形態1における起動制御部40の動作を示すフローチャートである。図6は、本実施の形態1における第1のCPU21または第2のCPU31の動作を示すフローチャートである。以下、図5および図6を参照して、情報処理システム5の動作について説明する。   FIG. 5 is a flowchart showing the operation of the activation control unit 40 in the first embodiment. FIG. 6 is a flowchart showing the operation of the first CPU 21 or the second CPU 31 in the first embodiment. The operation of the information processing system 5 will be described below with reference to FIGS.

図5において、情報処理システム5のリセットが解除されると、CPU選択部41は、第1のCPU21を不揮発性メモリ10に接続する(S10)。また、起動プログラム選択部43は、不揮発性メモリ10の所定のアドレスにアクセスし、アドレス情報13のうち第1の起動プログラム11の先頭アドレスを読み出し、第1の起動プログラム11にアクセスするように自身を設定する(S11)。なお、この間、起動開始部42は、第1のCPU21および第2のCPU31をリセット状態に維持している。   In FIG. 5, when the reset of the information processing system 5 is cancelled, the CPU selection unit 41 connects the first CPU 21 to the nonvolatile memory 10 (S10). The activation program selection unit 43 accesses a predetermined address of the nonvolatile memory 10, reads the first address of the first activation program 11 in the address information 13, and accesses the first activation program 11 itself. Is set (S11). During this time, the start start unit 42 maintains the first CPU 21 and the second CPU 31 in the reset state.

次に、起動開始部42は、時間判定部45に時間計測を開始させ(S12)、第1のCPU21のリセットを解除し、第1のCPU21の起動処理を開始させる(S13)。   Next, the activation start unit 42 causes the time determination unit 45 to start measuring time (S12), cancels the reset of the first CPU 21, and starts the activation process of the first CPU 21 (S13).

図6に示すように、第1のCPU21は、リセットが解除されると、不揮発性メモリ10にアクセスし、第1の起動プログラム11をワークメモリ22に読み出す(S1)。この場合、第1のCPU21は、読み出しアドレスを指定して読み出し要求を起動制御部40に出力する。最初に指定される読み出しアドレスは0番地である。第1のCPU21からの読み出し要求は、データインタフェース40aに入力され、CPU選択部41を介して起動プログラム選択部43に送られる。起動プログラム選択部43は、読み出し要求を受けると、指定された読み出しアドレスに第1の起動プログラム11の先頭アドレスを加算し、得られたアドレスを指定して読み出し要求を不揮発性メモリ10に出力する。この読み出し要求に応じ、不揮発性メモリ10は、指定されたアドレスに記憶されているデータ(第1の起動プログラム11のデータ)を起動プログラム選択部43に出力する。このデータは、起動プログラム選択部43からCPU選択部41およびデータインタフェース40aを介して第1のCPU21に送られ、第1のCPU21からワークメモリ22に転送される。   As shown in FIG. 6, when the reset is released, the first CPU 21 accesses the nonvolatile memory 10 and reads the first activation program 11 into the work memory 22 (S1). In this case, the first CPU 21 specifies a read address and outputs a read request to the activation control unit 40. The read address specified first is address 0. A read request from the first CPU 21 is input to the data interface 40 a and is sent to the activation program selection unit 43 via the CPU selection unit 41. Upon receiving the read request, the activation program selection unit 43 adds the start address of the first activation program 11 to the designated read address, specifies the obtained address, and outputs the read request to the nonvolatile memory 10. . In response to this read request, the nonvolatile memory 10 outputs the data (data of the first activation program 11) stored at the designated address to the activation program selection unit 43. This data is sent from the activation program selection unit 43 to the first CPU 21 via the CPU selection unit 41 and the data interface 40a, and is transferred from the first CPU 21 to the work memory 22.

第1のCPU21は、ワークメモリ22から第1の起動プログラム11を読み出し(S2)、第1の起動プログラム11に記述されている処理を実行する(S3)。この処理としては、例えば、第1のCPU21の初期化、記録系20を構成する第1のCPU21以外のデバイスの初期化、OS等のプログラムのワークメモリ22へのロードがある。第1のCPU21は、起動処理の終了時に、接続変更要求を起動制御部40に出力する。上述したように、この接続変更要求は、第1の起動プログラム11の異常(例えばビットエラー)などにより出力されない場合がある。   The first CPU 21 reads the first activation program 11 from the work memory 22 (S2), and executes the process described in the first activation program 11 (S3). This processing includes, for example, initialization of the first CPU 21, initialization of devices other than the first CPU 21 constituting the recording system 20, and loading of a program such as an OS into the work memory 22. The first CPU 21 outputs a connection change request to the activation control unit 40 at the end of the activation process. As described above, this connection change request may not be output due to an abnormality (for example, a bit error) of the first activation program 11.

図5において、ステップS13の後、時間判定部45の計測時間が所定時間を経過する前に、第1のCPU21の起動処理が完了し、第1のCPU21から接続変更要求が出力された場合(S14:Yes)、CPU選択部41に接続変更要求が入力される(S15)。   In FIG. 5, after step S <b> 13, before the measurement time of the time determination unit 45 elapses a predetermined time, the activation process of the first CPU 21 is completed and a connection change request is output from the first CPU 21 ( (S14: Yes), a connection change request is input to the CPU selection unit 41 (S15).

一方、ステップS13の後、時間判定部45の計測時間が所定時間を経過し、時間判定部45から時間経過通知が出力された場合(S14:No)、CPU選択部41に時間経過通知が入力される(S16)。   On the other hand, after step S13, when the measurement time of the time determination unit 45 has passed a predetermined time and a time elapse notification is output from the time determination unit 45 (S14: No), a time elapse notification is input to the CPU selection unit 41. (S16).

CPU選択部41は、第1のCPU21からの接続変更要求または時間判定部45からの時間経過通知を受けると、不揮発性メモリ10の接続先を第2のCPU31に変更し、起動開始部42および起動プログラム選択部43に接続変更を通知する(S17)。起動開始部42は、接続変更の通知を受けると、時間判定部45の時間計測を初期化して停止させる(S18)。起動プログラム選択部43は、接続変更の通知を受けると、不揮発性メモリ10の所定のアドレスにアクセスし、アドレス情報13のうち第2の起動プログラム12の先頭アドレスを読み出し、第2の起動プログラム12にアクセスするように自身の設定を変更する(S19)。この設定変更が完了した後、起動開始部42は、第2のCPU31のリセットを解除し、第2のCPU31の起動処理を開始させる(S20)。   When the CPU selection unit 41 receives a connection change request from the first CPU 21 or a time elapse notification from the time determination unit 45, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the second CPU 31, The activation program selection unit 43 is notified of the connection change (S17). Upon receiving the connection change notification, the activation start unit 42 initializes and stops the time measurement of the time determination unit 45 (S18). Upon receiving the connection change notification, the activation program selection unit 43 accesses a predetermined address in the nonvolatile memory 10, reads the start address of the second activation program 12 in the address information 13, and outputs the second activation program 12. The user's own setting is changed so as to access (S19). After this setting change is completed, the activation start unit 42 releases the reset of the second CPU 31 and starts the activation process of the second CPU 31 (S20).

図6に示すように、第2のCPU31は、リセットが解除されると、不揮発性メモリ10にアクセスして第2の起動プログラム12をワークメモリ32に読み出し(S1)、ワークメモリ32から第2の起動プログラム12を読み出し(S2)、第2の起動プログラム12に記述されている処理を実行する(S3)。この処理としては、例えば、第2のCPU31の初期化、再生系30を構成する第2のCPU31以外のデバイスの初期化、OS等のプログラムのワークメモリ32へのロードがある。このとき、起動プログラム選択部43は、第2の起動プログラム12にアクセスするように設定されているので、第2のCPU31からの読み出し要求に応じて、不揮発性メモリ10から第2の起動プログラム12を読み出す。   As shown in FIG. 6, when the reset is released, the second CPU 31 accesses the nonvolatile memory 10 and reads the second startup program 12 into the work memory 32 (S1). The startup program 12 is read (S2), and the process described in the second startup program 12 is executed (S3). This processing includes, for example, initialization of the second CPU 31, initialization of devices other than the second CPU 31 constituting the reproduction system 30, and loading of a program such as an OS into the work memory 32. At this time, since the activation program selection unit 43 is set to access the second activation program 12, the second activation program 12 is read from the nonvolatile memory 10 in response to a read request from the second CPU 31. Is read.

なお、上記の動作は一例であり、適宜変更されてもよい。例えば、起動プログラム選択部43は、ステップS11において、第1の起動プログラム11の先頭アドレスと同時に、第2の起動プログラム12の先頭アドレスを読み出してもよい。   The above operation is an example, and may be changed as appropriate. For example, the start program selecting unit 43 may read the start address of the second start program 12 at the same time as the start address of the first start program 11 in step S11.

以上説明した本実施の形態1によれば、下記(1)〜(7)の効果が得られる。
(1)起動制御部40は、第1のCPU21が起動処理を開始した後、接続変更のトリガを検出することなく所定時間が経過したと判定した場合、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更する。これにより、第2のCPU31が不揮発性メモリ10にアクセスできず、起動処理を実行できないという事態を抑制または回避することができる。例えば、第1のCPU21の起動処理が正常に終了しない場合でも、第2のCPU31が起動処理を実行することが可能となる。
According to the first embodiment described above, the following effects (1) to (7) can be obtained.
(1) When the activation control unit 40 determines that a predetermined time has elapsed without detecting a connection change trigger after the first CPU 21 starts the activation process, the activation control unit 40 sets the connection destination of the nonvolatile memory 10 to the first The CPU 21 is changed to the second CPU 31. As a result, the situation where the second CPU 31 cannot access the nonvolatile memory 10 and the startup process cannot be executed can be suppressed or avoided. For example, even when the startup process of the first CPU 21 does not end normally, the second CPU 31 can execute the startup process.

(2)起動制御部40は、接続変更のトリガを検出することなく所定時間が経過したと判定した場合に、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。本構成によれば、接続変更のトリガが検出されない場合でも、第2のCPU31に起動処理を開始させることができる。例えば、特許文献1に記載の技術では、メインCPUが正常に動作せず、メインCPUによるサブCPUのリセット解除が行われない場合、サブCPUの起動処理が実行されない問題が発生する。また、メインCPUの起動処理が正常に終了せず、メインCPUによるサブCPUのリセット解除が行われない場合、システム全体が起動できない問題が発生する。本実施の形態によれば、起動制御部40が第2のCPU31に起動処理の開始を指示するので、上記特許文献1の問題を抑制または回避することができる。   (2) When the activation control unit 40 determines that a predetermined time has elapsed without detecting a connection change trigger, the activation control unit 40 changes the connection destination of the nonvolatile memory 10 from the first CPU 21 to the second CPU 31. The second CPU 31 starts the startup process. According to this configuration, even when the connection change trigger is not detected, the second CPU 31 can start the activation process. For example, in the technique described in Patent Document 1, if the main CPU does not operate normally and the reset release of the sub CPU by the main CPU is not performed, there is a problem that the startup process of the sub CPU is not executed. Further, if the main CPU activation process does not end normally and the reset release of the sub CPU by the main CPU is not performed, there arises a problem that the entire system cannot be activated. According to the present embodiment, the activation control unit 40 instructs the second CPU 31 to start the activation process, so that the problem described in Patent Document 1 can be suppressed or avoided.

(3)起動制御部40は、不揮発性メモリ10にアクセスしてアドレス情報を取得し、不揮発性メモリ10に接続されたCPUから読み出し要求を受けると、不揮発性メモリ10から当該CPUが実行すべき起動プログラムをアドレス情報に基づいて選択的に読み出す。本構成によれば、各CPUは、実行すべき起動プログラムのアドレス(例えば先頭アドレス)を保持していなくても、実行すべき起動プログラムにアクセスすることができる。また、各CPUは、起動プログラムのアドレスを記録しておく必要や取得する必要がないので、各CPUの処理負荷が軽減される。   (3) When the activation control unit 40 accesses the nonvolatile memory 10 to acquire address information and receives a read request from a CPU connected to the nonvolatile memory 10, the activation control unit 40 should execute the CPU from the nonvolatile memory 10. The activation program is selectively read based on the address information. According to this configuration, each CPU can access the startup program to be executed without holding the address (for example, the start address) of the startup program to be executed. Further, since each CPU does not need to record or acquire the address of the activation program, the processing load on each CPU is reduced.

(4)起動制御部40は、第1のCPU21に起動処理の開始を指示し、このタイミングで経過時間の計測を開始する。このため、第1のCPU21が起動処理を開始してからの経過時間を正確または容易に計測することができる。   (4) The activation control unit 40 instructs the first CPU 21 to start the activation process, and starts measuring elapsed time at this timing. For this reason, it is possible to accurately or easily measure the elapsed time after the first CPU 21 starts the activation process.

(5)第1のCPU21の起動処理が正常に終了しなかった場合、第2のCPU31の起動処理が終了した後、第2のCPU31は、不揮発性メモリ10または他の記憶装置から記録系用の起動プログラムを読み出して実行することにより、記録系20を起動してもよい。これにより、第1のCPU21の起動処理により記録系20を起動できない場合に、記録系20を起動することができる。   (5) When the startup process of the first CPU 21 is not normally completed, after the startup process of the second CPU 31 is completed, the second CPU 31 uses the non-volatile memory 10 or another storage device for the recording system. The recording system 20 may be activated by reading out and executing the activation program. Thereby, the recording system 20 can be activated when the recording system 20 cannot be activated by the activation process of the first CPU 21.

(6)監視レコーダでは、カメラから送信される映像を記録し続けることが重要である。本実施の形態では、記録系と再生系とで別々のCPUを用いるので、記録系は、再生系に影響を及ぼされることなく動作することができ、映像を記録し続けることができる。   (6) In the surveillance recorder, it is important to continuously record the video transmitted from the camera. In the present embodiment, separate CPUs are used for the recording system and the playback system, so the recording system can operate without being affected by the playback system, and can continue to record video.

(7)第1のCPU21用の起動プログラムと第2のCPU31用の起動プログラムとを共通の不揮発性メモリ10に格納するので、別々の不揮発性メモリに格納する場合と比較して、回路規模を小さくすることができる。また、各起動プログラムを更新する際に、共通の不揮発性メモリを書き換えればよく、別々の不揮発性メモリを書き換える場合と比較して処理が簡易になる。   (7) Since the startup program for the first CPU 21 and the startup program for the second CPU 31 are stored in the common nonvolatile memory 10, the circuit scale is reduced as compared with the case where they are stored in separate nonvolatile memories. Can be small. In addition, when updating each activation program, it is only necessary to rewrite a common nonvolatile memory, and the process becomes simpler than when different nonvolatile memories are rewritten.

実施の形態2.
以下、実施の形態2における情報処理システムについて説明する。この情報処理システムは、予備の起動プログラムを用いる点を除き、実施の形態1の情報処理システムと同様である。以下の説明では、実施の形態1と同様の部分については説明を省略または簡略化し、実施の形態1と同一または対応する要素については同一の符号を付す。
Embodiment 2. FIG.
Hereinafter, the information processing system in Embodiment 2 will be described. This information processing system is the same as the information processing system of the first embodiment except that a spare activation program is used. In the following description, the description of the same parts as those in the first embodiment is omitted or simplified, and the same or corresponding elements as those in the first embodiment are denoted by the same reference numerals.

図7は、本実施の形態2における不揮発性メモリ10の記憶フォーマットを示す概略図である。図7において、不揮発性メモリ10は、第1の起動プログラム11、第2の起動プログラム12、およびアドレス情報13に加えて、予備の起動プログラム14を記憶している。予備の起動プログラム14は、記録系20を起動するためのプログラムまたはプログラムデータであり、第1の起動プログラム11の異常が検出された場合に用いられる。予備の起動プログラム14は、第1の起動プログラム11と同一内容のプログラム(例えばバージョンが同じプログラム)であってもよいし、第1の起動プログラム11と内容の異なるプログラム(例えばバージョンの異なるプログラム)であってもよい。アドレス情報13は、不揮発性メモリ10における第1の起動プログラム11、第2の起動プログラム12、および予備の起動プログラム14のそれぞれのアドレス(具体的には先頭アドレス)を示す。   FIG. 7 is a schematic diagram showing a storage format of the nonvolatile memory 10 according to the second embodiment. In FIG. 7, the nonvolatile memory 10 stores a spare startup program 14 in addition to the first startup program 11, the second startup program 12, and the address information 13. The spare activation program 14 is a program or program data for activating the recording system 20 and is used when an abnormality in the first activation program 11 is detected. The spare activation program 14 may be a program having the same content as the first activation program 11 (for example, a program having the same version), or a program having a different content from the first activation program 11 (for example, a program having a different version). It may be. The address information 13 indicates the addresses (specifically, the top addresses) of the first boot program 11, the second boot program 12, and the spare boot program 14 in the nonvolatile memory 10.

起動制御部40は、第1のCPU21が第1の起動プログラム11による起動処理を開始した後、第1の起動プログラム11の異常を検出した場合に、第1のCPU21に予備の起動プログラム14による起動処理を実行させる。例えば、起動制御部40は、第1の起動プログラム11の異常として、第1の起動プログラム11による起動処理が所定の判定時間内に終了しないことを検出した場合に、第1のCPU21に予備の起動プログラム14による起動処理を実行させる。ここで、所定の判定時間は、予め設定された時間であり、例えば、起動処理に要する通常の時間よりも長い時間である。所定の判定時間は、一例では上記「所定時間」と同じ時間であるが、異なる時間であってもよい。   When the first CPU 21 detects an abnormality in the first startup program 11 after the first CPU 21 starts the startup process by the first startup program 11, the startup control unit 40 causes the first CPU 21 to use the spare startup program 14. Execute startup processing. For example, when the activation control unit 40 detects that the activation process by the first activation program 11 does not end within a predetermined determination time as an abnormality of the first activation program 11, the activation control unit 40 sets a spare to the first CPU 21. A startup process by the startup program 14 is executed. Here, the predetermined determination time is a preset time, for example, a time longer than a normal time required for the activation process. The predetermined determination time is, for example, the same time as the “predetermined time”, but may be a different time.

本実施の形態では、起動制御部40は、第1のCPU21が第1の起動プログラム11による起動処理を開始した後、所定時間内に第1のCPU21の起動処理が終了したことを検出した場合、不揮発性メモリ10の接続先を第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。一方、第1のCPU21の起動処理が終了したことを検出することなく所定時間が経過したと判定した場合、第1のCPU21に予備の起動プログラム14による起動処理を実行させ、その後、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。   In the present embodiment, the activation control unit 40 detects that the activation process of the first CPU 21 is completed within a predetermined time after the first CPU 21 starts the activation process by the first activation program 11. Then, the connection destination of the nonvolatile memory 10 is changed to the second CPU 31, and the second CPU 31 is caused to start the startup process. On the other hand, if it is determined that the predetermined time has elapsed without detecting that the activation process of the first CPU 21 has been completed, the first CPU 21 is caused to execute the activation process by the spare activation program 14, and then the nonvolatile memory The ten connection destinations are changed from the first CPU 21 to the second CPU 31, and the second CPU 31 is caused to start the activation process.

起動制御部40は、図3に示される構成を有する。ただし、本実施の形態では、起動制御部40は、各部が以下のように動作するように構成される。   The activation control unit 40 has the configuration shown in FIG. However, in the present embodiment, the activation control unit 40 is configured so that each unit operates as follows.

システム起動時には、実施の形態1と同様に、CPU選択部41は、第1のCPU21を不揮発性メモリ10に接続し、起動開始部42は、第1のCPU21に起動処理の開始を指示し、起動プログラム選択部43は、第1のCPU21からの読み出し要求に応じて第1の起動プログラム11を読み出す。   At the time of system startup, as in the first embodiment, the CPU selection unit 41 connects the first CPU 21 to the nonvolatile memory 10, and the startup start unit 42 instructs the first CPU 21 to start the startup process. The activation program selection unit 43 reads the first activation program 11 in response to a read request from the first CPU 21.

第1のCPU21が第1の起動プログラム11または予備の起動プログラム14による起動処理を開始した後、時間判定部45が所定時間を経過したと判定する前に、トリガ検出部44が起動処理の終了を検出した場合、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、起動開始部42は、第2のCPU31に起動処理の開始を指示し、起動プログラム選択部43は、第2のCPU31からの読み出し要求に応じて第2の起動プログラム12を読み出す。   After the first CPU 21 starts the startup process by the first startup program 11 or the standby startup program 14, the trigger detection unit 44 finishes the startup process before the time determination unit 45 determines that the predetermined time has passed. Is detected, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 from the first CPU 21 to the second CPU 31, and the activation start unit 42 instructs the second CPU 31 to start the activation process. The activation program selection unit 43 reads the second activation program 12 in response to a read request from the second CPU 31.

第1のCPU21が第1の起動プログラム11または予備の起動プログラム14による起動処理を開始した後、時間判定部45が所定時間を経過したと判定した場合、CPU選択部41は、次に起動処理を実行するCPUを決定し、決定されたCPUを不揮発性メモリ10に接続する。起動開始部42は、次に起動処理を実行するCPUを決定し、決定されたCPUに起動処理の開始を指示する。起動プログラム選択部43は、次に実行される起動プログラムを決定し、決定された起動プログラムをCPUからの読み出し要求に応じて読み出す。これらの決定は、例えば、所定時間を経過したとの判定の回数に基づいてなされる。具体的には、所定時間を経過したとの判定が1回目であるときには、CPU選択部41は第1のCPU21の接続を維持し、起動開始部42は第1のCPU21に起動処理の開始を指示し、起動プログラム選択部43は第1のCPU21からの読み出し要求に応じて予備の起動プログラム14を読み出す。所定時間を経過したとの判定が2回目であるときには、CPU選択部41は接続先を第2のCPU31に変更し、起動開始部42は第2のCPU31に起動処理の開始を指示し、起動プログラム選択部43は第2のCPU31からの読み出し要求に応じて第2の起動プログラム12を読み出す。   When the time determination unit 45 determines that the predetermined time has elapsed after the first CPU 21 starts the startup process by the first startup program 11 or the standby startup program 14, the CPU selection unit 41 then starts the startup process. CPU to execute is determined, and the determined CPU is connected to the nonvolatile memory 10. The activation start unit 42 determines a CPU to execute the activation process next, and instructs the determined CPU to start the activation process. The startup program selection unit 43 determines a startup program to be executed next, and reads the determined startup program in response to a read request from the CPU. These determinations are made based on the number of determinations that a predetermined time has passed, for example. Specifically, when the determination that the predetermined time has elapsed is the first time, the CPU selection unit 41 maintains the connection of the first CPU 21 and the activation start unit 42 instructs the first CPU 21 to start the activation process. When instructed, the activation program selection unit 43 reads the spare activation program 14 in response to a read request from the first CPU 21. When the determination that the predetermined time has passed is the second time, the CPU selection unit 41 changes the connection destination to the second CPU 31, and the activation start unit 42 instructs the second CPU 31 to start the activation process, The program selection unit 43 reads the second activation program 12 in response to a read request from the second CPU 31.

図8は、本実施の形態2における起動制御部40の動作を示すフローチャートである。以下、図8および図6を参照して、情報処理システム5の動作について説明する。   FIG. 8 is a flowchart showing the operation of the activation control unit 40 in the second embodiment. The operation of the information processing system 5 will be described below with reference to FIGS.

図8において、情報処理システム5のリセットが解除されると、CPU選択部41は、第1のCPU21を不揮発性メモリ10に接続し(S10)、起動プログラム選択部43は、第1の起動プログラム11の先頭アドレスを読み出し、第1の起動プログラム11にアクセスするように自身を設定する(S11)。   In FIG. 8, when the reset of the information processing system 5 is released, the CPU selection unit 41 connects the first CPU 21 to the nonvolatile memory 10 (S10), and the activation program selection unit 43 displays the first activation program. 11 is read to set itself to access the first activation program 11 (S11).

次に、起動開始部42は、時間判定部45に時間計測を開始させ(S12)、第1のCPU21のリセットを解除し、第1のCPU21の起動処理を開始させる(S13)。これにより、第1のCPU21は、不揮発性メモリ10から第1の起動プログラム11を読み出して実行し(図6のS1〜S3)、起動処理が終了すると、接続変更要求を起動制御部40に出力する。   Next, the activation start unit 42 causes the time determination unit 45 to start measuring time (S12), cancels the reset of the first CPU 21, and starts the activation process of the first CPU 21 (S13). As a result, the first CPU 21 reads and executes the first activation program 11 from the nonvolatile memory 10 (S1 to S3 in FIG. 6), and outputs a connection change request to the activation control unit 40 when the activation process ends. To do.

ステップS13の後、時間判定部45の計測時間が所定時間を経過する前に、第1のCPU21の起動処理が完了し、第1のCPU21から接続変更要求が出力された場合(S14:Yes)、CPU選択部41に接続変更要求が入力される(S15)。CPU選択部41は、第1のCPU21からの接続変更要求を受けると、不揮発性メモリ10の接続先を第2のCPU31に変更し、起動開始部42および起動プログラム選択部43に接続変更を通知する(S17)。この通知に応じて、起動開始部42は、時間判定部45の時間計測を初期化して停止させ(S18)、起動プログラム選択部43は、第2の起動プログラム12の先頭アドレスを読み出し、第2の起動プログラム12にアクセスするように自身の設定を変更する(S19)。その後、起動開始部42は、第2のCPU31のリセットを解除し、第2のCPU31の起動処理を開始させる(S20)。これにより、第2のCPU31は、不揮発性メモリ10から第2の起動プログラム12を読み出して実行する(図6のS1〜S3)。   After Step S13, before the measurement time of the time determination unit 45 passes the predetermined time, the activation process of the first CPU 21 is completed and a connection change request is output from the first CPU 21 (S14: Yes). Then, a connection change request is input to the CPU selection unit 41 (S15). When receiving a connection change request from the first CPU 21, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the second CPU 31 and notifies the activation start unit 42 and the activation program selection unit 43 of the connection change. (S17). In response to this notification, the activation start unit 42 initializes and stops the time measurement of the time determination unit 45 (S18), the activation program selection unit 43 reads the start address of the second activation program 12, and the second The setting is changed so as to access the startup program 12 (S19). Thereafter, the activation start unit 42 releases the reset of the second CPU 31 and starts the activation process of the second CPU 31 (S20). Thereby, the second CPU 31 reads and executes the second activation program 12 from the nonvolatile memory 10 (S1 to S3 in FIG. 6).

一方、ステップS13の後、時間判定部45の計測時間が所定時間を経過し、時間判定部45から時間経過通知が出力された場合(S14:No)、CPU選択部41に時間経過通知が入力される(S16)。CPU選択部41は、時間判定部45からの時間経過通知を受けると、1回目の時間経過通知であることから、不揮発性メモリ10の接続先を第1のCPU21のままとし、起動開始部42および起動プログラム選択部43に1回目の時間経過通知を送る。起動プログラム選択部43は、1回目の時間経過通知を受けると、不揮発性メモリ10から予備の起動プログラム14の先頭アドレスを読み出し、予備の起動プログラム14にアクセスするように自身の設定を変更する(S21)。起動開始部42は、1回目の時間経過通知を受けると、起動プログラム選択部43の設定変更が完了した後、時間判定部45の時間計測を初期化して開始させ(S22)、第1のCPU21にリセットをかけて、再び起動処理を開始させる(S23)。これにより、第1のCPU21は、不揮発性メモリ10から予備の起動プログラム14を読み出して実行する(図6のS1〜S3)。このとき、起動プログラム選択部43は、予備の起動プログラム14にアクセスするように設定されているので、第1のCPU21からの読み出し要求に応じて、不揮発性メモリ10から予備の起動プログラム14を読み出す。第1のCPU21は、起動処理が終了すると、接続変更要求を起動制御部40に出力する。   On the other hand, after step S13, when the measurement time of the time determination unit 45 has passed a predetermined time and a time elapse notification is output from the time determination unit 45 (S14: No), a time elapse notification is input to the CPU selection unit 41. (S16). When the CPU selection unit 41 receives the time elapse notification from the time determination unit 45, it is the first time elapse notification, so that the connection destination of the nonvolatile memory 10 remains the first CPU 21, and the start start unit 42 The first time elapse notice is sent to the activation program selection unit 43. Upon receipt of the first time elapse notification, the activation program selection unit 43 reads the head address of the spare activation program 14 from the nonvolatile memory 10 and changes its setting so as to access the spare activation program 14 ( S21). Upon receiving the first time elapse notification, the activation start unit 42 initializes and starts the time measurement of the time determination unit 45 after the setting change of the activation program selection unit 43 is completed (S22). Is reset to start the activation process again (S23). As a result, the first CPU 21 reads and executes the spare activation program 14 from the nonvolatile memory 10 (S1 to S3 in FIG. 6). At this time, since the activation program selection unit 43 is set to access the spare activation program 14, the spare activation program 14 is read from the nonvolatile memory 10 in response to a read request from the first CPU 21. . When the activation process is completed, the first CPU 21 outputs a connection change request to the activation control unit 40.

ステップS23の後、時間判定部45の計測時間が所定時間を経過する前に、第1のCPU21の起動処理が完了し、第1のCPU21から接続変更要求が出力された場合(S24:Yes)、CPU選択部41に接続変更要求が入力される(S15)。CPU選択部41は、第1のCPU21からの接続変更要求を受けると、不揮発性メモリ10の接続先を第2のCPU31に変更し、起動開始部42および起動プログラム選択部43に接続変更を通知する(S17)。この通知に応じて、ステップS18〜S20の処理が行われ、第2のCPU31が不揮発性メモリ10から第2の起動プログラム12を読み出して実行する(図6のS1〜S3)。   After Step S23, before the measurement time of the time determination unit 45 has passed the predetermined time, the activation process of the first CPU 21 is completed and a connection change request is output from the first CPU 21 (S24: Yes). Then, a connection change request is input to the CPU selection unit 41 (S15). When receiving a connection change request from the first CPU 21, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the second CPU 31 and notifies the activation start unit 42 and the activation program selection unit 43 of the connection change. (S17). In response to this notification, the processing of steps S18 to S20 is performed, and the second CPU 31 reads out and executes the second activation program 12 from the nonvolatile memory 10 (S1 to S3 in FIG. 6).

一方、ステップS23の後、時間判定部45の計測時間が所定時間を経過し、時間判定部45から時間経過通知が出力された場合(S24:No)、CPU選択部41に時間経過通知が入力される(S25)。CPU選択部41は、時間判定部45からの時間経過通知を受けると、2回目の時間経過通知であることから、第1のCPU21または記録系20の起動処理が終了していないことを示すエラー処理を実行する(S26)。このエラー処理では、例えば、監視レコーダ2に接続されているモニタ3等に、エラーが発生していることを示す内容を出力する。その後、CPU選択部41は、不揮発性メモリ10の接続先を第2のCPU31に変更し、起動開始部42および起動プログラム選択部43に接続変更を通知する(S17)。この通知に応じて、ステップS18〜S20の処理が行われ、第2のCPU31が不揮発性メモリ10から第2の起動プログラム12を読み出して実行する(図6のS1〜S3)。   On the other hand, after step S23, when the measurement time of the time determination unit 45 has passed a predetermined time and a time elapse notification is output from the time determination unit 45 (S24: No), a time elapse notification is input to the CPU selection unit 41. (S25). When the CPU selection unit 41 receives the time elapse notification from the time determination unit 45, it is the second time elapse notification, and therefore an error indicating that the activation process of the first CPU 21 or the recording system 20 has not ended. The process is executed (S26). In this error processing, for example, content indicating that an error has occurred is output to the monitor 3 or the like connected to the monitoring recorder 2. Thereafter, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the second CPU 31, and notifies the activation start unit 42 and the activation program selection unit 43 of the connection change (S17). In response to this notification, the processing of steps S18 to S20 is performed, and the second CPU 31 reads out and executes the second activation program 12 from the nonvolatile memory 10 (S1 to S3 in FIG. 6).

なお、上記の動作は一例であり、適宜変更されてもよい。例えば、起動プログラム選択部43は、ステップS11において、第1の起動プログラム11の先頭アドレスと同時に、第2の起動プログラム12の先頭アドレスおよび予備の起動プログラム14の先頭アドレスを読み出してもよい。   The above operation is an example, and may be changed as appropriate. For example, the start program selecting unit 43 may read the start address of the second start program 12 and the start address of the spare start program 14 simultaneously with the start address of the first start program 11 in step S11.

以上説明した本実施の形態2によれば、上記実施の形態1の効果の他に、下記(8)〜(9)の効果が得られる。   According to the second embodiment described above, the following effects (8) to (9) can be obtained in addition to the effects of the first embodiment.

(8)起動制御部40は、第1のCPU21が第1の起動プログラム11による起動処理を開始した後、第1の起動プログラム11の異常を検出した場合(例えば、第1の起動プログラム11による起動処理が所定時間内に終了しなかった場合)、第1のCPU21に予備の起動プログラム14による起動処理を実行させる。このため、本実施の形態によれば、第1の起動プログラム11に異常があり第1のCPU21の起動処理を正常に実行できない場合でも、予備の起動プログラム14により、第1のCPU21の起動処理を正常に実行することができる。   (8) The activation control unit 40 detects an abnormality of the first activation program 11 after the first CPU 21 starts activation processing by the first activation program 11 (for example, according to the first activation program 11). When the activation process is not completed within a predetermined time), the first CPU 21 is caused to execute the activation process by the spare activation program 14. For this reason, according to the present embodiment, even if there is an abnormality in the first startup program 11 and the startup process of the first CPU 21 cannot be executed normally, the startup process of the first CPU 21 is performed by the spare startup program 14. Can be executed normally.

(9)カメラから送信される映像を記録する記録系と、記録した映像を再生する再生系とにそれぞれCPUが設置された監視システムでは、記録系が、いち早く、かつ、確実に起動することが望まれる。本実施の形態によれば、第1のCPU21が第2のCPU31より先に起動処理を実行し、第1の起動プログラム11に異常があった場合に予備の起動プログラム14による起動処理を実行するので、いち早く、かつ、確実に記録系20を起動することができる。   (9) In the monitoring system in which the CPU is installed in each of the recording system for recording the video transmitted from the camera and the playback system for reproducing the recorded video, the recording system can be quickly and reliably activated. desired. According to the present embodiment, the first CPU 21 executes the startup process before the second CPU 31, and executes the startup process by the spare startup program 14 when there is an abnormality in the first startup program 11. Therefore, the recording system 20 can be activated quickly and reliably.

実施の形態3.
以下、実施の形態3における情報処理システムについて説明する。この情報処理システムは、処理の順序を除き、実施の形態2の情報処理システムと同様である。以下の説明では、実施の形態2と同様の部分については説明を省略または簡略化し、実施の形態2と同一または対応する要素については同一の符号を付す。
Embodiment 3 FIG.
Hereinafter, the information processing system in Embodiment 3 will be described. This information processing system is the same as the information processing system of the second embodiment except for the processing order. In the following description, the description of the same parts as those of the second embodiment is omitted or simplified, and the same or corresponding elements as those of the second embodiment are denoted by the same reference numerals.

本実施の形態では、起動制御部40は、第1のCPU21が第1の起動プログラム11による起動処理を開始した後、所定時間内に第1のCPU21の起動処理が終了したことを検出した場合、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を開始させる。一方、第1のCPU21の起動処理が終了したことを検出することなく所定時間が経過したと判定した場合、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を実行させ、その後、不揮発性メモリ10の接続先を第1のCPU21に変更し、第1のCPU21に予備の起動プログラム14による起動処理を実行させる。この場合、起動制御部40は、例えば、第2のCPU31の起動処理が終了したことを検出したときに、不揮発性メモリ10の接続先を第2のCPU31から第1のCPU21に変更する。ただし、起動制御部40は、第2の起動プログラム12の読み出しの終了を検出したときや、第2のCPU31の起動処理の開始から所定時間が経過したときなど、他のタイミングで接続先を第1のCPU21に変更してもよい。   In the present embodiment, the activation control unit 40 detects that the activation process of the first CPU 21 is completed within a predetermined time after the first CPU 21 starts the activation process by the first activation program 11. Then, the connection destination of the nonvolatile memory 10 is changed from the first CPU 21 to the second CPU 31, and the second CPU 31 starts the startup process. On the other hand, when it is determined that the predetermined time has elapsed without detecting that the startup process of the first CPU 21 has been completed, the connection destination of the nonvolatile memory 10 is changed from the first CPU 21 to the second CPU 31, and The second CPU 31 is caused to execute the startup process, and thereafter, the connection destination of the nonvolatile memory 10 is changed to the first CPU 21, and the first CPU 21 is caused to execute the startup process by the spare startup program 14. In this case, the activation control unit 40 changes the connection destination of the nonvolatile memory 10 from the second CPU 31 to the first CPU 21 when detecting that the activation process of the second CPU 31 is finished, for example. However, the activation control unit 40 determines the connection destination at another timing such as when the end of reading of the second activation program 12 is detected or when a predetermined time has elapsed from the start of the activation process of the second CPU 31. You may change to 1 CPU21.

起動制御部40は、図3に示される構成を有する。ただし、本実施の形態では、起動制御部40は、各部が以下のように動作するように構成される。   The activation control unit 40 has the configuration shown in FIG. However, in the present embodiment, the activation control unit 40 is configured so that each unit operates as follows.

システム起動時には、実施の形態1と同様に、CPU選択部41は、第1のCPU21を不揮発性メモリ10に接続し、起動開始部42は、第1のCPU21に起動処理の開始を指示し、起動プログラム選択部43は、第1のCPU21からの読み出し要求に応じて第1の起動プログラム11を読み出す。   At the time of system startup, as in the first embodiment, the CPU selection unit 41 connects the first CPU 21 to the nonvolatile memory 10, and the startup start unit 42 instructs the first CPU 21 to start the startup process. The activation program selection unit 43 reads the first activation program 11 in response to a read request from the first CPU 21.

第1のCPU21が第1の起動プログラム11による起動処理を開始した後、時間判定部45が所定時間を経過したと判定する前に、トリガ検出部44が起動処理の終了を検出した場合、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、起動開始部42は、第2のCPU31に起動処理の開始を指示し、起動プログラム選択部43は、第2のCPU31からの読み出し要求に応じて第2の起動プログラム12を読み出す。   If the trigger detection unit 44 detects the end of the startup process after the first CPU 21 starts the startup process by the first startup program 11 and before the time determination unit 45 determines that the predetermined time has elapsed, the CPU The selection unit 41 changes the connection destination of the nonvolatile memory 10 from the first CPU 21 to the second CPU 31, and the activation start unit 42 instructs the second CPU 31 to start the activation process, and the activation program selection unit 43. Reads the second activation program 12 in response to a read request from the second CPU 31.

第1のCPU21が第1の起動プログラム11による起動処理を開始した後、時間判定部45が所定時間を経過したと判定した場合、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、起動開始部42は、第2のCPU31に起動処理の開始を指示し、起動プログラム選択部43は、第2のCPU31からの読み出し要求に応じて第2の起動プログラム12を読み出す。その後、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21に変更し、起動開始部42は、第1のCPU21に起動処理の開始を指示し、起動プログラム選択部43は、第1のCPU21からの読み出し要求に応じて予備の起動プログラム14を読み出す。   When the time determination unit 45 determines that the predetermined time has elapsed after the first CPU 21 starts the startup process by the first startup program 11, the CPU selection unit 41 sets the connection destination of the nonvolatile memory 10 to the first destination. The activation start unit 42 instructs the second CPU 31 to start the activation process, and the activation program selection unit 43 changes the second CPU 31 to the second CPU 31 in response to a read request from the second CPU 31. The activation program 12 is read out. Thereafter, the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the first CPU 21, the activation start unit 42 instructs the first CPU 21 to start the activation process, and the activation program selection unit 43 In response to a read request from the first CPU 21, the spare activation program 14 is read.

図9は、本実施の形態3における起動制御部40の動作を示すフローチャートである。以下、図9および図6を参照して、情報処理システム5の動作について説明する。   FIG. 9 is a flowchart showing the operation of the activation control unit 40 in the third embodiment. Hereinafter, the operation of the information processing system 5 will be described with reference to FIGS. 9 and 6.

図9のステップS10〜S20の処理は、図5のステップS10〜S20の処理と同様である。ただし、図9では、ステップS17において、CPU選択部41は、第1のCPU21の起動処理が終了しているか否かを示す起動状態情報を記憶する。具体的には、CPU選択部41は、接続変更要求を受けた場合には、起動処理が終了していることを示す起動状態情報を記憶し、時間経過通知を受けた場合には、起動処理が終了していないことを示す起動状態情報を記憶する。   The processing in steps S10 to S20 in FIG. 9 is the same as the processing in steps S10 to S20 in FIG. However, in FIG. 9, in step S <b> 17, the CPU selection unit 41 stores activation state information indicating whether the activation process of the first CPU 21 has been completed. Specifically, when receiving a connection change request, the CPU selection unit 41 stores activation state information indicating that the activation process has been completed, and when receiving a time elapse notification, the activation process is performed. The activation state information indicating that is not finished.

ステップS20で第2のCPU31のリセットが解除されると、第2のCPU31は、不揮発性メモリ10から第2の起動プログラム12を読み出して実行し(図6のS1〜S3)、起動処理が終了すると、起動終了通知を起動制御部40に出力する。   When the reset of the second CPU 31 is released in step S20, the second CPU 31 reads and executes the second activation program 12 from the nonvolatile memory 10 (S1 to S3 in FIG. 6), and the activation process ends. Then, an activation end notification is output to the activation control unit 40.

ステップS20の後、CPU選択部41は、第2のCPU31からの起動終了通知を受けると(S31)、記憶している起動状態情報に基づき、第1のCPU21の起動処理が終了しているか否かを判断する(S32)。   After step S20, when the CPU selection unit 41 receives the activation end notification from the second CPU 31 (S31), whether or not the activation process of the first CPU 21 has been completed based on the stored activation state information. Is determined (S32).

第1のCPU21の起動処理が終了している場合には(S32:Yes)、情報処理システム5の起動処理は終了する。   If the startup process of the first CPU 21 has ended (S32: Yes), the startup process of the information processing system 5 ends.

一方、第1のCPU21の起動処理が終了していない場合には(S32:No)、CPU選択部41は、不揮発性メモリ10の接続先を第1のCPU21に変更し、起動開始部42および起動プログラム選択部43に予備起動プログラム実行通知を送る(S33)。起動プログラム選択部43は、予備起動プログラム実行通知を受けると、不揮発性メモリ10から予備の起動プログラム14の先頭アドレスを読み出し、予備の起動プログラム14にアクセスするように自身の設定を変更する(S34)。起動開始部42は、予備起動プログラム実行通知を受けると、起動プログラム選択部43の設定変更が完了した後、時間判定部45の時間計測を初期化して開始させ(S35)、第1のCPU21にリセットをかけて、再び起動処理を開始させる(S36)。これにより、第1のCPU21は、不揮発性メモリ10から予備の起動プログラム14を読み出して実行する(図6のS1〜S3)。このとき、起動プログラム選択部43は、予備の起動プログラム14にアクセスするように設定されているので、第1のCPU21からの読み出し要求に応じて、不揮発性メモリ10から予備の起動プログラム14を読み出す。第1のCPU21は、起動処理が終了すると、起動終了通知を起動制御部40に出力する。   On the other hand, when the activation process of the first CPU 21 is not completed (S32: No), the CPU selection unit 41 changes the connection destination of the nonvolatile memory 10 to the first CPU 21, and the activation start unit 42 and A preliminary activation program execution notification is sent to the activation program selection unit 43 (S33). Upon receiving the preliminary activation program execution notification, the activation program selection unit 43 reads the start address of the auxiliary activation program 14 from the nonvolatile memory 10 and changes its setting so as to access the auxiliary activation program 14 (S34). ). Upon receipt of the preliminary activation program execution notification, the activation start unit 42 initializes and starts the time measurement of the time determination unit 45 after the setting change of the activation program selection unit 43 is completed (S35), and causes the first CPU 21 to start. The reset process is performed and the activation process is started again (S36). As a result, the first CPU 21 reads and executes the spare activation program 14 from the nonvolatile memory 10 (S1 to S3 in FIG. 6). At this time, since the activation program selection unit 43 is set to access the spare activation program 14, the spare activation program 14 is read from the nonvolatile memory 10 in response to a read request from the first CPU 21. . When the activation process ends, the first CPU 21 outputs an activation completion notification to the activation control unit 40.

ステップS36の後、時間判定部45の計測時間が所定時間を経過する前に、第1のCPU21の起動処理が完了し、第1のCPU21から起動終了通知が出力された場合(S37:Yes)、CPU選択部41に起動終了通知が入力され、情報処理システム5の起動処理が終了する。   After step S36, before the measurement time of the time determination unit 45 passes the predetermined time, when the activation process of the first CPU 21 is completed and the activation completion notification is output from the first CPU 21 (S37: Yes) Then, the activation end notification is input to the CPU selection unit 41, and the activation process of the information processing system 5 ends.

一方、ステップS36の後、時間判定部45の計測時間が所定時間を経過し、時間判定部45から時間経過通知が出力された場合(S37:No)、CPU選択部41に時間経過通知が入力される(S38)。CPU選択部41は、時間判定部45からの時間経過通知を受けると、2回目の時間経過通知であることから、第1のCPU21または記録系20の起動処理が終了していないことを示すエラー処理を実行する(S39)。このエラー処理では、例えば、CPU選択部41は、監視レコーダ2に接続されているモニタ3等に、エラーが発生していることを示す内容を出力する。   On the other hand, after step S36, when the measurement time of the time determination unit 45 has passed a predetermined time and a time elapse notification is output from the time determination unit 45 (S37: No), a time elapse notification is input to the CPU selection unit 41. (S38). When the CPU selection unit 41 receives the time elapse notification from the time determination unit 45, it is the second time elapse notification, and therefore an error indicating that the activation process of the first CPU 21 or the recording system 20 has not ended. Processing is executed (S39). In this error processing, for example, the CPU selection unit 41 outputs content indicating that an error has occurred to the monitor 3 connected to the monitoring recorder 2 or the like.

以上説明した本実施の形態3によれば、上記実施の形態1および2の効果の他に、下記(10)の効果が得られる。   According to the third embodiment described above, the following effect (10) can be obtained in addition to the effects of the first and second embodiments.

(10)起動制御部40は、第1のCPU21が第1の起動プログラム11による起動処理を開始した後、第1のCPU21の起動処理が終了したことを検出することなく所定時間が経過したと判定した場合、不揮発性メモリ10の接続先を第1のCPU21から第2のCPU31に変更し、第2のCPU31に起動処理を実行させ、その後、不揮発性メモリ10の接続先を第1のCPU21に変更し、第1のCPU21に予備の起動プログラム14による起動処理を実行させる。本構成では、第1のCPU21の第1の起動プログラム11による起動処理が所定時間内に終了しない場合に、第1のCPU21に予備の起動プログラム14による起動処理を実行させる前に、第2のCPU31に起動処理を実行させる。このため、情報処理システム5の一部分を早期に起動することができる。特に、監視レコーダでは、システムが起動できない状態にあることは望ましくないため、システムの異常をいち早く把握する必要がある。本構成では、第2のCPU31が起動することで、第2のCPU31を用いて第1のCPU21または記録系20の異常を把握することが可能または容易になる。例えば、ユーザは、第2のCPU31を用いて、第1のCPU21または記録系20の状態をモニタ3等で確認することが可能になる。   (10) The activation control unit 40 determines that the predetermined time has elapsed without detecting that the activation process of the first CPU 21 has ended after the first CPU 21 has initiated the activation process by the first activation program 11. When the determination is made, the connection destination of the nonvolatile memory 10 is changed from the first CPU 21 to the second CPU 31, and the second CPU 31 is caused to execute a startup process, and then the connection destination of the nonvolatile memory 10 is changed to the first CPU 21. And the first CPU 21 is caused to execute the startup process by the spare startup program 14. In this configuration, when the first CPU 21 starts the startup process by the first startup program 11 within a predetermined time, the first CPU 21 executes the second startup process before the startup process by the spare startup program 14 is executed. The CPU 31 is caused to execute startup processing. For this reason, a part of information processing system 5 can be started at an early stage. In particular, it is not desirable for the monitoring recorder to be in a state where the system cannot be started, so it is necessary to quickly grasp the system abnormality. In this configuration, when the second CPU 31 is activated, it is possible or easy to grasp the abnormality of the first CPU 21 or the recording system 20 using the second CPU 31. For example, the user can use the second CPU 31 to check the state of the first CPU 21 or the recording system 20 on the monitor 3 or the like.

なお、実施の形態1〜3において、起動制御部40の機能は、電子回路などのハードウェア資源のみにより実現されてもよいし、ハードウェア資源とソフトウェアとの協働により実現されてもよい。ハードウェア資源とソフトウェアとの協働により実現される場合、起動制御部40の機能は、例えばコンピュータプログラムがコンピュータにより実行されることによって実現される。より具体的には、起動制御部40の機能は、ROM(Read Only Memory)等の記録媒体に記録されたコンピュータプログラムが主記憶装置に読み出されてCPUにより実行されることによって実現される。コンピュータプログラムは、光ディスク等のコンピュータ読み取り可能な記録媒体に記録されて提供されてもよいし、インターネット等の通信回線を介して提供されてもよい。   In the first to third embodiments, the function of the activation control unit 40 may be realized only by hardware resources such as an electronic circuit, or may be realized by cooperation of hardware resources and software. When realized by the cooperation of hardware resources and software, the function of the activation control unit 40 is realized, for example, by a computer program being executed by a computer. More specifically, the function of the activation control unit 40 is realized by a computer program recorded on a recording medium such as a ROM (Read Only Memory) being read out to the main storage device and executed by the CPU. The computer program may be provided by being recorded on a computer-readable recording medium such as an optical disk, or may be provided via a communication line such as the Internet.

また、本発明は、上記実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の態様で実施することができる。   Further, the present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the gist of the present invention.

例えば、上記の説明では、プログラムをワークメモリ22または32に展開して実行する構成を例示したが、第1のCPU21または第2のCPU31は、プログラムをワークメモリ22または32に展開せずに不揮発性メモリ10上から直接実行するように構成されてもよい。この構成では、ワークメモリ22または32の容量を削減することができる。   For example, in the above description, the configuration in which the program is expanded and executed in the work memory 22 or 32 is exemplified, but the first CPU 21 or the second CPU 31 is not nonvolatile but expands the program in the work memory 22 or 32. It may be configured to execute directly from the memory 10. In this configuration, the capacity of the work memory 22 or 32 can be reduced.

また、第1の起動プログラム11の起動対象である第1のシステムは、一例では記録系20のような第1のCPU21を含むシステムであるが、第1のCPU21であってもよいし、第1のCPU21を含まないシステムであってもよい。同様に、第2の起動プログラム12の起動対象である第2のシステムは、一例では再生系30のような第2のCPU31を含むシステムであるが、第2のCPU31であってもよいし、第2のCPU31を含まないシステムであってもよい。   In addition, the first system that is the activation target of the first activation program 11 is a system that includes the first CPU 21 such as the recording system 20 in one example, but may be the first CPU 21 or the first CPU 21. A system that does not include one CPU 21 may be used. Similarly, the second system that is the activation target of the second activation program 12 is a system including the second CPU 31 such as the reproduction system 30 in one example, but may be the second CPU 31, A system that does not include the second CPU 31 may be used.

また、上記の説明では、不揮発性メモリ10の接続変更のトリガとして、第1のCPU21の起動処理が終了したこと、および第1のCPU21からの接続変更要求を例示したが、接続変更のトリガは、これらに限られず、例えば下記(a)〜(d)の事象または信号であってもよい。
(a)不揮発性メモリ10からの第1の起動プログラム11の読み出しが終了したこと
(b)第1のCPU21から出力される、不揮発性メモリ10からの第1の起動プログラム11の読み出しが終了したことを示す信号
(c)第1のCPU21と関係するデバイスから出力される、第1のCPU21の起動処理の終了または第1の起動プログラム11の読み出しの終了を示す信号
(d)第1のCPU21の起動処理の終了または第1の起動プログラム11の読み出しの終了を示す、第1のCPU21または第1のCPU21と関係するデバイスの状態の変化
In the above description, the activation process of the first CPU 21 and the connection change request from the first CPU 21 are exemplified as the connection change trigger of the nonvolatile memory 10. For example, the following events (a) to (d) or signals may be used.
(A) Reading of the first boot program 11 from the nonvolatile memory 10 has been completed. (B) Reading of the first boot program 11 from the nonvolatile memory 10 output from the first CPU 21 has been completed. (C) A signal indicating that the start processing of the first CPU 21 or the end of reading of the first start program 11 is output from a device related to the first CPU 21. (d) The first CPU 21 Change of the state of the device related to the first CPU 21 or the first CPU 21, indicating the end of the start-up process or the end of reading of the first start-up program 11

また、上記の説明では、起動制御部40が第1のCPU21および第2のCPU31に起動処理を開始させる構成を例示したが、第1のCPU21および第2のCPU31は、他の態様で起動処理を開始してもよい。例えば、第1のCPU21が第2のCPU31のリセットを解除することで、第2のCPU31の起動処理を開始させてもよい。   Further, in the above description, the configuration in which the activation control unit 40 causes the first CPU 21 and the second CPU 31 to start the activation process is illustrated. However, the first CPU 21 and the second CPU 31 may perform the activation process in another manner. May start. For example, the first CPU 21 may start the activation process of the second CPU 31 by releasing the reset of the second CPU 31.

また、上記の説明では、アドレス情報13が不揮発性メモリ10に記憶されている構成を例示したが、アドレス情報13は、例えば起動プログラム選択部43に接続されるレジスタなど、不揮発性メモリ10以外の記憶装置に記憶されてもよい。   In the above description, the configuration in which the address information 13 is stored in the non-volatile memory 10 is illustrated. However, the address information 13 may be other than the non-volatile memory 10 such as a register connected to the activation program selection unit 43, for example. You may memorize | store in a memory | storage device.

また、上記各実施の形態において、アドレス情報13および起動プログラム選択部43は省略されてもよい。例えば、各CPUが起動プログラムのアドレスを指定し、起動制御部40は、CPUにより指定されたアドレスをそのまま指定して不揮発性メモリ10にアクセスしてもよい。また、各CPUは、リセット解除後に常に共通のプログラムにアクセスし、このプログラムの命令に従って、実行すべき起動プログラムの先頭アドレスにジャンプしてもよい。   Moreover, in each said embodiment, the address information 13 and the starting program selection part 43 may be abbreviate | omitted. For example, each CPU may specify the address of the startup program, and the startup control unit 40 may access the nonvolatile memory 10 by specifying the address specified by the CPU as it is. Further, each CPU may always access a common program after reset release and jump to the start address of the startup program to be executed in accordance with the instructions of this program.

また、上記実施の形態2および3では、第1の起動プログラム11による起動処理が所定時間内に終了しない場合に予備の起動プログラム14を用いる構成を例示したが、起動制御部40は、他の態様で第1の起動プログラム11の異常を検出してもよい。例えば、起動制御部40は、第1のCPU21または他のデバイスから第1の起動プログラム11の異常(例えばビットエラーが検出されたこと)を示す信号を受けた場合や、第1のCPU21から定期的に出力されるべき信号が途絶えた場合に、予備の起動プログラム14を用いてもよい。   In the second and third embodiments, the configuration in which the standby startup program 14 is used when the startup process by the first startup program 11 does not end within a predetermined time is exemplified. An abnormality of the first activation program 11 may be detected in a manner. For example, the activation control unit 40 receives a signal indicating an abnormality of the first activation program 11 (for example, that a bit error has been detected) from the first CPU 21 or another device, or periodically from the first CPU 21. When the signal to be output automatically is interrupted, the spare activation program 14 may be used.

また、上記実施の形態2および3では、予備の起動プログラムが1つだけ記憶される構成を例示したが、複数の予備の起動プログラムが不揮発性メモリ10に記憶されていてもよい。複数の予備の起動プログラムは、それぞれ、記録系20を起動するためのプログラムであり、第1の起動プログラム11と同一内容のプログラムデータであってもよいし、第1の起動プログラム11と内容の異なるプログラムデータであってもよい。また、複数の予備の起動プログラムは、それぞれが他の予備の起動プログラムと同一内容のプログラムデータであってもよいし、他の予備の起動プログラムと内容が異なるプログラムデータであってもよい。本構成では、起動制御部40は、例えば予備の起動プログラムの個数情報を保持し、第1のCPU21の起動処理が正常に終了するか、または使用されていない予備の起動プログラムがなくなるまで、複数の予備の起動プログラムを第1のCPU21に順に実行させてもよい。例えば、図8において、ステップS25で未使用の予備の起動プログラムが残っているかを判断し、残っている場合にはステップS21に戻って未使用の予備の起動プログラムによる起動処理を行い、残っていない場合にステップS26に進むようにしてもよい。また、図9において、ステップS38で未使用の予備の起動プログラムが残っているかを判断し、残っている場合にはステップS34に戻って未使用の予備の起動プログラムによる起動処理を行い、残っていない場合にステップS39に進むようにしてもよい。   In the second and third embodiments, the configuration in which only one spare activation program is stored is illustrated. However, a plurality of spare activation programs may be stored in the nonvolatile memory 10. Each of the plurality of spare activation programs is a program for activating the recording system 20, and may be the same program data as the first activation program 11, or may be the same as the first activation program 11. Different program data may be used. Each of the plurality of spare activation programs may be program data having the same contents as other spare activation programs, or may be program data having contents different from those of other spare activation programs. In this configuration, the activation control unit 40 holds information on the number of spare activation programs, for example, until the activation process of the first CPU 21 ends normally or there are no spare activation programs that are not used. The preliminary activation program may be sequentially executed by the first CPU 21. For example, in FIG. 8, it is determined whether or not an unused spare activation program remains in step S25, and if it remains, the process returns to step S21 to perform activation processing using an unused spare activation program. If not, the process may proceed to step S26. In FIG. 9, it is determined whether or not an unused spare activation program remains in step S38, and if it remains, the process returns to step S34 to perform an activation process using an unused spare activation program. If not, the process may proceed to step S39.

また、起動制御部40の構成は、図3に示される構成に限定されず、適宜変更されてもよい。例えば、図3では、起動開始部42が1つのブロックである構成を例示したが、CPU選択部41、起動プログラム選択部43、または時間判定部45が起動開始部42の機能を有するように構成されてもよい。   Moreover, the structure of the starting control part 40 is not limited to the structure shown by FIG. 3, You may change suitably. For example, FIG. 3 illustrates a configuration in which the activation start unit 42 is one block, but the CPU selection unit 41, the activation program selection unit 43, or the time determination unit 45 has a function of the activation start unit 42. May be.

また、本発明は、監視レコーダに限られず、様々な種類の装置に適用することができる。   Further, the present invention is not limited to the monitoring recorder, and can be applied to various types of apparatuses.

2 監視レコーダ、 5 情報処理システム、 10 不揮発性メモリ、 20 記録系、 21 第1のCPU、 22 ワークメモリ、 30 再生系、 31 第2のCPU、 32 ワークメモリ、 40 起動制御部、 41 CPU選択部、 42 起動開始部、 43 起動プログラム選択部、 44 トリガ検出部、 45 時間判定部。   2 monitoring recorder, 5 information processing system, 10 non-volatile memory, 20 recording system, 21 first CPU, 22 work memory, 30 playback system, 31 second CPU, 32 work memory, 40 start control unit, 41 CPU selection Part, 42 start start part, 43 start program selection part, 44 trigger detection part, 45 time determination part.

Claims (16)

第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、
前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、
前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUと、
前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続する制御手段であって、前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出すると、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更する制御手段と
を備え、
前記制御手段は、前記第1のCPUが前記起動処理を開始した後、前記トリガを検出することなく所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする情報処理システム。
A non-volatile memory storing a first start program for starting the first system and a second start program for starting the second system;
A first CPU that performs a boot process for booting the first system by reading and executing the first boot program from the non-volatile memory;
A second CPU that performs a boot process for booting the second system by reading and executing the second boot program from the nonvolatile memory;
Control means for selectively connecting one of the first CPU and the second CPU to the non-volatile memory during a startup process of the first CPU and the second CPU, Control means for changing the connection destination of the nonvolatile memory from the first CPU to the second CPU when a trigger for changing the connection of the nonvolatile memory is detected after the CPU starts the activation process. ,
When the control unit determines that a predetermined time has elapsed without detecting the trigger after the first CPU has started the startup process, the control unit determines the connection destination of the nonvolatile memory from the first CPU. An information processing system, wherein the information processing system is changed to the second CPU.
前記トリガは、前記第1のCPUの前記起動処理が終了したことであることを特徴とする請求項1に記載の情報処理システム。   The information processing system according to claim 1, wherein the trigger is completion of the start-up process of the first CPU. 前記トリガは、前記第1のCPUから出力される接続変更の要求であることを特徴とする請求項1に記載の情報処理システム。   The information processing system according to claim 1, wherein the trigger is a connection change request output from the first CPU. 前記制御手段は、前記トリガを検出することなく所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記第2のCPUに前記起動処理を開始させることを特徴とする請求項1から3のいずれか1項に記載の情報処理システム。   When it is determined that a predetermined time has elapsed without detecting the trigger, the control unit changes the connection destination of the nonvolatile memory from the first CPU to the second CPU, and the second CPU The information processing system according to any one of claims 1 to 3, wherein the startup process is started. 前記不揮発性メモリは、前記第1のシステムを起動するための予備の起動プログラムをさらに記憶し、
前記制御手段は、前記第1のCPUが前記第1の起動プログラムによる起動処理を開始した後、前記第1の起動プログラムの異常を検出した場合に、前記第1のCPUに前記予備の起動プログラムによる起動処理を実行させることを特徴とする請求項1から4のいずれか1項に記載の情報処理システム。
The non-volatile memory further stores a spare boot program for booting the first system,
When the first CPU starts an activation process by the first activation program and detects an abnormality in the first activation program, the control means sends the spare activation program to the first CPU. The information processing system according to any one of claims 1 to 4, characterized in that a startup process is executed.
前記第1の起動プログラムの異常は、前記第1の起動プログラムによる起動処理が所定の判定時間内に終了しないことであることを特徴とする請求項5に記載の情報処理システム。   6. The information processing system according to claim 5, wherein the abnormality of the first activation program is that activation processing by the first activation program does not end within a predetermined determination time. 前記制御手段は、
前記第1のCPUが前記第1の起動プログラムによる起動処理を開始した後、
前記所定時間内に前記第1のCPUの起動処理が終了したことを検出した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、
前記第1のCPUの起動処理が終了したことを検出することなく前記所定時間が経過したと判定した場合、前記第1のCPUに前記予備の起動プログラムによる起動処理を実行させ、その後、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする請求項6に記載の情報処理システム。
The control means includes
After the first CPU starts the boot process by the first boot program,
When it is detected that the startup process of the first CPU is completed within the predetermined time, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU;
When it is determined that the predetermined time has elapsed without detecting that the startup process of the first CPU has been completed, the first CPU is caused to execute the startup process by the spare startup program, and then the nonvolatile CPU 7. The information processing system according to claim 6, wherein the connection destination of the volatile memory is changed from the first CPU to the second CPU.
前記制御手段は、
前記第1のCPUが前記第1の起動プログラムによる起動処理を開始した後、
前記所定時間内に前記第1のCPUの起動処理が終了したことを検出した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、
前記第1のCPUの起動処理が終了したことを検出することなく前記所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記第2のCPUに前記起動処理を実行させ、その後、前記不揮発性メモリの接続先を前記第1のCPUに変更し、前記第1のCPUに前記予備の起動プログラムによる起動処理を実行させることを特徴とする請求項6に記載の情報処理システム。
The control means includes
After the first CPU starts the boot process by the first boot program,
When it is detected that the startup process of the first CPU is completed within the predetermined time, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU;
When it is determined that the predetermined time has elapsed without detecting that the startup process of the first CPU has ended, the connection destination of the nonvolatile memory is changed from the first CPU to the second CPU. , Causing the second CPU to execute the startup process, then changing the connection destination of the nonvolatile memory to the first CPU, and causing the first CPU to execute the startup process by the spare startup program The information processing system according to claim 6.
前記不揮発性メモリにおける前記各起動プログラムのアドレスを示すアドレス情報を記憶するアドレス記憶手段を備え、
前記各CPUは、前記不揮発性メモリから起動プログラムを読み出す場合、前記制御手段に読み出し要求を送り、当該読み出し要求に応じて前記制御手段により前記不揮発性メモリから読み出された起動プログラムを実行し、
前記制御手段は、前記アドレス記憶手段にアクセスして前記アドレス情報を取得し、前記第1のCPUおよび前記第2のCPUのうち前記不揮発性メモリに接続されたCPUから前記読み出し要求を受けると、前記不揮発性メモリから当該CPUが実行すべき起動プログラムを前記アドレス情報に基づいて選択的に読み出すことを特徴とする請求項1から8のいずれか1項に記載の情報処理システム。
Address storage means for storing address information indicating the address of each startup program in the nonvolatile memory,
Each of the CPUs, when reading a startup program from the nonvolatile memory, sends a read request to the control means, and executes the startup program read from the nonvolatile memory by the control means in response to the read request,
The control means accesses the address storage means to acquire the address information, and receives the read request from a CPU connected to the nonvolatile memory among the first CPU and the second CPU. The information processing system according to any one of claims 1 to 8, wherein a startup program to be executed by the CPU is selectively read from the nonvolatile memory based on the address information.
前記不揮発性メモリにおける前記各起動プログラムのアドレスを示すアドレス情報を記憶するアドレス記憶手段を備え、
前記各CPUは、前記不揮発性メモリから起動プログラムを読み出す場合、前記制御手段に読み出し要求を送り、当該読み出し要求に応じて前記制御手段により前記不揮発性メモリから読み出された起動プログラムを実行し、
前記制御手段は、
前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択手段と、
前記第1のCPUまたは前記第2のCPUに起動処理の開始を指示する起動開始手段と、
前記アドレス記憶手段にアクセスして前記アドレス情報を取得し、前記不揮発性メモリに接続されたCPUから前記読み出し要求を受けると、前記不揮発性メモリから当該CPUが実行すべき起動プログラムを前記アドレス情報に基づいて選択的に読み出す起動プログラム選択手段と、
前記トリガを検出する検出手段と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出手段が前記トリガを検出することなく前記経過時間が前記所定時間を経過したかを判定する時間判定手段と
を備え、
前記第1のCPUが起動処理を開始した後、前記検出手段が前記トリガを検出した場合、および前記時間判定手段が前記所定時間を経過したと判定した場合、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記起動開始手段は前記第2のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第2のCPUからの読み出し要求に応じて前記第2の起動プログラムを読み出すことを特徴とする請求項1から4のいずれか1項に記載の情報処理システム。
Address storage means for storing address information indicating the address of each startup program in the nonvolatile memory,
Each of the CPUs, when reading a startup program from the nonvolatile memory, sends a read request to the control means, and executes the startup program read from the nonvolatile memory by the control means in response to the read request,
The control means includes
CPU selection means for selectively connecting one of the first CPU and the second CPU to the nonvolatile memory;
Boot start means for instructing the first CPU or the second CPU to start boot processing;
When the address storage unit is accessed to acquire the address information and the read request is received from a CPU connected to the nonvolatile memory, a boot program to be executed by the CPU is stored in the address information from the nonvolatile memory. Starting program selection means for selectively reading based on,
Detecting means for detecting the trigger;
A time determination unit that measures an elapsed time from the start of the startup process of the first CPU and determines whether the elapsed time has passed the predetermined time without the detection unit detecting the trigger;
When the detection means detects the trigger after the first CPU starts the startup process, and when the time determination means determines that the predetermined time has elapsed, the CPU selection means is the nonvolatile memory. Is changed from the first CPU to the second CPU, the activation start means instructs the second CPU to start the activation process, and the activation program selection means is changed from the second CPU. 5. The information processing system according to claim 1, wherein the second activation program is read in response to the read request.
前記不揮発性メモリにおける前記各起動プログラムのアドレスを示すアドレス情報を記憶するアドレス記憶手段を備え、
前記各CPUは、前記不揮発性メモリから起動プログラムを読み出す場合、前記制御手段に読み出し要求を送り、当該読み出し要求に応じて前記制御手段により前記不揮発性メモリから読み出された起動プログラムを実行し、
前記制御手段は、
前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択手段と、
前記第1のCPUまたは前記第2のCPUに起動処理の開始を指示する起動開始手段と、
前記アドレス記憶手段にアクセスして前記アドレス情報を取得し、前記不揮発性メモリに接続されたCPUから前記読み出し要求を受けると、前記不揮発性メモリから当該CPUが実行すべき起動プログラムを前記アドレス情報に基づいて選択的に読み出す起動プログラム選択手段と、
前記第1のCPUの起動処理の終了を検出する検出手段と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出手段が前記第1のCPUの起動処理の終了を検出することなく前記経過時間が前記所定時間を経過したかを判定する時間判定手段と
を備え、
前記第1のCPUが前記第1の起動プログラムによる起動処理を開始した後、
前記時間判定手段が前記所定時間を経過したと判定する前に、前記検出手段が前記起動処理の終了を検出した場合、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記起動開始手段は前記第2のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第2のCPUからの読み出し要求に応じて前記第2の起動プログラムを読み出し、
前記時間判定手段が前記所定時間を経過したと判定した場合、前記起動開始手段は前記第1のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第1のCPUからの読み出し要求に応じて前記予備の起動プログラムを読み出し、その後、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記起動開始手段は前記第2のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第2のCPUからの読み出し要求に応じて前記第2の起動プログラムを読み出すことを特徴とする請求項6に記載の情報処理システム。
Address storage means for storing address information indicating the address of each startup program in the nonvolatile memory,
Each of the CPUs, when reading a startup program from the nonvolatile memory, sends a read request to the control means, and executes the startup program read from the nonvolatile memory by the control means in response to the read request,
The control means includes
CPU selection means for selectively connecting one of the first CPU and the second CPU to the nonvolatile memory;
Boot start means for instructing the first CPU or the second CPU to start boot processing;
When the address storage unit is accessed to acquire the address information and the read request is received from a CPU connected to the nonvolatile memory, a boot program to be executed by the CPU is stored in the address information from the nonvolatile memory. Starting program selection means for selectively reading based on,
Detecting means for detecting the end of the startup process of the first CPU;
The elapsed time from the start of the startup process of the first CPU is measured, and it is determined whether the elapsed time has passed the predetermined time without the detection means detecting the end of the startup process of the first CPU. And a time determination means for
After the first CPU starts the boot process by the first boot program,
If the detection means detects the end of the activation process before the time determination means determines that the predetermined time has elapsed, the CPU selection means determines the connection destination of the nonvolatile memory from the first CPU. Change to the second CPU, the activation start means instructs the second CPU to start the activation process, and the activation program selection means responds to the read request from the second CPU, the second CPU Read the startup program,
When the time determination unit determines that the predetermined time has elapsed, the activation start unit instructs the first CPU to start an activation process, and the activation program selection unit performs a read request from the first CPU. And the CPU selection unit changes the connection destination of the nonvolatile memory from the first CPU to the second CPU, and the activation start unit 7. The information processing system according to claim 6, wherein an instruction to start a boot process is instructed to the CPU, and the boot program selection unit reads the second boot program in response to a read request from the second CPU. .
前記不揮発性メモリにおける前記各起動プログラムのアドレスを示すアドレス情報を記憶するアドレス記憶手段を備え、
前記各CPUは、前記不揮発性メモリから起動プログラムを読み出す場合、前記制御手段に読み出し要求を送り、当該読み出し要求に応じて前記制御手段により前記不揮発性メモリから読み出された起動プログラムを実行し、
前記制御手段は、
前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択手段と、
前記第1のCPUまたは前記第2のCPUに起動処理の開始を指示する起動開始手段と、
前記アドレス記憶手段にアクセスして前記アドレス情報を取得し、前記不揮発性メモリに接続されたCPUから前記読み出し要求を受けると、前記不揮発性メモリから当該CPUが実行すべき起動プログラムを前記アドレス情報に基づいて選択的に読み出す起動プログラム選択手段と、
前記第1のCPUの起動処理の終了を検出する検出手段と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出手段が前記第1のCPUの起動処理の終了を検出することなく前記経過時間が前記所定時間を経過したかを判定する時間判定手段と
を備え、
前記第1のCPUが前記第1の起動プログラムによる起動処理を開始した後、
前記時間判定手段が前記所定時間を経過したと判定する前に、前記検出手段が前記起動処理の終了を検出した場合、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記起動開始手段は前記第2のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第2のCPUからの読み出し要求に応じて前記第2の起動プログラムを読み出し、
前記時間判定手段が前記所定時間を経過したと判定した場合、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更し、前記起動開始手段は前記第2のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第2のCPUからの読み出し要求に応じて前記第2の起動プログラムを読み出し、その後、前記CPU選択手段は前記不揮発性メモリの接続先を前記第1のCPUに変更し、前記起動開始手段は前記第1のCPUに起動処理の開始を指示し、前記起動プログラム選択手段は前記第1のCPUからの読み出し要求に応じて前記予備の起動プログラムを読み出すことを特徴とする請求項6に記載の情報処理システム。
Address storage means for storing address information indicating the address of each startup program in the nonvolatile memory,
Each of the CPUs, when reading a startup program from the nonvolatile memory, sends a read request to the control means, and executes the startup program read from the nonvolatile memory by the control means in response to the read request,
The control means includes
CPU selection means for selectively connecting one of the first CPU and the second CPU to the nonvolatile memory;
Boot start means for instructing the first CPU or the second CPU to start boot processing;
When the address storage unit is accessed to acquire the address information and the read request is received from a CPU connected to the nonvolatile memory, a boot program to be executed by the CPU is stored in the address information from the nonvolatile memory. Starting program selection means for selectively reading based on,
Detecting means for detecting the end of the startup process of the first CPU;
The elapsed time from the start of the startup process of the first CPU is measured, and it is determined whether the elapsed time has passed the predetermined time without the detection means detecting the end of the startup process of the first CPU. And a time determination means for
After the first CPU starts the boot process by the first boot program,
If the detection means detects the end of the activation process before the time determination means determines that the predetermined time has elapsed, the CPU selection means determines the connection destination of the nonvolatile memory from the first CPU. Change to the second CPU, the activation start means instructs the second CPU to start the activation process, and the activation program selection means responds to the read request from the second CPU, the second CPU Read the startup program,
When the time determination unit determines that the predetermined time has elapsed, the CPU selection unit changes the connection destination of the nonvolatile memory from the first CPU to the second CPU, and the activation start unit The second CPU is instructed to start the boot process, and the boot program selecting means reads the second boot program in response to a read request from the second CPU, and then the CPU selecting means is the nonvolatile memory. The connection destination of the memory is changed to the first CPU, the activation start unit instructs the first CPU to start the activation process, and the activation program selection unit responds to a read request from the first CPU. The information processing system according to claim 6, wherein the spare activation program is read out.
第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、
前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、
前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUと
を備える情報処理システムの制御装置であって、
前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択手段と、
前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出手段と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出手段が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定手段と
を備え、
前記CPU選択手段は、前記第1のCPUが前記起動処理を開始した後、前記検出手段が前記トリガを検出した場合、および前記時間判定手段が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする制御装置。
A non-volatile memory storing a first start program for starting the first system and a second start program for starting the second system;
A first CPU that performs a boot process for booting the first system by reading and executing the first boot program from the non-volatile memory;
A control device of an information processing system comprising: a second CPU that performs a boot process for booting the second system by reading and executing the second boot program from the nonvolatile memory;
CPU selection means for selectively connecting one of the first CPU and the second CPU to the non-volatile memory during the startup process of the first CPU and the second CPU;
Detection means for detecting a connection change trigger of the nonvolatile memory after the first CPU starts the startup process;
A time determination unit that measures an elapsed time from the start of the startup process of the first CPU and determines whether the elapsed time has passed a predetermined time without the detection unit detecting the trigger;
The CPU selection unit is configured to detect the non-volatile state when the detection unit detects the trigger after the first CPU starts the activation process, and when the time determination unit determines that the predetermined time has elapsed. A control device that changes the connection destination of the volatile memory from the first CPU to the second CPU.
第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、
前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、
前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUと
を備える情報処理システムの制御方法であって、
前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択工程と、
前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出工程と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出工程が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定工程と
を備え、
前記CPU選択工程は、前記第1のCPUが前記起動処理を開始した後、前記検出工程が前記トリガを検出した場合、および前記時間判定工程が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする制御方法。
A non-volatile memory storing a first start program for starting the first system and a second start program for starting the second system;
A first CPU that performs a boot process for booting the first system by reading and executing the first boot program from the non-volatile memory;
A control method of an information processing system comprising: a second CPU that performs a boot process for booting the second system by reading and executing the second boot program from the nonvolatile memory,
A CPU selection step of selectively connecting one of the first CPU and the second CPU to the non-volatile memory during a startup process of the first CPU and the second CPU;
A detecting step of detecting a connection change trigger of the nonvolatile memory after the first CPU starts the startup process;
A time determination step of measuring an elapsed time from the start of the startup process of the first CPU, and determining whether the elapsed time has passed a predetermined time without the detection step detecting the trigger,
The CPU selection step is performed when the detection step detects the trigger after the first CPU starts the activation process, and when the time determination step determines that the predetermined time has elapsed, A control method for changing a connection destination of a volatile memory from the first CPU to the second CPU.
第1のシステムを起動するための第1の起動プログラムおよび第2のシステムを起動するための第2の起動プログラムを記憶する不揮発性メモリと、
前記不揮発性メモリから前記第1の起動プログラムを読み出して実行することにより、前記第1のシステムを起動する起動処理を行う第1のCPUと、
前記不揮発性メモリから前記第2の起動プログラムを読み出して実行することにより、前記第2のシステムを起動する起動処理を行う第2のCPUと
を備える情報処理システムの制御プログラムであって、
前記第1のCPUおよび前記第2のCPUの起動処理時に、前記第1のCPUおよび前記第2のCPUの一方を選択的に前記不揮発性メモリに接続するCPU選択工程と、
前記第1のCPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出する検出工程と、
前記第1のCPUの起動処理の開始からの経過時間を計測し、前記検出工程が前記トリガを検出することなく前記経過時間が所定時間を経過したかを判定する時間判定工程と
をコンピュータに実行させ、
前記CPU選択工程は、前記第1のCPUが前記起動処理を開始した後、前記検出工程が前記トリガを検出した場合、および前記時間判定工程が前記所定時間を経過したと判定した場合、前記不揮発性メモリの接続先を前記第1のCPUから前記第2のCPUに変更することを特徴とする制御プログラム。
A non-volatile memory storing a first start program for starting the first system and a second start program for starting the second system;
A first CPU that performs a boot process for booting the first system by reading and executing the first boot program from the non-volatile memory;
A control program for an information processing system comprising: a second CPU that performs a boot process for booting the second system by reading and executing the second boot program from the nonvolatile memory;
A CPU selection step of selectively connecting one of the first CPU and the second CPU to the non-volatile memory during a startup process of the first CPU and the second CPU;
A detecting step of detecting a connection change trigger of the nonvolatile memory after the first CPU starts the startup process;
A time determination step of measuring an elapsed time from the start of the startup processing of the first CPU and determining whether the elapsed time has passed a predetermined time without detecting the trigger in the computer; Let
The CPU selection step is performed when the detection step detects the trigger after the first CPU starts the activation process, and when the time determination step determines that the predetermined time has elapsed, A control program for changing the connection destination of the volatile memory from the first CPU to the second CPU.
映像データを記録する記録システムを起動するための記録起動プログラムおよび記録された前記映像データを再生する再生システムを起動するための再生起動プログラムを記憶する不揮発性メモリと、A non-volatile memory for storing a recording start program for starting a recording system for recording video data and a playback start program for starting a playback system for reproducing the recorded video data;
前記不揮発性メモリから前記記録起動プログラムを読み出して実行することにより、前記記録システムを起動する起動処理を行う記録系CPUと、  A recording system CPU that performs a starting process for starting the recording system by reading and executing the recording start program from the nonvolatile memory;
前記不揮発性メモリから前記再生起動プログラムを読み出して実行することにより、前記再生システムを起動する起動処理を行う再生系CPUと、  A playback system CPU that performs a startup process to start up the playback system by reading and executing the playback startup program from the nonvolatile memory;
前記記録系CPUおよび前記再生系CPUの起動処理時に、前記記録系CPUおよび前記再生系CPUの一方を選択的に前記不揮発性メモリに接続する制御手段であって、前記記録系CPUが前記起動処理を開始した後、前記不揮発性メモリの接続変更のトリガを検出すると、前記不揮発性メモリの接続先を前記記録系CPUから前記再生系CPUに変更する制御手段と  Control means for selectively connecting one of the recording system CPU and the reproduction system CPU to the nonvolatile memory during the activation process of the recording system CPU and the reproduction system CPU, wherein the recording system CPU performs the activation process And a control means for changing the connection destination of the nonvolatile memory from the recording CPU to the reproduction CPU when a trigger for changing the connection of the nonvolatile memory is detected.
を備え、With
前記制御手段は、前記記録系CPUが前記起動処理を開始した後、前記トリガを検出することなく所定時間が経過したと判定した場合、前記不揮発性メモリの接続先を前記記録系CPUから前記再生系CPUに変更することを特徴とする監視レコーダシステム。  When the recording unit CPU determines that a predetermined time has passed without detecting the trigger after the recording system CPU has started the start-up process, the control unit determines the connection destination of the nonvolatile memory from the recording system CPU. A monitoring recorder system characterized by changing to a system CPU.
JP2013172031A 2013-08-22 2013-08-22 Information processing system, control device, control method, control program, and monitoring recorder system Active JP6045457B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013172031A JP6045457B2 (en) 2013-08-22 2013-08-22 Information processing system, control device, control method, control program, and monitoring recorder system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013172031A JP6045457B2 (en) 2013-08-22 2013-08-22 Information processing system, control device, control method, control program, and monitoring recorder system

Publications (3)

Publication Number Publication Date
JP2015041253A JP2015041253A (en) 2015-03-02
JP2015041253A5 JP2015041253A5 (en) 2016-03-03
JP6045457B2 true JP6045457B2 (en) 2016-12-14

Family

ID=52695377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013172031A Active JP6045457B2 (en) 2013-08-22 2013-08-22 Information processing system, control device, control method, control program, and monitoring recorder system

Country Status (1)

Country Link
JP (1) JP6045457B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6095850B2 (en) * 2014-03-31 2017-03-15 三菱電機株式会社 Video recording / reproducing apparatus, surveillance recorder, and surveillance system
JP7091929B2 (en) * 2018-08-14 2022-06-28 富士フイルムビジネスイノベーション株式会社 Relay system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2111237C (en) * 1991-06-26 2002-01-15 Barry Kennedy Multiprocessor distributed initialization and self-test system
JPH0736843A (en) * 1993-07-19 1995-02-07 Fujitsu Ltd Multiprocessor device
JPH0855097A (en) * 1994-08-09 1996-02-27 Toshiba Corp Data processing system and its memory access method
JP2008294579A (en) * 2007-05-22 2008-12-04 Sony Corp Video data processor
JP5021404B2 (en) * 2007-09-14 2012-09-05 株式会社リコー Electronic device, activation control method of electronic device, and image forming apparatus
JP2012190132A (en) * 2011-03-09 2012-10-04 Fuji Xerox Co Ltd Information processing device
JP2013050863A (en) * 2011-08-31 2013-03-14 Seiko Epson Corp Processor, and method for starting processor

Also Published As

Publication number Publication date
JP2015041253A (en) 2015-03-02

Similar Documents

Publication Publication Date Title
US8117476B2 (en) Information processing apparatus, startup method and computer program
US7890671B2 (en) Program initiation control apparatus
JP2007213571A (en) Method for starting system using direct memory access in novel memory architecture
NL2011914A (en) Mobile device and method of managing data using swap thereof.
JP6045457B2 (en) Information processing system, control device, control method, control program, and monitoring recorder system
JP2010198252A (en) Non-volatile memory device, write-in method for nonvolatile memory, and nonvolatile memory write-in program
JP2018181281A (en) Storage system, control device and storage device
US10467020B2 (en) Memory device, and information-processing device
KR102584651B1 (en) Data processing
JP2008250718A (en) Storage device using nonvolatile cache memory and control method thereof
JP6515462B2 (en) INFORMATION PROCESSING DEVICE, SETTING METHOD FOR INFORMATION PROCESSING DEVICE, AND SETTING PROGRAM
JP2019053616A (en) Memory system
JP2007058499A (en) Information processor and data writing method
US8711240B2 (en) Data recording apparatus with recording control based on defect block and control method thereof
JP5523128B2 (en) Recording apparatus and control method thereof
US8285932B2 (en) Mass storage system with improved usage of buffer capacity
JP2015041253A5 (en) Information processing system, control device, control method, control program, and monitoring recorder system
JP2007094767A (en) Memory controller and memory control method
JP6095850B2 (en) Video recording / reproducing apparatus, surveillance recorder, and surveillance system
JP2014041407A (en) Information processing apparatus, start program, and start method
WO2016136014A1 (en) Monitoring recorder
JP5072092B2 (en) Recovery control device, control method, program, and computer-readable storage medium
US20100070680A1 (en) Memory management method during power-on self test
KR100290291B1 (en) Memory exclusive control device and method therefor
JP6627366B2 (en) Information processing system, information processing method and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160114

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161012

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161115

R150 Certificate of patent or registration of utility model

Ref document number: 6045457

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250