Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7623633B2 - Power supply control circuit - Google Patents
[go: Go Back, main page]

JP7623633B2 - Power supply control circuit - Google Patents

Power supply control circuit Download PDF

Info

Publication number
JP7623633B2
JP7623633B2 JP2021105325A JP2021105325A JP7623633B2 JP 7623633 B2 JP7623633 B2 JP 7623633B2 JP 2021105325 A JP2021105325 A JP 2021105325A JP 2021105325 A JP2021105325 A JP 2021105325A JP 7623633 B2 JP7623633 B2 JP 7623633B2
Authority
JP
Japan
Prior art keywords
state
power supply
power
switch
control circuit
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
JP2021105325A
Other languages
Japanese (ja)
Other versions
JP2023003934A (en
Inventor
駿 山中
泰彦 石井
Original Assignee
サクサ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by サクサ株式会社 filed Critical サクサ株式会社
Priority to JP2021105325A priority Critical patent/JP7623633B2/en
Publication of JP2023003934A publication Critical patent/JP2023003934A/en
Application granted granted Critical
Publication of JP7623633B2 publication Critical patent/JP7623633B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Description

この発明は、例えば、ロッカスイッチ(Rocker Switch)などの位置保持型スイッチが電源スイッチとして用いられた、例えば、UTM(Unified Threat Management)装置などの電子機器に搭載される電源制御回路に関する。 This invention relates to a power supply control circuit mounted on an electronic device, such as a Unified Threat Management (UTM) device, in which a position-holding switch, such as a rocker switch, is used as a power supply switch.

家電製品、PC(Personal Computer)周辺機器、事務機器、業務用機器などの種々の電子機器の電源スイッチとして、いわゆるロッカスイッチが幅広く利用されている。ロッカスイッチは、操作ボタンの両端をシーソーのように交互に押下操作することで電気回路の接続状態と遮断状態とを切り替えるものである。近年においては、後に記す特許文献1に開示されているように、サイズの小型化や通電状態の安定性を高めたものが考えられている。 So-called rocker switches are widely used as power switches for various electronic devices such as home appliances, PC (Personal Computer) peripherals, office equipment, and business equipment. Rocker switches switch between the connected and disconnected states of an electrical circuit by alternately pressing both ends of the operating button like a seesaw. In recent years, as disclosed in Patent Document 1 described below, there have been efforts to reduce the size of rocker switches and improve the stability of the energized state.

特開2020-57469号公報JP 2020-57469 A

ロッカスイッチは、動作時において、「カチッ」と音がすることや、明確にオンとオフを見分けられるので、誤操作を少なくできるという特徴がある。一般に、ロッカスイッチは、接続側に切り替えれば接続状態が維持され、遮断側に切り替えれば遮断状態が維持される。このため、例えば、停電により給電が停止され、強制的にシャットダウンされても、停電が復旧し給電が再開されれば、ロッカスイッチによる電源の接続状態は維持されているので、自動的に再起動(再立ち上げ)が行われる。しかし、このような特徴が、不都合を生じさせてしまう場合がある。 A rocker switch has the advantage that it produces a "click" sound when in operation and has a clear distinction between on and off, reducing the chance of operating it incorrectly. Generally, a rocker switch maintains the connected state when switched to the connected side, and maintains the disconnected state when switched to the disconnected side. For this reason, for example, even if the power supply is stopped due to a power outage and the device is forcibly shut down, once the power is restored and power supply is resumed, the power supply connection state via the rocker switch will have been maintained, and the device will automatically restart (reboot). However, these characteristics can sometimes cause inconvenience.

例えば、保守などのために、ロッカスイッチを介さずに、コマンドなどを使用してコンソールなどから電子機器の電源を落とす処理(シャットダウン処理)を行ったとする。この場合、ロッカスイッチは接続状態のままなので、商用電源の供給は遮断されず、シャットダウンしても自動的に再起動してしまう。すなわち、シャットダウン状態を維持したいのに維持できないという問題が生じる。このような問題はロッカスイッチが用いられている場合だけでなく、使用者の切り替え操作に応じて、接続状態と遮断状態を維持するいわゆる位置保持型の電源スイッチを用いる場合に発生する。 For example, suppose that for maintenance or other reasons, an electronic device is powered down (shutdown process) from a console or the like using a command without going through a rocker switch. In this case, the rocker switch remains connected, so the commercial power supply is not cut off, and the device will automatically restart even after shutdown. In other words, a problem occurs in which the shutdown state cannot be maintained even though one wishes to. This type of problem occurs not only when a rocker switch is used, but also when using a so-called position-maintaining power switch that maintains the connected or cut-off state depending on the user's switching operation.

以上のことに鑑み、この発明は、位置保持型の電源スイッチを介さずに使用者が電子機器の電源をオフにした場合に、電源スイッチが接続状態にあっても、電源オフ状態を維持し、任意のタイミングで電源の再投入を行えるようにすることを目的とする。 In view of the above, the object of this invention is to maintain the power off state of an electronic device when the user turns it off without using a position-holding power switch, even if the power switch is in a connected state, and to enable the power to be turned on again at any time.

上記課題を解決するため、請求項1に記載の発明の電源制御回路は、
使用者の指示に応じて、電源のオン/オフを切り替えるスイッチであって、オンにされた時には電源の接続状態を維持し、オフにされた時には電源の遮断状態を維持する位置保持型の電源スイッチが接続され、
前記電源スイッチの状態を判別する判別手段と、
前記判別手段の判別結果が接続状態であるときには、電源供給回路が動作状態となるように制御する第1の制御手段と、
前記判別手段の判別結果が接続状態であるときに、電源をオフにすることを指示するコマンドが到来した場合には、所定のフラグをコマンドによる電源オフであることを示す状態に設定するフラグ設定手段と、
前記フラグ設定手段より前記所定のフラグをコマンドによる電源オフであることを示す状態に設定された場合に、前記電源供給回路を非動作状態となるように制御し、前記判別手段の判別結果が遮断状態に変わるまで、前記電源供給回路の非動作状態を維持するように制御する第2の制御手段と
を備えることを特徴とする。
In order to solve the above problems, a power supply control circuit according to the present invention comprises:
A position-holding type power switch is connected, which switches the power supply on/off in response to a user's instruction and maintains a power supply connection state when turned on and maintains a power supply disconnection state when turned off;
A determination means for determining a state of the power switch;
a first control means for controlling the power supply circuit to be in an operating state when the determination result of the determination means is in a connected state;
a flag setting means for setting a predetermined flag to a state indicating that the power supply is turned off by a command when a command for turning off the power supply arrives while the determination result of the determination means is a connected state;
and second control means for controlling the power supply circuit to be in a non-operating state when the predetermined flag is set by the flag setting means to a state indicating that the power has been turned off by a command, and for controlling the power supply circuit to be maintained in the non-operating state until the determination result of the determination means changes to a cut-off state.

請求項1に記載の発明の電源制御回路によれば、当該電源制御回路には、位置保持型の電源スイッチが接続されおり、判別手段によって電源スイッチの状態が判別される。判別手段による判別結果が電源の接続状態である場合には、第1の制御手段によって電源供給回路が動作状態になるように制御される。判別手段での判別結果が接続状態である場合に、電源をオフにすることを指示するコマンドが到来すると、フラグ設定手段によって、所定のフラグがコマンドによる電源オフであることを示す状態に設定される。この場合に、第2の制御手段によって、電源供給回路が非動作状態となるように制御され、判別手段による判別結果が、遮断状態に変化するまで、電源供給回路の非動作状態が維持するように制御される。 According to the power supply control circuit of the invention described in claim 1, a position-holding type power switch is connected to the power supply control circuit, and the state of the power supply switch is determined by the determination means. If the determination result by the determination means is a power connection state, the first control means controls the power supply circuit to be in an operating state. If the determination result by the determination means is a power connection state and a command to turn off the power arrives, the flag setting means sets a predetermined flag to a state indicating that the power has been turned off by command. In this case, the second control means controls the power supply circuit to be in an inoperable state, and controls the power supply circuit to remain in an inoperable state until the determination result by the determination means changes to a cut-off state.

この発明によれば、位置保持型の電源スイッチを介さずに使用者が電子機器の電源をオフにした場合に、電源スイッチが接続状態にあっても、電源オフ状態を維持することができる。また、使用者が任意のタイミングで電源の再投入を行うようにすることができる。 According to this invention, when a user turns off the power of an electronic device without using a position-retaining power switch, the power-off state can be maintained even if the power switch is in a connected state. In addition, the user can turn the power back on at any time.

実施の形態の電源制御回路が搭載された電気機器の例であるUTM装置が使用されるシステム環境について説明するためのブロック図である。1 is a block diagram for explaining a system environment in which a UTM device, which is an example of an electrical device equipped with a power supply control circuit according to an embodiment, is used. 実施の形態の電源制御回路が搭載された電気機器の例であるUTM装置の構成例を説明するためのブロック図である。1 is a block diagram for explaining a configuration example of a UTM device which is an example of an electrical device equipped with a power supply control circuit according to an embodiment. 実施の形態の電源制御回路を含む電源回路部について説明するためのブロック図である。1 is a block diagram for explaining a power supply circuit unit including a power supply control circuit according to an embodiment; 実施の形態の電源制御回路の制御内容について説明するための図である。2 is a diagram for explaining the control contents of a power supply control circuit according to an embodiment; FIG. 実施の形態の電源制御回路において行われる処理について説明するためのフローチャートである。4 is a flowchart for explaining a process performed in a power supply control circuit according to the embodiment.

以下、図を参照しながら、この発明の電源制御回路の実施の形態について説明する。以下に説明する実施の形態においては、この発明による電源制御回路の一実施の形態が、電源スイッチとしてロッカスイッチが設けられた電子機器であるUTM(Unified Threat Management)装置に搭載された場合を例にして説明する。 The following describes an embodiment of the power supply control circuit of the present invention with reference to the drawings. In the embodiment described below, an example is described in which one embodiment of the power supply control circuit of the present invention is installed in a UTM (Unified Threat Management) device, which is an electronic device provided with a rocker switch as a power switch.

[UTM装置が使用されるシステム環境]
図1は、実施の形態の電源制御回路が搭載された電気機器の例であるUTM装置が使用されるシステム環境について説明するためのブロック図である。UTM装置1は、複数の異なるセキュリティ機能を1つのハードウェアに搭載して構成した、総合脅威管理装置(セキュリティ監視装置)である。UTM装置1には、LAN(Local Area Network)4を介して複数のユーザPC(Personal Computer)2(1)、2(2)、…、2(n)が接続されていると共に、LAN5を介して、コンソールPC3が接続されて、セキュリティ監視システムが構成されている。このセキュリティ監視システムは、例えば、会社内に形成され、ユーザPC2(1)、2(2)、…、2(n)のそれぞれは、従業員によって使用される業務用のPCであり、コンソールPC3は、主にシステム管理者(保守担当者)などによって使用される保守用のPCである。
[System environment in which UTM device is used]
1 is a block diagram for explaining a system environment in which a UTM device, which is an example of an electric device equipped with a power supply control circuit according to an embodiment, is used. The UTM device 1 is a comprehensive threat management device (security monitoring device) configured by mounting a plurality of different security functions on one piece of hardware. A security monitoring system is configured by connecting a plurality of user PCs (Personal Computers) 2(1), 2(2), ..., 2(n) to the UTM device 1 via a LAN (Local Area Network) 4, and connecting a console PC 3 via a LAN 5. This security monitoring system is formed, for example, within a company, and each of the user PCs 2(1), 2(2), ..., 2(n) is a business PC used by an employee, and the console PC 3 is a maintenance PC used mainly by a system administrator (maintenance staff) or the like.

図1に示すように、UTM装置1はインターネット6に接続されている。インターネット6上には、多数のHTTP(Hypertext Transfer Protocol)サーバ装置7や多数のメールサーバ装置8が存在している。これらのHTTPサーバ装置7に格納されている種々のWebページは、不特定多数の者によって利用可能な状態になっている。また、これらのメールサーバ装置8を介して、電子メールの送信や受信が可能になっている。 As shown in FIG. 1, the UTM device 1 is connected to the Internet 6. On the Internet 6, there are numerous HTTP (Hypertext Transfer Protocol) server devices 7 and numerous mail server devices 8. Various web pages stored on these HTTP server devices 7 are available to the general public. In addition, it is possible to send and receive e-mail via these mail server devices 8.

すなわち、LAN4に接続されたユーザPC2(1)、2(2)、…、2(n)やLAN5に接続されたコンソールPC3は、UTM装置1を通じてインターネット6上のHTTPサーバ装置7にアクセスし、目的とするWebページの閲覧が可能である。なお、HTTPサーバ装置7は、Webサーバなどとも呼ばれる。また、LAN4に接続されたユーザPC2(1)、2(2)、…、2(n)やLAN5に接続されたコンソールPC3は、UTM装置1を通じてインターネット6上のメールサーバ装置8を利用し、目的とする相手先との間で、電子メールの送信、受信が可能である。なお、メールサーバ装置8は、実際には、送信サーバ装置、受信サーバ装置、DNS(Domain Name System)サーバ装置などを含んで構成されている。 That is, the user PCs 2(1), 2(2), ..., 2(n) connected to the LAN 4 and the console PC 3 connected to the LAN 5 can access the HTTP server device 7 on the Internet 6 through the UTM device 1 and view the desired web page. The HTTP server device 7 is also called a web server. The user PCs 2(1), 2(2), ..., 2(n) connected to the LAN 4 and the console PC 3 connected to the LAN 5 can use the mail server device 8 on the Internet 6 through the UTM device 1 to send and receive e-mail to and from the desired recipient. The mail server device 8 actually includes a sending server device, a receiving server device, a DNS (Domain Name System) server device, etc.

なお、コンソールPC3は、主に、UTM装置1の保守管理のために使用される。例えば、コンソールPC3を通じて、UTM装置1の動作状況を監視したり、また、UTM装置1にシャットダウンコマンドを送信して、UTM装置1をシャットダウンさせたりすることができる。UTM装置1をシャットダウンさせた後においては、ボードを入れ替えるなどの保守が可能であり、保守後において、再立ち上げを行った後には、コンソールPC3を通じて、UTM装置1のテストを実行するなどのことができる。 The console PC3 is mainly used for the maintenance and management of the UTM device 1. For example, the operating status of the UTM device 1 can be monitored through the console PC3, and a shutdown command can be sent to the UTM device 1 to shut it down. After shutting down the UTM device 1, maintenance such as replacing the board can be performed, and after rebooting after maintenance, tests can be performed on the UTM device 1 through the console PC3.

[UTM装置1の構成例]
図2は、実施の形態の電源制御回路が搭載された電気機器の例であるUTM装置の構成例を説明するためのブロック図である。UTM装置1は、インターネット6への接続端101と通信I/F(interface)102と制御部103を備える。通信I/F102は、インターネット6を通じて自機宛てに送信されてきたデータを自機において処理可能な形式のデータに変換して取り込み、制御部103に供給する処理を行う。また、通信I/F102は、制御部103からのデータを送信する形式のデータに変換し、インターネット6を通じて目的とする相手先に送信する処理を行う。インターネット6に接続されたサーバ装置等との通信は、接続端101及び通信I/F102とを通じて行うことになる。
[Example of configuration of UTM device 1]
2 is a block diagram for explaining a configuration example of a UTM device which is an example of an electric device equipped with a power supply control circuit according to an embodiment. The UTM device 1 includes a connection end 101 to the Internet 6, a communication I/F (interface) 102, and a control unit 103. The communication I/F 102 converts data sent to the device itself via the Internet 6 into data in a format that can be processed by the device itself, imports the data, and supplies the data to the control unit 103. The communication I/F 102 also converts data from the control unit 103 into data in a format for transmission, and transmits the data to a target destination via the Internet 6. Communication with a server device or the like connected to the Internet 6 is performed via the connection end 101 and the communication I/F 102.

制御部103は、図示しないが、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、不揮発性メモリがバスを介して接続されて構成されたものであり、UTM装置1の各部を制御する機能を実現する。なお、ROMには、種々のプログラムや処理に必要になるデータが記録されている。RAMは、処理の途中結果を一時記憶するなど主に作業領域として使用される。不揮発性メモリには、機能強化のための追加プログラムや使用者(ユーザ)によって設定される設定情報など、UTM装置1の電源が落とされても保持しておく必要のなるプログラムやデータが記録される。また、制御部103の各メモリとは別に、SSD(Solid State Drive)などの記憶装置が搭載される場合もある。 Although not shown, the control unit 103 is configured by connecting a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), and non-volatile memory via a bus, and realizes the function of controlling each part of the UTM device 1. The ROM stores various programs and data required for processing. The RAM is mainly used as a working area, such as temporarily storing intermediate results of processing. The non-volatile memory stores programs and data that need to be retained even when the power of the UTM device 1 is turned off, such as additional programs for enhancing functions and setting information set by the user. In addition to the memories of the control unit 103, a storage device such as an SSD (Solid State Drive) may also be installed.

電源スイッチ104と、電源制御回路105と、電源供給回路106とは、UTM装置1の各部に駆動電源を供給するための電源回路部を構成する。電源スイッチ104は、ロッカスイッチ(Rocker Switch)であり、商用電源と電源供給回路106との間に位置している。電源スイッチ104は、オン側に切り替えられた場合には、商用電源と電源供給回路106とを接続してその接続状態を維持し、オフ側に切り替えられた場合には、商用電源と電源供給回路106とを切り離してその遮断状態を維持する。また、電源スイッチ104は、例えば、接続状態の時にはオンとなり、遮断状態のときにはオフになる接続状態信号を、電源制御回路105に供給する。 The power switch 104, the power control circuit 105, and the power supply circuit 106 constitute a power circuit section for supplying drive power to each section of the UTM device 1. The power switch 104 is a rocker switch, and is located between the commercial power source and the power supply circuit 106. When the power switch 104 is switched to the on side, it connects the commercial power source and the power supply circuit 106 and maintains the connected state, and when the power switch 104 is switched to the off side, it disconnects the commercial power source and the power supply circuit 106 and maintains the disconnected state. The power switch 104 also supplies a connection state signal to the power control circuit 105 that is, for example, on when in a connected state and off when in a disconnected state.

電源制御回路105は、電源スイッチ104からの接続状態信号に基づいて、電源スイッチ104が接続状態になったか否か(接続状態か遮断状態か)を判別する。更に、電源制御回路105は、電源スイッチ104が接続状態であると判別したときには、電源供給回路106に対してイネーブル(enable)信号を供給する。なお、電源制御回路105は、電源スイッチ104が遮断状態である場合、すなわち、電源スイッチ104からオンとなる接続状態信号が供給されていない場合には、電源供給回路106に対してイネーブル信号を供給しない。 The power supply control circuit 105 determines whether the power supply switch 104 is in a connected state (whether it is in a connected state or a cut-off state) based on the connection state signal from the power supply switch 104. Furthermore, when the power supply control circuit 105 determines that the power supply switch 104 is in a connected state, it supplies an enable signal to the power supply circuit 106. Note that when the power supply switch 104 is in a cut-off state, that is, when the power supply switch 104 does not supply an on-connection state signal, the power supply control circuit 105 does not supply an enable signal to the power supply circuit 106.

この実施の形態の電源供給回路106は、電源制御回路105からイネーブル信号が供給されているときには動作状態となり、供給された商用電源から各部に供給する駆動電源を形成して、各部に供給する処理を行う。また、電源供給回路106は、電源制御回路105からイネーブル信号が供給されていないときには非動作状態となり、駆動電源の形成及び供給処理は行わない。このように、この実施の形態の電源供給回路106は、電源制御回路105によって、動作/非動作が切り替えられる。 The power supply circuit 106 in this embodiment is in an operating state when an enable signal is supplied from the power supply control circuit 105, and performs processing to form a drive power supply to be supplied to each part from the supplied commercial power supply and supply it to each part. Furthermore, when an enable signal is not supplied from the power supply control circuit 105, the power supply circuit 106 is in an inoperable state, and does not form or supply a drive power supply. In this way, the power supply circuit 106 in this embodiment is switched between operating and inoperable by the power supply control circuit 105.

また、例えば、停電などにより商用電源がUTM装置1に供給されなくなるトラブルにより、UTM装置1が停止した後に、当該トラブルが解消したとする。この場合、電源スイッチ104は接続状態のままであるので、電源供給回路106への商用電源の供給が再開される。このときに電源制御回路105は、電源供給回路106を制御し、再起動することができるようにしている。 For example, suppose that a power outage or other problem occurs that causes commercial power to be cut off from the UTM device 1, and then the UTM device 1 stops and the problem is resolved. In this case, the power switch 104 remains connected, so the supply of commercial power to the power supply circuit 106 is resumed. At this time, the power supply control circuit 105 controls the power supply circuit 106 so that it can be restarted.

更に、この実施の形態の電源回路部においては、電源制御回路105の機能により、例えば、コンソールPC3から送信されたシャットダウンコマンド(電源オフコマンド)により、電源供給回路106の動作を停止させて、シャットダウンさせることができる。この場合、電源スイッチ104が、接続状態のままであると、上述したように自動的に再起動されてしまうので、シャットダウン状態を維持できるようにし、任意のタイミングで再起動させることができるようにしている。当該機能の詳細については後述する。 Furthermore, in the power supply circuit section of this embodiment, the function of the power supply control circuit 105 can stop the operation of the power supply circuit 106 and shut down the system, for example, by a shutdown command (power off command) sent from the console PC3. In this case, if the power switch 104 remains connected, the system will automatically restart as described above, so the system is designed to maintain the shutdown state and can be restarted at any time. Details of this function will be described later.

なお、この実施の形態において、電源制御回路105は、CPLD(Complex Programmable Logic Device)の構成とされたものである。CPLDは、製造後にユーザ(使用者)の手元で内部論理回路を定義・変更できる集積回路である、プログラマブル・ロジック・デバイスの一種である。CPLDは、PAL(Programmable Array Logic)とFPGA(Field Programmable Gate Array)の中間の集積度を持ち、これら両方のアーキテクチャの特徴を持っている。また、電源供給回路106は、IC(integrated circuit)の構成とされたものである。 In this embodiment, the power supply control circuit 105 is configured as a CPLD (Complex Programmable Logic Device). A CPLD is a type of programmable logic device, which is an integrated circuit whose internal logic circuit can be defined and modified by the user after manufacture. A CPLD has an intermediate integration level between a PAL (Programmable Array Logic) and an FPGA (Field Programmable Gate Array), and has the architectural features of both. The power supply circuit 106 is configured as an IC (integrated circuit).

また、図2に示すように、制御部103には、LANポート111及びLAN接続端112と、LANポート113及びLAN接続端114とが接続されている。LAN接続端112には、図1に示したユーザPC2(1)、2(2)、…、2(n)が接続されてLAN4を構成し、LAN接続端114には、図1に示したコンソールPC3が接続されてLAN5を構成している。したがって、UTM装置1は、ユーザPC2(1)、2(2)、…、2(n)のそれぞれとは、LANポート111及びLAN接続端112を通じて通信を行う。また、UTM装置1は、コンソールPC3とは、LANポート113及びLAN接続端114を通じて通信を行う。 As shown in FIG. 2, the control unit 103 is connected to a LAN port 111 and a LAN connection end 112, and to a LAN port 113 and a LAN connection end 114. The user PCs 2(1), 2(2), ..., 2(n) shown in FIG. 1 are connected to the LAN connection end 112 to form LAN 4, and the console PC 3 shown in FIG. 1 is connected to the LAN connection end 114 to form LAN 5. Therefore, the UTM device 1 communicates with each of the user PCs 2(1), 2(2), ..., 2(n) through the LAN port 111 and the LAN connection end 112. The UTM device 1 also communicates with the console PC 3 through the LAN port 113 and the LAN connection end 114.

また、UTM装置1は、セキュリティ監視装置としての機能を実現する部分として、P2P対策部121と、HPアクセス制限部122と、ウィルス対策部123と、メール対策部124と、IPS/IDS部125と、ファイアウォール部126とを備える。P2P対策部121は、セキュリティ対策を行っていない相手や悪意のある相手とのP2P接続を禁止する機能を実現する。なお、「P2P」とは、「Peer to Peer」を意味し、インターネットを介して対等なもの同士が直接に通信を行うことを意味する。P2P対策部121の機能により、例えば画像などのファイル交換を問題のある相手との間において1対1で行うことを防止し、相手からのウィルス感染を防止するなどの機能を実現する。 The UTM device 1 also includes a P2P countermeasure unit 121, a HP access restriction unit 122, a virus countermeasure unit 123, a mail countermeasure unit 124, an IPS/IDS unit 125, and a firewall unit 126 as parts that realize the function of a security monitoring device. The P2P countermeasure unit 121 realizes the function of prohibiting P2P connections with parties that do not implement security measures or with malicious parties. Note that "P2P" stands for "Peer to Peer," and refers to direct communication between equal parties via the Internet. The function of the P2P countermeasure unit 121 realizes functions such as preventing one-to-one file exchanges, such as images, with problematic parties, and preventing virus infection from the other party.

HP(Home Page)アクセス制限部122は、例えば、予め指定したホームページカテゴリを選択しておくことにより、当該カテゴリに該当するホームページへのアクセスを禁止する機能を実現する。例えば、ギャンブルサイト、アダルトサイト、麻薬関連サイト等の不適切サイトへのURLフィルタリングが可能となる。ウィルス対策部123は、Webページのレスポンスの検証(ウィルスチェック)を行う。より具体的にウィルス対策部123は、Webページを閲覧するときの通信を監視し、閲覧しようとしている画像やダウンロードするファイルにウィルスが混入していないかを検証(チェック)する機能を実現する。 The HP (Home Page) access restriction unit 122, for example, realizes a function of prohibiting access to homepages that fall into a pre-specified homepage category by selecting that category. For example, it is possible to filter URLs to inappropriate sites such as gambling sites, adult sites, and drug-related sites. The virus protection unit 123 verifies the response of the web page (virus checks). More specifically, the virus protection unit 123 realizes a function of monitoring communications when browsing a web page and verifying (checking) whether images to be viewed or files to be downloaded contain viruses.

メール対策部124は、受信した電子メールに関し、不要な広告やウィルスが添付された電子メールをブロックする機能を実現する。IPS/IDS部125は、不適切な侵入を防止したり、不適切な侵入を通知したりする機能を実現する。ここで、IPSは、侵入防止システム(Intrusion Prevention System)の略称であり、IDSは、侵入検知システム(Intrusion Detection System)の略称である。IPS/IDS部125は、ワームやトロイの木馬といったいわゆるマルウェアによる攻撃に対して防御を行うことができる。 The mail countermeasure unit 124 realizes the function of blocking received e-mails that have unwanted advertisements or viruses attached. The IPS/IDS unit 125 realizes the function of preventing inappropriate intrusions and notifying of inappropriate intrusions. Here, IPS is an abbreviation for Intrusion Prevention System, and IDS is an abbreviation for Intrusion Detection System. The IPS/IDS unit 125 can defend against attacks by so-called malware such as worms and Trojan horses.

ファイアウォール部126は、データ通信の状況や利用するソフトウェアなどにより、社内ネットワークにデータを供給するか否かを判断し、外部のネットワークからの攻撃や不正なアクセスから自システムを防御する機能を実現する。このように、UTM装置1は、複数の異なるセキュリティ機能を1つのハードウェアに搭載していることにより、通信環境に生じる脅威に対して総合的に対処することができる。 The firewall unit 126 determines whether or not to supply data to the in-house network based on the data communication status and the software being used, and provides the function of protecting the system from attacks and unauthorized access from external networks. In this way, the UTM device 1 is equipped with multiple different security functions in a single piece of hardware, allowing it to comprehensively deal with threats that arise in the communication environment.

[電源回路部の機能]
図3は、実施の形態の電源制御回路105を含む電源回路部の機能を説明するためのブロック図である。この実施の形態の電源回路部は、上述もしたように、コンソールPC3からのシャットダウンコマンドによって、電源供給回路106の動作を停止させ、シャットダウンさせることを可能にする。この場合、当該電源回路部においては、電源スイッチ104が接続状態のままであってもシャットダウン状態を維持し、任意のタイミングで再起動させることができるようにしている。当該電源回路部の機能について具体的に説明する。
[Power supply circuit function]
3 is a block diagram for explaining the function of the power supply circuit section including the power supply control circuit 105 according to the embodiment. As described above, the power supply circuit section according to this embodiment makes it possible to stop the operation of the power supply circuit 106 and shut down the power supply circuit 106 by a shutdown command from the console PC 3. In this case, the power supply circuit section maintains the shutdown state even if the power switch 104 remains connected, and can be restarted at any timing. The function of the power supply circuit section will be specifically described.

電源スイッチ104は、ロッカスイッチであり、シーソー型のスイッチ操作部1041と、固定接点a、bと可動接点cとを備えた接点部1042とから構成される。この例の場合、固定接点aが、電源供給回6に接続された接続接点であり、固定接点bが、電源供給回路106に接続されていない遮断接点である。使用者が、スイッチ操作部1041を操作して、オフ状態からオン状態に切り替えると、接点部1042の可動接点cが固定接点(接続接点)aに接続されて、当該接続状態が維持される。 The power switch 104 is a rocker switch, and is composed of a seesaw-shaped switch operation unit 1041 and a contact unit 1042 with fixed contacts a, b and a movable contact c. In this example, the fixed contact a is a connection contact connected to the power supply circuit 6, and the fixed contact b is a cutoff contact that is not connected to the power supply circuit 106. When the user operates the switch operation unit 1041 to switch from the off state to the on state, the movable contact c of the contact unit 1042 is connected to the fixed contact (connection contact) a, and the connected state is maintained.

この場合、電源スイッチ104から電源制御回路105に対してオン(ハイレベル)となる接続状態信号が供給され、電源制御回路105の動作制御部1051において、電源スイッチ104が接続状態に切り替えられたことが判別可能にされる。電源制御回路105の動作制御部1051は、電源スイッチ104が接続状態になったと判別すると、電源供給回路106に対して、イネーブル信号を供給して、電源供給回路106を動作状態にする。 In this case, the power switch 104 supplies a connection state signal to the power control circuit 105 to turn it on (high level), and the operation control unit 1051 of the power control circuit 105 is able to determine that the power switch 104 has been switched to the connection state. When the operation control unit 1051 of the power control circuit 105 determines that the power switch 104 has been switched to the connection state, it supplies an enable signal to the power supply circuit 106, putting the power supply circuit 106 into an operation state.

また、使用者が、スイッチ操作部1041を操作して、オン状態からオフ状態に切り替えると、接点部1042の可動接点cが固定接点(遮断接点)bに接続されて、当該遮断状態が維持される。この場合、電源スイッチ104から電源制御回路105に対しては、オンになる接続状態信号は供給されなくなるので、電源制御回路105の動作制御部1051において、電源スイッチ104が遮断状態に切り替えられたことが判別可能にされる。電源制御回路105の動作制御部1051は、電源スイッチ104が遮断状態になると、電源供給回路106に対して、イネーブル信号の供給を停止する。これにより、電源供給回路106は非動作状態になる。 When the user operates the switch operation unit 1041 to switch from an on state to an off state, the movable contact c of the contact unit 1042 is connected to the fixed contact (shut-off contact) b, and the shut-off state is maintained. In this case, the power switch 104 no longer supplies an on-connection state signal to the power control circuit 105, so that the operation control unit 1051 of the power control circuit 105 can determine that the power switch 104 has been switched to the shut-off state. When the power switch 104 is shut off, the operation control unit 1051 of the power control circuit 105 stops supplying an enable signal to the power supply circuit 106. This causes the power supply circuit 106 to enter a non-operating state.

このように、電源スイッチ104が遮断状態から接続状態に切り替えられたときには、商用電源が電源供給回路106に供給され、電源制御回路105からイネーブル信号により電源供給回路106が動作状態にされる。これにより、電源供給回路106において各部に供給する駆動電源が形成され、各部に供給されることにより、UTM装置1が動作状態となる。逆に、電源スイッチ104が接続状態から遮断状態にされたときには、商用電源は電源供給回路106に供給されず、また、電源制御回路105からイネーブル信号が電源供給回路106に供給されなくなるので、電源供給回路106は動作を停止する。これにより、電源供給回路106からUTM装置1の各部に駆動電源が供給されなくなるので、UTM装置1は停止状態となる。 In this way, when the power switch 104 is switched from the disconnected state to the connected state, commercial power is supplied to the power supply circuit 106, and the power supply circuit 106 is put into an operating state by an enable signal from the power control circuit 105. As a result, a drive power supply is formed in the power supply circuit 106 to be supplied to each part, and the UTM device 1 is put into an operating state by being supplied to each part. Conversely, when the power switch 104 is switched from the connected state to the disconnected state, commercial power is not supplied to the power supply circuit 106, and the enable signal is no longer supplied to the power supply circuit 106 from the power control circuit 105, so that the power supply circuit 106 stops operating. As a result, drive power is no longer supplied from the power supply circuit 106 to each part of the UTM device 1, and the UTM device 1 is put into a stopped state.

更に、電源スイッチ104が接続状態にされて、電源供給回路106からUTM装置1の各部に駆動電源が供給され、UTM装置1が動作状態にあるとする。このときに、UTM装置1に、コンソールPC3からシャットダウンコマンド(電源オフコマンド)が到来したとする。当該シャットダウンコマンドは、LAN接続端114及びLANポート113を通じて受信されて制御部103に供給され、これに応じて制御部103が、電源制御回路105に対してシャットダウンすることを指示する。 Furthermore, assume that the power switch 104 is connected, driving power is supplied from the power supply circuit 106 to each section of the UTM device 1, and the UTM device 1 is in an operating state. At this time, assume that a shutdown command (power off command) arrives from the console PC 3 to the UTM device 1. The shutdown command is received via the LAN connection end 114 and the LAN port 113 and supplied to the control unit 103, and in response, the control unit 103 instructs the power control circuit 105 to perform a shutdown.

このように、シャットダウンが指示された電源制御回路105の動作制御部1051は、電源制御回路105のフラグ設定解除部1052を制御して、維持フラグを1(オン)にする。この実施の形態において、維持フラグが1(オン)である場合は、コマンドによるシャットダウン(電源オフ)であることを示すものとなる。すなわち、維持フラグが1(オン)の場合、電源スイッチ104をオフにして遮断状態にしたり、あるいは、停電などにより強制的に遮断状態になったりしたのではなく、コマンドの到来によってシャットダウン(電源オフ)されたことが示される。 In this way, the operation control unit 1051 of the power supply control circuit 105 that has been instructed to shut down controls the flag setting/removal unit 1052 of the power supply control circuit 105 to set the maintain flag to 1 (on). In this embodiment, when the maintain flag is 1 (on), this indicates that the shutdown (power off) is due to a command. In other words, when the maintain flag is 1 (on), this indicates that the shutdown (power off) was due to the arrival of a command, rather than the power switch 104 being turned off to put the device in a cut-off state, or the device being forcibly turned into a cut-off state due to a power outage or the like.

この場合、動作制御部1051は、電源スイッチ104からオンとなる接続状態信号が供給されており、電源スイッチ104が接続状態であることが判別できても、維持フラグが1(オン)であるので、電源供給回路106にイネーブル信号を供給しない。従って、電源スイッチ104が接続状態で、商用電源が電源供給回路106に供給されている状態であっても、維持フラグが1(オン)である場合には、電源供給回路106は動作状態とはならず、シャットダウン状態が維持される。 In this case, even if the operation control unit 1051 receives an on-connection state signal from the power switch 104 and can determine that the power switch 104 is in a connected state, the maintain flag is 1 (on), so the operation control unit 1051 does not supply an enable signal to the power supply circuit 106. Therefore, even if the power switch 104 is in a connected state and commercial power is being supplied to the power supply circuit 106, if the maintain flag is 1 (on), the power supply circuit 106 does not enter an operating state and the shutdown state is maintained.

このようにして、電源スイッチ104が接続状態にあり、UTM装置1が動作状態にあるときに、コンソールPC3からのコマンドの到来によりUTM装置1をシャットダウンした場合に、UTM装置1を再立ち上げしたいとする。この場合には、接続状態になっている電源スイッチ104をオフにするように操作して、電源スイッチ104を、遮断状態を維持する状態に切り替える。更に、電源スイッチ104が、接続状態から遮断状態に切り替えられ、維持フラグが1(オン)であれば、動作制御部1051は、フラグ設定解除部1052を制御して、維持フラグを0(オフ)にする。 In this way, suppose that when the power switch 104 is in a connected state and the UTM device 1 is in an operating state, and the UTM device 1 is shut down due to the arrival of a command from the console PC 3, it is desired to restart the UTM device 1. In this case, the power switch 104, which is in a connected state, is operated to be turned off, and the power switch 104 is switched to a state that maintains the cut-off state. Furthermore, if the power switch 104 is switched from the connected state to the cut-off state and the maintain flag is 1 (on), the operation control unit 1051 controls the flag setting release unit 1052 to set the maintain flag to 0 (off).

これにより、電源回路部は、電源スイッチ104をオフにして遮断状態にして、シャットダウンした状態となる。従って、電源スイッチ104をオンに切り替えることにより、電源スイッチ104を接続状態することによって、UTM装置1に対して電源の再投入を行って立ち上げ直すことが可能になる。 As a result, the power supply circuit unit is shut down by turning off the power switch 104. Therefore, by switching the power switch 104 on and connecting the power switch 104, it is possible to power the UTM device 1 back on and restart it.

図4は、実施の形態の電源制御回路105の動作制御部1051の制御内容について説明するための図である。図4の1行目に示したように、動作制御部1051が、電源スイッチ104は接続状態であり、維持フラグは0(オフ)であると判別したとする。この場合、動作制御部1051は、電源供給回路106にイネーブル信号を供給して、通常の電源立ち上げ処理を行う。また、図4の2行目に示したように、動作制御部1051が、電源スイッチ104はが接続状態であり、維持フラグが1(オン)であると判別したとする。この場合、上述したように、コマンドの到来によりUTM装置1をシャットダウンした状態であるので、動作制御部1051は、電源供給回路106へのイネーブル信号の供給を停止し、シャットダウン状態を維持する。 Figure 4 is a diagram for explaining the control contents of the operation control unit 1051 of the power control circuit 105 of the embodiment. As shown in the first line of Figure 4, it is assumed that the operation control unit 1051 determines that the power switch 104 is in a connected state and the maintain flag is 0 (off). In this case, the operation control unit 1051 supplies an enable signal to the power supply circuit 106 and performs normal power-up processing. Also, as shown in the second line of Figure 4, it is assumed that the operation control unit 1051 determines that the power switch 104 is in a connected state and the maintain flag is 1 (on). In this case, as described above, since the UTM device 1 is in a shut-down state due to the arrival of a command, the operation control unit 1051 stops supplying the enable signal to the power supply circuit 106 and maintains the shut-down state.

また、図4の3行目に示したように、電源スイッチ104が遮断状態であり、維持フラグが0(オフ)である場合には、電源スイッチ104をオフにすることによってシャットダウンした情報である。この状態において、動作制御部1051は何も処理することなく、シャットダウン状態を維持することになる。なお、図4の4行目に示したように、電源スイッチ104が遮断状態で、維持フラグが1オンになる状態は発生しない。電源スイッチ104が遮断状態になれば、維持フラグは必ず0(オフ)にされるためある。 Also, as shown in the third line of FIG. 4, when the power switch 104 is in a cut-off state and the maintain flag is 0 (off), this is information that the power switch 104 has been turned off to cause a shutdown. In this state, the operation control unit 1051 maintains the shutdown state without performing any processing. Note that, as shown in the fourth line of FIG. 4, a state in which the maintain flag is 1 on when the power switch 104 is in a cut-off state does not occur. This is because the maintain flag is always set to 0 (off) when the power switch 104 is in a cut-off state.

従って、図4に示した内容から分かるように、コンソールPC3などからのコマンドによってシャットダウンした場合に、電源スイッチ104が接続状態であっても、維持フラグを設けたことにより、シャットダウン状態を維持できる。なお、上述したように、電源スイッチ104を遮断状態にすれば、維持フラグも0(オフ)にされるので、電源スイッチ104を通じて任意のタイミングで電源の再投入を行い、UTM装置1を動作状態に戻すことができる。 As can be seen from the contents shown in FIG. 4, when the device is shut down by a command from the console PC 3 or the like, the maintenance flag allows the device to maintain the shutdown state even if the power switch 104 is in the connected state. As described above, if the power switch 104 is turned off, the maintenance flag is also set to 0 (off), so the power can be turned back on at any time via the power switch 104, and the UTM device 1 can be returned to an operating state.

[電源制御回路の処理のまとめ]
図5は、実施の形態の電源制御回路105において行われる処理について説明するためのフローチャートである。まず、UTM装置1において、電源スイッチ104が遮断状態で、維持フラグが0(オフ)となっている通常の初期状態にあるとする(ステップS101)。電源制御回路105の動作制御部1051は、電源スイッチ104がオンになるように操作されることにより、接続状態に切り替えられるのを待つ(ステップS102)。ステップS102の判別処理において、動作制御部1051が、電源スイッチ104からの接続状態信号に基づいて、電源スイッチ104がオンになった(接続状態になった)と判別したとする。
[Summary of power supply control circuit processing]
5 is a flow chart for explaining the processing performed by the power supply control circuit 105 according to the embodiment. First, in the UTM device 1, it is assumed that the power supply switch 104 is in a cut-off state and the maintenance flag is 0 (off) (step S101), which is a normal initial state. The operation control unit 1051 of the power supply control circuit 105 waits for the power supply switch 104 to be operated to be on, thereby switching to a connected state (step S102). In the determination process of step S102, it is assumed that the operation control unit 1051 determines that the power supply switch 104 is on (in a connected state) based on a connection state signal from the power supply switch 104.

この場合、動作制御部1051は、イネーブル信号を電源供給回路106に供給して電源供給回路を起動する(ステップS103)。電源スイッチ104が接続状態にされることによって商用電源は電源供給回路106に供給されているので、電源供給回路106は各部への駆動電力を形成して各部に供給することにより、UTM装置1を動作状態にする(ステップS104)。 In this case, the operation control unit 1051 supplies an enable signal to the power supply circuit 106 to start the power supply circuit (step S103). Since commercial power is supplied to the power supply circuit 106 by turning the power switch 104 to the connected state, the power supply circuit 106 generates drive power for each part and supplies it to each part, thereby putting the UTM device 1 into an operating state (step S104).

次に、電源制御回路105の動作制御部1051は、UTM装置1をシャットダウンさせる事象が発生したか否かを判別するようにし(ステップS105)、シャットダウンさせる事象が発生するまで、UTM装置1の動作状態を維持する。シャットダウンさせる事象は、電源スイッチ104をオフにする操作が行われた場合、コンソールPC3などからのシャットダウンコマンドが到来した場合、また、停電などによる商用電源が供給されなくなった場合が考えられる。 Next, the operation control unit 1051 of the power supply control circuit 105 determines whether an event that will shut down the UTM device 1 has occurred (step S105), and maintains the operating state of the UTM device 1 until the event that will shut down occurs. Possible events that will shut down the device include when the power switch 104 is turned off, when a shutdown command is received from the console PC 3 or the like, or when commercial power is no longer supplied due to a power outage or the like.

ステップS105の判別処理において、シャットダウンする事象が発生したと判別したとする。この場合、動作制御部1051は、停電などによる商用電源の供給停止による強制シャットダウンでない場合には、シャットダウンする事象は、コンソールPC3などからのコマンド指示であるか否かを判別する(ステップS106)。ステップS106の判別処理において、コンソールPC3などからのコマンド指示であると判別したとする。この場合、動作制御部1051は、フラグ設定解除部1052を制御して、維持フラグを1(オン)にし(ステップS107)、電源供給回路106へのイネーブル信号の供給を停止して、電源供給回路106を非動作状態にする。これにより、UTM装置1の各部への駆動電源の供給が停止され、UTM装置1がシャットダウン状態になる(ステップS108)。 Let us say that in the determination process of step S105, it is determined that a shutdown event has occurred. In this case, if the shutdown is not a forced shutdown due to a stop in the supply of commercial power due to a power outage or the like, the operation control unit 1051 determines whether the shutdown event is a command instruction from the console PC3 or the like (step S106). Let us say that in the determination process of step S106, it is determined that the shutdown event is a command instruction from the console PC3 or the like. In this case, the operation control unit 1051 controls the flag setting release unit 1052 to set the maintain flag to 1 (on) (step S107), stops the supply of an enable signal to the power supply circuit 106, and puts the power supply circuit 106 in a non-operating state. As a result, the supply of drive power to each unit of the UTM device 1 is stopped, and the UTM device 1 goes into a shutdown state (step S108).

なお、ステップS106の判別処理において、コンソールPC3などからのコマンド指示ではないと判別したとする。この場合、動作制御部1051は、電源供給回路106へのイネーブル信号の供給を停止して、UTM装置1をシャットダウン状態にする(ステップS108)。また、停電などによる商用電源の供給停止による強制シャットダウンである場合には、即座にシャットダウン状態にされる(ステップS108)。従って、電源スイッチ104をオフにすることにより遮断状態を維持するようにした場合と、停電などによる商用電源の供給が停止された場合においては、維持フラグが1(オン)にされることはない。 Let us assume that in the determination process of step S106, it is determined that the command instruction is not from the console PC 3 or the like. In this case, the operation control unit 1051 stops the supply of the enable signal to the power supply circuit 106 and puts the UTM device 1 into a shutdown state (step S108). Also, if the forced shutdown is due to a stop in the supply of commercial power due to a power outage or the like, the UTM device 1 is immediately put into a shutdown state (step S108). Therefore, in cases where the power switch 104 is turned off to maintain the shut-off state, or where the supply of commercial power is stopped due to a power outage or the like, the maintain flag is not set to 1 (on).

従って、コマンド指示でシャットダウンした場合以外のときには、維持フラグは0(オフ)のままであるので(ステップS109)、太線矢印で示したように、UTM装置1は初期状態(ステップS101)に戻る。従って、電源スイッチ104をオフにすることにより遮断状態を維持するようにした場合には、電源スイッチをオンにして接続状態になるのを待つことになる。また、停電などによる商用電源の供給が停止された場合には、商用電源の供給が再開されるのを待ち、商用電源の供給が再開された場合には、電源スイッチ104は接続状態にあるので、自動的に再立ち上げされることになる。 Therefore, unless the shutdown is initiated by a command, the maintain flag remains at 0 (off) (step S109), and the UTM device 1 returns to the initial state (step S101), as indicated by the bold arrow. Therefore, if the power switch 104 is turned off to maintain the disconnected state, the power switch is turned on and awaits the connected state. Also, if the supply of commercial power is stopped due to a power outage or the like, the system waits for the supply of commercial power to be resumed, and when the supply of commercial power is resumed, the power switch 104 is in the connected state, so the system is automatically restarted.

また、コンソールPC3などからのコマンド指示でシャットダウン状態にした場合には、維持フラグは1(オン)であるので(ステップS109)、ステップS110~ステップS111の処理が行われる。この場合、動作制御部1051には、電源スイッチ104からのオン状態である接続状態信号が供給されている状態にある。この状態のときには、電源制御回路105は例えば商用電源からの駆動電源によって動作可能にされる。 When the shutdown state is entered by a command instruction from the console PC3 or the like, the maintain flag is 1 (on) (step S109), so steps S110 to S111 are processed. In this case, the operation control unit 1051 is in a state where a connection state signal indicating an on state is being supplied from the power switch 104. In this state, the power control circuit 105 is made operable by a drive power source, for example, from a commercial power source.

この場合、電源制御回路105の動作制御部1051は、維持フラグは1(オン)であるので(ステップS109)、電源スイッチ104がオフにされ遮断状態になるのを待つ(ステップS110)。この間、すなわち、電源スイッチ104がオフにされるまでの間、電源スイッチ104が接続状態にあることを示すオン状態の接続状態信号が供給されていても、動作制御部1051は、電源供給回路106にイネーブル信号を供給しない。これにより、電源供給回路106の非動作状態を維持して、UTM装置1のシャットダウン状態を維持する。 In this case, since the maintain flag is 1 (on) (step S109), the operation control unit 1051 of the power supply control circuit 105 waits for the power switch 104 to be turned off and enter a cut-off state (step S110). During this time, that is, until the power switch 104 is turned off, the operation control unit 1051 does not supply an enable signal to the power supply circuit 106, even if an on-state connection state signal indicating that the power switch 104 is in a connected state is supplied. This maintains the power supply circuit 106 in a non-operating state, and maintains the UTM device 1 in a shutdown state.

ステップS110において、電源スイッチ104がオフにされた、すなわち、電源スイッチ104からのオン状態の接続状態信号が供給されなくなったとする。この場合、動作制御部1051は、フラグ設定解除部1052を制御し、維持フラグを0(オフ)にして(ステップS111)、初期状態(ステップS101)に戻る。この場合、電源制御回路105への駆動電源の供給も停止される。これにより、シャットダウンコマンドの到来により、シャットダウンにし、その状態を維持するようにしても、電源スイッチ104が遮断状態にされることにより電源回路部は初期状態に戻される。これにより、任意のタイミングで、電源スイッチ104を用いた再起動(電源の再立ち上げ)ができる。 In step S110, it is assumed that the power switch 104 is turned off, i.e., the power switch 104 no longer supplies an on-state connection state signal. In this case, the operation control unit 1051 controls the flag setting release unit 1052 to set the maintain flag to 0 (off) (step S111), and returns to the initial state (step S101). In this case, the supply of drive power to the power supply control circuit 105 is also stopped. As a result, even if a shutdown is initiated by the arrival of a shutdown command and the state is maintained, the power supply circuit unit is returned to the initial state by the power switch 104 being turned off. This allows the power switch 104 to be used for restart (restarting the power supply) at any time.

このように、この実施の形態の電源制御回路105においては、内部論理回路において、図5に示した処理を実行することができるように、定義を行うようにすればよい。従って、図5に示す処理は、電源制御回路105において実行されるプログラムの内容となる。なお、コマンドによりシャットダウンした場合には、電源スイッチ104は接続状態にあり、商用電源は供給されているので、電源制御回路105は動作可能な状態にされている。 In this way, in the power supply control circuit 105 of this embodiment, the internal logic circuit is defined so that the process shown in FIG. 5 can be executed. Therefore, the process shown in FIG. 5 is the content of the program executed in the power supply control circuit 105. Note that when the power supply control circuit 105 is shut down by a command, the power supply switch 104 is in a connected state and commercial power is being supplied, so the power supply control circuit 105 is in an operable state.

[実施の形態の効果]
この実施の形態の電源制御回路105の場合、電源スイッチ104をオフにすることにより遮断状態を維持するようにした場合と、停電などによる商用電源の供給が停止された場合においては、図5において太線矢印が示すループを回る。従って、従来通りの電源制御ができる。しかし、ステップS106、ステップS107を追加することにより、ステップS109~ステップS111を通じてステップS101に戻るループを追加している。この追加したループにより、コンソールPC3などからのコマンド指示でシャットダウン状態にした場合には、電源スイッチ104が接続状態にあっても、電源スイッチ104が遮断状態にされるまで、シャットダウン状態を維持できる。また、電源スイッチ104を遮断状態に切り替えることによって、電源スイッチ104を用いた再起動を行うことができる。
[Effects of the embodiment]
In the case of the power supply control circuit 105 of this embodiment, when the power switch 104 is turned off to maintain the cut-off state, and when the supply of commercial power is stopped due to a power outage or the like, the loop indicated by the thick arrow in FIG. 5 is followed. Thus, power supply control can be performed as in the past. However, by adding steps S106 and S107, a loop is added that returns to step S101 via steps S109 to S111. With this added loop, when the shutdown state is entered by a command instruction from the console PC 3 or the like, the shutdown state can be maintained until the power switch 104 is switched to the cut-off state, even if the power switch 104 is in the connected state. Also, by switching the power switch 104 to the cut-off state, restarting can be performed using the power switch 104.

[変形例]
なお、上述した実施の形態では、電源スイッチ104はロッカスイッチであるものとして説明したが、これに限るものではない。例えば、押し釦スイッチであっても、1回の押下操作で、接続状態と遮断状態とを切り替えて、その状態を維持できるものであれば、電源スイッチとして利用可能である。すなわち、位置保持型スイッチやオルターネートスイッチなどと呼ばれるスイッチであれば、電源スイッチとして用いることができる。
[Modification]
In the above embodiment, the power switch 104 is described as a rocker switch, but this is not limited to this. For example, even a push button switch can be used as a power switch as long as it can switch between a connected state and a disconnected state with a single press and maintain that state. In other words, any switch known as a position-holding switch or an alternate switch can be used as a power switch.

また、上述した実施の形態では、電源制御回路と電源供給回路とは別々のものであるものとして説明したが、電源制御回路と電源供給回路とを一体に構成することもできる。 In addition, in the above embodiment, the power supply control circuit and the power supply circuit are described as separate circuits, but the power supply control circuit and the power supply circuit can also be configured as an integrated circuit.

また、電源制御回路105は、CPLD(Complex Programmable Logic Device)の構成とされたものとして説明したが、これに限るものではない。回路規模が許せば、PAL(Programmable Array Logic)の構成としたり、回路規模が大きくなる場合にはFPGA(Field Programmable Gate Array)の構成としたりすることが可能である。また、電源制御回路105を、いわゆるマイクロコントローラなどと呼ばれる集積回路の構成としてもよい。すなわち、電源制御回路105は、製造後においてユーザ(この場合はUTM装置1の製造者)の手元で内部論理回路を定義・変更できることにより、図5に示した処理の実行が可能な種々のプログラマブル・ロジック・デバイス(集積回路)として構成できる。 Although the power supply control circuit 105 has been described as being configured as a CPLD (Complex Programmable Logic Device), this is not limited to this. If the circuit size allows, it can be configured as a PAL (Programmable Array Logic), or if the circuit size is large, it can be configured as an FPGA (Field Programmable Gate Array). The power supply control circuit 105 may also be configured as an integrated circuit such as a microcontroller. In other words, the power supply control circuit 105 can be configured as various programmable logic devices (integrated circuits) capable of executing the processing shown in FIG. 5 by allowing the user (in this case, the manufacturer of the UTM device 1) to define and change the internal logic circuit after manufacture.

また、上述した実施の形態では、通常の状態では維持フラグは0(オフ)で、コマンドによるシャットダウンが発生したら維持フラグを1(オン)にし、この後、電源スイッチ104を遮断状態にしたら維持フラグを0(オフ)にした。しかし、これに限るものではない。通常の状態では維持フラグは1(オフ)で、コマンドによるシャットダウンが発生したら維持フラグを0(オフ)にし、この後、電源スイッチ104を遮断状態にしたら維持フラグを1(オン)にするように制御するようにしてもよい。この場合、維持フラグがオフ(0)の状態の時には、電源供給回路106の非動作状態を維持するように制御することになる。 In the above-described embodiment, the maintain flag is 0 (off) in the normal state, and is set to 1 (on) when a shutdown is issued by command, and then when the power switch 104 is switched to the cut-off state, the maintain flag is set to 0 (off). However, this is not limited to the above. The maintain flag may be 1 (off) in the normal state, and is set to 0 (off) when a shutdown is issued by command, and then when the power switch 104 is switched to the cut-off state, the maintain flag may be set to 1 (on). In this case, when the maintain flag is off (0), the power supply circuit 106 is controlled to maintain its non-operating state.

また、上述の実施の形態では、電源制御回路105の動作制御部1051からのイネーブル信号が電源供給回路106に供給されているか否かに応じて、電源供給回路106の動作状態/非動作状態を切り替えるようにした。しかし、これに限るものではない。動作制御部1051からのイネーブル信号により電源供給回路106を動作状態にし、動作制御部1051からのディセーブル(disable)信号により電源供給回路106を非動作状態にするように制御することも可能である。 In addition, in the above embodiment, the power supply circuit 106 is switched between an operating state and a non-operating state depending on whether an enable signal from the operation control unit 1051 of the power supply control circuit 105 is supplied to the power supply circuit 106. However, this is not limited to this. It is also possible to control the power supply circuit 106 to be in an operating state by an enable signal from the operation control unit 1051, and to be in a non-operating state by a disable signal from the operation control unit 1051.

また、上述した実施の形態では、コンソールPC3からのシャットダウンコマンドの到来によりシャットダウンする場合を例にして説明したが、コマンドによるシャットダウンは、これに限るものではない。例えば、タイマー設定により決まった時刻にシャットダウンする場合やユーザPC2(1)~2(n)のいずれからも所定時間以上(例えば1時間以上)アクセスがない場合に、制御部103が電源制御回路105にシャットダウンを指示する場合も含まれる。 In the above embodiment, the example was explained in which the system is shut down due to a shutdown command coming from the console PC 3, but the shutdown due to a command is not limited to this. For example, the system may be shut down at a time determined by a timer setting, or when there is no access from any of the user PCs 2(1)-2(n) for a predetermined time or more (for example, one hour or more) and the control unit 103 instructs the power supply control circuit 105 to shut down.

すなわち、コマンドによるシャットダウンは、コンソールPC3からのシャットダウンコマンドの到来といった外的要因による場合と、所定の条件を満足したことを検知した制御部103の制御に基づく内的要因の場合とがある。このため、図2には図示しなかったが、内的要因の発生を検知するために、UTM装置1は、タイマー機能を備えた時計回路が設けられている。 That is, a shutdown by command can be due to an external factor, such as the arrival of a shutdown command from the console PC3, or due to an internal factor based on the control of the control unit 103 that detects that a certain condition has been satisfied. For this reason, although not shown in FIG. 2, the UTM device 1 is provided with a clock circuit with a timer function to detect the occurrence of an internal factor.

また、上述した実施の形態では、この発明による電源制御回路をUTM装置1に適用した場合を例にして説明したが、これに限るものではない。この発明による電源制御回路は、家電製品、PC周辺機器、事務機器、業務用機器などに適用可能である。特に、主装置などと呼ばれる小型の電話交換機、SIP(Session Initiation Protocol)サーバなどの種々のサーバ装置に対して適用して好適である。 In addition, in the above-mentioned embodiment, the power supply control circuit according to the present invention is applied to the UTM device 1 as an example, but the present invention is not limited to this. The power supply control circuit according to the present invention can be applied to home appliances, PC peripherals, office equipment, business equipment, and the like. In particular, it is suitable for application to various server devices such as small telephone exchanges called main devices, and SIP (Session Initiation Protocol) servers.

[その他]
上述した実施の形態の説明からも分かるように、請求項の判別手段、第1の制御手段、第2の制御手段の機能は、実施の形態の電源制御回路105の動作制御部1051が実現している。また、請求項のフラグ設定手段、フラグ解除手段の機能は、実施の形態の電源制御回路105のフラグ設定解除部1052が実現している。
[others]
As can be seen from the above description of the embodiment, the functions of the discrimination means, first control means, and second control means in the claims are realized by the operation control unit 1051 of the power supply control circuit 105 of the embodiment. Also, the functions of the flag setting means and flag resetting means in the claims are realized by the flag setting/resetting unit 1052 of the power supply control circuit 105 of the embodiment.

1…UTM装置、101…接続端、102…通信I/F、103…制御部、104…電源スイッチ、1041…スイッチ操作部、1042…接点部、a、b…固定接点、c…可動接点、105…電源制御回路、1051…動作制御部、1052…フラグ設定解除部、106…電源供給回路、111、113…LANポート、112、114…LAN接続端、121…P2P対策部、122…HPアクセス制限部、123…ウィルス対策部、124…メール対策部、125…IPS/IDS部、126…ファイアウォール部、2(1)、2(2)~2(n)…ユーザPC、3…コンソールPC、4…LAN、5…LAN、6…インターネット、7…HTTPサーバ装置、8…メールサーバ装置 1...UTM device, 101...connection end, 102...communication I/F, 103...control unit, 104...power switch, 1041...switch operation unit, 1042...contact unit, a, b...fixed contact, c...movable contact, 105...power control circuit, 1051...operation control unit, 1052...flag setting/removal unit, 106...power supply circuit, 111, 113...LAN port, 112, 114...LAN connection end, 121...P2P countermeasure unit, 122...HP access restriction unit, 123...virus countermeasure unit, 124...email countermeasure unit, 125...IPS/IDS unit, 126...firewall unit, 2(1), 2(2)-2(n)...user PC, 3...console PC, 4...LAN, 5...LAN, 6...Internet, 7...HTTP server device, 8...email server device

Claims (2)

使用者の指示に応じて、電源のオン/オフを切り替えるスイッチであって、オンにされた時には電源の接続状態を維持し、オフにされた時には電源の遮断状態を維持する位置保持型の電源スイッチが接続され、
前記電源スイッチの状態を判別する判別手段と、
前記判別手段の判別結果が接続状態であるときには、電源供給回路が動作状態となるように制御する第1の制御手段と、
前記判別手段の判別結果が接続状態であるときに、電源をオフにすることを指示するコマンドが到来した場合には、所定のフラグをコマンドによる電源オフであることを示す状態に設定するフラグ設定手段と、
前記フラグ設定手段より前記所定のフラグをコマンドによる電源オフであることを示す状態に設定された場合に、前記電源供給回路を非動作状態となるように制御し、前記判別手段の判別結果が遮断状態に変わるまで、前記電源供給回路の非動作状態を維持するように制御する第2の制御手段と
を備えることを特徴とする電源制御回路。
A position-holding power switch is connected, which switches the power on/off in response to a user's command and maintains a power connection state when turned on and maintains a power disconnection state when turned off;
A determination means for determining a state of the power switch;
a first control means for controlling the power supply circuit to be in an operating state when the determination result of the determination means is in a connected state;
a flag setting means for setting a predetermined flag to a state indicating that the power supply is turned off by a command when a command for turning off the power supply arrives while the determination result of the determination means is a connected state;
and second control means for controlling the power supply circuit to be in a non-operating state when the predetermined flag is set by the flag setting means to a state indicating that the power is turned off by a command, and for controlling the power supply circuit to be maintained in the non-operating state until a determination result of the determination means changes to a cut-off state.
請求項1に記載の電源制御回路であって、
前記判別手段の判別結果が接続状態であることを示すと共に、前記所定のフラグがコマンドによる電源オフであることを示す状態に設定されている場合に、前記判別手段の判別結果が遮断状態に変わった場合に、前記所定のフラグの状態を解除するフラグ解除手段を備える
ことを特徴とする電源制御回路。
2. The power supply control circuit according to claim 1,
a flag resetting means for resetting the state of the predetermined flag when the determination result of the determining means indicates a connected state and the predetermined flag is set to a state indicating that the power is turned off by a command, when the determination result of the determining means changes to a cut-off state.
JP2021105325A 2021-06-25 2021-06-25 Power supply control circuit Active JP7623633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021105325A JP7623633B2 (en) 2021-06-25 2021-06-25 Power supply control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021105325A JP7623633B2 (en) 2021-06-25 2021-06-25 Power supply control circuit

Publications (2)

Publication Number Publication Date
JP2023003934A JP2023003934A (en) 2023-01-17
JP7623633B2 true JP7623633B2 (en) 2025-01-29

Family

ID=85101147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021105325A Active JP7623633B2 (en) 2021-06-25 2021-06-25 Power supply control circuit

Country Status (1)

Country Link
JP (1) JP7623633B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011114360A (en) 2009-11-24 2011-06-09 Kyocera Corp Portable electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011114360A (en) 2009-11-24 2011-06-09 Kyocera Corp Portable electronic device

Also Published As

Publication number Publication date
JP2023003934A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
US10839075B2 (en) System and method for providing network security to mobile devices
US8154987B2 (en) Self-isolating and self-healing networked devices
JP4072150B2 (en) Host-based network intrusion detection system
CN101069144B (en) Computer and method for on-demand network access control
US7457965B2 (en) Unauthorized access blocking apparatus, method, program and system
US20120079563A1 (en) Method and apparatus for minimizing network vulnerability via usb devices
TWI474213B (en) Cloud system for threat protection and protection method using for the same
WO2010003317A1 (en) Device, method and system for preventing web page from being tampered
CN101675423A (en) System and method for providing data and device security between external device and host device
JP2010061660A (en) Protection method and protection system against attack for rejection of distribution service
JP7623633B2 (en) Power supply control circuit
KR20090093187A (en) interception system of Pornographic and virus using of hash value.
JP6941779B2 (en) Controls, home appliances, and programs
JP7633599B2 (en) Power supply control circuit
US8429219B2 (en) Data alteration prevention system
EP1720315B1 (en) Network management and administration by monitoring network traffic and vulnerability scanning
JP2019109828A (en) Communication device protection program
JP3740038B2 (en) Public content provision system
CN101221615B (en) Method for monitoring objective software and intelligent cryptographic key device
CN120915599B (en) A method, system, device, and program product for enhancing network device security services.
JP5310083B2 (en) Storage device
Robertson Resource fencing using STONITH
JP6948007B2 (en) Security monitoring system, security monitoring device, verification device, security monitoring program and verification program
KR20110077834A (en) Method and system for implementing security enhanced network service using directory system.
Dixit Threats and Defenses in SDN Control Plane

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240116

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20240823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241231

R150 Certificate of patent or registration of utility model

Ref document number: 7623633

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350