JP2010049311A - Information processing apparatus, pos terminal, and control method for forced termination - Google Patents
Information processing apparatus, pos terminal, and control method for forced termination Download PDFInfo
- Publication number
- JP2010049311A JP2010049311A JP2008210477A JP2008210477A JP2010049311A JP 2010049311 A JP2010049311 A JP 2010049311A JP 2008210477 A JP2008210477 A JP 2008210477A JP 2008210477 A JP2008210477 A JP 2008210477A JP 2010049311 A JP2010049311 A JP 2010049311A
- Authority
- JP
- Japan
- Prior art keywords
- power switch
- control unit
- information processing
- forced
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、電源スイッチの所定の操作に応じて、強制的に制御部を停止可能な情報処理装置に関し、詳しくは、電源スイッチ入力に対する情報処理装置の強制終了の制御方法に関する。 The present invention relates to an information processing apparatus capable of forcibly stopping a control unit in response to a predetermined operation of a power switch, and more particularly to a method for controlling forcible termination of an information processing apparatus in response to power switch input.
一般的な情報処理装置(サーバやパーソナルコンピュータ、POS(Point of sale)端末)は、商用電源から電力を取得して、制御基板(マザーボード)に電力を供給している。また、制御基板には、CPUやチップセット、電源マイコン、BIOS−ROM等が実装され、記憶部や補助記憶装置、入力装置、出力装置等が接続されている。 General information processing apparatuses (servers, personal computers, POS (Point of sale) terminals) obtain power from a commercial power source and supply power to a control board (motherboard). In addition, a CPU, a chip set, a power supply microcomputer, a BIOS-ROM, and the like are mounted on the control board, and a storage unit, an auxiliary storage device, an input device, an output device, and the like are connected.
このような情報処理装置では、使用者の情報処理装置への電源投入および電源断(ソフトオフ)の操作を直接的に受ける電源スイッチ(電源ボタン)を有するものが多い。電源スイッチを有する情報処理装置では、一般に、ACPI(Advanced Configuration and Power Interface)に準拠し、BIOS(Basic Input/Output System)や電源マイコン(Embeded Controller、Power management controller等)などの制御に基づいて、電源の制御を行なっている。 Many of such information processing apparatuses have a power switch (power button) that directly receives a user's power-on and power-off (soft-off) operations to the information processing apparatus. An information processing apparatus having a power switch is generally compliant with ACPI (Advanced Configuration and Power Interface) and based on control of a BIOS (Basic Input / Output System), a power supply microcomputer (Embeded Controller, Power management controller, etc.), The power supply is controlled.
上記のような一般的な情報処理装置では、電源スイッチは制御装置によって押下状態か否かを検出され、その状態をOS(Operating System)等の処理に使用する。また、OSの異常などで、情報処理装置が正常な処理が行えていない場合のために、強制的に停止させる手段として、電源スイッチへの所定の操作(例えば長押しなどの強制終了操作)を予め定めて記憶することによって、電源を切れた状態にできる。これは、電源スイッチの状態を、制御基板に実装されているOSよりも下位層で動作するファームウェアで検出し、論理演算回路への電源供給を強制的に停止可能としているためである。 In the general information processing apparatus as described above, whether or not the power switch is pressed is detected by the control apparatus, and the state is used for processing such as an OS (Operating System). In addition, when the information processing apparatus cannot perform normal processing due to an OS abnormality or the like, a predetermined operation (for example, a forced end operation such as a long press) on the power switch is performed as a means for forcibly stopping the information processing apparatus. By storing in advance, the power can be turned off. This is because the state of the power switch is detected by firmware operating in a lower layer than the OS mounted on the control board, and the power supply to the logic operation circuit can be forcibly stopped.
上記電源スイッチの所定な操作による強制的な電源供給を停止には、様々な問題がある。具体的には、動作中のOSやソフトウェアプログラムを正常に終了させずに停止する為、ファイルやデータ、OS等の論理破壊を起こす。また、電源の停止タイミングによっては、BIOSの破壊を起こす。更に、HDDなどのハードウェアの論理的および物理的な破壊を引き起こす場合もある。 There are various problems in stopping the forced power supply by a predetermined operation of the power switch. Specifically, since the operating OS or software program is stopped without being terminated normally, logical destruction of the file, data, OS, etc. is caused. Further, depending on the power supply stop timing, the BIOS is destroyed. Furthermore, it may cause logical and physical destruction of hardware such as an HDD.
しかしながら、OS等の異常などで情報処理装置が正常な処理が行えていない場合に、強制的に停止させる手段は必要である。一方、ソフトウェアの論理破壊やハードウェアの物理的破壊を引き起こさない為に、強制的な停止を出来るだけ少なくする必要がある。 However, when the information processing apparatus cannot perform normal processing due to an abnormality such as an OS, a means for forcibly stopping is necessary. On the other hand, it is necessary to reduce the forced stop as much as possible in order not to cause logical destruction of software or physical destruction of hardware.
また、上記課題とは別に、情報処理装置のセキュリティーや使用環境特有の課題から電源スイッチへの操作を制御する技術が開発されている。このような技術は、例えば、引用文献1に記載されている。引用文献1には、キーボード及び表示部(モニタ)を有さない情報処理装置に設けられている電源スイッチへの操作に基づく、情報処理装置の電源制御が記載されている。詳しくは、電源スイッチへの長押しおよび長押しに満たない短押し操作と、記憶部に記録された長押しおよび長押しに満たない短押しのパターンとを比較部で比較し、一致した場合に、電源スイッチの操作を制御基板(マザーボード)に通知する電源制御手段を備えたシステム制御装置(情報処理装置)が記載されている。即ち、電源スイッチの操作を暗証操作として、セキュリティーの向上を図っている。
In addition to the above-described problems, a technique for controlling the operation of the power switch has been developed due to security problems of information processing apparatuses and problems specific to the use environment. Such a technique is described in, for example, cited
情報処理装置の使用者や他人に強制的な停止を不必要に行なわせない為、情報処理装置の管理者は、様々な手法を行なっている。当該手法はPOS端末のような、使用者が有する情報処理装置の知識に偏りがある場合に強く求められる。 In order to prevent a user or other person of the information processing apparatus from performing a forced stop unnecessarily, an administrator of the information processing apparatus performs various methods. This method is strongly required when there is a bias in the knowledge of the information processing apparatus possessed by the user, such as a POS terminal.
具体的な技術の例としては、OS制御によって、起動中の電源スイッチへの操作を無効とし、終了処理は、ネットワーク経由で終了させる技術がある。しかしながら、電源スイッチへの操作を無効とできるOSやBIOS、電源マイコンの設計が必要である。そのため、一般的な制御基板を用いるために、アプリケーションプログラムによって制御可能なゲートアレイ等の論理回路をもちいて、電源スイッチと制御装置とを切り離して電源操作を無効とする技術もある。しかし、当該技術は、何らかの要因でOSやアプリケーションプログラムなどが異常動作状態になった場合に、強制的な停止を行なえない問題がある。 As an example of a specific technique, there is a technique in which an operation to a power switch being activated is invalidated by OS control, and the termination process is terminated via a network. However, it is necessary to design an OS, BIOS, and power supply microcomputer that can invalidate the operation of the power switch. For this reason, in order to use a general control board, there is a technique of using a logic circuit such as a gate array that can be controlled by an application program and disabling the power operation by separating the power switch and the control device. However, this technique has a problem that it cannot be forcibly stopped when the OS, application program, or the like is in an abnormal operation state for some reason.
本発明の目的は、上記課題及び問題に鑑み、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止可能な情報処理装置を提供することにある。 In view of the above problems and problems, an object of the present invention is to provide an information processing apparatus capable of forcibly stopping software when it is in an abnormal operation state and preventing unnecessary forcible stop. It is to provide.
また、本発明の別の目的は、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止可能な強制終了の制御方法を提供することにある。 Another object of the present invention is to provide a forced termination control method capable of preventing a forced stop when the software is in an abnormal operation state while preventing a forced stop. There is to do.
本願発明の情報処理装置は、電源スイッチの所定の操作に応じて、強制的に制御部を停止可能な情報処理装置において、電源スイッチへの操作を検出する手段と、電源スイッチへの強制終了操作を制御部に通知する手段と、強制的に制御部を停止する手段とを有する電源スイッチ制御回路を、前記制御部を有する制御基板と別に設け、前記電源スイッチ制御回路は、電源スイッチへの操作を検出する手段を用いて、強制終了操作を検出した場合に、前記電源スイッチへの強制終了操作を制御部に通知する手段を用いて、前記制御部へ強制終了操作を通知し、前記制御部は、前記電源スイッチ制御回路から強制終了操作の通知を受けた場合、前記電源スイッチ制御回路に、強制的に制御部を停止するまでの待ち時間を設定すると共に、所定の論理的終了処理を開始し、前記電源スイッチ制御回路は、前記制御部によって強制的に制御部を停止するまでの待ち時間が設定された場合には、当該時間の経過後に前記制御部を停止し、前記制御部によって強制的に制御部を停止するまでの待ち時間が設定されない場合には、所定の時間経過後に強制的に前記制御部を停止することを特徴とする。 The information processing apparatus according to the present invention includes a means for detecting an operation to the power switch and a forced termination operation to the power switch in the information processing apparatus capable of forcibly stopping the control unit according to a predetermined operation of the power switch. A power switch control circuit having means for notifying the control unit and means for forcibly stopping the control unit is provided separately from the control board having the control unit, and the power switch control circuit operates the power switch. When the forced end operation is detected using the means for detecting the control unit, the control unit is notified of the forced end operation using the means for notifying the control unit of the forced end operation to the power switch. Is configured to set a waiting time until the control unit is forcibly stopped in the power switch control circuit when a notification of forced termination operation is received from the power switch control circuit. When the waiting time until the control unit is forcibly stopped by the control unit is set, the power switch control circuit stops the control unit after the lapse of time, When a waiting time until the control unit is forcibly stopped by the control unit is not set, the control unit is forcibly stopped after a predetermined time has elapsed.
本願発明の強制終了の制御方法は、電源スイッチの所定の操作に応じて動作する情報処理装置の強制終了の制御方法であって、前記電源スイッチへの操作を検出する手段と、前記電源スイッチへの強制終了操作を前記情報処理装置の制御部に通知する手段と、前記制御部を強制的に停止する手段とを前記制御部と別の制御系として設け、前記電源スイッチへの操作を検出する手段を用いて、強制終了操作を検出した場合に、前記電源スイッチへの強制終了操作を前記制御部に通知する手段を用いて、前記制御部へ強制終了操作を通知し、前記制御部が強制終了操作の通知を正常に受けた場合、前記制御部を強制的に停止する手段に、前記制御部を強制的に停止するまでの待ち時間を設定すると共に、所定の論理的終了処理を開始し、前記制御部を強制的に停止する手段は、前記制御部によって強制的に停止するまでの待ち時間が設定された場合には、当該時間の経過後に前記制御部を停止し、前記制御部によって強制的に制御部を停止するまでの待ち時間が設定されない場合には、所定の時間経過後に強制的に前記制御部を停止することを特徴とする。 The forced termination control method according to the present invention is a forced termination control method for an information processing apparatus that operates in response to a predetermined operation of a power switch, the means for detecting an operation on the power switch, and the power switch Means for notifying the controller of the information processing apparatus of the forced termination operation and means for forcibly stopping the controller are provided as a control system separate from the controller, and detects an operation on the power switch. When a forced termination operation is detected using the means, the control unit is notified of the forced termination operation using the means for notifying the control unit of the forced termination operation to the power switch. When the notification of the end operation is normally received, a waiting time until the control unit is forcibly stopped is set in the means for forcibly stopping the control unit, and a predetermined logical end process is started. The control If the waiting time until the control unit is forcibly stopped is set by the control unit, the means for forcibly stopping the control unit stops the control unit after the lapse of time and controls the control unit forcibly. When the waiting time until the unit is stopped is not set, the control unit is forcibly stopped after a predetermined time has elapsed.
本発明によれば、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止可能な情報処理装置を提供できる。 According to the present invention, it is possible to provide an information processing apparatus capable of forcibly stopping when software is in an abnormal operation state and preventing unnecessary forcible stop.
また、本発明によれば、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止可能な強制終了の制御方法を提供できる。 In addition, according to the present invention, it is possible to provide a forced termination control method capable of preventing a forced stop when the software is in an abnormal operation state while preventing a forced stop.
本発明の実施の一形態を図1ないし図5に基づいて説明する。 An embodiment of the present invention will be described with reference to FIGS.
図1は、実施の一形態の情報処理装置1の構成を示すブロック図である。本実施の一形態の情報処理装置1は、一般的なパーソナルコンピュータの構成に加え、電源スイッチ10と制御基板20との間に、電源スイッチ制御回路30が接続されている。尚、パーソナルコンピュータでなくとも、同様なハードウェアを有するサーバやPOS端末であっても良い。
FIG. 1 is a block diagram illustrating a configuration of an
図1を参照すると、情報処理装置1は、概ね、使用者の起動操作や終了操作を受ける電源スイッチ10と、ソフトウェアプログラムが動作する制御基板20と、マイコン動作によって電源スイッチ10への所定の操作に応じて強制的に制御基板20の制御部を停止(Soft off状態)させる電源スイッチ制御回路30と、ソフトウェアプログラムが記録される補助記憶装置40と、制御基板20等に電源を供給する電源装置50で構成される。
Referring to FIG. 1, the
電源スイッチ10は、一般的な押しボタン等のハードウェアスイッチであり、使用者によって操作可能な位置に配設される。
The
制御基板20には、CPUやチップセット、電源マイコン、BIOS−ROM等が実装され、記憶部(RAM)や補助記憶装置(HDD)、入力装置、出力装置等が接続されている。制御基板20は、CPUやチップセット、記憶部等とOS等の協働動作によって、制御部(第1の演算手段)として動作する。また、制御基板20に実装されたBIOS等のファームウェアは、第2の演算手段として動作し、各種デバイスや前記第1の演算手段への電源を制御する。
A CPU, a chip set, a power supply microcomputer, a BIOS-ROM, and the like are mounted on the
電源スイッチ制御回路30は、電源スイッチへの操作を検出する手段31と、電源スイッチへの強制終了操作を制御部に通知する手段32と、強制的に制御部を停止する手段33とを含んで成る。
The power
電源スイッチへの操作を検出する手段31は、電源スイッチ10を監視して、電源スイッチの押下等の操作を検出する。
The means 31 for detecting an operation on the power switch monitors the
電源スイッチへの強制終了操作を制御部に通知する手段32は、電源スイッチへの操作を検出する手段31の検出値に基づいて、例えば長押し操作などの所定の操作の場合に、第1の演算装置への強制終了の操作として識別し、識別した強制終了操作を制御部に通知する。尚、強制終了操作は、後述するようにソフトウェアで設定可能にしても良いし、例えば4秒間の長押しを強制終了操作としても良い。 The means 32 for notifying the control unit of the forced termination operation to the power switch is based on the detection value of the means 31 for detecting the operation to the power switch, for example, in the case of a predetermined operation such as a long press operation. The operation is identified as a forced termination operation to the arithmetic device, and the identified forced termination operation is notified to the control unit. Note that the forced termination operation may be set by software as will be described later. For example, a long press for 4 seconds may be set as the forced termination operation.
強制的に制御部を停止する手段33は、電源スイッチへの強制終了操作を制御部に通知する手段32により強制終了操作が通知された後、電源スイッチ制御回路30を制御するソフトウェアプログラムによって、強制的に制御部を停止するまでの待ち時間T1が設定された場合には、当該時間の経過後に前記制御部を停止する。また、待ち時間T1が設定されない場合には、所定の時間T2経過後に強制的に前記制御部を停止する。尚、制御部を強制的に停止するために制御基板20の機能を用いる場合には、ファームウェアへ前記制御部を停止させる信号や再起動させる信号を通知すればよい。このとき、制御部の状態を制御基板20の内部バスを介して取得し、その状態に応じて所定時間遅延させて、制御基板に制御部を停止させる信号や再起動させる信号として入力してもよい。制御部の状態の具体例としては、制御部の動作状態を示す電源ステータスや、ソフトウェアの動作状態などである。
The means 33 for forcibly stopping the control unit is controlled by a software program for controlling the power
ここで、前記待ち時間T1は、通常動作時の前記制御部の論理的終了を行なう時間より長い時間であり、所定の時間T2は、通常動作時の制御部が待ち時間T1を設定する時間より長い時間である。 Here, the waiting time T1 is a time longer than the time during which the control unit is logically terminated during normal operation, and the predetermined time T2 is longer than the time during which the control unit during normal operation sets the waiting time T1. A long time.
尚、強制的に制御部を停止する手法は、どのような方法でも良いが、各種デバイス等に負担が少ない様に停止することが望ましい。例えば、前記電源スイッチ制御回路30が制御基板20上の各種素子に信号を送信し、チップセットへの電源をOFFにしたり、電源マイコン等を制御して、制御部への電源をOFFにしたりすれば良い。また、制御基板20への電源を停止するようにしてもよい。
The method for forcibly stopping the control unit may be any method, but it is preferable to stop the control unit so that the burden on various devices is small. For example, the power
図2は、情報処理装置1の論理演算処理に関係する構成を示す機能ブロック図である。
FIG. 2 is a functional block diagram illustrating a configuration related to the logical operation processing of the
図2を参照すると、情報処理装置1は、各種情報処理を行う制御部100、基本制御プログラムが格納されているROM、情報を一時記憶するRAM、使用者によって情報を入力される入力部、データ等を出力する出力部、ネットワークを介し通信を行うためのネットワークインタフェース、電源マイコンや各種デバイス等の状態を検出可能であり、また、電源スイッチ制御回路30と情報を通知し合う内部通信用インタフェース110、記憶部120がバスによって接続されている。
Referring to FIG. 2, the
内部通信用インタフェース110は、各種通信規格に準拠し、有線を用いて、情報処理装置内部の素子等と通信する内部バス用インタフェースである。通信規格は、I2CバスやSMバス等のシリアルバスを用いればよい。
The
記憶部120には、OS111、電源スイッチ制御回路を制御するドライバ122、電源管理サービスプログラム123を始め、情報処理装置1の使用目的に合わせて、様々なプログラムやデータファイルなどが記憶される。
The
電源スイッチ制御回路を制御するドライバ122は、内部通信用インタフェース110を介して、電源スイッチ制御回路30と通信して、後述する電源管理サービスプログラム113に強制終了操作の通知等の各種情報を通知する。また、電源スイッチ制御回路を制御するドライバ122は、電源管理サービスプログラム123からの強制的に制御部を停止するまでの待ち時間(延長信号)などの情報を電源スイッチ制御回路30に通知する。
The
電源管理サービスプログラム123は、OSの仕様に準拠したサービスプログラムであり、所定の論理的終了処理(シャットダウンやリブートなど)を開始可能である。また、電源管理サービスプログラム123は、電源スイッチ制御回路を制御するドライバ122を操作して、強制的に制御部を停止するまでの待ち時間T1(延長信号)を設定可能である。
The power
このような構成において、本発明の実施の一形態である情報処理装置1は、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止できる。
In such a configuration, the
以下に、図3ないし図5を用いて、情報処理装置1の正常動作時及び動作異常時の処理動作を説明する。尚、説明を明瞭とするため、本発明と関係が薄い動作は、省略して記載する。
Hereinafter, the processing operation during normal operation and abnormal operation of the
図3は、情報処理装置1の正常動作時の処理動作を示すシーケンス図である。情報処理装置1は、起動後、使用者によって様々な目的に使用された状態である。ここで、正常動作時とは、OS121を始め、終了処理に使用される各種プログラムが正常に終了処理を行えれば正常動作とみなす。即ち、論理的終了処理に不要なプログラムやハードウェアの異常などが発生していても、入力部や電源スイッチ10の操作によって、OS121による終了が可能な状態である。
FIG. 3 is a sequence diagram showing processing operations during normal operation of the
情報処理装置1が起動すると、電源スイッチ制御回路30は初期化され、電源スイッチ10への操作を監視する。また、OS121が起動し、その後、電源スイッチ制御回路を制御するドライバ122及び電源管理サービスプログラム123が起動する。このときに、電源管理サービスプログラム123によって、強制終了操作や強制終了するまでの所定の時間T2を設定しても良い。尚、所定の時間T2は、T1時間と同一としても良い。T1やT2の設定は、制御基板20の内部バスを介して、制御部からの通知情報から取得する。
When the
電源スイッチ制御回路30は、使用者による電源スイッチ10への強制終了操作(例えば長押操作)を検出する(ステップS301)。
The power
電源スイッチ制御回路30は、電源スイッチ10への強制終了操作を制御部100に通知する(ステップS302)。
The power
電源スイッチ制御回路30は、強制終了操作を制御部100に通知後、所定の強制終了を実行するまでの時間T2をカウント開始する(ステップS303)。
The power
電源スイッチ制御回路30から、電源スイッチ制御回路を制御するドライバ122によって、内部通信用インタフェース110を介して強制終了操作の取得した制御部100は、電源管理サービスプログラム123に基づき、電源スイッチ制御回路を制御するドライバ122を操作して、強制的に制御部を停止するまでの待ち時間T1を、電源スイッチ制御回路30に通知する(ステップS304)。
The
制御部100は、電源管理サービスプログラム123に基づき、OS121に対して、所定の論理的終了操作(シャットダウンやリブートなど)を通知し、論理的終了処理を開始する(ステップS305)。尚、論理的終了に伴う電源管理サービスプログラム123の終了は、他の各種プログラムに対して遅く設定されることが望ましい。
Based on the power
電源スイッチ制御回路30は、制御部100からの強制的に制御部を停止するまでの待ち時間T1の通知(延長信号)を受けて設定され、当該時間T1の経過まで強制終了を延長する(ステップS306)。
The power
このとき、制御部100がOS121により、強制終了を延長した時間内に正常に論理的終了が行われた場合は、電源スイッチ制御回路30による強制的な制御部の停止は避けられる。もし、何らかの原因でOS121や、電源スイッチ制御回路を制御するドライバ122、電源管理サービスプログラム123が正常に動作しない場合は、所定時間T2経過後に電源スイッチ制御回路30による強制的な制御部の停止が行なわれる。
At this time, if the logical end is normally performed within the time when the
このようにソフトウェアが正常動作状態であれば、電源スイッチ10に強制終了操作が成されても、不必要に強制的な停止を行うことを防止できる。
In this way, if the software is in a normal operating state, it is possible to prevent an unnecessary forced stop even if the
次に、図4を用いて、情報処理装置1の動作異常時の処理動作を説明する。
Next, the processing operation at the time of abnormal operation of the
図4は、情報処理装置1の動作異常時の処理動作を示すシーケンス図である。情報処理装置1は、起動後、使用者によって様々な目的に使用され、何らかの要因によって、OS121又は終了処理に使用される各種プログラムが異常をきたし、終了処理を行えない状態になっている。即ち、入力部や電源スイッチ10の操作によって、OS121による終了が不可能な状態である。
FIG. 4 is a sequence diagram illustrating a processing operation when the operation of the
情報処理装置1は、起動後、電源スイッチ制御回路30の初期化、OS121の起動、各種プログラムの起動、及び、電源スイッチ10への操作の監視を行なう。また、必要に応じて、電源管理サービスプログラム123によって、時間T1及びT2等を設定する。その後、何らかの要因によって、制御部100(論理演算手段)が異常となる。
After startup, the
電源スイッチ制御回路30は、使用者による電源スイッチ10への強制終了操作(例えば長押操作)を検出する(ステップS301)。電源スイッチ制御回路30は、電源スイッチ10への強制終了操作を制御部100に通知する(ステップS302)。
The power
このとき、制御部100は、異常動作状態であるため、電源スイッチ制御回路30からの強制終了操作の通知を識別できない。即ち、正常動作時に電源管理サービスプログラム123等によって送信される待ち時間T1が送信されない。
At this time, since the
電源スイッチ制御回路30は、強制終了操作を制御部100に通知後、所定の強制終了を実行するまでの時間T2をカウント開始する(ステップS303)。
The power
電源スイッチ制御回路30は、所定の強制終了を実行するまでの時間T2のカウント終了後、制御部100の停止処理(強制終了)を実行する(ステップS304)。
The power
このように、何らかの原因でOS121や、電源スイッチ制御回路を制御するドライバ122、電源管理サービスプログラム123が正常に動作しない場合は、所定時間T2経過後に電源スイッチ制御回路30による強制的な制御部の停止が行なわれる。
As described above, when the
このようにソフトウェアが異常動作状態であっても、電源スイッチ10に強制終了操作によって、強制的な停止を可能とできる。
Thus, even when the software is in an abnormal operation state, the
次に、図5を用いて、情報処理装置1の正常動作時の別の処理動作を説明する。
Next, another processing operation during normal operation of the
図5は、情報処理装置1の正常動作時の別の処理動作を示すシーケンス図である。情報処理装置1は、起動後、使用者によって様々な目的に使用された状態である。
FIG. 5 is a sequence diagram illustrating another processing operation during normal operation of the
情報処理装置1が起動すると、電源スイッチ制御回路30は初期化され、電源スイッチ10への操作を監視する。また、OS121が起動し、その後、電源スイッチ制御回路を制御するドライバ122及び電源管理サービスプログラム123が起動する。
When the
電源スイッチ制御回路30は、使用者による電源スイッチ10への強制終了操作(例えば長押操作)を検出する(ステップS301)。電源スイッチ制御回路30は、電源スイッチ10への強制終了操作を制御部100に通知する(ステップS302)。電源スイッチ制御回路30は、強制終了操作を制御部100に通知後、所定の強制終了を実行するまでの時間T2をカウント開始する(ステップS303)。
The power
電源スイッチ制御回路30から電源スイッチ制御回路を制御するドライバ122によって、内部通信用インタフェース110を介して強制終了操作の取得した制御部100は、電源管理サービスプログラム123に基づき、電源スイッチ制御回路を制御するドライバ122を操作して、強制的に制御部を停止するまでの待ち時間T1を、電源スイッチ制御回路30に通知する(ステップS304)。
The
制御部100は、電源管理サービスプログラム123に基づき、OS121に対して、所定の論理的終了操作(シャットダウンやリブートなど)を通知し、論理的終了を開始する。制御部100は、論理的終了処理の開始と同時的に、電源スイッチ制御回路30に対して通知した強制的に制御部を停止するまでの待ち時間T1とカウントする。(ステップS305)。
Based on the power
電源スイッチ制御回路30は、制御部100からの強制的に制御部を停止するまでの待ち時間T1の通知を受けて設定され、当該時間T1の経過まで強制終了を延長する(ステップS306)。
The power
制御部100は、カウント中の時間T1が所定値になった場合に、再度、強制的に制御部を停止するまでの待ち時間T1を、電源スイッチ制御回路30に通知する(ステップS507)。
When the counting time T1 reaches a predetermined value, the
電源スイッチ制御回路30は、制御部100からの強制的に制御部を停止するまでの待ち時間T1の通知を受けて設定され、当該時間T1の経過まで強制終了を延長する(ステップS308)。
The power
このように、制御部100が正常に動作している場合には、適時強制終了を延長することによって、電源スイッチ制御回路30による強制的な制御部の停止を避けられる。即ち、ソフトウェアが正常動作状態であれば、電源スイッチ10に強制終了操作が成されても、不必要に強制的な停止を行うことを防止できる。
As described above, when the
以上説明したように本実施の一形態の情報処理装置1によれば、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止できる。
As described above, according to the
次に、本発明の実施例を記載する。本実施例では、情報処理装置をPOS端末2とし、電源スイッチ制御回路30をマイコンによって動作させる。また、強制終了操作を電源スイッチ10への長押操作とし、当該終了操作となる時間T3を、ソフトウェアによって指定できる構成とする。また、T2をT1と同値とし、構成の簡略化を図る。即ち、所定時間T2は、必要に応じて設けても良いし、T1の値で代用しても良い。
Next, examples of the present invention will be described. In this embodiment, the information processing apparatus is the POS terminal 2 and the power
電源スイッチ制御回路30は、マイコンの各種ポートによって、電源スイッチ10や制御基板20の接点状態を取得可能である。また、マイコンは、レジスタやカウンタ、タイマ等を用いて、電源スイッチ10の状態に応じて強制終了操作と識別するフラグを設定可能である。更に、制御基板20とポートを介して制御部の電源の状態や設定などの情報を通知し合い、レジスタ値などを設定可能である。
The power
実施例における電源スイッチ制御回路30の各種手段、及び、電源スイッチ制御回路を制御するドライバ122、電源管理サービスプログラム123は、以下のように動作するように構成される。尚、他の構成は実施の一形態と同様であるため、記載を省略する。
Various means of the power
電源スイッチへの操作を検出する手段35は、使用者により電源スイッチ10の押下開始からカウントを始め、電源スイッチ押下時間を計測する。
The means 35 for detecting the operation of the power switch starts counting from the start of pressing the
電源スイッチへの強制終了操作を制御部に通知する手段36は、電源スイッチ制御回路を制御するドライバ122から設定された時間T3以上電源スイッチが押され続けると予め決められている電源スイッチ制御回路30内のレジスタに長押フラグをセットする。ここで、T3は、電源管理サービスプログラム123によって管理者から定められた値であり、例えば4秒や10秒など任意の値である。
The means 36 for notifying the controller of the forced termination operation to the power switch is a power
強制的に制御部を停止する手段33は、電源スイッチへの強制終了操作を制御部に通知する手段36により長押しフラグがセットされた後、電源スイッチ制御回路を制御するドライバ122から設定された時間T1経過後、制御基板20のチップセットに電源オフ等を行なう信号を出力する。また、制御基板20上に設けられている電源スイッチ用ピンに強制終了の信号を送っても良い。制御基板20のチップセットへ電源オフ等を行なう信号を出力した場合は、直ちに制御基板20の電源がOFFとなる。したがって、電源スイッチ制御回路を制御するドライバ122と電源管理サービスプログラム123も直ちに終了する。
The means 33 for forcibly stopping the control unit is set by the
電源スイッチ制御回路を制御するドライバ122は、電源管理サービスプログラム123によって使用され、T1、T3時間を電源スイッチ制御回路30に設定したり、電源スイッチ制御回路から長押しフラグ状態を取得したりする。
The
電源管理サービスプログラム123は、サービスプログラムであり、電源スイッチ制御回路を制御するドライバ122から長押しフラグ状態を取得して、長押しフラグがセットされていた場合は、設定されている動作(シャットダウン、ログオフ、リブートなど)をOSに対して通知して論理的終了を行う。
The power
次に、図6及び図7のフローチャートを参照して本発明の実施例の動作について詳細に説明する。 Next, the operation of the embodiment of the present invention will be described in detail with reference to the flowcharts of FIGS.
図6は、実施例の電源スイッチ制御回路30の動作を示すフローチャートである。図7は、実施例の電源管理サービスプログラム123の動作を示すフローチャートである。
FIG. 6 is a flowchart illustrating the operation of the power
まず、POS端末2に電源が投入されると、電源スイッチ制御回路30は、内部カウンタの初期化する(ステップA1、A2)。具体的な値は、T1をPOS端末2のシャットダウンに要する時間+数秒,T3=4秒とすればよい。次に、電源スイッチ制御回路30は、電源スイッチの押下状態を監視するループに入り電源ボタン押下状態を監視する(ステップA3、図3のステップS301に該当)。電源スイッチ制御回路30は、監視ループ内の動作として、電源ボタン押下状態の確認(ステップA4)と電源管理サービスプログラム200からのT1及びT3時間設定要求があるかを常に監視している(ステップA6)。電源スイッチ10が押下されている場合には、長押カウンタをインクリメント処理して、A3に戻る(ステップA5)。T1及びT3設定要求がある場合はT1およびT3を内部バッファに設定し、長押カウンタをクリアする(ステップA7、A8)。
First, when the POS terminal 2 is powered on, the power
次に制御基板20において、OS121が起動すると、電源スイッチ制御回路を制御するドライバ122及び電源管理サービスプログラム123が起動する。電源管理サービスプログラム123は、T1及びT3時間を電源スイッチ制御回路30に対して設定し(ステップB1)する。その後、電源管理サービスプログラム123は、電源スイッチ制御回路を制御するドライバ122を用い、電源スイッチ制御回路30のポートを介して、長押しフラグがセットされているかを監視するループに入る(ステップB2)。尚、上記説明では、制御部100によって長押しフラグ(強制終了操作の通知)のセットを確認するように記載したが、電源スイッチ制御回路30側からは、フラグの設定による強制終了操作を通知したことになる。
Next, when the
この状態で、使用者によって電源スイッチ10がT3時間以上長押しされるまで、電源スイッチ制御回路30及び電源管理サービスプログラム200は、夫々の監視ループ(ステップA3及びB2)を実行し続ける。
In this state, the power
電源ボタン100がT3時間以上長押しされた場合、電源スイッチ制御回路30は、電源ボタン監視ループ(ステップA3)を通過し、長押しフラグを指定のレジスタにセットする(ステップA9、図3のステップS302に該当)。すると、電源スイッチ制御ブロック110は直ちに設定されているT1時間のカウントダウンを始める(ステップA10、図3のステップS303に該当)。
When the
このとき、制御部100は、電源管理サービスプログラム200は、長押しフラグのセットを検出し、長押しフラグ監視ループ(ステップB2)を通過し、電源スイッチ制御回路30に対してT1時間を設定し、T1時間のリセットを行う(ステップB3、B4、図3のステップS304に該当)。
At this time, the
同時的に、制御部100は、電源管理サービスプログラム200を用いて、設定されている動作を取得する(ステップB5、図3のステップS305に該当)。制御部100は、リブート設定であれば、OSに対してリブート要求メッセージを出し、リブートを実行する(ステップB6)。制御部100は、シャットダウン設定であれば、OSに対してシャットダウン要求メッセージを出し、シャットダウンを実行する(ステップB7)。
At the same time, the
制御部100からT1時間の設定要求(延長要求)があった電源スイッチ制御回路30は、設定要求(延長要求)に基づいて、T1時間を内部バッファに再セットし、再カウントダウンを開始する(図6のステップA12、A13、A14、図3のステップS306に該当)。
The power
制御部100からT1時間の設定要求が無い場合には、電源スイッチ制御回路30は、経過時間をインクリメント処理(ステップA15)し、更に、電源ステータスを確認(ステップA16)して、A10に戻る。
If there is no T1 time setting request from the
このとき、T1時間以内に正常にリブートまたはシャットダウンが行われた場合は、電源スイッチ制御回路30による制御基板20への電源OFF信号は出力されずOSの機能により正常に電源OFFがなされる。もし、何らかの原因でOS121、電源スイッチ制御回路を制御するドライバ122、及び、電源管理サービスプログラム123が正常に動作しない場合は、T1時間経過後に電源スイッチ制御回路30による制御基板20への電源OFFする信号が送られ強制電源OFFが実行され、電源OFFがなされる。
At this time, if the reboot or shutdown is normally performed within the time T1, the power OFF signal to the
以上説明したように本実施例のPOS端末2によれば、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止できる。 As described above, according to the POS terminal 2 of the present embodiment, it is possible to forcibly stop when the software is in an abnormal operation state, and to prevent unnecessary forcible stop.
また、OSを搭載したPOS端末における電源スイッチ制御において、マイコン制御の電源スイッチ制御回路を設けることにより、電源スイッチ押下時の動作(強制終了までの時間)をOSの制御から切り離してソフトウェアで自由に制御が可能となる。 In addition, in the power switch control in the POS terminal equipped with the OS, by providing a microcomputer-controlled power switch control circuit, the operation at the time of pressing the power switch (time until forced termination) can be separated from the OS control and freely by software Control becomes possible.
更に、電源スイッチ押下を監視する電源スイッチ制御回路とそれを制御するドライバと電源管理サービスの組み合わせにより、電源スイッチ長押しによる強制電源OFF時間を動的に変更することができるのでストレージやファイルの論理破壊を低減できる。 In addition, the combination of the power switch control circuit that monitors the power switch pressing, the driver that controls the power switch, and the power management service can dynamically change the forced power-off time due to long pressing of the power switch. Destruction can be reduced.
また、電源スイッチ制御回路に対して、情報処理装置ごとに正常にシャットダウンできる時間を考慮したT1時間を動的に設定可能である。 In addition, it is possible to dynamically set the T1 time in consideration of the time during which the information processing apparatus can be normally shut down for the power switch control circuit.
更に、POS端末(情報処理装置)の知識が少ない初心者などが、正常なOSのシャットダウン処理中に電源ボタンを押され続けるなどの人為的な操作ミスによるPOS端末の強制的な停止を削減でき、POS端末の故障を予防できる。 In addition, beginners with little knowledge of POS terminals (information processing devices) can reduce the forced stop of POS terminals due to human error such as continuing to press the power button during normal OS shutdown processing, POS terminal failure can be prevented.
次に、本発明の別の実施例を記載する。本実施例では、電源スイッチ制御回路30を、ゲートアレイを用いて構成する。
Next, another embodiment of the present invention will be described. In this embodiment, the power
図8は、電源スイッチ制御回路30の構成例を示す図である。図8に示すゲートアレイは、上記実施例のマイコンを用いた電源スイッチ制御回路30と同様に動作する。即ち、電源スイッチ制御回路30は、ゲートアレイの各種ポートによって、電源スイッチ10の接点状態を取得可能とし、レジスタやカウンタ、ラッチ、電源SW制御ブロック等を用いて、電源スイッチ10の状態に応じて強制終了操作と識別するフラグを設定可能である。更に、制御基板20とポートを介して通信して、レジスタ値などを設定可能である。
FIG. 8 is a diagram illustrating a configuration example of the power
また、各ロジックの協働によって、電源スイッチへの操作を検出する手段、電源スイッチへの強制終了操作を制御部に通知する手段、強制的に制御部を停止する手段として動作する。尚、電源スイッチ制御回路を制御するドライバ122、電源管理サービスプログラム123等の他の構成は上記実施例と同様であるため、記載を省略する。
Further, by cooperation of each logic, it operates as a means for detecting an operation to the power switch, a means for notifying the control section of a forced end operation to the power switch, and a means for forcibly stopping the control section. The other components such as the
電源スイッチ制御回路30として動作するゲートアレイには、P00に電源スイッチ10が接続され、電源スイッチ10の押下を検出する。また、P01に、制御基板20の電源SW入力ピンを接続する。更に、P120に、制御基板20の電源ステータスを出力するピンを接続する。更に、制御基板20と通信可能に、各入力及び出力を接続する。
The gate array that operates as the power
このようにゲートアレイを接続して、電源スイッチ制御回路30として動作させる。尚、以下に、各ポートの信号を簡単に記載する。
In this way, the gate array is connected to operate as the power
PWRSW_IN : 電源スイッチ入力(ポートP00 入力ピン)
PBT_DET : 電源スイッチステータス(ポートP00 入力ピン検出)
PWBT_ST : 電源スイッチステータス(ポートP00 入力ピンステータス)
PS_MSK : 電源スイッチマスク
PWRSW_OUT : 電源スイッチ出力(ポートP01 出力ピン)
LOFF_EN : 長押しOFF Enable
Detection Count : POWSW OFF Detection Count Register 設定値
Length Count : POWSW OFF Length Count Register 設定値
POWER GOOD : 電源ステータス入力(ポートP120 入力ピン)
SB_POWGD : 電源ステータス(ポートP120 入力ピンステータス)
LOFF_ST : 長押し検出ステータス
P01 : ポート・レジスタ
PM01 : ポートの入出力切り替え(ポート・モード・レジスタ)
PBT_O_ST : 電源SW 出力ステータス(ポート P01 出力ピンステータス)
PWRSW_IN: Power switch input (port P00 input pin)
PBT_DET: Power switch status (port P00 input pin detected)
PWBT_ST: Power switch status (port P00 input pin status)
PS_MSK: Power switch mask
PWRSW_OUT: Power switch output (port P01 output pin)
LOFF_EN: Long press OFF Enable
Detection Count: POWSW OFF Detection Count Register setting value
Length Count: POWSW OFF Length Count Register setting value
POWER GOOD: Power status input (port P120 input pin)
SB_POWGD: Power supply status (port P120 input pin status)
LOFF_ST: Long press detection status
P01: Port register
PM01: Port input / output switching (port mode register)
PBT_O_ST: Power SW output status (port P01 output pin status)
ここで、実施例におけるT1は、制御基板20からLength Countに入力される(図6のA6、A11時の動作)。また、T3は、制御基板20からDetection Countに入力される(図6のA6時の動作)。また、長押フラグは、LOFF_STから、制御基板20に送信される(図6のA9時の動作)。また、電源ステータスは、制御基板20からP120に通知されているステータスを用いる(図6のA16時の動作)。
Here, T1 in the embodiment is input to the Length Count from the control board 20 (operation at A6 and A11 in FIG. 6). T3 is input from the
上記の実施例の様に、電源スイッチ制御回路30は、ゲートアレイなどのカスタムICを用いて実現しても良いし、マイコン制御によって実現しても良い。
As in the above embodiment, the power
以上説明したように本実施例で説明したゲートアレイによる電源スイッチ制御回路30をもちいても、ソフトウェアが異常動作状態になった場合に強制的な停止を可能としつつ、不必要に強制的な停止を行うことを防止できる。
As described above, even if the power
また、OSを搭載したPOS端末における電源スイッチ制御において、カスタムICのよる電源スイッチ制御回路を設けることにより、電源スイッチ押下時の動作(強制終了までの時間)をOSの制御から切り離してソフトウェアで自由に制御が可能となる。 In addition, by providing a power switch control circuit with a custom IC in the power switch control in a POS terminal equipped with an OS, the operation when the power switch is pressed (time until forced termination) can be separated from the OS control and freely controlled by software. Can be controlled.
更に、電源スイッチ押下を監視する電源スイッチ制御回路とそれを制御するドライバと電源管理サービスの組み合わせにより、電源スイッチ長押しによる強制電源オフ時間を動的に変更することができるのでストレージやファイルの論理破壊を低減できる。 In addition, the combination of the power switch control circuit that monitors the power switch pressing, the driver that controls the power switch, and the power management service can dynamically change the forced power-off time due to the long pressing of the power switch. Destruction can be reduced.
また、電源スイッチ制御回路に対して、情報処理装置ごとに正常にシャットダウンできる時間を考慮したT1時間を動的に設定可能である。 In addition, it is possible to dynamically set the T1 time in consideration of the time during which the information processing apparatus can be normally shut down for the power switch control circuit.
更に、POS端末(情報処理装置)の知識が少ない初心者などが正常にOSのシャットダウン処理中に電源ボタンを押され続けるなどの人為的な操作ミスによって、情報処理装置の強制的な停止を削減でき、POS端末(情報処理装置)の故障を予防できる。 In addition, beginners with little knowledge of POS terminals (information processing devices) can reduce the forced stop of information processing devices due to human error such as keeping pressing the power button during the OS shutdown process normally. Failure of the POS terminal (information processing apparatus) can be prevented.
尚、本発明の具体的な構成は前述の実施の形態に限られるものではなく、この発明の要旨を逸脱しない範囲の変更があってもこの発明に含まれる。 It should be noted that the specific configuration of the present invention is not limited to the above-described embodiment, and modifications within a range not departing from the gist of the present invention are included in the present invention.
また、ソフトウェアプログラムをドライバとサービスプログラムやアプリケーションプログラムとで分割するか否かは、任意である。ソフトウェアプログラムを分割する場合には、OSに適した形式で行なえばそれでよい。 Whether or not the software program is divided into a driver and a service program or an application program is arbitrary. When dividing the software program, it is sufficient if it is performed in a format suitable for the OS.
1 情報処理装置
10 電源スイッチ
20 制御基板
30 電源スイッチ制御回路
40 補助記憶装置
50 電源装置
100 制御部
110 内部通信用インタフェース
120 記憶部
121 OS
122 電源スイッチ制御回路を制御するドライバ
123 電源管理サービスプログラム
1
122 Driver for Controlling Power
Claims (17)
電源スイッチへの操作を検出する手段と、電源スイッチへの強制終了操作を制御部に通知する手段と、強制的に制御部を停止する手段とを有する電源スイッチ制御回路を、前記制御部を有する制御基板と別に設け、
前記電源スイッチ制御回路は、
電源スイッチへの操作を検出する手段を用いて強制終了操作を検出した場合に、前記電源スイッチへの強制終了操作を制御部に通知する手段を用いて、前記制御部へ強制終了操作を通知し、
前記制御部は、
前記電源スイッチ制御回路から強制終了操作の通知を受けた場合、前記電源スイッチ制御回路に、強制的に制御部を停止するまでの待ち時間を設定すると共に、所定の論理的終了処理を開始し、
前記電源スイッチ制御回路は、
前記制御部によって強制的に制御部を停止するまでの待ち時間が設定された場合には、当該時間の経過後に前記制御部を停止し、
前記制御部によって強制的に制御部を停止するまでの待ち時間が設定されない場合には、所定の時間経過後に強制的に前記制御部を停止する
ことを特徴とする情報処理装置。 In the information processing apparatus capable of forcibly stopping the control unit according to a predetermined operation of the power switch,
A power switch control circuit having means for detecting an operation to the power switch, means for notifying the control unit of a forced termination operation to the power switch, and means for forcibly stopping the control unit, the control unit Provided separately from the control board,
The power switch control circuit includes:
When a forced end operation is detected using a means for detecting an operation to the power switch, a forced end operation is notified to the control unit using a means for notifying the control unit of the forced end operation to the power switch. ,
The controller is
When a notification of forced termination operation is received from the power switch control circuit, a waiting time until the control unit is forcibly stopped is set in the power switch control circuit, and a predetermined logical termination process is started.
The power switch control circuit includes:
When a waiting time until the control unit is forcibly stopped by the control unit is set, the control unit is stopped after the lapse of the time,
An information processing apparatus for forcibly stopping the control unit after a predetermined time elapses when a waiting time until the control unit is forcibly stopped by the control unit is not set.
前記所定の時間は、通常動作時の前記制御部が待ち時間の設定に要する時間より長い時間であることを特徴とする請求項1記載の情報処理装置。 The waiting time is a time longer than a time for performing logical termination of the control unit during normal operation,
The information processing apparatus according to claim 1, wherein the predetermined time is longer than a time required for the control unit during normal operation to set a waiting time.
前記制御基板上で基本ソフトウェアプログラムを動作させる第1の演算手段と、
前記制御基板上で電源制御を実行する第2の演算手段と、
前記第1の演算手段への終了操作を受ける電源スイッチと、
前記電源スイッチの操作を検出可能とすると共に、前記第2の演算手段を制御可能とする電源スイッチ制御回路と
を備え、
前記電源スイッチ制御回路は、前記第1の演算手段の通知する情報に基づいて、前記電源スイッチへの操作を、前記第1の演算手段を停止する信号として、前記第2の演算手段に通知する
ことを特徴とする情報処理装置。 A control board that receives power from the power supply; and
First computing means for operating a basic software program on the control board;
Second computing means for performing power control on the control board;
A power switch for receiving an end operation to the first computing means;
A power switch control circuit capable of detecting the operation of the power switch and controlling the second computing means;
The power switch control circuit notifies the second calculation means of an operation to the power switch as a signal for stopping the first calculation means based on information notified by the first calculation means. An information processing apparatus characterized by that.
前記電源スイッチ制御回路は、前記基本ソフトウェアプログラム及び前記ソフトウェアプログラムの動作状態に基づいて、前記電源スイッチへの操作を、前記第1の演算手段を停止する信号として、前記第2の演算手段に通知する
ことを特徴とする請求項4記載の情報処理装置。 Storage means storing a software program used by the first calculation means;
The power switch control circuit notifies the second calculation means of an operation to the power switch as a signal for stopping the first calculation means based on the basic software program and the operating state of the software program. The information processing apparatus according to claim 4.
取得した状態に応じて、前記電源スイッチへの操作を、所定時間遅延させて、前記制御基板に入力することを特徴とする請求項4又は5に記載の情報処理装置。 The power switch control circuit acquires the state of the first calculation means via an internal bus of the control board,
6. The information processing apparatus according to claim 4, wherein an operation to the power switch is input to the control board with a predetermined time delay in accordance with the acquired state.
延長指示が無い場合に、強制的に前記第1の演算手段を停止する信号を送信することを特徴とする請求項4ないし6の何れかに一記載の情報処理装置。 The power switch control circuit receives from the first computing means an extension instruction for securing time required for termination, interruption and suspension of the basic software program,
The information processing apparatus according to claim 4, wherein when there is no extension instruction, a signal for forcibly stopping the first arithmetic unit is transmitted.
前記電源スイッチへの操作を検出する手段と、前記電源スイッチへの強制終了操作を前記情報処理装置の制御部に通知する手段と、前記制御部を強制的に停止する手段とを前記制御部と別の制御系として設け、
前記電源スイッチへの操作を検出する手段を用いて、強制終了操作を検出した場合に、前記電源スイッチへの強制終了操作を前記制御部に通知する手段を用いて、前記制御部へ強制終了操作を通知し、
前記制御部が強制終了操作の通知を正常に受けた場合、前記制御部を強制的に停止する手段に、前記制御部を強制的に停止するまでの待ち時間を設定すると共に、所定の論理的終了処理を開始し、
前記制御部を強制的に停止する手段は、前記制御部によって強制的に停止するまでの待ち時間が設定された場合には、当該時間の経過後に前記制御部を停止し、
前記制御部によって強制的に制御部を停止するまでの待ち時間が設定されない場合には、所定の時間経過後に強制的に前記制御部を停止する
ことを特徴とする強制終了の制御方法。 A control method for forced termination of an information processing device that operates in response to a predetermined operation of a power switch,
Means for detecting an operation on the power switch; means for notifying a control unit of the information processing device of a forced termination operation on the power switch; and means for forcibly stopping the control unit; Provided as a separate control system,
Forcibly ending operation to the control unit using means for notifying the control unit of the forced ending operation to the power switch when a forced ending operation is detected using the means for detecting the operation to the power switch Notice
When the control unit normally receives the notification of the forced termination operation, a waiting time until the control unit is forcibly stopped is set in the means for forcibly stopping the control unit, and a predetermined logical Start the termination process,
The means for forcibly stopping the control unit, when a waiting time until the control unit is forcibly stopped is set, stops the control unit after the lapse of the time,
A control method for forced termination, characterized in that, when a waiting time until the control unit is forcibly stopped by the control unit is not set, the control unit is forcibly stopped after a predetermined time has elapsed.
前記所定の時間は、通常動作時の前記制御部が待ち時間の設定に要する時間より長い時間であることを特徴とする請求項12記載の強制終了の制御方法。 The waiting time is a time longer than a time for performing logical termination of the control unit during normal operation,
13. The forced termination control method according to claim 12, wherein the predetermined time is longer than a time required for the control unit to set a waiting time during normal operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008210477A JP2010049311A (en) | 2008-08-19 | 2008-08-19 | Information processing apparatus, pos terminal, and control method for forced termination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008210477A JP2010049311A (en) | 2008-08-19 | 2008-08-19 | Information processing apparatus, pos terminal, and control method for forced termination |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010049311A true JP2010049311A (en) | 2010-03-04 |
Family
ID=42066366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008210477A Pending JP2010049311A (en) | 2008-08-19 | 2008-08-19 | Information processing apparatus, pos terminal, and control method for forced termination |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010049311A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012133506A (en) * | 2010-12-21 | 2012-07-12 | Lenovo Singapore Pte Ltd | Computer with enhanced security and method for controlling power source |
JP5083476B1 (en) * | 2011-07-13 | 2012-11-28 | 三菱電機株式会社 | Numerical controller |
WO2016121595A1 (en) * | 2015-01-28 | 2016-08-04 | 京セラドキュメントソリューションズ株式会社 | Power supply device and image processing device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62197838A (en) * | 1986-02-26 | 1987-09-01 | Yokogawa Electric Corp | Watchdog timer controller |
JPS6340924A (en) * | 1986-08-07 | 1988-02-22 | Fujitsu Ltd | Power source disconnection control system |
JPH06138984A (en) * | 1991-02-01 | 1994-05-20 | Seiko Epson Corp | Information processor |
JPH1027044A (en) * | 1996-03-21 | 1998-01-27 | Texas Instr Inc <Ti> | Intelligent power source switch and its control method |
JPH11243641A (en) * | 1998-02-24 | 1999-09-07 | Nec Corp | Apparatus and method for control of power supply |
JPH11272368A (en) * | 1998-03-23 | 1999-10-08 | Canon Inc | Information processor, power supply managing method and storage medium |
JP2003015780A (en) * | 2001-07-02 | 2003-01-17 | Seiko Epson Corp | Power source controller and power source control method |
-
2008
- 2008-08-19 JP JP2008210477A patent/JP2010049311A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62197838A (en) * | 1986-02-26 | 1987-09-01 | Yokogawa Electric Corp | Watchdog timer controller |
JPS6340924A (en) * | 1986-08-07 | 1988-02-22 | Fujitsu Ltd | Power source disconnection control system |
JPH06138984A (en) * | 1991-02-01 | 1994-05-20 | Seiko Epson Corp | Information processor |
JPH1027044A (en) * | 1996-03-21 | 1998-01-27 | Texas Instr Inc <Ti> | Intelligent power source switch and its control method |
JPH11243641A (en) * | 1998-02-24 | 1999-09-07 | Nec Corp | Apparatus and method for control of power supply |
JPH11272368A (en) * | 1998-03-23 | 1999-10-08 | Canon Inc | Information processor, power supply managing method and storage medium |
JP2003015780A (en) * | 2001-07-02 | 2003-01-17 | Seiko Epson Corp | Power source controller and power source control method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012133506A (en) * | 2010-12-21 | 2012-07-12 | Lenovo Singapore Pte Ltd | Computer with enhanced security and method for controlling power source |
JP5083476B1 (en) * | 2011-07-13 | 2012-11-28 | 三菱電機株式会社 | Numerical controller |
DE112011105434B4 (en) * | 2011-07-13 | 2020-02-13 | Mitsubishi Electric Corp. | Numerical control device |
WO2016121595A1 (en) * | 2015-01-28 | 2016-08-04 | 京セラドキュメントソリューションズ株式会社 | Power supply device and image processing device |
CN106687883A (en) * | 2015-01-28 | 2017-05-17 | 京瓷办公信息系统株式会社 | Power supply device and image processing device |
JPWO2016121595A1 (en) * | 2015-01-28 | 2017-08-10 | 京セラドキュメントソリューションズ株式会社 | Power supply apparatus and image processing apparatus |
CN106687883B (en) * | 2015-01-28 | 2020-01-21 | 京瓷办公信息系统株式会社 | Power supply device and image processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8032773B2 (en) | Power-saving control apparatus and method for computer system in standby mode | |
US9501291B2 (en) | Method and system for providing hybrid-shutdown and fast startup processes | |
US8055889B2 (en) | BIOS management device and method for managing BIOS setting value | |
US8887091B2 (en) | Information processing apparatus, method, processor, and recording medium for determining whether information stored in a memory is incorrectly updated | |
TWI436588B (en) | Setting method of power lock-up and electronic apparatus thereof | |
US20100064128A1 (en) | Method and system for restoring system configuration after disorderly shutdown | |
KR20000010174A (en) | Power control method and device of computer system using wake on lan signal | |
US8976380B2 (en) | Image forming apparatus that shifts to different power state, method of controlling the same, and storage medium | |
US6993670B2 (en) | Method of configuring a computer system capable of being woken up on LAN | |
JP2010049311A (en) | Information processing apparatus, pos terminal, and control method for forced termination | |
TW200842562A (en) | Method for judging a rebooting action of a computer system and related computer system | |
US9378441B2 (en) | Information processing apparatus, method for controlling the same, and program | |
JP2006301817A (en) | Information processor and control method | |
US20050268184A1 (en) | Method and apparatus for monitoring the power state of computer system | |
KR101494000B1 (en) | Method and system for power-on self testing after system off, and booting method the same | |
US7337338B2 (en) | Information handling system capable of operation in reduced power states | |
JP6691312B1 (en) | Information processing system, information processing device, and program | |
TWI483124B (en) | Computer system and the method of using the computer system | |
TWI720615B (en) | Computer device and shutdown and reboot controlling method thereof | |
WO2012126345A1 (en) | Computer startup method, startup apparatus, state transition method, and state transition apparatus | |
US8041846B2 (en) | Apparatus with reduced latency for master and slave storage devices | |
TWI489260B (en) | Stand-by management method and related management module and computer system | |
US7272731B2 (en) | Information handling system having reduced power consumption | |
JP2004094455A (en) | Computer system | |
US11181963B2 (en) | Information processing device and control method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100628 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100630 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100819 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110601 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110727 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120321 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120517 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20120822 |