JP2022128621A - Data control device, data control method, data control system, and data control program - Google Patents

Data control device, data control method, data control system, and data control program Download PDF

Info

Publication number
JP2022128621A
JP2022128621A JP2021026937A JP2021026937A JP2022128621A JP 2022128621 A JP2022128621 A JP 2022128621A JP 2021026937 A JP2021026937 A JP 2021026937A JP 2021026937 A JP2021026937 A JP 2021026937A JP 2022128621 A JP2022128621 A JP 2022128621A
Authority
JP
Japan
Prior art keywords
data
storage
battery
unit
storage unit
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
JP2021026937A
Other languages
Japanese (ja)
Other versions
JP7092908B1 (en
Inventor
聡 望月
Satoshi Mochizuki
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 JP2021026937A priority Critical patent/JP7092908B1/en
Application granted granted Critical
Publication of JP7092908B1 publication Critical patent/JP7092908B1/en
Publication of JP2022128621A publication Critical patent/JP2022128621A/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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Secondary Cells (AREA)
  • Power Sources (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

To provide a data control device, method, system, and program capable of saving data to a storage device even when the amount of power that can be supplied by a battery is less than the amount of power required for normal saving processing.SOLUTION: A remaining power capacity indicating an amount of power that can be supplied by a battery is calculated, a storage process corresponding to the calculated remaining power capacity is selected from among the multiple storage processes that require different amounts of power to write data and that write data to a storage unit, and data is written in the storage unit by performing the selected storage process.SELECTED DRAWING: Figure 1

Description

本発明は、データ制御装置、データ制御方法、データ制御システム、およびデータ制御プログラムに関する。 The present invention relates to a data control device, data control method, data control system, and data control program.

停電によって、外部から電力を供給できない状況に備え、記憶装置にはバッテリが設けられていることがある。バッテリが設けられている記憶装置は、停電時に、バッテリから電力の供給を受けて、揮発性のメモリに記憶されているデータを不揮発性のメモリに記憶させることにより、データを退避させる。 A storage device may be provided with a battery in preparation for a situation in which power cannot be supplied from the outside due to a power failure. A storage device provided with a battery saves data by receiving power from the battery and storing data stored in a volatile memory in a nonvolatile memory during a power failure.

特許文献1には、検出された、バッテリが供給できる電力量が、不揮発性のメモリであるHDD(Hard Disk Drive)にデータを記憶させるために必要な電力量に基づいて設定された基準以下である場合に、情報処理装置が、次の処理を行う方法が記載されている。特許文献1には、情報処理装置が、メモリに記憶されているデータをHDDに書き込む書き込み処理を行うことにより、データを退避させる退避処理を行う方法が記載されている。 Patent Document 1 discloses that the detected amount of power that can be supplied by the battery is below a standard set based on the amount of power required to store data in a nonvolatile memory, a hard disk drive (HDD). In some cases, a method is described in which an information processing device performs the following processes. Japanese Patent Application Laid-Open No. 2002-200002 describes a method of performing a save process of saving data by performing a write process in which an information processing apparatus writes data stored in a memory to an HDD.

特開2009-230314号公報JP 2009-230314 A

しかし、特許文献1には、退避処理を開始する時点で、データの退避のために必要な電力量をバッテリが供給できない場合の情報処理装置の動作について、記載されていない。そのため、特許文献1に記載の方法には、次の問題点がある。 However, Patent Literature 1 does not describe the operation of the information processing apparatus when the battery cannot supply the amount of power necessary for saving data at the time the save process is started. Therefore, the method described in Patent Document 1 has the following problems.

たとえば、情報処理装置が分電盤から電力の供給を受けている場合、バッテリが供給可能な電力量が、退避処理に必要な電力量より減少していても、情報処理装置は、メモリにデータを書き込むことや、メモリに記憶されているデータをHDDへ書き込む退避処理ができる。しかし、バッテリが供給可能な電力量が、退避処理に必要な電力量よりも減少している場合、特許文献1に記載の方法では、分電盤から電力の供給を受けられない状況では、情報処理装置が、退避処理の途中でバッテリから電力の供給を受けられなくなる。たとえば、長期間利用されて劣化しているバッテリが使用されている場合では、停電の発生によって特許文献1に記載の方法で退避処理を開始した場合、バッテリが供給可能な電力量が、退避処理の開始時点で、退避処理に必要な電力量よりも減少している可能性がある。そして、バッテリから情報処理装置に供給される電力量の不足のために、HDDに退避させることができなかったデータは、失われてしまう。このように、特許文献1に記載の方法には、分電盤から電力の供給を受けられない状況で、通常の退避処理に必要な電力量に対してバッテリが供給可能な電力量が不足している場合、HDDに退避させることができなかったデータが失われてしまうという問題点がある。 For example, when the information processing device receives power from a distribution board, even if the amount of power that can be supplied by the battery is less than the amount of power required for the save process, the information processing device stores the data in the memory. can be written, and data stored in the memory can be saved to the HDD. However, when the amount of power that can be supplied by the battery is less than the amount of power required for the saving process, the method described in Patent Document 1 cannot receive power from the distribution board. The processing device cannot receive power supply from the battery during the saving process. For example, when a battery that has been used for a long time and has deteriorated is used, if a power failure occurs and the saving process is started by the method described in Patent Document 1, the amount of power that can be supplied by the battery will be reduced by the saving process. At the start of , there is a possibility that the amount of electric power required for the saving process has decreased. Data that could not be saved to the HDD due to insufficient power supplied from the battery to the information processing apparatus is lost. As described above, in the method described in Patent Document 1, in a situation where power cannot be supplied from the distribution board, the amount of power that the battery can supply is insufficient for the amount of power required for normal evacuation processing. In this case, there is a problem that the data that could not be saved to the HDD is lost.

本発明の目的は、バッテリが供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、記憶装置にデータを退避させることを可能にするデータ制御装置、方法、システム、およびプログラムを提供することにある。 It is an object of the present invention to provide a data control device that enables data to be saved in a storage device even when the amount of power that can be supplied by a battery is less than the amount of power required for normal save processing. The object is to provide a method, system and program.

本発明の一態様において、データ制御装置は、バッテリが供給可能な電力量を示す電力残容量を算出する算出部と、データの書き込みに要する電力量が互いに異なる、データを記憶部に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する選択部と、選択された記憶処理を行うことにより、データを記憶部に書き込む制御部と、を備える。 In one aspect of the present invention, a data control device includes a calculation unit that calculates a remaining power capacity indicating an amount of power that can be supplied by a battery, and a plurality of data write units that require different amounts of power for writing data. A selection unit that selects storage processing according to the calculated remaining power capacity from among storage processing, and a control unit that writes data to the storage unit by performing the selected storage processing.

また、本発明の他の態様において、データ制御方法は、バッテリが供給可能な電力量を示す電力残容量を算出し、データの書き込みに要する電力量が互いに異なる、データを記憶部に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択し、選択された記憶処理を行うことにより、データを記憶部に書き込む。 In another aspect of the present invention, a data control method calculates a remaining power capacity indicating an amount of power that can be supplied by a battery, and writes data to a storage unit with different amounts of power required for writing data. Data is written in the storage unit by selecting a storage process according to the calculated remaining power capacity from among the storage processes and performing the selected storage process.

また、本発明の他の態様において、データ制御プログラムは、コンピュータに、バッテリが供給可能な電力量を示す電力残容量を算出する算出機能と、データの書き込みに要する電力量が互いに異なる、データを記憶部に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する選択機能と、選択された記憶処理を行うことにより、データを記憶部に書き込む制御機能と、を実現させる。 In another aspect of the present invention, the data control program includes a calculation function for calculating a remaining power capacity indicating an amount of power that can be supplied by the battery to the computer, and a function for storing data in which the amount of power required for writing data is different from each other. A selection function that selects a storage process corresponding to the calculated remaining power capacity from among a plurality of storage processes to be written to the storage unit, and a control function that writes data to the storage unit by performing the selected storage process. make it happen.

本発明のデータ制御装置、方法、システム、およびプログラムにより、バッテリが供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、記憶装置にデータを退避させることが可能になる。 With the data control device, method, system, and program of the present invention, data is saved in a storage device even when the amount of power that can be supplied by the battery is less than the amount of power required for normal save processing. becomes possible.

本発明の第一の実施形態のデータ制御装置の構成例を示すブロック図である。1 is a block diagram showing a configuration example of a data control device according to a first embodiment of the present invention; FIG. 本発明の第一の実施形態のデータ制御装置の動作例を示すフローチャートである。4 is a flow chart showing an operation example of the data control device according to the first embodiment of the present invention; 本発明の第二の実施形態のデータ制御システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the data control system of 2nd Embodiment of this invention. 本発明の第二の実施形態のデータ制御装置に記憶される特性情報の一例を示す図である。It is a figure which shows an example of the characteristic information memorize|stored in the data control apparatus of 2nd embodiment of this invention. 本発明の第二の実施形態のデータ制御装置に記憶される特性情報の一例を示す図である。It is a figure which shows an example of the characteristic information memorize|stored in the data control apparatus of 2nd embodiment of this invention. 本発明の第二の実施形態のデータ制御装置に記憶される特性情報の一例を示す図である。It is a figure which shows an example of the characteristic information memorize|stored in the data control apparatus of 2nd embodiment of this invention. 本発明の第二の実施形態のデータ制御装置の記憶部に記憶されるデータを模式的に示す模式図である。FIG. 5 is a schematic diagram schematically showing data stored in a storage unit of the data control device according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御装置の記憶部に記憶されるデータを模式的に示す模式図である。FIG. 5 is a schematic diagram schematically showing data stored in a storage unit of the data control device according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御装置の記憶部に記憶されるデータを模式的に示す模式図である。FIG. 5 is a schematic diagram schematically showing data stored in a storage unit of the data control device according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御装置に記憶される記憶処理選択表の一例を示す図である。FIG. 10 is a diagram showing an example of a memory processing selection table stored in the data control device according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御システムの動作例を示すシーケンス図である。FIG. 7 is a sequence diagram showing an operation example of the data control system according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御システムの動作例を示すシーケンス図である。FIG. 7 is a sequence diagram showing an operation example of the data control system according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御装置の動作例を示すフローチャートである。9 is a flow chart showing an operation example of the data control device according to the second embodiment of the present invention; 本発明の第二の実施形態のデータ制御装置の動作例を示すフローチャートである。9 is a flow chart showing an operation example of the data control device according to the second embodiment of the present invention; 本発明の各実施形態のハードウェア構成例を示すブロック図である。It is a block diagram showing an example of hardware composition of each embodiment of the present invention.

[第一の実施形態]
本発明の第一の実施形態について説明する。
[First embodiment]
A first embodiment of the present invention will be described.

図1は、本実施形態のデータ制御装置1の構成例を示すブロック図である。本実施形態のデータ制御装置1は、算出部11と、選択部12と、制御部13とを含む。また、データ制御装置1は、2以上の複数の記憶部(図示せず)に接続されている。 FIG. 1 is a block diagram showing a configuration example of a data control device 1 of this embodiment. The data control device 1 of this embodiment includes a calculator 11 , a selector 12 and a controller 13 . The data control device 1 is also connected to two or more storage units (not shown).

算出部11は、バッテリが供給可能な電力量を示す電力残容量を算出する。 The calculation unit 11 calculates the remaining power capacity indicating the amount of power that can be supplied by the battery.

選択部12は、データの書き込みに要する電力量が互いに異なる、データを記憶部に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する。 The selection unit 12 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing data to the storage unit that require different amounts of power for writing data.

たとえば、選択部12は、次の3つの記憶処理の中から、算出された電力残容量に応じた記憶処理を選択する。選択される記憶処理は、冗長処理、併用処理、分散処理のいずれかである。冗長処理は、2以上の複数の記憶部の各々に同じデータを書き込む処理である。また、分散処理は、2以上の複数の記憶部の各々に、データの一部である部分データを、記憶部の各々に記憶される部分データが互いに異なるように分散させて書き込む処理である。また、併用処理は、2以上の複数の記憶部のうち、第1の組の記憶部の各々に第1の部分データを書き込み、第2の組の記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む処理である。 For example, the selection unit 12 selects a storage process according to the calculated remaining power capacity from among the following three storage processes. The storage process selected is one of redundant process, combined process, and distributed process. Redundant processing is processing that writes the same data to each of two or more storage units. Distributed processing is processing in which partial data, which is a part of data, is distributed and written to each of two or more storage units so that the partial data stored in each storage unit are different from each other. Also, in the combined processing, the first partial data is written to each of the first set of storage units among the two or more storage units, and the first partial data is written to each of the second set of storage units. This is the process of writing the second partial data different from the .

制御部13は、選択された記憶処理を行うことにより、データを記憶部に書き込む。 The control unit 13 writes the data in the storage unit by performing the selected storage process.

このように、データ制御装置1は、バッテリが供給可能な電力量を示す電力残容量を算出する。また、データ制御装置1は、データの書き込みに要する電力量が互いに異なる複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する。また、データ制御装置1は、選択された記憶処理を行うことにより、データを記憶部に書き込む。これにより、バッテリが供給可能な電力量に応じた記憶処理でデータを記憶部に書き込むことが可能になる。また、バッテリが供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、記憶装置にデータを退避させることが可能になる。 In this way, the data control device 1 calculates the remaining power capacity indicating the amount of power that the battery can supply. In addition, the data control device 1 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes that require different amounts of power to write data. In addition, the data control device 1 writes the data in the storage section by performing the selected storage processing. As a result, it is possible to write data in the storage section by storage processing according to the amount of power that the battery can supply. Moreover, even when the amount of power that can be supplied by the battery is less than the amount of power required for normal save processing, data can be saved in the storage device.

次に、図2を参照して、本実施形態のデータ制御装置1の動作例を説明する。図2は、データ制御装置1の動作例を示すフローチャートである。 Next, an operation example of the data control device 1 of this embodiment will be described with reference to FIG. FIG. 2 is a flowchart showing an operation example of the data control device 1. FIG.

算出部11は、バッテリが供給可能な電力量を示す電力残容量を算出する(ステップS101)。 The calculation unit 11 calculates the remaining power capacity indicating the amount of power that can be supplied by the battery (step S101).

選択部12は、データの書き込みに要する電力量が互いに異なる複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する(ステップS102)。たとえば、算出された電力残容量が、冗長処理に要する電力量の下限値未満、かつ併用処理に要する電力量の下限値以上である場合、冗長処理、併用処理、分散処理の中から、選択部12は、併用処理を選択する。 The selection unit 12 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes with different amounts of power required to write data (step S102). For example, if the calculated remaining power capacity is less than the lower limit of the amount of power required for redundant processing and greater than or equal to the lower limit of the amount of power required for combined processing, the selection unit 12 selects combined processing.

制御部13は、選択された記憶処理を行うことにより、データを記憶部に書き込む(ステップS103)。 The control unit 13 writes the data in the storage unit by performing the selected storage processing (step S103).

これにより、バッテリが供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、記憶装置にデータを退避させることが可能になる。 This makes it possible to save data to the storage device even when the amount of power that can be supplied by the battery is less than the amount of power required for normal save processing.

[第二の実施形態]
次に、本発明の第二の実施の形態におけるデータ制御装置4について具体的に説明する。第二の実施形態のデータ制御装置4は、次の点で、第一の実施形態のデータ制御装置1と異なる。本実施形態のデータ制御装置4は、バッテリ装置3により停電が検知された場合に、データ制御装置4の共有データ記憶部45に記憶されているデータをデータ制御装置4の記憶部47に書き込む。
[Second embodiment]
Next, the data control device 4 according to the second embodiment of the invention will be specifically described. The data control device 4 of the second embodiment differs from the data control device 1 of the first embodiment in the following points. The data control device 4 of this embodiment writes data stored in the shared data storage unit 45 of the data control device 4 to the storage unit 47 of the data control device 4 when a power failure is detected by the battery device 3 .

図3を参照して、本実施形態のデータ制御システムの構成例を説明する。図3は、本実施形態のデータ制御システムの構成例を示すブロック図である。図3に示すように、本実施形態のデータ制御システムは、処理装置2-1,・・・,2-n(nは1以上の整数)と、バッテリ装置3と、データ制御装置4とを含む。処理装置の数は、1つまたは2以上の複数の任意である。以降、処理装置2-1,・・・,2-nの各々を、「処理装置2」という。また、データ制御装置の数は、1つまたは2以上の複数の任意である。また、バッテリ装置の数は、1つまたは2以上の複数の任意である。 A configuration example of the data control system of the present embodiment will be described with reference to FIG. FIG. 3 is a block diagram showing a configuration example of the data control system of this embodiment. As shown in FIG. 3, the data control system of this embodiment includes processing devices 2-1, . include. The number of processing units may be one or any number of two or more. Each of the processors 2-1, . . . , 2-n is hereinafter referred to as "processor 2". In addition, the number of data control devices may be one or any number of two or more. Also, the number of battery devices may be one or any number of two or more.

なお、バッテリ装置3は、各々のデータ制御装置4に対して少なくとも1つずつ設けられている。バッテリ装置3は、データ制御装置4に内蔵されていてもよい。また、データ制御装置4は、データ制御システムに含まれる、所定の処理装置2からデータを受信する。また、データ制御装置4は、データ制御システムに含まれる、所定のバッテリ装置3から電力を供給され、かつ、停電の発生を示す通知を受信する。 At least one battery device 3 is provided for each data control device 4 . The battery device 3 may be built in the data control device 4 . The data control device 4 also receives data from a predetermined processing device 2 included in the data control system. Also, the data control device 4 is supplied with power from a predetermined battery device 3 included in the data control system and receives a notification indicating the occurrence of a power failure.

処理装置2は、データ制御装置4の共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、当該データの優先度を示す優先度情報と、データの書き込みを指示する制御情報とを関連付けてデータ制御装置4に出力する。データ識別情報は、データの各々にあらかじめ設定された識別子を示す情報である。また、処理装置2は、データ制御装置4の共有データ記憶部45から読み出されるデータのデータ識別情報と、データの読み出しを指示する制御情報とを関連付けてデータ制御装置4に出力する。また、処理装置2は、データ制御装置4の共有データ記憶部45から読み出されたデータをデータ制御装置4から受信する。 The processing device 2 stores data to be written to the shared data storage unit 45 of the data control device 4, data identification information for the data, priority information indicating the priority of the data, and control information for instructing writing of the data. are associated with each other and output to the data control device 4 . The data identification information is information indicating an identifier preset for each piece of data. Further, the processing device 2 associates the data identification information of the data read from the shared data storage unit 45 of the data control device 4 with the control information instructing reading of the data, and outputs them to the data control device 4 . The processing device 2 also receives data read from the shared data storage unit 45 of the data control device 4 from the data control device 4 .

2以上の複数の処理装置2が、同一のデータ制御装置4に対して、データの書き込みや読み出しを行う場合、処理装置2の各々は、同一のデータ制御装置4に記憶されているデータを用いる。そのため、同一のデータ制御装置4に対して、データの書き込みや読み出しを行う処理装置2の各々の間で、当該データ制御装置4の共有データ記憶部45に記憶されているデータは共有される。処理装置2は、たとえば、中央処理装置(CPU、Central Processing Unit)である。 When two or more processors 2 write data to or read data from the same data controller 4, each of the processors 2 uses data stored in the same data controller 4. . Therefore, the data stored in the shared data storage unit 45 of the data control device 4 is shared between the processing devices 2 that write and read data to and from the same data control device 4 . The processing device 2 is, for example, a central processing unit (CPU).

バッテリ装置3は、所定の分電盤(図示せず)から電力の供給を受ける。バッテリ装置3は、バッテリ33を備える。バッテリ33は、バッテリ装置3の外部から電流が加えられることにより、繰り返し電源として使用することができる二次電池(蓄電池)である。 The battery device 3 receives power supply from a predetermined distribution board (not shown). The battery device 3 has a battery 33 . The battery 33 is a secondary battery (storage battery) that can be repeatedly used as a power supply by applying current from the outside of the battery device 3 .

また、バッテリ装置3は、停電の発生を検知する。停電の発生を検知した場合に、バッテリ装置3は、停電の発生を示す通知をデータ制御装置4に出力する。また、停電の発生を検知した場合に、バッテリ装置3は、バッテリ33に充電された電力をデータ制御装置4に供給する。なお、停電の発生が検知されない場合、バッテリ装置3は、所定の分電盤から供給された電気をデータ制御装置4に供給する。このように、バッテリ装置3は、停電の発生を検知した場合、所定の分電盤からバッテリ33に、データ制御装置4への電力の供給源を切り替える。 Also, the battery device 3 detects the occurrence of a power failure. When detecting the occurrence of a power failure, the battery device 3 outputs a notification indicating the occurrence of the power failure to the data control device 4 . Also, when detecting the occurrence of a power failure, the battery device 3 supplies the power charged in the battery 33 to the data control device 4 . Note that when the occurrence of a power failure is not detected, the battery device 3 supplies the data control device 4 with electricity supplied from a predetermined distribution board. In this way, when detecting the occurrence of a power failure, the battery device 3 switches the power supply source for the data control device 4 from a predetermined distribution board to the battery 33 .

バッテリ装置3は、分電盤から電力が供給される配線(図示せず)と、バッテリ装置3からデータ制御装置4へ電力を供給する配線(図示せず)とを備える。バッテリ装置3は、分電盤から電力が供給される配線を介して、分電盤から電力の供給を受ける。バッテリ装置3は、分電盤から供給された電力をバッテリ33の充電に用いる。また、バッテリ装置3は、バッテリ装置3からデータ制御装置4へ電力を供給する配線を介して、分電盤から供給された電力をデータ制御装置4に供給する。また、停電の発生が検知された場合に、バッテリ装置3は、バッテリ装置3からデータ制御装置4へ電力を供給する配線を介して、バッテリ33に充電されている電力をデータ制御装置4に供給する。 The battery device 3 includes wiring (not shown) for supplying power from the distribution board and wiring (not shown) for supplying power from the battery device 3 to the data control device 4 . The battery device 3 is supplied with electric power from the distribution board via wiring to which power is supplied from the distribution board. The battery device 3 uses the power supplied from the distribution board to charge the battery 33 . In addition, the battery device 3 supplies the data control device 4 with power supplied from the distribution board through wiring for supplying power from the battery device 3 to the data control device 4 . Also, when the occurrence of a power failure is detected, the battery device 3 supplies the power charged in the battery 33 to the data control device 4 through the wiring that supplies power from the battery device 3 to the data control device 4. do.

データ制御装置4は、バッテリが供給可能な電力量を示す電力残容量を算出する。また、データ制御装置4は、データの書き込みに要する電力量が互いに異なる複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する。また、データ制御装置4は、停電の発生を示す通知をバッテリ装置3から受信した場合に、選択された記憶処理を行うことにより、共有データ記憶部45に記憶されているデータを記憶部47に書き込む。共有データ記憶部45と記憶部47とについては、後述する。 The data control device 4 calculates the remaining power capacity indicating the amount of power that the battery can supply. In addition, the data control device 4 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes that require different amounts of power to write data. Further, when the data control device 4 receives a notification indicating the occurrence of a power failure from the battery device 3 , the data control device 4 performs the selected storage process to transfer the data stored in the shared data storage unit 45 to the storage unit 47 . Write. Shared data storage unit 45 and storage unit 47 will be described later.

データ制御装置4は、外部記憶装置である。たとえば、データ制御装置4は、拡張記憶装置(EMU,Expanded Memory Unit)である。データ制御装置4は、処理装置2の各々の間で共有されるデータを、データ制御装置4の共有データ記憶部45に記憶させる。各々の処理装置2は、データ制御装置4に内蔵されている揮発性の記憶装置である共有データ記憶部45を介して、データを共有する。データ制御装置4の共有データ記憶部45は、揮発性の記憶装置である。また、データ制御装置4は、不揮発性の記憶装置である記憶部47を備える。 The data control device 4 is an external storage device. For example, the data control device 4 is an expanded memory unit (EMU). The data control device 4 causes the shared data storage unit 45 of the data control device 4 to store data shared among the processing devices 2 . Each processing device 2 shares data via a shared data storage unit 45 which is a volatile storage device incorporated in the data control device 4 . The shared data storage unit 45 of the data control device 4 is a volatile storage device. The data control device 4 also includes a storage unit 47 that is a non-volatile storage device.

データが転送される速度は、不揮発性の記憶装置である記憶部47への転送の速度が最も遅く、揮発性の記憶装置である共有データ記憶部45、処理装置2のメインメモリ(図示せず)の順に早くなる。また、データを記憶することができる記憶容量は、不揮発性の記憶装置である、データ制御装置4の記憶部47が最も大きく、揮発性の記憶装置である共有データ記憶部45、処理装置2のメインメモリの順に小さくなる。 As for the data transfer speed, the transfer speed to the storage unit 47, which is a non-volatile storage device, is the slowest, and the shared data storage unit 45, which is a volatile storage device, and the main memory (not shown) of the processing device 2 ) is faster. In addition, the storage capacity that can store data is the largest in the storage unit 47 of the data control device 4, which is a non-volatile storage device, and the shared data storage unit 45, which is a volatile storage device, and the processing device 2 Smaller in order of main memory.

処理装置2は、データを記憶させる場合に、処理装置2のメインメモリに加えて、データ制御装置4の共有データ記憶部45を用いる。データ制御装置4の共有データ記憶部を用いることにより、処理装置2は、メインメモリよりも記憶容量を増やすことができる。 When storing data, the processing device 2 uses the shared data storage section 45 of the data control device 4 in addition to the main memory of the processing device 2 . By using the shared data storage section of the data control device 4, the processing device 2 can increase the storage capacity compared to the main memory.

停電の発生を通知された場合に、データ制御装置4は、共有データ記憶部45に記憶されているデータを不揮発性の記憶部47に記憶させることにより、共有データ記憶部45からデータを退避させる。また、データ制御装置4は、共有データ記憶部45に記憶されているデータを記憶部47に、所定のタイミングで記憶させてもよい。 When notified of the occurrence of a power failure, the data control device 4 saves the data from the shared data storage unit 45 by storing the data stored in the shared data storage unit 45 in the non-volatile storage unit 47. . Further, the data control device 4 may store the data stored in the shared data storage section 45 in the storage section 47 at a predetermined timing.

次に、図3を参照して、本実施形態の処理装置2の構成について詳細に説明する。処理装置2-1,・・・,2-nの各々に含まれる入出力部21-1,・・・,21-nの各々を「入出力部21」という。処理装置2は、入出力部21を含む。 Next, with reference to FIG. 3, the configuration of the processing device 2 of this embodiment will be described in detail. , 21-n included in each of the processors 2-1, . The processing device 2 includes an input/output unit 21 .

入出力部21は、データ制御装置4の共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、当該データの優先度を示す優先度情報とを含む、データの書き込みを指示する制御情報をデータ制御装置4に出力する。データ識別情報は、データの各々にあらかじめ設定された識別子を示す情報である。また、入出力部21は、データ制御装置4の共有データ記憶部45から読み出されるデータのデータ識別情報を含む、データの読み出しを指示する制御情報をデータ制御装置4に出力する。また、入出力部21は、データ制御装置4の共有データ記憶部45から読み出されたデータをデータ制御装置4から受信する。入出力部21は、受信したデータを表示部(図示せず)に表示させる。 The input/output unit 21 instructs to write data including data to be written to the shared data storage unit 45 of the data control device 4, data identification information of the data, and priority information indicating the priority of the data. It outputs control information to the data control device 4 . The data identification information is information indicating an identifier preset for each piece of data. In addition, the input/output unit 21 outputs to the data control device 4 control information for instructing reading of data, including data identification information of data read from the shared data storage unit 45 of the data control device 4 . Input/output unit 21 also receives data read from shared data storage unit 45 of data control device 4 from data control device 4 . The input/output unit 21 causes the display unit (not shown) to display the received data.

たとえば、処理装置2は、利用者の操作に応じた入力を受け付ける入出力インタフェース(図示せず)を備える。処理装置2の入出力インタフェースを操作する利用者の操作に応じて、処理装置2には、データ制御装置4へのデータの書き込みの要求が入力される。また、処理装置2の入出力インタフェースを操作する利用者の操作に応じて、処理装置2には、データ制御装置4に記憶されているデータの読み出しの要求が入力される。データ制御装置4へのデータの書き込みの要求が入力された場合に、入出力部21は、データと、当該データのデータ識別情報と、当該データの優先度情報と、データの書き込みを指示する制御情報とを関連付けてデータ制御装置4に出力する。データの読み出しの要求が入力された場合に、入出力部21は、データ制御装置4の共有データ記憶部45から読み出されるデータのデータ識別情報と、データの読み出しを指示する制御情報とを関連付けてデータ制御装置4に出力する。 For example, the processing device 2 includes an input/output interface (not shown) that receives input according to user's operation. A data write request to the data control device 4 is input to the processing device 2 in accordance with the operation of the user who operates the input/output interface of the processing device 2 . Further, a request for reading data stored in the data control device 4 is input to the processing device 2 in accordance with the operation of the user who operates the input/output interface of the processing device 2 . When a request for writing data to the data control device 4 is input, the input/output unit 21 outputs data, data identification information of the data, priority information of the data, and control for instructing writing of the data. information and output to the data control device 4 . When a data read request is input, the input/output unit 21 associates data identification information of data read from the shared data storage unit 45 of the data control device 4 with control information instructing data read. Output to the data control device 4 .

次に、図3を参照して、本実施形態のバッテリ装置3の構成について詳細に説明する。バッテリ装置3は、通知部31と停電検知部32とバッテリ33とを含む。 Next, with reference to FIG. 3, the configuration of the battery device 3 of this embodiment will be described in detail. Battery device 3 includes notification unit 31 , power failure detection unit 32 , and battery 33 .

停電の発生を示す通知の出力を、後述する停電検知部32から要求された場合に、通知部31は、停電の発生を示す通知をデータ制御装置4に出力する。 The notification unit 31 outputs a notification indicating the occurrence of a power failure to the data control device 4 when a power failure detection unit 32 (to be described later) requests output of a notification indicating the occurrence of a power failure.

停電検知部32は、停電の発生を検知する。たとえば、停電検知部32は、分電盤からバッテリ装置3への電力の供給が停止したことを検知する。停電検知部32は、停電の発生を検知した場合に、停電の発生を示す通知の出力を通知部31に要求する。また、停電検知部32は、バッテリ装置3からデータ制御装置4へ電力を供給する配線を介して、バッテリ33に充電されている電力を、バッテリ33にデータ制御装置4へ供給させる。 The power failure detection unit 32 detects occurrence of power failure. For example, the power failure detection unit 32 detects that the supply of power from the distribution board to the battery device 3 has stopped. When detecting the occurrence of a power failure, the power failure detection unit 32 requests the notification unit 31 to output a notification indicating the occurrence of the power failure. Further, the power failure detection unit 32 causes the battery 33 to supply the power charged in the battery 33 to the data control device 4 through the wiring that supplies power from the battery device 3 to the data control device 4 .

バッテリ33は、バッテリ装置3の外部から電流が加えられることにより、繰り返し電源として使用することができる二次電池(蓄電池)である。バッテリ33は、たとえば、鉛蓄電池や、リチウムイオン電池や、ニッケル水素電池である。バッテリ33には、分電盤から電力が供給される配線を介して、電力が供給される。バッテリ装置3は、分電盤から供給された電力をバッテリ33の充電に用いる。また、バッテリ33は、停電の発生が検知された場合に、データ制御装置4への電力の供給源として用いられる。バッテリ装置3からデータ制御装置4へ電力を供給する配線を介して、バッテリ33に充電されている電力は、データ制御装置4に供給される。 The battery 33 is a secondary battery (storage battery) that can be repeatedly used as a power supply by applying current from the outside of the battery device 3 . Battery 33 is, for example, a lead-acid battery, a lithium-ion battery, or a nickel-metal hydride battery. Electric power is supplied to the battery 33 via a wiring through which electric power is supplied from the distribution board. The battery device 3 uses the power supplied from the distribution board to charge the battery 33 . Also, the battery 33 is used as a power supply source for the data control device 4 when the occurrence of a power failure is detected. Electric power charged in the battery 33 is supplied to the data control device 4 via wiring for supplying electric power from the battery device 3 to the data control device 4 .

次に、図3を参照して、本実施形態のデータ制御装置4の構成について詳細に説明する。データ制御装置4は、算出部41と選択部42と制御部43とを含む。また、入出力部44は、共有データ記憶部45と制御部43とに接続される。また、共有データ記憶部45は、入出力部44と制御部43とに接続される。特性情報記憶部46は、算出部41と選択部42とに接続される。また、記憶部47-1,47-2,・・・,47-n(nは2以上の整数)の各々は、制御部43に接続される。以降、記憶部47-1,47-2,・・・,47-nの各々を、「記憶部47」という。 Next, referring to FIG. 3, the configuration of the data control device 4 of this embodiment will be described in detail. The data control device 4 includes a calculator 41 , a selector 42 and a controller 43 . Also, the input/output unit 44 is connected to the shared data storage unit 45 and the control unit 43 . Also, the shared data storage unit 45 is connected to the input/output unit 44 and the control unit 43 . The characteristic information storage unit 46 is connected to the calculation unit 41 and the selection unit 42 . , 47-n (where n is an integer equal to or greater than 2) are connected to the control unit 43. The storage units 47-1, 47-2, . Each of the storage units 47-1, 47-2, .

入出力部44は、共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、当該データの優先度を示す優先度情報と、データの書き込みを指示する制御情報とを処理装置2から受信する。データの書き込みを指示する制御情報を受信した場合に、入出力部44は、受信したデータと、受信したデータのデータ識別情報と、優先度情報とを対応付けて共有データ記憶部45に記憶させる。また、入出力部44は、共有データ記憶部45から読み出されるデータのデータ識別情報と、データの読み出しを指示する制御情報とを処理装置2から受信する。データの読み出しを指示する制御情報を受信した場合に、入出力部44は、受信したデータ識別情報に対応付けられているデータを共有データ記憶部45から読み出す。また、入出力部44は、読み出したデータを処理装置2に出力する。 The input/output unit 44 transmits data to be written to the shared data storage unit 45, data identification information of the data, priority information indicating the priority of the data, and control information instructing writing of the data to the processing device 2. receive from When receiving control information instructing data writing, the input/output unit 44 stores the received data, the data identification information of the received data, and the priority information in association with each other in the shared data storage unit 45. . The input/output unit 44 also receives data identification information of data read from the shared data storage unit 45 and control information for instructing reading of data from the processing device 2 . When receiving the control information instructing to read data, the input/output unit 44 reads the data associated with the received data identification information from the shared data storage unit 45 . The input/output unit 44 also outputs the read data to the processing device 2 .

また、入出力部44は、停電の発生を示す通知をバッテリ装置3から受信する。停電の発生を示す通知を受信した場合に、入出力部44は、停電の発生を示す通知を制御部43に出力する。 The input/output unit 44 also receives a notification indicating the occurrence of power failure from the battery device 3 . Upon receiving the notification indicating the occurrence of a power failure, the input/output unit 44 outputs the notification indicating the occurrence of the power failure to the control unit 43 .

共有データ記憶部45には、データと、データのデータ識別情報と、優先度情報とが対応付けられて記憶される。共有データ記憶部45に記憶されるデータは、処理装置2の各々の間で共有される。共有データ記憶部45は、揮発性の記憶装置である。 The shared data storage unit 45 stores data, data identification information of the data, and priority information in association with each other. The data stored in the shared data storage unit 45 is shared between each of the processing devices 2 . The shared data storage unit 45 is a volatile storage device.

算出部41は、計測部411と取得部412と計算部413とを含む。 Calculation unit 41 includes measurement unit 411 , acquisition unit 412 , and calculation unit 413 .

計測部411は、バッテリ装置3のバッテリ33が使用されている使用時間を計測する。計測部411は、計測された時間を示す使用時間情報を計算部413に出力する。バッテリ装置3のバッテリ33の使用が開始された場合に、計測部411には、使用開始を示す通知がデータ制御装置4の外部から入力される。計測部411は、使用開始を示す通知が入力された場合に、バッテリ装置3のバッテリ33の使用時間の計測を開始する。バッテリ装置3が初めて使用されたタイミングで、バッテリ装置3が、使用開始を示す通知をデータ制御装置4に出力してもよい。また、データ制御装置4の入出力インタフェース(図示せず)を操作する利用者の操作に応じて、使用開始を示す通知がデータ制御装置4に入力されてもよい。 The measurement unit 411 measures the usage time during which the battery 33 of the battery device 3 is used. The measurement unit 411 outputs usage time information indicating the measured time to the calculation unit 413 . When the use of the battery 33 of the battery device 3 is started, a notification indicating the start of use is input from the outside of the data control device 4 to the measurement unit 411 . The measurement unit 411 starts measuring the usage time of the battery 33 of the battery device 3 when the notification indicating the start of use is input. At the timing when the battery device 3 is used for the first time, the battery device 3 may output a notification indicating the start of use to the data control device 4 . Further, a notification indicating the start of use may be input to the data control device 4 in accordance with the operation of the user who operates the input/output interface (not shown) of the data control device 4 .

取得部412は、センサ(図示せず)から温度を示す温度情報を取得する。また、取得部412は、取得された温度情報を計算部413に出力する。センサは、バッテリ装置3のバッテリ33の設置されている場所の温度を測定できる位置に設置されている。 Acquisition unit 412 acquires temperature information indicating temperature from a sensor (not shown). The acquisition unit 412 also outputs the acquired temperature information to the calculation unit 413 . The sensor is installed at a position where the temperature of the location where the battery 33 of the battery device 3 is installed can be measured.

また、センサは、測定した温度を示す温度情報を所定の頻度でデータ制御装置4に出力する。データ制御装置4の入出力部44が、センサから温度情報を受信し、受信した温度情報を算出部41に出力する。取得部412には、温度情報が入出力部44から入力される。 Further, the sensor outputs temperature information indicating the measured temperature to the data control device 4 at a predetermined frequency. The input/output unit 44 of the data control device 4 receives the temperature information from the sensor and outputs the received temperature information to the calculation unit 41 . Temperature information is input from the input/output unit 44 to the acquisition unit 412 .

センサは、有線または無線でデータ制御装置4と通信するための通信手段である通信インタフェースを備えてもよい。センサが通信インタフェースを備える場合、センサは、測定した温度を示す温度情報を通信インタフェースを介してデータ制御装置4に出力する。 The sensor may have a communication interface, which is a communication means for communicating with the data controller 4 by wire or wirelessly. If the sensor has a communication interface, the sensor outputs temperature information indicating the measured temperature to the data control device 4 via the communication interface.

また、取得部412がセンサの機能を備えてもよい。たとえば、バッテリ装置3が、データ制御装置4に内蔵されている場合、取得部412は、所定の頻度で、測定した温度を示す温度情報を生成する。あるいは、センサは、バッテリ装置3に内蔵されてもよい。 Also, the acquisition unit 412 may have a sensor function. For example, when the battery device 3 is built in the data control device 4, the acquisition unit 412 generates temperature information indicating the measured temperature at a predetermined frequency. Alternatively, the sensor may be built into the battery device 3 .

計算部413には、使用時間情報が計測部411から入力される。また、計算部413には、温度情報が取得部412から入力される。使用時間情報と温度情報とが入力された場合に、計算部413は、使用時間情報と温度情報のうち、少なくとも使用時間情報と、特性情報記憶部46に予め記憶されている特性情報とに基づいてバッテリ装置3のバッテリ33の供給可能な電力量を示す電力残容量を算出する。特性情報は、バッテリ33が分電盤から電力の供給を受けている状態から受けられない状態になった場合の、バッテリ33が供給可能な電力量を示す情報である。また、特性情報には、バッテリ33の劣化の特性を示す情報(たとえば、後述する図4や図5)が含まれる。また、計算部413は、算出された電力残容量を示す電力残容量情報を選択部42に出力する。 The usage time information is input from the measurement unit 411 to the calculation unit 413 . Further, temperature information is input from the acquisition unit 412 to the calculation unit 413 . When the usage time information and the temperature information are input, the calculation unit 413 calculates based on at least the usage time information and the characteristic information pre-stored in the characteristic information storage unit 46 among the usage time information and the temperature information. , the remaining power capacity indicating the amount of power that can be supplied by the battery 33 of the battery device 3 is calculated. The characteristic information is information indicating the amount of power that the battery 33 can supply when the battery 33 changes from being supplied with power from the distribution board to being unable to receive power. The characteristic information also includes information indicating the deterioration characteristic of the battery 33 (for example, FIG. 4 and FIG. 5 to be described later). Calculating section 413 also outputs remaining power capacity information indicating the calculated remaining power capacity to selecting section 42 .

ここで、図4から図6を参照して、特性情報記憶部46に記憶されている特性情報について説明する。 Here, the characteristic information stored in the characteristic information storage unit 46 will be described with reference to FIGS. 4 to 6. FIG.

図4から図6は、データ制御装置4に記憶される、バッテリ33の特性情報の一例を示す図である。図4には、バッテリ33の使用時間と、バッテリ33が供給可能な電力量である電力残容量との関係が示されている。図5には、バッテリ33の使用時間と、バッテリ33の設置されている場所の温度と、バッテリ33の電力残容量との関係が示されている。図4と図5には、分電盤から供給された電力を用いて常に充電されているバッテリ33の電力残容量と、バッテリ33の使用時間との関係が示される。図6には、バッテリ33の使用時間と、バッテリ33の充電と放電のサイクルに伴う電力残容量との関係が示されている。図6の例は、充電と放電とを所定の頻度で繰り返すことにより性能を維持するバッテリ33の特性情報である。 4 to 6 are diagrams showing an example of characteristic information of the battery 33 stored in the data control device 4. FIG. FIG. 4 shows the relationship between the usage time of the battery 33 and the remaining power capacity, which is the amount of power that the battery 33 can supply. FIG. 5 shows the relationship between the usage time of the battery 33, the temperature of the location where the battery 33 is installed, and the remaining power capacity of the battery 33. As shown in FIG. 4 and 5 show the relationship between the remaining power capacity of the battery 33, which is constantly charged using the power supplied from the distribution board, and the usage time of the battery 33. FIG. FIG. 6 shows the relationship between the usage time of the battery 33 and the remaining power capacity associated with the charging and discharging cycles of the battery 33 . The example of FIG. 6 is characteristic information of a battery 33 that maintains performance by repeating charging and discharging at a predetermined frequency.

まず、図4の例は、バッテリ装置3のバッテリ33の使用時間が長くなるにつれて、バッテリ33の電力残容量が減少する場合の例である。図4の例では、使用時間が「T10」、「T20」、および「T30」である使用時間の各々について、電力残容量が示されている。たとえば、使用時間情報が示す使用時間が、図4に示される「T20」である場合、算出される電力残容量は、「V2」である。特性情報が図4に示す特性情報であり、かつ特性情報記憶部46に記憶されている場合、計算部413は、使用時間情報に基づいて、電力残容量を算出する。 First, the example of FIG. 4 is an example in which the remaining power capacity of the battery 33 decreases as the usage time of the battery 33 of the battery device 3 increases. In the example of FIG. 4, the remaining power capacity is shown for each of the usage times "T10", "T20", and "T30". For example, if the usage time indicated by the usage time information is "T20" shown in FIG. 4, the calculated remaining power capacity is "V2". If the characteristic information is the characteristic information shown in FIG. 4 and is stored in the characteristic information storage unit 46, the calculation unit 413 calculates the remaining power capacity based on the usage time information.

次に、図5の例は、バッテリ装置3のバッテリ33の使用時間が長くなるにつれて、バッテリ33の電力残容量が減少する場合の例である。また、図5の例は、バッテリ33の設置されている場所の温度が32℃の場合(図5の破線)と、バッテリ33の設置されている場所の温度が25℃の場合(図5の実線)の特性情報の例である。図5の例では、使用時間が「T11a」であり、かつ温度情報が示す温度が32℃である場合の電力残容量である「V1」と、使用時間が「T11b」であり、かつ温度情報が示す温度が25℃である場合の電力残容量である「V1」とが示されている。図5では、温度情報が示す温度が32℃の場合の特性情報に示されるように、温度情報が示す温度が25℃の場合よりも、温度情報が示す温度が32℃の場合の方が電力残容量の減少の度合いが大きい。これは、25℃よりも32℃の方が温度が高いため、バッテリ33がより劣化していることが示されている。たとえば、図5に示す例では、使用時間が「T11b」である場合、使用時間が「T11a」である場合よりもバッテリ33は、長時間使用されている。一方で、使用時間が「T11a」であり、かつ温度情報が示す温度が32℃である場合と、「T11a」より長時間である使用時間が「T11b」であり、かつ温度情報が示す温度が25℃である場合の電力残容量が等しい。 Next, the example of FIG. 5 is an example in which the remaining power capacity of the battery 33 decreases as the usage time of the battery 33 of the battery device 3 increases. In the example of FIG. 5, the temperature of the location where the battery 33 is installed is 32° C. (broken line in FIG. 5) and the temperature of the location where the battery 33 is installed is 25° C. ( solid line). In the example of FIG. 5, the usage time is "T11a" and the temperature indicated by the temperature information is "V1" which is the remaining power capacity when the usage time is "T11b" and the temperature information is 32°C. "V1" is the remaining power capacity when the temperature indicated by is 25°C. In FIG. 5, as shown in the characteristic information when the temperature indicated by the temperature information is 32° C., power consumption is higher when the temperature indicated by the temperature information is 32° C. than when the temperature indicated by the temperature information is 25° C. The degree of decrease in remaining capacity is large. This indicates that the battery 33 is more deteriorated because the temperature is higher at 32°C than at 25°C. For example, in the example shown in FIG. 5, when the usage time is "T11b", the battery 33 is used for a longer time than when the usage time is "T11a". On the other hand, the usage time is “T11a” and the temperature indicated by the temperature information is 32° C., and the usage time longer than “T11a” is “T11b” and the temperature indicated by the temperature information is “T11b”. The remaining power capacity at 25°C is the same.

特性情報が図5に示す特性情報であり、かつ特性情報記憶部46に記憶されている場合、計算部413は、温度情報と使用時間情報とに基づいて、電力残容量を算出する。たとえば、使用時間情報が示す使用時間が「T11a」であり、かつ温度情報が示す温度が32℃である場合、算出される電力残容量は、「V1」である。 If the characteristic information is the characteristic information shown in FIG. 5 and is stored in the characteristic information storage unit 46, the calculation unit 413 calculates the remaining power capacity based on the temperature information and the usage time information. For example, when the usage time indicated by the usage time information is “T11a” and the temperature indicated by the temperature information is 32° C., the calculated remaining power capacity is “V1”.

最後に、図6の例は、バッテリ33の充電と放電のサイクルに伴い電力残容量が増減する場合の例である。図6の例では、使用時間が「T12」である使用時間について、電力残容量が「V1」であることが示されている。この場合、「V1」である電力量が、バッテリ33の充電と放電のサイクルに伴いバッテリ33に充電されている。特性情報が図6に示す特性情報であり、かつ特性情報記憶部46に記憶されている場合、計算部413は、使用時間情報に基づいて、電力残容量を算出する。たとえば、使用時間情報が示す使用時間が「T12」である場合、算出される電力残容量は、「V1」である。 Finally, the example of FIG. 6 is an example in which the remaining power capacity increases and decreases with the cycle of charging and discharging of the battery 33 . The example of FIG. 6 indicates that the remaining power capacity is "V1" for the usage time "T12". In this case, the amount of power "V1" is charged to the battery 33 as the battery 33 is charged and discharged in cycles. If the characteristic information is the characteristic information shown in FIG. 6 and is stored in the characteristic information storage unit 46, the calculation unit 413 calculates the remaining power capacity based on the usage time information. For example, when the usage time indicated by the usage time information is "T12", the calculated remaining power capacity is "V1".

このように、計算部413は、使用時間情報と温度情報のうち、少なくとも使用時間情報と、特性情報記憶部46に予め記憶されている特性情報とに基づいてバッテリ装置3のバッテリ33の供給可能な電力量を示す電力残容量を算出する。なお、図4から図6に示される特性情報は一例であり、これらに限定されない。たとえば、充電と放電とを所定の頻度で繰り返すことにより性能を維持するバッテリ33である場合、計算部413は、使用時間情報と温度情報のうち、少なくとも使用時間情報に基づいて、バッテリ33の充電可能な電力量を算出し、さらに、充電と放電のサイクルに伴う電力量の増減を踏まえた電力残容量を算出してもよい。 In this manner, the calculation unit 413 determines whether the battery 33 of the battery device 3 can be supplied based on at least the usage time information and the characteristic information pre-stored in the characteristic information storage unit 46 out of the usage time information and the temperature information. Calculate the remaining power capacity that indicates the amount of power required. Note that the characteristic information shown in FIGS. 4 to 6 is an example, and the present invention is not limited to these. For example, in the case of the battery 33 that maintains performance by repeating charging and discharging at a predetermined frequency, the calculation unit 413 charges the battery 33 based on at least the usage time information out of the usage time information and the temperature information. It is also possible to calculate the amount of power that can be used, and then calculate the remaining power capacity based on the increase or decrease in the amount of power that accompanies the charge/discharge cycle.

特性情報記憶部46には、バッテリ装置3のバッテリ33の特性を示す特性情報(たとえば、図4から図6のいずれか1つ)と、後述する記憶処理選択表(たとえば、図10)とが記憶される。 The characteristic information storage unit 46 stores characteristic information indicating the characteristics of the battery 33 of the battery device 3 (for example, any one of FIGS. 4 to 6) and a storage process selection table (for example, FIG. 10) to be described later. remembered.

選択部42には、算出された電力残容量を示す電力残容量情報が計算部413から入力される。選択部42は、電力残容量情報に示される電力残容量に応じた記憶処理を選択する。選択される記憶処理には、冗長処理と、分散処理と、併用処理とが含まれる。冗長処理は、2以上の複数の記憶部47の各々に同じデータを書き込む処理である。分散処理は、2以上の複数の記憶部47の各々に、データの一部である部分データを、記憶部47の各々に記憶される部分データが互いに異なるように分散させて書き込む処理である。併用処理は、2以上の複数の記憶部のうち、第1の組の記憶部の各々に第1の部分データを書き込み、第2の組の記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む処理である。選択部42は、冗長処理、分散処理、および併用処理の3つの記憶処理の中から、電力残容量に応じた記憶処理を選択する。また、選択部42は、選択された記憶処理を示す記憶処理情報を制御部43に出力する。記憶処理情報には、冗長処理を示す情報や、併用処理を示す情報、分散処理を示す情報が含まれる。 Remaining electric power information indicating the calculated remaining electric power is input from the calculating unit 413 to the selecting unit 42 . The selection unit 42 selects storage processing according to the remaining power capacity indicated in the remaining power capacity information. The storage processes selected include redundant processes, distributed processes, and combined processes. The redundancy process is a process of writing the same data in each of the two or more storage units 47 . Distributed processing is processing in which partial data, which is a part of data, is distributed and written in each of two or more storage units 47 so that the partial data stored in each storage unit 47 are different from each other. The combined processing writes the first partial data to each of the first set of storage units among the two or more storage units, and writes the first partial data to each of the second set of storage units. This is the process of writing the second partial data. The selection unit 42 selects a storage process according to the remaining power capacity from three storage processes of redundant processing, distributed processing, and combined processing. The selection unit 42 also outputs storage processing information indicating the selected storage processing to the control unit 43 . The memory processing information includes information indicating redundant processing, information indicating combined processing, and information indicating distributed processing.

なお、RAID(Redundant Arrays of Inexpensive Disks)の任意の方式の処理が、選択される記憶処理に含まれていてもよい。RAIDの任意の方式の処理が、選択される記憶処理に含まれる場合、後述する特性情報記憶部46の記憶処理選択表には、RAIDの方式を示す情報と、所定のRAIDの方式の記憶処理を行うことができる電力残容量とが対応付けられて記憶される。 Note that any RAID (Redundant Arrays of Inexpensive Disks) processing may be included in the selected storage processing. When the storage process to be selected includes the processing of an arbitrary RAID method, the storage processing selection table of the characteristic information storage unit 46, which will be described later, contains information indicating the RAID method and storage processing of a predetermined RAID method. is stored in association with the remaining power capacity at which it is possible to perform

具体的には、選択部42は、特性情報記憶部46に記憶されている記憶処理選択表(図10)の、算出された電力残容量に対応付けられて記憶されている記憶処理情報を読み出す。選択部42は、読み出された記憶処理情報を、選択された記憶処理を示す記憶処理情報として制御部43に出力する。特性情報記憶部46の記憶処理選択表(図10)には、電力残容量と、記憶処理情報とが対応付けられて記憶されている。 Specifically, the selection unit 42 reads the storage processing information stored in association with the calculated remaining power capacity in the storage processing selection table (FIG. 10) stored in the characteristic information storage unit 46. . The selection unit 42 outputs the read storage processing information to the control unit 43 as storage processing information indicating the selected storage processing. In the storage process selection table (FIG. 10) of the characteristic information storage unit 46, the remaining power capacity and the storage process information are stored in association with each other.

ここで、図7から図9を参照して、冗長処理、分散処理、および併用処理について説明する。図7から図9は、データ制御装置4の記憶部47に記憶されるデータを模式的に示す模式図である。 Here, redundant processing, distributed processing, and combined processing will be described with reference to FIGS. 7 to 9. FIG. 7 to 9 are schematic diagrams schematically showing data stored in the storage section 47 of the data control device 4. FIG.

図7は、共有データ記憶部45に記憶されているデータが「データA」から「データD」であり、かつ冗長処理が行われた場合の記憶部47-1から記憶部47-4の模式図である。図7に示されるように、記憶部47-1から記憶部47-4の各々には、同じデータである「データA」から「データD」が記憶される。 FIG. 7 is a schematic diagram of the storage units 47-1 to 47-4 when the data stored in the shared data storage unit 45 are "data A" to "data D" and redundant processing is performed. It is a diagram. As shown in FIG. 7, the same data "data A" to "data D" are stored in the storage units 47-1 to 47-4, respectively.

図8は、共有データ記憶部45に記憶されているデータが「データA」から「データD」であり、かつ併用処理が行われた場合の記憶部47-1から記憶部47-4の模式図である。図8に示されるように、記憶部47-1と記憶部47-2には、「データA」から「データD」を含むデータの一部である、第1の部分データである「データA」と「データB」とが記憶される。また、記憶部47-3と記憶部47-4には、「データA」から「データD」を含むデータの一部である、第2の部分データである「データC」と「データD」とが記憶される。このように、第1の組である記憶部47-1と記憶部47-2には第1の部分データ(「データA」と「データB」)が記憶されている。また、第2の組である記憶部47-3と記憶部47-4には第2の部分データ(「データC」と「データD」)が記憶されている。また、第1の組の記憶部47-1と記憶部47-2に記憶される第1の部分データは、第2の組の記憶部47-3と記憶部47-4とに記憶される第2の部分データと異なる。 FIG. 8 is a schematic diagram of storage units 47-1 to 47-4 when the data stored in shared data storage unit 45 are “data A” to “data D” and combined processing is performed. It is a diagram. As shown in FIG. 8, the storage unit 47-1 and the storage unit 47-2 store the first partial data "Data A ” and “data B” are stored. Further, in the storage units 47-3 and 47-4, "data C" and "data D" which are part of the data including "data A" to "data D" are stored. are stored. Thus, the first partial data (“data A” and “data B”) are stored in the first set of storage units 47-1 and 47-2. Second partial data (“data C” and “data D”) are stored in the second set of storage units 47-3 and 47-4. The first partial data stored in the first set of storage units 47-1 and 47-2 are stored in the second set of storage units 47-3 and 47-4. It differs from the second partial data.

図9は、共有データ記憶部45に記憶されているデータが「データA」から「データD」であり、かつ分散処理が行われた場合の記憶部47-1から記憶部47-4の模式図である。図9に示されるように、記憶部47-1には、共有データ記憶部45に記憶されているデータの部分データである「データA」が記憶される。また、記憶部47-2には、共有データ記憶部45に記憶されているデータの部分データである「データB」が記憶される。また、記憶部47-3には、共有データ記憶部45に記憶されているデータの部分データである「データC」が記憶される。また、記憶部47-4には、共有データ記憶部45に記憶されているデータの部分データである「データD」が記憶される。このように、記憶部47-1から記憶部47-4の各々には、部分データである「データA」から「データD」が、互いに異なるように分散されて記憶される。 FIG. 9 is a schematic diagram of the storage units 47-1 to 47-4 when the data stored in the shared data storage unit 45 are "data A" to "data D" and distributed processing is performed. It is a diagram. As shown in FIG. 9, “data A”, which is partial data of the data stored in the shared data storage unit 45, is stored in the storage unit 47-1. Further, “data B”, which is partial data of the data stored in the shared data storage unit 45, is stored in the storage unit 47-2. Further, “data C”, which is partial data of the data stored in the shared data storage unit 45, is stored in the storage unit 47-3. Further, “data D”, which is partial data of the data stored in the shared data storage unit 45, is stored in the storage unit 47-4. In this way, "data A" to "data D", which are partial data, are distributed and stored differently from each other in each of the storage units 47-1 to 47-4.

次に、算出された電力残容量に応じた記憶処理を選択部42が選択する処理について詳しく説明する。 Next, a detailed description will be given of a process in which the selection unit 42 selects a storage process according to the calculated remaining power capacity.

図10に、特性情報記憶部46に記憶されている記憶処理選択表の例を示す。図10の例では、算出された電力残容量が「V1」以上、「V1」未満「V2」以上、「V2」未満「V3」以上、および「V3」未満の場合に、選択される記憶処理を示す記憶処理情報が記憶されている。また、電力残容量は、「V1」が最も大きく、「V2」、「V3」の順に小さくなるとする。また、図4から図6に示す、データ制御装置4の特性情報記憶部46に記憶される特性情報には、「V1」、「V2」、および「V3」である電力残容量の例が示されている。 FIG. 10 shows an example of the storage process selection table stored in the characteristic information storage unit 46. As shown in FIG. In the example of FIG. 10, the storage process selected when the calculated remaining power capacity is "V1" or more, less than "V1", "V2" or more, less than "V2", "V3" or more, and less than "V3" Amnestic processing information indicating is stored. In addition, it is assumed that the remaining power capacity is the largest at “V1” and decreases in order of “V2” and “V3”. Further, the characteristic information stored in the characteristic information storage unit 46 of the data control device 4 shown in FIGS. It is

電力残容量である「V1」が、冗長処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値であるとする。以降、冗長処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値を第1の閾値と呼ぶ。第1の閾値は、たとえば、バッテリ33の交換が推奨される使用時間での電力残容量であってもよい。 Assume that “V1”, which is the remaining power capacity, is the lower limit value of the amount of power that allows redundant processing to be performed and the data stored in the shared data storage unit 45 to be stored in the storage unit 47 . Hereinafter, the lower limit value of the amount of electric power at which redundant processing can be performed and the data stored in the shared data storage unit 45 can be stored in the storage unit 47 will be referred to as a first threshold. The first threshold may be, for example, the remaining power capacity during the usage time during which replacement of the battery 33 is recommended.

また、電力残容量である「V2」が、併用処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値であるとする。以降、併用処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値を第2の閾値と呼ぶ。第2の閾値は、第1の閾値よりも値が小さい。なぜなら、図8に示すように、併用処理の場合、図7に示される冗長処理よりも記憶部47の各々に記憶させるデータの量が少ない。そのため、併用処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値である第2の閾値は、冗長処理を行う場合の下限値である第1の閾値よりも小さい。 It is also assumed that “V2”, which is the remaining power capacity, is the lower limit value of the power amount with which the combined processing can be performed and the data stored in the shared data storage unit 45 can be stored in the storage unit 47 . Hereinafter, the lower limit value of the amount of electric power at which the combined processing can be performed and the data stored in the shared data storage unit 45 can be stored in the storage unit 47 will be referred to as a second threshold. The second threshold has a smaller value than the first threshold. This is because, as shown in FIG. 8, in the case of the combined processing, the amount of data to be stored in each of the storage units 47 is smaller than that in the redundant processing shown in FIG. Therefore, the second threshold, which is the lower limit of the power amount at which the combined processing can be performed and the data stored in the shared data storage unit 45 can be stored in the storage unit 47, is the lower limit in the case of performing the redundant processing. less than some first threshold.

電力残容量が第1の閾値未満であり、かつ、第2の閾値以上である場合、バッテリ装置3のバッテリ33が交換を推奨される使用時間を過ぎて使用されていることが想定される。電力残容量が第1の閾値未満であり、かつ、第2の閾値以上である場合、冗長処理を行い、共有データ記憶部45に記憶されているすべてのデータを記憶部47に記憶させることができない。併用処理の方が、記憶部47の各々に記憶させるデータの総量が冗長処理よりも少ない。また、併用処理を行う場合、書き込み時間を冗長処理よりも短縮することができる。併用処理の方が、必要な電力量が冗長処理より少ないため、電力残容量が、冗長処理を行うことができる電力量より少ない場合であっても、共有データ記憶部45に記憶されているデータを記憶部47の各々に記憶させることができる。 If the remaining power capacity is less than the first threshold and greater than or equal to the second threshold, it is assumed that the battery 33 of the battery device 3 has been used past the usage time for which replacement is recommended. If the remaining power capacity is less than the first threshold and greater than or equal to the second threshold, redundant processing can be performed and all data stored in the shared data storage unit 45 can be stored in the storage unit 47. Can not. The total amount of data to be stored in each of the storage units 47 is smaller in the combined processing than in the redundant processing. Also, when performing the combined processing, the writing time can be shortened compared to the redundant processing. Since the combined processing requires less power than the redundant processing, the data stored in the shared data storage unit 45 can can be stored in each of the storage units 47 .

また、電力残容量である「V3」が、分散処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値であるとする。以降、分散処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値を第3の閾値と呼ぶ。第3の閾値は、第2の閾値よりも値が小さい。なぜなら、図9に示すように、分散処理の場合、図8に示される併用処理よりも記憶部47の各々に記憶させるデータの量が少ない。また、分散処理を行う場合、書き込み時間を併用処理よりも短縮することができる。分散処理の方が、必要な電力量が併用処理より少ないため、供給可能な電力残容量が、併用処理を行うことができる電力量より少ない場合であっても、共有データ記憶部45に記憶されているデータを記憶部47の各々に記憶させることができる。 It is also assumed that “V3”, which is the remaining power capacity, is the lower limit value of the power amount that allows distributed processing to be performed and the data stored in the shared data storage unit 45 to be stored in the storage unit 47 . Hereinafter, the lower limit value of the amount of electric power at which distributed processing can be performed and data stored in the shared data storage unit 45 can be stored in the storage unit 47 will be referred to as a third threshold. The third threshold has a smaller value than the second threshold. This is because, as shown in FIG. 9, in the case of distributed processing, the amount of data to be stored in each storage unit 47 is smaller than in the combined processing shown in FIG. Also, when distributed processing is performed, the writing time can be shortened compared to combined processing. Since the distributed processing requires less power than the combined processing, even if the remaining amount of power that can be supplied is less than the amount of power that can be used for the combined processing, the data is stored in the shared data storage unit 45. The stored data can be stored in each of the storage units 47 .

電力残容量が第3の閾値未満である場合、分散処理を行い、共有データ記憶部45に記憶されているすべてのデータを記憶部47に記憶させることができない。そのため、データ制御装置4は、共有データ記憶部45に記憶されているデータを、データに対応付けられている優先度情報が示す優先度が高いデータから順に、記憶部47に記憶させる。また、データ制御装置4は、バッテリ装置3のバッテリ33から電力の供給を受ける限り、共有データ記憶部45に記憶されているデータを記憶部47に記憶させる。バッテリ装置3のバッテリ33の電力残容量が、共有データ記憶部45に記憶されているすべてのデータを分散処理で記憶部47に記憶させることができる電力量より少ない場合であっても、共有データ記憶部45に記憶されている優先度が高いデータを記憶部47の各々に記憶させることができる。これにより、優先度が高いデータが失われる可能性を低減することができる。 If the remaining power capacity is less than the third threshold, distributed processing cannot be performed and all the data stored in the shared data storage unit 45 cannot be stored in the storage unit 47 . Therefore, the data control device 4 causes the data stored in the shared data storage unit 45 to be stored in the storage unit 47 in descending order of priority indicated by the priority information associated with the data. Further, the data control device 4 causes the storage section 47 to store the data stored in the shared data storage section 45 as long as power is supplied from the battery 33 of the battery device 3 . Even if the remaining power capacity of the battery 33 of the battery device 3 is less than the amount of power that can store all the data stored in the shared data storage unit 45 in the storage unit 47 by distributed processing, the shared data The data with high priority stored in the storage unit 45 can be stored in each of the storage units 47 . This can reduce the possibility that data with high priority will be lost.

また、分散処理を行い、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることができる電力量の下限値である第3の閾値は、併用処理を行う場合の下限値である第2の閾値よりも小さい。前述したように、第1の閾値、第2の閾値、そして第3の閾値の順に、閾値が示す値は小さくなる。 Further, the third threshold, which is the lower limit of the amount of electric power at which distributed processing can be performed and the data stored in the shared data storage unit 45 can be stored in the storage unit 47, is the lower limit when performing the combined processing. less than some second threshold. As described above, the values indicated by the thresholds decrease in the order of the first threshold, the second threshold, and the third threshold.

前述したように、データ制御装置4の選択部42は、算出された電力残容量が第1の閾値以上の場合、冗長処理を選択する。また、選択部42は、算出された電力残容量が第1の閾値未満であり、かつ、第2の閾値以上である場合、併用処理を選択する。また、選択部42は、算出された電力残容量が第2の閾値未満であり、かつ、第3の閾値以上である場合、分散処理を選択する。さらに、選択部42は、算出された電力残容量が第3の閾値未満である場合、優先度の高いデータから分散処理を行う処理を選択する。たとえば、電力残容量が第1の閾値未満であり、かつ、第2の閾値以上である場合、併用処理と分散処理とを選択することができるが、選択部42は、併用処理を選択する。このように、選択部42は、電力残容量に応じた、データの冗長性を保つことができる記憶処理を選択する。 As described above, the selection unit 42 of the data control device 4 selects redundancy processing when the calculated remaining power capacity is greater than or equal to the first threshold. Moreover, the selection unit 42 selects the combined processing when the calculated remaining power capacity is less than the first threshold and equal to or greater than the second threshold. Further, when the calculated remaining power capacity is less than the second threshold and equal to or greater than the third threshold, the selection unit 42 selects distributed processing. Furthermore, when the calculated remaining power capacity is less than the third threshold, the selection unit 42 selects the processing to perform the distributed processing from the data with the highest priority. For example, when the remaining power capacity is less than the first threshold and equal to or greater than the second threshold, combined processing and distributed processing can be selected, and the selection unit 42 selects combined processing. In this manner, the selection unit 42 selects storage processing that can maintain data redundancy according to the remaining power capacity.

たとえば、特性情報が図4に示す特性情報であり、記憶処理選択表が図10に示す記憶処理選択表であり、各々が特性情報記憶部46に記憶されているとする。 For example, it is assumed that the characteristic information is the characteristic information shown in FIG. 4 and the storage process selection table is the storage process selection table shown in FIG.

使用時間が、「T10」である場合、図5に示されるように、電力残容量は「V1」である。選択部42は、特性情報記憶部46に記憶されている記憶処理選択表(図10)の、算出された電力残容量に対応付けられて記憶されている記憶処理情報を読み出す。図10に示される記憶処理選択表では、「V1以上」である電力残容量に対応付けて、「冗長処理」を示す記憶処理情報が記憶されている。選択部42は、選択された記憶処理を示す記憶処理情報として、冗長処理を示す情報を制御部43に出力する。 When the usage time is "T10", the remaining power capacity is "V1" as shown in FIG. The selection unit 42 reads storage processing information stored in association with the calculated remaining power capacity in the storage processing selection table ( FIG. 10 ) stored in the characteristic information storage unit 46 . In the storage process selection table shown in FIG. 10, storage process information indicating "redundant process" is stored in association with the remaining power capacity of "V1 or more". The selection unit 42 outputs information indicating redundant processing to the control unit 43 as storage processing information indicating the selected storage processing.

記憶部47には、制御部43によりデータが書き込まれる。また、記憶部47は、不揮発性の記憶装置である。データ制御装置4には、2以上の複数の記憶部47が備えられる。また、バッテリ装置3のバッテリ33が、データ制御装置4が冗長処理を行うために十分な電力を供給できる場合、データの信頼性を保つために、データ制御装置4は、共有データ記憶部45に記憶されているデータを、冗長処理を行い記憶部47に記憶させる。 Data is written in the storage unit 47 by the control unit 43 . Moreover, the memory|storage part 47 is a non-volatile memory|storage device. The data control device 4 is provided with two or more storage units 47 . Further, when the battery 33 of the battery device 3 can supply sufficient power for the data control device 4 to perform redundant processing, the data control device 4 stores data in the shared data storage unit 45 in order to maintain data reliability. The stored data is subjected to redundancy processing and stored in the storage unit 47 .

制御部43には、選択された記憶処理を示す記憶処理情報が選択部42から入力される。また、制御部43には、停電の発生を示す通知が入出力部44から入力される。また、停電の発生を示す通知を入力された場合に、制御部43は、選択された記憶処理を行い、共有データ記憶部45に記憶されている、データと、データのデータ識別情報と、優先度情報とを記憶部47に書き込む。以降、共有データ記憶部45に記憶されている、データと、データのデータ識別情報と、優先度情報とを書き込み対象データと呼ぶ。書き込み対象データは、データと、データのデータ識別情報とであってもよい。 Storage processing information indicating the selected storage processing is input from the selection unit 42 to the control unit 43 . Also, a notification indicating the occurrence of a power failure is input from the input/output unit 44 to the control unit 43 . Further, when a notification indicating the occurrence of a power failure is input, the control unit 43 performs the selected storage process, and stores the data, the data identification information of the data, and the priority data stored in the shared data storage unit 45. degree information is written in the storage unit 47 . Data, data identification information of the data, and priority information stored in the shared data storage unit 45 are hereinafter referred to as write target data. The data to be written may be data and data identification information of the data.

冗長処理、併用処理、および分散処理のいずれかが選択された場合、制御部43は、書き込み対象データを任意の順序で記憶部47に書き込む。冗長処理、併用処理、および分散処理のいずれかが選択された場合、制御部43は、優先度情報が示す優先度が高いデータから順に、書き込み対象データを記憶部47に書き込んでもよい。優先度の高いデータから分散処理を行う処理が選択された場合、制御部43は、優先度情報が示す優先度が高いデータから順に、書き込み対象データを記憶部47に書き込む。 When any one of redundant processing, combined processing, and distributed processing is selected, the control unit 43 writes the write target data to the storage unit 47 in any order. When any one of redundant processing, combined processing, and distributed processing is selected, the control unit 43 may write the write target data to the storage unit 47 in descending order of priority indicated by the priority information. When distributed processing is selected in descending order of priority data, the control unit 43 writes data to be written into the storage unit 47 in descending order of priority indicated by the priority information.

このように、データ制御装置4は、バッテリ装置3のバッテリ33が供給可能な電力量を示す電力残容量を算出する。また、データ制御装置4は、データの書き込みに要する電力量が互いに異なる、データを記憶部47に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する。また、データ制御装置4は、選択された記憶処理を行うことにより、データを記憶部47に書き込む。これにより、バッテリ33が供給可能な電力量に応じた記憶処理でデータをデータ制御装置4の記憶部47に書き込むことが可能になる。また、バッテリ33が供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、データ制御装置4の記憶部47にデータを退避させることが可能になる。 In this manner, the data control device 4 calculates the remaining power capacity indicating the amount of power that the battery 33 of the battery device 3 can supply. In addition, the data control device 4 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing data to the storage unit 47 that require different amounts of power for writing data. The data control device 4 also writes the data to the storage unit 47 by performing the selected storage process. As a result, data can be written in the storage section 47 of the data control device 4 by storage processing according to the amount of power that the battery 33 can supply. In addition, data can be saved in the storage unit 47 of the data control device 4 even when the amount of power that can be supplied by the battery 33 is less than the amount of power required for normal save processing.

次に、図11から図14を参照して、本実施形態のデータ制御システムの動作例を説明する。図11および図12は、データ制御システムの動作例を示すシーケンス図である。図13および図14は、データ制御装置4の動作例を示すフローチャートである。 Next, an operation example of the data control system of this embodiment will be described with reference to FIGS. 11 to 14. FIG. 11 and 12 are sequence diagrams showing an operation example of the data control system. 13 and 14 are flow charts showing an operation example of the data control device 4. FIG.

まず、図11を参照して、処理装置2がデータをデータ制御装置4に出力し、データ制御装置4がデータをデータ制御装置4の共有データ記憶部45に記憶させる動作を説明する。 First, referring to FIG. 11, the operation of the processing device 2 outputting data to the data control device 4 and the data control device 4 storing the data in the shared data storage unit 45 of the data control device 4 will be described.

処理装置2の入出力インタフェースを操作する利用者の操作に応じて、処理装置2には、データ制御装置4へのデータの書き込みの要求が入力される。 A data write request to the data control device 4 is input to the processing device 2 in accordance with the operation of the user who operates the input/output interface of the processing device 2 .

データ制御装置4へのデータの書き込みの要求が入力された場合に、処理装置2の入出力部21は、データ制御装置4の共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、当該データの優先度を示す優先度情報と、データの書き込みを指示する制御情報とを関連付けてデータ制御装置4に出力する(ステップS201)。 When a request to write data to the data control device 4 is input, the input/output unit 21 of the processing device 2 writes data to be written to the shared data storage unit 45 of the data control device 4 and data identification information of the data. Then, the priority information indicating the priority of the data and the control information instructing the writing of the data are associated with each other and output to the data control device 4 (step S201).

データ制御装置4の入出力部44は、共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、当該データの優先度を示す優先度情報と、データの書き込みを指示する制御情報とを処理装置2から受信する。入出力部44は、データと、データのデータ識別情報と、優先度情報とを対応付けて共有データ記憶部45に記憶させる(ステップS202)。 The input/output unit 44 of the data control device 4 stores data to be written to the shared data storage unit 45, data identification information of the data, priority information indicating the priority of the data, and control information for instructing writing of the data. and are received from the processing device 2 . The input/output unit 44 stores the data, the data identification information of the data, and the priority information in association with each other in the shared data storage unit 45 (step S202).

次に、図12を参照して、バッテリ装置3が停電を検知し、データ制御装置4が、記憶部47に、共有データ記憶部45に記憶されているデータを記憶させる動作を説明する。 Next, with reference to FIG. 12, the operation of the battery device 3 detecting a power failure and the data control device 4 causing the storage unit 47 to store the data stored in the shared data storage unit 45 will be described.

データ制御装置4は、バッテリ装置3のバッテリ33が使用されている時間を計測する。また、データ制御装置4は、センサから温度を示す温度情報を取得する。データ制御装置4は、計測された時間を示す使用時間情報と、温度情報のうち、少なくとも使用時間情報と、特性情報とに基づいてバッテリ装置3のバッテリ33が供給可能な電力量を示す電力残容量を、所定の頻度で算出する。また、データ制御装置4は、電力残容量を算出する都度、電力残容量に応じた記憶処理を選択する。 The data control device 4 measures the time during which the battery 33 of the battery device 3 is used. The data control device 4 also acquires temperature information indicating the temperature from the sensor. The data control device 4 calculates the amount of power that can be supplied by the battery 33 of the battery device 3 based on the usage time information indicating the measured time, at least the usage time information among the temperature information, and the characteristic information. Capacity is calculated at a predetermined frequency. Moreover, the data control device 4 selects a storage process according to the remaining power capacity each time the remaining power capacity is calculated.

バッテリ装置3の停電検知部32は、停電の発生を検知する(ステップS301)。また、停電検知部32は、バッテリ装置3からデータ制御装置4へ電力を供給する配線を介して、バッテリ33に充電されている電力を、バッテリ33からデータ制御装置4へ供給させる。これにより、停電検知部32は、所定の分電盤からバッテリ33に、電力の供給源を切り替える(ステップS302)。また、停電検知部32は、停電の発生を示す通知の出力を通知部31に要求する。 The power failure detection unit 32 of the battery device 3 detects the occurrence of power failure (step S301). Further, the power failure detection unit 32 supplies the power charged in the battery 33 from the battery 33 to the data control device 4 through the wiring that supplies power from the battery device 3 to the data control device 4 . As a result, the power failure detection unit 32 switches the power supply source from the predetermined distribution board to the battery 33 (step S302). Further, the power failure detection unit 32 requests the notification unit 31 to output a notification indicating the occurrence of power failure.

通知部31は、停電の発生を示す通知をデータ制御装置4に出力する(ステップS303)。 The notification unit 31 outputs a notification indicating the occurrence of the power failure to the data control device 4 (step S303).

データ制御装置4の入出力部44は、停電の発生を示す通知をバッテリ装置3から受信する。停電の発生を示す通知を受信した場合に、データ制御装置4は、選択された記憶処理を行い、共有データ記憶部45に記憶されている、データと、データのデータ識別情報と、優先度情報とを記憶部47に書き込む(ステップS304)。 The input/output unit 44 of the data control device 4 receives from the battery device 3 a notification indicating the occurrence of a power failure. When a notification indicating the occurrence of a power failure is received, the data control device 4 performs the selected storage process, and the data stored in the shared data storage unit 45, the data identification information of the data, and the priority information are written in the storage unit 47 (step S304).

次に、図13を参照して、データを共有データ記憶部45に記憶させる場合のデータ制御装置4の動作例を説明する。また、図13の動作は、図11のステップS202の動作を詳述するものである。 Next, with reference to FIG. 13, an operation example of the data control device 4 when data is stored in the shared data storage unit 45 will be described. Further, the operation of FIG. 13 details the operation of step S202 of FIG.

入出力部44は、共有データ記憶部45に書き込まれるデータと、当該データのデータ識別情報と、優先度を示す優先度情報と、データの書き込みを指示する制御情報とを処理装置2から受信する(ステップS401)。 The input/output unit 44 receives data to be written to the shared data storage unit 45, data identification information of the data, priority information indicating priority, and control information instructing writing of data from the processing device 2. (Step S401).

入出力部44は、受信したデータと、受信したデータのデータ識別情報と、優先度情報とを対応付けて共有データ記憶部45に記憶させる(ステップS402)。 The input/output unit 44 stores the received data, the data identification information of the received data, and the priority information in association with each other in the shared data storage unit 45 (step S402).

次に、図14を参照して、データを記憶部47に記憶させる場合のデータ制御装置4の動作例を説明する。また、図14の動作は、図12のステップS304の動作を詳述するものである。 Next, with reference to FIG. 14, an operation example of the data control device 4 when storing data in the storage section 47 will be described. Further, the operation of FIG. 14 details the operation of step S304 of FIG.

計測部411は、バッテリ装置3のバッテリ33が使用されている時間を計測する(ステップS501)。計測部411は、計測された時間を示す使用時間情報を所定の頻度で計算部413に出力する。 The measurement unit 411 measures the time during which the battery 33 of the battery device 3 is used (step S501). The measurement unit 411 outputs usage time information indicating the measured time to the calculation unit 413 at a predetermined frequency.

取得部412は、センサから温度を示す温度情報を取得する。取得部412は、取得された温度情報を所定の頻度で計算部413に出力する(ステップS502)。取得部412は、計測部411が使用時間情報を出力する動作と同じタイミングで、計算部413に温度情報を出力する。 Acquisition unit 412 acquires temperature information indicating temperature from the sensor. The acquisition unit 412 outputs the acquired temperature information to the calculation unit 413 at a predetermined frequency (step S502). Acquisition unit 412 outputs temperature information to calculation unit 413 at the same timing as measurement unit 411 outputs usage time information.

なお、計測部411の使用時間情報の出力と、取得部412の温度情報の出力とは、任意のタイミングで行われてもよい。この場合、後述する選択部42は、所定の期間の間に入力された使用時間情報と、温度情報とに基づいて、電力残容量を算出する。 The output of the usage time information from the measurement unit 411 and the output of the temperature information from the acquisition unit 412 may be performed at arbitrary timings. In this case, the selection unit 42, which will be described later, calculates the remaining power capacity based on the usage time information and temperature information input during a predetermined period.

使用時間情報と温度情報とが入力された場合に、計算部413は、次の動作を行う。計算部413は、使用時間情報と温度情報のうち、少なくとも使用時間情報と、特性情報記憶部46に予め記憶されている特性情報とに基づいてバッテリ装置3のバッテリ33の供給可能な電力量を示す電力残容量を算出する(ステップS503)。計算部413は、算出された電力残容量を示す電力残容量情報を選択部42に出力する。 When the usage time information and the temperature information are input, the calculation unit 413 performs the following operations. The calculation unit 413 calculates the amount of power that can be supplied by the battery 33 of the battery device 3 based on at least the usage time information and the characteristic information stored in advance in the characteristic information storage unit 46 out of the usage time information and the temperature information. The indicated remaining power capacity is calculated (step S503). Calculating section 413 outputs remaining power capacity information indicating the calculated remaining power capacity to selecting section 42 .

選択部42には、算出された電力残容量を示す電力残容量情報が計算部413から入力される。選択部42は、電力残容量情報に示される電力残容量に応じた記憶処理を選択する(ステップS504)。選択部42は、選択された記憶処理を示す記憶処理情報を制御部43に出力する。 Remaining electric power information indicating the calculated remaining electric power is input from the calculating unit 413 to the selecting unit 42 . The selection unit 42 selects storage processing according to the remaining power capacity indicated in the remaining power capacity information (step S504). The selection unit 42 outputs storage processing information indicating the selected storage processing to the control unit 43 .

入出力部44は、停電の発生を示す通知をバッテリ装置3から受信する。停電の発生を示す通知を受信した場合に、入出力部44は、停電の発生を示す通知を制御部43に出力する。 The input/output unit 44 receives from the battery device 3 a notification indicating the occurrence of a power failure. Upon receiving the notification indicating the occurrence of a power failure, the input/output unit 44 outputs the notification indicating the occurrence of the power failure to the control unit 43 .

制御部43には、選択された記憶処理情報が選択部42から入力される。また、制御部43には、停電の発生を示す通知が入出力部44から入力される(ステップS505)。停電の発生が通知された場合に(ステップS505、YES)、制御部43は、選択された記憶処理を行い、共有データ記憶部45に記憶されている、書き込み対象データを記憶部47に書き込む(ステップS506)。書き込み対象データは、たとえば、共有データ記憶部45に記憶されている、データと、データのデータ識別情報と、優先度情報である。 The selected memory processing information is input from the selection unit 42 to the control unit 43 . Also, a notification indicating the occurrence of a power failure is input from the input/output unit 44 to the control unit 43 (step S505). When the occurrence of the power failure is notified (step S505, YES), the control unit 43 performs the selected storage process, and writes the write target data stored in the shared data storage unit 45 to the storage unit 47 ( step S506). The data to be written is, for example, data stored in the shared data storage unit 45, data identification information of the data, and priority information.

なお、冗長処理、併用処理、および分散処理のいずれかが選択された場合、制御部43は、書き込み対象データを任意の順序で記憶部47に書き込む。また、優先度の高いデータから分散処理する処理が選択された場合、制御部43は、優先度情報が示す優先度が高いデータから順に、書き込み対象データを記憶部47に書き込む。 Note that when any one of redundant processing, combined processing, and distributed processing is selected, the control unit 43 writes the write target data to the storage unit 47 in an arbitrary order. Further, when distributed processing is selected in descending order of priority data, the control unit 43 writes the write target data to the storage unit 47 in descending order of priority indicated by the priority information.

このように、データ制御装置4は、バッテリ装置3のバッテリ33が供給可能な電力量を示す電力残容量を算出する。また、データ制御装置4は、データの書き込みに要する電力量が互いに異なる、データを記憶部47に書き込む複数の記憶処理のうち、算出された電力残容量に応じた記憶処理を選択する。また、データ制御装置4は、選択された記憶処理を行うことにより、データを記憶部47に書き込む。これにより、バッテリ33が供給可能な電力量に応じた記憶処理でデータをデータ制御装置4の記憶部47に書き込むことが可能になる。これにより、バッテリ33が供給可能な電力量が、通常の退避処理に必要な電力量よりも減少した状態であっても、データ制御装置4の記憶部47にデータを退避させることが可能になる。 In this manner, the data control device 4 calculates the remaining power capacity indicating the amount of power that the battery 33 of the battery device 3 can supply. In addition, the data control device 4 selects a storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing data to the storage unit 47 that require different amounts of power for writing data. The data control device 4 also writes the data to the storage unit 47 by performing the selected storage process. As a result, data can be written in the storage section 47 of the data control device 4 by storage processing according to the amount of power that the battery 33 can supply. As a result, data can be saved in the storage section 47 of the data control device 4 even when the amount of power that can be supplied by the battery 33 is less than the amount of power required for normal save processing. .

また、本実施形態のデータ制御装置4は、バッテリ装置3のバッテリ33が供給可能な電力残容量に応じた記憶処理を行う。バッテリ装置3のバッテリ33が、高温の環境で使用されたり、新しいバッテリへの交換が推奨される使用時間を過ぎて使用されたりすることによって、バッテリ33が供給可能な電力量が減少していることが想定される。たとえば、新しいバッテリへの交換が推奨される使用時間を過ぎて使用されている、交換が遅れているバッテリ装置3のバッテリ33が想定される。このように、バッテリ33が供給可能な電力量が減少している場合であっても、共有データ記憶部45に記憶されているデータを記憶部47に記憶させることが可能になる。また、停電時に、共有データ記憶部45から記憶部47にデータを退避させる、記憶処理が完了する前に、バッテリ装置3からデータ制御装置4への電力の供給が切れる可能性を低減することが可能になる。 Further, the data control device 4 of the present embodiment performs storage processing according to the remaining amount of power that can be supplied by the battery 33 of the battery device 3 . The battery 33 of the battery device 3 has been used in a high-temperature environment or has been used beyond the recommended usage time for replacement with a new battery, thereby reducing the amount of electric power that the battery 33 can supply. is assumed. For example, the battery 33 of the battery device 3 whose replacement is delayed, which has been used beyond the usage time recommended for replacement with a new battery, is assumed. In this way, even when the amount of power that can be supplied by the battery 33 is decreasing, it is possible to store the data stored in the shared data storage section 45 in the storage section 47 . In addition, in the event of a power failure, it is possible to reduce the possibility that the power supply from the battery device 3 to the data control device 4 is interrupted before the data is saved from the shared data storage unit 45 to the storage unit 47 and the storage process is completed. be possible.

また、本実施形態のデータ制御装置4は、共有データ記憶部45に記憶されているデータのすべてを分散処理により記憶部47に記憶させることができない場合に、優先度を示す優先度情報に基づいて、優先度が高いデータから分散処理を行う。これにより、優先度が高いデータが失われる可能性を低減することができる。
[ハードウェア構成例]
上述した本発明の各実施形態におけるデータ制御装置(1、および4)を、一つの情報処理装置(コンピュータ)を用いて実現するハードウェア資源の構成例について説明する。なお、データ制御装置は、物理的または機能的に少なくとも二つの情報処理装置を用いて実現してもよい。また、データ制御装置は、専用の装置として実現してもよい。また、制御装置の一部の機能のみを情報処理装置を用いて実現してもよい。
Further, the data control device 4 of the present embodiment, when all the data stored in the shared data storage unit 45 cannot be stored in the storage unit 47 by distributed processing, based on the priority information indicating the priority. Distributed processing is performed from the data with the highest priority. This can reduce the possibility that data with high priority will be lost.
[Hardware configuration example]
A configuration example of hardware resources for realizing the data control devices (1 and 4) in each of the above-described embodiments of the present invention using one information processing device (computer) will be described. The data control device may be physically or functionally implemented using at least two information processing devices. Also, the data control device may be implemented as a dedicated device. Also, only a part of the functions of the control device may be realized using the information processing device.

図15は、本発明の各実施形態のデータ制御装置を実現可能な情報処理装置のハードウェア構成例を概略的に示す図である。情報処理装置5は、通信インタフェース51、入出力インタフェース52、演算装置53、記憶装置54、不揮発性記憶装置55およびドライブ装置56を含む。 FIG. 15 is a diagram schematically showing a hardware configuration example of an information processing device capable of realizing the data control device of each embodiment of the present invention. The information processing device 5 includes a communication interface 51 , an input/output interface 52 , an arithmetic device 53 , a storage device 54 , a nonvolatile storage device 55 and a drive device 56 .

たとえば、図1の算出部11や選択部12や制御部13は、演算装置53で実現することが可能である。また、図3の入出力部44は、通信インタフェース51で実現することが可能である。図3の特性情報記憶部46と、共有データ記憶部45とは、記憶装置54で実現することが可能である。また、図3の記憶部47は、不揮発性記憶装置55で実現することが可能である。 For example, the calculation unit 11, the selection unit 12, and the control unit 13 in FIG. Also, the input/output unit 44 in FIG. 3 can be realized by the communication interface 51 . The characteristic information storage unit 46 and the shared data storage unit 45 in FIG. 3 can be realized by the storage device 54 . Also, the storage unit 47 in FIG. 3 can be realized by the nonvolatile storage device 55 .

通信インタフェース51は、各実施形態のデータ制御装置が、有線あるいは/および無線で外部装置と通信するための通信手段である。なお、データ制御装置を、少なくとも二つの情報処理装置を用いて実現する場合、それらの装置の間を通信インタフェース51経由で相互に通信可能なように接続してもよい。 The communication interface 51 is communication means for the data control device of each embodiment to communicate with an external device by wire and/or wirelessly. When the data control device is implemented using at least two information processing devices, these devices may be connected via the communication interface 51 so as to be able to communicate with each other.

入出力インタフェース52は、入力デバイスの一例であるキーボードや、出力デバイスとしてのディスプレイ等のマンマシンインタフェースである。 The input/output interface 52 is a man-machine interface such as a keyboard as an example of an input device and a display as an output device.

演算装置53は、汎用のCPU(Central Processing Unit)やマイクロプロセッサ等の演算処理装置や複数の電気回路によって実現される。演算装置53は、たとえば、不揮発性記憶装置55に記憶された各種プログラムを記憶装置54に読み出し、読み出したプログラムに従って処理を実行することが可能である。 The arithmetic unit 53 is implemented by a general-purpose CPU (Central Processing Unit), an arithmetic processing unit such as a microprocessor, and a plurality of electric circuits. The computing device 53 can, for example, read various programs stored in the nonvolatile storage device 55 to the storage device 54 and execute processing according to the read programs.

記憶装置54は、演算装置53から参照可能な、RAM(Random Access Memory)等のメモリ装置であり、プログラムや各種データ等を記憶する。記憶装置54は、揮発性のメモリ装置であってもよい。 The storage device 54 is a memory device such as a RAM (Random Access Memory) that can be referred to by the arithmetic device 53, and stores programs, various data, and the like. Storage device 54 may be a volatile memory device.

不揮発性記憶装置55は、たとえば、ROM(Read Only Memory)、フラッシュメモリ、等の、不揮発性の記憶装置であり、各種プログラムやデータ等を記憶することが可能である。 The nonvolatile storage device 55 is a nonvolatile storage device such as ROM (Read Only Memory), flash memory, etc., and can store various programs, data, and the like.

ドライブ装置56は、たとえば、後述する記録媒体57に対するデータの読み込みや書き込みを処理する装置である。 The drive device 56 is, for example, a device that processes data reading and writing with respect to a recording medium 57, which will be described later.

記録媒体57は、たとえば、光ディスク、光磁気ディスク、半導体フラッシュメモリ等、データを記録可能な任意の記録媒体である。 The recording medium 57 is, for example, an optical disc, a magneto-optical disc, a semiconductor flash memory, or any other recording medium capable of recording data.

本発明の各実施形態は、たとえば、図15に例示した情報処理装置5によりデータ制御装置を構成し、このデータ制御装置に対して、上記各実施形態において説明した機能を実現可能なプログラムを供給することにより実現してもよい。 In each embodiment of the present invention, for example, the information processing device 5 illustrated in FIG. It may be realized by

この場合、データ制御装置に対して供給したプログラムを、演算装置53が実行することによって、実施形態を実現することが可能である。また、データ制御装置のすべてではなく、一部の機能を情報処理装置5で構成することも可能である。 In this case, the embodiment can be realized by having the arithmetic device 53 execute the program supplied to the data control device. It is also possible to configure the information processing device 5 to perform not all but some of the functions of the data control device.

さらに、上記プログラムを記録媒体57に記録しておき、データ制御装置の出荷段階、あるいは運用段階等において、適宜上記プログラムが不揮発性記憶装置55に格納されるよう構成してもよい。なお、この場合、上記プログラムの供給方法は、出荷前の製造段階、あるいは運用段階等において、適当な治具を利用して制御装置内にインストールする方法を採用してもよい。また、上記プログラムの供給方法は、インターネット等の通信回線を介して外部からダウンロードする方法等の一般的な手順を採用してもよい。 Further, the program may be recorded in the recording medium 57 and stored in the non-volatile storage device 55 as appropriate at the stage of shipment of the data control device or at the stage of operation. In this case, as the method of supplying the program, a method of installing the program in the control device using an appropriate jig in the manufacturing stage before shipment or the operation stage may be adopted. Moreover, as a method of supplying the program, a general procedure such as a method of downloading from the outside via a communication line such as the Internet may be adopted.

なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々変更実施が可能である。 The embodiments described above are preferred embodiments of the present invention, and various modifications can be made without departing from the gist of the present invention.

上記の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments can also be described as the following additional remarks, but are not limited to the following.

(付記1)
バッテリが供給可能な電力量を示す電力残容量を算出する算出部と、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択する選択部と、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む制御部と、
を備えるデータ制御装置。
(Appendix 1)
a calculation unit that calculates a remaining power capacity indicating the amount of power that can be supplied by the battery;
a selection unit that selects the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit, the amount of power required for writing the data being different from each other;
a control unit that writes the data to the storage unit by performing the selected storage process;
a data controller;

(付記2)
前記データの書き込みに要する電力量が互いに異なる複数の前記記憶処理には、複数の前記記憶部の各々に同じ前記データを書き込む冗長処理と、複数の前記記憶部の各々に、前記データの一部である部分データを、前記記憶部の各々に記憶される前記部分データが互いに異なるように分散させて書き込む分散処理と、複数の前記記憶部のうち、第1の組の前記記憶部の各々に第1の部分データを書き込み、かつ第2の組の前記記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む併用処理とが含まれる
ことを特徴とする付記1に記載のデータ制御装置。
(Appendix 2)
The plurality of storage processes in which the amount of power required to write the data differs from each other include redundancy processing in which the same data is written in each of the plurality of storage units, and part of the data is stored in each of the plurality of storage units. distributed processing for writing the partial data in each of the storage units so that the partial data stored in each of the storage units are different from each other; and a combined process of writing first partial data and writing second partial data different from the first partial data in each of the storage units of the second set. data controller.

(付記3)
前記制御部は、停電の発生を検知する、前記バッテリを含むバッテリ装置から停電の発生を通知された場合に、前記記憶処理を行う
ことを特徴とする付記1または付記2に記載のデータ制御装置。
(Appendix 3)
The data control device according to appendix 1 or appendix 2, wherein the control unit performs the storage process when notified of the occurrence of a power failure by a battery device that detects the occurrence of a power failure and includes the battery. .

(付記4)
前記データを記憶する揮発性の記憶装置である共有データ記憶部をさらに備え、
前記記憶部は、不揮発性の記憶装置であり、
前記制御部は、前記共有データ記憶部に記憶されている前記データを前記記憶部に書き込む
ことを特徴とする付記1から付記3のいずれか1項に記載のデータ制御装置。
(Appendix 4)
further comprising a shared data storage unit that is a volatile storage device that stores the data;
The storage unit is a non-volatile storage device,
3. The data control device according to any one of appendices 1 to 3, wherein the control unit writes the data stored in the shared data storage unit to the storage unit.

(付記5)
前記算出部は、前記バッテリが使用されている時間を計測し、前記バッテリが使用されている時間を示す使用時間情報に基づいて前記電力残容量を算出する
ことを特徴とする付記1から付記4のいずれか1項に記載のデータ制御装置。
(Appendix 5)
Supplementary notes 1 to 4, characterized in that the calculation unit measures the time during which the battery is used, and calculates the remaining power capacity based on usage time information indicating the time during which the battery is used. The data control device according to any one of Claims 1 to 3.

(付記6)
前記算出部は、前記使用時間情報に基づいて、前記バッテリの充電と放電のサイクルに伴い充電されている電力量を前記電力残容量として算出する
ことを特徴とする付記5に記載のデータ制御装置。
(Appendix 6)
The data control device according to Supplementary note 5, wherein the calculation unit calculates, as the remaining power capacity, the amount of power charged in accordance with the charging and discharging cycles of the battery based on the usage time information. .

(付記7)
前記算出部は、前記バッテリが設置されている場所の温度を示す温度情報を取得し、さらに前記温度情報に基づいて前記電力残容量を算出する
ことを特徴とする付記5または付記6に記載のデータ制御装置。
(Appendix 7)
6. The method according to appendix 5 or 6, wherein the calculation unit acquires temperature information indicating the temperature of a location where the battery is installed, and further calculates the remaining power capacity based on the temperature information. Data controller.

(付記8)
付記1から付記7のいずれか1項に記載のデータ制御装置と、
前記バッテリを含むバッテリ装置と、
を備えるデータ制御システム。
(Appendix 8)
the data control device according to any one of appendices 1 to 7;
a battery device including the battery;
A data control system comprising:

(付記9)
バッテリが供給可能な電力量を示す電力残容量を算出し、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択し、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む
データ制御方法。
(Appendix 9)
Calculate the remaining power capacity that indicates the amount of power that the battery can supply,
Selecting the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit, which require different amounts of power to write the data;
A data control method, wherein the data is written into the storage unit by performing the selected storage process.

(付記10)
前記データの書き込みに要する電力量が互いに異なる複数の前記記憶処理には、複数の前記記憶部の各々に前記データを書き込む冗長処理と、複数の前記記憶部の各々に、前記データの一部である部分データを、前記記憶部の各々に記憶される前記部分データが互いに異なるように分散させて書き込む分散処理と、複数の前記記憶部のうち、第1の組の前記記憶部の各々に第1の部分データを書き込み、かつ第2の組の前記記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む併用処理とが含まれる
ことを特徴とする付記9に記載のデータ制御方法。
(Appendix 10)
The plurality of storage processes in which the amount of power required to write the data differs from each other include redundancy processing in which the data is written in each of the plurality of storage units; a distributed process of writing certain partial data in a distributed manner so that the partial data stored in each of the storage units are different from each other; and a combined process of writing one partial data and writing second partial data different from the first partial data in each of the storage units of the second set. Data control method.

(付記11)
停電の発生を検知する、前記バッテリを含むバッテリ装置から停電の発生を通知された場合に、前記記憶処理を行う
ことを特徴とする付記9または付記10に記載のデータ制御方法。
(Appendix 11)
11. The data control method according to appendix 9 or appendix 10, wherein the memory processing is performed when a battery device including the battery, which detects the occurrence of a power failure, notifies of the occurrence of a power failure.

(付記12)
データを記憶する揮発性の記憶装置である共有データ記憶部に記憶されている前記データを前記記憶部に書き込み
前記記憶部は、不揮発性の記憶装置である
ことを特徴とする請求項9から請求項11のいずれか1項に記載のデータ制御方法。
(Appendix 12)
10. The data stored in a shared data storage unit, which is a volatile storage device for storing data, is written to the storage unit, and the storage unit is a non-volatile storage device. Item 12. The data control method according to any one of Item 11.

(付記13)
前記バッテリが使用されている時間を計測し、前記バッテリが使用されている時間を示す使用時間情報に基づいて前記電力残容量を算出する
ことを特徴とする付記9から付記12のいずれか1項に記載のデータ制御方法。
(Appendix 13)
13. Any one of appendices 9 to 12, characterized in that the amount of time that the battery has been used is measured, and the remaining power capacity is calculated based on usage time information that indicates the amount of time that the battery has been used. The data control method described in .

(付記14)
前記使用時間情報に基づいて、前記バッテリの充電と放電のサイクルに伴い充電されている電力量を前記電力残容量として算出する
ことを特徴とする付記13に記載のデータ制御方法。
(Appendix 14)
14. The data control method according to appendix 13, wherein the amount of electric power charged in accordance with the charging and discharging cycles of the battery is calculated as the remaining electric power capacity based on the usage time information.

(付記15)
前記バッテリが設置されている場所の温度を示す温度情報を取得し、さらに前記温度情報に基づいて前記電力残容量を算出する
ことを特徴とする付記13または付記14に記載のデータ制御方法。
(Appendix 15)
15. The data control method according to Supplementary Note 13 or 14, wherein temperature information indicating the temperature of the location where the battery is installed is obtained, and the remaining power capacity is calculated based on the temperature information.

(付記16)
コンピュータに、
バッテリが供給可能な電力量を示す電力残容量を算出する算出機能と、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択する選択機能と、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む制御機能と、
を実現させるデータ制御プログラム。
(Appendix 16)
to the computer,
a calculation function that calculates the remaining power capacity that indicates the amount of power that the battery can supply;
a selection function that selects the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit that require different amounts of power to write the data;
a control function for writing the data to the storage unit by performing the selected storage process;
A data control program that realizes

(付記17)
前記データの書き込みに要する電力量が互いに異なる複数の前記記憶処理には、複数の前記記憶部の各々に同じ前記データを書き込む冗長処理と、複数の前記記憶部の各々に、前記データの一部である部分データを、前記記憶部の各々に記憶される前記部分データが互いに異なるように分散させて書き込む分散処理と、複数の前記記憶部のうち、第1の組の前記記憶部の各々に第1の部分データを書き込み、かつ第2の組の前記記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む併用処理とが含まれる
ことを特徴とする付記16に記載のデータ制御プログラム。
(Appendix 17)
The plurality of storage processes in which the amount of power required to write the data differs from each other include redundancy processing in which the same data is written in each of the plurality of storage units, and part of the data is stored in each of the plurality of storage units. distributed processing for writing the partial data in each of the storage units so that the partial data stored in each of the storage units are different from each other; 17. The method according to appendix 16, further comprising a combination process of writing first partial data and writing second partial data different from the first partial data in each of the storage units of a second set. data control program.

(付記18)
前記制御機能は、停電の発生を検知する、前記バッテリを含むバッテリ装置から停電の発生を通知された場合に、前記記憶処理を行う
ことを特徴とする付記16または付記17に記載のデータ制御プログラム。
(Appendix 18)
18. The data control program according to appendix 16 or 17, wherein the control function performs the storage process when notified of the occurrence of a power failure by a battery device that detects the occurrence of a power failure and includes the battery. .

(付記19)
前記制御機能は、前記データを記憶する揮発性の記憶装置である共有データ記憶部に記憶されている前記データを前記記憶部に書き込み、
前記記憶部は、不揮発性の記憶装置である
ことを特徴とする請求項16から請求項18のいずれか1項に記載のデータ制御プログラム。
(Appendix 19)
The control function writes the data stored in a shared data storage unit, which is a volatile storage device that stores the data, to the storage unit;
The data control program according to any one of claims 16 to 18, wherein said storage unit is a non-volatile storage device.

(付記20)
前記算出機能は、前記バッテリが使用されている時間を計測し、前記バッテリが使用されている時間を示す使用時間情報に基づいて前記電力残容量を算出する
ことを特徴とする付記16から付記19のいずれか1項に記載のデータ制御プログラム。
(Appendix 20)
Supplementary notes 16 to 19, wherein the calculating function measures the time that the battery has been used, and calculates the remaining power capacity based on usage time information that indicates the time that the battery has been used. The data control program according to any one of .

(付記21)
前記算出機能は、前記使用時間情報に基づいて、前記バッテリの充電と放電のサイクルに伴い充電されている電力量を前記電力残容量として算出する
ことを特徴とする付記20に記載のデータ制御プログラム。
(Appendix 21)
21. The data control program according to Supplementary Note 20, wherein the calculation function calculates, as the remaining power capacity, the amount of power charged in accordance with the charging and discharging cycles of the battery based on the usage time information. .

(付記22)
前記算出機能は、前記バッテリが設置されている場所の温度を示す温度情報を取得し、さらに前記温度情報に基づいて前記電力残容量を算出する
ことを特徴とする付記20または付記21に記載のデータ制御プログラム。
(Appendix 22)
22. The method according to appendix 20 or 21, wherein the calculation function acquires temperature information indicating the temperature of a location where the battery is installed, and further calculates the remaining power capacity based on the temperature information. Data control program.

1、4 データ制御装置
11、41 算出部
12、42 選択部
13、43 制御部
44 入出力部
45 共有データ記憶部
46 特性情報記憶部
47 記憶部
2 処理装置
21 入出力部
3 バッテリ装置
31 通知部
32 停電検知部
33 バッテリ
5 情報処理装置
51 通信インタフェース
52 入出力インタフェース
53 演算装置
54 記憶装置
55 不揮発性記憶装置
56 ドライブ装置
57 記録媒体
Reference Signs List 1, 4 data control device 11, 41 calculation unit 12, 42 selection unit 13, 43 control unit 44 input/output unit 45 shared data storage unit 46 characteristic information storage unit 47 storage unit 2 processing device 21 input/output unit 3 battery device 31 notification Part 32 Power Failure Detection Part 33 Battery 5 Information Processing Device 51 Communication Interface 52 Input/Output Interface 53 Arithmetic Device 54 Storage Device 55 Nonvolatile Storage Device 56 Drive Device 57 Recording Medium

Claims (10)

バッテリが供給可能な電力量を示す電力残容量を算出する算出部と、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択する選択部と、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む制御部と、
を備えるデータ制御装置。
a calculation unit that calculates a remaining power capacity indicating the amount of power that can be supplied by the battery;
a selection unit that selects the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit, the amount of power required for writing the data being different from each other;
a control unit that writes the data to the storage unit by performing the selected storage process;
a data controller;
前記データの書き込みに要する電力量が互いに異なる複数の前記記憶処理には、複数の前記記憶部の各々に同じ前記データを書き込む冗長処理と、複数の前記記憶部の各々に、前記データの一部である部分データを、前記記憶部の各々に記憶される前記部分データが互いに異なるように分散させて書き込む分散処理と、複数の前記記憶部のうち、第1の組の前記記憶部の各々に第1の部分データを書き込み、かつ第2の組の前記記憶部の各々に、第1の部分データと異なる第2の部分データを書き込む併用処理とが含まれる
ことを特徴とする請求項1に記載のデータ制御装置。
The plurality of storage processes in which the amount of power required to write the data differs from each other include redundancy processing in which the same data is written in each of the plurality of storage units, and part of the data is stored in each of the plurality of storage units. distributed processing for writing the partial data in each of the storage units so that the partial data stored in each of the storage units are different from each other; and a combined process of writing first partial data and writing second partial data different from the first partial data in each of the storage units of the second set. A data controller as described.
前記制御部は、停電の発生を検知する、前記バッテリを含むバッテリ装置から停電の発生を通知された場合に、前記記憶処理を行う
ことを特徴とする請求項1または請求項2に記載のデータ制御装置。
3. The data according to claim 1, wherein the control unit performs the storage process when notified of the occurrence of a power failure from a battery device that detects the occurrence of a power failure and includes the battery. Control device.
前記データを記憶する揮発性の記憶装置である共有データ記憶部をさらに備え、
前記記憶部は、不揮発性の記憶装置であり、
前記制御部は、前記共有データ記憶部に記憶されている前記データを前記記憶部に書き込む
ことを特徴とする請求項1から請求項3のいずれか1項に記載のデータ制御装置。
further comprising a shared data storage unit that is a volatile storage device that stores the data;
The storage unit is a non-volatile storage device,
4. The data control device according to any one of claims 1 to 3, wherein the control unit writes the data stored in the shared data storage unit to the storage unit.
前記算出部は、前記バッテリが使用されている時間を計測し、前記バッテリが使用されている時間を示す使用時間情報に基づいて前記電力残容量を算出する
ことを特徴とする請求項1から請求項4のいずれか1項に記載のデータ制御装置。
The calculation unit measures the time during which the battery is used, and calculates the remaining power capacity based on use time information indicating the time during which the battery is used. Item 5. The data control device according to any one of Item 4.
前記算出部は、前記使用時間情報に基づいて、前記バッテリの充電と放電のサイクルに伴い充電されている電力量を前記電力残容量として算出する
ことを特徴とする請求項5に記載のデータ制御装置。
6. The data control according to claim 5, wherein, based on the usage time information, the calculation unit calculates, as the remaining power capacity, the amount of electric power that is being charged with the charging and discharging cycles of the battery. Device.
前記算出部は、前記バッテリが設置されている場所の温度を示す温度情報を取得し、さらに前記温度情報に基づいて前記電力残容量を算出する
ことを特徴とする請求項5または請求項6に記載のデータ制御装置。
7. The calculator according to claim 5, wherein the calculator obtains temperature information indicating a temperature of a location where the battery is installed, and further calculates the remaining power capacity based on the temperature information. A data controller as described.
請求項1から請求項7のいずれか1項に記載のデータ制御装置と、
前記バッテリを含むバッテリ装置と、
を備えるデータ制御システム。
a data control device according to any one of claims 1 to 7;
a battery device including the battery;
A data control system comprising:
バッテリが供給可能な電力量を示す電力残容量を算出し、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択し、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む
データ制御方法。
Calculate the remaining power capacity that indicates the amount of power that the battery can supply,
Selecting the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit, which require different amounts of power to write the data;
A data control method, wherein the data is written into the storage unit by performing the selected storage process.
コンピュータに、
バッテリが供給可能な電力量を示す電力残容量を算出する算出機能と、
データの書き込みに要する電力量が互いに異なる、前記データを記憶部に書き込む複数の記憶処理のうち、算出された前記電力残容量に応じた前記記憶処理を選択する選択機能と、
選択された前記記憶処理を行うことにより、前記データを前記記憶部に書き込む制御機能と、
を実現させるデータ制御プログラム。
to the computer,
a calculation function that calculates the remaining power capacity that indicates the amount of power that the battery can supply;
a selection function that selects the storage process according to the calculated remaining power capacity from among a plurality of storage processes for writing the data to the storage unit that require different amounts of power to write the data;
a control function for writing the data to the storage unit by performing the selected storage process;
A data control program that realizes
JP2021026937A 2021-02-24 2021-02-24 Data control devices, data control methods, data control systems, and data control programs Active JP7092908B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021026937A JP7092908B1 (en) 2021-02-24 2021-02-24 Data control devices, data control methods, data control systems, and data control programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021026937A JP7092908B1 (en) 2021-02-24 2021-02-24 Data control devices, data control methods, data control systems, and data control programs

Publications (2)

Publication Number Publication Date
JP7092908B1 JP7092908B1 (en) 2022-06-28
JP2022128621A true JP2022128621A (en) 2022-09-05

Family

ID=82196193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021026937A Active JP7092908B1 (en) 2021-02-24 2021-02-24 Data control devices, data control methods, data control systems, and data control programs

Country Status (1)

Country Link
JP (1) JP7092908B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09330277A (en) * 1996-06-07 1997-12-22 Mitsubishi Electric Corp Service interruption processing system for disk cache system and method therefor
JP2001147865A (en) * 1999-11-22 2001-05-29 Hitachi Ltd Disk controller
JP2008292255A (en) * 2007-05-23 2008-12-04 Canon Inc Electronic apparatus and its control method
JP2010287097A (en) * 2009-06-12 2010-12-24 Hitachi Ltd Method and program for controlling storage device
JP2013182283A (en) * 2012-02-29 2013-09-12 Mitsubishi Electric Corp Storage device and storage method
JP2014137643A (en) * 2013-01-15 2014-07-28 Fujitsu Ltd Data retention device and data retention method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09330277A (en) * 1996-06-07 1997-12-22 Mitsubishi Electric Corp Service interruption processing system for disk cache system and method therefor
JP2001147865A (en) * 1999-11-22 2001-05-29 Hitachi Ltd Disk controller
JP2008292255A (en) * 2007-05-23 2008-12-04 Canon Inc Electronic apparatus and its control method
JP2010287097A (en) * 2009-06-12 2010-12-24 Hitachi Ltd Method and program for controlling storage device
JP2013182283A (en) * 2012-02-29 2013-09-12 Mitsubishi Electric Corp Storage device and storage method
JP2014137643A (en) * 2013-01-15 2014-07-28 Fujitsu Ltd Data retention device and data retention method

Also Published As

Publication number Publication date
JP7092908B1 (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US11422722B2 (en) Intelligent wide port PHY usage
KR101363844B1 (en) Methods and systems for dynamically controlling operations in a non-volatile memory to limit power consumption
KR101410596B1 (en) Information processing apparatus, computer program, and copy control method
US8065466B2 (en) Library apparatus, library system and method for copying logical volume to disk volume in cache disk with smallest access load
US10514848B2 (en) Data storage method for selectively storing data in a buffer preset in a memory of an electronic device or an inherent buffer in an SSD
US10141071B2 (en) Predictive count fail byte (CFBYTE) for non-volatile memory
US20200104062A1 (en) Memory system and operating method thereof
JP2023527981A (en) DRAM refresh management
US20200326736A1 (en) Temperature control circuit, memory storage device and temperature control method
CN114328281B (en) Solid state disk abnormal power failure processing method and device, electronic equipment and medium
KR20190127310A (en) Data Processing System And Method of Operating The Same
US7397408B2 (en) System and method for scheduling access to an analog-to-digital converter and a microprocessor
US11409620B2 (en) Power consumption/power backup device-based ride-through system
US20140297973A1 (en) Storage system and information processing apparatus
US11409346B2 (en) Control circuit and method for fast setting power mode
JP2022128621A (en) Data control device, data control method, data control system, and data control program
US11194382B2 (en) Speculative exit from power down mode of a dynamic random access memory rank
JP5408844B2 (en) Bus system
JP2013061791A (en) Storage controller, storage device, and write caching method
US20150192981A1 (en) System interconnect dynamic scaling by predicting i/o requirements
JP4371756B2 (en) Data backup method and backup device
US20140122799A1 (en) Storage device and power saving method thereof
TWI497487B (en) Storage device and power saving method thereof
CN114461553B (en) Data processing system, electronic device, electronic apparatus, and data processing method
JP7254556B2 (en) UNINTERRUPTED POWER SYSTEM, CONTROL DEVICE AND PERFORMANCE MEASUREMENT METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210224

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20211110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220208

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220408

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220616

R150 Certificate of patent or registration of utility model

Ref document number: 7092908

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150