JP2007018258A - Information processor - Google Patents
Information processor Download PDFInfo
- Publication number
- JP2007018258A JP2007018258A JP2005199095A JP2005199095A JP2007018258A JP 2007018258 A JP2007018258 A JP 2007018258A JP 2005199095 A JP2005199095 A JP 2005199095A JP 2005199095 A JP2005199095 A JP 2005199095A JP 2007018258 A JP2007018258 A JP 2007018258A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- information
- input
- operating system
- processing apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
この発明は、予め搭載された複数のオペレーティング・システムが見かけ上同時に実行されている情報処理装置に関するものである。 The present invention relates to an information processing apparatus in which a plurality of preinstalled operating systems are apparently executed simultaneously.
従来、デジタル複写機、プリンタ等の画像処理装置は、画像読取部により読み取った画像データや外部端末からネットワークを介して通信インタフェース部(以下、「通信I/F部」という)で受信した画像データ等に対して所定の画像補正処理を行い、補正後の画像データに基づいて画像出力部により記録用紙に画像を記録しており、装置全体の動作を制御する制御部によって実行されるオペレーティング・システム(以下、「OS」ともいう)により、画像入力部、画像出力部、通信I/F部等の各機器の動作を制御している。 2. Description of the Related Art Conventionally, image processing apparatuses such as digital copying machines and printers have received image data read by an image reading unit or image data received by a communication interface unit (hereinafter referred to as “communication I / F unit”) from an external terminal via a network. An operating system executed by a control unit that performs predetermined image correction processing on the image, records an image on a recording sheet by an image output unit based on the corrected image data, and controls the operation of the entire apparatus (Hereinafter also referred to as “OS”) controls the operation of each device such as an image input unit, an image output unit, and a communication I / F unit.
ところで、画像処理装置に備えられた機器には、動作を開始してから終了するまでの制御部による制御手順や動作時間が規定されているものがある。例えば、画像出力部が記録用紙への画像の記録を開始した場合、制御部は画像出力部の動作に同期したタイミングで画像データを逐次画像出力部へ出力する必要がある。 By the way, some devices provided in the image processing apparatus define a control procedure and an operation time by a control unit from the start to the end of the operation. For example, when the image output unit starts recording an image on a recording sheet, the control unit needs to sequentially output image data to the image output unit at a timing synchronized with the operation of the image output unit.
一方、通信I/F部では、各機器の動作と非同期に外部端末から送信される画像データが受信される。 On the other hand, the communication I / F unit receives image data transmitted from an external terminal asynchronously with the operation of each device.
このため、制御部では、画像出力部の制御中であっても通信I/F部で画像データを受信した場合、外部端末との間の通信を制御する必要があり、各機器を実時間制御(リアルタイム制御)することが求められるため、搭載されるOSもリアルタイム処理に適したリアルタイムOSが採用されている。 For this reason, the control unit needs to control communication with the external terminal when the image data is received by the communication I / F unit even during the control of the image output unit. Since real-time control is required, a real-time OS suitable for real-time processing is adopted as the installed OS.
この種のリアルタイムOSは、一般的な汎用OSが備えている、例えば、仮想アドレスやメモリの保護機能等を簡易化することによりリアルタイム性を高めている。しかし、リアルタイムOSは、機能を簡易化したため汎用OSと比べて信頼性等が低く、簡易化された機能(例えば、仮想アドレスやメモリの保護機能)による影響を考慮してソフトウェアを開発する必要があり、ソフトウェアの生産性が低い、という問題点あった。 This type of real-time OS improves the real-time performance by simplifying, for example, a virtual address and a memory protection function provided in a general-purpose OS. However, the real-time OS has simplified functions and thus has lower reliability than a general-purpose OS, and it is necessary to develop software in consideration of the effects of simplified functions (for example, virtual address and memory protection functions). There was a problem that software productivity was low.
そこで、この問題点を解決するために適用できる技術として、特許文献1には、計算機に複数のOSを搭載(インストール)すると共に、計算機に接続された機器からの割り込み要求に対して割り込み処理を実行するOSを割り込み識別テーブルに予め定めて記憶しておき、複数のOSを見かけ上同時に実行して、機器からの割り込み要求を受信した場合に割り込み識別テーブルから割り込み処理を実行するOSを判別し、当該OSで機器からの割り込み要求に対する割り込み処理を実行する技術が開示されている。 Therefore, as a technique that can be applied to solve this problem, Patent Document 1 discloses that a plurality of OSs are installed (installed) in a computer, and interrupt processing is performed for an interrupt request from a device connected to the computer. The OS to be executed is predetermined and stored in the interrupt identification table, and a plurality of OSs are apparently executed at the same time, and when an interrupt request is received from a device, the OS for executing the interrupt process is determined from the interrupt identification table. A technique for executing an interrupt process for an interrupt request from a device using the OS is disclosed.
この技術を前述の画像処理装置に適用し、例えば、リアルタイムOSに加えて汎用OSを搭載しておき、リアルタイムな制御が必要な機器からの割り込み要求に対する割り込み処理をリアルタイムOSで実行し、その他の機器からの割り込み要求に対する割り込み処理を汎用OSで実行することにより、リアルタイム性を保ちつつソフトウェアの生産性の低下を抑えることができる。また、汎用OS向けに開発したソフトウェアを実行できるため、互換性にも優れている。
しかしながら、特許文献1に開示されている技術では、割り込み識別テーブルに割り込み要求に対する割り込み処理を実行するOSを予め固定的に定めており、画像処理装置に後から追加して機器を接続することが考慮されていなかった。このため、後から追加して機器を接続した場合に、接続された機器からの割り込み要求を適切なOSを対応させることができない、という問題点があった。 However, in the technique disclosed in Patent Document 1, an OS for executing an interrupt process for an interrupt request is fixed in advance in the interrupt identification table, and a device can be connected later to the image processing apparatus. It was not considered. For this reason, there is a problem that when an additional device is connected later, an interrupt request from the connected device cannot be handled by an appropriate OS.
すなわち、画像処理装置に適応可能なインタフェースの規格には、例えば、USB(Universal Serial Bus)やIEEE1394(the Institute of Electrical and Electronics Engineers 1394)、プラグアンドプレイ(Plug and Play)、ホットプラグ(hot plug)のように、画像処理装置の駆動中に機器を動的に追加可能なものがあり、この装置において機器が追加された場合、当該追加された機器からの割り込みに適切なOSを対応させることができなかった。 That is, the interface standards applicable to the image processing apparatus include, for example, USB (Universal Serial Bus), IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394), Plug and Play, and hot plug (hot plug). ), A device can be dynamically added while the image processing apparatus is being driven. When a device is added in this device, an appropriate OS is made to respond to an interrupt from the added device. I could not.
なお、上述した問題点は、画像処理装置に限られるものでなく、コンピュータ等の情報処理装置に複数のOSを搭載し、当該複数のOSを見かけ上同時に実行して制御を行っている場合についても同様の問題が発生する。 The above-described problem is not limited to the image processing apparatus, and a case where a plurality of OSs are installed in an information processing apparatus such as a computer, and the plurality of OSs are apparently executed simultaneously to perform control. The same problem occurs.
本発明は上記問題点を解決するためになされたものであり、追加接続された機器からの割り込みに対する割り込み処理を適切なオペレーティング・システムで実行することができることができる情報処理装置を提供することを目的とする。 The present invention has been made to solve the above-described problems, and provides an information processing apparatus capable of executing an interrupt process for an interrupt from an additionally connected device with an appropriate operating system. Objective.
上記目的を達成するため、請求項1に記載の発明は、予め搭載された複数のオペレーティング・システムが見かけ上同時に実行され、各々所定の割り込み信号を出力する複数の機器と接続され、前記複数の機器の何れか1つから前記割り込み信号が入力された場合に何れか1つの前記オペレーティング・システムで当該割り込み信号により示される割り込み番号に応じた割り込み処理を実行する情報処理装置であって、前記割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報が予め記憶された記憶手段と、前記複数の機器から各々出力される前記割り込み信号により示される割り込み番号を示す番号情報を取得する取得手段と、前記取得手段により取得された前記番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが前記割込実行情報に未登録の場合に、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面を表示する表示手段と、前記未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムを示す指定情報を入力する入力手段と、前記入力手段より入力された前記指定情報により示されるオペレーティング・システムを、前記未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして前記記憶手段に記憶されている前記割込実行情報に登録する登録手段と、を備えている。 In order to achieve the above object, according to the first aspect of the present invention, a plurality of preinstalled operating systems are apparently executed simultaneously and connected to a plurality of devices each outputting a predetermined interrupt signal. An information processing apparatus that executes an interrupt process corresponding to an interrupt number indicated by an interrupt signal in any one of the operating systems when the interrupt signal is input from any one of the devices, A storage unit that stores in advance interrupt execution information indicating an operating system that executes interrupt processing for each number, and obtains number information indicating an interrupt number indicated by the interrupt signal output from each of the plurality of devices. An interruption number indicated by the acquisition unit and the number information acquired by the acquisition unit Display means for displaying an input screen for prompting an operating system for executing interrupt processing for an unregistered interrupt number when an operating system for executing interrupt processing for the interrupt execution information is not registered in the interrupt execution information; and An input unit that inputs designation information indicating an operating system that executes interrupt processing for an unregistered interrupt number, and an operating system that is indicated by the designation information that is input from the input unit is assigned to the unregistered interrupt number. Registering means for registering in the interrupt execution information stored in the storage means as an operating system for executing interrupt processing.
請求項1記載の発明によれば、割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報が予め記憶手段に記憶されており、取得手段により、複数の機器から各々出力される割り込み信号により示される割り込み番号を示す番号情報が取得され、表示手段により、取得手段により取得された番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが割込実行情報に未登録の場合に、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面が表示される。なお、上記表示手段には、CRTディスプレイ、プラズマ・ディスプレイ、有機ELディスプレイ、液晶ディスプレイ等のディスプレイが含まれる。 According to the first aspect of the present invention, the interrupt execution information indicating the operating system that executes the interrupt processing for each interrupt number is stored in advance in the storage means, and is output from each of the plurality of devices by the acquisition means. Number information indicating the interrupt number indicated by the interrupt signal is acquired, and an operating system that executes interrupt processing for the interrupt number indicated by the number information acquired by the acquiring means is not registered in the interrupt execution information by the display means. In this case, an input screen prompting the input of the operating system for executing the interrupt processing for the unregistered interrupt number is displayed. The display means includes a display such as a CRT display, a plasma display, an organic EL display, and a liquid crystal display.
そして、本発明によれば、入力手段から未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムを示す指定情報が入力され、登録手段により、入力手段より入力された指定情報により示されるオペレーティング・システムを、前記未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして記憶手段に記憶されている割込実行情報に登録される。なお、上記入力手段による入力には、キーボード、ポインティング・デバイス等からの入力が含まれる。 According to the present invention, the designation information indicating the operating system for executing the interrupt processing for the unregistered interrupt number is input from the input means, and the operating means indicated by the designation information input from the input means by the registration means. The system is registered in the interrupt execution information stored in the storage means as an operating system that executes interrupt processing for the unregistered interrupt number. The input by the input means includes input from a keyboard, a pointing device, or the like.
このように請求項1記載の発明によれば、割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報を予め記憶手段に記憶しておき、複数の機器から各々出力される割り込み信号により示される割り込み番号を示す番号情報を取得し、取得した番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが割込実行情報に未登録の場合に、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面を表示手段に表示し、入力手段より入力された指定情報により示されるオペレーティング・システムを、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして記憶手段に記憶されている割込実行情報に登録しているので、追加接続された機器からの割り込みに対する割り込み処理を適切なオペレーティング・システムで実行することができることができる。 Thus, according to the first aspect of the present invention, interrupt execution information indicating an operating system that executes interrupt processing for each interrupt number is stored in advance in the storage means, and interrupts output from a plurality of devices are respectively stored. The number information indicating the interrupt number indicated by the signal is acquired, and when the operating system that executes the interrupt processing for the interrupt number indicated by the acquired number information is not registered in the interrupt execution information, it corresponds to the unregistered interrupt number. An input screen prompting an input of an operating system for executing interrupt processing is displayed on the display means, and the operating system indicated by the designation information input from the input means is displayed as an operating system for executing interrupt processing for an unregistered interrupt number. Stored in the storage means as a system Since registered write execution information, it may be able to execute the interrupt processing for the interrupt from additional connected devices in the appropriate operating system.
なお、本発明は、請求項2記載の発明のように、前記取得手段は、前記情報処理装置の電源が投入されたタイミングで前記番号情報を取得するようにしてもよい。
In the present invention, as in the invention described in
また、本発明は、請求項3記載の発明のように、前記取得手段は、新たな機器が新たに接続されたタイミングで前記番号情報を取得するようにしてもよい。 Further, according to the present invention, the acquisition unit may acquire the number information at a timing when a new device is newly connected.
また、本発明は、請求項4記載の発明のように、前記表示手段を、前記複数のオペレーティング・システムの各々の名称を表示した前記入力画面を表示するものとすることが好ましい。 In the present invention, it is preferable that the display means displays the input screen on which the names of the plurality of operating systems are displayed.
以上説明したように、本発明によれば、割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報を予め記憶手段に記憶しておき、複数の機器から各々出力される割り込み信号により示される割り込み番号を示す番号情報を取得し、取得した番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが割込実行情報に未登録の場合に、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面を表示手段に表示し、入力手段より入力された指定情報により示されるオペレーティング・システムを、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして記憶手段に記憶されている割込実行情報に登録しているので、追加接続された機器からの割り込みに対する割り込み処理を適切なオペレーティング・システムで実行することができることができる、という優れた効果を有する。 As described above, according to the present invention, interrupt execution information indicating an operating system that executes interrupt processing for each interrupt number is stored in advance in a storage means, and interrupt signals output from a plurality of devices are provided. If the operating system that executes interrupt processing for the interrupt number indicated by the acquired number information is not registered in the interrupt execution information, the interrupt for the unregistered interrupt number is acquired. An operating system that displays an input screen for prompting an input of an operating system for executing processing on the display means, and executes an interrupt processing for an unregistered interrupt number by the operating system indicated by the designation information input from the input means Stored in the storage means as Since registered in the execution information, it has an excellent effect that can be able to execute the interrupt processing for the interrupt from additional connected devices in the appropriate operating system.
以下、図面を参照して、本発明の実施の形態について詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1には、情報処理装置10の機能ブロック図が示されている。
FIG. 1 shows a functional block diagram of the
同図に示すように本実施の形態に係る情報処理装置10には、装置全体の動作を司るCPU(中央処理装置)22と、情報処理装置10の制御を行う第1OS44及び第2OS46が記憶されたハードディスク・ドライブ(以下、「HDD」という。)24と、後述する割込処理OS登録プログラムを含む各種プログラムや各種パラメータ等が予め記憶されたROM26と、各種データを一時的に記憶するRAM28と、各種の操作画面を表示する表示装置30と接続され当該表示装置30を制御する表示制御部32と、ユーザからの各種の指示を入力するためのキーボードやマウス等の操作入力装置34と、図示しない外部端末とネットワークを介して接続された通信I/F部36と、情報処理装置10に接続する機器とのデータの送受信のインタフェースとなる入出力ポート38と、各機器からCPU22への割り込み要求の制御を行う割り込み制御部40と、を備えている。
As shown in the figure, the
なお、本実施の形態に係るROM26には、ロードプログラム(所謂、ローダ)が予め記憶されており、CPU22は、起動時にロードプログラムを実行してHDD24から第1OS44及び第2OS46をRAM28に読み込み、第1OS44及び第2OS46を共に実行している。よって、情報処理装置10は、第1OS44及び第2OS46により動作が制御されている。
Note that a load program (so-called loader) is stored in advance in the
また、本実施の形態に係る入出力ポート38は、複数(本実施の形態では、2個)のコネクタ48を備え、装置本体の電源がオン状態のままで動的に機器を接続可能なUSBのインタフェースとして構成されている。よって、ユーザは、例えば、スキャナやプリンタ等の機器を必要に応じて接続することができる。なお、本実施の形態では、2個の機器が接続されており各々、機器A50、機器B51とする。
In addition, the input /
上記CPU22、HDD24、ROM26、RAM28、表示制御部32、操作入力装置34、通信I/F部36、入出力ポート38、及び割り込み制御部40はバスBUSを介して相互に接続されている。従って、CPU22は、HDD24、ROM26、及びRAM28に対するアクセスと、表示制御部32を制御しての表示装置30への各種情報の表示と、操作入力装置34に対するユーザの操作による指示内容の把握と、通信I/F部36を制御しての外部端末とのデータの送受信の制御と、入出力ポート38を介して機器A50、機器B51の作動の制御と、を各々行うことができる。
The
ところで、上述したように、本実施の形態に係る情報処理装置10は、第1OS44及び第2OS46により動作を制御している。このため、操作入力装置34や、通信I/F部36、操作入力装置34、入出力ポート38を介して接続されて機器A50、機器B51から発生する割り込み要求を何れのOSで制御するかが問題となる。
Incidentally, as described above, the
そこで、本実施の形態に係る情報処理装置10では、発生した割り込み要求を割り込み制御部40により第1OS44及び第2OS46に振り分ける制御を行っている。
Therefore, in the
図2には、割り込み制御部40の機能構成を示す機能ブロック図が示されている。
FIG. 2 is a functional block diagram showing a functional configuration of the interrupt
割り込み制御部40は、機器からの割り込みを要求する割り込み信号を検出する割り込み検出部52と、割り込み検出部52で検出した割り込み信号により示される割り込み番号(IRQ(Interrupt ReQuest))を識別するIRQ識別部54と、割り込み番号毎に割り込み処理を実行するOSを示す割込実行情報が登録された割り込み管理テーブル(図3参照)を記憶する管理情報記憶部56と、管理情報記憶部56に記憶された割り込み管理テーブルからIRQ識別部54で識別された割り込み番号に対応する割込実行情報を読み込み、当該割込実行情報により示されるOSに制御を移行する制御移行部58と、を備えている。
The interrupt
なお、本実施の形態に係る管理情報記憶部56は、フラッシュメモリ等の不揮発性かつ書き換え可能なメモリで構成されており、装置本体の電源がオフとなっても割込実行情報を保持することが可能となっている。
The management
また、本実施の形態に係る制御移行部58は、割り込み管理テーブルからIRQ識別部54で識別された割り込み番号に対応するOSを求め、当該OSの割り込みベクタを参照して割り込み番号に対応する所定の割り込み処理(所謂、割り込みハンドラ)のアドレスを求めてCPU22へ送信し、CPU22に当該アドレスの処理への移行を依頼する。なお、割り込みベクタは、第1OS44及び第2OS46毎に予め定められており、起動時にロードプログラムによってロードされてRAM28の所定の領域に予め記憶されている。
Further, the
CPU22は、OSの制御により実行している処理の情報を一旦RAM28に退避して、受信したアドレスによって示される割り込み処理を実行する。
The
図3には、割り込み管理テーブルのデータ構造の一例が示されている。 FIG. 3 shows an example of the data structure of the interrupt management table.
同図に示すように、割り込み管理テーブルには、割り込み番号毎に割込み処理を行うOSが割込実行情報として登録されており、割り込み番号に対応する機器が接続されていない場合、OSの登録なしを示す情報が記憶されている。なお、図3に示す割り込み管理テーブルでは、IRQ=11、13においてOSの登録がなしとなっている。 As shown in the figure, in the interrupt management table, an OS that performs interrupt processing for each interrupt number is registered as interrupt execution information, and if no device corresponding to the interrupt number is connected, there is no OS registration. Is stored. In the interrupt management table shown in FIG. 3, the OS is not registered when IRQ = 11, 13.
一方、割り込み制御部40(図2参照)は、所定のタイミングで接続されている機器の型番や型名等の機器情報及び当該機器の割り込み番号を示す番号情報を取得する機器情報取得部60と、機器情報取得部60により取得された番号情報により示される割り込み番号に対応するOSが管理情報記憶部56に記憶されている割り込み管理テーブルに登録されているか否かを判定し、登録されていない場合に取得した機器情報及び番号情報をRAM28の所定領域に記憶させると共にROM26に記憶されている割込処理OS登録プログラムの実行をCPU22に依頼する登録制御部62と、を備えている。
On the other hand, the interrupt control unit 40 (see FIG. 2) includes a device
図4には、CPU22により割込処理OS登録プログラムが実行された際に表示装置30に表示される登録指示画面70が示されている。
FIG. 4 shows a
同図に示すように、登録指示画面70には、RAM28の所定領域に記憶されている機器情報により示される型名等を表示する機器情報表示領域72と、情報処理装置10に搭載されているOSの名称が表示されるOS名称表示領域74と、割り込み処理を実行するOSを指定する番号を入力する番号入力領域76と、登録の実行を指定するOKボタン78と、登録を行われないことを指定するキャンセルボタン80と、を備えている。
As shown in the figure, the
登録指示画面70では、ユーザが番号入力領域76に指定するOSの番号を入力してOKボタン78を指定することにより、割り込み管理テーブルの番号情報により示される割り込み番号にOSを示す情報を登録することが可能となっている。また、キャンセルボタン80が指定された場合は、機器の割り込み番号に対応するOSを登録することなく、登録指示画面70が終了する。
On the
次に、本実施の形態の係る情報処理装置10の作用を説明する。
Next, the operation of the
最初に、一例として、通信I/F部36を介して外部端末から通信データを受信した際の割り込み制御部40の動作の流れを簡単に説明する。
First, as an example, an operation flow of the interrupt
情報処理装置10のCPU22は、第1OS44及び第2OS46の制御により各々処理を実行しており、通信I/F部36は、ネットワークを介して通信データを受信すると、割り込み制御部40へ割り込みを要求する割り込み信号を出力する。
The
割り込み制御部40では、割り込み検出部52で割り込み信号を検出すると、IRQ識別部54で当該割り込み信号の割り込み番号を識別し、制御移行部58によって管理情報記憶部56に記憶された割り込み管理テーブルに基づいて識別された割り込み番号に対応するOSを求め、当該OSの割り込みベクタを参照して割り込み番号に対応する所定の割り込み処理のアドレスを求めて、CPU22に当該アドレスの処理への移行を依頼する。
In the interrupt
CPU22は、行っていた処理の情報を一旦RAM28に退避し、依頼されたアドレスからの処理を実行する。
The
このように、本実施の形態に係る情報処理装置10では、接続された機器毎に割り込み管理テーブルに登録された割込実行情報により示されるOSによる割り込み処理が行われる。
As described above, in the
次に、図5を参照しつつ、本実施の形態に係る情報処理装置10の入出力ポート38に機器を追加された場合の追加機器登録処理の流れを説明する。なお、本実施の形態では、機器情報取得部60が、装置本体の電源がオンとなりとなったタイミングで追加機器登録処理が行われる。
Next, the flow of additional device registration processing when a device is added to the input /
同図のステップ100では、機器情報取得部60からバスBUSを介して接続されている各機器に当該機器の機器情報及び割り込み番号を示す番号情報の問合せる問合せ情報を送信し、各機器からの問合せ情報に対する応答を受信をして各機器の機器情報及び番号情報を取得する。
In
次のステップ102では、登録制御部62により管理情報記憶部56に記憶されている割り込み管理テーブルの割込実行情報に機器情報取得部60で取得した番号情報により示される割り込み番号に対するOSが登録されているか否かを判定することにより、新規機器が追加かされたか否かを判定し、肯定判定であった場合はステップ104へ移行し、否定判定であった場合は終了へ移行する。例えば、図3に示す割り込み管理テーブルでは、割り込み番号が「11」の割り込み信号を出力する機器が接続された場合、新規機器が接続されたものと判定する。
In the
なお、上記ステップ102の処理では、割り込み管理テーブルの割込実行情報に割り込み番号に対するOSが登録されているにも関わらず、当該割り込み番号の割り込みを発生する機器が接続されていない場合、OSの登録なしを示す情報に更新することが好ましい。これにより、情報処理装置10に接続されていた機器が取り外された場合に、新たに他の機器で割り込み番号を使用できるため、割り込み番号を有効に活用することができる。
In the process of
ステップ104では、取得された機器情報及び番号情報をRAM28の所定領域に記憶させると共にROM26に記憶されている割込処理OS登録プログラムのアドレスをCPU22に送信して、ロードプログラムによる第1OS44及び第2OS46の読み込みの中断して割込処理OS登録プログラムの実行を依頼する。
In
ステップ106では、CPU22により割込処理OS登録プログラムが実行され、RAM28の所定領域から機器情報及び番号情報が読み込まれて登録指示画面70(図4参照)が表示装置30に表示される。
In
ユーザは、登録を行う場合、操作入力装置34から番号入力領域76に割り込み処理を実行するOSを指定する番号を入力してOKボタン78を指定する。一方、登録を行われない場合、キャンセルボタン80を指定する。
When registering, the user inputs a number for designating an OS for executing interrupt processing from the
ステップ108では、OKボタン78が指定された否かを判定しており、OKボタン78が指定された場合はステップ112へ移行し、指定されていない場合はステップ110へ移行する。ステップ110では、キャンセルボタン80が指定された否かを判定しており、キャンセルボタン80が指定された場合はステップ114へ移行し、指定されていない場合は再度ステップ108へ移行して、OKボタン78、キャンセルボタン80の何れかの指定待ちを行う。
In
ステップ112では、CPU22の制御により管理情報記憶部56に記憶されている割り込み管理テーブルの当該機器の番号情報により示される割り込み番号に番号入力領域76で指定されたOSを登録する。
In
ステップ114では、表示装置30への登録指示画面70の表示を終了して、ロードプログラムによる第1OS44及び第2OS46の読み込みを再開し、終了へ移行する。
In
以上のように本実施の形態によれば、予め搭載された複数のオペレーティング・システムが見かけ上同時に実行され、各々所定の割り込み信号を出力する複数の機器と接続され、複数の機器の何れか1つから前記割り込み信号が入力された場合に何れか1つのオペレーティング・システムで当該割り込み信号により示される割り込み番号に応じた割り込み処理を実行する情報処理装置において、割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報を記憶手段(ここでは、管理情報記憶部56)に予め記憶しておき、取得手段(ここでは、機器情報取得部60)により、複数の機器から各々出力される割り込み信号により示される割り込み番号を示す番号情報を取得し、取得手段により取得された番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが割込実行情報に未登録の場合に、表示手段(ここでは、表示装置30)に未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面(ここでは、登録指示画面70)を表示し、入力手段(ここでは、操作入力装置34)から未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムを示す指定情報が入力すると、登録手段(ここでは、CPU22)は、入力手段より入力された指定情報により示されるオペレーティング・システムを、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして記憶手段に記憶されている割込実行情報に登録しているので、追加接続された機器からの割り込みに対する割り込み処理を適切なオペレーティング・システムで実行することができることができる。 As described above, according to the present embodiment, a plurality of preinstalled operating systems are apparently executed simultaneously and connected to a plurality of devices each outputting a predetermined interrupt signal, and any one of the plurality of devices is connected. An operating system that executes interrupt processing for each interrupt number in an information processing apparatus that executes interrupt processing corresponding to the interrupt number indicated by the interrupt signal in any one operating system when the interrupt signal is input from one Interrupt execution information indicating the system is stored in advance in storage means (here, the management information storage unit 56), and is output from each of a plurality of devices by the acquisition means (here, the device information acquisition unit 60). Number information indicating the interrupt number indicated by the interrupt signal is acquired, and the number information acquired by the acquisition means is acquired. When the operating system that executes the interrupt processing for the interrupt number indicated by is not registered in the interrupt execution information, the operating system that executes the interrupt processing for the interrupt number that is not registered in the display means (here, the display device 30). Designation information indicating an operating system that displays an input screen for prompting system input (here, the registration instruction screen 70) and executes interrupt processing for an unregistered interrupt number from the input means (here, the operation input device 34) Is input, the registration means (here, the CPU 22) stores the operating system indicated by the designation information input from the input means in the storage means as an operating system for executing an interrupt process for an unregistered interrupt number. Registered interrupt execution information Since it has, and it may be able to execute the interrupt processing for the interrupt from additional connected devices in the appropriate operating system.
また、本実施の形態によれば、取得手段は、情報処理装置の電源が投入されたタイミングで前記番号情報を取得しているので、情報処理装置の電源がオフの間に新たな機器が接続された場合に、電源がオンとなった際に当該新たな機器からの割り込み要求を起動時にすみやかに適切なOSを対応させることができる。 In addition, according to the present embodiment, since the acquisition unit acquires the number information at the timing when the information processing apparatus is turned on, a new device is connected while the information processing apparatus is turned off. In this case, when the power is turned on, an interrupt request from the new device can be promptly associated with an appropriate OS at startup.
また、本実施の形態によれば、表示手段を、複数のオペレーティング・システムの各々の名称を表示した前記入力画面を表示するものとしているので、ユーザが対応させるオペレーティング・システムを容易に指定することができる。 Further, according to the present embodiment, the display means displays the input screen displaying the names of the plurality of operating systems, so that the operating system to be supported by the user can be easily specified. Can do.
なお、本実施の形態では、情報処理装置の電源がオンとなった際に接続されている機器の番号情報を取得する場合について説明したが、本発明はこれに限定されるものではなく、例えば、新たな機器が新たに接続されたタイミングとしてもよい。また、一定期間毎(例えば、1分毎)のタイミングで接続されている機器の機器情報及び番号情報を取得するものとしてもよい。さらに、機器からの割り込み信号を受信したタイミングで割り込み管理テーブルに登録されているか否かをチェックするものとしてもよい。これにより、情報処理装置に機器が動的に接続された場合であっても、当該機器をすみやかに適切なOSを対応させることができる。 In the present embodiment, the case has been described where the number information of the connected device is acquired when the information processing apparatus is turned on. However, the present invention is not limited to this, for example, The timing when a new device is newly connected may be used. Moreover, it is good also as what acquires the apparatus information and number information of the apparatus connected with the timing of every fixed period (for example, every 1 minute). Further, it may be checked whether or not it is registered in the interrupt management table at the timing of receiving the interrupt signal from the device. As a result, even when a device is dynamically connected to the information processing apparatus, the device can be promptly associated with an appropriate OS.
その他、本実施の形態で説明した情報処理装置10の構成(図1、図2参照。)は、一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。
In addition, the configuration of the
また、本実施の形態で説明した割り込み管理テーブル(図3参照)のデータ構造、及び登録指示画面70(図4参照)の画面構成も、一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。 Further, the data structure of the interrupt management table (see FIG. 3) and the screen configuration of the registration instruction screen 70 (see FIG. 4) described in the present embodiment are examples, and are within the scope not departing from the gist of the present invention. Needless to say, it can be changed as appropriate.
さらに、本実施の形態で説明した追加機器登録処理(図5参照)の流れも一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。 Furthermore, the flow of the additional device registration process (see FIG. 5) described in the present embodiment is also an example, and it goes without saying that it can be changed as appropriate without departing from the gist of the present invention.
10 情報処理装置
22 CPU
30 表示装置
34 操作入力装置
36 通信I/F部
38 入出力ポート
40 割り込み制御部
56 管理情報記憶部
60 機器情報取得部
62 登録制御部
70 登録指示画面
10
30
Claims (4)
前記割り込み番号毎に割り込み処理を実行するオペレーティング・システムを示す割込実行情報が予め記憶された記憶手段と、
前記複数の機器から各々出力される前記割り込み信号により示される割り込み番号を示す番号情報を取得する取得手段と、
前記取得手段により取得された前記番号情報により示される割り込み番号に対する割り込み処理を実行するオペレーティング・システムが前記割込実行情報に未登録の場合に、未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムの入力を促す入力画面を表示する表示手段と、
前記未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムを示す指定情報を入力する入力手段と、
前記入力手段より入力された前記指定情報により示されるオペレーティング・システムを、前記未登録の割り込み番号に対する割り込み処理を実行するオペレーティング・システムとして前記記憶手段に記憶されている前記割込実行情報に登録する登録手段と、
を備えた情報処理装置。 When a plurality of preinstalled operating systems are apparently executed simultaneously, connected to a plurality of devices each outputting a predetermined interrupt signal, and the interrupt signal is input from any one of the plurality of devices An information processing apparatus that executes interrupt processing according to an interrupt number indicated by the interrupt signal in any one of the operating systems,
Storage means for pre-stored interrupt execution information indicating an operating system that executes interrupt processing for each interrupt number;
Obtaining means for obtaining number information indicating an interrupt number indicated by the interrupt signal output from each of the plurality of devices;
An operating system that executes interrupt processing for an unregistered interrupt number when an operating system that executes interrupt processing for the interrupt number indicated by the number information acquired by the acquisition means is unregistered in the interrupt execution information. Display means for displaying an input screen for prompting the system;
Input means for inputting designation information indicating an operating system that executes interrupt processing for the unregistered interrupt number;
The operating system indicated by the designation information input from the input unit is registered in the interrupt execution information stored in the storage unit as an operating system that executes interrupt processing for the unregistered interrupt number. Registration means;
An information processing apparatus comprising:
請求項1記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the acquisition unit acquires the number information at a timing when the information processing apparatus is powered on.
請求項1記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the acquisition unit acquires the number information at a timing when a new device is newly connected.
請求項1乃至請求項3の何れか1項記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 3, wherein the display unit displays the input screen on which names of the plurality of operating systems are displayed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005199095A JP2007018258A (en) | 2005-07-07 | 2005-07-07 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005199095A JP2007018258A (en) | 2005-07-07 | 2005-07-07 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007018258A true JP2007018258A (en) | 2007-01-25 |
Family
ID=37755381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005199095A Pending JP2007018258A (en) | 2005-07-07 | 2005-07-07 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007018258A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012145993A (en) * | 2011-01-07 | 2012-08-02 | Mitsubishi Electric Corp | Computer system, interruption control method and program |
-
2005
- 2005-07-07 JP JP2005199095A patent/JP2007018258A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012145993A (en) * | 2011-01-07 | 2012-08-02 | Mitsubishi Electric Corp | Computer system, interruption control method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11296943B2 (en) | Information processing apparatus, control method for information processing apparatus, and recording medium | |
US9170763B2 (en) | Information processing apparatus and control method | |
JP2019175313A (en) | Application program | |
JP7022602B2 (en) | Image processing equipment, its control method, and programs | |
JP7334445B2 (en) | Device control program and mobile terminal device | |
JP2011197990A (en) | Information processor and program | |
US7979595B2 (en) | External apparatus function extension application system and firmware download driver system | |
JP2007018258A (en) | Information processor | |
JP5524148B2 (en) | Computer equipment | |
KR20110072922A (en) | Method for implementing additional extended feature in image forming apparatus and image forming apparatus for performing thereof | |
JP2005301608A (en) | Installation program, installation device, and installation method of peripheral equipment driver | |
JP6263023B2 (en) | Information processing apparatus, information processing method, and program | |
JP2007034514A (en) | Information processor | |
US20150373212A1 (en) | Information processing apparatus, information processing system, method of controlling the information processing apparatus, and storage medium | |
JP6013801B2 (en) | Image output system and image output apparatus | |
JP2006085291A (en) | Information processor and application program | |
JP6728590B2 (en) | Equipment, information processing system, information processing method, and program | |
EP3832411B1 (en) | Support device and support program | |
JP2012252411A (en) | Selection program, image processor, and computer | |
JP2007102567A (en) | Installation method and recording medium | |
JP2019001078A (en) | Image formation apparatus and control method of image formation apparatus | |
JPH11161591A (en) | Data communication equipment, data communication method, storage medium and device driver | |
JP2007011799A (en) | Device apparatus | |
JP2023028934A (en) | Information processing apparatus and program | |
JP6192617B2 (en) | Information processing apparatus and transfer control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080423 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091008 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091027 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091228 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100126 |