KR20030004597A - Method which controls a disk drive with automatic movement - Google Patents

Method which controls a disk drive with automatic movement Download PDF

Info

Publication number
KR20030004597A
KR20030004597A KR1020010040128A KR20010040128A KR20030004597A KR 20030004597 A KR20030004597 A KR 20030004597A KR 1020010040128 A KR1020010040128 A KR 1020010040128A KR 20010040128 A KR20010040128 A KR 20010040128A KR 20030004597 A KR20030004597 A KR 20030004597A
Authority
KR
South Korea
Prior art keywords
disk drive
user
request
setting value
control
Prior art date
Application number
KR1020010040128A
Other languages
Korean (ko)
Inventor
안병곤
Original Assignee
안병곤
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 안병곤 filed Critical 안병곤
Priority to KR1020010040128A priority Critical patent/KR20030004597A/en
Publication of KR20030004597A publication Critical patent/KR20030004597A/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B17/00Guiding record carriers not specifically of filamentary or web form, or of supports therefor
    • G11B17/02Details
    • G11B17/04Feeding or guiding single record carrier to or from transducer unit
    • G11B17/0401Details
    • G11B17/0402Servo control
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/20Driving; Starting; Stopping; Control thereof
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2211/00Indexing scheme relating to details of data-processing equipment not covered by groups G06F3/00 - G06F13/00
    • G06F2211/1097Boot, Start, Initialise, Power
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2545CDs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: A method for automatically controlling a disk drive is provided to open the disk drive upon the request and automatically close after waiting for a predetermined time, thereby conveniently using the disk drive with the minimum operation. CONSTITUTION: A method for automatically controlling a disk drive includes the steps of executing initialization for using the disk drive(S201); receiving a request for the disk drive from a user and confirming the requested particulars of the user(S203); designating a value input from the user as a control set value and storing the value if the user requests to set disk drive control; checking whether the disk drive is operating before opening the disk drive if the user requests to open the disk drive(S204); and checking an error of the control set value and an open time preliminarily set by the control set value, and waiting for the open time of the disk drive before closing the disk drive.

Description

디스크 드라이브 자동 제어 방법{Method which controls a disk drive with automatic movement}Method which controls a disk drive with automatic movement}

본 발명은 디스크 드라이브 자동 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것으로, 특히시디롬(CD-ROM), 디비디롬(DVD-ROM), 시디알더블유(CDRW : CD ReWritable) 등의 드라이브와 같이 트레이가 개방하여 해당 디스크를 탑재하고 다시 닫히어 구동하는 디스크 드라이브의 개폐를 자동으로 제어하는 디스크 드라이브 자동 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a disk drive automatic control method and a computer-readable recording medium recording a program for realizing the method, in particular CD-ROM, DVD-ROM, CD-ROM (CDRW) Like a drive such as CD ReWritable), a disc drive automatic control method for automatically controlling the opening and closing of a disc drive that is opened by a tray and mounted and closed again, and a computer for recording the program for realizing the above method can be read by a computer. To a recording medium.

시디롬(CD-ROM : Compact Disk - Read Only Memory), 디비디롬(DVD-ROM : Digital Versatile Disk -ROM), 시디알더블유(CDRW) 등을 이용하도록 하는 디스크 드라이브는 트레이의 이동으로 개폐되어 해당 디스크를 탑재할 수 있도록 되어 있다.Disk drives that use CD-ROMs (CD-ROM: Compact Disk-Read Only Memory), DVD-ROMs (DVD-ROM: Digital Versatile Disk-ROM), CD-RW can be opened and closed by moving the tray. It is possible to mount.

시디롬 드라이브를 예로 들면, 종래의 시디롬 드라이브의 제어 형식은, 시디롬 드라이브 열기, 시디롬 드라이브에 시디롬 삽입 또는 인출, 그리고 시디롬 드라이브 닫기의 3 과정을 거치도록 이루어졌다.As an example of a CD-ROM drive, a conventional CD-ROM drive has a three-step process of opening a CD-ROM drive, inserting or removing a CD-ROM to the CD-ROM drive, and closing the CD-ROM drive.

그런데, 이러한 종래의 시디롬 드라이브 개폐 제어 형식은 시디롬 드라이브를 열고 나면, 하드웨어적으로 또는 소프트웨어적으로 사용자가 반드시 다시 닫아주는 동작을 직접 처리해야 했었다.However, in the conventional CD-ROM drive open / closed control format, after opening the CD-ROM drive, the user must directly close the hardware or software to close the operation.

이러한 종래의 방식은 시디롬 드라이브를 닫지 않은 상태로 피시(PC : Personal Computer)가 종료된 경우가 발생할 수 있고, 피시(PC)가 구동중인 상태에서 시디롬 드라이브를 열어둔 채 장기간 방치해 두는 경우가 발생할 수 있다.Such a conventional method may occur when the PC (Personal Computer) is shut down without closing the CD-ROM drive, and may be left for a long time with the CD-ROM drive open while the PC is running. Can be.

그리하여, 사용자가 이러한 시디롬 드라이브를 닫기 위해 취해지는 사용자의 동작은, 이미 꺼진 상태의 피시(PC)를 다시 켜게 될 수도 있고, 다른 중요한 작업중에 불필요한 에너지를 낭비하여 처리해야 하는 문제점을 낳았다.Thus, the user's action taken by the user to close this CD-ROM drive may cause the PC (which is already turned off) to be turned on again and to waste unnecessary energy during other important tasks.

또한, 시디롬 드라이브가 열려있는 상태에서는 돌출된 시디롬 드라이브에 옷이나 살이 걸려 다치고 찢어질 수 있으며, 외부 충격으로 인한 시디롬 드라이브의 파손이 낳을 수 있는 문제점이 있었다. 특히, 기존의 시디롬 드라이브는 플라스틱 형태로 그리 단단하게 구성되어 있지 못하여 시디롬 드라이브의 개방상태에서는 시디롬 드라이브 특히, 트레이가 손상될 수 있는 가능성을 다분히 내포하는 문제점이 있었다.In addition, when the CD-ROM drive is open, the protruded CD-ROM drive may have clothes or flesh to be injured and torn, resulting in damage to the CD-ROM drive due to external impact. In particular, the existing CD-ROM drive has not been constructed in a plastic form so that there is a problem that the CD-ROM drive, especially the tray, may be damaged when the CD-ROM drive is open.

이러한, 시디롬 드라이브의 뜻하지 않은 개방 현상은 피시(PC) 등과 같이 이를 탑재하는 시스템과 이를 사용하는 사용자에게 피해를 줄 수 있는 문제점이 있었다. 또한, 이러한 경험을 다수가 경험자가 이미 경험하고 있다.Such an accidental opening of the CD-ROM drive has a problem that may damage the system and the user who uses it, such as a PC. In addition, many of these experiences are already experienced by experienced users.

또한, 시디롬 드라이브의 하드웨어 구성에 있어서도 이러한 시디롬 드라이브의 닫기 버튼을 따로 구성한다는 것은, 물론 다른 이유로 이를 구성할 수도 있지만, 단지 트레이의 개방을 처리하기 위한 이유로 국한된 경우에는 그 구성이나 제작 자체가 불필요하고 시디롬 드라이브의 단가를 올리는 문제점을 낳았다.In addition, in the hardware configuration of the CD-ROM drive, it is possible to configure the CD-ROM drive's close button separately, of course, for other reasons. This raises the problem of increasing the price of the CD-ROM drive.

상기한 종래기술의 설명에 있어 시디롬 드라이브를 예로 들고 있지만, 이외에도 드라이브 도어의 이동 개폐 또는 트레이의 이동 개폐 형태를 띄는 디스크 드라이브에서 상기한 바와 같은 문제점이 나타나고 있었다.In the above description of the prior art, the CD-ROM drive is taken as an example, but in addition, the above-described problems have been shown in the disc drive having the opening / closing movement of the drive door or the opening / closing movement of the tray.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 사용자의 디스크 드라이브 열기 명령을 통해 기설정된 소정의 데이터에 따라 드라이브를 열고 소정시간 대기 후에 닫기의 과정을 자동적으로 처리하는 디스크 드라이브 자동 제어 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.Disclosure of Invention The present invention has been made to solve the above-described problems, and the disk drive automatic process of automatically opening the drive according to predetermined data through a user's disk drive open command and automatically closing the drive after waiting a predetermined time. It is an object of the present invention to provide a computer-readable recording medium recording a control method and a program for realizing the method.

도 1 은 본 발명이 적용되는 개인용 컴퓨터(PC)의 구성예시도.1 is an exemplary configuration diagram of a personal computer (PC) to which the present invention is applied.

도 2 는 본 발명에 따른 디스크 드라이브 자동 제어 방법에 대한 일실시예 흐름도.2 is a flowchart illustrating an embodiment of a method for automatically controlling a disk drive according to the present invention.

*도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

11 : 입력부 12 : 중앙 제어부11 input unit 12 central control unit

13 : 망 접속부 14 : 출력부13 network connection 14 output unit

15 : 시디롬 드라이브 16 : 저장부15: CD-ROM drive 16: Storage

상기 목적을 달성하기 위한 본 발명은, 디스크 드라이브 시스템에 적용되는 디스크 드라이브 자동 제어 방법에 있어서, 디스크 드라이브 제어 프로세스가 사용자로부터의 디스크 드라이브 자동 제어 요청에 따라 디스크 드라이브 이용을 위한 초기화를 수행하는 제 1 단계; 상기 디스크 드라이브 제어 프로세스가 상기 사용자로부터 상기 디스크 드라이브에 대한 요청을 입력받아 상기 사용자의 요청 내역을 확인하는 제 2 단계; 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 제어 설정이면, 상기 사용자로부터 입력받은 값을 제어 설정값으로 지정하여 저장 관리하는 제 3 단계; 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 열기 명령이면 상기 디스크 드라이브가 동작중인지의 여부를 점검하여 상기 디스크 드라이브를 여는 제 4 단계; 및 열려진 상기 디스크 드라이브에 대해 상기 제어 설정값의 오류 여부와 상기 제어 설정값으로 기설정된 개방시간을 점검하여 설정된 상기 디스크 드라이브의 개방시간 동안 대기 후에 상기 디스크 드라이브의 닫기를 수행하는 제 5 단계를 포함하는 것을 특징으로 한다.In accordance with another aspect of the present invention, there is provided a method for automatically controlling a disk drive applied to a disk drive system, wherein the disk drive control process performs initialization for using a disk drive according to a request for automatic disk drive control from a user. step; A second step of the disk drive control process receiving a request for the disk drive from the user and confirming a request history of the user; A third step of designating and storing a value received from the user as a control setting value if the user request is the disk drive control setting as a result of the checking of the second step; A fourth step of checking whether the disk drive is in operation and opening the disk drive if the user request is the disk drive open command as a result of the checking of the second step; And a fifth step of checking whether the control setting value is error or the opening time preset by the control setting value with respect to the opened disk drive, and then closing the disk drive after waiting for the opening time of the set disk drive. Characterized in that.

또한, 본 발명은, 프로세서를 구비한 디스크 드라이브 시스템에, 사용자로부터의 디스크 드라이브 자동 제어 요청에 따라 디스크 드라이브 이용을 위한 초기화를 수행하는 제 1 기능; 상기 사용자로부터 상기 디스크 드라이브에 대한 요청을 입력받아 상기 사용자의 요청 내역을 확인하는 제 2 기능; 상기 제 2 기능의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 제어 설정이면, 상기 사용자로부터 입력받은 값을 제어 설정값으로 지정하여 저장 관리하는 제 3 기능; 상기 제 2 기능의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 열기 명령이면 상기 디스크 드라이브가 동작중인지의 여부를 점검하여 상기 디스크 드라이브를 여는 제 4 기능; 및 열려진 상기 디스크 드라이브에 대해 상기 제어 설정값의 오류 여부와 상기 제어 설정값으로 기설정된 개방시간을 점검하여 설정된 상기 디스크 드라이브의 개방시간 동안 대기 후에 상기 디스크 드라이브의 닫기를 수행하는 제 5 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.The present invention also provides a disk drive system including a processor, comprising: a first function of performing initialization for using a disk drive according to a request for automatic control of a disk drive from a user; A second function of receiving a request for the disk drive from the user and confirming a request history of the user; A third function of storing and managing a value received from the user as a control setting value when the request of the user is the disk drive control setting as a result of confirming the second function; A fourth function of checking whether the disk drive is in operation to open the disk drive if the user request is the disk drive open command as a result of checking of the second function; And a fifth function of checking whether the control setting value is error or the opening time set by the control setting value with respect to the opened disk drive, and closing the disk drive after waiting for the opening time of the set disk drive. A computer readable recording medium having a program recorded thereon is provided.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 개인용 컴퓨터(PC)의 구성예시도이다.1 is an exemplary configuration diagram of a personal computer (PC) to which the present invention is applied.

도 1 에서는 개인용 컴퓨터(PC)를 예로 들어 제시하고 있다. 피시(PC)의 구성은, 입력부(11), 중앙 제어부(CPU : Central Process Unit, 12), 망 접속부(13), 출력부(14), 시디롬 드라이브(15) 및 저장부(16)를 포함한다.1 illustrates a personal computer (PC) as an example. The configuration of the PC includes an input unit 11, a central control unit (CPU) 12, a network connection unit 13, an output unit 14, a CD-ROM drive 15, and a storage unit 16. do.

여기서, 입력부(11)는 키보드나 마우스와 같이 사용자로부터의 입력수단을말하며, 중앙 제어부(CPU, 12)는 피시(PC) 시스템 전체의 구동 및 제어를 담당한다. 또한, 망 접속부(13)는 모뎀이나 랜카드 등과 같이 네트워크를 통해 다른 컴퓨터와의 연결이 이루어지도록 하는 것이며, 출력부(14)는 모니터, 프린터 등과 같이 정보를 출력하는 수단이다.Here, the input unit 11 refers to an input means from a user, such as a keyboard or a mouse, and the central control unit (CPU) 12 is responsible for driving and controlling the entire PC system. In addition, the network connection unit 13 is to be connected to another computer via a network, such as a modem or LAN card, the output unit 14 is a means for outputting information, such as a monitor, a printer.

시디롬 드라이브(15)는 시디롬을 통해 피시(PC)에서 정보를 활용할 수 있도록 시디롬 정보를 읽는 수단으로, 일종의 보조 저장수단이라 할 수 있으며, 저장부(16)는 램, 하드디스크와 같이 정보를 저장하는 저장수단을 말한다. 크게는 시디롬 드라이브(15)도 저장부(16)에 해당한다고 할 수 있지만, 본 발명이 시디롬 드라이브(15)와 같은 디스크 드라이브에 관한 것이라 별도로 제시하고 있다.The CD-ROM drive 15 is a means of reading CD-ROM information so that the PC can utilize the information through the CD-ROM. The CD-ROM drive 15 is a kind of auxiliary storage means, and the storage unit 16 stores information such as a RAM and a hard disk. Refers to storage means. In general, the CD-ROM drive 15 may correspond to the storage unit 16, but the present invention relates to a disk drive such as the CD-ROM drive 15.

본 발명을 기존의 시디롬 드라이브와 비교하여 설명하면 다음과 같다.The present invention is described below in comparison with a conventional CD-ROM drive.

기존의 시디롬 드라이브는 제어방식에 있어서, 사용자가 시디롬 드라이브에 열기 명령을 내려 장치에 열리며, 해당 시디의 삽입 또는 인출이 이루어지고, 그 후 사용자가 시디롬 드라이브에 닫기 명령을 내려야 드라이브가 닫혔다.In the conventional CD-ROM drive, the user opens a command to the CD-ROM drive to open the device, the CD-ROM is inserted or withdrawn, and the user does not close the CD-ROM drive until the drive is closed.

따라서, 시디롬 드라이브를 사용자가 일일이 닫아 주어야 하고, 시디롬 드라이브가 열린 상태에서는 돌출된 트레이에 옷이나 살이 걸려 부상의 우려가 있으며, 외부 충격으로 쉽게 파손될 가능성이 있다. 또한, 시디롬 드라이브를 닫지 않은 상태로 피시가 종료되면, 피시를 다시 켜서 드라이브를 닫아주어야 하는 경우가 발생할 수 있었다.Accordingly, the CD-ROM drive must be closed by the user, and when the CD-ROM drive is open, clothes or flesh may be caught on the protruding tray, and there is a risk of injury, and the CD-ROM drive may be easily damaged by an external shock. In addition, when the fish is terminated without closing the CD-ROM drive, it may be necessary to close the drive by turning on the fish again.

그렇지만, 본 발명에 따른 자동 제어 방법은, 사용자가 시디 드라이브에 열기 명령을 내려 장치가 열리고, 시디롬의 삽입 또는 인출이 이루어지고, 미리 지정된 일정시간 대기 후에 자동으로 시디롬 드라이브로 닫기 명령을 전달하여, 닫기를 처리한다.However, in the automatic control method according to the present invention, a user opens a command to the CD drive to open the device, inserts or withdraws a CD-ROM, and automatically delivers a close command to the CD-ROM drive after a predetermined time wait. Handle the close.

본 발명에 따른 자동 제어 방법에 있어, 시디롬 드라이브의 열린 후 대기시간은 2초(2000㎧)를 기본값으로 하여, 0~10초(10000㎧) 중에서 자유로이 시간을 정할 수 있으며, 대기시간의 설정은 피시(PC)인 경우, 구동된 운영체제 안에서 사용자가 선택하여 설정하게 된다.In the automatic control method according to the present invention, the standby time after opening of the CD-ROM drive is set to 2 seconds (2000 ms) as a default, and the time can be freely set from 0 to 10 seconds (10000 ms). In the case of a PC, the user selects and sets the operating system.

예를 들어, 피시(PC)에서 윈도우 운영체제인 경우에, 작업표시줄에 디스크 드라이브 자동 제어 표시가 뜨게 되는데 이 표시를 사용자가 마우스로 더블 클릭하거나 오른쪽 버튼을 클릭하면 뜨는 메인 메뉴를 통해 대기시간의 설정과 같은 작업을 처리하게 된다. 이때, 디스크 드라이브의 제어권은 운영체제나 다른 프로그램이 아니라 본 발명에 따른 자동 제어 처리 프로그램이 갖게 된다.For example, if the PC is a Windows operating system, an automatic disk drive control indicator will appear in the taskbar, and the user can double-click or right-click on the indicator to display the wait time via the main menu. It will handle the same tasks as configuration. At this time, the control right of the disk drive is not the operating system or other programs but the automatic control processing program according to the present invention.

도 2 는 본 발명에 따른 디스크 드라이브 자동 제어 방법에 대한 일실시예 흐름도이다.2 is a flowchart illustrating an embodiment of a method for automatically controlling a disk drive according to the present invention.

우선, 사용자로부터 시디롬 드라이브의 자동 개폐 제어 서비스 구동을 요청받는다(201). 즉, 사용자가 본 발명에 따른 시디롬 드라이브의 자동 개폐 제어를 요청하여 해당 처리 프로세스를 실행시키는 것이다.First, the user is requested to drive the automatic opening and closing control service of the CD-ROM drive (201). That is, the user requests the automatic opening and closing control of the CD-ROM drive according to the present invention to execute the processing process.

시디롬 드라이브의 자동 개폐 제어 서비스가 구동되면, 먼저 시디롬 드라이브로 닫기 명령을 전달한다(202). 이는 자동 개폐 처리 프로세스의 구동과 함께 초기치로 혹시라도 열려있을 수도 있는 시디롬 드라이브의 닫기 과정을 수행하기 위한 것이다.When the automatic opening / closing control service of the CD-ROM drive is driven, a close command is first transmitted to the CD-ROM drive (202). This is to perform the closing process of the CD-ROM drive, which may be open as an initial value along with the operation of the automatic opening and closing process.

여기서, 닫기 명령은 윈도우 운영체제의 "mciSendCommand(MCI_SET_DOOR_CLOSED)" 명령을 이용한다.Here, the close command uses the "mciSendCommand (MCI_SET_DOOR_CLOSED)" command of the Windows operating system.

윈도우의 "mciSendCommand()"는 '마이크로소프트'의 윈도우가 VCR, VDP(VideoDisc Player) 그리고, CD 오디오와 같은 장치를 제어하는 매체 제어 인터페이스(MCI)이다."MciSendCommand ()" in Windows is a Media Control Interface (MCI) that allows Microsoft's Windows to control devices such as VCRs, VDPs (VideoDisc Players), and CD audio.

자동 개폐 처리 프로세스는 사용자로부터 시디롬 드라이브의 개방 명령을 받는다(203). 그러면, 자동 개폐 처리 프로세스는 시디롬 드라이브가 구동중인지를 점검한다(204). 즉, 시디롬 드라이브에 어느 시디롬이 들어가 있으며, 그 시디롬을 이용하기 위해 시디롬 드라이브가 구동중인가를 점검하는 것이다.The automatic open / close processing process receives an opening command of the CD-ROM drive from the user (203). The automatic open / close processing process then checks if the cdrom drive is running (204). That is, it checks which cdrom is in the cdrom drive and which cdrom drive is running to use the cdrom.

시디롬 드라이브가 구동중인지를 점검한 결과, 시디롬 드라이브가 구동중이면, 시디롬 드라이브의 구동을 정지시키고(205), 시디롬 드라이브의 개방 명령을 시디롬 드라이브로 전달한다(206).As a result of checking whether the CD-ROM drive is being driven, if the CD-ROM drive is being driven, driving of the CD-ROM drive is stopped (205), and an open command of the CD-ROM drive is transmitted to the CD-ROM drive (206).

시디롬 드라이브가 구동중인지를 점검한 결과, 시디롬 드라이브가 구동중이 아니면, 시디롬 드라이브의 개방 명령을 시디롬 드라이브로 전달한다(206).As a result of checking whether the CD-ROM drive is being driven, if the CD-ROM drive is not being driven, an open command of the CD-ROM drive is transmitted to the CD-ROM drive (206).

닫기 명령은 윈도우 운영체제의 "mciSendCommand(MCI_SET_DOOR_OPEN)" 명령을 이용한다.The close command uses the "mciSendCommand (MCI_SET_DOOR_OPEN)" command of the Windows operating system.

그리고, 대기시간을 기억할 대기시간 변수(Wait)를 준비한다(207). 본 발명의 일실시예에서는 더블워드(DWORD)형 변수로써 준비한다.Then, a waiting time variable Wait to store the waiting time is prepared (207). In one embodiment of the present invention, a double word (DWORD) type variable is prepared.

다음으로, 시디롬 드라이브 대기시간에 관련한 데이터를 레지스트리의 해당 설정 구역에서 읽어온다(208). 그리고, 읽어들인 대기시간 설정값을 대기시간변수(Wait)에 저장한다(209). 즉, 사용자의 시디롬 드라이브 열기 명령에 따라, 대기시간 변수(Wait)를 준비한 후, 레지스트리에서 개방 후의 대기시간 설정값을 읽어와 대기시간 변수(Wait)에 기록하는 것이다.Next, data relating to CD-ROM drive latency is read from the corresponding configuration section of the registry (208). The read wait time setting value is stored in the wait time variable Wait (209). That is, according to the user's CD-ROM drive open command, after preparing the wait variable (Wait), it reads the wait time setting value after opening from the registry and writes it to the wait time variable (Wait).

대기시간 변수(Wait)에 기록된 값을 확인하여, 대기시간 변수(Wait)값이 10초(10,000㎧) 이하인지를 판단한다(210).By checking the value recorded in the wait variable Wait, it is determined whether the wait variable Wait value is 10 seconds (10,000 ms) or less (210).

판단 결과, 대기시간 변수(Wait)값이 10초 이하이지 않으면, 대기시간 변수(Wait)에 기본값을 대입하고(211), 레지스트리의 대기시간 설정값을 기본값으로 설정한다(212). 즉, 대기시간 변수(Wait)에 설정된 범위 이외의 데이터가 입력되어 있으면, 레지스트리에 잘못된 데이터가 기록되어 있는 상태이므로 이를 기본값으로 바꾸게 된다. 본 발명의 일실시예에서는 대기시간의 범위를 0초~10초(10,000㎧)로 하고 있으며, 기본값은 2초(2,000㎧)로 하고 있다.If it is determined that the wait time value is not less than 10 seconds, the default value is assigned to the wait time variable (Wait) (211), and the wait time setting value of the registry is set as the default value (212). In other words, if data other than the range set in the wait time variable (Wait) is input, the wrong data is recorded in the registry, so it is changed to the default value. In one embodiment of the present invention, the standby time ranges from 0 seconds to 10 seconds (10,000 ms), and the default value is 2 seconds (2,000 ms).

다음으로, 운영체제에서 제공하는 타이머를 구동시키고(213), 대기시간 변수(Wait)에 설정되어 있는 시간만큼 대기한다(214).Next, the timer provided by the operating system is driven (213), and waits for the time set in the wait time variable (Wait) (214).

대기시간 변수(Wait)에 기록된 값을 확인하여, 대기시간 변수(Wait)값이 10초(10,000㎧) 이하인지를 판단한 결과, 대기시간 변수(Wait)의 값이 10초 이하이면, 운영체제에서 제공하는 타이머를 구동시키고(213), 대기시간 변수(Wait)에 설정되어 있는 시간만큼 대기한다(214). 즉, 대기시간 변수(Wait)의 값이 정상적이면, 다음으로 넘어가 타이머를 구동하여 설정 시간만큼의 경과를 체크하는 것이다.After checking the value recorded in the wait variable (Wait), it is determined whether the wait value (Wait) value is 10 seconds or less (10,000 ms). The provided timer is driven (213), and waits for the time set in the wait time variable (Wait) (214). That is, if the value of the wait time variable Wait is normal, the process proceeds to the next time and checks the progress of the set time by driving the timer.

대기시간 변수(Wait)에 기록된 시간만큼 대기한 다음에는 시디롬 드라이브로 닫기 명령을 전달하고(215), 사용자로부터 시디롬 드라이브의 자동 개폐 제어 서비스 구동 중지를 요청받았는지를 검사한다(216).After waiting for the amount of time recorded in the wait time variable Wait, a close command is transmitted to the CD-ROM drive (215), and it is checked whether the user is requested to stop the automatic opening / closing control service of the CD-ROM drive (216).

사용자로부터 시디롬 드라이브의 자동 개폐 제어 서비스 구동 중지를 요청받았는지를 검사한 결과, 구동 중지를 요청받지 않았으면, 사용자로부터 시디롬 드라이브의 개방(열기) 명령을 받을 때까지 대기하다가, 사용자로부터 시디롬 드라이브의 개방 명령을 전달받는 과정(203)부터 반복 수행한다.If the user is requested to stop the automatic opening / closing control service of the CD-ROM drive. If the user is not requested to stop the CD-ROM drive, the user waits until the user receives an open (open) command from the CD-ROM drive. From the process of receiving the open command (203) is repeated.

사용자로부터 시디롬 드라이브의 자동 개폐 제어 서비스 구동 중지를 요청받았는지를 검사한 결과, 구동 중지를 요청받았으면, 사용자로부터의 구동 중지 요청에 따라 자동 개폐 제어 프로세스의 구동을 중지시킨다.As a result of checking whether the user is requested to stop the automatic opening and closing control service of the CD-ROM drive, when the driving stop is requested, the automatic opening and closing control process is stopped according to the driving stopping request from the user.

상기한 바와 같은 실시예에 있어 시디롬 드라이브는 디스크 드라이브의 한 예를 나타내고 있는 것이다. 따라서, 그 외에 다른 디스크 드라이브에서도 적용이 가능하다.In the above embodiment, the CD-ROM drive shows an example of a disk drive. Therefore, other disk drives can be applied.

상기한 실시예에서 상세히 설명하고 있지 않지만, 사용자는 대기 시간을 설정할 수 있다. 이렇게 설정된 대기시간은 윈도우 운영체제의 경우, 레지스트리에 등록되고, 자동 제어 프로세스가 구동시에 이를 참조하여 디스크 드라이브의 개폐를 관리하게 된다.Although not described in detail in the above embodiment, the user can set the waiting time. The set wait time is registered in the registry in the case of the Windows operating system, and when the automatic control process is started, it manages the opening and closing of the disk drive.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 디스크 드라이브의 개방 요청을 받아 개방하고 일정시간 대기 후 자동으로 다시 닫히도록 하여 사용자의 불필요한 동선없이 최소한의 동작으로 편리하게 디스크 드라이브를 사용할 수 있는 효과가 있다.As described above, the present invention has an effect that the disk drive can be conveniently used with minimal operation without unnecessary movement of the user by opening and receiving the disk drive open request and automatically closing again after waiting for a predetermined time.

또한, 본 발명은, 디스크 드라이브의 개방시에 올 수 있는 물리적 손상을 자동 닫힘 기능으로 최대한 억제하여 디스크 드라이브의 이용 시간을 상승시킬 수 있는 효과가 있다.In addition, the present invention has the effect of increasing the use time of the disk drive by suppressing the physical damage that can come when opening the disk drive to the maximum by the automatic closing function.

또한, 본 발명은, 특별한 이유없이 닫기 버튼이 디스크 드라이브에 설치되었던 경우보다 구성 단가를 낮출 수 있는 효과가 있다.In addition, the present invention has the effect of lowering the configuration cost than when the close button is installed in the disk drive for no special reason.

Claims (6)

디스크 드라이브 시스템에 적용되는 디스크 드라이브 자동 제어 방법에 있어서,In the disk drive automatic control method applied to the disk drive system, 디스크 드라이브 제어 프로세스가 사용자로부터의 디스크 드라이브 자동 제어 요청에 따라 디스크 드라이브 이용을 위한 초기화를 수행하는 제 1 단계;A first step of the disk drive control process performing initialization for disk drive use according to a disk drive automatic control request from a user; 상기 디스크 드라이브 제어 프로세스가 상기 사용자로부터 상기 디스크 드라이브에 대한 요청을 입력받아 상기 사용자의 요청 내역을 확인하는 제 2 단계;A second step of the disk drive control process receiving a request for the disk drive from the user and confirming a request history of the user; 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 제어 설정이면, 상기 사용자로부터 입력받은 값을 제어 설정값으로 지정하여 저장 관리하는 제 3 단계;A third step of designating and storing a value received from the user as a control setting value if the user request is the disk drive control setting as a result of the checking of the second step; 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 열기 명령이면 상기 디스크 드라이브가 동작중인지의 여부를 점검하여 상기 디스크 드라이브를 여는 제 4 단계; 및A fourth step of checking whether the disk drive is in operation and opening the disk drive if the user request is the disk drive open command as a result of the checking of the second step; And 열려진 상기 디스크 드라이브에 대해 상기 제어 설정값의 오류 여부와 상기 제어 설정값으로 기설정된 개방시간을 점검하여 설정된 상기 디스크 드라이브의 개방시간 동안 대기 후에 상기 디스크 드라이브의 닫기를 수행하는 제 5 단계A fifth step of checking whether the control setting value is error and the opening time set by the control setting value with respect to the opened disk drive, and closing the disk drive after waiting for the opening time of the set disk drive; 를 포함하는 디스크 드라이브 자동 제어 방법.Disk drive automatic control method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 상기 디스크 드라이브 제어 프로세스가 상기 사용자로부터 디스크 드라이브 자동 제어 요청을 받아 활성화하여 구동하는 제 6 단계; 및A sixth step of the disk drive control process receiving and activating a disk drive automatic control request from the user; And 상기 디스크 드라이브 제어 프로세스가 상기 디스크 드라이브를 자동 제어가 가능한 구동 상태로 유지시키기 위해 닫기 명령과 같은 일련의 초기화 명령을 상기 디스크 드라이브로 전달하는 제 7 단계A seventh step in which the disk drive control process delivers a series of initialization commands, such as a close command, to the disk drive to maintain the disk drive in an automatically controllable drive state. 를 포함하는 디스크 드라이브 자동 제어 방법.Disk drive automatic control method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 3 단계는,The third step, 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브에 대한 제어를 위해 기록되는 설정값에 관한 것이면, 상기 사용자의 설정 요청이 상기 디스크 드라이브의 개방시간 설정값인지를 검사하는 제 6 단계;A sixth step of checking whether the user's request for setting is the open time setting value of the disk drive if the user's request relates to a setting value recorded for control of the disk drive as a result of the checking of the second step; ; 상기 제 6 단계의 검사 결과, 상기 디스크 드라이브의 개방시간 설정값이면 주어진 범위에 만족하는 상기 사용자의 개방시간 설정값에 대해 설정 메모리에 기록하여 관리하는 제 7 단계; 및A seventh step of recording and managing an opening time setting value of the user that satisfies a given range if the opening time setting value of the disk drive is a result of the sixth step; And 상기 제 6 단계의 검사 결과, 상기 디스크 드라이브의 개방시간 설정값이 아니면, 상기 디스크 드라이브 사용자의 요청에 따라 설정값에 관련된 내용임을 파악하여 설정 처리를 수행하는 제 8 단계An eighth step of determining that the content is related to the setting value according to a request of the disk drive user, if the opening time setting value of the disk drive is not determined as a result of the sixth step; 를 포함하는 디스크 드라이브 자동 제어 방법.Disk drive automatic control method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 4 단계는,The fourth step, 상기 제 2 단계의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 열기 명령이면, 상기 디스크 드라이브에서 해당 디스크가 동작중인지를 검사하는 제 6 단계;A sixth step of checking whether the disc is operating in the disc drive if the user's request is an open command of the disc drive; 상기 제 6 단계의 검사 결과, 상기 디스크 드라이브가 동작중이면 상기 디스크 드라이브의 동작을 중지시키고 상기 디스크 드라이브를 개방하는 제 7 단계; 및A seventh step of stopping the operation of the disk drive and opening the disk drive when the disk drive is operating as a result of the sixth step; And 상기 제 6 단계의 검사 결과, 상기 디스크 드라이브가 동작중이지 않으면, 상기 디스크 드라이브를 개방하는 제 8 단계An eighth step of opening the disk drive if the disk drive is not operated as a result of the sixth step inspection 를 포함하는 디스크 드라이브 자동 제어 방법.Disk drive automatic control method comprising a. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4, 상기 제 5 단계는,The fifth step, 열려진 상기 디스크 드라이브에 대해 상기 제어 설정값 중의 개방시간으로 설정된 데이터에 오류가 있는지를 분석하는 제 9 단계;A ninth step of analyzing whether there is an error in the data set as the open time in the control setting value for the opened disk drive; 상기 제 9 단계의 분석 결과, 상기 개방시간 설정 데이터에 오류가 있으면, 상기 개방시간 설정 데이터를 소정의 기본값으로 치환하여 설정하고 상기 기본값만큼 상기 디스크 드라이브를 개방 대기시킨 후에 상기 디스크 드라이브의 닫기를 수행하는 제 10 단계; 및As a result of the analysis in the ninth step, if there is an error in the open time setting data, the open time setting data is replaced with a predetermined default value, and the disk drive is closed after the disk drive is opened as much as the default value. A tenth step; And 상기 제 9 단계의 분석 겨로가, 상기 개방시간 설정 데이터에 오류가 없으면, 상기 개방시간 설정 데이터만큼의 시간동안 상기 디스크 드라이브를 개방 대기시킨 후에 상기 디스크 드라이브의 닫기를 수행하는 제 11 단계An eleventh step of performing the closing of the disk drive after waiting for opening the disk drive for the same amount of time as the opening time setting data if the analysis time of the ninth step does not have an error in the opening time setting data. 를 포함하는 디스크 드라이브 자동 제어 방법.Disk drive automatic control method comprising a. 프로세서를 구비한 디스크 드라이브 시스템에,In a disk drive system with a processor, 사용자로부터의 디스크 드라이브 자동 제어 요청에 따라 디스크 드라이브 이용을 위한 초기화를 수행하는 제 1 기능;A first function of performing initialization to use a disk drive according to a disk drive automatic control request from a user; 상기 사용자로부터 상기 디스크 드라이브에 대한 요청을 입력받아 상기 사용자의 요청 내역을 확인하는 제 2 기능;A second function of receiving a request for the disk drive from the user and confirming a request history of the user; 상기 제 2 기능의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 제어 설정이면, 상기 사용자로부터 입력받은 값을 제어 설정값으로 지정하여 저장 관리하는 제 3 기능;A third function of storing and managing a value received from the user as a control setting value when the request of the user is the disk drive control setting as a result of confirming the second function; 상기 제 2 기능의 확인 결과, 상기 사용자의 요청이 상기 디스크 드라이브 열기 명령이면 상기 디스크 드라이브가 동작중인지의 여부를 점검하여 상기 디스크드라이브를 여는 제 4 기능; 및A fourth function of checking whether the disk drive is in operation and opening the disk drive if the user's request is the disk drive open command as a result of checking of the second function; And 열려진 상기 디스크 드라이브에 대해 상기 제어 설정값의 오류 여부와 상기 제어 설정값으로 기설정된 개방시간을 점검하여 설정된 상기 디스크 드라이브의 개방시간 동안 대기 후에 상기 디스크 드라이브의 닫기를 수행하는 제 5 기능A fifth function of checking whether the control setting value is error or the opening time preset by the control setting value with respect to the opened disk drive and closing the disk drive after waiting for the opening time of the set disk drive; 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1020010040128A 2001-07-05 2001-07-05 Method which controls a disk drive with automatic movement KR20030004597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010040128A KR20030004597A (en) 2001-07-05 2001-07-05 Method which controls a disk drive with automatic movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010040128A KR20030004597A (en) 2001-07-05 2001-07-05 Method which controls a disk drive with automatic movement

Publications (1)

Publication Number Publication Date
KR20030004597A true KR20030004597A (en) 2003-01-15

Family

ID=27713598

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010040128A KR20030004597A (en) 2001-07-05 2001-07-05 Method which controls a disk drive with automatic movement

Country Status (1)

Country Link
KR (1) KR20030004597A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970029736A (en) * 1995-11-28 1997-06-26 배순훈 Disk tray drive control device using SMPS
KR980011376A (en) * 1996-07-31 1998-04-30 배순훈 Measures for power failure in optical disk player
KR19990049078A (en) * 1997-12-11 1999-07-05 김영환 Auto power off method of digital video disc player
KR19990055562A (en) * 1997-12-27 1999-07-15 김영환 How to control the tray drive motor of the compact disc player
US5974016A (en) * 1997-05-30 1999-10-26 International Business Machines Corporation Disc reader with automatic closing tray

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970029736A (en) * 1995-11-28 1997-06-26 배순훈 Disk tray drive control device using SMPS
KR980011376A (en) * 1996-07-31 1998-04-30 배순훈 Measures for power failure in optical disk player
US5974016A (en) * 1997-05-30 1999-10-26 International Business Machines Corporation Disc reader with automatic closing tray
KR19990049078A (en) * 1997-12-11 1999-07-05 김영환 Auto power off method of digital video disc player
KR19990055562A (en) * 1997-12-27 1999-07-15 김영환 How to control the tray drive motor of the compact disc player

Similar Documents

Publication Publication Date Title
US6654827B2 (en) Portable computer system with an operating system-independent digital data player
US8245055B2 (en) Method for firmware control invocation from power management
EP1896936B1 (en) System and method for rapid boot of secondary operating system
US5968141A (en) System for selectively upgrading firmware code for optical disk drive via ATA/IDE interface based on host system programming enable signal
KR970071684A (en) How to control the hard disk cache
US8595552B2 (en) Reset method and monitoring apparatus
US6049871A (en) Method and apparatus for display control bootup
EP2380081A1 (en) Method and system for hibernation or suspend using a non-volatile-memory device
US20100268863A1 (en) Information processing apparatus
TW201117008A (en) Electronic equipment and boot method, storage medium thereof
US20060041740A1 (en) Boot methods, computer systems, and production methods thereof
US5548784A (en) Automatic disk change detection without causing head movement by step pulses
US5675833A (en) Apparatus and method for detecting insertions and removals of floppy disks by monitoring write-protect signal
US5761519A (en) Portable computer having a removable medium drive and a resume setting function
JP2001195237A (en) Computer and display method for computer and recording medium with display program of computer
KR100720808B1 (en) Disk device and method of changing rotational speed of disk device
KR20030004597A (en) Method which controls a disk drive with automatic movement
EP1630668A1 (en) Boot method based on hibernation files for preventing unauthorized modifications
TW201015296A (en) Method for auto-testing environment variable setting
US20070005303A1 (en) Optical disk drive capable of providing a simulation function
US20030058567A1 (en) Intelligent disk drive
US6965949B1 (en) Computing system and method for accessing a computer-readable medium device
US20070192536A1 (en) Apparatus for Accessing A Computer-Readable Medium Device
US20040042108A1 (en) Information processor and storage device control method
JPS628831B2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application