JPH0573225A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0573225A
JPH0573225A JP3234967A JP23496791A JPH0573225A JP H0573225 A JPH0573225 A JP H0573225A JP 3234967 A JP3234967 A JP 3234967A JP 23496791 A JP23496791 A JP 23496791A JP H0573225 A JPH0573225 A JP H0573225A
Authority
JP
Japan
Prior art keywords
hard disk
disk device
switch
suspend
information processing
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
JP3234967A
Other languages
Japanese (ja)
Inventor
Yoshiki Kinoshita
芳樹 木下
Katsumi Tsukada
克巳 塚田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP3234967A priority Critical patent/JPH0573225A/en
Publication of JPH0573225A publication Critical patent/JPH0573225A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an information processor where a hard disk can be loaded and unloaded without cutting off the power supply. CONSTITUTION:The loading/unloading states of a hard disk device 20 are detected by a detector switch 30 and therefore can be sensed through an operating system or an application program under execution. Thus the operating system and the application program can deal with the loading and unloading operations of the device 20. Then it is not required to cut off the power supply every time the device 20 is loaded or unloaded.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はカートリッジ式のハード
ディスク装置を装着できる情報処理装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus to which a cartridge type hard disk device can be mounted.

【0002】[0002]

【従来の技術】従来より、カートリッジ式のハードディ
スク装置を装着できる情報処理装置があった。このよう
な従来の情報処理装置におけるハードディスク装置の着
脱は、一旦電源を切断した上で行っていた。これは、も
しハードディスク装置の着脱を電源の切断なしに行う
と、誤動作することがあったからである。例えば、ハー
ドディスク装置を抜き取って別のハードディスク装置を
装着した際にアプリケーションプログラムが実行されて
いると、別のハードディスク装置装着後も、前のハード
ディスク装置が装着されているものとして、アプリケー
ションプログラムが別のハードディスク装置にアクセス
することがあるからである。また、別の例では、ハード
ディスク装置の所定のアドレスに格納されたデータをオ
ペレーティング・システムが管理している場合に、ハー
ドディスク装置を別のものに置き換えると、置き換え後
も、前のハードディスク装置が装着されているものとし
て、オペレーティングシステムが別のハードディスク装
置の所定のアドレスのデータをアクセスすることがある
からである。
2. Description of the Related Art Conventionally, there has been an information processing apparatus to which a cartridge type hard disk device can be mounted. The attachment / detachment of the hard disk device in such a conventional information processing apparatus has been performed after the power supply has been turned off. This is because if the hard disk device is attached or detached without turning off the power, it may malfunction. For example, if the application program is being executed when the hard disk device is removed and a different hard disk device is installed, the application program will not be treated as if the previous hard disk device is installed even after the another hard disk device is installed. This is because the hard disk device may be accessed. In another example, if the operating system manages the data stored at the specified address of the hard disk device, if the hard disk device is replaced with another one, the previous hard disk device will be installed even after the replacement. This is because the operating system may access data at a predetermined address of another hard disk device.

【0003】[0003]

【発明が解決しようとする課題】ところで、このような
従来の情報処理装置には、情報処理装置本体の電源を切
断せずにハードディスク装置を着脱したいという要請が
ある。これは、電源の切断するための終了処理に時間が
かかり、また、アプリケーションプログラムを実行して
いる最中に電源を切断すると、ハードディスク装置装着
後に途中からプログラムを再開させることができないた
めである。
By the way, in such a conventional information processing apparatus, there is a demand to attach / detach the hard disk device without turning off the power source of the information processing apparatus main body. This is because the termination process for turning off the power source takes time, and if the power source is turned off while the application program is being executed, the program cannot be restarted halfway after the hard disk device is mounted.

【0004】しかし、上述したように誤動作するといっ
た問題があるため、情報処理装置本体の電源を切断せず
にハードディスク装置を着脱することは困難であった。
However, because of the problem of malfunction as described above, it is difficult to attach / detach the hard disk device without turning off the power source of the information processing apparatus main body.

【0005】本発明は、このような問題を解決すること
を目的とする。
The present invention aims to solve such a problem.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明の情報処理装置には、前記ハードディスク装
置の着脱を検出する検出スイッチが備えられている。
In order to solve the above problems, the information processing apparatus of the present invention is provided with a detection switch for detecting attachment / detachment of the hard disk device.

【0007】[0007]

【作用】本発明の情報処理装置によれば、サスペンドス
イッチを作動させてからハードディスク装置を着脱する
と、ハードディスク装置の着脱が検出スイッチによって
検出されるので、オペレーティングシステムや現在実行
中のアプリケーションプログラムがハードディスク装置
の着脱を感知できる。
According to the information processing apparatus of the present invention, when the hard disk device is attached / detached after the suspend switch is operated, the detection switch detects the attachment / detachment of the hard disk device. Therefore, the operating system and the application program currently being executed are stored in the hard disk. Can detect the attachment and detachment of the device.

【0008】[0008]

【実施例】以下、本発明の一実施例について、添付図面
を用いて説明する。図1は、本実施例の情報処理装置を
示す斜視図である。同図より、情報処理装置10には、
スライド動作するつまみのついた電源スイッチ11と、
サスペンド処理を実行させる押しボタン式のサスペンド
スイッチ12と、着脱可能なカートリッジ式のハードデ
ィスク装置20と、このハードディスク装置20の着脱
を検出する検出スイッチであるマイクロスイッチ30
と、着脱可能なRAMやコ・プロセッサを収めた収納部
40と、この収納部40を覆うカバー50と、カバー5
0の着脱を検出するマイクロスイッチ60とが備えられ
ている。ここで、サスペンド処理とは、ソフトウェアの
実行を一時的に中断させる処理をいい、中断中はバック
アップメモリなどの必要最小限の電源供給を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a perspective view showing the information processing apparatus of this embodiment. As shown in FIG.
Power switch 11 with a knob that slides,
A push button type suspend switch 12 for executing a suspend process, a detachable cartridge type hard disk device 20, and a micro switch 30 which is a detection switch for detecting attachment / detachment of the hard disk device 20.
And a storage section 40 containing a removable RAM and a co-processor, a cover 50 for covering the storage section 40, and a cover 5.
A micro switch 60 for detecting the attachment / detachment of 0 is provided. Here, the suspend process is a process for temporarily suspending the execution of software, and during the suspension, the minimum necessary power supply such as a backup memory is supplied.

【0009】サスペンドスイッチ12は、図2(a)に
示すように、電源スイッチ11のつまみが電源投入位置
のときに、押下げ可能となる。また、図2(b)に示す
ように、電源スイッチ11のつまみが電源切断位置で、
押下げ不能となる。
As shown in FIG. 2A, the suspend switch 12 can be pushed down when the knob of the power switch 11 is at the power-on position. Further, as shown in FIG. 2B, the knob of the power switch 11 is at the power-off position,
It becomes impossible to push down.

【0010】電源スイッチ11およびサスペンドスイッ
チ12の位置関係は、図3(a)、(b)の断面図に示
すとおりである。図3(a)は、電源スイッチ11のつ
まみ11aが電源投入位置にスライドしている状態を示
している。つまみ11aの下部にはスライドスイッチ1
1bが載置されており、スライドスイッチ11bは基板
13によって支えられている。サスペンドスイッチ12
はバネ14で支えられているので押下げることができ、
この押下げ動作がサスペンドスイッチ12の下部に載置
されたタクトスイッチ15に伝えられる。図3(a)の
状態では、つまみ11aからサスペンドスイッチ12が
露出しているので、サスペンド処理を実行させるために
サスペンドスイッチ12を押下げることができる。ま
た、図3(b)は、つまみ11aが電源切断位置にスラ
イドしている状態を示している。この状態では、サスペ
ンドスイッチ12がつまみ11aによって覆われている
ので、サスペンドスイッチ12を押下げることができな
い。したがって、電源が投入されている状態では、サス
ペンドスイッチ12を操作することができるが、電源が
切断されている状態では、サスペンドスイッチ12を操
作することができない。このように、サスペンド処理を
行えるのは、サスペンドスイッチ12が目に見えている
ときだけである。
The positional relationship between the power switch 11 and the suspend switch 12 is as shown in the sectional views of FIGS. 3 (a) and 3 (b). FIG. 3A shows a state in which the knob 11a of the power switch 11 is slid to the power-on position. A slide switch 1 is provided below the knob 11a.
1b is placed, and the slide switch 11b is supported by the substrate 13. Suspend switch 12
Is supported by spring 14, so it can be pushed down,
This pressing operation is transmitted to the tact switch 15 placed below the suspend switch 12. In the state of FIG. 3A, since the suspend switch 12 is exposed from the knob 11a, the suspend switch 12 can be pushed down to execute the suspend process. Further, FIG. 3B shows a state in which the knob 11a is slid to the power-off position. In this state, since the suspend switch 12 is covered with the knob 11a, the suspend switch 12 cannot be pushed down. Therefore, while the power is on, the suspend switch 12 can be operated, but when the power is off, the suspend switch 12 cannot be operated. In this way, the suspend process can be performed only when the suspend switch 12 is visible.

【0011】本実施例の電源スイッチにはスライド式の
スイッチに限らず、図4に示すような回転式のスイッチ
を用いてもよい。同図より、電源スイッチ16とサスペ
ンドスイッチ17は並べて配置され、電源スイッチ16
は、つまみ部16aと回転支持部16bとから構成され
ている。そして、図4(a)に示すような電源投入状態
では、サスペンドスイッチ17は露出しているので、サ
スペンドスイッチ17をいつでも操作することができ
る。また、電源スイッチ16のつまみ部16aをひねっ
て、図4(b)に示すような電源切断状態にすると、つ
まみ部16aがサスペンドスイッチ17の上部を覆うの
で、サスペンドスイッチ17を操作することができな
い。このように、サスペンド処理を行えるのは、サスペ
ンドスイッチ17が目に見えているときだけである。
The power switch of this embodiment is not limited to the slide type switch, but a rotary type switch as shown in FIG. 4 may be used. From the figure, the power switch 16 and the suspend switch 17 are arranged side by side.
Is composed of a knob portion 16a and a rotation support portion 16b. In the power-on state as shown in FIG. 4A, the suspend switch 17 is exposed, so the suspend switch 17 can be operated at any time. Further, when the knob portion 16a of the power switch 16 is twisted to turn off the power as shown in FIG. 4B, the knob portion 16a covers the upper portion of the suspend switch 17, so that the suspend switch 17 cannot be operated. .. In this way, the suspend process can be performed only when the suspend switch 17 is visible.

【0012】次に、本実施例の情報処理装置10の回路
図を図5に示す。同図より、情報処理装置10は、パソ
コン本体70と拡張BOX90から構成されている。そ
して、パソコン本体70のみで動作させた場合に、サス
ペンドスイッチ12が押下げられると、電源制御回路7
2が働いてサスペンド処理が行われる。サスペンド処理
は、LCD74や、バックライト75や、モデム78、
FDD(フロッピィディスク装置)80、キーボード装
置82、ハードディスク装置20などのI/O装置等の
電源の切断を行う。また、サスペンド処理時には、シス
テム73のCPUクロックが20MHzから0MHzに
落とされる。さらに、DRAMのメモリ装置(メイン、
ビデオ)のリフレッシュレートが最長になる。
Next, a circuit diagram of the information processing apparatus 10 of this embodiment is shown in FIG. As shown in the figure, the information processing apparatus 10 is composed of a personal computer body 70 and an expansion box 90. When the suspend switch 12 is pushed down when the personal computer 70 alone is operated, the power control circuit 7
2 works and suspend processing is performed. The suspend process is performed by the LCD 74, the backlight 75, the modem 78,
The power to the I / O devices such as the FDD (floppy disk device) 80, the keyboard device 82, and the hard disk device 20 is cut off. Also, during the suspend process, the CPU clock of the system 73 is dropped from 20 MHz to 0 MHz. In addition, DRAM memory devices (main,
Video) has the longest refresh rate.

【0013】次に、本実施例の動作について、図6のフ
ローチャートを用いて説明する。前述したように従来例
では、誤動作が発生するために、電源を切断しないとハ
ードディスク装置の着脱ができなかった。この誤動作の
原因は、主に、別のハードディスク装置と差し替えたた
めに生じていた。つまり、オペレーティング・システム
やアプリケーションプログラムは、ハードディスク装置
20を差し替えたことを知ることができないために、差
し替え後も前のハードディスク装置が入っているものと
してデータアクセスしているからである。そこで、本実
施例は、オペレーティングシステムやアプリケーション
プログラムがハードディスク装置20の差し替えを感知
するためのマイクロスイッチ30を設けて、オペレーテ
ィングシステムやアプリケーションプログラムからハー
ドディスク装置の着脱を感知できるようにしたのであ
る。具体的には、サスペンドスイッチ12を作動させて
からハードディスク装置20を抜き去ると、マイクロス
イッチ30はハードディスク装置20の離脱を検出する
(ステップ100)。このマイクロスイッチ30の検出
により、以後のハードディスク装置20へのアクセスを
禁止する(ステップ101)。次に、ハードディスク装
置20を装着すると、マイクロスイッチ30はハードデ
ィスク装置20の装着を検出する(ステップ102)。
このマイクロスイッチ30の検出により、オペレーティ
ングシステムは、ハードディスク上のアドレスの再設定
処理を行う(ステップ103)。また、現在、アプリケ
ーショプログラムが実行されているかを調べて(ステッ
プ104)、アプリケーショプログラムが実行されてい
る場合には、再初期化処理などのハードディスク装置2
0へのアクセスに必要な処理を行う(ステップ10
5)。これらの処理を行った後に、ハードディスク装置
20へのアクセスの禁止を解除する(ステップ10
6)。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. As described above, in the conventional example, since the malfunction occurs, the hard disk device cannot be attached or detached without turning off the power supply. The cause of this malfunction mainly occurred because it was replaced with another hard disk device. In other words, the operating system and the application program cannot know that the hard disk device 20 has been replaced, and therefore, the data is accessed as if the previous hard disk device was installed even after the replacement. Therefore, in the present embodiment, a microswitch 30 for detecting the replacement of the hard disk device 20 by the operating system or application program is provided so that the operating system or application program can detect the attachment / detachment of the hard disk device. Specifically, when the hard disk device 20 is removed after the suspend switch 12 is activated, the micro switch 30 detects the removal of the hard disk device 20 (step 100). The detection of the microswitch 30 prohibits subsequent access to the hard disk device 20 (step 101). Next, when the hard disk device 20 is mounted, the microswitch 30 detects the mounting of the hard disk device 20 (step 102).
Upon detection of the micro switch 30, the operating system performs the address reset process on the hard disk (step 103). Further, it is checked whether or not the application program is currently being executed (step 104). If the application program is currently being executed, the hard disk device 2 for re-initialization processing or the like is executed.
Perform the processing required to access 0 (step 10
5). After performing these processes, the prohibition of access to the hard disk device 20 is released (step 10).
6).

【0014】また、本実施例では、RAMやコ・プロセ
ッサを収めた収納部40のカバー50の着脱をマイクロ
スイッチ60で検出している。カバー50を取り外すの
は、RAMやコ・プロセッサを取り外したり、別のRA
Mやコ・プロセッサを取り付けるときだけである。この
ようなRAMやコ・プロセッサの着脱を電源を切断せず
に行うためには、過電流やデータ破壊を防ぐための終了
処理が必要となる。そこで、本実施例では、マイクロス
イッチ60でカバー50の着脱を検出することによっ
て、RAMやコ・プロセッサを取り外す前に終了処理を
行うことを可能にしている。
Further, in the present embodiment, the attachment / detachment of the cover 50 of the storage section 40 accommodating the RAM and the co-processor is detected by the micro switch 60. The cover 50 can be removed by removing the RAM, co-processor, or another RA.
Only when installing an M or co-processor. In order to attach / detach such a RAM or coprocessor without turning off the power supply, a termination process for preventing overcurrent or data destruction is required. Therefore, in this embodiment, by detecting the attachment / detachment of the cover 50 by the microswitch 60, it is possible to perform the termination process before removing the RAM or the co-processor.

【0015】[0015]

【発明の効果】本発明の情報処理装置であれば、ハード
ディスク装置の着脱が検出スイッチによって検出される
ので、オペレーティングシステムや現在実行中のアプリ
ケーションプログラムがハードディスク装置の着脱を感
知できる。
According to the information processing apparatus of the present invention, since the attachment / detachment of the hard disk device is detected by the detection switch, the operating system and the application program currently being executed can detect the attachment / detachment of the hard disk device.

【0016】このため、ハードディスク装置の着脱時の
対応をオペレーティングシステムやアプリケーションプ
ログラム側で取ることが可能となり、サスペンドスイッ
チがあるためにハードディスク装置の電源は切られる
が、システム全体の電源は切断されることはない。
Therefore, it becomes possible for the operating system and application programs to take measures when the hard disk device is attached and detached, and the power supply to the hard disk device is cut off because of the suspend switch, but the power supply to the entire system is cut off. There is no such thing.

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

【図1】本実施例の情報処理装置の斜視図である。FIG. 1 is a perspective view of an information processing apparatus of this embodiment.

【図2】本実施例の情報処理装置の要部を示す斜視図で
ある。
FIG. 2 is a perspective view showing a main part of the information processing apparatus of this embodiment.

【図3】電源スイッチとサスペンドスイッチの位置関係
を示す断面図である。
FIG. 3 is a sectional view showing a positional relationship between a power switch and a suspend switch.

【図4】本実施例の情報処理装置の要部を示す斜視図で
ある。
FIG. 4 is a perspective view showing a main part of the information processing apparatus of this embodiment.

【図5】本実施例の情報処理装置を示す回路図である。FIG. 5 is a circuit diagram showing an information processing apparatus of this embodiment.

【図6】本実施例の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of this embodiment.

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

10…情報処理装置 11…電源スイッチ 12…サスペンドスイッチ 20…ハードディスク装置 30…マイクロスイッチ 40…収納部 50…カバー 60…マイクロスイッチ 10 ... Information processing device 11 ... Power switch 12 ... Suspend switch 20 ... Hard disk device 30 ... Micro switch 40 ... Storage part 50 ... Cover 60 ... Micro switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 補助記憶装置として機能する着脱可能な
ハードディスク装置を備える情報処理装置において、 前記ハードディスク装置の着脱を検出する検出スイッチ
を備えることを特徴とする情報処理装置。
1. An information processing apparatus comprising a removable hard disk device functioning as an auxiliary storage device, comprising: a detection switch for detecting attachment / detachment of the hard disk device.
【請求項2】 前記検出スイッチが前記ハードディスク
装置の離脱を検出した場合に、前記ハードディスク装置
へのアクセスを禁止し、前記検出スイッチが前記ハード
ディスク装置の装着を検出した場合に、前記ハードディ
スク装置へのアクセスの禁止を解除する手段を備えるこ
とを特徴とする請求項1記載の情報処理装置。
2. When the detection switch detects detachment of the hard disk device, access to the hard disk device is prohibited, and when the detection switch detects mounting of the hard disk device, the hard disk device is accessed. The information processing apparatus according to claim 1, further comprising means for canceling access prohibition.
【請求項3】 前記検出スイッチが前記ハードディスク
装置の装着を検出した場合に、前記ハードディスク装置
の装着に伴う初期化処理を行う手段を備えることを特徴
とする請求項1または請求項2記載の情報処理装置。
3. The information according to claim 1, further comprising means for performing an initialization process associated with mounting of the hard disk device when the detection switch detects mounting of the hard disk device. Processing equipment.
JP3234967A 1991-09-13 1991-09-13 Information processor Pending JPH0573225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3234967A JPH0573225A (en) 1991-09-13 1991-09-13 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3234967A JPH0573225A (en) 1991-09-13 1991-09-13 Information processor

Publications (1)

Publication Number Publication Date
JPH0573225A true JPH0573225A (en) 1993-03-26

Family

ID=16979060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3234967A Pending JPH0573225A (en) 1991-09-13 1991-09-13 Information processor

Country Status (1)

Country Link
JP (1) JPH0573225A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62245253A (en) * 1986-04-18 1987-10-26 Fuji Photo Film Co Ltd Dye fixing element
US6661650B2 (en) 1995-09-19 2003-12-09 Kabushiki Kaisha Toshiba Electronic apparatus with cover for component having a wall to clamp the keyboard
US6865048B2 (en) 1994-06-07 2005-03-08 Hitachi, Ltd. Information storing device and method for controlling same to record/reproduce information by selecting one of working modes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62245253A (en) * 1986-04-18 1987-10-26 Fuji Photo Film Co Ltd Dye fixing element
US6865048B2 (en) 1994-06-07 2005-03-08 Hitachi, Ltd. Information storing device and method for controlling same to record/reproduce information by selecting one of working modes
US6661650B2 (en) 1995-09-19 2003-12-09 Kabushiki Kaisha Toshiba Electronic apparatus with cover for component having a wall to clamp the keyboard

Similar Documents

Publication Publication Date Title
JP3598272B2 (en) Starting and restarting the operating system
US5021983A (en) Suspend/resume apparatus and method for reducing power consumption in battery powered computers
KR100188501B1 (en) Multiple user computer system
EP1250647B1 (en) Computer configuration restore method and apparatus
US6038671A (en) Power management of a computer system using a power button
US20060150037A1 (en) Methods and systems for operating system recovery
JP2008165551A (en) Information processing apparatus, method, program and recording medium
US7523229B2 (en) Memory protection during direct memory access
JP2004005466A (en) Device and method for attaining interruption, resuming function and idle mode for protective mode microprocessor and hard disk
JPH05242057A (en) Method for starting multi-processor system
JPH0573225A (en) Information processor
JPS6159531A (en) Microprogram loader
JP3327628B2 (en) Electronic device and control method thereof
JPH0573178A (en) Information processor
JP2008096421A (en) Detection device
KR20000068286A (en) Slave DSP reboots stalled master CPU
JPH09198258A (en) Task stack overflow detecting circuit
JPH08255044A (en) Information processor capable of keyboard input and pen input
JP7270009B2 (en) Information processing device and control method
JP4535316B2 (en) Terminal fail-safe system, terminal fail-safe method, and terminal fail-safe program
US20010054130A1 (en) Computing machine with hard stop-tolerant disk file management system
KR100207884B1 (en) Method and apparatus for suspend/resume operation in a computer
JPH096709A (en) Method for controlling electronic device with extension slot, and its device and extension medium
JP2002347306A (en) Imaging apparatus
JP2846876B2 (en) Information processing device