JPH04235655A - Peripheral device control method - Google Patents

Peripheral device control method

Info

Publication number
JPH04235655A
JPH04235655A JP3011646A JP1164691A JPH04235655A JP H04235655 A JPH04235655 A JP H04235655A JP 3011646 A JP3011646 A JP 3011646A JP 1164691 A JP1164691 A JP 1164691A JP H04235655 A JPH04235655 A JP H04235655A
Authority
JP
Japan
Prior art keywords
peripheral device
peripheral
determined
devices
specification data
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.)
Withdrawn
Application number
JP3011646A
Other languages
Japanese (ja)
Inventor
Yoshio Arai
新井 淑夫
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP3011646A priority Critical patent/JPH04235655A/en
Publication of JPH04235655A publication Critical patent/JPH04235655A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a peripheral device control method that can increase the peripheral devices and separate them from each other without restarting a computer although it is working. CONSTITUTION:The peripheral devices 5 having the specification data specifying the types of devices 5 are controlled by a single device driver 4 in a peripheral device control method. The connection or separation is decided among those devices 5 to all connection parts where the devices 5 are connected to each other. Based on this deciding result, the specification data on the devices 5 ere set or cleared to the data areas of the driver 4 and the system 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、周辺装置の管理方法に
関し、特に汎用インタフェースを用いた周辺装置の管理
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for managing peripheral devices, and more particularly to a method for managing peripheral devices using a general-purpose interface.

【0002】0002

【従来の技術】従来、コンピュータに接続する、汎用イ
ンタフェースを用いている周辺装置の管理方法において
は、デバイスドライバがシステムの起動する一番最初だ
けに周辺装置の接続状況のチェックを行っていた。
2. Description of the Related Art Conventionally, in a method for managing peripheral devices connected to a computer using a general-purpose interface, a device driver checks the connection status of the peripheral device only at the very beginning when the system is started.

【0003】0003

【発明が解決しようとする課題】上述した従来の汎用イ
ンタフェースにて接続される周辺装置の管理方法におい
ては、システムの起動する一番最初だけに周辺装置の接
続状況のチェックを行っていたために、システムの実行
中に新たに周辺装置を接続しても使用できないという問
題があった。例えば、従来の周辺装置の管理方法におい
ては、業務の途中で突発的に大容量の固定ディスクの内
容を、磁気テープなどにセーブしなければならなくなっ
た場合でも、システムの起動時に磁気テープ装置が接続
されていない場合は、デバイスドライバが磁気テープ装
置を認識できないため、今まで行っていた業務を放棄し
てシステムを再立ち上げしなければならないといった問
題があった。本発明の課題は、システムの使用中でも再
立ち上げすることなく、周辺装置の増設や切り離しをす
ることができる周辺装置の管理方法を提供することにあ
る。
[Problem to be Solved by the Invention] In the conventional method for managing peripheral devices connected via a general-purpose interface as described above, the connection status of peripheral devices is checked only at the very beginning when the system is started. There was a problem in that even if a new peripheral device was connected while the system was running, it could not be used. For example, with conventional peripheral device management methods, even if you suddenly need to save the contents of a large-capacity fixed disk to magnetic tape during a business operation, the magnetic tape device is automatically saved when the system starts up. If it is not connected, the device driver will not be able to recognize the magnetic tape device, resulting in the problem that you will have to abandon the work you were doing and restart the system. An object of the present invention is to provide a peripheral device management method that allows peripheral devices to be added or disconnected even when the system is in use without restarting the system.

【0004】0004

【課題を解決するための手段】本発明によれば、汎用イ
ンタフェースにて接続されると共に名別に種類を特定す
る諸元データを有する周辺装置を、オペレーティングシ
ステムの1つのデバイスドライブにより、これらのオペ
レーティングシステムおよびデバイスドライブのデータ
エリアに対し前記諸元データをセットまたはクリアして
管理する周辺装置の管理方法において、周辺装置を接続
するためのすべての接続部に周辺装置が接続されている
かを判断する第1のステップと、第1のステップで周辺
装置が接続されていると判断された場合にその周辺装置
が以前から接続されていたものか否かを判断する第2の
ステップと、第2のステップで周辺装置が新たに接続さ
れたものであると判断された場合にその周辺装置の諸元
データを前記データエリアにセットする第3のステップ
と、第1のステップで周辺装置が接続されていないと判
断された場合にそれまで接続されていた周辺装置が切り
離されたか否かを判断する第4のステップと、第4のス
テップでそれまで接続されていた周辺装置が切り離され
たと判断された場合にその周辺装置の諸元データを前記
データエリアからクリアする第5のステップとからなる
ことを特徴とする周辺装置の管理方法が得られる。
[Means for Solving the Problems] According to the present invention, peripheral devices connected through a general-purpose interface and having specification data specifying the type by name can be connected by one device drive of an operating system to In a peripheral device management method that sets or clears the above specification data in the data area of the system and device drives, it is determined whether the peripheral device is connected to all the connections for connecting the peripheral device. a first step; a second step of determining whether the peripheral device has been connected before when it is determined that the peripheral device is connected in the first step; A third step sets the specification data of the peripheral device in the data area if the peripheral device is determined to be newly connected in the first step; If it is determined that there is no connection, the fourth step is to determine whether the previously connected peripheral device has been disconnected; and in the fourth step, it is determined that the previously connected peripheral device has been disconnected. A fifth step of clearing the specification data of the peripheral device from the data area if the peripheral device is a peripheral device is obtained.

【0005】[0005]

【実施例】次に、本発明の1実施例を図面に基いて詳細
に説明する。図1は、コンピュータCPのメインメモリ
1に記憶されているアプリケーションプログラム2やオ
ペレーティングシステム3及びデバイスドライバ4と、
このデバイスドライバ4が制御する複数の周辺装置5と
の関係を示すものである。コンピュータCPには、汎用
インタフェースによって接続される周辺装置用のインタ
フェースボード6が実装されている。このインタフェー
スボード6には、インタフェースケーブル7によって周
辺装置5が接続される。これらの周辺装置5は、種類を
示す諸元データを有している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, one embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an application program 2, an operating system 3, and a device driver 4 stored in a main memory 1 of a computer CP,
This shows the relationship with a plurality of peripheral devices 5 controlled by this device driver 4. An interface board 6 for peripheral devices connected via a general-purpose interface is mounted on the computer CP. A peripheral device 5 is connected to this interface board 6 via an interface cable 7. These peripheral devices 5 have specification data indicating their types.

【0006】図2は本発明の周辺装置の管理方法を説明
するためのフローチャートである。このフローチャート
においては、周辺装置5を接続することができる接続部
の最大数をmとし、かつ、接続部カウンタを[n]とす
る。
FIG. 2 is a flow chart for explaining the peripheral device management method of the present invention. In this flowchart, the maximum number of connections to which the peripheral device 5 can be connected is set to m, and the connection unit counter is set to [n].

【0007】まず、ステップ11で[n]=0としてか
ら、ステップ12で[n]=[n+1]とした後に、ス
テップ13で接続部の(n+1)番目に周辺装置が接続
されているか否かをチェックする。ステップ13で接続
部の(n+1)番目に周辺装置が接続されていると判断
した場合には、ステップ14で接続部の(n+1)番目
に周辺装置が以前から接続されているか否かをチェック
する、すなわち、(n+1)番目の接続部に対応した前
記オペレーティングシステム3およびデバイスドライバ
4のデータエリアに周辺装置の種類を示す諸元データが
記憶されているか否かをチェックする。
First, in step 11, set [n] = 0, in step 12, set [n] = [n+1], and in step 13, determine whether the peripheral device is connected to the (n+1)th connection part. Check. If it is determined in step 13 that a peripheral device is connected to the (n+1)th connection point, it is checked in step 14 whether a peripheral device has been connected to the (n+1)th connection point. That is, it is checked whether specification data indicating the type of peripheral device is stored in the data areas of the operating system 3 and device driver 4 corresponding to the (n+1)th connection.

【0008】ステップ14で(n+1)番目に周辺装置
が以前から接続されていたと判断した場合には、ステッ
プ15で(n+1)番目のデータエリアから諸元データ
をクリアしてから、ステップ16で[n]=mであるか
否かをチェックする。ステップ14で(n+1)番目に
周辺装置が以前から接続されていないと判断した場合に
は、ステップ16へジャンプして[n]=mであるか否
かをチェックする。ステップ16で、[n]=mでない
と判断した場合にはステップ12へ戻り、かつ、[n]
=mであると判断した場合には動作を終了する。
If it is determined in step 14 that the (n+1)th peripheral device has been connected before, the specification data is cleared from the (n+1)th data area in step 15, and then in step 16 [ n]=m. If it is determined in step 14 that the (n+1)th peripheral device has not been connected for a long time, the process jumps to step 16 and checks whether [n]=m. If it is determined in step 16 that [n] is not equal to m, the process returns to step 12, and [n]
If it is determined that =m, the operation ends.

【0009】前記ステップ13で(n+1)番目に周辺
装置が接続されていると判断した場合には、ステップ1
7で(n+1)番目に接続されている周辺装置の諸元デ
ータを読み出して、ステップ18でその周辺装置が以前
と同一装置か否かをチェックする、すなわち、ステップ
17で読み出した諸元データと(n+1)番目のデータ
エリアに記憶されている諸元データとを比較して同一か
否かをチェックする。
If it is determined in step 13 that the (n+1)th peripheral device is connected, step 1
In step 7, the specification data of the (n+1)th connected peripheral device is read out, and in step 18 it is checked whether the peripheral device is the same as before. It is compared with the specification data stored in the (n+1)th data area to check whether they are the same.

【0010】ステップ18で周辺装置が以前と同一装置
でないと判断した場合には、ステップ19で接続されて
いる周辺装置の諸元データを(n+1)番目のデータエ
リアにセットした後に、ステップ16へいく。ステップ
18で周辺装置が以前と同一装置であると判断した場合
にはステップ16へジャンプする。
If it is determined in step 18 that the peripheral device is not the same as before, the specification data of the connected peripheral device is set in the (n+1)th data area in step 19, and then the process proceeds to step 16. go. If it is determined in step 18 that the peripheral device is the same as before, the process jumps to step 16.

【0011】[0011]

【発明の効果】本発明は、コンピューターを使用中でも
再立ち上げすることなく周辺装置の増設や切り離しがで
きる。
[Effects of the Invention] According to the present invention, peripheral devices can be added or removed without restarting the computer even when the computer is in use.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明に用いるデバイスドライバやオペレーテ
ィングシステム及び周辺装置との関連を示したブロック
図である。
FIG. 1 is a block diagram showing the relationship between a device driver, an operating system, and peripheral devices used in the present invention.

【図2】本発明に用いるデバイスドライバ内の処理の流
れを示したフローチャートである。
FIG. 2 is a flowchart showing the flow of processing within a device driver used in the present invention.

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

1    メインメモリ 3    オペレーティングシステム 4    デバイスドライバ 5    周辺装置 1 Main memory 3 Operating system 4 Device driver 5 Peripheral devices

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  汎用インタフェースにて接続されると
共に名別に種類を特定する諸元データを有する周辺装置
を、オペレーティングシステムの1つのデバイスドライ
ブにより、これらのオペレーティングシステムおよびデ
バイスドライブのデータエリアに対し前記諸元データを
セットまたはクリアして管理する周辺装置の管理方法に
おいて、周辺装置を接続するためのすべての接続部に周
辺装置が接続されているかを判断する第1のステップと
、第1のステップで周辺装置が接続されていると判断さ
れた場合にその周辺装置が以前から接続されていたもの
か否かを判断する第2のステップと、第2のステップで
周辺装置が新たに接続されたものであると判断された場
合にその周辺装置の諸元データを前記データエリアにセ
ットする第3のステップと、第1のステップで周辺装置
が接続されていないと判断された場合にそれまで接続さ
れていた周辺装置が切り離されたか否かを判断する第4
のステップと、第4のステップでそれまで接続されてい
た周辺装置が切り離されたと判断された場合にその周辺
装置の諸元データを前記データエリアからクリアする第
5のステップとからなることを特徴とする周辺装置の管
理方法。
1. A peripheral device connected via a general-purpose interface and having specification data specifying the type by name is connected to the data area of the operating system and device drive by one device drive of an operating system. In a peripheral device management method that manages specification data by setting or clearing it, the first step is to determine whether the peripheral device is connected to all the connections for connecting the peripheral device; If it is determined that the peripheral device is connected, the second step is to determine whether the peripheral device has been connected before, and the second step is to determine whether the peripheral device is newly connected. If it is determined that the peripheral device is connected, a third step sets the specification data of the peripheral device in the data area, and if it is determined that the peripheral device is not connected in the first step, the peripheral device is connected until then. The fourth step is to determine whether the previously connected peripheral device has been disconnected.
and a fifth step of clearing the specification data of the peripheral device from the data area when it is determined in the fourth step that the peripheral device connected up to that time has been disconnected. How to manage peripheral devices.
JP3011646A 1991-01-09 1991-01-09 Peripheral device control method Withdrawn JPH04235655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3011646A JPH04235655A (en) 1991-01-09 1991-01-09 Peripheral device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3011646A JPH04235655A (en) 1991-01-09 1991-01-09 Peripheral device control method

Publications (1)

Publication Number Publication Date
JPH04235655A true JPH04235655A (en) 1992-08-24

Family

ID=11783717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3011646A Withdrawn JPH04235655A (en) 1991-01-09 1991-01-09 Peripheral device control method

Country Status (1)

Country Link
JP (1) JPH04235655A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764772A (en) * 1993-08-27 1995-03-10 Nec Corp System configuratuion changing and os operation environment set changing system for computer system
US5581766A (en) * 1993-05-17 1996-12-03 Compaq Computer Corporation Selectable video driver system
US5590315A (en) * 1993-09-10 1996-12-31 Compaq Computer Corporation Method and apparatus for simulating user input device presence in a computer system
US5898861A (en) * 1996-10-18 1999-04-27 Compaq Computer Corporation Transparent keyboard hot plug

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5581766A (en) * 1993-05-17 1996-12-03 Compaq Computer Corporation Selectable video driver system
JPH0764772A (en) * 1993-08-27 1995-03-10 Nec Corp System configuratuion changing and os operation environment set changing system for computer system
US5590315A (en) * 1993-09-10 1996-12-31 Compaq Computer Corporation Method and apparatus for simulating user input device presence in a computer system
US5898861A (en) * 1996-10-18 1999-04-27 Compaq Computer Corporation Transparent keyboard hot plug

Similar Documents

Publication Publication Date Title
JPH04235655A (en) Peripheral device control method
DE60109215T2 (en) EFFICIENT ADMINISTRATIVE SYSTEM OF A TIMER
JPH05120110A (en) Automatic backup system for file
JPS63654A (en) Inter-processor communication control system
JPS63126032A (en) Program updating control system
CN108509252A (en) Virtual machine starter, method and host
CN107729170A (en) A kind of method and device of HBA cards generation unloading file
JP2804088B2 (en) Setting method of peripheral device control information in computer system
JP2810141B2 (en) Online BMP processing method
JPH036535B2 (en)
CN116795440A (en) Multi-type display card driving adaptation method, device and equipment based on virtualization technology
JP2518390B2 (en) System performance monitoring method
CN116016661A (en) Communication method, system and equipment between cloud platform and virtual machine
KR960002362B1 (en) Electronics switching system
CN115827182A (en) Cloud host creation method and related equipment
JP2000259435A (en) Multioperating system, error information centralizing method and recording medium
JP2936170B2 (en) Failure handling method
CN114095370A (en) Policy configuration method, device, equipment and storage medium
JPS6299841A (en) Control system for auxiliary storage device
JPH05189224A (en) Management system for processing method
JPH02127732A (en) Job control system
JPH06266630A (en) Input/output controller with trace function
JPS593531A (en) Terminal output processing system
JPS60117357A (en) Terminal information processing system
JPH0131223B2 (en)

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514