WO2005085979A1 - 制御プログラム、記録媒体、制御方法、及び情報処理装置 - Google Patents

制御プログラム、記録媒体、制御方法、及び情報処理装置 Download PDF

Info

Publication number
WO2005085979A1
WO2005085979A1 PCT/JP2005/003323 JP2005003323W WO2005085979A1 WO 2005085979 A1 WO2005085979 A1 WO 2005085979A1 JP 2005003323 W JP2005003323 W JP 2005003323W WO 2005085979 A1 WO2005085979 A1 WO 2005085979A1
Authority
WO
WIPO (PCT)
Prior art keywords
information processing
termination
operating system
instruction
unit
Prior art date
Application number
PCT/JP2005/003323
Other languages
English (en)
French (fr)
Inventor
Eitaroh Kasamatsu
Seiichi Kawano
Shinji Matsushima
Original Assignee
International Business Machines Corporation
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 International Business Machines Corporation filed Critical International Business Machines Corporation
Priority to JP2006510666A priority Critical patent/JP4364241B2/ja
Publication of WO2005085979A1 publication Critical patent/WO2005085979A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof

Definitions

  • Control program recording medium, control method, and information processing device
  • the present invention relates to a control program, a recording medium, a control method, and an information processing device.
  • the present invention relates to a control program, a recording medium, a control method, and an information processing device for controlling a termination process of the information processing device.
  • Patent document 1 JP-A-7-261888
  • Patent Document 2 JP-A-11 327703
  • Patent Document 3 JP-A-2002-73220
  • Patent Document 4 JP-A-2002-312076
  • the operating system itself hangs while operating, or if the operation of the input device of the information processing device has a failure, the user is required to operate the operating system.
  • the information processing device is forcibly terminated without waiting for termination. I can't do it.
  • the Windows (registered trademark) operating system provides a function for terminating a process to a user when a Ctrl key, an Alt key, and a Del key are pressed.
  • the keyboard operation has failed, the user cannot perform this operation, and the information processing device is forcibly terminated. I could only do it.
  • an object of the present invention is to provide a control program, a recording medium, a control method, and an information processing device that can solve the above-described problems.
  • a recording medium that records a control program for controlling a process of turning off a power supply of an information processing apparatus.
  • a process managed by the operating system of the information processing apparatus and a termination processing instruction unit for instructing an end processing of the operating system A device initialization unit that initializes input / output devices managed by the operating system before the operating system is terminated, and a power supply of the information processing device when the operating system is terminated.
  • a recording medium on which a control program to function as a power-off setting unit to be turned off is recorded. Ri operation information processing apparatus, and a control method by the control program.
  • the information processing apparatus can be appropriately terminated.
  • FIG. 1 shows an example of a hardware configuration of the information processing apparatus 10.
  • the information processing device 10 includes a central processing unit 1000, a RAM 1020, A central processing unit peripheral having a graphic controller 1075 and a display device 1080, a communication interface 1030, an input device 1032, an embedded controller 1035, and a hard disk drive connected to the host controller 1082 by the IZO controller 1084.
  • An I / O unit having a 1040 and a CD-ROM drive 1060, and a legacy I / O unit having a BIOS 1010, a flexible disk drive 1050, and an I / O chip 1070 connected to the I / O controller 1084 are provided.
  • the host controller 1082 connects the RAM 1020, the central processing unit 1000 that accesses the RAM 1020 at a high transfer rate, and the graphic controller 1075.
  • the central processing unit 1000 operates based on programs stored in the BIOS 1010 and the RAM 1020, and controls each unit.
  • the graphic controller 1075 acquires image data generated on the frame buffer provided in the RAM 1020 by the central processing unit 1000 or the like, and displays the image data on the display device 1080.
  • the graphic controller 1075 may include a frame buffer for storing image data generated by the central processing unit 1000 or the like.
  • the IZO controller 1084 includes a host controller 1082, a communication interface 1030, an input device 1032, an embedded controller 1035, a hard disk drive 1040, and a CD-ROM drive 1060, which are relatively high-speed input / output devices. Connecting.
  • the communication interface 1030 communicates with an external device via a network.
  • the embedded controller 1035 sends a power switch 1038, an SCI interrupt request signal line for sending an SCI interrupt instruction to the I / O controller 1084, and an SMI interrupt instruction signal to the IZO controller 1084. Connect to SMI interrupt request instruction signal line. Then, when the power switch 1038 is pressed, the embedded controller 1035 transmits an instruction to the central processing unit 1000 or the like via the I / O controller 1084.
  • the SCI interrupt instruction is an instruction for requesting the central processing unit 1000 to perform an SCI interrupt process, which is an interrupt process for the operating system.
  • SCI stands for System Control Interrupt.
  • the SMI interrupt instruction is an instruction for requesting the central processing unit 1000 to perform an SMI interrupt process, which is an interrupt process for a BIOS program.
  • SMI stands for SvstemManagement Interrupt.
  • the input device 1032 is, for example, a mouse or a keyboard, and requests the central processing unit 1000 to perform an interrupt process in response to an operation from a user.
  • the hard disk drive 1040 stores programs and data used by the information processing device 10.
  • the CD-ROM drive 1060 reads a program or data from the CD-ROM 1095 and provides it to the input / output chip 1070 via the RAM 1020.
  • the IZO controller 1084 is connected to the BIOS 1010 and relatively low-speed input / output devices such as a flexible disk drive 1050 and an input / output chip 1070.
  • the BIOS 1010 stores a boot program executed by the central processing unit 1000 when the information processing device 10 is started, a program that depends on hardware of the information processing device 10, and the like.
  • the flexible disk drive 1050 reads a program or data from the flexible disk 1090 and supplies the read program or data to the input / output chip 1070 via the RAM 1020.
  • the input / output chip 1070 connects various input / output devices via a flexible disk 1090 and, for example, a parallel port, a serial port, a keyboard port, a mouse port, and the like.
  • the program provided to the information processing device 10 is stored in a recording medium such as a flexible disk 1090, a CD-RO 1095, or an IC card and provided by a user.
  • the program is read out from the recording medium via the input / output chip 1070 and / or the I / O controller 1084, installed in the information processing apparatus 10, and executed.
  • the control program according to the present invention is used by the S1010, the hard disk drive 1040, or the embedded controller 1035, each of which is an example of the recording medium according to the present invention.
  • V it may be recorded in the recording area.
  • the control program installed and executed on the information processing apparatus 10 includes an end determination module, a power-off setting module, an end processing instruction module, an interrupt setting module, a device initialization module, An exit status setting module, an exit status output module, and an operating system are included.
  • the operation of each module acting on the information processing apparatus 10 is the same as the operation of the corresponding member in the information processing apparatus 10 described with reference to FIGS. In the following explanation,
  • OS the operating system is abbreviated as OS.
  • the programs or modules described above may be stored in an external storage medium.
  • a storage medium in addition to the flexible disk 1090 and the CD-ROM 1095, an optical recording medium such as a DVD or PD, a magneto-optical recording medium such as an MD, a tape medium, a semiconductor memory such as an IC card, or the like can be used.
  • a storage device such as a node disk, a RAM, or the like provided in a server system connected to a dedicated communication network or the Internet may be used as a recording medium, and the program may be provided to the information processing device 10 via the network. .
  • FIG. 2 shows an example of a block diagram of the Enbedded controller 1035.
  • the embedded controller 1035 functions as an end determination unit 200 and a power-off setting unit 210.
  • the termination judgment unit 200 transmits an SMI interrupt instruction to the IZO controller 1084 when the user also receives a forced termination instruction for forcibly terminating the OS, so that the IZO controller 1084 sends the instruction to the central processing unit 1000. Send an SMI interrupt request.
  • the BIOS program starts operating in the central processing unit 1000.
  • the end determination unit 200 notifies the power-off setting unit 210 that the operation of the BIOS program has been started.
  • the termination determination unit 200 transmits an SCI interrupt instruction to the IZO controller 1084, so that the I / O controller 1084 It causes the central processing unit 1000 to transmit an SCI interrupt request.
  • the CPU 1000 starts the normal termination processing of the operating system.
  • the end determination unit 200 determines that the user power has also received the normal end instruction.
  • termination determination section 200 does not receive a normal termination instruction while receiving a forced termination instruction. Specifically, when receiving a normal termination instruction between receiving the forced termination instruction and terminating the information processing device 10, the termination determination unit 200 does not transmit the SCI interrupt request. This can prevent different OS termination processes from being executed in parallel.
  • the power-off setting unit 210 receives a notification from the end determination unit 200 that the operation of the BIOS program has started, the power-off setting unit 210 sends a notification that the BIOS program is operating and the device initialization unit Receive regularly from 320. Then, the power-off setting unit 210 instructs the IZO controller 1084 when the next notification is not received within the reference standby time since the last notification that the BIOS program is operating is received. Turn off the power of the information processing device 10.
  • FIG. 3 shows an example of a block diagram of the central processing unit 1000.
  • the central processing unit 1000 ⁇ ⁇ ⁇
  • the termination processing instruction section 300 By the IOS program and the termination program, the termination processing instruction section 300, the interrupt setting section 310, the device initialization section 320, the termination state setting section 330, the termination processing section 335, and the termination status It functions as the output unit 340.
  • a control program according to the present invention, which is a combination of a BIOS program, an end program, and a program for operating the embedded controller 1035.
  • the BIOS program is a program that is not subject to task management by the OS, and is, for example, a program that can operate even when a failure occurs in the OS.
  • the termination processing instructing unit 300 determines that the user power off instruction has been received, and instructs OS and process termination processing. For example, the termination processing instructing unit 300 operates the termination program for terminating the process as a task managed by the OS, thereby terminating the OS process, terminating the OS process, and then terminating the OS. Let it. More specifically, the termination processing instruction unit 300 may start the operation of the termination program on the OS by requesting the central processing unit 1000 to request an SCI interrupt by the IZO controller 1084.
  • the terminating program may be a program that is started in response to an instruction from the BIOS program! /, Or is a program that is resident on the OS in advance and starts operating according to the instruction of the BIOS program. May be.
  • the interrupt setting unit 310 sets the ⁇ / O controller 1084 to periodically interrupt the BIOS program using an interval timer.
  • the device initialization unit 320 operates by periodically receiving an interrupt request for the BIOS program from the IZO controller 1084. And the device The initialization unit 320 periodically determines whether or not the end program is operating normally by checking information written to the non-volatile recording medium by the end program.
  • the device initialization unit 320 releases the input / output wait state of a process that cannot be terminated due to the input / output wait of the input / output device.
  • Initialize an output device eg, communication interface 1030 or input device 1032.
  • the device initialization unit 320 periodically notifies the power-off setting unit 210 that the BIOS program is operating normally.
  • the device initialization unit 320 may use an interface that sends an instruction from the central processing unit 1000 to the input / output device.
  • the termination state setting unit 330 may terminate the power of the input / output device of the information processing apparatus 10.
  • the end state setting unit 330 may perform a process of retracting the magnetic surface force of the magnetic head of the hard disk drive 1040.
  • the end state setting unit 330 stores the fact that the input / output device has been set to the end state in a nonvolatile recording medium provided in the IZO controller 1084 or the like.
  • the OS operates an end program and a plurality of other processes as targets of task management by the OS. Then, when the OS receives an instruction to terminate the OS from the IZO controller 1084 by the SCI interrupt request, the OS terminates the OS using a termination processing function provided in the OS in advance.
  • the termination program causes the central processing unit 1000 to function as the termination processing unit 335 and the termination status output unit 340.
  • the termination processing unit 335 Upon receiving the instruction from the termination processing instruction unit 300, the termination processing unit 335 periodically transmits a termination instruction for terminating the processing to the process operating on the OS. Further, the termination processing unit 335 periodically notifies the device initialization unit 320 that the termination program is operating normally.
  • the termination processing unit 335 periodically stores information indicating that the termination program is operating normally in a non-volatile recording medium provided in the The initialization unit 320 may be notified.
  • the termination processing unit 335 terminates the OS. You may ask the user if he / she is capable or not, and display a matching screen! If you get a response indicating that it should not be terminated! / ⁇ , run the OS normally. Thereby, the user can obtain an opportunity to operate the information processing apparatus 10 to save important data and the like before the OS is terminated. Further, if all processes can be terminated normally, the termination program may store that fact in the non-volatile recording medium.
  • the end status output unit 340 When the information processing device 10 is started, the end status output unit 340 outputs the end status when the power of the information processing device 10 was last turned off to the graphic controller 1075, and outputs the same to the display device 1080. indicate. For example, when the information processing apparatus 10 is started, first, the termination status output unit 340 reads information from the non-volatile recording medium stored by the termination status setting unit 330 or the termination program.
  • the termination status output unit 340 determines whether the power has been turned off without terminating the OS or the power has been turned off without terminating the OS based on the read information. Is displayed as the end status. As a result, the user can appropriately grasp the situation when the power was last turned off and use it for subsequent recovery processing. Instead, when the information processing apparatus 10 is turned off, a beep sound indicating the end state of the BIOS program may be emitted.
  • FIG. 4 shows an example of an operation flow of the embedded controller 1035.
  • the end determination unit 200 determines whether or not the button of the power switch 1038 has been pressed by the user for more than the reference time (S400). If the time at which the user power is also pressed is less than the reference time (S400: NO), the termination determination unit 200 transmits a termination instruction to perform a normal termination process to the operating system (S405).
  • the power-off setting unit 210 adjusts the detection interval for detecting that the BIOS program is operating (S410). Then, by transmitting an SMI interrupt instruction to the IZO controller 1084, the termination determination unit 200 causes the controller 1084 to transmit an SMI interrupt request to the central processing unit 1000 (S415).
  • the embedded controller 1035 repeats the following processing based on the detection interval adjusted in S410.
  • the power-off setting unit 210 determines whether or not the power has been notified from the BIOS program since the last repetition (S420). That is, thereby, the power-off setting unit 210 can determine whether or not the power of the BIOS program has been notified within the reference time. In the case of receiving the notification from the B IOS program within the reference time,! /, Na! / (S420: NO), the process proceeds to the power-off setting section 210 and S425.
  • the embedded controller 1035 performs another process for a predetermined time (S430). Subsequently, the power-off setting unit 210 determines whether the power of the information processing apparatus 10 is on or not (S440). When the power of the information processing apparatus 10 is on (S440: YES), the power-off setting unit 210 transmits an SMI interrupt instruction and determines whether the reference standby time has elapsed (S450). If the reference waiting time has not elapsed (S450: NO), the embedded controller 1035 returns the processing to S420.
  • the power-off setting unit The 210 instructs the ⁇ / O controller 1084 to turn off the power of the information processing device 10 (S425, S460). If the power of the information processing apparatus 10 has been turned off, or if the power of the information processing apparatus 10 has already been turned off (S440: NO), the embedded controller 1035 ends the processing.
  • the power-off setting unit 210 can determine whether the BIOS program normally operates and terminates the OS, or if the processing of the BIOS program is not completed within the reference standby time due to the occurrence of a failure, The power of the information processing device 10 can be turned off.
  • FIG. 5 shows an example of an operation flow of a BIOS program operating on the central processing unit 1000.
  • the end processing instruction unit 300 Upon receiving the SMI interrupt request based on the instruction from the end determination unit 200 from the IZO controller 1084, the end processing instruction unit 300 causes the controller 1084 to transmit an SCI interrupt request to the central processing unit 1000, The operation of the termination program on the OS is started (S500). Then, the interrupt setting unit 310 sets the IZO controller 1084 to periodically interrupt the BIOS program by the interval timer (S505).
  • the interrupt setting unit 310 affects the system performance of the information processing apparatus 10. , And set to interrupt at a sufficiently low frequency.
  • the BIOS program repeatedly performs the following processing based on the periodic reception of the SMI interrupt request from the IZO controller 1084.
  • the device initialization unit 320 When receiving the SMI interrupt request, the device initialization unit 320 notifies the power-off setting unit 210 of the embedded controller 1035 that the BIOS program is operating normally. (S510). Next, the device initialization unit 320 initializes an input / output device managed by the OS, such as the communication interface 1030 or the input device 1032, to release the input / output wait state of the process that cannot be terminated due to the input / output of the input / output device. (S520). More specifically, when a certain input / output device requests the central processing unit 1000 to perform an interrupt process, the device initialization unit 320 may initialize the input / output device. Alternatively, the device initialization unit 320 may initialize all the input / output devices that request the central processing unit 1000 to perform the interrupt processing. As an example, the device initialization unit 320 may perform a process of clearing a key input buffer of a keyboard or the like to initialize a keyboard or a mouse.
  • the device initialization unit 320 checks the information written in the non-volatile recording medium by the end program to determine whether the end program is operating normally (S530). ). If the end program operates normally (S530: YES), the BIOS program returns the process to S510. On the other hand, when the termination program is not operating normally (S530: NO), the termination state setting unit 330 sets the termination state in which the power of the input / output device of the information processing device 10 may be turned off (S540). . For example, the end state setting unit 330 may perform a process for retracting the magnetic surface force of the magnetic head of the hard disk drive 1040.
  • the case where the termination program is not operating normally includes the case where a failure has occurred in the operation of the termination program and the case where the processing of the termination program has been completed normally.
  • the information processing apparatus 10 can be terminated as safely as possible, not only when the processing of the termination program is normally completed, but also when a failure occurs in the operation of the termination program.
  • the BIOS program sends a notification to the Stop processing.
  • the embedded controller 1035 turns off the power of the information processing device 10. That is, the power-off setting unit 210 turns off the power of the information processing apparatus 10 when the input / output device is set to the end state by the end state setting unit 330. This can prevent damage to the input / output device, for example, damage to the magnetic surface of the node disk drive.
  • FIG. 6 shows an example of an operation flow of an end program operating on the central processing unit 1000.
  • the termination processing unit 335 Upon receiving the SCI interrupt request from the IZO controller 1084 based on the instruction from the termination processing instruction unit 300, the termination processing unit 335 displays a screen for inquiring the user whether to terminate the OS (S610). At this time, preferably, the termination processing unit 335 notifies the user that the forced termination processing of the OS has started by displaying to the user a message such as “Start emergency termination processing”. This allows the user to know that the power switch 1038 does not need to be pressed. More preferably, when the user instructs not to terminate the OS, the termination processing unit 335 notifies the user that the OS cannot be continuously used normally. Further, the termination processing unit 335 may notify the user that the process and the OS should be manually terminated, the OS should be restarted, and the use of the OS should be resumed. Then, the end program repeats the following processing.
  • the termination processing unit 335 notifies the BIOS program that the termination program is operating normally (S620). Then, the termination processing unit 335 determines whether or not the inquiry of the IJ user in S610 has timed out, that is, inquires of the user whether or not the ability to terminate the OS in S610, and determines whether or not the power has passed the predetermined time. (S630). When a timeout occurs (S630: YES), the termination processing unit 335 shifts the processing to S655.
  • the termination processing unit 335 determines whether or not the user received an operation in response to the inquiry (S640). If no operation has been received (S640: NO), the termination processing unit 335 returns the processing to S620. When an operation is received (S640: YES), the termination processing unit 335 determines whether or not the operation is an instruction to terminate the OS (S650).
  • the termination processing unit 335 periodically notifies the BIOS program that the termination program is operating normally (S652). This As a result, if the input / output device has been initialized by the device initialization unit 320 and the OS has not been terminated yet, and the OS has resumed operation, the termination processing unit 335 provides the user with the use of the OS. Can be continued. As a result, the user cannot use the OS in a normal state, but can manually terminate the OS after properly saving the data of the application program as necessary.
  • the termination processing unit 335 transmits a termination instruction to the OS (S655). Then, the termination processing unit 335 notifies the BIOS program that the termination program is operating normally (S660). Then, the termination processing unit 335 acquires a list of processes operating on the OS from the OS, and transmits a termination instruction to these processes (S670). The termination processing unit 335 repeats the processing of S660 and S670.
  • the processing in the figure may be realized as one function of the operating system instead of the end program. That is, the termination processing instruction unit 300 may request the OS to terminate the process, and then terminate the OS. In this case, depending on the type of failure that occurs in the operating system, the termination process may not be performed properly, but the efficiency is high because it is not necessary to make the termination program resident in the operating system.
  • the information processing apparatus 10 causes the BIOS program to transmit an end instruction for terminating the process to the OS process, and the process that cannot be terminated due to waiting for input / output of an input / output device. Initialize the I / O devices that should release the I / O wait state. As a result, the hung OS can be returned to a normal state and terminated normally.
  • the information processing apparatus 10 can switch the processing when the power is turned off in accordance with how the power switch is operated. This allows the user to select the process of turning off the power even when a failure that disables operation with the keyboard or the like occurs. Further, the information processing apparatus 10 saves the termination status when the power is turned off, and displays it at the next startup. This makes it easier to find the cause of the obstacle.
  • FIG. 1 shows an example of a hardware configuration of the information processing apparatus 10.
  • FIG. 2 shows an example of a block diagram of an embedded controller 1035.
  • FIG. 3 shows an example of a block diagram of a central processing unit 1000.
  • FIG. 4 shows an example of an operation flow of the embedded controller 1035.
  • FIG. 5 shows an example of an operation flow of a BIOS program operating on the central processing unit 1000.
  • FIG. 6 shows an example of an operation flow of an end program operating on the central processing unit 1000.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

【課題】 情報処理装置を適切に終了させる。 【解決手段】 情報処理装置の電源をオフにする処理を制御する制御プログラムであって、情報処理装置を、情報処理装置の電源をオフにするオフ指示を受けた場合に、情報処理装置のオペレーティングシステムにより管理されて動作するプロセス及びオペレーティングシステムの終了処理を指示する終了処理指示部と、オフ指示を受けてからオペレーティングシステムが終了するまでの間に、オペレーティングシステムにより管理される入出力デバイスを初期化するデバイス初期化部と、オペレーティングシステムを終了させた場合に、情報処理装置の電源をオフにする電源オフ設定部として機能させる制御プログラムを提供する。

Description

明 細 書
制御プログラム、記録媒体、制御方法、及び情報処理装置
技術分野
[0001] 本発明は、制御プログラム、記録媒体、制御方法、及び情報処理装置に関する。特 に、本発明は、情報処理装置の終了処理を制御する制御プログラム、記録媒体、制 御方法、及び情報処理装置に関する。
背景技術
[0002] 近年、様々なアプリケーションプログラムをインストールして実行可能な汎用の情報 処理装置、例えばパーソナル 'コンピュータ等が普及している。このような情報処理装 置においては、複数のアプリケーションプログラムが互いに悪影響を与え合い、結果 として情報処理装置の動作が停止してしまう場合がある。この場合、利用者は、電源 ボタン等を数秒間押しつづけることにより、情報処理装置の電源を強制的にオフ状態 にしていた。
[0003] 情報処理装置のオペレーティングシステムを正常に終了させることなぐ情報処理 装置の電源をオフ状態とすると、アプリケーションプログラムにより処理中のデータが 失われる等の不都合がある。そこで、電源ボタンが押された場合に、オペレーティン グシステムを正常終了させて力 情報処理装置をオフ状態にする技術が提案されて いる(特許文献 1から 4参照)。
特許文献 1:特開平 7-261888号公報
特許文献 2:特開平 11 327703号公報
特許文献 3:特開平 2002-73220号公報
特許文献 4:特開平 2002-312076号公報
発明の開示
発明が解決しょうとする課題
[0004] し力しながら、オペレーティングシステム自体がハングアップして 、る場合や、情報 処理装置の入力デバイスによる操作に障害が発生している場合には、利用者は、ォ ペレ一ティングシステムの終了を待たずに情報処理装置を強制的に終了させることし かできない。例えば、 Windows (登録商標)オペレーティングシステムは、 Ctrlキー、 Altキー、及び Delキーの押下を受けると、利用者に対してプロセスを終了させる機能 を提供する。し力しながら、オペレーティングシステムの大部分が正常動作していても 、キーボートの操作に障害が発生していれば、利用者はこの操作を行うことができず 、情報処理装置を強制的に終了させることしかできな力つた。
[0005] そこで本発明は、上記の課題を解決することのできる制御プログラム、記録媒体、 制御方法、及び情報処理装置を提供することを目的とする。
課題を解決するための手段
[0006] 上記課題を解決するために、本発明の第 1の形態においては、情報処理装置の電 源をオフにする処理を制御する制御プログラムを記録した記録媒体であって、情報 処理装置を、情報処理装置の電源をオフにするオフ指示を受けた場合に、情報処理 装置のオペレーティングシステムにより管理されて動作するプロセス及びオペレーテ イングシステムの終了処理を指示する終了処理指示部と、オフ指示を受けて力 ォ ペレ一ティングシステムが終了するまでの間に、オペレーティングシステムにより管理 される入出力デバイスを初期化するデバイス初期化部と、オペレーティングシステム を終了させた場合に、情報処理装置の電源をオフにする電源オフ設定部として機能 させる制御プログラムを記録した記録媒体、当該制御プログラムにより動作する情報 処理装置、及び当該制御プログラムによる制御方法を提供する。
[0007] なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなぐ これらの特徴群のサブコンビネーションもまた、発明となりうる。
発明の効果
[0008] 本発明によれば、情報処理装置を適切に終了させることができる。
発明を実施するための最良の形態
[0009] 以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請 求の範隨こかかる発明を限定するものではなぐまた実施形態の中で説明されてい る特徴の組み合わせの全てが発明の解決手段に必須であるとは限らな 、。
[0010] 図 1は、情報処理装置 10のハードウェア構成の一例を示す。情報処理装置 10は、 ホストコントローラ 1082により相互に接続される中央処理装置 1000、 RAM1020、 グラフィックコントローラ 1075、及び表示装置 1080を有する中央処理装置周辺部と 、 IZOコントローラ 1084によりホストコントローラ 1082に接続される通信インターフエ イス 1030、入力デバイス 1032、ェンべッデドコントローラ 1035、ハードディスクドライ ブ 1040、及び CD— ROMドライブ 1060を有する入出力部と、 I/Oコントローラ 108 4に接続される BIOS1010、フレキシブルディスクドライブ 1050、及び入出力チップ 1070を有するレガシー入出力部とを備える。
[0011] ホストコントローラ 1082は、 RAM1020と、高い転送レートで RAM1020をアクセス する中央処理装置 1000及びグラフィックコントローラ 1075とを接続する。中央処理 装置 1000は、 BIOS1010及び RAM1020に格納されたプログラムに基づいて動作 し、各部の制御を行う。グラフィックコントローラ 1075は、中央処理装置 1000等が R AM1020内に設けたフレームバッファ上に生成する画像データを取得し、表示装置 1080上に表示させる。これに代えて、グラフィックコントローラ 1075は、中央処理装 置 1000等が生成する画像データを格納するフレームバッファを、内部に含んでもよ い。
[0012] IZOコントローラ 1084は、ホストコントローラ 1082と、比較的高速な入出力装置で ある通信インターフェイス 1030、入力デバイス 1032、ェンべッデドコントローラ 1035 、ハードディスクドライブ 1040、及び CD-ROMドライブ 1060を接続する。通信イン ターフェイス 1030は、ネットワークを介して外部の装置と通信する。
[0013] ェンべッデドコントローラ 1035は、電源スィッチ 1038と、 SCI割込指示を I/Oコン トローラ 1084に送る SCI割込要求指示信号線と、 SMI割込指示を IZOコントローラ 1084に送る SMI割込要求指示信号線とに接続する。そして、ェンべッデドコントロー ラ 1035は、電源スィッチ 1038が押下された場合に、 I/Oコントローラ 1084を介して 中央処理装置 1000等に指示を送信する。
[0014] ここで、 SCI割込指示とは、オペレーティングシステムに対する割込処理である SCI 割込処理を中央処理装置 1000に要求する指示である。そして、 SCIとは、 System Control Interruptの略である。また、 SMI割込指示とは、 BIOSプログラムに対する割 込処理である SMI割込処理を中央処理装置 1000に要求する指示である。そして、 SMIとは、 SvstemManagement Interruptの略である。 [0015] 入力デバイス 1032は、例えば、マウス又はキーボード等であり、利用者からの操作 を受けて中央処理装置 1000に割込処理を要求する。ハードディスクドライブ 1040 は、情報処理装置 10が使用するプログラム及びデータを格納する。 CD-ROMドラ イブ 1060は、 CD— ROM1095からプログラム又はデータを読み取り、 RAM1020を 介して入出力チップ 1070に提供する。また、 IZOコントローラ 1084には、 BIOS10 10と、フレキシブルディスクドライブ 1050や入出力チップ 1070等の比較的低速な入 出力装置とが接続される。 BIOS1010は、情報処理装置 10の起動時に中央処理装 置 1000が実行するブートプログラムや、情報処理装置 10のハードウェアに依存する プログラム等を格納する。
[0016] フレキシブルディスクドライブ 1050は、フレキシブルディスク 1090からプログラム又 はデータを読み取り、 RAM1020を介して入出力チップ 1070に提供する。入出力チ ップ 1070は、フレキシブルディスク 1090や、例えばパラレルポート、シリアルポート、 キーボードポート、マウスポート等を介して各種の入出力装置を接続する。
[0017] 情報処理装置 10に提供されるプログラムは、フレキシブルディスク 1090、 CD-RO Μ1095、又は ICカード等の記録媒体に格納されて利用者によって提供される。プロ グラムは、入出力チップ 1070及び/又は I/Oコントローラ 1084を介して、 記録媒体カゝら読み出され情報処理装置 10にインストールされて実行される。例えば 、本発明に係る制御プログラムは、各々が本発明に係る記録媒体の一例である ΒΙΟ S1010、ハードディスクドライブ 1040、又は、ェンべッデドコントローラ 1035により用
V、られる記録領域に記録されてもょ 、。
[0018] 情報処理装置 10にインストールされて実行される制御プログラムは、終了判断モジ ユールと、電源オフ設定モジュールと、終了処理指示モジュールと、割込設定モジュ ールと、デバイス初期化モジュールと、終了状態設定モジュールと、終了状況出力モ ジュールと、オペレーティングシステムとを含む。各モジュールが情報処理装置 10に 働きかけて行わせる動作は、図 2から図 6において説明する情報処理装置 10におけ る、対応する部材の動作と同一であるから、説明を省略する。また、以降の説明にお
V、てオペレーティングシステムを OSと略記する。
[0019] 以上に示したプログラム又はモジュールは、外部の記憶媒体に格納されてもよい。 記憶媒体としては、フレキシブルディスク 1090、 CD— ROM1095の他に、 DVDや P D等の光学記録媒体、 MD等の光磁気記録媒体、テープ媒体、 ICカード等の半導 体メモリ等を用いることができる。また、専用通信ネットワークやインターネットに接続 されたサーバシステムに設けたノ、ードディスク又は RAM等の記憶装置を記録媒体と して使用し、ネットワークを介してプログラムを情報処理装置 10に提供してもよい。
[0020] 図 2は、ェンべッデドコントローラ 1035のブロック図の一例を示す。ェンべッデドコ ントローラ 1035は、終了判断部 200と、電源オフ設定部 210として機能する。終了判 断部 200は、 OSを強制終了させる強制終了指示を利用者力も受けた場合に、 SMI 割込指示を IZOコントローラ 1084に対して送信することにより、 IZOコントローラ 10 84から中央処理装置 1000に対して SMI割込要求を送信させる。この結果、中央処 理装置 1000において BIOSプログラムが動作を開始する。そして、終了判断部 200 は、 BIOSプログラムの動作を開始させた旨を電源オフ設定部 210に通知する。
[0021] 一方、終了判断部 200は、 OSを通常終了させる通常終了指示を利用者から受け た場合に、 SCI割込指示を IZOコントローラ 1084に対して送信することにより、 I/O コントローラ 1084から中央処理装置 1000に対して SCI割込要求を送信させる。この 結果、中央処理装置 1000においてオペレーティングシステム力 通常の終了処理を 開始する。
[0022] 具体的には、終了判断部 200は、利用者が電源スィッチ 1038を予め定められた基 準時間以上オフ状態にした場合、例えば利用者が電源スィッチ 1038のボタンを基 準時間以上押し続けた場合に、利用者力 強制終了指示を受けたと判断する。一方 、終了判断部 200は、オフ状態が基準時間未満である場合、例えば利用者が電源ス イッチ 1038のボタンを押してすぐに離した場合に、利用者力も通常終了指示を受け たと判断する。
[0023] なお、好ましくは、終了判断部 200は、強制終了指示を受けている間に通常終了 指示を受け付けない。具体的には、終了判断部 200は、強制終了指示を受けてから 情報処理装置 10を終了させるまでの間に通常終了指示を受けた場合には、 SCI割 込要求を送信しない。これにより、互いに異なる OS終了処理が並行して実行されるこ とを防止できる。 [0024] 電源オフ設定部 210は、 BIOSプログラムの動作を開始させた旨の通知を終了判 断部 200から受けた場合に、 BIOSプログラムが動作して 、る旨の通知をデバイス初 期化部 320から定期的に受ける。そして、電源オフ設定部 210は、 BIOSプログラム が動作している旨の通知を最後に受けてから、基準待機時間内に、次の当該通知を 受け取れなかった場合に、 IZOコントローラ 1084に指示して情報処理装置 10の電 源をオフにする。
[0025] 図 3は、中央処理装置 1000のブロック図の一例を示す。中央処理装置 1000は、 Β IOSプログラム及び終了プログラムにより、終了処理指示部 300と、割込設定部 310 と、デバイス初期化部 320と、終了状態設定部 330と、終了処理部 335と、終了状況 出力部 340として機能する。 BIOSプログラム、終了プログラム、及びェンべッデドコ ントローラ 1035を動作させるプログラムの組力 本発明に係る制御プログラムの一例 である。ここで、 BIOSプログラムは、 OSによるタスク管理の対象とならないプログラム であり、例えば、 OSに障害が発生している場合であっても動作可能なプログラムであ る。
[0026] 終了処理指示部 300は、利用者から情報処理装置 10が強制終了指示を受けた場 合に、利用者力 オフ指示を受けたと判断し、 OS及びプロセスの終了処理を指示す る。例えば、終了処理指示部 300は、プロセスを終了させる終了プログラムを、 OSに よりタスク管理されるプロセスとして動作させることにより、 OSのプロセスを終了させ、 OSのプロセスを終了させた後、 OSを終了させる。より具体的には、終了処理指示部 300は、 IZOコントローラ 1084により中央処理装置 1000に対して SCI割込を要求さ せることにより、 OS上の終了プログラムの動作を開始させてもよい。ここで、終了プロ グラムとは、 BIOSプログラムからの指示を受けて起動するプログラムであってもよ!/、し 、予め OS上に常駐して BIOSプログラム力 の指示により動作を開始するプログラム であってもよい。
[0027] 割込設定部 310は、情報処理装置 10が利用者から強制終了指示を受けると、 \/ Oコントローラ 1084が BIOSプログラムに対してインターバルタイマにより定期的に割 り込むように設定する。デバイス初期化部 320は、 BIOSプログラムに対する割込要 求を IZOコントローラ 1084から定期的に受けることにより動作する。そして、デバイス 初期化部 320は、終了プログラムにより不揮発性の記録媒体に書き込まれた情報を チェックすることにより、終了プログラムが正常に動作している力否かを定期的に判断 する。
[0028] 終了プログラムが正常に動作している場合に、デバイス初期化部 320は、入出力デ バイスの入出力待ちにより終了できないプロセスの入出力待ち状態を解除するべぐ OSにより管理される入出力デバイス、例えば通信インターフェイス 1030又は入力デ バイス 1032を初期化する。そして、デバイス初期化部 320は、 BIOSプログラムが正 常に動作している旨を定期的に電源オフ設定部 210に通知する。通知方法としては 、デバイス初期化部 320は、中央処理装置 1000から入出力デバイスに指示を送るィ ンターフェイスを用いればよ 、。
[0029] 一方、終了状態設定部 330は、デバイス初期化部 320が、終了プログラムの動作 に障害が発生したと判断した場合に、情報処理装置 10の入出力デバイスの電源を オフにしてよい終了状態に設定する。例えば、終了状態設定部 330は、ハードデイス クドライブ 1040の磁気ヘッドを磁性面力も退避する処理を行ってもょ 、。この場合、 好ましくは、終了状態設定部 330は、入出力デバイスを終了状態に設定した旨を IZ Oコントローラ 1084等に設けられた不揮発性の記録媒体に記憶させる。
[0030] OSは、 OSによるタスク管理の対象として、終了プログラムと、その他の複数のプロ セスとを動作させる。そして、 OSは、 OSを終了する旨の指示を、 SCI割込要求により IZOコントローラ 1084から受けると、 OSに予め備わっている終了処理機能を用いて OSを終了させる。
[0031] 終了プログラムは、中央処理装置 1000を、終了処理部 335と、終了状況出力部 3 40として機能させる。終了処理部 335は、終了処理指示部 300から指示を受けると、 OS上で動作するプロセスに対して、処理を終了させる終了指示を定期的に送信す る。また、終了処理部 335は、終了プログラムが正常に動作している旨を定期的にデ バイス初期化部 320に通知する。
[0032] 更に、終了処理部 335は、終了プログラムが正常に動作している旨の情報を、 \/ Oコントローラ 1084に設けられた不揮発性の記録媒体に定期的に記憶させることに より、デバイス初期化部 320に通知してもよい。また、終了処理部 335は、 OSを終了 させる力否かを利用者に問 、合わせる画面を表示してもよ!/、。終了させな!/ヽ旨の返 答を取得した場合には、 OSを通常動作させる。これにより、利用者は、 OSの終了前 に情報処理装置 10を操作して重要なデータ等を退避する機会を得ることができる。 更に、終了プログラムは、全てのプロセスを正常に終了させることができた場合には、 その旨を当該不揮発性の記録媒体に記憶させてもょ 、。
[0033] 終了状況出力部 340は、情報処理装置 10が起動した場合に、情報処理装置 10の 電源が前回オフにされた時における終了状況をグラフィックコントローラ 1075に対し て出力し、表示装置 1080に表示する。例えば、情報処理装置 10が起動すると、ま ず、終了状況出力部 340は、終了状態設定部 330又は終了プログラムにより記憶さ れた不揮発性の記録媒体から、情報を読み出す。
[0034] そして、終了状況出力部 340は、読み出した情報に基づき、 OSを終了させることな く電源をオフにした力 又は、 OSを終了させて力 電源をオフにしたかを判断し、そ の旨を終了状況として表示する。これにより、利用者は、前回電源をオフにした時の 状況を適切に把握して、その後の復旧処理に役立てることができる。これに代えて、 情報処理装置 10の電源をオフにする時に、 BIOSプログラム力 終了状況を示すビ 一プ音を発してもよい。
[0035] 図 4は、ェンべッデドコントローラ 1035の動作フローの一例を示す。終了判断部 20 0は、電源スィッチ 1038のボタンが利用者力も基準時間以上押し続けられた力否か を判断する(S400)。利用者力も押された時間が基準時間未満である場合に (S400 : NO)、終了判断部 200は、オペレーティングシステムに対して通常の終了処理を行 う旨の終了指示を送信する(S405)。
[0036] 一方、基準時間以上押し続けられた場合に(S400 : YES)、電源オフ設定部 210 は、 BIOSプログラムが動作している旨を検出する検出間隔を調整する(S410)。そ して、終了判断部 200は、 SMI割込指示を IZOコントローラ 1084に対して送信する ことにより、 ΙΖΟコントローラ 1084から中央処理装置 1000に対して SMI割込要求を 送信させる(S415)。
[0037] 続いて、ェンべッデドコントローラ 1035は、 S410において調節された検出間隔に より、以下の処理を繰り返す。 まず、電源オフ設定部 210は、前回の繰り返しから今までに、 BIOSプログラムから 通知を受けた力否か判断する(S420)。即ち、これにより、電源オフ設定部 210は、 基準時間内に BIOSプログラム力も通知を受けた力否か判断できる。基準時間内に B IOSプログラムから通知を受けて!/、な!/、場合に(S420: NO)、電源オフ設定部 210 ίま、 S425に処理を移す。
[0038] 一方、基準時間内に BIOSプログラムから通知を受けた場合に(S420 : YES)、ェ ンべッデドコントローラ 1035は、他の処理を所定時間行う(S430)。続いて、電源ォ フ設定部 210は、情報処理装置 10の電源がオン力否力判断する(S440)。情報処 理装置 10の電源がオンの場合に(S440 : YES)、電源オフ設定部 210は、 SMI割 込み指示を送信して力も基準待機時間が経過したか否力判断する(S450)。基準待 機時間が経過していない場合に(S450 : NO)、ェンベッデドコントローラ 1035は、 S 420に処理を戻す。
[0039] 一方、基準時間内に BIOSプログラムから通知を受けて!/、な!/、場合(S420: NO)、 又は、基準待機時間が経過した場合に(S450 : YES)、電源オフ設定部 210は、 \/ Oコントローラ 1084に指示して、情報処理装置 10の電源をオフにする(S425、 S46 0)。情報処理装置 10の電源をオフにした場合、又は、情報処理装置 10の電源が既 にオフである場合に(S440 :NO)、ェンベッデドコントローラ 1035は、処理を終了す る。
[0040] これにより、電源オフ設定部 210は、 BIOSプログラムが正常動作して OSを終了さ せた場合、又は、障害の発生により BIOSプログラムの処理が基準待機時間内に完 了しない場合に、情報処理装置 10の電源をオフにすることができる。
[0041] 図 5は、中央処理装置 1000上で動作する BIOSプログラムの動作フローの一例を 示す。終了処理指示部 300は、終了判断部 200からの指示に基づく SMI割込要求 を IZOコントローラ 1084から受けると、 ΙΖΟコントローラ 1084により中央処理装置 1 000に対して SCI割込要求を送信させることにより、 OS上の終了プログラムの動作を 開始させる(S500)。そして、割込設定部 310は、 IZOコントローラ 1084が BIOSプ ログラムに対してインターバルタイマにより定期的に割り込むように設定する(S505) 。好ましくは、割込設定部 310は、情報処理装置 10のシステムパフォーマンスに影響 を与えな 、充分に低 ヽ頻度で割り込むように設定する。
BIOSプログラムは、 IZOコントローラ 1084から SMI割込要求を定期的に受けるこ と〖こより、以下の処理を繰り返し行う。
[0042] デバイス初期化部 320は、 SMI割込要求を受けると、 BIOSプログラムが正常に動 作している旨を、ェンべッデドコントローラ 1035の電源オフ設定部 210に対して通知 する(S510)。次に、デバイス初期化部 320は、入出力デバイスの入出力待ちにより 終了できないプロセスの入出力待ち状態を解除するべぐ OSにより管理される入出 力デバイス、例えば通信インターフェイス 1030又は入力デバイス 1032を初期化する (S520)。より具体的には、デバイス初期化部 320は、ある入出力デバイスが中央処 理装置 1000に対して割込処理を要求して 、る場合に、その入出力デバイスを初期 化してもよい。これに代えて、デバイス初期化部 320は、中央処理装置 1000に対し て割込み処理を要求する全ての入出力デバイスを初期化してもよい。一例として、デ バイス初期化部 320は、キーボード又はマウスを初期化するべくキーボード等のキー 入力バッファをクリアする処理を行ってもょ ヽ。
[0043] そして、デバイス初期化部 320は、終了プログラムにより不揮発性の記録媒体に書 き込まれた情報をチェックすることにより、終了プログラムが正常に動作している力否 かを判断する(S530)。終了プログラムが正常に動作して 、る場合に(S530: YES) 、 BIOSプログラムは、 S510に処理を戻す。一方、終了プログラムが正常に動作して いない場合に(S530 : NO)、終了状態設定部 330は、情報処理装置 10の入出力デ バイスの電源をオフにしてよい終了状態に設定する(S540)。例えば、終了状態設 定部 330は、ハードディスクドライブ 1040の磁気ヘッドを磁性面力も退避する処理を 行ってもよい。
[0044] ここで、終了プログラムが正常に動作していない場合とは、終了プログラムの動作に 障害が発生したと場合と、終了プログラムの処理が正常に完了した場合とを含む。こ れにより、終了プログラムの処理が正常に完了した場合のみならず、終了プログラム の動作に障害が発生した場合であっても、情報処理装置 10をできる限り安全に終了 させることがでさる。
[0045] なお、この場合、 BIOSプログラムは、ェンべッデドコントローラ 1035に対する通知 処理を停止する。この結果、ェンべッデドコントローラ 1035は、情報処理装置 10の 電源をオフにする。即ち、電源オフ設定部 210は、終了状態設定部 330により入出 力デバイスが終了状態に設定された場合に、情報処理装置 10の電源をオフにする 。これにより、入出力デバイスの損傷、例えばノヽードディスクドライブの磁性面の損傷 等を防ぐことができる。
[0046] 図 6は、中央処理装置 1000上で動作する終了プログラムの動作フローの一例を示 す。終了処理部 335は、終了処理指示部 300からの指示に基づく SCI割込要求を I ZOコントローラ 1084から受けると、 OSを終了させるか否かを利用者に問い合わせ る画面を表示する(S610)。この際、好ましくは、終了処理部 335は、「緊急終了処理 を開始します」等のメッセージを利用者に表示することにより、 OSの強制終了処理が 開始した旨を利用者に通知する。これにより、利用者は、電源スィッチ 1038を押し続 けなくてもよいことを知ることができる。更に好ましくは、終了処理部 335は、利用者が OSを終了させない旨を指示した場合に、 OSを継続して正常に使用することはでき ない旨を利用者に通知する。更に、終了処理部 335は、手動でプロセス及び OSを 終了させた後に OSを再起動して力も OSの使用を再開すべき旨を通知してもよい。 そして、終了プログラムは、以下の処理を繰り返す。
[0047] まず、終了処理部 335は、当該終了プログラムが正常に動作している旨を BIOSプ ログラムに通知する(S620)。そして、終了処理部 335は、 S610における禾 IJ用者の 問合せがタイムアウトしたか否力、即ち S610において OSを終了させる力否かを利用 者に問い合わせて力 所定の時間が経過した力否か判断する(S630)。タイムアウト した場合に(S630 : YES)、終了処理部 335は、 S655に処理を移す。
[0048] 一方、タイムアウトしていない場合に(S630 : NO)、終了処理部 335は、問合せに 対して利用者カゝら操作を受けたカゝ否カゝ判断する(S640)。操作を受けていない場合 に(S640 : NO)、終了処理部 335は、 S620に処理を戻す。操作を受けた場合に(S 640 : YES)、終了処理部 335は、その操作が OSを終了する指示力否か判断する( S650)。
[0049] OSを終了する指示でない場合に(S650 : NO)、終了処理部 335は、終了プロダラ ムが正常に動作している旨を、 BIOSプログラムに定期的に通知する(S652)。この 結果、終了処理部 335は、デバイス初期化部 320により入出力デバイスが初期化さ れ、かつ OSが未だ終了していない状態で、 OSが動作を再開したのであれば、利用 者に OSの使用を継続させることができる。これにより、利用者は、 OSを通常の状態 で使用することはできないものの、必要に応じてアプリケーションプログラムのデータ を正常に保存してから、 OSを手動で終了させることができる。
[0050] タイムアウトした場合(S630 : YES)、又は OSを終了する指示を受けた場合(S650 : YES)に、終了処理部 335は、 OSに終了指示を送信する(S655)。そして、終了処 理部 335は、終了プログラムが正常に動作している旨を、 BIOSプログラムに通知す る(S660)。そして、終了処理部 335は、 OS上で動作するプロセスのリストを OSから 取得し、これらのプロセスに終了指示を送信する(S670)。終了処理部 335は、 S66 0及び S 670の処理を繰り返す。
[0051] なお、本図の処理は、終了プログラムに代えてオペレーティングシステムの一つの 機能として実現されてもよい。即ち、終了処理指示部 300は、プロセスを OSに要求し て終了させた後、 OSを終了させてもよい。この場合、オペレーティングシステムに発 生する障害の種類によっては適切に終了処理できない場合があるものの、終了プロ グラムをオペレーティングシステムに常駐等させる必要がなぐ効率がよい。
[0052] 以上、本実施例によると、情報処理装置 10は、 BIOSプログラムにより、 OSのプロ セスに対して処理を終了する終了指示を送信させると共に、入出力デバイスの入出 力待ちにより終了できないプロセスの入出力待ち状態を解除するべぐ入出力デバイ スを初期化する。これにより、ハングアップした OSを通常の状態に復帰させて正常に 終了させることができる。
[0053] また、情報処理装置 10は、電源スィッチがどのように操作されたのかに応じて、電 源をオフする場合の処理を切り換えることができる。これにより、キーボード等による 操作が不能となる障害が発生した場合であっても、電源をオフにする処理を利用者 に選択させることができる。また、情報処理装置 10は、電源をオフする時の終了状況 を保存しておき、次回の起動時に表示する。これにより、障害の原因を追求し易くす ることがでさる。
[0054] 以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実 施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または 改良を加えることが可能であることが当業者に明らかである。その様な変更または改 良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載 力 明らかである。
図面の簡単な説明
[0055] [図 1]図 1は、情報処理装置 10のハードウェア構成の一例を示す。
[図 2]図 2は、ェンべッデドコントローラ 1035のブロック図の一例を示す。
[図 3]図 3は、中央処理装置 1000のブロック図の一例を示す。
[図 4]図 4は、ェンべッデドコントローラ 1035の動作フローの一例を示す。
[図 5]図 5は、中央処理装置 1000上で動作する BIOSプログラムの動作フローの一 例を示す。
[図 6]図 6は、中央処理装置 1000上で動作する終了プログラムの動作フローの一例 を示す。
符号の説明
[0056] 10 情報処理装置
200 終了判断部
210 電源オフ設定部
300 終了処理指示部
310 割込設定部
320 デバイス初期化部
330 終了状態設定部
335 終了処理部
340 終了状況出力部
1000 中央処理装置
1032 入力デバイス
1035 ェンべッデドコントローラ
1038 電源スィッチ
1084 I/Oコントローラ
CZCC00/S00Zdf/X3d PI 6.6S80/S00Z OAV

Claims

請求の範囲
[1] 情報処理装置の電源をオフにする処理を制御する制御プログラムを記録した記録 媒体であって、
前記情報処理装置を、
前記情報処理装置の電源をオフにするオフ指示を受けた場合に、前記情報処理 装置のオペレーティングシステムにより管理されて動作するプロセス及び前記オペレ 一ティングシステムの終了処理を指示する終了処理指示部と、
前記オフ指示を受けて力 前記オペレーティングシステムが終了するまでの間に、 前記オペレーティングシステムにより管理される入出力デバイスを初期化するデバイ ス初期化部と、
前記オペレーティングシステムを終了させた場合に、前記情報処理装置の電源を オフにする電源オフ設定部と
して機能させる制御プログラムを記録した記録媒体。
[2] 前記終了処理指示部は、前記プロセスに対して処理を終了する終了指示を送信し 前記デバイス初期化部は、前記入出力デバイスの入出力待ちにより終了できない プロセスの入出力待ち状態を解除するべぐ前記入出力デバイスを初期化する 請求項 1記載の記録媒体。
[3] 前記終了処理指示部は、利用者が前記情報処理装置の電源スィッチを予め定め られた基準時間以上オフ状態にした場合に、前記オフ指示を受けたと判断する 請求項 1記載の記録媒体。
[4] 前記デバイス初期化部は、前記入出力デバイスが前記情報処理装置の中央処理 装置に対して割込処理を要求している場合に、当該入出力デバイスを初期化する 請求項 1記載の記録媒体。
[5] 前記デバイス初期化部は、前記情報処理装置の中央処理装置に対して割り込み 処理を要求する全ての入出力デバイスを初期化する
請求項 1記載の記録媒体。
[6] 当該制御プログラムは、オペレーティングシステムによるタスク管理の対象とならな V、BIOSプログラムと、オペレーティングシステムによるタスク管理の対象である終了 プログラムとを備え、
前記情報処理装置は、前記 BIOSプログラムにより、前記終了処理指示部及び前 記デバイス初期化部として機能し、
前記終了処理指示部は、前記プロセスを終了させる前記終了プログラムを前記ォ ペレ一ティングシステムによりタスク管理されるプロセスとして動作させることにより、前 記オペレーティングシステムのプロセスを終了させ、
前記デバイス初期化部は、前記終了プログラムが正常に動作している間に、前記 入出力デバイスを初期化する
請求項 1記載の記録媒体。
[7] 前記デバイス初期化部は、前記情報処理装置に設けられた IZOコントローラから、 前記 BIOSプログラムに対する割込要求を定期的に受けることにより動作し、前記終 了プログラムが正常に動作している力否かを定期的に判断する
請求項 6記載の記録媒体。
[8] 前記情報処理装置を、利用者から前記オフ指示を受けた場合に、前記 IZOコント ローラが前記 BIOSプログラムに対してインターバルタイマにより定期的に割り込むよ うに設定する割込設定部として更に機能させる制御プログラムを記録した請求項 6記 載の記録媒体。
[9] 前記制御プログラムは、前記情報処理装置を、前記終了プログラムの動作に障害 が発生したと判断した場合に、前記情報処理装置の入出力デバイスの電源をオフに してよい状態に設定する終了状態設定部として更に機能させ、
前記電源オフ設定部は、前記終了状態設定部により前記入出力デバイスが終了 状態に設定された場合に、前記情報処理装置の電源をオフにする
請求項 6記載の記録媒体。
[10] 前記制御プログラムは、前記情報処理装置を、
前記終了プログラムの動作に障害が発生した場合に、前記オペレーティングシステ ムを終了させることなく電源をオフにする旨の終了状況を出力し、前記終了処理指示 部により前記オペレーティングシステムが終了した場合に、前記オペレーティングシ ステムを終了させて力 電源をオフにする旨の終了状況を出力する終了状況出力部 として更に機能させる
請求項 6記載の記録媒体。
[11] 前記終了状況出力部は、前記情報処理装置が起動した場合に、前記情報処理装 置の電源が前回オフにされた時における終了状況を出力する
請求項 10記載の記録媒体。
[12] 前記制御プログラムは、前記情報処理装置を、
前記オペレーティングシステムを通常終了させる通常終了指示を利用者力 受け た場合に、前記オペレーティングシステムに対する割込要求を中央処理装置に送信 することにより、前記オペレーティングシステムを終了させ、前記オペレーティングシス テムを強制終了させる強制終了指示を利用者力も受けた場合に、前記 BIOSプログ ラムに対する割込要求を中央処理装置に送信することにより、前記終了処理指示部 に前記オフ指示を送信する終了判断部
として更に機能させる請求項 6記載の記録媒体。
[13] 前記情報処理装置を、前記終了プログラムにより、
前記デバイス初期化部により前記入出力デバイスが初期化され、かつ前記オペレ 一ティングシステムが終了して ヽな 、場合に、前記オペレーティングシステムを終了 する力否かを前記終了プログラムにより利用者に問い合わせる終了処理部として機 能させる
請求項 6記載の記録媒体。
[14] 前記電源オフ設定部は、予め定められた基準待機時間内に、前記デバイス初期化 部による初期化の処理が完了しない場合に、前記情報処理装置の電源をオフにす る
請求項 1記載の記録媒体。
[15] 情報処理装置の電源をオフにする処理を制御する制御プログラムであって、
前記情報処理装置を、
前記情報処理装置の電源をオフにするオフ指示を受けた場合に、前記情報処理 装置のオペレーティングシステムにより管理されて動作するプロセス及び前記オペレ 一ティングシステムの終了処理を指示する終了処理指示部と、
前記オフ指示を受けて力 前記オペレーティングシステムが終了するまでの間に、 前記オペレーティングシステムにより管理される入出力デバイスを初期化するデバイ ス初期化部と、
前記オペレーティングシステムを終了させた場合に、前記情報処理装置の電源を オフにする電源オフ設定部と
して機能させる制御プログラム。
[16] 電源をオフにする処理を制御する情報処理装置であって、
前記情報処理装置の電源をオフにするオフ指示を受けた場合に、前記情報処理 装置のオペレーティングシステムにより管理されて動作するプロセス及び前記オペレ 一ティングシステムの終了処理を指示する終了処理指示部と、
前記オフ指示を受けて力 前記オペレーティングシステムが終了するまでの間に、 前記オペレーティングシステムにより管理される入出力デバイスを初期化するデバイ ス初期化部と、
前記オペレーティングシステムを終了させた場合に、前記情報処理装置の電源を オフにする電源オフ設定部と
を備える情報処理装置。
[17] 前記情報処理装置は、オペレーティングシステムによるタスク管理の対象とならない BIOSプログラムにより、前記終了処理指示部及び前記デバイス初期化部として機能 し、 前記 BIOSプログラムに対する SMI割込処理を中央処理装置に要求する SMI 割込指示を、前記情報処理装置のェンべッデドコントローラから IZOコントローラに 対して送信する信号線と、
前記オペレーティングシステムに対する SCI割込処理を中央処理装置に要求する SCI割込指示を、前記ェンべッデドコントローラから ΙΖΟコントローラに対して送信す る信号線と、
前記オペレーティングシステムを通常終了させる通常終了指示を利用者力 受け た場合に、前記 SCI割込指示を前記 ΙΖΟコントローラに対して送信することにより、 前記オペレーティングシステムを終了させ、前記オペレーティングシステムを強制終 了させる強制終了指示を利用者から受けた場合に、前記 SMI割込指示を前記 iZo コントローラに対して送信することにより、前記終了処理指示部に前記オフ指示を送 信する終了判断部とを更に備える請求項 16記載の情報処理装置。
[18] 前記終了判断部は、利用者が前記情報処理装置の電源スィッチを予め定められた 基準時間以上オフ状態にした場合に、前記強制終了指示を受けたと判断し、前記ォ フ状態が前記基準時間未満である場合に、前記通常終了指示を受けたと判断する 請求項 17記載の情報処理装置。
[19] 情報処理装置の電源をオフにする処理を制御する制御方法であって、
前記情報処理装置の電源をオフにするオフ指示を受けた場合に、前記情報処理 装置のオペレーティングシステムにより管理されて動作するプロセス及び前記オペレ 一ティングシステムの終了処理を指示する終了処理指示段階と、
前記オフ指示を受けて力 前記オペレーティングシステムが終了するまでの間に、 前記オペレーティングシステムにより管理される入出力デバイスを初期化するデバイ ス初期化段階と、
前記オペレーティングシステムを終了させた場合に、前記情報処理装置の電源を オフにする電源オフ設定段階と
を備える制御方法。
PCT/JP2005/003323 2004-03-03 2005-02-28 制御プログラム、記録媒体、制御方法、及び情報処理装置 WO2005085979A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006510666A JP4364241B2 (ja) 2004-03-03 2005-02-28 制御プログラム、記録媒体、制御方法、及び情報処理装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-059702 2004-03-03
JP2004059702 2004-03-03

Publications (1)

Publication Number Publication Date
WO2005085979A1 true WO2005085979A1 (ja) 2005-09-15

Family

ID=34917985

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/003323 WO2005085979A1 (ja) 2004-03-03 2005-02-28 制御プログラム、記録媒体、制御方法、及び情報処理装置

Country Status (3)

Country Link
JP (1) JP4364241B2 (ja)
TW (1) TWI372337B (ja)
WO (1) WO2005085979A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013233809A (ja) * 2013-06-24 2013-11-21 Canon Inc 情報処理装置、情報処理装置の制御方法及び制御プログラム
US9360912B2 (en) 2009-07-31 2016-06-07 Canon Kabushiki Kaisha Shutdown processing mode with forcible power off

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114326446A (zh) * 2021-12-28 2022-04-12 北京真视通科技股份有限公司 一种电子设备的自动释放方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001005547A (ja) * 1999-06-25 2001-01-12 Toshiba Corp 情報処理装置の状態遷移制御装置及び情報処理装置の状態遷移制御方法
JP2003084870A (ja) * 2001-09-07 2003-03-19 Sony Corp 情報処理装置及び情報処理方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001005547A (ja) * 1999-06-25 2001-01-12 Toshiba Corp 情報処理装置の状態遷移制御装置及び情報処理装置の状態遷移制御方法
JP2003084870A (ja) * 2001-09-07 2003-03-19 Sony Corp 情報処理装置及び情報処理方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9360912B2 (en) 2009-07-31 2016-06-07 Canon Kabushiki Kaisha Shutdown processing mode with forcible power off
JP2013233809A (ja) * 2013-06-24 2013-11-21 Canon Inc 情報処理装置、情報処理装置の制御方法及び制御プログラム

Also Published As

Publication number Publication date
TW200602850A (en) 2006-01-16
JP4364241B2 (ja) 2009-11-11
JPWO2005085979A1 (ja) 2008-01-24
TWI372337B (en) 2012-09-11

Similar Documents

Publication Publication Date Title
US6760850B1 (en) Method and apparatus executing power on self test code to enable a wakeup device for a computer system responsive to detecting an AC power source
US7328356B2 (en) Apparatus and method for saving power in a disk drive with a serial ATA interface connected to a host via a serial ATA bus
US20050007628A1 (en) Printing control apparatus, control method therefor, and program
CN102959502A (zh) 在系统中提供异步事件通知的方法
US20100042710A1 (en) Remote management of computer system
US10409356B2 (en) Printing device handling wake up event received immediately before shifted to a low power mode
EP2472355B1 (en) Graceful out-of-band power control of remotely-managed computer systems
JPH08115281A (ja) 情報処理システムと通信サービスボード
JP2001242965A (ja) コンピュータシステム、情報処理装置、及び電源供給システム
EP3273326A1 (en) Control apparatus and power control method for control apparatus
WO2007076644A1 (fr) Systeme informatique portable et procede de reception de paquets de donnees
JP4364241B2 (ja) 制御プログラム、記録媒体、制御方法、及び情報処理装置
JP2017182332A (ja) リモート端末装置とその制御方法とコンピュータシステム並びにプログラム
JP2000259546A (ja) 情報処理装置および情報処理方法、並びに提供媒体
US20120110381A1 (en) Information handling system forced action communicated over an optical interface
US20060126464A1 (en) Information processing system, program, recording medium, and control method
US7337338B2 (en) Information handling system capable of operation in reduced power states
JP2008262393A (ja) 情報処理システムおよびその制御方法
JP2001005547A (ja) 情報処理装置の状態遷移制御装置及び情報処理装置の状態遷移制御方法
JP2006133895A (ja) 情報処理装置、制御方法、及びプログラム
JP2001350548A (ja) 外部記憶装置の電源制御回路
CN112925730B (zh) 一种PCIe设备链路训练控制方法及系统
JP5767125B2 (ja) ネットワークシステム、ネットワーク設定方法および端末装置
US8108581B2 (en) Information processing apparatus
US8464099B2 (en) Information handling system forced action communicated over an optical interface

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006510666

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase