KR20070091452A - Mobile communication terminal for recovering data in power-off during write operation thereof - Google Patents

Mobile communication terminal for recovering data in power-off during write operation thereof Download PDF

Info

Publication number
KR20070091452A
KR20070091452A KR1020060020967A KR20060020967A KR20070091452A KR 20070091452 A KR20070091452 A KR 20070091452A KR 1020060020967 A KR1020060020967 A KR 1020060020967A KR 20060020967 A KR20060020967 A KR 20060020967A KR 20070091452 A KR20070091452 A KR 20070091452A
Authority
KR
South Korea
Prior art keywords
page
data
area
check bit
ecc
Prior art date
Application number
KR1020060020967A
Other languages
Korean (ko)
Inventor
김호연
최병훈
Original Assignee
주식회사 팬택앤큐리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 팬택앤큐리텔 filed Critical 주식회사 팬택앤큐리텔
Priority to KR1020060020967A priority Critical patent/KR20070091452A/en
Publication of KR20070091452A publication Critical patent/KR20070091452A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors

Abstract

A mobile communication terminal capable of restoring data in case of power off during a memory writing process is provided to update page information about a write operation by generating a page meta table, thereby easily restoring corresponding data and a corresponding page if power is off during the write operation. A memory(500) includes a page meta table in accordance with the number of plural pages. A controller(600) generates the page meta table in case of a memory write process, and restores data according to a value of the page meta table if power is off during the write process, or controls so that an error checking and compensation function is executed again.

Description

메모리 라이트 도중 파워오프 시 복구가 가능한 이동 통신 단말기 {MOBILE COMMUNICATION TERMINAL FOR RECOVERING DATA IN POWER-OFF DURING WRITE OPERATION THEREOF}MOBILE COMMUNICATION TERMINAL FOR RECOVERING DATA IN POWER-OFF DURING WRITE OPERATION THEREOF}

도 1은 본 발명의 실시예에 따른 이동 통신 단말기의 개략적인 구성도.1 is a schematic structural diagram of a mobile communication terminal according to an embodiment of the present invention;

도 2는 도 1의 이동 통신 단말기의 메모리 구조.2 is a memory structure of the mobile communication terminal of FIG.

도 3은 도 2의 페이지 메타 테이블의 상세 구성도.FIG. 3 is a detailed configuration diagram of the page meta table of FIG. 2.

도 4는 도 1의 이동 통신 단말기의 라이트 방법을 나타내는 순서도.4 is a flowchart illustrating a writing method of the mobile communication terminal of FIG. 1.

도 5는 도 4의 라이트 도중 파워 오프 시 해결 방법을 나타내는 순서도.FIG. 5 is a flow chart illustrating a solution upon power off during the write of FIG. 4. FIG.

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

100 : RF부 200 : 데이터 처리부100: RF unit 200: data processing unit

300 : 키입력부 400 : 표시부300: key input unit 400: display unit

500 : 메모리 600 : 제어부500: memory 600: control unit

510 : 로그영역 520 : 페이지 테이블 영역510: log area 520: page table area

530 : 데이터 영역 540 : 페이지 메타 테이블530: data area 540: page meta table

541 : 백업 페이지 영역 550 : 코드 영역541: backup page area 550: code area

본 발명은 메모리 라이트 도중 파워오프 시 복구가 가능한 이동 통신 단말기 에 관한 것으로서, 보다 상세하게는 페이지 메타 테이블을 생성하여 라이트와 관련한 페이지 정보 등을 업데이트함으로써, 라이트 도중 파워 오프 시 해당 페이지 및 해당 데이터를 용이하게 복구할 수 있도록 하여 메모리 효율을 증대시키는 기술이다.The present invention relates to a mobile communication terminal capable of restoring upon power-off during a memory write. More particularly, the present invention relates to a mobile communication terminal that generates a page meta table and updates page information related to a write. It is a technology that increases memory efficiency by allowing easy recovery.

일반적으로 이동 통신 단말기(이하 '단말기'라 함)라 함은 휴대폰이나 팜PC, PDA(personal Digital Assistants; 개인용 디지털 보조기) 또는 HPC(Hand-held PC: 휴대용 PC) 등을 총칭하는 것으로서, 장소에 구애받지 않고 무선통신은 물론 네트워크 접속을 통한 각종 업무를 수행할 수 있는 첨단 통신기기를 말한다.Generally, a mobile terminal (hereinafter referred to as a 'terminal') refers to a mobile phone, a palm PC, a personal digital assistant (PDA) or a hand-held PC (HPC). It is a high-tech communication device that can perform various tasks through wireless connection as well as network connection regardless.

이러한 이동 통신 단말기는 NOR(코드 저장형) 메모리, NAND 메모리, MMC, T-Flash 등의 메모리를 구비한다. 특히, NAND 메모리는 페이지와 블럭단위로 구성되는데, 1 블럭이 32 페이지를 포함하며, 각각의 페이지는 데이터 영역을 위한 512 바이트와 ECC(Error Correcting Code)와 배드블럭(bad block)을 처리를 위한 16바이트로 구성된다. 이때, ECC는 에러 검출 및 정정(correct)을 수행하는 영역으로서, 일정 비트의 데이터를 저장하고 해당 데이터의 에러여부를 검출하여 그 결과를 ECC 영역에 저장한다. 즉, 라이트 동작은 데이터의 라이트와 에러체크정보의 라이트로 구성된다. Such a mobile communication terminal includes a memory such as a NOR (code storage type) memory, a NAND memory, an MMC, a T-Flash, and the like. In particular, NAND memory is composed of pages and blocks. Each block contains 32 pages, and each page includes 512 bytes for a data area, an error correcting code (ECC), and a bad block. It consists of 16 bytes. At this time, the ECC is an area for performing error detection and correction. The ECC stores certain bits of data, detects whether the corresponding data is in error, and stores the result in the ECC area. That is, the write operation is composed of writing of data and writing of error check information.

이러한 메모리를 구비하는 이동 통신 단말기는 데이터를 라이트 과정에서 여러 문제점을 가지며, 특히 동영상, MP3 등의 다운로드를 통한 라이트 도중 갑작스 런 파워오프 시에 라이트하던 데이터를 잃어버릴 뿐만 아니라 해당 데이터를 저장하던 영역을 배드블럭(bad block)이 아닌데도 불구하고 배드블럭으로 처리하여 메모리 저장 효율성을 떨어드리는 문제점이 있다.A mobile communication terminal having such a memory has various problems in the process of writing data. In particular, the mobile communication terminal not only loses the data written at the time of sudden run power-off during the writing by downloading the video or MP3, but also stores the data. Although the area is not a bad block, there is a problem of reducing memory storage efficiency by treating it as a bad block.

상기와 같은 문제점을 해결하기 위한 본 발명의 목적은, 페이지 메타 테이블을 생성하여 라이트 도중 파워 오프 시 해당 페이지 및 해당 데이터를 용이하게 복구할 수 있도록 하는데 있다.An object of the present invention for solving the above problems is to generate a page meta table to easily recover the page and the data when the power off during the write.

상기 과제를 달성하기 위한 본 발명에 따른 메모리 라이트 도중 파워오프 시 복구가 가능한 이동 통신 단말기는, 복수개의 페이지수에 따른 페이지 메타 테이블을 포함하는 메모리와, 메모리 라이트 시에 페이지 메타 테이블을 생성하고, 상기 라이트 도중 파워 오프가 발생되면, 상기 페이지 메타 테이블의 값에 따라 데이터를 복구하거나 에러 체크 및 보정을 재수행하도록 제어하는 제어부를 포함하여 구성함을 특징으로 한다.According to an aspect of the present invention, a mobile communication terminal capable of recovering at power off during a memory write may include a memory including a page meta table according to a plurality of pages, a page meta table upon memory write, When the power-off occurs during the write, it characterized in that it comprises a control unit for controlling to restore the data or re-perform error check and correction according to the value of the page meta table.

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

도 1은 본 발명의 실시예에 따른 이동 통신 단말기의 개략적인 구성도이다.1 is a schematic configuration diagram of a mobile communication terminal according to an embodiment of the present invention.

본 발명에 따른 이동 통신 단말기는 RF부(100), 데이터 처리부(200), 키입력부(300), 표시부(400), 메모리(500), 및 제어부(600)를 구비한다.The mobile communication terminal according to the present invention includes an RF unit 100, a data processing unit 200, a key input unit 300, a display unit 400, a memory 500, and a control unit 600.

RF부(100)는 안테나를 통해 신호를 수신하고 데이터처리부(200)로부터 인가 된 신호를 안테나로 송신한다.The RF unit 100 receives a signal through the antenna and transmits a signal applied from the data processing unit 200 to the antenna.

데이터 처리부(200)는 송신되는 신호를 부호화 및 변조하는 송신기(미도시) 및 수신신호를 복조 및 복호화하는 수신기(미도시)를 구비한다. 또한, 데이터처리부(200)는 모뎀(MODEM) 및 코덱(CODEC)으로 구성될 수 있으며, 코덱은 패킷데이터 등을 처리하는 데이터 코덱(미도시)과 음성 등의 오디오 신호를 처리하는 오디오코덱(미도시)을 구비한다.The data processor 200 includes a transmitter (not shown) for encoding and modulating a transmitted signal and a receiver (not shown) for demodulating and decoding a received signal. In addition, the data processing unit 200 may be composed of a modem (MODEM) and a codec (CODEC), the codec is a data codec (not shown) for processing packet data, and audio codecs for processing audio signals such as voice (not shown) C) is provided.

키입력부(300)는 전원의 온오프 및 통화 종료를 수행하는 전원키를 비롯한 각종 기능키, 숫자키, 특수키 등을 구비하며, 특히 문자 메시지, 멀티미디어 메시지, 및 이메일 등을 작성하기 위해 구비된다.The key input unit 300 includes various function keys, numeric keys, special keys, etc., including a power key for turning on and off power and terminating a call. The key input unit 300 is provided to create a text message, a multimedia message, an e-mail, and the like. .

표시부(400)는 LCD(Liquid Crystal Display) 등으로 이루어질 수 있으며, 이동 통신 단말기에서 발생하는 모든 데이터를 표시하고, 문자 메시지, 멀티미디어 메시지, 및 이메일 등의 내용을 사용자가 확인할 수 있도록 표시한다.The display unit 400 may be formed of a liquid crystal display (LCD) or the like. The display unit 400 displays all data generated from the mobile communication terminal and displays contents such as text messages, multimedia messages, and e-mails so that the user can check them.

메모리(500)는 각종 데이터와 단말기 구동을 위한 프로그램 데이터를 저장하고, 특히, 본 발명에서는 도 2와 같이, 로그영역, 페이지 테이블영역, 데이터 영역, 페이지 메타 테이블 영역, 및 부팅/어셈블 영역을 포함한다. 메모리의 구조는 추후 도 2를 참조하여 상세히 설명하기로 한다. The memory 500 stores various data and program data for driving a terminal. In particular, the memory 500 includes a log area, a page table area, a data area, a page meta table area, and a boot / assemble area as shown in FIG. do. The structure of the memory will be described in detail later with reference to FIG. 2.

제어부(600)는 본 발명의 실시 예에 따른 이동 통신 단말기의 전반적인 동작을 제어한다. 특히, 제어부(600)는 라이트 도중 갑작스런 파워 오프가 발생하는 경우, 메모리(500)의 페이지 메타 테이블영역(540)을 체크하여 데이터를 복구하거나 ECC(Error Correcting Code)를 재수행할 수 있도록 제어한다. 이를 위한 구체적인 방법은 추후 도 4 및 도 5를 참조하여 설명하기로 한다.The controller 600 controls the overall operation of the mobile communication terminal according to an embodiment of the present invention. In particular, when a sudden power off occurs during writing, the controller 600 checks the page meta table area 540 of the memory 500 so as to recover data or re-execute an error correcting code (ECC). A detailed method for this will be described later with reference to FIGS. 4 and 5.

한편, 도 2는 도 1의 이동 통신 단말기의 메모리(500)의 구조를 도시한다.2 illustrates a structure of the memory 500 of the mobile communication terminal of FIG. 1.

도 2에 의하면, 메모리(500)는 총 32MB의 낸드 플래쉬 메모리를 예로 들어, 로그영역(510), 페이지 테이블영역(520), 데이터 영역(530), 페이지 메타 테이블영역(540), 및 코드영역(550)을 포함한다. Referring to FIG. 2, the memory 500 uses a total of 32 MB of NAND flash memory, for example, a log area 510, a page table area 520, a data area 530, a page meta table area 540, and a code area. 550.

이때, 로그영역(510), 페이지 테이블영역(520), 데이터 영역(530)은 저장영역에 해당되고, 로그영역(510)은 8 블럭으로 구성되어 데이터 라이트 시간 및 크기 등의 정보를 저장하고, 페이지 테이블영역(520)은 29 블럭으로 구성되어 페이지별 데이터 저장크기 등의 정보를 저장하고 데이터 영역(530)은 731 블럭으로 구성되어 다운로드 받은 데이터를 저장한다.In this case, the log area 510, the page table area 520, and the data area 530 correspond to a storage area, and the log area 510 is composed of 8 blocks to store information such as data write time and size. The page table area 520 is composed of 29 blocks to store information such as data storage size of each page, and the data area 530 is composed of 731 blocks to store downloaded data.

또한, 코드영역(550)은 992블럭 즉 15.5MB로 구성되어 부트로더(boot loader) 및 메인코드(main code) 등의 정보를 포함한다.In addition, the code area 550 is composed of 992 blocks, that is, 15.5 MB, and includes information such as a boot loader and a main code.

한편, 페이지 메타 테이블영역(540)은 백업 페이지 영역(541)과 도 3과 같은 페이지 메타 테이블을 포함한다. 백업 페이지 영역(541)은 데이터를 라이트할 때 임시로 저장되는 영역이며, 추후 라이트 도중 파워 오프 시 백업 페이지 영역(541)의 데이터를 읽어와 저장영역에 저장시킬 수 있다.The page meta table area 540 includes a backup page area 541 and a page meta table as shown in FIG. 3. The backup page area 541 is an area temporarily stored when data is written, and the data of the backup page area 541 may be read and stored in the storage area when the power is turned off during the later write.

페이지 메타 테이블(542)은 도 3에 도시한 바와 같이, 페이지 데이터 라이트 체크비트, 페이지 ECC 라이트 체크비트, 파일 시작/종료 체크비트, 및 페이지 백업 라이트 체크비트를 포함한다. 이러한 페이지 메타 테이블영역(540)은 페이지의 수만큼의 페이지별 페이지 데이터 라이트 체크비트, 페이지 ECC 라이트 체크비트, 파 일 시작/종료 체크비트, 및 페이지 백업 라이트 체크비트를 포함한다.The page meta table 542 includes page data write check bits, page ECC write check bits, file start / end check bits, and page backup write check bits, as shown in FIG. The page meta table area 540 includes page data write check bits for each page, page ECC write check bits, file start / end check bits, and page backup write check bits.

이때, 상위 첫번째의 페이지 데이터 라이트 체크비트는 512바이트의 데이터 영역에 라이트하기 전에 "1"로 세팅되고 라이트가 완료되면 "0"으로 세팅된다. 상위 두번째 비트인 페이지 ECC 라이트 체크비트는 ECC 수행전에 "1"로 세팅되고 ECC 수행이 완료되면 "0"으로 세팅된다. 또한, 상위 세번째 비트인 파일 시작/종료 체크비트는 파일을 오픈해서 첫 페이지를 라이트할 때 "1"로 세팅되고 두번째, 세번째 등의 페이지를 라이트할때 계속 "0"으로 세팅되다가 마지막 페이지를 라이트할 때 다시 "1"로 세팅된다.At this time, the upper first page data write check bit is set to "1" before writing to the data area of 512 bytes and to "0" when writing is completed. The upper second bit, the page ECC write check bit, is set to "1" before ECC execution and to "0" when ECC execution is completed. Also, the upper third bit, the file start / end check bit, is set to "1" when opening a file and writing the first page, and continuously set to "0" when writing the second, third, etc. pages and writing the last page. Is set back to "1".

이하, 첨부된 도 4 및 도 5를 참조하여, 본 발명의 페이지 메타 테이블(542)을 생성하는 방법과 라이트 도중 파워 오프 시의 해결방법을 구체적으로 설명하기로 한다.Hereinafter, a method of generating the page meta table 542 of the present invention and a solution upon powering off during a write will be described in detail with reference to FIGS. 4 and 5.

먼저, 도 4는 도 1의 이동 통신 단말기의 라이트 시 페이지 메타 테이블(542)을 생성하는 방법을 나타내는 순서도이다.First, FIG. 4 is a flowchart illustrating a method of generating a write-time page meta table 542 of the mobile communication terminal of FIG. 1.

라이트 시에 페이지 메타 테이블(542)의 페이지 백업 라이트 체크비트를 "1"로 세팅하고(S101), 백업 페이지 영역(541)에 해당 데이터를 라이트 한다(S102). 이때, 해당 데이터는 저장영역의 데이터영역(530), 페이지 테이블영역(520), 및 로그영역(510)에 저장된다. 즉, 다운로드 받은 데이터의 내용은 데이터영역(530)에 저장되고 해당 데이터가 저장되는 페이지에 대한 정보는 페이지 테이블영역(520)에 저장되고 다운로드 시작 시간 및 종료 시간 등의 로그파일 정보는 로그영역(510)에 각각 저장된다.At the time of writing, the page backup write check bit of the page meta table 542 is set to "1" (S101), and the corresponding data is written to the backup page area 541 (S102). At this time, the data is stored in the data area 530, the page table area 520, and the log area 510 of the storage area. That is, the content of the downloaded data is stored in the data area 530, information about the page where the data is stored is stored in the page table area 520, and log file information such as download start time and end time is stored in the log area ( 510, respectively.

그 후, 백업 페이지 영역(541)에 해당 데이터의 라이트를 완료하면, 페이지 백업 라이트 체크비트를 "0"으로 세팅하고 페이지 데이터 라이트 체크비트를 "1"로 세팅한 후(S103), 저장영역에 데이터를 라이트 한다(S104).After writing the corresponding data in the backup page area 541, the page backup write check bit is set to "0" and the page data write check bit is set to "1" (S103). The data is written (S104).

그 후, 저장영역에의 데이터 라이트가 완료되면, 페이지 데이터 라이트 체크비트를 "0"으로 세팅하고, 에러 체크를 위해 페이지 ECC 라이트 체크비트를 "1"로 세팅한다(S105).Thereafter, when data writing to the storage area is completed, the page data write check bit is set to "0", and the page ECC write check bit is set to "1" for error checking (S105).

이어서, ECC를 수행하고(S106), ECC가 완료되면 페이지 ECC 라이트 체크비트를 "0"으로 세팅한다(S107).Subsequently, ECC is performed (S106), and when ECC is completed, the page ECC write check bit is set to "0" (S107).

본 발명은 상기와 같은 방법으로 라이트 시에 페이지 메타 테이블(542)을 생성하고 업데이트한다.The present invention creates and updates the page meta table 542 at write time as described above.

한편, 상기와 같이 라이트를 수행하는 도중에 갑작스런 파워 오프가 발생되면, 도 5 와 같이 해결한다.On the other hand, if a sudden power off occurs while performing the write as described above, it solves as shown in FIG.

즉, 라이트 도중 파워 오프가 발생되면(S201), 페이지 메타 테이블(542)의 상위 2 비트(페이지 데이터 라이트 체크비트와 페이지 ECC 라이트 체크비트)를 체크한다(S202).That is, if a power off occurs during writing (S201), the upper two bits (page data write check bit and page ECC write check bit) of the page meta table 542 are checked (S202).

상기 과정 S202의 체크결과, 페이지 데이터 라이트 체크비트가 "1"이면(S204), 백업 페이지 영역(541)의 데이터를 복구하여 저장영역에 저장한다(S204). 한편, 페이지 데이터 라이트 체크비트가 "0"이면 페이지 ECC 라이트 체크비트가 "1"인지를 체크하여(S205), 상기 페이지 ECC 라이트 체크비트가 "1"이면 ECC를 재수행하고(S206), 페이지 ECC 라이트 체크비트가 "0"이면 해당 페이지 메타 테이블 (542)을 검색하여 해당 페이지 메타 테이블에 저장되어 있는 복수개의 페이지에 대한 정보들 중 마지막번째의 정보였는지를 체크한다(S207).As a result of the check in step S202, if the page data write check bit is "1" (S204), the data of the backup page area 541 is recovered and stored in the storage area (S204). On the other hand, if the page data write check bit is "0", it is checked whether the page ECC write check bit is "1" (S205). If the page ECC write check bit is "1", ECC is performed again (S206) and the page ECC is checked. If the write check bit is "0", the corresponding page meta table 542 is searched to check whether the information is the last information among the plurality of pages stored in the corresponding page meta table (S207).

즉, 페이지 메타 테이블에 저장되어 있는 복수개의 페이지에 대한 정보들 중 몇번째 페이지에 대한 정보인지를 판단하고 복구한 데이터가 마지막번째 페이지의 데이터인 경우에는 종료하고 마지막이 아닌 경우 상기 과정 S202~S207을 반복수행한다.That is, it is determined whether the information is about which page among a plurality of pages of information stored in the page meta table. If the recovered data is the data of the last page, the process is terminated. Repeat

예를 들면, 하나의 파일을 다운로드 받는 경우, 해당 파일이 3개의 페이지(512*3=1536Kbyte)에 저장된 경우 첫번째 페이지에 대하여 상기 과정 S202~S206을 수행하여 해당 데이터를 복구하고, 두번째 페이지에 대하여 상기 과정 S202~S206을 수행하여 해당 데이터를 복구하고 세번째(마지막)페이지에 대하여 상기 과정 S202~S206을 수행하여 해당 데이터를 복구하는 과정을 반복함으로써 3개의 페이지에 대한 복구가 모두 이루어지게 된다.For example, if one file is downloaded, if the file is stored in three pages (512 * 3 = 1536 Kbytes), perform the steps S202 to S206 for the first page to recover the corresponding data, and for the second page. By performing the steps S202 to S206 to restore the corresponding data and performing the steps S202 to S206 on the third (last) page to restore the corresponding data, all three pages are restored.

이와같이, 본 발명은 각각의 낸드 플래쉬 메모리의 물리적인 페이지에 대칭하는 페이지 메타 테이블(542)을 생성하고, 페이지에 라이트 할 때마다 페이지의 상태를 페이지 메타 테이블(542)에 기재하여, 파워 오프가 발생되면 문제의 페이지만을 복구시키도록 한다.As described above, the present invention generates a page meta table 542 that is symmetrical to the physical page of each NAND flash memory, and writes the state of the page to the page meta table 542 every time a page is written, so that power off is achieved. If so, restore only the page in question.

따라서, 라이트 도중 파워 오프 발생 시 해당 라이트 동작과 관련한 메모리 영역이 배드블럭으로 처리되지 않도록 한다.Therefore, when a power-off occurs during a write, the memory area related to the write operation is not treated as a bad block.

이상에서 살펴본 바와 같이, 본 발명은 페이지 메타 테이블을 생성하여 라이 트 도중 파워 오프 시 해당 데이터를 용이하게 복구할 수 있도록 하여, 해당 라이트 동작과 관련한 메모리 영역이 배드블럭으로 처리되지 않도록 함으로써, 메모리 효율을 증대시키는 효과가 있다.As described above, the present invention generates a page meta table so that the data can be easily recovered when the power is turned off during writing so that the memory area related to the write operation is not processed as a bad block, thereby providing memory efficiency. There is an effect to increase.

아울러 본 발명의 바람직한 실시예는 예시의 목적을 위한 것으로, 당업자라면 첨부된 특허 청구범위의 기술적 사상과 범위를 통해 다양한 수정, 변경, 대체 및 부가가 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구범위에 속하는 것으로 보아야 할 것이다.In addition, a preferred embodiment of the present invention is for the purpose of illustration, those skilled in the art will be able to various modifications, changes, replacements and additions through the spirit and scope of the appended claims, such modifications and changes are the following claims It should be seen as belonging to a range.

Claims (7)

복수개의 페이지수에 따른 페이지 메타 테이블을 포함하는 메모리; 및A memory including a page meta table according to a plurality of pages; And 상기 메모리 라이트 시에 상기 페이지 메타 테이블을 생성하고, 상기 라이트 도중 파워 오프가 발생되면, 상기 페이지 메타 테이블의 값에 따라 데이터를 복구하거나 에러 체크 및 보정을 재수행하도록 제어하는 제어부를 포함하여 구성함을 특징으로 하는 이동 통신 단말기.And a controller configured to generate the page meta table when the memory is written, and to control data recovery or error checking and correction according to a value of the page meta table when a power off occurs during the writing. Mobile communication terminal, characterized in that. 제 1항에 있어서, 상기 메모리는,The method of claim 1, wherein the memory, 로그정보를 포함하는 로그영역, 복수개의 페이지 정보를 포함하는 페이지 테이블영역, 데이터가 라이트 되는 데이터 영역, 상기 페이지 메타 테이블 영역, 및 부팅 정보를 포함하는 부팅/어셈블영역을 포함하는 것을 특징으로 하는 이동 통신 단말기.A log area including log information, a page table area including a plurality of page information, a data area to which data is written, the page meta table area, and a boot / assembly area including boot information Communication terminal. 제 2항에 있어서, 상기 페이지 메타 테이블 영역은,The method of claim 2, wherein the page meta table area, 상기 페이지 메타 테이블과 데이터를 라이트 할 때 임시로 저장되는 백업 페이지 영역을 포함하는 것을 특징으로 하는 이동통신 단말기.And a backup page area temporarily stored when writing the page meta table and data. 제 1항에 있어서, 상기 페이지 메타 테이블은,The method of claim 1, wherein the page meta table, 데이터 영역에 라이트 중인지 여부를 나타내는 페이지 데이터 라이트 체크비 트, ECC 수행 중인지 여부를 나타내는 페이지 ECC(Error Correcting Code) 라이트 체크비트, 파일 시작 및 종료 체크비트, 및 페이지 백업 라이트 체크비트를 포함하는 것을 특징으로 하는 이동 통신 단말기.A page data write check bit indicating whether data is being written to the data area, a page error correcting code (ECC) write check bit indicating whether ECC is being performed, a file start and end check bit, and a page backup write check bit. Mobile communication terminal. 제 4항에 있어서, 상기 제어부는,The method of claim 4, wherein the control unit, 상기 메모리 라이트 도중 파워 오프가 발생되면, 상기 페이지 데이터 라이트 체크비트의 값을 체크하고, 그 결과에 따라 페이지 영역에 데이터를 라이트 하는 중에 상기 파워 오프가 발생했는지를 판단하는 것을 특징으로 하는 이동 통신 단말기.When a power off occurs during the memory write, the value of the page data write check bit is checked, and according to the result, it is determined whether the power off occurs while writing data to a page area. . 제 5항에 있어서, 상기 제어부는,The method of claim 5, wherein the control unit, 상기 페이지 데이터 라이트 체크비트가 "1" 이면 데이터를 라이트 하는 중에 상기 파워 오프가 발생한 것으로 판단하여 상기 백업 페이지 영역의 데이터를 복구하여 상기 데이터 영역에 저장하고, 상기 페이지 데이터 라이트 체크비트가 "0"이면 상기 페이지 ECC 라이트 체크비트를 체크하여 상기 ECC를 재 수행하도록 제어하는 것을 특징으로 하는 이동 통신 단말기.If the page data write check bit is "1", it is determined that the power-off has occurred while writing data, and the data of the backup page area is recovered and stored in the data area, and the page data write check bit is "0". And checks the page ECC write check bit to perform the ECC again. 제 6항에 있어서, 상기 제어부는,The method of claim 6, wherein the control unit, 상기 페이지 ECC 라이트 체크비트가 "1"이면 상기 ECC를 재수행하고, 상기 페이지 ECC 라이트 체크비트가 "0"이면 상기 페이지가 마지막 페이지인지를 판단하 는 것을 특징으로 하는 이동 통신 단말기.And if the page ECC write check bit is "1", re-execute the ECC, and if the page ECC write check bit is "0", determine whether the page is the last page.
KR1020060020967A 2006-03-06 2006-03-06 Mobile communication terminal for recovering data in power-off during write operation thereof KR20070091452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060020967A KR20070091452A (en) 2006-03-06 2006-03-06 Mobile communication terminal for recovering data in power-off during write operation thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060020967A KR20070091452A (en) 2006-03-06 2006-03-06 Mobile communication terminal for recovering data in power-off during write operation thereof

Publications (1)

Publication Number Publication Date
KR20070091452A true KR20070091452A (en) 2007-09-11

Family

ID=38689243

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060020967A KR20070091452A (en) 2006-03-06 2006-03-06 Mobile communication terminal for recovering data in power-off during write operation thereof

Country Status (1)

Country Link
KR (1) KR20070091452A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8310869B2 (en) 2009-03-02 2012-11-13 Samsung Electronics Co., Ltd. Nonvolatile memory device, system, and programming method
US9946644B2 (en) 2015-03-25 2018-04-17 SK Hynix Inc. Memory system and operating method thereof
CN117112290A (en) * 2023-10-20 2023-11-24 广州翼辉信息技术有限公司 Power-down messy code protection method for yaffs file system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8310869B2 (en) 2009-03-02 2012-11-13 Samsung Electronics Co., Ltd. Nonvolatile memory device, system, and programming method
US9946644B2 (en) 2015-03-25 2018-04-17 SK Hynix Inc. Memory system and operating method thereof
CN117112290A (en) * 2023-10-20 2023-11-24 广州翼辉信息技术有限公司 Power-down messy code protection method for yaffs file system

Similar Documents

Publication Publication Date Title
US7502813B2 (en) Software update process using an extra memory block
US7941403B2 (en) Embedded file system recovery techniques
CN101719959B (en) Method and device for automatically backing up and recovering key files of mobile terminal
JP2007219883A (en) Mobile terminal device and software update method
CN101420431A (en) FOTA server, terminal and software version processing method and system therefor
MX2007006033A (en) Robust and high-speed memory access with adaptive interface timing.
WO2010052647A1 (en) Method and apparatus for updating firmware
US20110145472A1 (en) Method for address space layout randomization in execute-in-place code
KR100678047B1 (en) Mobile communication terminal having nand flash memory and booting method thereof
JP4859465B2 (en) Software updating method and mobile terminal device
KR20070091452A (en) Mobile communication terminal for recovering data in power-off during write operation thereof
CN104572187A (en) Terminal
US8032163B2 (en) System and method for performing quick short message functions for a mobile phone
KR100606052B1 (en) System and method for recovering data error of mobile terminal
JP2007312115A (en) Mobile communication terminal device
KR101085681B1 (en) System and method for recovering data in mobile terminal
US20040133838A1 (en) Method for recovering data in portable information device, portable information device, and computer product
JP2011154548A (en) Storage device
EP2566259B1 (en) Method and apparatus for configuring ping interval in a portable terminal
KR100575657B1 (en) Method for reading nand flash
JP4830834B2 (en) Portable mobile communication terminal device and character data creation program
JP2010231699A (en) Data processing device, data processing method and data processing program
JP2001154926A (en) Storage method using flash memory and recording medium recording storage control program
JP5474588B2 (en) Electronics
CN103677938A (en) Emergent downloading method and device

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination