JP4894114B2 - Information processing apparatus and information processing method - Google Patents

Information processing apparatus and information processing method Download PDF

Info

Publication number
JP4894114B2
JP4894114B2 JP2001272669A JP2001272669A JP4894114B2 JP 4894114 B2 JP4894114 B2 JP 4894114B2 JP 2001272669 A JP2001272669 A JP 2001272669A JP 2001272669 A JP2001272669 A JP 2001272669A JP 4894114 B2 JP4894114 B2 JP 4894114B2
Authority
JP
Japan
Prior art keywords
state
software
information processing
processing apparatus
hardware
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.)
Expired - Fee Related
Application number
JP2001272669A
Other languages
Japanese (ja)
Other versions
JP2003084870A (en
Inventor
秀典 山地
淳 鈴木
周孝 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2001272669A priority Critical patent/JP4894114B2/en
Publication of JP2003084870A publication Critical patent/JP2003084870A/en
Application granted granted Critical
Publication of JP4894114B2 publication Critical patent/JP4894114B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は所要のデバイスを具備し、ソフトウエアを伴う処理によって各種の動作が実現される情報処理装置と、そのような情報処理装置などにおける情報処理方法に関し、特に各種デバイスに対して強制的な処理を施す場合に有効な情報処理装置と情報処理方法に関する。
【0002】
【従来の技術】
パーソナルコンピューターや、携帯端末などの各種情報処理装置においては、その情報処理のネットワーク化が進展し、ISDN回線、ADSL回線、光ファイバーなどの有線によるLAN(ローカルエリアネットワーク)の形成に加え、無線での通信も考慮されてきており、家庭内LANの構築の際や、出張先、移動中などの場合、特に無線での交信能力が重要視されるようになりつつある。また、プリンターやスキャナーなどの所謂周辺機器も、ネットワークの一部として機能することが要求されつつあり、このような周辺機器もそれぞれ情報処理装置としてネットワーク化のためのデバイスを具備するようになってきている。
【0003】
無線での通信を行うためのシステムとしては、種々のものが提案されてきており、ワイヤレスLAN用に使用できる高速通信が可能なIEEE802.11b方式のデバイスを内蔵或いはオプションとして付加できる情報処理装置や、スペクトラム拡散通信技術を採用した近距離無線の規格である所謂Bluetooth(商標、規格名)などのデバイスを搭載或いは付加できる情報処理装置などは既に市販されている。
【0004】
ところで、情報処理装置の本体では、通常、ソフトウエア上で電源をオフに操作することで、装置全体の電源を落とすことができる。例えばパーソナルコンピューターなどの機器の場合、装置のハードウェアに対して、ソフトウェアとしてのOSや各種アプリケーションが組み込まれ必要に応じて起動するように構成されているが、例えばマイクロソフト社のウインドウズ(商品名)の場合、電源をオフにする際はウインドウズの画面でのツールバーなどから展開する終了部分をクリックすることで、終了のための手順が進められ、装置全体の電源がオフとなる。この場合の終了操作は、コンセントから電源ケーブルを抜いてしまったのと同じ完全停止状態であるメカニカルオフ、或いは他のデバイスからの指令でパーソナルコンピューターが起動できるように起動を促す信号(ウェイクアップ信号)だけ受け取るソフトオフなどの状態を形成するための操作となる。最近のパーソナルコンピューターでは、本体正面の電源スイッチを切っても実際にはソフトオフで、本体の横や裏に別途、給電を完全に止めるメカニカルオフ用のスイッチが付いていることも多く、さらにはそのようなスイッチのない製品も知られる。
【0005】
【発明が解決しようとする課題】
パーソナルコンピューターや携帯電話のような情報処理装置では、特に電波の発信源となることから、状況に応じて急に無線デバイスをオン状態からオフ状態に変化させる必要がある。例えば、飛行機の離着陸時や、施設内でペースメーカーの使用者が来た場合などである。このような無線発信を急に停止させる方法の1つとしては、コンセントから電源ケーブルを引き抜くのと同様に、電源スイッチやリセットボタンを操作したりする方法があり、例えば電源スイッチを操作する装置では、通常の操作と区別するために、例えば4秒から5秒程度押し続けることでソフトオフの状態に遷移させることができる。
【0006】
ところが、このような強制的なスイッチ操作で電源をオフする場合では、OSが途中で処理を中止する形とならざるを得ないことから、OS自身のハングアップの問題が発生したり、無線デバイスが正常に動作しなくなったりする。次回の電源投入時には、前回に正常なオフがなされなかったとして、ハードディスクの自己チェックをかけたりすることもあり、不安定な処理となってしまう。
【0007】
強制的な操作によって電源を切るのではなく、無線デバイスをOS上のデバイスドライバーでDisable(使用不可或いは無効化)処理して、処理が行えない状態に遷移させることも可能である。このような処理は、例えばウインドウズの場合では、デバイスマネージャのところで対象となるデバイスのプロパティのところに、使用不可にする選択枝があり、この使用不可とするチェックボックスにチェックを入れれば、対象となるデバイスが使用不可状態に遷移する。
【0008】
ところが、ソフトウエア上の論理的な構造が破綻している場合、すなわち対象となるデバイスについてのシステムに異常が見られる場合、簡単には使用不可状態に遷移させることが困難な場合がある。
【0009】
そこで、本発明は上述の技術的な課題に鑑み、対象となるシステムが正常な場合や異常な場合のいかんを問わずに、対象デバイス等の状態の遷移を論理の整合性を失わずに確実に行うことができる情報処理装置とそのような情報処理装置等で実現される情報処理方法を提供することを目的とする。
【0010】
【課題を解決するための手段】
上述の課題を解決するため、本発明の情報処理装置は、無線発信機構を含むハードウエアの状態を遷移させる命令を検出し、検出された命令に基づいてハードウエアの状態を遷移させる制御手段を備え、制御手段は、強制的にハードウエアの状態を遷移させる前に、ソフトウエアによるハードウエアの状態遷移を試行し、ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的にハードウエアの状態を遷移させ、ソフトウエアから正常に動作していることが通知された場合、待機時間のカウントダウンを停止する。
【0011】
ハードウエアの状態を変化させる命令を実行する場合としては、変化させる命令の対象としては、ハードウエアについての如何なる状態をも含むものであり、具体的な例示としてはデバイスの電源をオフやオンにする場合などが挙げることができる。ソフトウエアによる当該ハードウエアの状態遷移は、種々の手法によって達成できるものであるが、主にソフトウエア主導の状態遷移を指し、一例としては、OS又はユーティリティによる使用不可状態への制御を挙げることができる。本発明では、ソフトウエア主導の状態遷移が、強制的な状態遷移の制御に先行するため、試行を繰り返す内にハードウエアの状態を変化させることができればソフトウエア主導の状態遷移だけで、所望の状態遷移が完結し、システムの異常な終了状態を回避することができる。また、ソフトウエア主導の状態遷移は試行を繰り返すものであることから、ソフトウエア主導の状態遷移では困難である場合には、ハードウエア側の強制的な状態遷移を行って処理を完結させることができる。
【0012】
本発明の他の情報処理装置は、無線発信機構を含む対象デバイスの状態を遷移させる命令を検出し、検出された命令に基づいて対象デバイスの状態を遷移させる制御手段を備え制御手段は、対象デバイスを強制的に状態遷移させる前に、対象デバイスに関連するソフトウエアによる状態遷移を試行し、ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的に対象デバイスを状態遷移させ、ソフトウエアから正常に動作していることが通知された場合、待機時間のカウントダウンを停止する。
【0013】
本発明の情報処理装置においては、対象デバイスは、当該情報処理装置の全部若しくは一部であり、ソフトウエアによる対象デバイスの状態遷移が強制的な状態遷移の前に行われる。従って、例えばOS又はユーティリティ上の対象デバイスの状態遷移が先行して行われるが、そのOS又はユーティリティ上の対象デバイスの状態遷移が不成功の時には強制的な状態遷移が進められ、目的とする処理を完結できる。
【0014】
前記制御手段は、単一の操作により複数の対象デバイスの状態を並行して遷移させることができる。
【0015】
本発明の情報処理装置によれば、例えば単一の操作が排他的に作動する複数のデバイスを対象とする場合に使用することができ、その場合には複数のデバイスの内の1つのデバイスを有効化し、他のデバイスを無効化する処理を円滑に進めることができる。
【0017】
また、本発明の情報処理方法は、無線発信機構を含む対象デバイスの状態を遷移させる命令を検出する検出手順と、検出手順の処理により検出された命令に基づいて対象デバイスの状態を遷移させる制御手順とを含み、制御手順の処理は、対象デバイスを強制的に状態遷移させる前に、対象デバイスに関連するソフトウエアによる状態遷移を試行し、ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的に対象デバイスを状態遷移させ、ソフトウエアから正常に動作していることが通知された場合、待機時間のカウントダウンを停止する。
【0018】
本発明の情報処理方法では、ソフトウエアによる対象デバイスの状態遷移が強制的な状態遷移の前に行われることから、例えばOS又はユーティリティ上の対象デバイスの状態遷移が先行して行われるが、そのOS又はユーティリティ上の対象デバイスの状態遷移が不成功の時には強制的な状態遷移が進められ、目的とする処理を完結できる。
【0019】
【発明の実施の形態】
本発明の好適な実施形態について図面を参照しながら説明する。本実施形態の情報処理装置はパーソナルコンピューターの例であり、特に無線デバイスとして、所謂Bluetooth方式のようなスペクトラム拡散近距離通信と、ワイヤレスLAN用通信とが可能なパーソナルコンピューターである。
【0020】
本実施形態の要部のソフトウエア・ハードウエア構成図を図1に示す。まず、ハードウエアの構成として、ハードウエアの状態に関する制御に応じて開閉操作されるスライドスイッチ14が制御デバイス11に接続され、その制御デバイス11からの信号を受けて作動する対象デバイス12、13が設けられている。これら対象デバイス12、13は、如何なるデバイスでも良いが、特に、これらの対象デバイス12、13を、後述するようにスペクトラム拡散近距離通信モジュールとワイヤレスLANモジュールとすると、良好な無線電波の制御が実現される。対象デバイス12、13の他の例としては、モデム、キーボード、カメラ、フレキシブルディスク、ハードディスク、スキャナー、プリンタ、FAX、CD-ROM読取り装置、リムーバブルメディアデバイス、サウンドコントローラー、ビデオコントローラー、ゲームコントローラー、ディスプレイ、マウス、USBポート、ネットワークカード、PCMCIAカード、その他のI/Oデバイス、ポート、赤外線ポート、電池など種々の取り付け可能或いは内蔵される種々のデバイスが該当する。
【0021】
このようなハードウエア側の構成に対応してソフトウエア側の構成が存在する。ソフトウエア側の主な構成は、それぞれの対象デバイス12、13と制御デバイス11に対応するように、各デバイスドライバー16、17、15が設けられ、それらデバイスドライバー16、17、15がユーティリティー18のプログラムによって制御される。このユーティリティー18は起動された時にCPU上で動作する。
【0022】
図4はソフトウエア及びハードウエアの階層構造を示す図であり、ハードウエア上にはOSが存在し、そのOS上にアプリケーションとミドルウェアの組み合わせからなるレイヤーが形成される。本発明ではユーティリティーがアプリケーションに相当し、デバイスドライバーとユーティリティーの一部がミドルウェアのレイヤーに相当する。デバイスドライバーは、使用不可にする制御がデバイスマネージャなどのGUIから可能な構成になっており、本実施形態では、ユーティリティーからの命令をOS経由で受け取ってデバイスの無効化(停止)処理をすすめることができる。
【0023】
図2はハードウエアの要部構成を示すブロック図であり、図3はその要部構成についてのチップセットに対応したブロック図である。図2において、ソフトウエアを扱うCPU21と埋め込み制御デバイス(Embedded Controller)22の間にはバスラインが形成され、埋め込み制御デバイス22はCPU21からの信号に応じて作動すると共にCPU21に対しても信号を送れるように構成されている。スライドスイッチ23は直接埋め込み制御デバイス22に信号を送れるように構成されており、この埋め込み制御デバイス22に制御される対象デバイスとして、スペクトラム拡散近距離通信モジュール24とワイヤレスLANモジュール25が接続されている。
【0024】
この構成から、スライドスイッチ23を操作した場合には、埋め込み制御デバイス22にスライドスイッチ23を操作した旨の信号が送られ、埋め込み制御デバイス22からCPU21に対してソフトウエア主導の処理が進められると共に、該ソフトウエア主導の処理が不成功の場合、当該埋め込み制御デバイス22からスペクトラム拡散近距離通信モジュール24やワイヤレスLANモジュール25を強制的に不作動にさせる信号が送られる。この強制的に不作動にさせる信号の一例としては、各デバイスに供給される電源をオフに制御する信号や出力段のアンプをオフにする信号などが挙げられるが、他の手法や手段を用いることも可能である。
【0025】
図3は図2の構成のハードウエアをチップセット等を含めて図示したブロック図であり、この図3ではスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36のオンオフを制御するように構成されている。
【0026】
CPUとノースブリッジのセット31には、バス33を介してサウスブリッジ32が接続され、また、周辺機器に対する制御を扱うサウスブリッジ32には、スペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36のオンオフを制御する埋め込み制御デバイス34がバスを介して接続されている。
【0027】
スペクトラム拡散近距離通信モジュール35は、スペクトラム拡散近距離通信用の信号処理を行うモジュールであり、一例としてはRF用LSIとベースバンド用LSIの組み合わせからなるチップセット等を有するが、回路構成は特に限定されるものではない。このスペクトラム拡散近距離通信モジュール35には、外付けのアンテナ39が接続され、例えば2.4GHz帯の帯域を利用した通信が可能となる。このスペクトラム拡散近距離通信モジュール35はパーソナルコンピューターに内蔵のものでも良く、オプションとして搭載されるカード、スティック或いはデバイスなどであっても良い。このスペクトラム拡散近距離通信モジュール35の電源供給側には、電源スイッチ37が接続されており、この電源スイッチ37は埋め込み制御デバイス34からの信号により開閉制御される。前述のサウスブリッジ32は、バス41を介してスペクトラム拡散近距離通信モジュール35に接続され、通信されるデータの転送を行う。
【0028】
このスペクトラム拡散近距離通信モジュール35と共に設けられているのが、ワイヤレスLANモジュール36であり、主にIEEE802.11bやこれに順ずるような規格の通信を取り扱う。このワイヤレスLANモジュール36は無線アンプ(即ちRF出力スイッチ)38を介してアンテナ40に接続するように構成されており、また、バス42を介してノースブリッジやサウスブリッジ32に接続するように構成されている。無線アンプ38は、アンテナ40に対する出力をオンオフ制御するスイッチであり、埋め込み制御デバイス34からの信号により開閉制御される。なお、ワイヤレスLANモジュール36は、例えばカードバスを介して接続されるデバイスであり、USB(Universal Serial Bus)接続の場合とは異なって電源をオフにする場合には、所要の手順が必要とされる。
【0029】
埋め込み制御デバイス34は、スペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36のオンオフを制御する制御器であり、特にスペクトラム拡散近距離通信モジュール35の制御には、電源スイッチ37のオンオフを制御することで、当該スペクトラム拡散近距離通信モジュール35の作動・不作動を制御する。また、ワイヤレスLANモジュール36を制御する場合には、その出力側である無線アンプ38のオンオフを制御する。このワイヤレスLANモジュール36の制御は、厳密にはワイヤレスLANモジュール36自体の電源制御ではなく、その一部のオンオフ制御に過ぎないが、無線電波を抑制すると言う点では、同様の効果を得ることができ、ワイヤレスLANモジュール36の全体を制御する場合に比べてシステムの安定化を図ることができる。
【0030】
ここで本実施形態における埋め込み制御デバイス34による制御について列挙すると、先ず、第1にスライドスイッチ43の状態が変化した時に、ユーティリティーに対しスライドスイッチ43の状態を通知する制御があり、第2にデバイス即ちスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36の電源のオンオフあるいは、スペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36若しくはこれらの関連周辺デバイスに対しハードウェア的に電波の発信の許可・非許可の処理を行う制御がある。また第3の制御としてはスライドスイッチ43の状態がオン状態時にデバイス電源のオンオフや電波の発信の許可・非許可をユーティリティーから変更できるようにする制御がある。また、第4にスライドスイッチ43がオン状態からオフ状態へ変化し、ある時間、ユーティリティーから反応がない場合(ユーティリティーやOSやドライバー等の異常等)、デバイスの電源をオフにしハードウェア的に電波の発信を非許可にする処理を行う制御があり、これはスライドスイッチ43がオン状態からオフ状態に遷移した時にペンディング(pending)状態を設ける機構に該当する。第5の制御として、ペンディング状態(前述の第3の制御)時、ペンディング時間計測のためのカウンターが動作中であっても、ユーティリティーからカウンターの値を変更できるようにする制御があり、更に第6の制御としてOSやドライバー等の論理的な矛盾を考慮しなくて良いデバイス・操作である場合、スライドスイッチのオンオフに同期して電波の発信の許可・非許可を行う制御が挙げられる。ペンディング時間計測のためのカウンターはペンディングカウンターと呼ばれ、或る値にプリセットされるカウンター値を減少させ、カウンター値が例えばゼロになったところでペンディング動作を終了させる機能を有する。なお、ここで列挙した各制御は、例示に過ぎず、対象デバイスの数や種類などの要因に応じて適宜変更し得るものである。
【0031】
このような制御動作を行う埋め込み制御デバイス34は、ソフトウエアであるユーティリティーとの協働した制御を行う。特に本実施形態では、ユーティリティーは対象デバイスとの関連で次の制御を行う。その第1の制御は、埋め込み制御デバイス34からのスライドスイッチ43の状態変化通知に対し、埋め込み制御デバイス34に対し処理を依頼するものである。
【0032】
埋め込み制御デバイス34に対する処理として、スライドスイッチ43がオン状態からオフ状態に変化した時は、先ず、埋め込み制御デバイス34による強制的なオフ処理を保留するため、ペンディングカウンターの更新命令を発行する。次に、目的のデバイス、ここではスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36に対してOS経由でスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36の無効(停止)化処理を行う。もし無効化処理中に、埋め込み制御デバイス34のペンディング時間の残り時間が少なくなった場合、再度、埋め込み制御デバイス34に対してペンディングカウンターの更新命令を発行する。このような場合は、論理の破綻なく無効化処理が進んでいる状態を意味しており、ソフトウエアであるユーティリティーの処理を先行させることで、強制的なオフ処理が最小限に留めることができ、論理矛盾などの発生を防止できる。無効化処理が不成功に終わった場合、埋め込み制御デバイス34に対し、目的のデバイスの電源をオフにする命令を発行する。前述のスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36が対象デバイスである場合には、電源スイッチ37のオンオフを制御することで、当該スペクトラム拡散近距離通信モジュール35の作動・不作動が制御され、ワイヤレスLANモジュール36を制御する場合には、その出力側である無線アンプ38のオンオフが制御される。ユーティリティーからの埋め込み制御デバイス34に対する信号によって、これら電源スイッチ37と無線アンプ38の制御が行われる。
【0033】
埋め込み制御デバイス34に対する処理として、スライドスイッチ43がオフ状態からオン状態に変化した時は、先ず、埋め込み制御デバイス34に対し、目的のデバイスの電源をオンにする命令を発生させる。ここでスライドスイッチ43がオフ状態からオン状態に変化した時にペンディング状態を適用していない理由は、オンオフの繰り返しを連続で短期間に行った時に、論理的不整合が発生することが事前に分かっており、かつ、一方、特に、オン状態からオフ状態に変化した時にペンディング機構を入れれば、論理的不整合の問題が発生しないことが分かっているためである。なお、オン状態に遷移する時に問題が発生する構成の場合は、オン状態に遷移する時にペンディング機構を入れることも可能である。
【0034】
ユーティリティーの機能としては、前述のような埋め込み制御デバイス34に対する処理に加えて、単一のスライドスイッチ43よる複数デバイスの管理システムとしても機能する。このような複数デバイスの管理システムとして構成できる例としては、前述のスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36を例示できる。これらのスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36は同じ周波数帯域を使用するために、同時に使用すると通信の質が低下し、通信が切断されたり、本来の性能を発揮することができなくなったりする。そこで排他的に作動させることで、通信の質の低下を防止できる。このようなユーティリティーからの制御を本実施形態では、ユーザーに対するGUI(Graphical User Interface)の提供を伴って行うが、この部分について後述する。
【0035】
次に、図5を参照して、システム全体としての処理について説明する。この図5の流れは、本実施形態の情報処理装置の動作の概略を示したものであり、後述の図7の流れ図はその詳細な手順までを含めて示したものとなっている。また、図6は埋め込み制御でデバイスの定期処理を示すフローチャートである。
【0036】
先ず、本実施形態の情報処理装置であるパーソナルコンピューターは、図5の状態S11で示すように当初スライドスイッチの監視状態にあり、スライドスイッチの状態がオンからオフへと遷移するのを常時検出している。ここでスライドスイッチがオンからオフへと変化した場合(r11)、その変化の信号がスライドスイッチから埋め込み制御デバイス34に送られ、ユーティリティー(System)にその変化が通知される。すると、当該情報処理装置は試行状態に遷移し(状態S12)、そこでソフトウエア手法による無効化を試みる。この時、論理的な整合性が維持される形でソフトウエア手法による無効化が可能である場合には、その処理時間を延長する制御を加えることが可能である。
【0037】
ソフトウエア手法による無効化が成功した場合(r12)、元のスライドスイッチの監視状態(状態S11)に戻り次のスライドスイッチの変化を待つことになる。逆にソフトウエア手法による無効化が失敗した場合(r13)、強制的に対象デバイスの電源をオフに変化させることが行われる(状態S13)。この場合は、種々の電源管理手法を用いることが可能であり、例えば対象デバイスのモジュール全体の電源を強制的にオフにする方法や、一部の出力段にかかわる部分だけを強制的に不活性状態にさせるなどの手法が用いられる。このような状態S13を経て状態遷移の処理が完了し(r14)、元のスライドスイッチの監視状態(状態S11)に戻って再度のスライドスイッチの変化の待機モードに入る。
【0038】
次に、このような図5の流れと対応する埋め込み制御デバイスの定期処理について、図6を参照しながら説明する。埋め込み制御デバイスはスライドスイッチがオン状態からオフ状態に変化させられた時に、初めにソフトウエア主導の無効化処理を進めるように機能する。そのソフトウエア主導の無効化処理が失敗した際には、確実なハードウエアでの電源オフ作業が進められる。
【0039】
具体的には、埋め込み制御デバイスは、定期的なタイマー割込を実行するように構成されていて、その割り込みルーチンが図6に示される。先ず手順S21で、埋め込み制御デバイスはスライドスイッチの状態が変化したか否かを検知し、NOの場合、手順S25に進んでスライドスイッチの状態を判断する。もし、スライドスイッチがOFF状態であれば、手順S26で電源をOFFにする場合の処理が行われ、逆にスライドスイッチがON状態であればそのまま割り込み処理を終了する。すなわち、スライドスイッチがOFF状態の時に電源をOFFにする場合の処理をすることで、ソフトウエア主導の電源をオフにする処理が先行して行われ、このソフトウエア主導の処理が失敗した場合に、ハードウエアによる強制的に電源をオフにする制御が行われる。
【0040】
手順S21で埋め込み制御デバイスがスライドスイッチの状態が変化したか否かを検知した結果、YESの場合、手順S22に進み、スライドスイッチの状態を判断する。もし、スライドスイッチがON状態であれば、手順S23に進んでスライドスイッチがON状態になったことをユーティリティ(System)に通知する。逆に、スライドスイッチがOFF状態であれば、手順S24に進んでスライドスイッチがOFF状態になったことをユーティリティに通知する。ここで通知されたスライドスイッチの内容は、ペンディング機構を使用するか否かの指示をユーティリティから発する時に使用される。
【0041】
埋め込み制御デバイスが以上の如き処理を割り込みの形で行うことで、スライドスイッチの状態が変化した場合に、ソフトウエア主導の電源オフ制御を強制的な電源オフに先行する形で進めることができる。
【0042】
図7は本実施形態の情報処理装置の動作の詳細な手順までを含めて示した図であり、図5の状態遷移図をより具体化して示す図である。この情報処理装置の動作は、パーソナルコンピューターの電源をオフに制御させる場合の状態遷移図である。図7において、デバイスは例えば図3に示すスペクトラム拡散近距離通信モジュール35やワイヤレスLANモジュール34に該当する。
【0043】
先ず、情報処理装置であるパーソナルコンピューターの取り得る状態として、ノーティファイ(NOTIFY)状態(S31)、ペンディング(PENDING)状態(S32)、フォースオフ(FORCE OFF)状態(S33)、及びオールレディオフ(ALREADY OFF)状態(S34)の4つの状態があり、パーソナルコンピューターはこれら4つの状態の間を遷移して作動し、論理的な矛盾やOSのハングアップを回避しながら、電源をオフに遷移させることができる。
【0044】
詳しくは、ノーティファイ状態(S31)では、CPU31上でユーティリティ(System)として実行されるペンディングカウンターの設定が行われるとともに、スライドスイッチの状態の通知が行われる。これはスライドスイッチの状態に応じて、ソフトウエア主導の処理をするか否かが決められるためである。
【0045】
このノーティファイ状態から対象デバイスがオフの場合(r35)、オールレディオフ状態(S34)に遷移する。このオールレディオフ状態(S34)は、スライドスイッチの状態に拘らず、電源が既にオフとなっている状態を示しており、この場合にはカウンターを使用することもないことから、そのカウンター値がゼロにセットされる。オールレディオフ状態(S34)でスライドスイッチがオフに変化した時(r36)は、スライドスイッチの状態をユーティリティに通知するノーティファイ状態(S31)に戻ることになる。
【0046】
ノーティファイ状態から対象デバイスがオンの場合(r31)、パーソナルコンピューターはペンディング状態(S42)に入る。ペンディング状態は、前述のペンディングカウンターを減算しながら、処理を進める状態であり、ソフトウエア主導の電源オフ制御を行う場合、ペンディングカウンターを減算しながらゼロに至る期間は、ソフトウエア主導の電源オフ制御(r34)がハードウエア上の強制的な電源オフ制御に先行して処理される。具体的には、ペンディングカウンターを減算しながらの処理(r32)が時間待ち処理と同様に機能し、システムが正常な場合、カウンター値の更新がなされて、ペンディング時間が延長となる。
【0047】
システムが正常でない場合、ペンディングカウンターがゼロに至って(r33)からフォースオフ状態(S33)に遷移する。このフォースオフ状態(S33)では電源のオフ状態の制御が強制的に行われる。この制御は、対象となるデバイスが、例えば図3に示す構成の場合では、スペクトラム拡散近距離通信モジュール35の制御に電源スイッチ37のオンオフが制御され、ワイヤレスLANモジュール36の制御に無線アンプ38のオンオフが制御されて実行される。なお、このようなデバイスに対する電源の制御は一例に過ぎず、デバイス毎に最もデバイスやシステムに負担の少ない形で制御を行えば良く、ソフトウエアのハングアップの度合いや、システムの余裕などを見越してハードウエアに対する制御を変えることも可能である。フォースオフ状態(S33)からはオールレディオフ状態(S34)に遷移する。
【0048】
前述のソフトウエア主導の電源オフ制御(r34)の一例としては、OSがウインドウズの場合ではデバイスマネージャの各デバイスのプロパティを無効化(使用付加)とするような制御である。このような制御は、OSのハングアップ時や論理的な矛盾などの異常時には、その困難な処理であるが、正常時には時間がかかることがあっても、論理的な整合性を保持したまま処理を完結させることができる。
【0049】
上述のように、本実施形態の情報処理装置における状態遷移として、電源をオフにする制御をする場合、埋め込み制御デバイス(Embedded Controller)とユーティリティー(Utility)の協働的な実行で処理が進められる。ここでスライドスイッチがオフからオンに制御される場合の処理、スライドスイッチがオンからオフに制御される場合(正常時)の処理、及びスライドスイッチがオンからオフに制御される場合(異常時)の処理について処理の順を追って説明する。
【0050】
スライドスイッチがオフからオンに制御される場合には、まず、埋め込み制御デバイスは接続されるスライドスイッチからの信号によって、当該スライドスイッチがオフ状態からオン状態に変化したことを検出し、システム側(CPU)であるユーティリティにスライドスイッチがオフ状態からオン状態に変化したことを通知する。この通知を受けてユーティリティは、埋め込み制御デバイスに対してデバイス電源をオン状態に制御するように信号を送る。この信号を受け、埋め込み制御デバイスは該当するデバイスの電源をオン状態となるように切り替えて制御する。
【0051】
次に、スライドスイッチがオンからオフに制御される場合(正常時)には、埋め込み制御デバイスは接続されるスライドスイッチからの信号によって、当該スライドスイッチがオン状態からオフ状態に変化したことを検出し、システム側(CPU)であるユーティリティにスライドスイッチがオン状態からオフ状態に変化したことを通知する。ユーティリティはこのスライドスイッチがオン状態からオフ状態に変化した旨の通知を受信する。この段階で、埋め込み制御デバイスはペンディング状態に入り、先ずペンディングカウンターの値を初期化して所定の値にセットする。セットされたカウンター値は所定数ずつ減算され、カウンターがオフ状態となるまで又はゼロとなるまでカウントダウンされる。このカウントダウンの終了時において、まだ、OS経由でデバイスの無効化処理が終わっていない場合には、ペンディングカウンターの値を更新させてペンディング時間を延長させる。このような時間的に融通の利く処理によって、対象となるデバイスの無効化を図ることができ、論理的な整合性を維持できる。ユーティリティは、デバイスの無効化を行った後、該デバイスにかかる電源をオフに制御するように指示を埋め込み制御デバイスに対して発し、埋め込み制御デバイスはその指示に応じてデバイス電源をオフにするように制御を行う。これにより、対象とされたデバイスはオフにされ、電源をオフにするという処理は終了する。
【0052】
次に、スライドスイッチがオンからオフに制御される場合(異常時)には、先ず埋め込み制御デバイスは接続されるスライドスイッチからの信号によって、当該スライドスイッチがオン状態からオフ状態に変化したことを検出し、システム側(CPU)であるユーティリティにスライドスイッチがオン状態からオフ状態に変化したことを通知する。埋め込み制御デバイスは同様にペンディング状態に入り、先ずペンディングカウンターの値を初期化して所定の値にセットし、セットされたカウンター値は所定数ずつ減算され、カウンターがオフ状態となるまで又はゼロとなるまでカウントダウンされる。このとき、ユーティリティ即ちシステムが異常事態である場合、その通知自体を受信できないなどの問題や、埋め込み制御デバイスに対して指示できない、或いはデバイスの処理中にシステム自体が異常になるというような問題が生じた場合では、カウントダウンされてゼロになった後でも、そのペンディングカウンターの値が更新されずに終わることになる。その結果、埋め込み制御デバイスは強制的に対象デバイスをオフに制御して、電源をオフにする。この制御によって、デバイスに異常が発生した場合であっても確実に電源をオフできることになる。
【0053】
次に、他の実施形態の情報処理装置について、図8を参照しながら説明する。この図8の情報処理装置は埋め込み制御デバイスに対しユーティリティ(System)が正常に動作していることを通知することにある。この通知は、具体的には、埋め込み制御デバイスに対しアクナリッジメントを返すように構成されている。なお、ハードウエアの構成は先の実施形態のものと同様であり、図3の構成であることを前提に説明する。
【0054】
初めに、本実施形態における埋め込み制御デバイスによる制御は、ハードウエアの構成が図3の構成であるとすると、第1にスライドスイッチ43の状態が変化した時に、ユーティリティーに対しスライドスイッチ43の状態を通知する制御があり、第2にデバイス即ちスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36の電源のオンオフあるいは、スペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36若しくはこれらの関連周辺デバイスに対しハードウェア的に電波の発信の許可・非許可の処理を行う制御がある。第3の制御としてはスライドスイッチ43の状態がオン状態時にデバイス電源のオンオフや電波の発信の許可・非許可をユーティリティーから変更できるようにする制御がある。また、第4にスライドスイッチ43がオン状態からオフ状態へ変化し、ある時間、ユーティリティーから反応がない場合(ユーティリティーやOSやドライバー等の異常等)、デバイスの電源をオフにしハードウェア的に電波の発信を非許可にする処理を行う制御があり、これはスライドスイッチ43がオン状態からオフ状態に遷移した時にペンディング(pending)状態を設ける機構に該当する。第5の制御としてペンディング状態(前述の第3の制御)時に、アクナリッジメント(Acknowledgement)が通知された場合、カウンターの値を一定の値に更新する制御や、ペンディング状態からウエイト(Wait)状態に遷移させる制御があり、更に第6の制御としてOSやドライバー等の論理的な矛盾を考慮しなくて良いデバイス・操作である場合、スライドスイッチのオンオフに同期して電波の発信の許可・非許可を行う制御が挙げられる。なお、ここで列挙した各制御は、例示に過ぎず、対象デバイスの数や種類などの要因に応じて適宜変更し得るものである。
【0055】
このような制御動作を行う埋め込み制御デバイス34は、ソフトウエアであるユーティリティーとの協働した制御を行う。特に本実施形態では、ユーティリティーは対象デバイスとの関連で次の制御を行う。その1つは埋め込み制御デバイス34からのスライドスイッチ43の状態変化通知に対し、埋め込み制御デバイス34に対し処理を依頼するものである。
【0056】
埋め込み制御デバイス34に対する処理として、スライドスイッチ43がオン状態からオフ状態に変化した時は、先ず、埋め込み制御デバイス34による強制的なオフ処理を保留するため、アクナリッジメントを埋め込み制御デバイス34に対して発行する。次に、目的のデバイス、ここではスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36に対してOS経由でスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36の無効(停止)化処理を行う。もし無効化処理中に、埋め込み制御デバイス34のペンディング時間の残り時間が少なくなった場合、再度、埋め込み制御デバイス34に対してアクナリッジメントを発行し、システムが正常でユーティリティが無効化処理中であることを通知する。このような場合は、論理の破綻なく無効化処理が進んでいる状態を意味しており、ソフトウエアであるユーティリティーの処理を先行させることで、強制的なオフ処理が最小限に留めることができ、論理矛盾などの発生を防止できる。無効化処理が不成功に終わった場合、埋め込み制御デバイス34に対し、目的のデバイスの電源をオフにする命令を発行する。前述のスペクトラム拡散近距離通信モジュール35とワイヤレスLANモジュール36が対象デバイスである場合には、電源スイッチ37のオンオフを制御することで、当該スペクトラム拡散近距離通信モジュール35の作動・不作動が制御され、ワイヤレスLANモジュール36を制御する場合には、その出力側である無線アンプ38のオンオフが制御される。ユーティリティーからの埋め込み制御デバイス34に対する信号によって、これら電源スイッチ37と無線アンプ38の制御が行われる。
【0057】
埋め込み制御デバイス34に対する処理として、スライドスイッチ43がオフ状態からオン状態に変化した時は、先ず、埋め込み制御デバイス34に対し、目的のデバイスの電源をオンにする命令を発生させる。ここでスライドスイッチ43がオフ状態からオン状態に変化した時にペンディング状態を適用していない理由は、前述の実施形態と同じである。なお、オン状態に遷移する時に問題が発生する構成の場合は、オン状態に遷移する時にペンディング機構を入れることも可能である。
【0058】
このような構成の本実施形態の情報処理装置は、原則的に図5の状態遷移の形態を取って動作する構成を有し、埋め込み制御デバイスは、図6に示す定期的なタイマー割込を実行するように構成されている。
【0059】
アクナリッジメントを利用して埋め込み制御デバイスを一時的に待機させる場合、すなわちウエイト動作させる場合では、図8に示す状態遷移を取るように構成される。この情報処理装置の動作は、パーソナルコンピューターの電源をオフに制御させる場合の状態遷移図である。図8において、デバイスは、先の実施形態と同様に、例えば図3に示すスペクトラム拡散近距離通信モジュール35やワイヤレスLANモジュール34に該当する。
【0060】
先ず、情報処理装置であるパーソナルコンピューターの取り得る状態として、ノーティファイ(NOTIFY)状態(S41)、ペンディング(PENDING)状態(S42)、フォースオフ(FORCE OFF)状態(S43)、オールレディオフ(ALREADY OFF)状態(S44)、及びウエイト(WAIT)状態(S45)の5つの状態があり、パーソナルコンピューターはこれら5つの状態の間を遷移して作動し、論理的な矛盾やOSのハングアップを回避しながら、電源をオフに遷移させることができる。
【0061】
詳しくは、ノーティファイ状態(S41)では、CPU31上でユーティリティ(System)として実行されるペンディングカウンターの設定が行われるとともに、スライドスイッチの状態の通知が行われる。これはスライドスイッチの状態に応じて、ソフトウエア主導の処理をするか否かが決められるためである。
【0062】
このノーティファイ状態から対象デバイスがオフの場合(r47)、オールレディオフ状態(S44)に遷移する。このオールレディオフ状態(S44)は、スライドスイッチの状態に拘らず、電源が既にオフとなっている状態を示しており、この場合にはカウンターを使用することもないことから、そのカウンター値がゼロにセットされる。オールレディオフ状態(S44)でスライドスイッチがオフに変化した時(r46)は、スライドスイッチの状態をユーティリティに通知するノーティファイ状態(S41)に戻ることになる。
【0063】
ノーティファイ状態から対象デバイスがオンの場合(r41)、パーソナルコンピューターはペンディング状態(S42)に入る。ペンディング状態は、前述のペンディングカウンターを減算しながら、処理を進める状態であり、ソフトウエア主導の電源オフ制御を行う場合、ペンディングカウンターを減算しながらの期間は、システム側からアクナリッジメントの通知が行われ、このアクナリッジメントの通知によりシステムが正常であることが埋め込み制御デバイスにも伝達されて、そこでペンディングカウンターのカウントダウンが停止することになるウエイト状態(S45)には入る。その結果、ソフトウエア主導の電源オフ制御(r45)がハードウエア上の強制的な電源オフ制御に先行して処理される。
【0064】
アクナリッジメントの通知がない場合には、ペンディングカウンターがゼロに至って(r43)からフォースオフ状態(S43)に遷移する。このフォースオフ状態(S43)では電源のオフ状態の制御が強制的に行われる。この制御は、対象となるデバイスが、例えば図3に示す構成の場合では、スペクトラム拡散近距離通信モジュール35の制御に電源スイッチ37のオンオフが制御され、ワイヤレスLANモジュール36の制御に無線アンプ38のオンオフが制御されて実行される。なお、このようなデバイスに対する電源の制御は一例に過ぎず、デバイス毎に最もデバイスやシステムに負担の少ない形で制御を行えば良く、ソフトウエアのハングアップの度合いや、システムの余裕などを見越してハードウエアに対する制御を変えることも可能である。フォースオフ状態(S43)からはオールレディオフ状態(S44)に遷移する。
【0065】
前述のソフトウエア主導の電源オフ制御(r44)の一例としては、OSがウインドウズの場合ではデバイスマネージャの各デバイスのプロパティを無効化(使用付加)とするような制御である。このような制御は、OSのハングアップ時や論理的な矛盾などの異常時には、その困難な処理であるが、正常時には時間がかかることがあっても、論理的な整合性を保持したまま処理を完結させることができる。
【0066】
次に、情報処理装置の一例として車両のブレーキ装置を対象とする場合の例について、図9を参照しながら説明する。上述の実施形態では、電源が切れる必要があるというデバイスに対する適用例について説明し、スライドスイッチのオン状態からオフ状態に遷移の動作に対して、ペンディング機構を設ける形態である。本実施形態は、その視点を変え、必ず電源が入る必要があるデバイスに対する適用例である、これは例えば車両のブレーキ装置のように、必ず働かなくてはいけないシステムへ適用できる。
【0067】
以下、スイッチ即ちブレーキペダルのオフ状態からオン状態に変化する時のシステム全体としての状態遷移は、以下の通り、図9に示される。図9に示すように、本実施形態の情報処理装置である車両のブレーキ装置は、図9の状態S51で示すように当初ブレーキペダルの監視状態にあり、ブレーキペダルが押し下げられるのを常時検出している。ここでブレーキペダルが押し下げられた場合(r51)、その変化の信号がブレーキペダルから制御デバイスに送られ、ユーティリティー若しくはソフトウエアにその変化が通知される。すると、当該情報処理装置は試行状態に遷移し(状態S52)、そこでインテリジェントブレーキシステムを用いたブレーキングを試みる。インテリジェントブレーキシステムを用いたブレーキングが成功した場合(r52)、元のブレーキペダルの監視状態(状態S51)に戻り次のブレーキペダルの変化を待つことになる。逆にインテリジェントブレーキシステムを用いたブレーキングが失敗した場合、すなわち故障などによって減速ができない場合(r53)、強制的に従来のブレーキング手法(NON-Intelligent)が試みられる(状態S53)。このような状態S53を経て状態遷移の処理が完了し(r54)、元のブレーキペダルの監視状態(状態S51)に戻って再度のブレーキペダルの変化の待機モードに入る
【0068】
次に、図10と図11を参照しながら、本発明をパーソナルコンピューター本体の電源に適用したときの実施形態を説明する。通常、ACPI(Advanced Configuration Power management Interface : パーソナルコンピューターの電源管理の規格)に準拠したパーソナルコンピューターであれば、電源ボタンを4秒間押すことで、パーソナルコンピューターの電源を強制的にオフにすることができる。また、電源ボタンを押した時の動作として、例えば、電源のオフを選択することができ、このとき、電源ボタンを一度押すと、電源オフが行われる。
【0069】
ところで、電源がオンの時に、アプリケーションが不正な処理を行ったり、インストールされているドライバー自身の出来が悪かったりすると、電源をオフにする処理が失敗することがあり、この場合、完全に電源がオフになる前に、反応が無くなる(hang up)ことがある。ユーザーの視点に立てば、終了時は確実に電源がオフになることが期待されていることから、本実施形態の有効利用を図ることができる。
【0070】
本実施形態では、装置の構成は図1の構造となり、図10にテーブルで示すように、図1の制御デバイスを埋め込み制御デバイス(Embedded Controller)とし、対象デバイスをパーソナルコンピューター本体の電源、ユーティリティをOSとそれぞれ読み替えることで適用できる。
【0071】
図11は本実施形態の状態遷移図である。先ず監視状態S61では、電源ボタンの押下が監視され、電源ボタンが押下れた(r61)場合には監視状態2(S62)に移行する。監視状態2では電源ボタンが押下され続けれているかが判断される。電源ボタン押すことが止められた場合(r62)では、通知状態S63に移行する。この通知状態S63においては、カウンターが設定され、電源ボタンが押し下げられていることが通知される。
【0072】
試行状態(S64)は、前述のカウンターを減算しながら、処理を進める状態であり、ソフトウエア主導の電源オフ制御を行う場合、カウンターを減算しながらゼロに至る期間は、OS主導の電源オフ制御(r64)がハードウエア上の強制的な電源オフ制御に先行して処理され、電源オフ処理(S66)に至り、そこでパーソナルコンピューター本体の電源がオフに制御される。
【0073】
システムが正常でない場合、カウンターがゼロに至って(r65)から強制処理状態(S65)に遷移する。また、4秒間連続して電源ボタンが押し下げられている場合(r66)も強制処理状態(S65)に遷移する。この強制処理状態(S65)では、IDEのリセット用の信号が発せられる。その後、電源オフ処理(S66)に至り、そこでパーソナルコンピューター本体の電源がオフに制御される(S67)。なお、OSは、埋め込み制御デバイスに対して、電源をオンからオフに制御する時に、終了プロセスの毎に、カウンターの更新命令を送れば良い。
【0074】
以上のように適用することにより、終了プロセスが中断(hang up)した際には、カウンターの更新命令が通知されないため、カウンターが減算しつづけ、ゼロになった時点で、電源がかならず終了するようになる。なお、強制終了時(S65)は、ハードディスクなど、強制的に電源をオフにすることにより、障害の発生する可能性のあるデバイスに対しては、強制終了前に、ハードウェア的な保証措置を行うことが好ましい。
【0075】
次に、図12、図13を参照して、複数のデバイスを並行して状態遷移させる場合に、選択的にデバイスを選ぶ機構について説明する。このような機構としては、同じ周波数帯域を使用する無線デバイスがある。例えば、無線LANとBluetooth(商標、規格名)は、同じ周波数帯域を用いる無線デバイスであり、同時に使用すると通信品質が低下し、通信が切断されたり、本来の性能が発揮できなくなったりする。故に、排他的な制御が必要になる。したがって、同時に使用することで弊害が生じる機器を搭載し、かつ、それらを切り替えるための機構・手順が必要である。このような処理においてはユーザーに対し有効なGUIを提供することが、ユーザーフレンドリであり、図12、図13に示すウインドウを表示させることが好ましい。図12は、画面51には、S拡散近距離通信用ボタン52、ワイヤレスLAN用ボタン53、これらの両用ボタン54が並べられており、ワイヤレススイッチをオンにした場合に有効にできる無線機器を当該画面51上で選択できる。グラフィック部分55はワイヤレススイッチがオンであることを示しており、図12のチェックボックス56にチェックが入ると、ワイヤレススイッチをオンに切り替えた場合に、この画面51(ダイアログ)が表示されることになる。また、画面51の下部には、このダイアログについてのOKボタン57、キャンセルボタン58、適用ボタン59が並び選択できるように構成されている。
【0076】
図13は、より簡素化された選択画面81であり、S拡散近距離通信用チェックボックスと、ワイヤレスLAN用チェックボックスが用意され、それらが選択できるように構成されている。
【0077】
このような図12、図13の如き選択画面で選択した機器を対象システムの記憶機構に保存する処理と、選択した機器を有効にし、他のデバイスを無効化する処理を進めることで、有効なデバイスの選択処理が進められる。他のデバイスを無効化する処理には、前述の如き論理的な矛盾の生じないようなプロセスが用いられる。
【0078】
次に図14を参照しながら、ユーティリティの処理中に電源ボタンを連続的に開閉操作された時の対処法について説明する。先ず、このような対処が必要となる情報処理装置について説明すると、電源状態や、有効・無効状態を即時に変更できない対象デバイスと、状態を制御するためのユーザーインターフェイスとしてのスライドスイッチなどとを具備する情報処理装置が該当する。このような情報処理装置においては、ユーザーが頻繁にスライドスイッチなどのオン状態とオフ状態を切り換える可能性があり、この時、即時に有効無効の状態を変更できないため、例えば、無効(オフ)化処理中に、有効(オン)化処理請求が発生する可能性がある。一般に、無効化処理中に有効化処理を行ったり、有効化処理中に無効化を行ったり、無効化処理中に対象デバイスの電源をオフにすることは、システムを不安定にさせる(ハングアップなど)の要因になってしまう。故に、以上のような情報処理装置においては、ある処理中に、他の処理をしないようにするための排他処理機構が必要であり、かつ、スライドスイッチの状態に同期するなどユーザーの処理要求に従う必要がある。
【0079】
本発明の情報処理装置は、このような問題にも対処可能であって、排他制御部と電源制御部と備えた構成であっても良い。電源制御部は、排他制御部からの指示に従って、ソフトウェア的試行(有効化・無効化処理)を行う処理と、デバイスドライバの有効・無効化処理などの時間のかかる処理の前後で処理中を示す「フラグ」をセット・クリアする処理と、電源のオン・オフ化の指示を制御デバイスに対して行う処理とを行う。また、排他制御部は、制御デバイスからのオン・オフ化指示を受信し電源制御部へ有効・無効化を通知する処理と、電源制御部によるフラグがセットされている間は電源制御部に対して有効・無効化を非通知とする処理と、フラグが立っていることを確認した時はフラグがクリアされるまでポーリング(定期的に監視)する処理と、フラグ」がクリアされたら、現在の対象デバイスの電源(有効・無効)状態とスライドスイッチの状態を比較し、矛盾するようであれば、再度、電源制御部へ通知し、ポーリングを終了する処理とを行う。なお、電源制御部自体は、前述の各実施形態にかかる情報処理装置に該当する。
【0080】
このような構成とすることで、フラグが立っている間は、電源制御部に対して状態変更の指示を行わないため、例えば、無効化処理中に有効化処理請求などの指示の衝突が発生しない排他制御を行うことができる。また、状態の変更が完了した時点で、電源状態を確認することで、ユーザーの意図に対する矛盾をも検出できる。
【0081】
図14は排他制御部と電源制御部を備えた構成の情報処理装置における処理の流れを示している。先ず、無線通信用アプリケーションで処理(デバイス探索やサービス検索など電源のオンオフに対応できない処理)を始める前にレジストリに処理中であるフラを設定する。電源ボタンであるスライドスイッチから開閉操作が排他制御部に通知されたら、排他制御部はレジストリをチェックし現在無線用通信アプリケーションが処理中かどうかを判別する。排他制御部は無線通信アプリケーションが処理中である場合、一定時間間隔でポーリングを開始する。ポーリング中、スライドスイッチからの事象はすべて排他制御部で受け取り、最後に通知された電源状態を保持しておく。 このため、無効化処理中に有効化処理請求などの指示の衝突が発生しない排他制御を行うことができる。無線用通信アプリケーションは処理が終了するとレジストリのフラグをリセットする。排他制御部はレジストリをポーリングしていて無線用通信アプリケーションの処理が終了したことが判別できると、ポーリングを開始したときの電源状態と現在の電源状態を比較し、異なっている場合は無線用通信アプリケーションに通知する。無線用通信アプリケーションは通知を受け取ると電源オンオフのための処理を開始する。 このように本実施形態では、通信アプリケーションの処理が終了した時に、電源状態を確認することから、ユーザーの意図を確実に把握することが可能である。
【0082】
なお、上述の実施形態においては、対象デバイスに対して状態の遷移を開始させるスイッチをスライドスイッチとして説明したが、他のスイッチなどでも良く、例えば位置情報を保持できるスイッチや、ロック機構付きのボタンスイッチなどでも問題なく使用することができ、さらにはインジケーター付(オン・オフを示す)の押しボタンスイッチなどを用いることもできる。
【0083】
【発明の効果】
上述の本発明によれば、対象となるシステムが正常な場合や異常な場合のいかんを問わずに、対象デバイス等の状態の遷移を論理の整合性を失わずに確実に行うことができる。また、本発明の情報処理装置、情報処理方法によれば少ない部品点数(スライドスイッチの数など)で、操作(無線機器のオンオフ制御)を共通化することができる。また、ソフトウェアによる「操作」とハードウェアによる強制「操作」の共存による「操作」の実行の保証されることから、不測の事態の時でもハードウェアによる操作が可能である。さらにシステムやユーティリティが正常であるとき、論理的な操作を行い、「操作」の実行を行うことができ、強制的な「操作」による論理的な不整合の発生を抑制できる。また、システムやユーティリティが異常であっても、強制的な操作により、「操作」の実行が保証される。
【0084】
以上より、一例として、飛行機、電車内など確実に電波の発信を停止したい時に、スライドスイッチをオフにすれば、システムの状態を問わず、確実に、電波の発信を停止できる。スライドスイッチなどの物理スイッチの操作によって、複数デバイスの操作を行うことができ、これらについても対象デバイス等の状態の遷移を論理の整合性を失わずに確実に行うことができる。
【図面の簡単な説明】
【図1】本発明の情報処理装置の一実施形態の要部のソフトウエア・ハードウエア構成図である。
【図2】本発明の情報処理装置の一実施形態のハードウエアの要部構成を示すブロック図である。
【図3】本発明の情報処理装置の一実施形態のハードウエアの要部構成についてのチップセットに対応したブロック図である。
【図4】ソフトウエア及びハードウエアの階層構造を示す階層図である。
【図5】本発明の情報処理装置の一実施形態の電源がオフに制御される場合のシステム全体の処理を示す状態遷移図である。
【図6】本発明の情報処理装置の一実施形態の埋め込み制御デバイスにおける割り込みルーチンを示すフローチャートである。
【図7】本発明の情報処理装置の一実施形態の電源がオフに制御される処理の具体的な例を示す状態遷移図である。
【図8】本発明の情報処理装置の一実施形態の電源がオフに制御される処理の変形例を示す状態遷移図である。
【図9】本発明にかかる車両のブレーキ装置の一実施形態の処理の具体的な例を示す状態遷移図である。
【図10】本発明の情報処理装置をパーソナルコンピューターとし、その本体電源をオフする処理の場合において、図1のアイテムと要素の関係を示すテーブルである。
【図11】本発明の情報処理装置をパーソナルコンピューターとし、その本体電源をオフする処理の場合の状態遷移図である。
【図12】本発明の情報処理装置にかかる複数のデバイスを並行して状態遷移させる場合にデバイスを選ぶ際の画面表示の一例を示す図である。
【図13】本発明の情報処理装置にかかる複数のデバイスを並行して状態遷移させる場合にデバイスを選ぶ際の画面表示の他の一例を示す図である。
【図14】本発明の情報処理装置にかかる複数のデバイスを並行して状態遷移させる際のポーリング処理を概略的に示す模式図である。
【符号の説明】
11 制御デバイス
12、13 対象デバイス
15,16,17 ドライバー
18 ユーティリティ
21 CPU
22 埋め込み制御デバイス(Embedded Controller)
23 スライドスイッチ
24、35 スペクトラム拡散近距離通信モジュール
25、36 ワイヤレスLANモジュール
31 セット
32 サウスブリッジ
34 埋め込み制御デバイス
37 電源スイッチ
38 無線アンプ
43 スライドスイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus having a required device and realizing various operations by processing accompanied by software, and an information processing method in such an information processing apparatus. The present invention relates to an information processing apparatus and an information processing method that are effective when processing is performed.
[0002]
[Prior art]
In various information processing devices such as personal computers and portable terminals, networking of information processing has progressed, and in addition to the formation of wired LANs (local area networks) such as ISDN lines, ADSL lines, and optical fibers, Communication has also been considered, and in the case of building a home LAN, on a business trip, or on the move, especially the ability to communicate wirelessly is becoming more important. Also, so-called peripheral devices such as printers and scanners are required to function as a part of the network, and such peripheral devices are each equipped with devices for networking as information processing apparatuses. ing.
[0003]
Various systems for performing wireless communication have been proposed, such as an information processing apparatus that can incorporate an IEEE802.11b device capable of high-speed communication that can be used for a wireless LAN, or can be added as an option. Information processing apparatuses that can be equipped with or can add devices such as so-called Bluetooth (trademark, standard name), which is a short-range wireless standard that employs spread spectrum communication technology, are already on the market.
[0004]
By the way, in the main body of the information processing apparatus, normally, the power of the entire apparatus can be turned off by turning off the power on the software. For example, in the case of a device such as a personal computer, an operating system as software and various applications are incorporated into the hardware of the device and configured to start up as necessary. For example, Microsoft Windows (trade name) In this case, when turning off the power, by clicking the end portion to be expanded from a toolbar or the like on the Windows screen, the procedure for the end is advanced, and the power of the entire apparatus is turned off. The termination operation in this case is a signal that prompts activation so that the personal computer can be activated in response to a command from the mechanical off or other device that is completely stopped as if the power cable has been unplugged from the outlet. ) Is an operation for forming a state such as soft-off. In recent personal computers, even if the power switch on the front of the main unit is turned off, it is actually soft off, and there are often separate mechanical off switches on the side and back of the main unit to completely stop power feeding, Products without such a switch are also known.
[0005]
[Problems to be solved by the invention]
An information processing apparatus such as a personal computer or a mobile phone is a source of radio waves, so that it is necessary to suddenly change the wireless device from an on state to an off state depending on the situation. For example, when taking off and landing of an airplane, or when a pacemaker user comes in the facility. One method of suddenly stopping such wireless transmission is to operate a power switch or reset button in the same manner as pulling out a power cable from an outlet. For example, in a device that operates a power switch, In order to distinguish from a normal operation, for example, by pressing and holding for about 4 to 5 seconds, a transition to a soft-off state can be made.
[0006]
However, when the power is turned off by such a forced switch operation, the OS has to stop processing halfway, so the OS itself may hang up or the wireless device May not work properly. When the power is turned on next time, the hard disk may be self-checked because it was not normally turned off last time, and the process becomes unstable.
[0007]
Instead of turning off the power by forcible operation, it is also possible to shift the wireless device to a state in which processing cannot be performed by performing a Disable (unusable or invalidated) process on the OS device driver. For example, in the case of Windows, there is a selection to disable in the property of the target device in the device manager, and if the check box to disable this is checked, Transitions to the unusable state.
[0008]
However, when the logical structure on the software is broken, that is, when an abnormality is found in the system of the target device, it may be difficult to make a transition to the unusable state easily.
[0009]
Therefore, in view of the above technical problems, the present invention ensures that the state transition of the target device or the like does not lose the logical consistency regardless of whether the target system is normal or abnormal. It is an object of the present invention to provide an information processing apparatus that can be performed at once and an information processing method realized by such an information processing apparatus.
[0010]
[Means for Solving the Problems]
In order to solve the above-described problem, an information processing apparatus according to the present invention provides: Includes wireless transmission mechanism Control means for detecting an instruction to change the hardware state and changing the hardware state based on the detected instruction. The control means forcibly changes the hardware state before the hardware state is changed. If the software does not notify you that the hardware is operating normally, the hardware state is forcibly changed when the standby time has elapsed, and the software operates normally. When it is notified, the countdown of the waiting time is stopped.
[0011]
When executing an instruction to change the hardware state, the target of the instruction to be changed includes any state about the hardware. As a specific example, the power of the device is turned off or on. If you want to. State transition of the hardware by software can be achieved by various methods, but mainly refers to state transition led by software, for example, control to unusable state by OS or utility. Can do. In the present invention, since the software-initiated state transition precedes the forced state transition control, if the hardware state can be changed during repeated trials, the software-initiated state transition can be performed only by the software-initiated state transition. The state transition is completed, and an abnormal end state of the system can be avoided. Also, software-driven state transitions are repeated trials, so if software-driven state transitions are difficult, hardware-side forced state transitions can be performed to complete the process. it can.
[0012]
Another information processing apparatus of the present invention Targets including wireless transmission mechanism Detect the instruction to change the device state, was detected Based on order Target Includes control means for transitioning device states , The control means Target Before forcing the device to transition, Target If the device-related software attempts to make a state transition and the software does not notify that it is operating normally, it will be forcibly when the standby time has elapsed Target When the state of the device is changed and the software notifies that it is operating normally, the standby time countdown is stopped.
[0013]
In the information processing apparatus of the present invention, Target The device is all or part of the information processing apparatus, and is based on software Target The device state transition is performed before the forced state transition. Thus, for example, on an OS or utility Target Device state transition is performed in advance, but on the OS or utility Target When the device state transition is unsuccessful, the forced state transition is advanced, and the target processing can be completed.
[0014]
The control means has a plurality of operations by a single operation. Target The device state can be changed in parallel.
[0015]
According to the information processing apparatus of the present invention, it can be used, for example, when a plurality of devices for which a single operation operates exclusively, in which case one device among the plurality of devices is used. The process of enabling and disabling other devices can proceed smoothly.
[0017]
In addition, the information processing method of the present invention includes: Targets including wireless transmission mechanism Based on the detection procedure that detects the command to change the device state and the command detected by the processing of the detection procedure Target Including a control procedure for transitioning the device state, Target Before forcing the device to transition, Target If the device-related software attempts to make a state transition and the software does not notify that it is operating normally, it will be forcibly when the standby time has elapsed Target When the state of the device is changed and the software notifies that it is operating normally, the standby time countdown is stopped.
[0018]
In the information processing method of the present invention, software is used. Target Since the device state transition is performed before the forced state transition, for example on the OS or utility Target Device state transition is performed in advance, but on the OS or utility Target When the device state transition is unsuccessful, the forced state transition is advanced, and the target processing can be completed.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described with reference to the drawings. The information processing apparatus according to the present embodiment is an example of a personal computer, and in particular is a personal computer capable of performing spread spectrum near field communication such as a so-called Bluetooth system and wireless LAN communication as a wireless device.
[0020]
FIG. 1 shows a software / hardware configuration diagram of the main part of the present embodiment. First, as a hardware configuration, a slide switch 14 that is opened and closed according to control related to the state of the hardware is connected to the control device 11, and target devices 12 and 13 that operate in response to a signal from the control device 11 are provided. Is provided. These target devices 12 and 13 may be any devices. In particular, when these target devices 12 and 13 are a spread spectrum short-range communication module and a wireless LAN module as described later, good radio wave control is realized. Is done. Other examples of the target devices 12 and 13 include a modem, keyboard, camera, flexible disk, hard disk, scanner, printer, FAX, CD-ROM reader, removable media device, sound controller, video controller, game controller, display, Various devices that can be mounted or built in such as mouse, USB port, network card, PCMCIA card, other I / O devices, ports, infrared ports, batteries, etc. are applicable.
[0021]
Corresponding to such a hardware configuration, there is a software configuration. The main configuration on the software side is that each device driver 16, 17, 15 is provided so as to correspond to each of the target devices 12, 13 and the control device 11, and these device drivers 16, 17, 15 are the utilities 18. Controlled by the program. The utility 18 operates on the CPU when it is activated.
[0022]
FIG. 4 is a diagram showing a hierarchical structure of software and hardware. An OS exists on the hardware, and a layer composed of a combination of an application and middleware is formed on the OS. In the present invention, a utility corresponds to an application, and a part of the device driver and the utility corresponds to a middleware layer. The device driver is configured so that it can be disabled from the GUI such as a device manager. In this embodiment, the device driver receives an instruction from the utility via the OS and proceeds with the device invalidation (stop) process. Can do.
[0023]
FIG. 2 is a block diagram showing a main part configuration of the hardware, and FIG. 3 is a block diagram corresponding to a chip set for the main part configuration. In FIG. 2, a bus line is formed between a CPU 21 that handles software and an embedded controller 22, and the embedded controller 22 operates in response to a signal from the CPU 21 and sends a signal to the CPU 21. It is configured to be sent. The slide switch 23 is configured to directly send a signal to the embedding control device 22, and a spread spectrum near field communication module 24 and a wireless LAN module 25 are connected as target devices controlled by the embedding control device 22. .
[0024]
With this configuration, when the slide switch 23 is operated, a signal indicating that the slide switch 23 has been operated is sent to the embedded control device 22, and software-driven processing is advanced from the embedded control device 22 to the CPU 21. When the software-driven process is unsuccessful, a signal for forcibly disabling the spread spectrum short-range communication module 24 and the wireless LAN module 25 is sent from the embedded control device 22. As an example of the signal to be forcibly disabled, a signal for controlling the power supplied to each device to be turned off, a signal for turning off the amplifier of the output stage, and the like can be cited, but other methods and means are used. It is also possible.
[0025]
FIG. 3 is a block diagram illustrating the hardware of the configuration of FIG. 2 including a chipset and the like. In FIG. 3, the hardware is configured to control on / off of the spread spectrum short-range communication module 35 and the wireless LAN module 36. Yes.
[0026]
A south bridge 32 is connected to the CPU 31 and the north bridge set 31 via a bus 33, and the spread spectrum short-range communication module 35 and the wireless LAN module 36 are turned on and off to the south bridge 32 that handles control of peripheral devices. An embedded control device 34 that controls the above is connected via a bus.
[0027]
The spread spectrum short-range communication module 35 is a module that performs signal processing for spread spectrum short-range communication. As an example, the spread spectrum short-range communication module 35 includes a chip set including a combination of an RF LSI and a baseband LSI. It is not limited. An external antenna 39 is connected to the spread spectrum short-range communication module 35, and communication using, for example, a 2.4 GHz band is possible. The spread spectrum short-distance communication module 35 may be built in a personal computer, or may be a card, a stick, a device, or the like mounted as an option. A power switch 37 is connected to the power supply side of the spread spectrum short-range communication module 35, and the power switch 37 is controlled to be opened and closed by a signal from the embedded control device 34. The above-described south bridge 32 is connected to the spread spectrum short-range communication module 35 via the bus 41 and transfers data to be communicated.
[0028]
A wireless LAN module 36 is provided together with the spread spectrum short-distance communication module 35, and mainly handles IEEE802.11b and standards-compliant communications. The wireless LAN module 36 is configured to be connected to the antenna 40 via a radio amplifier (ie, RF output switch) 38, and is configured to be connected to the north bridge or the south bridge 32 via a bus 42. ing. The wireless amplifier 38 is a switch that controls on / off of the output to the antenna 40 and is controlled to be opened and closed by a signal from the embedded control device 34. Note that the wireless LAN module 36 is a device connected via, for example, a card bus, and a required procedure is required when the power is turned off unlike the case of USB (Universal Serial Bus) connection. The
[0029]
The embedded control device 34 is a controller that controls on / off of the spread spectrum short-range communication module 35 and the wireless LAN module 36. In particular, the control of the power spread switch 37 is controlled to control the spread spectrum short-range communication module 35. Thus, the operation / non-operation of the spread spectrum short-range communication module 35 is controlled. When the wireless LAN module 36 is controlled, on / off of the wireless amplifier 38 on the output side is controlled. Strictly speaking, the control of the wireless LAN module 36 is not the power supply control of the wireless LAN module 36 itself, but only a part of the on / off control, but the same effect can be obtained in terms of suppressing radio waves. Therefore, the system can be stabilized as compared with the case where the entire wireless LAN module 36 is controlled.
[0030]
Here, the control by the embedded control device 34 in the present embodiment will be enumerated. First, when the state of the slide switch 43 changes, there is a control for notifying the utility of the state of the slide switch 43, and secondly, the device. That is, power on / off of the spread spectrum short-range communication module 35 and the wireless LAN module 36, or permission / non-permission of transmission of radio waves to the spread spectrum short-range communication module 35 and the wireless LAN module 36 or related peripheral devices by hardware. There is control to perform permission processing. As the third control, there is a control that allows the utility to change permission / non-permission of turning on / off the device power and transmitting radio waves when the state of the slide switch 43 is on. Fourth, if the slide switch 43 changes from the on state to the off state and there is no response from the utility for a certain period of time (abnormality of the utility, OS, driver, etc.), the device power is turned off and the radio wave is transmitted in hardware. There is a control that performs a process of disabling the transmission of this, which corresponds to a mechanism that provides a pending state when the slide switch 43 transitions from an on state to an off state. As a fifth control, there is a control that enables the utility to change the counter value even when the pending time measurement counter is operating in the pending state (the third control described above). In the case of a device / operation that does not need to consider logical contradictions such as the OS and driver as the control 6, there is a control for permitting / not permitting the transmission of radio waves in synchronization with the on / off of the slide switch. The counter for measuring the pending time is called a pending counter, and has a function of decreasing the counter value preset to a certain value and terminating the pending operation when the counter value becomes, for example, zero. Each control listed here is only an example, and can be changed as appropriate according to factors such as the number and type of target devices.
[0031]
The embedded control device 34 that performs such a control operation performs control in cooperation with a utility that is software. In particular, in this embodiment, the utility performs the following control in relation to the target device. The first control is to request the embedding control device 34 to process the state change notification of the slide switch 43 from the embedding control device 34.
[0032]
When the slide switch 43 changes from the on state to the off state as processing for the embedding control device 34, first, a pending counter update command is issued in order to suspend the forced off processing by the embedding control device 34. Next, invalidation (stop) processing of the spread spectrum short-range communication module 35 and the wireless LAN module 36 is performed on the target device, here, the spread spectrum short-range communication module 35 and the wireless LAN module 36 via the OS. If the remaining time of the pending time of the embedded control device 34 is reduced during the invalidation processing, a pending counter update command is issued to the embedded control device 34 again. In such a case, it means that invalidation processing is progressing without failure of logic, and forced off processing can be minimized by preceding the processing of the utility that is software. The occurrence of logical contradictions can be prevented. If the invalidation process is unsuccessful, a command to turn off the power of the target device is issued to the embedded control device 34. When the above-described spread spectrum short-range communication module 35 and the wireless LAN module 36 are target devices, the on / off of the power switch 37 is controlled to control the operation / non-operation of the spread spectrum short-range communication module 35. When the wireless LAN module 36 is controlled, on / off of the wireless amplifier 38 on the output side is controlled. The power switch 37 and the wireless amplifier 38 are controlled by a signal from the utility to the embedded control device 34.
[0033]
As processing for the embedded control device 34, when the slide switch 43 changes from the off state to the on state, first, a command to turn on the power of the target device is issued to the embedded control device 34. Here, the reason why the pending state is not applied when the slide switch 43 changes from the off state to the on state is that it is known in advance that a logical mismatch occurs when the on / off is repeated continuously in a short time. On the other hand, it is known that the problem of logical inconsistency does not occur especially when the pending mechanism is inserted when the state changes from the on state to the off state. In the case of a configuration in which a problem occurs when transitioning to the on state, a pending mechanism can be inserted when transitioning to the on state.
[0034]
In addition to the processing for the embedded control device 34 as described above, the utility function also functions as a management system for a plurality of devices using a single slide switch 43. As an example that can be configured as such a management system for a plurality of devices, the aforementioned spread spectrum short-range communication module 35 and wireless LAN module 36 can be exemplified. Since these spread spectrum short-distance communication module 35 and wireless LAN module 36 use the same frequency band, if they are used at the same time, the quality of communication will be degraded, and communication will be cut off, making it impossible to demonstrate the original performance. Or Therefore, by operating exclusively, it is possible to prevent deterioration in communication quality. In this embodiment, control from such a utility is performed with provision of a GUI (Graphical User Interface) to the user. This part will be described later.
[0035]
Next, processing of the entire system will be described with reference to FIG. The flow of FIG. 5 shows an outline of the operation of the information processing apparatus of the present embodiment, and the flowchart of FIG. 7 described later includes the detailed procedure. FIG. 6 is a flowchart showing the periodic processing of the device by the embedded control.
[0036]
First, the personal computer, which is the information processing apparatus of the present embodiment, is initially in the monitoring state of the slide switch as shown by the state S11 in FIG. 5, and always detects that the state of the slide switch transitions from on to off. ing. When the slide switch changes from on to off (r11), the change signal is transferred from the slide switch to the embedded control device. 34 The change is notified to the utility (System). Then, the information processing apparatus transitions to a trial state (state S12), and tries to invalidate the software method there. At this time, if invalidation by a software technique is possible in a form that maintains logical consistency, it is possible to add control for extending the processing time.
[0037]
When the invalidation by the software technique is successful (r12), the monitoring state of the original slide switch (state S11) is returned to wait for the next slide switch change. Conversely, when the invalidation by the software method fails (r13), the power of the target device is forcibly changed to off (state S13). In this case, various power management methods can be used, for example, a method of forcibly turning off the power supply of the entire module of the target device, or forcibly inactivating only the part related to some output stages. A technique such as making it into a state is used. The state transition process is completed through the state S13 (r14), the original slide switch monitoring state (state S11) is returned, and the slide switch change standby mode is entered again.
[0038]
Next, periodic processing of the embedded control device corresponding to the flow of FIG. 5 will be described with reference to FIG. When the slide switch is changed from the on state to the off state, the embedded control device functions to proceed with a software-driven invalidation process first. When the software-driven invalidation process fails, a reliable hardware power-off operation is performed.
[0039]
Specifically, the embedded control device is configured to execute a periodic timer interrupt, and its interrupt routine is shown in FIG. First, in step S21, the embedded control device detects whether or not the state of the slide switch has changed. If NO, the process proceeds to step S25 to determine the state of the slide switch. If the slide switch is in the OFF state, a process for turning off the power is performed in step S26. Conversely, if the slide switch is in the ON state, the interrupt process is terminated. That is, if the software-driven power-off process is performed in advance by performing the process of turning off the power when the slide switch is in the OFF state, and this software-driven process fails Then, control for forcibly turning off the power is performed by hardware.
[0040]
If the result of detecting whether or not the state of the slide switch has changed in step S21 is YES, the process proceeds to step S22 to determine the state of the slide switch. If the slide switch is ON, the process proceeds to step S23 to notify the utility (System) that the slide switch is ON. On the contrary, if the slide switch is in the OFF state, the process proceeds to step S24 to notify the utility that the slide switch is in the OFF state. The content of the slide switch notified here is used when issuing an instruction from the utility as to whether or not to use the pending mechanism.
[0041]
When the embedded control device performs the above-described processing in the form of an interrupt, when the state of the slide switch changes, the software-led power-off control can proceed in a form preceding the forced power-off.
[0042]
FIG. 7 is a diagram showing the detailed procedure of the operation of the information processing apparatus of the present embodiment, and more specifically shows the state transition diagram of FIG. The operation of this information processing apparatus is a state transition diagram when the personal computer is turned off. In FIG. 7, the device corresponds to, for example, the spread spectrum short-range communication module 35 and the wireless LAN module 34 shown in FIG.
[0043]
First, states that can be taken by the personal computer that is the information processing apparatus include NOTIFY state (S31), pending state (S32), force-off state (S33), and all ready-off state (S33). There are four states (ALREADY OFF) (S34), and the personal computer operates by transitioning between these four states, and the power is turned off while avoiding logical contradiction and OS hang-up. be able to.
[0044]
More specifically, in the notify state (S31), a pending counter that is executed as a utility on the CPU 31 is set and a slide switch state is notified. This is because whether or not to perform software-driven processing is determined according to the state of the slide switch.
[0045]
When the target device is off from the notify state (r35), the state transits to the all ready off state (S34). This all ready-off state (S34) indicates a state where the power is already turned off regardless of the state of the slide switch. In this case, the counter is not used. Set to zero. When the slide switch is turned off in the all ready off state (S34) (r36), the state returns to the notify state (S31) for notifying the utility of the state of the slide switch.
[0046]
If the target device is on from the notify state (r31), the personal computer enters the pending state (S42). The pending state is a state in which processing proceeds while subtracting the above-mentioned pending counter. When performing software-driven power-off control, the software-driven power-off control is performed during the period until it reaches zero while subtracting the pending counter. (R34) is processed prior to the forced power-off control on the hardware. Specifically, the process (r32) while subtracting the pending counter functions in the same way as the time waiting process. When the system is normal, the counter value is updated and the pending time is extended.
[0047]
If the system is not normal, the pending counter reaches zero (r33) and transitions to the force-off state (S33). In the force-off state (S33), control of the power-off state is forcibly performed. For example, when the target device has the configuration shown in FIG. 3, the on / off of the power switch 37 is controlled to control the spread spectrum short-range communication module 35, and the wireless amplifier 38 is controlled to control the wireless LAN module 36. On / off is controlled and executed. Note that the power control for such devices is only an example, and it is sufficient to control each device with the least burden on the device and system, and allow for the degree of software hang-up and system margin. It is also possible to change the control over the hardware. A transition is made from the force-off state (S33) to the all-ready-off state (S34).
[0048]
As an example of the above-mentioned software-led power-off control (r34), when the OS is Windows, the property of each device in the device manager is invalidated (additional use). Such control is difficult when an OS hangs up or when there is an abnormality such as a logical contradiction, but it can be processed while maintaining logical consistency even if it takes time during normal operation. Can be completed.
[0049]
As described above, when control to turn off the power is performed as a state transition in the information processing apparatus according to the present embodiment, the processing is advanced by cooperative execution of the embedded control device (Embedded Controller) and the utility (Utility). . Processing when the slide switch is controlled from off to on, processing when the slide switch is controlled from on to off (normal), and when the slide switch is controlled from on to off (abnormal) These processes will be described in the order of the processes.
[0050]
When the slide switch is controlled from OFF to ON, the embedded control device first detects that the slide switch has changed from the OFF state to the ON state by a signal from the connected slide switch, and the system side ( CPU) is notified that the slide switch has changed from the off state to the on state. Upon receiving this notification, the utility sends a signal to the embedded control device to control the device power supply to the on state. Upon receiving this signal, the embedded control device switches and controls the power supply of the corresponding device to be in the on state.
[0051]
Next, when the slide switch is controlled from on to off (when normal), the embedded control device detects that the slide switch has changed from the on state to the off state by a signal from the connected slide switch. Then, the utility on the system side (CPU) is notified that the slide switch has changed from the on state to the off state. The utility receives a notification that the slide switch has changed from the on state to the off state. At this stage, the embedded control device enters a pending state, and first, initializes the value of the pending counter and sets it to a predetermined value. The set counter value is subtracted by a predetermined number and counted down until the counter is turned off or zero. At the end of the countdown, if the device invalidation process is not yet completed via the OS, the pending time is extended by updating the pending counter value. Such a time-flexible process can invalidate the target device and maintain logical consistency. After invalidating the device, the utility issues an instruction to the embedded control device to control the power supply to the device to be turned off, and the embedded control device turns off the device power according to the instruction. To control. Thus, the target device is turned off, and the process of turning off the power ends.
[0052]
Next, when the slide switch is controlled from on to off (in an abnormal state), the embedded control device first confirms that the slide switch has changed from the on state to the off state by a signal from the connected slide switch. Detect and notify the utility on the system side (CPU) that the slide switch has changed from the on state to the off state. Similarly, the embedded control device enters the pending state, first initializes the value of the pending counter and sets it to a predetermined value, and the set counter value is decremented by a predetermined number and becomes zero until the counter is turned off. Will be counted down. At this time, when the utility, that is, the system is in an abnormal state, there is a problem that the notification itself cannot be received, a problem that the embedded control device cannot be instructed, or the system itself becomes abnormal during processing of the device. If it occurs, the pending counter value will end without being updated even after it is counted down to zero. As a result, the embedded control device forcibly controls the target device to turn off and turns off the power. With this control, the power can be reliably turned off even when an abnormality occurs in the device.
[0053]
Next, an information processing apparatus according to another embodiment will be described with reference to FIG. The information processing apparatus in FIG. 8 is to notify the embedded control device that the utility (System) is operating normally. Specifically, this notification is configured to return an acknowledgment to the embedded control device. The hardware configuration is the same as that of the previous embodiment, and the description will be made on the assumption that the configuration is as shown in FIG.
[0054]
First, in the control by the embedded control device in the present embodiment, assuming that the hardware configuration is the configuration of FIG. 3, first, when the state of the slide switch 43 changes, the state of the slide switch 43 is changed to the utility. Secondly, the power of the devices, that is, the spread spectrum short-range communication module 35 and the wireless LAN module 36, is turned on or off, or the hardware for the spread spectrum short-range communication module 35 and the wireless LAN module 36 or their related peripheral devices. There is a control that performs permission / non-permission processing of radio wave transmission in terms of wear. As the third control, there is a control that allows the utility to change on / off of the device power supply and permission / non-permission of radio wave transmission when the state of the slide switch 43 is on. Fourth, if the slide switch 43 changes from the on state to the off state and there is no response from the utility for a certain period of time (abnormality of the utility, OS, driver, etc.), the device power is turned off and the radio wave is transmitted in hardware. There is a control that performs a process of disabling the transmission of this, which corresponds to a mechanism that provides a pending state when the slide switch 43 transitions from an on state to an off state. As the fifth control, when an acknowledgement is notified in the pending state (the above-mentioned third control), control to update the counter value to a constant value, or from the pending state to the wait state If the device / operation does not need to consider logical contradictions such as the OS and driver as the sixth control, permission / non-permission of radio wave transmission is synchronized with the on / off of the slide switch. Control that performs permission is listed. Each control listed here is only an example, and can be changed as appropriate according to factors such as the number and type of target devices.
[0055]
The embedded control device 34 that performs such a control operation performs control in cooperation with a utility that is software. In particular, in this embodiment, the utility performs the following control in relation to the target device. One of them is to request the embedded control device 34 to process the state change notification of the slide switch 43 from the embedded control device 34.
[0056]
As processing for the embedding control device 34, when the slide switch 43 changes from the on state to the off state, first, the compulsory off process by the embedding control device 34 is suspended. Issue. Next, invalidation (stop) processing of the spread spectrum short-range communication module 35 and the wireless LAN module 36 is performed on the target device, here, the spread spectrum short-range communication module 35 and the wireless LAN module 36 via the OS. If the remaining pending time of the embedded control device 34 is reduced during the invalidation process, an acknowledgment is issued to the embedded control device 34 again, the system is normal, and the utility is being invalidated. Notify that there is. In such a case, it means that invalidation processing is progressing without failure of logic, and forced off processing can be minimized by preceding the processing of the utility that is software. The occurrence of logical contradictions can be prevented. If the invalidation process is unsuccessful, a command to turn off the power of the target device is issued to the embedded control device 34. When the above-described spread spectrum short-range communication module 35 and the wireless LAN module 36 are target devices, the on / off of the power switch 37 is controlled to control the operation / non-operation of the spread spectrum short-range communication module 35. When the wireless LAN module 36 is controlled, on / off of the wireless amplifier 38 on the output side is controlled. The power switch 37 and the wireless amplifier 38 are controlled by a signal from the utility to the embedded control device 34.
[0057]
As processing for the embedded control device 34, when the slide switch 43 changes from the off state to the on state, first, a command to turn on the power of the target device is issued to the embedded control device 34. Here, the reason why the pending state is not applied when the slide switch 43 changes from the off state to the on state is the same as in the above-described embodiment. In the case of a configuration in which a problem occurs when transitioning to the on state, a pending mechanism can be inserted when transitioning to the on state.
[0058]
The information processing apparatus of this embodiment having such a configuration basically has a configuration that operates in the form of the state transition of FIG. 5, and the embedded control device performs the periodic timer interrupt shown in FIG. Is configured to run.
[0059]
When the embedding control device is temporarily kept in standby using the acknowledgement, that is, when the wait operation is performed, the state transition shown in FIG. 8 is taken. The operation of this information processing apparatus is a state transition diagram when the personal computer is turned off. In FIG. 8, the device corresponds to the spread spectrum short-range communication module 35 and the wireless LAN module 34 shown in FIG. 3, for example, as in the previous embodiment.
[0060]
First, as a state that a personal computer as an information processing apparatus can take, a NOTIFY state (S41), a pending (PENDING) state (S42), a FORCE OFF state (S43), and an all ready off (ALREADY) state. There are five states, an OFF state (S44) and a wait state (WAIT) state (S45), and the personal computer operates by transitioning between these five states, avoiding logical contradictions and OS hang-ups. However, the power supply can be turned off.
[0061]
Specifically, in the notify state (S41), a pending counter that is executed as a utility on the CPU 31 is set and a slide switch state is notified. This is because whether or not to perform software-driven processing is determined according to the state of the slide switch.
[0062]
When the target device is off from the notify state (r47), the state transits to the all ready off state (S44). This all ready-off state (S44) shows a state where the power is already turned off regardless of the state of the slide switch. In this case, the counter is not used. Set to zero. When the slide switch is turned off in the all ready off state (S44) (r46), the state returns to the notify state (S41) for notifying the utility of the state of the slide switch.
[0063]
If the target device is on from the notify state (r41), the personal computer enters the pending state (S42). The pending state is a state in which processing proceeds while subtracting the above-mentioned pending counter. When performing software-led power-off control, an acknowledgment notification is sent from the system side during the period during which the pending counter is subtracted. In response to this acknowledgment notification, the normal state of the system is also transmitted to the embedded control device, and a wait state (S45) in which the countdown of the pending counter is stopped is entered. As a result, the software-driven power-off control (r45) is processed prior to the forced power-off control on the hardware.
[0064]
When there is no notification of acknowledgment, the pending counter reaches zero (r43) and transitions to the force-off state (S43). In the force-off state (S43), control of the power-off state is forcibly performed. For example, when the target device has the configuration shown in FIG. 3, the on / off of the power switch 37 is controlled to control the spread spectrum short-range communication module 35, and the wireless amplifier 38 is controlled to control the wireless LAN module 36. On / off is controlled and executed. Note that the power control for such devices is only an example, and it is sufficient to control each device with the least burden on the device and system, and allow for the degree of software hang-up and system margin. It is also possible to change the control over the hardware. A transition is made from the force-off state (S43) to the all-ready-off state (S44).
[0065]
As an example of the above-mentioned software-led power-off control (r44), in the case where the OS is Windows, the property of each device in the device manager is invalidated (additional use). Such control is difficult when an OS hangs up or when there is an abnormality such as a logical contradiction, but it can be processed while maintaining logical consistency even if it takes time during normal operation. Can be completed.
[0066]
Next, an example in which a vehicle brake device is targeted as an example of the information processing device will be described with reference to FIG. In the above-described embodiment, an application example to a device in which the power needs to be turned off will be described, and a pending mechanism is provided for the operation of transition from the on state to the off state of the slide switch. This embodiment is an application example to a device that needs to be turned on by changing its viewpoint, and this can be applied to a system that must work, such as a brake device of a vehicle.
[0067]
Hereinafter, the state transition of the entire system when the switch, that is, the brake pedal changes from the off state to the on state, is shown in FIG. 9 as follows. As shown in FIG. 9, the vehicle brake device, which is the information processing apparatus of the present embodiment, is initially in the monitoring state of the brake pedal as shown by the state S <b> 51 in FIG. 9, and always detects that the brake pedal is depressed. ing. Here, when the brake pedal is depressed (r51), a signal of the change is sent from the brake pedal to the control device, and the change is notified to the utility or software. Then, the information processing apparatus transitions to the trial state (state S52), and attempts braking using the intelligent brake system there. When braking using the intelligent brake system is successful (r52), the monitoring state of the original brake pedal (state S51) is returned to wait for the next brake pedal change. Conversely, when braking using the intelligent brake system fails, that is, when deceleration cannot be performed due to a failure or the like (r53), a conventional braking method (NON-Intelligent) is forcibly attempted (state S53). After such state S53, the state transition process is completed (r54), the state returns to the original brake pedal monitoring state (state S51), and the brake pedal change standby mode is entered again.
[0068]
Next, an embodiment when the present invention is applied to a power source of a personal computer main body will be described with reference to FIGS. 10 and 11. Normally, a personal computer that complies with ACPI (Advanced Configuration Power management Interface) can be forced to turn off the personal computer by pressing the power button for 4 seconds. . As an operation when the power button is pressed, for example, power off can be selected. At this time, when the power button is pressed once, the power is turned off.
[0069]
By the way, if the application performs an illegal process when the power is on or the installed driver itself is bad, the process of turning off the power may fail. It may hang up before it turns off. From the user's point of view, it is expected that the power supply is surely turned off at the end, so that the present embodiment can be effectively used.
[0070]
In this embodiment, the configuration of the apparatus has the structure shown in FIG. 1, and as shown in the table of FIG. 10, the control device shown in FIG. 1 is an embedded controller, and the target device is a power source and utility of the personal computer. It can be applied by replacing each with OS.
[0071]
FIG. 11 is a state transition diagram of this embodiment. First, in the monitoring state S61, the pressing of the power button is monitored and the power button is pressed. The If it is (r61), the process proceeds to the monitoring state 2 (S62). In monitoring state 2, the power button is pressed Is continue Et Is determined. Power button The When the pressing is stopped (r62), the process proceeds to the notification state S63. In this notification state S63, it is notified that the counter is set and the power button is pressed down.
[0072]
The trial state (S64) is a state in which processing proceeds while subtracting the counter described above. When performing software-driven power-off control, the OS-driven power-off control is performed during the period until the counter reaches zero while subtracting the counter. (R64) is processed prior to the forced power-off control on the hardware, leading to a power-off process (S66), where the power of the personal computer main body is controlled to be turned off.
[0073]
If the system is not normal, the counter reaches zero (r65) and transitions to the forced processing state (S65). When the power button is pressed down continuously for 4 seconds (r66), the process proceeds to the forced processing state (S65). In the forced processing state (S65), a signal for resetting IDE is issued. Thereafter, power off processing (S66) is reached, where the power of the personal computer main body is controlled to be off (S67). Note that the OS may send a counter update command to the embedded control device at each end process when controlling the power supply from on to off.
[0074]
By applying as described above, when the termination process hangs up, the counter update command is not notified, so the counter keeps decrementing, and when the counter reaches zero, the power supply will always be terminated. become. At the time of forced termination (S65), for hardware devices such as hard disks that are likely to fail, take hardware warranty measures before the forced termination. Preferably it is done.
[0075]
Next, with reference to FIGS. 12 and 13, a mechanism for selectively selecting a device when a plurality of devices undergo state transition in parallel will be described. Such mechanisms include wireless devices that use the same frequency band. For example, a wireless LAN and Bluetooth (trademark, standard name) are wireless devices that use the same frequency band. If they are used at the same time, communication quality deteriorates, communication is disconnected, and original performance cannot be exhibited. Therefore, exclusive control is required. Therefore, a mechanism / procedure for mounting devices that cause harmful effects when used at the same time and switching between them is necessary. In such processing, it is user-friendly to provide an effective GUI to the user, and it is preferable to display the windows shown in FIGS. In FIG. 12, the screen 51 includes an S-diffusion short-range communication button 52, a wireless LAN button 53, and a dual-purpose button 54, and the wireless device that can be activated when the wireless switch is turned on It can be selected on the screen 51. The graphic portion 55 indicates that the wireless switch is on. When the check box 56 in FIG. 12 is checked, this screen 51 (dialog) is displayed when the wireless switch is turned on. Become. At the bottom of the screen 51, an OK button 57, a cancel button 58, and an apply button 59 for this dialog can be selected and arranged.
[0076]
FIG. 13 shows a more simplified selection screen 81, in which an S-diffusion short-range communication check box and a wireless LAN check box are prepared and can be selected.
[0077]
It is effective by proceeding with processing for saving the device selected on the selection screen as shown in FIGS. 12 and 13 in the storage mechanism of the target system and processing for enabling the selected device and disabling other devices. The device selection process proceeds. For the process of invalidating other devices, a process that does not cause a logical contradiction as described above is used.
[0078]
Next, a countermeasure when the power button is continuously opened and closed during utility processing will be described with reference to FIG. First, an information processing apparatus that requires such countermeasures will be described. The information processing apparatus includes a target device that cannot immediately change the power state and the valid / invalid state, and a slide switch as a user interface for controlling the state. This corresponds to an information processing apparatus. In such an information processing device, a user may frequently switch between an on state and an off state of a slide switch, and at this time, the valid / invalid state cannot be changed immediately. There is a possibility that a valid (on) request for processing is generated during processing. In general, performing an activation process during the deactivation process, deactivating during the activation process, or turning off the target device during the deactivation process will cause the system to become unstable (hang up). Etc.). Therefore, in the information processing apparatus as described above, an exclusive processing mechanism for preventing other processing from being performed during a certain process is necessary, and the processing request of the user is synchronized with the state of the slide switch. There is a need.
[0079]
The information processing apparatus of the present invention can cope with such a problem, and may be configured to include an exclusive control unit and a power supply control unit. The power supply control unit indicates that processing is in progress before and after time-consuming processing such as software trial (validation / invalidation processing) and device driver validation / invalidation processing according to instructions from the exclusive control unit A process of setting / clearing the “flag” and a process of instructing the control device to turn on / off the power are performed. In addition, the exclusive control unit receives the on / off instruction from the control device and notifies the power control unit of the validity / invalidity, and while the flag by the power control unit is set, The process of notifying notification of enable / disable, the process of polling (periodically monitoring) until the flag is cleared when it is confirmed that the flag is set, and the current The power supply (valid / invalid) state of the target device is compared with the state of the slide switch. If there is a conflict, the power supply control unit is notified again and polling is terminated. The power supply control unit itself corresponds to the information processing apparatus according to each of the embodiments described above.
[0080]
By adopting such a configuration, while the flag is set, the power control unit is not instructed to change the state. For example, during the invalidation process, an instruction collision such as a request for an activation process occurs. Exclusive control can be performed. In addition, when the state change is completed, it is possible to detect a contradiction to the user's intention by checking the power state.
[0081]
FIG. 14 shows the flow of processing in an information processing apparatus having an exclusive control unit and a power supply control unit. First, before starting processing (processing that cannot respond to power on / off such as device search or service search) in the wireless communication application, G Set. When the exclusive control unit is notified of the opening / closing operation from the slide switch that is the power button, the exclusive control unit checks the registry to determine whether the wireless communication application is currently being processed. When the wireless communication application is processing, the exclusive control unit starts polling at regular time intervals. During polling, all the events from the slide switch are received by the exclusive control unit, and the last notified power state is held. For this reason, it is possible to perform exclusive control that does not cause a collision of instructions such as requesting the validation process during the invalidation process. When the processing is completed, the wireless communication application resets the registry flag. If the exclusive control unit polls the registry and determines that the processing of the wireless communication application has been completed, it compares the power state when the polling is started with the current power state. Notify the application. When receiving the notification, the wireless communication application starts processing for power on / off. As described above, in the present embodiment, when the processing of the communication application is completed, the power state is confirmed, so that the user's intention can be surely grasped.
[0082]
In the above-described embodiment, the switch that starts the state transition of the target device has been described as a slide switch. However, other switches may be used. For example, a switch that can hold position information or a button with a lock mechanism A switch can be used without any problem, and a push button switch with an indicator (indicating on / off) can also be used.
[0083]
【Effect of the invention】
According to the present invention described above, regardless of whether the target system is normal or abnormal, state transition of the target device or the like can be reliably performed without losing logic consistency. Further, according to the information processing apparatus and the information processing method of the present invention, it is possible to share the operation (on / off control of the wireless device) with a small number of parts (the number of slide switches and the like). Further, since the execution of the “operation” by the coexistence of the “operation” by the software and the forced “operation” by the hardware is guaranteed, the operation by the hardware is possible even in an unexpected situation. Furthermore, when the system or utility is normal, it is possible to perform logical operations and execute “operations”, and to suppress the occurrence of logical inconsistencies due to forced “operations”. In addition, even if the system or utility is abnormal, execution of “operation” is guaranteed by forced operation.
[0084]
From the above, as an example, when it is desired to reliably stop the transmission of radio waves such as in an airplane or train, the transmission of radio waves can be reliably stopped regardless of the state of the system by turning off the slide switch. A plurality of devices can be operated by operating a physical switch such as a slide switch, and the transition of the state of the target device or the like can be reliably performed without losing the logic consistency.
[Brief description of the drawings]
FIG. 1 is a software / hardware configuration diagram of the main part of an embodiment of an information processing apparatus according to the present invention;
FIG. 2 is a block diagram showing a main configuration of hardware of an embodiment of the information processing apparatus of the present invention.
FIG. 3 is a block diagram corresponding to a chip set regarding a hardware configuration of an embodiment of an information processing apparatus according to the present invention;
FIG. 4 is a hierarchical diagram showing a hierarchical structure of software and hardware.
FIG. 5 is a state transition diagram showing processing of the entire system when the power supply of one embodiment of the information processing apparatus of the present invention is controlled to be turned off.
FIG. 6 is a flowchart showing an interrupt routine in the embedded control device of the embodiment of the information processing apparatus of the present invention.
FIG. 7 is a state transition diagram illustrating a specific example of a process in which the power of the information processing apparatus according to the embodiment of the present invention is controlled to be turned off.
FIG. 8 is a state transition diagram illustrating a modified example of processing in which the power of the information processing apparatus according to the embodiment of the present invention is controlled to be turned off.
FIG. 9 is a state transition diagram showing a specific example of processing of an embodiment of a vehicle brake device according to the present invention.
10 is a table showing the relationship between items and elements in FIG. 1 in the case of processing for turning off the main body power supply of the information processing apparatus of the present invention as a personal computer.
FIG. 11 is a state transition diagram in the case of a process of turning off the main body power supply of the information processing apparatus of the present invention as a personal computer.
FIG. 12 is a diagram showing an example of a screen display when a device is selected when the state of a plurality of devices according to the information processing apparatus of the present invention is changed in parallel.
FIG. 13 is a diagram showing another example of a screen display when a device is selected when a plurality of devices according to the information processing apparatus of the present invention undergo state transition in parallel.
FIG. 14 is a schematic diagram schematically showing a polling process when a plurality of devices according to the information processing apparatus of the present invention perform state transition in parallel.
[Explanation of symbols]
11 Control device
12, 13 Target device
15, 16, 17 Driver
18 Utilities
21 CPU
22 Embedded Controller
23 Slide switch
24, 35 Spread spectrum near field communication module
25, 36 Wireless LAN module
31 sets
32 South Bridge
34 Embedded control devices
37 Power switch
38 Wireless amplifier
43 Slide switch

Claims (11)

無線発信機構を含むハードウエアの状態を遷移させる命令を検出し、検出された前記命令に基づいて前記ハードウエアの状態を遷移させる制御手段
を備え、
前記制御手段は、強制的に前記ハードウエアの状態を遷移させる前に、ソフトウエアによる前記ハードウエアの状態遷移を試行し、前記ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的に前記ハードウエアの状態を遷移させ、前記ソフトウエアから正常に動作していることが通知された場合、前記待機時間のカウントダウンを停止する
情報処理装置。
Control means for detecting an instruction to change the state of hardware including a wireless transmission mechanism, and to change the state of the hardware based on the detected instruction;
The control means tries to change the hardware state by software before forcibly changing the hardware state, and if the software does not notify that the hardware is operating normally, the control unit waits for When the time elapses, the hardware state is forcibly changed, and when it is notified from the software that the hardware is operating normally, the wait time countdown is stopped.
前記命令は前記ハードウエアを不作動状態に遷移させるものである
請求項1記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the command causes the hardware to transition to an inoperative state.
前記命令は前記ハードウエアの全部若しくは一部を不作動とするものである
請求項1記載の情報処理装置。
The instruction information processing apparatus according to claim 1, wherein it is an inoperative the whole or part of the hardware.
無線発信機構を含む対象デバイスの状態を遷移させる命令を検出し、検出された前記命令に基づいて前記対象デバイスの状態を遷移させる制御手段
を備え、
前記制御手段は、前記対象デバイスを強制的に状態遷移させる前に、前記対象デバイスに関連するソフトウエアによる状態遷移を試行し、前記ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的に前記対象デバイスを状態遷移させ、前記ソフトウエアから正常に動作していることが通知された場合、前記待機時間のカウントダウンを停止する
情報処理装置。
Detecting an instruction to transition the state of the target device that includes a wireless transmitting mechanism, a control means for shifting the state of the target device based on the detected instruction,
Wherein, prior to forcibly state transition of the target device, the associated target device attempts to state transition by software, if it is working properly from said software is not reported, the standby An information processing apparatus that forcibly changes the state of the target device when time elapses and stops counting down the waiting time when notified by the software that the device is operating normally.
前記制御手段は、前記ソフトウエアによる状態遷移により、前記対象デバイスを無効化する
請求項記載の情報処理装置。
The information processing apparatus according to claim 4 , wherein the control unit invalidates the target device by a state transition by the software.
前記ソフトウエアはOS及びデバイスドライバーを含む
請求項記載の情報処理装置。
The information processing apparatus according to claim 4, wherein the software includes an OS and a device driver.
前記制御手段は、単一の操作により複数の前記対象デバイスの状態を並行して遷移させる
請求項に記載の情報処理装置。
The information processing apparatus according to claim 4 , wherein the control unit changes the states of the plurality of target devices in parallel by a single operation.
複数の前記対象デバイスは排他的に作動するデバイス同士である
請求項記載の情報処理装置。
The information processing apparatus according to claim 7 , wherein the plurality of target devices are devices that operate exclusively.
前記単一の操作は、使用者がスイッチを操作するものである
請求項記載の情報処理装置。
The information processing apparatus according to claim 7 , wherein the single operation is one in which a user operates a switch.
無線発信機構を含む対象デバイスの状態を遷移させる命令を検出する検出手順と、
前記検出手順の処理により検出された前記命令に基づいて前記対象デバイスの状態を遷移させる制御手順と
を含み、
前記制御手順の処理は、前記対象デバイスを強制的に状態遷移させる前に、前記対象デバイスに関連するソフトウエアによる状態遷移を試行し、前記ソフトウエアから正常に動作していることが通知されない場合、待機時間が経過したとき強制的に前記対象デバイスを状態遷移させ、前記ソフトウエアから正常に動作していることが通知された場合、前記待機時間のカウントダウンを停止する
情報処理方法。
A detection procedure for detecting a command to change the state of the target device including the wireless transmission mechanism ;
A control procedure for transitioning the state of the target device based on the command detected by the processing of the detection procedure,
Processing of the control procedure, before forcibly state transition of the target device, the attempts to state transition by software associated with the target device, wherein when the can from the software operates normally not reported When the standby time has elapsed, the state of the target device is forcibly changed, and when it is notified from the software that the device is operating normally, the countdown of the standby time is stopped.
前記制御手順の処理は、前記ソフトウエアによる状態遷移により、前記対象デバイスを不作動状態に遷移させる
請求項10記載の情報処理方法。
The information processing method according to claim 10 , wherein the process of the control procedure causes the target device to transition to an inoperative state by a state transition by the software.
JP2001272669A 2001-09-07 2001-09-07 Information processing apparatus and information processing method Expired - Fee Related JP4894114B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001272669A JP4894114B2 (en) 2001-09-07 2001-09-07 Information processing apparatus and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001272669A JP4894114B2 (en) 2001-09-07 2001-09-07 Information processing apparatus and information processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011171453A Division JP5353970B2 (en) 2011-08-05 2011-08-05 Information processing apparatus and information processing method

Publications (2)

Publication Number Publication Date
JP2003084870A JP2003084870A (en) 2003-03-19
JP4894114B2 true JP4894114B2 (en) 2012-03-14

Family

ID=19098006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001272669A Expired - Fee Related JP4894114B2 (en) 2001-09-07 2001-09-07 Information processing apparatus and information processing method

Country Status (1)

Country Link
JP (1) JP4894114B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4216847B2 (en) * 2003-08-18 2009-01-28 富士通株式会社 Power supply control apparatus, power supply control method, and program
JP4364241B2 (en) * 2004-03-03 2009-11-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Control program, recording medium, control method, and information processing apparatus

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02101546A (en) * 1988-10-11 1990-04-13 Nec Corp System for executing and supervising virtual computer
JP2919057B2 (en) * 1990-11-21 1999-07-12 日本電気株式会社 Non-response monitoring method in multi-job system
JPH04195437A (en) * 1990-11-28 1992-07-15 Toshiba Corp Program runaway monitoring device
JPH06110587A (en) * 1992-09-28 1994-04-22 Omron Corp Method and device for controlling power source of automatic transaction machine
JPH10200469A (en) * 1997-01-16 1998-07-31 Toshiba Corp Mobile communication terminal
JPH11102238A (en) * 1997-09-29 1999-04-13 Toshiba Corp Computer system and suspend control method therefor
JPH11154040A (en) * 1997-11-20 1999-06-08 Nec Eng Ltd Information processor and power control method thereof, and storage medium where program for allowing computer to implement same method is recorded
JP3658182B2 (en) * 1998-04-17 2005-06-08 株式会社日立国際電気 Mobile phone terminal
JP2001014069A (en) * 1999-06-30 2001-01-19 Matsushita Electric Ind Co Ltd Method for automatically stopping power supply and information processor equipped with automatic power, supply stopping device
JP2001036456A (en) * 1999-07-21 2001-02-09 Nec Corp Mobile radio and controlling method for mobile radio

Also Published As

Publication number Publication date
JP2003084870A (en) 2003-03-19

Similar Documents

Publication Publication Date Title
KR101130392B1 (en) Modifying a power management algorithm based on wireless communication parameters
WO2007105279A1 (en) Portable communication apparatus
KR101464741B1 (en) Apparatus and Method for controlling Power Management
US20050278557A1 (en) Portable electronic apparatus having an openable lid, program product and method of controlling portable electronic apparatus
WO2006114598A1 (en) Delegating universal serial bus functionality
US8589954B2 (en) Method and program for selective suspension of USB network device
US5922075A (en) Power management control of pointing devices during low-power states
KR101355326B1 (en) Transitioning of a port in a communications system form an active state to a standby state
JP4894114B2 (en) Information processing apparatus and information processing method
EP2726955B1 (en) Power management module for usb devices
JP5353970B2 (en) Information processing apparatus and information processing method
JP2002268825A (en) System for controlling storage management data
US11940936B2 (en) Coordinating operations of multiple communication chips via local hub device
WO2004077203A3 (en) A method and system of securely enforcing a computer policy
JP5102528B2 (en) Information processing apparatus and control method
US9087031B2 (en) Method and program for selective suspension of USB device
JP2015222505A (en) Electronic apparatus
US20220382701A1 (en) Billboard for Context Information Sharing
JP2000032081A (en) Computer system and its power saving control method
JP2003229927A (en) Connection control method for information communication apparatus in network connection, and network connection control device implementing the same
JP2003044182A (en) Information processor
JP2001211232A (en) Device management control method and system for remote access
JP3465637B2 (en) Server and control method thereof
JP3821711B2 (en) Communication management device, communication management program
JP2003037048A (en) Semiconductor manufacturing system and method of controlling semiconductor manufacturing apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050516

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050810

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101012

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110815

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111212

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees