KR101339429B1 - Optical disc drive and driving method thereof - Google Patents

Optical disc drive and driving method thereof Download PDF

Info

Publication number
KR101339429B1
KR101339429B1 KR1020090105493A KR20090105493A KR101339429B1 KR 101339429 B1 KR101339429 B1 KR 101339429B1 KR 1020090105493 A KR1020090105493 A KR 1020090105493A KR 20090105493 A KR20090105493 A KR 20090105493A KR 101339429 B1 KR101339429 B1 KR 101339429B1
Authority
KR
South Korea
Prior art keywords
host
file system
information
fat
optical disk
Prior art date
Application number
KR1020090105493A
Other languages
Korean (ko)
Other versions
KR20110048780A (en
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 KR1020090105493A priority Critical patent/KR101339429B1/en
Priority to US12/822,969 priority patent/US9235351B2/en
Publication of KR20110048780A publication Critical patent/KR20110048780A/en
Application granted granted Critical
Publication of KR101339429B1 publication Critical patent/KR101339429B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • 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

Abstract

광 디스크 드라이브와의 호환성이 없는 호스트에 대해, 호스트가 허용하는 파일 시스템과 장치 정보를 제공함으로써 호스트와의 연결성 또는 호환성을 확보할 수 있는 광 디스크 드라이브 및 그 구동 방법에 관해 기술된다. 디스플레이 장치와 같은 호스트는 한정된 범위의 특정 외부 매체 장치와의 호환성 및 데이터 교환을 위한 특정의 명령어 집합을 가지며, 광 디스크 드라이브 및 구동 방법은 호스트에 호환되는 정보를 전송하며 내부적으로 호스트가 수용하는 특정 명령 집합을 선택함으로써 호스트에 대해 호환성을 가지게 된다.An optical disk drive and a method of driving the same are provided for a host which is not compatible with the optical disk drive, thereby providing connectivity or compatibility with the host by providing file system and device information allowed by the host. Hosts, such as display devices, have a specific set of instructions for compatibility and data exchange with a limited range of specific external media devices, and optical disk drives and drive methods transmit information that is compatible to the host and are internally accepted by the host. By choosing a command set, you are compatible with the host.

Description

광 디스크 드라이브 및 그 구동 방법{Optical disc drive and driving method thereof}Optical disc drive and driving method thereof

수상기(受像機), 전자액자 등과 같은 디스플레이 장치 등의 A/V(Audio/Video) 호스트 장치에 대한 호환성을 가지는 광 디스크 드라이브 및 그 구동방법에 관련된다.The present invention relates to an optical disc drive having compatibility with an A / V (Audio / Video) host device such as a display device such as a receiver, an electronic picture frame, and the like, and a driving method thereof.

광학적 매체 장치의 하나인 광 디스크 드라이브는 대표적인 정보 저장 및 재생 장치이다. 광 디스크의 대표적인 포맷은 CD(Compact Disc) 및 DVD(Digital Versatile Disc)이며 점차 BD(Blu-ray Disc)로 그 폭이 넓어지고 있다. 대부분의 DVD 매체 장치는 저용량의 CD(Compact Disc)에 대한 호환성을 확보하고 있으며, 최근에는 CD, DVD, BD에 대해 호환성을 가지는 광학 매체 장치가 소개되고 있다.An optical disk drive, which is one of the optical media devices, is a representative information storage and playback device. Representative formats of optical discs are compact discs (CDs) and digital versatile discs (DVDs), and are gradually expanding to BDs (Blu-ray Discs). Most DVD media devices secure compatibility with low-capacity compact discs (CDs). Recently, optical media devices having compatibility with CDs, DVDs, and BDs have been introduced.

또한, 대표적인 정보 표시 장치로서는 컴퓨터와 같은 범용성 장치가 있는 한편, 전통적인 장치로서 공중파, 케이블, 인터넷 TV 수상기가 있다. 이러한 수상기는 다양한 정보를 실시간 수상할 수 있는 범용의 영상 표시 장치이다. 이러한 수상기는, 최근에는 주변 장치의 접속을 허용하여 주변 장치에 저장된 다양한 콘텐츠를 표시할 수 있는 기능도 탑재하고 있다.Representative information display devices include general purpose devices such as computers, while conventional devices include airwaves, cables, and Internet TV receivers. Such a water receiver is a general-purpose video display device capable of receiving various information in real time. These devices have recently been equipped with a function that allows the connection of peripheral devices to display various contents stored in the peripheral devices.

이러한 수상기를 포함하는 A/V 호스트 장치는 제한된 범위의 연결성(connectivity)을 허용하며, 따라서 다양한 종류의 매체에 대한 호환성이 부족하다. 또한, 근래의 A/V(Audio/Video) 기기는 USB(Universal Serical Bus) 호스트 기능을 가지고 있어 이에 USB 저장장치(USB 메모리, MP3 플레이어, 외장 HDD 등)를 연결하면 해당 기기에 저장되어 있는 멀티미디어 컨텐츠를 재생할 수 있다. 하지만 A/V 기기는 일반적으로 ISO(International Standard Organization, 국제표준화기구) 9293에서 정의하는 FAT(File Allocation Table) 파일 시스템만을 지원하기 때문에 CDFS(Compact Disc File System) 또는 UDF(Universal Disc Format)등을 파일 시스템으로 사용하는 광 디스크의 데이터를 재생할 수 없다.A / V host devices including such receivers allow a limited range of connectivity and thus lack compatibility with various types of media. In addition, the recent A / V (Audio / Video) device has a USB (Universal Serical Bus) host function, so when a USB storage device (USB memory, MP3 player, external HDD, etc.) is connected, the multimedia stored in the device You can play the content. However, A / V devices generally support only the File Allocation Table (FAT) file system defined by International Standard Organization (ISO) 9293, so they do not support CDFS (Compact Disc File System) or UDF (Universal Disc Format). Data on an optical disc used as a file system cannot be played back.

예시적 실시 예들에 따르면, 제한된 연결성을 가지는 수상기, 전자 액자 등의 외부 호스트에 대해 호환 가능한 광 디스크 드라이브 및 그 구동 방법이 제공된다.According to exemplary embodiments, an optical disk drive and a driving method thereof compatible with an external host such as a receiver, an electronic picture frame, etc. having limited connectivity are provided.

예시적 실시 예는 범용성을 가지는 FAT 파일 시스템의 핵심 데이터 구조인 파일 할당 테이블(File Allocation Table)을 생성할 수 있는 광 디스크 드라이브 및 광 디스크 드라이브의 구동 방법을 제시한다.An exemplary embodiment provides an optical disk drive and a method of driving an optical disk drive capable of generating a file allocation table, which is a core data structure of a FAT file system having general purpose.

예시적 실시 예들에 따른 광 디스크 드라이브는:An optical disc drive according to example embodiments is:

광 디스크에 관련되는 정보를 처리하는 정보 프로세서;An information processor for processing information relating to the optical disc;

FAT 파일 시스템을 지원하는 외부 호스트에 상기 정보 프로세서를 연결하는 인터페이스;를 구비하고,And an interface connecting the information processor to an external host supporting a FAT file system.

상기 인터페이스는 상기 광 디스크의 고유 포맷의 파일 시스템 정보를 상기 호스트가 허용하는 FAT 파일 시스템의 정보로 변환하는 변환부;를 포함하며,The interface includes a conversion unit for converting the file system information of the native format of the optical disk into information of the FAT file system allowed by the host,

상기 변환부는 상기 광 디스크로부터의 파일정보를 임시 저장하는 버퍼 메모리와;The conversion unit buffer memory for temporarily storing file information from the optical disk;

상기 FAT 파일 시스템의 정보를 저장하는 버퍼 메모리를 포함;한다.And a buffer memory for storing information of the FAT file system.

예시적 실시 예에 따른 광학 디스크 드라이브의 구동방법은:A method of driving an optical disc drive according to an exemplary embodiment is:

광 디스크의 고유 포맷의 파일 시스템 정보를 외부 호스트가 허용하는 FAT 파일 시스템의 정보로 변환하는 단계와;Converting file system information of a native format of the optical disc into information of a FAT file system allowed by an external host;

상기 외부 호스트로, 상기 변환된 파일 시스템 정보를 전송하는 단계;를 포 함한다.And transmitting the converted file system information to the external host.

다른 실시 예에 광학 매체 장치의 구동 방법에 따르면, 상기 광학 매체 장치가 호스트 장치에 접속되었을 때, 상기 호스트가 허용하는 물리적 장치 정보를 상기 호스트에 제공하는 단계가 더 포함될 수 있다.According to another embodiment of the present disclosure, a method of driving an optical medium device may further include providing physical host information to the host when the optical medium device is connected to a host device.

또 다른 실시 예에 따르면, 상기 호스트는 수상기이다.According to another embodiment, the host is a receiver.

또 다른 실시 예에 따르면, 상기 광 디스크의 고유 파일 시스템은 ISO 9660에서 정의하는 CDFS(Compact Disc File System) 또는 UDF(Universal Disc Format)이다.According to another embodiment, the unique file system of the optical disc is CDFS (Compact Disc File System) or UDF (Universal Disc Format) as defined by ISO 9660.

또 다른 실시 예에 따르면, 상기 인터페이스는 USB(Universal Serial Bus) 프로토콜을 이용할 수 있다.According to another embodiment, the interface may use a universal serial bus (USB) protocol.

또 다른 실시 예에 따르면, 상기 호스트와 광 디스크 드라이브 간의 USB 장치 인식 과정 절차의 특성을 파악하여 수상기 임을 자동으로 검지할 수 있다.According to another embodiment, the receiver may be automatically detected by identifying the characteristics of the USB device recognition process between the host and the optical disk drive.

이하, 첨부된 도면을 참조하면서 예시적 실시 예들에 따른 광 디스크 드라이브와 이의 구동 방법에 대해 설명한다.Hereinafter, an optical disk drive and a driving method thereof according to exemplary embodiments will be described with reference to the accompanying drawings.

실시 예들에 설명되는 광 디스크는 디스크 형태로서 정보가 광 디스크(optical disc) 상에 물리적으로 기록된 일반적인 모든 매체를 포함하다. 이들 디스크에는 CD, DVD(DVD-R, DVD-RW, DVD+R, DVD+RW, DVD-RAM), BD, 3D, 홀로그램(근접광)이 포함되며, 이들은 고유의 파일 시스템을 가진다. 광 디스크의 일반적인 파일 시스템에는 CDFS, UDF, FAT 등이 포함될 수 있다. 상기 광 디스크는 수상기와 같은 외부 호스트와 연결될 수 있는 인터페이스를 갖춘 광 디스크 드라이브에 탑재된다. 이러한 광 디스크는 별개의 독립된 개체이긴 하지만 광 디스크 드라이브에 의해서 그 본질의 기능이 발휘될 수 있으므로 광 디스크 드라이브의 일부 요소로 해석될 수도 있다. The optical disc described in the embodiments includes all general media in the form of a disc in which information is physically recorded on an optical disc. These discs include CDs and DVDs (DVD-R, DVD-RW, DVD + R, DVD + RW, DVD-RAM), BD, 3D, holograms (near light) and they have their own file systems. Typical file systems for optical discs may include CDFS, UDF, FAT, and the like. The optical disc is mounted in an optical disc drive having an interface that can be connected to an external host such as a receiver. Although such an optical disc is a separate and independent entity, it may be interpreted as a part of an optical disc drive because its function can be exerted by the optical disc drive.

도 1에 도시된 바와 같이 광 디스크 드라이브(10)는 수상기(20)와 같은 호스트에 대한 슬레이브 장치(주변기기)로서 인터케이블(30)에 의해 상호 연결된다.As shown in FIG. 1, the optical disc drive 10 is interconnected by an inter cable 30 as a slave device (peripheral device) to a host such as the receiver 20.

인터케이블(30)을 통한 정보의 교환은 두 장치의 인터페이스에 의해 이루어지며, 인터페이스는 대표적으로 USB 포트(port)를 포함할 수 있으며, USB 버전에는 1.0. 1.1, 2.0, 3.0이 있다. 즉, 상기 인터케이블(30)로서 USB 케이블이 이용될 수 있으며, 따라서 광 디스크 드라이브(10)와 수상기(20)는 USB 프로토콜에 의해 상호 정보를 교환할 수 있다. 한편, 다른 실시예에 따르면, 인터케이블이 없는 무선 방식으로 상기 인터페이스를 구성할 수 있다. 무선 방식에는 다양한 공지 유형이 존재하며, 여기에는 블루투스나 무선랜(WIFI) 방식 등의 무선 전파 접속방식 또는 적외선 등을 이용한 무선 광 접속 방식이 포함된다.The exchange of information via the interconnect cable 30 is made by the interface of the two devices, the interface may typically include a USB port, USB version 1.0. There are 1.1, 2.0, and 3.0. That is, a USB cable may be used as the inter cable 30, and thus the optical disk drive 10 and the receiver 20 may exchange information with each other by the USB protocol. Meanwhile, according to another exemplary embodiment, the interface may be configured in a wireless manner without an inter cable. There are various known types of wireless methods, and these include wireless radio access methods such as Bluetooth or wireless LAN (WIFI) or wireless optical access using infrared.

외부 슬레이브 장치가 접속가능한 수상기(20) 또는 전자 액자 등과 같은 호스트는 제한된 범위의 파일 시스템을 지원한다. 대표적으로 FAT이며, 이는 HDD 뿐 아니라, CF(Compact Flash), SD(Secure Digital), MMC(Multi Media Card), 메모리 스틱(Memory stick) 등의 다양한 형태의 메모리 카드에 적용된다. 그 외에도 다양한 파일시스템이 존재하나, 호스트는 이 모두를 지원할 수 없고, 일반적으로 가장 널리 사용되는 파일 시스템을 일부만을 지원한다. 호스트로서의 수상기(20)에는 케 이블 방송, 인터넷 방송, 공중파 방송 수신뿐 아니라 내부에 멀티미디어 등의 콘텐츠 재생 시스템을 가진 제품이 있다. 재생용 콘텐츠는 외부에서 접촉되는 슬레이브로부터 얻어진다. 그러나, 예를 들어, FAT 파일시스템만을 지원하는 수상기는 CDFS/UDF 파일시스템의 광학 매체 장치로부터 콘텐츠를 받아들일 수 없다. 이하에서 설명되는 실시 예들은 제한된 범위의 파일 시스템 중 임의 파일 시스템, 예를 들어 FAT 파일 시스템을 지원하는 호스트, 예를 들어 수상기에 대한 광 디스크 드라이브의 접속성을 확보하고 그리고 광 디스크 드라이브의 고유의 파일 시스템을 수상기가 허용하는 FAT 파일 시스템 등의 임의 파일 시스템으로 변환하여 송출하는 방법 및 장치에 관련된다. 이하에서 설명되는 예를 들어 FAT 파일 시스템을 지원하는 수상기는 디스플레이 장치의 한 예로서 본 발명의 기술적 범위를 제한하지 않으며, 다양한 디스플레이 장치에는 예를 들어 전자 액자가 포함될 수 있다.Hosts such as a receiver 20 or an electronic picture frame to which an external slave device can be connected support a limited range of file systems. The FAT is typically applied to various types of memory cards such as Compact Flash (CF), Secure Digital (SD), Multi Media Card (MMC), and Memory Stick, as well as HDDs. There are many other filesystems, but hosts cannot support them all, and generally only some of the most widely used filesystems. The receiver 20 as a host includes a product having a content reproducing system such as multimedia broadcasting, as well as cable broadcasting, internet broadcasting, and over-the-air broadcasting reception. The content for playback is obtained from the slave in contact with the outside. However, for example, a receiver that only supports the FAT file system cannot accept content from the optical media device of the CDFS / UDF file system. Embodiments described below ensure the connectivity of an optical disk drive to a host, for example a receiver, that supports any of a limited range of file systems, such as the FAT file system, The present invention relates to a method and apparatus for converting a file system into an arbitrary file system such as a FAT file system allowed by the receiver and transmitting the file system. For example, the water receiver supporting the FAT file system described below does not limit the technical scope of the present invention as an example of a display device, and various display devices may include, for example, an electronic picture frame.

도 2는 실시 예에 따른 광 디스크 드라이브(10)의 블럭화된 전체 구조를 도시한다.2 is a block diagram illustrating an overall structure of an optical disk drive 10 according to an embodiment.

광 디스크 드라이브(10)는 광 디스크(11)로부터 정보를 읽어내거나 기록하는 광 픽업(12)을 포함한다. 광 픽업(12)은 일반적인 구조에서와 같이 대물렌즈, 레이저 다이오드(LD), 광검출기 등의 광학계와 광학계를 기구적으로 지탱하면서 포커싱, 트랙킹 동작을 일으키는 기구계를 포함한다. 광학계는 엔코더/디코더를 포함하는 것으로, 외부 호스트에 연결하기 위한 인터페이스(15)에 연결된 정보 처리부(13)에 연결되고, 기구계는 서보부(14)에 연결된다. 상기 정보처리부(13), 서보부(14), 인터페이스(15)는 중앙 제어부(16)에 의해 통제된다.The optical disc drive 10 includes an optical pickup 12 that reads or writes information from the optical disc 11. The optical pickup 12 includes an optical system such as an objective lens, a laser diode (LD), a photodetector, and a mechanical system that performs focusing and tracking operations while mechanically supporting the optical system. The optical system includes an encoder / decoder and is connected to the information processing unit 13 connected to the interface 15 for connecting to an external host, and the mechanical system is connected to the servo unit 14. The information processing unit 13, the servo unit 14, and the interface 15 are controlled by the central control unit 16.

일 실시 예에 따라 상기 인터페이스(15)는 USB 포트를 포함하며, 따라서 USB 프로토콜에 의해 호스트인 수상기(20)와 정보를 주고 받는다. 이때에 수상기(30)은 내장된 콘텐츠 재생장치에 의해 광 디스크 드라이브로부터 제공받은 콘텐츠을 재생하게 된다. 콘텐츠의 제공을 위해서, 광 디스크 드라이브(10)와 수상기(20)는 각각의 인터페이스(15, 21)를 통해 상호 정보 교환이 가능한 상태가 되어야 한다. 또한 수상기(20)는 광 디스크 드라이브(10)를 수용가능한 장치로 인식됨과 아울러, 광 디스크 드라이브(10)로부터는 인식 가능한 파일 시스템 정보를 얻을 수 있어야 한다. 수용 가능한 장치란, 호스트, 예를 들어 수상기(20)가 인식할 수 있고 수상기(20)가 액세스할 수 있는 장치를 의미의미하고, 호스트와 이에 연결하는 장치가 상호 호환 가능한 명령어 집합 (Command set)과 파일 시스템을 사용할 때 가능해진다. 액세스 할 수 없는 장치는 알 수 없는 장치(unknown device)로 분류되어 상호 정보 교환이 불가능하게 된다. 따라서, 광 디스크 드라이브가 호스트에 접속되었을 때, 호스트의 인쿼리(요구)에 의해 정보를 전송해야 하는데, 만약에 광 디스크 드라이브가 호스트에 대해 호환성이 없는 경우, 호환 가능한, 예를 들어 가장 널리 호환되는 것으로 유사 정보 매체인 HDD(Hard disc drive)와 같은 블록 장치 (Block device)가 주로 사용하는 명령어 집합의 정보에 관한 코드를 전송할 수 있다. 이것은 인터페이스에 내장된 변환부(또는 컨버터)에 의해 이루어 질 수 있다. 아래의 표 1은 USB 장치의 서브 클래스 코드로서 명령어 집합 정보에 대해 정의한다.According to an embodiment, the interface 15 includes a USB port, and thus exchanges information with the receiver 20 which is a host by the USB protocol. At this time, the receiver 30 plays the content received from the optical disc drive by the built-in content reproducing apparatus. In order to provide the content, the optical disc drive 10 and the receiver 20 should be in a state in which information can be exchanged with each other via the interfaces 15 and 21. In addition, the receiver 20 should recognize the optical disk drive 10 as an acceptable device, and obtain recognizable file system information from the optical disk drive 10. Acceptable device means a host, for example, a device that can be recognized by the receiver 20 and accessible by the receiver 20, and a command set in which the host and a device connected thereto are compatible with each other. And file systems. Inaccessible devices are classified as unknown devices and mutual information exchange is impossible. Thus, when an optical disk drive is connected to a host, information must be transferred by the host's query, which is compatible, for example, most widely compatible if the optical disk drive is incompatible with the host. In other words, a code about information of an instruction set mainly used by a block device such as a hard disc drive (HDD), which is a similar information medium, may be transmitted. This can be done by a converter (or converter) built into the interface. Table 1 below defines the command set information as the subclass code of the USB device.

Figure 112009067585420-pat00001
Figure 112009067585420-pat00001

USB 규격에서, 광 디스크 드라이브는 인터페이스 디스크립터(interface descriptor)에서의 디바이스 클래스 코드는 08H로서 대용량 저장장치(mass storage)에 속하며, 그 서브클래스 코드는 02h로서 MMC-5(ATAPI) 명령어 집합(command set)를 이용한다.In the USB specification, an optical disk drive belongs to mass storage with a device class code of 08H in the interface descriptor, and a subclass code of 02h as an MMC-5 (ATAPI) command set. ).

그런데, MMC 명령어 셋트를 적용하는 서브 클래스 02h의 장치, 즉 광 디스크 드라이브가 호스트에서 지원하지 않는 장치로 인식할 경우 사용이 불가하므로, 호스트가 사용가능한 장치로 인식하는 장치, 예를 들어 가장 보편적인 SBC(SCSI(Small Computer System Interface) Block Commands)를 이용하는 서브 클래스 코드 06h를 호스트로 전송함으로써 호스트가 광 디스크 드라이브를 사용 가능한 장치로서 인식하도록 한다. 그러나, 서브클래스 02h의 장치가 호스트에 의해 지원되는 경우 그대로 02h를 전송한다.However, since the device of the subclass 02h to which the MMC instruction set is applied, that is, the optical disk drive cannot be recognized as a device not supported by the host, the device recognized by the host as an available device, for example, the most common Subclass code 06h using Small Computer System Interface (SCSI) Block Commands (SBC) is transmitted to the host to allow the host to recognize the optical disk drive as an available device. However, if the device of subclass 02h is supported by the host, 02h is transmitted as it is.

또한, 잘 알려진 비와 같이 CD, DVD 등 광 디스크 드라이브는 MMC 명령어 집합을 이용하는 주변장치 코드 05h로 정의되어 있는데, 이러한 MMC 명령어 집합을 호스트가 수용하지 않는 경우, 수용 가능한 명령어 집합, 예를 들어 가장 보편적인 SBC 명령어 집합을 이용하는 장치, 예를 들어 자기 디스크 드라이브와 같은 직접 액세스 블럭 장치(Direct-access block device)에 해당하는 00h로 변환할 수 있다.In addition, as is well known, optical disc drives such as CDs and DVDs are defined in peripheral code 05h using the MMC instruction set. If the host does not accept this MMC instruction set, an acceptable instruction set, e.g. It can be converted to 00h corresponding to a device using a common SBC instruction set, for example, a direct-access block device such as a magnetic disk drive.

상기와 같은 방법에 의해 호스트에 대해 광 디스크 드라이브가 사용 가능한 상태로 만든 후, 디렉토리 엔트리(Directory entry) 정보가 호스트로부터 요구되었을 때, 광 디스크 드라이브는 광 디스크의 고유 포맷의 파일 시스템 정보를 호스트가 인식가능한 포맷의 FAT 파일 시스템 정보로 변환하여 전송한다. 즉, 광 디스크 드라이브는 내부적으로 CDFS/UDF/FAT 포맷의 파일 시스템 정보를 가지고 있지만, 호스트의 요구에 대해서는 이를 FAT 포맷의 파일 시스템 정보로 변환하여 전송한다. 이러한 변환은 인터페이스에 내장된 변환부 또는 컨버터에 의해 이루어진다. 한편, FAT 포맷에는 공지된 바와 같이 16 비트의 FAT16과 32 비트의 FAT32 포맷이 포함된다.After the optical disk drive is made available to the host by the above method, when directory entry information is requested from the host, the optical disk drive receives the file system information of the native format of the optical disk. Converts and transfers FAT file system information in a recognizable format. That is, the optical disk drive internally has file system information of CDFS / UDF / FAT format, but converts and transmits it to FAT format file system information for host's request. This conversion is done by a converter or converter built into the interface. On the other hand, the FAT format includes a 16-bit FAT16 and a 32-bit FAT32 format as is well known.

이렇게 함으로써 호스트는 광 디스크에 저장된 콘텐츠의 어드레스 등을 포함하는 파일 정보를 인식할 수 있게 되고, 따라서 특정 콘텐츠의 액세스 및 재생이 가능하게 된다.In this way, the host can recognize file information including the address and the like of the content stored in the optical disc, and thus the specific content can be accessed and played back.

도 3은 수상기 등의 호스트(HOST)와 광 디스크 드라이브(ODD)간의 USB 인터페이스를 통한 연결 개념도를 보인다.3 is a conceptual diagram of a connection through a USB interface between a host such as a receiver and an optical disk drive (ODD).

호스트(HOST)와 광 디스크 드라이브(ODD)는 USB에 의해 상호 정보 교환이 가능한 상태로 인증(identification)된 후, 호스트는 첫번째 논리적 블럭인 LBA0(logical block address 0)에 저장된 MBR(master boot record)등의 정보를 요구하며, 이에 광 디스크 드라이브(ODD)는 부트섹터(boot sector)와 FAT 포맷의 BPB(BIOS Parameter Block)를 호스트로 전송한다. 다시, 호스트(HOST)가 디렉토리 엔트리를 요구하면, 이에 광 디스크 드라이브(ODD)는 FAT 포멧의 디렉토리 엔트리 정보를 호스트(HOST)로 전송한다. 이와 같이 디렉토리 엔트리 정보를 획득한 호스트는 광 디스크 드라이브(ODD)의 데이터(콘텐츠)의 위치(주소)를 알 수 있고, 이 주소를 통해 데이터를 읽을 수 있는, 재생 가능한 상태가 된다. 상기 광 디스크 드라이브로 부터 호스트로 전송되는 MBR, BPB, 디렉토리 엔트리 정보는 FAT 포맷이나, 내부적으로는 변환부에 의해 CDFS/UDF 포맷을 변환한 것이다.After the host and the optical disk drive (ODD) have been identified to be interchangeable by USB, the host has a master boot record (MBR) stored in the first logical block, logical block address 0 (LBA0). The optical disk drive (ODD) transmits a boot sector and a BIOS parameter block (BPB) in FAT format to the host. Again, when the host HOST requests a directory entry, the optical disk drive ODD transmits directory entry information in FAT format to the host HOST. The host which has obtained the directory entry information in this way can know the position (address) of the data (content) of the optical disc drive (ODD), and is in a playable state in which data can be read through this address. The MBR, BPB, and directory entry information transmitted from the optical disk drive to the host are in FAT format, but internally, the CDFS / UDF format is converted by the converter.

아래 표는 CDFS/UDF를 FAT로 변환하는 알고리즘의 의사코드(psuedo code)로 FAT 변환용 프로그램 함수(function)인 MakeFAT을 나타내 보인다.The table below shows Psedo code of the algorithm for converting CDFS / UDF to FAT and shows MakeFAT, a program function for FAT conversion.

FAT 변환 함수 /sector size = 512FAT conversion function / sector size = 512 Function MakeFat

PASS IN : Integer of fat_offset
PASSOUT : nothing (void)

CALCULATE cur_tbl_start as 512*fat_offset
CALL ClearFATT with sector_size

WHILE infinite
CALL ReadFATB with clus_start_index RETURING clus_start
CALL ReadFATB with clus_end_index RETURING clus_end

IF clus_start is equal to end of entry mark THEN
QUIT funciton
ENDIF

IF cur_tbl_start?clus_start&&cur_tbl_start<=clus_end THEN
SET buf_idx to 0
SET clus_idx_s to cur_tbl_start
ELSEIF cur_tbl_start<=clus_start && (cur_tbl_start+512)>clus_start THEN
CALCULATE buf_idx as (clus_start-cur_tbl_start)*4
SET clus_idx_s to clus_start
ELSE
SET buf_idx to -1
END IF

IF buf_idx is equal to -1 THEN
QUIT funtion
END IF

REPEAT
INCREMENT clus_idx_s

IF clus_idx_s>clus_end THEN
SET clus_idx_s to FAT32_LAST CLUSTER_MARK
ENDIF

CALL WriteFATT with buf_idx and clus_idx_s
INCREMENT buf_idx
UNTIL cur_tbl_start+512 > clus_idx_s
END WHILE
END FUNCTION
Function MakeFat

PASS IN: Integer of fat_offset
PASSOUT: nothing (void)

CALCULATE cur_tbl_start as 512 * fat_offset
CALL ClearFATT with sector_size

WHILE infinite
CALL ReadFATB with clus_start_index RETURING clus_start
CALL ReadFATB with clus_end_index RETURING clus_end

IF clus_start is equal to end of entry mark THEN
QUIT funciton
ENDIF

IF cur_tbl_start? Clus_start && cur_tbl_start <= clus_end THEN
SET buf_idx to 0
SET clus_idx_s to cur_tbl_start
ELSEIF cur_tbl_start <= clus_start && (cur_tbl_start + 512)> clus_start THEN
CALCULATE buf_idx as (clus_start-cur_tbl_start) * 4
SET clus_idx_s to clus_start
ELSE
SET buf_idx to -1
END IF

IF buf_idx is equal to -1 THEN
QUIT funtion
END IF

REPEAT
INCREMENT clus_idx_s

IF clus_idx_s> clus_end THEN
SET clus_idx_s to FAT32_LAST CLUSTER_MARK
ENDIF

CALL WriteFATT with buf_idx and clus_idx_s
INCREMENT buf_idx
UNTIL cur_tbl_start + 512> clus_idx_s
END WHILE
END FUNCTION

위의 의사코드에서, clus_start_index 및 clust_end_index 는 클러스터의 시작 인덱스 및 종료 인덱스를 나타내는데, 이렇게 표현된 알고리즘은 호스트가 파일할당 테이블(FAT)을 요청하였을 때 작동되며, FAT 오프셋(fat offset)을 인자 또는 파라미터로 전달 받고, FATB 버퍼에 저장되어 있는 파일 정보를 이용해서 fat_offset에 해당하는 FAT 엔트리를 FATT 버퍼에 조직함으로써 FAT를 생성한다.In the above pseudocode, clus_start_index and clust_end_index represent the start index and end index of the cluster, which is operated when the host requests a file allocation table (FAT), and stores the FAT offset as an argument or parameter And generates FAT by organizing the FAT entry corresponding to fat_offset into the FATT buffer using the file information stored in the FATB buffer.

도 4는 전술한 요소를 가지는 본 발명의 일 실시 예에 따른 파일시스템 변환기의 개념적 블럭도이다. FATB 버퍼는 링 버퍼(ring buffer)의 타입을 가지며, 파일 시스템 변환기의 일부 요소이다. 파일 시스템 변환기는 인터페이스(15)의 일부 요소로서, 자체 내장된 메모리(RAM)의 일정 영역을 할당하여 사용한다. FATB 버퍼(제1버퍼 메모리)는 광 디스크가 로딩될 때에, 디스크에 저장된 파일의 시작 위치, 끝 위치, 파일 종류를 저장하는 것으로 위의 의사 코드에 따른 FAT 변환시 기초 데이터(raw data)로 활용될 수 있게 한다. 상기 FATT 버퍼(제2버퍼메모리)는 역시 상기 메모리의 일정영역을 할당한 것으로, 상기 알고리즘의 함수를 통해 상기 FATB버퍼로부터의 파일정보를 이용해 FAT 엔트리를 조직한 후 이를 저장하는 버퍼이다. FAT 생성기는 FATB 버퍼가 가진 파일 정보를 이용해 호스트로부터 요청받은 오프셋으로부터 파일 할당 테이블을 생성하고, 이를 FATT 저장한다. FATT 버퍼에 저장된 데이터는 인터페이스에 내장되는 데이터 송신기를 통해 호스트로 전송된다. 이러한 구조에 따르면, FAT 생성과 전송부분이 독립된 블럭에서 병렬로 동작하며, 따라서 FAT 생성과 전송에서의 효율을 높일 수 있다.4 is a conceptual block diagram of a file system converter according to an embodiment of the present invention having the aforementioned elements. The FATB buffer has a type of ring buffer and is part of the file system converter. The file system translator is part of the interface 15, which allocates and uses a certain area of its own internal memory (RAM). The FATB buffer (first buffer memory) stores a start position, an end position, and a file type of a file stored in the disc when the optical disc is loaded. The FATB buffer (first buffer memory) is used as raw data when converting FAT according to the pseudo code above. To be able. The FATT buffer (second buffer memory) is also a buffer that allocates a certain area of the memory, and organizes FAT entries using file information from the FATB buffer through a function of the algorithm, and stores the organized FAT entries. The FAT generator generates a file allocation table from the offset requested from the host using the file information of the FATB buffer and stores the FATT. Data stored in the FATT buffer is sent to the host through a data transmitter embedded in the interface. According to this structure, the FAT generation and transmission portions operate in parallel in separate blocks, thereby increasing the efficiency in FAT generation and transmission.

도 5는 N 개(N: 자연수)의 파일에 대한 정보를 저장하고 있는 FATB 버퍼의 논리적 구조를 나타내 보인다. 광 디스크가 이미 로딩되어 있는 광 드라이브가 기동하거나, 광 드라이브에 새롭게 광 디스크가 로딩되면, 파일 변화시스템 변환기는 광 디스크의 전체 파일을 검색한 후 FATB 버퍼에 해당 파일들의 시작 위치(4 byte), 끝 위치(4 byte), 파일 종류(1byte)를 기록한다. 참고로, UDF나 ISO-9660 파일시스템에서는, 파일 데이터가 연속된 단일 영역에 끊임없이 저장하기 때문에 파일의 시작과 끝 위치만 알면 파일 테이터를 읽을 수 있다.5 shows a logical structure of a FATB buffer that stores information about N files (N: natural numbers). When the optical disk drive in which the optical disk has already been loaded is started or a new optical disk is loaded into the optical disk drive, the file change system converter searches the entire file of the optical disk and stores the start position (4 bytes) of the files in the FATB buffer, End position (4 bytes), and file type (1 byte). For reference, UDF and ISO-9660 file systems consistently store file data in a single contiguous area, so that if you know only the beginning and end of a file, you can read the file data.

도 6은 FAT에 의해 생성된 FAT의 논리적 구조를 나타내 보인다. 도 6은, 한 섹터의 크기가 2048 byte이고 FAT 엔트리 하나의 크기가 4 바이트인 FAT32 파일 시스템을 가정한 예를 보인다. FAT 파일 시스템에서는, 도 7에 도시된 바와 같이, 파일 데이터를 비연속적인 클러스터 체인 형태로 저장된다. 따라서 파일 데이터의 위치를 파악하기 위해 도 6에 예를 들어 나타낸 바와 같은 FAT 정보가 필요하다. 즉, 파일 데이터가 513을 시작으로 515, 516, 600 클러스터에 차례로 저장되어 있으면 FAT의 513번 엔트리에는 다음 클러스터 번호인 515를, 515번 엔트리에는 516, 600번 엔트리에는 EOC (End Of Cluster)를 기록해서 파일 데이터를 읽을 수 있도록 정보를 제공한다.6 shows the logical structure of a FAT created by a FAT. Fig. 6 shows an example assuming a FAT32 file system in which a sector is 2048 bytes in size and one FAT entry is 4 bytes in size. In the FAT file system, as shown in Fig. 7, file data is stored in the form of discontinuous cluster chains. Therefore, in order to identify the location of the file data, FAT information as shown in FIG. 6 is required. That is, if the file data is stored in the 515, 516, and 600 clusters sequentially starting from 513, the 513 entry of the FAT is assigned the next cluster number 515, 516 is assigned to the 515 entry, and End Of Cluster (EOC) Provides information to record and read file data.

도 8은 전술한 알고리즘에 따라 FAT를 생성하는 과정의 플로우 챠트이다. 전술한 바와 같이, 파라미터를 통해 fat_offset의 값을 받아 섹터 사이즈인 512를 곱해서 인스턴스 변수 cur_tbl_start에 넣는다(81). 일반적인 경우, FAT에서는 디스크의 LBA32로부터 일정한 크기만큼 연속해서 저장되어 있어서 호스트의 요청이 있을 때 해당 파일의 주소의 데이터를 읽어서 전송하면 되는데, 본 발명에서와 같이 미리 저장되어 있는 FAT가 없이 실시간으로 생성하는 경우에는 요청받은 주소에 맞는 적절한 FAT를 만들어서 호스트에게 전송해야 한다. FAT의 시작위치를 기준으로 offset을 정하는데, LBA 32부터 FAT가 시작할 때 호스트가 LBA 32의 데이터를 요청하면 fat_offset은 0이 되고, LBA 33의 데이터를 요청하면 fat_offset은 1이 되는 형식으로 fat_offset가 결정된다. 현재 한 개의 클러스터 크기가 2048 바이트이고 클러스터 번호를 표기하는 주소가 4 바이트이기 때문에 fat_offste에 512를 곱해서 cur_tbl_start (클러스터 시작 주소)를 계산한다. 즉, cur_tbl_start에는 요청 받은 주소의 FAT 엔트리 중 첫 번째 클러스터 번호를 나타낸다.8 is a flowchart of a process of generating a FAT according to the algorithm described above. As described above, the value of fat_offset is received through the parameter, and the sector size is multiplied by 512 and inserted into the instance variable cur_tbl_start (81). In the general case, the FAT is continuously stored in a predetermined size from the LBA32 of the disk, and when a host request is made, the data of the address of the file is read and transmitted. In this case, the appropriate FAT for the requested address must be created and sent to the host. The offset is set based on the start position of FAT. When FAT starts from LBA 32, when the host requests data of LBA 32, fat_offset becomes 0. When requesting data of LBA 33, fat_offset is 1, . Cur_tbl_start (cluster start address) is calculated by multiplying fat_offste by 512 because the current cluster size is 2048 bytes and the address representing the cluster number is 4 bytes. That is, cur_tbl_start indicates the first cluster number among the FAT entries of the requested address.

그리고, FATB 버퍼에서 파일의 시작위치와 끝 위치에 해당하는 데이터를 읽어서 clus_start와 clus_end를 설정한다(82). FATB 버퍼에는 전술한 바와 같이 디스크 상의 모든 파일에 대한 파일의 시작 위치와 끝 위치가 저장되어 있고, 루프를 반복할 때마다 다음 파일의 시작 위치와 끝 위치를 읽어와서 4 바이트 단위의 clus_start와 clus_end에 저장한다. 루프를 반복하다가(83) clus_start의 값이 0x0FFFFFFF 이면(84), 더 이상의 파일 정보가 없다고 판단하고 파일 할당 테이블 만드는 알고리즘을 종료한다.Then, clus_start and clus_end are set by reading data corresponding to the start and end positions of the file from the FATB buffer (82). As described above, the FATB buffer stores the start position and the end position of the file for all the files on the disk. When the loop is repeated, the start position and the end position of the next file are read and clus_start and clus_end . When the loop is repeated (83) and the value of clus_start is 0x0FFFFFFF (84), it determines that there is no more file information and terminates the algorithm for creating a file allocation table.

본 발명의 실시 예에 있어서, 파일 할당 테이블을 생성하는 것은, 예를 들어 2048 바이트 크기를 가지는, FATT 버퍼에 FAT 엔트리를 기록하는 것을 의미한다. 전술했듯이 FAT 엔트리 하나(클러스터 번호)의 크기가 4 바이트이기 때문에 2048 바이트 크기의 FATT는 512개의 FAT 엔트리를 표현할 수 있다. 호스트가 요구하는 FAT를 전송하기 위해 앞서 FATB 버퍼에서 읽어온 파일의 시작(clus_start)과 끝 위치(clus-end)를 cur_tbl_start와 비교해서, clus_start 보다 크고 clus_end 보다 작거나 같은 경우 단계 "85"로 이행하며, 그렇지 않으면 단계 "89"로 이행한다.In an embodiment of the present invention, creating a file allocation table means writing a FAT entry in a FATT buffer, e.g., having a size of 2048 bytes. As described above, since the size of one FAT entry (cluster number) is 4 bytes, a 2048-byte FATT can represent 512 FAT entries. Compare the start (clus_start) and end positions (clus-end) of the file previously read from the FATB buffer to transfer the FAT requested by the host to cur_tbl_start, and proceed to step "85" if it is greater than clus_start and less than or equal to clus_end. Otherwise, execution proceeds to step "89".

단계 "85"에서, 파일 시작보다 큰 FATT 버퍼에서의 기록 위치를 결정하기 위한 버퍼 인덱스를 저장하는 인스턴스 변수 buf_idx를 '0'으로 세트(클리어)하고, 임시 카운터인 인스턴스 변수 clus_idx_s에는 해당 buf_idx에 기록되어야 할 클러스터 번호를 저장한다(85). 그리고 clus_idx_s가 clus_end보다 커지기 전 까진 clus_idx_s 에 1을 더해주고(86), clus_idx_s가 clus_end보다 커지면(87) 클러스터 체인의 마지막을 뜻하는 0x0FFFFFFF을 clus_idx_s에 넣어준다(88). 다음으로 FATT 버퍼의 buf_idx의 위치에 clus_idx_를 기록하고, buf_idx의 값을 '1' 증가 시킨다(8B). clus_idx_s를 설정하고 FATT 버퍼의 buf_idx 위치에 기록하는 과정은 buf_idx가 512보다 커지기 전까지 계속 반복된다. 즉, 단계 "8B" 이후 buf_idx 가 512 보다 작으면 전술한 단계 "82"로 리턴하며, 그렇지 않은 경우, 단계 "86"으로 이행한다.In step 85, the instance variable buf_idx, which stores the buffer index for determining the write position in the FATT buffer larger than the beginning of the file, is set (cleared) to '0', and the temporary variable instance variable clus_idx_s is written to the corresponding buf_idx. The cluster number to be stored is stored (85). Then add 1 to clus_idx_s until clus_idx_s is larger than clus_end (86), and if clus_idx_s is larger than clus_end (87), add 0x0FFFFFFF to clus_idx_s, the end of the cluster chain (88). Next, clus_idx_ is written to buf_idx of the FATT buffer, and the value of buf_idx is increased to '1' (8B). The process of setting clus_idx_s and writing to the buf_idx position of the FATT buffer is repeated until buf_idx becomes larger than 512. That is, if buf_idx after step "8B" is smaller than 512, the process returns to the above-described step "82", otherwise, the process proceeds to step "86".

한편, 단계 "89"에서 cur_tbl_start는 요청받은 fat_offset에 해당하는 fat의 시작 클러스터 번호이기 때문에, clus_start가 cur_tbl_start 와 같거나 크고 그리고 cur_tbl_start + 섹터 사이즈(512)보다 작은 경우는 clus_start가 요청 받은 fat_offset에 FAT에 포함되는 상황이며, 단계 "8A"로 이행한다.단계 "8A"에서는 buf_idx에 (clus_start-cur_tbl_start)*4 를 대입해서 FATT 버퍼에서 기록할 처음 위치를 정하고, clus_idx_s 에는 clus_start를 대입하여 buf_idx에 기록할 처음 값을 정한 후 단계 "86"으로 이행한다.On the other hand, since cur_tbl_start is the starting cluster number of fat corresponding to the requested fat_offset in step "89", if clus_start is equal to or larger than cur_tbl_start and is smaller than cur_tbl_start + sector size (512), the cl_tbl_start is stored in the FAT in the requested fat_offset. This is an included situation, and the process proceeds to step "8A". In step "8A", (clus_start-cur_tbl_start) * 4 is assigned to buf_idx to determine the first position to be written to the FATT buffer, and clus_start is substituted for clus_idx_s to write to buf_idx. After the initial value has been determined, the process proceeds to step "86".

전술한 내용은 전형적인 FAT 파일 시스템 인식 및 동작 과정에 관한 것이며, CDFS/UDF 포맷에서 FAT 포맷으로의 변환은 호스트의 요청에 의해 변환부에서 실시간으로 이루어진다.The above description relates to a typical FAT file system recognition and operation process, and the conversion from the CDFS / UDF format to the FAT format is performed in real time at the conversion unit at the request of the host.

도 9a, 9b는 실시 예들에 따른 광 디스크 드라이브(10a, 10b)의 전면도 및 배면도이다. 도 9a, 9b에 도시된 광 디스크 드라이브는 전술한 바와 같이 고유 파일 시스템에 의해서는 호환이 되지 않는 호스트, 예를 들어 수상기에 접속할 때와, 광 디스크 드라이브의 고유 파일 시스템 포맷인 CDFS/UDF가 지원되는 개인컴퓨터(PC)에 접속할 때를 구별하여 선택하는 호스트 선택 스위치(105, 105')의 배치를 보인다. 호스트 선택 스위치(105, 105')은 광 디스크 드라이브(100)의 내부 회로에 연결되어 전술한 바와 같은 과정의 방법에 의해 디바이스 정보 변환, 파일 시스템의 변환/전송 여부를 선택할 수 있다.9A and 9B are front and back views of optical disk drives 10a and 10b according to embodiments. The optical disc drives shown in Figs. 9A and 9B are supported by the CDFS / UDF, which is the native file system format of the optical disc drive, when connecting to a host, for example, a receiver, which is not compatible by the native file system as described above. The arrangement of the host selection switches 105 and 105 'for distinguishing and selecting when connecting to a personal computer (PC) is shown. The host selection switches 105 and 105 'may be connected to internal circuits of the optical disk drive 100 to select device information conversion and file system conversion / transmission by the method described above.

도 9a, 9b에서, 참조번호 101은 본체, 102는 광 디스크 트레이, 103은 트레인 개폐 버튼, 104는 동작 상태 표시등, 106은 전원 단자, 107은 인터페이스 단자, 예를 들어 USB 단자(terminal)을 나타낸다. 도 9a에 도시된 광 디스크 드라이브(100)는 전면에 설치되는 호스트 선택 스위치(105)를 갖추며, 도 9b에 도시된 광 디스크 드라이브(100)는 배면에 설치되는 호스트 선택 스위치(105')를 갖춘다.9A and 9B, reference numeral 101 denotes a main body, 102 an optical disc tray, 103 a train opening / closing button, 104 an operation status indicator light, 106 an power supply terminal, 107 an interface terminal, for example, a USB terminal. Indicates. The optical disk drive 100 shown in FIG. 9A has a host select switch 105 installed at the front, and the optical disk drive 100 shown in FIG. 9B has a host select switch 105 'installed at the rear. .

도 10은 호스트로서 FAT 포맷의 파일 시스템을 지원하는 수상기(TV)를 이용해 3 종류의 포맷의 파일 시스템(FAT, CDFS, UDF)이 적용된 광 디스크의 콘텐츠를 재생(액세스)하는 예시적 방법을 보이는 플로우 챠트이다.Fig. 10 shows an exemplary method of playing (accessing) contents of an optical disc to which file systems of three types (FAT, CDFS, UDF) are applied using a receiver (TV) supporting a file system of FAT format as a host. It is a flow chart.

광 디스크 장치가 호스트에 접속된 상태에서 광 디스크 드라이브의 전원을 켜면(51), 광 디스크 드라이브는 내부적으로 호스트 선택 스위치(105, 105')의 상태를 검사한다(52). 스위치(105, 105')의 상태가 TV 모드가 아니라 판단되면(53), 일반적인 범용성 PC 모드라 판단하여, 기존의 모드, 즉 PC 모드(54)로 돌입한다. 그리고 TV 모드라 판단되면 TV 모드로 진입한다(55).When the optical disk drive is turned on in the state in which the optical disk device is connected to the host (51), the optical disk drive internally checks the state of the host selection switches 105 and 105 '(52). If the state of the switches 105, 105 'is determined to be not the TV mode (53), it is determined that it is a general universal PC mode, and enters the existing mode, that is, the PC mode 54. If it is determined that the TV mode, and enters the TV mode (55).

TV 모드 여부 판단은 전술한 바와 같이 외부 스위치가 있는 경우 이를 활용하고, 외부 스위치가 존재하지 않는 광 디스크 드라이브는 TV와 PC가 USB 장치를 인식하는 과정이 다른, 상기 특징을 활용하는 소프트웨어(S/W) 적인 방법을 이용한다.Determination of whether the TV mode is used as described above, if there is an external switch, the optical disk drive that does not have an external switch is a software that utilizes the above features, the process of the TV and PC to recognize the USB device is different (S / W) Use the conventional method.

TV 모드의 첫 단계로서, USB 인터페이스 디스크립터의 서브 클래스 02h를 TV 가 허용하는 서브 클래스인 06h로 변경한다(56).As a first step of the TV mode, the subclass 02h of the USB interface descriptor is changed to 06h, which is a subclass allowed by the TV (56).

서브 클래스의 변경에 이어서, TV 가 수용하는 명령어 세트를 가지는 디바이스 타입으로 변경한다. 예를 들어 MMC 명령어 세트를 사용하는 05h( Multi media logical unit)를 SBC 명령어 세트를 사용하는 00h(Direct-access block device, e.g., magnetic disk)로 변경한다(57).Following the subclass change, change to the device type that has the instruction set that the TV accepts. For example, change 05h (Multi media logical unit) using the MMC instruction set to 00h (Direct-access block device, e.g., magnetic disk) using the SBC instruction set (57).

그리고, 디스크 트레이에 광 디스크가 존재하는지를 검사한다(58). 존재하면 다음의 파일 시스템 확인 단계로 이행하고, 그렇지 않으면 종료한다. 전술한 파일시스템 변환기는 디스크의 전체파일을 검색한 후, 전술한 바와 같이 FATB 버퍼에 해당 파일의 시작위치, 끝 위치, 파일종류를 저장한다. 참고로 UDF나 ISO-9660 파일 시스템은 파일 데이터를 단일 영역에 저장하기 때문에 파일의 시작과 끝 위치만 알면 파일 데이터를 읽을 수 있다.Then, it is checked whether an optical disk exists in the disk tray (58). If it exists, the process proceeds to the next file system verification step, otherwise terminates. The above-mentioned file system converter searches the entire file of the disk, and then stores the start position, the end position, and the file type of the file in the FATB buffer as described above. Note that the UDF or ISO-9660 file system stores file data in a single area, so that file data can be read if only the start and end positions of the file are known.

첫 번째 파일 시스템 확인 단계로서 광 디스크가 FAT 포맷의 디스크인지를 판단한다(59). 예를 들어 DVD-RAM은 UDF나 FAT로 파일 시스템으로 포맷할 수 있는데, FAT로 포맷된 경우, FAT 포맷은 TV가 지원하므로 종료한다(5F). FAT 포맷이 아닌 경우, 광 디스크가 CDFS 포맷의 디스크인지를 판단한다(5A). 광 디스크가 CDFS 포맷의 디스크이면, 광 디스크 드라이브의 파일 시스템을 CDFS에서 FAT으로 변경하여 호스트의 요구(inquiry)에 대응 작동할 수 있도록 한다(5B). 그리고 광 디스크가 CDFS 포맷의 디스크가 아닌 경우 그 다음의 판단 단계(5C)에서 광 디스크가 UDF 포맷의 디스크인지를 판단한다. 광 디스크가 UDF 포맷의 디스크이면, UDF 파일 시스템을 FAT 파일 시스템으로 변경하여 호스트의 요구에 대응하도록 한다.(5E)As a first file system check step, it is determined whether the optical disk is a FAT format disk (59). For example, a DVD-RAM can be formatted as a file system in UDF or FAT. When formatted in FAT, the FAT format is terminated because the TV supports it (5F). If it is not FAT format, it is determined whether the optical disk is a CDFS format disk (5A). If the optical disk is a CDFS-formatted disk, the file system of the optical disk drive is changed from CDFS to FAT so that it can respond to host's inquiries (5B). If the optical disc is not a CDFS format disc, it is determined in the next determination step 5C whether the optical disc is a UDF format disc. If the optical disk is a UDF-formatted disk, the UDF file system is changed to the FAT file system so as to meet the request of the host. (5E)

호스트는 위와 같은 과정을 거친 후 광 디스크 드라이브로부터 디렉토리 엔트리, FAT(File Allocation Table) 등의 FAT 파일 시스템 정보를 가져 갈 수 있으며, 이로써 광 디스크 드라이브로부터 콘텐츠를 업로드하여 재생할 수 있게 된다.After the above process, the host can take FAT file system information such as directory entries and FATs (File Allocation Table) from the optical disk drive, thereby uploading and playing contents from the optical disk drive.

앞에서 설명된 실시 예들의 장치 및 방법은 광 디스크 드라이브의 접속을 허용하지 않거나, 허용하더라도 광 디스크 드라이브의 고유 파일 시스템을 지원하지 않는 경우에 사용될 수 있다. 즉, 다양한 호스트 중 특정 호스트, 예를 들어 수상기에 대해 광 디스크 드라이브가 호환성을 가지지 않는 경우, 호스트에 대해 호환이 가능한 디바이스 정보와 파일 시스템인 임의 파일 시스템, 예를 들어 FAT 시스템 으로 변환하는 기능 및 단계를 광 디스크 드라이브 및 광 디스크 구동 방법에 부여함으로써 그 활용 범위를 넓힌다.The apparatus and method of the above-described embodiments may be used in the case where the connection of the optical disc drive is not allowed or does not support the native file system of the optical disc drive. That is, when an optical disk drive is not compatible with a particular host among various hosts, for example, the receiver, the ability to convert to a file system, for example, a FAT system, which is compatible with device information and file system for the host, and Steps are given to the optical disc drive and the optical disc drive method to broaden its application range.

지금까지, 본원 다양한 모범적 실시 예가 설명되고 첨부된 도면에 도시되었다. 그러나, 이러한 실시예는 단지 다양한 실시 예들의 일부임이 이해되어야 할 것이다. 다양한 다른 변형이 본 기술분야에서 통상의 지식을 가진 자에게 일어날 수 있기 때문이다. Various exemplary embodiments of the present invention have been described and shown in the accompanying drawings. However, it should be understood that these embodiments are only part of the various embodiments. Since various other modifications could occur to those of ordinary skill in the art.

도 1은 일 실시 예에 따른 광 디스크 드라이브를 수상기에 접촉한 예를 도시한다. 1 illustrates an example in which an optical disk drive contacts a receiver.

도 2는 일 실시 예에 따른 광 디스크 드라이브의 개략적 구성을 보인다.2 shows a schematic configuration of an optical disk drive according to one embodiment.

도 3은 일 실시 예에 따라, 수상기 등의 호스트(TV)와 슬레이브(ODD)간의 USB 인터페이스를 통한 연결 개념도를 보인다.3 is a conceptual diagram illustrating a connection through a USB interface between a host TV such as a receiver and a slave ODM according to an embodiment.

도 4는 일 실시 예에 따른 파일 시스템 변환기의 개념적 블럭도이다.4 is a conceptual block diagram of a file system converter according to an embodiment.

도 5는 일 실시 예에 따른 파일 시스템 변환기에 사용되는 것으로 광 디스크로부터 취득한 파일 정보를 저장하는 버퍼 메모리의 논리적 구조도이다.FIG. 5 is a logical structure diagram of a buffer memory used for a file system converter according to an embodiment and storing file information obtained from an optical disk.

도 6은 일 실시 예에 따라 얻어진 FAT 테이블의 구조를 나타내 보인다.6 illustrates a structure of a FAT table obtained according to an embodiment.

도 7은 일반적인 FAT 시스템에서 비연속적인 클러스터 체인의 구조를 예시한다.7 illustrates the structure of a cluster chain discontinuous in a typical FAT system.

도 8은 일 실시 예에 따른 FAT 생성 알고리즘을 나타내는 순서도이다.8 is a flowchart illustrating a FAT generation algorithm according to an embodiment.

도 9a는 일 실시 예들에 따른 광 디스크 장치들의 전면도이다.9A is a front view of an optical disk device according to one embodiment.

도 9b는 다른 실시 예들에 따른 광 디스크 장치의 배면도이다.9B is a rear view of an optical disk device according to other embodiments.

도 10은 또 다른 실시 예에 따라, 호스트로서 FAT 포맷의 파일 시스템을 지원하는 수상기(TV)를 이용해 3 종류의 포맷이 적용된 광 디스크의 콘텐츠를 재생(액세스)하는 예시적 방법을 보이는 플로우 챠트이다.FIG. 10 is a flowchart illustrating an exemplary method of playing (accessing) contents of an optical disk to which three types of formats are applied using a receiver (TV) supporting a FAT format file system as a host, according to another embodiment. .

Claims (19)

고유 포맷의 파일 시스템을 가지는 광 디스크에 관련되는 정보를 처리하는 정보 프로세서;An information processor for processing information relating to an optical disk having a file system of a native format; 상기 고유 포맷의 파일 시스템, 또는 FAT 파일 시스템을 지원하는 외부 호스트에 상기 정보 프로세서를 연결하는 인터페이스;를 구비하고,And an interface connecting the information processor to an external host supporting the native format file system or the FAT file system. 상기 인터페이스는, 상기 광 디스크의 고유 포맷의 파일 시스템 정보를 지원하는 호스트에는 상기 고유 포맷의 파일 시스템 정보를 제공하고, 상기 광 디스크의 고유 포맷의 파일 시스템을 지원하지 않고 FAT 파일시스템을 지원하는 호스트에는 상기 호스트가 허용하는 FAT 파일 시스템의 정보로 변환하는 변환부;를 포함하며,The interface provides a host that supports file system information of a native format of the optical disc, and provides a file system information of the native format, and a host that supports a FAT file system without supporting a file system of a native format of the optical disc. Includes a conversion unit for converting the information of the FAT file system allowed by the host, 상기 인터페이스는 FAT 파일 시스템을 지원하는 상기 호스트에, 호스트가 수용할 수 있는 장치 정보를 상기 호스트에 제공하며,상기 변환부는 상기 광 디스크로부터의 파일정보를 임시 저장하는 버퍼 메모리와;The interface provides the host with device information acceptable to the host to the host supporting a FAT file system, and the conversion unit comprises: a buffer memory for temporarily storing file information from the optical disk; 상기 FAT 파일 시스템의 정보를 저장하는 버퍼 메모리를 포함;하는 광 디스크 드라이브. And a buffer memory for storing information of the FAT file system. 제 1 항에 있어서,The method of claim 1, 상기 호스트는 디스플레이 장치인 것을 특징으로 하는 광 디스크 드라이브. And the host is a display device. 삭제delete 제 1 항에 있어서,The method of claim 1, 상기 인터페이스는 광 디스크 드라이브의 고유 커멘드 세트를 상기 호스트가 수용하여 커멘드 세트로 변경하는 것을 특징으로 하는 광 디스크 드라이브. Said interface accepts a unique set of commands of an optical disk drive into a set of commands accepted by said host. 제 1 항에 있어서,The method of claim 1, 상기 광 디스크의 고유 파일 시스템은 CDFS, UDF 중의 어느 하나인 특징으로 하는 광 디스크 드라이브. And the unique file system of the optical disc is one of CDFS and UDF. 제 1 항에 있어서,The method of claim 1, 상기 인터페이스는 USB(Universal Serial Bus) 프로토콜을 이용하는 것을 특징으로 하는 광 디스크 드라이브. And the interface uses a universal serial bus (USB) protocol. 제 4 항 내지 제 6 항 중의 어느 한 항에 있어서,The method according to any one of claims 4 to 6, 상기 호스트는 개인컴퓨터(PC)와 공중파 수상기(TV) 중의 어느 하나이며,The host is any one of a personal computer (PC) and an air wave receiver (TV). 상기 인터페이스는 상기 PC와 TV 간의 USB 프로토콜 인식과정에서 상기 호스트가 PC인지 TV인지를 판단하는 것;을 특징으로 하는 광 디스크 드라이브. And the interface determines whether the host is a PC or a TV in a process of recognizing the USB protocol between the PC and the TV. 제 1 항에 있어서,The method of claim 1, 상기 인터페이스는 무선 방식의 프로토콜을 이용하는 것을 특징으로 하는 광 디스크 드라이브. And the interface uses a wireless protocol. 광 디스크 드라이브에 연결되는 호스트가 상기 광 디스크 드라이브가 구동하는 광 디스크의 고유 포맷의 파일 시스템을 지원하는 경우, 상기 고유 포맷의 파일 시스템 정보를 상기 호스트가 직접 사용하도록 하는 단계와; 그리고If the host connected to the optical disc drive supports the file system of the native format of the optical disc driven by the optical disc drive, causing the host to directly use the file system information of the native format; And 상기 호스트가 상기 고유 포맷의 파일 시스템을 지원하지 않는 경우, 상기 광 디스크 드라이브에 탑재되는 광 디스크의 고유 포맷의 파일 시스템 정보를 FAT 파일 시스템 정보로 변환하여 상기 광 디스크 드라이브가 연결되는 호스트에 전송하는 단계; 그리고When the host does not support the file system of the native format, the file system information of the native format of the optical disk mounted on the optical disk drive is converted into FAT file system information and transmitted to the host to which the optical disk drive is connected. step; And 상기 광 디스크 드라이브는 FAT 파일 시스템을 지원하는 상기 호스트에, 호스트가 수용할 수 있는 장치 정보를 상기 호스트에 제공하는 단계; 를 포함하는 광 디스크 드라이브의 구동 방법. The optical disk drive providing the host with device information acceptable to the host to the host supporting a FAT file system; Driving method of an optical disk drive comprising a. 제 9 항에 있어서,The method of claim 9, 상기 광 디스크 드라이브에 로딩된 광 디스크로부터의 전체 파일 정보를 제 1 버퍼 메모리에 저장하는 단계;를 더 포함하며,Storing entire file information from an optical disc loaded in the optical disc drive in a first buffer memory, 상기 전송하는 단계는 상기 제 1 버퍼 메모리에 저장되는 파일 정보를 이용해 상기 FAT 파일 시스템 정보로 변환하는 것을 특징으로 하는 광 디스크 드라이브의 구동 방법. The transmitting may include converting the file information into the FAT file system using the file information stored in the first buffer memory. 제 9 항 또는 제 10 항에 있어서,11. The method according to claim 9 or 10, 상기 전송하는 단계는, 상기 FAT 파일 시스템 정보를 제 2 버퍼 메모리에 저장하고 그리고 상기 제 2 버퍼 메모리에 저장된 FAT 파일 시스템 정보를 상기 호스트로 전송하는 것을 특징으로 하는 광 디스크 드라이브의 구동 방법. The transmitting may include storing the FAT file system information in a second buffer memory and transmitting the FAT file system information stored in the second buffer memory to the host. 삭제delete 제 9 항 또는 제 10 항에 있어서,11. The method according to claim 9 or 10, 상기 광 디스크 드라이브의 고유 커멘드 세트를 상기 호스트가 수용하여 커멘드 세트로 변경하는 것을 특징으로 하는 광 디스크 드라이브의 구동 방법. And the host accepts the unique command set of the optical disk drive into a command set. 제 9 항 또는 제 10 항에 있어서,11. The method according to claim 9 or 10, 상기 광 디스크의 고유 파일 시스템은 CDFS, UDF 중의 어느 하나인 것을 특징으로 하는 광 디스크 드라이브의 구동 방법. The unique file system of the optical disc is any one of CDFS and UDF. 제 9 항 또는 제 10 항에 있어서,11. The method according to claim 9 or 10, 상기 광 디스크 드라이브는 상기 호스트와 USB 프로토콜에 의해 정보를 교환하는 것을 특징으로 하는 광 디스크 드라이브의 구동방법. And the optical disc drive exchanges information with the host by a USB protocol. 삭제delete 삭제delete 삭제delete 삭제delete
KR1020090105493A 2009-06-26 2009-11-03 Optical disc drive and driving method thereof KR101339429B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020090105493A KR101339429B1 (en) 2009-11-03 2009-11-03 Optical disc drive and driving method thereof
US12/822,969 US9235351B2 (en) 2009-06-26 2010-06-24 Selective interfacing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090105493A KR101339429B1 (en) 2009-11-03 2009-11-03 Optical disc drive and driving method thereof

Publications (2)

Publication Number Publication Date
KR20110048780A KR20110048780A (en) 2011-05-12
KR101339429B1 true KR101339429B1 (en) 2013-12-12

Family

ID=44360024

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090105493A KR101339429B1 (en) 2009-06-26 2009-11-03 Optical disc drive and driving method thereof

Country Status (1)

Country Link
KR (1) KR101339429B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101379138B1 (en) * 2012-08-17 2014-03-28 도시바삼성스토리지테크놀러지코리아 주식회사 Optical disk drive, user terminal and file processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471606A (en) 1989-08-31 1995-11-28 The Regents Of The University Of California Information storage and processing
US20040260984A1 (en) 2003-06-23 2004-12-23 Samsung Electronics Co., Ltd. Disc drive failure diagnostic system and method
US20050226104A1 (en) * 2003-06-05 2005-10-13 Fujitsu Limited Information record/replay apparatus and method
KR20050118731A (en) * 2003-04-14 2005-12-19 코닌클리케 필립스 일렉트로닉스 엔.브이. Format mapping scheme for universal drive device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5471606A (en) 1989-08-31 1995-11-28 The Regents Of The University Of California Information storage and processing
KR20050118731A (en) * 2003-04-14 2005-12-19 코닌클리케 필립스 일렉트로닉스 엔.브이. Format mapping scheme for universal drive device
US20050226104A1 (en) * 2003-06-05 2005-10-13 Fujitsu Limited Information record/replay apparatus and method
US20040260984A1 (en) 2003-06-23 2004-12-23 Samsung Electronics Co., Ltd. Disc drive failure diagnostic system and method

Also Published As

Publication number Publication date
KR20110048780A (en) 2011-05-12

Similar Documents

Publication Publication Date Title
KR101151684B1 (en) Method for converting data in optical disc drive
JP2006511901A (en) Handheld PDA video accessories
WO2005088632A1 (en) Information processing device and method, program recording medium, and program
US9235351B2 (en) Selective interfacing apparatus and method
US20120113779A1 (en) Method for sending data in optical disc drive capable of changing mode
KR101416322B1 (en) Authentication method of Contents-protected Title and Device adopting the method
US7716412B2 (en) Data storage apparatus and data access method for controlling address information for data writing using a free area control table
KR101255339B1 (en) Optical disc drive and driving method thereof
KR101339429B1 (en) Optical disc drive and driving method thereof
KR101330821B1 (en) Optical disc drive and driving method thereof
JP2007108853A (en) Information processor, information processing method, and computer program
US9159370B2 (en) Distributing media using a portable digital device compatible with optical drive devices
TWI390399B (en) External device having a virtual storage device
KR20150022273A (en) Optical disc drive and driving method thereof
KR20150022275A (en) Optical disc drive and driving method thereof
US20070104038A1 (en) Recording/reproducing apparatus and recording method
JP2007102995A (en) Method for dubbing musical compositions in music cd to mp3 player
KR20150022281A (en) Optical disc drive and driving method thereof
JP2006524405A (en) Partition selection for universal storage
KR101137835B1 (en) Optical disc drive capable of changing mode and mode-changing method
KR101203906B1 (en) Method for sending data in optical disc drive capable of changing mode
KR20150022274A (en) optical disc drive and driving method thereof
KR20150022271A (en) Optical disc drive and driving method thereof
KR20150016782A (en) Optical disc, and method for manufacturing the disc and driving the drive
KR20140023745A (en) Optical disk drive, user terminal and file processing method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee