WO2016098408A1 - Information processing device and startup method - Google Patents

Information processing device and startup method Download PDF

Info

Publication number
WO2016098408A1
WO2016098408A1 PCT/JP2015/076112 JP2015076112W WO2016098408A1 WO 2016098408 A1 WO2016098408 A1 WO 2016098408A1 JP 2015076112 W JP2015076112 W JP 2015076112W WO 2016098408 A1 WO2016098408 A1 WO 2016098408A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
unit
activation
cpu
recording
Prior art date
Application number
PCT/JP2015/076112
Other languages
French (fr)
Japanese (ja)
Inventor
敬志 上村
丸山 清泰
正英 小池
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2016509187A priority Critical patent/JP5933875B1/en
Publication of WO2016098408A1 publication Critical patent/WO2016098408A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Definitions

  • the present invention relates to an information processing apparatus and an activation method, and more particularly, to an information processing apparatus including a plurality of processes and an activation method thereof.
  • a surveillance recorder which is a video recording / playback apparatus in a surveillance system includes a recording system for recording video data transmitted from a camera in a large-capacity memory and a playback system for playing back video data recorded in the large-capacity memory.
  • a recording system CPU Central Processing Unit
  • a playback system CPU that is a playback system processor
  • the present invention has been made to solve the above-described problem. Even when one processing unit fails to start the program, all the processing units are re-executed with compatible versions of the program.
  • the purpose is to enable activation.
  • An information processing apparatus includes a storage unit that stores a first program for performing a first process, and a second program of a version different from the first program, A first processing unit that activates the first program or the second program to perform the first process; and a program activation control unit that controls the activation process in the first processing unit,
  • the program activation control unit transmits a control signal for controlling activation processing in the first processing unit to the first processing unit, and a response signal based on the control signal is transmitted to the first processing unit.
  • the first processing unit is connected to the first processing unit by a second signal line received from the processing unit, and the first processing unit turns on or off the response signal to the program activation control unit. Special feature to make a response To.
  • a first program for performing a first process or a second program of a version different from the first program is activated by a first signal line. Then, a control signal for controlling the startup process of the first processing unit that performs the first process is transmitted from the program startup control unit to the first processing unit, and the control signal is transmitted through the second signal line. By turning on or off a response signal based on the above, the first processing unit responds to the program activation control unit.
  • FIG. 1 is a block diagram schematically showing a configuration of a surveillance recorder that is a video recording / reproducing apparatus according to Embodiment 1.
  • FIG. 4 is a schematic diagram illustrating an example of a program stored in a recording system program storage unit in Embodiment 1.
  • FIG. 3 is a schematic diagram showing an example of a program stored in a reproduction system program storage unit in Embodiment 1.
  • FIG. 3 is a block diagram schematically showing a configuration of a program activation control unit in the first embodiment. 4 is a flowchart showing a start control operation of a program start control unit in the first embodiment. 3 is a flowchart showing a start-up operation of a playback unit in the first embodiment.
  • FIG. 3 is a schematic diagram illustrating a connection example of a recording system CPU and a reproduction system CPU according to Embodiment 1.
  • FIG. 3 is a flowchart showing a start-up operation of a recording unit in the first embodiment.
  • (A) And (B) is a timing chart which shows an example of communication between the program starting control part in Embodiment 1, and reproduction
  • FIG. FIG. 10 is a block diagram schematically showing a configuration of a program activation control unit in the second embodiment.
  • FIG. 1 is a block diagram schematically showing a configuration of a monitoring recorder 110 that is an information processing apparatus according to the first embodiment.
  • a monitoring system 100 including a monitoring recorder 110 includes a plurality of cameras 150A, 150B, and 150C as monitoring cameras and a display device 160 as a video display device in addition to the monitoring recorder 110.
  • the surveillance camera includes a first camera 150A, a second camera 150B, and a third camera 150C, each of which is connected to the surveillance recorder 110.
  • the first camera 150A, the second camera 150B, and the third camera 150C are referred to as the camera 150 when it is not necessary to distinguish between them.
  • the camera 150 transmits video data obtained by photographing the monitoring target to the monitoring recorder 110.
  • the camera 150 may be installed at a location away from the monitoring recorder 110.
  • the monitoring recorder 110 functions as a video recording / reproducing device that receives and records video data transmitted from the camera 150.
  • the display device 160 is an output device connected to the monitoring recorder 110 and displays a recorded video based on the video data recorded on the monitoring recorder 110 or a current video based on video data generated by shooting by the camera 150.
  • the number of cameras 150 is three here, it goes without saying that the number is not limited to three. For example, it may be one, two, or four or more.
  • the connection between the camera 150 and the monitoring recorder 110 may be either a wired or wireless connection method as long as data can be exchanged, or a mixed connection method. Moreover, the connection via a network or another relay device may be used.
  • the monitoring recorder 110 includes a communication interface (I / F) unit 111, an output I / F unit 112, a connection I / F unit 113, and a recording system as a first system.
  • Unit 120 a playback unit 130 that is a playback system as the second system, a program activation control unit 140, and a notification unit 145.
  • the communication I / F unit 111 is an interface that performs communication with the camera 150.
  • the communication I / F unit 111 receives video data transmitted from the camera 150.
  • the output I / F unit 112 is an interface that performs communication with the display device 160.
  • the output I / F unit 112 outputs reproduction data to the display device 160.
  • the connection I / F unit 113 is an interface for connecting the external storage device 170.
  • the recording unit 120 acquires video data from the camera 150 via the communication I / F unit 111 and performs recording.
  • the recording unit 120 includes a recording system program storage unit 121, a recording system work memory 122, an information storage unit 123, and a recording system CPU 124.
  • the recording system program storage unit 121 is a storage unit (memory) that stores a program to be executed when the power of the monitoring recorder 110 is turned on and the recording system CPU 124 starts a startup process.
  • the program executed by the recording CPU 124 is a boot loader, an OS, and a recording application.
  • the boot loader is a program that executes processing for starting the OS.
  • the boot loader specifies an OS to be executed, initializes a working memory, acquires a start log, and the like.
  • the boot loader has limited functions compared to the OS, and generally cannot process a plurality of processes in parallel.
  • the OS is basic software for managing the entire recording unit 120.
  • the recording system application program is, for example, a program that receives video data transmitted from the camera 150 and records it in the information storage unit 123.
  • the recording application program can start processing after the OS is started.
  • a plurality of the same application programs can be executed simultaneously, and a plurality of different application programs can be executed simultaneously.
  • the OS and the recording system application program are programs for the recording system CPU 124 to perform predetermined processing.
  • FIG. 2 is a schematic diagram illustrating an example of a program stored in the recording system program storage unit 121.
  • the recording system program storage unit 121 includes a recording system boot loader 121a, a recording system first OS 121b, a recording system first application program 121c, a recording system second OS 121d, and a recording system second application program 121e. .
  • the recording system OS and the recording system application program used in the recording unit 120 are updated in consideration of security and the like.
  • the program is updated by rewriting a recording system OS and a recording system application program different from the recording system OS and the recording system application program being executed.
  • the recording system CPU 124 executes the recording system first OS 121b and the recording system first application program 121c
  • the recording system second OS 121d and the recording system second application program 121e are rewritten with new programs.
  • the recording system first OS 121b and the recording system first application program 121c are programs of an older version of the recording system second OS 121d and the recording system second application program 121e.
  • the old version of the program has already been processed, and is a program that can be stably executed and is compatible with the playback unit 130 described later. Therefore, at the time of activation, the recording system CPU 124 is activated by the previously activated recording system first OS 121b and the recording system first application program 121c, or by the newly updated recording system second OS 121d and recording system second application program 121e. You will choose to do it.
  • the recording system first OS 121b and the recording system first application program 121c may be referred to as a recording system first program
  • the recording system second OS 121d and the recording system second application program 121e may be referred to as a recording system second program.
  • the program is updated by connecting the external storage device 170 to the monitoring recorder 110 and reading the data.
  • the external storage device 170 may be a storage medium such as a USB memory, or may be an information processing device connected to a network.
  • the camera 150 can perform power-on control from the monitoring recorder 110, and starts activation by a control signal transmitted from the recording unit 120 during the activation process after power-on of the monitoring recorder 110.
  • the recording system work memory 122 is a memory used by the recording system CPU 124 as a work area.
  • the recording work memory 122 is, for example, a RAM (Random Access Memory).
  • the recording CPU 124 reads the OS or application program from the recording work memory 122 and executes it, and controls the operation of the recording unit 120.
  • the information storage unit 123 is an information storage unit that records video data of video captured by the camera 150.
  • the information storage unit 123 is configured by a storage medium such as a flash memory or an HDD (Hard Disk Drive), for example. Note that the information storage unit 123 may be configured independently by being separated from the outside of the recording unit 120 or the outside of the monitoring recorder 110. The information storage unit 123 may be configured to be detachable from the monitoring recorder 110.
  • the recording system CPU 124 is a recording system processing unit that activates the recording system first program or the recording system second program stored in the recording system program storage unit 121 and controls processing in the recording unit 120.
  • the recording system CPU 124 sequentially executes the activation process according to the instruction.
  • the recording system CPU 124 has a function of controlling the activation of the camera 150, for example, in addition to its own activation process.
  • the recording system CPU 124 has a function of outputting not only its own activation status but also information indicating the activation status of what the recording system CPU 124 performs activation control to, for example, the program activation control unit 140 or the information storage unit 123. Further, when the monitoring recorder 110 is powered on, the recording system CPU 124 reads out an OS or an application program from the recording system program storage unit 121 to the recording system work memory 122 and executes it, thereby controlling the activation operation of the recording unit 120. .
  • the playback unit 130 Based on the video data recorded in the information storage unit 123 in the recording unit 120, the playback unit 130 generates playback data that plays back the video, sends the playback data to the display device 160, and the video based on the video data. Is displayed on the display device 160.
  • the playback unit 130 can also display the video based on the video data captured by the camera 150 on the display device 160 in real time.
  • the playback unit 130 includes a playback system program storage unit 131, a playback system work memory 132, and a playback system CPU 133.
  • the reproduction system program storage unit 131 is a storage unit (memory) that stores a program to be executed when the monitoring recorder 110 is turned on and the reproduction system CPU 133 starts a startup process.
  • the program executed by the reproduction system CPU 133 is a boot loader, an OS, and a reproduction system application.
  • the boot loader is a program that executes processing for starting the OS.
  • the OS is basic software for managing the entire playback unit 130.
  • the reproduction system application program is a program that, for example, reads a plurality of video data recorded in the information storage unit 123 and displays a plurality of videos side by side on the display device 160 based on the plurality of read video data.
  • the playback application program can start processing after the OS is started. Moreover, after the OS is started, a plurality of the same application programs can be executed simultaneously, and a plurality of different application programs can be executed simultaneously.
  • FIG. 3 is a schematic diagram illustrating an example of a program stored in the reproduction system program storage unit 131.
  • the playback system program storage unit 131 includes a playback system boot loader 131a, a playback system first OS 131b, a playback system first application program 131c, a playback system second OS 131d, and a playback system second application program 131e. .
  • the playback system OS and playback system application program used by the playback unit 130 are updated in consideration of security and the like.
  • the program is updated by rewriting a playback system OS and playback system application program different from the playback system OS and playback system application program being executed.
  • the playback system CPU 133 executes the playback system first OS 131b and the playback system first application program 131c
  • the playback system second OS 131d and the playback system second application program 131e are rewritten with new programs.
  • the reproduction-system first OS 131b and the reproduction-system first application program 131c are older versions of the reproduction-system second OS 131d and the reproduction-system second application program 131e.
  • the old version of the program is a program that has already been processed and is compatible with the recording unit 120 and can be stably executed. Therefore, the playback system CPU 133 is started up by the previously started playback system first OS 131b and playback system first application program 131c, or by newly updated playback system second OS 131d and playback system second application program 131e. You will choose to do it.
  • the playback system first OS 131b and the playback system first application program 131c may be referred to as playback system first programs
  • the playback system second OS 131d and playback system second application programs 131e may be referred to as playback system second programs.
  • Program update is performed by connecting the external storage device 170 to the monitoring recorder 110 and reading the data.
  • the external storage device 170 may be a storage medium such as a USB memory, or may be an information processing device connected to a network.
  • the reproduction system work memory 132 is a memory used by the reproduction system CPU 133 as a work area.
  • the reproduction work memory 132 is, for example, a RAM.
  • the reproduction system CPU 133 reads the OS or application program from the reproduction system work memory 132 and executes it, and controls the activation operation of the reproduction unit 130.
  • the reproduction system CPU 133 is a reproduction system processing unit that activates the reproduction system first program or the reproduction system second program stored in the reproduction system program storage unit 131 and controls processing in the reproduction unit 130.
  • the playback system CPU 133 sequentially executes the start processing according to the command.
  • the program activation control unit 140 controls the activation process in the monitoring recorder 110, in other words, the activation process in the recording system CPU 124 and the reproduction system CPU 133. For example, when the monitoring recorder 110 is turned on, the program activation control unit 140 checks the activation status of the recording system CPU 124 and the reproduction system CPU 133. Then, the program activation control unit 140 issues an activation process start command to each.
  • the program activation control unit 140 has in advance a CPU activation information table as information on activation operations of the recording CPU 124 and the reproduction CPU 133, for example, activation information in which the order of activation processing is described. Referring to, the activation status is confirmed so that the activation operation proceeds correctly in that order, and an activation processing command is issued.
  • the recording system CPU 124 and the playback system CPU 133 also have a CPU activation information table in which information on their own activation operations, for example, the order of activation processing is described, and these contents are the CPUs that the program activation control unit 140 has. Same as the contents of the startup information table.
  • the program activation control unit 140 measures an elapsed time after the recording system CPU 124 and the reproduction system CPU 133 notify the activation status, and a predetermined time elapses until the next activation status is notified. In this case, a reset signal for restarting the recording system CPU 124 and the reproduction system CPU 133 is output. Further, when the monitoring recorder 110 is restarted, the program start control unit 140 adjusts the version of the program that the recording system CPU 124 and the playback system CPU 133 restart. When the recording system CPU 124 fails to start the recording system second program that is the latest version, or the playback system CPU 133 fails to start the playback system second program that is the latest version. In this case, the recording system CPU 124 restarts the old version of the recording system first program, and the playback system CPU 133 restarts the old version of the playback system first program.
  • FIG. 4 is a block diagram schematically showing the configuration of the program activation control unit 140.
  • the program activation control unit 140 includes a version control unit 141, a version storage unit 142, a time measurement unit 143, and a restart control unit 144.
  • the recording system CPU 124, the playback system CPU 133, and the program activation control unit 140 are connected by signal lines L11 to L20.
  • the version control unit 141 notifies the start of the next process in the startup process by a control signal according to the startup status of the recording system CPU 124 and the playback system CPU 133 and the measurement time by the time measurement unit 143.
  • the version storage unit 142 notifies the recording system CPU 124 and the playback system CPU 133 of the OS and application program to be started. That is, the version information indicating which of the OS and the application program stored in the recording system program storage unit 121 and the playback system program storage unit 131 is used is notified.
  • the time measuring unit 143 measures the time after the version control unit 141 outputs the start start notification to the recording system CPU 124 or the reproduction system CPU 133. When the predetermined time is exceeded, the version control unit 141 is notified of that. For example, the time measuring unit 143 determines whether or not a predetermined time has elapsed based on response signals from the recording system CPU 124 and the reproduction system CPU 133.
  • the restart control unit 144 outputs a reset signal to the recording system CPU 124 and the playback system CPU 133 when the startup process of either the recording system CPU 124 or the playback system CPU 133 is not normally completed, and performs the restart process. Let it run.
  • the recording CPU 124 is connected to a version control unit 141, a version storage unit 142, a time measurement unit 143, and a restart control unit 144.
  • the recording system CPU 124, the version control unit 141, the version storage unit 142, and the time measurement unit 143 may be connected by separate signal lines or may be connected by a common signal line. .
  • the reproduction system CPU 133 is connected to the version control unit 141, the time measurement unit 143, and the restart control unit 144.
  • the reproduction system CPU 133 may be connected to the version control unit 141 and the time measurement unit 143 through separate signal lines, or may be connected through a common signal line.
  • the recording system CPU 124 and the reproduction system CPU 133 are connected so that information can be notified from the recording system CPU 124.
  • the notification unit 145 includes, for example, an LED (Light Emitting Diode) and notifies that a start-up error has occurred due to the lighting thereof.
  • LED Light Emitting Diode
  • FIG. 5 is a flowchart showing a start control operation of the program start control unit 140 of the monitoring recorder 110 according to the first embodiment.
  • the version control unit 141 of the program activation control unit 140 issues a boot loader activation start command to the recording system CPU 124 and the reproduction system CPU 133 (S10).
  • the time measurement unit 143 of the program activation control unit 140 starts time measurement.
  • the time measuring unit 143 determines whether or not the recording system CPU 124 has completed the boot loader activation within a predetermined time (S11). For example, the time measuring unit 143 makes this determination based on whether or not a boot loader start notification is received from the recording system CPU 124 within a predetermined time. If a notification of completion of boot loader activation is not received from the recording CPU 124 even after a predetermined time has elapsed (No in S11), the process proceeds to step S12. If a notification of boot loader activation completion is received from the recording system CPU 124 within a predetermined time (Yes in S11), the process proceeds to step S14.
  • step S12 the time measuring unit 143 determines whether or not the playback CPU 133 has completed booting of the boot loader within a predetermined time after issuing the boot loader starting start command in step S10. For example, the time measuring unit 143 makes this determination based on whether or not a boot loader activation completion notification has been received from the playback CPU 133 within a predetermined time. If the notification of completion of boot loader activation is not received from the reproduction system CPU 133 even after a predetermined time has elapsed (No in S12), the process proceeds to step S13. If a notification of completion of boot loader activation is received from the playback system CPU 133 within a predetermined time (Yes in S12), the process proceeds to step S21. In step S ⁇ b> 13, the time measurement unit 143 causes the notification unit 145 to notify the outside as an error process at startup.
  • step S14 the version storage unit 142 determines whether the recording system CPU 124 is activated by the recording system first program or the recording system second program, and the playback system CPU 133 determines that the recording system CPU 124 is the playback system first.
  • the version of the program to be started is designated by notifying version information indicating whether to start with the program or the reproduction system second program.
  • the recording system CPU 124 notifies the playback system CPU 133 of version information indicating which of the playback system first program and the playback system second program is activated.
  • the time measurement unit 143 After designating the program to be activated in step S14, the time measurement unit 143 confirms the activation failure of the reproduction system CPU 133 after the completion of activation of the boot loader of the reproduction system CPU 133 or after a certain period of time has elapsed from the start of activation.
  • the unit 141 issues a start command for starting the recording OS and the recording application program (hereinafter also referred to as a recording program) (S15). When such a command is issued, the time measurement unit 143 starts time measurement.
  • step S15 whether or not the time measurement unit 143 has completed the start of the predetermined application program within the predetermined time since the time start unit 143 has issued the start instruction for starting the recording system program in step S15. Is determined (S16). For example, the time measuring unit 143 makes this determination based on whether or not a notification that a predetermined application program has started up is received from the recording system CPU 124 within a predetermined time. If the recording system CPU 124 receives a notification that a predetermined application program has started up within a predetermined time (Yes in S16), the process proceeds to step S17.
  • the recording system CPU 124 has not received a notification that the predetermined application program has started up within a predetermined time (No in S16)
  • the process proceeds to step S21.
  • the predetermined application program is an application for acquiring the activation log of the reproduction system CPU 133.
  • step S17 the version control unit 141 issues a start command for starting the playback system OS and application program (hereinafter also referred to as a playback system program) to the playback system CPU 133.
  • a playback system program application program
  • the time measurement unit 143 starts time measurement.
  • the time measuring unit 143 determines whether or not the recording system CPU 124 has started the recording system program within a predetermined time after issuing the recording system program start start command in step S15. (S18). For example, the time measuring unit 143 makes this determination based on whether or not the recording system CPU 124 has received a notification that the recording system program has started up within a predetermined time.
  • the recording system CPU 124 receives a notification that the recording system program has started up within a predetermined time (Yes in S18)
  • the process proceeds to step S19.
  • the recording system CPU 124 has not received a notification that the recording system program has started within a predetermined time (No in S18)
  • the process proceeds to step S22.
  • the time measuring unit 143 determines whether or not the reproduction system CPU 133 has completed the activation of the reproduction system program within a predetermined time after issuing the reproduction system program activation start command in step S17 ( S19). For example, the time measuring unit 143 makes this determination based on whether or not the reproduction system CPU 133 has received a notification that the reproduction system program has started up within a predetermined time. If the playback system CPU 133 receives a notification that the playback system program has been started up within a predetermined time (Yes in S19), the monitoring recorder 110 has been successfully started up, and the process ends. To do. On the other hand, if the playback system CPU 133 has not received a notification that the playback system program has started within a predetermined time (No in S19), the process proceeds to step S20.
  • step S20 the version control unit 141 notifies the recording system CPU 124 that the playback system program is not operating normally in the playback system CPU 133.
  • the recording CPU 124 executes a startup error process.
  • the recording system CPU 124 moves the activation log of the reproduction system CPU 133 from the recording system work memory 122 to the recording system program storage unit 121 or the information storage unit 123 or instructs the program activation control unit 140 to notify the notification unit 145 of an error.
  • the version control unit 141 changes the description in the version storage unit 142 so that the recording CPU 124 and the reproduction system CPU 133 are started by another version of the program at the next startup.
  • the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110.
  • the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
  • step S21 the version control unit 141 issues a reproduction system program forced start start command to the reproduction system CPU 133. It should be noted that whether or not it is a forced activation start command may be recognized by the version control unit 141, and a normal reproduction system program activation start command is output to the reproduction system CPU 133. When such a command is issued, the time measurement unit 143 starts time measurement. Then, the process proceeds to step S22.
  • step S22 the time measurement unit 143 determines whether or not the reproduction system CPU 133 has completed the activation of the reproduction system program within a predetermined time after issuing the reproduction system program activation start command in step S21 or S17. Judging. For example, the time measuring unit 143 makes this determination based on whether or not the reproduction system CPU 133 has received a notification that the reproduction system program has started up within a predetermined time. If the reproduction system CPU 133 receives a notification that the reproduction system program has started up within a predetermined time (Yes in S22), the process proceeds to step S23, and the reproduction system CPU 133 within the predetermined time. If the notification that the playback system program has started up is not received (No in S22), the process proceeds to step S24.
  • step S23 the version control unit 141 notifies the reproduction system CPU 133 that has started normally that the activation of the recording system CPU 124 has not been completed. Receiving such notification, the playback CPU 133 executes error processing. For example, the reproduction system CPU 133 moves the activation log of the recording system CPU 124 from the reproduction system work memory 132 to the reproduction system program storage unit 131 or instructs the program activation control unit 140 to notify the notification unit 145 of the occurrence of an error. Process. Also, the version control unit 141 changes the description in the version storage unit 142 so that the recording system CPU 124 and the playback system CPU 133 are started with a different version program at the next startup. Then, the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110. Upon receiving such an instruction, the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
  • step S24 the time measuring unit 143 recognizes the occurrence of an error in both the recording system CPU 124 and the reproduction system CPU 133. For this reason, the version control unit 141 changes the description in the version storage unit 142 so that the recording system CPU 124 and the reproduction system CPU 133 are activated by a different version program at the next activation. Then, the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110. Upon receiving such an instruction, the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
  • FIG. 6 is a flowchart showing the starting operation of the playback unit 130 of the monitoring recorder 110 according to the first embodiment.
  • the version control unit 141 of the program activation control unit 140 issues a boot loader activation start command to the reproduction system CPU 133
  • the reproduction system CPU 133 performs processing written in the reproduction system boot loader stored in the reproduction system program storage unit 131. Is executed (S30).
  • the reproduction system CPU 133 When the reproduction system boot loader has been activated, the reproduction system CPU 133 notifies the time measurement unit 143 of the program activation control unit 140 of the completion of activation of the boot loader (S31).
  • the reproduction system CPU 133 can perform arbitrary processing after the boot loader is activated until the recording system OS and a predetermined application are activated in the recording system CPU 124 (S32).
  • the arbitrary processing is acquisition of a start log of the recording system CPU 124.
  • the recording CPU 124 cannot acquire its own startup log while executing the OS startup process.
  • the activation log is necessary for debugging when the CPU does not operate normally. If the activation log cannot be acquired, the cost for debugging increases.
  • the arbitrary processing includes, for example, initialization of peripheral devices. When the display device 160 in FIG. 1 needs to be initialized before the image is output, the time from power-on to the image output can be shortened by performing initialization with the boot loader.
  • the playback system CPU 133 displays version information indicating which of the playback system first program and the playback system second program is started from the recording system CPU 124. Obtain (S34). Then, the reproduction system CPU 133 activates the reproduction system program indicated by the acquired version information (S35).
  • the program activation control unit 140 may notify the activation start of the reproduction system program in step S33.
  • the signal line L20 for notifying the version of the program from the recording system CPU 124 to the reproduction system CPU 133 is configured as shown in FIG. 7, and the signal on the signal line L20 is Low or High.
  • the reproduction system CPU 133 can grasp which version should be activated. In this case, since the recording system CPU 124 is not operating, the reproduction system CPU 133 cannot correctly read the version of the program notified from the program activation control unit 140 to the recording system CPU 124. However, in such a case, the reproduction system CPU 133 is urgently activated, and there is no problem regardless of which version is activated from the viewpoint of causing the reproduction system CPU 133 to perform error processing.
  • the reproduction system CPU 133 upon completion of the activation of the reproduction system OS and the reproduction system application program, notifies the time measurement unit 143 of the completion of activation (S36).
  • the reproduction system CPU 133 determines whether or not the activation notification of the recording system OS and the recording system application program has been received from the version control unit 141 (S37). If such a notification is received (Yes in S37), the monitoring recorder 110 completes its startup normally and ends the process. If such a notification has not been received (No in S37), the process proceeds to step S38.
  • step S38 the reproduction system CPU 133 executes error processing when the activation of the recording system CPU 124 is not normally completed, and waits until the restart process is performed by the program activation control unit 140.
  • the case where the recording-system OS and the recording-system application program start completion notification is not received includes the case where the recording-system CPU 124 has not completed the boot loader startup.
  • FIG. 8 is a flowchart showing the starting operation of the recording unit 120 of the monitoring recorder 110 according to the first embodiment.
  • the version control unit 141 of the program start control unit 140 issues a boot loader start start command to the recording system CPU 124
  • the recording system CPU 124 performs processing written in the recording system boot loader stored in the recording system program storage unit 121. Is executed (S40).
  • the recording system CPU 124 When the activation of the recording system boot loader is completed, the recording system CPU 124 notifies the time measurement unit 143 of the program activation control unit 140 of the completion of activation of the boot loader (S41).
  • the recording system CPU 124 acquires the version of the program to be activated from the version control unit 141 (S42), and starts activation of the recording system program (S43).
  • the recording system CPU 124 notifies the playback system CPU 133 of the version of the program to be activated acquired from the version control unit 141 (S44).
  • the version notified to the reproduction system CPU 133 may be the same as that of the recording system CPU 124 or may be set so that a different version can be designated from the version control unit 141.
  • the recording CPU 124 When the activation of the recording system OS and the predetermined application program is completed, the recording CPU 124 notifies the time measuring unit 143 to that effect (S45). Then, the recording system CPU 124 executes an arbitrary process by executing the activated application program (S46). For example, the recording CPU 124 performs processing such as acquisition of a start log of the reproduction CPU 133.
  • the recording system CPU 124 notifies the time measuring unit 143 of the completion of the activation of the recording system program (S47).
  • the recording system CPU 124 determines whether or not the start notification of the playback system OS and the playback system application program has been received from the version control unit 141 (S48). When such a notification is received (Yes in S48), the monitoring recorder 110 has been normally activated and ends. If such a notification has not been received (No in S48), the process proceeds to step S49.
  • step S49 the recording system CPU 124 executes an error process when the playback system CPU 133 has not been activated normally, and waits until the program activation control unit 140 performs a restart process.
  • FIGS. 9A and 9B are timing charts showing an example of communication between the program activation control unit 140 and the reproduction system CPU 133.
  • the program activation control unit 140 performs activation control of the reproduction system CPU 133, the signal line L 16 connecting the version control unit 141 and the reproduction system CPU 133 shown in FIG. 4, the time measurement unit 143, the reproduction system CPU 133, and Control is performed only with the two signal lines of the signal line L17 connecting the two.
  • the reproduction system OUT shown in FIG. 9A is a response signal that the reproduction system CPU 133 controls the signal and notifies the program activation control unit 140.
  • the time measurement unit 143 and the reproduction system shown in FIG. This is a signal of a signal line L17 connecting the CPU 133.
  • the playback system IN shown in FIG. 9B is a control signal that the program activation control unit 140 controls the signal and notifies the playback system CPU 133, and the version control unit 141 and the playback system shown in FIG. This is a signal of the signal line L16 connecting the
  • the version control unit 141 changes the signal of the reproduction system IN from Low (off) to High (on) as shown in FIG. Notify start-up. Receiving such a notification, the reproduction system CPU 133 changes the signal of the reproduction system OUT from Low to High as shown in FIG. 9A to indicate that the boot loader has actually started. The measurement unit 143 is notified. By receiving this notification, the time measuring unit 143 measures the time corresponding to the activation of the playback system boot loader.
  • the reproduction system CPU 133 When the activation of the boot loader is completed, the reproduction system CPU 133 notifies the time measurement unit 143 of the completion of activation of the boot loader by changing the signal of the reproduction system OUT from High to Low, as shown in FIG. 9A. . By receiving this notification, the time measuring unit 143 ends the time measurement from the boot loader activation. Here, the description will be continued on the assumption that the boot loader has been started within a predetermined time.
  • the version control unit 141 changes the signal of the reproduction system IN from High to Low as shown in FIG.
  • the playback system CPU 133 is notified of the start of the recording system program. Receiving such a notification, the reproduction system CPU 133 performs arbitrary processing, for example, acquisition of a start log of the recording system CPU 124.
  • the version control unit 141 reproduces by changing the signal of the playback system IN from Low to High, as shown in FIG. 9B.
  • the reproduction system CPU 133 is notified of the start of the system program.
  • the playback system CPU 133 starts the playback system program by measuring the start time of the playback system program by changing the signal of the playback system OUT from Low to High as shown in FIG. 9A. Notification to the unit 143. By receiving this notification, the time measuring unit 143 measures the time corresponding to the start of the reproduction system program.
  • the version control unit 141 reproduces that by changing the signal of the reproduction system IN from High to Low as shown in FIG. 9B.
  • the system CPU 133 is notified.
  • the reproduction system OUT signal is changed from High to Low, as shown in FIG. 9A, so that the time measurement unit 143 is notified. To do.
  • the program activation control unit 140 and the reproduction system CPU 133 can notify each other.
  • the time measuring unit 143 in the program activation control unit 140 measures the time from the start of activation, and can determine that the activation completion is not notified even if a predetermined time has elapsed.
  • the version control unit 141 and the time measurement unit 143 can determine the stage of the activation process by storing the number of times the signal rises and falls, for example, in the version storage unit 142 or the like.
  • notification operation is an example, and notification may be performed by other methods.
  • notification is performed using two signal lines, but the number of signal lines is not limited to two.
  • a communication unit having a signal such as a clock may be used for the notification method.
  • a remote delivery device having a function of delivering video data to a video output device at a remote location by wireless communication is connected to the playback unit 130, and the startup process of the remote delivery device is the startup operation of the monitoring recorder 110. May be included.
  • the monitoring recorder 110 collectively manages the versions of programs to be activated by the program activation control unit 140, a plurality of CPUs are activated by different incompatible versions of the programs after power-on. It is possible to avoid a situation where the system cannot operate normally.
  • the monitoring recorder 110 can restart the program started last time when one of the CPUs for which the startup program has been updated fails to complete the startup.
  • the program activation control unit 140 can store at which stage of activation the activation failed when any of the installed CPUs fails in the activation process and no response is received.
  • the communication between the program start control unit 140 and the reproduction system CPU 133 does not require a clock and a synchronization process, and only needs to be able to control GPIO (General Purpose I / O) and depends on the hardware interface. It can be implemented without.
  • GPIO General Purpose I / O
  • the program activation control unit 140 can cause the reproduction system CPU 133 to perform error processing even if the version information is not accurately notified to the reproduction system CPU 133. It can be activated in a safe state.
  • the program activation control unit 140 can grasp and control the activation stage with respect to one mounted CPU by using at least two signal lines, so that the number of parts of the monitoring recorder 110 can be reduced. It can be carried out.
  • FIG. 10 is a block diagram schematically showing the configuration of the monitoring recorder 210 which is the information processing apparatus according to the second embodiment.
  • a monitoring system 200 including a monitoring recorder 210 includes a plurality of cameras 150A, 150B, and 150C as monitoring cameras and a display device 160 as a video display device in addition to the monitoring recorder 110.
  • the monitoring recorder 210 includes a communication I / F unit 111, an output I / F unit 112, a connection I / F unit 113, a recording unit 220, a playback unit 230, and program activation control.
  • Unit 240 and a notification unit 145 The configuration of the monitoring recorder 210 according to the second embodiment is the same as that of the monitoring recorder 210 according to the first embodiment, except for the recording unit 220, the reproduction unit 230, and the program activation control unit 240.
  • the recording unit 220 includes a recording system program storage unit 121, a recording system work memory 122, an information storage unit 123, and a recording system CPU 224.
  • the configuration of the recording unit 220 in the second embodiment is the same as that of the recording unit 120 in the first embodiment except for the recording system CPU 224.
  • the playback unit 230 includes a playback system program storage unit 131, a playback system work memory 132, and a playback system CPU 233.
  • the configuration of the playback unit 230 in the second embodiment is the same as that of the playback unit 130 in the first embodiment except for the playback system CPU 233.
  • the recording system CPU 224 and the reproduction system CPU 233 are not directly connected.
  • FIG. 11 is a block diagram schematically showing the configuration of the program activation control unit 240 according to the second embodiment.
  • the program activation control unit 240 includes a version control unit 141, a version storage unit 242, a time measurement unit 143, and a restart control unit 144.
  • the recording system CPU 224, the reproduction system CPU 233, and the program activation control unit 240 are connected by signal lines L11 to L19 and a signal line L21.
  • the version storage unit 242 of the program activation control unit 240 in the second embodiment is connected to the reproduction system CPU 233 in addition to the recording system CPU 224.
  • the version storage unit 242 notifies the playback system CPU 233 of the version information of the program to be started in addition to the recording system CPU 224. Accordingly, the playback system CPU 233 acquires version information directly from the version storage unit 242 without acquiring version information of the program to be started from the recording system CPU 224. Further, the recording system CPU 224 does not have to perform a process of notifying the playback system CPU 233 of version information.
  • the version storage unit 242 specifies version information not only for the recording system CPU 224 but also for the playback system CPU 233.
  • the playback system CPU 233 does not need to refer to the version information from the version storage unit 242 at the moment when the version information is notified, and may refer to it when the playback system boot loader is started and the playback system program is started. Note that the version storage unit 242 needs to continue to notify the version information until the playback system CPU 233 starts to start the playback system program.
  • the reproduction system CPU 233 acquires version information from the version storage unit 242 in step S34. Furthermore, in the flowchart shown in FIG. 8, the recording system CPU 224 does not notify the version information of the activation program in step S44.
  • the reproduction system CPU 233 and the recording system CPU 224 may not be directly connected, and may not have an interface that can be connected to each other.
  • the program activation control unit 240 notifies the reproduction system CPU 233 of the forced activation of the reproduction system program (FIG. 5).
  • step S21 since the version of the activation program can be directly specified to the reproduction system CPU 233, the reproduction system CPU 233 can be activated by a program according to the purpose such as error processing.
  • the functions of the program activation control units 140 and 240 may be realized only by hardware resources such as an electronic circuit, or may be realized by cooperation of hardware resources and software resources. Good.
  • the functions of the program activation control units 140 and 240 are realized, for example, by a computer executing a corresponding computer program. More specifically, the functions of the program activation control units 140 and 240 are realized by calling a computer program stored in a storage medium such as a ROM to a main storage device such as a RAM and executing it by the CPU.
  • the computer program may be provided by being stored in a computer-readable storage medium such as an optical disk, or may be provided via a communication circuit such as the Internet.
  • the present invention is not limited to the above-described first and second embodiments, and can be changed to various modes within a range not departing from the gist of the present invention.
  • the apparatus to which the present invention can be applied is not limited to the monitoring recorder of the video recording / reproducing apparatus. If there is a predetermined order in the activation operation of the plurality of CPUs, and at least a device having a function capable of exchanging information between the plurality of CPUs by any method, other than the monitoring recorder Various types of video recording and playback devices, television receivers with recording and playback functions, personal computers, printers with video storage and printing functions, portable information terminals such as smartphones or tablet terminals, and game machines It can be applied to a device.
  • the present invention is not limited to the number of CPUs required for the configuration.
  • the first and second embodiments have been described with two CPUs, the present invention can be applied to the apparatus even when there are three CPUs, for example.
  • the signal lines necessary for connection between each CPU and the program start control units 140 and 240 are configured in six in the first embodiment and nine in the second embodiment. Is possible. The same configuration is possible even when there are four or more CPUs.
  • connection examples of the recording system CPUs 124 and 224, the playback system CPUs 133 and 233, and the program activation control units 140 and 240 shown in FIGS. 4 and 11 are one example, and are not limited to this example.
  • the recording system CPUs 124 and 224 and the reproduction system CPUs 133 and 233 may be connected in reverse to the program activation control units 140 and 240.
  • the reproduction system CPUs 133 and 233 are activated before the recording system CPUs 124 and 224, and the reproduction system CPUs 133 and 233 notify the recording system CPUs 124 and 224 of the version information.
  • the control as shown is performed between the recording CPUs 124 and 224 and the program activation control units 140 and 240.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention is provided with: a recording system program memory unit (121) which stores a first program for performing a first process and a second program which is of a different version than the first program; a recording system CPU (124) which starts up the first program or the second program and performs the first process; and a program startup control unit (140) which controls startup processing in the recording system CPU (124). The program startup control unit (140) is connected to the recording system CPU (124) by a first signal line which sends a control signal and a second signal line which sends a response signal to the control signal. The recording system CPU (124) responds to the program startup control unit (140) by turning the response signal ON or OFF on the second signal line.

Description

情報処理装置及び起動方法Information processing apparatus and activation method
 本発明は、情報処理装置及び起動方法に関し、特に、複数の処理を備える情報処理装置及びその起動方法に関する。 The present invention relates to an information processing apparatus and an activation method, and more particularly, to an information processing apparatus including a plurality of processes and an activation method thereof.
 一般に、監視システムにおける映像記録再生装置である監視レコーダは、カメラから送信される映像データを大容量メモリに記録する記録系と、大容量メモリに記録された映像データを再生する再生系とを備える。 In general, a surveillance recorder which is a video recording / playback apparatus in a surveillance system includes a recording system for recording video data transmitted from a camera in a large-capacity memory and a playback system for playing back video data recorded in the large-capacity memory. .
 特に、監視レコーダは、カメラから送信される映像データを記録し続けることが重要である。このため記録系のプロセッサである記録系CPU(Central Processing Unit)と再生系のプロセッサである再生系CPUとを別個独立して備えることで、再生系CPUからの影響を受けることなく記録系CPUを動作させ続けることができる。 Especially, it is important for the surveillance recorder to keep recording video data transmitted from the camera. For this reason, a recording system CPU (Central Processing Unit) that is a recording system processor and a playback system CPU that is a playback system processor are provided separately and independently so that the recording system CPU is not affected by the playback system CPU. Can continue to operate.
 監視レコーダでは、時々刻々と変化するセキュリティの脅威に対応するためにプログラムの更新をする必要がある。一方、記録系CPUと再生系CPUとで映像データのやり取りを行うために、記録系CPU及び再生系CPUで動作するプログラムは対応付けられたものである必要がある。 In the surveillance recorder, it is necessary to update the program in order to respond to security threats that change from moment to moment. On the other hand, in order to exchange video data between the recording system CPU and the reproduction system CPU, the programs operating on the recording system CPU and the reproduction system CPU need to be associated with each other.
 プログラムの更新処理が行われた際に、プログラムが正しく更新されず、新しいプログラムに破損があった場合、又は、各CPUに対して新しく更新されたプログラム同士のバージョンが異なっている場合等、その新しいプログラムで起動すると互いにデータのやり取りができず、正常に監視レコーダとして動作できないことがある。そのため、更新される前の古いプログラムを保存し、起動できなかった場合には古いプログラムを使って再起動する方法がある。 When a program update process is performed, if the program is not updated correctly and the new program is damaged, or if the versions of the newly updated programs for each CPU are different, etc. When started with a new program, data may not be exchanged with each other and may not operate normally as a monitoring recorder. Therefore, there is a method of saving the old program before being updated and restarting using the old program when the program cannot be started.
 例えば、特許文献1に記載されたマルチCPUシステムでは、起動時に複数のCPUが自己のプログラムバージョンを他方のCPUに通知して、異なっていると判断すると、新しいプログラムで起動していたCPUが古いプログラムに切り替えて再起動する。 For example, in the multi-CPU system described in Patent Document 1, when a plurality of CPUs notify the other CPU of their own program version at the time of startup and determine that they are different, the CPU started up with a new program is old. Switch to the program and restart.
特開2003-16047号公報JP 2003-16047 A
 しかしながら、特許文献1に記載されたマルチCPUシステムにおいては、プログラムのバージョンを確認するために、まず、自己のバージョンをメモリから読み出して特定の通信プロトコルに従って送信し、他方のCPUから送信されたバージョンを受信して、比較を行わなければならない。起動時にこのような処理を行うためには、起動プログラム又はOS(Operating System)が正常に起動する必要がある。起動プログラム又はOSの起動時にエラーが発生した場合には、CPUは他方のCPUのプログラムバージョンを確認できず、再起動してもどちらか一方のバージョンに合わせることができない。 However, in the multi-CPU system described in Patent Document 1, in order to confirm the version of the program, first, the self version is read from the memory and transmitted according to a specific communication protocol, and the version transmitted from the other CPU Must be received and compared. In order to perform such processing at the time of startup, a startup program or an OS (Operating System) needs to be normally started. If an error occurs during startup of the startup program or the OS, the CPU cannot check the program version of the other CPU, and cannot be adjusted to either version even after restarting.
 そこで、本発明は、上記の課題を解決するためになされたものであり、一方の処理部がプログラムの起動に失敗した場合でも、全ての処理部が互いに互換性を持ったバージョンのプログラムで再起動を行うことができるようにすることを目的とするものである。 Therefore, the present invention has been made to solve the above-described problem. Even when one processing unit fails to start the program, all the processing units are re-executed with compatible versions of the program. The purpose is to enable activation.
 本発明の一態様に係る情報処理装置は、第1の処理を行うための第1のプログラム、及び、当該第1のプログラムと別のバージョンの第2のプログラムを記憶する記億部と、前記第1のプログラム又は前記第2のプログラムを起動して、前記第1の処理を行う第1の処理部と、前記第1の処理部における起動処理を制御するプログラム起動制御部とを備え、前記プログラム起動制御部は、前記第1の処理部における起動処理を制御するための制御信号を前記第1の処理部に送信する第1の信号線と、当該制御信号に基づく応答信号を前記第1の処理部から受信する第2の信号線によって、前記第1の処理部と接続されており、前記第1の処理部は、前記応答信号をオン又はオフすることで、前記プログラム起動制御部に応答を行うことを特徴とする。 An information processing apparatus according to an aspect of the present invention includes a storage unit that stores a first program for performing a first process, and a second program of a version different from the first program, A first processing unit that activates the first program or the second program to perform the first process; and a program activation control unit that controls the activation process in the first processing unit, The program activation control unit transmits a control signal for controlling activation processing in the first processing unit to the first processing unit, and a response signal based on the control signal is transmitted to the first processing unit. The first processing unit is connected to the first processing unit by a second signal line received from the processing unit, and the first processing unit turns on or off the response signal to the program activation control unit. Special feature to make a response To.
 本発明の一態様に係る起動方法は、第1の信号線によって、第1の処理を行うための第1のプログラム、又は、当該第1のプログラムと別のバージョンの第2のプログラムを起動して、当該第1の処理を行う第1の処理部の起動処理を制御するための制御信号をプログラム起動制御部から前記第1の処理部に送信し、第2の信号線において、前記制御信号に基づく応答信号をオン又はオフすることで、前記第1の処理部から前記プログラム起動制御部に応答することを特徴とする。 According to an activation method of one embodiment of the present invention, a first program for performing a first process or a second program of a version different from the first program is activated by a first signal line. Then, a control signal for controlling the startup process of the first processing unit that performs the first process is transmitted from the program startup control unit to the first processing unit, and the control signal is transmitted through the second signal line. By turning on or off a response signal based on the above, the first processing unit responds to the program activation control unit.
 本発明の一態様によれば、一方の処理部がプログラムの起動に失敗した場合でも、全ての処理部が互いに互換性を持ったバージョンのプログラムで再起動を行うことができる。 According to one aspect of the present invention, even when one of the processing units fails to start the program, all the processing units can be restarted with a compatible version of the program.
実施の形態1に係る映像記録再生装置である監視レコーダの構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a surveillance recorder that is a video recording / reproducing apparatus according to Embodiment 1. FIG. 実施の形態1における記録系プログラム記憶部に記憶されているプログラムの一例を示す概略図である。4 is a schematic diagram illustrating an example of a program stored in a recording system program storage unit in Embodiment 1. FIG. 実施の形態1における再生系プログラム記憶部に記憶されているプログラムの一例を示す概略図である。3 is a schematic diagram showing an example of a program stored in a reproduction system program storage unit in Embodiment 1. FIG. 実施の形態1におけるプログラム起動制御部の構成を概略的に示すブロック図である。FIG. 3 is a block diagram schematically showing a configuration of a program activation control unit in the first embodiment. 実施の形態1におけるプログラム起動制御部の起動制御動作を示すフローチャートである。4 is a flowchart showing a start control operation of a program start control unit in the first embodiment. 実施の形態1における再生部の起動動作を示すフローチャートである。3 is a flowchart showing a start-up operation of a playback unit in the first embodiment. 実施の形態1における記録系CPU及び再生系CPUの接続例を示す概略図である。3 is a schematic diagram illustrating a connection example of a recording system CPU and a reproduction system CPU according to Embodiment 1. FIG. 実施の形態1における記録部の起動動作を示すフローチャートである。3 is a flowchart showing a start-up operation of a recording unit in the first embodiment. (A)及び(B)は、実施の形態1におけるプログラム起動制御部と再生系CPUとの間の通信の一例を示すタイミングチャートである。(A) And (B) is a timing chart which shows an example of communication between the program starting control part in Embodiment 1, and reproduction | regeneration system CPU. 実施の形態2に係る監視レコーダの構成を概略的に示すブロック図である。It is a block diagram which shows roughly the structure of the monitoring recorder which concerns on Embodiment 2. FIG. 実施の形態2におけるプログラム起動制御部の構成を概略的に示すブロック図である。FIG. 10 is a block diagram schematically showing a configuration of a program activation control unit in the second embodiment.
実施の形態1.
 次に、図面を用いて、実施の形態を説明する。図面において、同一又は類似の部分には、同一又は類似の符号を付している。但し、図面は模式的なものであり、各寸法の比率等は現実のものとは異なる。従って、具体的な寸法等は以下の説明を参酌して判断すべきものである。また、図面相互間においても互いの寸法の関係又は比率が異なる部分が含まれていることは勿論である。
Embodiment 1 FIG.
Next, embodiments will be described with reference to the drawings. In the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, the drawings are schematic and ratios of dimensions and the like are different from actual ones. Accordingly, specific dimensions and the like should be determined in consideration of the following description. Moreover, it is a matter of course that portions having different dimensional relationships or ratios are included between the drawings.
 図1は、実施の形態1に係る情報処理装置である監視レコーダ110の構成を概略的に示すブロック図である。図1において、監視レコーダ110を含む監視システム100は、監視レコーダ110以外に監視カメラとしての複数のカメラ150A、150B、150C及び映像表示装置としての表示装置160を含む。 FIG. 1 is a block diagram schematically showing a configuration of a monitoring recorder 110 that is an information processing apparatus according to the first embodiment. In FIG. 1, a monitoring system 100 including a monitoring recorder 110 includes a plurality of cameras 150A, 150B, and 150C as monitoring cameras and a display device 160 as a video display device in addition to the monitoring recorder 110.
 監視カメラは、第1カメラ150A、第2カメラ150B及び第3カメラ150Cからなり、それぞれが監視レコーダ110に接続されている。なお、第1カメラ150A、第2カメラ150B及び第3カメラ150Cの各々を特に区別する必要がない場合には、カメラ150という。カメラ150は、監視対象を撮影して得られた映像データを監視レコーダ110に送信する。カメラ150は、例えば、監視レコーダ110から離れた場所に設置されてもよい。 The surveillance camera includes a first camera 150A, a second camera 150B, and a third camera 150C, each of which is connected to the surveillance recorder 110. Note that the first camera 150A, the second camera 150B, and the third camera 150C are referred to as the camera 150 when it is not necessary to distinguish between them. The camera 150 transmits video data obtained by photographing the monitoring target to the monitoring recorder 110. For example, the camera 150 may be installed at a location away from the monitoring recorder 110.
 監視レコーダ110は、カメラ150から送信された映像データを受信し記録する映像記録再生装置として機能する。
 表示装置160は、監視レコーダ110に接続される出力装置であり、監視レコーダ110に記録された映像データに基づく記録映像、又は、カメラ150の撮影によって生成された映像データに基づく現在映像を表示する。なお、ここでカメラ150の台数を3台としたが、3台に限られないことはいうまでもない。例えば、1台、2台又は4台以上のいずれであってもよい。カメラ150と監視レコーダ110との接続は、データのやり取りが可能な接続であれば、有線及び無線の何れの接続方式でもよく、それらが混在した接続方式でもよい。また、ネットワーク又は他の中継装置を介した接続であってもよい。
The monitoring recorder 110 functions as a video recording / reproducing device that receives and records video data transmitted from the camera 150.
The display device 160 is an output device connected to the monitoring recorder 110 and displays a recorded video based on the video data recorded on the monitoring recorder 110 or a current video based on video data generated by shooting by the camera 150. . Although the number of cameras 150 is three here, it goes without saying that the number is not limited to three. For example, it may be one, two, or four or more. The connection between the camera 150 and the monitoring recorder 110 may be either a wired or wireless connection method as long as data can be exchanged, or a mixed connection method. Moreover, the connection via a network or another relay device may be used.
 図1に示されるように、監視レコーダ110は、通信I/F(InterFace)部111と、出力I/F部112と、接続I/F部113と、第1システムとしての記録系である記録部120と、第2システムとしての再生系である再生部130と、プログラム起動制御部140と、通知部145とを備える。 As shown in FIG. 1, the monitoring recorder 110 includes a communication interface (I / F) unit 111, an output I / F unit 112, a connection I / F unit 113, and a recording system as a first system. Unit 120, a playback unit 130 that is a playback system as the second system, a program activation control unit 140, and a notification unit 145.
 通信I/F部111は、カメラ150との間の通信を行うインタフェースである。例えば、通信I/F部111は、カメラ150から送信された映像データを受信する。
 出力I/F部112は、表示装置160との間の通信を行うインタフェースである。例えば、出力I/F部112は、表示装置160に再生データを出力する。
 接続I/F部113は、外部記憶装置170を接続するためのインタフェースである。
The communication I / F unit 111 is an interface that performs communication with the camera 150. For example, the communication I / F unit 111 receives video data transmitted from the camera 150.
The output I / F unit 112 is an interface that performs communication with the display device 160. For example, the output I / F unit 112 outputs reproduction data to the display device 160.
The connection I / F unit 113 is an interface for connecting the external storage device 170.
 記録部120は、通信I/F部111を介して、カメラ150から映像データを取得して、記録を行う。記録部120は、記録系プログラム記憶部121と、記録系ワークメモリ122と、情報格納部123と、記録系CPU124とを備える。 The recording unit 120 acquires video data from the camera 150 via the communication I / F unit 111 and performs recording. The recording unit 120 includes a recording system program storage unit 121, a recording system work memory 122, an information storage unit 123, and a recording system CPU 124.
 記録系プログラム記憶部121は、監視レコーダ110の電源が投入され記録系CPU124が起動処理を開始するときに実行するプログラムを記憶する記憶部(メモリ)である。実施の形態1では、記録系CPU124で実行されるプログラムは、ブートローダ、OS及び記録系アプリケーションであるものとして説明する。 The recording system program storage unit 121 is a storage unit (memory) that stores a program to be executed when the power of the monitoring recorder 110 is turned on and the recording system CPU 124 starts a startup process. In the first embodiment, it is assumed that the program executed by the recording CPU 124 is a boot loader, an OS, and a recording application.
 ブートローダは、OSを起動するための処理を実行するプログラムである。例えば、ブートローダは、実行するOSの指定、ワーキングメモリの初期化及び起動ログの取得等を行う。さらに、ブートローダは、OSに比べ機能が制限されており、一般的に複数の処理を並列的に処理することができない。
 OSは、記録部120の全体を管理するための基本ソフトである。
 記録系アプリケーションプログラムは、例えば、カメラ150から送信された映像データを受け取り、情報格納部123に記録する動作を行うプログラム等である。記録系アプリケーションプログラムは、OSの起動後に、処理を開始することができる。また、OSの起動後であれば、同じアプリケーションプログラムを複数同時に実行することができ、また、異なるアプリケーションプログラムを複数同時に実行することもできる。
 言い換えると、OS及び記録系アプリケーションプログラムは、記録系CPU124が予め定められた処理を行うためのプログラムである。
The boot loader is a program that executes processing for starting the OS. For example, the boot loader specifies an OS to be executed, initializes a working memory, acquires a start log, and the like. Furthermore, the boot loader has limited functions compared to the OS, and generally cannot process a plurality of processes in parallel.
The OS is basic software for managing the entire recording unit 120.
The recording system application program is, for example, a program that receives video data transmitted from the camera 150 and records it in the information storage unit 123. The recording application program can start processing after the OS is started. Moreover, after the OS is started, a plurality of the same application programs can be executed simultaneously, and a plurality of different application programs can be executed simultaneously.
In other words, the OS and the recording system application program are programs for the recording system CPU 124 to perform predetermined processing.
 図2は、記録系プログラム記憶部121に記憶されているプログラムの一例を示す概略図である。
 図示するように、記録系プログラム記憶部121は、記録系ブートローダ121aと、記録系第1OS121bと、記録系第1アプリケーションプログラム121cと、記録系第2OS121dと、記録系第2アプリケーションプログラム121eとを有する。
FIG. 2 is a schematic diagram illustrating an example of a program stored in the recording system program storage unit 121.
As shown, the recording system program storage unit 121 includes a recording system boot loader 121a, a recording system first OS 121b, a recording system first application program 121c, a recording system second OS 121d, and a recording system second application program 121e. .
 記録部120で使用する記録系OS及び記録系アプリケーションプログラムは、セキュリティ等を考慮して、更新される。
 プログラムの更新は、実行中の記録系OS及び記録系アプリケーションプログラムとは別の記録系OS及び記録系アプリケーションプログラムを書き換えることにより行われる。例えば、記録系CPU124が記録系第1OS121b及び記録系第1アプリケーションプログラム121cを実行している場合に、記録系第2OS121d及び記録系第2アプリケーションプログラム121eが新しいプログラムに書き換えられる。この場合、記録系第1OS121b及び記録系第1アプリケーションプログラム121cは、記録系第2OS121d及び記録系第2アプリケーションプログラム121eの古いバージョンのプログラムとなる。古いバージョンのプログラムは、既に処理が実行されており、後述する再生部130と互換性のとれた、安定して実行することのできるプログラムである。従って、記録系CPU124は、起動時に、前回起動した記録系第1OS121b及び記録系第1アプリケーションプログラム121cで起動するか、又は、新しく更新された記録系第2OS121d及び記録系第2アプリケーションプログラム121eで起動するかを選択することになる。
 以下では、記録系第1OS121b及び記録系第1アプリケーションプログラム121cを記録系第1プログラムといい、記録系第2OS121d及び記録系第2アプリケーションプログラム121eを記録系第2プログラムという場合もある。
The recording system OS and the recording system application program used in the recording unit 120 are updated in consideration of security and the like.
The program is updated by rewriting a recording system OS and a recording system application program different from the recording system OS and the recording system application program being executed. For example, when the recording system CPU 124 executes the recording system first OS 121b and the recording system first application program 121c, the recording system second OS 121d and the recording system second application program 121e are rewritten with new programs. In this case, the recording system first OS 121b and the recording system first application program 121c are programs of an older version of the recording system second OS 121d and the recording system second application program 121e. The old version of the program has already been processed, and is a program that can be stably executed and is compatible with the playback unit 130 described later. Therefore, at the time of activation, the recording system CPU 124 is activated by the previously activated recording system first OS 121b and the recording system first application program 121c, or by the newly updated recording system second OS 121d and recording system second application program 121e. You will choose to do it.
Hereinafter, the recording system first OS 121b and the recording system first application program 121c may be referred to as a recording system first program, and the recording system second OS 121d and the recording system second application program 121e may be referred to as a recording system second program.
 プログラムの更新は、監視レコーダ110に外部記憶装置170を接続し、データを読み出すことで行う。外部記憶装置170は、例えば、USBメモリのような記憶媒体であってもよいし、ネットワークに接続された情報処理装置であってもよい。 The program is updated by connecting the external storage device 170 to the monitoring recorder 110 and reading the data. The external storage device 170 may be a storage medium such as a USB memory, or may be an information processing device connected to a network.
 ここで、カメラ150は、監視レコーダ110から電源の投入制御を行うことが可能であり、監視レコーダ110の電源投入以降の起動処理中に記録部120から送信される制御信号によって起動を開始する。 Here, the camera 150 can perform power-on control from the monitoring recorder 110, and starts activation by a control signal transmitted from the recording unit 120 during the activation process after power-on of the monitoring recorder 110.
 図1に戻り、記録系ワークメモリ122は、記録系CPU124が作業領域として使用するメモリである。記録系ワークメモリ122は、例えば、RAM(Random Access Memory)である。記録系CPU124は、記録系ワークメモリ122にOS又はアプリケーションプログラム等を読み出して実行し、記録部120の動作を制御する。 Returning to FIG. 1, the recording system work memory 122 is a memory used by the recording system CPU 124 as a work area. The recording work memory 122 is, for example, a RAM (Random Access Memory). The recording CPU 124 reads the OS or application program from the recording work memory 122 and executes it, and controls the operation of the recording unit 120.
 情報格納部123は、カメラ150で撮影された映像の映像データを記録する情報記憶部である。情報格納部123は、例えば、フラッシュメモリ又はHDD(Hard Disk Drive)といった記憶媒体で構成される。なお、情報格納部123は、記録部120の外部、又は、監視レコーダ110の外部に切り離して独立に構成されてもよい。また、情報格納部123は、監視レコーダ110に、着脱可能に構成されてもよい。 The information storage unit 123 is an information storage unit that records video data of video captured by the camera 150. The information storage unit 123 is configured by a storage medium such as a flash memory or an HDD (Hard Disk Drive), for example. Note that the information storage unit 123 may be configured independently by being separated from the outside of the recording unit 120 or the outside of the monitoring recorder 110. The information storage unit 123 may be configured to be detachable from the monitoring recorder 110.
 記録系CPU124は、記録系プログラム記憶部121に記憶されている記録系第1プログラム又は記録系第2プログラムを起動して、記録部120での処理を制御する記録系の処理部である。
 記録系CPU124は、監視レコーダ110の電源が投入され、プログラム起動制御部140から起動処理開始の命令が発行されると、その命令に従い起動処理を順次実行する。
 また、記録系CPU124は、自己の起動処理だけでなく、例えば、カメラ150の起動を制御する機能も有する。記録系CPU124は、自己の起動状況だけでなく、記録系CPU124が起動制御を行うものの起動状況を示す情報を、例えば、プログラム起動制御部140又は情報格納部123に出力する機能を有する。
 さらに、記録系CPU124は、監視レコーダ110の電源投入時に、記録系プログラム記憶部121から、OS又はアプリケーションプログラム等を、記録系ワークメモリ122に読み出して実行し、記録部120の起動動作を制御する。
The recording system CPU 124 is a recording system processing unit that activates the recording system first program or the recording system second program stored in the recording system program storage unit 121 and controls processing in the recording unit 120.
When the power of the monitoring recorder 110 is turned on and an instruction for starting the activation process is issued from the program activation control unit 140, the recording system CPU 124 sequentially executes the activation process according to the instruction.
In addition, the recording system CPU 124 has a function of controlling the activation of the camera 150, for example, in addition to its own activation process. The recording system CPU 124 has a function of outputting not only its own activation status but also information indicating the activation status of what the recording system CPU 124 performs activation control to, for example, the program activation control unit 140 or the information storage unit 123.
Further, when the monitoring recorder 110 is powered on, the recording system CPU 124 reads out an OS or an application program from the recording system program storage unit 121 to the recording system work memory 122 and executes it, thereby controlling the activation operation of the recording unit 120. .
 再生部130は、記録部120内の情報格納部123に記録された映像データに基づいて、映像を再生した再生データを生成して、この再生データを表示装置160に送り、映像データに基づく映像を表示装置160に表示させる。再生部130は、カメラ150によって撮影された映像データに基づく映像をリアルタイムで表示装置160に表示させることもできる。再生部130は、再生系プログラム記憶部131と、再生系ワークメモリ132と、再生系CPU133とを備える。 Based on the video data recorded in the information storage unit 123 in the recording unit 120, the playback unit 130 generates playback data that plays back the video, sends the playback data to the display device 160, and the video based on the video data. Is displayed on the display device 160. The playback unit 130 can also display the video based on the video data captured by the camera 150 on the display device 160 in real time. The playback unit 130 includes a playback system program storage unit 131, a playback system work memory 132, and a playback system CPU 133.
 再生系プログラム記憶部131は、監視レコーダ110の電源が投入され再生系CPU133が起動処理を開始するときに実行するプログラムが記憶されている記憶部(メモリ)である。実施の形態1では、再生系CPU133で実行されるプログラムは、ブートローダ、OS及び再生系アプリケーションであるものとして説明する。 The reproduction system program storage unit 131 is a storage unit (memory) that stores a program to be executed when the monitoring recorder 110 is turned on and the reproduction system CPU 133 starts a startup process. In the first embodiment, it is assumed that the program executed by the reproduction system CPU 133 is a boot loader, an OS, and a reproduction system application.
 ブートローダは、上述のように、OSを起動するための処理を実行するプログラムである。
 OSは、再生部130の全体を管理するための基本ソフトである。
 再生系アプリケーションプログラムは、例えば、情報格納部123に記録された映像データを複数読み出し、読み出された複数の映像データに基づいて、複数の映像を表示装置160に並べて表示させるプログラムである。再生系アプリケーションプログラムは、OSが起動後に、処理を開始することができる。また、OSの起動後であれば、同じアプリケーションプログラムを複数同時に実行することができ、また、異なるアプリケーションプログラムを複数同時に実行することもできる。
As described above, the boot loader is a program that executes processing for starting the OS.
The OS is basic software for managing the entire playback unit 130.
The reproduction system application program is a program that, for example, reads a plurality of video data recorded in the information storage unit 123 and displays a plurality of videos side by side on the display device 160 based on the plurality of read video data. The playback application program can start processing after the OS is started. Moreover, after the OS is started, a plurality of the same application programs can be executed simultaneously, and a plurality of different application programs can be executed simultaneously.
 図3は、再生系プログラム記憶部131に記憶されているプログラムの一例を示す概略図である。
 図示するように、再生系プログラム記憶部131は、再生系ブートローダ131aと、再生系第1OS131bと、再生系第1アプリケーションプログラム131cと、再生系第2OS131dと、再生系第2アプリケーションプログラム131eとを有する。
FIG. 3 is a schematic diagram illustrating an example of a program stored in the reproduction system program storage unit 131.
As illustrated, the playback system program storage unit 131 includes a playback system boot loader 131a, a playback system first OS 131b, a playback system first application program 131c, a playback system second OS 131d, and a playback system second application program 131e. .
 再生部130で使用する再生系OS及び再生系アプリケーションプログラムは、セキュリティ等を考慮して、更新される。
 プログラムの更新は、実行中の再生系OS及び再生系アプリケーションプログラムとは別の再生系OS及び再生系アプリケーションプログラムを書き換えることにより行われる。例えば、再生系CPU133が再生系第1OS131b及び再生系第1アプリケーションプログラム131cを実行している場合に、再生系第2OS131d及び再生系第2アプリケーションプログラム131eが新しいプログラムに書き換えられる。この場合、再生系第1OS131b及び再生系第1アプリケーションプログラム131cは、再生系第2OS131d及び再生系第2アプリケーションプログラム131eの古いバージョンのプログラムである。古いバージョンのプログラムは、既に処理が実行されており、記録部120と互換性のとれた、安定して実行することのできるプログラムである。従って、再生系CPU133は、起動時に、前回起動した再生系第1OS131b及び再生系第1アプリケーションプログラム131cで起動するか、又は、新しく更新された再生系第2OS131d及び再生系第2アプリケーションプログラム131eで起動するかを選択することになる。
 以下では、再生系第1OS131b及び再生系第1アプリケーションプログラム131cを再生系第1プログラムといい、再生系第2OS131d及び再生系第2アプリケーションプログラム131eを再生系第2プログラムという場合もある。
The playback system OS and playback system application program used by the playback unit 130 are updated in consideration of security and the like.
The program is updated by rewriting a playback system OS and playback system application program different from the playback system OS and playback system application program being executed. For example, when the playback system CPU 133 executes the playback system first OS 131b and the playback system first application program 131c, the playback system second OS 131d and the playback system second application program 131e are rewritten with new programs. In this case, the reproduction-system first OS 131b and the reproduction-system first application program 131c are older versions of the reproduction-system second OS 131d and the reproduction-system second application program 131e. The old version of the program is a program that has already been processed and is compatible with the recording unit 120 and can be stably executed. Therefore, the playback system CPU 133 is started up by the previously started playback system first OS 131b and playback system first application program 131c, or by newly updated playback system second OS 131d and playback system second application program 131e. You will choose to do it.
Hereinafter, the playback system first OS 131b and the playback system first application program 131c may be referred to as playback system first programs, and the playback system second OS 131d and playback system second application programs 131e may be referred to as playback system second programs.
 プログラム更新は、監視レコーダ110に外部記憶装置170を接続し、データを読み出すことで行う。外部記憶装置170は、例えば、USBメモリのような記憶媒体であってもよいし、ネットワークに接続された情報処理装置であってもよい。 Program update is performed by connecting the external storage device 170 to the monitoring recorder 110 and reading the data. The external storage device 170 may be a storage medium such as a USB memory, or may be an information processing device connected to a network.
 図1に戻り、再生系ワークメモリ132は、再生系CPU133が作業領域として使用するメモリである。再生系ワークメモリ132は、例えば、RAMである。再生系CPU133は、再生系ワークメモリ132にOS又はアプリケーションプログラム等を読み出して実行し、再生部130の起動動作を制御する。 Returning to FIG. 1, the reproduction system work memory 132 is a memory used by the reproduction system CPU 133 as a work area. The reproduction work memory 132 is, for example, a RAM. The reproduction system CPU 133 reads the OS or application program from the reproduction system work memory 132 and executes it, and controls the activation operation of the reproduction unit 130.
 再生系CPU133は、再生系プログラム記憶部131に記憶されている再生系第1プログラム又は再生系第2プログラムを起動して、再生部130での処理を制御する再生系の処理部である。
 再生系CPU133は、監視レコーダ110の電源が投入され、プログラム起動制御部140から起動処理開始の命令が発行されると、その命令に従い起動処理を順次実行する。
The reproduction system CPU 133 is a reproduction system processing unit that activates the reproduction system first program or the reproduction system second program stored in the reproduction system program storage unit 131 and controls processing in the reproduction unit 130.
When the power of the monitoring recorder 110 is turned on and a start command for starting processing is issued from the program start control unit 140, the playback system CPU 133 sequentially executes the start processing according to the command.
 プログラム起動制御部140は、監視レコーダ110での起動処理、言い換えると、記録系CPU124及び再生系CPU133における起動処理を制御する。
 例えば、プログラム起動制御部140は、監視レコーダ110の電源が投入されると、記録系CPU124及び再生系CPU133の起動状況を確認する。そして、プログラム起動制御部140は、それぞれに対し起動処理開始命令を発行する。プログラム起動制御部140は、予め記録系CPU124及び再生系CPU133の起動動作における情報、例えば、起動処理の順序が記載されている起動情報としてのCPU起動情報テーブルを持っており、そのCPU起動情報テーブルを参照して、正しくその順序で起動動作が進むように起動状況を確認し、起動処理命令を発行する。
 なお、記録系CPU124及び再生系CPU133も自身の起動動作における情報、例えば起動処理の順序が記載されているCPU起動情報テーブルを持っており、これらの内容はプログラム起動制御部140が持っているCPU起動情報テーブルの内容と等しい。
The program activation control unit 140 controls the activation process in the monitoring recorder 110, in other words, the activation process in the recording system CPU 124 and the reproduction system CPU 133.
For example, when the monitoring recorder 110 is turned on, the program activation control unit 140 checks the activation status of the recording system CPU 124 and the reproduction system CPU 133. Then, the program activation control unit 140 issues an activation process start command to each. The program activation control unit 140 has in advance a CPU activation information table as information on activation operations of the recording CPU 124 and the reproduction CPU 133, for example, activation information in which the order of activation processing is described. Referring to, the activation status is confirmed so that the activation operation proceeds correctly in that order, and an activation processing command is issued.
Note that the recording system CPU 124 and the playback system CPU 133 also have a CPU activation information table in which information on their own activation operations, for example, the order of activation processing is described, and these contents are the CPUs that the program activation control unit 140 has. Same as the contents of the startup information table.
 また、プログラム起動制御部140は、記録系CPU124及び再生系CPU133が起動状況を通知してからの経過時間を計測しており、次の起動状況を通知するまでに予め定められた時間を経過した場合には、記録系CPU124及び再生系CPU133を再起動させるためのリセット信号を出力する。
 さらに、プログラム起動制御部140は、監視レコーダ110の再起動を行う際には、記録系CPU124及び再生系CPU133が再起動を行うプログラムのバージョンを調整する。プログラム起動制御部140は、記録系CPU124が最新のバージョンである記録系第2プログラムの起動に失敗した場合、又は、再生系CPU133が最新のバージョンである再生系第2プログラムの起動に失敗した場合には、記録系CPU124に古いバージョンの記録系第1プログラムを再起動させるとともに、再生系CPU133に古いバージョンの再生系第1プログラムを再起動させる。
The program activation control unit 140 measures an elapsed time after the recording system CPU 124 and the reproduction system CPU 133 notify the activation status, and a predetermined time elapses until the next activation status is notified. In this case, a reset signal for restarting the recording system CPU 124 and the reproduction system CPU 133 is output.
Further, when the monitoring recorder 110 is restarted, the program start control unit 140 adjusts the version of the program that the recording system CPU 124 and the playback system CPU 133 restart. When the recording system CPU 124 fails to start the recording system second program that is the latest version, or the playback system CPU 133 fails to start the playback system second program that is the latest version. In this case, the recording system CPU 124 restarts the old version of the recording system first program, and the playback system CPU 133 restarts the old version of the playback system first program.
 図4は、プログラム起動制御部140の構成を概略的に示すブロック図である。
 図示するように、プログラム起動制御部140は、バージョン制御部141と、バージョン記憶部142と、時間計測部143と、再起動制御部144とを備える。図示するように、記録系CPU124、再生系CPU133及びプログラム起動制御部140は、信号線L11~L20で接続されている。
FIG. 4 is a block diagram schematically showing the configuration of the program activation control unit 140.
As illustrated, the program activation control unit 140 includes a version control unit 141, a version storage unit 142, a time measurement unit 143, and a restart control unit 144. As shown in the figure, the recording system CPU 124, the playback system CPU 133, and the program activation control unit 140 are connected by signal lines L11 to L20.
 バージョン制御部141は、記録系CPU124及び再生系CPU133の起動状況及び時間計測部143による計測時間に応じて、起動処理における次の処理の開始を制御信号により通知する。 The version control unit 141 notifies the start of the next process in the startup process by a control signal according to the startup status of the recording system CPU 124 and the playback system CPU 133 and the measurement time by the time measurement unit 143.
 バージョン記憶部142は、記録系CPU124及び再生系CPU133に、起動するOS及びアプリケーションプログラムを通知する。即ち、記録系プログラム記憶部121及び再生系プログラム記憶部131に記憶されているOS及びアプリケーションプログラムのどちらを使用するかを示すバージョン情報を通知する。 The version storage unit 142 notifies the recording system CPU 124 and the playback system CPU 133 of the OS and application program to be started. That is, the version information indicating which of the OS and the application program stored in the recording system program storage unit 121 and the playback system program storage unit 131 is used is notified.
 時間計測部143は、バージョン制御部141が記録系CPU124又は再生系CPU133に起動開始通知を出力してからの時間を計測する。予め定められた時間を超過した場合はその旨をバージョン制御部141に通知する。時間計測部143は、例えば、記録系CPU124及び再生系CPU133からの応答信号に基づいて、予め定められた時間が超過したか否かを判断する。 The time measuring unit 143 measures the time after the version control unit 141 outputs the start start notification to the recording system CPU 124 or the reproduction system CPU 133. When the predetermined time is exceeded, the version control unit 141 is notified of that. For example, the time measuring unit 143 determines whether or not a predetermined time has elapsed based on response signals from the recording system CPU 124 and the reproduction system CPU 133.
 再起動制御部144は、記録系CPU124又は再生系CPU133のどちらかの起動処理が正常に完了しなかった場合に、リセット信号を記録系CPU124及び再生系CPU133に対して出力し、再起動処理を実行させる。 The restart control unit 144 outputs a reset signal to the recording system CPU 124 and the playback system CPU 133 when the startup process of either the recording system CPU 124 or the playback system CPU 133 is not normally completed, and performs the restart process. Let it run.
 実施の形態1に係る記録系CPU124は、バージョン制御部141、バージョン記憶部142、時間計測部143及び再起動制御部144に接続されている。記録系CPU124と、バージョン制御部141、バージョン記憶部142及び時間計測部143との接続は、それぞれが別個の信号線で接続されてもよいし、共通化された信号線で接続されてもよい。 The recording CPU 124 according to the first embodiment is connected to a version control unit 141, a version storage unit 142, a time measurement unit 143, and a restart control unit 144. The recording system CPU 124, the version control unit 141, the version storage unit 142, and the time measurement unit 143 may be connected by separate signal lines or may be connected by a common signal line. .
 実施の形態1に係る再生系CPU133は、バージョン制御部141、時間計測部143及び再起動制御部144に接続されている。再生系CPU133と、バージョン制御部141及び時間計測部143との接続は、それぞれが別個の信号線で接続されてもよいし、共通化された信号線で接続されてもよい。 The reproduction system CPU 133 according to the first embodiment is connected to the version control unit 141, the time measurement unit 143, and the restart control unit 144. The reproduction system CPU 133 may be connected to the version control unit 141 and the time measurement unit 143 through separate signal lines, or may be connected through a common signal line.
 記録系CPU124と再生系CPU133とは、記録系CPU124から情報を通知することができるように接続されている。 The recording system CPU 124 and the reproduction system CPU 133 are connected so that information can be notified from the recording system CPU 124.
 図1に戻り、通知部145は、例えば、LED(Light Emitting Diode、発光ダイオード)を備え、その点灯により起動エラーが生じたことを通知する。 Returning to FIG. 1, the notification unit 145 includes, for example, an LED (Light Emitting Diode) and notifies that a start-up error has occurred due to the lighting thereof.
 以下に、実施の形態1に係る監視レコーダ110の動作、すなわち、監視レコーダ110の起動制御方法について説明する。
 図5は、実施の形態1に係る監視レコーダ110のプログラム起動制御部140の起動制御動作を示すフローチャートである。
 監視レコーダ110の電源が投入された後、プログラム起動制御部140のバージョン制御部141は、記録系CPU124及び再生系CPU133にブートローダの起動開始命令を発行する(S10)。このような命令を発行すると、プログラム起動制御部140の時間計測部143は、時間計測を開始する。
Hereinafter, the operation of the monitoring recorder 110 according to the first embodiment, that is, the activation control method of the monitoring recorder 110 will be described.
FIG. 5 is a flowchart showing a start control operation of the program start control unit 140 of the monitoring recorder 110 according to the first embodiment.
After the monitoring recorder 110 is powered on, the version control unit 141 of the program activation control unit 140 issues a boot loader activation start command to the recording system CPU 124 and the reproduction system CPU 133 (S10). When such a command is issued, the time measurement unit 143 of the program activation control unit 140 starts time measurement.
 次に、時間計測部143は、記録系CPU124がブートローダの起動を予め定められた時間内に完了したか否かを判断する(S11)。例えば、時間計測部143は、予め定められた時間内に、記録系CPU124からブートローダの起動完了の通知を受信したか否かでこの判断を行う。そして、予め定められた時間が経過しても、記録系CPU124からブートローダの起動完了の通知を受信しなかった場合(S11でNo)には、処理はステップS12に進む。予め定められた時間内に、記録系CPU124からブートローダの起動完了の通知を受信した場合(S11でYes)には、処理はステップS14に進む。 Next, the time measuring unit 143 determines whether or not the recording system CPU 124 has completed the boot loader activation within a predetermined time (S11). For example, the time measuring unit 143 makes this determination based on whether or not a boot loader start notification is received from the recording system CPU 124 within a predetermined time. If a notification of completion of boot loader activation is not received from the recording CPU 124 even after a predetermined time has elapsed (No in S11), the process proceeds to step S12. If a notification of boot loader activation completion is received from the recording system CPU 124 within a predetermined time (Yes in S11), the process proceeds to step S14.
 ステップS12では、時間計測部143は、ステップS10でブートローダの起動開始命令を発行してから、予め定められた時間内に再生系CPU133がブートローダの起動を完了したか否かを判断する。例えば、時間計測部143は、予め定められた時間内に、再生系CPU133からブートローダの起動完了の通知を受信したか否かでこの判断を行う。そして、予め定められた時間が経過しても、再生系CPU133からブートローダの起動完了の通知を受信しなかった場合(S12でNo)には、処理はステップS13に進む。予め定められた時間内に、再生系CPU133からブートローダの起動完了の通知を受信した場合(S12でYes)には、処理はステップS21に進む。
 ステップS13では、時間計測部143は、起動時エラー処理として、通知部145に外部への通知を行わせる。
In step S12, the time measuring unit 143 determines whether or not the playback CPU 133 has completed booting of the boot loader within a predetermined time after issuing the boot loader starting start command in step S10. For example, the time measuring unit 143 makes this determination based on whether or not a boot loader activation completion notification has been received from the playback CPU 133 within a predetermined time. If the notification of completion of boot loader activation is not received from the reproduction system CPU 133 even after a predetermined time has elapsed (No in S12), the process proceeds to step S13. If a notification of completion of boot loader activation is received from the playback system CPU 133 within a predetermined time (Yes in S12), the process proceeds to step S21.
In step S <b> 13, the time measurement unit 143 causes the notification unit 145 to notify the outside as an error process at startup.
 ステップS14では、バージョン記憶部142は、記録系CPU124に対し、記録系CPU124が、記録系第1プログラム又は記録系第2プログラムのどちらで起動するか、及び、再生系CPU133が、再生系第1プログラム又は再生系第2プログラムのどちらで起動するかを示すバージョン情報を通知することで、起動するプログラムのバージョンを指定する。記録系CPU124は、再生系CPU133に、再生系第1プログラム又は再生系第2プログラムのどちらで起動するかを示すバージョン情報を通知する。 In step S14, the version storage unit 142 determines whether the recording system CPU 124 is activated by the recording system first program or the recording system second program, and the playback system CPU 133 determines that the recording system CPU 124 is the playback system first. The version of the program to be started is designated by notifying version information indicating whether to start with the program or the reproduction system second program. The recording system CPU 124 notifies the playback system CPU 133 of version information indicating which of the playback system first program and the playback system second program is activated.
 ステップS14にて起動するプログラムを指定した後、時間計測部143が、再生系CPU133のブートローダの起動完了、又は、起動開始から一定時間経過し、再生系CPU133の起動失敗を確認した後、バージョン制御部141は、記録系OS及び記録系アプリケーションプログラム(以下、記録系プログラムともいう)の起動開始命令を発行する(S15)。このような命令を発行すると、時間計測部143は、時間計測を開始する。 After designating the program to be activated in step S14, the time measurement unit 143 confirms the activation failure of the reproduction system CPU 133 after the completion of activation of the boot loader of the reproduction system CPU 133 or after a certain period of time has elapsed from the start of activation. The unit 141 issues a start command for starting the recording OS and the recording application program (hereinafter also referred to as a recording program) (S15). When such a command is issued, the time measurement unit 143 starts time measurement.
 次に、時間計測部143は、ステップS15で記録系プログラムの起動開始命令を発行してから、予め定められた時間内に記録系CPU124が予め定められたアプリケーションプログラムの起動を完了したか否かを判断する(S16)。例えば、時間計測部143は、予め定められた時間以内に記録系CPU124から、予め定められたアプリケーションプログラムが立ち上がったことの通知を受けたか否かでこの判断を行う。予め定められた時間以内に記録系CPU124から、予め定められたアプリケーションプログラムが立ち上がったことの通知を受けた場合(S16でYes)には、処理は、ステップS17に進む。一方、予め定められた時間以内に記録系CPU124から、予め定められたアプリケーションプログラムが立ち上がったことの通知を受けていない場合(S16でNo)には、処理は、ステップS21に進む。ここで、例えば、予め定められたアプリケーションプログラムは、再生系CPU133の起動ログを取得するためのアプリケーションである。 Next, whether or not the time measurement unit 143 has completed the start of the predetermined application program within the predetermined time since the time start unit 143 has issued the start instruction for starting the recording system program in step S15. Is determined (S16). For example, the time measuring unit 143 makes this determination based on whether or not a notification that a predetermined application program has started up is received from the recording system CPU 124 within a predetermined time. If the recording system CPU 124 receives a notification that a predetermined application program has started up within a predetermined time (Yes in S16), the process proceeds to step S17. On the other hand, if the recording system CPU 124 has not received a notification that the predetermined application program has started up within a predetermined time (No in S16), the process proceeds to step S21. Here, for example, the predetermined application program is an application for acquiring the activation log of the reproduction system CPU 133.
 ステップS17では、バージョン制御部141は、再生系CPU133に再生系OS及びアプリケーションプログラム(以下、再生系プログラムともいう)の起動開始命令を発行する。このような命令を発行すると、時間計測部143は、時間計測を開始する。 In step S17, the version control unit 141 issues a start command for starting the playback system OS and application program (hereinafter also referred to as a playback system program) to the playback system CPU 133. When such a command is issued, the time measurement unit 143 starts time measurement.
 次に、時間計測部143は、ステップS15で記録系プログラムの起動開始命令を発行してから、予め定められた時間内に記録系CPU124が記録系プログラムの起動を完了したか否かを判断する(S18)。例えば、時間計測部143は、予め定められた時間以内に記録系CPU124から、記録系プログラムが立ち上がったことの通知を受けたか否かでこの判断を行う。予め定められた時間以内に記録系CPU124から、記録系プログラムが立ち上がったことの通知を受けた場合(S18でYes)には、処理は、ステップS19に進む。一方、予め定められた時間以内に記録系CPU124から、記録系プログラムが立ち上がったことの通知を受けていない場合(S18でNo)には、処理は、ステップS22に進む。 Next, the time measuring unit 143 determines whether or not the recording system CPU 124 has started the recording system program within a predetermined time after issuing the recording system program start start command in step S15. (S18). For example, the time measuring unit 143 makes this determination based on whether or not the recording system CPU 124 has received a notification that the recording system program has started up within a predetermined time. When the recording system CPU 124 receives a notification that the recording system program has started up within a predetermined time (Yes in S18), the process proceeds to step S19. On the other hand, if the recording system CPU 124 has not received a notification that the recording system program has started within a predetermined time (No in S18), the process proceeds to step S22.
 そして、時間計測部143は、ステップS17で再生系プログラムの起動開始命令を発行してから、予め定められた時間内に再生系CPU133が再生系プログラムの起動を完了したか否かを判断する(S19)。例えば、時間計測部143は、予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けたか否かでこの判断を行う。予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けた場合(S19でYes)には、正常に監視レコーダ110の起動が完了しているため、処理は終了する。一方、予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けていない場合(S19でNo)には、処理は、ステップS20に進む。 Then, the time measuring unit 143 determines whether or not the reproduction system CPU 133 has completed the activation of the reproduction system program within a predetermined time after issuing the reproduction system program activation start command in step S17 ( S19). For example, the time measuring unit 143 makes this determination based on whether or not the reproduction system CPU 133 has received a notification that the reproduction system program has started up within a predetermined time. If the playback system CPU 133 receives a notification that the playback system program has been started up within a predetermined time (Yes in S19), the monitoring recorder 110 has been successfully started up, and the process ends. To do. On the other hand, if the playback system CPU 133 has not received a notification that the playback system program has started within a predetermined time (No in S19), the process proceeds to step S20.
 ステップS20では、バージョン制御部141は、再生系CPU133において再生系プログラムが正常に動作していないことを記録系CPU124に通知する。このような通知を受けた記録系CPU124は、起動時エラー処理を実行する。例えば、記録系CPU124は、再生系CPU133の起動ログを記録系ワークメモリ122から記録系プログラム記憶部121又は情報格納部123に移したり、プログラム起動制御部140に指示して、通知部145にエラーの発生を通知させたりといった処理を行う。
 また、バージョン制御部141は、次回の起動時に記録系CPU124及び再生系CPU133が別のバージョンのプログラムで起動するようにバージョン記憶部142の記述を変更する。そして、バージョン制御部141は、再起動制御部144に指示して、監視レコーダ110の再起動を行わせる。このような指示を受けた再起動制御部144は、リセット信号を記録系CPU124及び再生系CPU133に送信する。
In step S20, the version control unit 141 notifies the recording system CPU 124 that the playback system program is not operating normally in the playback system CPU 133. Receiving such notification, the recording CPU 124 executes a startup error process. For example, the recording system CPU 124 moves the activation log of the reproduction system CPU 133 from the recording system work memory 122 to the recording system program storage unit 121 or the information storage unit 123 or instructs the program activation control unit 140 to notify the notification unit 145 of an error. Process to notify the occurrence of
In addition, the version control unit 141 changes the description in the version storage unit 142 so that the recording CPU 124 and the reproduction system CPU 133 are started by another version of the program at the next startup. Then, the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110. Upon receiving such an instruction, the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
 ステップS12で、予め定められた時間内に再生系ブートローダの起動が完了した場合(S12でYes)、又は、ステップS16で、予め定められた時間内に記録系プログラムの起動が完了していない場合(S16でNo)には、処理は、ステップS21に進む。ステップS21では、バージョン制御部141は、再生系CPU133に再生系プログラムの強制起動開始命令を発行する。なお、強制起動開始命令であるか否かは、バージョン制御部141が認識していればよく、再生系CPU133には、通常の再生系プログラムの起動開始命令が出力される。このような命令を発行すると、時間計測部143は、時間計測を開始する。そして処理はステップS22へ進む。 When the start of the playback system boot loader is completed within a predetermined time in step S12 (Yes in S12), or when the start of the recording system program is not completed within a predetermined time in step S16 In (No in S16), the process proceeds to step S21. In step S21, the version control unit 141 issues a reproduction system program forced start start command to the reproduction system CPU 133. It should be noted that whether or not it is a forced activation start command may be recognized by the version control unit 141, and a normal reproduction system program activation start command is output to the reproduction system CPU 133. When such a command is issued, the time measurement unit 143 starts time measurement. Then, the process proceeds to step S22.
 ステップS22では、時間計測部143は、ステップS21又はS17で再生系プログラムの起動開始命令を発行してから、予め定められた時間内に再生系CPU133が再生系プログラムの起動を完了したか否かを判断する。例えば、時間計測部143は、予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けたか否かでこの判断を行う。予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けた場合(S22でYes)には、処理はステップS23に進み、予め定められた時間以内に再生系CPU133から、再生系プログラムが立ち上がったことの通知を受けていない場合(S22でNo)には、処理はステップS24に進む。 In step S22, the time measurement unit 143 determines whether or not the reproduction system CPU 133 has completed the activation of the reproduction system program within a predetermined time after issuing the reproduction system program activation start command in step S21 or S17. Judging. For example, the time measuring unit 143 makes this determination based on whether or not the reproduction system CPU 133 has received a notification that the reproduction system program has started up within a predetermined time. If the reproduction system CPU 133 receives a notification that the reproduction system program has started up within a predetermined time (Yes in S22), the process proceeds to step S23, and the reproduction system CPU 133 within the predetermined time. If the notification that the playback system program has started up is not received (No in S22), the process proceeds to step S24.
 ステップS23では、バージョン制御部141は、正常に起動した再生系CPU133に対し記録系CPU124の起動が完了していないことを通知する。このような通知を受けた再生系CPU133は、エラー処理を実行する。例えば、再生系CPU133は、記録系CPU124の起動ログを再生系ワークメモリ132から再生系プログラム記憶部131に移したり、プログラム起動制御部140に指示して、通知部145にエラーの発生を通知させたりといった処理を行う。また、バージョン制御部141は、次回の起動時に記録系CPU124及び再生系CPU133が別のバージョンのプログラムで起動するように、バージョン記憶部142の記述を変更する。そして、バージョン制御部141は、再起動制御部144に指示して、監視レコーダ110の再起動を行わせる。このような指示を受けた再起動制御部144は、リセット信号を記録系CPU124及び再生系CPU133に送信する。 In step S23, the version control unit 141 notifies the reproduction system CPU 133 that has started normally that the activation of the recording system CPU 124 has not been completed. Receiving such notification, the playback CPU 133 executes error processing. For example, the reproduction system CPU 133 moves the activation log of the recording system CPU 124 from the reproduction system work memory 132 to the reproduction system program storage unit 131 or instructs the program activation control unit 140 to notify the notification unit 145 of the occurrence of an error. Process. Also, the version control unit 141 changes the description in the version storage unit 142 so that the recording system CPU 124 and the playback system CPU 133 are started with a different version program at the next startup. Then, the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110. Upon receiving such an instruction, the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
 一方、ステップS24では、時間計測部143は、記録系CPU124及び再生系CPU133の両方におけるエラーの発生を認識する。このため、バージョン制御部141は、次回の起動時に記録系CPU124及び再生系CPU133が別のバージョンのプログラムで起動するようにバージョン記憶部142の記述を変更する。そして、バージョン制御部141は、再起動制御部144に指示して、監視レコーダ110の再起動を行わせる。このような指示を受けた再起動制御部144は、リセット信号を記録系CPU124及び再生系CPU133に送信する。 On the other hand, in step S24, the time measuring unit 143 recognizes the occurrence of an error in both the recording system CPU 124 and the reproduction system CPU 133. For this reason, the version control unit 141 changes the description in the version storage unit 142 so that the recording system CPU 124 and the reproduction system CPU 133 are activated by a different version program at the next activation. Then, the version control unit 141 instructs the restart control unit 144 to restart the monitoring recorder 110. Upon receiving such an instruction, the restart control unit 144 transmits a reset signal to the recording system CPU 124 and the reproduction system CPU 133.
 図6は、実施の形態1に係る監視レコーダ110の再生部130の起動動作を示すフローチャートである。
 まず、プログラム起動制御部140のバージョン制御部141が再生系CPU133にブートローダの起動開始命令を発行すると、再生系CPU133は、再生系プログラム記憶部131に記憶されている再生系ブートローダに書かれた処理を実行する(S30)。
FIG. 6 is a flowchart showing the starting operation of the playback unit 130 of the monitoring recorder 110 according to the first embodiment.
First, when the version control unit 141 of the program activation control unit 140 issues a boot loader activation start command to the reproduction system CPU 133, the reproduction system CPU 133 performs processing written in the reproduction system boot loader stored in the reproduction system program storage unit 131. Is executed (S30).
 再生系CPU133は、再生系ブートローダの起動が完了すると、プログラム起動制御部140の時間計測部143に、ブートローダの起動完了を通知する(S31)。 When the reproduction system boot loader has been activated, the reproduction system CPU 133 notifies the time measurement unit 143 of the program activation control unit 140 of the completion of activation of the boot loader (S31).
 再生系CPU133は、ブートローダが起動した後、記録系CPU124において記録系OS及び予め定められたアプリケーションが起動するまで、任意の処理を行うことができる(S32)。例えば、任意の処理は、記録系CPU124の起動ログの取得等である。一般的に、OSの起動処理はブートローダが実行するため、OSの起動処理を実行しながら、記録系CPU124は、自身の起動ログを取得することはできない。起動ログは、CPUが正常に動作しない場合に、そのデバッグをするために必要であり、起動ログを取得できない場合は、デバッグにかかるコストは増大する。また、任意の処理は、例えば、周辺デバイスの初期化等がある。図1における表示装置160が出画までに初期化が必要な場合、ブートローダにより初期化を行うことで電源投入から出画までの時間を短縮することができる。 The reproduction system CPU 133 can perform arbitrary processing after the boot loader is activated until the recording system OS and a predetermined application are activated in the recording system CPU 124 (S32). For example, the arbitrary processing is acquisition of a start log of the recording system CPU 124. Generally, since the boot loader executes the OS startup process, the recording CPU 124 cannot acquire its own startup log while executing the OS startup process. The activation log is necessary for debugging when the CPU does not operate normally. If the activation log cannot be acquired, the cost for debugging increases. The arbitrary processing includes, for example, initialization of peripheral devices. When the display device 160 in FIG. 1 needs to be initialized before the image is output, the time from power-on to the image output can be shortened by performing initialization with the boot loader.
 バージョン制御部141から再生系プログラムの起動開始通知があったら(S33)、再生系CPU133は、記録系CPU124から再生系第1プログラム及び再生系第2プログラムの何れで起動するかを示すバージョン情報を取得する(S34)。
 そして、再生系CPU133は、取得したバージョン情報で示される再生系プログラムを起動する(S35)。
If there is a start notification of the playback system program from the version control unit 141 (S33), the playback system CPU 133 displays version information indicating which of the playback system first program and the playback system second program is started from the recording system CPU 124. Obtain (S34).
Then, the reproduction system CPU 133 activates the reproduction system program indicated by the acquired version information (S35).
 なお、記録系CPU124が正常に起動していなくても、ステップS33において、プログラム起動制御部140から再生系プログラムの起動開始通知が行われる場合もある。
 このような場合、例えば、記録系CPU124から再生系CPU133にプログラムのバージョンを通知する信号線L20を図7に示されているように構成し、この信号線L20の信号がLowであるかHighであるかで、プログラムのバージョンを通知するようにしておけば、再生系CPU133は、どのバージョンで起動すればよいのかを把握することができる。なお、この場合、記録系CPU124が動作していないため、再生系CPU133は、プログラム起動制御部140から記録系CPU124に通知していたプログラムのバージョンを正しく読み取ることができない。しかし、このような場合は、緊急的に再生系CPU133を起動させている状態であり、再生系CPU133にエラー処理をさせるという観点ではどちらのバージョンで起動させても問題はない。
Even if the recording system CPU 124 is not normally activated, the program activation control unit 140 may notify the activation start of the reproduction system program in step S33.
In such a case, for example, the signal line L20 for notifying the version of the program from the recording system CPU 124 to the reproduction system CPU 133 is configured as shown in FIG. 7, and the signal on the signal line L20 is Low or High. On the other hand, if the version of the program is notified, the reproduction system CPU 133 can grasp which version should be activated. In this case, since the recording system CPU 124 is not operating, the reproduction system CPU 133 cannot correctly read the version of the program notified from the program activation control unit 140 to the recording system CPU 124. However, in such a case, the reproduction system CPU 133 is urgently activated, and there is no problem regardless of which version is activated from the viewpoint of causing the reproduction system CPU 133 to perform error processing.
 図6に戻り、再生系CPU133は、再生系OS及び再生系アプリケーションプログラムの起動を完了すると、時間計測部143に対し、起動完了を通知する(S36)。 Returning to FIG. 6, upon completion of the activation of the reproduction system OS and the reproduction system application program, the reproduction system CPU 133 notifies the time measurement unit 143 of the completion of activation (S36).
 次に、再生系CPU133は、バージョン制御部141から記録系OS及び記録系アプリケーションプログラムの起動完了通知を受け取ったか否かを判断する(S37)。このような通知を受け取った場合(S37でYes)には、監視レコーダ110は正常に起動完了しているため処理を終了する。このような通知を受け取っていない場合(S37でNo)には、処理はステップS38に進む。 Next, the reproduction system CPU 133 determines whether or not the activation notification of the recording system OS and the recording system application program has been received from the version control unit 141 (S37). If such a notification is received (Yes in S37), the monitoring recorder 110 completes its startup normally and ends the process. If such a notification has not been received (No in S37), the process proceeds to step S38.
 ステップS38では、再生系CPU133は、記録系CPU124の起動が正常に完了していない場合のエラー処理を実行し、プログラム起動制御部140によって再起動処理がなされるまで待機する。なお、記録系OS及び記録系アプリケーションプログラムの起動完了通知がない場合には、記録系CPU124がブートローダの起動を完了していない場合も含む。 In step S38, the reproduction system CPU 133 executes error processing when the activation of the recording system CPU 124 is not normally completed, and waits until the restart process is performed by the program activation control unit 140. It should be noted that the case where the recording-system OS and the recording-system application program start completion notification is not received includes the case where the recording-system CPU 124 has not completed the boot loader startup.
 図8は、実施の形態1に係る監視レコーダ110の記録部120の起動動作を示すフローチャートである。
 まず、プログラム起動制御部140のバージョン制御部141が記録系CPU124にブートローダの起動開始命令を発行すると、記録系CPU124は、記録系プログラム記憶部121に記憶されている記録系ブートローダに書かれた処理を実行する(S40)。
FIG. 8 is a flowchart showing the starting operation of the recording unit 120 of the monitoring recorder 110 according to the first embodiment.
First, when the version control unit 141 of the program start control unit 140 issues a boot loader start start command to the recording system CPU 124, the recording system CPU 124 performs processing written in the recording system boot loader stored in the recording system program storage unit 121. Is executed (S40).
 記録系CPU124は、記録系ブートローダの起動が完了すると、プログラム起動制御部140の時間計測部143に、ブートローダの起動完了を通知する(S41)。 When the activation of the recording system boot loader is completed, the recording system CPU 124 notifies the time measurement unit 143 of the program activation control unit 140 of the completion of activation of the boot loader (S41).
 次に、記録系CPU124は、バージョン制御部141から起動するプログラムのバージョンを取得し(S42)、記録系プログラムの起動を開始する(S43)。 Next, the recording system CPU 124 acquires the version of the program to be activated from the version control unit 141 (S42), and starts activation of the recording system program (S43).
 次に、記録系CPU124は、再生系CPU133に対して、バージョン制御部141から取得した起動するプログラムのバージョンを通知する(S44)。このとき、再生系CPU133に通知するバージョンは、記録系CPU124と同じものであってもよいし、バージョン制御部141から異なるバージョンを指定するように設定できるようにしてもよい。 Next, the recording system CPU 124 notifies the playback system CPU 133 of the version of the program to be activated acquired from the version control unit 141 (S44). At this time, the version notified to the reproduction system CPU 133 may be the same as that of the recording system CPU 124 or may be set so that a different version can be designated from the version control unit 141.
 記録系CPU124は、記録系OS及び予め定められたアプリケーションプログラムの起動が完了したら、時間計測部143にその旨を通知する(S45)。
 そして、記録系CPU124は、起動されたアプリケーションプログラムを実行することで、任意の処理を行う(S46)。例えば、記録系CPU124は、再生系CPU133の起動ログの取得等の処理を行う。
When the activation of the recording system OS and the predetermined application program is completed, the recording CPU 124 notifies the time measuring unit 143 to that effect (S45).
Then, the recording system CPU 124 executes an arbitrary process by executing the activated application program (S46). For example, the recording CPU 124 performs processing such as acquisition of a start log of the reproduction CPU 133.
 次に、記録系CPU124は、記録系プログラムの起動が完了したら、時間計測部143にその旨を通知する(S47)。 Next, the recording system CPU 124 notifies the time measuring unit 143 of the completion of the activation of the recording system program (S47).
 その後、記録系CPU124は、バージョン制御部141から再生系OS及び再生系アプリケーションプログラムの起動完了通知を受け取ったか否かを判断する(S48)。このような通知を受け取った場合(S48でYes)には、監視レコーダ110は正常に起動完了しているため処理を終了する。このような通知を受け取っていない場合(S48でNo)には、処理はステップS49に進む。 Thereafter, the recording system CPU 124 determines whether or not the start notification of the playback system OS and the playback system application program has been received from the version control unit 141 (S48). When such a notification is received (Yes in S48), the monitoring recorder 110 has been normally activated and ends. If such a notification has not been received (No in S48), the process proceeds to step S49.
 ステップS49では、記録系CPU124は、再生系CPU133の起動が正常に完了していない場合のエラー処理を実行し、プログラム起動制御部140によって再起動処理がなされるまで待機する。 In step S49, the recording system CPU 124 executes an error process when the playback system CPU 133 has not been activated normally, and waits until the program activation control unit 140 performs a restart process.
 図9(A)及び(B)は、プログラム起動制御部140と再生系CPU133との間の通信の一例を示すタイミングチャートである。
 プログラム起動制御部140が再生系CPU133の起動制御を行う場合、図4に示されているバージョン制御部141と再生系CPU133とを接続する信号線L16、及び、時間計測部143と再生系CPU133とを接続する信号線L17の2本の信号線のみで制御が行われる。図9(A)に示されている再生系OUTは、再生系CPU133が信号を制御しプログラム起動制御部140に通知する応答信号であり、図4に示されている時間計測部143と再生系CPU133とを接続する信号線L17の信号である。図9(B)に示されている再生系INは、プログラム起動制御部140が信号を制御し再生系CPU133に通知する制御信号であり、図4に示されているバージョン制御部141と再生系CPU133とを接続する信号線L16の信号である。
FIGS. 9A and 9B are timing charts showing an example of communication between the program activation control unit 140 and the reproduction system CPU 133.
When the program activation control unit 140 performs activation control of the reproduction system CPU 133, the signal line L 16 connecting the version control unit 141 and the reproduction system CPU 133 shown in FIG. 4, the time measurement unit 143, the reproduction system CPU 133, and Control is performed only with the two signal lines of the signal line L17 connecting the two. The reproduction system OUT shown in FIG. 9A is a response signal that the reproduction system CPU 133 controls the signal and notifies the program activation control unit 140. The time measurement unit 143 and the reproduction system shown in FIG. This is a signal of a signal line L17 connecting the CPU 133. The playback system IN shown in FIG. 9B is a control signal that the program activation control unit 140 controls the signal and notifies the playback system CPU 133, and the version control unit 141 and the playback system shown in FIG. This is a signal of the signal line L16 connecting the CPU 133.
 電源投入後、バージョン制御部141は、図9(B)に示されているように、再生系INの信号をLow(オフ)からHigh(オン)にすることで、再生系CPU133に対してブートローダ起動開始を通知する。
 このような通知を受けた再生系CPU133は、図9(A)に示されているように、再生系OUTの信号をLowからHighにすることで、ブートローダの起動を実際に開始したことを時間計測部143に通知する。この通知を受けることで、時間計測部143は、再生系ブートローダの起動に対応した時間を計測する。
After the power is turned on, the version control unit 141 changes the signal of the reproduction system IN from Low (off) to High (on) as shown in FIG. Notify start-up.
Receiving such a notification, the reproduction system CPU 133 changes the signal of the reproduction system OUT from Low to High as shown in FIG. 9A to indicate that the boot loader has actually started. The measurement unit 143 is notified. By receiving this notification, the time measuring unit 143 measures the time corresponding to the activation of the playback system boot loader.
 再生系CPU133は、ブートローダの起動が完了すると、図9(A)に示されているように、再生系OUTの信号をHighからLowにすることで、ブートローダ起動完了を時間計測部143に通知する。この通知を受けることで、時間計測部143は、ブートローダの起動からの時間の計測を終了する。ここでは、予め定められた時間内にブートローダの起動が完了しているものとして説明を続ける。 When the activation of the boot loader is completed, the reproduction system CPU 133 notifies the time measurement unit 143 of the completion of activation of the boot loader by changing the signal of the reproduction system OUT from High to Low, as shown in FIG. 9A. . By receiving this notification, the time measuring unit 143 ends the time measurement from the boot loader activation. Here, the description will be continued on the assumption that the boot loader has been started within a predetermined time.
 バージョン制御部141は、記録系CPU124のブートローダが起動完了すると、図9(B)に示されているように、再生系INの信号をHighからLowにすることで、記録系ブートローダの起動完了と記録系プログラムの起動開始を再生系CPU133に通知する。このような通知を受けた再生系CPU133は、任意の処理、例えば、記録系CPU124の起動ログの取得等を行う。 When the boot loader of the recording system CPU 124 completes activation, the version control unit 141 changes the signal of the reproduction system IN from High to Low as shown in FIG. The playback system CPU 133 is notified of the start of the recording system program. Receiving such a notification, the reproduction system CPU 133 performs arbitrary processing, for example, acquisition of a start log of the recording system CPU 124.
 記録系OS及び予め定められたアプリケーションプログラムの起動が完了すると、バージョン制御部141は、図9(B)に示されているように、再生系INの信号をLowからHighにすることで、再生系プログラムの起動開始を再生系CPU133に通知する。 When the activation of the recording system OS and the predetermined application program is completed, the version control unit 141 reproduces by changing the signal of the playback system IN from Low to High, as shown in FIG. 9B. The reproduction system CPU 133 is notified of the start of the system program.
 再生系CPU133は、再生系プログラムの起動を開始すると、図9(A)に示されているように、再生系OUTの信号をLowからHighにすることで、再生系プログラムの起動開始を時間計測部143に通知する。この通知を受けることで、時間計測部143は、再生系プログラムの起動に対応した時間を計測する。 When starting the playback system program, the playback system CPU 133 starts the playback system program by measuring the start time of the playback system program by changing the signal of the playback system OUT from Low to High as shown in FIG. 9A. Notification to the unit 143. By receiving this notification, the time measuring unit 143 measures the time corresponding to the start of the reproduction system program.
 記録系CPU124の記録系プログラムの起動が完了すると、バージョン制御部141は、図9(B)に示されているように、再生系INの信号をHighからLowにすることで、その旨を再生系CPU133に通知する。 When the activation of the recording system program of the recording system CPU 124 is completed, the version control unit 141 reproduces that by changing the signal of the reproduction system IN from High to Low as shown in FIG. 9B. The system CPU 133 is notified.
 再生系CPU133は、再生系プログラムの起動が完了したら、図9(A)に示されているように、再生系OUTの信号をHighからLowにすることで、その旨を時間計測部143に通知する。 When the reproduction system CPU 133 completes the activation of the reproduction system program, the reproduction system OUT signal is changed from High to Low, as shown in FIG. 9A, so that the time measurement unit 143 is notified. To do.
 以上のように動作させることで、プログラム起動制御部140と再生系CPU133とは、相互に通知を行うことができる。プログラム起動制御部140における時間計測部143は、起動開始からの時間を測定しており、予め定められた時間が経過しても起動完了の通知がなされないことを判断することができる。
 また、バージョン制御部141及び時間計測部143が、それぞれ信号の立ち上がり及び立ち下がりの回数を、例えば、バージョン記憶部142等に記憶させておくことで、起動処理の段階を判断することができる。
By operating as described above, the program activation control unit 140 and the reproduction system CPU 133 can notify each other. The time measuring unit 143 in the program activation control unit 140 measures the time from the start of activation, and can determine that the activation completion is not notified even if a predetermined time has elapsed.
In addition, the version control unit 141 and the time measurement unit 143 can determine the stage of the activation process by storing the number of times the signal rises and falls, for example, in the version storage unit 142 or the like.
 なお、上記の通知動作は、一例であり、他の方法で通知が行われてもよい。上記では2本の信号線で通知を行っているが、信号線の本数は2本に限られない。また、通知方法についても、例えば、クロック等の信号があるような通信手段が用いられてもよい。 Note that the above notification operation is an example, and notification may be performed by other methods. In the above, notification is performed using two signal lines, but the number of signal lines is not limited to two. Further, for the notification method, for example, a communication unit having a signal such as a clock may be used.
 また、図1に示された構成だけでなく、他の装置が起動動作に関連していてもよい。例えば、無線通信によって映像データを離れた地点にある映像出力デバイスに配信する機能を有する遠隔配信装置が再生部130に接続されており、その遠隔配信装置の起動処理が監視レコーダ110の起動動作に含まれてもよい。 In addition to the configuration shown in FIG. 1, other devices may be related to the startup operation. For example, a remote delivery device having a function of delivering video data to a video output device at a remote location by wireless communication is connected to the playback unit 130, and the startup process of the remote delivery device is the startup operation of the monitoring recorder 110. May be included.
 以上説明した実施の形態1に係る監視レコーダ110によれば、以下の(1)~(8)の効果が得られる。 According to the monitoring recorder 110 according to Embodiment 1 described above, the following effects (1) to (8) can be obtained.
 (1)監視レコーダ110は、プログラム起動制御部140で起動するプログラムのバージョンを一括して管理するため、電源投入後複数のCPUがそれぞれ互換性のない異なるバージョンのプログラムで起動してしまい、正常に動作できない状況を回避することができる。 (1) Since the monitoring recorder 110 collectively manages the versions of programs to be activated by the program activation control unit 140, a plurality of CPUs are activated by different incompatible versions of the programs after power-on. It is possible to avoid a situation where the system cannot operate normally.
 (2)監視レコーダ110は、起動プログラムの更新が行われたCPUの一方が起動を完了できなかった場合に、前回起動しているプログラムを再起動させることができる。 (2) The monitoring recorder 110 can restart the program started last time when one of the CPUs for which the startup program has been updated fails to complete the startup.
 (3)プログラム起動制御部140は、搭載されたCPUの何れかが起動処理に失敗し、応答がなくなったとき、起動のどの段階で起動に失敗したかを記憶することができる。 (3) The program activation control unit 140 can store at which stage of activation the activation failed when any of the installed CPUs fails in the activation process and no response is received.
 (4)起動動作時における、プログラム起動制御部140と、再生系CPU133との間の通信では、2本の信号線があればよく、基板面積の削減が可能である。 (4) In communication between the program activation control unit 140 and the reproduction system CPU 133 during the activation operation, only two signal lines are required, and the board area can be reduced.
 (5)プログラム起動制御部140と、再生系CPU133との間の通信では、クロック及び同期処理等が必要なく、GPIO(General Purpose I/O)が制御できればよく、ハードウェアのインタフェースに依存することなく実装することができる。 (5) The communication between the program start control unit 140 and the reproduction system CPU 133 does not require a clock and a synchronization process, and only needs to be able to control GPIO (General Purpose I / O) and depends on the hardware interface. It can be implemented without.
 (6)プログラム起動制御部140と、再生系CPU133との間の通信は、直接再生系CPU133と記録系CPU124とが接続されていなくても良く、一方のCPUの起動処理の異常によって他方のCPUに影響を与えることを回避することができる。 (6) The communication between the program activation control unit 140 and the reproduction system CPU 133 does not need to be directly connected to the reproduction system CPU 133 and the recording system CPU 124. Can be avoided.
 (7)プログラム起動制御部140は、記録系CPU124の起動が正常に行われなかった場合に、バージョン情報が正確に再生系CPU133に通知されなくても、再生系CPU133を、エラー処理を実行可能な状態で起動させることができる。 (7) When the recording system CPU 124 is not normally started, the program activation control unit 140 can cause the reproduction system CPU 133 to perform error processing even if the version information is not accurately notified to the reproduction system CPU 133. It can be activated in a safe state.
 (8)プログラム起動制御部140は、搭載された一つのCPUに対して、その起動の段階を少なくとも2本の信号線によって把握及び制御が可能となるため、監視レコーダ110の部品点数の削減を行うことができる。 (8) The program activation control unit 140 can grasp and control the activation stage with respect to one mounted CPU by using at least two signal lines, so that the number of parts of the monitoring recorder 110 can be reduced. It can be carried out.
実施の形態2.
 図10は、実施の形態2に係る情報処理装置である監視レコーダ210の構成を概略的に示すブロック図である。図10において、監視レコーダ210を含む監視システム200は、監視レコーダ110以外に監視カメラとしての複数のカメラ150A、150B、150C及び映像表示装置としての表示装置160を含む。
 図10に示されるように、監視レコーダ210は、通信I/F部111と、出力I/F部112と、接続I/F部113と、記録部220と、再生部230と、プログラム起動制御部240と、通知部145とを備える。実施の形態2に係る監視レコーダ210は、記録部220、再生部230及びプログラム起動制御部240以外の構成については、実施の形態1に係る監視レコーダ210と同様である。
Embodiment 2. FIG.
FIG. 10 is a block diagram schematically showing the configuration of the monitoring recorder 210 which is the information processing apparatus according to the second embodiment. In FIG. 10, a monitoring system 200 including a monitoring recorder 210 includes a plurality of cameras 150A, 150B, and 150C as monitoring cameras and a display device 160 as a video display device in addition to the monitoring recorder 110.
As shown in FIG. 10, the monitoring recorder 210 includes a communication I / F unit 111, an output I / F unit 112, a connection I / F unit 113, a recording unit 220, a playback unit 230, and program activation control. Unit 240 and a notification unit 145. The configuration of the monitoring recorder 210 according to the second embodiment is the same as that of the monitoring recorder 210 according to the first embodiment, except for the recording unit 220, the reproduction unit 230, and the program activation control unit 240.
 記録部220は、記録系プログラム記憶部121と、記録系ワークメモリ122と、情報格納部123と、記録系CPU224とを備える。実施の形態2における記録部220は、記録系CPU224以外の構成は、実施の形態1における記録部120と同様である。
 再生部230は、再生系プログラム記憶部131と、再生系ワークメモリ132と、再生系CPU233とを備える。実施の形態2における再生部230は、再生系CPU233以外の構成は、実施の形態1における再生部130と同様である。
 図10に示されているように、実施の形態2に係る監視レコーダ210では、記録系CPU224と、再生系CPU233との間が直接接続されていない。
The recording unit 220 includes a recording system program storage unit 121, a recording system work memory 122, an information storage unit 123, and a recording system CPU 224. The configuration of the recording unit 220 in the second embodiment is the same as that of the recording unit 120 in the first embodiment except for the recording system CPU 224.
The playback unit 230 includes a playback system program storage unit 131, a playback system work memory 132, and a playback system CPU 233. The configuration of the playback unit 230 in the second embodiment is the same as that of the playback unit 130 in the first embodiment except for the playback system CPU 233.
As shown in FIG. 10, in the monitoring recorder 210 according to the second embodiment, the recording system CPU 224 and the reproduction system CPU 233 are not directly connected.
 図11は、実施の形態2に係るプログラム起動制御部240の構成を概略的に示すブロック図である。
 図示するように、プログラム起動制御部240は、バージョン制御部141、バージョン記憶部242、時間計測部143及び再起動制御部144を備える。図示するように、記録系CPU224、再生系CPU233及びプログラム起動制御部240は、信号線L11~L19及び信号線L21で接続されている。
 実施の形態2におけるプログラム起動制御部240のバージョン記憶部242は、記録系CPU224の他に、再生系CPU233にも接続されている。
 これにより、実施の形態2では、バージョン記憶部242は、記録系CPU224の他、再生系CPU233にも、起動するプログラムのバージョン情報を通知する。
 従って、再生系CPU233は、記録系CPU224から起動するプログラムのバージョン情報を取得しないで、直接、バージョン記憶部242からバージョン情報を取得する。
 また、記録系CPU224は、再生系CPU233に対してバージョン情報を通知する処理を行わなくてよい。
FIG. 11 is a block diagram schematically showing the configuration of the program activation control unit 240 according to the second embodiment.
As illustrated, the program activation control unit 240 includes a version control unit 141, a version storage unit 242, a time measurement unit 143, and a restart control unit 144. As shown in the figure, the recording system CPU 224, the reproduction system CPU 233, and the program activation control unit 240 are connected by signal lines L11 to L19 and a signal line L21.
The version storage unit 242 of the program activation control unit 240 in the second embodiment is connected to the reproduction system CPU 233 in addition to the recording system CPU 224.
Thereby, in the second embodiment, the version storage unit 242 notifies the playback system CPU 233 of the version information of the program to be started in addition to the recording system CPU 224.
Accordingly, the playback system CPU 233 acquires version information directly from the version storage unit 242 without acquiring version information of the program to be started from the recording system CPU 224.
Further, the recording system CPU 224 does not have to perform a process of notifying the playback system CPU 233 of version information.
 従って、図5に示されているフローチャートでは、ステップS14において、バージョン記憶部242は、記録系CPU224だけでなく、再生系CPU233にもバージョン情報を指定する。再生系CPU233は、バージョン記憶部242からバージョン情報が通知された瞬間にこれを参照しなくてもよく、再生系ブートローダの起動が完了し、再生系プログラムを起動するときに参照すればよい。なお、バージョン記憶部242は、再生系CPU233が再生系プログラムの起動を開始するまで、バージョン情報の通知をし続ける必要がある。 Therefore, in the flowchart shown in FIG. 5, in step S14, the version storage unit 242 specifies version information not only for the recording system CPU 224 but also for the playback system CPU 233. The playback system CPU 233 does not need to refer to the version information from the version storage unit 242 at the moment when the version information is notified, and may refer to it when the playback system boot loader is started and the playback system program is started. Note that the version storage unit 242 needs to continue to notify the version information until the playback system CPU 233 starts to start the playback system program.
 また、図6に示されているフローチャートでは、再生系CPU233は、ステップS34において、バージョン記憶部242からバージョン情報を取得する。
 さらに、図8に示されているフローチャートでは、記録系CPU224は、ステップS44における起動プログラムのバージョン情報の通知を行わない。
In the flowchart shown in FIG. 6, the reproduction system CPU 233 acquires version information from the version storage unit 242 in step S34.
Furthermore, in the flowchart shown in FIG. 8, the recording system CPU 224 does not notify the version information of the activation program in step S44.
 以上に説明したように、実施の形態2によれば、上記実施の形態1における(1)~(8)の効果に加えて、下記の(9)及び(10)の効果を得ることができる。
 (9)直接、再生系CPU233と記録系CPU224が接続されなくても良く、互いが接続できるインタフェースを持っていなくてもよい。
 (10)記録系CPU224において、記録系OS又は記録系アプリケーションプログラムの起動が完了しなかった場合に、プログラム起動制御部240が再生系CPU233に再生系プログラムの強制起動を通知するとき(図5のステップS21)に、再生系CPU233に起動プログラムのバージョンを直接指定することができるため、再生系CPU233を、エラー処理等の目的に応じたプログラムで起動させることができる。
As described above, according to the second embodiment, in addition to the effects (1) to (8) in the first embodiment, the following effects (9) and (10) can be obtained. .
(9) The reproduction system CPU 233 and the recording system CPU 224 may not be directly connected, and may not have an interface that can be connected to each other.
(10) When the recording system CPU 224 does not complete the activation of the recording system OS or the recording system application program, the program activation control unit 240 notifies the reproduction system CPU 233 of the forced activation of the reproduction system program (FIG. 5). In step S21), since the version of the activation program can be directly specified to the reproduction system CPU 233, the reproduction system CPU 233 can be activated by a program according to the purpose such as error processing.
 実施の形態1及び2において、プログラム起動制御部140、240の機能は、電子回路等のハードウェア資源のみにより実現されてもよいし、ハードウェア資源とソフトウェア資源との協働により実現されてもよい。ハードウェア資源とソフトウェア資源の協働により実現される場合には、プログラム起動制御部140、240の機能は、例えば、コンピュータが対応するコンピュータプログラムを実行することによって実現される。より具体的には、プログラム起動制御部140、240の機能は、ROM等の記憶媒体に記憶されたコンピュータプログラムを、RAM等の主記憶装置に呼び出して、CPUが実行することによって実現される。コンピュータプログラムは、光ディスク等のコンピュータ読み取り可能な記憶媒体に記憶されて提供されてもよいし、インターネット等の通信回路を介して提供されてもよい。 In the first and second embodiments, the functions of the program activation control units 140 and 240 may be realized only by hardware resources such as an electronic circuit, or may be realized by cooperation of hardware resources and software resources. Good. When realized by the cooperation of hardware resources and software resources, the functions of the program activation control units 140 and 240 are realized, for example, by a computer executing a corresponding computer program. More specifically, the functions of the program activation control units 140 and 240 are realized by calling a computer program stored in a storage medium such as a ROM to a main storage device such as a RAM and executing it by the CPU. The computer program may be provided by being stored in a computer-readable storage medium such as an optical disk, or may be provided via a communication circuit such as the Internet.
 また、本発明は、上記の実施の形態1及び2に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の態様に変更することができる。 Further, the present invention is not limited to the above-described first and second embodiments, and can be changed to various modes within a range not departing from the gist of the present invention.
 また、本発明が適用可能な装置は、映像記録再生装置のうちの監視レコーダに限られない。複数のCPUの起動動作に予め定まった順序があり、少なくとも、いずれかの方法で、複数のCPU間で情報のやり取りを行うことのできる機能を有している装置であれば、監視レコーダ以外の映像記録再生装置、録画再生機能を備えたテレビ受像機、パーソナルコンピュータ、映像保存印刷機能を備えたプリンター、スマートフォン又はタブレット端末のような携帯情報端末、及び、ゲーム機等のような様々な種類の装置に適用することが可能である。 The apparatus to which the present invention can be applied is not limited to the monitoring recorder of the video recording / reproducing apparatus. If there is a predetermined order in the activation operation of the plurality of CPUs, and at least a device having a function capable of exchanging information between the plurality of CPUs by any method, other than the monitoring recorder Various types of video recording and playback devices, television receivers with recording and playback functions, personal computers, printers with video storage and printing functions, portable information terminals such as smartphones or tablet terminals, and game machines It can be applied to a device.
 また、本発明は、構成に必要なCPUの数に限られない。実施の形態1及び2ではCPUが2つの場合で説明したが、例えばCPUが3つの場合でも本発明を該装置に適用することが可能である。その場合、再起動のためのリセット信号を除いて各CPUとプログラム起動制御部140、240と間の接続に必要な信号線は実施の形態1では6本、実施の形態2では9本で構成可能である。CPUが4つ以上の場合でも同様に構成が可能である。 Further, the present invention is not limited to the number of CPUs required for the configuration. Although the first and second embodiments have been described with two CPUs, the present invention can be applied to the apparatus even when there are three CPUs, for example. In that case, except for the reset signal for restart, the signal lines necessary for connection between each CPU and the program start control units 140 and 240 are configured in six in the first embodiment and nine in the second embodiment. Is possible. The same configuration is possible even when there are four or more CPUs.
 図4及び図11に示されている記録系CPU124、224、再生系CPU133、233及びプログラム起動制御部140、240の接続例は、一つの例であって、この例に限定されるものではない、例えば、記録系CPU124、224及び再生系CPU133、233の位置を逆にして、プログラム起動制御部140、240に接続してもよい。このような場合には、記録系CPU124、224よりも先に再生系CPU133、233が起動され、また、再生系CPU133、233から記録系CPU124、224にバージョン情報が通知され、さらに、図9に示されているような制御は、記録系CPU124、224と、プログラム起動制御部140、240との間で行われる。 The connection examples of the recording system CPUs 124 and 224, the playback system CPUs 133 and 233, and the program activation control units 140 and 240 shown in FIGS. 4 and 11 are one example, and are not limited to this example. For example, the recording system CPUs 124 and 224 and the reproduction system CPUs 133 and 233 may be connected in reverse to the program activation control units 140 and 240. In such a case, the reproduction system CPUs 133 and 233 are activated before the recording system CPUs 124 and 224, and the reproduction system CPUs 133 and 233 notify the recording system CPUs 124 and 224 of the version information. The control as shown is performed between the recording CPUs 124 and 224 and the program activation control units 140 and 240.
 100,200 監視システム、 110,210 監視レコーダ、 111 通信I/F部、 112 出力I/F部、 113 接続I/F部、 120,220 記録部、 121 記録系プログラム記憶部、 122 記録系ワークメモリ、 123 情報格納部、 124,224 記録系CPU、 130,230 再生部、 131 再生系プログラム記憶部、 132 再生系ワークメモリ、 133,233 再生系CPU、 140,240 プログラム起動制御部、 141 バージョン制御部、 142,242 バージョン記憶部、 143 時間計測部、 144 再起動制御部、 145 通知部、 150 カメラ、 160 表示装置。 100, 200 monitoring system, 110, 210 monitoring recorder, 111 communication I / F unit, 112 output I / F unit, 113 connection I / F unit, 120, 220 recording unit, 121 recording system program storage unit, 122 recording system work Memory, 123 information storage unit, 124, 224 recording system CPU, 130, 230 playback unit, 131 playback system program storage unit, 132 playback system work memory, 133,233 playback system CPU, 140, 240 program start control unit, 141 version Control unit, 142,242 version storage unit, 143 time measurement unit, 144 restart control unit, 145 notification unit, 150 cameras, 160 display device.

Claims (4)

  1.  第1の処理を行うための第1のプログラム、及び、当該第1のプログラムと別のバージョンの第2のプログラムを記憶する記億部と、
     前記第1のプログラム又は前記第2のプログラムを起動して、前記第1の処理を行う第1の処理部と、
     前記第1の処理部における起動処理を制御するプログラム起動制御部と
     を備え、
     前記プログラム起動制御部は、前記第1の処理部における起動処理を制御するための制御信号を前記第1の処理部に送信する第1の信号線と、当該制御信号に基づく応答信号を前記第1の処理部から受信する第2の信号線によって、前記第1の処理部と接続されており、
     前記第1の処理部は、前記応答信号をオン又はオフすることで、前記プログラム起動制御部に応答を行うこと
     を特徴とする情報処理装置。
    A storage unit for storing a first program for performing the first process and a second program of a different version from the first program;
    A first processing unit that activates the first program or the second program to perform the first processing;
    A program activation control unit for controlling the activation process in the first processing unit,
    The program activation control unit transmits a control signal for controlling activation processing in the first processing unit to the first processing unit, and a response signal based on the control signal is transmitted to the first processing unit. Connected to the first processing unit by a second signal line received from one processing unit;
    The information processing apparatus according to claim 1, wherein the first processing unit responds to the program activation control unit by turning the response signal on or off.
  2.  前記第1の処理部は、前記第1のプログラム及び前記第2のプログラムの何れを起動するかを示すバージョン情報を前記プログラム起動制御部に通知する第3の信号線で前記プログラム起動制御部に接続されており、
     前記第1の処理部は、前記第3の信号線の信号をオン又はオフすることで、前記バージョン情報を前記プログラム起動制御部に通知すること
     を特徴とする請求項1に記載の情報処理装置。
    The first processing unit notifies the program activation control unit by a third signal line that notifies the program activation control unit of version information indicating which of the first program and the second program is activated. Connected,
    The information processing apparatus according to claim 1, wherein the first processing unit notifies the program activation control unit of the version information by turning on or off a signal of the third signal line. .
  3.  第2の処理を行うための第3のプログラムを起動して、前記第2の処理を行う第2の処理部を備え、
     前記プログラム起動制御部は、前記第1の処理部が前記第1のプログラムの起動に失敗した場合又は再起動が必要な場合に、前記第1の処理部及び前記第2の処理部に再起動をさせること
     を特徴とする請求項1又は2に記載の情報処理装置。
    A second processing unit for starting the third program for performing the second processing and performing the second processing;
    The program start control unit restarts the first processing unit and the second processing unit when the first processing unit fails to start the first program or when restarting is required. The information processing apparatus according to claim 1, wherein:
  4.  第1の信号線によって、第1の処理を行うための第1のプログラム、又は、当該第1のプログラムと別のバージョンの第2のプログラムを起動して、当該第1の処理を行う第1の処理部の起動処理を制御するための制御信号をプログラム起動制御部から前記第1の処理部に送信し、
     第2の信号線において、前記制御信号に基づく応答信号をオン又はオフすることで、前記第1の処理部から前記プログラム起動制御部に応答すること
     を特徴とする起動方法。
    The first signal line is used to start the first program for performing the first process or the second program of a version different from the first program to perform the first process. A control signal for controlling the startup processing of the processing unit is transmitted from the program startup control unit to the first processing unit,
    An activation method comprising: responding to the program activation control unit from the first processing unit by turning on or off a response signal based on the control signal in a second signal line.
PCT/JP2015/076112 2014-12-15 2015-09-15 Information processing device and startup method WO2016098408A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016509187A JP5933875B1 (en) 2014-12-15 2015-09-15 Information processing apparatus and activation method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014-252626 2014-12-15
JP2014252626 2014-12-15

Publications (1)

Publication Number Publication Date
WO2016098408A1 true WO2016098408A1 (en) 2016-06-23

Family

ID=56126310

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/076112 WO2016098408A1 (en) 2014-12-15 2015-09-15 Information processing device and startup method

Country Status (1)

Country Link
WO (1) WO2016098408A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1011293A (en) * 1996-06-27 1998-01-16 Nec Corp Information processor
JP2001109629A (en) * 1999-10-05 2001-04-20 Toshiba Corp Device and method for controlling boot of cpu
JP2002049509A (en) * 2000-08-01 2002-02-15 Hitachi Ltd Data processing system
JP2002312334A (en) * 2001-04-16 2002-10-25 Sharp Corp Multiprocessor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1011293A (en) * 1996-06-27 1998-01-16 Nec Corp Information processor
JP2001109629A (en) * 1999-10-05 2001-04-20 Toshiba Corp Device and method for controlling boot of cpu
JP2002049509A (en) * 2000-08-01 2002-02-15 Hitachi Ltd Data processing system
JP2002312334A (en) * 2001-04-16 2002-10-25 Sharp Corp Multiprocessor system

Similar Documents

Publication Publication Date Title
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
TWI386847B (en) Method of safe and recoverable firmware update and device using the same
CN103827834B (en) A kind of moving method of internal storage data, computing machine and device
CN101329632B (en) Method and apparatus for starting CPU by BOOT
WO2016173537A1 (en) Setting startup parameter and controlling startup of mainboard
US8055887B2 (en) Dynamically updating barcode data
WO2015074232A1 (en) Method for migrating memory data, computer and device
US10223217B2 (en) Information processing device, method for booting information processing device, and non-transitory recording medium
CN102184158A (en) Daughter board with two-stage FPGA chip and collocation method of two-stage FPGA chip
CN101373448A (en) Computer system with remote management
TW202223655A (en) Computer system and method capable of self-monitoring and restoring an operation of operating system
JP5933875B1 (en) Information processing apparatus and activation method
WO2016098408A1 (en) Information processing device and startup method
JP2011209978A (en) Information processing apparatus, and component replacement history and operation management apparatus and system
JP6583942B1 (en) BMC, determination method and BMC firmware
WO2016136014A1 (en) Monitoring recorder
JP5910413B2 (en) Information processing apparatus, activation program, and activation method
CN114020308A (en) Camera equipment upgrading method, device, equipment and medium
US10205841B2 (en) Information processing apparatus, control method of information processing apparatus, and storage medium
JP6168238B2 (en) Video recording / reproducing apparatus, surveillance recorder apparatus, and video recording / reproducing method
US20230092303A1 (en) Information processing apparatus, information processing method and non-transitory recording medium
JP2013037502A (en) Computer device and program therefor
US20160231938A1 (en) Storage control device and control method in storage control device
JP2019016218A (en) Information processing device, control device, and control method of information processing device
JP6465998B2 (en) Video recording / reproducing apparatus and activation method

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016509187

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15869616

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15869616

Country of ref document: EP

Kind code of ref document: A1