JP2017167881A - Storage device, storage method, and storage program - Google Patents

Storage device, storage method, and storage program Download PDF

Info

Publication number
JP2017167881A
JP2017167881A JP2016053509A JP2016053509A JP2017167881A JP 2017167881 A JP2017167881 A JP 2017167881A JP 2016053509 A JP2016053509 A JP 2016053509A JP 2016053509 A JP2016053509 A JP 2016053509A JP 2017167881 A JP2017167881 A JP 2017167881A
Authority
JP
Japan
Prior art keywords
unit
connection setting
storage unit
storage
battery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016053509A
Other languages
Japanese (ja)
Other versions
JP6374427B2 (en
Inventor
佐藤 真人
Masato Sato
真人 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2016053509A priority Critical patent/JP6374427B2/en
Publication of JP2017167881A publication Critical patent/JP2017167881A/en
Application granted granted Critical
Publication of JP6374427B2 publication Critical patent/JP6374427B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To provide a device, a method and a program which prevent omission of data and store data while suppressing electric power consumption even if power failure occurs.SOLUTION: A storage device comprises: a first storage part; a second storage part which works at less electric power consumption and stores data including at least one of image data and voice data; a transfer part which transfers data stored by the second storage part at faster speed; a battery charged by a commercial power supply; a power supply monitoring part which outputs a power source disconnection signal when detection is made that a voltage of the commercial power supply is a predetermined value or less; and a connection setting part which sets either a first connection setting in which each of the first storage part, the second storage part and the transfer part is connected to the battery, or a second connection setting in which the second storage part is connected to the battery, and the first storage part and the transfer part are not connected to the battery. The connection setting part sets to the first connection setting until the power supply monitoring part outputs the power source disconnection signal, and switches to the second connection setting when the power source disconnection signal is output.SELECTED DRAWING: Figure 5

Description

本発明は、例えば画像データや音声データ等を記憶する記憶装置、記憶方法及び記憶プログラムである。   The present invention is a storage device, a storage method, and a storage program that store, for example, image data, audio data, and the like.

特許文献1には、停電時に、電源を補助バッテリへ切り換えて、AV(Audio Visual)データの記録媒体を消費電力の少ないものへ切り換える録画装置が開示されている。すなわち、特許文献1に記載の発明では、停電が発生するまでの通常状態のときには、商用電源を用いて録画を行い、HDD(Hard Disk Drive)にAVデータを記憶する。また、特許文献1に記載の録画装置は、停電が発生した場合に、電源を商用電源から補助バッテリに切り換えた後に、接続をHDDからHDDよりも消費電力の少ないフラッシュメモリへ切り換えて、AVデータをフラッシュメモリに記憶する。また他にも、本発明に関連する技術が、特許文献2―5に開示されている。   Patent Document 1 discloses a recording apparatus that switches the power source to an auxiliary battery and switches the recording medium of AV (Audio Visual) data to one with low power consumption in the event of a power failure. That is, in the invention described in Patent Document 1, in a normal state until a power failure occurs, recording is performed using a commercial power source, and AV data is stored in an HDD (Hard Disk Drive). In the recording device described in Patent Document 1, in the event of a power failure, the power source is switched from a commercial power source to an auxiliary battery, and then the connection is switched from the HDD to a flash memory that consumes less power than the HDD. Is stored in the flash memory. In addition, techniques related to the present invention are disclosed in Patent Documents 2-5.

特開2015―76730号公報JP 2015-76730 A 特開2008―141636号公報JP 2008-141636 A 特開2005―302226号公報JP 2005-302226 A 特開2005―044432号公報Japanese Patent Laying-Open No. 2005-044432 特開平5―53931号公報JP-A-5-53931

しかし、特許文献1に記載されている発明では、停電が発生したときに電源を商用電源から補助バッテリへ切り換えるので、電源の瞬断が発生してしまう。これにより、HDDやフラッシュメモリ等の記録媒体へ保存するAVデータが欠落することがあった。   However, in the invention described in Patent Document 1, since the power source is switched from the commercial power source to the auxiliary battery when a power failure occurs, an instantaneous interruption of the power source occurs. As a result, AV data stored in a recording medium such as an HDD or a flash memory may be lost.

本発明に係る記憶装置は、転送データを記憶する第1の記憶部と、第1の記憶部より少ない消費電力で動作し、第1の記憶部よりも速い速度で、画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、第2の記憶部が記憶した取得データを転送データとして転送する転送部と、所定の電源から供給される商用電源よって充電され、電源を出力するバッテリと、商用電源の電圧が所定の値以下であることを検出した際、電源断信号を出力する電源監視部と、第1の記憶部、第2の記憶部及び転送部との各々をバッテリに接続する第1の接続設定と、第2の記憶部をバッテリに接続し、第1の記憶部及び転送部とをバッテリに接続しない第2の接続設定とのどちらかを設定する接続設定部とを備え、電源監視部が電源断信号を出力するまでは、接続設定部は第1の接続設定に設定し、電源監視部が電源断信号を出力したとき、接続設定部は第1の接続設定から第2の接続設定へ切り換える。   A storage device according to the present invention operates with a first storage unit that stores transfer data, power consumption less than that of the first storage unit, and image data and audio data that are faster than the first storage unit. A second storage unit that stores acquisition data including at least one of the following, a transfer unit that transfers the acquisition data stored in the second storage unit as transfer data, and a commercial power source supplied from a predetermined power source, A battery that outputs power, a power monitoring unit that outputs a power-off signal when it is detected that the voltage of the commercial power source is a predetermined value or less, a first storage unit, a second storage unit, and a transfer unit; 1st connection setting which connects each of these to a battery, 2nd memory | storage part is connected to a battery, and the 1st memory | storage part and the transfer part 2nd connection setting which does not connect to a battery is set A power supply monitoring unit. Until the power-off signal is output, the connection setting unit sets the first connection setting. When the power supply monitoring unit outputs the power-off signal, the connection setting unit switches from the first connection setting to the second connection setting. Switch.

本発明に係る記憶方法は、転送データを記憶する第1の記憶部と、第1の記憶部より少ない消費電力で動作し、第1の記憶部よりも速い速度で画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、前記第2の記憶部が記憶した前記取得データを前記転送データとして転送する転送部と、所定の電源から供給される商用電源によって充電され、電源を出力するバッテリと、を備える記憶装置の記憶方法であって、前記第1の記憶部と、前記第2の記憶部及び前記転送部との各々を前記バッテリに接続する第1の接続設定に設定する第1接続ステップと、前記商用電源の電圧が所定の値以下であるとき、第1の接続設定から、前記第2の記憶部を前記バッテリに接続し、前記第1の記憶部及び前記転送部を前記バッテリに接続しない第2の接続設定へ切り替える第2接続ステップと、を含む。   A storage method according to the present invention operates with a first storage unit that stores transfer data, and with less power consumption than the first storage unit, and between image data and audio data at a faster speed than the first storage unit. Charged by a second storage unit that stores acquisition data including at least one, a transfer unit that transfers the acquisition data stored in the second storage unit as the transfer data, and a commercial power source supplied from a predetermined power source And a battery that outputs a power source, wherein the first storage unit, the second storage unit, and the transfer unit are each connected to the battery. A first connection step for setting connection, and when the voltage of the commercial power source is equal to or lower than a predetermined value, the second storage unit is connected to the battery from the first connection setting, and the first storage And the transfer unit Includes a second connecting step of switching to the second connection setup is not connected to the battery, the.

本発明に係る記憶プログラムは、転送データを記憶する第1の記憶部と、第1の記憶部より少ない消費電力で動作し、第1の記憶部よりも速い速度で画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、第2の記憶部が記憶した取得データを転送データとして転送する転送部と、所定の電源から供給される商用電源によって充電され、電源を出力するバッテリと、を備える記憶装置の記憶方法であって、第1の記憶部と、第2の記憶部及び転送部との各々をバッテリに接続する第1の接続設定に設定する第1接続ステップと、商用電源の電圧が所定の値以下であるとき、第1の接続設定から、第2の記憶部をバッテリに接続し、第1の記憶部及び転送部をバッテリに接続しない第2の接続設定へ切り替える第2接続ステップと、を含む処理をコンピュータに行わせる。   A storage program according to the present invention operates with a first storage unit that stores transfer data, power consumption less than that of the first storage unit, and between image data and audio data at a faster speed than the first storage unit. A second storage unit that stores acquisition data including at least one, a transfer unit that transfers the acquisition data stored in the second storage unit as transfer data, and a commercial power source supplied from a predetermined power source, A first storage unit configured to set a first storage unit, a second storage unit, and a transfer unit to a first connection setting for connecting to the battery. When the connection step and the voltage of the commercial power source are equal to or lower than a predetermined value, the second storage unit is connected to the battery and the first storage unit and the transfer unit are not connected to the battery from the first connection setting. Switch to the connection setting Causing a second connecting step, the process including the computer.

本発明は、停電が発生しても、消費電力を抑制しつつ、データの欠落を防いでデータを記憶する記憶装置等を提供するものである。 The present invention provides a storage device or the like that stores data while suppressing power consumption and preventing data loss even when a power failure occurs.

本発明の第1の実施形態における記憶装置の構成を示すブロック図である。It is a block diagram which shows the structure of the memory | storage device in the 1st Embodiment of this invention. 本発明の第1の実施形態における記憶装置の動作フローを示す図である。It is a figure which shows the operation | movement flow of the memory | storage device in the 1st Embodiment of this invention. 本発明の第1の実施形態における記憶装置の動作フローを示す図である。It is a figure which shows the operation | movement flow of the memory | storage device in the 1st Embodiment of this invention. 本発明の第1の実施形態における記憶装置の動作フローを示す図である。It is a figure which shows the operation | movement flow of the memory | storage device in the 1st Embodiment of this invention. 本発明の第2の実施形態における記憶装置の構成を示すブロック図である。It is a block diagram which shows the structure of the memory | storage device in the 2nd Embodiment of this invention. 本発明の第2の実施形態における記憶装置の動作フローを示す図である。It is a figure which shows the operation | movement flow of the memory | storage device in the 2nd Embodiment of this invention.

(第1の実施形態)
第1の実施形態における記憶装置10について、図1に基づき説明する。図1は、記憶装置10の構成を示すブロック図である。例えば、記憶装置10は、録画装置である。
(First embodiment)
The storage device 10 according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of the storage device 10. For example, the storage device 10 is a recording device.

記憶装置10は、電源供給部20と、電源部25と、記憶機器30と、SDRAM(Synchronous Dynamic Random Access Memory)35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と、制御部60とを備えている。また、電源部25は、電源監視部26と、接続設定部27と、バッテリ28とを備えている。また、記憶機器30は、第1の記憶部31と、第2の記憶部32と転送部33とを備えている。   The storage device 10 includes a power supply unit 20, a power supply unit 25, a storage device 30, an SDRAM (Synchronous Dynamic Random Access Memory) 35, a recording monitoring unit 40, a data acquisition unit 45, an AV input / output unit 50, The external peripheral input / output unit 55 and the control unit 60 are provided. The power supply unit 25 includes a power supply monitoring unit 26, a connection setting unit 27, and a battery 28. The storage device 30 includes a first storage unit 31, a second storage unit 32, and a transfer unit 33.

電源供給部20は、電源部25と接続されている。電源供給部20は、商用電源の入力を受ける。商用電源とは、電力会社等から電力消費者に届けられる電力を指す。電源供給部20は、商用電源をバッテリ28に供給する。具体的には、電源供給部20は、入力された商用電源を、所定の電圧に変換してバッテリ28へ出力する。これにより、バッテリ28が充電される。   The power supply unit 20 is connected to the power supply unit 25. The power supply unit 20 receives an input of commercial power. The commercial power source refers to electric power delivered from an electric power company or the like to an electric power consumer. The power supply unit 20 supplies commercial power to the battery 28. Specifically, the power supply unit 20 converts the input commercial power into a predetermined voltage and outputs it to the battery 28. Thereby, the battery 28 is charged.

電源部25は、電源供給部20と接続されている。また、電源部25は、接続設定部27が後述する第2の接続設定を設定しているとき、第2の記憶部32と、SDRAM35と、録画監視部40と、データ取得部45と、制御部60と接続する。   The power supply unit 25 is connected to the power supply unit 20. When the connection setting unit 27 sets a second connection setting to be described later, the power supply unit 25 controls the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the control. Connected to the unit 60.

電源監視部26は、商用電源の電圧が所定の値以下であることを検出した際、接続設定部27と録画監視部40とに電源断信号を出力する。一方で、電源監視部26は、商用電源の電圧が所定の値以下であることを検出した際、接続設定部27と制御部60とに電源断信号を出力してもよい。さらに、電源監視部26は、商用電源の電圧が所定の値を上回ることを検出した際、接続設定部27と録画監視部40に電源入信号を出力する。一方で、電源監視部26は、商用電源の電圧が所定の値を上回ることを検出した際、接続設定部27と制御部60とに電源入信号を出力してもよい。電源監視部26は、常に、例えば電源供給部20から電源部25へ出力される商用電源の電圧を監視している。これによって、電源監視部26は、常に商用電源の電圧が所定の値を上回るのか、所定の値以下であるのかを検出する。例えば、停電が発生したとき、商用電源の電圧の値は0となる。また、電源供給部26は、商用電源の電力を監視していても良い。この場合、電源監視部26は、常に商用電源の電力が所定の値を上回るのか、所定の値以下であるのかを検出する。   When the power monitoring unit 26 detects that the voltage of the commercial power source is equal to or lower than a predetermined value, the power monitoring unit 26 outputs a power cut signal to the connection setting unit 27 and the recording monitoring unit 40. On the other hand, the power supply monitoring unit 26 may output a power-off signal to the connection setting unit 27 and the control unit 60 when detecting that the voltage of the commercial power supply is not more than a predetermined value. Furthermore, the power supply monitoring unit 26 outputs a power-on signal to the connection setting unit 27 and the recording monitoring unit 40 when detecting that the voltage of the commercial power supply exceeds a predetermined value. On the other hand, the power supply monitoring unit 26 may output a power-on signal to the connection setting unit 27 and the control unit 60 when detecting that the voltage of the commercial power supply exceeds a predetermined value. The power supply monitoring unit 26 constantly monitors the voltage of the commercial power supply output from the power supply unit 20 to the power supply unit 25, for example. Thereby, the power supply monitoring unit 26 always detects whether the voltage of the commercial power supply is higher than a predetermined value or lower than a predetermined value. For example, when a power failure occurs, the value of the commercial power supply voltage is zero. Further, the power supply unit 26 may monitor the power of the commercial power supply. In this case, the power supply monitoring unit 26 always detects whether the power of the commercial power supply exceeds a predetermined value or less than a predetermined value.

接続設定部27は、第1の接続設定と、第2の接続設定とのどちらかを設定する。第1の接続設定とは、第1の記憶部31、第2の記憶部32及び転送部33との各々をバッテリ28に接続する設定である。また、第2の接続設定は、第2の記憶部32をバッテリ28に接続し、第1の記憶部31及び転送部33をバッテリ28に接続しない設定である。また、接続設定部27は、電源監視部26が電源断信号を出力するまでは第1の接続設定を設定する。また、接続設定部27は、電源監視部26が電源断信号を出力すると、第1の接続設定から第2の接続設定へ切り換える。さらに、接続設定部27は、電源入信号が入力されると、第2の接続設定から第1の接続設定へ切り換える。図1の例では、第1の接続設定は、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と、制御部60とにバッテリ28を接続する設定である。また第2の接続設定は、第2の記憶部32と、SDRAM35と、録画監視部40と、データ取得部45と、制御部60とにバッテリ28を接続する設定である。接続設定部27は、図示しない複数の電源遮断用のスイッチを備えてもよい。この場合、電源遮断用のスイッチのそれぞれは、第1の記憶部31、第2の記憶部32、転送部33、SDRAM35、録画監視部40、データ取得部45、AV入出力部50、外部ペリフェラル入出力部55及び制御部60毎に設けられている。また、電源遮断用のスイッチの各々は、上述の第1の記憶部31等とバッテリ28とが接続された状態か、接続されていない状態かを個別に切換えられるように設けられている。   The connection setting unit 27 sets either the first connection setting or the second connection setting. The first connection setting is a setting for connecting each of the first storage unit 31, the second storage unit 32, and the transfer unit 33 to the battery 28. The second connection setting is a setting in which the second storage unit 32 is connected to the battery 28 and the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. In addition, the connection setting unit 27 sets the first connection setting until the power monitoring unit 26 outputs a power-off signal. Further, the connection setting unit 27 switches from the first connection setting to the second connection setting when the power monitoring unit 26 outputs a power-off signal. Furthermore, when the power-on signal is input, the connection setting unit 27 switches from the second connection setting to the first connection setting. In the example of FIG. 1, the first connection setting includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the AV. In this setting, the battery 28 is connected to the input / output unit 50, the external peripheral input / output unit 55, and the control unit 60. The second connection setting is a setting for connecting the battery 28 to the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the control unit 60. The connection setting unit 27 may include a plurality of power shut-off switches (not shown). In this case, each of the power shut-off switches includes a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, a data acquisition unit 45, an AV input / output unit 50, and an external peripheral. It is provided for each input / output unit 55 and control unit 60. In addition, each of the power shut-off switches is provided so that it can be individually switched between the state where the first storage unit 31 and the like described above and the battery 28 are connected or not.

バッテリ28は、所定の電源から供給される商用電源によって充電され、電力を出力する。図1の例では、バッテリ28は、電源供給部20から供給される商用電源の一部によって充電される。そして、バッテリ28は、供給される商用電源の残部と充電による放電電力とを、バッテリ28の接続先へ出力する。供給される商用電源の残部とは、電源供給部20から供給される商用電源のうち、充電に使用されなかった部分を指す。また、バッテリ28は、接続設定部27の接続設定に応じて、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と、制御部60と個別に接続される。   The battery 28 is charged by a commercial power source supplied from a predetermined power source and outputs electric power. In the example of FIG. 1, the battery 28 is charged by a part of commercial power supplied from the power supply unit 20. Then, the battery 28 outputs the remaining portion of the supplied commercial power supply and the discharged power by charging to the connection destination of the battery 28. The remaining commercial power supply refers to a portion of the commercial power supplied from the power supply unit 20 that has not been used for charging. The battery 28 also includes a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, and a data acquisition unit according to the connection setting of the connection setting unit 27. 45, the AV input / output unit 50, the external peripheral input / output unit 55, and the control unit 60 are individually connected.

第1の記憶部31は、制御部60と接続されている。また、第1の記憶部31は、接続設定部27の接続設定に応じて、バッテリ28と接続される。第1の記憶部31は、転送データを記憶する。図1の例では、第1の記憶部31は、接続設定部27が第1の接続設定に設定しているとき、転送部33によって第2の記憶部32から転送される転送データを記憶する。また、第1の記憶部31は、制御部60から入力される制御信号に従って動作する。第1の記憶部31は、例えばHDD等である。   The first storage unit 31 is connected to the control unit 60. Further, the first storage unit 31 is connected to the battery 28 according to the connection setting of the connection setting unit 27. The first storage unit 31 stores transfer data. In the example of FIG. 1, the first storage unit 31 stores the transfer data transferred from the second storage unit 32 by the transfer unit 33 when the connection setting unit 27 is set to the first connection setting. . Further, the first storage unit 31 operates according to a control signal input from the control unit 60. The first storage unit 31 is, for example, an HDD.

第2の記憶部32は、制御部60と接続されている。また、第2の記憶部32は、接続設定部27の接続設定に応じて、バッテリ28と接続される。第2の記憶部32は、画像データと音声データとの少なくとも一方を含む取得データを記憶する。また、第2の記憶部32は、第1の記憶部31より少ない消費電力で動作し、第1の記憶部よりも速い速度で、取得データを記憶するように設定されている。図1の例では、第2の記憶部32は、データ取得部45から入力された取得データを記憶する。また、第2の記憶部32は、制御部60から入力される制御信号に従って動作する。第2の記憶部32は、フラッシュメモリ等である。   The second storage unit 32 is connected to the control unit 60. The second storage unit 32 is connected to the battery 28 according to the connection setting of the connection setting unit 27. The second storage unit 32 stores acquired data including at least one of image data and audio data. In addition, the second storage unit 32 is set to operate with less power consumption than the first storage unit 31 and to store acquired data at a faster speed than the first storage unit. In the example of FIG. 1, the second storage unit 32 stores the acquired data input from the data acquisition unit 45. Further, the second storage unit 32 operates according to a control signal input from the control unit 60. The second storage unit 32 is a flash memory or the like.

転送部33は、第2の記憶部31が記憶した取得データを転送データとして転送する。具体的には、転送部33は、接続設定部27が第1の接続設定に設定しているとき、第2の記憶部32が記憶した取得データを転送データとして第1の記憶部31に転送する。転送部33は、DMAC(Direct Memory Access Controller)等である。   The transfer unit 33 transfers the acquired data stored in the second storage unit 31 as transfer data. Specifically, when the connection setting unit 27 is set to the first connection setting, the transfer unit 33 transfers the acquired data stored in the second storage unit 32 to the first storage unit 31 as transfer data. To do. The transfer unit 33 is a DMAC (Direct Memory Access Controller) or the like.

SDRAM35は、制御部60と電源部25とに接続されている。また、SDRAM35は、制御部60から入力される制御信号に従って動作する。SDRAM35は、制御部60がデコード処理等の各種処理を行う際に用いるメモリである。例えば、SDRAM35は、制御部60がデコード処理を行う際に取得データを一時的に記憶する。   The SDRAM 35 is connected to the control unit 60 and the power supply unit 25. The SDRAM 35 operates according to a control signal input from the control unit 60. The SDRAM 35 is a memory used when the control unit 60 performs various processes such as a decoding process. For example, the SDRAM 35 temporarily stores acquired data when the control unit 60 performs a decoding process.

録画監視部40は、制御部60とバッテリ28とに接続されている。また、録画監視部40は、制御部60から入力される制御信号に従って動作する。録画監視部40は、現在の時刻を監視する。そして、録画監視部40は、現在の時刻が録画を開始する時刻又は終了する時刻であるか否かを判定する。例えば、録画監視部40は、ユーザから番組録画の入力を受け付けると、録画番組の開始時間、終了時間、チャンネル(局番)などの録画情報を取得する。そして、録画監視部40は、現在の時刻と前述の録画情報を参照して、録画を開始する時刻であるか否かを判定する。そして、録画監視部40は、録画を開始する時刻であると判定したとき、制御部60に録画の開始を指示する。また、録画監視部40は、電源監視部26から電源断信号が入力されたとき、制御部60に電源の断絶を通知する。さらに、録画監視部40は、電源監視部26から電源入信号が入力されたとき、制御部60に電源の入力を通知する。   The recording monitoring unit 40 is connected to the control unit 60 and the battery 28. Further, the recording monitoring unit 40 operates according to a control signal input from the control unit 60. The recording monitoring unit 40 monitors the current time. Then, the recording monitoring unit 40 determines whether or not the current time is a time when recording starts or ends. For example, when receiving a program recording input from the user, the recording monitoring unit 40 acquires recording information such as the start time, end time, and channel (station number) of the recorded program. Then, the recording monitoring unit 40 refers to the current time and the above-described recording information, and determines whether or not it is time to start recording. When the recording monitoring unit 40 determines that it is time to start recording, the recording monitoring unit 40 instructs the control unit 60 to start recording. In addition, the recording monitoring unit 40 notifies the control unit 60 of power interruption when a power interruption signal is input from the power monitoring unit 26. Further, the recording monitoring unit 40 notifies the control unit 60 of power input when a power-on signal is input from the power monitoring unit 26.

データ取得部45は、制御部60とバッテリ28と接続されている。データ取得部45は、画像データと音声データとの少なくとも一方を取得データとして取得する。データ取得部45は、第2の記憶部32へ取得データを出力する。図1の例では、データ取得部45は、制御部60を介して、デコード処理後の取得データを第2の記憶部32へ取得データを出力する。データ取得部45は、制御部60からの制御信号に従って動作する。また、データ取得部45は、例えばデジタル放送信号を受信するチューナ等である。   The data acquisition unit 45 is connected to the control unit 60 and the battery 28. The data acquisition unit 45 acquires at least one of image data and audio data as acquisition data. The data acquisition unit 45 outputs the acquisition data to the second storage unit 32. In the example of FIG. 1, the data acquisition unit 45 outputs the acquisition data after the decoding process to the second storage unit 32 via the control unit 60. The data acquisition unit 45 operates according to a control signal from the control unit 60. The data acquisition unit 45 is, for example, a tuner that receives a digital broadcast signal.

AV入出力部50は、制御部60と接続されている。また、AV入出力部50は、接続設定部27の接続設定に応じて、バッテリ28と接続される。AV入出力部50は、制御部60からの制御信号に従ってAVデータの入出力を行う。AV入出力部50は、外部機器に対して画像や音声のAVデータを入出力するインタフェースである。例えば、AV入出力部50は、図示しないモニタやスピーカ、マイクなどに接続されている。そして、AV入出力部50は、録画したAVデータをモニタ等に出力する。AV入出力部50は、HDMI(登録商標)(High−Definition Multimedia Interface)端子、D4端子、及びコンポジット端子等の少なくとも一つを備えている。   The AV input / output unit 50 is connected to the control unit 60. The AV input / output unit 50 is connected to the battery 28 according to the connection setting of the connection setting unit 27. The AV input / output unit 50 inputs / outputs AV data in accordance with a control signal from the control unit 60. The AV input / output unit 50 is an interface for inputting / outputting AV data of images and sounds to / from an external device. For example, the AV input / output unit 50 is connected to a monitor, a speaker, a microphone, and the like (not shown). The AV input / output unit 50 outputs the recorded AV data to a monitor or the like. The AV input / output unit 50 includes at least one of an HDMI (registered trademark) (High-Definition Multimedia Interface) terminal, a D4 terminal, and a composite terminal.

外部ペリフェラル入出力部55は、制御部60と接続されている。また、外部ペリフェラル入出力部55は、接続設定部27の接続設定に応じて、バッテリ28と接続される。外部ペリフェラル入出力部55は、制御部60からの制御信号に従って動作する。外部ペリフェラル入出力部55は、外部機器と各種制御データを入出力するインタフェース(I/F)である。外部ペリフェラル入出力部55は、USB端子、LAN(Local Area Network)端子(例えば、無線LAN端子等)等の少なくとも一つを備えている。   The external peripheral input / output unit 55 is connected to the control unit 60. The external peripheral input / output unit 55 is connected to the battery 28 according to the connection setting of the connection setting unit 27. The external peripheral input / output unit 55 operates according to a control signal from the control unit 60. The external peripheral input / output unit 55 is an interface (I / F) for inputting / outputting various control data to / from an external device. The external peripheral input / output unit 55 includes at least one of a USB terminal, a LAN (Local Area Network) terminal (for example, a wireless LAN terminal) and the like.

制御部60は、バッテリ28と、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と接続されている。制御部60は、接続設定部27が第1の接続設定に設定しているとき、少なくとも、第1の記憶部31と第2の記憶部32と転送部33を制御する。また、制御部60は、接続設定部27が第2の接続設定に設定しているとき、第1の記憶部31と転送部33を制御しない。図1の例では、制御部60は、接続設定部27が第1の接続設定に設定しているとき、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55とを制御する。図1の例では、制御部60は、電源監視部26が電源断信号を出力するまでと、電源監視部26が電源入信号を出力した後において、接続設定部27が第1の接続設定を設定していると判断する。一方で、制御部60は、録画監視部40が電源の断絶を通知するまでと、録画監視部40が電源の入力を通知した後において、接続設定部27が第1の接続設定を設定していると判断してもよい。また、制御部60は、接続設定部27が第2の接続設定を設定しているとき、第2の記憶部32と、SDRAM35と、録画監視部40と、データ取得部45とを制御する。図1の例では、制御部60は、電源監視部26が電源断信号を出力してから電源入信号を出力するまで、接続設定部27が第2の接続設定を設定していると判断する一方で、制御部60は、録画監視部40が電源の断絶を通知してから電源の入力を通知するまで、接続設定部27が第2の接続設定を設定していると判断しても良い。制御部60は、例えばMPEG(Motion Picture Experts Group)デコーダLSI(Large Scale Integration)である。制御部60は、データ取得部45が取得した取得データを復号して、AVデータに変換する。AVデータは録画番組の映像データと音声データを含んでいる。例えば、制御部60は、データ取得部45が取得したフルセグメント(12セグ)の放送信号を、MPEG−2/H.264方式でデコード処理する。さらに、制御部60は、外部ペリフェラル入出力部55やAV入出力部50とのデータの受け渡しを行う。   The control unit 60 includes a battery 28, a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, a data acquisition unit 45, and an AV input / output unit 50. And the external peripheral input / output unit 55. When the connection setting unit 27 is set to the first connection setting, the control unit 60 controls at least the first storage unit 31, the second storage unit 32, and the transfer unit 33. Further, the control unit 60 does not control the first storage unit 31 and the transfer unit 33 when the connection setting unit 27 is set to the second connection setting. In the example of FIG. 1, when the connection setting unit 27 is set to the first connection setting, the control unit 60 includes the first storage unit 31, the second storage unit 32, the transfer unit 33, and the SDRAM 35. The video recording monitoring unit 40, the data acquisition unit 45, the AV input / output unit 50, and the external peripheral input / output unit 55 are controlled. In the example of FIG. 1, the control unit 60 causes the connection setting unit 27 to perform the first connection setting until the power monitoring unit 26 outputs a power-off signal and after the power monitoring unit 26 outputs a power-on signal. Judge that it is set. On the other hand, in the control unit 60, the connection setting unit 27 sets the first connection setting until the recording monitoring unit 40 notifies the disconnection of the power supply and after the recording monitoring unit 40 notifies the input of the power supply. You may judge that The control unit 60 controls the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, and the data acquisition unit 45 when the connection setting unit 27 sets the second connection setting. In the example of FIG. 1, the control unit 60 determines that the connection setting unit 27 has set the second connection setting until the power supply monitoring unit 26 outputs the power-off signal until the power-on signal is output. On the other hand, the control unit 60 may determine that the connection setting unit 27 has set the second connection setting until the recording monitoring unit 40 notifies the input of the power supply after notifying the disconnection of the power supply. . The control unit 60 is, for example, an MPEG (Motion Picture Experts Group) decoder LSI (Large Scale Integration). The control unit 60 decodes the acquired data acquired by the data acquiring unit 45 and converts it into AV data. AV data includes video data and audio data of a recorded program. For example, the control unit 60 converts the full-segment (12-segment) broadcast signal acquired by the data acquisition unit 45 into MPEG-2 / H. The decoding process is performed using the H.264 method. Furthermore, the control unit 60 exchanges data with the external peripheral input / output unit 55 and the AV input / output unit 50.

制御部60は、データ取得部45が取得した取得データを、SDRAM35を用いてデコード処理する。デコード処理の詳細は、後述する動作の説明で示す。そして、制御部60は、デコード処理後の取得データを出力する。制御部60は、デコード処理後の取得データを第2の記憶部32へ出力する。   The control unit 60 decodes the acquired data acquired by the data acquisition unit 45 using the SDRAM 35. Details of the decoding process will be described in the description of operations described later. Then, the control unit 60 outputs the acquired data after the decoding process. The control unit 60 outputs the acquired data after the decoding process to the second storage unit 32.

また、制御部60は、制御ブロック60a〜60gを備えている。制御ブロック60a〜60hのそれぞれは、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と個別に接続されている。制御部60は、制御ブロック60a〜60hを介して、制御ブロック60a〜60hのそれぞれの接続先(例えば、第1の記憶部31等)へ制御信号を出力する。さらに、複数の制御ブロック60a〜60hは、それぞれが図示しない制御信号遮断スイッチを備えている。制御部60は、制御信号遮断スイッチがONになったとき、ONになった制御信号遮断スイッチの接続先に対する制御信号の出力を停止する。例えば、制御部60は、制御ブロック60aが備える制御信号遮断スイッチがONになったとき、第1の記憶部31に対する制御信号の出力を停止する。また、制御部60は、制御ブロック60a〜60hの各制御信号遮断スイッチがOFFになったとき、OFFになった制御信号遮断スイッチを備える制御ブロックの接続先へ制御信号を出力する。例えば、制御部60は、制御ブロック60aの制御信号遮断スイッチがOFFになったとき、第1の記憶部31に対する制御信号を出力する。   The control unit 60 includes control blocks 60a to 60g. Each of the control blocks 60a to 60h includes a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, a data acquisition unit 45, and an AV input / output unit 50. And the external peripheral input / output unit 55 are individually connected. The control unit 60 outputs a control signal to each connection destination (for example, the first storage unit 31 and the like) of the control blocks 60a to 60h via the control blocks 60a to 60h. Further, each of the plurality of control blocks 60a to 60h includes a control signal cutoff switch (not shown). When the control signal cutoff switch is turned on, the control unit 60 stops outputting the control signal to the connection destination of the control signal cutoff switch that is turned on. For example, the control unit 60 stops outputting the control signal to the first storage unit 31 when a control signal cutoff switch included in the control block 60a is turned on. In addition, when the control signal cutoff switches of the control blocks 60a to 60h are turned off, the control unit 60 outputs a control signal to the connection destination of the control block including the control signal cutoff switch turned off. For example, the control unit 60 outputs a control signal for the first storage unit 31 when a control signal cutoff switch of the control block 60a is turned off.

本実施形態において、制御部60は、接続設定部27が第1の接続設定を設定しているときにおいて、制御ブロック60a〜60hに電源を供給する。このとき、制御部60は、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55とに、制御信号を出力する。また、制御部60は、接続設定部27が第2の接続設定を設定しているときにおいて、制御ブロック60b、60d〜60fに電源を供給する。このとき、制御部60は、第2の記憶部32と、SDRAM35と、録画監視部40と、データ取得部45とに、制御信号を出力する。   In the present embodiment, the control unit 60 supplies power to the control blocks 60a to 60h when the connection setting unit 27 is setting the first connection setting. At this time, the control unit 60 includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the AV input / output unit 50. The control signal is output to the external peripheral input / output unit 55. The control unit 60 supplies power to the control blocks 60b and 60d to 60f when the connection setting unit 27 is setting the second connection setting. At this time, the control unit 60 outputs control signals to the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, and the data acquisition unit 45.

次に図2、図3及び図4を用いて、記憶装置10の動作を説明する。図2〜図4は、記憶装置10の動作を示す図である。   Next, the operation of the storage device 10 will be described with reference to FIGS. 2 to 4 are diagrams illustrating the operation of the storage device 10.

まず、図2〜図4に示す動作フローを説明する下記の動作は、バッテリ28が、電源供給部20から供給される商用電源によって充電されていることを前提とする。また、電源供給部20に所定の値を上回る電圧の商用電源が入力されると、電源監視部26は、接続設定部27と録画監視部40とに電源入信号を出力するものとする。   First, the following operation for explaining the operation flow shown in FIGS. 2 to 4 is based on the premise that the battery 28 is charged by a commercial power source supplied from the power supply unit 20. Further, when commercial power having a voltage exceeding a predetermined value is input to the power supply unit 20, the power monitoring unit 26 outputs a power-on signal to the connection setting unit 27 and the recording monitoring unit 40.

電源供給部20に所定の値を上回る電圧の商用電源が入力されると、電源監視部26は、接続設定部27と録画監視部40とに電源入信号を出力し、接続設定部27は、第1の接続設定を設定する(S101)。これにより、接続設定部27は、第1の記憶部31と第2の記憶部32と転送部33とSDRAM35と録画監視部40とデータ取得部45とAV入出力部50と外部ペリフェラル入出力部55と制御部60とを、バッテリ28に接続する。   When commercial power having a voltage exceeding a predetermined value is input to the power supply unit 20, the power monitoring unit 26 outputs a power-on signal to the connection setting unit 27 and the recording monitoring unit 40, and the connection setting unit 27 First connection settings are set (S101). Accordingly, the connection setting unit 27 includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, the AV input / output unit 50, and the external peripheral input / output unit. 55 and the control unit 60 are connected to the battery 28.

バッテリ28は、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と、制御部60とに電源を出力する(S102)。具体的には、バッテリ28は、電源供給部20より供給される商用電源のうち、充電に使用しなかった部分を出力する。なお、バッテリ28は、充電による放電電力を出力しても良い。   The battery 28 includes a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, a data acquisition unit 45, an AV input / output unit 50, and an external peripheral input. Power is output to the output unit 55 and the control unit 60 (S102). Specifically, the battery 28 outputs a portion of the commercial power supplied from the power supply unit 20 that is not used for charging. Note that the battery 28 may output discharge power by charging.

録画監視部40は、現在の時刻が録画を開始する時刻であるかを判定する(S103)。   The recording monitoring unit 40 determines whether the current time is the time to start recording (S103).

録画監視部40は、現在の時刻が録画を開始する時刻であると判定されなかった場合(S103のNo)、所定の時間の経過後、もう一度判定を行う(S103)。   If it is not determined that the current time is the time to start recording (No in S103), the recording monitoring unit 40 determines again after a predetermined time has elapsed (S103).

録画監視部40が現在の時刻が録画を開始する時刻であると判定した場合(S103のYes)、電源監視部26は、商用電源の電圧が所定の値以下であるか否かを判定する(S104)。   When the recording monitoring unit 40 determines that the current time is the time to start recording (Yes in S103), the power supply monitoring unit 26 determines whether or not the voltage of the commercial power supply is equal to or lower than a predetermined value ( S104).

電源監視部26が商用電源の電圧が所定の値以下であることを検出した場合(S104のYes)、電源監視部26は、接続設定部27と録画監視部40に電源断信号を出力する(図3のS201)。   When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value (Yes in S104), the power supply monitoring unit 26 outputs a power-off signal to the connection setting unit 27 and the recording monitoring unit 40 ( S201 in FIG.

制御部60は、電源監視部26が商用電源の電圧が所定の値以下であることを検出しなかった場合(S104のNo)、制御ブロック60a〜60hのそれぞれの接続先に制御信号を出力する。そして、データ取得部45は、制御部60を介して、デコード処理後の取得データを第2の記憶部32へ出力する(S105)。そして、転送部33は、第2の記憶部32が記憶した取得データを転送データとして、第1の記憶部31へ出力する(S105)。このとき、制御部60は、制御ブロック60a〜60hを介して、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55とに制御信号を出力する。このステップにおける動作は、具体的には次のように行われる。データ取得部45が、デジタル信号である取得データを制御部60へ出力する。次に、制御部60は、デジタル信号である取得データをSDRAM35に記憶させる。そして、制御部60は、SDRAM35が記憶している取得データに対してデコード処理を行い、AVデータに変換する。制御部60は、変換した取得データを、SDRAM35から取り出して、第2の記憶部32へ出力する。このとき、SDRAM35は、記憶している取得データを削除する。第2の記憶部32は、出力された取得データを記憶する。最後に、転送部33は、第2の記憶部32が記憶した取得データを転送データとして、第1の記憶部31へ転送する。   When the power supply monitoring unit 26 does not detect that the voltage of the commercial power supply is equal to or lower than a predetermined value (No in S104), the control unit 60 outputs a control signal to each connection destination of the control blocks 60a to 60h. . And the data acquisition part 45 outputs the acquisition data after a decoding process to the 2nd memory | storage part 32 via the control part 60 (S105). Then, the transfer unit 33 outputs the acquired data stored in the second storage unit 32 to the first storage unit 31 as transfer data (S105). At this time, the control unit 60 includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the SDRAM 35, the recording monitoring unit 40, and the data acquisition unit via the control blocks 60a to 60h. 45, an AV input / output unit 50, and an external peripheral input / output unit 55. Specifically, the operation in this step is performed as follows. The data acquisition unit 45 outputs acquisition data that is a digital signal to the control unit 60. Next, the control unit 60 stores the acquired data that is a digital signal in the SDRAM 35. Then, the control unit 60 performs a decoding process on the acquired data stored in the SDRAM 35 and converts it into AV data. The control unit 60 takes out the converted acquired data from the SDRAM 35 and outputs it to the second storage unit 32. At this time, the SDRAM 35 deletes the stored acquired data. The second storage unit 32 stores the output acquired data. Finally, the transfer unit 33 transfers the acquired data stored in the second storage unit 32 to the first storage unit 31 as transfer data.

電源監視部26は、S105の処理と並行して、商用電源の電圧が所定の値以下であるか否かを判定する。(S106)
電源監視部26が商用電源の電圧が所定の値以下であることを検出した場合(S106のYes)、電源監視部26は図3に記載のS201の処理を行う。
The power supply monitoring unit 26 determines whether the voltage of the commercial power supply is equal to or lower than a predetermined value in parallel with the process of S105. (S106)
When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value (Yes in S106), the power supply monitoring unit 26 performs the process of S201 illustrated in FIG.

録画監視部40は、電源監視部26が商用電源の電圧が所定の値以下であることを検出しなかった場合(S106のNo)、現在の時刻が録画を終了する時刻であるか否かを判定する(S107)。   When the power supply monitoring unit 26 does not detect that the voltage of the commercial power supply is equal to or lower than a predetermined value (No in S106), the recording monitoring unit 40 determines whether or not the current time is the time when the recording ends. Determination is made (S107).

録画監視部40が現在の時刻が録画を終了する時刻でないと判定した場合(S107のNo)、制御部60及び転送部33は、S105の処理を継続する。   When the recording monitoring unit 40 determines that the current time is not the time for ending recording (No in S107), the control unit 60 and the transfer unit 33 continue the process of S105.

録画監視部40が現在の時刻が録画を終了する時刻であると判定した場合(S107のYes)、バッテリ28によるバッテリ28の接続先への電源の出力は停止される(S108)。さらに、制御部60は、データ取得部45によるデータの出力及び転送部33による転送を停止する(S108)。すなわち、S102の処理及びS105の処理は停止される。   When the recording monitoring unit 40 determines that the current time is the time to end the recording (Yes in S107), the output of the power to the connection destination of the battery 28 by the battery 28 is stopped (S108). Further, the control unit 60 stops the data output by the data acquisition unit 45 and the transfer by the transfer unit 33 (S108). That is, the process of S102 and the process of S105 are stopped.

なお、本実施形態における図2に示す動作では、S104とS106との処理において電源監視部26は、商用電源の電圧が所定の値以下であることを検出した場合、S201の処理を行うとした。しかし、前述の通り、電源監視部26は、常に商用電源の電圧が所定の値を上回るのか、所定の値以下であるのかを監視する。これにより、S101〜S106の処理のいずれかの間で、電源監視部26は、商用電源の電圧が所定の値以下であることを検出した場合、S201の処理を行うとしてもよい。   In the operation shown in FIG. 2 in the present embodiment, the power supply monitoring unit 26 performs the process of S201 when detecting that the voltage of the commercial power supply is equal to or lower than a predetermined value in the processes of S104 and S106. . However, as described above, the power supply monitoring unit 26 always monitors whether the voltage of the commercial power supply is higher than a predetermined value or lower than a predetermined value. Thereby, between any of the processes of S101 to S106, the power supply monitoring unit 26 may perform the process of S201 when detecting that the voltage of the commercial power supply is equal to or lower than a predetermined value.

電源監視部26が接続設定部27と録画監視部40に電源断信号を出力すると(S201)、接続設定部27は、第1の接続設定から第2の接続設定へ切り換える(S202)。すなわち、接続設定部27は、第2の記憶部32と、SDRAM35と、録画監視部40と、データ取得部45と、制御部60とにバッテリ28を接続する。   When the power monitoring unit 26 outputs a power cut signal to the connection setting unit 27 and the recording monitoring unit 40 (S201), the connection setting unit 27 switches from the first connection setting to the second connection setting (S202). That is, the connection setting unit 27 connects the battery 28 to the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the control unit 60.

バッテリ28は、第2の記憶部32とSDRAM35と録画監視部40とデータ取得部45と制御部60とに電源を供給する(S203)。具体的には、バッテリ28は、充電による放電電力を出力する。   The battery 28 supplies power to the second storage unit 32, the SDRAM 35, the recording monitoring unit 40, the data acquisition unit 45, and the control unit 60 (S203). Specifically, the battery 28 outputs discharge power by charging.

データ取得部45は、取得データを第2の記憶部32へ出力する(S204)。このとき制御部60は、制御ブロック60b、60d〜60fを介して、それぞれの接続先に制御信号を出力する。このステップにおける処理は、具体的には次のように行われる。データ取得部45が、デジタル信号である取得データを制御部60へ出力する。次に制御部60は、デジタル信号である取得データをSDRAM35に記憶させる。次に、制御部60は、SDRAM35が記憶している取得データに対してデコード処理を行い、AVデータに変換する。次に制御部60は、変換した取得データを、SDRAM35から取り出して、第2の記憶部32へ出力する。そして、SDRAM35は、記憶している取得データを削除する。最後に、第2の記憶部32は取得データを記憶する。このようにして、データ取得部45は、制御部60を介して、取得データを第2の記憶部32へ出力する。   The data acquisition unit 45 outputs the acquired data to the second storage unit 32 (S204). At this time, the control unit 60 outputs a control signal to each connection destination via the control blocks 60b and 60d to 60f. Specifically, the processing in this step is performed as follows. The data acquisition unit 45 outputs acquisition data that is a digital signal to the control unit 60. Next, the control unit 60 stores the acquired data, which is a digital signal, in the SDRAM 35. Next, the control unit 60 performs a decoding process on the acquired data stored in the SDRAM 35 and converts it into AV data. Next, the control unit 60 extracts the converted acquired data from the SDRAM 35 and outputs it to the second storage unit 32. Then, the SDRAM 35 deletes the stored acquired data. Finally, the second storage unit 32 stores acquired data. In this way, the data acquisition unit 45 outputs the acquired data to the second storage unit 32 via the control unit 60.

電源監視部26は、S204の処理と並行して、商用電源の電圧が所定の値を上回ることが検出されるか否かを判定する(S205)。   In parallel with the process of S204, the power supply monitoring unit 26 determines whether it is detected that the voltage of the commercial power supply exceeds a predetermined value (S205).

電源監視部26が商用電源の電圧が所定の値を上回ることを検出した場合(S205のYes)、電源監視部26は、接続設定部27と録画監視部40とに電源入信号を出力する(図4のS301)。   When the power supply monitoring unit 26 detects that the voltage of the commercial power supply exceeds a predetermined value (Yes in S205), the power supply monitoring unit 26 outputs a power-on signal to the connection setting unit 27 and the recording monitoring unit 40 ( (S301 in FIG. 4).

録画監視部40は、電源監視部26が商用電源の電圧が所定の値を上回ることを検出しなかった場合(S205のNo)、現在の時刻が録画を終了する時刻であるか否かを判定する(S206)。   If the power supply monitoring unit 26 does not detect that the voltage of the commercial power supply exceeds a predetermined value (No in S205), the recording monitoring unit 40 determines whether or not the current time is the time when the recording ends. (S206).

録画監視部40が現在の時刻が録画を終了する時刻であると判定しなかった場合(S206のNo)、記憶装置10は、S204の処理を継続する。   When the recording monitoring unit 40 does not determine that the current time is the time for ending recording (No in S206), the storage device 10 continues the process in S204.

録画監視部40が現在の時刻が録画を終了する時刻であると判定した場合(S206のYes)、バッテリ28による接続先への電源の出力を停止する(S207)。さらに、制御部60は、データ取得部45による取得データの出力を停止する(S207)。すなわち、S203の処理及びS204の処理は停止される。   When the recording monitoring unit 40 determines that the current time is the time to end the recording (Yes in S206), the output of the power source to the connection destination by the battery 28 is stopped (S207). Further, the control unit 60 stops the output of acquired data by the data acquiring unit 45 (S207). That is, the process of S203 and the process of S204 are stopped.

なお、記憶装置10は、S205において電源監視部26が商用電源の電圧が所定の値を上回ることを検出した場合、図4のS301の処理を行うとした。しかし、前述の通り、電源監視部26は、常に、電源供給部20から電源部25へ出力される商用電源の電圧又は電力を監視している。これにより、録画監視部40は、S301〜S305のいずれかの処理の間で、電源監視部26が商用電源の電圧が所定の値を上回ることを検出した場合、図4のS301の処理を行うとしても良い。   Note that the storage device 10 performs the process of S301 in FIG. 4 when the power supply monitoring unit 26 detects that the voltage of the commercial power supply exceeds a predetermined value in S205. However, as described above, the power supply monitoring unit 26 constantly monitors the voltage or power of the commercial power supply output from the power supply unit 20 to the power supply unit 25. Thereby, the recording monitoring unit 40 performs the process of S301 in FIG. 4 when the power supply monitoring unit 26 detects that the voltage of the commercial power supply exceeds a predetermined value during any of the processes of S301 to S305. It is also good.

接続設定部27は、電源監視部26によって電源入信号が出力されると(S301)、第2の接続設定から第1の接続設定へ切り換える(S302)。   When the power supply monitoring unit 26 outputs a power-on signal (S301), the connection setting unit 27 switches from the second connection setting to the first connection setting (S302).

バッテリ28は、第1の記憶部31と、第2の記憶部32と、転送部33と、SDRAM35と、録画監視部40と、データ取得部45と、AV入出力部50と、外部ペリフェラル入出力部55と、制御部60とに電源を出力する(S303)。   The battery 28 includes a first storage unit 31, a second storage unit 32, a transfer unit 33, an SDRAM 35, a recording monitoring unit 40, a data acquisition unit 45, an AV input / output unit 50, and an external peripheral input. Power is output to the output unit 55 and the control unit 60 (S303).

S303の処理が完了すると、記憶装置10は、図2のS105の処理を行う。   When the process of S303 is completed, the storage device 10 performs the process of S105 in FIG.

以上、第1の実施形態に係る記憶装置10の動作について説明した。   The operation of the storage device 10 according to the first embodiment has been described above.

以上のように、本実施形態に記載の記憶装置10は、第1の記憶部31と、第2の記憶部32と、転送部33と、バッテリ28と、電源監視部26と、接続設定部27とを備える。第1の記憶部31は、転送データを記憶する。第2の記憶部32は、第1の記憶部31より少ない消費電力で動作し、第1の記憶部31よりも速い速度で、画像データと音声データとの少なくとも一方を含む取得データを記憶する。転送部33は、第2の記憶部32が記憶した取得データを転送データとして転送する。バッテリ28は、所定の電源から供給される商用電源によって充電され、電源を出力する。電源監視部26は、商用電源の電圧が所定の値以下であることを検出した際、電源断信号を出力する。接続設定部27は、第1の接続設定と第2の接続設定のどちらかを接続する。第1の接続設定は、第1の記憶部31、第2の記憶部32及び転送部33をバッテリ27に接続する設定である。第2の接続設定は、第2の記憶部32をバッテリ28に接続し、第1の記憶部31及び転送部33をバッテリ28に接続しない設定である。接続設定部27は、電源監視部26が電源断信号を出力するまでは、第1の接続設定に設定し、電源監視部26が電源断信号を出力したとき、接続設定部27は第1の接続設定から第2の接続設定へ切り換える。   As described above, the storage device 10 described in the present embodiment includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the battery 28, the power supply monitoring unit 26, and the connection setting unit. 27. The first storage unit 31 stores transfer data. The second storage unit 32 operates with less power consumption than the first storage unit 31 and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit 31. . The transfer unit 33 transfers the acquired data stored in the second storage unit 32 as transfer data. The battery 28 is charged by a commercial power source supplied from a predetermined power source and outputs a power source. When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value, it outputs a power-off signal. The connection setting unit 27 connects either the first connection setting or the second connection setting. The first connection setting is a setting for connecting the first storage unit 31, the second storage unit 32, and the transfer unit 33 to the battery 27. The second connection setting is a setting in which the second storage unit 32 is connected to the battery 28 and the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. The connection setting unit 27 sets the first connection setting until the power monitoring unit 26 outputs a power-off signal. When the power monitoring unit 26 outputs a power-off signal, the connection setting unit 27 sets the first connection setting. Switch from connection setting to second connection setting.

このように、電源監視部26による電源断信号の出力が無い間、接続設定部27は第1の接続設定を設定する。これによって、バッテリ28は、第1の記憶部31と、第2の記憶部32及び転送部33に接続される。そして、一方、電源監視部26による電源断信号の入力があると、接続設定部27は第2の接続設定を設定する。これによって、第1の記憶部31及び転送部33とをバッテリ28に接続しない。したがって、電源監視部26が電源断信号を出力したとき、接続設定部27が第1の接続設定から第2の接続設定へ切り換えることにより、記憶装置10の消費電力を抑制することができる。   As described above, the connection setting unit 27 sets the first connection setting while the power supply monitoring unit 26 does not output the power-off signal. Thus, the battery 28 is connected to the first storage unit 31, the second storage unit 32, and the transfer unit 33. On the other hand, when a power-off signal is input by the power monitoring unit 26, the connection setting unit 27 sets the second connection setting. As a result, the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. Therefore, when the power supply monitoring unit 26 outputs a power-off signal, the connection setting unit 27 switches from the first connection setting to the second connection setting, whereby the power consumption of the storage device 10 can be suppressed.

また、接続設定部27が第1の接続設定を設定しているとき、バッテリ28は、第2の記憶部32へ電源を出力する。一方で、接続設定部27が第2の接続設定を設定しているときも、バッテリ28は、第2の記憶部32に電源を出力する。すなわち、接続設定部27が第1の接続設定を設定しているときと第2の接続設定を設定しているときとの両方の場合において、バッテリ28は、第2の記憶部32に電源を出力している。このため、第1の接続設定から第2の接続設定に切り替えられる瞬間も、第2の記憶部32は、電源が出力されている。これにより、電源の瞬断によるデータの欠落は生じない。また、取得データは、接続設定部27が第1の接続設定を設定しているときと第2の接続設定を設定しているときとの両方の場合において、第2の記憶部32に記憶される。これにより、記憶部の切り換えによるデータの欠落は生じない。この結果、第1の記憶部31が記憶する転送データと、第2の記憶部32が記憶する取得データの間に、データの欠落は生じない。   Further, when the connection setting unit 27 sets the first connection setting, the battery 28 outputs power to the second storage unit 32. On the other hand, even when the connection setting unit 27 sets the second connection setting, the battery 28 outputs power to the second storage unit 32. That is, the battery 28 supplies power to the second storage unit 32 both in the case where the connection setting unit 27 sets the first connection setting and in the case where the second connection setting is set. Output. For this reason, the power is output to the second storage unit 32 even at the moment of switching from the first connection setting to the second connection setting. As a result, no data is lost due to an instantaneous power interruption. The acquired data is stored in the second storage unit 32 both when the connection setting unit 27 sets the first connection setting and when the second connection setting is set. The As a result, data loss due to switching of the storage unit does not occur. As a result, no data is lost between the transfer data stored in the first storage unit 31 and the acquired data stored in the second storage unit 32.

よって記憶装置10によれば、停電が発生しても、消費電力を抑制しつつ、データの欠落を防いでデータを記憶することができる。   Therefore, according to the storage device 10, even if a power failure occurs, data can be stored while suppressing power consumption and preventing data loss.

また、記憶装置10は、電源監視部26が商用電源の電圧が所定の値を上回ることを検出した際、電源入信号を出力する。そして、電源監視部26が電源入信号を出力したとき、接続設定部27は、第2の接続設定から第1の接続設定へ切り換える構成を備えている。この構成により、記憶装置10は、商用電源の電圧が所定の値を上回ることをきっかけに、消費電力の少ない第2の記憶部32から消費電力の多い第1の記憶部31へ切り替える。これによって、記憶装置10は、商用電源の電圧が所定の値以下である場合においては消費電力を抑制し、商用電源の電圧が所定の値を上回る場合には消費電力を抑制せずに動作できる。   In addition, the storage device 10 outputs a power-on signal when the power monitoring unit 26 detects that the voltage of the commercial power supply exceeds a predetermined value. When the power monitoring unit 26 outputs a power-on signal, the connection setting unit 27 is configured to switch from the second connection setting to the first connection setting. With this configuration, the storage device 10 switches from the second storage unit 32 with low power consumption to the first storage unit 31 with high power consumption when the voltage of the commercial power supply exceeds a predetermined value. Accordingly, the storage device 10 can operate without suppressing power consumption when the voltage of the commercial power source is lower than a predetermined value and suppress power consumption, and when the voltage of the commercial power source exceeds a predetermined value. .

また、記憶装置10は、第1の記憶部31と第2の記憶部32と転送部33とを制御する制御部60を備える。そして、接続設定部27が第1の接続設定に設定しているとき、制御部60は、第1の記憶部31と第2の記憶部32と転送部33とを制御する。また、制御部60は、接続設定部27が第2の接続設定に設定しているとき、第1の記憶部31と転送部33とを制御しない。この構成により、記憶装置10は、商用電源の電圧が所定の値以下である場合に、制御部60による制御対象を変更する。これによって、記憶装置10は、停電時において、制御部60による制御に必要な消費電力を抑制することができる。さらに、記憶装置10は、転送部33と制御部60とを備えている。すなわち、記憶装置10は、第1の記憶部31と第2の記憶部32と転送部33とを制御する動作と、第2の記憶部32が記憶した取得データを転送データとして転送する動作とが制御部60と転送部33によって別々に行われている。したがって、制御部60に高い負荷がかかっている場合であっても、転送部33による転送は安定して実施できるため、転送する動作の不具合によるデータの欠落が生じない。   In addition, the storage device 10 includes a control unit 60 that controls the first storage unit 31, the second storage unit 32, and the transfer unit 33. Then, when the connection setting unit 27 is set to the first connection setting, the control unit 60 controls the first storage unit 31, the second storage unit 32, and the transfer unit 33. The control unit 60 does not control the first storage unit 31 and the transfer unit 33 when the connection setting unit 27 is set to the second connection setting. With this configuration, the storage device 10 changes the control target by the control unit 60 when the voltage of the commercial power supply is equal to or lower than a predetermined value. Thereby, the storage device 10 can suppress power consumption necessary for control by the control unit 60 at the time of a power failure. Furthermore, the storage device 10 includes a transfer unit 33 and a control unit 60. That is, the storage device 10 controls the first storage unit 31, the second storage unit 32, and the transfer unit 33, and transfers the acquired data stored in the second storage unit 32 as transfer data. Are separately performed by the control unit 60 and the transfer unit 33. Therefore, even when a high load is applied to the control unit 60, the transfer by the transfer unit 33 can be performed stably, so that no data is lost due to a malfunction of the transfer operation.

また本実施形態に記載の記憶装置10に関連する記憶方法は、第1の記憶部31と、第2の記憶部32と、転送部33と、バッテリ28と、電源監視部26と、接続設定部27とを備えた記憶装置の記憶方法である。記憶装置10に関連する記憶方法は、第1接続ステップと、第2接続ステップと、を含む記憶方法である。第1接続ステップでは、第1の記憶部31と、第2の記憶部32及び転送部33との各々をバッテリ28に接続する第1の接続設定に設定する。第2の接続ステップでは、商用電源の電圧が所定の値以下であるとき、第1の接続設定から、第2の記憶部32をバッテリ28に接続し、第1の記憶部31及び転送部33をバッテリ28に接続しない第2の接続設定へ切り換える。   Further, the storage method related to the storage device 10 described in the present embodiment includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the battery 28, the power supply monitoring unit 26, and the connection setting. This is a storage method of a storage device including the unit 27. A storage method related to the storage device 10 is a storage method including a first connection step and a second connection step. In the first connection step, each of the first storage unit 31, the second storage unit 32, and the transfer unit 33 is set to a first connection setting for connecting to the battery 28. In the second connection step, when the voltage of the commercial power source is equal to or lower than a predetermined value, the second storage unit 32 is connected to the battery 28 from the first connection setting, and the first storage unit 31 and the transfer unit 33 are connected. Is switched to the second connection setting not to be connected to the battery 28.

記憶装置10に関連する記憶方法は、記憶装置10と同等の効果を奏することができる。   The storage method related to the storage device 10 can achieve the same effects as the storage device 10.

また、本実施形態に記載の記憶装置10に関連するプログラムは、第1の記憶部31と、第2の記憶部32と、転送部33と、バッテリ28と、電源監視部26と、接続設定部27とを備えた記憶装置の制御プログラムである。記憶装置10に関連する記憶プログラムは、第1接続ステップと、第2接続ステップと、を含む記憶プログラムである。   The program related to the storage device 10 described in the present embodiment includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the battery 28, the power supply monitoring unit 26, and the connection setting. 3 is a control program for a storage device including the unit 27. A storage program related to the storage device 10 is a storage program including a first connection step and a second connection step.

記憶装置10に関連するプログラムは、記憶装置10と同等の効果を奏することができる。   The program related to the storage device 10 can achieve the same effect as the storage device 10.

(第2の実施形態)
次に図5を用いて、第2の実施形態に係る記憶装置10Aを説明する。図5は、記憶装置10Aの構成を示すブロック図である。なお、図5では、図1で示した各構成要素と同等の構成要素には、図1に示した符号と同等の符号を付している。
(Second Embodiment)
Next, the storage device 10A according to the second embodiment will be described with reference to FIG. FIG. 5 is a block diagram illustrating a configuration of the storage device 10A. In FIG. 5, constituent elements equivalent to those shown in FIG. 1 are denoted by the same reference numerals as those shown in FIG. 1.

図5に示されるように記憶装置10Aは、電源監視部26と、接続設定部27と、バッテリ28と、第1の記憶部31と、第2の記憶部32と、転送部33とを備えている。   As illustrated in FIG. 5, the storage device 10 </ b> A includes a power supply monitoring unit 26, a connection setting unit 27, a battery 28, a first storage unit 31, a second storage unit 32, and a transfer unit 33. ing.

電源監視部26は、商用電源の電圧が所定の値以下であることを検出した際、電源断信号を出力する。   When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value, it outputs a power-off signal.

接続設定部27は、第1の接続設定と、第2の接続設定とのどちらかを設定する。第1の接続設定とは、第1の記憶部31、第2の記憶部32及び転送部33との各々をバッテリ28に接続する設定である。また、第2の接続設定は、第2の記憶部32をバッテリ28に接続し、第1の記憶部31及び転送部33をバッテリ28に接続しない。また、接続設定部27は、電源監視部26が電源断信号を出力するまでは第1の接続設定を設定する。   The connection setting unit 27 sets either the first connection setting or the second connection setting. The first connection setting is a setting for connecting each of the first storage unit 31, the second storage unit 32, and the transfer unit 33 to the battery 28. In the second connection setting, the second storage unit 32 is connected to the battery 28, and the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. In addition, the connection setting unit 27 sets the first connection setting until the power monitoring unit 26 outputs a power-off signal.

バッテリ28は、所定の電源から供給される商用電源によって充電され、電力を出力する。   The battery 28 is charged by a commercial power source supplied from a predetermined power source and outputs electric power.

第1の記憶部31は、転送データを記憶する。   The first storage unit 31 stores transfer data.

第2の記憶部32は、第1の記憶部31より少ない消費電力で動作し、第1の記憶部31よりも速い速度で、画像データと音声データとの少なくとも一方を含む取得データを記憶する。   The second storage unit 32 operates with less power consumption than the first storage unit 31 and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit 31. .

転送部33は、第2の記憶部32が記憶した取得データを転送データとして転送する。   The transfer unit 33 transfers the acquired data stored in the second storage unit 32 as transfer data.

次に、図6を用いて、記憶装置10Aの動作を説明する。図6は、記憶装置10Aの動作フローを示す図である。図6に示す動作フローを説明する下記の動作は、バッテリ28が、所定の電源から供給される商用電源の一部によって充電されていることを前提とする。   Next, the operation of the storage device 10A will be described with reference to FIG. FIG. 6 is a diagram illustrating an operation flow of the storage device 10A. The following operation for explaining the operation flow shown in FIG. 6 is based on the premise that the battery 28 is charged by a part of a commercial power source supplied from a predetermined power source.

電源断信号の入力がない間、接続設定部27は、第1の接続設定を設定する(S1001)。   While there is no power-off signal input, the connection setting unit 27 sets the first connection setting (S1001).

バッテリ28は、第1の記憶部31と、第2の記憶部32及び転送部33とに電源を供給する(S1002)。   The battery 28 supplies power to the first storage unit 31, the second storage unit 32, and the transfer unit 33 (S1002).

第2の記憶部32は、取得データを記憶する(S1003)。さらに、転送部33は、第2の記憶部32が記憶した取得データを転送データとして第1の記憶部31へ転送する(S1003)。   The second storage unit 32 stores acquired data (S1003). Further, the transfer unit 33 transfers the acquired data stored in the second storage unit 32 to the first storage unit 31 as transfer data (S1003).

電源監視部26は、商用電源の電圧が所定の値以下であるかどうかを判定する(S1004)。   The power supply monitoring unit 26 determines whether the voltage of the commercial power supply is equal to or lower than a predetermined value (S1004).

記憶装置10Aは、電源監視部26が商用電源の電圧が所定の値以下であることを検出しなかったとき(S1004のNo)、S1003の処理を継続する(S1005)。   When the power supply monitoring unit 26 does not detect that the voltage of the commercial power supply is equal to or lower than the predetermined value (No in S1004), the storage device 10A continues the process of S1003 (S1005).

接続設定部27は、電源監視部26が商用電源の電圧が所定の値以下であることを検出したとき(S1004のYes)電源断信号を出力され、第1の接続設定から第2の接続設定へ切り換える(S1006)。   When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value (Yes in S1004), the connection setting unit 27 outputs a power-off signal, and the second connection setting is changed from the first connection setting. (S1006).

バッテリ28は、第2の記憶部32に接続され、第1の記憶部31及び転送部33に接続されな。これにより、バッテリ28は、第1の記憶部31及び転送部33への電源出力を停止する(S1007)。   The battery 28 is connected to the second storage unit 32 and is not connected to the first storage unit 31 and the transfer unit 33. Thereby, the battery 28 stops the power supply output to the 1st memory | storage part 31 and the transfer part 33 (S1007).

第2の記憶部32は、取得データを記憶する(S1008)。   The second storage unit 32 stores acquired data (S1008).

以上、記憶装置10Aの動作について説明した。   The operation of the storage device 10A has been described above.

以上のように、本実施形態に記載の記憶装置10Aは、第1の記憶部31と、第2の記憶部32と、転送部33と、バッテリ28と、電源監視部26と、接続設定部27とを備える。第1の記憶部31は、転送データを記憶する。第2の記憶部32は、第1の記憶部31より少ない消費電力で動作し、第1の記憶部31よりも速い速度で、画像データと音声データとの少なくとも一方を含む取得データを記憶する。転送部33は、第2の記憶部32が記憶した取得データを転送データとして転送する。バッテリ28は、所定の電源から供給される商用電源によって充電され、電源を出力する。電源監視部26は、商用電源の電圧が所定の値以下であることを検出した際、電源断信号を出力する。接続設定部27は、第1の接続設定と第2の接続設定のどちらかを接続する。第1の接続設定は、第1の記憶部31、第2の記憶部32及び転送部33をバッテリ27に接続する設定である。第2の接続設定は、第2の記憶部32をバッテリ28に接続し、第1の記憶部31及び転送部33をバッテリ28に接続しない設定である。接続設定部27は、電源監視部26が電源断信号を出力するまでは、第1の接続設定に設定し、電源監視部26が電源断信号を出力したとき、接続設定部27は第1の接続設定から第2の接続設定へ切り換える。   As described above, the storage device 10A described in the present embodiment includes the first storage unit 31, the second storage unit 32, the transfer unit 33, the battery 28, the power supply monitoring unit 26, and the connection setting unit. 27. The first storage unit 31 stores transfer data. The second storage unit 32 operates with less power consumption than the first storage unit 31 and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit 31. . The transfer unit 33 transfers the acquired data stored in the second storage unit 32 as transfer data. The battery 28 is charged by a commercial power source supplied from a predetermined power source and outputs a power source. When the power supply monitoring unit 26 detects that the voltage of the commercial power supply is equal to or lower than a predetermined value, it outputs a power-off signal. The connection setting unit 27 connects either the first connection setting or the second connection setting. The first connection setting is a setting for connecting the first storage unit 31, the second storage unit 32, and the transfer unit 33 to the battery 27. The second connection setting is a setting in which the second storage unit 32 is connected to the battery 28 and the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. The connection setting unit 27 sets the first connection setting until the power monitoring unit 26 outputs a power-off signal. When the power monitoring unit 26 outputs a power-off signal, the connection setting unit 27 sets the first connection setting. Switch from connection setting to second connection setting.

このように、電源監視部26による電源断信号の出力が無い間、接続設定部27は第1の接続設定を設定する。これによって、バッテリ28は、第1の記憶部31と、第2の記憶部32及び転送部33に接続される。そして、一方、電源監視部26による電源断信号の入力があると、接続設定部27は第2の接続設定を設定する。これによって、第1の記憶部31及び転送部33とをバッテリ28に接続しない。したがって、電源監視部26が電源断信号を出力したとき、接続設定部27が第1の接続設定から第2の接続設定へ切り換えることにより、記憶装置10の消費電力を抑制することができる。   As described above, the connection setting unit 27 sets the first connection setting while the power supply monitoring unit 26 does not output the power-off signal. Thus, the battery 28 is connected to the first storage unit 31, the second storage unit 32, and the transfer unit 33. On the other hand, when a power-off signal is input by the power monitoring unit 26, the connection setting unit 27 sets the second connection setting. Thereby, the first storage unit 31 and the transfer unit 33 are not connected to the battery 28. Therefore, when the power supply monitoring unit 26 outputs a power-off signal, the connection setting unit 27 switches from the first connection setting to the second connection setting, whereby the power consumption of the storage device 10 can be suppressed.

また、接続設定部27が第1の接続設定を設定しているとき、バッテリ28は、第2の記憶部32へ電源を出力する。一方で、接続設定部27が第2の接続設定を設定しているときも、バッテリ28は、第2の記憶部32に電源を出力する。すなわち、接続設定部27が第1の接続設定を設定しているときと第2の接続設定を設定しているときとの両方の場合において、バッテリ28は、第2の記憶部32に電源を出力している。このため、第1の接続設定から第2の接続設定に切り替えられる瞬間も、第2の記憶部32は、電源が出力されている。これにより、電源の瞬断によるデータの欠落は生じない。また、取得データは、接続設定部27が第1の接続設定を設定しているときと第2の接続設定を設定しているときとの両方の場合において、第2の記憶部32に記憶される。これにより、記憶部の切り換えによるデータの欠落は生じない。この結果、第1の記憶部31が記憶する転送データと、第2の記憶部32が記憶する取得データの間に、データの欠落は生じない。   Further, when the connection setting unit 27 sets the first connection setting, the battery 28 outputs power to the second storage unit 32. On the other hand, even when the connection setting unit 27 sets the second connection setting, the battery 28 outputs power to the second storage unit 32. That is, the battery 28 supplies power to the second storage unit 32 both in the case where the connection setting unit 27 sets the first connection setting and in the case where the second connection setting is set. Output. For this reason, the power is output to the second storage unit 32 even at the moment of switching from the first connection setting to the second connection setting. As a result, no data is lost due to an instantaneous power interruption. The acquired data is stored in the second storage unit 32 both when the connection setting unit 27 sets the first connection setting and when the second connection setting is set. The As a result, data loss due to switching of the storage unit does not occur. As a result, no data is lost between the transfer data stored in the first storage unit 31 and the acquired data stored in the second storage unit 32.

よって記憶装置10Aによれば、停電が発生しても、消費電力を抑制しつつ、データの欠落を防いでデータを記憶することができる。   Therefore, according to the storage device 10A, even if a power failure occurs, data can be stored while suppressing power consumption and preventing data loss.

10、10A 記憶装置
20 電源供給部
25 電源部
26 電源監視部
27 接続設定部
28 バッテリ
30 記憶機器
31 第1の記憶部
32 第2の記憶部
33 転送部
35 SDRAM
40 録画監視部
45 データ取得部
50 AV入出力部
55 外部ペリフェラル入出力部
60 制御部
60a、60b、60c、60d、60e、60f、60g、60h 制御ブロック
10, 10A Storage device 20 Power supply unit 25 Power supply unit 26 Power supply monitoring unit 27 Connection setting unit 28 Battery 30 Storage device 31 First storage unit 32 Second storage unit 33 Transfer unit 35 SDRAM
40 Recording monitoring unit 45 Data acquisition unit 50 AV input / output unit 55 External peripheral input / output unit 60 Control unit 60a, 60b, 60c, 60d, 60e, 60f, 60g, 60h Control block

Claims (5)

転送データを記憶する第1の記憶部と、
前記第1の記憶部より少ない消費電力で動作し、前記第1の記憶部よりも速い速度で画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、
前記第2の記憶部が記憶した前記取得データを前記転送データとして転送する転送部と、
所定の電源から供給される商用電源によって充電され、電源を出力するバッテリと、
前記商用電源の電圧が所定の値以下であることを検出した際、電源断信号を出力する電源監視部と、
前記第1の記憶部、前記第2の記憶部及び前記転送部の各々を前記バッテリに接続する第1の接続設定と、前記第2の記憶部を前記バッテリに接続し、前記第1の記憶部及び前記転送部を前記バッテリに接続しない第2の接続設定とのどちらかを設定する接続設定部とを備え、
前記電源監視部が前記電源断信号を出力するまでは、前記接続設定部は前記第1の接続設定に設定し、前記電源監視部が前記電源断信号を出力したとき、前記接続設定部は前記第1の接続設定から前記第2の接続設定へ切り換える
記憶装置。
A first storage unit for storing transfer data;
A second storage unit that operates with less power consumption than the first storage unit and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit;
A transfer unit that transfers the acquired data stored in the second storage unit as the transfer data;
A battery that is charged by a commercial power source supplied from a predetermined power source and outputs a power source;
A power supply monitoring unit that outputs a power-off signal when detecting that the voltage of the commercial power supply is equal to or lower than a predetermined value;
A first connection setting for connecting each of the first storage unit, the second storage unit, and the transfer unit to the battery; and connecting the second storage unit to the battery; and And a connection setting unit for setting either the second connection setting that does not connect the transfer unit to the battery,
Until the power monitoring unit outputs the power-off signal, the connection setting unit sets the first connection setting, and when the power monitoring unit outputs the power-off signal, the connection setting unit A storage device for switching from the first connection setting to the second connection setting.
前記商用電源の電圧が所定の値を上回ることを検出した際、電源入信号を出力する前記電源監視部と
電源入信号が出力されると、前記第2の接続設定から前記第1の接続設定へ切り換える前記接続設定部とを備える
請求項1に記載の記憶装置。
When it is detected that the voltage of the commercial power supply exceeds a predetermined value, when the power monitoring unit that outputs a power-on signal and a power-on signal are output, from the second connection setting to the first connection setting The storage device according to claim 1.
前記第1の記憶部、前記第2の記憶部及び前記転送部を制御する制御部を備え、
前記接続設定部が前記第1の接続設定に設定しているとき、前記制御部は、前記第1の記憶部、前記第2の記憶部及び前記転送部とを制御し、
前記接続設定部が前記第2の接続設定に設定しているとき、前記制御部は、前記第1の記憶部及び前記転送部とを制御しない、
請求項1又は2に記載の記憶装置。
A control unit for controlling the first storage unit, the second storage unit, and the transfer unit;
When the connection setting unit is set to the first connection setting, the control unit controls the first storage unit, the second storage unit and the transfer unit,
When the connection setting unit is set to the second connection setting, the control unit does not control the first storage unit and the transfer unit,
The storage device according to claim 1.
転送データを記憶する第1の記憶部と、
前記第1の記憶部より少ない消費電力で動作し、前記第1の記憶部よりも速い速度で画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、
前記第2の記憶部が記憶した前記取得データを前記転送データとして転送する転送部と、
所定の電源から供給される商用電源によって充電され、電源を出力するバッテリと、
を備える記憶装置の記憶方法であって、
前記第1の記憶部と、前記第2の記憶部及び前記転送部との各々を前記バッテリに接続する第1の接続設定に設定する第1接続ステップと、
前記商用電源の電圧が所定の値以下であるとき、第1の接続設定から、前記第2の記憶部を前記バッテリに接続し、前記第1の記憶部及び前記転送部を前記バッテリに接続しない第2の接続設定へ切り換える第2接続ステップと、
を含む記憶方法。
A first storage unit for storing transfer data;
A second storage unit that operates with less power consumption than the first storage unit and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit;
A transfer unit that transfers the acquired data stored in the second storage unit as the transfer data;
A battery that is charged by a commercial power source supplied from a predetermined power source and outputs a power source;
A storage method for a storage device comprising:
A first connection step of setting each of the first storage unit, the second storage unit, and the transfer unit to a first connection setting for connecting to the battery;
When the voltage of the commercial power source is equal to or lower than a predetermined value, from the first connection setting, the second storage unit is connected to the battery, and the first storage unit and the transfer unit are not connected to the battery. A second connection step for switching to a second connection setting;
A storage method including:
転送データを記憶する第1の記憶部と、
前記第1の記憶部より少ない消費電力で動作し、前記第1の記憶部よりも速い速度で画像データと音声データとの少なくとも一方を含む取得データを記憶する第2の記憶部と、
前記第2の記憶部が記憶した前記取得データを前記転送データとして転送する転送部と、
所定の電源から供給される商用電源によって充電され、電源を出力するバッテリと、
を備える記憶装置の記憶方法であって、
前記第1の記憶部と、前記第2の記憶部及び前記転送部との各々を前記バッテリに接続する第1の接続設定に設定する第1接続ステップと、
前記商用電源の電圧が所定の値以下であるとき、第1の接続設定から、前記第2の記憶部を前記バッテリに接続し、前記第1の記憶部及び前記転送部を前記バッテリに接続しない第2の接続設定へ切り換える第2接続ステップと、
を含む処理をコンピュータに行わせるプログラム。
A first storage unit for storing transfer data;
A second storage unit that operates with less power consumption than the first storage unit and stores acquired data including at least one of image data and audio data at a faster speed than the first storage unit;
A transfer unit that transfers the acquired data stored in the second storage unit as the transfer data;
A battery that is charged by a commercial power source supplied from a predetermined power source and outputs a power source;
A storage method for a storage device comprising:
A first connection step of setting each of the first storage unit, the second storage unit, and the transfer unit to a first connection setting for connecting to the battery;
When the voltage of the commercial power source is equal to or lower than a predetermined value, from the first connection setting, the second storage unit is connected to the battery, and the first storage unit and the transfer unit are not connected to the battery. A second connection step for switching to a second connection setting;
A program that causes a computer to perform processing including
JP2016053509A 2016-03-17 2016-03-17 Storage device, storage method, and storage program Active JP6374427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016053509A JP6374427B2 (en) 2016-03-17 2016-03-17 Storage device, storage method, and storage program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016053509A JP6374427B2 (en) 2016-03-17 2016-03-17 Storage device, storage method, and storage program

Publications (2)

Publication Number Publication Date
JP2017167881A true JP2017167881A (en) 2017-09-21
JP6374427B2 JP6374427B2 (en) 2018-08-15

Family

ID=59913788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016053509A Active JP6374427B2 (en) 2016-03-17 2016-03-17 Storage device, storage method, and storage program

Country Status (1)

Country Link
JP (1) JP6374427B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010205309A (en) * 2009-02-27 2010-09-16 Sharp Corp Recording and reproducing device and recording and reproducing method
JP2015076730A (en) * 2013-10-09 2015-04-20 Necエンジニアリング株式会社 Recording device and recording method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010205309A (en) * 2009-02-27 2010-09-16 Sharp Corp Recording and reproducing device and recording and reproducing method
JP2015076730A (en) * 2013-10-09 2015-04-20 Necエンジニアリング株式会社 Recording device and recording method

Also Published As

Publication number Publication date
JP6374427B2 (en) 2018-08-15

Similar Documents

Publication Publication Date Title
EP1768409B1 (en) Mobile terminal device
EP2402864A2 (en) Portable charging apparatus, charging method thereof, and charging system
JP5628429B2 (en) Method and apparatus for monitoring interrupts during a power down event in a processor
CN104581320A (en) Method, device and terminal for switching play modes
CN101262580B (en) A digital TV receiving device and method and system for monitoring hard disk dormancy
CN104156273A (en) System exception repair method, system exception repair device and mobile terminal
US8335940B2 (en) Microcomputer system, microcomputer, power control method, and power control program product
JP6245637B2 (en) Recording apparatus and recording method
JP6374427B2 (en) Storage device, storage method, and storage program
CN103905900A (en) Set top box starting method, set top box and system
JP2010176356A (en) Electronic device
JP2010068232A (en) Video recording and playback apparatus
JP6022154B2 (en) RECEPTION DEVICE, TELEVISION RECEIVER, CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP2005216117A (en) Information processing system and method, information processor and method, and program
JP4892087B2 (en) Electronic equipment and power supply control device
JP2015018378A (en) Electrical apparatus
JP3127721U (en) Recording / playback device
JP2009277280A (en) Information reproducing device and information reproducing method
CN103258553B (en) Video playing device, phonotape and videotape processing means, system and method
JP2008071402A (en) Portable information recording and reproducing device
JP6290615B2 (en) Power supply
JP2007166842A (en) Telephone exchange equipment and method for suppressing electric power consumption thereof
JP2008160224A (en) Electronic apparatus system
JP6037423B2 (en) Power control system, power supply unit device, and power control method
JP2015201712A (en) television receiver

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180419

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180626

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180719

R150 Certificate of patent or registration of utility model

Ref document number: 6374427

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150