JP2009217711A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2009217711A
JP2009217711A JP2008062849A JP2008062849A JP2009217711A JP 2009217711 A JP2009217711 A JP 2009217711A JP 2008062849 A JP2008062849 A JP 2008062849A JP 2008062849 A JP2008062849 A JP 2008062849A JP 2009217711 A JP2009217711 A JP 2009217711A
Authority
JP
Japan
Prior art keywords
function
delay
task
flag
activation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008062849A
Other languages
Japanese (ja)
Inventor
Yukinori Endo
幸典 遠藤
Atsushi Hori
淳志 堀
Yuka Fujita
結佳 藤田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008062849A priority Critical patent/JP2009217711A/en
Publication of JP2009217711A publication Critical patent/JP2009217711A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor, capable of shortening system startup time without deteriorating the responsiveness to a user. <P>SOLUTION: The information processor comprises a startup information registration table 2 showing a delay execution flag showing, for each of a plurality of function modules 1-1 to 1-n, whether to delay the start thereof or not. When the processor is started, a system starting means 3 starts function modules with delay execution flags except delay in reference to the startup information registration table 2, and starts function modules with delay execution flags of delay after completion of the startup of the function modules with delay execution flags except delay. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、複数の機能モジュールがそれぞれ対応した処理を行う情報処理装置に関し、特に、各機能モジュールの起動制御に関するものである。   The present invention relates to an information processing apparatus in which a plurality of functional modules perform corresponding processing, and particularly relates to activation control of each functional module.

従来のシステム(情報処理装置)の起動方法は、システム起動時にどのプログラムを起動するかの一覧を記載した起動リストを設け、その中の起動チェック欄を参照して起動対象プログラムを選択することで、システム起動時間の短縮を図っていた。また、システム稼動中に定期的な動作チェックを行い、個々のプログラムの起動頻度に関して特定条件(実行時間や実行回数)を満たした時に、前記起動チェック欄を更新することで、次回システム起動時に起動するプログラムを決定していた(例えば、特許文献1参照)。   A conventional system (information processing apparatus) startup method includes providing a startup list that lists which programs are to be started when the system is started, and selecting a startup target program with reference to a startup check column therein. The system startup time was shortened. In addition, a periodic operation check is performed while the system is operating, and when the specific conditions (execution time and number of executions) regarding the start frequency of each program are met, the start check column is updated to start the next time the system starts The program to be executed has been determined (see, for example, Patent Document 1).

特開2006−323549号公報JP 2006-323549 A

従来のシステム起動方法は、システム起動時に起動対象でなかったプログラムは、その後起動要求があるまで起動されない。このため、情報処理装置の中でも、ユーザ操作をベースとする組込み機器(例えば、情報家電、車載機器、移動体端末等の民生品)において、システム稼動中に初めて利用する機能やサービスの開始要求があると、その時点でプログラム起動処理が行われることとなる。従って、応答性やユーザ操作性が損なわれ、製品の価値を左右することにもなるという新たな問題点が生じる。   In the conventional system activation method, a program that was not activated at the time of system activation is not activated until a subsequent activation request is issued. For this reason, among information processing devices, in embedded devices based on user operations (for example, consumer products such as information home appliances, in-vehicle devices, and mobile terminals), there is a request to start a function or service that is used for the first time during system operation. If there is, the program start processing is performed at that time. Accordingly, there arises a new problem that the responsiveness and user operability are impaired and the value of the product is affected.

一方、近年、単一機能を提供する組込み機器(専用機器)だけでなく、複数機能を合わせ持った組込み機器(複合機器)が市場に出始めている。具体的には、放送番組の視聴と、ビデオ映像や音楽の視聴と、インターネット接続によるショッピングやメール送受信等の機能を提供するデジタルテレビ、カーナビ、携帯電話等が一例である。従来であれば、放送番組の視聴はテレビで、ビデオ映像や音楽の視聴はAVプレーヤで、といったように専用機器を使用していたものが、一つの機器に統合され、ユーザの利用シーンに応じて切り替わることが可能となりつつある。   On the other hand, in recent years, not only embedded devices (dedicated devices) that provide a single function, but also embedded devices (composite devices) that have multiple functions have started to appear on the market. Specifically, a digital TV, a car navigation system, a mobile phone, and the like that provide functions such as viewing of broadcast programs, viewing of video images and music, shopping via Internet connection, and mail transmission / reception are examples. Conventionally, a dedicated device such as a TV program for viewing broadcast programs and an AV player for viewing video images and music is integrated into a single device, depending on the user's usage scene. It is becoming possible to switch.

この種の機器では、前回システム終了時に動作していた機能を、次回システム起動時に起動するのが一番相応しいと考えられる。しかしながら、従来のシステム起動方法は、システム稼動中のプログラム毎の起動頻度といった累積的な条件を元に、よく使う機能とそうでない機能という観点で、次回システム起動時に起動するプログラムを選別していた。パソコンのように、一人のユーザが占有する機器であれば、前記の選別基準に利点が生じる場合もあるが、例えばデジタルテレビやカーナビのように複数のユーザで共有する複合機器の場合は必ずしも適切でないという問題点があった。   In this type of equipment, it is most appropriate to activate the function that was operating at the time of the previous system shutdown at the next system startup. However, the conventional system startup method selects programs to be started at the next system startup from the viewpoint of frequently used functions and functions that are not, based on cumulative conditions such as the startup frequency of each program during system operation. . If the device is occupied by a single user, such as a personal computer, the above selection criteria may be advantageous. However, it is not always appropriate for a composite device shared by multiple users, such as a digital TV or a car navigation system. There was a problem that it was not.

本発明は上記のような問題点を解決するためになされたもので、システム起動時間の短縮を図ることができると共に、ユーザへの応答性を低下させることのない情報処理装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain an information processing apparatus that can shorten the system startup time and does not reduce the responsiveness to the user. And

この発明に係る情報処理装置は、複数の機能モジュールの起動を遅延させるか否かを示す遅延実行フラグを複数の機能モジュール毎に示す起動情報登録テーブルと、装置の起動を行う場合は、起動情報登録テーブルを参照し、最初に遅延実行フラグが遅延以外の機能モジュールを起動させ、遅延以外の機能モジュールの起動が終了した後、遅延実行フラグが遅延の機能モジュールを起動させるシステム起動手段とを備えたものである。   The information processing apparatus according to the present invention includes a startup information registration table indicating a delay execution flag for each of a plurality of functional modules indicating whether to delay the startup of a plurality of functional modules, and startup information when the apparatus is started. System activation means for referring to the registration table, first activating a functional module whose delay execution flag is other than delay, and activating the functional module whose delay execution flag is delayed after the activation of the functional module other than delay is completed It is a thing.

この発明の情報処理装置は、装置の起動を行う場合は、最初に遅延実行フラグが遅延以外の機能モジュールを起動させ、その後、遅延実行フラグが遅延の機能モジュールを起動させるようにしたので、ユーザへの応答性を低下させることなく、システム起動時間の短縮を図ることができる。   In the information processing apparatus according to the present invention, when starting the apparatus, the function module whose delay execution flag is other than the delay is first activated, and then the function module whose delay execution flag is the delay is activated. The system startup time can be shortened without reducing the response to the system.

実施の形態1.
図1は、この発明の実施の形態1による情報処理装置の機能ブロック図である。
図において、情報処理装置は、複数の機能モジュール1−1,1−2,…,1−n、起動情報登録テーブル2、システム起動手段3を備えている。複数の機能モジュール1−1,1−2,…,1−nは、それぞれが所定の処理を行う一つの単位となったプログラムコンポーネントである。
Embodiment 1 FIG.
FIG. 1 is a functional block diagram of an information processing apparatus according to Embodiment 1 of the present invention.
In the figure, the information processing apparatus includes a plurality of functional modules 1-1, 1-2,..., 1-n, a startup information registration table 2, and a system startup unit 3. The plurality of functional modules 1-1, 1-2,..., 1-n are program components each serving as one unit for performing predetermined processing.

図2は、機能モジュールとユーザプログラムとの関係を示す説明図である。
図において、ユーザプログラムは、情報処理装置に搭載されるアプリケーションやミドルウェアといったプログラムであり、一つ以上の機能モジュールで構成される。また、機能モジュールは、通常、一つ以上のタスクを備えている(図中の機能モジュールc3(ライブラリ)を除く)。図中の(a)(b)に示すユーザプログラムA,Bは、一つの機能モジュールaまたは機能モジュールbで構成されたものであり、(c)に示すユーザプログラムCは、複数の機能モジュールc1,c2,c3からなる構成である。本発明では、いずれの形態であっても1ユーザプログラム=マルチタスク構成(一つ以上のタスクが存在する)を想定している。また、機能モジュールbや機能モジュールc2で示すように、1機能モジュール=マルチタスク構成も存在する。このようなユーザプログラムとして、例えば(c)に示すユーザプログラムCでは、デジタルTVアプリケーションといったプログラムがあり、このような場合は、機能モジュールc1=放送視聴、機能モジュールc2=インターネット閲覧、機能モジュールc3=ビデオ視聴(Video On Demand)といった構成となっている。また、機能モジュールc2としてインターネット閲覧機能を実現する場合は、タスクとして、通信タスクやブラウザタスク、TV描画タスクといったタスクが存在する。
FIG. 2 is an explanatory diagram showing the relationship between the functional module and the user program.
In the figure, a user program is a program such as an application or middleware installed in an information processing apparatus, and is composed of one or more functional modules. In addition, the functional module usually includes one or more tasks (excluding the functional module c3 (library) in the figure). The user programs A and B shown in (a) and (b) in the figure are composed of one functional module a or a functional module b, and the user program C shown in (c) includes a plurality of functional modules c1. , C2, c3. The present invention assumes a one-user program = multitask configuration (one or more tasks exist) in any form. Further, as shown by the functional module b and the functional module c2, there is a one-function module = multitask configuration. As such a user program, for example, the user program C shown in (c) includes a program such as a digital TV application. In such a case, the functional module c1 = broadcast viewing, the functional module c2 = internet browsing, the functional module c3 = It is configured to watch video (Video On Demand). When the Internet browsing function is realized as the function module c2, tasks such as a communication task, a browser task, and a TV drawing task exist as tasks.

図1に戻り、起動情報登録テーブル2は、複数の機能モジュール1−1,1−2,…,1−nの起動を遅延させるか否かを示す遅延実行フラグを機能モジュール1−1,1−2,…,1−n毎に示すテーブルであり、その詳細については後述する。また、システム起動手段3は、装置の起動を行う場合は、起動情報登録テーブル2を参照し、最初に遅延実行フラグが遅延以外の機能モジュールを起動させ、遅延以外の機能モジュールの起動が終了した後、遅延実行フラグが遅延の機能モジュールを起動させるよう構成されている。   Returning to FIG. 1, the activation information registration table 2 displays a delay execution flag indicating whether or not activation of a plurality of functional modules 1-1, 1-2,. This table is shown for each of −2,..., 1-n, and details thereof will be described later. Further, when starting the apparatus, the system activation means 3 refers to the activation information registration table 2, first activates a functional module whose delay execution flag is other than delay, and finishes activation of the functional module other than delay. Later, the delayed execution flag is configured to activate the delayed functional module.

図3は、実施の形態1の情報処理装置のソフトウェア構成図である。
図において、システム初期化処理タスク10は、システム(情報処理装置)の起動時にシステム初期化処理を行うタスク、システム初期化遅延実行タスク11は、初期起動完了通知を受けて遅延実行処理を行うタスクであり、図1におけるシステム起動手段3に対応するタスクである。初期化関数登録テーブル20は、システムに搭載している各機能モジュールの初期化関数の一覧が登録されているテーブルであり、図1の起動情報登録テーブル2に対応するものである。ここで、初期化関数ポインタ21は、初期化関数登録テーブル20における一エントリの構成要素であって、システムに搭載している機能モジュールの初期化関数へのアドレス情報を保持するポインタである。また、遅延実行フラグ22は、同じく初期化関数登録テーブル20における一エントリの構成要素であって、初期化関数ポインタ21が指し示す初期化関数をシステム起動時に実行するか(値=ゼロ)、後から実行する(遅延実行する)か(値=非ゼロ)を選別するための情報である。また、初期化関数30は、システムに搭載している各機能モジュールの初期化関数、タスク31は、初期化関数30の中から起動されるタスクである。
FIG. 3 is a software configuration diagram of the information processing apparatus according to the first embodiment.
In the figure, a system initialization processing task 10 is a task for performing system initialization processing when the system (information processing apparatus) is started, and a system initialization delay execution task 11 is a task for performing delayed execution processing upon receiving an initial startup completion notification. This is a task corresponding to the system activation means 3 in FIG. The initialization function registration table 20 is a table in which a list of initialization functions of each functional module installed in the system is registered, and corresponds to the activation information registration table 2 in FIG. Here, the initialization function pointer 21 is a component of one entry in the initialization function registration table 20, and is a pointer that holds address information to the initialization function of the functional module installed in the system. Similarly, the delayed execution flag 22 is a component of one entry in the initialization function registration table 20, and whether the initialization function indicated by the initialization function pointer 21 is executed at the time of system startup (value = zero) or later. This is information for selecting whether to execute (delayed execution) or (value = non-zero). The initialization function 30 is an initialization function of each functional module installed in the system, and the task 31 is a task activated from the initialization function 30.

次に、実施の形態1の動作について説明する。
図4は、図3に示したソフトウェア構成図に基づくシステム起動時の処理を示すフローチャートである。
図4において、先ず、ステップST100で情報処理装置に電源が投入されると、ステップST101でオペレーティングシステム(以下、単にOSという)の初期化を行う。その後、ステップST102でシステム初期化遅延実行タスク11を起動し、システム初期化遅延実行タスク11はステップST103で初期起動完了通知待ち(休眠状態)となる。
一方、ステップST102の処理の後、引き続きステップST104でシステム初期化処理タスク10を起動する。以降の処理は、システム初期化処理タスク10の処理であり、先ず、ステップST105で初期化関数登録テーブル20の各エントリを先頭から順番に検索していく。ステップST106で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22を参照し、値がゼロであれば、ステップST107に進む。遅延実行フラグ22の値がゼロの場合は、遅延実行の対象でないと判断され、ステップST107で遅延実行フラグ22と同じエントリ内の初期化関数ポインタ21を参照し、初期化関数30を呼び出す。ステップST108で、呼び出された初期化関数30が実行され、この中で必要に応じてタスク31を起動する。また、ステップST106で、遅延実行フラグ22の値が非ゼロの場合は、ステップST107の処理をスキップし、従って当該エントリの初期化関数30の呼出しを行わない。以上が、初期化関数登録テーブル20の一エントリ分の処理であり、引き続きステップST105に戻り、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返す。最後に、システム初期化処理タスク10は、ステップST109で初期起動完了通知を発行して終了する、あるいはシステム定常状態の動作モードに移行していく。
Next, the operation of the first embodiment will be described.
FIG. 4 is a flowchart showing processing at the time of system startup based on the software configuration diagram shown in FIG.
In FIG. 4, first, when the information processing apparatus is powered on in step ST100, an operating system (hereinafter simply referred to as OS) is initialized in step ST101. Thereafter, the system initialization delay execution task 11 is activated in step ST102, and the system initialization delay execution task 11 waits for an initial activation completion notification (sleep state) in step ST103.
On the other hand, after the process of step ST102, the system initialization process task 10 is subsequently started in step ST104. The subsequent processing is processing of the system initialization processing task 10, and first, in step ST105, each entry in the initialization function registration table 20 is searched in order from the top. In step ST106, the delayed execution flag 22 of the first entry in the initialization function registration table 20 is referred to. If the value is zero, the process proceeds to step ST107. If the value of the delayed execution flag 22 is zero, it is determined that the delayed execution flag 22 is not subject to delayed execution. In step ST107, the initialization function pointer 21 in the same entry as the delayed execution flag 22 is referred to and the initialization function 30 is called. In step ST108, the called initialization function 30 is executed, and the task 31 is activated as necessary. If the value of the delayed execution flag 22 is non-zero in step ST106, the process of step ST107 is skipped, and therefore the initialization function 30 for the entry is not called. The above is the process for one entry of the initialization function registration table 20, and the process returns to step ST105 and is repeated until the terminal entry of the initialization function registration table 20 is reached. Finally, the system initialization processing task 10 issues an initial activation completion notification in step ST109 and ends, or shifts to an operation mode in a system steady state.

次に、ステップST103で休眠状態となっていたシステム初期化遅延実行タスク11は、ステップST109で発行された初期起動完了通知を受信すると起床する。以降の処理はシステム初期化遅延実行タスク11の処理である。先ず、ステップST110で初期化関数登録テーブル20の各エントリを先頭から順番に検索していく。ステップST111で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22を参照し、値が非ゼロであれば、ステップST112に進む。このステップST111の条件判定は、前記のステップST106を反転したものであり、遅延実行フラグ22の値が非ゼロの場合は、遅延実行の対象であると判断する。ステップST112で遅延実行フラグ22と同じエントリ内の初期化関数ポインタ21を参照し、初期化関数30を呼び出す。ステップST113で、呼び出された初期化関数30が実行され、この中で必要に応じてタスク31を起動する。また、ステップST111で、遅延実行フラグ22の値がゼロの場合は、ステップST112の処理をスキップし、従って当該エントリの初期化関数30の呼出しを行わない。以上が、初期化関数登録テーブル20の一エントリ分の処理であり、引き続きステップST110に戻り、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返し、終了する。   Next, the system initialization delay execution task 11 that has been in a sleep state in step ST103 wakes up upon receiving the initial activation completion notification issued in step ST109. The subsequent processing is processing of the system initialization delay execution task 11. First, in step ST110, each entry in the initialization function registration table 20 is searched in order from the top. In step ST111, the delayed execution flag 22 of the first entry in the initialization function registration table 20 is referred to. If the value is non-zero, the process proceeds to step ST112. The condition determination in step ST111 is obtained by inverting the above-described step ST106. If the value of the delay execution flag 22 is non-zero, it is determined that the object is to be delayed. In step ST112, the initialization function pointer 21 in the same entry as the delayed execution flag 22 is referred to and the initialization function 30 is called. In step ST113, the called initialization function 30 is executed, and the task 31 is activated as necessary. If the value of the delayed execution flag 22 is zero in step ST111, the process of step ST112 is skipped, and therefore the initialization function 30 for the entry is not called. The above is the process for one entry of the initialization function registration table 20. The process returns to step ST110, and the process is repeated until the end entry of the initialization function registration table 20 is reached.

即ち、図3中に示すように、(1)システム初期化処理タスク10の実行→(2)初期起動完了通知→(3)システム初期化遅延実行タスク11による遅延実行の順で起動処理が行われる。   That is, as shown in FIG. 3, the startup processing is performed in the order of (1) execution of the system initialization processing task 10 → (2) notification of completion of initial startup → (3) delayed execution by the system initialization delay execution task 11. Is called.

尚、本実施の形態1では、ステップST109の初期起動完了通知をシステム初期化処理タスク10が発行するようにしたが、ステップST107で呼び出した初期化関数30のそれぞれが初期起動完了通知を発行するようにし、システム初期化遅延実行タスク11は、特定の初期起動完了通知、あるいはいくつかの初期起動完了通知の論理積(AND)で待ち合わせるようにしてもよい。
また、本実施の形態1では、システム初期化処理タスク10とは別に、システム初期化遅延実行タスク11を設けたが、システム初期化処理タスク10自身が初期起動完了通知を契機として、遅延実行処理を行うようにしてもよい。
更に、本実施の形態1では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延実行タスク11をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。
In the first embodiment, the system initialization processing task 10 issues the initial activation completion notification in step ST109. However, each of the initialization functions 30 called in step ST107 issues an initial activation completion notification. Thus, the system initialization delay execution task 11 may wait for a specific initial activation completion notification or a logical product (AND) of several initial activation completion notifications.
In the first embodiment, the system initialization delayed execution task 11 is provided separately from the system initialization processing task 10. However, the system initialization processing task 10 itself is triggered by the initial activation completion notification as a delayed execution processing. May be performed.
Furthermore, in the first embodiment, the initialization function 30 and the task 31 are assumed to be user programs (groups of function modules developed by the user) such as applications and middleware (libraries) installed in the information processing apparatus. For example, the system initialization processing task 10 and the system initialization delay execution task 11 are realized as system tasks in the OS, and then an OS function module and a device driver that is control software for various hardware devices You may apply to.

以上のように、実施の形態1の情報処理装置によれば、複数の機能モジュールを有する情報処理装置において、複数の機能モジュールの起動を遅延させるか否かを示す遅延実行フラグを複数の機能モジュール毎に示す起動情報登録テーブルと、装置の起動を行う場合は、起動情報登録テーブルを参照し、最初に遅延実行フラグが遅延以外の機能モジュールを起動させ、遅延以外の機能モジュールの起動が終了した後、遅延実行フラグが遅延の機能モジュールを起動させるシステム起動手段とを備えたので、システム起動時間を短縮でき、従ってシステム起動後最初にユーザに提供したい機能やサービスをより早く開始することができる。更に、その後システム稼動中に初めて利用する機能やサービスの開始要求が発生した時も、遅延実行により、搭載されている機能モジュールは既に起動しているため、ユーザへの応答性を低下させることなく、高速に次の機能やサービスに遷移することができる。   As described above, according to the information processing apparatus of the first embodiment, in the information processing apparatus having a plurality of function modules, the delay execution flag indicating whether or not to delay the activation of the plurality of function modules is set to the plurality of function modules. Refer to the startup information registration table and the startup information registration table for each startup, refer to the startup information registration table, first start the functional module whose delay execution flag is other than delay, and start the functional module other than delay Later, since the delay execution flag includes system activation means for activating the delayed function module, the system activation time can be shortened, so that the function or service that the user wants to provide to the user first after the system activation can be started earlier. . Furthermore, even when a request to start a function or service to be used for the first time during system operation is generated, the installed function module has already been started due to delayed execution, so the responsiveness to the user is not reduced. It is possible to transition to the next function or service at high speed.

また、実施の形態1の情報処理装置によれば、機能モジュールをオペレーティングシステムを構成するモジュールとし、システム起動手段をオペレーティングシステムのタスクとして実現するようにしたので、オペレーティングシステムの起動時間を短縮でき、更にシステム起動時間の短縮を図ることができる。   Further, according to the information processing apparatus of the first embodiment, the function module is a module constituting the operating system, and the system booting means is realized as a task of the operating system, so the boot time of the operating system can be shortened, Furthermore, the system startup time can be shortened.

実施の形態2.
実施の形態1では、初期化関数登録テーブル20内の各遅延実行フラグ22は予め静的に設定されているものとしていたが、次に、実施の形態2として、システム終了時に動作していた機能モジュール群の初期化関数30を次回システム起動時に初期実行し、その他の機能モジュール群の初期化関数30を遅延実行するように、遅延実行フラグ22を更新するようにした例を説明する。
Embodiment 2. FIG.
In the first embodiment, each delayed execution flag 22 in the initialization function registration table 20 is statically set in advance. Next, as the second embodiment, the function that was operating at the time of system termination. An example will be described in which the delay execution flag 22 is updated so that the initialization function 30 of the module group is initially executed at the next system startup and the initialization functions 30 of other functional module groups are delayed.

図5は、実施の形態2による情報処理装置の機能ブロック図である。
実施の形態2の情報処理装置は、機能モジュール1−1,1−2,…,1−n、起動情報登録テーブル2、システム起動手段3、カレント機能モード設定手段4、システム終了手段5を備えている。ここで、機能モジュール1−1,1−2,…,1−n〜システム起動手段3の構成については図1に示した実施の形態1と同様であるため、ここでの説明は省略する。カレント機能モード設定手段4は、複数の機能モジュール1−1,1−2,…,1−nのうち、どの機能モジュール1−1,1−2,…,1−nが現在実行中かを示すカレント機能モードフラグ40を設定する機能部である。また、システム終了手段5は、装置の終了を行う場合、その時点のカレント機能モードフラグ40の値に基づいて起動情報登録テーブル2の遅延実行フラグの値を更新する機能を有している。即ち、カレント機能モードフラグ40に対応する機能モジュールの遅延実行フラグを遅延以外の状態に更新し、それ以外の機能モジュールの遅延実行フラグを遅延状態に更新する。
FIG. 5 is a functional block diagram of the information processing apparatus according to the second embodiment.
The information processing apparatus according to the second embodiment includes function modules 1-1, 1-2,..., 1-n, an activation information registration table 2, a system activation unit 3, a current function mode setting unit 4, and a system termination unit 5. ing. Here, the configuration of the function modules 1-1, 1-2,..., 1-n to the system activation unit 3 is the same as that of the first embodiment shown in FIG. The current function mode setting means 4 determines which function module 1-1, 1-2,..., 1-n among the plurality of function modules 1-1, 1-2,. This is a functional unit for setting the current function mode flag 40 shown. Further, the system ending unit 5 has a function of updating the value of the delayed execution flag in the activation information registration table 2 based on the value of the current function mode flag 40 at the time when the device is ended. That is, the delay execution flag of the function module corresponding to the current function mode flag 40 is updated to a state other than the delay, and the delay execution flags of other function modules are updated to the delay state.

図6は、実施の形態2の情報処理装置のソフトウェア構成図である。
図6において、システム終了処理タスク12は、システムの終了要求があった時に動作し、情報処理装置に搭載されている機能モジュール群の終了処理を行うタスクであり、図5におけるシステム終了手段5に対応している。即ち、システム終了処理タスク12は、システム稼動中における現在の機能モードを示すカレント機能モードフラグ40の値に基づいて初期化関数登録テーブル20における遅延実行フラグ22の値を更新する。ここで、機能モードとは、例えば放送番組の視聴、ビデオ映像や音楽の視聴、インターネット接続(ショッピングやメール送受信)等のユーザ利用シーンに対応した機能種別(機能セット)を指す。その他の、システム初期化処理タスク10やシステム初期化遅延実行タスク11といった構成要素は、実施の形態1の図3と同様である。
FIG. 6 is a software configuration diagram of the information processing apparatus according to the second embodiment.
In FIG. 6, a system termination processing task 12 is a task that operates when a system termination request is made and performs termination processing of a functional module group installed in the information processing apparatus. It corresponds. That is, the system termination processing task 12 updates the value of the delay execution flag 22 in the initialization function registration table 20 based on the value of the current function mode flag 40 indicating the current function mode during system operation. Here, the function mode refers to a function type (function set) corresponding to a user use scene such as viewing of a broadcast program, viewing of video images and music, Internet connection (shopping and mail transmission / reception), and the like. Other components such as the system initialization processing task 10 and the system initialization delay execution task 11 are the same as those in FIG. 3 of the first embodiment.

次に、実施の形態2の動作について説明する。
図7は、図6に示したソフトウェア構成図に基づくシステム終了時の処理フローを示す図である。
図7において、先ず、ステップST200でシステム稼動中にユーザ操作に基づく機能モード切替え要求がある度に、カレント機能モード設定手段4は、ステップST201でカレント機能モードフラグ40を新しい機能モードを示す値に更新する(図6中、(1)機能モード切替え(更新))。次に、ステップST202でユーザ操作に基づくシステム終了要求があると、システム終了手段5は、ステップST203でシステム終了処理タスク12を起床する。以降の処理はシステム終了処理タスク12の処理であり、先ずステップST204で初期化関数登録テーブル20の各エントリを先頭から順番に検索していく。ステップST205で前記のカレント機能モードフラグ40を参照した上で、カレント機能モードフラグ40を最後に更新した後に動作した機能モジュール1−1,1−2,…,1−nに対応するエントリかを判定する。
Next, the operation of the second embodiment will be described.
FIG. 7 is a diagram showing a processing flow at the end of the system based on the software configuration diagram shown in FIG.
In FIG. 7, first, whenever there is a function mode switching request based on a user operation while the system is operating in step ST200, the current function mode setting means 4 sets the current function mode flag 40 to a value indicating a new function mode in step ST201. Update ((1) function mode switching (update) in FIG. 6). Next, when there is a system termination request based on a user operation in step ST202, the system termination unit 5 wakes up the system termination processing task 12 in step ST203. The subsequent processing is processing of the system termination processing task 12. First, in step ST204, each entry in the initialization function registration table 20 is searched in order from the top. In step ST205, referring to the current function mode flag 40, whether the entry corresponds to the function modules 1-1, 1-2,. judge.

判定方法の一例としては、各機能モジュールの初期化関数30から起動されたタスク31のアカウンティング情報(動作時間情報)を元に、動作中の機能モジュールを選別する。当該エントリが動作中の機能モジュールであった場合、ステップST206で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22にゼロ(非遅延状態)を設定する。また、当該エントリが動作中の機能モジュールでなかった場合、ステップST207で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22に非ゼロ(遅延状態)を設定する。その後、ステップST208で当該機能モジュールの終了処理関数を呼び出す。以上が、初期化関数登録テーブル20の一エントリ分の処理であり、引き続きステップST204に戻り、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返す(図6中、(2)更新)。最後に、システム終了処理タスク12の処理を終了し、ステップST209でシステム(OS)の終了処理に移行する。   As an example of the determination method, the function module in operation is selected based on the accounting information (operation time information) of the task 31 activated from the initialization function 30 of each function module. If the entry is an active function module, zero (non-delayed state) is set in the delayed execution flag 22 of the first entry in the initialization function registration table 20 in step ST206. If the entry is not an active function module, the delay execution flag 22 of the first entry in the initialization function registration table 20 is set to non-zero (delay state) in step ST207. Thereafter, in step ST208, the end processing function of the functional module is called. The above is the process for one entry of the initialization function registration table 20, and the process returns to step ST204 and is repeated until the end entry of the initialization function registration table 20 is reached ((2) update in FIG. 6). Finally, the process of the system termination process task 12 is terminated, and the process proceeds to a system (OS) termination process in step ST209.

そして、次回、情報処理装置に電源が投入されると、実施の形態1の図4を用いて説明したシステム起動時の処理フローに従って遅延実行処理が行われる。即ち、図6中に示すように、(3)次回システム起動→(4)システム初期化処理タスク10の実行→(5)初期起動完了通知→(6)システム初期化遅延実行タスク11による遅延実行の順で起動処理が行われる。   Then, when the information processing apparatus is turned on next time, a delay execution process is performed according to the process flow at the time of system startup described with reference to FIG. 4 of the first embodiment. That is, as shown in FIG. 6, (3) next system activation → (4) execution of system initialization processing task 10 → (5) notification of completion of initial activation → (6) delayed execution by system initialization delay execution task 11 The startup process is performed in the order of.

尚、本実施の形態2では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延実行タスク11やシステム終了処理タスク12をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。   In the second embodiment, the initialization function 30 and the task 31 are assumed to be a user program (functional module group developed by the user) such as an application or middleware (library) installed in the information processing apparatus. For example, after realizing the system initialization processing task 10, the system initialization delay execution task 11, and the system termination processing task 12 as system tasks in the OS, the OS function module and various hardware devices You may apply to the device driver etc. which are control software.

以上のように、実施の形態2の情報処理装置によれば、複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、装置の終了を行う場合、起動情報登録テーブルの遅延実行フラグを、カレント機能モードフラグに基づき、実行中であった機能モジュールに対応する遅延実行フラグを遅延以外に更新するシステム終了手段とを備えたので、次回システム起動時に、前回システム終了直前の機能モードに対応する機能やサービスをより早く開始することができる。   As described above, according to the information processing apparatus of the second embodiment, the current function mode setting means for setting the current function mode flag indicating which function module among the plurality of function modules is currently being executed, When ending, since the delay execution flag of the activation information registration table, based on the current function mode flag, provided with a system ending means for updating the delay execution flag corresponding to the function module that was being executed other than the delay, At the next system startup, functions and services corresponding to the function mode immediately before the previous system termination can be started earlier.

また、実施の形態2の情報処理装置によれば、機能モジュールをオペレーティングシステムを構成するモジュールとし、システム起動手段およびシステム終了手段をオペレーティングシステムのタスクとして実現するようにしたので、オペレーティングシステムの起動時間を短縮でき、更にシステム起動時間の短縮を図ることができる。   According to the information processing apparatus of the second embodiment, the function module is a module constituting the operating system, and the system starting unit and the system ending unit are realized as the operating system task. The system startup time can be further shortened.

実施の形態3.
実施の形態2では、システム終了処理タスク12がシステム終了直前の機能モジュールの動作状況を反映して遅延実行フラグ22を更新し、次回システム起動時に前回システム終了時に動作していた機能モジュールを最初に起動し、残りの機能モジュールを遅延実行するようにしたものであるが、次に、実施の形態3として、初期化関数登録テーブル20内の遅延実行フラグ22の構成を、その情報処理装置が提供する機能モード別に設けた上で、前回システム終了直前の機能モードを保存しておき、当該機能モードに対応する遅延実行フラグ22の列を参照しながら遅延実行を行う例を説明する。ここで機能モードとは、例えば放送番組の視聴、ビデオ映像や音楽の視聴、インターネット接続等のユーザ利用シーンに対応した機能種別(機能セット)を指す。
Embodiment 3 FIG.
In the second embodiment, the system termination processing task 12 updates the delay execution flag 22 to reflect the operation status of the functional module immediately before the system termination, and the function module that was operating at the previous system termination at the next system startup is the first. The remaining functional modules are activated and delayed execution is performed. Next, as the third embodiment, the configuration of the delayed execution flag 22 in the initialization function registration table 20 is provided by the information processing apparatus. An example in which the function mode immediately before the end of the previous system is stored and delayed execution is performed while referring to the column of the delay execution flag 22 corresponding to the function mode will be described. Here, the function mode refers to a function type (function set) corresponding to a user use scene such as viewing of a broadcast program, viewing of video images and music, Internet connection, and the like.

図8は、実施の形態3の情報処理装置の機能ブロック図である。
図において、情報処理装置は、機能モジュール1−1,1−2,…,1−n、起動情報登録テーブル2a、システム起動手段3a、カレント機能モード設定手段4、システム終了手段5aを備えている。ここで、機能モジュール1−1,1−2,…,1−nは、実施の形態1、2と同様のプログラムコンポーネントである。また、起動情報登録テーブル2aは、後述する図9に示すように、複数の機能モードに対応した遅延実行フラグを備えたテーブルである。システム起動手段3aは、システム終了手段5aによって設定される機能モード保存フラグ41の値に対応した起動情報登録テーブル2における機能モードの遅延実行フラグに基づいて機能モジュール1−1,1−2,…,1−nの起動を行うよう構成されている。システム終了手段5aは、装置の終了を行う場合、カレント機能モード設定手段4によって設定されるカレント機能モードフラグ40の値を機能モード保存フラグ41として保存する機能を有している。尚、カレント機能モード設定手段4の構成は実施の形態2と同様である。
FIG. 8 is a functional block diagram of the information processing apparatus according to the third embodiment.
In the figure, the information processing apparatus includes function modules 1-1, 1-2,..., 1-n, a start information registration table 2a, a system start means 3a, a current function mode setting means 4, and a system end means 5a. . Here, the functional modules 1-1, 1-2,..., 1-n are program components similar to those in the first and second embodiments. The activation information registration table 2a is a table including delayed execution flags corresponding to a plurality of function modes, as shown in FIG. The system activation unit 3a is configured to function modules 1-1, 1-2,... Based on the function mode delay execution flag in the activation information registration table 2 corresponding to the value of the function mode storage flag 41 set by the system termination unit 5a. , 1-n. The system termination means 5a has a function of saving the value of the current function mode flag 40 set by the current function mode setting means 4 as the function mode saving flag 41 when the apparatus is terminated. The configuration of the current function mode setting unit 4 is the same as that of the second embodiment.

図9は、実施の形態3の情報処理装置におけるソフトウェア構成図である。
図示のように、初期化関数登録テーブル20の遅延実行フラグ22は、modeA(22A)、modeB(22B)、modeC(22C)といったように、機能モード毎の遅延実行フラグを格納するよう構成されている。これらmodeA(22A)〜C(22C)は、前回システム終了直前の機能モードに応じて、初期化関数ポインタ21が指し示す初期化関数30をシステム起動時に実行するか(値=ゼロ)、後から実行する(遅延起動する)か(値=非ゼロ)を選別するために参照する機能モードに対応した列である。また、機能モード保存フラグ41は、システム終了処理タスク12によって、前回システム終了直前の機能モードを不揮発性媒体に保持するフラグである。その他の構成要素は実施の形態2の図6と同様である。
FIG. 9 is a software configuration diagram of the information processing apparatus according to the third embodiment.
As illustrated, the delay execution flag 22 of the initialization function registration table 20 is configured to store a delay execution flag for each function mode such as mode A (22A), mode B (22B), and mode C (22C). Yes. These mode A (22A) to C (22C) execute the initialization function 30 indicated by the initialization function pointer 21 at the time of system startup according to the function mode immediately before the end of the previous system (value = zero), or execute later This is a column corresponding to a function mode to be referred to in order to select whether to perform (delay activation) (value = non-zero). The function mode storage flag 41 is a flag for holding the function mode immediately before the previous system termination in the nonvolatile medium by the system termination processing task 12. Other components are the same as those in FIG. 6 of the second embodiment.

次に、実施の形態3の動作について説明する。
図10は、図9に示したソフトウェア構成図に基づくシステム終了時の処理フローを示す図である。
図10において、ステップST200からST203までは、実施の形態2の図7と同様である。以降の処理はシステム終了処理タスク12の処理であり、先ず、ステップST208で当該機能モジュールの終了処理関数を呼出す。その後、ステップST210でカレント機能モードフラグ40の値を機能モード保存フラグ41に設定する(図9における(1)保存処理)。システム終了処理タスク12の処理は以上であり、ステップST209でシステム(OS)終了処理に移行する。
Next, the operation of the third embodiment will be described.
FIG. 10 is a diagram showing a processing flow at the end of the system based on the software configuration diagram shown in FIG.
In FIG. 10, steps ST200 to ST203 are the same as those in FIG. 7 of the second embodiment. The subsequent processing is processing of the system end processing task 12. First, in step ST208, the end processing function of the functional module is called. Thereafter, in step ST210, the value of the current function mode flag 40 is set to the function mode storage flag 41 ((1) storage process in FIG. 9). The processing of the system end processing task 12 is as described above, and the process proceeds to system (OS) end processing in step ST209.

図11は、図9に示したソフトウェア構成図に基づくシステム起動時の処理フローを示す図である。
図11において、実施の形態1の図4との相違点に着目し説明する。先ず、システム初期化処理タスク10の処理について、ステップST114で機能モード保存フラグ41を参照して、前回システム終了直前の機能モードの値を取得する。例えば、機能モード保存フラグ41の値が「modeB」であったとする。次に、ステップST105からステップST108の繰り返し処理で、初期化関数登録テーブル20内の遅延実行フラグ22の列「modeB」22Bを参照し、ゼロ(非遅延状態)のエントリに対して初期化関数30の呼出しを行う。一方、システム初期化遅延実行タスク11の処理について、ステップST103の初期起動完了通知待ちが解除された後、ステップST115で機能モード保存フラグ41を参照して、前回システム終了直前の機能モードの値を取得する。次に、ステップST110からステップST113の繰り返し処理で、初期化関数登録テーブル20内の遅延実行フラグ22の列「modeB」22Bを参照し、非ゼロ(遅延状態)のエントリに対して初期化関数30の呼出し(遅延実行)を行う。
FIG. 11 is a diagram showing a processing flow at the time of system startup based on the software configuration diagram shown in FIG.
In FIG. 11, a description will be given focusing on differences from FIG. 4 of the first embodiment. First, with respect to the processing of the system initialization processing task 10, the function mode storage flag 41 is referred to in step ST114 to acquire the value of the function mode immediately before the end of the previous system. For example, it is assumed that the value of the function mode storage flag 41 is “modeB”. Next, in the repetition processing from step ST105 to step ST108, the column “modeB” 22B of the delayed execution flag 22 in the initialization function registration table 20 is referred to, and the initialization function 30 is entered for zero (non-delayed state) entries. Is called. On the other hand, for the processing of the system initialization delay execution task 11, after the waiting for the initial activation completion notification in step ST103 is canceled, the function mode storage flag 41 is referred to in step ST115, and the value of the function mode immediately before the previous system termination is obtained. get. Next, in the repeated processing from step ST110 to step ST113, the column “modeB” 22B of the delayed execution flag 22 in the initialization function registration table 20 is referred to, and the initialization function 30 is set for a non-zero (delayed state) entry. Is called (delayed execution).

即ち、システムの起動は、図9中に示すように、(2)次回システム起動→(3)システム初期化処理タスク10による機能モード保存フラグ41の参照→(4)システム初期化処理タスク10の実行→(5)初期起動完了通知→(6)システム初期化遅延実行タスク11による機能モード保存フラグ41の参照→(7)システム初期化遅延実行タスク11による遅延実行の順で行われる。   That is, as shown in FIG. 9, the system is started up as follows: (2) Next system startup → (3) Reference of function mode storage flag 41 by system initialization processing task 10 → (4) System initialization processing task 10 Execution → (5) Notification of completion of initial activation → (6) Reference of function mode storage flag 41 by system initialization delay execution task 11 → (7) Delayed execution by system initialization delay execution task 11

尚、本実施の形態3では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延実行タスク11やシステム終了処理タスク12をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。   In the third embodiment, the initialization function 30 and the task 31 are assumed to be user programs (functional module groups developed by the user) such as applications and middleware (libraries) installed in the information processing apparatus. For example, after realizing the system initialization processing task 10, the system initialization delay execution task 11, and the system termination processing task 12 as system tasks in the OS, the OS function module and various hardware devices You may apply to the device driver etc. which are control software.

以上のように、実施の形態3の情報処理装置によれば、起動情報登録テーブルは、各機能モジュールの遅延実行フラグを機能モード毎に有すると共に、複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、装置の終了を行う場合、カレント機能モードフラグの値を機能モード保存フラグとして保存するシステム終了手段とを備え、システム起動手段は、起動情報登録テーブルの機能モード保存フラグの値に対応した機能モードの遅延実行フラグに基づいて機能モジュールの起動を行うようにしたので、前回システム終了直前の機能モードに対応する機能モジュール群だけを過不足なく、より早く起動することができる。   As described above, according to the information processing apparatus of the third embodiment, the activation information registration table has the delay execution flag of each functional module for each functional mode, and which functional module is currently out of a plurality of functional modules. A current function mode setting means for setting a current function mode flag indicating whether it is being executed; and a system ending means for saving the value of the current function mode flag as a function mode storage flag when the apparatus is to be terminated. Since the function module is activated based on the delayed execution flag of the function mode corresponding to the value of the function mode save flag in the activation information registration table, only the function module group corresponding to the function mode immediately before the last system termination You can start up more quickly without excess or deficiency.

実施の形態4.
実施の形態3では、システム終了処理タスク12がシステム終了直前の機能モードを機能モード保存フラグ41に保存すると共に、次回システム起動時にシステム初期化処理タスク10及びシステム初期化遅延実行タスク11が機能モード別に定義された初期化関数登録テーブル20内の遅延実行フラグ22の列を参照し、初期実行すべき初期化関数30と遅延実行すべき初期化関数30を選別するようにしたが、次に、実施の形態4として、初期化関数登録テーブル20内の遅延実行フラグ22の値をゼロと非ゼロに二分するのはなく、システム終了直前に動作中でなかった機能モジュールの遅延実行フラグ22をプラス1した値に更新し、システム初期化遅延実行タスク11は前記の遅延実行フラグ22の値の範囲に応じて段階的に遅延実行を行う例を説明する。
Embodiment 4 FIG.
In the third embodiment, the system termination processing task 12 stores the function mode immediately before the system termination in the function mode storage flag 41, and the system initialization processing task 10 and the system initialization delay execution task 11 are in the function mode at the next system startup. With reference to the column of the delayed execution flag 22 in the separately defined initialization function registration table 20, the initialization function 30 to be initially executed and the initialization function 30 to be delayed are selected. In the fourth embodiment, the value of the delay execution flag 22 in the initialization function registration table 20 is not divided into zero and non-zero, but the delay execution flag 22 of the functional module that was not operating immediately before the system termination is added. The system initialization delayed execution task 11 is delayed in stages according to the value range of the delayed execution flag 22. Explaining the example in which the line.

実施の形態4の情報処理装置における図面上の機能ブロックについては実施の形態2の図5に示した構成と同様であるため、図5を援用して説明する。実施の形態4の起動情報登録テーブル2は、後述する図12に示すように、遅延させる順番に対応した複数段階の遅延実行フラグが設定可能に構成されている。また、システム終了手段5は、装置の終了を行う場合、カレント機能モードフラグ40の値に基づいて、実行中ではなかった機能モジュールに対応した遅延実行フラグの値を遅延が大きい側に変更する、即ち、値を+1するよう構成されている。更に、システム起動手段3は、起動情報登録テーブル2の遅延実行フラグの値が遅延の小さい順に機能モジュール1−1,1−2,…,1−nの遅延起動を行うよう構成されている。これ以外の構成については実施の形態2の情報処理装置と同様である。   The functional blocks on the drawing in the information processing apparatus of the fourth embodiment are the same as the configuration shown in FIG. 5 of the second embodiment, and will be described with reference to FIG. As shown in FIG. 12 described later, the activation information registration table 2 according to the fourth embodiment is configured so that a plurality of stages of delayed execution flags corresponding to the order of delay can be set. Further, when the system is terminated, the system termination means 5 changes the value of the delayed execution flag corresponding to the functional module that was not being executed to the side with the larger delay based on the value of the current function mode flag 40. That is, the value is incremented by one. Further, the system activation means 3 is configured to perform the delayed activation of the functional modules 1-1, 1-2,..., 1-n in the order from the smallest delay value of the delayed execution flag in the activation information registration table 2. Other configurations are the same as those of the information processing apparatus of the second embodiment.

図12は、実施の形態4の情報処理装置におけるソフトウェア構成図である。
図12において、各構成要素の基本的構成は実施の形態2の図6と同様である。但し、図中の初期化関数登録テーブル20の遅延実行フラグ22において、ゼロと非ゼロ以外の数値が設定可能に構成されている点と、システム終了処理タスク12およびシステム初期化遅延実行タスク11の処理内容が異なる。
FIG. 12 is a software configuration diagram of the information processing apparatus according to the fourth embodiment.
In FIG. 12, the basic configuration of each component is the same as in FIG. 6 of the second embodiment. However, in the delay execution flag 22 of the initialization function registration table 20 in the figure, a numerical value other than zero and non-zero can be set, and the system termination processing task 12 and the system initialization delay execution task 11 Processing contents are different.

次に、実施の形態4の動作について説明する。
図13は、図12に示したソフトウェア構成図に基づくシステム終了時の処理フローを示す図である。
図13において、実施の形態2の図7との相違点に着目して説明する。先ず、システム終了処理タスク12の処理について、ステップST204で初期化関数登録テーブル20の各エントリを先頭から順番に検索していく。ステップST205でカレント機能モードフラグ40を参照し、カレント機能モードフラグ40を最後に更新した後に動作した機能モジュールに対応するエントリかを判定する。判定方法の一例としては、各機能モジュールの初期化関数30から起動されたタスク31のアカウンティング情報(動作時間情報)を元に、動作中の機能モジュールを選別する。当該エントリが動作中の機能モジュールであった場合、ステップST206で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22に非遅延状態であるゼロを設定する。また、当該エントリが動作中の機能モジュールでなかった場合、ステップST211で初期化関数登録テーブル20内の最初のエントリの遅延実行フラグ22に現在の値に1加算した値を設定する。即ち、遅延状態を1段階増加させる。その後、ステップST208で当該機能モジュールの終了処理関数を呼び出す。以上が、初期化関数登録テーブル20の一エントリ分の処理であり、引き続きステップST204に戻り、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返す(図12における(1)機能モード切替えと(2)遅延実行フラグの更新に相当する)。最後に、ステップST209でシステム(OS)終了処理に移行する。
Next, the operation of the fourth embodiment will be described.
FIG. 13 is a diagram showing a processing flow at the end of the system based on the software configuration diagram shown in FIG.
In FIG. 13, description will be given focusing on the differences from FIG. 7 of the second embodiment. First, regarding the processing of the system termination processing task 12, in step ST204, the entries in the initialization function registration table 20 are searched in order from the top. In step ST205, the current function mode flag 40 is referred to, and it is determined whether the entry corresponds to the function module that has been operated after the current function mode flag 40 was last updated. As an example of the determination method, the function module in operation is selected based on the accounting information (operation time information) of the task 31 activated from the initialization function 30 of each function module. If the entry is a function module in operation, zero in the non-delayed state is set in the delayed execution flag 22 of the first entry in the initialization function registration table 20 in step ST206. If the entry is not an active functional module, a value obtained by adding 1 to the current value is set in the delayed execution flag 22 of the first entry in the initialization function registration table 20 in step ST211. That is, the delay state is increased by one step. Thereafter, in step ST208, the end processing function of the functional module is called. The above is the process for one entry of the initialization function registration table 20, and the process returns to step ST204 and is repeated until the terminal entry of the initialization function registration table 20 is reached ((1) Function mode switching in FIG. 12). (2) Corresponds to update of delayed execution flag). Finally, the process proceeds to a system (OS) termination process in step ST209.

図14は、図12に示したソフトウェア構成図に基づくシステム起動時の処理フローを示す図である。これは、図13に示したシステム終了時の処理フローを実行後、次回システムを起動した時の処理フローである。
図14において、実施の形態3の図11との相違点に着目し説明する。システム初期化遅延実行タスク11の処理について、ステップST103の初期起動完了通知待ちが解除された後、ステップST116で初期化関数登録テーブル20の各エントリに対して、遅延実行フラグ22を参照し、その値が1ならば、当該エントリの初期化関数ポインタ21を介して初期化関数30の呼出し(最初の遅延実行)を行う。また、同値が1でなければ当該エントリをスキップし、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返す。その後、ステップST117でOS機能を用いたタイムアウト設定を行い、自らを一定時間の処理待ち状態にする。
FIG. 14 is a diagram showing a processing flow at the time of system startup based on the software configuration diagram shown in FIG. This is a processing flow when the system is started next time after executing the processing flow at the time of system termination shown in FIG.
In FIG. 14, a description will be given focusing on differences from FIG. 11 of the third embodiment. Regarding the processing of the system initialization delayed execution task 11, after the waiting for the initial activation completion notification in step ST103 is released, the delayed execution flag 22 is referred to for each entry in the initialization function registration table 20 in step ST116, If the value is 1, the initialization function 30 is called (first delayed execution) via the initialization function pointer 21 of the entry. If the value is not 1, the entry is skipped and the process is repeated until the end entry of the initialization function registration table 20 is reached. Thereafter, in step ST117, a timeout setting using the OS function is performed, and the device itself waits for a certain period of time.

指定時間が経過すると、ステップST118でタイムアウト通知を受けて、待ち状態から復帰する。ステップST119で初期化関数登録テーブル20の各エントリに対して、遅延実行フラグ22を参照し、その値が1より大きく、かつ3より小さいならば、当該エントリの初期化関数ポインタ21を介して初期化関数30の呼出し(第二弾の遅延実行)を行う。また、同値が前記条件に該当しなければ当該エントリをスキップし、初期化関数登録テーブル20の終端エントリに達するまで処理を繰り返す。最後に、ステップST120とステップST121で、前記のステップST117及びステップST118と同様の処理を実行した後、ステップST122で初期化関数登録テーブル20の各エントリに対して、遅延実行フラグ22を参照し、その値が3以上ならば、当該エントリの初期化関数ポインタ21を介して初期化関数30の呼出し(第三弾の遅延実行)を行う。   When the specified time has elapsed, a time-out notification is received in step ST118, and the process returns from the waiting state. In step ST119, the delayed execution flag 22 is referred to for each entry of the initialization function registration table 20, and if the value is larger than 1 and smaller than 3, the initial value is initialized via the initialization function pointer 21 of the entry. The function 30 is called (second delayed execution). If the same value does not satisfy the above condition, the entry is skipped and the process is repeated until the end entry of the initialization function registration table 20 is reached. Finally, in steps ST120 and ST121, the same processing as in steps ST117 and ST118 is executed, and then in step ST122, the delayed execution flag 22 is referred to for each entry in the initialization function registration table 20, If the value is 3 or more, the initialization function 30 is called (third delayed execution) via the initialization function pointer 21 of the entry.

即ち、システムの起動は、図12中に示すように、(3)次回システム起動→(4)システム初期化処理タスク10の実行→(5)初期起動完了通知→(6)システム初期化遅延実行タスク11による遅延実行→(7)タイマ起床/イベント起床→(8)第二弾の遅延実行→(9)第三弾の遅延実行の順で行われる。   That is, as shown in FIG. 12, (3) next system startup → (4) execution of system initialization processing task 10 → (5) notification of completion of initial startup → (6) system initialization delay execution as shown in FIG. Delayed execution by task 11 → (7) Timer wakeup / event wakeup → (8) Second delay execution → (9) Third delay execution

尚、本実施の形態4では、段階的に遅延実行を行うための遅延実行フラグ22の境界値として、1と3を用い三段階の遅延実行の例を示したが、これに限定されるものではなく、遅延実行フラグ22の境界値や遅延実行の分割回数は、適用する情報処理装置に応じて定義してよい。また、段階的に遅延実行を行う際のシステム初期化遅延実行タスク11のタイムアウト時間についても、段階毎に個別のタイムアウト時間を設定してもよいし、動的に変更してもよい。
また、本実施の形態4では、段階的に遅延実行を行う際のシステム初期化遅延実行タスク11の待ち合わせ方法として、時間ベースのタイムアウト待ちの例を示したが、これに限定されるものではなく、時間以外の何らかのイベント通知を契機に待ち合わせを解除するようにしてもよい。
In the fourth embodiment, an example of three-stage delay execution is shown using 1 and 3 as boundary values of the delay execution flag 22 for performing delay execution in stages. However, the present invention is not limited to this. Instead, the boundary value of the delayed execution flag 22 and the number of divisions of delayed execution may be defined according to the information processing apparatus to be applied. Also, regarding the timeout time of the system initialization delay execution task 11 when performing delayed execution in stages, an individual timeout time may be set for each stage or may be dynamically changed.
In the fourth embodiment, an example of waiting for a time-based timeout is shown as a waiting method for the system initialization delayed execution task 11 when performing delayed execution in stages. However, the present invention is not limited to this. The waiting may be canceled in response to some event notification other than the time.

更に、本実施の形態4では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延実行タスク11やシステム終了処理タスク12をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。   Furthermore, in the fourth embodiment, the initialization function 30 and the task 31 are assumed to be user programs (functional module groups developed by the user) such as applications and middleware (libraries) installed in the information processing apparatus. For example, the system initialization processing task 10, the system initialization delay execution task 11, and the system termination processing task 12 are realized as system tasks in the OS, and then the OS function module and various hardware devices are installed. You may apply to the device driver etc. which are control software.

以上のように、実施の形態4の情報処理装置によれば、起動情報登録テーブルの遅延実行フラグは、複数の値が設定可能に構成されると共に、複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、装置の終了を行う場合、カレント機能モードフラグの値に基づいて、実行中ではなかった機能モジュールに対応した遅延実行フラグの値を遅延が大きい側に変更するシステム終了手段とを備え、システム起動手段は、起動情報登録テーブルの遅延実行フラグの値が遅延の小さい順に機能モジュールの遅延起動を行うようにしたので、利用回数の少ない機能やサービスほど後からゆっくり遅延実行することになり、システム起動時の初期化処理の負荷を平坦化することができる。また、それにより、システム起動後最初にユーザに提供した機能やサービスに対する次のユーザ操作に対する応答性を改善することができる。   As described above, according to the information processing apparatus of the fourth embodiment, the delayed execution flag of the activation information registration table is configured so that a plurality of values can be set, and which functional module is among the plurality of functional modules. Current function mode setting means for setting a current function mode flag indicating whether it is currently being executed, and a delay execution flag corresponding to a function module that was not being executed based on the value of the current function mode flag when the device is to be terminated System termination means for changing the value of the function to the side with the larger delay, and the system activation means performs the delayed activation of the functional modules in order of increasing delay value of the delayed execution flag in the activation information registration table Less frequently used functions and services will be executed later, and the load of initialization processing at the time of system startup will be flattened. It can be. Thereby, it is possible to improve the responsiveness to the next user operation for the function or service provided to the user first after the system is started.

実施の形態5.
実施の形態3では、初期化関数登録テーブル20内の遅延実行フラグ22の構成を、その情報処理装置が提供する機能モード別に設けたが、次に、実施の形態5として、初期化関数登録テーブル20の構成を、その情報処理装置が提供する機能モード別に分割して複数設けた上で、前回システム終了直前の機能モードを保存しておき、当該機能モードに対応する初期化関数登録テーブル20を参照しながら遅延実行を行う例を説明する。ここで機能モードとは、例えば放送番組の視聴、ビデオ映像や音楽の視聴、インターネット接続等のユーザ利用シーンに対応した機能種別(機能セット)を指す。
Embodiment 5 FIG.
In the third embodiment, the configuration of the delayed execution flag 22 in the initialization function registration table 20 is provided for each function mode provided by the information processing apparatus. Next, as the fifth embodiment, an initialization function registration table is provided. 20 is divided into the function modes provided by the information processing apparatus, and a plurality of functions are provided. The function mode immediately before the end of the previous system is stored, and an initialization function registration table 20 corresponding to the function mode is stored. An example of performing delayed execution will be described with reference to FIG. Here, the function mode refers to a function type (function set) corresponding to a user use scene such as viewing of a broadcast program, viewing of video images and music, Internet connection, and the like.

実施の形態5の情報処理装置における図面上の構成については、実施の形態3の図8に示した構成と同様であるため、図8を援用して説明する。実施の形態5の起動情報登録テーブル2aは、後述する図15に示すように、それぞれが機能モードに対応した複数の初期化関数登録テーブル20A,20B,20Cとして構成されている。また、システム起動手段3aは、機能モード保存フラグ41の値に基づいて、対応した機能モードの初期化関数登録テーブル20A,20B,20Cの内容に基づいて機能モジュール1−1,1−2,…,1−nの起動を行うよう構成されている。これ以外の構成については実施の形態3の情報処理装置と同様である。   The configuration of the information processing apparatus according to the fifth embodiment on the drawing is the same as the configuration illustrated in FIG. 8 according to the third embodiment, and thus will be described with reference to FIG. The startup information registration table 2a of the fifth embodiment is configured as a plurality of initialization function registration tables 20A, 20B, and 20C each corresponding to a function mode, as shown in FIG. Further, the system activation means 3a determines the function modules 1-1, 1-2,... Based on the contents of the initialization function registration tables 20A, 20B, 20C of the corresponding function modes based on the value of the function mode storage flag 41. , 1-n. Other configurations are the same as those of the information processing apparatus according to the third embodiment.

図15は、実施の形態5の情報処理装置におけるソフトウェア構成図である。
図15において、初期化関数登録テーブル20A,20B,20Cは、機能モード別の初期化関数登録テーブルであって、それぞれの初期化関数登録テーブル20A,20B,20Cは、各機能モードに必要な機能モジュール群の初期化関数ポインタ21だけから構成される。ここで、初期化関数登録テーブル20AはmodeA、初期化関数登録テーブル20BはmodeB、初期化関数登録テーブル20Cは、modeCに対応したテーブルである。その他の構成要素の基本的な構成は実施の形態3と同様であるが、システム初期化処理タスク10とシステム初期化遅延実行タスク11の処理内容が異なる。この具体的な動作については以下で説明する。
FIG. 15 is a software configuration diagram of the information processing apparatus according to the fifth embodiment.
In FIG. 15, initialization function registration tables 20A, 20B, and 20C are initialization function registration tables for each function mode, and the initialization function registration tables 20A, 20B, and 20C are functions necessary for each function mode. It consists only of the initialization function pointer 21 of the module group. Here, the initialization function registration table 20A is mode A, the initialization function registration table 20B is mode B, and the initialization function registration table 20C is a table corresponding to mode C. The basic configuration of other components is the same as that of the third embodiment, but the processing contents of the system initialization processing task 10 and the system initialization delay execution task 11 are different. This specific operation will be described below.

次に、実施の形態5の動作について説明する。
まず、図15に示したソフトウェア構成図に基づくシステム終了時の処理フローは実施の形態3の図10を用いて説明した内容と同じであるため、ここでは省略する。
図16は、図15に示したソフトウェア構成図に基づくシステム起動時の処理フローを示す図である。
Next, the operation of the fifth embodiment will be described.
First, the processing flow at the end of the system based on the software configuration diagram shown in FIG. 15 is the same as that described with reference to FIG.
FIG. 16 is a diagram showing a processing flow at the time of system startup based on the software configuration diagram shown in FIG.

図16において、実施の形態3の図11との相違点に着目し説明する。先ず、システム初期化処理タスク10の処理について、ステップST123で機能モード保存フラグ41を参照して、前回システム終了直前の機能モードの値を取得し、例えば、機能モード保存フラグ41の値が「modeB」であったとすると、対応する初期化関数登録テーブル20Bを特定する。次に、ステップST124で前記の初期化関数登録テーブル20B内の終端エントリまで順番に検索し、ステップST107とステップST108で初期化関数ポインタ21を参照し、初期化関数30を実行する。一方、システム初期化遅延実行タスク11の処理について、ステップST103の初期起動完了通知待ちが解除された後、ステップST125で機能モード保存フラグ41を参照して、前回システム終了直前の機能モードの値を取得し、このモード値以外の機能モードに対応する初期化関数登録テーブル20Aと20Cを特定する。次に、ステップST126で、まず初期化関数登録テーブル20A内の終端エントリまで順番に検索し、ステップST112とステップST113で初期化関数ポインタ21を参照し、初期化関数30を実行する。引き続き、初期化関数登録テーブル20Cに対しても、同様の処理を行う。   In FIG. 16, a description will be given focusing on differences from FIG. 11 of the third embodiment. First, with respect to the processing of the system initialization processing task 10, the function mode storage flag 41 is referred to in step ST123 to acquire the value of the function mode immediately before the end of the previous system. For example, the value of the function mode storage flag 41 is “modeB ", The corresponding initialization function registration table 20B is specified. Next, in step ST124, the end entry in the initialization function registration table 20B is searched in order, and in step ST107 and step ST108, the initialization function pointer 21 is referred to and the initialization function 30 is executed. On the other hand, for the processing of the system initialization delay execution task 11, after the waiting for the initial activation completion notification in step ST103 is cancelled, the function mode storage flag 41 is referred to in step ST125, and the value of the function mode immediately before the previous system termination is obtained. The initialization function registration tables 20A and 20C corresponding to the function modes other than the mode value are acquired. Next, in step ST126, first, the end entry in the initialization function registration table 20A is searched in order, the initialization function pointer 21 is referred to in steps ST112 and ST113, and the initialization function 30 is executed. Subsequently, similar processing is performed on the initialization function registration table 20C.

即ち、システムの起動は、図15中に示すように、システム終了処理タスク12で機能モード保存フラグ41の保存(1)が行われた後、(2)次回システム起動→(3)システム初期化処理タスク10による機能モード保存フラグ41の参照→(4)システム初期化処理タスク10の実行→(5)初期起動完了通知→(6)システム初期化遅延実行タスク11による機能モード保存フラグ41の参照→(7)システム初期化遅延実行タスク11による遅延実行の順で行われる。   That is, as shown in FIG. 15, the system is started after the function termination flag 41 is saved (1) in the system termination processing task 12, and then (2) next system activation → (3) system initialization. Reference of function mode storage flag 41 by processing task 10 → (4) Execution of system initialization processing task 10 → (5) Notification of completion of initial startup → (6) Reference of function mode storage flag 41 by system initialization delay execution task 11 → (7) Performed in order of delayed execution by the system initialization delayed execution task 11.

以上のように、実施の形態5の情報処理装置によれば、起動情報登録テーブルは、複数の機能モードに対応して複数設けられ、複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、装置の終了を行う場合、カレント機能モードフラグの値を機能モード保存フラグとして保存するシステム終了手段とを備え、システム起動手段は、機能モード保存フラグの値に基づいて、対応した機能モードの起動情報登録テーブルの内容に基づいて機能モジュールの起動を行うようにしたので、前回システム終了直前の機能モードに対応する機能モジュール群だけを過不足なく、より早く起動することができると共に、機能モードに変更や増減があった場合でも、テーブル構造の変更等が不要で変更部分の局所化が可能といったようにメンテナンスが容易であり、従って情報処理装置としての品質低下を防止することができる。   As described above, according to the information processing apparatus of the fifth embodiment, a plurality of activation information registration tables are provided corresponding to a plurality of function modes, and which function module is currently being executed among the plurality of function modules. Current function mode setting means for setting the current function mode flag indicating the system function, and when the apparatus is to be terminated, a system termination means for saving the value of the current function mode flag as a function mode save flag is provided. Since the function modules are activated based on the contents of the activation information registration table of the corresponding function mode based on the value of the mode save flag, only the function module group corresponding to the function mode immediately before the end of the previous system is overwritten. It is possible to start up faster without any shortage, and even if the function mode is changed or increased or decreased, Maintenance As such localized capable of such is not required change changing portion Le structure is easy, and hence it is possible to prevent quality deterioration of the information processing apparatus.

実施の形態6.
以上の実施の形態1〜5では、起動の管理として機能モジュール毎に行ったが、次に、実施の形態6として、起動の管理をタスク毎に行う例を説明する。
実施の形態6の情報処理装置における図面上の機能ブロックについては実施の形態1の図1に示した構成と同様であるため、図1を援用して説明する。実施の形態6の起動情報登録テーブル2は、後述する図17に示すように、複数の機能モジュール1−1,1−2,…,1−nのタスクを遅延起動させるか否かを示す遅延起動フラグをタスク毎に示している。また、システム起動手段3は、装置の起動を行う場合、起動情報登録テーブル2を参照し、最初に遅延起動フラグが遅延以外のタスクを起動させ、遅延以外のタスクの起動が終了した後、遅延起動フラグが遅延を示すタスクを起動させるよう構成されている。
Embodiment 6 FIG.
In the above first to fifth embodiments, activation management is performed for each functional module. Next, as an embodiment 6, an example in which activation management is performed for each task will be described.
Since the functional blocks on the drawing in the information processing apparatus of the sixth embodiment are the same as the configuration shown in FIG. 1 of the first embodiment, they will be described with reference to FIG. As shown in FIG. 17 described later, the activation information registration table 2 according to the sixth embodiment has a delay indicating whether or not tasks of a plurality of functional modules 1-1, 1-2,. The start flag is shown for each task. Further, the system activation means 3 refers to the activation information registration table 2 when the apparatus is activated, first activates a task whose delay activation flag is not a delay, and after the activation of a task other than the delay is completed, the system activation means 3 The activation flag is configured to activate a task indicating a delay.

図17は、実施の形態6の情報処理装置のソフトウェア構成図である。
図17において、システム初期化処理タスク10は、各実施の形態のシステム初期化処理タスク10と同様にシステム起動時にシステム初期化処理を行うタスクである。また、システム初期化遅延実行タスク13は、起動タスクの遅延起動処理を行うタスクである。タスク起動API関数14は、タスクの通常(初期)起動処理を行うOSのAPI関数、タスク遅延起動API(Application Programming Interface)関数15は、タスクの遅延起動処理を行うOSのAPI関数、初期化関数30は、システムに搭載している各機能モジュールの初期化関数、タスク31は、起動されるタスクである。以上の、システム初期化処理タスク10〜タスク遅延起動API関数15および初期化関数30がシステム起動手段3に対応している。
FIG. 17 is a software configuration diagram of the information processing apparatus according to the sixth embodiment.
In FIG. 17, a system initialization processing task 10 is a task for performing system initialization processing at the time of system startup, like the system initialization processing task 10 of each embodiment. The system initialization delayed execution task 13 is a task that performs delayed startup processing of a startup task. The task activation API function 14 is an OS API function that performs normal (initial) task activation processing, and a task delayed activation API (Application Programming Interface) function 15 is an OS API function that performs task delay activation processing, and an initialization function. Reference numeral 30 denotes an initialization function of each functional module installed in the system, and a task 31 is a task to be activated. The system initialization processing task 10 to the task delay activation API function 15 and the initialization function 30 described above correspond to the system activation means 3.

タスク登録テーブル50は、起動情報登録テーブル2に対応する構成であり、次の各エントリの値を保持している。即ち、タスク名51は起動タスクの名前を記載したエントリ、遅延起動フラグ52は、タスク名51に記載された起動タスクをシステム起動時に起動するか(値=ゼロ)、後から起動する(遅延起動する)か(値=非ゼロ)を選別するためのフラグである。優先度53は、起動タスクの実行優先度を示している。ポインタ54は、起動タスクのエントリ関数を指し示すポインタである。   The task registration table 50 has a configuration corresponding to the activation information registration table 2, and holds the values of the following entries. That is, the task name 51 is an entry that describes the name of the activated task, and the delayed activation flag 52 is activated at the time of system activation (value = zero) or later (delayed activation). Or (value = non-zero). The priority 53 indicates the execution priority of the activated task. The pointer 54 is a pointer that points to the entry function of the activated task.

次に、実施の形態6の動作について説明する。
図18は、図17に示したソフトウェア構成図に基づくシステム起動時の処理フローを示す図である。
図18において、先ず、ステップST100で情報処理装置に電源が投入されると、ステップST101でOSの初期化を行う。その後、ステップST102でシステム初期化遅延起動タスク13を起動し、システム初期化遅延起動タスク13はステップST103で初期起動完了通知待ち(休眠状態)となる。
一方、前記ステップST102の処理の後、引き続きステップST104でシステム初期化処理タスク10を起動する。以降はシステム初期化処理タスク10の処理であり、先ずステップST127で初期化関数30を順番に呼び出していく。ステップST108で初期化関数30を実行し、ステップST128で当該機能モジュール用に起動すべきタスクが存在する場合は、タスク起動API関数14を呼び出す。ステップST129からタスク起動API関数14内では、タスク登録テーブル50を参照し、同テーブル内のタスク名51が一致するエントリの遅延起動フラグ52がゼロであれば、ステップST130で同エントリ内の優先度53付きで、ポインタ54を介してタスクを起動する。また、当該遅延起動フラグ52が非ゼロであれば、タスクの起動をスキップする。以上が、一つの初期化関数30に対する処理であり、引き続きステップST127に戻り、最後の初期化関数30に達するまで処理を繰り返す。最後に、システム初期化処理タスク10は、ステップST109で初期起動完了通知を発行して終了する、あるいはシステム定常状態の動作モードに移行していく。
Next, the operation of the sixth embodiment will be described.
18 is a diagram showing a processing flow at the time of system startup based on the software configuration diagram shown in FIG.
In FIG. 18, first, when the information processing apparatus is powered on in step ST100, the OS is initialized in step ST101. Thereafter, the system initialization delay activation task 13 is activated in step ST102, and the system initialization delay activation task 13 waits for an initial activation completion notification (sleep state) in step ST103.
On the other hand, after the process of step ST102, the system initialization process task 10 is subsequently started in step ST104. The following is the process of the system initialization process task 10. First, in step ST127, the initialization function 30 is called in order. The initialization function 30 is executed in step ST108, and if there is a task to be activated for the functional module in step ST128, the task activation API function 14 is called. In the task activation API function 14 from step ST129, the task registration table 50 is referred to. If the delayed activation flag 52 of the entry with the matching task name 51 in the table is zero, the priority in the entry is determined in step ST130. The task is activated via the pointer 54 with 53. If the delayed activation flag 52 is non-zero, task activation is skipped. The above is the process for one initialization function 30. The process returns to step ST127 and is repeated until the last initialization function 30 is reached. Finally, the system initialization processing task 10 issues an initial activation completion notification in step ST109 and ends, or shifts to an operation mode in a system steady state.

次に、ステップST103で休眠状態となっていたシステム初期化遅延起動タスク13は、ステップST109で発行された初期起動完了通知を受信すると起床する。以降はシステム初期化遅延起動タスク13の処理であり、先ずステップST131でタスク遅延起動API関数15を呼び出す。ステップST132からタスク遅延起動API関数15内では、タスク登録テーブル50の各エントリを順番に検索していく。ステップST133でタスク登録テーブル50内の遅延起動フラグ52を参照し非ゼロであれば、ステップST134で同エントリ内の優先度53付きで、ポインタ54を介してタスクを起動する。また、当該遅延起動フラグ52がゼロであれば、タスクの起動処理をスキップする。引き続きステップST132に戻り、タスク登録テーブル50の終端エントリに達するまで処理を繰り返し、終了する。   Next, the system initialization delayed activation task 13 that has been in the sleep state in step ST103 wakes up upon receiving the initial activation completion notification issued in step ST109. The following is the processing of the system initialization delayed activation task 13. First, the task delayed activation API function 15 is called in step ST131. Within the task delayed activation API function 15 from step ST132, each entry of the task registration table 50 is searched in order. If the delay start flag 52 in the task registration table 50 is referred to in step ST133 and the flag is non-zero, the task is started via the pointer 54 with the priority 53 in the entry in step ST134. If the delayed activation flag 52 is zero, task activation processing is skipped. Subsequently, the process returns to step ST132, the process is repeated until the end entry of the task registration table 50 is reached, and the process ends.

即ち、図17中に示すように、(1)システム初期化処理タスク10の実行→(2)タスク起動API関数14による起動→(3)初期起動完了通知→(4)タスク遅延起動API関数15による遅延起動の順で起動処理が行われる。   That is, as shown in FIG. 17, (1) Execution of the system initialization processing task 10 → (2) Activation by the task activation API function 14 → (3) Notification of completion of initial activation → (4) Task delay activation API function 15 Activation processing is performed in the order of delayed activation by.

尚、本実施の形態6では、ステップST109の初期起動完了通知において、システム初期化処理タスク10が発行するようにしたが、ステップST108で呼び出した初期化関数30のそれぞれが初期起動完了通知を発行するようにし、システム初期化遅延起動タスク13は、特定の初期起動完了通知、またはいくつかの初期起動完了通知の論理積(AND)で待ち合わせる、またはタイムアウト起床等の特定のイベント通知で待ち合わせるようにしてもよい。
また、本実施の形態6では、システム初期化処理タスク10とは別に、システム初期化遅延起動タスク13を設けたが、システム初期化処理タスク10自身が初期起動完了通知を契機として、遅延起動処理を行うようにしてもよい。
更に、本実施の形態6では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延起動タスク13をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。
In the sixth embodiment, the system initialization processing task 10 is issued in the initial activation completion notification in step ST109. However, each of the initialization functions 30 called in step ST108 issues an initial activation completion notification. The system initialization delay start task 13 waits for a specific initial start completion notification, or a logical product (AND) of several initial start completion notifications, or waits for a specific event notification such as a time-out wakeup. May be.
Further, in the sixth embodiment, the system initialization delay activation task 13 is provided separately from the system initialization processing task 10, but the system initialization processing task 10 itself is triggered by the initial activation completion notification as a delay activation processing. May be performed.
Furthermore, in the sixth embodiment, the initialization function 30 and the task 31 are assumed to be user programs (groups of function modules developed by the user) such as applications and middleware (libraries) installed in the information processing apparatus. For example, after realizing the system initialization processing task 10 and the system initialization delayed activation task 13 as system tasks in the OS, the OS function module and device drivers that are control software for various hardware devices You may apply to.

以上のように、実施の形態6の情報処理装置によれば、複数の機能モジュールを有する情報処理装置において、複数の機能モジュールのタスクを遅延起動させるか否かを示す遅延起動フラグをタスク毎に示すタスク登録テーブルと、装置の起動を行う場合は、タスク登録テーブルを参照し、最初に遅延起動フラグが遅延以外のタスクを起動させ、遅延以外のタスクの起動が終了した後、遅延起動フラグが遅延を示すタスクを起動させるシステム起動手段とを備えたので、システム起動時間(特にタスクのロード時間)を短縮でき、従ってシステム起動後最初にユーザに提供したい機能やサービスをより早く開始することができる。更に、その後システム稼動中に初めて利用する機能やサービスの開始要求が発生した時も、タスクの遅延起動により、搭載されている機能モジュールは既に起動しているため、ユーザへの応答性を低下させることなく、高速に次の機能やサービスに遷移することができる。   As described above, according to the information processing apparatus of the sixth embodiment, in the information processing apparatus having a plurality of functional modules, the delayed activation flag indicating whether or not the tasks of the plurality of functional modules are to be delayed activated is set for each task. When starting the device, refer to the task registration table, start the task with the delayed startup flag other than the delay first, and start the task other than the delay. System startup means for starting tasks that show delays can reduce system startup time (especially task loading time), so that functions and services that users want to provide to users first after system startup can be started earlier. it can. In addition, even when a function or service start request for the first time is generated while the system is operating, the installed function module has already been started due to the delayed activation of the task, thus reducing the responsiveness to the user. It is possible to transition to the next function or service at high speed without any problems.

実施の形態7.
実施の形態6では、タスク登録テーブル50内の遅延起動フラグ52は予め静的に設定されているものとしていたが、次に、実施の形態7として、システム終了時に動作していた機能モジュール群に関連するタスクを次回システム起動時に初期起動し、その他の機能モジュール群に関連するタスクを遅延起動するように、タスク登録テーブル50内の遅延起動フラグ52を更新する例を説明する。
Embodiment 7 FIG.
In the sixth embodiment, the delayed activation flag 52 in the task registration table 50 is statically set in advance. Next, as a seventh embodiment, the function module group that was operating at the time of system termination is added. An example will be described in which the delayed activation flag 52 in the task registration table 50 is updated so that the related task is initially activated at the next system activation and the tasks related to other functional module groups are delayed activated.

実施の形態7の情報処理装置における図面上の機能ブロックについては実施の形態2の図5に示した構成と同様であるため、図5を援用して説明する。実施の形態7において、機能モジュール1−1,1−2,…,1−n〜システム起動手段3の構成については実施の形態6と同様であるため、ここでの説明は省略する。カレント機能モード設定手段4は、複数の機能モジュール1−1,1−2,…,1−nのうち、どの機能モジュール1−1,1−2,…,1−nが現在実行中かを示すカレント機能モードフラグ40を設定する機能部である。また、システム終了手段5は、装置の終了を行う場合、その時点のカレント機能モードフラグ40の値に基づいて、実行中であった機能モジュールに対応するタスクの遅延起動フラグを遅延以外に更新する機能を有している。即ち、カレント機能モードフラグ40に対応する機能モジュールのタスクの遅延起動フラグを遅延以外の状態に更新し、それ以外の機能モジュールのタスクの遅延起動フラグを遅延状態に更新する。   The functional blocks on the drawing in the information processing apparatus of the seventh embodiment are the same as the configuration shown in FIG. 5 of the second embodiment, and will be described with reference to FIG. In the seventh embodiment, the configuration of the function modules 1-1, 1-2,..., 1-n to the system activation unit 3 is the same as that of the sixth embodiment, and thus the description thereof is omitted here. The current function mode setting means 4 determines which function module 1-1, 1-2,..., 1-n among the plurality of function modules 1-1, 1-2,. This is a functional unit for setting the current function mode flag 40 shown. Further, when the system is terminated, the system termination unit 5 updates the delayed activation flag of the task corresponding to the function module being executed to other than the delay based on the value of the current function mode flag 40 at that time. It has a function. In other words, the delayed activation flag of the task of the functional module corresponding to the current functional mode flag 40 is updated to a state other than the delay, and the delayed activation flag of the task of the other functional module is updated to the delayed state.

図19は、実施の形態7の情報処理装置のソフトウェア構成図である。
図19において、各構成要素の基本的構成は実施の形態6と同様であるが、システム終了処理タスク12を備えている点が異なっている。即ち、システム終了処理タスク12は、システム終了要求があった時に動作し、情報処理装置に搭載されている機能モジュール群の終了処理を行うタスクであり、終了時に、カレント機能モードフラグ40に基づいてタスク登録テーブル50の内容を更新するよう構成されている。尚、ここで、機能モードとは、例えば放送番組の視聴、ビデオ映像や音楽の視聴、インターネット接続(ショッピングやメール送受信)等のユーザ利用シーンに対応した機能種別(機能セット)を指す。
FIG. 19 is a software configuration diagram of the information processing apparatus according to the seventh embodiment.
In FIG. 19, the basic configuration of each component is the same as that of the sixth embodiment, except that a system termination processing task 12 is provided. In other words, the system termination processing task 12 is a task that operates when a system termination request is made and performs termination processing of the functional module group mounted on the information processing apparatus, and is based on the current function mode flag 40 at the time of termination. The contents of the task registration table 50 are configured to be updated. Here, the function mode refers to a function type (function set) corresponding to a user use scene such as viewing of a broadcast program, viewing of a video image or music, Internet connection (shopping or mail transmission / reception), and the like.

次に動作について説明する。
図20は、図19に示したソフトウェア構成図に基づくシステム終了時の処理フローを示す図である。
図20において、実施の形態2の図7との相違点に着目し説明する。先ず、システム終了処理タスク12の処理について、ステップST212でタスク登録テーブル50の各エントリを順番に検索していく。ステップST205でカレント機能モードフラグ40を参照し、カレント機能モードフラグ40を最後に更新した後に動作した機能モジュールを特定する。そして、特定された機能モジュールに対応するタスクのエントリかを判定する。判定方法の一例としては、各機能モジュールに関連するタスク31のアカウンティング情報(動作時間情報)を元に、動作中の機能モジュールを選別する。タスク登録テーブル50上の当該エントリに登録されているタスクが動作中の機能モジュールであった場合、ステップST213でタスク登録テーブル50内の最初のエントリの遅延起動フラグ52にゼロを設定する。また、当該エントリが動作中の機能モジュールでなかった場合、ステップST214で遅延起動フラグ52に1(非ゼロ)を設定する。以上が、タスク登録テーブル50の一エントリ分の処理であり、引き続きステップST212に戻り、タスク登録テーブル50の終端エントリに達するまで処理を繰り返す(図19における(1)機能モード切替えと(2)遅延起動フラグの更新に相当する)。最後に、ステップST209でシステム(OS)終了処理に移行する。
Next, the operation will be described.
FIG. 20 is a diagram showing a processing flow at the end of the system based on the software configuration diagram shown in FIG.
In FIG. 20, a description will be given focusing on differences from the second embodiment shown in FIG. First, regarding the processing of the system termination processing task 12, each entry in the task registration table 50 is searched in order at step ST212. In step ST205, the current function mode flag 40 is referred to, and the function module that has operated after the current function mode flag 40 was last updated is specified. Then, it is determined whether the entry is a task corresponding to the specified functional module. As an example of the determination method, an active function module is selected based on the accounting information (operation time information) of the task 31 related to each function module. If the task registered in the entry on the task registration table 50 is an active functional module, zero is set to the delayed activation flag 52 of the first entry in the task registration table 50 in step ST213. If the entry is not an active functional module, 1 (non-zero) is set to the delayed activation flag 52 in step ST214. The above is the process for one entry in the task registration table 50. The process returns to step ST212 and is repeated until the terminal entry in the task registration table 50 is reached ((1) function mode switching and (2) delay in FIG. Corresponds to updating the activation flag). Finally, the process proceeds to a system (OS) termination process in step ST209.

そして、次回、情報処理装置に電源が投入されると、実施の形態6の図18を用いて説明したシステム起動時の処理フローに従って遅延実行処理が行われる。即ち、図17中に示すように、(3)次回システム起動が行われると、(4)システム初期化処理タスク10の実行→(5)タスク起動API関数14による起動→(6)初期起動完了通知→(7)タスク遅延起動API関数15による遅延起動の順で起動処理が行われる。   Then, when the information processing apparatus is turned on next time, the delay execution process is performed according to the process flow at the time of system startup described with reference to FIG. 18 of the sixth embodiment. That is, as shown in FIG. 17, (3) When the next system activation is performed, (4) Execution of system initialization processing task 10 → (5) Activation by task activation API function 14 → (6) Initial activation completion Notification → (7) Task delay activation API function 15 performs activation processing in the order of delayed activation.

尚、本実施の形態7では、初期化関数30やタスク31は情報処理装置に搭載されるアプリケーションやミドルウェア(ライブラリ)といったユーザプログラム(ユーザが開発する機能モジュール群)を想定したが、これに限定されるものではなく、例えばシステム初期化処理タスク10やシステム初期化遅延起動タスク13やシステム終了処理タスク12をOS内のシステムタスクとして実現した上で、OS機能モジュールや、各種ハードウェア・デバイスの制御ソフトウェアであるデバイスドライバ等に適用してもよい。   In the seventh embodiment, the initialization function 30 and the task 31 are assumed to be a user program (functional module group developed by the user) such as an application or middleware (library) installed in the information processing apparatus. For example, after the system initialization processing task 10, the system initialization delay activation task 13, and the system termination processing task 12 are realized as system tasks in the OS, the OS function module and various hardware devices You may apply to the device driver etc. which are control software.

以上のように、実施の形態7の情報処理装置によれば、複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、装置の終了を行う場合、タスク登録テーブルの遅延起動フラグを、カレント機能モードフラグに基づき、実行中であった機能モジュールに対応するタスクの遅延起動フラグを遅延以外に更新するシステム終了手段とを備えたので、次回システム起動時に、前回システム終了直前の機能モードに対応する機能やサービスをより早く開始することができる。   As described above, according to the information processing apparatus of the seventh embodiment, the current function mode setting means for setting the current function mode flag indicating which function module among the plurality of function modules is currently being executed, When ending, the system has a system ending unit that updates the delayed start flag of the task registration table based on the current function mode flag and updates the delayed start flag of the task corresponding to the function module being executed to other than the delay. At the next system start-up, functions and services corresponding to the function mode immediately before the previous system termination can be started earlier.

この発明の実施の形態1による情報処理装置の機能ブロック図である。It is a functional block diagram of the information processing apparatus by Embodiment 1 of this invention. この発明の情報処理装置における機能モジュールとユーザプログラムとの関係を示す説明図である。It is explanatory drawing which shows the relationship between the functional module and user program in the information processing apparatus of this invention. この発明の実施の形態1による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 1 of this invention. この発明の実施の形態1による情報処理装置のシステム起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of system starting of the information processing apparatus by Embodiment 1 of this invention. この発明の実施の形態2による情報処理装置の機能ブロック図である。It is a functional block diagram of the information processing apparatus by Embodiment 2 of this invention. この発明の実施の形態2による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 2 of this invention. この発明の実施の形態2による情報処理装置のシステム終了時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the system end of the information processing apparatus by Embodiment 2 of this invention. この発明の実施の形態3による情報処理装置の機能ブロック図である。It is a functional block diagram of the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態3による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態3による情報処理装置のシステム終了時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the system end of the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態3による情報処理装置のシステム起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of system starting of the information processing apparatus by Embodiment 3 of this invention. この発明の実施の形態4による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 4 of this invention. この発明の実施の形態4による情報処理装置のシステム終了時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the system end of the information processing apparatus by Embodiment 4 of this invention. この発明の実施の形態4による情報処理装置のシステム起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of system starting of the information processing apparatus by Embodiment 4 of this invention. この発明の実施の形態5による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 5 of this invention. この発明の実施の形態5による情報処理装置のシステム起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of system starting of the information processing apparatus by Embodiment 5 of this invention. この発明の実施の形態6による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 6 of this invention. この発明の実施の形態6による情報処理装置のシステム起動時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of system starting of the information processing apparatus by Embodiment 6 of this invention. この発明の実施の形態7による情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus by Embodiment 7 of this invention. この発明の実施の形態7による情報処理装置のシステム終了時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the system end of the information processing apparatus by Embodiment 7 of this invention.

符号の説明Explanation of symbols

1−1,1−2,…,1−n 機能モジュール、2,2a 起動情報登録テーブル、3,3a システム起動手段、4 カレント機能モード設定手段、5,5a システム終了手段、10 システム初期化処理タスク、11 システム初期化遅延実行タスク、12 システム終了処理タスク、13 システム初期化遅延起動タスク、14 タスク起動API関数、15 タスク遅延起動API関数、20,20A,20B,20C 初期化関数登録テーブル、21 初期化関数ポインタ、22,22A,22B,22C 遅延実行フラグ、30 初期化関数、31 タスク、40 カレント機能モードフラグ、41 機能モード保存フラグ、50 タスク登録テーブル、51 タスク名、52 遅延起動フラグ、53 優先度、54 ポインタ。   1-1, 1-2,..., 1-n function module, 2, 2a activation information registration table, 3, 3a system activation means, 4 current function mode setting means, 5, 5a system termination means, 10 system initialization process Task, 11 System initialization delay execution task, 12 System termination processing task, 13 System initialization delay activation task, 14 Task activation API function, 15 Task delay activation API function, 20, 20A, 20B, 20C Initialization function registration table, 21 Initialization function pointer, 22, 22A, 22B, 22C Delayed execution flag, 30 Initialization function, 31 tasks, 40 Current function mode flag, 41 Function mode save flag, 50 Task registration table, 51 Task name, 52 Delayed start flag , 53 priority, 54 pointers.

Claims (9)

複数の機能モジュールを有する情報処理装置において、
前記複数の機能モジュールの起動を遅延させるか否かを示す遅延実行フラグを前記複数の機能モジュール毎に示す起動情報登録テーブルと、
装置の起動を行う場合は、前記起動情報登録テーブルを参照し、最初に遅延実行フラグが遅延以外の機能モジュールを起動させ、当該遅延以外の機能モジュールの起動が終了した後、前記遅延実行フラグが遅延の機能モジュールを起動させるシステム起動手段とを備えた情報処理装置。
In an information processing apparatus having a plurality of functional modules,
An activation information registration table indicating a delay execution flag indicating whether to delay activation of the plurality of functional modules for each of the plurality of functional modules;
When starting up the device, refer to the startup information registration table, first start the functional module whose delay execution flag is other than delay, and after the startup of the functional module other than the delay ends, the delay execution flag An information processing apparatus comprising system activation means for activating a delay function module.
複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、
装置の終了を行う場合、起動情報登録テーブルの遅延実行フラグを、前記カレント機能モードフラグに基づき、実行中であった機能モジュールに対応する遅延実行フラグを遅延以外に更新するシステム終了手段とを備えた請求項1記載の情報処理装置。
A current function mode setting means for setting a current function mode flag indicating which function module is currently being executed among the plurality of function modules;
System termination means for updating the delayed execution flag corresponding to the function module being executed based on the current function mode flag, other than the delay, based on the current function mode flag when the apparatus is terminated. The information processing apparatus according to claim 1.
起動情報登録テーブルは、各機能モジュールの遅延実行フラグを機能モード毎に有すると共に、
複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、
装置の終了を行う場合、前記カレント機能モードフラグの値を機能モード保存フラグとして保存するシステム終了手段とを備え、
システム起動手段は、前記起動情報登録テーブルの前記機能モード保存フラグの値に対応した機能モードの遅延実行フラグに基づいて機能モジュールの起動を行うことを特徴とする請求項1記載の情報処理装置。
The activation information registration table has a delay execution flag of each functional module for each functional mode,
A current function mode setting means for setting a current function mode flag indicating which function module is currently being executed among the plurality of function modules;
System termination means for storing the value of the current function mode flag as a function mode storage flag when the apparatus is terminated,
2. The information processing apparatus according to claim 1, wherein the system activation unit activates the function module based on a delay execution flag of a function mode corresponding to the value of the function mode storage flag in the activation information registration table.
起動情報登録テーブルの遅延実行フラグは、複数の値が設定可能に構成されると共に、
複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、
装置の終了を行う場合、前記カレント機能モードフラグの値に基づいて、実行中ではなかった機能モジュールに対応した遅延実行フラグの値を遅延が大きい側に変更するシステム終了手段とを備え、
システム起動手段は、前記起動情報登録テーブルの遅延実行フラグの値が遅延の小さい順に機能モジュールの遅延起動を行うことを特徴とする請求項1記載の情報処理装置。
The delayed execution flag in the startup information registration table is configured so that multiple values can be set,
A current function mode setting means for setting a current function mode flag indicating which function module is currently being executed among the plurality of function modules;
When ending the device, the system ending means for changing the value of the delayed execution flag corresponding to the functional module that was not being executed to the side with the larger delay, based on the value of the current function mode flag,
2. The information processing apparatus according to claim 1, wherein the system activation unit performs delayed activation of the functional modules in order of increasing delay in the delay execution flag value of the activation information registration table.
起動情報登録テーブルは、複数の機能モードに対応して複数設けられ、
複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、
装置の終了を行う場合、前記カレント機能モードフラグの値を機能モード保存フラグとして保存するシステム終了手段とを備え、
システム起動手段は、前記機能モード保存フラグの値に基づいて、対応した機能モードの起動情報登録テーブルの内容に基づいて機能モジュールの起動を行うことを特徴とする請求項1記載の情報処理装置。
A plurality of activation information registration tables are provided corresponding to a plurality of function modes,
A current function mode setting means for setting a current function mode flag indicating which function module is currently being executed among the plurality of function modules;
System termination means for storing the value of the current function mode flag as a function mode storage flag when the apparatus is terminated,
2. The information processing apparatus according to claim 1, wherein the system activation unit activates the function module based on the content of the activation information registration table of the corresponding function mode based on the value of the function mode storage flag.
複数の機能モジュールを有する情報処理装置において、
前記複数の機能モジュールのタスクを遅延起動させるか否かを示す遅延起動フラグをタスク毎に示すタスク登録テーブルと、
装置の起動を行う場合は、前記タスク登録テーブルを参照し、最初に遅延起動フラグが遅延以外のタスクを起動させ、当該遅延以外のタスクの起動が終了した後、前記遅延起動フラグが遅延を示すタスクを起動させるシステム起動手段とを備えた情報処理装置。
In an information processing apparatus having a plurality of functional modules,
A task registration table for each task indicating a delayed activation flag indicating whether or not the tasks of the plurality of functional modules are delayed activated;
When starting the device, refer to the task registration table, first start a task other than the delay start flag, and after the start of the task other than the delay, the delay start flag indicates the delay An information processing apparatus comprising system activation means for activating a task.
複数の機能モジュールのうち、どの機能モジュールが現在実行中かを示すカレント機能モードフラグを設定するカレント機能モード設定手段と、
装置の終了を行う場合、タスク登録テーブルの遅延起動フラグを、前記カレント機能モードフラグに基づき、実行中であった機能モジュールに対応するタスクの遅延起動フラグを遅延以外に更新するシステム終了手段とを備えた請求項6記載の情報処理装置。
A current function mode setting means for setting a current function mode flag indicating which function module is currently being executed among the plurality of function modules;
A system ending unit for updating a delayed start flag of a task corresponding to a function module being executed based on the current function mode flag, other than a delay, when a device is to be ended The information processing apparatus according to claim 6 provided.
機能モジュールは、オペレーティングシステムを構成するモジュールであり、システム起動手段はオペレーティングシステムのタスクとして実現されることを特徴とする請求項1から請求項7のうちのいずれか1項記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the functional module is a module constituting an operating system, and the system activation unit is realized as a task of the operating system. 機能モジュールは、オペレーティングシステムを構成するモジュールであり、システム起動手段およびシステム終了手段はオペレーティングシステムのタスクとして実現されることを特徴とする請求項2から請求項5および請求項7のうちのいずれか1項記載の情報処理装置。   8. The function module according to claim 2, wherein the function module is a module constituting an operating system, and the system starting unit and the system ending unit are realized as tasks of the operating system. 1. An information processing apparatus according to item 1.
JP2008062849A 2008-03-12 2008-03-12 Information processor Pending JP2009217711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008062849A JP2009217711A (en) 2008-03-12 2008-03-12 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008062849A JP2009217711A (en) 2008-03-12 2008-03-12 Information processor

Publications (1)

Publication Number Publication Date
JP2009217711A true JP2009217711A (en) 2009-09-24

Family

ID=41189461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008062849A Pending JP2009217711A (en) 2008-03-12 2008-03-12 Information processor

Country Status (1)

Country Link
JP (1) JP2009217711A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011103093A (en) * 2009-11-12 2011-05-26 Lenovo Singapore Pte Ltd Computer that boots up fast
JP2012098972A (en) * 2010-11-04 2012-05-24 Lenovo Singapore Pte Ltd Method for starting up computer with short time and computer
JP2012176709A (en) * 2011-02-28 2012-09-13 Panasonic Corp Information display device
JP2012252536A (en) * 2011-06-03 2012-12-20 Mitsubishi Electric Corp Information processing device and method for starting the same
JP2013536518A (en) * 2010-08-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション How to enable hypervisor control in a cloud computing environment
CN104023274A (en) * 2014-06-30 2014-09-03 广州视源电子科技股份有限公司 Method capable of presetting starting information and television
JP2014197407A (en) * 2011-04-29 2014-10-16 レノボ・シンガポール・プライベート・リミテッド System and method for accelerated boot performance
CN105653376A (en) * 2016-01-05 2016-06-08 浪潮电子信息产业股份有限公司 Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time
JP2017520856A (en) * 2014-07-10 2017-07-27 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration
JP2017521789A (en) * 2014-07-10 2017-08-03 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration
JP2017521785A (en) * 2014-07-10 2017-08-03 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011103093A (en) * 2009-11-12 2011-05-26 Lenovo Singapore Pte Ltd Computer that boots up fast
US8499143B2 (en) 2009-11-12 2013-07-30 Lenovo (Singapore) Pte Ltd Method for shortening the boot time of a computer system
JP2013536518A (en) * 2010-08-23 2013-09-19 インターナショナル・ビジネス・マシーンズ・コーポレーション How to enable hypervisor control in a cloud computing environment
JP2012098972A (en) * 2010-11-04 2012-05-24 Lenovo Singapore Pte Ltd Method for starting up computer with short time and computer
US8661236B2 (en) 2010-11-04 2014-02-25 Lenovo (Singapore) Pte Ltd Partial initialization of divided programs in response to pre-boot and post-boot activation events to rapidly boot a computer system
JP2012176709A (en) * 2011-02-28 2012-09-13 Panasonic Corp Information display device
JP2014197407A (en) * 2011-04-29 2014-10-16 レノボ・シンガポール・プライベート・リミテッド System and method for accelerated boot performance
JP2012252536A (en) * 2011-06-03 2012-12-20 Mitsubishi Electric Corp Information processing device and method for starting the same
CN104023274A (en) * 2014-06-30 2014-09-03 广州视源电子科技股份有限公司 Method capable of presetting starting information and television
JP2017520856A (en) * 2014-07-10 2017-07-27 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration
JP2017521789A (en) * 2014-07-10 2017-08-03 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration
JP2017521785A (en) * 2014-07-10 2017-08-03 ハーマン インターナショナル インダストリーズ インコーポレイテッド Operating system startup acceleration
US10423430B2 (en) 2014-07-10 2019-09-24 Harman International Industries, Incorporated Operating system startup acceleration
CN105653376A (en) * 2016-01-05 2016-06-08 浪潮电子信息产业股份有限公司 Optimization algorithm for guaranteeing information synchronization when BIOS and BMC in ARM platform are started at same time

Similar Documents

Publication Publication Date Title
JP2009217711A (en) Information processor
US20060288371A1 (en) Mobile terminal and method for operation
KR100754534B1 (en) Wireless communication device and system startup method for the same
JP3633465B2 (en) Mobile phone terminal and screen transition control method used therefor
CN101610316B (en) Starting method, device and system of mobile phone application program
US20080134211A1 (en) Method and apparatus for application state synchronization
JP5137781B2 (en) Mobile device and application switching method
US20070294691A1 (en) Apparatus and method for program execution in portable communication terminal
JP2006243865A (en) Processor and information processing method
JP2005005909A (en) Competition management program, storage medium stored with competition management program, competition management method and electronic apparatus
WO2007020735A1 (en) Conflict solving device
CN111935694B (en) Bluetooth device connection method and device, electronic device and readable storage medium
JP5895385B2 (en) Image output apparatus and program thereof
EP2469880A1 (en) Information processing apparatus and display changeover method
EP2019357A1 (en) Apparatus and method for selective loading in mobile communication terminal
JP4609113B2 (en) Processor
KR100678023B1 (en) Abbreviation method for booting time of mobile communication terminal device
US20070101340A1 (en) Method and mobile terminal for performing multiple tasks without conflict
JP4902713B2 (en) Information processing method, information processing apparatus, and program
CN112383623A (en) Multimedia file processing method and device, terminal and network access point equipment
CN110704187A (en) Method and device for adjusting system resources and readable storage medium
JP2005057740A (en) Multi-function composite terminal precedently preparable in performing quick work and its method
CN113934437B (en) Method and system for installing application on cloud mobile phone and client cloud mobile phone
CN108111905B (en) Channel list display method, smart television and computer readable storage medium
CN102541581A (en) Method for starting operation interface