KR100654611B1 - Method for storing and reading data in mobile phone - Google Patents

Method for storing and reading data in mobile phone Download PDF

Info

Publication number
KR100654611B1
KR100654611B1 KR1020040077696A KR20040077696A KR100654611B1 KR 100654611 B1 KR100654611 B1 KR 100654611B1 KR 1020040077696 A KR1020040077696 A KR 1020040077696A KR 20040077696 A KR20040077696 A KR 20040077696A KR 100654611 B1 KR100654611 B1 KR 100654611B1
Authority
KR
South Korea
Prior art keywords
block
data
communication terminal
mobile communication
area
Prior art date
Application number
KR1020040077696A
Other languages
Korean (ko)
Other versions
KR20060028831A (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 KR1020040077696A priority Critical patent/KR100654611B1/en
Publication of KR20060028831A publication Critical patent/KR20060028831A/en
Application granted granted Critical
Publication of KR100654611B1 publication Critical patent/KR100654611B1/en

Links

Images

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/0629Configuration or reconfiguration of storage systems
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

본 발명은 이동통신 단말기 내에 구비되는 리소스와 실행코드를 분리시켜 낸드 메모리의 동일 영역에 저장함으로써, 실행코드 부팅시 실행코드만을 에스디램에 복사하고 리소스가 에스디램에 복사되는 것을 방지할 수 있는 데이터 저장 및 리딩 방법을 제공하는 것으로, 이동통신 단말기의 실행프로그램과 리소스를 모두 실행코드영역에 저장하되, 실행코드영역을 제 1 및 제 2 영역으로 나누어 구축하고, 실행프로그램과 리소스를 각각 제 1 및 제 2 영역에 분리시켜 저장하는 것을 특징으로 한다.The present invention separates the resources and executable code provided in the mobile communication terminal and stores them in the same area of the NAND memory, thereby copying only the executable code to the SDRAM when booting the executable code and preventing data from being copied to the SDRAM. A storage and reading method is provided, wherein all execution programs and resources of a mobile communication terminal are stored in an execution code area, and the execution code area is divided into first and second areas, and the execution program and resources are respectively constructed in the first and second operations. It is characterized in that separated in the second area and stored.

이동통신, 단말기, 데이터, 저장, 리딩Mobile communication, terminal, data, storage, reading

Description

이동통신 단말기에서의 데이터 저장 및 리딩 방법{Method for storing and reading data in mobile phone} Method for storing and reading data in mobile phone}             

도 1은 종래의 이동통신 단말기의 데이터 저장 방식에 대한 설명 예시도.1 is an exemplary view illustrating a data storage method of a conventional mobile communication terminal.

도 2는 본 발명이 적용되는 이동통신 단말기의 구성도.2 is a block diagram of a mobile communication terminal to which the present invention is applied.

도 3a 및 도 3b는 본 발명에 따른 이동통신 단말기의 데이터 저장 방식에 대한 설명 예시도.3A and 3B are exemplary views illustrating a data storage method of a mobile communication terminal according to the present invention.

도 4는 본 발명의 일실시예에 따른 이동통신 단말기에서의 데이터 저장 및 리딩 방법에 대한 흐름도.4 is a flowchart illustrating a data storage and reading method in a mobile communication terminal according to an embodiment of the present invention.

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

20: 키패드 30: NAND 메모리20: keypad 30: NAND memory

40: 제어부 50: SDRAM40: control unit 50: SDRAM

60: 액정화면 70: 무선주파수 처리부60: LCD screen 70: radio frequency processing unit

80: 스피커80: speaker

본 발명은 이동통신 단말기에서의 데이터 저장 및 리딩 방법에 관한 것으로서, 특히 리소스와 실행코드를 분리시켜 낸드(NAND) 메모리의 동일 영역에 저장하고 소정의 참조 테이블을 통해 리소스의 저장 위치를 검색하여 읽어올 수 있는 데이터 저장 및 리딩 방법에 관한 것이다.The present invention relates to a method for storing and reading data in a mobile communication terminal, and in particular, separates a resource from an execution code, stores the same in a NAND memory, and searches for and reads a storage location of a resource through a predetermined reference table. A method of storing and reading data that may come.

최근에, 무선통신 기술이 고도로 발달됨에 따라 이동통신 단말기를 통해 다양한 서비스들이 제공되는데, 일예로 이동통신 단말기는 무선통신 기본 서비스인 음성통화, 문자 및 음성 메시지 전송, 그리고 무선인터넷 등의 서비스를 제공한다. 이외에도, 이동통신 단말기는 다양한 정보, 예를 들면 게임, 벨소리, 음악 및 전화번호 등을 저장하고 있으며, 이 정보들을 사용자에게 제공한다. 이러한 정보들을 저장하기 위해, 이동통신 단말기는 내부에 낸드(NAND) 메모리와 에스디램(SDRAM)을 구비하고 있다.Recently, as the wireless communication technology is highly developed, various services are provided through a mobile communication terminal. For example, the mobile communication terminal provides services such as voice call, text and voice message transmission, and wireless internet, which are basic wireless communication services. do. In addition, the mobile communication terminal stores various information, for example, a game, a ringtone, music, and a telephone number, and provides the information to the user. In order to store such information, the mobile communication terminal has a NAND memory and an SDRAM therein.

이와 같은 기능을 갖는 종래의 이동통신 단말기가 각종 정보를 낸드 메모리에 저장하는 방식을 도 1을 참조하여 설명하면 다음과 같다.A method of storing a variety of information in a NAND memory by a conventional mobile communication terminal having such a function will be described with reference to FIG. 1 as follows.

도 1에 도시된 바와 같이, 종래의 이동통신 단말기는 내부에 구비된 낸드 메모리(10)를 두 개의 영역, 즉 실행코드영역(11)과 파일영역(12)으로 구분하여 실행프로그램 및 데이터를 저장한다.As shown in FIG. 1, the conventional mobile communication terminal stores an executable program and data by dividing the NAND memory 10 provided therein into two regions, namely, an execution code region 11 and a file region 12. do.

실행코드영역(11)에는 이동통신 단말기의 모든 기능을 제어하는 실행프로그램이 저장되고, 파일영역(12)에는 리소스(Resource) 및 각종 데이터가 저장된다. 여기서, 리소스는 제품 제조시 설정되는 데이터들로서 그림, 멜로디, 벨소리 등을 지원한다.The execution code area 11 stores an execution program for controlling all functions of the mobile communication terminal, and the file area 12 stores resources and various data. Here, resources are data that is set when manufacturing a product, and support pictures, melodies, and ringtones.

이렇게 저장된 데이터를 사용자에게 제공하고자 하는 경우, 우선적으로 종래의 이동통신 단말기는 실행코드영역(11)에 저장된 실행프로그램을 실행시키게 된다. 이때, 종래의 이동통신 단말기가 실행코드영역(11)의 실행프로그램을 부팅하면, 실행프로그램이 상기 에스디램에 복사되고 이와 동시에 파일영역(12)의 리소스 및 각종 데이터도 상기 에스디램에 복사(Copy)된다.In order to provide the stored data to the user, the conventional mobile communication terminal first executes the execution program stored in the execution code area 11. At this time, when the conventional mobile communication terminal boots the execution program of the execution code region 11, the execution program is copied to the SDRAM, and at the same time, the resources and various data of the file region 12 are also copied to the SDRAM. )do.

그러나, 이와 같은 경우 실행프로그램만 복사되어야 함에도 불구하고 파일영역(12)의 리소스 등이 상기 에스디램에 불필요하게 복사됨으로써, 상기 에스디램의 저장영역이 감소되는 문제점이 있었다.However, in this case, although only the execution program is to be copied, the resources of the file area 12 are unnecessarily copied to the SDRAM, thereby reducing the storage area of the SDRAM.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로서, 이동통신 단말기 내에 구비되는 리소스와 실행코드를 분리시켜 낸드 메모리의 동일 영역에 저장할 수 있는 데이터 저장 방법을 제공한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides a data storage method capable of separating resources and executable codes provided in a mobile communication terminal and storing them in the same area of the NAND memory.

본 발명은 이동통신 단말기의 낸드 메모리의 동일영역에 리소스와 실행코드를 분리시켜 저장함으로써, 실행코드 부팅시 실행코드만을 에스디램에 복사하고 리소스가 에스디램에 복사되는 것을 방지할 수 있는 데이터 저장 방법을 제공한다. According to the present invention, a resource and execution code are separated and stored in the same area of a NAND memory of a mobile communication terminal, thereby copying only the execution code to the SDRAM when booting the execution code and preventing data from being copied to the SDRAM. To provide.                         

본 발명은 이동통신 단말기가 실행코드를 부팅하는 경우 실행코드만을 에스디램에 복사함으로써, 메모리 영역이 불필요하게 사용되는 것을 방지할 수 있는 데이터 저장 방법을 제공한다.The present invention provides a data storage method capable of preventing the memory area from being used unnecessarily by copying only the execution code to the SDRAM when the mobile communication terminal boots the execution code.

본 발명은 이동통신 단말기의 낸드 메모리에 실행코드와 분리되어 저장된 리소스의 위치를 소정의 참조 테이블을 참조하여 손쉽게 검색할 수 있는 데이터 리딩 방법을 제공한다.
The present invention provides a data reading method in which a location of a resource stored separately from an execution code in a NAND memory of a mobile communication terminal can be easily searched with reference to a predetermined reference table.

이와 같은 목적을 달성하기 위한 본 발명은, 실행코드영역과 파일영역으로 이루어진 낸드 메모리를 구비하는 이동통신 단말기에 있어서, 상기 이동통신 단말기의 실행프로그램과 리소스를 모두 실행코드영역에 저장하되, 상기 실행코드영역을 제 1 및 제 2 영역으로 나누어 구축하고, 실행프로그램과 리소스를 각각 상기 제 1 및 제 2 영역에 분리시켜 저장하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a mobile communication terminal having a NAND memory including an execution code region and a file region, wherein both the execution program and the resources of the mobile communication terminal are stored in the execution code region. The code area is divided into a first area and a second area, and the execution program and the resources are separately stored in the first and second areas.

본 발명은, 이동통신 단말기 내에 구비된 낸드 메모리의 실행코드영역을 나눈 제 1 및 제 2 영역에 분리되어 저장된 실행프로그램과 리소스를 읽어오는 방법에 있어서, 사용자가 지시한 리소스의 특정 데이터를 읽어오기 위해, 상기 제 2 영역에 저장된 참조 테이블을 참조하여 특정 데이터의 저장 위치를 계산하는 제 1 단계; 상기 계산한 저장 위치가 속한 블록의 이전 블럭들 중에 배드 블럭이 있는지 여부와 있으면 배드 블럭이 몇 개나 있는지를 확인하는 제 2 단계; 상기 확인 결과 배드 블럭이 없으면, 상기 계산한 위치에서 리소스의 특정 데이터를 읽어오는 제 3 단계; 및 상기 확인 결과 배드 블럭이 적어도 하나 이상 있으면, 배드 블럭이 갖는 페이지 수를 계산한 후, 이 배드 블럭의 페이지 수와 상기 계산한 특정 데이터의 위치를 더하여 특정 데이터의 저장 위치를 계산하고 계산한 위치에서 특정 데이터를 읽어오는 제 4 단계를 포함한다.The present invention relates to a method for reading an execution program and a resource stored separately in a first area and a second area divided by an execution code area of a NAND memory provided in a mobile communication terminal. A first step of calculating a storage location of specific data with reference to a reference table stored in the second area; A second step of checking whether there is a bad block among the previous blocks of the block to which the calculated storage location belongs, and how many bad blocks there are; A third step of reading specific data of a resource from the calculated position if there is no bad block as a result of the checking; And if there is at least one bad block, after calculating the number of pages of the bad block, adding the number of pages of the bad block and the position of the calculated specific data to calculate and calculate a storage position of the specific data. The fourth step of reading a specific data in the.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 2는 본 발명이 적용되는 이동통신 단말기의 구성도이다.2 is a block diagram of a mobile communication terminal to which the present invention is applied.

도 2를 참조하면, 이동통신 단말기는, 데이터 저장 및 리딩(Reading) 명령과 각종 사용자 명령을 입력하기 위한 키패드(20)와, 실행프로그램과 리소스 등을 저장하기 위한 낸드(NANND) 메모리(30)와, 키패드(20)를 통해 입력되는 사용자의 지시에 따라 낸드 메모리(30)의 데이터 저장 및 리딩을 제어하고 통화 및 각종 정보의 전송 등을 제어하기 위한 제어부(40)와, 제어부(40)가 낸드 메모리(30)에 부팅시 낸드 메모리(30)에 저장된 데이터가 복사되는 에스디램(SDRAM)(50)과, 제어부(40)에 의해 전달되는 문자 및 영상 정보를 디스플레이하는 액정화면(LCD)(60)과, 제어부(40)에 의해 전달되는 기저대역신호를 고주파신호로 변환시켜 외부로 전송하고 기지국 등을 통해 수신되는 고주파신호를 기저대역신호로 변환시켜 제어부(40)에 접속시키는 무선주파수 처리부(70)와, 제어부(40)에 의해 전달되는 음성신호를 외부로 출력하기 위한 스피커(80)를 구비한다.Referring to FIG. 2, the mobile communication terminal includes a keypad 20 for inputting a data storage and reading command and various user commands, and a NNND memory 30 for storing execution programs and resources. And a controller 40 for controlling data storage and reading of the NAND memory 30 according to a user's instruction input through the keypad 20, and controlling a call and transmission of various information, and the controller 40. An SDRAM 50 to which data stored in the NAND memory 30 is copied to the NAND memory 30 upon booting up, and a liquid crystal display (LCD) for displaying text and image information transmitted by the control unit 40 ( 60) and a radio frequency processing unit converting the baseband signal transmitted by the control unit 40 into a high frequency signal and transmitting it to the outside, and converting the high frequency signal received through a base station or the like into a baseband signal and connecting it to the control unit 40. 70, with control And a speaker 80 for outputting sound signals to an external delivered by 40. The

이러한 구성을 갖는 이동통신 단말기에서, 본 발명은 낸드 메모리(30)에 데이터를 저장하고 이를 리딩하는 방식을 제안하는 것으로, 이에 대해 보다 상세히 살펴본다.In the mobile communication terminal having such a configuration, the present invention proposes a method of storing data in the NAND memory 30 and reading the same, which will be described in more detail.

일반적으로, 낸드 메모리(30)는 도 1을 참조하여 설명한 바와 같이 실행코드영역(11)과 파일영역으로 구분되어 리소스 등의 데이터를 저장하지만, 이렇게 데이터를 저장할 경우 제어부(11)가 실행프로그램을 리딩하기 위해 실행코드영역(11)에 부팅시 실행프로그램과 함께 파일영역(12)의 리소스 등도 에스디램(50)에 복사되는 단점이 있었기 때문에, 본 발명에서는 실행코드와 리소스를 동일영역에 저장하되 분리시켜 저장함으로써, 실행프로그램의 부팅시 리소스 등이 에스디램(50)에 복사되는 것을 방지하고자 하는 것이다. 여기서, 상술한 바와 같이, 리소스는 제품 제조 시 미리 설정되는 데이터들로서, 이동 통신 단말기가 실행프로그램에 의하여 부팅된 후, 그림, 멜로디, 벨소리 등 미리 설정된 기능을 지원하기 위한 데이터이다.In general, the NAND memory 30 is divided into the execution code area 11 and the file area as described with reference to FIG. 1 to store data such as resources. However, when the data is stored in this way, the control unit 11 executes the execution program. Since the resources of the file area 12 along with the executable program are also copied to the SDRAM 50 at the time of booting into the execution code area 11 for reading, in the present invention, the execution code and resources are stored in the same area. By separating and storing, it is intended to prevent a resource or the like from being copied to the SDRAM 50 at boot time of the execution program. Here, as described above, resources are data that are set in advance when the product is manufactured, and are data for supporting preset functions such as pictures, melodies, and ringtones after the mobile communication terminal is booted by the execution program.

이를 위해, 본 발명에 따른 이동통신 단말기의 낸드 메모리(30)는 도 3a에서 처럼 크게 실행코드영역(31)과 파일영역(32)으로 나뉘어지되, 다시 실행코드영역(31)은 두 개의 영역, 즉 실행프로그램을 저장하는 제 1 영역(31-1)과 리소스를 저장하기 위한 제 2 영역(31-2)으로 분리된다.To this end, the NAND memory 30 of the mobile communication terminal according to the present invention is largely divided into an execution code region 31 and a file region 32 as shown in FIG. 3A, but again, the execution code region 31 includes two regions; That is, the first region 31-1 storing the execution program and the second region 31-2 storing the resources are separated.

이러한 낸드 메모리(30)의 저장 영역은 다시 블럭(Block) 단위로 구분되고 각 블럭은 32 개의 페이지(Page)로 이루어진다.The storage area of the NAND memory 30 is again divided into blocks, and each block includes 32 pages.

일예로, 도 3b에 도시된 바와 같이, 실행코드영역(31)의 제 2 영역(31-2)은 n개의 블록으로 나뉘어지고 이 블록들은 각각 32 개의 페이지로 이루어진다.For example, as shown in FIG. 3B, the second area 31-2 of the execution code area 31 is divided into n blocks, and each of these blocks is composed of 32 pages.

이와 같은 구조를 갖는 낸드 메모리(30)의 제 2 영역(31-2)에는 리소스가 저장되되, 데이터의 크기에 따라 리소스는 제 2 영역(31-2)에서 어느 한 블럭의 특정 페이지의 일정 위치에 있는 바이트(byte)로부터 상기 블록과 동일 블록이나 다음에 위치하는 블록의 특정 페이지의 특정 바이트까지 저장된다. 예를 들면, 리소스 중에 어느 한 데이터는 1블럭의 2페이지의 4바이트로부터 2블럭의 5페이지의 5바이트까지 저장된다.The resource is stored in the second area 31-2 of the NAND memory 30 having the above structure, and the resource is located at a predetermined position of a specific page of any block in the second area 31-2 according to the size of the data. It is stored from a byte in a specific byte of a specific page of the same block as the block or the next block. For example, either data in a resource is stored from 4 bytes of 2 pages of 1 block to 5 bytes of 5 pages of 2 blocks.

이렇게 리소스가 실행프로그램과 분리되어 실행코드영역(31)의 제 2 영역(31-2)에 저장되기 때문에, 본 발명에서는 제어부(40)가 리소스를 리딩하고자 할 때 보다 정확하고 신속하게 해당 데이터의 저장 위치를 검색할 수 있도록 다음 [표 1]과 같은 참조 테이블을 낸드 메모리(30)의 제 2 영역(31-2)에 저장한다.Thus, since the resource is separated from the execution program and stored in the second area 31-2 of the execution code area 31, according to the present invention, when the control unit 40 tries to read the resource, the data is more accurately and quickly. The reference table as shown in Table 1 is stored in the second area 31-2 of the NAND memory 30 so that the storage location can be retrieved.

음 악     music 배경화면    Wallpapers . . .     . . . 벨소리     Ringtone 1       One 뱃노래    shanty 여름풍경    Summer landscape . . .     . . . 멜로디    melody 2       2 창부타령    Changbu Tayeong 가을풍경    Autumn landscape . . .     . . . 경적음    Horn . . .       . . . . . .       . . . . . .       . . . . . .       . . . . . .       . . . n       n 찔레꽃    Brier 눈사람    snow man . . .     . . . 행진곡     March

상기 [표 1]은 낸드 메모리(30)의 제 2 영역(31-2)에 저장되는 리소스의 데이터들의 위치를 신속하고 정확하게 검색할 수 있도록 하기 위한 참조 테이블로서, 예를 들면 제어부(40)가 리소스 "여름풍경"을 리딩하고자 할 때, "여름풍경" 이전 위치에 저장된 "뱃노래 및 찔레꽃"의 위치를 알면, 바로 다음 위치에 저장된 "여름풍경"이 저장된 위치는 신속하고 정확하게 계산할 수 있을 것이다. 즉, 제어부(40)는 상기 참조 테이블을 참조하여 "여름풍경"이 저장된 위치를 계산한 후 계산된 위 치에서 "여름풍경"을 읽어와 액정화면(60)에 디스플레이시킨다.[Table 1] is a reference table for quickly and accurately searching the location of data of resources stored in the second area 31-2 of the NAND memory 30. For example, the controller 40 If you want to read the resource "Summer Scenery", knowing the location of "Singing Song and Brier" stored in the location before "Summer Scenery", you can calculate the location where the "Summer Scenery" stored in the next location is stored quickly and accurately. That is, the controller 40 refers to the reference table, calculates the location where the "summer landscape" is stored, reads the "summer landscape" from the calculated position and displays it on the LCD screen 60.

여기서, 제 2 영역(31-2)의 블럭들 중에 배드 블럭(Bad Block)이 발생하면, 배드 블럭에는 데이터가 저장되지 않기 때문에, 만일 제어부(40)가 계산한 "여름풍경"의 저장 위치 이전에 배드 블럭이 있었다면, 배드 블럭의 수에 32(하나의 블럭 내의 페이지 수)를 곱하여 계산한 위치에 "여름풍경"이 저장된 것으로 본다. 이는 배드 블럭이 위치한 블럭에 저장되어야 할 데이터가 그 배드 블럭에 저장되지 못하고 배드 블럭을 이루는 32개의 페이지만큼 저장 위치가 뒤로 밀리어 저장되기 때문이다.Here, if a bad block occurs among the blocks of the second area 31-2, since the data is not stored in the bad block, the storage position of the "summer landscape" calculated by the controller 40 is transferred. If there is a bad block, the "summer landscape" is stored at the position calculated by multiplying the number of bad blocks by 32 (the number of pages in one block). This is because data to be stored in the block in which the bad block is located is not stored in the bad block, and the storage location is pushed back by 32 pages constituting the bad block.

이와 같이 리소스의 위치를 계산하는 프로그램이 이동통신 단말기 내에 내장되며, 제어부(40)는 이 프로그램에 따라 도 4에 도시된 바와 같은 과정을 통해 리소스를 리딩하여 사용자에게 제공한다.In this way, a program for calculating the location of the resource is embedded in the mobile communication terminal, and the controller 40 reads the resource and provides it to the user through the process shown in FIG. 4 according to the program.

도 4는 본 발명의 일실시예에 따른 이동통신 단말기에서의 데이터 저장 및 리딩 방법에 대한 흐름도이다.4 is a flowchart illustrating a data storage and reading method in a mobile communication terminal according to an embodiment of the present invention.

도 4를 참조하면, 우선 이동통신 단말기의 제조시 도 3a에서와 같이 실행프로그램과 리소스를 실행코드영역에 분리시켜 저장하고, 이렇게 저장한 리소스의 특정 데이터를 리딩할 때 데이터의 저장 위치를 계산하는데 이용하기 위한 "참조 테이블"을 상기 [표 1]과 같은 형태로 작성하여 리소스의 저장영역과 동일 영역에 저장한다(S401).Referring to FIG. 4, first, when the mobile terminal is manufactured, as shown in FIG. 3A, the execution program and the resource are separated and stored in the execution code area, and when the specific data of the stored resource is read, the storage position of the data is calculated. A " reference table " for use is created in the form as shown in [Table 1] and stored in the same area as the storage area of the resource (S401).

이와 같이 리소스가 이동통신 단말기 내에 저장된 상태에서, 사용자가 키패 드(20)의 키를 눌러 리소스의 특정 데이터를 액정화면(60) 상에 출력시킬 것을 지시하면(S402), 이동통신 단말기는 소정의 참조 테이블을 참조하여 사용자가 지시한 데이터의 저장 위치를 계산한다(S403). 이때, 이동통신 단말기는 특정 데이터가 낸드 메모리(30)의 제 2 영역(31-2)의 어느 한 블럭의 특정 페이지의 일정 위치에 있는 바이트로부터 상기 블록과 동일 블록이나 다음에 위치하는 블록의 특정 페이지의 특정 바이트까지 저장되었는지를 확인한다.As described above, when a user instructs a user to press a key of the keypad 20 to output specific data of the resource on the liquid crystal display 60 in the state where the resource is stored in the mobile communication terminal (S402), the mobile communication terminal may have a predetermined value. The storage location of the data indicated by the user is calculated with reference to the reference table (S403). At this time, the mobile communication terminal specifies the block of the same block or the next block from the byte at a certain position of a specific page of any block of the second area 31-2 of the NAND memory 30. Make sure that up to a certain byte of the page is stored.

이렇게 리소스의 특정 데이터의 저장 위치가 계산되면, 이동통신 단말기는 계산된 페이지가 속한 블록의 이전 블럭들 중에 배드 블럭이 있는지 여부와 있으면 배드 블럭이 몇 개나 있는지를 확인한다(S404).When the storage location of the specific data of the resource is calculated in this way, the mobile communication terminal checks whether there are bad blocks among the previous blocks of the block to which the calculated page belongs and if there are how many bad blocks (S404).

확인 결과 배드 블럭이 없으면, 이동통신 단말기는 계산 과정(S403)에서 계산한 저장 위치에서 리소스의 특정 데이터를 읽어온다(S405). 여기서, 이동통신 단말기는 사용자의 지시에 따라 읽어온 데이터를 액정화면(60)에 디스플레이시키거나 스피커(80)를 통해 출력시키며, 또는 무선주파수 처리부(70)를 통해 외부로 전송한다.If there is no bad block as a result of the check, the mobile communication terminal reads the specific data of the resource from the storage location calculated in the calculation process (S403) (S405). Here, the mobile communication terminal displays the read data according to the user's instructions on the LCD screen 60 or outputs through the speaker 80, or transmits the data to the outside through the radio frequency processor 70.

만일, 확인 결과 배드 블럭이 2개 있으면, 이동통신 단말기는 2개의 배드 블럭이 갖는 페이지 수가 64개임을 계산한다(S406). 여기서, 낸드 메모리(30)의 제 2 영역(31-2)의 각 블럭은 32개의 페이지로 이루어지기 때문에, 2개의 블럭이 갖는 페이지 수를 합하면 64개의 페이지가 된다. 즉, 배드 블럭이 n개이면, n개의 배드 블럭을 이루는 총 페이지 수는 n과 32를 곱한 값이 된다.If there are two bad blocks, the mobile communication terminal calculates that the number of pages of the two bad blocks is 64 (S406). Here, since each block of the second area 31-2 of the NAND memory 30 has 32 pages, the number of pages included in the two blocks adds up to 64 pages. That is, if there are n bad blocks, the total number of pages constituting the n bad blocks is n multiplied by 32.

그리고, 이동통신 단말기는 계산 과정(S403)에서 계산한 데이터의 저장 위치값과 2개의 배드 블럭을 이루는 총 페이지 수인 64를 더하여 더한 위치값이 리딩하고자 하는 특정 데이터의 저장 위치임을 확인하고(S407), 이렇게 계산한 위치에 저장된 리소스의 특정 데이터를 읽어온다(S408). 여기서, 이동통신 단말기는 사용자의 지시에 따라 읽어온 데이터를 액정화면(60)에 디스플레이시키거나 스피커(80)를 통해 출력시키며, 또는 무선주파수 처리부(70)를 통해 외부로 전송한다.In addition, the mobile communication terminal adds 64, which is the total number of pages constituting the two bad blocks and the storage position value of the data calculated in the calculation process (S403), and confirms that the position value is the storage position of the specific data to be read (S407). In operation S408, specific data of the resource stored in the calculated position is read. Here, the mobile communication terminal displays the read data according to the user's instructions on the LCD screen 60 or outputs through the speaker 80, or transmits the data to the outside through the radio frequency processor 70.

전술한 바와 같이, 본 발명은 실행코드영역에 실행프로그램과 리소스가 분리되어 저장되기 때문에, 이동통신 단말기가 실행프로그램을 부팅하더라도 리소스가 에스디램에 복사되지 않고, 또한 실행코드영역에 저장된 리소스의 위치를 참조 테이블을 참조하여 계산하기 때문에 리소스를 신속하고 정확하게 읽어올 수 있는 것이다.As described above, according to the present invention, since the execution program and the resource are separately stored in the execution code area, even if the mobile communication terminal boots the execution program, the resource is not copied to the SDRAM and the location of the resource stored in the execution code area. Is calculated by referring to a reference table, so that resources can be read quickly and accurately.

본 발명의 기술사상은 상기 바람직한 실시예에 따라 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며, 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술분야의 통상의 전문가라면 본 발명의 기술사상의 범위에서 다양한 실시예가 가능함을 이해할 수 있을 것이다.Although the technical spirit of the present invention has been described in detail according to the above-described preferred embodiment, it should be noted that the above-described embodiment is for the purpose of description and not of limitation. In addition, those skilled in the art will understand that various embodiments are possible within the scope of the technical idea of the present invention.

이상에서 설명한 바와 같이 본 발명은, 이동통신 단말기 내에 구비되는 리소스와 실행코드를 분리시켜 낸드 메모리의 동일 영역에 저장함으로써, 실행코드 부 팅시 실행코드만을 에스디램에 복사하고 리소스가 에스디램에 복사되는 것을 방지하고, 이로 인하여 메모리 영역이 불필요하게 사용되는 것을 방지할 수 있다.
As described above, according to the present invention, by separating the resource and the execution code provided in the mobile communication terminal in the same area of the NAND memory, only the execution code is copied to the SDRAM when the execution code is booted, and the resources are copied to the SDRAM. This prevents the memory area from being used unnecessarily.

Claims (6)

실행코드영역과 파일영역으로 이루어진 낸드 메모리를 구비하는 이동통신 단말기에 있어서,A mobile communication terminal having a NAND memory comprising an execution code area and a file area, 상기 이동통신 단말기의 실행프로그램과 리소스를 모두 실행코드영역에 저장하고, Store both the execution program and resources of the mobile communication terminal in an execution code area; 상기 실행코드영역을 제 1 및 제 2 영역으로 나누어 구축하고,Divide the execution code area into first and second areas, 실행프로그램과 리소스를 각각 상기 제 1 및 제 2 영역에 분리시켜 저장하며,Execution programs and resources are separately stored in the first and second regions, 상기 리소스는 상기 이동통신 단말기의 미리 설정된 기능을 지원하는 데이터인 것을 특징으로 하는 이동통신 단말기의 데이터 저장 방법.And the resource is data supporting a preset function of the mobile communication terminal. 제 1 항에 있어서,The method of claim 1, 상기 낸드 메모리의 제 2 영역에는 리소스의 데이터 위치를 검색하기 위한 참조 테이블이 저장되는 것을 특징으로 하는 이동통신 단말기의 데이터 저장 방법.And a reference table for retrieving a data location of a resource is stored in a second area of the NAND memory. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 데이터의 크기에 따라 리소스는 상기 제 2 영역에서 어느 한 블럭의 특정 페이지의 일정 위치에 있는 바이트로부터 상기 블록과 동일 블록이나 다음에 위치하는 블록의 특정 페이지의 특정 바이트까지 저장되는 것을 특징으로 하는 이동통신 단말기의 데이터 저장 방법.According to the size of the data, the resource is moved from a byte at a certain position of a specific page of a block in the second area to a specific byte of a specific page of the same block as the block or a block located next to the moving block. Data storage method of communication terminal. 이동통신 단말기 내에 구비된 낸드 메모리의 실행코드영역을 나눈 제 1 및 제 2 영역에 분리되어 저장된 실행프로그램과 리소스를 읽어오는 방법에 있어서,In the method of reading an executable program and resources stored separately in the first and second areas divided by the execution code area of the NAND memory provided in the mobile communication terminal, 사용자가 지시한 리소스의 특정 데이터를 읽어오기 위해, 상기 제 2 영역에 저장된 참조 테이블을 참조하여 특정 데이터의 저장 위치를 계산하는 제 1 단계;A first step of calculating a storage location of specific data by referring to a reference table stored in the second area to read specific data of a resource indicated by a user; 상기 계산한 저장 위치가 속한 블록의 이전 블럭들 중에 배드 블럭이 있는지 여부와 있으면 배드 블럭이 몇 개나 있는지를 확인하는 제 2 단계;A second step of checking whether there is a bad block among the previous blocks of the block to which the calculated storage location belongs, and how many bad blocks there are; 상기 확인 결과 배드 블럭이 없으면, 상기 계산한 위치에서 리소스의 특정 데이터를 읽어오는 제 3 단계; 및A third step of reading specific data of a resource from the calculated position if there is no bad block as a result of the checking; And 상기 확인 결과 배드 블럭이 적어도 하나 이상 있으면, 배드 블럭이 갖는 페이지 수를 계산한 후, 이 배드 블럭의 페이지 수와 상기 계산한 특정 데이터의 위치를 더하여 특정 데이터의 저장 위치를 계산하고 계산한 위치에서 특정 데이터를 읽어오는 제 4 단계If there is at least one bad block as a result of the checking, after calculating the number of pages of the bad block, the number of pages of the bad block and the calculated position of the specific data are added to calculate and calculate the storage position of the specific data. Fourth step to read specific data 를 포함하는 이동통신 단말기의 데이터 리딩 방법.Data reading method of a mobile communication terminal comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 1 단계 또는 제 4 단계에서,In the first step or the fourth step, 상기 계산된 특정 데이터의 저장 위치는 데이터의 크기에 따라 상기 제 2 영역에서 어느 한 블럭의 특정 페이지의 일정 위치에 있는 바이트로부터 상기 블록과 동일 블록이나 다음에 위치하는 블록의 특정 페이지의 특정 바이트까지 저장되는 것을 특징으로 하는 이동통신 단말기의 데이터 리딩 방법.The calculated storage position of the specific data ranges from a byte at a predetermined position of a specific page of one block in the second area to a specific byte of a specific page of the same block as the block or the next block according to the size of the data. Data reading method of a mobile communication terminal, characterized in that stored. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4 단계에서,In the fourth step, 상기 배드 블럭 수와 각 블럭의 페이지 수인 32를 곱하여 적어도 하나 이상의 배드 블럭이 갖는 모든 페이지 수를 계산하는 것을 특징으로 하는 이동통신 단말기의 데이터 리딩 방법.And multiplying the number of bad blocks by 32, the number of pages of each block, and calculating all the number of pages of at least one bad block.
KR1020040077696A 2004-09-30 2004-09-30 Method for storing and reading data in mobile phone KR100654611B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040077696A KR100654611B1 (en) 2004-09-30 2004-09-30 Method for storing and reading data in mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040077696A KR100654611B1 (en) 2004-09-30 2004-09-30 Method for storing and reading data in mobile phone

Publications (2)

Publication Number Publication Date
KR20060028831A KR20060028831A (en) 2006-04-04
KR100654611B1 true KR100654611B1 (en) 2006-12-08

Family

ID=37139365

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040077696A KR100654611B1 (en) 2004-09-30 2004-09-30 Method for storing and reading data in mobile phone

Country Status (1)

Country Link
KR (1) KR100654611B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100955010B1 (en) 2007-11-20 2010-04-27 모바일 어플라이언스 주식회사 Method for copying of NAND flash memory including execute code

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100745256B1 (en) * 2005-10-11 2007-08-01 엘지전자 주식회사 Code overlay method in the embedded system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100955010B1 (en) 2007-11-20 2010-04-27 모바일 어플라이언스 주식회사 Method for copying of NAND flash memory including execute code

Also Published As

Publication number Publication date
KR20060028831A (en) 2006-04-04

Similar Documents

Publication Publication Date Title
KR100680000B1 (en) Method for web page display in mobile communication terminal
KR101452725B1 (en) Mobile terminal and method for synchronizing data thereof
US7987324B2 (en) Apparatus and method for verifying update data in mobile communication system
WO2006123513A1 (en) Information display device and information displaying method
US20080125179A1 (en) Mobile Communication Device and Application Execution Environment Software For Mobile Communication Device
US8799802B2 (en) Apparatus, method and computer program product enabling zoom function with multi-function key input that inhibits focus on a textually-responsive element
JP2007164653A (en) Mobile communication terminal
US20120117024A1 (en) Method for updating media database in portable terminal
KR100654611B1 (en) Method for storing and reading data in mobile phone
US8365093B2 (en) Apparatus, method and computer program product enabling storage of state of temporary display screen magnification view
JP2002215287A (en) Information processor, information processing method, program and recording medium
US20070094280A1 (en) Mobile communication terminal
CN113050936B (en) Front-end data processing method and device based on integrated development environment
KR100787881B1 (en) Display processing method and display processing device
US20090143102A1 (en) Communication device
KR100460713B1 (en) User interface system for supporting multi-theme of mobile phone
KR20030040948A (en) Bookmark system and method thereof in a mobile phone
KR100389831B1 (en) Method for executing start application in mobile station
JP4657647B2 (en) Mobile communication terminal
KR101200236B1 (en) terminal having a lazy loading function of the wireless internet platform module and controlling method for the same
WO2008054132A1 (en) Terminal having platform library dynamic linking function and method of controlling the same
JP2005191742A (en) Mobile terminal
JP2005258894A (en) Digital electronic apparatus, and method for setting function
JP2006268159A (en) Information processing terminal, data displaying method, and data displaying program
KR20060057289A (en) Mobile phone and method for dynamically roading data using it

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: 20121102

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131030

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141110

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151102

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee