JP5772566B2 - Uninterruptible power management system, management device, computer, and uninterruptible power management method - Google Patents

Uninterruptible power management system, management device, computer, and uninterruptible power management method Download PDF

Info

Publication number
JP5772566B2
JP5772566B2 JP2011275705A JP2011275705A JP5772566B2 JP 5772566 B2 JP5772566 B2 JP 5772566B2 JP 2011275705 A JP2011275705 A JP 2011275705A JP 2011275705 A JP2011275705 A JP 2011275705A JP 5772566 B2 JP5772566 B2 JP 5772566B2
Authority
JP
Japan
Prior art keywords
command
power supply
computer
encryption
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011275705A
Other languages
Japanese (ja)
Other versions
JP2013126226A (en
Inventor
大島 雅文
雅文 大島
裕治郎 森藤
裕治郎 森藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2011275705A priority Critical patent/JP5772566B2/en
Publication of JP2013126226A publication Critical patent/JP2013126226A/en
Application granted granted Critical
Publication of JP5772566B2 publication Critical patent/JP5772566B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、電源からの電力供給が絶たれた場合であってもコンピュータへの電力供給を維持する無停電電源管理システム、管理装置、コンピュータ、および、無停電電源管理方法に関する。   The present invention relates to an uninterruptible power supply management system, a management apparatus, a computer, and an uninterruptible power supply management method for maintaining power supply to a computer even when power supply from a power supply is cut off.

無停電電源装置(UPS:Uninterruptible Power Supply)によりバックアップ電源が構成された無停電電源管理システムでは、元となる電源からの電力供給が絶たれても、無停電電源装置がバックアップ運転を開始することで、無停電電源装置に蓄積された電力が全て費やされるまでは電力供給を維持することができる。したがって、無停電電源装置に接続された各機器は、その間も動作を継続することができ、その時間を利用して機器自体を安全に停止することが可能となる。   In an uninterruptible power management system in which a backup power supply is configured by an uninterruptible power supply (UPS), the uninterruptible power supply can start backup operation even if the power supply from the original power supply is cut off. Thus, power supply can be maintained until all of the power stored in the uninterruptible power supply is consumed. Therefore, each device connected to the uninterruptible power supply can continue to operate during that time, and the device itself can be safely stopped using that time.

ただし、各機器は、機器自体を安全に停止する処理に移行したくとも、無停電電源装置が電力供給を維持しているので、元となる電源からの電力供給が絶たれたことを把握することができない。そこで、無停電電源装置自体または無停電電源装置を管理する管理装置(以下、合わせて単に「管理装置等」と称する)が、元となる電源からの電力供給が絶たれたことを、独立した通信手段を通じて各機器に伝達する必要が生じる。   However, each device knows that the power supply from the original power supply has been cut off because the uninterruptible power supply maintains power supply even if it wants to move to the process of safely stopping the device itself. I can't. Therefore, the uninterruptible power supply itself or a management apparatus that manages the uninterruptible power supply (hereinafter simply referred to as “management apparatus etc.”) is independent that the power supply from the original power supply is cut off. There is a need to communicate to each device through communication means.

このような通信手段の一例として、機器間を接続するネットワークの標準規格であるEthernet(登録商標)を利用することができる。かかるEthernetによるネットワークは、社内LAN(Local Area Network)等の閉ざされた環境で構築されていることが多く、その場合、第三者の不正なアクセスやデータ漏洩の脅威が無いので、比較的安全なネットワークとして認識されている。   As an example of such a communication means, Ethernet (registered trademark), which is a network standard for connecting devices, can be used. Such Ethernet networks are often built in a closed environment such as an in-house LAN (Local Area Network), in which case there is no threat of unauthorized access or data leakage by a third party, so it is relatively safe. Is recognized as a secure network.

しかし、近年では、社内LANのアクセス形態も、無線LAN、VPN(Virtual Private Network)、Bluetooth(登録商標)等多様化しており、そのような形態を許容する反面、不正に社内LAN内にアクセスされる可能性も生じ得る。例えば、管理装置等が社内LANに発したコマンドが外部に漏れたり、また、不正な第三者が管理装置等に成りすまして各機器のシャットダウンコマンドを利用したりすることが予想され、意図せず各機器が停止する危険性がある。このため、管理装置等と各機器との間でやりとりされる、シャットダウンを促すコマンド等、システム運用に関わる重要な通信データは、暗号化等を施して不正な第三者による脅威を排除しなければならない。   However, in recent years, the access form of the in-house LAN has been diversified, such as wireless LAN, VPN (Virtual Private Network), and Bluetooth (registered trademark). While such forms are allowed, they are illegally accessed in the in-house LAN. May also occur. For example, it is expected that a command issued by the management device etc. to the in-house LAN leaks to the outside, or an unauthorized third party impersonates the management device etc. and uses the shutdown command of each device. There is a risk that each device will stop. For this reason, important communication data related to system operation, such as commands for prompting shutdown, exchanged between the management device and each device must be encrypted to eliminate threats from unauthorized third parties. I must.

こうした通信データの暗号化技術としては、TCP(Transmission Control Protocol)やIP(Internet Protocol)といったEthernetのプロトコルスタックにおいて規格化された暗号化方式がある。これらの暗号化方式では、暗号強度(データを暗号化させる処理の複雑さを示す指標)やアルゴリズムが決められており、その決められた暗号化処理を実装することで安全性の高い通信が可能となる。例えば、特許文献1では、クライアントPCとUPS管理サーバとが共通鍵を有し、相互に認証できた場合にのみ制御データに応じた応答処理を行う技術が示される。   As such communication data encryption technology, there is an encryption method standardized in an Ethernet protocol stack such as TCP (Transmission Control Protocol) or IP (Internet Protocol). In these encryption methods, the encryption strength (an index indicating the complexity of the process for encrypting data) and the algorithm are determined, and highly secure communication is possible by implementing the determined encryption process. It becomes. For example, Patent Document 1 discloses a technique for performing a response process according to control data only when a client PC and a UPS management server have a common key and are mutually authenticated.

特開2005−92475号公報JP 2005-92475 A

特許文献1に記載の技術等、規格化された暗号化方式では、安全性を確保すべく高い処理負荷を要するものが多い。パーソナルコンピュータやサーバ等のIT機器は、処理能力が十分に高いCPU(中央処理装置)や容量が十分に大きいメモリを搭載しているので、上記の暗号化方式を適用することができる。しかし、組み込み機器等のシステムでは、コストパフォーマンス向上のため、リソースを抑制する傾向にあり、上記の暗号化方式を単に適用することは困難である。   Many of the standardized encryption methods such as the technique described in Patent Document 1 require a high processing load to ensure safety. Since IT devices such as personal computers and servers are equipped with a CPU (central processing unit) having a sufficiently high processing capacity and a memory having a sufficiently large capacity, the above-described encryption method can be applied. However, in a system such as an embedded device, there is a tendency to suppress resources for cost performance improvement, and it is difficult to simply apply the above encryption method.

そこで、本発明は、このような課題に鑑み、リソースが制限された既存の機器を有効利用し、その処理能力範囲で、通信データの高度な安全性を確保することが可能な無停電電源管理システム、管理装置、コンピュータ、および、無停電電源管理方法を提供することを目的としている。   Therefore, in view of such problems, the present invention is an uninterruptible power supply management that can effectively use existing equipment with limited resources and ensure high safety of communication data within the processing capacity range. It is an object to provide a system, a management device, a computer, and an uninterruptible power management method.

上記課題を解決するために、本発明の無停電電源管理システムは、コンピュータと、コンピュータに電力を供給する電源と、電源からの電力を蓄電し、電源の電力供給が絶たれたとしてもコンピュータへの電力供給を所定時間維持する無停電電源装置と、コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを保持する管理メモリ、無停電電源装置の内部状態に関する内部情報を取得する情報取得部、内部情報に応じて、暗号化コマンドテーブルを参照しコンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出するコマンド抽出部、および、抽出された暗号化コマンドを、第三者がアクセス可能なネットワークを通じてコンピュータに送信するコマンド送信部を有する管理装置と、を備え、コンピュータは、複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを保持するコンピュータメモリ、復号鍵テーブルを参照し管理装置と共有する識別子に関連付けられた復号鍵によって暗号化コマンドをコマンドに復号するコマンド復号部、および、復号されたコマンドを実行するコマンド実行部を有することを特徴とする。   In order to solve the above problems, an uninterruptible power supply management system according to the present invention stores a computer, a power supply that supplies power to the computer, and stores power from the power supply, even if the power supply to the power supply is cut off. An uninterruptible power supply that maintains the power supply for a predetermined time, a management memory that holds an encrypted command table in which a plurality of encrypted commands obtained by encrypting commands with a plurality of encryption keys are associated with a plurality of identifiers, and An information acquisition unit that acquires internal information about the internal state of the power failure power supply, a command extraction unit that extracts an encrypted command associated with an identifier shared with a computer by referring to an encrypted command table according to the internal information, and A command to send the extracted encrypted command to a computer through a network accessible to a third party And a computer having a decryption key table, wherein the computer stores a decryption key table in which a plurality of decryption keys respectively corresponding to the plurality of encryption commands are associated with the same identifier as the encryption command. And a command decryption unit that decrypts an encrypted command into a command using a decryption key associated with an identifier shared with the management apparatus, and a command execution unit that executes the decrypted command.

共有する識別子は、管理装置とコンピュータとがネットワークにおいて通信接続を構築した際の互いのポート番号から一意に求められてもよい。   The shared identifier may be uniquely obtained from the mutual port number when the management apparatus and the computer establish a communication connection in the network.

暗号化および復号にはRSA暗号化方式が用いられ、暗号化コマンドテーブルには、2つの素数を乗算した値に基づく暗号化鍵で暗号化した暗号化コマンドが関連付けられ、復号鍵テーブルには、2つの素数それぞれから1を減算し、減算した2つの素数を乗算した値に基づく復号鍵が関連付けられていてもよい。   RSA encryption is used for encryption and decryption, and an encryption command encrypted with an encryption key based on a value obtained by multiplying two prime numbers is associated with the encryption command table. A decryption key based on a value obtained by subtracting 1 from each of the two prime numbers and multiplying the two prime numbers obtained by the subtraction may be associated.

コマンドは、コンピュータの電力消費を低減または切断させるコマンドであり、コマンド実行部は、無停電電源装置が電力供給を所定時間維持している間にコマンドを実行してもよい。   The command is a command for reducing or cutting off the power consumption of the computer, and the command execution unit may execute the command while the uninterruptible power supply device maintains power supply for a predetermined time.

ネットワークは、TCP/IPまたはUDP/IPを用いている。   The network uses TCP / IP or UDP / IP.

上記課題を解決するために、コンピュータと、コンピュータに電力を供給する電源からの電力を蓄電し、電源の電力供給が絶たれたとしてもコンピュータへの電力供給を所定時間維持する無停電電源装置とに接続された本発明の管理装置は、コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを保持する管理メモリと、無停電電源装置の内部状態に関する内部情報を取得する情報取得部と、内部情報に応じて、暗号化コマンドテーブルを参照しコンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出するコマンド抽出部と、抽出された暗号化コマンドを、第三者がアクセス可能なネットワークを通じてコンピュータに送信するコマンド送信部と、を備えることを特徴とする。   In order to solve the above problems, a computer, an uninterruptible power supply that stores power from a power source that supplies power to the computer, and maintains the power supply to the computer for a predetermined time even when the power supply of the power source is cut off, and The management device of the present invention connected to a management memory for holding an encrypted command table in which a plurality of encrypted commands obtained by encrypting a command with a plurality of encryption keys are respectively associated with a plurality of identifiers, and an uninterruptible power supply An information acquisition unit that acquires internal information related to the internal state of the device, a command extraction unit that extracts an encrypted command associated with an identifier shared with a computer by referring to the encrypted command table according to the internal information, and extracted A command transmission unit that transmits the encrypted command to a computer through a network accessible by a third party. And wherein the Rukoto.

上記課題を解決するために、電源からの電力供給を受けると共に、電源からの電力を蓄電し、電源の電力供給が絶たれたとしてもコンピュータへの電力供給を所定時間維持する無停電電源装置を管理する管理装置に接続された本発明のコンピュータは、管理装置において暗号化コマンドテーブルに複数の識別子と関連付けて管理されている複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを保持するコンピュータメモリと、復号鍵テーブルを参照し管理装置と共有する識別子に関連付けられた復号鍵によって、管理装置から受信した暗号化コマンドをコマンドに復号するコマンド復号部と、復号されたコマンドを実行するコマンド実行部と、を備えることを特徴とする。   In order to solve the above problems, an uninterruptible power supply apparatus that receives power supply from a power supply, stores power from the power supply, and maintains power supply to a computer for a predetermined time even when the power supply of the power supply is cut off. The computer of the present invention connected to the management device that manages the encrypted command includes a plurality of decryption keys respectively corresponding to a plurality of encrypted commands managed in association with a plurality of identifiers in the encrypted command table in the management device. A command that decrypts an encrypted command received from a management device into a command by using a computer memory that holds a decryption key table associated with the same identifier and a decryption key that is associated with an identifier that is shared with the management device by referring to the decryption key table A decoding unit and a command execution unit that executes the decoded command are provided.

上記課題を解決するために、コンピュータと、コンピュータに電力を供給する電源と、電源からの電力を蓄電し、電源の電力供給が絶たれたとしてもコンピュータへの電力供給を所定時間維持する無停電電源装置と、無停電電源装置およびコンピュータとに接続された管理装置と、を用いてコンピュータの電源供給を管理する本発明の無停電電源管理方法は、管理装置が、コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを予め保持しておき、無停電電源装置の内部状態に関する内部情報を取得し、内部情報に応じて、暗号化コマンドテーブルを参照しコンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出し、抽出した暗号化コマンドを、第三者がアクセス可能なネットワークを通じてコンピュータに送信し、コンピュータが、複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを予め保持しておき、復号鍵テーブルを参照し管理装置と共有する識別子に関連付けられた復号鍵によって暗号化コマンドをコマンドに復号し、復号したコマンドを実行することを特徴とする。   To solve the above problems, a computer, a power supply for supplying power to the computer, and storing power from the power supply, and maintaining the power supply to the computer for a predetermined time even if the power supply to the power supply is cut off An uninterruptible power supply management method of the present invention for managing power supply of a computer using a power supply device and a management device connected to the uninterruptible power supply and a computer, wherein the management device sends a command to a plurality of encryption keys. The encryption command table that associates the multiple encrypted commands encrypted with the multiple identifiers in advance is stored in advance to obtain internal information related to the internal state of the uninterruptible power supply. The encryption command associated with the identifier shared with the computer is extracted by referring to the encryption command table. The computer transmits to a computer through an accessible network, and the computer holds in advance a decryption key table in which a plurality of decryption keys respectively corresponding to a plurality of encryption commands are associated with the same identifier as the encryption command. The encrypted command is decrypted into a command with a decryption key associated with the identifier shared with the management apparatus, and the decrypted command is executed.

以上のように本発明では、新たな専用機器の追加を要すことなく、リソースが制限された既存の機器を有効利用し、低スペックの処理能力範囲であっても、通信データの高度な安全性を確保することが可能となる。   As described above, according to the present invention, it is possible to effectively use an existing device with limited resources without adding a new dedicated device, and to achieve a high level of safety of communication data even in a low-spec processing capacity range. It becomes possible to ensure the sex.

無停電電源管理システムを構成する各装置の概略的な関係を示した説明図である。It is explanatory drawing which showed the schematic relationship of each apparatus which comprises an uninterruptible power supply management system. 管理装置の概略的な機能を示した機能ブロック図である。It is the functional block diagram which showed the schematic function of the management apparatus. コンピュータの概略的な機能を示した機能ブロック図である。It is a functional block diagram showing a schematic function of a computer. 無停電電源管理システムにおいて用いられるテーブルを説明するための説明図である。It is explanatory drawing for demonstrating the table used in an uninterruptible power supply management system. 無停電電源管理方法の全体的な処理の流れを示したシーケンス図である。It is the sequence diagram which showed the flow of the whole process of the uninterruptible power supply management method. 無停電電源管理方法によるデータの流れを示したブロック図である。It is the block diagram which showed the flow of the data by the uninterruptible power supply management method.

以下に添付図面を参照しながら、本発明の好適な実施形態について詳細に説明する。かかる実施形態に示す寸法、材料、その他具体的な数値などは、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書及び図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The dimensions, materials, and other specific numerical values shown in the embodiment are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the present specification and drawings, elements having substantially the same function and configuration are denoted by the same reference numerals, and redundant description is omitted, and elements not directly related to the present invention are not illustrated. To do.

(無停電電源管理システム100)
図1は、無停電電源管理システム100を構成する各装置の概略的な関係を示した説明図である。無停電電源管理システム100は、コンピュータ110と、電源120と、無停電電源装置130と、管理装置140とを含んで構成され、このうち、コンピュータ110と管理装置140とは互いに通信可能となるようにネットワーク102に接続されている。ここで、ネットワーク102は、通信データを送信または受信可能な様々な通信手段を適用できるが、ここでは、機器間を接続するネットワークの標準規格であるTCP/IPを用いたEthernetによるLANを挙げて説明する。
(Uninterruptible power management system 100)
FIG. 1 is an explanatory diagram showing a schematic relationship between devices constituting the uninterruptible power supply management system 100. The uninterruptible power supply management system 100 includes a computer 110, a power supply 120, an uninterruptible power supply apparatus 130, and a management apparatus 140. Of these, the computer 110 and the management apparatus 140 can communicate with each other. Are connected to the network 102. Here, various communication means capable of transmitting or receiving communication data can be applied to the network 102. Here, an Ethernet LAN using TCP / IP, which is a network standard for connecting devices, is exemplified. explain.

コンピュータ110としては、パーソナルコンピュータ、サーバ、専用機器等、CPU(中央処理装置)を有する様々な電子機器を適用できる。コンピュータ110のCPUは、処理能力が比較的高くメモリの容量も大きいものが多い。したがって、コンピュータ110は、ネットワーク102に接続された複数の機器の管理も一括して担うことができる。電源120は、商用電源等で構成され、コンピュータ110に対して電力を供給する。   As the computer 110, various electronic devices having a CPU (Central Processing Unit) such as a personal computer, a server, and a dedicated device can be applied. Many CPUs of the computer 110 have a relatively high processing capability and a large memory capacity. Therefore, the computer 110 can collectively manage a plurality of devices connected to the network 102. The power source 120 is composed of a commercial power source or the like, and supplies power to the computer 110.

無停電電源装置130は、電源120およびコンピュータ110に接続され、電源120からの電力を内部に蓄電しつつ、補足的にコンピュータ110に対して電力を供給する。また、何らかの原因で電源120からの電力供給が絶たれた場合、無停電電源装置130は、コンピュータ110に対して蓄積している電力の供給を行う。さらに、無停電電源装置130は、電源120の電力供給状態を常に把握し、その内部状態に関する内部情報を管理装置140に送信する。   The uninterruptible power supply 130 is connected to the power supply 120 and the computer 110, and supplementarily supplies power to the computer 110 while storing the power from the power supply 120 therein. Further, when the power supply from the power source 120 is cut off for some reason, the uninterruptible power supply 130 supplies the stored power to the computer 110. Furthermore, the uninterruptible power supply 130 always grasps the power supply state of the power supply 120 and transmits internal information regarding the internal state to the management device 140.

管理装置140は、無停電電源装置130と一体的に設けられ、例えば、無停電電源装置130の拡張スロットに挿入する形で組み込まれ、無停電電源管理システム100全体を管理する。また、管理装置140は、無停電電源装置130の内部情報を取得し、内部情報に応じてコンピュータ110へのコマンドを生成し、送信する。例えば、何らかの原因で電源120からの電力供給が絶たれた場合、管理装置140は、内部情報からその旨把握し、コンピュータ110の電力消費を低減(レジューム)または切断(シャットダウン)させるコマンドを生成し、第三者がアクセス可能なネットワーク102を通じてコンピュータ110に送信する。コンピュータ110は、かかるコマンドを受信して、コンピュータ110の動作を安全に停止する。   The management device 140 is provided integrally with the uninterruptible power supply 130 and is incorporated, for example, by being inserted into an expansion slot of the uninterruptible power supply 130, and manages the entire uninterruptible power management system 100. Moreover, the management apparatus 140 acquires the internal information of the uninterruptible power supply 130, generates a command to the computer 110 according to the internal information, and transmits it. For example, when the power supply from the power source 120 is cut off for some reason, the management device 140 recognizes the fact from the internal information and generates a command to reduce (resume) or disconnect (shut down) the power consumption of the computer 110. , And transmitted to the computer 110 through the network 102 accessible by a third party. The computer 110 receives such a command and safely stops the operation of the computer 110.

このような管理装置140からコンピュータ110へのコマンドの送受信は、電力供給線と独立した信号線が必要となる。しかし、管理装置140やコンピュータ110にコマンドを送信するための専用信号線を設けることは、通信の信頼性やコスト面において得策ではない。そこで、コンピュータ110に接続可能に予め設定されている、上述したLANによるネットワーク102を用いることとする。こうすることで、管理装置140とコンピュータ110との通信を高信頼性および低コストで実現することができる。また、ネットワーク102を通じて、さらに他の機器と通信することが可能となり、その上、汎用部品を利用できることから、メンテナンス性も高めることが可能となる。   Transmission / reception of commands from the management device 140 to the computer 110 requires a signal line independent of the power supply line. However, providing a dedicated signal line for transmitting a command to the management apparatus 140 or the computer 110 is not a good measure in terms of communication reliability and cost. Therefore, the above-described LAN network 102 that is set in advance so as to be connectable to the computer 110 is used. By doing so, communication between the management apparatus 140 and the computer 110 can be realized with high reliability and low cost. Further, it is possible to communicate with other devices via the network 102, and furthermore, since general-purpose parts can be used, it is possible to improve maintainability.

しかし、上記のような有利な点ばかりでなく、上記ネットワーク102には不利な点もある。例えば、上記のネットワーク102において通信を実行する際、ネットワーク機器(HUBやルータ)を介するネットワークパスが構築され、これらのネットワークパスには、ネットワークパケットのスニッフィング(盗聴)、スプーフィング(偽装、成りすまし)、タンパリング(改竄)の脅威が潜んでいる。そこで、本実施形態では、管理装置140とコンピュータ110との間の通信において、送受信するデータを暗号化する。   However, in addition to the above advantages, the network 102 also has disadvantages. For example, when communication is performed in the network 102 described above, network paths via network devices (HUB and router) are established, and these network paths include network packet sniffing (sniffing), spoofing (spoofing, impersonation), There is a tampering threat. Therefore, in the present embodiment, data to be transmitted / received is encrypted in communication between the management apparatus 140 and the computer 110.

ところで、TCP/IP通信において送受信されるデータの暗号化は、OSI(Open System Interconnection)参照モデルの各層においてそれぞれの暗号化方式で定義されている。例えば、OSI参照モデルの下位層(物理層、データリンク層)では、ハードウェアに依存するため、通信を実行する双方の機器で統一された暗号化方式に対応している必要があり、新規のハードウェアの導入、交換等において初期コストが大きくなる。   Incidentally, encryption of data transmitted and received in TCP / IP communication is defined by each encryption method in each layer of the OSI (Open System Interconnection) reference model. For example, since the OSI reference model lower layers (physical layer, data link layer) depend on hardware, it is necessary to support an encryption method unified by both devices that perform communication. The initial cost increases when hardware is introduced and replaced.

また、中位層(ネットワーク層、トランスポート層)においては、ハードウェアにアクセスするドライバレベルで実装しなくてはならないため、全ての通信機会において、暗号化の要否を判断させる必要があり、本実施形態の管理装置140のように、制限されたリソースを使用する組込みシステムに対しては、オーバヘッドの影響が大きく、パフォーマンスの低下を招く結果となる。さらに、DDoS(Distributed Denial of Service)等、通信過多となる攻撃によりリソースが不足してしまうリスクもある。したがって、中位層で堅牢なシステムを構築するにはセキュリティ面の実装を充実させる必要がある。   In the middle layer (network layer, transport layer), since it must be implemented at the driver level to access the hardware, it is necessary to determine the necessity of encryption at all communication opportunities, For an embedded system that uses a limited resource, such as the management apparatus 140 of the present embodiment, the influence of overhead is large, resulting in performance degradation. Further, there is a risk that resources will be insufficient due to an excessive communication attack such as DDoS (Distributed Denial of Service). Therefore, in order to build a robust system in the middle class, it is necessary to enhance security implementation.

さらに、上位層(セッション層、プレゼンテーション層、アプリケーション層)での暗号化で知られるSSL/TLS(Secure Sockets Layer / Transport Layer Security)は、証明書の購入や使用期限の管理が面倒であり、運用コストや、暗号化通信が成立するまでのオーバヘッド(CAへの証明書確認等)が大きく、コストの増大およびパフォーマンスの低下を招くことになる。本実施形態では、処理能力が十分ではない、リソースが制限された既存の機器を有効利用し、その処理能力範囲で、アプリケーション層における暗号化通信を実行し、通信データの高度な安全性を確保する。以下、管理装置140、コンピュータ110の順で、その構成を説明し、双方の暗号化について詳述する。   In addition, SSL / TLS (Secure Sockets Layer / Transport Layer Security), which is known for encryption in the upper layers (session layer, presentation layer, application layer), is troublesome in managing certificates and managing expiration dates. The cost and overhead until the encrypted communication is established (certificate confirmation to the CA, etc.) is large, resulting in an increase in cost and a decrease in performance. In this embodiment, existing equipment with limited processing capacity and limited resources is used effectively, and encrypted communication is executed in the application layer within the processing capacity range to ensure a high level of safety of communication data. To do. Hereinafter, the configuration will be described in the order of the management device 140 and the computer 110, and the encryption of both will be described in detail.

(管理装置140)
図2は、管理装置140の概略的な機能を示した機能ブロック図である。図2に示すように、管理装置140は、管理インタフェース210と、管理通信部212と、管理メモリ214と、中央制御部216とを含んで構成される。
(Management device 140)
FIG. 2 is a functional block diagram illustrating a schematic function of the management apparatus 140. As shown in FIG. 2, the management apparatus 140 includes a management interface 210, a management communication unit 212, a management memory 214, and a central control unit 216.

管理インタフェース210は、TTLレベルやRS232Cレベルの信号線を介して無停電電源装置130に接続され、無停電電源装置130を管理する役目を担う。管理通信部212は、ネットワーク102に接続され、予め定められた通信プロトコルに基づき、例えば、コンピュータ110との間でデータを授受する役目を担う。   The management interface 210 is connected to the uninterruptible power supply 130 via a TTL level or RS232C level signal line and plays a role of managing the uninterruptible power supply 130. The management communication unit 212 is connected to the network 102 and plays a role of exchanging data with the computer 110 based on a predetermined communication protocol, for example.

管理メモリ214は、ROM、フラッシュメモリ、HDD(Hard Disk Drive)等で構成され、中央制御部216の各機能部の処理に必要な種々の情報、例えば、暗号化コマンドテーブル等を保持する。ここで、暗号化コマンドテーブルは、コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、排他的な数値で表された複数の識別子にそれぞれ関連付けたテーブルである。かかる暗号化コマンドテーブルや識別子については、後ほど詳述する。   The management memory 214 includes a ROM, a flash memory, an HDD (Hard Disk Drive), and the like, and holds various information necessary for processing of each function unit of the central control unit 216, such as an encryption command table. Here, the encrypted command table is a table in which a plurality of encrypted commands obtained by encrypting a command with a plurality of encryption keys are respectively associated with a plurality of identifiers represented by exclusive numerical values. The encryption command table and identifier will be described in detail later.

中央制御部216は、CPUを含む半導体集積回路で構成され、ROMからCPU自体を動作させるためのプログラムやパラメータ等を読み出し、ワークエリアとしてのRAMや他の電子回路と協働して管理装置140全体を管理および制御する。また、中央制御部216は、設定応答部230、設定実行部232、情報取得部234、閲覧応答部236、コマンド抽出部238、コマンド送信部240としても機能する。   The central control unit 216 includes a semiconductor integrated circuit including a CPU, reads a program, parameters, and the like for operating the CPU itself from the ROM, and cooperates with the RAM as a work area and other electronic circuits to manage the management device 140. Manage and control the whole. The central control unit 216 also functions as a setting response unit 230, a setting execution unit 232, an information acquisition unit 234, a browsing response unit 236, a command extraction unit 238, and a command transmission unit 240.

設定応答部230は、管理通信部212を介して他の機器からの設定コマンドを受信した場合に、その設定コマンドに従って、管理装置140内の様々な設定を行う。設定実行部232は、設定応答部230によって設定された情報に従って、無停電電源装置130を動作させる。例えば、スケジュール運転が設定されている場合、設定実行部232は、管理インタフェース210を介し、スケジュール運転に示されたスケジュールに従って、無停電電源装置130のON/OFF制御を行う。   When the setting response unit 230 receives a setting command from another device via the management communication unit 212, the setting response unit 230 performs various settings in the management apparatus 140 according to the setting command. The setting execution unit 232 operates the uninterruptible power supply device 130 according to the information set by the setting response unit 230. For example, when the schedule operation is set, the setting execution unit 232 performs ON / OFF control of the uninterruptible power supply 130 according to the schedule indicated in the schedule operation via the management interface 210.

情報取得部234は、管理インタフェース210を介して、無停電電源装置130の内部状態に関する内部情報を取得する。内部情報としては、例えば、無停電電源装置130が蓄積された電力によってコンピュータ110への電力供給を維持可能な状態における、電源120からの電力供給の有無や、無停電電源装置130自体の故障状態等が挙げられる。閲覧応答部236は、管理通信部212を介して他の機器からの閲覧コマンドを受信した場合に、その閲覧コマンドに従って、管理装置140から取得した内部情報を他の機器に送信する。   The information acquisition unit 234 acquires internal information regarding the internal state of the uninterruptible power supply 130 via the management interface 210. The internal information includes, for example, whether or not power is supplied from the power supply 120 in a state where the power supply to the computer 110 can be maintained by the accumulated power of the uninterruptible power supply 130, or the failure state of the uninterruptible power supply 130 itself. Etc. When the browsing response unit 236 receives a browsing command from another device via the management communication unit 212, the browsing response unit 236 transmits the internal information acquired from the management apparatus 140 to the other device according to the browsing command.

コマンド抽出部238は、内部情報に応じて、コンピュータ110を制御するための種々のコマンドを決定する。例えば、内部情報が、電源120からの電力供給が絶たれたことを示す場合、その内部情報に応じてコンピュータ110の電力消費を低減または切断させるコマンドを決定する。ただし、コンピュータ110の電力消費を低減または切断させるコマンドは、暗号化コマンドテーブルによって管理されているので、コマンド抽出部238は、暗号化コマンドテーブルを参照し、コンピュータ110と共有する識別子に関連付けられた暗号化コマンドを抽出することとなる。かかる暗号化コマンドの抽出についても、暗号化コマンドテーブルや識別子と共に後ほど詳述する。   The command extraction unit 238 determines various commands for controlling the computer 110 according to the internal information. For example, when the internal information indicates that the power supply from the power source 120 has been cut off, a command for reducing or cutting off the power consumption of the computer 110 is determined according to the internal information. However, since the command for reducing or cutting the power consumption of the computer 110 is managed by the encrypted command table, the command extraction unit 238 refers to the encrypted command table and is associated with the identifier shared with the computer 110. The encrypted command will be extracted. The extraction of the encrypted command will be described in detail later together with the encrypted command table and the identifier.

コマンド送信部240は、コマンド抽出部238が決定したコマンドまたは暗号化コマンドテーブルから抽出した暗号化コマンドを、管理通信部212およびネットワーク102を通じてコンピュータ110に送信する。   The command transmission unit 240 transmits the command determined by the command extraction unit 238 or the encrypted command extracted from the encrypted command table to the computer 110 through the management communication unit 212 and the network 102.

(コンピュータ110)
図3は、コンピュータ110の概略的な機能を示した機能ブロック図である。図3に示すように、コンピュータ110は、操作部250と、表示部252と、コンピュータ通信部254と、コンピュータメモリ256と、中央制御部258とを含んで構成される。
(Computer 110)
FIG. 3 is a functional block diagram showing schematic functions of the computer 110. As shown in FIG. 3, the computer 110 includes an operation unit 250, a display unit 252, a computer communication unit 254, a computer memory 256, and a central control unit 258.

操作部250は、キーボード、ポインティングデバイス、十字キー、ジョイスティック、ジョグダイヤル、タッチパネル等から構成され、ユーザの操作入力を受け付けて、その操作内容を中央制御部258に伝達する。表示部252は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等で構成され、中央制御部258の制御指令に応じて様々な画像を表示する。   The operation unit 250 includes a keyboard, a pointing device, a cross key, a joystick, a jog dial, a touch panel, and the like. The operation unit 250 receives a user operation input and transmits the operation content to the central control unit 258. The display unit 252 includes a liquid crystal display, an organic EL (Electro Luminescence) display, and the like, and displays various images according to a control command from the central control unit 258.

コンピュータ通信部254は、ネットワーク102に接続され、予め定められた通信プロトコルに基づき、例えば、管理装置140との間でデータを授受する役目を担う。コンピュータメモリ256は、ROM、フラッシュメモリ、HDD等で構成され、中央制御部258の各機能部の処理に必要な種々の情報、例えば、復号鍵テーブル等を保持する。ここで、復号鍵テーブルは、暗号化コマンドテーブルにおける複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を、暗号化コマンドと同一の識別子に関連付けたテーブルである。かかる復号鍵テーブルについても、後ほど詳述する。   The computer communication unit 254 is connected to the network 102 and plays a role of exchanging data with the management device 140 based on a predetermined communication protocol, for example. The computer memory 256 includes a ROM, a flash memory, an HDD, and the like, and holds various information necessary for processing of each function unit of the central control unit 258, such as a decryption key table. Here, the decryption key table is a table in which a plurality of decryption keys respectively corresponding to a plurality of encryption commands in the encryption command table are associated with the same identifier as the encryption command. This decryption key table will also be described in detail later.

中央制御部258は、CPUを含む半導体集積回路で構成され、ROMからCPU自体を動作させるためのプログラムやパラメータ等を読み出し、ワークエリアとしてのRAMや他の電子回路と協働してコンピュータ110全体を管理および制御する。また、中央制御部258は、コマンド復号部270、コマンド実行部272としても機能する。かかる各機能部は、外部からコンピュータ110に専用のソフトウェアをインストールすることで生成される。   The central control unit 258 is composed of a semiconductor integrated circuit including a CPU, reads a program, parameters, and the like for operating the CPU itself from a ROM, and cooperates with a RAM as a work area and other electronic circuits as a whole. Manage and control. The central control unit 258 also functions as a command decoding unit 270 and a command execution unit 272. Each of these functional units is generated by installing dedicated software on the computer 110 from the outside.

コマンド復号部270は、復号鍵テーブルを参照し管理装置140と共有する識別子に関連付けられた復号鍵によって、管理装置140から受信した暗号化コマンドを元のコマンドに復号する。   The command decryption unit 270 refers to the decryption key table and decrypts the encrypted command received from the management apparatus 140 into the original command using the decryption key associated with the identifier shared with the management apparatus 140.

コマンド実行部272は、管理装置140から受信したコマンドが暗号化されていなければ、送信元の正当性を確認した後、そのコマンドを実行し、暗号化されていれば、コマンド復号部270によって復号された後のコマンドを実行する。例えば、コマンドが、コンピュータ110の電力消費を低減または切断させるコマンドであった場合、コマンド実行部272は、そのコマンドに応じて、無停電電源装置130が電力供給を所定時間維持している間に、コンピュータ110を安全に停止、または、レジュームモードに移行させる。こうして、コンピュータ110が不用意に停止してしまう事態を回避でき、システムファイルやデータの破壊を防止することが可能となる。   If the command received from the management device 140 is not encrypted, the command execution unit 272 executes the command after confirming the validity of the transmission source. If the command is encrypted, the command execution unit 272 decrypts the command by the command decryption unit 270. Execute the command after For example, when the command is a command for reducing or cutting off the power consumption of the computer 110, the command execution unit 272 responds to the command while the uninterruptible power supply 130 maintains the power supply for a predetermined time. The computer 110 is safely stopped or shifted to the resume mode. In this way, it is possible to avoid a situation in which the computer 110 is inadvertently stopped, and it is possible to prevent destruction of system files and data.

本実施形態では、コンピュータ110の電力消費を低減または切断させるコマンド等の重要なコマンドに関し、コマンド実行部272は、正しく復号できたコマンドのみを受け付ける。かかる構成により、外部からの不正なコマンドに応じてコンピュータ110を安易に停止してしまう事態を回避できる。このように、コマンド復号部270により、正当な管理装置140から受信した暗号化コマンドのみが正規のコマンドとして復号されるので、第三者の成りすまし等による不正な暗号化コマンドを誤って実行してしまう事態を回避することができる。   In the present embodiment, regarding an important command such as a command for reducing or cutting off the power consumption of the computer 110, the command execution unit 272 accepts only a command that has been successfully decoded. With this configuration, it is possible to avoid a situation where the computer 110 is easily stopped in response to an illegal command from the outside. In this way, only the encrypted command received from the legitimate management device 140 is decrypted as a legitimate command by the command decryption unit 270, so that an illegal encrypted command due to impersonation of a third party, etc. is executed by mistake. Can be avoided.

(暗号化処理)
上述したように、管理装置140とコンピュータ110との間では暗号化処理が実行される。特に、本実施形態においては、暗号化処理に関し、(1)RSA(Rivest Shamir Adleman)暗号化方式を利用、(2)テーブルで管理、(3)テーブルの索引(インデックス)にポート番号を利用、といった特徴を有している。以下、かかる特徴点を個々に説明する。
(Encryption processing)
As described above, encryption processing is executed between the management apparatus 140 and the computer 110. In particular, in the present embodiment, with regard to encryption processing, (1) RSA (Rivest Shamir Adleman) encryption method is used, (2) is managed by a table, (3) a port number is used for an index (index) of the table, It has the following characteristics. Hereinafter, such feature points will be described individually.

(1.RSA暗号化方式を利用)
RSA暗号化方式は、値の大きい2つの素数を用い、それぞれ所定のアルゴリズムによって求められた暗号化鍵および復号鍵で暗号化および復号を行う公開鍵暗号化方式である。かかるRSA暗号化方式においては、2つの素数さえ個別に把握すれば、暗号化および復号のいずれも可能となる。ここで、暗号化を行う装置には、暗号化鍵(公開鍵)として、2つの素数を乗算した値のみを提供する。かかる暗号化鍵から復号鍵(秘密鍵)を導き出すには、2つの素数を乗算した値の素因数分解が必要となる。かかる素因数分解には多大な処理負荷と処理時間が必要となること自体が当該RSA暗号化方式の安全性の根拠となっている。
(1. Use RSA encryption method)
The RSA encryption method is a public key encryption method that uses two prime numbers having a large value and performs encryption and decryption using an encryption key and a decryption key obtained by a predetermined algorithm. In this RSA encryption method, if only two prime numbers are grasped individually, both encryption and decryption are possible. Here, only a value obtained by multiplying two prime numbers is provided as an encryption key (public key) to a device that performs encryption. In order to derive a decryption key (secret key) from such an encryption key, prime factorization of a value obtained by multiplying two prime numbers is required. The fact that such prime factorization requires a large processing load and processing time itself is the basis for the safety of the RSA encryption method.

本実施形態におけるRSA暗号化方式による暗号化処理と復号処理を簡単に説明すると、まず、値の大きい2つの素数p、qと、任意の正の整数eとを準備する。管理装置140(暗号化を行う装置)は、2つの素数p、qを乗算した値に基づく値p・q(暗号化鍵)と正の整数eとを有しているとする(2つの素数p、qそれぞれの情報はない)。管理装置140は、以下の数式1に基づいて平文のコマンドcから暗号化コマンドccを導出する。ただし、平文のコマンドcは、適当なブロック(例えば、1バイト)単位に分割され、それぞれ暗号化される。

Figure 0005772566
…(数式1)
ここでmodは剰余演算を示し、法と呼ぶこともある。 The encryption process and the decryption process by the RSA encryption method in this embodiment will be briefly described. First, two prime numbers p and q having a large value and an arbitrary positive integer e are prepared. The management device 140 (device that performs encryption) has a value p · q (encryption key) based on a value obtained by multiplying two prime numbers p and q, and a positive integer e (two prime numbers). There is no information on p and q). The management device 140 derives the encryption command cc from the plaintext command c based on the following formula 1. However, the plaintext command c is divided into appropriate blocks (for example, 1 byte) and encrypted.
Figure 0005772566
... (Formula 1)
Here, mod indicates a remainder operation and is sometimes called a modulus.

このようにして求められた暗号化コマンドccを受信したコンピュータ110(復号を行う装置)は、2つの素数p、qのいずれも、および、正の整数eを知っているので、以下の数式2によって、2つの素数p、qそれぞれから1を減算し、減算した2つの素数を乗算した値に基づく、暗号化コマンドにべき乗すべき値d(復号鍵)を導出する。

Figure 0005772566
…(数式2)
ただし、lは正の整数。そして、コンピュータ110は、2つの素数p、qを乗じた値p・qとべき乗すべき値dとを用い、以下の数式3に基づいて暗号化コマンドccを平文のコマンドcに復号する。
Figure 0005772566
…(数式3) Since the computer 110 (decryption device) that has received the encryption command cc thus determined knows both the two prime numbers p and q and the positive integer e, the following formula 2 Thus, 1 is subtracted from each of the two prime numbers p and q, and a value d (decryption key) to be raised to the encryption command based on a value obtained by multiplying the two prime numbers obtained by subtraction is derived.
Figure 0005772566
... (Formula 2)
Where l is a positive integer. Then, the computer 110 uses the value p · q obtained by multiplying the two prime numbers p and q and the value d to be a power, and decrypts the encrypted command cc into a plaintext command c based on the following Equation 3.
Figure 0005772566
... (Formula 3)

上述したように、管理装置140側は、2つの素数p、qを乗じた値p・qと正の整数eとを用いて容易に暗号化が可能であるが、値p・qから2つの素数p、qを素因数分解できない場合、数式2で示した暗号化に用いる(p−1)・(q−1)を求めることができない。したがって、管理装置140は勿論、他の機器が管理装置140から不正に値p・qを入手したとしても、その値p・qを用いて暗号化コマンドccを復号するのは困難を極める。こうして、コマンドの信頼性や安全性を確保することができる。   As described above, the management device 140 side can easily perform encryption using a value p · q obtained by multiplying two prime numbers p and q and a positive integer e. When the prime numbers p and q cannot be prime factorized, (p−1) · (q−1) used for the encryption shown in Equation 2 cannot be obtained. Therefore, even if the management apparatus 140 and other devices illegally obtain the value p · q from the management apparatus 140, it is extremely difficult to decrypt the encrypted command cc using the value p · q. In this way, the reliability and safety of the command can be ensured.

(2.テーブルで管理)
図4は、無停電電源管理システム100において用いられるテーブルを説明するための説明図である。特に、図4(a)には、暗号化コマンドテーブル310が示され、図4(b)には復号鍵テーブル320が示されている。
(2. Managed by table)
FIG. 4 is an explanatory diagram for explaining a table used in the uninterruptible power supply management system 100. In particular, FIG. 4 (a) shows an encryption command table 310, and FIG. 4 (b) shows a decryption key table 320.

RSA暗号化方式では、上述したように2つの素数を用いている。2つの素数は、乗算した値の素因数分解を困難にするため、大きな値であることが望ましい。また、管理装置140とコンピュータ110とで2つの素数を共有させることを前提に(ただし、管理装置140には共有した2つの素数を乗算した値のみを提供)、コマンドの通信機会の度に、2つの素数の新たな組み合わせが用いられると、乗算した値の素因数分解が不正な復号処理に到底間に合わなくなって、さらに安全性を高めることが可能となる。   The RSA encryption method uses two prime numbers as described above. The two prime numbers are desirably large values in order to make prime factorization of the multiplied value difficult. Also, assuming that the management device 140 and the computer 110 share two prime numbers (however, only a value obtained by multiplying the two shared prime numbers is provided to the management device 140), each time a command communication opportunity occurs, When a new combination of two prime numbers is used, the prime factorization of the multiplied value is not in time for an illegal decoding process, and it is possible to further increase the safety.

しかし、素因数分解に時間を要するのと同様、値の大きな素数の導出には、それなりの時間を要してしまう(例えば100MIPS)。そこで、本実施形態においては、2つの素数を通信機会の度に計算する代わりに、2つの素数の複数の組み合わせによる複数の暗号化鍵を予め計算して準備しておき、それを通信機会の度に選択することとする。   However, just as time is required for prime factorization, it takes some time to derive a large prime number (for example, 100 MIPS). Therefore, in this embodiment, instead of calculating two prime numbers for each communication opportunity, a plurality of encryption keys based on a plurality of combinations of two prime numbers are calculated and prepared in advance, It will be selected every time.

また、このように、2つの素数を固定的に用いた場合であっても、暗号化処理においては、数式1に示すように、平文のコマンドcを正の整数eでべき乗しなければならい。そこで、平文のコマンドcを正の整数eでべき乗する処理を省略すべく、その複数の暗号化鍵によって暗号化した複数の暗号化コマンドを予め生成しておき、それを通信機会の度に選択する。かかる暗号化コマンドは暗号化コマンドテーブル310によって管理される。ただし、暗号化処理は、コマンド文字列をバイト単位でブロック化し、そのブロック毎に暗号化が為されるとする。暗号化コマンドテーブル310は、図4(a)に示すように、所定のコマンドを複数の暗号化鍵312で暗号化した複数の暗号化コマンド314が、排他的な数値、ここでは、0〜999のシーケンシャルな数値で表された複数の識別子316にそれぞれ関連付けられている。図4(a)では、理解を容易にすべく、暗号化鍵312も暗号化コマンドテーブル310に関連付けているが、本実施形態では、暗号化コマンド314のみ関連付けられていればよい。   As described above, even when two prime numbers are fixedly used, in the encryption process, the plaintext command c must be raised to a positive integer e as shown in Equation 1. Therefore, in order to omit the process of raising the plaintext command c to the power of a positive integer e, a plurality of encrypted commands encrypted with the plurality of encryption keys are generated in advance and selected at each communication opportunity. To do. Such encrypted commands are managed by the encrypted command table 310. However, in the encryption process, it is assumed that the command character string is blocked in bytes, and encryption is performed for each block. In the encryption command table 310, as shown in FIG. 4A, a plurality of encryption commands 314 obtained by encrypting a predetermined command with a plurality of encryption keys 312 are exclusive numerical values, in this case, 0-999. Are respectively associated with a plurality of identifiers 316 represented by sequential numerical values. In FIG. 4A, the encryption key 312 is also associated with the encryption command table 310 for easy understanding, but in the present embodiment, only the encryption command 314 needs to be associated.

本実施形態では、RSA暗号化方式により所定のコマンドを暗号化した例えば1000の暗号化コマンド314を暗号化コマンドテーブル310として管理メモリ214に保持させておき、コマンド抽出部238が、動的かつランダムに暗号化コマンドテーブル310の暗号化コマンド314を選択することで、通信機会の度に、素数を導出したり、暗号化処理を実行する煩わしい処理を行わなくて済む。したがって、リソースが制限された既存の機器を有効利用し、この低スペックの処理能力範囲において、暗号化コマンドテーブル310の1000の暗号化コマンド314から不特定に1の暗号化コマンド314を選択するのみといった軽負荷で、復号鍵の推定を困難にさせ、通信データの高度な安全性を確保する。   In this embodiment, for example, 1000 encrypted commands 314 obtained by encrypting a predetermined command by the RSA encryption method are held in the management memory 214 as the encrypted command table 310, and the command extraction unit 238 performs dynamic and random processing. By selecting the encryption command 314 in the encryption command table 310, it is not necessary to perform a troublesome process of deriving a prime number or executing an encryption process at every communication opportunity. Therefore, an existing device with limited resources is effectively used, and only one encryption command 314 is selected unspecified from 1000 encryption commands 314 in the encryption command table 310 within this low-spec processing capability range. With such a light load, it is difficult to estimate the decryption key, and high security of communication data is ensured.

ここでは、復号鍵の推定を困難にさせるため、暗号化鍵312および暗号化コマンド314を1000程準備したが、その数はかかる1000に限らず、必要な安全性に応じて様々な数を適用することができる。また、2つの素数p、qと、任意の正の整数eについても、必要な安全性に応じて様々な桁数で表すことができる。暗号化コマンド314の数や、2つの素数p、q、任意の正の整数eは、一般に、その値が大きいほど、暗号強度が向上し、安全性や信頼性に優れていることとなる。   Here, in order to make it difficult to estimate the decryption key, about 1000 encryption keys 312 and encryption commands 314 are prepared, but the number is not limited to 1000, and various numbers can be applied depending on the required security. can do. Also, two prime numbers p and q and an arbitrary positive integer e can be expressed by various numbers of digits according to necessary security. In general, the larger the value of the number of encryption commands 314, two prime numbers p and q, and an arbitrary positive integer e, the higher the encryption strength, and the higher the safety and reliability.

また、図4(b)に示した、復号鍵テーブル320では、暗号化コマンドテーブル310における複数の暗号化コマンド314にそれぞれ対応する複数の復号鍵322が、図4中に両矢印で示すように暗号化コマンド314と同一の識別子316に関連付けられている。コンピュータ110のコマンド復号部270は、管理装置140のコマンド抽出部238が抽出した暗号化コマンド314の識別子316を把握し、復号鍵テーブル320において同一の識別子316に関連付けられた復号鍵322を読み出し、管理装置140から受信した暗号化コマンド314を、数式3を用いて元のコマンドに復号する。   In the decryption key table 320 shown in FIG. 4B, a plurality of decryption keys 322 respectively corresponding to the plurality of encryption commands 314 in the encryption command table 310 are indicated by double arrows in FIG. It is associated with the same identifier 316 as the encryption command 314. The command decryption unit 270 of the computer 110 grasps the identifier 316 of the encrypted command 314 extracted by the command extraction unit 238 of the management apparatus 140, reads the decryption key 322 associated with the same identifier 316 in the decryption key table 320, The encrypted command 314 received from the management apparatus 140 is decrypted into the original command using Equation 3.

コンピュータ110においては、復号鍵322によって暗号化コマンド314をべき乗する処理を行わなくてはならないものの、管理装置140に同期して2つの素数を導出する手間を省くことができるので、管理装置140同様、処理負荷の軽減を図ることができる。   In the computer 110, although the process of raising the encryption command 314 to the power with the decryption key 322 must be performed, the trouble of deriving two prime numbers in synchronization with the management device 140 can be saved. The processing load can be reduced.

(3.テーブルの索引にポート番号を利用)
さらに、管理装置140およびコンピュータ110によって共有する識別子を、管理装置140とコンピュータ110とが通信接続を確立した際の互いのポート番号から一意に求めることとする。
(3. Use port number for table index)
Further, an identifier shared by the management device 140 and the computer 110 is uniquely obtained from the mutual port numbers when the management device 140 and the computer 110 establish a communication connection.

具体的に、管理装置140のコマンド抽出部238は、コンピュータ110との通信を確立した際に受信する応答パケットから送信側であるコンピュータ110のポート番号(例えば、5770)と、受信側である管理装置140自体のポート番号(例えば、12345)とを取得する。そして、管理装置140は、コンピュータ110のポート番号mと管理装置140自体のポート番号nとを加算した値の、以下の数式4により1000の法を導出して、暗号化コマンドテーブル310および復号鍵テーブル320の索引に用いる識別子kとする。例えば、上記の例では、m=5770、n=12345なので、その和の1000の法は115であり、識別子kは115となる。

Figure 0005772566
…(数式4) Specifically, the command extraction unit 238 of the management apparatus 140 receives the port number (for example, 5770) of the computer 110 that is the transmission side from the response packet that is received when communication with the computer 110 is established, and the management that is the reception side. The port number of the device 140 itself (for example, 12345) is acquired. Then, the management device 140 derives the method of 1000 by the following formula 4 of the value obtained by adding the port number m of the computer 110 and the port number n of the management device 140 itself, and the encryption command table 310 and the decryption key An identifier k used for the index of the table 320 is used. For example, in the above example, m = 5770 and n = 1345, so the sum of 1000 is 115 and the identifier k is 115.
Figure 0005772566
... (Formula 4)

また、コンピュータ110のコマンド復号部270も、コンピュータ110自体が発する応答パケットにおける管理装置140のポート番号nとコンピュータ110自体のポート番号mとを加算し、数式4に基づいて、管理装置140と同一の識別子kを導出することができる。   The command decoding unit 270 of the computer 110 also adds the port number n of the management device 140 and the port number m of the computer 110 itself in the response packet issued by the computer 110 itself, and is the same as the management device 140 based on Equation 4. Identifier k can be derived.

かかるポート番号は、通信を確立する管理装置140およびコンピュータ110のみならず、ネットワーク102に不正にアクセスした第三者も知ることができる情報である。しかし、このポート番号が不正に取得されたとしても、「管理装置140のポート番号とコンピュータ110自体のポート番号とを加算し、1000の法により求められた値でテーブルを参照する。」というアルゴリズムさえ開示しなければ、ポート番号と、暗号化鍵や復号鍵との相関性を第三者が推測することは困難である。   The port number is information that can be known not only by the management apparatus 140 and the computer 110 that establish communication but also by a third party who has illegally accessed the network 102. However, even if this port number is obtained illegally, the algorithm “adds the port number of the management device 140 and the port number of the computer 110 itself, and refers to the table with the value obtained by the method of 1000”. Without even disclosing, it is difficult for a third party to guess the correlation between the port number and the encryption key or the decryption key.

このように、ポート番号を参照し、簡単な計算を行うことのみで、管理装置140の暗号化鍵312とコンピュータ110の復号鍵322とを一意に対応付けることができる。コンピュータ110は、正当な管理装置140からの暗号化コマンド314のみを正規のコマンドとして受け付けることが可能となる。このとき、コマンドが、コンピュータ110の電力消費を低減または切断させるコマンドであった場合、コンピュータ110のコマンド実行部272は、無停電電源装置130が電力供給を所定時間維持している間に、コンピュータ110を安全に停止、または、レジュームモードに移行させる。   In this way, the encryption key 312 of the management apparatus 140 and the decryption key 322 of the computer 110 can be uniquely associated only by referring to the port number and performing simple calculations. The computer 110 can accept only the encrypted command 314 from the valid management device 140 as a regular command. At this time, if the command is a command that reduces or cuts off the power consumption of the computer 110, the command execution unit 272 of the computer 110 determines that the computer while the uninterruptible power supply 130 maintains power supply for a predetermined time. 110 is safely stopped or moved to the resume mode.

上述したように、暗号化処理において、(1)RSA暗号化方式を利用、(2)テーブルで管理、(3)テーブルの索引にポート番号を利用することで、暗号化処理のハイブリッド化を図る。即ち、管理装置140とコンピュータ110との双方だけが有する、テーブルの索引にポート番号を利用するというアルゴリズムおよびテーブルの大きさ、並び順等の秘密情報(古典暗号方式)を持ちつつ、暗号化方式は公開鍵暗号方式(現代暗号)であるRSA暗号化方式を利用することで、暗号強度を維持する。   As described above, in the encryption process, (1) using the RSA encryption method, (2) managing with the table, and (3) using the port number for the index of the table, the encryption process is hybridized. . That is, only the management apparatus 140 and the computer 110 have an algorithm that uses a port number for the table index, and secret information (classic encryption method) such as the size and arrangement order of the table, and the encryption method. Maintains the encryption strength by using the RSA encryption method which is a public key encryption method (modern encryption).

(無停電電源管理方法)
次に、無停電電源管理システム100を用いコンピュータ110の電力供給を管理する無停電電源管理方法を説明する。図5は、無停電電源管理方法の全体的な処理の流れを示したシーケンス図であり、図6は、無停電電源管理方法によるデータの流れを示したブロック図である。
(Uninterruptible power management method)
Next, an uninterruptible power management method for managing the power supply of the computer 110 using the uninterruptible power management system 100 will be described. FIG. 5 is a sequence diagram showing an overall processing flow of the uninterruptible power management method, and FIG. 6 is a block diagram showing a data flow by the uninterruptible power management method.

まず、無停電電源管理システム100では、2つの素数の組み合わせを複数(ここでは、1000)ランダムに生成する。そして、0〜999のシーケンシャルな数値で表された複数の識別子316に、2つの素数の組み合わせを対応付ける。   First, in the uninterruptible power supply management system 100, a plurality of (in this case, 1000) combinations of two prime numbers are randomly generated. Then, a combination of two prime numbers is associated with a plurality of identifiers 316 represented by sequential numerical values of 0 to 999.

次に、2つの素数の組み合わせに基づく暗号化鍵312で所定のコマンドを暗号化した複数の暗号化コマンド314を、2つの素数の組み合わせに対応する識別子316に関連付けて暗号化コマンドテーブル310を生成し、管理メモリ214に予め保持させておく(S400)。また、2つの素数の組み合わせに基づく復号鍵322を、2つの素数の組み合わせに対応する識別子316に関連付けて復号鍵テーブル320を生成し、コンピュータメモリ256に予め保持させておく(S402)。   Next, an encrypted command table 310 is generated by associating a plurality of encrypted commands 314 obtained by encrypting a predetermined command with an encryption key 312 based on a combination of two prime numbers with an identifier 316 corresponding to the combination of the two prime numbers. And stored in the management memory 214 in advance (S400). Further, the decryption key table 320 is generated by associating the decryption key 322 based on the combination of two prime numbers with the identifier 316 corresponding to the combination of the two prime numbers, and stored in the computer memory 256 in advance (S402).

コンピュータ110に電源120からの電力供給が開始され、無停電電源装置130が機能し始めると、管理装置140の情報取得部234は、無停電電源装置130の内部情報を取得して、無停電電源装置130を監視する(S404)。情報取得部234が取得した内部情報が、電源120からの電力供給が絶たれたことを示す場合(S406)、コマンド送信部240は、コンピュータ110に、コンピュータ110の電力消費を低減または切断させるコマンドを送信すべく、コンピュータ110との通信を確立する。具体的に、コマンド送信部240は、通信を確立するための通信接続要求をコンピュータ110に送信し(S408)、この送信に対するコンピュータ110からの通信ポート確立の応答パケットの受信待機状態に移行する。   When power supply from the power source 120 is started to the computer 110 and the uninterruptible power supply 130 starts to function, the information acquisition unit 234 of the management device 140 acquires the internal information of the uninterruptible power supply 130, and the uninterruptible power supply 130 The device 130 is monitored (S404). When the internal information acquired by the information acquisition unit 234 indicates that the power supply from the power source 120 has been cut off (S406), the command transmission unit 240 causes the computer 110 to reduce or cut off the power consumption of the computer 110. Communication with the computer 110 is established. Specifically, the command transmission unit 240 transmits a communication connection request for establishing communication to the computer 110 (S408), and shifts to a reception standby state for a response packet for establishing a communication port from the computer 110 for this transmission.

一方、管理装置140から通信接続要求を受信したコンピュータ110は、通信ポート確立の応答パケットを返信するとともに(S410)、上記数式4に基づいて、この応答パケットの送信元のポート番号mと宛先のポート番号nとを加算、1000の法を導出することで、コンピュータ110側の復号鍵テーブル320の識別子kを予め導出しておく(S412)。そして、コマンドの受信待機状態に移行する。   On the other hand, the computer 110 that has received the communication connection request from the management apparatus 140 returns a response packet for establishing a communication port (S410) and, based on the above equation 4, the source port number m and destination address of the response packet. The identifier k of the decryption key table 320 on the computer 110 side is derived in advance by adding the port number n and deriving the method of 1000 (S412). Then, it shifts to a command reception standby state.

コンピュータ110から応答パケットを受信した管理装置140は、この応答パケットからコンピュータ110のポート番号mと管理装置140自体のポート番号nを取得し(S414)、コマンド抽出部238は、上記数式4に基づいて、送信元のポート番号mと宛先のポート番号nとを加算、1000の法を導出して識別子kを導出し(S416)、図4(a)に示す暗号化コマンドテーブル310を参照し、導出した識別子kに関連付けられた暗号化コマンド314を抽出する(S418)。   The management device 140 that has received the response packet from the computer 110 obtains the port number m of the computer 110 and the port number n of the management device 140 itself from this response packet (S414). Then, the source port number m and the destination port number n are added, the method of 1000 is derived to derive the identifier k (S416), and the encrypted command table 310 shown in FIG. The encryption command 314 associated with the derived identifier k is extracted (S418).

コマンド送信部240は、暗号化コマンド314を、ネットワーク102を通じてコンピュータ110に送信し(S420)、この送信に対するコンピュータ110からのコマンド実行完了の応答パケットの受信待機状態に移行する。   The command transmission unit 240 transmits the encrypted command 314 to the computer 110 through the network 102 (S420), and shifts to a reception waiting state for a response packet indicating completion of command execution from the computer 110 for this transmission.

管理装置140から暗号化コマンドを受信したコンピュータ110のコマンド復号部270は、図4(b)に示す復号鍵テーブル320を参照し、予め導出しておいた識別子kに関連付けられた復号鍵322を抽出して暗号化コマンド314をコマンドに復号する(S422)。   The command decryption unit 270 of the computer 110 that has received the encrypted command from the management device 140 refers to the decryption key table 320 shown in FIG. 4B and obtains the decryption key 322 associated with the identifier k that has been derived in advance. The encrypted command 314 is extracted and decrypted into a command (S422).

そして、コマンド実行部272は、復号されたコマンドが正当な管理装置140から送信されたコマンドであり、かつ、正規のコマンドであれば、そのコマンドを実行する(S424)。例えば、コマンドが、コンピュータ110の電力消費を低減または切断させるコマンドであった場合、コンピュータ110のコマンド実行部272は、無停電電源装置130が電力供給を所定時間維持している間に、コンピュータ110を安全に停止、または、レジュームモードに移行させることとなる。そして、コマンドが実行されると、コマンド実行部272は、コマンド実行完了の応答パケットを管理装置140に送信する(S426)。   Then, if the decrypted command is a command transmitted from the legitimate management device 140 and is a legitimate command, the command execution unit 272 executes the command (S424). For example, if the command is a command that reduces or cuts off the power consumption of the computer 110, the command execution unit 272 of the computer 110 causes the computer 110 to keep running while the uninterruptible power supply 130 maintains power supply for a predetermined time. Is safely stopped or shifted to the resume mode. When the command is executed, the command execution unit 272 sends a command execution completion response packet to the management device 140 (S426).

また、管理装置140のコマンド送信部240が暗号化コマンドを送信しても(S440)、所定時間内にコマンド実行完了の応答パケットがコンピュータ110から返信されない場合(S442)、通信エラーと判定される(S444)。通信エラーが生じた場合、コマンド送信部240は、通信接続(TCP接続)を一旦切断(FINまたはRST)し(S446)、リトライ(例えば、3回まで可)によって(S448)、再度、通信接続を試みる。ただし、リトライによっては、ポート番号m、nも変化するので、テーブルを索引する識別子316も変化することとなる。   Even if the command transmission unit 240 of the management apparatus 140 transmits an encrypted command (S440), if a response packet indicating completion of command execution is not returned from the computer 110 within a predetermined time (S442), it is determined as a communication error. (S444). When a communication error occurs, the command transmission unit 240 temporarily disconnects the communication connection (TCP connection) (FIN or RST) (S446), and retry (for example, up to three times) (S448), and again establish a communication connection. Try. However, depending on the retry, the port numbers m and n also change, so the identifier 316 for indexing the table also changes.

上述した無停電電源管理システム100や無停電電源管理方法によって、新たな専用機器の追加を要すことなく、リソースが制限された既存の機器を有効利用し、本実施形態による機能部をソフトウェアのアップデートを通じてインストールすることで、低スペックの処理能力範囲であっても、通信データの安全性を確保することが可能となる。   By using the uninterruptible power supply management system 100 and the uninterruptible power supply management method described above, existing functions with limited resources can be effectively used without adding new dedicated equipment, and the functional unit according to the present embodiment is installed in the software. By installing through the update, it is possible to ensure the safety of communication data even in the low-spec processing capacity range.

また、本実施形態では、コマンドの送信に費やす負荷を軽減できるので、コンピュータ110へのログイン時のみならず、データ通信全般に適用することが可能となり、長時間に渡り通信データの安全性を確保することができる。   Also, in this embodiment, since the load spent on command transmission can be reduced, it can be applied not only when logging in to the computer 110 but also in general data communication, ensuring the safety of communication data for a long time. can do.

また、本実施形態では、上述したように、管理装置140とコンピュータ110との双方だけが有する、テーブルの索引にポート番号を利用するというアルゴリズム、および、テーブルの大きさ、並び順等の秘密情報(古典暗号方式)を持ちつつ、暗号化方式は公開鍵暗号方式(現代暗号)であるRSA暗号化方式を利用するといったハイブリッド方式を適用しているので、高い暗号強度を維持することが可能となる。   In this embodiment, as described above, only the management apparatus 140 and the computer 110 have an algorithm that uses a port number for the table index, and secret information such as the size and arrangement order of the table. (Classical encryption method) While having a hybrid method such as using the RSA encryption method that is a public key encryption method (modern encryption), the encryption method can maintain a high encryption strength. Become.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明はかかる実施形態に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to this embodiment. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Is done.

例えば、上述した実施形態においては、暗号化方式としてRSA暗号化方式を用いる例を挙げて説明したが、かかる場合に限らず、DES(Data Encryption Standard)、AES(Advanced Encryption Standard)、FEAL(Fast data Encipherment ALgorithm)、Camelia、RC6(Ron's Code 6)、IDEA(International Data Encryption Algorithm)等、様々な暗号化方式を適用することができる。   For example, in the above-described embodiment, the example in which the RSA encryption method is used as the encryption method has been described. However, the present invention is not limited to this, and DES (Data Encryption Standard), AES (Advanced Encryption Standard), FEAL (Fast Various encryption schemes such as Data Encipherment ALgorithm), Camelia, RC6 (Ron's Code 6), IDEA (International Data Encryption Algorithm) can be applied.

また、本実施形態においては、暗号化コマンドテーブル310に、暗号化鍵によって暗号化されたコマンド自体を関連付けているが、かかる場合に限らず、暗号化鍵のみを関連付けてもよいし、暗号化鍵の元となる2つの素数を関連付けてもよい。2つの素数を採用すると、管理装置140とコンピュータ110とのテーブルの共通化を図ることができる。   In the present embodiment, the command itself encrypted with the encryption key is associated with the encryption command table 310. However, the present invention is not limited to this, and only the encryption key may be associated. Two prime numbers that are key sources may be associated with each other. If two prime numbers are used, the management device 140 and the computer 110 can share a common table.

また、本実施形態においては、コマンドをRAS暗号化方式により1回暗号化する例を挙げて説明したが、その回数に制限はなく、複数回行ってもよく、また、その暗号化の1部として共通鍵による暗号化を含めることもできる。   Further, in the present embodiment, the example in which the command is encrypted once by the RAS encryption method has been described, but the number of times is not limited, and the command may be performed a plurality of times. As well as encryption with a common key.

また、本実施形態においては、ネットワークとしてTCP/IPを挙げているが、かかる場合に限られず、UDP(User Datagram Protocol)/IP等、機器間を接続するネットワークの様々な標準規格を採用することができる。例えば、上記ステップS446やステップS448等はTCP/IP独自の技術であるが、本実施形態で説明した他の技術に関してはUDP/IPにも適用可能である。   In this embodiment, TCP / IP is cited as the network. However, the present invention is not limited to this, and various network standards for connecting devices such as UDP (User Datagram Protocol) / IP should be adopted. Can do. For example, step S446 and step S448 are techniques unique to TCP / IP, but the other techniques described in this embodiment can also be applied to UDP / IP.

また、汎用のコンピュータを、本実施形態の管理装置140やコンピュータ110として機能させるプログラムを記録した、汎用のコンピュータで読み取り可能なフレキシブルディスク、光磁気ディスク、ROM、EPROM、EEPROM、CD(Compact Disc)、DVD(Digital Versatile Disc)、BD(Blu-ray Disc)等の記憶媒体も提供される。   In addition, a general-purpose computer-readable flexible disk, magneto-optical disk, ROM, EPROM, EEPROM, CD (Compact Disc), which records a program that causes a general-purpose computer to function as the management device 140 or the computer 110 of this embodiment. Storage media such as DVD (Digital Versatile Disc) and BD (Blu-ray Disc) are also provided.

なお、本明細書の無停電電源管理方法の各工程は、必ずしもシーケンス図として記載された順序に沿って時系列に処理する必要はなく、並列的あるいはサブルーチンによる処理を含んでもよい。   Note that each step of the uninterruptible power supply management method of the present specification does not necessarily have to be processed in time series in the order described as a sequence diagram, and may include parallel or subroutine processing.

本発明は、電源からの電力供給が絶たれた場合であってもコンピュータへの電力供給を維持する無停電電源管理システム、管理装置、コンピュータ、および、無停電電源管理方法に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be used for an uninterruptible power management system, a management device, a computer, and an uninterruptible power management method that maintain power supply to a computer even when power supply from a power source is cut off. .

100 …無停電電源管理システム
102 …ネットワーク
110 …コンピュータ
120 …電源
130 …無停電電源装置
140 …管理装置
234 …情報取得部
238 …コマンド抽出部
240 …コマンド送信部
270 …コマンド復号部
272 …コマンド実行部
310 …暗号化コマンドテーブル
312 …暗号化鍵
314 …暗号化コマンド
316 …識別子
320 …復号鍵テーブル
322 …復号鍵
DESCRIPTION OF SYMBOLS 100 ... Uninterruptible power management system 102 ... Network 110 ... Computer 120 ... Power supply 130 ... Uninterruptible power supply 140 ... Management device 234 ... Information acquisition part 238 ... Command extraction part 240 ... Command transmission part 270 ... Command decoding part 272 ... Command execution Unit 310 ... Encryption command table 312 ... Encryption key 314 ... Encryption command 316 ... Identifier 320 ... Decryption key table 322 ... Decryption key

Claims (8)

コンピュータと、
前記コンピュータに電力を供給する電源と、
前記電源からの電力を蓄電し、該電源の電力供給が絶たれたとしても前記コンピュータへの電力供給を所定時間維持する無停電電源装置と、
コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを保持する管理メモリ、前記無停電電源装置の内部状態に関する内部情報を取得する情報取得部、該内部情報に応じて、該暗号化コマンドテーブルを参照し前記コンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出するコマンド抽出部、および、抽出された該暗号化コマンドを、第三者がアクセス可能なネットワークを通じて前記コンピュータに送信するコマンド送信部を有する管理装置と、
を備え、
前記コンピュータは、前記複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を該暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを保持するコンピュータメモリ、該復号鍵テーブルを参照し前記管理装置と共有する識別子に関連付けられた復号鍵によって暗号化コマンドを前記コマンドに復号するコマンド復号部、および、復号された該コマンドを実行するコマンド実行部を有することを特徴とする無停電電源管理システム。
A computer,
A power source for supplying power to the computer;
An uninterruptible power supply that stores electric power from the power source and maintains the power supply to the computer for a predetermined time even if the power supply of the power source is cut off,
A management memory that holds an encryption command table in which a plurality of encrypted commands obtained by encrypting a command with a plurality of encryption keys are associated with a plurality of identifiers, and information for acquiring internal information about the internal state of the uninterruptible power supply An acquisition unit, a command extraction unit that extracts an encryption command associated with an identifier shared with the computer by referring to the encryption command table according to the internal information, and the extracted encryption command A management device having a command transmission unit for transmitting to the computer through a network accessible by the three parties;
With
The computer includes a computer memory holding a decryption key table in which a plurality of decryption keys respectively corresponding to the plurality of encryption commands are associated with the same identifier as the encryption command, and refers to the decryption key table and the management device An uninterruptible power supply management system comprising: a command decryption unit that decrypts an encrypted command into the command using a decryption key associated with a shared identifier; and a command execution unit that executes the decrypted command.
前記共有する識別子は、前記管理装置と前記コンピュータとがネットワークにおいて通信接続を構築した際の互いのポート番号から一意に求められることを特徴とする請求項1に記載の無停電電源管理システム。   The uninterruptible power supply management system according to claim 1, wherein the shared identifier is uniquely obtained from a mutual port number when the management apparatus and the computer establish a communication connection in a network. 前記暗号化および復号にはRSA暗号化方式が用いられ、前記暗号化コマンドテーブルには、2つの素数を乗算した値に基づく暗号化鍵で暗号化した暗号化コマンドが関連付けられ、復号鍵テーブルには、2つの素数それぞれから1を減算し、減算した2つの素数を乗算した値に基づく復号鍵が関連付けられることを特徴とする請求項1または2に記載の無停電電源管理システム。   An RSA encryption method is used for the encryption and decryption, and an encryption command encrypted with an encryption key based on a value obtained by multiplying two prime numbers is associated with the encryption command table. The uninterruptible power supply management system according to claim 1 or 2, wherein a decryption key based on a value obtained by subtracting 1 from each of the two prime numbers and multiplying the subtracted two prime numbers is associated. 前記コマンドは、前記コンピュータの電力消費を低減または切断させるコマンドであり、
前記コマンド実行部は、前記無停電電源装置が電力供給を所定時間維持している間に前記コマンドを実行することを特徴とする請求項1から3のいずれか1項に記載の無停電電源管理システム。
The command is a command for reducing or cutting off power consumption of the computer,
The uninterruptible power management according to any one of claims 1 to 3, wherein the command execution unit executes the command while the uninterruptible power supply device maintains power supply for a predetermined time. system.
前記ネットワークは、TCP/IPまたはUDP/IPを用いていることを特徴とする請求項1から4のいずれか1項に記載の無停電電源管理システム。   The uninterruptible power supply management system according to any one of claims 1 to 4, wherein the network uses TCP / IP or UDP / IP. コンピュータと、該コンピュータに電力を供給する電源からの電力を蓄電し、該電源の電力供給が絶たれたとしても該コンピュータへの電力供給を所定時間維持する無停電電源装置とに接続された管理装置であって、
コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを保持する管理メモリと、
前記無停電電源装置の内部状態に関する内部情報を取得する情報取得部と、
前記内部情報に応じて、前記暗号化コマンドテーブルを参照し前記コンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出するコマンド抽出部と、
抽出された前記暗号化コマンドを、第三者がアクセス可能なネットワークを通じて前記コンピュータに送信するコマンド送信部と、
を備えることを特徴とする管理装置。
Management connected to a computer and an uninterruptible power supply that stores power from a power supply that supplies power to the computer and maintains the power supply to the computer for a predetermined time even if the power supply to the computer is cut off A device,
A management memory for holding an encrypted command table in which a plurality of encrypted commands obtained by encrypting a command with a plurality of encryption keys are respectively associated with a plurality of identifiers;
An information acquisition unit for acquiring internal information regarding the internal state of the uninterruptible power supply; and
A command extraction unit that extracts an encrypted command associated with an identifier shared with the computer by referring to the encrypted command table according to the internal information;
A command transmission unit that transmits the extracted encrypted command to the computer through a network accessible by a third party;
A management apparatus comprising:
電源からの電力供給を受けると共に、該電源からの電力を蓄電し、該電源の電力供給が絶たれたとしても該コンピュータへの電力供給を所定時間維持する無停電電源装置を管理する管理装置に接続されたコンピュータであって、
前記管理装置において暗号化コマンドテーブルに複数の識別子と関連付けて管理されている複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を該暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを保持するコンピュータメモリと、
前記復号鍵テーブルを参照し前記管理装置と共有する識別子に関連付けられた復号鍵によって、前記管理装置から受信した暗号化コマンドをコマンドに復号するコマンド復号部と、
復号された前記コマンドを実行するコマンド実行部と、
を備えることを特徴とするコンピュータ。
A management apparatus that manages an uninterruptible power supply that receives power supply from a power supply, stores power from the power supply, and maintains power supply to the computer for a predetermined time even when power supply to the power supply is cut off A connected computer,
A decryption key table in which a plurality of decryption keys respectively corresponding to a plurality of encryption commands managed in association with a plurality of identifiers in the encryption command table in the management apparatus is associated with the same identifier as the encryption command is held. Computer memory,
A command decryption unit that decrypts an encrypted command received from the management device into a command with a decryption key associated with an identifier shared with the management device by referring to the decryption key table;
A command execution unit for executing the decoded command;
A computer comprising:
コンピュータと、該コンピュータに電力を供給する電源と、該電源からの電力を蓄電し、該電源の電力供給が絶たれたとしても該コンピュータへの電力供給を所定時間維持する無停電電源装置と、該無停電電源装置および該コンピュータとに接続された管理装置と、を用いて該コンピュータの電源供給を管理する無停電電源管理方法であって、
前記管理装置が、
コマンドを複数の暗号化鍵で暗号化した複数の暗号化コマンドを、複数の識別子にそれぞれ関連付けた暗号化コマンドテーブルを予め保持しておき、
前記無停電電源装置の内部状態に関する内部情報を取得し、
前記内部情報に応じて、前記暗号化コマンドテーブルを参照し前記コンピュータと共有する識別子に関連付けられた暗号化コマンドを抽出し、
抽出した前記暗号化コマンドを、第三者がアクセス可能なネットワークを通じて前記コンピュータに送信し、
前記コンピュータが、
前記複数の暗号化コマンドにそれぞれ対応する複数の復号鍵を該暗号化コマンドと同一の識別子に関連付けた復号鍵テーブルを予め保持しておき、
前記復号鍵テーブルを参照し前記管理装置と共有する識別子に関連付けられた復号鍵によって前記暗号化コマンドを前記コマンドに復号し、
復号した前記コマンドを実行することを特徴とする無停電電源管理方法。
A computer, a power supply for supplying power to the computer, an uninterruptible power supply for storing power from the power supply, and maintaining the power supply to the computer for a predetermined time even when the power supply of the power supply is cut off, An uninterruptible power supply management method for managing power supply of the computer using the uninterruptible power supply and a management device connected to the computer,
The management device is
An encryption command table in which a plurality of encrypted commands obtained by encrypting a command with a plurality of encryption keys and associated with a plurality of identifiers is held in advance,
Obtaining internal information about the internal state of the uninterruptible power supply,
According to the internal information, refer to the encryption command table to extract an encryption command associated with an identifier shared with the computer,
The extracted encryption command is transmitted to the computer through a network accessible by a third party,
The computer is
A decryption key table in which a plurality of decryption keys respectively corresponding to the plurality of encryption commands are associated with the same identifier as the encryption command,
Decrypting the encrypted command into the command with a decryption key associated with an identifier shared with the management device with reference to the decryption key table;
An uninterruptible power supply management method characterized by executing the decoded command.
JP2011275705A 2011-12-16 2011-12-16 Uninterruptible power management system, management device, computer, and uninterruptible power management method Active JP5772566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011275705A JP5772566B2 (en) 2011-12-16 2011-12-16 Uninterruptible power management system, management device, computer, and uninterruptible power management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011275705A JP5772566B2 (en) 2011-12-16 2011-12-16 Uninterruptible power management system, management device, computer, and uninterruptible power management method

Publications (2)

Publication Number Publication Date
JP2013126226A JP2013126226A (en) 2013-06-24
JP5772566B2 true JP5772566B2 (en) 2015-09-02

Family

ID=48777202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011275705A Active JP5772566B2 (en) 2011-12-16 2011-12-16 Uninterruptible power management system, management device, computer, and uninterruptible power management method

Country Status (1)

Country Link
JP (1) JP5772566B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6119228A (en) * 1997-08-22 2000-09-12 Compaq Computer Corporation Method for securely communicating remote control commands in a computer network
JP2007058396A (en) * 2005-08-23 2007-03-08 Mitsubishi Electric Engineering Co Ltd Information processing system

Also Published As

Publication number Publication date
JP2013126226A (en) 2013-06-24

Similar Documents

Publication Publication Date Title
KR102015201B1 (en) Efficient start-up for secured connections and related services
US20200358764A1 (en) System and method for generating symmetric key to implement media access control security check
US9043604B2 (en) Method and apparatus for key provisioning of hardware devices
US8462955B2 (en) Key protectors based on online keys
US9379891B2 (en) Method and system for ID-based encryption and decryption
US8787566B2 (en) Strong encryption
US9380037B2 (en) Methods and devices for trusted protocols for a non-secured, distributed environment with applications to virtualization and cloud-computing security and management
US20170244687A1 (en) Techniques for confidential delivery of random data over a network
JP5564453B2 (en) Information processing system and information processing method
CN102571329B (en) Password key management
US10193698B1 (en) Avoiding interdicted certificate cache poisoning for secure sockets layer forward proxy
US20130046984A1 (en) Establishing a Secured Communication Session
US10944576B2 (en) Authorization with a preloaded certificate
JP2008250931A (en) System for restoring distributed information, information utilizing device, and verification device
JP2005268903A (en) Cryptographic key sharing device, cryptographic key sharing method, program, and communication equipment
JP2012048576A (en) Data transmission processing device and data transmission program
WO2015114871A1 (en) Key management device and key management method
US20230403258A1 (en) Secure configuration of a virtual private network server
JP5772566B2 (en) Uninterruptible power management system, management device, computer, and uninterruptible power management method
US11582197B1 (en) Configuration of a virtual private network server
JP2005303676A (en) Image forming device, paired key generating method, and computer program
EP4012689B1 (en) Key management system providing secure management of cryptographic keys, and methods of operating the same
WO2018172776A1 (en) Secure transfer of data between internet of things devices
US20230239138A1 (en) Enhanced secure cryptographic communication system
US11664988B2 (en) Method and system for encrypting and decrypting secrets using escrow agents

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150501

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150615

R150 Certificate of patent or registration of utility model

Ref document number: 5772566

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250