KR100390486B1 - File name recording method for digital data player - Google Patents

File name recording method for digital data player Download PDF

Info

Publication number
KR100390486B1
KR100390486B1 KR10-2000-0075954A KR20000075954A KR100390486B1 KR 100390486 B1 KR100390486 B1 KR 100390486B1 KR 20000075954 A KR20000075954 A KR 20000075954A KR 100390486 B1 KR100390486 B1 KR 100390486B1
Authority
KR
South Korea
Prior art keywords
file
value
name
information
digital data
Prior art date
Application number
KR10-2000-0075954A
Other languages
Korean (ko)
Other versions
KR20020047497A (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 KR10-2000-0075954A priority Critical patent/KR100390486B1/en
Publication of KR20020047497A publication Critical patent/KR20020047497A/en
Application granted granted Critical
Publication of KR100390486B1 publication Critical patent/KR100390486B1/en

Links

Classifications

    • 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명은 MS-DOS 운영체제가 적용된 디지털 데이터의 재생 장치에서, 임의의 파일이 지워졌음을 알리기 위해 루트 디렉토리에서 해당 파일의 정보가 담긴 첫 바이트를 특정 값으로 설정하는 기술에 관한 것이다. 본 발명에서는 0xE5 또는 0x05를 사용하여 발생되는 제반 문제점을 해결할 수 있도록 파일의 첫 이름에 사용되지 않는다는 조건과, 첫 바이트의 값이 01∼20의 값이 아니라는 조건을 모두 만족시키는 값을 특정값으로 설정하여 사용하도록 하였다.The present invention relates to a technique for setting the first byte containing information of a file in a root directory to a specific value in order to notify that an arbitrary file has been erased in the apparatus for reproducing digital data to which the MS-DOS operating system is applied. In the present invention, a value that satisfies both the condition that it is not used for the first name of the file and the condition that the value of the first byte is not a value of 01 to 20 to solve all problems caused by using 0xE5 or 0x05 as a specific value. Set to use.

Description

디지털 데이터 재생장치의 파일 이름 저장 방법{FILE NAME RECORDING METHOD FOR DIGITAL DATA PLAYER}FILE NAME RECORDING METHOD FOR DIGITAL DATA PLAYER}

본 발명은 디지털 데이터 재생장치에서 사용하는 파일 시스템의 이름을 저장하는 기술에 관한 것으로, 특히 MP3 플레이어와 같이 특정의 운영 체제(예: MS-DOS) 파일 시스템이 많이 사용되는 재생장치의 루트 디렉토리에서 파일 정보가 지워졌음을 나타내는 문자를 적절히 설정하여 윈도우와 매킨토시 운영체제에서도 문제를 야기시키지 않고 MS-DOS 포맷 정보를 정확하게 읽어올 수 있도록한 디지털 데이터 재생장치의 파일 이름 저장 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for storing the name of a file system used in a digital data reproducing apparatus. In particular, the present invention relates to a root directory of a reproducing apparatus in which a specific operating system (e.g., MS-DOS) file system is widely used, such as an MP3 player. The present invention relates to a method of storing a file name of a digital data reproducing apparatus that properly sets a character indicating that file information is deleted so that MS-DOS format information can be read correctly without causing problems in Windows and Macintosh operating systems.

최근 MP3 파일을 재생할 수 있는 휴대용 기기(예: MP3 플레이어)가 많이 보급되고 있는 추세에 있으며, 이러한 휴대용 기기에는 여러 종류의 저장장치가 사용되고 있다. 이러한 저장장치에는 데이터를 저장/관리하기 위한 파일 시스템을 필요로 하는데, 일반적으로 MS-DOS 호환 파일 시스템이 많이 사용되고 있다.Recently, portable devices (eg, MP3 players) capable of playing MP3 files are widely used, and various types of storage devices are used for such portable devices. These storage devices require a file system for storing / managing data. In general, MS-DOS compatible file systems are widely used.

통상적으로, MS-DOS의 경우 파일 이름은 "8.3" 형식을 갖는다. 즉, 구두점(.) 앞에 8자, 구두점 뒤에 3자로 파일 이름을 설정하는 형식을 갖는다. 그런데, 이 "8.3" 형식은 점차 하드 디스크의 용량이 커지는데 적절히 대응하고, 하나의 디렉토리에 더 많은 파일을 저장하고 싶어하는 사용자들의 욕구를 충족시키는데 부족함이 많았다.Typically, file names have the format "8.3" for MS-DOS. That is, the file name is set to 8 characters before the punctuation mark and 3 characters after the punctuation mark. However, this "8.3" format has been insufficient to adequately cope with the increase in the capacity of the hard disk and satisfy the desire of users who want to store more files in one directory.

이를 해결하기 위해 비교적 긴 이름 형식을 도입하여 하나의 파일 정보를 저장할 때 32byte를 사용하게 되었다. 이와 같이 긴 이름을 지원하기 위해 32byte 배수 만큼의 파일 정보 저장 공간을 늘려 주었다. 하지만, 긴 이름에도 제한이 있어 256 자까지 허용하고 있다. 긴 이름을 허용하기 전에 MS-DOS에서 파일을 지울 경우, 실제 파일의 내용을 지우는 것이 아니라, 파일의 정보가 기록되는 루트 디렉토리에서 파일 정보가 담긴 첫 바이트를 0xE5(16진수 E5)로 바꾸어 놓는 것이다.To solve this problem, 32 bytes were used to store a single file information by introducing a relatively long name format. To support such long names, the file information storage space is increased by 32 bytes. However, long names are limited to 256 characters. If you delete a file in MS-DOS before allowing a long name, instead of clearing the contents of the actual file, you replace the first byte with file information with 0xE5 (hex E5) in the root directory where the file's information is written. .

간혹, 파일을 지운 후 다시 복구가 가능한 것은 파일 정보가 담긴 루트 디렉토리에서 0xE5로 바뀌어진 영역을 찾아 내어 파일이 실제로 기록되어 있는 위치를 알 수 있기 때문이다.Occasionally, you can recover a file after erasing it, because you can find out where the file is actually written by looking for an area that has changed to 0xE5 in the root directory that contains the file information.

파일 정보가 지워졌음을 알리기 위해 0xE5를 사용하다 보니, 실제 파일 이름의 처음 값이 0xE5인 경우 지워진 파일인 것처럼 인식되는 문제점이 발생된다. 이를 해결하기 위하여 실제 파일 이름의 처음 값이 0xE5인 경우 0x05로 저장한 다음 루트 디렉토리 정보를 읽어 들일 때 0x05를 0xE5로 인식하였다.When 0xE5 is used to indicate that the file information is deleted, a problem occurs that the file is recognized as deleted if the initial value of the actual file name is 0xE5. To solve this problem, if the initial value of the actual file name is 0xE5, 0x05 is stored and 0x05 is recognized as 0xE5 when reading the root directory information.

상기 0x05 값은 상기 긴 이름 값이 사용되기 전에는 사용 상 별다른 문제점이 없었지만, 긴 이름을 지원하는데 그 0x05 값은 적절하지 못하다.The 0x05 value had no problem in use before the long name value was used, but the 0x05 value is not appropriate.

즉, MS-DOS의 경우 파일 정보를 지울 때 루트 디렉토리의 파일 정보를 나타내는 첫 바이트에 0xE5를 기록하여 그 파일이 지워졌음을 나타내게 된다. 이후, 필요한 시점에서 첫 바이트가 0xE5 값인 엔트리를 검색하여 이 파일에 대한 정보가 지워졌음을 인식한 후 루트 디렉토리 정보를 정리하게 된다. 이때, "0xE5"라는 값을 사용하므로 만약 파일 이름의 첫 자가 0xE5인 경우 이 파일에 대한 정보가 지워졌다고 인식하게 된다. 참고로, 한글의 경우, 0xE5 값을 갖는 글자는 "여"(女), "자"(子) 자 등이 있다.That is, in the case of MS-DOS, when the file information is deleted, 0xE5 is written in the first byte indicating the file information of the root directory, indicating that the file is deleted. Then, when necessary, it searches for an entry whose first byte is 0xE5 value, recognizes that the information on this file is erased, and cleans up the root directory information. At this time, since the value "0xE5" is used, if the first character of the file name is 0xE5, it is recognized that the information on the file is deleted. For reference, in the case of Hangul, characters having a value of 0xE5 include "W" (女) and "Z" (子) characters.

이를 해결하기 위하여 MS-DOS에서는 파일 이름의 처음 값이 0xE5인 경우 0x05 값으로 바꾸어 저장한 다음, 루트 디렉토리로부터 읽어올 때 0xE5로 바꾸어 인식하였다. 그런데, 이와 같이 0x05를 사용하는 경우, 긴 이름을 지원할 때 엔트리의 수를 나타내는 첫 바이트와 충돌할 수 있다.To solve this problem, MS-DOS recognizes that when the initial value of the file name is 0xE5, it is changed to 0x05 and stored, and then changed to 0xE5 when reading from the root directory. However, in the case of using 0x05 in this way, when supporting long names, it may collide with the first byte indicating the number of entries.

이와 같이 종래 기술에 의한 디지털 데이터 재생장치의 파일 이름 저장 방법에 있어서는, 파일 정보가 지워졌음을 알리기 위해 0xE5를 사용하는 경우, 실제 파일 이름의 처음 값이 0xE5이면 지워진 파일인 것처럼 인식되는 문제점이 발생되었다. 이를 방지하기 위하여 실제 파일 이름의 처음 값이 0xE5인 경우 0x05로 저장한 다음 루트 디렉토리 정보를 읽어 들일 때 0x05를 0xE5로 인식하였는데, 긴 이름을 지원할 때 엔트리의 수를 나타내는 첫 바이트와 충돌하게 되는 새로운 문제점이 발생되었다.As described above, in the file name storage method of the conventional digital data reproducing apparatus, when 0xE5 is used to indicate that the file information has been deleted, a problem occurs that the file is recognized as an erased file if the initial value of the actual file name is 0xE5. It became. To prevent this, if the initial value of the actual file name is 0xE5, 0x05 is recognized as 0xE5 when the root directory information is read, and when the long name is supported, the new byte that conflicts with the first byte indicating the number of entries is supported. A problem has occurred.

따라서, 본 발명의 목적은 MP3 플레이어와 같은 디지털 데이터 재생장치에서 사용하는 파일 시스템의 이름을 저장할 때 윈도우와 매킨토시 운영체제에서도 문제를 야기시키지 않고 MS-DOS 포맷 정보를 정확하게 읽어오는데 적합한 디지털 데이터 재생장치의 파일 이름 저장 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a digital data player suitable for accurately reading MS-DOS format information without causing problems in Windows and Macintosh operating systems when storing file system names used in digital data player such as MP3 players. Provides a way to save file names.

도 1은 MS-DOS의 논리적인 볼륨과 디렉토리 정보의 포맷도.1 is a format diagram of logical volume and directory information of MS-DOS.

도 2는 MS-DOS에서 긴 이름을 지원하기 위한 데이터 포맷도.2 is a data format diagram for supporting long names in MS-DOS.

도 3은 본 발명에서 파일의 긴 이름을 저장하기 위한 처리과정에 대한 신호 흐름도.3 is a signal flow diagram for a process for storing a long name of a file in the present invention.

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

1 : 논리적 볼륨1: logical volume

본 발명에 의한 디지털 데이터 재생장치의 파일 이름 저장 방법은, 디지털 데이터를 재생하는 휴대용 기기의 저장 장치에서, 임의의 파일이 지워졌음을 알리기 위해 루트 디렉토리에서 해당 파일의 정보가 담긴 첫 바이트를 특정 값으로 선정할 때, 어떠한 경우에도 파일의 첫 이름에 사용되지 않는 값을 선정하는 제1과정과; 첫 바이트의 값이 01∼20의 값이 아닌 값을 선정하는 제2과정으로 이루어지는 것으로, 이와 같은 본 발명의 작용을 첨부한 도 1 내지 도 3을 참조하여 상세히 설명하면 다음과 같다.In the method of storing a file name of a digital data reproducing apparatus according to the present invention, in a storage device of a portable device for reproducing digital data, a first value containing information of a corresponding file in a root directory is specified to indicate that an arbitrary file has been deleted. In the first step of selecting a value that is not used in the first name of the file in any case; The first byte is a second process of selecting a value other than the value of 01 to 20, and will be described in detail with reference to FIGS. 1 to 3 attached to the operation of the present invention.

0xE5를 대신할 문자의 첫째 조건은 파일의 첫 이름에 절대 사용되지 않는 값이어야 하는데, 그 이유는 파일의 첫 이름에 사용할 수 있는 문자라면 0xE5(16진수 E5)를 대치한 문자인지 원래 문자인지를 구분할 수 없기 때문이다. 두 번째 조건은 긴 이름을 나타낼 때 사용하는 첫 바이트의 값으로 01부터 20의 값을 사용할 수 없다는 것이다. 상기 두 조건을 모두 만족시키는 문자는 콜론(:)이며, 아스키 코드값은 10진수로 58, 16진수로 3A이다.The first condition of the character that replaces 0xE5 must be a value that is never used in the first name of the file, because if it is a character that can be used in the first name of the file, it replaces 0xE5 (hex E5) or the original character. It is indistinguishable. The second condition is that you cannot use values from 01 to 20 for the first byte used to represent long names. The character that satisfies the above two conditions is a colon (:), and the ASCII code value is 58 in decimal and 3A in hexadecimal.

만약, 0xE5 값이 포함된 문자의 경우 0xE5 값 대신 0x3A를 저장한 다음, 루트 디렉토리 엔트리의 첫 번째 바이트에서 0x3A를 읽게 되면 이를 0xE5로 인식함으로써 원래 저장하고자 했던 문자 값을 얻을 수 있게 된다. 또한 지워진 파일을 나타내는 정보인 0xE5와 혼동을 일으킬 위험이 없어지게 된다.If a character with 0xE5 value is stored, instead of 0xE5 value, 0x3A is stored. If 0x3A is read from the first byte of the root directory entry, it is recognized as 0xE5. In addition, there is no risk of confusion with 0xE5, which indicates deleted files.

MS-DOS의 논리적 볼륨(1)은 도 1의 왼쪽 부분에서와 같이 부트섹터, 파일 할당 테이블, 파일 할당 테이블의 복사본, 루트 디렉토리 정보 및 파일의 실제 내용으로 이루어진다. 그런데, 상기 루트 디렉토리 정보의 내용을 좀더 자세히 살펴 보면 도 1의 오른쪽 부분에서와 같이 파일 이름, 확장자 이름, 파일 속성, 예비 영역, 파일이 생성되거나 수정된 시간, 파일이 생성된 날짜 또는 수정된 날짜, 시작 클러스터, 파일 크기 정보로 이루어지는 것임을 알 수 있다. 이와 같은 경우 하나의 파일 정보를 나타내기 위하여 32byte가 필요함을 알 수 있다.The logical volume 1 of MS-DOS is composed of a boot sector, a file allocation table, a copy of the file allocation table, root directory information, and the actual contents of a file as in the left part of FIG. However, when looking at the contents of the root directory information in more detail, as shown in the right part of FIG. 1, a file name, an extension name, a file attribute, a spare area, a time at which the file is created or modified, a date at which the file is created, or a modified date , The starting cluster, and the file size information. In this case, it can be seen that 32 bytes are required to represent one file information.

상기 루트 디렉토리 정보 중 파일의 이름을 나타내는 부분을 살펴보면, 파일 이름을 나타내기 위하여 8byte가 할당되고, 확장자 이름을 나타내기 위하여 3byte가 할당됨을 알 수 있다. 영어 알파벳의 경우 알파벳 한 글자를 위해 한 byte가 할당되므로 "8.3" 형식의 파일 이름만 저장할 수 있게 된다. 이에 비하여 한글의 경우 한 글자를 위해 2byte를 할당하게 되므로 파일 이름의 길이는 더 작아지게 된다. 따라서, 더 긴 파일 이름을 저장하기 위해서는 더 많은 영역이 필요한 것이다.Looking at the portion of the root directory information indicating the name of the file, it can be seen that 8 bytes are allocated to indicate the file name, and 3 bytes are allocated to indicate the extension name. In the case of the English alphabet, one byte is allocated for one letter of the alphabet, so only a file name of "8.3" format can be stored. In contrast, Hangul allocates 2 bytes for one character, so the length of the file name becomes smaller. Thus, more space is needed to store longer file names.

비교적 긴 이름을 나타내기 위한 데이터 포맷 형식을 도 2를 참조하여 설명하면 다음과 같다.A data format format for indicating a relatively long name is described with reference to FIG.

우선, 파일의 이름이 긴 이름인지 짧은 이름인지 판단하여 긴 이름으로 판명되면 하나의 파일 정보를 저장하기 위하여 더 많은 영역을 사용하게 된다. 긴 이름을 저장하는 부분을 파일 정보의 앞 부분에 기록한다. 긴 이름을 지원하기 위하여 MS-DOS에서는 도 2와 같은 포맷 방식을 취하고 있다.First, if the file name is determined to be a long name or a short name and is identified as a long name, more area is used to store one file information. Record the long name at the beginning of the file information. In order to support long names, MS-DOS has a format as shown in FIG. 2.

즉, 하나의 파일을 저장하기 위하여 32byte를 사용하게 되는데, 긴 이름일 경우 추가로 32byte의 배수만큼의 영역을 사용하게 된다. 도 2와 같은 포맷 방식으로 긴 이름을 저장할 경우 32byte에는 13자의 이름을 저장할 수 있다. 만약, 파일 이름의 길이가 15자라면 2개의 32byte를 추가로 필요로 한다. 도 2에서 보면, 첫 바이트에 엔트리의 개수를 기록하게 되는데, 이 엔트리의 개수란 긴 이름을 기록하기 위하여 추가로 필요로 하는 32byte의 개수를 의미한다.That is, 32 bytes are used to store one file. If the long name is used, an additional area of 32 bytes is used. In the case of storing a long name in the format as shown in FIG. 2, a thirteen character name can be stored in 32 bytes. If the file name is 15 characters long, two 32 bytes are required. In FIG. 2, the number of entries is recorded in the first byte, and the number of entries means the number of 32 bytes additionally required to record the long name.

윈도우에서는 파일의 이름 길이가 256개까지 허용되는데, 이와 같은 경우 20개의 엔트리가 필요하다. 왜냐하면, 하나의 엔트리에 13자의 글자를 기록할 수 있으므로 256자를 기록할 경우 20개의 엔트리를 필요로 하는 것이다. 이와 같은 경우 엔트리의 개수를 나타내는 첫 바이트에 1에서부터 20까지의 숫자가 기록된다.Windows allows up to 256 file names, which requires 20 entries. Because 13 characters can be recorded in one entry, when writing 256 characters, 20 entries are required. In this case, the numbers 1 through 20 are recorded in the first byte representing the number of entries.

그런데, 이와 같이 하면, MS-DOS 형식의 데이터와 충돌하는 데이터가 발생된다. 즉, 종래의 기술에서 언급한 바와 같이, MS-DOS에서는 파일 이름의 처음 값이 0xE5인 경우 0x05 값으로 바꾸어 저장한 다음, 루트 디렉토리로부터 읽어올 때 0xE5로 바꾸어 인식하게 되는데, 0x05를 사용하는 경우 긴 이름을 지원할 때 엔트리의 수를 나타내는 첫 바이트와 충돌할 수 있는 것이다.In this case, however, data conflicting with data in MS-DOS format is generated. That is, as mentioned in the related art, MS-DOS recognizes that when the initial value of the file name is 0xE5, it is changed to 0x05 and stored, and then it is recognized as 0xE5 when read from the root directory. When you support long names, you might collide with the first byte that represents the number of entries.

한편, 도 3을 참조하여 파일의 긴 이름을 저장하기 위한 처리과정을 설명하면 다음과 같다.Meanwhile, referring to FIG. 3, a process for storing a long name of a file is described as follows.

먼저, 파일 이름의 길이를 13으로 나누었을 때 나머지 값이 없으면 엔트리 개수는 파일 이름 길이를 13으로 나누었을 때의 몫이고, 나머지 값이 있으면 엔트리의 개수는 파일 이름의 길이를 13으로 나눈 몫에 1을 더한 값이다.(S1-S5)First, if the length of the file name is divided by 13 and there is no remaining value, the number of entries is the quotient of the file name length divided by 13, and if there are remaining values, the number of entries is the quotient of the file name divided by 13 This is 1 plus (S1-S5).

엔트리의 개수만큼 상기의 과정을 반복 수행하며, 파일의 이름을 도 2의 형식에 맞추어 대입하는 작업을 수행한다.The above process is repeated as many as the number of entries, and the file name is assigned in accordance with the format of FIG. 2.

현재 엔트리(i)가 기 설정된 순번의 엔트리 개수인지 확인하여 기 설정된 순번의 엔트리가 아닌 것으로 판명되면 몇번째 엔트리인지를 명시하고, 파일 이름의 처음 다섯 글자를 기록하게 되는데, 이때, 파일 이름의 한 글자 당 2byte가 할당된다.(S6,S7)If it is determined that the current entry (i) is not the preset number of entries, it indicates the number of entries and records the first five letters of the file name. 2 bytes are allocated per character (S6, S7).

그러나, 현재 엔트리가 기 설정된 순번의 엔트리로 판명되면, 그대로 "0x40?? 엔트리수"의 값을 넣게 되는데, 이와 같이 0x40을 오아연산하는 이유는 지금부터 나오는 파일 정보가 긴 이름임을 나타내기 위한 것이다.(S8)However, if the current entry is found to be a preset number of entries, the value of "0x40 ?? entries" is input as it is. The reason for miscalculating 0x40 is to indicate that the file information from now on is a long name. (S8)

이어서, 파일의 속성을 기록하게 되는데, 이때, 긴 이름임을 나타내기 위하여 항상 0x0F를 기록한다.(S9)Subsequently, the attributes of the file are recorded. In this case, 0x0F is always recorded to indicate the long name (S9).

이후, 예비 영역으로 0x00을 기록한 다음 글자 정보가 정확한지 판단할 수 있도록 체크썸 정보를 기록한다.(S10,S11)Thereafter, 0x00 is recorded as the spare area, and checksum information is recorded to determine whether the character information is correct (S10, S11).

이어서, 파일 이름의 다음 여섯 글자를 기록한 후, 실제 파일 내용이 있는 클러스터 정보를 기록하는데, 이때, 긴 이름 정보에서는 항상 0x00으로 채운다.(S12,S13)Subsequently, the next six letters of the file name are recorded, followed by cluster information containing the actual file contents, where the long name information is always filled with 0x00 (S12, S13).

파일 이름의 다음 두 글자를 기록하는 것으로 파일 이름 저장 과정이 종료된다.(S14)Recording the next two letters of the file name ends the file name storing process (S14).

한편, 상기 0xE5를 대신할 문자의 두 가기 조건 즉, 첫째, 파일의 첫 이름에 절대 사용되지 않는 값이어야 하고, 둘째, 긴 이름을 나타낼 때 사용하는 첫 바이트의 값으로 01부터 20의 값을 사용할 수 없다는 조건을 모두 만족하는 문자들의 후보로서 윈도우 OS의 파일 이름에 적당하지 않은 문자들을 살펴보면, ??,/,:,*,?,”,<,>,?? 총 9자가 있다. 윈도우 OS와는 다른 매킨토시에서 사용하는 MAC OS의 경우, 파일 이름으로 부적합한 문자는 콜론(:)이다. 상기 콜론의 아스키코드 값은 10진수로 58이고, 16진수로 3A이다. 따라서, 58은 01에서 20 사이에 속하지 않는다.On the other hand, the two skip conditions of the character to substitute for the 0xE5, that is, first, the value must never be used for the first name of the file, second, the value of 01 to 20 as the value of the first byte used to represent the long name Looking at characters that are not suitable for Windows OS file names as candidates for all of the characters that can't be met, ??, /,:, *,?, ”, <,>, ?? There are a total of nine characters. On Mac OSs other than the Windows OS, the invalid character for the file name is a colon (:). The ASCII code value of the colon is 58 in decimal and 3A in hexadecimal. Thus, 58 does not fall between 01 and 20.

결론적으로, MS-DOS에서 파일 이름이 속한 0xE5 대신 사용하면서 긴 이름을 지원할 수 있는 문자는 콜론(:)이다. 파일의 이름이 "여"(女)인 경우 0xE5값 대신0X05를 사용하지 않고 0x3A를 사용하여, 파일이 지워졌음을 알리는 0xE5값과 긴 이름을 지원할 경우 사용하는 0x05에서 발생하는 제반 문제점을 해결할 수 있게 된다.In conclusion, the character that can support long names in place of the 0xE5 file name in MS-DOS is a colon (:). If the file is named "F", instead of 0x05 instead of 0xE5, use 0x3A to solve the problem of 0x05, which indicates that the file has been erased, and the 0x05 used if the long name is supported. Will be.

이상에서 상세히 설명한 바와 같이 본 발명은 MS-DOS 파일 형식을 사용하는 모든 저장 장치에서 파일 정보가 지워졌음을 알리기 위해 0xE5 또는 0x05를 사용하는 대신, 0x3A 값을 사용함으로써 윈도우와 매킨토시 OS에서도 문제를 야기시키지 않고 MS-DOS 포맷 정보를 정확하게 읽어올 수 있는 효과가 있다.As described in detail above, the present invention causes problems in Windows and Macintosh OS by using 0x3A value instead of using 0xE5 or 0x05 to indicate that file information is erased in all storage devices using the MS-DOS file format. The effect is that the MS-DOS format information can be read correctly without doing so.

Claims (4)

MS-DOS 운영체제가 적용된 디지털 데이터의 재생 장치에서 임의의 파일이 지워졌음을 알리기 위해 루트 디렉토리에서 해당 파일의 정보가 담긴 첫 바이트를 특정 값으로 설정하는 방법에 있어서, 파일의 첫 이름에 사용되지 않고, 첫 바이트의 값이 01∼20의 값이 아닌 값으로 설정하는 것을 특징으로 하는 디지털 데이터 재생장치의 파일 이름 저장 방법.A method of setting the first byte of a file's information in the root directory to a specific value to indicate that an arbitrary file has been erased from a digital data playback device with the MS-DOS operating system. And setting the value of the first byte to a value other than the value of 01 to 20. 제1항에 있어서, 상기 두 조건을 모두 만족시키는 값은 콜론(:)에 해당되는 값임을 특징으로 하는 디지털 데이터 재생장치의 파일 이름 저장 방법.The method of claim 1, wherein the value satisfying both conditions is a value corresponding to a colon (:). 제1항에 있어서, 상기 두 조건을 모두 만족시키는 값은 16진수로 3A인 것을 특징으로 하는 디지털 데이터 재생장치의 파일 이름 저장 방법.The method of claim 1, wherein the value satisfying both conditions is 3A in hexadecimal. 제1항에 있어서, 파일의 이름은 32byte 배수 만큼의 파일 정보 저장 공간을 갖는 것을 특징으로 하는 디지털 데이터 재생장치의 파일 이름 저장 방법.The method of claim 1, wherein the file has a file information storage space of a multiple of 32 bytes.
KR10-2000-0075954A 2000-12-13 2000-12-13 File name recording method for digital data player KR100390486B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0075954A KR100390486B1 (en) 2000-12-13 2000-12-13 File name recording method for digital data player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0075954A KR100390486B1 (en) 2000-12-13 2000-12-13 File name recording method for digital data player

Publications (2)

Publication Number Publication Date
KR20020047497A KR20020047497A (en) 2002-06-22
KR100390486B1 true KR100390486B1 (en) 2003-07-07

Family

ID=27681445

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0075954A KR100390486B1 (en) 2000-12-13 2000-12-13 File name recording method for digital data player

Country Status (1)

Country Link
KR (1) KR100390486B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108440A (en) * 1991-10-11 1993-04-30 Sony Corp Format structure of directory entry on recording medium
KR940007708A (en) * 1992-09-17 1994-04-27 이헌조 How to display file names
KR950012259A (en) * 1993-10-16 1995-05-16 이헌조 File recovery and file writing method
KR20000045077A (en) * 1998-12-30 2000-07-15 윤종용 Recording medium storing start location information per zone and method for managing data using start location information
WO2000049503A1 (en) * 1999-02-17 2000-08-24 Matsushita Electric Industrial Co., Ltd. Method and device for recording/reproducing digital data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108440A (en) * 1991-10-11 1993-04-30 Sony Corp Format structure of directory entry on recording medium
KR940007708A (en) * 1992-09-17 1994-04-27 이헌조 How to display file names
KR950012259A (en) * 1993-10-16 1995-05-16 이헌조 File recovery and file writing method
KR20000045077A (en) * 1998-12-30 2000-07-15 윤종용 Recording medium storing start location information per zone and method for managing data using start location information
WO2000049503A1 (en) * 1999-02-17 2000-08-24 Matsushita Electric Industrial Co., Ltd. Method and device for recording/reproducing digital data

Also Published As

Publication number Publication date
KR20020047497A (en) 2002-06-22

Similar Documents

Publication Publication Date Title
US5699549A (en) Memory card having a card management information area for improved format capability and recording, reproducing, and erasing methods therefor
US6823417B2 (en) Memory controller for memory card manages file allocation table
RU2242805C2 (en) Recording method, control device and recording device
US5481519A (en) Method for recording, reproducing and managing file data on a recording medium
JP3315711B2 (en) Write management system and method for magneto-optical disk data storage device
RU2263954C2 (en) Device for editing, method for editing and data carrier
JPS62145574A (en) Writing of information into support unable to be erased
JP4347707B2 (en) Information recording medium formatting method and information recording medium
EP1343069B1 (en) System and method for tracking Information Control Blocks (ICB&#39;s) in UDF file systems using streams
KR20010037155A (en) Flash file system
KR100327286B1 (en) Digital audio recorder and player with address backup function
KR100390486B1 (en) File name recording method for digital data player
KR20100099216A (en) Methods and devices for managing and editing files in a file system
JP2001325134A (en) Directory setting method and recorder
JP2008269520A (en) Recorder and recording method
JPH11120044A (en) Data processor, data processing method, data processing system and recording medium
JP3624647B2 (en) Storage device, data management device, data management system, data management method, file management device, recording medium, and file management system
CN111831224B (en) Method, system and equipment for erasing residual space of exFAT partition file
KR100571915B1 (en) Method for updating a program with selecting of erase-all or erase-section command according to the updating data and apparatus thereof
KR100354317B1 (en) memory management data construction method of a digital data record/play apparatus
JP4055712B2 (en) Data management apparatus, data management method, and data management system
JP3531438B2 (en) Data management device, data management method, data management system, and external storage device
JP2001331280A (en) Information processor and information processing method
JP2002007204A (en) Device and method for information processing
KR100592859B1 (en) Recording medium control device and method

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060502

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee