JPH04263351A - Peripheral device control system - Google Patents

Peripheral device control system

Info

Publication number
JPH04263351A
JPH04263351A JP3043978A JP4397891A JPH04263351A JP H04263351 A JPH04263351 A JP H04263351A JP 3043978 A JP3043978 A JP 3043978A JP 4397891 A JP4397891 A JP 4397891A JP H04263351 A JPH04263351 A JP H04263351A
Authority
JP
Japan
Prior art keywords
peripheral device
main unit
peripheral
main
main body
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
JP3043978A
Other languages
Japanese (ja)
Inventor
Satoru Sakai
知 酒井
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 Office Systems Ltd
Original Assignee
NEC Office Systems 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 Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP3043978A priority Critical patent/JPH04263351A/en
Publication of JPH04263351A publication Critical patent/JPH04263351A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To only reconnect a peripheral device to a main body device when they are not connected yet with each other and also to change the peripheral device into another of a different type without cutting off the power supply of the main body device. CONSTITUTION:A main body device 1 is provided together with a peripheral device 4 which is connected to the device 1. When the power supplies of both devices 1 and 4 are applied, the initialization processing is carried out for the device 4 and then the data input/output control is carried out between both devices 1 and 4. In such a system, a means which detects whether the device 4 is connected to the device 1 or not is added together with a means which reports a state where the device 4 is not connected to the device 1 yet, and a means which performs the initialization processing for the device 4 based on the preceding report when the device 4 is connected to the device 1.

Description

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

【0001】0001

【産業上の利用分野】本発明は、例えばパーソナルコン
ピュータとプリンタといった本体装置と周辺装置からな
るシステムにおける周辺装置制御方式、特に周辺装置が
未接続であった場合の制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral device control method in a system consisting of a main unit and peripheral devices, such as a personal computer and a printer, and particularly to a control method when the peripheral devices are not connected.

【0002】0002

【従来の技術】図2は一般的な本体装置と周辺装置を示
す概略構成図である。図2において、1は例えば情報処
理装置、パーソナルコンピュータ、ワードプロセッサな
どの本体装置である。本体装置1は、本体装置1を制御
するための本体制御部2、周辺装置4を制御するための
周辺装置制御部3を備えている。周辺装置4としては、
キーボード、ディスプレイ、プリンタなどである。
2. Description of the Related Art FIG. 2 is a schematic diagram showing a general main unit and peripheral devices. In FIG. 2, 1 is a main body device such as an information processing device, a personal computer, or a word processor. The main body device 1 includes a main body control section 2 for controlling the main body device 1 and a peripheral device control section 3 for controlling the peripheral devices 4 . As the peripheral device 4,
These include keyboards, displays, printers, etc.

【0003】次に、従来の周辺装置4の監視制御方式を
図3を参照して説明する。図3において、まずS(ステ
ップ)31で本体装置1及び周辺装置4の電源が投入さ
れる。この電源投入によりS32で周辺装置を制御する
プログラムの初期処理が実行され、S33で周辺装置制
御部3の初期設定が行われる。次いで、S34で周辺装
置4が本体装置1に未接続か否かが判断され、接続され
ていればS35で周辺装置4とのデータの入出力制御が
行われる。また、未接続であった場合には、S36で使
用者に周辺装置4が未接続であることを報知する未接続
処理が行われる。周辺装置4が未接続か否かの判断は、
本体制御部2が周辺装置制御部3と周辺装置4を結ぶ信
号線の信号の有無により行っていた。
Next, a conventional monitoring and control system for the peripheral device 4 will be explained with reference to FIG. In FIG. 3, first, in S (step) 31, the main device 1 and the peripheral device 4 are powered on. When the power is turned on, initial processing of a program for controlling the peripheral device is executed in S32, and initial settings of the peripheral device control section 3 are performed in S33. Next, it is determined in S34 whether the peripheral device 4 is not connected to the main device 1, and if it is connected, data input/output control with the peripheral device 4 is performed in S35. If the peripheral device 4 is not connected, a disconnection process is performed in S36 to notify the user that the peripheral device 4 is not connected. To determine whether the peripheral device 4 is not connected,
The main body control section 2 performs this depending on the presence or absence of a signal on a signal line connecting the peripheral device control section 3 and the peripheral device 4.

【0004】0004

【発明が解決しようとする課題】従来の制御方式では、
周辺装置が未接続であった場合、接続し直すだけでは周
辺装置とのデータの入出力は行えなかった。即ち、本体
装置と周辺装置の電源を一旦切断し、再投入しなければ
ならなかった。また、周辺装置の種別が変わった場合、
本体装置で周辺装置種別に合った初期設定を再度行うた
めに、本体装置の電源を切断し、再投入しなければなら
なかった。
[Problem to be solved by the invention] In the conventional control method,
If the peripheral device was not connected, data could not be input/output to/from the peripheral device simply by reconnecting it. That is, it was necessary to turn off the power to the main unit and peripheral devices, and then turn them on again. Also, if the type of peripheral device changes,
In order to perform the initial settings again on the main unit according to the type of peripheral device, it was necessary to turn off the power to the main unit and then turn it on again.

【0005】そこで、本発明の目的は以上の問題点を解
消して、周辺装置が未接続であった場合、周辺装置を接
続し直すだけでよく、また本体装置の電源を切断するこ
となく異なる種別の周辺装置に変更できる周辺装置制御
方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned problems, so that when a peripheral device is not connected, it is sufficient to simply reconnect the peripheral device, and a different one can be connected without disconnecting the power to the main device. An object of the present invention is to provide a peripheral device control method that can change the type of peripheral device.

【0006】[0006]

【課題を解決するための手段】本発明は、上記問題点を
解決し得る周辺装置制御方式に関するもので、本体装置
と該本体に接続された周辺装置からなり、該本体装置及
び周辺装置の電源が投入された場合に、周辺装置の初期
設定処理を行った後、本体装置と周辺装置とのデータ入
出力制御を行うシステムにおいて、周辺装置が本体装置
に接続されているか否かを検出する手段と、周辺装置が
接続されていなかった場合に、未接続状態であることを
報知する手段と、この報知により周辺装置が本体装置に
接続された場合に、接続された周辺装置の初期設定処理
を行う手段とを有するものである。
[Means for Solving the Problems] The present invention relates to a peripheral device control method capable of solving the above-mentioned problems, and includes a main unit and a peripheral device connected to the main unit, and a power source for the main unit and the peripheral device. means for detecting whether the peripheral device is connected to the main device in a system that performs data input/output control between the main device and the peripheral device after initializing the peripheral device when the main device is installed. , a means for notifying that the peripheral device is in an unconnected state when the peripheral device is not connected, and a means for initializing the connected peripheral device when the peripheral device is connected to the main device by this notification. and the means to do so.

【0007】[0007]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。図1は本発明の周辺装置制御方式
における一実施例の処理の流れを示すフローチャートで
ある。なお、ここではハードウェア構成として図2を用
いて説明する。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a flowchart showing the flow of processing in one embodiment of the peripheral device control method of the present invention. Note that the hardware configuration will be explained using FIG. 2 here.

【0008】図1において、S11で本体装置1と周辺
装置4の電源が投入されると、まずS12で周辺装置4
を制御するプログラムの初期処理が行われ、S13で周
辺装置制御部3の初期設定が行われる。次いで、S14
で周辺装置4が本体装置1に未接続であるか否かが判断
され、未接続であった場合はS15で使用者に未接続で
あることを報知する未接続処理が行われる。その後、S
16において未接続状態が発生したことを示す未接続発
生フラグをオンし、再びS14に戻る。ここで、本体装
置1に周辺装置4が接続されると、S17に進み、未接
続状態発生フラグがオンであるか否かの判定が行われる
。S17では先にS16で未接続発生フラグをオンした
ので、オンであると判定され、S18へ進む。
In FIG. 1, when the main unit 1 and the peripheral device 4 are powered on in S11, first the peripheral device 4 is turned on in S12.
Initial processing of the program that controls the peripheral device controller 3 is performed, and initial settings of the peripheral device control unit 3 are performed in S13. Next, S14
In step S15, it is determined whether the peripheral device 4 is unconnected to the main device 1, and if it is unconnected, a disconnection process is performed to notify the user that the peripheral device 4 is unconnected. After that, S
In step 16, the disconnection occurrence flag indicating that the disconnection state has occurred is turned on, and the process returns to step S14. Here, when the peripheral device 4 is connected to the main device 1, the process proceeds to S17, where it is determined whether or not the disconnection state occurrence flag is on. In S17, since the disconnection occurrence flag was previously turned on in S16, it is determined that it is on, and the process advances to S18.

【0009】S18では、先にオンした未接続発生フラ
グがオフされ、再びS13へ戻る。そして、S13にお
いて、再度周辺装置制御部3の初期設定が行われた後、
S14,S17を経てS19へ進み、周辺装置4とのデ
ータ入出力制御が行われる。一方、S14において、周
辺装置4が最初から接続されていた場合には、S17を
経てS19へ進み、周辺装置4とのデータ入出力制御が
行われる。
[0009] In S18, the disconnection occurrence flag that was previously turned on is turned off, and the process returns to S13. Then, in S13, after the initial settings of the peripheral device control unit 3 are performed again,
The process advances to S19 via S14 and S17, and data input/output control with the peripheral device 4 is performed. On the other hand, in S14, if the peripheral device 4 has been connected from the beginning, the process advances to S19 via S17, and data input/output control with the peripheral device 4 is performed.

【0010】このように本実施例にあっては、本体装置
に対して周辺装置が未接続であった場合、周辺装置制御
部を自動的に初期設定するため、周辺装置を接続し直す
だけで使用可能となり、従来のような電源を一旦切断し
た後再投入するという面倒な手数を省くことができる。 また、他の種別の周辺装置に変更する場合においても、
同様に本体装置の電源を再投入する必要がなく、簡単に
周辺装置への変更が可能である。
As described above, in this embodiment, if the peripheral device is not connected to the main unit, the peripheral device control section is automatically initialized, so that all you need to do is reconnect the peripheral device. This eliminates the troublesome trouble of turning off the power and then turning it on again, which is required in the past. Also, when changing to another type of peripheral device,
Similarly, there is no need to turn on the power to the main device again, and changes to peripheral devices can be easily made.

【0011】[0011]

【発明の効果】以上説明したように本発明は、本体装置
に周辺装置が未接続であった場合、それを接続し直すだ
けで周辺装置を使用でき、また本体装置の電源を切断す
ることなく、異なる種別の周辺装置に変更できるという
効果がある。
[Effects of the Invention] As explained above, in the present invention, when a peripheral device is not connected to the main unit, the peripheral device can be used simply by reconnecting it, and without cutting off the power to the main unit. This has the advantage that it is possible to change to a different type of peripheral device.

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

【図1】本発明の一実施例を示すフローチャートである
FIG. 1 is a flowchart showing one embodiment of the present invention.

【図2】本体装置と周辺装置の概略構成図である。FIG. 2 is a schematic configuration diagram of a main unit and peripheral devices.

【図3】従来方式のフローチャートである。FIG. 3 is a flowchart of a conventional method.

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

1    本体装置 2    本体制御部 3    周辺装置制御部 4    周辺装置 1 Main unit 2 Main body control section 3 Peripheral device control section 4 Peripheral devices

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  本体装置と該本体に接続された周辺装
置からなり、該本体装置及び周辺装置の電源が投入され
た場合に、周辺装置の初期設定処理を行った後、本体装
置と周辺装置とのデータ入出力制御を行うシステムにお
いて、周辺装置が本体装置に接続されているか否かを検
出する手段と、周辺装置が接続されていなかった場合に
、未接続状態であることを報知する手段と、この報知に
より周辺装置が本体装置に接続された場合に、接続され
た周辺装置の初期設定処理を行う手段とを有することを
特徴とする周辺装置制御方式。
Claim 1: Consisting of a main unit and a peripheral device connected to the main unit, when the main unit and peripheral device are powered on, initialization processing of the peripheral device is performed, and then the main unit and peripheral device are connected to the main unit and the peripheral device. In a system that performs data input/output control with a main unit, means for detecting whether a peripheral device is connected to a main unit, and means for notifying an unconnected state when a peripheral device is not connected. and, when the peripheral device is connected to the main unit based on this notification, means for performing initial setting processing for the connected peripheral device.
JP3043978A 1991-02-18 1991-02-18 Peripheral device control system Pending JPH04263351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3043978A JPH04263351A (en) 1991-02-18 1991-02-18 Peripheral device control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3043978A JPH04263351A (en) 1991-02-18 1991-02-18 Peripheral device control system

Publications (1)

Publication Number Publication Date
JPH04263351A true JPH04263351A (en) 1992-09-18

Family

ID=12678810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3043978A Pending JPH04263351A (en) 1991-02-18 1991-02-18 Peripheral device control system

Country Status (1)

Country Link
JP (1) JPH04263351A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0575825U (en) * 1991-05-27 1993-10-15 三洋電機株式会社 Information processing equipment
WO2001011474A1 (en) * 1999-08-04 2001-02-15 Fujitsu Limited Method and apparatus for information processing, and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0575825U (en) * 1991-05-27 1993-10-15 三洋電機株式会社 Information processing equipment
WO2001011474A1 (en) * 1999-08-04 2001-02-15 Fujitsu Limited Method and apparatus for information processing, and medium

Similar Documents

Publication Publication Date Title
TW470876B (en) Launch key, low power CD-ROM player for portable computers
US8756448B2 (en) Computer system and control method thereof
US20090031049A1 (en) Resource sharing apparatus
US20070050649A1 (en) Power saving electronic apparatus and method
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
KR100345876B1 (en) Computer system with power management mode and control method of the same
JPH06289955A (en) Attachable/detachable information processor
JPH08234874A (en) Information processing system
WO2008069230A1 (en) Display system and display device
JPH04263351A (en) Peripheral device control system
JP2001013938A (en) Display device
JPH08251317A (en) Image forming device
JP2004287169A (en) Display system, display control method, and display control program
JP2853386B2 (en) Selective call receiver
JPH0566867A (en) Extension system
KR100494169B1 (en) Method and apparatus for processing image signal of dual monitor
JP3018373B2 (en) Information processing device
JP3575355B2 (en) RGB signal input switching device and power consumption reduction method
JPH09138720A (en) Display controller
JPH11282445A (en) Display device
JP2002079722A (en) Image processing system
JPH02277123A (en) Computer
JPH0346022A (en) Information processor
JPH05241815A (en) Signal processor for microprocessor control
JPH04248607A (en) Personal computer system