JP2008293204A - Information processing apparatus and error detection method - Google Patents

Information processing apparatus and error detection method Download PDF

Info

Publication number
JP2008293204A
JP2008293204A JP2007136896A JP2007136896A JP2008293204A JP 2008293204 A JP2008293204 A JP 2008293204A JP 2007136896 A JP2007136896 A JP 2007136896A JP 2007136896 A JP2007136896 A JP 2007136896A JP 2008293204 A JP2008293204 A JP 2008293204A
Authority
JP
Japan
Prior art keywords
time
predetermined
timeout
application program
program
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.)
Granted
Application number
JP2007136896A
Other languages
Japanese (ja)
Other versions
JP4945316B2 (en
Inventor
Kunio Baba
邦雄 馬場
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007136896A priority Critical patent/JP4945316B2/en
Publication of JP2008293204A publication Critical patent/JP2008293204A/en
Application granted granted Critical
Publication of JP4945316B2 publication Critical patent/JP4945316B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing apparatus that can efficiently prevent timeout errors due to the start of application programs during preparations to execute programs that should operate in cooperation. <P>SOLUTION: When started, an AV application program 101 acquires an elapsed time from the start of an operating system 102 to the present. If the acquired elapsed time exceeds an environment startup time, the AV application program 101 uses a normal timeout time in executing a service program status check process. If the acquired elapsed time is within the environment startup time, meanwhile, the AV application program 101 uses a timeout time longer than the normal timeout time in executing the service program status check process. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、パーソナルコンピュータのような情報処理装置および同装置に適用されるエラー検出方法に関する。   The present invention relates to an information processing apparatus such as a personal computer and an error detection method applied to the apparatus.

近年、DVD(Digital Versatile Disc)プレーヤ、TV装置、のようなオーディオ・ビデオ(AV)機器と同様のAV機能を備えたパーソナルコンピュータが開発されている。   In recent years, personal computers having the same AV function as audio / video (AV) devices such as DVD (Digital Versatile Disc) players and TV devices have been developed.

このようなパーソナルコンピュータにおいては、AV機能を実行するためのアプリケーションプログラム(AVアプリケーションプログラム)がインストールされている。このAVアプリケーションプログラムは、様々な処理を効率良く実行できるようにするために、通常は、サービスプログラム、ドライバプログラムといった他の様々なプロクラムと連携して動作するように構成されている。   In such a personal computer, an application program (AV application program) for executing the AV function is installed. This AV application program is usually configured to operate in cooperation with various other programs such as a service program and a driver program in order to efficiently execute various processes.

また、放送番組データの予約録画を実行可能なパーソナルコンピュータにおいては、放送番組データの録画開始時刻が到来する少し前に、録画処理を実行するためのアプリケーションプログラムを自動実行するための機能も設けられている。   A personal computer capable of performing scheduled recording of broadcast program data is also provided with a function for automatically executing an application program for executing recording processing slightly before the recording start time of the broadcast program data arrives. ing.

アプリケーションプログラムを自動実行するための技術として、例えば、特許文献1には、情報取得のためのアプリケーションを起動すべき時間的条件を管理し、時間的条件を満足するときに当該アプリケーションを起動する、という機能を有する通信端末装置が開示されている。
特開2002−190847号公報
As a technique for automatically executing an application program, for example, Patent Document 1 manages a time condition for starting an application for information acquisition, and starts the application when the time condition is satisfied. A communication terminal device having the function is disclosed.
JP 2002-190847 A

ところで、パーソナルコンピュータにおいては、アプリケーションプログラムのみならず、他の多くのサービスプログラム、ドライバプログラム等も実行される。これらプログラムは、パーソナルコンピュータの起動時にオペレーティングシステムによって順次自動起動される。このため、パーソナルコンピュータの起動直後は実行状態になっておらず、しばらく経過した後に実行状態になるサービスプログラムやドライバプログラムも存在する。   By the way, in the personal computer, not only application programs but also many other service programs, driver programs, and the like are executed. These programs are automatically started sequentially by the operating system when the personal computer is started. For this reason, there are service programs and driver programs that are not in an execution state immediately after the personal computer is started, and in an execution state after a while.

したがって、パーソナルコンピュータが通常稼働状態の場合には何ら問題なく利用可能なサービスプログラムが、パーソナルコンピュータの起動直後においては利用することができないというケースが発生することも想定される。   Therefore, it may be assumed that a service program that can be used without any problem when the personal computer is in a normal operating state cannot be used immediately after the personal computer is started.

通常、サービスプログラムと連携して動作するアプリケーションプログラムは、一定のタイムアウト時間だけサービスプログラムの実行開始待ちを行い、もしタイムアウト時間が経過してもサービスプログラムが実行状態とならない場合には、アプリケーションプログラムは当該アプリケーションプログラムが正常動作することが可能な環境ではないと判断して、タイムアウトエラーの発生を検出する。   Normally, an application program that operates in cooperation with a service program waits for the service program to start executing for a certain timeout period. If the service program does not enter the execution state even after the timeout period elapses, the application program It is determined that the application program is not in an environment where normal operation is possible, and occurrence of a timeout error is detected.

したがって、もしアプリケーションプログラムがパーソナルコンピュータの起動直後に起動されたならば、実際にはもう少し待つとサービスプログラムが実行状態になるにもかかわらず、タイムアウトエラーとして扱われてしまうという状況が発生する場合がある。   Therefore, if the application program is started immediately after the personal computer is started up, a situation may occur in which the service program will be treated as a timeout error even if it waits for a while, even though the service program enters the running state. is there.

また、録画処理を実行するためのアプリケーションプログラムについては、ユーザ操作によって起動されるだけでなく、録画予約された放送番組の録画開始時刻に従って自動的に起動されることもある。自動起動時には、録画開始時刻の少し前にパーソナルコンピュータが起動され、そしてその直後にアプリケーションプログラムが起動される。このため、連携して動作すべきプログラムの実行準備期間中にアプリケーションプログラムが起動されることに起因する上述のようなタイムアウトエラーが発生され易くなる。   In addition, the application program for executing the recording process is not only activated by a user operation, but may be automatically activated according to the recording start time of the broadcast program reserved for recording. At the time of automatic startup, the personal computer is started slightly before the recording start time, and immediately after that, the application program is started. For this reason, the above-described timeout error is likely to occur due to the application program being started during the execution preparation period of the program to be operated in cooperation.

本発明は上述の事情を考慮してなされたものであり、連携して動作すべきプログラムの実行準備期間中にアプリケーションプログラムが起動されることに起因するタイムアウトエラーの発生を効率よく防止することが可能な情報処理装置およびエラー検出方法を提供することを目的とする。   The present invention has been made in consideration of the above-described circumstances, and can efficiently prevent the occurrence of a timeout error due to the application program being started during the execution preparation period of a program to be operated in cooperation. An object is to provide a possible information processing apparatus and an error detection method.

上述の課題を解決するため、本発明の情報処理装置は、所定のアプリケーションプログラムが起動された時、オペレーティングシステムが最後に起動されてからの経過時間を検出する検出手段と、前記検出された経過時間が所定時間を超えている場合、第1のタイムアウト時間を選定し、前記検出された経過時間が前記所定時間以内である場合、前記第1のタイムアウト時間よりも長い第2のタイムアウト時間を選定するタイムアウト時間選定手段と、前記所定のアプリケーションプログラムと連携して動作すべき所定のプログラムの状態をチェックするための状態チェック処理を実行し、前記状態チェック処理を開始してから前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に、前記所定のプログラムが実行状態であることが確認されなかった場合、エラーの発生を示すメッセージを出力するエラー出力手段とを具備することを特徴とする。   In order to solve the above-described problem, an information processing apparatus according to the present invention includes a detection unit that detects an elapsed time since the operating system was last started when a predetermined application program is started, and the detected progress When the time exceeds the predetermined time, the first time-out time is selected, and when the detected elapsed time is within the predetermined time, the second time-out time longer than the first time-out time is selected. Executing a state check process for checking a state of a predetermined program to be operated in cooperation with the predetermined application program, and starting the state check process, and then selecting the selected The predetermined program is executed during the period until the first or second timeout time elapses If it is state is not confirmed, characterized by comprising an error output means for outputting a message indicating the occurrence of an error.

本発明によれば、連携して動作すべきプログラムの実行準備期間中にアプリケーションプログラムが起動されることに起因するタイムアウトエラーの発生を効率よく防止することが可能となる。   According to the present invention, it is possible to efficiently prevent the occurrence of a time-out error due to the application program being started during the execution preparation period of a program that should operate in cooperation.

以下、図面を参照して、本発明の実施形態を説明する。
まず、図1および図2を参照して、本発明の一実施形態に係る情報処理装置の構成を説明する。この情報処理装置は、例えば、ノートブック型の携帯型パーソナルコンピュータ10から実現されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
First, with reference to FIG. 1 and FIG. 2, the structure of the information processing apparatus which concerns on one Embodiment of this invention is demonstrated. This information processing apparatus is realized by, for example, a notebook portable personal computer 10.

このコンピュータ10は、放送信号によって放送される放送番組データの再生および録画を実行するTV機能を有している。このTV機能には、ユーザによって設定された録画予約にしたがって放送番組データを録画する予約録画機能も含まれている。また、コンピュータ10は、DVDメディアやハードディスク等の記憶媒体に格納された映像および音声等のAVコンテンツを管理および再生するためのAVデータライブラリ機能を有しているこれらTV機能およびAVデータライブラリ機能は、例えば、コンピュータ10に予めインストールされているAVアプリケーションプログラムによって実現されている。   The computer 10 has a TV function for executing reproduction and recording of broadcast program data broadcast by a broadcast signal. This TV function also includes a reserved recording function for recording broadcast program data in accordance with a recording reservation set by the user. The computer 10 has an AV data library function for managing and reproducing AV contents such as video and audio stored in a storage medium such as a DVD medium or a hard disk. For example, it is realized by an AV application program installed in the computer 10 in advance.

図1はコンピュータ10のディスプレイユニットを開いた状態における斜視図である。本コンピュータ10は、コンピュータ本体11と、ディスプレイユニット12とから構成されている。   FIG. 1 is a perspective view of the computer 10 with the display unit opened. The computer 10 includes a computer main body 11 and a display unit 12.

ディスプレイユニット12には、TFT−LCD(Thin Film Transistor Liquid Crystal Display)17から構成される表示装置が組み込まれている。ディスプレイユニット12は、コンピュータ本体11に対して開放位置と閉塞位置との間を回動自在に取り付けられている。   The display unit 12 incorporates a display device including a TFT-LCD (Thin Film Transistor Liquid Crystal Display) 17. The display unit 12 is attached to the computer main body 11 so as to be rotatable between an open position and a closed position.

コンピュータ本体11は薄い箱形の筐体を有しており、その上面にはキーボード13、本コンピュータ10を電源オン/オフするためのパワーボタン14、入力操作パネル15、およびタッチパッド16などが配置されている。   The computer main body 11 has a thin box-shaped casing, and a keyboard 13, a power button 14 for turning on / off the computer 10, an input operation panel 15, a touch pad 16, and the like are arranged on the upper surface thereof. Has been.

また、コンピュータ本体11の正面には、本コンピュータ10のTV機能を遠隔制御する外部のリモコンユニットとの通信を実行するためのリモコンユニットインタフェース部20が設けられている。リモコンユニットインタフェース部20は、例えば、赤外線信号受信部などから構成されている。   In addition, a remote control unit interface unit 20 for executing communication with an external remote control unit for remotely controlling the TV function of the computer 10 is provided on the front surface of the computer main body 11. The remote control unit interface unit 20 includes, for example, an infrared signal receiving unit.

次に、図2を参照して、本コンピュータ10のシステム構成について説明する。   Next, the system configuration of the computer 10 will be described with reference to FIG.

本コンピュータ10は、図2に示されているように、CPU111、ノースブリッジ112、メインメモリ113、グラフィクスコントローラ114、サウスブリッジ119、BIOS−ROM120、ハードディスクドライブ(HDD)121、光ディスクドライブ(ODD)122、チューナ装置(受信デバイス)123A,123B、エンベデッドコントローラ/キーボードコントローラIC(EC/KBC)124、およびネットワークコントローラ125等を備えている。   As shown in FIG. 2, the computer 10 includes a CPU 111, a north bridge 112, a main memory 113, a graphics controller 114, a south bridge 119, a BIOS-ROM 120, a hard disk drive (HDD) 121, and an optical disk drive (ODD) 122. , Tuner devices (receiving devices) 123A and 123B, an embedded controller / keyboard controller IC (EC / KBC) 124, a network controller 125, and the like.

CPU111は本コンピュータ10の動作を制御するために設けられたプロセッサであり、ハードディスクドライブ(HDD)121からメインメモリ113にロードされる、オペレーティングシステム102、およびAVアプリケーションプログラム101のような各種アプリケーションプログラムを実行する。また、CPU111は、様々なサービスプログラム、デバイスドライバプログラム、データベースサービスプログラム等も実行する。これらサービスプログラム、デバイスドライバプログラム、データベースサービスプログラム等は、オペレーティングシステム102の起動時に当該オペレーティングシステム102によって自動的に起動される。   The CPU 111 is a processor provided to control the operation of the computer 10, and stores various application programs such as the operating system 102 and the AV application program 101 that are loaded from the hard disk drive (HDD) 121 to the main memory 113. Execute. The CPU 111 also executes various service programs, device driver programs, database service programs, and the like. These service program, device driver program, database service program, and the like are automatically activated by the operating system 102 when the operating system 102 is activated.

AVアプリケーションプログラム101は、放送番組データの再生および録画を制御するTV機能、および記憶媒体に格納された映像および音声等のAVコンテンツを管理および再生するためのAVデータライブラリ機能等を実行するためのアプリケーションプログラムである。   The AV application program 101 executes a TV function for controlling reproduction and recording of broadcast program data, an AV data library function for managing and reproducing AV contents such as video and audio stored in a storage medium, and the like. It is an application program.

TV機能の実行時においては、AVアプリケーションプログラム101は、チューナデバイス123A,123Bを制御して、放送信号によって放送される放送番組データ(TV放送番組)の再生および録画(予約録画を含む)を実行する。AVアプリケーションプログラム101は、オペレーティングシステム102上で動作するように構成されている。また、AVアプリケーションプログラム101は、様々なサービスプログラムやSQLデータベースサービスプログラム等と連携して動作するように構成されており、さらに、各種デバイスドライバプログラムも利用する。このため、AVアプリケーションプログラム101が正常動作するためには、AVアプリケーションプログラム101と連携すべき上述の各種プログラムが実行状態になっていることが必要である。   At the time of executing the TV function, the AV application program 101 controls the tuner devices 123A and 123B to execute reproduction and recording (including reservation recording) of broadcast program data (TV broadcast program) broadcast by the broadcast signal. To do. The AV application program 101 is configured to operate on the operating system 102. The AV application program 101 is configured to operate in cooperation with various service programs, SQL database service programs, and the like, and further uses various device driver programs. For this reason, in order for the AV application program 101 to operate normally, it is necessary that the above-mentioned various programs to be linked with the AV application program 101 are in an execution state.

AVアプリケーションプログラム101と連携すべき各種プログラムは、オペレーティングシステム102に対して予め登録されている。この登録処理は、例えば、AVアプリケーションプログラム101のインストール時にAVアプリケーションプログラム101のインストーラ等によって実行される。オペレーティングシステム102の起動時には、オペレーティングシステム102は、インストール済みのアプリケーションそれぞれの実行に必要な各種プログラム(サービスプログラム、デバイスドライバプログラム、SQLデータベースサービスプログラム、等)を順番に起動する。   Various programs to be linked with the AV application program 101 are registered in advance in the operating system 102. This registration processing is executed, for example, by the installer of the AV application program 101 when the AV application program 101 is installed. When the operating system 102 is activated, the operating system 102 sequentially activates various programs (service program, device driver program, SQL database service program, etc.) necessary for executing each installed application.

コンピュータ10が通常稼働状態である場合には、通常は、サービスプログラムやデバイスドライバプログラム等は実行状態になっているはずであるので、AVアプリケーションプログラム101の実行に影響が生じることはない。しかし、サービスプログラムやデバイスドライバプログラム等がユーザ操作によって停止されているなどのケースもあるので、AVアプリケーションプログラム101は、その起動時に、AVアプリケーションプログラム101と連携して動作すべき、サービスプログラムのようなプログラムの状態をチェックするための状態チェック処理を実行する。もし、この状態チェック処理を開始してから直ぐに特定のプログラムが実行状態であることが確認できなかったならば、AVアプリケーションプログラム101は、特定のプログラムが実行状態であることが確認されるのを、例えば、ユーザにストレスを与えない程度の所定のタイムアウト時間だけ待つ。このタイムアウト時間だけ待っても特定のプログラムが実行状態であることが確認されなかったならば、つまり、状態チェック処理を開始してからタイムアウト時間が経過するまでの期間中に、特定のプログラムが実行状態であることが確認されなかったならば、AVアプリケーションプログラム101は、AVアプリケーションプログラム101が正常に動作するために必要な動作環境が整っていないと判断し、エラーを示すメッセージ(エラーメッセージ)を出力する。   When the computer 10 is in a normal operation state, normally, the service program, the device driver program, and the like should be in an execution state, so that the execution of the AV application program 101 is not affected. However, since there are cases where the service program, device driver program, and the like are stopped by a user operation, the AV application program 101 is a service program that should operate in cooperation with the AV application program 101 at the time of activation. A status check process is executed to check the status of the correct program. If it cannot be confirmed that the specific program is in an execution state immediately after starting the state check process, the AV application program 101 confirms that the specific program is in an execution state. For example, it waits for a predetermined time-out period that does not stress the user. If it is not confirmed that the specific program is in the running state even after waiting for this timeout period, that is, the specific program is executed during the period from the start of the status check process until the timeout period elapses. If the AV application program 101 is not confirmed to be in the state, the AV application program 101 determines that the operating environment necessary for the AV application program 101 to operate normally is not prepared, and displays a message indicating an error (error message). Output.

ユーザにストレスを与えない程度のタイムアウト時間(待ち時間)は、せいぜい数秒程度である。したがって、AVアプリケーションプログラム101は、サービスプログラムのような特定のプログラムの実行開始を数秒程度しか待つことができない。AVアプリケーションプログラム101がコンピュータ10の起動直後、つまりオペレーティングシステム102の起動直後に起動された場合、その数秒程度の期間では、AVアプリケーションプログラム101と連携する、サービスプログラム、デバイスドライバのような特定のプログラムの準備が間に合わない場合がある。この場合、もう少し待てばサービスプログラム、デバイスドライバのような特定のプログラムが実行状態になるにもかかわらず、エラーとして扱われてしまうという現象が発生する。   The time-out time (waiting time) that does not give stress to the user is at most about several seconds. Therefore, the AV application program 101 can wait only about several seconds for the start of execution of a specific program such as a service program. When the AV application program 101 is started immediately after the computer 10 is started, that is, immediately after the operating system 102 is started, a specific program such as a service program or a device driver that cooperates with the AV application program 101 for a period of about several seconds. May not be ready in time. In this case, there is a phenomenon in which a specific program such as a service program or a device driver is treated as an error even if it waits for a while, even though it enters an execution state.

なお、もしタイムアウト時間を一意に長く設定してしまうと、本当に問題があってタイムアウトするような状況の場合には、エラーメッセージの表示までに多くの時間を要してしまうことになる。   Note that if the timeout time is set to be uniquely long, it takes a lot of time to display the error message in a situation where there is a real problem and timeout occurs.

そこで、本実施形態においては、AVアプリケーションプログラム101には、タイムアウト時間の長さを自動調整する機能が設けられている。すなわち、AVアプリケーションプログラム101が起動された時、AVアプリケーションプログラム101は、サービスプログラム、デバイスドライバのようなプログラム群を起動する環境立ち上げ処理がオペレーティングシステム102によって既に完了されているか否かを判定し、その判定結果に従って、タイムアウト時間の長さを自動調整する。環境立ち上げ処理が完了されているか否かの判定には、オペレーティングシステム102が起動されてから、AVアプリケーションプログラム101が起動されるまでの経過時間が用いられる。この経過時間がある一定時間を超えているならば、AVアプリケーションプログラム101は、環境立ち上げ処理が完了していていると判断し、通常のタイムアウト時間を用いて状態チェック処理を行う。一方、経過時間が一定時間以内であれば、AVアプリケーションプログラム101は、環境立ち上げ処理が完了していないと判断し、通常のタイムアウト時間よりも長いタイムアウト時間を用いて状態チェック処理を行う。   Therefore, in the present embodiment, the AV application program 101 is provided with a function for automatically adjusting the length of the timeout time. That is, when the AV application program 101 is activated, the AV application program 101 determines whether or not the operating system 102 has already completed environment startup processing for activating a program group such as a service program and a device driver. According to the determination result, the length of the timeout time is automatically adjusted. To determine whether or not the environment startup processing has been completed, an elapsed time from when the operating system 102 is activated until the AV application program 101 is activated is used. If this elapsed time exceeds a certain time, the AV application program 101 determines that the environment startup processing has been completed, and performs state check processing using a normal timeout time. On the other hand, if the elapsed time is within a certain time, the AV application program 101 determines that the environment startup processing has not been completed, and performs state check processing using a timeout time longer than the normal timeout time.

このように、本実施形態においては、オペレーティングシステム102が起動されてからの経過時間に応じてタイムアウト時間が自動的に調整される。したがって、オペレーティングシステム102の起動直後にAVアプリケーションプログラム101が起動された場合でも、上述のような、待ち時間の不足によるエラーの発生を抑制することが可能となる。   Thus, in the present embodiment, the timeout time is automatically adjusted according to the elapsed time since the operating system 102 is started. Therefore, even when the AV application program 101 is started immediately after the operating system 102 is started, it is possible to suppress the occurrence of an error due to insufficient waiting time as described above.

さらに、CPU111は、BIOS−ROM120に格納されたBIOS(Basic Input Output System)も実行する。BIOSはハードウェア制御のためのプログラムである。   Further, the CPU 111 also executes a basic input / output system (BIOS) stored in the BIOS-ROM 120. The BIOS is a program for hardware control.

ノースブリッジ112はCPU111のローカルバスとサウスブリッジ119との間を接続するブリッジデバイスである。ノースブリッジ112には、メインメモリ113をアクセス制御するメモリコントローラも内蔵されている。また、ノースブリッジ112は、グラフィクスコントローラ114との通信を実行する機能も有している。   The north bridge 112 is a bridge device that connects the local bus of the CPU 111 and the south bridge 119. The north bridge 112 also includes a memory controller that controls access to the main memory 113. The north bridge 112 also has a function of executing communication with the graphics controller 114.

グラフィクスコントローラ114は本コンピュータ10のディスプレイモニタとして使用されるLCD17を制御する表示コントローラである。このグラフィクスコントローラ114はオペレーティングシステム102またはAVアプリケーションプログラム101によってビデオメモリ(VRAM)114Aに書き込まれた画像データをLCD17に表示する。サウスブリッジ119は、LPC(Low Pin Count)バス上の各デバイス、およびPCI(Peripheral Component Interconnect)バス上の各デバイスを制御する。また、サウスブリッジ119は、HDD121、ODD122を制御するためのIDE(Integrated Drive Electronics)コントローラを内蔵している。   The graphics controller 114 is a display controller that controls the LCD 17 used as a display monitor of the computer 10. The graphics controller 114 displays the image data written in the video memory (VRAM) 114 A by the operating system 102 or the AV application program 101 on the LCD 17. The south bridge 119 controls each device on an LPC (Low Pin Count) bus and each device on a PCI (Peripheral Component Interconnect) bus. The south bridge 119 incorporates an IDE (Integrated Drive Electronics) controller for controlling the HDD 121 and the ODD 122.

さらに、サウスブリッジ119は、リアルタイムクロック(RTC)119Aを備えている。リアルタイムクロック(RTC)119Aは、現在日時(年、月、日、時、分、秒)を計時する時計モジュールとして機能する。リアルタイムクロック(RTC)119A内のレジスタ(RTCレジスタ)には、本コンピュータ10を電源オンすべき時間(年、月、日、時、分、秒)を指定するアラーム時間をセットすることができる。リアルタイムクロック(RTC)119Aは、現在の時間が、BIOS等を介してTVアプリケーションプログラム101によってRTCレジスタにセットされたアラーム時間に達したとき、本コンピュータ10をパワーオンすべきことを示すパワーオンイベントの発生をEC/KBC124に通知する。このパワーオンイベントの発生に応答して、EC/KBC124は、本コンピュータ10をパワーオンする。   Further, the south bridge 119 includes a real time clock (RTC) 119A. The real-time clock (RTC) 119A functions as a clock module that measures the current date and time (year, month, day, hour, minute, second). In a register (RTC register) in the real-time clock (RTC) 119A, an alarm time for designating the time (year, month, day, hour, minute, second) at which the computer 10 should be turned on can be set. A real-time clock (RTC) 119A is a power-on event indicating that the computer 10 should be powered on when the current time reaches the alarm time set in the RTC register by the TV application program 101 via BIOS or the like. Is notified to the EC / KBC 124. In response to the occurrence of this power-on event, the EC / KBC 124 powers on the computer 10.

チューナデバイス123A,123Bは、それぞれ放送信号によって放送される放送番組データを受信する受信デバイスである。本実施形態では、例えば、チューナデバイス123Aは、アナログ放送信号によって放送される放送番組データを受信するアナログTVチューナから構成され、チューナデバイス123Aは、地上波デジタル放送信号によって放送される放送番組データを受信するデジタルTVチューナから構成されている。   The tuner devices 123A and 123B are receiving devices that receive broadcast program data broadcast by broadcast signals. In the present embodiment, for example, the tuner device 123A is composed of an analog TV tuner that receives broadcast program data broadcast by an analog broadcast signal, and the tuner device 123A receives broadcast program data broadcast by a terrestrial digital broadcast signal. It consists of a receiving digital TV tuner.

EC/KBC124は、電力管理のためのエンベデッドコントローラと、キーボード(KB)13およびタッチパッド16を制御するためのキーボードコントローラとが集積された、1チップマイクロコンピュータである。EC/KBC124は、ユーザによるパワーボタン14の操作に応じて本コンピュータ10をパワーオン/パワーオフする機能を有している。本コンピュータ10の各コンポーネントに供給される動作電源は、本コンピュータ10に内蔵されたバッテリ126、またはACアダプタ127を介して外部から供給される外部電源から生成される。また、EC/KBC124はリモコンユニットインタフェース部20にも接続されている。   The EC / KBC 124 is a one-chip microcomputer in which an embedded controller for power management and a keyboard controller for controlling the keyboard (KB) 13 and the touch pad 16 are integrated. The EC / KBC 124 has a function of powering on / off the computer 10 in accordance with the operation of the power button 14 by the user. The operation power supplied to each component of the computer 10 is generated from a battery 126 built in the computer 10 or an external power supply supplied from the outside via the AC adapter 127. The EC / KBC 124 is also connected to the remote control unit interface unit 20.

AVアプリケーションプログラム101の制御は、ユーザによる、キーボード(KB)13、タッチパッド(マウス)16のような入力装置の操作のみならず、外部のリモコンユニットの操作によっても実行することができる。   The AV application program 101 can be controlled not only by the user operating the input device such as the keyboard (KB) 13 and the touch pad (mouse) 16 but also by operating an external remote control unit.

ネットワークコントローラ125は有線または無線のネットワークに接続するための通信デバイスであり、インターネットなどの外部ネットワークとの通信を実行するために使用される。   The network controller 125 is a communication device for connecting to a wired or wireless network, and is used to execute communication with an external network such as the Internet.

次に、図3を参照して、AVアプリケーションプログラム101の機能構成を説明する。   Next, the functional configuration of the AV application program 101 will be described with reference to FIG.

AVアプリケーションプログラム101は、上述のTV機能、AVデータライブラリ機能を実行するためのプログラムモジュール群を有している。これらプログラムモジュール群は、サービスプログラム、SQLデータベースサービスプログラム、デバイスドライバプログラム等と連携して動作し、例えば、あるサービスプログラムとの間でメッセージ通信等を行うことによって、必要なサービスをサービスプログラムから受ける。   The AV application program 101 has a program module group for executing the above-described TV function and AV data library function. These program module groups operate in cooperation with a service program, an SQL database service program, a device driver program, etc., and receive necessary services from the service program by, for example, performing message communication with a certain service program. .

また、このAVアプリケーションプログラム101は、上述のタイムアウト時間自動調整機能を実行するためのプログラムモジュールとして、経過時間検出部201、タイムアウト時間選定部202、およびエラー出力部203を備えている。   The AV application program 101 includes an elapsed time detection unit 201, a timeout time selection unit 202, and an error output unit 203 as program modules for executing the above-described automatic timeout time adjustment function.

AVアプリケーションプログラム101がユーザ操作によってまたは上述の予約録画のための自動起動によって起動された時、経過時間検出部201は、オペレーティングシステム102が最後に起動されてから現在までの経過時間を検出する。コールドブートまたは再起動によってオペレーティングシステム102がスタートされると、オペレーティングシステム102は経過時間のカウントを開始する。経過時間検出部201は、オペレーティングシステム102に用意された例えばGetTickCountのようなAPIを通じて、オペレーティングシステム102が最後に起動されてからの経過時間をオペレーティングシステム102から取得することができる。   When the AV application program 101 is activated by a user operation or by automatic activation for the above-described reservation recording, the elapsed time detection unit 201 detects an elapsed time from when the operating system 102 was last activated to the present. When the operating system 102 is started by a cold boot or restart, the operating system 102 starts counting elapsed time. The elapsed time detection unit 201 can acquire, from the operating system 102, the elapsed time since the operating system 102 was last activated through an API such as GetTickCount prepared in the operating system 102.

タイムアウト時間選定部202は、経過時間検出部201によって検出された経過時間と予め決められた環境立ち上げ時間とを比較する。環境立ち上げ時間はオペレーティングシステム102が起動してから環境立ち上げ処理が完了するまでに要する時間の推定値であり、この値は、例えば、システム性能やオペレーティングシステム102の種類等に応じて予め決められている。経過時間が環境立ち上げ時間を超えている場合には、タイムアウト時間選定部202は、通常のタイムアウト時間(第1のタイムアウト時間)を使用すべきタイムアウト時間として選定する。一方、経過時間が環境立ち上げ時間以内であるならば、タイムアウト時間選定部202は、通常タイムアウト時間よりも長いタイムアウト時間(第2のタイムアウト時間)を使用すべきタイムアウト時間として選定する。   The timeout time selection unit 202 compares the elapsed time detected by the elapsed time detection unit 201 with a predetermined environment startup time. The environment startup time is an estimated value of the time required from the start of the operating system 102 to the completion of the environment startup processing. This value is determined in advance according to, for example, the system performance, the type of the operating system 102, and the like. It has been. When the elapsed time exceeds the environment startup time, the timeout time selection unit 202 selects a normal timeout time (first timeout time) as a timeout time to be used. On the other hand, if the elapsed time is within the environment startup time, the timeout time selection unit 202 selects a timeout time (second timeout time) longer than the normal timeout time as the timeout time to be used.

エラー出力部203は、AVアプリケーションプログラム101と連携して動作すべきサービスプログラムのような所定のプログラムの状態チェック処理を実行する。状態チェック処理を開始してから、選定されたタイムアウト時間が経過するまでの期間中に、所定のプログラムが実行状態であることが確認されなかった場合、エラー出力部203は、エラーの発生またはそのエラーの内容等をユーザに通知するために、エラーの発生を示すメッセージ(エラーメッセージ)を出力する。エラーメッセージは例えばLCD17の表示画面上に表示される。   The error output unit 203 executes a state check process of a predetermined program such as a service program that should operate in cooperation with the AV application program 101. If it is not confirmed that the predetermined program is in the execution state during the period from the start of the state check process until the selected timeout time elapses, the error output unit 203 generates an error or In order to notify the user of the error content and the like, a message (error message) indicating the occurrence of the error is output. The error message is displayed on the display screen of the LCD 17, for example.

次に、図4のフローチャートを参照して、AVアプリケーションプログラム101の起動時に実行される処理手順を説明する。   Next, a processing procedure executed when the AV application program 101 is started will be described with reference to the flowchart of FIG.

AVアプリケーションプログラム101が起動された時、AVアプリケーションプログラム101は、まず、オペレーティングシステム102が起動されてから現在までの経過時間を取得する(ステップS11)。このステップS11では、GetTickCountのような取得要求メッセージがAVアプリケーションプログラム101からオペレーティングシステム102に送信され、オペレーティングシステム102によって管理されている経過時間を示す値がAVアプリケーションプログラム101に戻される。   When the AV application program 101 is activated, the AV application program 101 first acquires an elapsed time from when the operating system 102 is activated to the present time (step S11). In this step S11, an acquisition request message such as GetTickCount is transmitted from the AV application program 101 to the operating system 102, and a value indicating the elapsed time managed by the operating system 102 is returned to the AV application program 101.

次に、AVアプリケーションプログラム101は、オペレーティングシステム102から取得した経過時間が上述の環境立ち上げ時間内であるか否かを判定する(ステップS12)。環境立ち上げ時間は、例えば、5分程度に設定されている。   Next, the AV application program 101 determines whether or not the elapsed time acquired from the operating system 102 is within the above-described environment startup time (step S12). The environment startup time is set to about 5 minutes, for example.

経過時間が環境立ち上げ時間を超えているならば(ステップS12のNO)、AVアプリケーションプログラム101は、通常のタイムアウト時間(第1のタイムアウト時間)を選定し、状態チェック処理で使用すべきタイムアウト時間をその第1のタイムアウト時間に設定する(ステップS13)。第1のタイムアウト時間は必要なサービスプログラム等が既に実行状態である場合を前提とした待ち時間であり、この値は、ユーザにストレスを与えないこと、およびメッセージ通信等によるディレイ等を考慮して、例えば5秒程度に設定されている。   If the elapsed time exceeds the environment startup time (NO in step S12), the AV application program 101 selects a normal timeout time (first timeout time) and should be used in the status check process. Is set to the first timeout time (step S13). The first time-out time is a waiting time on the assumption that a necessary service program or the like is already in an execution state, and this value takes into consideration that the user is not stressed and a delay due to message communication or the like. For example, it is set to about 5 seconds.

一方、経過時間が環境立ち上げ時間以内であるならば(ステップS12のYES)、AVアプリケーションプログラム101は、通常のタイムアウト時間(第1のタイムアウト時間)よりも長いタイムアウト時間(第2のタイムアウト時間)を選定し、状態チェック処理で使用すべきタイムアウト時間をその第2のタイムアウト時間に設定する(ステップS14)。第2のタイムアウト時間は必要なサービスプログラム等を起動する処理が完了していない場合を前提とした待ち時間であり、この値は、サービスプログラム等の起動に要する時間を考慮して、例えば1〜2分程度に設定されている。   On the other hand, if the elapsed time is within the environment startup time (YES in step S12), the AV application program 101 sets the timeout time (second timeout time) longer than the normal timeout time (first timeout time). Is selected, and the timeout time to be used in the state check process is set as the second timeout time (step S14). The second timeout time is a waiting time on the assumption that processing for starting a required service program or the like is not completed, and this value is, for example, 1 to 1, considering the time required for starting the service program or the like. It is set to about 2 minutes.

次に、AVアプリケーションプログラム101は、必要なサービスプログラム等の所定のプログラムの状態をチェックするための状態チェック処理を実行する(ステップS15)。そして、状態チェック処理を開始してから、設定されたタイムアウト時間が経過するまでの期間中に、所定のプログラムが実行状態であることが確認されなかった場合(ステップS15のYES)、AVアプリケーションプログラム101は、AVアプリケーションプログラム101の動作に必要な動作環境が整っていないと判断し、エラーメッセージを表示する(ステップS16)。   Next, the AV application program 101 executes a status check process for checking the status of a predetermined program such as a necessary service program (step S15). Then, when it is not confirmed that the predetermined program is in an execution state during the period from the start of the state check process until the set timeout time elapses (YES in step S15), the AV application program 101 determines that the operating environment necessary for the operation of the AV application program 101 is not prepared, and displays an error message (step S16).

例えば、あるサービスプログラムが実行状態であるか否かの判定は、例えば、図5に示すように、処理要求等の何らかの要求をAVアプリケーションプログラム101からサービスプログラムに送信してから当該サービスプログラムからAVアプリケーションプログラム101に応答が返送されるまでの待ち時間Tをカウントすることによって行うことが出来る。この待ち時間Tが設定されたタイムアウト時間を超えた場合、すなわち、サービスプログラムに対して要求を送信してからタイムアウト時間が経過するまでの期間中に応答が返送されない場合は、タイムアウトエラーの発生が検出される。   For example, whether or not a certain service program is in an execution state is determined by, for example, transmitting a request such as a processing request from the AV application program 101 to the service program as shown in FIG. This can be done by counting the waiting time T until a response is returned to the application program 101. If this waiting time T exceeds the set timeout period, that is, if a response is not returned during the period from when a request is sent to the service program until the timeout period elapses, a timeout error will occur. Detected.

また、あるサービスプログラムが実行状態であるか否かの判定を、図6に示すように、サービスプログラムの状態を問い合わせることによって行うことも出来る。この場合、AVアプリケーションプログラム101は、サービスプログラムが実行状態であることが確認されるまで、オペレーティングシステム102上で動作するサービス管理プログラムであるサービスマネージャに対して所定のサービスプログラムの状態を繰り返し問い合わせる。そして、AVアプリケーションプログラム101は、問い合わせを開始してから所定のサービスプログラムが実行状態であることが確認されるまでの待ち時間Tをカウントする。この待ち時間Tが設定されたタイムアウト時間を超えた場合、すなわち、問い合わせを開始してからタイムアウト時間が経過するまでの期間中にサービスプログラムが実行状態であることが確認できなかった場合は、タイムアウトエラーの発生が検出される。   Further, it is possible to determine whether or not a certain service program is in an execution state by inquiring about the state of the service program as shown in FIG. In this case, the AV application program 101 repeatedly inquires the service manager, which is a service management program operating on the operating system 102, about the state of a predetermined service program until it is confirmed that the service program is in an execution state. Then, the AV application program 101 counts a waiting time T from when the inquiry is started until it is confirmed that the predetermined service program is in an execution state. If this waiting time T exceeds the set time-out period, that is, if it is not possible to confirm that the service program is in an execution state during the period from the start of inquiry until the time-out period elapses, time-out will occur. The occurrence of an error is detected.

サービスマネージャは、各サービスプログラムについて、その状態(実行状態、停止状態、実行状態への移行処理途中の状態、停止状態への移行処理途中の状態、等)を管理しており、アプリケーションプログラムからの状態問い合わせに応じて、その問い合わせによって指定されたサービスプログラムの現在の状態をアプリケーションプログラムに通知する。サービスプログラムが実行状態とは、そのサービスプログラムのサービスが開始されており、アプリケーションプログラムからサービスプログラムを利用可能であることを意味している。   The service manager manages the state of each service program (execution state, stop state, state during transition processing to execution state, state during transition processing to stop state, etc.) In response to the status inquiry, the application program is notified of the current status of the service program designated by the inquiry. The execution state of the service program means that the service program service is started and the service program can be used from the application program.

なお、AVアプリケーションプログラム101と連携して動作すべきサービスプログラムが複数存在する場合であっても、それら複数のサービスプログラム同士の関連付けを予めオペレーティングシステム102に登録した場合には、それらサービスプログラム内の一つのサービスプログラムの状態のみをチェックすれば十分である。これは、基本的には、関連付けされたサービスプログラム群についてはその全てがオペレーティングシステム102によって起動され、あるサービスプログラムのみが起動され、他のサービスプログラムが起動されないという事態は生じないからである。   Even if there are a plurality of service programs that should operate in cooperation with the AV application program 101, if the association between the plurality of service programs is registered in the operating system 102 in advance, It is sufficient to check only the status of one service program. This is because, basically, all the associated service program groups are activated by the operating system 102, only one service program is activated, and no other service program is activated.

次に、図7のフローチャートを参照して、上述の第2のタイムアウト時間の値を適応的に調整する処理について説明する。   Next, processing for adaptively adjusting the value of the second timeout period described above will be described with reference to the flowchart of FIG.

図4で説明した処理においては、第2のタイムアウト時間の値が予め決められている場合を想定したが、本例では、オペレーティングシステム102が起動されてからの経過時間が環境立ち上げ時間以内であった場合には、環境立ち上げ時間までの残り時間に基づいて第2のタイムアウト時間の値が算出される。   In the processing described with reference to FIG. 4, it is assumed that the value of the second timeout time is determined in advance, but in this example, the elapsed time after the operating system 102 is started is within the environment startup time. If there is, the value of the second timeout time is calculated based on the remaining time until the environment startup time.

すなわち、オペレーティングシステム102から取得した経過時間が環境立ち上げ時間以内であった場合、AVアプリケーションプログラム101は、まず、環境立ち上げ時間から経過時間を減算して、環境立ち上げ時間に達するまでの残り時間を算出する(ステップS21)。次いで、AVアプリケーションプログラム101は、算出した残り時間と通常のタイムアウト時間(第1のタイムアウト時間)との合計時間を算出し(ステップS22)、その合計時間を第2のタイムアウト時間として設定する(ステップS23)。   In other words, if the elapsed time acquired from the operating system 102 is within the environment startup time, the AV application program 101 first subtracts the elapsed time from the environment startup time and remains until the environment startup time is reached. Time is calculated (step S21). Next, the AV application program 101 calculates the total time of the calculated remaining time and the normal timeout time (first timeout time) (step S22), and sets the total time as the second timeout time (step S22). S23).

この処理により、少なくとも、オペレーティングシステム102が起動されてから環境立ち上げ時間分だけ経過する時点までは最終的なエラー判定は行われなくなるので、サービスプログラムの実行準備期間中にAVアプリケーションプログラム101が起動されることに起因するタイムアウトエラーの発生をより効率よく低減することが可能となる。   With this process, since the final error determination is not performed at least until the time when the environment startup time elapses after the operating system 102 is started, the AV application program 101 is started during the service program execution preparation period. It is possible to more efficiently reduce the occurrence of a timeout error due to being performed.

次に、図8のフローチャートを参照して、本コンピュータ10がパワーオフされている状態からTVアプリケーションプログラム101が自動的に起動されるまでの一連の処理について説明する。   Next, a series of processes from when the computer 10 is powered off until the TV application program 101 is automatically started will be described with reference to the flowchart of FIG.

TVアプリケーションプログラム101は、録画予約された放送番組データを指定する録画予約情報を格納するデータベースを管理している。このデータベースは、例えば、HDD121内の所定の記憶領域に保存されている。TVアプリケーションプログラム101は、例えば、BIOSを通じて、予約録画すべき放送番組データの録画開始時刻の例えば15分程度前の時刻を次回のパワーオン時刻としてRTC119Aに設定する。   The TV application program 101 manages a database that stores recording reservation information for designating broadcast program data reserved for recording. This database is stored in a predetermined storage area in the HDD 121, for example. For example, the TV application program 101 sets, for example, about 15 minutes before the recording start time of broadcast program data to be reserved and recorded in the RTC 119A as the next power-on time through the BIOS.

本コンピュータ10がパワーオフされている状態で録画開始時刻の所定時間前(例えば15分前)になると、RTC119Aからのパワーオンイベント等に応答してEC/KBC124が本コンピュータ10を自動的にパワーオンする。そしてBIOSの制御の下に、本コンピュータ10の各デバイスを初期化する処理等を含む自動電源オン処理(ステップS31)が実行される。そして、本コンピュータ10がパワーオンされたことに応答して、BIOSは、オペレーティングシステム102を起動(ブート)するためのOS起動処理を開始する(ステップS32)。   When the computer 10 is powered off, the EC / KBC 124 automatically powers the computer 10 in response to a power-on event from the RTC 119A when a predetermined time (for example, 15 minutes) before the recording start time. Turn on. Then, under the control of the BIOS, an automatic power-on process (step S31) including a process for initializing each device of the computer 10 is executed. In response to the computer 10 being powered on, the BIOS starts an OS activation process for activating (booting) the operating system 102 (step S32).

オペレーティングシステム102が起動されると、オペレーティングシステム102内のスケジューリングプログラムなどの制御の下、各種サービスプログラムを起動する処理(ステップS33,34)や、AVアプリケーションプログラム101を起動する処理(ステップS35)等が実行される。   When the operating system 102 is started, processing for starting various service programs (steps S33 and 34), processing for starting the AV application program 101 (step S35), and the like under the control of a scheduling program in the operating system 102, etc. Is executed.

このように、AVアプリケーションプログラム101を自動起動する場合においては、AVアプリケーションプログラム101はオペレーティングシステム102の起動直後に起動される。AVアプリケーションプログラム101が起動されると、AVアプリケーションプログラム101は、図4のフローチャートで説明した処理を開始する。   As described above, when the AV application program 101 is automatically activated, the AV application program 101 is activated immediately after the operating system 102 is activated. When the AV application program 101 is activated, the AV application program 101 starts the processing described in the flowchart of FIG.

AVアプリケーションプログラム101が起動されたタイミングが環境立ち上げ処理の完了前であるならば、第2のタイムアウト時間が選定される。必要なサービスプログラムが実行状態であることが第2のタイムアウト時間内に確認されなかったならば、AVアプリケーションプログラム101は、エラーメッセージを生じて、エラー終了する。一方、必要なサービスプログラムが実行状態であることが第2のタイムアウト時間内に確認されたたならば、AVアプリケーションプログラム101は、録画予約された放送番組データの録画処理の準備を開始する。   If the timing at which the AV application program 101 is activated is before completion of the environment startup process, the second timeout time is selected. If it is not confirmed within the second time-out period that the required service program is in the running state, the AV application program 101 generates an error message and terminates in error. On the other hand, if it is confirmed within the second time-out period that the necessary service program is being executed, the AV application program 101 starts preparation for recording processing of broadcast program data reserved for recording.

以上のように、本実施形態によれば、オペレーティングシステムの起動からの経過時間に応じてタイムアウト時間を自動調整することにより、通常稼働状態の期間内にAVアプリケーションプログラム101が起動された場合には、通常のタイムアウト時間を使用し、オペレーティングシステムの起動直後にAVアプリケーションプログラム101が起動された場合には、通常のタイムアウト時間よりも長いタイムアウト時間を使用することができる。よって、連携して動作すべきプログラムの実行準備期間中にアプリケーションプログラムが起動されることに起因するタイムアウトエラーの発生を効率よく防止することが可能となる。   As described above, according to the present embodiment, when the AV application program 101 is started during the normal operation period by automatically adjusting the timeout time according to the elapsed time from the startup of the operating system. When the AV application program 101 is started immediately after the operating system is started using a normal timeout time, a timeout time longer than the normal timeout time can be used. Therefore, it is possible to efficiently prevent the occurrence of a timeout error due to the activation of the application program during the execution preparation period of the program that should operate in cooperation.

特に、録画予約された放送番組データの録画開始時刻に従ってコンピュータ10が自動起動された場合には、オペレーティングシステム102の起動直後にAVアプリケーションプログラム101が起動される可能性が高いが、本実施形態のタイムアウト時間自動調整機能により、タイムアウトエラーの発生を効率よく防止することが可能となる。したがって、予約録画処理に失敗する可能性を大幅に低減することが可能となる。   In particular, when the computer 10 is automatically started according to the recording start time of broadcast program data reserved for recording, the AV application program 101 is likely to be started immediately after the operating system 102 is started. The time-out time automatic adjustment function can efficiently prevent the occurrence of a time-out error. Therefore, it is possible to greatly reduce the possibility that the reservation recording process will fail.

なお、本実施形態のAVアプリケーションプログラム101の機能は全てソフトウェアによって実現することができるので、このソフトウェアをコンピュータ読み取り可能な記憶媒体を通じて、通常のコンピュータに導入するだけで、本実施形態と同様の効果を容易に実現することができる。   Since all functions of the AV application program 101 of the present embodiment can be realized by software, the same effects as those of the present embodiment can be obtained simply by installing this software into a normal computer through a computer-readable storage medium. Can be easily realized.

また、本実施形態の制御は、AVアプリケーションプログラムに限らず、他のプログラムと連携して動作する全てのアプリケーションプログラムに対して適用することができる。   Further, the control of the present embodiment can be applied not only to AV application programs but also to all application programs that operate in cooperation with other programs.

また、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に構成要素を適宜組み合わせてもよい。   Further, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine a component suitably in different embodiment.

本発明の一実施形態に係る情報処理装置の概観の例を示す斜視図。The perspective view which shows the example of the external appearance of the information processing apparatus which concerns on one Embodiment of this invention. 図1の情報処理装置のシステム構成の例を示すブロック図。FIG. 2 is a block diagram illustrating an example of a system configuration of the information processing apparatus in FIG. 1. 図1の情報処理装置によって実行されるAVアプリケーションプログラムの機能構成の例を示すブロック図。FIG. 2 is a block diagram illustrating an example of a functional configuration of an AV application program executed by the information processing apparatus of FIG. 1. 図3のAVアプリケーションプログラムによって実行される処理手順を示すフローチャート。The flowchart which shows the process sequence performed by the AV application program of FIG. 図3のAVアプリケーションプログラムによって実行されるタイムアウトエラー検出処理の例を示す図。The figure which shows the example of the time-out error detection process performed by the AV application program of FIG. 図3のAVアプリケーションプログラムによって実行されるタイムアウトエラー検出処理の他の例を示す図。The figure which shows the other example of the timeout error detection process performed by the AV application program of FIG. 図3のAVアプリケーションプログラムによって実行されるタイムアウト時間算出処理の例を示すフローチャート。FIG. 4 is a flowchart showing an example of timeout time calculation processing executed by the AV application program of FIG. 3. FIG. 図3のAVアプリケーションプログラムを自動起動する処理の手順の例を示すフローチャート。FIG. 4 is a flowchart showing an example of a procedure for automatically starting the AV application program of FIG.

符号の説明Explanation of symbols

101…AVアプリケーションプログラム、102…オペレーティングシステム、111…CPU、123A,123B…チューナデバイス、201…経過時間検出部、202…タイムアウト時間選定部、203…エラー出力部。   DESCRIPTION OF SYMBOLS 101 ... AV application program, 102 ... Operating system, 111 ... CPU, 123A, 123B ... Tuner device, 201 ... Elapsed time detection part, 202 ... Timeout time selection part, 203 ... Error output part.

Claims (10)

所定のアプリケーションプログラムが起動された時、オペレーティングシステムが最後に起動されてからの経過時間を検出する検出手段と、
前記検出された経過時間が所定時間を超えている場合、第1のタイムアウト時間を選定し、前記検出された経過時間が前記所定時間以内である場合、前記第1のタイムアウト時間よりも長い第2のタイムアウト時間を選定するタイムアウト時間選定手段と、
前記所定のアプリケーションプログラムと連携して動作すべき所定のプログラムの状態をチェックするための状態チェック処理を実行し、前記状態チェック処理を開始してから前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に、前記所定のプログラムが実行状態であることが確認されなかった場合、エラーの発生を示すメッセージを出力するエラー出力手段とを具備することを特徴とする情報処理装置。
Detecting means for detecting an elapsed time since the operating system was last started when a predetermined application program is started;
When the detected elapsed time exceeds a predetermined time, a first timeout time is selected, and when the detected elapsed time is within the predetermined time, a second longer than the first timeout time is selected. Timeout time selection means for selecting the timeout time of
The state check process for checking the state of the predetermined program to be operated in cooperation with the predetermined application program is executed, and the selected first or second time-out is started after the state check process is started. And an error output means for outputting a message indicating the occurrence of an error if the predetermined program is not confirmed to be in an execution state during a period until the time elapses. apparatus.
前記タイムアウト時間選定手段は、前記検出された経過時間が前記所定時間以内である場合、前記所定時間までの残り時間と前記第1のタイムアウト時間との合計時間を算出し、前記算出された合計時間を前記第2のタイムアウト時間として選定することを特徴とする請求項1記載の情報処理装置。   When the detected elapsed time is within the predetermined time, the time-out time selecting means calculates a total time of the remaining time up to the predetermined time and the first time-out time, and the calculated total time The information processing apparatus according to claim 1, wherein the second timeout time is selected. 前記所定のアプリケーションプログラムは録画予約された放送番組データを録画するための予約録画機能を有しており、
前記所定のアプリケーションプログラムによって録画予約された放送番組データの録画開始時刻の所定時間前に、前記情報処理装置をパワーオンする手段と、
前記情報処理装置がパワーオンされたことに応答して、前記オペレーティングシステムを起動する手段と、
前記オペレーティングシステムの起動された後に前記所定のアプリケーションプログラムを起動する手段とをさらに具備することを特徴とする請求項1または2のいずれか1項記載の情報処理装置。
The predetermined application program has a reserved recording function for recording broadcast program data reserved for recording,
Means for powering on the information processing apparatus a predetermined time before a recording start time of broadcast program data reserved for recording by the predetermined application program;
Means for activating the operating system in response to the information processing apparatus being powered on;
The information processing apparatus according to claim 1, further comprising a unit that starts the predetermined application program after the operating system is started.
前記エラー出力手段は、前記所定のプログラムが実行状態であることが確認されるまで、前記オペレーティングシステム上で動作する管理プログラムに対して前記所定のプログラムの状態を繰り返し問い合わせ、前記問い合わせを開始してから前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に前記所定のプログラムが実行状態であることが確認されなかった場合、前記エラーの発生を示すメッセージを出力することを特徴とする請求項1乃至3のいずれか1項記載の情報処理装置。   The error output means repeatedly inquires about the state of the predetermined program to the management program operating on the operating system until it is confirmed that the predetermined program is in an execution state, and starts the inquiry. A message indicating the occurrence of the error is output when the predetermined program is not confirmed to be in an execution state during the period until the selected first or second timeout time elapses. The information processing apparatus according to any one of claims 1 to 3. 所定のアプリケーションプログラムが起動された時、オペレーティングシステムが最後に起動されてからの経過時間を検出する検出手段と、
前記検出された経過時間が所定時間を超えている場合、第1のタイムアウト時間を選定し、前記検出された経過時間が前記所定時間以内である場合、前記第1のタイムアウト時間よりも長い第2のタイムアウト時間を選定するタイムアウト時間選定手段と、
前記所定のアプリケーションプログラムが当該所定のアプリケーションプログラムと連携して動作すべき所定のプログラムに対して要求を送信してから、前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に、前記所定のプログラムから応答が返送されない場合、エラーを示すメッセージを出力するエラー出力手段とを具備することを特徴とする情報処理装置。
Detecting means for detecting an elapsed time since the operating system was last started when a predetermined application program is started;
When the detected elapsed time exceeds a predetermined time, a first timeout time is selected, and when the detected elapsed time is within the predetermined time, a second longer than the first timeout time is selected. Timeout time selection means for selecting the timeout time of
A period from when the predetermined application program transmits a request to the predetermined program to operate in cooperation with the predetermined application program until the selected first or second timeout time elapses And an error output means for outputting a message indicating an error when no response is returned from the predetermined program.
前記タイムアウト時間選定手段は、前記検出された経過時間が前記所定時間以内である場合、前記所定時間までの残り時間と前記第1のタイムアウト時間との合計時間を算出し、前記算出された合計時間を前記第2のタイムアウト時間として選定することを特徴とする請求項5記載の情報処理装置。   When the detected elapsed time is within the predetermined time, the time-out time selecting means calculates a total time of the remaining time up to the predetermined time and the first time-out time, and the calculated total time 6. The information processing apparatus according to claim 5, wherein the second time-out time is selected. 情報処理装置によって実行される所定のアプリケーションプログラムの動作環境に関するエラーを検出するエラー検出方法であって、
前記所定のアプリケーションプログラムが起動された時、オペレーティングシステムが最後に起動されてからの経過時間を検出するステップと、
前記検出された経過時間が所定時間を超えている場合、第1のタイムアウト時間を選定し、前記検出された経過時間が前記所定時間以内である場合、前記第1のタイムアウト時間よりも長い第2のタイムアウト時間を選定するタイムアウト時間選定ステップと、
前記所定のアプリケーションプログラムと連携して動作すべき所定のプログラムの状態をチェックするための状態チェック処理を実行し、前記状態チェック処理を開始してから前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に、前記所定のプログラムが実行状態であることが確認されなかった場合、エラーの発生を示すメッセージを出力するステップとを具備することを特徴とするエラー検出方法。
An error detection method for detecting an error related to an operating environment of a predetermined application program executed by an information processing apparatus,
Detecting an elapsed time since the operating system was last started when the predetermined application program is started; and
When the detected elapsed time exceeds a predetermined time, a first timeout time is selected, and when the detected elapsed time is within the predetermined time, a second longer than the first timeout time is selected. A timeout time selection step for selecting a timeout time of
The state check process for checking the state of the predetermined program to be operated in cooperation with the predetermined application program is executed, and the selected first or second time-out is started after the state check process is started. And a step of outputting a message indicating the occurrence of an error if the predetermined program is not confirmed to be in an execution state during a period until the time elapses.
前記タイムアウト時間選定ステップは、前記検出された経過時間が前記所定時間以内である場合、前記所定時間までの残り時間と前記第1のタイムアウト時間との合計時間を算出し、前記算出された合計時間を前記第2のタイムアウト時間として選定することを特徴とする請求項7記載のエラー検出方法。   When the detected elapsed time is within the predetermined time, the timeout time selection step calculates a total time of the remaining time until the predetermined time and the first timeout time, and the calculated total time The error detection method according to claim 7, wherein: is selected as the second timeout time. 情報処理装置によって実行される所定のアプリケーションプログラムの動作環境に関するエラーを検出するエラー検出方法であって、
前記所定のアプリケーションプログラムが起動された時、オペレーティングシステムが最後に起動されてからの経過時間を検出するステップと、
前記検出された経過時間が所定時間を超えている場合、第1のタイムアウト時間を選定し、前記検出された経過時間が前記所定時間以内である場合、前記第1のタイムアウト時間よりも長い第2のタイムアウト時間を選定するタイムアウト時間選定ステップと、
前記所定のアプリケーションプログラムが当該所定のアプリケーションプログラムと連携して動作すべき所定のプログラムに対して要求を送信してから、前記選定された前記第1または第2のタイムアウト時間が経過するまでの期間中に、前記所定のプログラムから応答が返送されない場合、エラーを示すメッセージを出力するステップとを具備することを特徴とするエラー検出方法。
An error detection method for detecting an error related to an operating environment of a predetermined application program executed by an information processing apparatus,
Detecting an elapsed time since the operating system was last started when the predetermined application program is started; and
When the detected elapsed time exceeds a predetermined time, a first timeout time is selected, and when the detected elapsed time is within the predetermined time, a second longer than the first timeout time is selected. A timeout time selection step for selecting a timeout time of
A period from when the predetermined application program transmits a request to the predetermined program to operate in cooperation with the predetermined application program until the selected first or second timeout time elapses And a step of outputting a message indicating an error when no response is returned from the predetermined program.
前記タイムアウト時間選定ステップは、前記検出された経過時間が前記所定時間以内である場合、前記所定時間までの残り時間と前記第1のタイムアウト時間との合計時間を算出し、前記算出された合計時間を前記第2のタイムアウト時間として選定することを特徴とする請求項9記載のエラー検出方法。   When the detected elapsed time is within the predetermined time, the timeout time selection step calculates a total time of the remaining time until the predetermined time and the first timeout time, and the calculated total time The error detection method according to claim 9, wherein the second timeout time is selected.
JP2007136896A 2007-05-23 2007-05-23 Information processing apparatus and error detection method Expired - Fee Related JP4945316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007136896A JP4945316B2 (en) 2007-05-23 2007-05-23 Information processing apparatus and error detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007136896A JP4945316B2 (en) 2007-05-23 2007-05-23 Information processing apparatus and error detection method

Publications (2)

Publication Number Publication Date
JP2008293204A true JP2008293204A (en) 2008-12-04
JP4945316B2 JP4945316B2 (en) 2012-06-06

Family

ID=40167876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007136896A Expired - Fee Related JP4945316B2 (en) 2007-05-23 2007-05-23 Information processing apparatus and error detection method

Country Status (1)

Country Link
JP (1) JP4945316B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011039745A (en) * 2009-08-10 2011-02-24 Ricoh Co Ltd Information processor, information processing method and information processing program
JP2012203679A (en) * 2011-03-25 2012-10-22 Exa Corp Device driver activation monitoring program and electronic apparatus
JP2012238248A (en) * 2011-05-13 2012-12-06 Canon Inc Information processing device and method for controlling information processing device
JP2013109420A (en) * 2011-11-17 2013-06-06 Toshiba Corp Electronic apparatus, control method of electronic apparatus, and control program of electronic apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04188234A (en) * 1990-11-21 1992-07-06 Nec Corp No response supervisory system in multi-job system
JPH06103116A (en) * 1992-09-18 1994-04-15 Pfu Ltd Operation time monitor-processing system
JP2000047956A (en) * 1998-07-27 2000-02-18 Canon Inc Data communication system, data download method, and storage medium
JP2002152645A (en) * 2000-10-19 2002-05-24 Samsung Electronics Co Ltd Computer and method for storing tv signal by computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04188234A (en) * 1990-11-21 1992-07-06 Nec Corp No response supervisory system in multi-job system
JPH06103116A (en) * 1992-09-18 1994-04-15 Pfu Ltd Operation time monitor-processing system
JP2000047956A (en) * 1998-07-27 2000-02-18 Canon Inc Data communication system, data download method, and storage medium
JP2002152645A (en) * 2000-10-19 2002-05-24 Samsung Electronics Co Ltd Computer and method for storing tv signal by computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011039745A (en) * 2009-08-10 2011-02-24 Ricoh Co Ltd Information processor, information processing method and information processing program
JP2012203679A (en) * 2011-03-25 2012-10-22 Exa Corp Device driver activation monitoring program and electronic apparatus
JP2012238248A (en) * 2011-05-13 2012-12-06 Canon Inc Information processing device and method for controlling information processing device
JP2013109420A (en) * 2011-11-17 2013-06-06 Toshiba Corp Electronic apparatus, control method of electronic apparatus, and control program of electronic apparatus

Also Published As

Publication number Publication date
JP4945316B2 (en) 2012-06-06

Similar Documents

Publication Publication Date Title
US10007505B2 (en) Initiating update operations
US7302594B2 (en) Query of bios-stored value to determine user intent at return to active state
US8553157B2 (en) Television with energy saving and quick start modes
US8645671B2 (en) Direct computing experience
TW200847021A (en) Automatic backup, restore and update BIOS computer system
US8312256B2 (en) Display of a basic input/output system (BIOS) productivity display
JP2009116698A (en) Information processing apparatus
JP2006252329A (en) Information processor and starting control method
JP2009110428A (en) Information processing apparatus and control method
JP2003296042A (en) Computer device, data dead copying method and program, and method for operating computer device
JP4945316B2 (en) Information processing apparatus and error detection method
JP4746404B2 (en) Information processing apparatus and resume control method
EP2818971B1 (en) Electronic device, method for controlling electronic device, and program
US20060291800A1 (en) Information processing apparatus and picture recording control method
JP3563721B2 (en) Information processing apparatus and clock display control method used in the information processing apparatus
CN102044201B (en) Device and method for constant brightness display of mobile equipment screen
JP2005316761A (en) Electronic apparatus and method for notifying information
JP2007109078A (en) Information processor and method for controlling operation
JP2009070275A (en) Device having television broadcasting display function, and display method of menu screen in the device
US20090249054A1 (en) Method for booting computer device
US20040017352A1 (en) Information processing apparatus and function assignment method for pointing device
JP2008177758A (en) Information processing device and recording control method
US20060018205A1 (en) System and method for displaying media playing information
JP5487270B2 (en) Electronic apparatus and control method
JP2008187376A (en) Information processor and video recording control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120131

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

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

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

Free format text: PAYMENT UNTIL: 20150309

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees