KR20040046500A - Booting time shortening method for mobile communication terminal - Google Patents

Booting time shortening method for mobile communication terminal Download PDF

Info

Publication number
KR20040046500A
KR20040046500A KR1020020074444A KR20020074444A KR20040046500A KR 20040046500 A KR20040046500 A KR 20040046500A KR 1020020074444 A KR1020020074444 A KR 1020020074444A KR 20020074444 A KR20020074444 A KR 20020074444A KR 20040046500 A KR20040046500 A KR 20040046500A
Authority
KR
South Korea
Prior art keywords
information
file
file system
location
embedded
Prior art date
Application number
KR1020020074444A
Other languages
Korean (ko)
Other versions
KR100652616B1 (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 KR1020020074444A priority Critical patent/KR100652616B1/en
Publication of KR20040046500A publication Critical patent/KR20040046500A/en
Application granted granted Critical
Publication of KR100652616B1 publication Critical patent/KR100652616B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits

Abstract

PURPOSE: A method for reducing a booting time of a mobile communication terminal is provided to store file assign information in a file system region, and to store a file position in a specific region of a flash memory, thereby operating an EFS(Embedded File System) without collecting data and reducing time for collecting the data. CONSTITUTION: If power is turned off or software is reset, a system gathers master file directories and sector status table information loaded on an RAM before a file system task expires, generates information files, respectively, in an EFS region, and stores the generated information files(S11,S12). The system decides whether a position information storage space is enough to store positions of the two information files and various data, and if so, the system stores the positions and the data, and if not, the system deletes sectors for storing position information(S13-S15).

Description

이동 통신 단말기의 부팅 시간 단축 방법{BOOTING TIME SHORTENING METHOD FOR MOBILE COMMUNICATION TERMINAL}BOOTING TIME SHORTENING METHOD FOR MOBILE COMMUNICATION TERMINAL}

본 발명은 이동 통신 단말기에서 파일 할당 정보를 비휘발성 메모리에 저장하여 부팅 시간을 단축하는 방법에 관한 것으로, 특히 파일 할당 정보를 고정된 위치에 저장하지 않고 매번 파일 저장 위치를 유동적으로 변화시켜 부팅 시간을 단축하면서 플래시메모리의 수명도 증대시킬 수 있게 한 이동 통신 단말기의 부팅 시간단축 방법에 관한 것이다.The present invention relates to a method of shortening booting time by storing file allocation information in a nonvolatile memory in a mobile communication terminal. Particularly, the booting time is changed by changing a file storage location flexibly each time without storing the file allocation information in a fixed location. The present invention relates to a method for shortening the boot time of a mobile communication terminal that can shorten the life of a flash memory.

일반적으로 이동 통신 단말기에는 플래시메모리를 액세스하는 드라이버인 엠베디드 파일 시스템(EFS: Embedded File System)이 있다.In general, a mobile communication terminal includes an embedded file system (EFS), which is a driver for accessing a flash memory.

이동 통신 단말기가 부팅할 때 생성되는 태스크 중 상기 엠베디드 파일 시스템이 동작되는 파일 시스템(File System) 태스크가 생성되며, 파일 시스템 태스크 초기화 시 디렉토리를 만드는 함수를 수행한다.Among the tasks created when the mobile terminal is booted, a file system task in which the embedded file system is operated is generated, and performs a function of creating a directory when the file system task is initialized.

이 함수는 플래시메모리의 모든 데이터 영역을 탐색하여 마스터 파일 디렉토리(Master File Directory)와 섹터 상태 테이블(Sector Status Table)을 생성하는 역할을 한다.This function searches all data areas in flash memory and creates a master file directory and a sector status table.

종래 퀄컴에서 릴리스하는 DMSS 소스 상에 구현된 방법은 부팅할 때 파일 시스템 태스크 기동 초기에 엠베디드 파일 시스템 전체 영역을 3번에 걸쳐 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블의 정보를 수집하도록 되어 있다.The method implemented on the DMSS source released by Qualcomm is configured to scan the entire embedded file system area three times at the beginning of the file system task startup to collect the information of the master file directory and the sector state table at boot time. .

도 1은 종래 이동 통신 단말기의 부팅시 수행되는 엠베디드 파일 시스템 준비 작업을 설명하는 예시도로서, 이에 도시된 바와 같이 엠베디드 파일 시스템 영역(11)을 3번의 스캔닝에 의해 수집된 마스터 파일 디렉토리(12)와 섹터 상태 테이블(13)이 메모리에 로딩된 메모리 맵을 설명한다.FIG. 1 is an exemplary view illustrating an embedded file system preparation operation performed when a conventional mobile communication terminal is booted. As shown in FIG. 1, a master file directory collected by scanning three times the embedded file system area 11 is illustrated. (12) and the sector state table 13 describe the memory map loaded into the memory.

상기 두 개의 테이블(12, 13)은 램 영역에 상주하여 플래시메모리의 기록, 소거에 따라 변환되는 플래시메모리의 상태를 간직하게 된다.The two tables 12 and 13 reside in the RAM area to hold the state of the flash memory converted according to the writing and erasing of the flash memory.

여기서, 마스터 파일 디렉토리(12)는 각각의 비활성 아이템들이 속해있는 파일과 그 파일이 속해있는 디렉토리에 관한 정보를 갖고 있어 각 비활성 아이템이제거되거나 추가될 때 해당 파일의 정보를 갖고 있다.Here, the master file directory 12 has information about a file to which each inactive item belongs and a directory to which the file belongs, so that each master item directory 12 has information of a corresponding file when each inactive item is removed or added.

또한, 섹터 상태 테이블(13)은 해당 섹터의 상태를 보여주며, 유효한지 쓸모 없는지에 관한 정보를 갖고 있어 쓸모 없는 섹터일 경우 가비지 콜렉션(GC: Garbage Collection) 과정에 의해 소거 작업을 수행하여 자유로운 섹터로 만들어 유효한 섹터로 사용할 수 있도록 한다.In addition, the sector state table 13 shows the state of the corresponding sector, and has information on whether it is valid or useless. If the sector is useless, the sector state table 13 performs an erase operation by a garbage collection (GC) process to free the sector. Make it a valid sector.

그러나, 상기와 같은 종래 기술에 있어서, 플래시메모리를 액세스하기 위해 엠베디드 파일 시스템을 사용하는데 있어 파일의 저장 위치 정보를 램에만 저장하여 전원이 오프된 후에는 사라지므로 매번 부팅할 때마다 플래시메모리의 전 영역을 스캔닝하여 파일 저장 상태를 확인해야 한다.However, in the prior art as described above, in using the embedded file system to access the flash memory, the storage location information of the file is stored only in the RAM and disappears after the power is turned off. You need to scan the entire area to check the file storage.

따라서, 파일 할당 테이블을 구축하는데 걸리는 시간이 전체 부팅 시간 중 많은 비중을 차지하여 사용자가 단말기를 사용하기 위해 전원을 온한 후 대기하는 시간이 길어진다. 특히 엠베디드 파일 시스템 영역이 커질수록, 그리고 많은 데이터가 저장되어 있을수록 부팅 시간은 더욱 길어지는 문제점이 있다.Therefore, the time taken to build the file allocation table takes up a large portion of the total booting time, and the time for the user to wait after turning on the power to use the terminal becomes long. In particular, the larger the embedded file system area and the more data is stored, the longer the boot time becomes.

따라서, 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 전원이 오프되기 전 및 소프트웨어 리셋일 때 파일 할당 관련 정보를 파일로 저장하고 그 파일의 위치를 엠베디드 파일 시스템에 편입되지 않는 지정된 1개 섹터에 기록하여 다음 부팅할 때 파일 할당 관련 정보 파일을 읽어 사용함으로써 파일 할당 정보를 수집하기 위한 스캔닝 시간을 줄여 부팅 시간을 줄일 수 있도록 한 이동 통신 단말기의 부팅 시간 단축 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above-mentioned problems, and is designed to store file allocation related information as a file before powering off and at software reset, and to specify the location of the file not to be embedded in the embedded file system. The purpose of the present invention is to provide a method of shortening the boot time of a mobile communication terminal, which saves booting time by reducing the scanning time for collecting file allocation information by reading and using the file allocation information file at the next boot by recording the data into two sectors. There is this.

도 1은 종래 이동 통신 단말기의 부팅시 수행되는 엠베디드 파일 시스템 준비 작업을 설명하는 예시도.1 is an exemplary view illustrating an embedded file system preparation operation performed when a conventional mobile communication terminal is booted.

도 2는 본 발명에 따른 이동 통신 단말기의 부팅 시간 단축 방법에서 파일 할당 정보를 저장하는 절차의 동작 흐름도.2 is a flowchart illustrating a procedure of storing file allocation information in a method for shortening a boot time of a mobile communication terminal according to the present invention;

도 3은 본 발명에 따른 이동 통신 단말기의 부팅 시간 단축 방법에서 파일 할당 정보를 로딩하는 절차의 동작 흐름도.3 is a flowchart illustrating a procedure of loading file allocation information in a method for shortening a boot time of a mobile communication terminal according to the present invention;

도 4는 본 발명에 따른 이동 통신 단말기의 부팅시 수행되는 엠베디드 파일 시스템 준비 작업을 설명하는 예시도.4 is an exemplary view illustrating an embedded file system preparation operation performed at booting of a mobile communication terminal according to the present invention.

상기와 같은 목적을 달성하기 위한 본 발명은, 전원이 오프되거나 소프트웨어 리셋되면 파일 시스템 태스크를 종료하기 전에 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 엠베디드 파일 시스템 영역에 저장하고 이 저장된 위치를 플래시 메모리의 특정 위치에 저장하는 단계와; 상기 전원이 온되면 파일 시스템 태스크를 생성하면서 플래시메모리의 특정 위치에 저장된 위치 정보를 참조하여 엠베디드 파일 시스템 영역에서 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 읽어 메모리에 로딩하는 단계와; 상기 위치 정보 또는 엠베디드 파일 시스템 영역에 저장된 파일 정보에 이상이 있는지를 판단하여 이상이 있으면 엠베디드 파일 시스템 전 영역을 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 얻어 메모리에 로딩하는 단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, the present invention stores the master file directory and the sector state table information in the embedded file system area before terminating the file system task when the power is turned off or software reset. Storing at a specific location; Reading a master file directory and sector state table information from an embedded file system area and loading it into the memory by referring to the location information stored in a specific location of a flash memory while generating a file system task when the power is turned on; Determining whether there is an error in the location information or the file information stored in the embedded file system area, and if there is an error, scanning the entire area of the embedded file system to obtain master file directory and sector state table information and to load it into memory It is characterized by.

이하, 본 발명에 따른 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 이동 통신 단말기의 부팅 시간 단축 방법에서 파일 할당 정보를 저장하는 절차의 동작 흐름도로서 이에 도시된 바와 같이 전원이 오프되거나 소프트웨어 리셋되면 파일 시스템 태스크가 종료되기 전에 램에 로딩된 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 모아 엠베디드 파일 시스템 영역에 각각 정보 파일을 생성하여 저장하는 단계(S11, S12)와; 상기 엠베디드 파일 시스템 영역에 저장된 두 정보 파일의 위치 및 각종 데이터를 저장하는 위치 정보 저장 공간이 충분한지를 판단하여 충분하면 생성한 정보 파일의 위치 및 각종 데이터를구조체로 저장하고 그렇지 않으면 위치 정보를 저장하는 섹터를 지운 후 저장하는 단계(S13~S15)로 이루어진다.2 is an operation flowchart of a procedure for storing file allocation information in a booting time reduction method of a mobile communication terminal according to the present invention. As shown in FIG. Collecting the master file directory and the sector state table information and generating and storing information files in the embedded file system area (S11 and S12); It is determined whether the location of the two information files stored in the embedded file system area and the location information storage space for storing various data is sufficient, and if the location is sufficient, the location and the various data of the generated information file are stored as a structure. And deleting the stored sectors (S13 to S15).

사용자가 전원을 오프하거나 소프트웨어 리셋시키면 이동 통신 단말기의 파일 시스템 태스크의 동작이 완료된 후 태스크 종료 직전에 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 모아 엠베디드 파일 시스템 영역 내에 파일로 저장한다(S11, S12).When the user turns off the power or resets the software, the master file directory and the sector state table information are collected and stored as a file in the embedded file system area immediately after the operation of the file system task of the mobile terminal is completed (S11 and S12). .

상기 파일이 엠베디드 파일 시스템 영역 내에 저장되는 블록 위치와 블록 링크 정보, 그리고 최종 길이를 플래시메모리 내의 특정 섹터에 기록한다. 이때 저장할 정보량이 작으므로 다음 구조체를 이용하여 저장한다.The block position, the block link information, and the final length of the file stored in the embedded file system area are recorded in a specific sector in the flash memory. At this time, since the amount of information to be stored is small, save it using the following structure.

ID(2bytes)ID (2 bytes) 정보파일의유효성플래그(1byte)Validity flag of the information file (1 byte) 정보파일의파일 헤더블록의 위치Location of file header block in the information file 데이터블록의시작위치Start position of data block 링크 갯수Number of links 총 길이Total length

여기서, ID는 상기 구조체가 위치 정보임을 나타내고, 초기에 0xA501로 대입되고 읽혀지면 0x0000으로 덮어쓰여진다. 정보파일의 유효성 플래그는 정상적인 전원 오프 또는 소프트웨어 리셋에 의해 정상적으로 저장된 정보인지를 판별하는 기준이 된다.Here, ID indicates that the structure is positional information and is initially substituted with 0xA501 and overwritten with 0x0000 when read. The validity flag of the information file serves as a criterion for determining whether the information is normally stored by normal power-off or software reset.

일반적으로 파일 할당 정보의 길이는 엠베디드 파일 시스템의 크기에 좌우되나 마스터 파일 디렉토리 및 섹터 상태 테이블의 정보를 저장할 때 사용되는 블록 수는 많지 않다. 따라서, 파일 할당 정보를 읽어들이는데 소요되는 시간은 극히 짧다.In general, the length of the file allocation information depends on the size of the embedded file system, but the number of blocks used when storing the information of the master file directory and the sector state table is not large. Therefore, the time required to read file allocation information is extremely short.

마스터 파일 디렉토리와 섹터 상태 테이블의 정보를 모아 한 파일로 저장하므로 플래시메모리 내의 특정 위치에 저장해야 할 정보량은 몇 십바이트 수준이다.Since the information in the master file directory and the sector state table are collected and stored in a single file, the amount of information to be stored in a specific location in the flash memory is several tens of bytes.

보통 쉽게 제어하기 위해서 부팅시 이 정보를 읽고 나면 다음 번 사용을 위해 이 섹터를 지우고 다음 번 저장시 동일한 위치에 정보를 저장하는 방법을 사용하는데 플래시 소자의 특성상 지움/기록 횟수에 한계가 있으므로 이와 같은 방법을 사용할 경우 나중에 그 섹터만 수명이 다하게 되는 문제가 발생한다.Usually, this information is read at boot time for ease of control, then this sector is erased for the next use and the information is stored at the same location the next time it is stored. If you use the method, the problem is that only those sectors will reach the end of their life.

따라서, 그 섹터에는 위에서 설명한 바와 같이 파일의 위치 정보를 저장하고 그 섹터가 꽉 찰 때까지 이어서 저장하다가 거의 꽉 찼을 때에만 지우도록 하여 플래시메모리의 수명이 단축되는 문제를 해결할 수 있다(S13~S15).Therefore, as described above, the location information of the file is stored in the sector, and then stored until the sector is full, and then erased only when it is almost full, thereby shortening the life of the flash memory (S13 to S15). ).

이를 위해 위치 정보를 읽어들이고 나면 ID=0xA501을 ID=0x0000으로 덮어쓰면 된다.To do this, read the location information and overwrite ID = 0xA501 with ID = 0x0000.

다음 번 부팅 시에는 ID가 0xA501인 것을 찾아 읽어들이고 저장 시에는 뒤이은 빈 영역에 저장하면 된다.The next time you boot, find and read the ID 0xA501, and save it to the next free space.

이와 같이 위치 정보를 저장하기 위해 할당한 한 섹터가 꽉 찬 후에만 기존 위치 정보를 지우게 되므로 지움 횟수가 적어져 수명 단축의 문제를 피하게 된다.In this way, the existing location information is deleted only after one sector allocated to store the location information is full, thus eliminating the problem of shortening the lifespan.

이상, 전원 오프 또는 소프트웨어 리셋에 따라 램에 로딩된 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 모아 엠베디드 파일 시스템 영역에 각각 MFD 파일과 SST 파일로 저장하고 이 두 파일의 저장 위치를 플래시 메모리의 특정 위치에 저장하는 절차에 대해 설명하였으며, 이하 이동 통신 단말기가 이들 정보를 사용하여 부팅하는 절차를 도면을 참조하여 설명하면 다음과 같다.The master file directory and sector state table information loaded into RAM according to the error, power off or software reset are collected and stored in the embedded file system area as MFD file and SST file respectively, and the storage location of these two files is stored in a specific location of flash memory. In the following description, a procedure of booting a mobile communication terminal using these information is described below with reference to the accompanying drawings.

도 3은 본 발명에 따른 이동 통신 단말기의 부팅 시간 단축 방법에서 파일할당 정보를 로딩하는 절차의 동작 흐름도로서, 이에 도시된 바와 같이 전원이 온되면 부팅 초기화 동작이 수행되어 파일 시스템 태스크가 생성되어 플래시메모리 내의 특정 영역에서 위치 정보를 검색하여 읽어들이는 단계(S21, S22)와; 상기 위치 정보가 유효한지를 판단하여 유효하면 이 위치 정보가 가리키는 엠베디드 파일 시스템 영역에서 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 읽어 메모리에 로딩하는 단계(S23~S25)와; 상기 위치 정보가 유효하지 못하거나 상기 엠베디드 파일 시스템 영역에서 읽어들인 파일 정보에 이상이 있으면 엠베디드 파일 시스템 전 영역을 3회에 걸쳐 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 얻어 메모리에 로딩하는 단계(S26)와; 상기 두 파일 정보의 로딩이 마치면 나머지 부팅 과정을 수행하는 단계(S27)로 이루어진다.3 is a flowchart illustrating a process of loading file allocation information in a method for shortening a boot time of a mobile communication terminal according to the present invention. As shown in FIG. Retrieving and reading location information from a specific area in the memory (S21, S22); Determining whether the location information is valid and reading the master file directory and sector state table information from the embedded file system area indicated by the location information and loading it into a memory (S23 to S25); If the location information is invalid or there is an error in the file information read from the embedded file system area, the entire area of the embedded file system is scanned three times to obtain master file directory and sector state table information and load it into memory. Step S26; After the loading of the two file information is completed, the step of performing the remaining boot process (S27).

전원이 온되면 부팅 초기화 동작이 수행되어 파일 시스템 태스크가 생성되어 플래시메모리 내의 특정 영역에서 위치 정보 헤더를 검색하여 ID=0xA501인 위치 정보 구조체를 찾아 읽어들인다(S21, S22).When the power is turned on, a boot initialization operation is performed to generate a file system task to search for a location information header in a specific area in the flash memory to find and read a location information structure having ID = 0xA501 (S21 and S22).

파일 시스템 태스크는 읽어들인 위치 정보 구조체에서 정보 파일의 유효성 플래그의 값을 얻어 정상적인 전원 오프 또는 소프트웨어 리셋에 의해 정상적으로 저장된 정보인지를 판별한다(S23).The file system task obtains the value of the validity flag of the information file in the read position information structure to determine whether the information is normally stored by normal power-off or software reset (S23).

정상적으로 저장된 정보로 판단되면 파일 시스템 태스크는 정보 파일의 파일 헤더 블록의 위치, 데이터 블록의 시작 위치, 링크 개수, 그리고 총 길이를 참조하여 엠베디드 파일 시스템 영역에서 MFD 파일과 SST 파일을 읽어 그 내용을 메모리 상의 각각의 테이블에 로딩한다(S24, S25).If it is determined that the information is normally stored, the file system task reads the MFD file and the SST file from the embedded file system area by referring to the location of the file header block, the start position of the data block, the number of links, and the total length of the information file. Each table on the memory is loaded (S24, S25).

이때, MFD 파일과 SST 파일에 포함된 CRC 데이터를 분석하여 유효성을 검사하고 이 두 파일의 신뢰성을 확보한다. 신뢰성 확인 과정에서 두 파일에 이상이 있는 것으로 판단되면 종래 스캔닝 방법에 의해 새로 데이터를 수집한다.At this time, the CRC data included in the MFD file and the SST file is analyzed and validated to ensure the reliability of the two files. If it is determined that the two files are abnormal in the reliability check process, data is newly collected by a conventional scanning method.

그리고, 위치 정보 구조체의 ID를 0x0000으로 덮어써서 이미 사용된 구조체임을 구분한다. 따라서, 새로운 구조체를 저장할 때에는 바로 뒤에 이어서 빈 공간에 저장하면 된다.The ID of the location information structure is overwritten with 0x0000 to distinguish the structure from the already used structure. Therefore, when you save a new structure, you save it immediately afterwards in an empty space.

도 4는 본 발명에 따른 이동 통신 단말기의 부팅시 수행되는 엠베디드 파일 시스템 준비 작업을 설명하는 예시도로서, 이에 도시된 바와 같이 위치 정보에 의해 엠베디드 파일 시스템 영역 내의 MFD 파일과 SST 파일이 읽혀져 메모리에 마스터 파일 디렉토리와 섹터 상태 테이블이 로딩됨을 설명한다.4 is an exemplary view illustrating an embedded file system preparation operation performed when a mobile communication terminal is booted according to the present invention. As shown therein, an MFD file and an SST file in an embedded file system area are read by location information. The master file directory and sector state table are loaded into memory.

이와 반대로 위치 정보에 이상이 있다고 판단하거나 위치 정보 구조체가 없으면 파일 시스템 태스크는 MFD 파일과 SST 파일에 저장된 정보가 잘못되었거나 파일 자체가 생성되지 않았을 확률이 높으므로 종래와 같이 엠베디드 파일 시스템 전 영역을 3회에 걸쳐 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 얻는다(S26).On the contrary, if it is determined that there is an error in the location information or there is no location information structure, the file system task has a high probability that the information stored in the MFD file and the SST file is wrong or that the file itself is not generated. Scanning is performed three times to obtain master file directory and sector state table information (S26).

이후, 이동 통신 단말기는 남은 부팅 과정을 수행한다(S27).Thereafter, the mobile communication terminal performs the remaining booting process (S27).

이상에서 상세히 설명한 바와 같이, 본 발명은 파일 할당 정보를 엠베디드 파일 시스템 영역에 저장하고 그 파일 위치를 플래시메모리의 특정 영역에 저장하여 부팅시 따로 데이터 수집 없이 엠베디드 파일 시스템이 동작 가능하고 데이터수집에 소요되는 시간이 줄어들어 부팅 시간이 단축되는 효과가 있다.As described in detail above, the present invention stores the file allocation information in the embedded file system area and stores the file location in a specific area of the flash memory so that the embedded file system can be operated without data collection at boot time and data collection is possible. This decreases the time required for booting, which shortens the booting time.

또한, 플래시메모리의 특정 영역에 저장하는 파일 위치를 고정된 위치에 계속 지움/기록을 반복하지 않고 이전에 저장한 위치와 겹치지 않게 저장하여 플래시메모리의 수명을 단축시키지 않는 효과가 있다.In addition, it is possible to reduce the life of the flash memory by storing the file position stored in a specific area of the flash memory so as not to overlap with the previously stored position without repeatedly erasing / recording at a fixed position.

Claims (4)

전원이 오프되거나 소프트웨어 리셋되면 파일 시스템 태스크를 종료하기 전에 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 엠베디드 파일 시스템 영역에 저장하고 이 저장된 위치를 플래시메모리의 특정 위치에 저장하는 단계와; 상기 전원이 온되면 파일 시스템 태스크를 생성하면서 플래시메모리의 특정 위치에 저장된 위치 정보를 참조하여 엠베디드 파일 시스템 영역에서 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 읽어 메모리에 로딩하는 단계와; 상기 위치 정보 또는 엠베디드 파일 시스템 영역에 저장된 파일 정보에 이상이 있는지를 판단하여 이상이 있으면 엠베디드 파일 시스템 전 영역을 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 얻어 메모리에 로딩하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 부팅 시간 단축 방법.Storing a master file directory and sector state table information in an embedded file system area and saving the stored location in a specific location in flash memory before the file system task is terminated when the power is turned off or software reset; Reading a master file directory and sector state table information from an embedded file system area and loading it into the memory by referring to the location information stored in a specific location of a flash memory while generating a file system task when the power is turned on; Determining whether there is an error in the location information or the file information stored in the embedded file system area, and if there is an error, scanning the entire area of the embedded file system to obtain master file directory and sector state table information and to load it into memory Method for reducing the boot time of a mobile communication terminal, characterized in that. 제1항에 있어서, 상기 플래시메모리에 파일 할당 정보를 저장함은 전원이 오프되거나 소프트웨어 리셋되면 파일 시스템 태스크가 종료되기 전에 램에 로딩된 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 모아 엠베디드 파일 시스템 영역에 각각 정보 파일을 생성하여 저장하는 단계와; 상기 엠베디드 파일 시스템 영역에 저장된 두 정보 파일의 위치 및 각종 데이터를 저장하는 위치 정보 저장 공간이 충분한지를 판단하여 충분하면 생성한 정보 파일의 위치 및 각종 데이터를 이전에 위치 정보를 저장한 다음 위치에 이어서 저장하고 그렇지 않으면 위치 정보를 저장하는 섹터를 지운 후 저장하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 부팅 시간 단축 방법.2. The method of claim 1, wherein storing file allocation information in the flash memory comprises collecting master file directory and sector state table information loaded into RAM before the file system task is terminated when the power is turned off or software reset. Generating and storing information files, respectively; It is determined whether the location of the two information files stored in the embedded file system area and the location information storage space for storing various data is sufficient, and if enough, the location of the generated information file and the various data are stored in the next location And subsequently storing and erasing and storing the sector storing the location information. 제1항에 있어서, 상기 플래시메모리에서 파일 할당 정보를 로딩함은 전원이 온되면 부팅 초기화 동작이 수행되어 파일 시스템 태스크가 생성되어 플래시메모리 내의 특정 영역에서 위치 정보를 검색하여 읽어들이는 단계와; 상기 위치 정보가 유효한지를 판단하여 유효하면 이 위치 정보가 가리키는 엠베디드 파일 시스템 영역에서 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 읽어 메모리에 로딩하는 단계와; 상기 위치 정보가 유효하지 못하거나 상기 엠베디드 파일 시스템 영역에서 읽어들인 파일 정보에 이상이 있으면 엠베디드 파일 시스템 전 영역을 스캔닝하여 마스터 파일 디렉토리와 섹터 상태 테이블 정보를 얻어 메모리에 로딩하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 부팅 시간 단축 방법.The method of claim 1, wherein the loading of the file allocation information from the flash memory comprises: performing a boot initialization operation when a power is turned on to generate a file system task to retrieve and read location information from a specific area in the flash memory; Determining whether the location information is valid and reading the master file directory and sector state table information from an embedded file system area indicated by the location information and loading it into memory; Scanning the entire area of the embedded file system to obtain master file directory and sector state table information and loading it into memory if the location information is invalid or there is an error in the file information read from the embedded file system area. Method for reducing the boot time of a mobile communication terminal, characterized in that. 제2항 또는 제3항에 있어서, 상기 위치 정보는 구조체가 위치 정보임을 나타내는 아이디와; 정상적인 전원 오프 또는 소프트웨어 리셋에 의해 정상적으로 저장된 정보인지를 판별하는 기준이 되는 정보파일의 유효성 플래그와; 엠베디드 파일 시스템 영역 내에 저장되는 정보파일의 파일 헤더 블록의 위치 및 데이터 블록의 시작 위치와; 블록 링크 정보인 링크 개수 및 총 길이로 이루어진 것을 특징으로 하는 이동 통신 단말기의 부팅 시간 단축 방법.4. The method of claim 2 or 3, wherein the location information includes: an ID indicating that the structure is location information; A validity flag of the information file serving as a reference for determining whether the information is normally stored by a normal power-off or software reset; A position of a file header block and a start position of the data block of the information file stored in the embedded file system area; A method for shortening the boot time of a mobile communication terminal, characterized in that the link number and the total length of the block link information.
KR1020020074444A 2002-11-27 2002-11-27 Booting time shortening method for mobile communication terminal KR100652616B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020074444A KR100652616B1 (en) 2002-11-27 2002-11-27 Booting time shortening method for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020074444A KR100652616B1 (en) 2002-11-27 2002-11-27 Booting time shortening method for mobile communication terminal

Publications (2)

Publication Number Publication Date
KR20040046500A true KR20040046500A (en) 2004-06-05
KR100652616B1 KR100652616B1 (en) 2006-12-01

Family

ID=37342036

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020074444A KR100652616B1 (en) 2002-11-27 2002-11-27 Booting time shortening method for mobile communication terminal

Country Status (1)

Country Link
KR (1) KR100652616B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100506260B1 (en) * 2003-02-22 2005-08-10 삼성전자주식회사 Method for booting in mobile phone
KR100862237B1 (en) * 2007-03-02 2008-10-09 한국과학기술원 File System Based on NAND Flash Memory and Flie Search Method thereof
US7814079B2 (en) 2006-04-04 2010-10-12 Samsung Electronics Co., Ltd. Apparatus and method for managing file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100343577B1 (en) * 1999-12-31 2002-07-20 기아자동차주식회사 Wear alarm device of brake disk pad for automobile
KR100663435B1 (en) * 2000-12-26 2007-01-02 삼성전자주식회사 Method for setting initial display in mobile telecommunication terminal
KR100381001B1 (en) * 2001-04-09 2003-04-23 주식회사 팬택앤큐리텔 Method for booting time abbreviate in mobile communication terminal
KR20040042936A (en) * 2002-11-14 2004-05-22 엘지전자 주식회사 Embeded file system management method for mobile communication device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100506260B1 (en) * 2003-02-22 2005-08-10 삼성전자주식회사 Method for booting in mobile phone
US7814079B2 (en) 2006-04-04 2010-10-12 Samsung Electronics Co., Ltd. Apparatus and method for managing file
KR100862237B1 (en) * 2007-03-02 2008-10-09 한국과학기술원 File System Based on NAND Flash Memory and Flie Search Method thereof

Also Published As

Publication number Publication date
KR100652616B1 (en) 2006-12-01

Similar Documents

Publication Publication Date Title
KR100453053B1 (en) Flash memory file system
EP1895418B1 (en) Nonvolatile memory device, method of writing data, and method of reading out data
KR100595909B1 (en) Moving sectors within a block in a flash memory
JP5336060B2 (en) Nonvolatile memory device and method of operating the same
RU2243588C2 (en) Energy-independent memory device, recording device and recording method
US8327068B2 (en) Memory module, memory controller, nonvolatile storage, nonvolatile storage system, and memory read/write method
US8028120B2 (en) System with flash memory device and data recovery method thereof
JP3544610B2 (en) Memory device
US20020156988A1 (en) Memory device
US8185705B2 (en) Information recording medium, information recording medium accessing apparatus and accessing method
KR20030040817A (en) Flash memory management method
JP2009510552A (en) Data management method in flash memory media
KR20100080350A (en) Recovery for non-volatile memory after power loss
JP2004318940A (en) Storage device
US8775758B2 (en) Memory device and method for performing a write-abort-safe firmware update
JPWO2006067923A1 (en) MEMORY CONTROLLER, NONVOLATILE MEMORY DEVICE, NONVOLATILE MEMORY SYSTEM, AND MEMORY CONTROL METHOD
US20080034182A1 (en) Data storage device, memory management method and program
KR100703680B1 (en) Flash file system
JP2006079434A (en) Storage device, memory management method and program
US6687815B1 (en) Method and apparatus for storing non-volatile configuration information
US20090195928A1 (en) Magnetic disk apparatus
JP4586469B2 (en) MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, PROGRAM
KR100381001B1 (en) Method for booting time abbreviate in mobile communication terminal
US20070005929A1 (en) Method, system, and article of manufacture for sector mapping in a flash device
JP4130808B2 (en) Formatting method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
E801 Decision on dismissal of amendment
B601 Maintenance of original decision after re-examination before a trial
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20050506

Effective date: 20060929

S901 Examination by remand of revocation
GRNO Decision to grant (after opposition)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121026

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131024

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141024

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151023

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee