JPH08221222A - Information processor - Google Patents

Information processor

Info

Publication number
JPH08221222A
JPH08221222A JP2788195A JP2788195A JPH08221222A JP H08221222 A JPH08221222 A JP H08221222A JP 2788195 A JP2788195 A JP 2788195A JP 2788195 A JP2788195 A JP 2788195A JP H08221222 A JPH08221222 A JP H08221222A
Authority
JP
Japan
Prior art keywords
card
information processing
program
request
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
Application number
JP2788195A
Other languages
Japanese (ja)
Inventor
Yasushi Aoyama
靖 青山
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2788195A priority Critical patent/JPH08221222A/en
Publication of JPH08221222A publication Critical patent/JPH08221222A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To use plural cards with efficient memory consumption by mapping a necessary driver to a system memory only when a card is used. CONSTITUTION: When a card is inserted into a slot and the access request to the card is received, a resource manager 304 maps the ROM of the card to a dynamic allocation area 306, the program on the ROM of the card is called and a processing is performed for the card. When the access of the card is terminated, the resource manager 304 opens the dynamic allocation area 306. Therefore, because a driver is mapped to a system area only when the access to the card is performed, a memory can be efficiently used. Because the resource manager 304 automatically calls the driver which is necessary for the card to be used, a user is released from the work such as the maintenance of the necessary driver, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データの入出力機能
や、記憶機能あるいは通信機能などの拡張機能を有した
カードを利用するコンピュータシステムに係るものであ
り、特に、活線挿抜が可能なカードにおけるコンピュー
タシステムに関する発明である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system using a card having a data input / output function and an expanded function such as a storage function or a communication function, and in particular, hot-swap is possible. The invention relates to a computer system in a card.

【0002】[0002]

【従来の技術】これまでのコンピュータでは、I/Oや
メモリ機能などの拡張機能を持つカードを利用しようと
する場合、電源投入前にあるいは電源を切断してから、
カードを専用のスロットに挿入接続して、その後、電源
投入してオペレーティングシステムを起動し、カードの
接続設定を行って、再度、その設定に従ったシステムの
起動をしてからはじめて利用可能になるというものであ
った。
2. Description of the Related Art In conventional computers, when trying to use a card having extended functions such as I / O and memory functions, it is necessary to turn on the power before turning on the power or after turning off the power.
Insert the card into the dedicated slot, connect it, then power on to start the operating system, set the card connection settings, and restart the system according to the settings before it can be used. It was that.

【0003】一方、近年になって、カードの活線挿抜が
可能なコンピュータが出現し始めた。これにより、カー
ドを専用のスロットに挿入接続するために、一度電源を
落とす必要がなくなった。また、これとともにカード側
に接続のためのプログラムを持ち、カードを挿入するだ
けで自動的に接続処理を行うもの現れ始めた。
On the other hand, in recent years, a computer capable of hot-plugging a card has begun to appear. This eliminates the need to turn off the power once to insert and connect the card to the dedicated slot. Also, along with this, there is a program that has a connection program on the card side and that automatically performs the connection process just by inserting the card.

【0004】このような公知技術の一例として、特開平
5−11928号公報がある。
As an example of such a known technique, there is JP-A-5-11928.

【0005】[0005]

【発明が解決しようとする課題】カードの活線挿抜が可
能なコンピュータを効果的に利用するためには、カード
の挿入したときにカードの機能を使用できるようにする
ことが望ましい。
In order to effectively utilize a computer in which a card can be hot-swapped, it is desirable to be able to use the function of the card when the card is inserted.

【0006】このため、使用予定のカードに対する接続
プログラムを、あらかじめオペレーティングシステムに
登録しておき、挿入されたカードに応じて接続プログラ
ムを用いて、カードを利用しようとするものがある。
For this reason, there is a method in which a connection program for a card to be used is registered in the operating system in advance and the card is used by using the connection program according to the inserted card.

【0007】また、複数種のカードをサポートする接続
プログラムをメモリに常駐させておき、挿入されたカー
ドを認識して、必要な接続処理をおこなうというものが
ある。 しかしながら、前者は、ユーザに自身が必要な
接続プログラムの登録を行うという作業を行わなければ
ならず、カード及びシステムに関する技術的知識が求め
られるものである。そのためユーザの負担が大きくなる
という問題があった。また後者は、カードの接続処理は
常駐プログラムが自動的に行うため、ユーザの負担は少
なくなるが、より多くのカードに対応する接続プログラ
ムは、そのサイズも大きくなるため、使用可能なメモリ
領域が圧迫されるという問題があった。
There is also a method in which a connection program that supports a plurality of types of cards is made resident in the memory so that the inserted card is recognized and necessary connection processing is performed. However, the former requires the user to perform the work of registering the necessary connection program, and is required to have technical knowledge about the card and the system. Therefore, there has been a problem that the burden on the user becomes large. On the other hand, in the latter, the resident program automatically performs the card connection process, so the burden on the user is reduced, but since the connection program corresponding to more cards also has a larger size, the available memory area becomes smaller. There was a problem of being pressed.

【0008】したがって、本発明は、カードを利用する
ために必要なプログラムを、必要なときに呼び出し実行
し、そのプログラムが終了すると実行するのに要したメ
モリを開放することによりメモリの有効利用を図る。ま
た、カード利用のための技術的知識や、利用手順の記憶
といったオペレータにかかる負荷を低減し、容易かつ簡
便にカードを利用することができる情報処理装置を得る
ことを目的とする。
Therefore, according to the present invention, the program necessary for using the card is called and executed when necessary, and when the program ends, the memory required for execution is released to effectively use the memory. Try. It is another object of the present invention to obtain an information processing apparatus that can reduce the burden on the operator such as the technical knowledge for using the card and the storage of the usage procedure, and can use the card easily and easily.

【0009】[0009]

【課題を解決するための手段】上記目的を実現するため
に、本発明では、活線挿抜により接続可能な拡張機能を
持ったカードを利用する情報処理装置であり、前記カー
ドを挿入するスロットと、該カードの拡張機能を利用す
るためのプログラムが格納される第1の記憶領域、該カ
ードを利用するために必要な情報を記憶する第2の記憶
領域を含む第1の記憶手段と、前記第1の記憶手段の前
記プログラムを実行する実行手段とを持つ情報処理装置
とを有する情報処理装置において、前記カードは、当該
カードによって提供される拡張機能を実現するための拡
張機能部の他に、少なくとも、前記カードを前記情報処
理装置に登録するための初期化処理を行う初期化プログ
ラムと、前記カードの拡張機能を前記情報処理装置にて
使用するための制御処理を行う使用制御プログラムとを
記憶保持する第2の記憶手段を有するカードであって、
前記情報処理装置は、前記カードの挿入及び引き抜きを
検出するカード検出手段と、前記情報処理装置における
前記カードの使用を要求を監視する使用要求監視手段
と、該カード検出手段により前記カードの挿入が検出さ
れたとき、前記第2の記憶手段から前記初期化プログラ
ムを前記第1の記憶手段の前記第1の記憶領域に読み出
して前記実行手段で実行し、前記初期化プログラムによ
る登録情報を前記第2の記憶領域に記憶し、該初期化プ
ログラムが終了すると該初期化プログラムが格納された
前記第1の領域を開放し、前記使用要求監視手段より前
記カードに対する使用要求が検出されたとき、該使用要
求が前記第2の記憶領域に記憶されている登録情報を検
索し、すでに登録されているカードであるならば、対応
するカードの前記使用制御プログラムを前記第1の記憶
手段の前記第1の記憶領域に読み出して前記実行手段で
実行し、前記使用要求監視手段により当該使用要求の終
了が検出されたとき、前記使用制御プログラムが読み出
された前記第1の記憶領域をクリアし、前記カード検出
手段により前記カードの引き抜きが検出されたとき、前
記第2の記憶領域から該引き抜かれたカードに対応する
登録情報をクリアするカード制御手段と、によって達成
される。
In order to achieve the above object, the present invention is an information processing apparatus using a card having an expansion function that can be connected by hot plugging and unplugging, and a slot for inserting the card. A first storage area for storing a program for using the extended function of the card, a first storage means including a second storage area for storing information necessary for using the card, and In an information processing apparatus having an information processing apparatus having an execution unit that executes the program of the first storage unit, the card includes an extended function unit for implementing an extended function provided by the card. , At least an initialization program for performing an initialization process for registering the card in the information processing device, and a control for using the extended function of the card in the information processing device. A card having a second memory means for storing and holding a used control program for performing processing,
The information processing apparatus includes a card detection unit that detects insertion and removal of the card, a usage request monitoring unit that monitors a request to use the card in the information processing apparatus, and a card detection unit that detects the insertion of the card. When detected, the initialization program is read from the second storage means into the first storage area of the first storage means and executed by the execution means, and the registration information by the initialization program is stored in the first storage area. 2 in the storage area, and when the initialization program ends, the first area in which the initialization program is stored is released, and when the usage request monitoring means detects a usage request for the card, The use request retrieves the registration information stored in the second storage area, and if the card is an already registered card, the use of the corresponding card is searched. The control program is read into the first storage area of the first storage unit, executed by the execution unit, and when the end of the use request is detected by the use request monitoring unit, the use control program is read out. Card control means for clearing the stored first storage area and clearing registration information corresponding to the pulled-out card from the second storage area when the card detection means detects that the card has been pulled out. Is achieved by

【0010】上記各手段の具体例として、例えば、情報
処理装置内の実行手段としてCPU、第1の記憶手段と
して情報処理装置内の主記憶装置、カード検出手段とし
てスロット・カードコントローラ、使用監視手段及びカ
ード制御手段としてリソースマネージャ、あるいはカー
ドにおける初期化プログラム、使用制御プログラムを格
納する第2の記憶手段としてカードROM等によって達
成される。
As a concrete example of each of the above means, for example, a CPU as an executing means in the information processing apparatus, a main storage device in the information processing apparatus as a first storing means, a slot / card controller as a card detecting means, and a use monitoring means. And a resource manager as the card control means, or a card ROM or the like as the second storage means for storing the initialization program and the use control program in the card.

【0011】[0011]

【作用】カード挿入時、リソースマネージャは、スロッ
ト・カードコントローラからカードが挿入されたこと知
らせる信号を受け、カードの登録処理を行う。このとき
カードROMを主記憶装置のある領域にマッピングして
呼び出し、CPUにて実行する。なお、登録処理におい
て、主記憶装置のある領域に、そのカードの登録情報を
記憶しておく。接続処理が完了すると主記憶装置からカ
ードROMをマッピングするのに要した領域を開放す
る。
When the card is inserted, the resource manager receives the signal from the slot / card controller that the card has been inserted, and performs the card registration process. At this time, the card ROM is mapped to a certain area of the main storage device and called, and executed by the CPU. In the registration process, the registration information of the card is stored in an area of the main storage device. When the connection process is completed, the area required for mapping the card ROM is released from the main storage device.

【0012】次に、情報処理装置で実行されるオペレー
ティングシステムあるいはアプリケーションプログラム
からカードに対してアクセス要求があった場合、リソー
スマネージャではそのカードに対応する使用制御プログ
ラムを呼び出し、CPUにて実行する。これも前述の接
続処理の場合と同様にカードROMを、主記憶装置のあ
る領域にマッピングして読み出し実行する。
Next, when an access request is made to the card from the operating system or application program executed by the information processing device, the resource manager calls the usage control program corresponding to the card and executes it by the CPU. Also in this case, as in the case of the above-mentioned connection processing, the card ROM is mapped to an area in the main storage device and read and executed.

【0013】そして、カードへのアクセス終了後、リソ
ースマネージャはカードROMを主記憶装置のある領域
から開放する。
After the access to the card is completed, the resource manager releases the card ROM from a certain area of the main memory.

【0014】また、カード引き抜き時、スロット・カー
ドコントローラからカードが引き抜かれたことを知らせ
る信号を受けて、カードを登録処理で登録した登録情報
が記憶されている主記憶装置の記憶領域を開放する処理
を行う。
Further, when the card is pulled out, a signal notifying that the card has been pulled out is received from the slot / card controller, and the storage area of the main storage device in which the registration information registered in the registration process is stored is opened. Perform processing.

【0015】これにより主記憶装置(メモリ)の有効利
用を行うことができるとともに、カード自体が初期化、
アクセス制御プログラムを持ち、カード挿入時、アクセ
ス時に自動的にそれらのプログラムが呼び出し実行され
るため、ユーザは、コンフィギュレーションドライバを
意識する必要がなくなり、ユーザの負担を減らすことが
できる。
As a result, the main storage device (memory) can be effectively used, and the card itself is initialized.
Since an access control program is provided and these programs are automatically called and executed when a card is inserted or accessed, the user does not need to be aware of the configuration driver, and the burden on the user can be reduced.

【0016】[0016]

【実施例】以下、本発明の一実施例について説明する。EXAMPLES An example of the present invention will be described below.

【0017】図1は、本発明が適用される情報処理装置
の一実施例における概略構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of an embodiment of an information processing apparatus to which the present invention is applied.

【0018】図中において、11は情報処理装置を、1
2は情報処理装置11に接続して使用するカードを示し
ている。また情報処理装置11内部において、101は
情報処理装置内の各部の制御及び、各種プログラムの実
行処理を行うCPUを、102は基本的なアクセス制御
プログラム、初期診断処理プログラム等を保持するRO
Mを、103はCPU101で処理されるデータ及びプ
ログラム等がロードされるRAMを、104はカード1
2が挿入されるスロット(ソケット)を、105はカー
ド12及びスロット104の制御を行うスロット・カー
ドコントローラを示している。また、106はハードデ
ィスク、フロッピーディスク等の外部記憶装置を、10
7は情報処理装置11に接続され、データの入出力を行
うキーボード、CRT等の入出力装置を示している。な
お、上記カード12とは、情報処理装置11の機能を拡
張するものであり、例えばRAMやROM等の記憶装置
としての機能や、LANやFAX、モデム等の通信機
能、あるいは単にSCSI、パラレル/シリアルポート
等のデータの入出力機能を持つものがある。
In the figure, 11 is an information processing device.
Reference numeral 2 denotes a card used by connecting to the information processing device 11. Further, inside the information processing apparatus 11, 101 is a CPU that controls each part in the information processing apparatus and executes various programs, and 102 is an RO that holds a basic access control program, an initial diagnosis processing program, and the like.
M is a RAM 103 is loaded with data and programs to be processed by the CPU 101, and 104 is a card 1
Reference numeral 105 denotes a slot (socket) into which 2 is inserted, and 105 denotes a slot / card controller that controls the card 12 and the slot 104. Reference numeral 106 denotes an external storage device such as a hard disk or a floppy disk.
Reference numeral 7 denotes an input / output device such as a keyboard and a CRT that is connected to the information processing device 11 and that inputs / outputs data. The card 12 is used to expand the function of the information processing apparatus 11. For example, the function as a storage device such as RAM and ROM, the communication function such as LAN, FAX, and modem, or simply SCSI, parallel / Some have a data input / output function such as a serial port.

【0019】次に、図1のスロット・カードコントロー
ラ105の基本機能について、図2に従い説明する。
Next, the basic functions of the slot card controller 105 of FIG. 1 will be described with reference to FIG.

【0020】図1に示されるように、SCSIやモデ
ム、あるいは記憶装置としての機能を有するカード12
は、スロット104に挿入して使用される。スロット1
04は、スロット・カードコントローラ105と接続
し、制御されている。このスロット・カードコントロー
ラ105の基本機能は、大きく分けて、201のデコー
ダー部と、202の割り込み制御部とからなる。
As shown in FIG. 1, a card 12 having a function as a SCSI, a modem, or a storage device.
Is used by inserting it into the slot 104. Slot 1
04 is connected to and controlled by the slot / card controller 105. The basic function of the slot card controller 105 is roughly divided into a decoder unit 201 and an interrupt control unit 202.

【0021】デコーダー部201は、図1のRAM10
3上に配置されるシステムメモリ領域の任意のアドレス
に、カードのI/O、RAM、ROM等をマップ可能に
するものであり、自由にプログラム可能な構成となって
いる。また、203のデータ/アドレスバスを通じてデ
コーダー部201から、データおよびアドレスを送受信
するものである。
The decoder unit 201 is the RAM 10 of FIG.
The I / O, RAM, ROM, etc. of the card can be mapped to an arbitrary address of the system memory area arranged on the memory 3, and the configuration is freely programmable. Also, data and addresses are transmitted and received from the decoder unit 201 through the data / address bus 203.

【0022】割り込み制御部204は、カードの抜き差
し等に応じ、204の信号線を通じてCPU101に割
り込み信号を送る。
The interrupt control unit 204 sends an interrupt signal to the CPU 101 through a signal line 204 in response to insertion / removal of a card.

【0023】次に、起動時に設定される図1のRAM1
03に設定されるメモリマップの例について説明する。
Next, the RAM 1 of FIG. 1 which is set at the time of startup
An example of the memory map set to 03 will be described.

【0024】図3に示されるようにRAM103はいく
つかのエリアに分けられる。
As shown in FIG. 3, the RAM 103 is divided into several areas.

【0025】例えば、ハードウェア、ソフトウェアの割
り込み要求が起こったときに行う処理ルーチンのコール
先アドレスを収めた割り込みテーブルが格納されるエリ
アである割り込みテーブルエリア301、後述するBI
OSやOSが使用する制御データ(例えば画面の行数な
ど)を格納するエリアであるデータエリア302、オペ
レーティングシステムがロードされるエリアであるOS
エリア303、情報処理装置に使用されるカードや割り
込み信号等を制御するリソースマネージャプログラム
(以下、リソースマネージャプログラムをリソースマネ
ージャとする。)が格納されるエリアであるリソースマ
ネージャエリア304、アプリケーションプログラムが
ロードされるエリアであるアプリケーションプログラム
エリア305、後述のカードROM使用時に利用される
ダイナミックアロケーションエリア306や(以下ダイ
ナミックアロケーションエリア306を、DAA306
とする。)、情報処理装置の基本的な動作処理、入出力
処理に必要なプログラムいわゆるBIOS等がマッピン
グされるエリアであるBIOSエリア307等からな
る。
For example, an interrupt table area 301, which is an area for storing an interrupt table containing a callee address of a processing routine executed when a hardware or software interrupt request occurs, and BI to be described later.
A data area 302, which is an area for storing the OS and control data used by the OS (for example, the number of lines on the screen), and an OS, which is an area where the operating system is loaded.
An area 303, a resource manager area 304, which is an area in which a resource manager program for controlling a card used in an information processing device, an interrupt signal, and the like (hereinafter, a resource manager program is referred to as a resource manager) is stored, and an application program is loaded. Application program area 305 which is an area to be used, a dynamic allocation area 306 used when a card ROM described later is used, and
And ), A BIOS area 307, which is an area to which a program required for basic operation processing and input / output processing of the information processing apparatus, so-called BIOS, is mapped.

【0026】本実施例における上記DAA306は、後
述するカード12に格納されるアクセス制御プログラム
がマッピングされるエリアであり、リソースマネージャ
エリア304に格納されるリソースマネージャによっ
て、その制御処理が行われる。
The DAA 306 in this embodiment is an area to which an access control program stored in the card 12 described later is mapped, and its control processing is performed by the resource manager stored in the resource manager area 304.

【0027】それでは以下、カードの利用におけるリソ
ースマネージャの制御動作について説明する。
Now, the control operation of the resource manager in using the card will be described below.

【0028】図4は、図2のカード204の基本構成に
ついて示すものである。その構成を大きく分けると、4
01の機能部と、402の制御部とに分けられる。
FIG. 4 shows the basic structure of the card 204 shown in FIG. The structure is roughly divided into 4
It is divided into a functional unit 01 and a control unit 402.

【0029】機能部401は、カード自身が有する根本
的な機能を提供する部分であり、カードがメモリカード
のときは記憶機能を、通信カードのときは通信機能その
ものの機能を持つものである。
The function unit 401 is a part that provides a basic function of the card itself, and has a storage function when the card is a memory card and a communication function itself when the card is a communication card.

【0030】制御部402は、カードをシステムへ接続
したり、カードの機能を制御する部分である。この制御
部402には、403のプログラム、データ等が記憶保
持される読み出し専用メモリであるカードROMと、4
04のカードの機能に関わる設定情報が記憶保持される
読み出し/書き込み可能なメモリであるコンフィギュレ
ーション情報記憶部がある。
The control unit 402 is a unit for connecting the card to the system and controlling the function of the card. The control unit 402 includes a card ROM that is a read-only memory that stores and holds the programs and data of 403, and
There is a configuration information storage unit that is a readable / writable memory that stores and holds setting information related to the function of the No. 04 card.

【0031】カードROM403は、さらに3つのエリ
アに分けられており、システムに接続するためのカード
の初期化プログラムが納められたカード初期化プログラ
ム格納エリア4031と、カードの使用時にデータの入
出力を制御するデバイスドライバとしての機能を果たす
アクセス制御プログラムが格納されるアクセス制御プロ
グラム格納エリア4032と、ユーザがカードのコンフ
ィギュレーション情報を設定するとき、あるいは既に設
定されている情報を変更するときに使用されるセットア
ッププログラムが格納されるセットアッププログラム格
納エリア4033からなる。
The card ROM 403 is further divided into three areas. A card initialization program storage area 4031 in which a card initialization program for connecting to the system is stored and data input / output when the card is used. An access control program storage area 4032 in which an access control program that functions as a device driver for controlling is stored, and is used when the user sets the card configuration information or changes the already set information. A setup program storage area 4033 in which a setup program to be stored is stored.

【0032】コンフィギュレーション情報記憶部404
には、前述のカードの設定情報の他にカードROM40
3のロケーション情報、及び各エリアのアドレス等が格
納されている。
Configuration information storage unit 404
In addition to the above-mentioned card setting information, a card ROM 40
The location information of No. 3, the address of each area, and the like are stored.

【0033】また、カードROM403におけるカード
初期化プログラムはカードの挿入時に、アクセス制御プ
ログラムはカードの使用時に、またセットアッププログ
ラムはコンフィギュレーション情報の設定、変更時に呼
び出され、実行される。
The card initialization program in the card ROM 403 is called and executed when the card is inserted, the access control program is used when the card is used, and the setup program is called and set when the configuration information is set or changed.

【0034】なお、シリアル・パラレルデータ転送機能
しか持たないような比較的単純なカードでは、そのデー
タ転送機能を持った機能部41と、コンフィギュレーシ
ョン情報記憶部404とカードROM403の中のカー
ド初期化プログラムエリア4041だけで十分な場合も
ある。
In the case of a relatively simple card having only a serial / parallel data transfer function, the function unit 41 having the data transfer function, the configuration information storage unit 404, and the card initialization in the card ROM 403 are performed. In some cases, the program area 4041 may be sufficient.

【0035】次に、リソースマネージャの機能につい
て、図5の機能ブロック図に基づいて説明する。
Next, the function of the resource manager will be described with reference to the functional block diagram of FIG.

【0036】図中において501は、デバイスドライバ
常駐時に、内部データエリアの初期化を行う初期化部で
ある。さらに、この初期化部501は、そのデバイスド
ライバ常駐時にカードスロットの状態を調べ、既にカー
ドが挿入されていれば、カードの初期化、を併せて行う
処理を行う。502は、カード制御用の各種データを格
納するリソーステーブルであり、このリソーステーブル
502には、カードが挿入されるスロットの使用状況
と、OS等によってスロット毎にデバイス番号が割り当
てられているときにはそのデバイス番号とを格納するデ
バイスアサインテーブル503と、図4のカードROM
403に格納されたアクセス制御プログラムのコール先
アドレスを格納するアクセス制御プログラムオフセット
テーブル504と、同じく図4のカードROM403に
格納されたセットアッププログラムのコール先アドレス
を格納するセットアッププログラムオフセットテーブル
505がある。
In the figure, reference numeral 501 is an initialization unit for initializing the internal data area when the device driver is resident. Further, the initialization unit 501 checks the state of the card slot when the device driver is resident, and if the card is already inserted, initializes the card as well. Reference numeral 502 is a resource table that stores various data for card control. In this resource table 502, the usage status of the slot into which the card is inserted and the device number when the device number is assigned to each slot by the OS or the like. A device assignment table 503 for storing device numbers and the card ROM of FIG.
There are an access control program offset table 504 for storing the call destination address of the access control program stored in 403 and a setup program offset table 505 for storing the call destination address of the setup program also stored in the card ROM 403 of FIG.

【0037】図10は、リソーステーブル502の各テ
ーブルの構成例を示す模式図である。 前述したよう
に、リソーステーブル502には、デバイスアサインテ
ーブル503と、アクセス制御プログラムオフセットテ
ーブル504と、セットアッププログラムオフセットテ
ーブル505があり、それぞれのテーブルは情報処理装
置11に用意された複数のスロット0〜n毎に各種デー
タが格納される構成になっている。
FIG. 10 is a schematic diagram showing a configuration example of each table of the resource table 502. As described above, the resource table 502 includes the device assignment table 503, the access control program offset table 504, and the setup program offset table 505, and each table includes a plurality of slots 0 to 0 prepared in the information processing apparatus 11. Various data are stored for each n.

【0038】例えば、デバイスアサインテーブル503
には、各スロット0〜n毎に、そのスロットが使用され
ているか否か、つまりカードが挿入、接続されているか
否かをフラグによって識別するためのスロット使用フラ
グ記憶エリア1001と、各デバイス毎にあらかじめ定
められたデバイス番号を記憶するデバイス番号記憶エリ
ア1002からなる。また、アクセス制御プログラムオ
フセットテーブル504及びセットアッププログラムオ
フセットテーブル505には、各スロット0〜n毎にそ
れぞれのオフセットを記憶保持するアクセス制御プログ
ラムオフセット記憶エリア1003と、セットアッププ
ログラムオフセット記憶エリア1004がある。
For example, the device assignment table 503.
For each slot 0 to n, a slot use flag storage area 1001 for identifying whether or not the slot is used, that is, whether or not a card is inserted and connected, and a device for each device A device number storage area 1002 that stores a device number that is predetermined. Further, the access control program offset table 504 and the setup program offset table 505 have an access control program offset storage area 1003 for storing and holding each offset for each slot 0 to n, and a setup program offset storage area 1004.

【0039】また、リソースマネージャの他の機能とし
て、506の後述するデバイスアサイン処理を行うデバ
イスアサイン部と、507のカード/スロットコントロ
ーラ105からの割り込み信号を受けて割り込み制御処
理を行う割り込み制御部と、508のセットアップ処理
を起動するセットアップ処理部がある。
As other functions of the resource manager, a device assigning unit 506 for performing a device assigning process, which will be described later, and an interrupt control unit for receiving an interrupt signal from the card / slot controller 105, and performing an interrupt control process. , 508 for activating the setup processing.

【0040】次に、このリソースマネージャの動作につ
いて説明する。
Next, the operation of this resource manager will be described.

【0041】図6において、本発明におけるリソースマ
ネージャは、スロット・カードコントローラ105が、
スロット104におけるカード103の挿入あるいは抜
き取りを検出し、それに応じた割り込み信号によって起
動される(ステップ601)。 リソースマネージャ3
04では、この割り込み信号が、挿入による割り込み信
号か(ステップ602)、あるいはカードの引き抜きに
よる割り込み信号か(ステップ603)を判定する。挿
入による割り込み信号ならば、カード初期化処理を行う
(ステップ604)。引き抜きによる割り込み信号なら
ば、カード解除処理を行う(ステップ605)。そのど
ちらでもない場合は、その割り込み信号に応じた別の処
理、例えば外部記憶装置、入出力装置の制御処理等を行
う(ステップ606)。
In FIG. 6, the slot / card controller 105 is the resource manager of the present invention.
The insertion or removal of the card 103 in the slot 104 is detected, and the interrupt signal corresponding thereto is activated (step 601). Resource manager 3
In 04, it is determined whether this interrupt signal is an interrupt signal due to insertion (step 602) or an interrupt signal due to card removal (step 603). If it is an interrupt signal due to insertion, card initialization processing is performed (step 604). If it is an interruption signal due to pulling out, card release processing is performed (step 605). If it is neither of them, another processing corresponding to the interrupt signal, for example, control processing of the external storage device, the input / output device, or the like is performed (step 606).

【0042】図7は、カードの挿入による割り込み信号
を受け取ったときに行うカード初期化処理(ステップ6
04)を示す流れ図である。
FIG. 7 shows a card initialization process (step 6) which is carried out when an interrupt signal due to insertion of a card is received.
Fig. 04) is a flow chart.

【0043】まず、リソースマネージャは、ソケット及
びカードに電源を供給するよう、情報処理装置内の各部
に電源を供給する電源供給部に指示し(ステップ70
1)、電源供給後、ソケット、カードの状態が安定した
ら、図4のコンフィギュレーション情報記憶部404か
ら、カードROM403のロケーション情報を取得し
(ステップ702)、そのロケーション情報に基づいて
カードROM403を図3のDAA306にマッピング
する(ステップ703)。
First, the resource manager instructs the power supply unit that supplies power to each unit in the information processing apparatus to supply power to the socket and the card (step 70).
1) After power is supplied, when the socket and the card are stable, the location information of the card ROM 403 is acquired from the configuration information storage unit 404 of FIG. 4 (step 702), and the card ROM 403 is displayed based on the location information. Mapping to the DAA 306 of 3 (step 703).

【0044】そして、再びコンフィギュレーション情報
記憶部404を参照して、マッピングしたカードROM
403におけるカード初期化プログラムエリアのアドレ
スを取得し、そのアドレスに従ってカード初期化プログ
ラムの呼び出し実行する(ステップ704)。カード初
期化プログラムが終了したら、リソースマネージャは、
そのカードが挿入されたスロットに対応するデバイスア
サインテーブル503のデバイス番号記憶エリア100
2にそのカードのデバイス番号を格納するとともに、ス
ロット使用フラグ記憶エリア1001にスロットが使用
中であることを示すフラグをセットする(ステップ70
5)。そして、DAA306からそのカードROM40
3に該当する部分を開放して終了する(ステップ70
6)。
Then, referring again to the configuration information storage unit 404, the mapped card ROM
The address of the card initialization program area in 403 is obtained, and the card initialization program is called and executed according to the address (step 704). After the card initialization program is finished, the resource manager
The device number storage area 100 of the device assignment table 503 corresponding to the slot in which the card is inserted.
The device number of the card is stored in 2 and a flag indicating that the slot is in use is set in the slot use flag storage area 1001 (step 70).
5). Then, from the DAA 306 to the card ROM 40
The part corresponding to 3 is released and the process ends (step 70).
6).

【0045】図8は、図7で説明したカード初期化処理
における、カード初期化プログラムの動作を示す流れ図
である。
FIG. 8 is a flow chart showing the operation of the card initialization program in the card initialization processing described with reference to FIG.

【0046】このプログラムでは、まず、セットアップ
プログラムの起動が必要かどうかを判定する(ステップ
801)。セットアッププログラムの実行が必要な場合
とは、例えば、一番最初にカードを使用するとき、カー
ド側ではどの割り込み、どのI/Oを使用するのかが設
定されていないため、自動的にセットアップ処理を行う
とか、他のカードの同時利用において割り込み、I/O
の設定に競合が起こるとき、もしくはユーザーの指示等
によりその設定を変更する必要がある場合などがあげら
れる。このようなときは後述するセットアップ処理を行
う(ステップ802)。すでにセットアップ情報が図4
のコンフィギュレーション情報記憶部404に設定登録
されており、セットアップ処理を行う必要がないとき、
あるいはセットアップ処理を実行し、新たに設定したと
きには、そのセットアップ情報に従い、コンフィギュレ
ーション処理を行う(ステップ803)。
In this program, first, it is determined whether or not the setup program needs to be activated (step 801). When it is necessary to execute the setup program, for example, when the card is used for the first time, which interrupt and which I / O is to be used are not set on the card side. Doing or interrupting when using other cards simultaneously, I / O
When there is a conflict in the settings, or when it is necessary to change the settings according to the user's instructions. In such a case, a setup process described later is performed (step 802). The setup information is already shown in Figure 4.
Is registered in the configuration information storage unit 404 of, and there is no need to perform setup processing,
Alternatively, the setup process is executed, and when a new setting is made, the configuration process is performed according to the setup information (step 803).

【0047】コンフィギュレーション処理とは、カード
12の機能部401が動作環境を設定するものであり、
これによって設定された環境はコンフィギュレーション
情報記憶部404にて記憶保持される。
The configuration process is for the functional unit 401 of the card 12 to set the operating environment.
The environment set by this is stored and held in the configuration information storage unit 404.

【0048】そして、図4のコンフィギュレーション情
報記憶部404に格納されている情報に基づき、カード
ROM403のアクセス制御プログラム格納エリア40
32、セットアッププログラム格納エリア4033に納
められている各プログラムのコール先アドレスを、図1
0に示す、そのスロットに対応するアクセス制御プログ
ラムオフセット記憶エリア1003、セットアッププロ
グラムオフセット記憶エリア1004に格納し(ステッ
プ804)、制御をリソースマネージャに返す。
Then, based on the information stored in the configuration information storage unit 404 of FIG. 4, the access control program storage area 40 of the card ROM 403.
32, the call destination address of each program stored in the setup program storage area 4033 is shown in FIG.
0 is stored in the access control program offset storage area 1003 and the setup program offset storage area 1004 corresponding to the slot (step 804), and control is returned to the resource manager.

【0049】なお、この各コール先アドレスをオフセッ
トテーブルに格納する処理(ステップ804)は、図7
のカード初期化処理におけるスロット使用のフラグセッ
ト時に行うようにしてもよい。
The process of storing each call destination address in the offset table (step 804) is shown in FIG.
It may be performed at the time of setting the slot use flag in the card initialization process.

【0050】また、より現実的なカード初期化プログラ
ムには、コンフィギュレーション処理(ステップ80
3)の後、初期診断処理を行うものがある。このような
カード初期化プログラムでは、初期診断処理によって異
常が発見された場合、エラーコードを出力し、リソース
マネージャに処理を戻す。このとき、リソースマネージ
ャは、図7のカード初期化処理におけるスロット使用フ
ラグのセット(ステップ705)を行わず、カードRO
M403をDAA306から開放した後、スロット及び
カードへの電源供給を停止する。
For a more realistic card initialization program, a configuration process (step 80)
After 3), there is one that performs an initial diagnosis process. In such a card initialization program, when an abnormality is found by the initial diagnosis processing, an error code is output and the processing is returned to the resource manager. At this time, the resource manager does not set the slot use flag (step 705) in the card initialization process of FIG.
After releasing the M403 from the DAA 306, the power supply to the slot and the card is stopped.

【0051】次に、カードの初期化処理が終了した後、
情報処理装置11で実行されるオペレーティングシステ
ムあるいはアプリケーションプログラム等から、カード
12に対しアクセス要求があったときのリソースマネー
ジャの動作について説明する。 図9は、アクセス要求
時におけるリソースマネージャの処理を示すものであ
る。 まず、リソースマネージャは、そのアクセス要求
が接続されたカードに対するものかどうかを、図5のデ
バイスアサインテーブル503を参照して判断する(ス
テップ901)。
Next, after the card initialization process is completed,
The operation of the resource manager when an access request is made to the card 12 from the operating system or application program executed by the information processing apparatus 11 will be described. FIG. 9 shows the processing of the resource manager at the time of access request. First, the resource manager refers to the device assignment table 503 of FIG. 5 to determine whether the access request is for the connected card (step 901).

【0052】リソースマネージャは、オペレーティング
システムあるいはアプリケーションプログラムからアク
セス要求されたデバイス番号に該当するものがあるかど
うか上記デバイス番号記憶エリア1002を検索し、デ
バイス番号の一致するものがあれば、そのアクセス要求
がスロットに挿入されたカードに対するものであると判
定する。一方、一致するデバイス番号がない場合は、そ
の要求されたデバイスはカードに対するものでないと判
定し、オペレーティングシステムに制御を戻して(ステ
ップ902)、終了する。
The resource manager searches the device number storage area 1002 for a device number requested by the operating system or application program for access, and if there is a device number match, the access request is made. Is for the card inserted in the slot. On the other hand, if there is no matching device number, it is determined that the requested device is not for the card, control is returned to the operating system (step 902), and the process ends.

【0053】一方、上記検索判定の結果、アクセス要求
がカードに対するものであると判定されたときは、対応
するカードのカードROM403をDAA306にマッ
ピングし(ステップ903)、アクセス制御プログラム
オフセットテーブル504のアクセス制御プログラムオ
フセット記憶エリア1003から、そのスロットに対応
するオフセット値によってアクセス制御プログラムを呼
び出し実行する(ステップ904)。
On the other hand, as a result of the above search determination, when it is determined that the access request is for the card, the card ROM 403 of the corresponding card is mapped to the DAA 306 (step 903), and the access control program offset table 504 is accessed. The access control program is called and executed from the control program offset storage area 1003 with the offset value corresponding to the slot (step 904).

【0054】アクセス制御プログラムでは、オペレーテ
ィングシステム、アプリケーションプログラムからのア
クセス要求に対する処理を実行し、処理の終了後、リソ
ースマネージャに制御を戻す。リソースマネージャは、
DAA306にマッピングされたカードROM306を
開放し終了する(ステップ905)。
The access control program executes the processing for the access request from the operating system and the application program, and returns the control to the resource manager after the processing is completed. Resource manager
The card ROM 306 mapped to the DAA 306 is released and the processing is terminated (step 905).

【0055】次に、スロットからカードの抜き取りを行
ったときのカード解除処理について説明する。
Next, the card releasing process when the card is removed from the slot will be described.

【0056】図11は、スロット・カードコントローラ
カード105からの抜き取り割り込み信号が検出された
ときのリソースマネージャにおけるカード解除処理を示
した図である。
FIG. 11 is a diagram showing the card release processing in the resource manager when the removal interrupt signal from the slot / card controller card 105 is detected.

【0057】まず、リソースマネージャでは、どのスロ
ットからの割り込み信号かをチェックし、そのスロット
に対応するリソーステーブル502のデバイス番号記憶
エリア1002、アクセス制御プログラムオフセット記
憶エリア1003、セットアッププログラムオフセット
記憶エリア1004の各データをクリアするとともに、
DAA306にそのスロットのカードROMがマッピン
グされているならば、そのカードROMに対応する領域
の開放処理を行う(ステップ1101)。
First, the resource manager checks which slot the interrupt signal is from, and checks the device number storage area 1002, access control program offset storage area 1003, and setup program offset storage area 1004 of the resource table 502 corresponding to that slot. While clearing each data,
If the card ROM of the slot is mapped to the DAA 306, the area corresponding to the card ROM is released (step 1101).

【0058】次に、そのスロットに対応するスロット使
用フラグ記憶エリア1001のフラグを使用状態から未
使用状態にし(ステップ1102)、最後にそのスロッ
トへの通電を切断する(ステップ1103)。
Next, the flag of the slot use flag storage area 1001 corresponding to the slot is changed from the used state to the unused state (step 1102), and finally the power supply to the slot is cut off (step 1103).

【0059】次に、カードのコンフィギュレーション情
報の登録/変更を行うセットアップ処理について、図1
2に従い説明する。
Next, the setup process for registering / changing the card configuration information will be described with reference to FIG.
2 will be described.

【0060】この処理は、前述したように、例えば、一
番最初にカードを使用するとき、カード側ではどの割り
込み、どのI/Oを使用するのかが設定されていないた
め、自動的にセットアップ処理を行うとか、他のカード
の同時利用において割り込み、I/Oの設定に競合が起
こるとき、もしくはユーザーの指示等によりその設定を
変更する必要がある場合などに、起動される。
As described above, this process is automatically set up because, for example, when the card is used for the first time, which interrupt and which I / O is to be used are not set on the card side. Or when there is a conflict in the simultaneous use of other cards, conflicts in I / O settings, or when it is necessary to change the settings according to a user's instruction or the like.

【0061】まず、リソースマネージャは、ユーザか
ら、図1の入出力装置107を通じてコンフィギュレー
ション情報の変更要求があったときや、あるいは、コン
フィギュレーション情報記憶部404に所定の情報が登
録されていないときなどに、そのスロットのカードRO
M403をDAA306にマッピングし(ステップ12
01)、対応するスロットのセットアッププログラムオ
フセットテーブル記憶エリア1004のコール先アドレ
スによって、セットアッププログラムを呼び出し実行す
る(ステップ1202)。
First, the resource manager receives a request for changing the configuration information from the user through the input / output device 107 of FIG. 1, or when predetermined information is not registered in the configuration information storage unit 404. For example, the card RO in that slot
Map M403 to DAA 306 (step 12
01), the setup program is called and executed by the callee address of the setup program offset table storage area 1004 of the corresponding slot (step 1202).

【0062】こうして起動されたセットアッププログラ
ムに基づいてセットアップ処理を行う。例えば、情報処
理装置に接続された表示装置に入力ガイダンスなどを表
示し、入力装置からの入力情報によって、コンフィギュ
レーション情報の登録、更新を行う。
Setup processing is performed based on the setup program thus started. For example, an input guidance or the like is displayed on a display device connected to the information processing device, and the configuration information is registered or updated according to the input information from the input device.

【0063】セットアップ処理が終了すると、制御をリ
ソースマネージャに返し、リソースマネージャは、DA
A306から、そのカードROMをマッピングにしたエ
リアを開放する(ステップ1203)。
When the setup process is completed, control is returned to the resource manager, and the resource manager
The area where the card ROM is mapped is opened from A306 (step 1203).

【0064】なお、このセットアッププログラムの終了
後、続けて、前述の初期化プログラムを実行する構成に
してもよい。そうすれば、セットアップ処理の終了後、
カードを一度引き抜き、再度挿入しなおして、新しく設
定したコンフィギュレーション情報によってカードを利
用可能にするといった、再立ち上げ手続きを行う必要な
く、新コンフィギュレーションによるカードの利用が可
能になる。
It should be noted that the above initialization program may be continuously executed after the completion of the setup program. That way, after the setup process is complete,
It is possible to use the card with the new configuration without having to perform a restart procedure such as pulling out the card once, reinserting it again, and making the card available with the newly set configuration information.

【0065】また、大量の処理を連続してカードに対し
て行うときのオーバヘッドを短縮させるために、リソー
スマネージャに、カードROMのマッピングに対するロ
ック、アンロック機能をもたせるようにしてもよい。こ
のロック、アンロック機能とは、オペレーティングシス
テムあるいはアプリケーションプログラムから、あるカ
ードに対してロック要求があったときから、そのカード
に対するアンロック要求があるまで、そのカードのカー
ドROMをDAA306にマッピングしたままの状態に
するという機能である。これにより、一度、カードデバ
イスのロックをすると、上記実施例におけるカードのマ
ッピング処理あるいは開放処理等を行わないため、その
カードに対するアクセス処理を高速に行うことが可能に
なる。
Further, in order to reduce the overhead when a large amount of processing is continuously performed on the card, the resource manager may be provided with a lock / unlock function for the mapping of the card ROM. The lock / unlock function means that the card ROM of the card remains mapped to the DAA 306 from when the operating system or application program issues a lock request to the card until the unlock request is issued to the card. It is a function to change to the state. As a result, once the card device is locked, the card mapping process or opening process in the above-described embodiment is not performed, so that the access process to the card can be performed at high speed.

【0066】なお、ロック要求されたカード以外のカー
ドに対しアクセス要求があった場合、リソースマネージ
ャはそのアクセスを拒否して、エラーコードを返すよう
にしてもよいが、一時的にロックを解除し、他のカード
ROMをDAA306にマッピングして、アクセスを行
い、その処理が終了した後に、再びロック要求されてい
るカードのROMをマッピングし直すようにしても良
い。
When an access request is made to a card other than the lock-requested card, the resource manager may deny the access and return an error code, but the lock is temporarily released. Alternatively, another card ROM may be mapped to the DAA 306 for access, and after the processing is completed, the ROM of the card for which the lock is requested may be remapped.

【0067】このとき、そのカードが一時的なロック解
除状態にあることを記憶するエリアを、前述のデバイス
アサインテーブル503に設けておき、ロック中以外の
カードに対するアクセス要求がきた場合、ロック中のカ
ードに対応するエリアに一時解除状態にすることを示す
データを書き込み、DAA306にマッピングされたカ
ードROMエリアを開放する。そしてアクセス要求のあ
ったカードのカードROMをDAA306にマッピング
し、アクセス要求に応じた処理を行う。その処理が終わ
ると、リソースマネージャは、前記一時的なロック解除
状態にあること記憶するエリアを参照して、一時解除状
態にあるカードがあるか否かを検索し、そのような状態
のカードがあれば、そのカードのカードROMをDAA
306に再びマッピングしてロック状態に戻す処理を行
う。
At this time, an area for storing that the card is temporarily in the unlocked state is provided in the above-mentioned device assign table 503, and when an access request to a card other than the locked state is received, the locked state is set. Data indicating that the temporary release state is set is written in the area corresponding to the card, and the card ROM area mapped in the DAA 306 is released. Then, the card ROM of the card for which the access request is made is mapped to the DAA 306, and the processing according to the access request is performed. When the processing is completed, the resource manager refers to the area for storing that the temporary unlocked state is stored and searches for a card in the temporary unlocked state. If so, DAA the card ROM of that card
The process of mapping again to 306 and returning to the locked state is performed.

【0068】このようにすれば、たとえカードROMが
ロック状態にあっても別のカードにアクセスを行うこと
が可能となる。なお、このようなカードロックの割り込
み機能は、通常のアクセス要求とは異なる特別のアクセ
ス要求に対してのみ行う構成にしてもよい。また、一時
解除状態にレベルを設け、複数のカードに対してロッ
ク、アンロック機能を活用できるようにしてもよい。
In this way, it is possible to access another card even if the card ROM is locked. The card lock interrupt function may be performed only for a special access request different from the normal access request. Further, a level may be provided in the temporarily released state so that the lock / unlock function can be utilized for a plurality of cards.

【0069】なお、上記実施例では、カード内部におけ
るカード初期化プログラム格納部404に格納されてい
るカード初期化プログラムのコール先を、コンフィギュ
レーション情報記憶部404から読み出す構成である
が、コンフィギュレーション情報記憶部を参照せずに、
あらかじめ定められた特定の固定アドレスによって、プ
ログラムの呼び出しを行うようにしてもよい。
In the above embodiment, the call destination of the card initialization program stored in the card initialization program storage unit 404 inside the card is read from the configuration information storage unit 404. Without referring to the memory
The program may be called by a predetermined specific fixed address.

【0070】例えば、図13は、パーソナルコンピュー
タで使用されるカードのメモリマップの一例を示す概略
図である。これによれば、リソースマネージャは最初の
2バイトをみて、それが特定の値、例えばAA55hな
らば、カード内部の記憶保持手段(例えばROM)に格
納されたカード初期化プログラムに対応するものである
と判定するとともに、3バイト目に示されるそのサイズ
からカードROMのチェックサムを計算し、そのチェッ
クサムが正しいことが確認されたならば、次の4バイト
目に格納されたアドレスをコールするようにする。この
処理によって、図7のカード初期化プログラムのコール
(ステップ704)を行う構成にしてもよい。
For example, FIG. 13 is a schematic diagram showing an example of a memory map of a card used in a personal computer. According to this, the resource manager looks at the first 2 bytes, and if it is a specific value, for example AA55h, it corresponds to the card initialization program stored in the memory holding means (for example, ROM) inside the card. When it is determined that the checksum of the card ROM is calculated from the size shown in the 3rd byte and that the checksum is correct, the address stored in the 4th byte is called. To By this processing, the card initialization program of FIG. 7 may be called (step 704).

【0071】また、DAA306のサイズに応じて、複
数のカードROMが同時にマッピングされるような構成
にしてもよい。
A plurality of card ROMs may be simultaneously mapped depending on the size of the DAA 306.

【0072】[0072]

【発明の効果】本発明によれば、カードのコンフィギュ
レーション情報の設定及び制御動作に必要とされるメモ
リを無駄なく使用することができる。また、カードの接
続、アクセスするのに必要な各種プログラムはカード自
身が持っており、必要なとき必要なプログラムが呼び出
されて実行されるため、ユーザがこれらのプログラムの
呼び出し実行や、システムへの登録を行う必要がなくな
り、ユーザにかかる負担を減らし、カード利用を簡単容
易にする。
According to the present invention, the memory required for setting and controlling the configuration information of the card can be used without waste. In addition, since the card itself has various programs necessary for connecting and accessing the card, and the necessary programs are called and executed when necessary, so the user can call these programs and execute them. It eliminates the need for registration, reduces the burden on the user, and facilitates card usage.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例による装置の基本構成を示す
ブロック図
FIG. 1 is a block diagram showing a basic configuration of an apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例によるスロット・カードコン
トローラの基本機能を示すブロック図
FIG. 2 is a block diagram showing basic functions of a slot card controller according to an embodiment of the present invention.

【図3】本発明の一実施例によるメモリマップを示す図FIG. 3 is a diagram showing a memory map according to an embodiment of the present invention.

【図4】本発明の一実施例によるカードの基本機能を示
すブロック図
FIG. 4 is a block diagram showing basic functions of a card according to an embodiment of the present invention.

【図5】図3におけるリソースマネージャの基本機能の
一実施例を示すブロック図
5 is a block diagram showing an embodiment of basic functions of the resource manager in FIG.

【図6】本発明の一実施例によるカードの抜き差しによ
る割り込み処理を示す図
FIG. 6 is a diagram showing interrupt processing by inserting and removing a card according to an embodiment of the present invention.

【図7】本発明の一実施例におけるカード挿入時にリソ
ースマネージャの処理を示す図
FIG. 7 is a diagram showing processing of a resource manager at the time of inserting a card in the embodiment of the present invention.

【図8】本発明の一実施例におけるカード挿入時にカー
ドの初期化プログラムの処理を示す図
FIG. 8 is a diagram showing a process of a card initialization program when a card is inserted in the embodiment of the present invention.

【図9】本発明の一実施例におけるカードアクセス時に
リソースマネージャの処理を示す図
FIG. 9 is a diagram showing processing of a resource manager at the time of card access according to an embodiment of the present invention.

【図10】本発明の一実施例によるリソーステーブルの
概念を示す図
FIG. 10 is a diagram showing a concept of a resource table according to an embodiment of the present invention.

【図11】本発明の一実施例によるカード抜き差し時に
リソースマネージャ処理を示す図
FIG. 11 is a diagram showing a resource manager process at the time of inserting / removing a card according to an embodiment of the present invention.

【図12】本発明の一実施例によるセットアップ要求時
にリソースマネージャ処理を示す図
FIG. 12 is a diagram showing a resource manager process during a setup request according to an embodiment of the present invention.

【図13】本発明の一実施例によるカードROMのメモ
リマップを示す図
FIG. 13 is a diagram showing a memory map of a card ROM according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

11 情報処理装置 12 カード 101 CPU 102 RAM
103 ROM 104 スロット 105 スロット・カー
ドコントローラ 106 外部記憶装置 107 入出力装置
11 information processing device 12 card 101 CPU 102 RAM
103 ROM 104 slot 105 slot / card controller 106 external storage device 107 input / output device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】活線挿抜が可能な拡張機能を持ったカード
を利用する情報処理装置において、 前記カードを当該情報処理装置にて使用可能にする処理
を行う使用制御手段と、 前記カードに対する使用要求
を監視し、前記使用要求があったとき、前記使用制御手
段を起動し、該カードに対する使用要求が終了したと
き、前記使用制御手段を解除する使用監視手段と、 を有することを特徴とする情報処理装置。
1. An information processing apparatus using a card having an extension function capable of hot-line insertion / removal, use control means for performing processing for enabling the card in the information processing apparatus, and use for the card. A usage monitoring means for monitoring a request, activating the usage control means when there is the usage request, and canceling the usage control means when the usage request for the card is completed; Information processing equipment.
【請求項2】活線挿抜が可能な拡張機能を持ったカード
を利用する情報処理装置において、 前記カードの挿入及び引き抜きを検出するカード検出手
段と、 前記カードを当該情報処理装置にて使用可能にする処理
を行う使用制御手段と、 該カード検出手段により前記
カードの挿入が検出されたとき、該カードを当該情報処
理装置に登録し、当該登録されたカードの引き抜きが検
出されたとき、該カードを当該情報処理装置から開放す
る登録開放手段と、 前記登録開放手段によって登録された前記カードに対す
る使用要求を監視し、該使用要求があったとき、前記使
用制御手段を起動し、該カードに対する使用要求が終了
したとき、前記使用制御手段を解除する使用監視手段
と、 を有することを特徴とする情報処理装置。
2. An information processing apparatus using a card having an extension function capable of hot-line insertion / removal, and card detection means for detecting insertion / removal of the card, and the card can be used in the information processing apparatus. When the insertion of the card is detected by the card detecting means, the card is registered in the information processing device, and when the card is removed from the registered card, A registration releasing means for releasing the card from the information processing device, and a use request for the card registered by the registration releasing means are monitored, and when the use request is made, the use control means is activated to An information processing apparatus comprising: a usage monitoring unit that releases the usage control unit when a usage request ends.
【請求項3】前記使用制御手段および前記登録開放手段
におけるそれぞれの処理手順は、当該カードに設けられ
たカード記憶手段に格納されており、前記各場合に応じ
て前記情報処理装置における前記各手段によって読み出
され実行されることを特徴とする特許請求の範囲第2項
記載の情報処理装置。
3. The processing procedure of each of the use control means and the registration opening means is stored in a card storage means provided in the card, and each means in the information processing apparatus is stored according to each case. The information processing apparatus according to claim 2, wherein the information processing apparatus is read and executed by the method.
【請求項4】活線挿抜により接続可能な拡張機能を持っ
たカードを利用する情報処理装置であり、 前記カードを挿入するスロットと、該カードの拡張機能
を利用するためのプログラムが格納される第1の記憶領
域、該カードを利用するために必要な情報を記憶する第
2の記憶領域を含む第1の記憶手段と、前記第1の記憶
手段の前記プログラムを実行する実行手段を持つ情報処
理装置とを有する情報処理装置において、 前記カード
は、当該カードによって提供される拡張機能を実現する
ための拡張機能部の他に、 少なくとも、前記カードを前記情報処理装置に登録する
ための初期化処理を行う初期化プログラムと、前記カー
ドの拡張機能を前記情報処理装置にて使用するための制
御処理を行う使用制御プログラムとを記憶保持する第2
の記憶手段を有するカードであって、 前記情報処理装置は、 前記カードの挿入及び引き抜きを検出するカード検出手
段と、 前記情報処理装置における前記カードの使用を要求を監
視する使用要求監視手段と、 該カード検出手段により前記カードの挿入が検出された
とき、前記第2の記憶手段から前記初期化プログラムを
前記第1の記憶手段の前記第1の記憶領域に読み出して
前記実行手段で実行し、前記初期化プログラムによる登
録情報を前記第2の記憶領域に記憶し、該初期化プログ
ラムが終了すると該初期化プログラムが格納された前記
第1の領域を開放し、前記使用要求監視手段より前記カ
ードに対する使用要求が検出されたとき、該使用要求が
前記第2の記憶領域に記憶されている登録情報を検索
し、すでに登録されているカードであるならば、対応す
るカードの前記使用制御プログラムを前記第1の記憶手
段の前記第1の記憶領域に読み出して前記実行手段で実
行し、前記使用要求監視手段により当該使用要求の終了
が検出されたとき、前記使用制御プログラムが読み出さ
れた前記第1の記憶領域をクリアし、前記カード検出手
段により前記カードの引き抜きが検出されたとき、前記
第2の記憶領域から該引き抜かれたカードに対応する登
録情報をクリアするカード制御手段と、を有することを
特徴とする情報処理装置。
4. An information processing apparatus that uses a card having an expansion function that can be connected by hot-plugging, in which a slot for inserting the card and a program for using the expansion function of the card are stored. Information having a first storage area, a first storage means including a second storage area for storing information necessary for using the card, and an execution means for executing the program of the first storage means In an information processing device having a processing device, the card has at least an initialization function for registering the card in the information processing device, in addition to an expansion function unit for realizing an expansion function provided by the card. A second storage means for storing and holding an initialization program for performing processing, and a use control program for performing control processing for using the extended function of the card in the information processing apparatus.
A card having a storage unit, the information processing device, a card detection unit that detects insertion and removal of the card, a usage request monitoring unit that monitors a request to use the card in the information processing device, When the insertion of the card is detected by the card detection means, the initialization program is read from the second storage means into the first storage area of the first storage means and executed by the execution means, Registration information by the initialization program is stored in the second storage area, and when the initialization program ends, the first area in which the initialization program is stored is released, and the use request monitoring means causes the card to be released. When a use request for the card is detected, the use request retrieves the registration information stored in the second storage area, and the already registered card is searched. Then, the usage control program of the corresponding card is read into the first storage area of the first storage means and executed by the execution means, and the end of the usage request is detected by the usage request monitoring means. When the card detection means detects that the card has been pulled out, the card that has been pulled out from the second storage area is cleared. And a card control unit that clears registration information corresponding to the information processing device.
JP2788195A 1995-02-16 1995-02-16 Information processor Pending JPH08221222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2788195A JPH08221222A (en) 1995-02-16 1995-02-16 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2788195A JPH08221222A (en) 1995-02-16 1995-02-16 Information processor

Publications (1)

Publication Number Publication Date
JPH08221222A true JPH08221222A (en) 1996-08-30

Family

ID=12233241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2788195A Pending JPH08221222A (en) 1995-02-16 1995-02-16 Information processor

Country Status (1)

Country Link
JP (1) JPH08221222A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487589B1 (en) 1996-12-26 2002-11-26 Hitachi, Ltd. Information device, information device system control method, and information device system
JP2003521778A (en) * 2000-02-04 2003-07-15 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Virtual ROM for device enumeration
US6691150B1 (en) 1996-12-26 2004-02-10 Hitachi, Ltd. Information device, information device system control method, and information device system
JP2012168979A (en) * 2000-08-17 2012-09-06 Sandisk Corp Multiple removable non-volatile memory cards serially communicating with host
US10599063B2 (en) 2016-03-22 2020-03-24 Canon Kabushiki Kaisha Image forming apparatus having first and second peripheral velocity ratios

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487589B1 (en) 1996-12-26 2002-11-26 Hitachi, Ltd. Information device, information device system control method, and information device system
US6691150B1 (en) 1996-12-26 2004-02-10 Hitachi, Ltd. Information device, information device system control method, and information device system
US6728765B2 (en) 1996-12-26 2004-04-27 Hitachi, Ltd. Information device, information device system control method, and information device system
US7136910B2 (en) 1996-12-26 2006-11-14 Hitachi, Ltd. Information device, information device system control method, and information device system
JP2003521778A (en) * 2000-02-04 2003-07-15 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Virtual ROM for device enumeration
JP2012168979A (en) * 2000-08-17 2012-09-06 Sandisk Corp Multiple removable non-volatile memory cards serially communicating with host
US8700833B2 (en) 2000-08-17 2014-04-15 Sandisk Corporation Data storage device with host-accessible indicator
US10599063B2 (en) 2016-03-22 2020-03-24 Canon Kabushiki Kaisha Image forming apparatus having first and second peripheral velocity ratios

Similar Documents

Publication Publication Date Title
US6795912B1 (en) Method for controlling computer, computer, and storage medium
US6496893B1 (en) Apparatus and method for swapping devices while a computer is running
US6961791B2 (en) Method for expansion and integration of option ROM support utilities for run-time/boot-time usage
US6247126B1 (en) Recoverable software installation process and apparatus for a computer system
CA2082118C (en) Computer, and apparatus and method for system reconfiguration thereof
US5768568A (en) System and method for initializing an information processing system
TWI263937B (en) Nonvolatile logical partition system data management
US6282641B1 (en) System for reconfiguring a boot device by swapping the logical device number of a user selected boot drive to a currently configured boot drive
CA2276565C (en) Method and system for configuring plug and play devices for a computer operating system
US20090113173A1 (en) Computer system and method that eliminates the need for an operating system
US6934956B1 (en) Method and apparatus for installing an operating system
US5797031A (en) Method and apparatus for peripheral device control by clients in plural memory addressing modes
US6272627B1 (en) Method and apparatus for booting up a computing system with enhanced graphics
EP1252569B1 (en) Virtual rom for device enumeration
EP2189906A1 (en) Method and apparatus for abnormality recovering of data card, and data card
JPH08221222A (en) Information processor
WO2001065365A1 (en) Apparatus and method for swapping devices while a computer is running
JP2008009659A (en) Device connecting method, host equipment, and program for connecting device equipment
WO2021181537A1 (en) Information processor, information processing method, and information processing program
CN117369891B (en) Method and device for starting and running server, server and storage medium
JP2003132407A (en) Automatic vending machine controller
JP2002024024A (en) Method and system for performing adapater configuration routine by using different operation mode
CN115129350A (en) BMC firmware updating system and method under UEFI environment
JP2003015951A (en) Image formation device
JP2002229800A (en) Information processor