KR20030057991A - Method of storing an image data in a mobile phone - Google Patents

Method of storing an image data in a mobile phone Download PDF

Info

Publication number
KR20030057991A
KR20030057991A KR1020010088117A KR20010088117A KR20030057991A KR 20030057991 A KR20030057991 A KR 20030057991A KR 1020010088117 A KR1020010088117 A KR 1020010088117A KR 20010088117 A KR20010088117 A KR 20010088117A KR 20030057991 A KR20030057991 A KR 20030057991A
Authority
KR
South Korea
Prior art keywords
image data
address
header
data
predetermined
Prior art date
Application number
KR1020010088117A
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 KR1020010088117A priority Critical patent/KR20030057991A/en
Publication of KR20030057991A publication Critical patent/KR20030057991A/en

Links

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
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

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

Abstract

PURPOSE: An image data storing method of a mobile communication terminal is provided to effectively manage an image storage space by sequentially storing a header data in an upper address as much as a header size from a start address and an image data in a lower address as much as an image size from the last address. CONSTITUTION: When a user commands a terminal to store an image file(S101), a controller generates a header data and an actual image data(S102). The controller searches an effective header space starting from a start address of a storage sector toward an upper address, in order to store the header data and the actual image data(S103). When the controller finds an effective header space existing in the storage sector, it controls such that the header data is stored in the effective header space starting from the last address of the storage sector toward an upper address(S104) and that the actual image data is stored in an effective image space toward a lower address(S105).

Description

이동통신 단말기의 이미지 데이터 저장 방법{Method of storing an image data in a mobile phone}Method of storing an image data in a mobile terminal}

본 발명은 이동통신 단말기에 관한 것으로, 특히 이동통신 단말기가 캐릭터 등 이미지 데이터를 저장 할 때에, 플래쉬 메모리를 기반으로 64k 바이트(byte)의 데이터를 저장할 수 있는 각 섹터에, 헤더 데이터는 시작 어드레스부터 헤더의 사이즈 만큼씩 상위 어드레스에 저장시켜 나가고, 이미지 데이터는 마지막 어드레스에서부터 그 이미지 사이즈 만큼씩 하위 어드레스에 저장시켜 나감으로써, 이미지저장공간을 보다 효율적으로 관리할 수 있도록 하는 이동통신 단말기의 이미지 데이터 저장 방법에 관한 것이다.The present invention relates to a mobile communication terminal. In particular, when the mobile communication terminal stores image data such as a character, header data is stored in each sector capable of storing 64k bytes of data based on a flash memory. Image data storage of the mobile communication terminal to store the image storage space more efficiently by storing it in the upper address by the size of the header and storing the image data in the lower address by the size of the image from the last address. It is about a method.

종래의 휴대폰 등의 이동통신 단말기에 있어서, 사업자가 제공하는 캐릭터 이미지 등을 다운로드(down load)하여 화면에 표시하기까지의 과정은, 압축된 이미지 데이터를 받아 처리하여 액정표시부(LCD)에 유효한 데이터로 전달해야 하는 여러 가지 과정을 거치게 된다. 그런데, 캐릭터 등의 이미지 데이터를 다운로드하여 저장하기 위해서는 단말기 내에 상당한 저장 공간이 구비되어야 한다.In a conventional mobile communication terminal such as a mobile phone, the process of downloading down the character image and the like provided by the operator and displaying it on the screen is to receive and process the compressed image data to be effective for the liquid crystal display (LCD). There are a number of steps that must be delivered to However, in order to download and store image data such as a character, a considerable storage space must be provided in the terminal.

이러한 캐릭터 이미지의 다운로드 기능을 위하여 사용할 수 있는 방법으로는, 압축되어 다운로드 되는 이미지 데이터를 그대로 메모리 등의 저장 공간에 저장하고, 캐릭터 이미지를 표시할 때마다 이러한 압축 데이터를 디코더에 의하여 디코딩하여 액정표시부(LCD)에 전달함으로써 디스플레이 되도록 하는 방법과, 압축된 이미지 데이터를 다운로드 할 때에, 미리 압축 데이터를 디코더에 의하여 디코딩한 후의 데이터를 메모리 등 저장 공간에 저장하고, 캐릭터 이미지를 표시하기 위해서는 디코딩된 데이터를 바로 액정표시부(LCD)에 전달함으로써 디스플레이 되도록 하는 방법이 있다.As a method that can be used for the character image download function, the compressed and downloaded image data is stored in a storage space such as a memory as it is, and each time the character image is displayed, the compressed data is decoded by a decoder to display the liquid crystal display unit. In order to display by transmitting to the LCD and to download the compressed image data, the data after decoding the compressed data by the decoder in advance is stored in a storage space such as a memory, and the decoded data to display the character image. Is directly transmitted to the liquid crystal display (LCD) to be displayed.

여기서, 전자의 경우는 캐릭터 이미지를 표시할 때마다 압축 데이터를 디코딩하여야 하므로, 단말기의 제어부가 처리하는 계산 속도로서는 신속하고 자연스런 캐릭터 이미지를 제공하기 어려우므로, 일반적으로 후자의 경우를 사용한다.In the former case, since the compressed data must be decoded each time the character image is displayed, the latter case is generally used because it is difficult to provide a fast and natural character image as the calculation speed processed by the controller of the terminal.

후자의 방법을 사용하는 예로서, 1개의 캐릭터 이미지를 저장하기 위해서는 보통 7k내지 15k 바이트의 메모리가 필요하고, 이는 단일 아이템으로서는 큰 데이터에속하므로 대개 플래쉬 메모리에 저장하게 되는데, 플래쉬 메모리는 섹터(sector) 단위로 메모리 관리가 이루어지고 있다. 즉, 쓰기 동작에서는 별 문제가 없으나, 데이터를 지우거나 같은 공간에 오버 라이트(over write)하기 위해서는 섹터 단위로 지우기(erase)를 하여 초기화 시켜야 하는 문제가 있다.As an example of using the latter method, one character image usually requires 7k to 15k bytes of memory, which is usually stored in flash memory because it belongs to large data as a single item. Memory management is performed in units of). That is, there is no problem in the write operation. However, in order to erase data or overwrite the same space, there is a problem of initializing by erasing by sector.

이러한 플래쉬 메모리의 제약성으로 인하여, 1개의 섹터에는 1개의 캐릭터를 할당하여 저장해야 하므로, 이때 섹터당 64k 바이트로 이루어지는 저장 공간 중에서 1개의 캐릭터 이미지를 위한 저장 공간으로 7k내지 15k 바이트를 사용하게되면, 나머지 49k 바이트 이상은 사용되지도 못하고 버려지는 공간이 된다.Due to the limitation of the flash memory, one character should be allocated and stored in one sector, and if 7k to 15k bytes of storage space for one character image are used among the storage spaces of 64k bytes per sector, The remaining 49k bytes are unused space.

그리고, 위와 같은 종래의 방법에 의하면, 예를 들어 5개의 캐릭터를 저장하기 위해서는 5섹터의 메모리(320k 바이트)가 필요하므로, 그 캐릭터 수가 증가할수록 필요한 메모리 양이 기하급수적으로 증가되어야 하는 문제가 있다.In addition, according to the conventional method as described above, in order to store five characters, for example, five sectors of memory (320k bytes) are required, and as the number of characters increases, the amount of memory required increases exponentially. .

또한, 플래쉬 메모리 특성상, 할당받은 섹터의 영역에서 동일한 시작 어드레스를 중심으로 15k 바이트 내에서 쓰기/읽기/지우기 동작이 집중적으로 이루어지므로, 적절하게 섹터 전체의 영역이 위와 같이 사용될 때보다 수명이 단축되는 문제점이 있었다.In addition, due to the nature of flash memory, since write / read / erase operations are concentrated within 15k bytes around the same start address in the allocated sector area, the lifetime of the sector is appropriately shortened than when the above sector is used. There was a problem.

따라서, 본 발명은 상기한 종래 기술의 문제점을 해결하고자 제안된 것으로서, 이동통신 단말기가 캐릭터 등 이미지 데이터를 저장할 때에, 플래쉬 메모리를 기반으로 64k 바이트의 데이터를 저장할 수 있는 각 섹터에, 헤더 데이터는 시작 어드레스부터 헤더의 사이즈 만큼씩 상위 어드레스에 저장시켜 나가고, 이미지 데이터는마지막 어드레스에서부터 그 이미지 사이즈 만큼씩 하위 어드레스에 저장시켜 나갈 수 있도록 함을 그 목적으로 한다.Accordingly, the present invention has been proposed to solve the above-described problems of the prior art. When the mobile communication terminal stores image data such as characters, header data is stored in each sector capable of storing 64k bytes of data based on a flash memory. The object is to store the data in the upper address by the size of the header from the start address, and to store the image data in the lower address by the size of the image from the last address.

상기한 목적을 달성하기 위한 본 발명에 따른 방법은, 이동통신 단말기가 이미지 데이터를 저장하는 방법에 있어서,The method according to the present invention for achieving the above object, in the method for the mobile communication terminal to store the image data,

(a) 사용자가 단말기에 이미지 파일에 대한 저장 명령을 하면, 단말기가 소정의 헤더 데이터와 소정의 실제 이미지 데이터를 생성하는 단계;(a) when the user commands the terminal to save an image file, the terminal generating predetermined header data and predetermined actual image data;

(b) 단말기가 소정의 저장 섹터의 시작 어드레스에서부터 시작하여 상위 어드레스로 향하여 새로운 이미지 데이터를 저장할 수 있는 유효 헤더 공간을 찾는 단계;(b) the terminal finding a valid header space in which new image data can be stored starting from the start address of the predetermined storage sector and towards the upper address;

(c) 단말기가 소정의 저장 섹터에서 유효 헤더 공간을 찾으면, 상기 생성된 소정의 헤더 데이터를 상기 유효 헤더 공간에 상위 어드레스로 향하여 저장하는 단계; 및(c) if the terminal finds a valid header space in a predetermined storage sector, storing the generated predetermined header data toward the upper address in the valid header space; And

(d) 단말기가 소정의 저장 섹터의 마지막 어드레스에서부터 시작하여, 하위 어드레스로 향하여 다른 이미지 데이터가 이미 저장되어 있는 저장 공간의 최하위 어드레스의 이전 어드레스부터 상기 유효 헤더 공간 사이에 존재하는 유효 이미지 공간에, 상기 생성된 소정의 실제 이미지 데이터를 하위 어드레스로 향하여 저장하는 단계를 포함한다.(d) in the effective image space existing between the valid header space and the previous address of the lowest address of the storage space in which other image data has already been stored, starting from the last address of the predetermined storage sector, and toward the lower address; And storing the generated actual image data toward a lower address.

또한, 상기 이동통신 단말기의 이미지 데이터 저장 방법은,In addition, the image data storage method of the mobile communication terminal,

(e) 상기 유효 헤더 공간과 유효 이미지 공간이 상기 생성된 소정의 헤더 데이터와 실제 이미지 데이터를 저장하기에 부족한 경우에는, 단말기가 상기 생성된 소정의 헤더 데이터는 다른 저장 섹터의 시작 어드레스부터 시작하여 상위 어드레스로 향하여 저장하고, 상기 생성된 소정의 실제 이미지 데이터는 상기 다른 저장 섹터의마지막 어드레스부터 시작하여 하위 어드레스로 향하여 저장하는 단계를 더 포함한다.(e) If the valid header space and the valid image space are insufficient to store the generated predetermined header data and the actual image data, the terminal may generate the predetermined header data starting from the start address of another storage sector. Storing toward the upper address and storing the generated actual image data toward the lower address starting from the last address of the other storage sector.

또한, 상기 이동통신 단말기의 이미지 데이터 저장 방법은,In addition, the image data storage method of the mobile communication terminal,

(f) 사용자가 이미 저장되어 있는 이미지 데이터의 소정의 설정값들을 변경하여 오버 라이트 하려는 경우에, 단말기가 소정의 실제 이미지 데이터는 변경하지 않고, 소정의 헤더 데이터만 변경하여 저장하는 단계를 더 포함한다.(f) if the user wants to overwrite by changing predetermined settings of the image data already stored, the terminal further includes changing and storing only predetermined header data without changing the predetermined actual image data. do.

또한, 상기 헤더 데이터는, 파일 체인 밸류, 액티브 카운트, 유효한 이미지 데이터의 상세 정보, 마지막 어드레스 및 마스킹 플래그로 이루어지는 것을 특징으로 한다.The header data may include a file chain value, an active count, detailed information of valid image data, a last address, and a masking flag.

도 1은 본 발명에 따른 이동통신 단말기의 블록도.1 is a block diagram of a mobile communication terminal according to the present invention;

도 2는 본 발명에 따른 이미지 데이터 저장 공간 할당 설명도.2 is an explanatory diagram of image data storage space allocation according to the present invention;

도 3은 본 발명에 따른 이동통신 단말기의 이미지 데이터 저장 흐름도.3 is a flowchart of image data storage of a mobile communication terminal according to the present invention;

※ 도면의 주요 부분에 대한 부호의 설명 ※※ Explanation of code about main part of drawing ※

100: 제어부 200: 표시부100: control unit 200: display unit

300: 무선신호 송수신부 400: 키입력부300: wireless signal transmission and reception unit 400: key input unit

500: 저장부500: storage unit

이하, 본 발명의 일 실시예에 따른 이동통신 단말기의 이미지 데이터 저장 동작을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, an operation of storing image data of a mobile communication terminal according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1에는 본 발명의 실시예에 따른 이동통신 단말기의 블록도가 도시되어 있다.1 is a block diagram of a mobile communication terminal according to an embodiment of the present invention.

도시된 바와 같이, 본 발명의 실시예에 따른 이동통신 단말기는, 이동통신 단말기의 전반적인 동작을 제어하는 제어부(100), 이동통신 단말기의 전반적인 현재 상태를 사용자가 볼 수 있도록 표시해주는 표시부(200), 상대방과 통화하는 음성신호나 메시지의 송수신이 이루어지도록 신호 처리하는 무선신호 송수신부(300), 다수의 숫자 키와 기능 키들을 구비하고 있으며, 이들 각 키의 입력에 따라 그 고유의 키데이터를 제어부(100)로 출력하는 키입력부(400), 이동통신 단말기의 동작 수행에 필요한 프로그램 등을 저장하고 있는 저장부(500), 및 상대방과 통화하는 음성 신호나 메시지의 송수신을 담당하는 안테나(ANT)로 이루어져 있다.As shown, the mobile communication terminal according to an embodiment of the present invention, the control unit 100 for controlling the overall operation of the mobile communication terminal, the display unit 200 for displaying the current state of the mobile communication terminal for the user to see And a wireless signal transceiver 300 for signal processing to transmit and receive a voice signal or a message to the other party, and has a plurality of numeric keys and function keys. A key input unit 400 output to the control unit 100, a storage unit 500 for storing a program necessary for performing an operation of the mobile communication terminal, etc., and an antenna in charge of transmitting and receiving voice signals or messages talking to the other party (ANT) )

상기한 제어부(100)는 이동통신 단말기의 전반적인 동작을 제어하고, 현재 상태 표시 데이터를 생성하여 표시부(200)에 전달하며, 사용자의 통신 요청에 따라 기지국과 무선 통신할 수 있도록 제어하는데, 특히 모발(mobile) 인터넷 등을 통하여 전송되는 캐릭터 등 이미지 데이터를 다운로드하여 저장부(500)에 저장시키고, 사용자가 캐릭터 이미지를 보고자 할 때에는 표시부(200)의 화면에 표시되도록 제어한다.The control unit 100 controls the overall operation of the mobile communication terminal, generates and transmits the current state indication data to the display unit 200, and controls to communicate wirelessly with the base station according to a user's communication request. The mobile terminal downloads image data such as a character transmitted through the Internet and stores the image data in the storage unit 500 and controls the display to be displayed on the screen of the display unit 200 when the user wants to view the character image.

표시부(200)는 이동통신 단말기의 전반적인 현재 상태를 사용자가 볼 수 있도록 표시해주는 사용자 인터페이스 장치로서, 특히 통화를 위하여 사용자가 입력하는 전화번호를 표시하거나 수신된 메시지 내용을 사용자가 볼 수 있도록 표시해준다. 특히, 초기 이미지 화면이나 모발 인터넷에서 다운로드 받은 캐릭터 이미지 등의 화상 정보를 표시하여 사용자가 볼 수 있도록 해 준다.The display unit 200 is a user interface device for displaying the overall current state of the mobile terminal for the user to view, and in particular, displays a phone number input by the user for a call or displays the contents of the received message. . In particular, it displays the image information, such as the initial image screen or the character image downloaded from the hair Internet, so that the user can see.

무선신호 송수신부(300)는 이동통신 단말기와 단말기가 가입된 기지국과의 무선신호 송수신에 대한 전반적인 처리를 수행하여, 상대방과 통화하는 음성 신호나 메시지, 모발 인터넷 데이터 등의 송수신이 이루어지도록 신호처리 한다.The wireless signal transmission / reception unit 300 performs overall processing for wireless signal transmission and reception between the mobile communication terminal and the base station to which the terminal is subscribed, and performs signal processing to transmit and receive voice signals, messages, hair Internet data, etc. do.

키입력부(400)는 사용자의 정보 입력 수단으로서, 다수의 숫자 키와 기능 키들을 구비하고 있으며, 이들 각 키의 입력에 따라 그 고유의 키데이터를 제어부(100)로 출력함으로써, 제어부(100)로 하여금 사용자가 필요로 하는 기능을 수행할 수 있도록 하는데, 예를 들어, 전화번호의 입력, 메시지 작성, 메시지 검색, 게임, 모발 인터넷 접속 등의 요구에 대한 그 동작 수행이 이루어지도록 한다.The key input unit 400 includes a plurality of numeric keys and function keys as information input means of a user, and outputs its own key data to the controller 100 according to the input of each key, thereby controlling the controller 100. It enables the user to perform the functions required by the user, for example, to perform the operation for a request for inputting a phone number, writing a message, searching for a message, playing a game, and accessing a hair Internet.

저장부(500)는 이동통신 단말기의 전반적인 동작 수행에 필요한 프로그램을 저장하고 있고, 이에 따라 상기 제어부(100)는 저장부(500)에 요구하여 그 저장되어 있는 데이터를 읽거나 새로운 데이터로 수정하는 동작 수행 결과로써 이동통신 단말기의 전반적인 동작 수행이 이루어지도록 하는 것이다.The storage unit 500 stores a program necessary for performing an overall operation of the mobile communication terminal. Accordingly, the control unit 100 requests the storage unit 500 to read the stored data or to modify the data into new data. As a result of the operation, the overall operation of the mobile communication terminal is performed.

또한, 초기화면 등에 필요한 이미지 데이터나, 모발 인터넷 등 온라인 상에서 다운로드 받은 이미지 데이터가 저장되어 있다.In addition, image data required for the initial screen and the like and image data downloaded online such as hair Internet are stored.

여기서, 이미지 데이터가 저장되는 방법은, 도 2에 도시된 이미지 데이터 저장 공간 할당 설명도와 같이, 플래쉬 메모리를 기반으로 64k 바이트의 데이터를 저장할 수 있는 각 섹터에, 헤더 데이터는 시작 어드레스부터 헤더의 사이즈 만큼씩 상위 어드레스에 저장시켜 나가고, 실제 이미지 데이터는 마지막 어드레스에서부터 그 이미지 사이즈 만큼씩 하위 어드레스에 저장시켜 나간다. 이와 같이, 각 캐릭터에 해당하는 이미지 데이터들은, 실제 이미지 데이터와 이를 관리하는 헤더 데이터로 이루어져, 위와 같이 하나의 섹터에 모두 저장되는데, 이와 같이 헤더 데이터와 실제 이미지 데이터를 저장하다가, 더 이상 같은 섹터 내에 저장 공간이 없게되면 다음 섹터에 같은 방법으로 저장하기 시작한다.Here, the method in which the image data is stored includes, in each sector capable of storing 64k bytes of data based on the flash memory, as shown in the image data storage space allocation explanatory diagram shown in FIG. As many as the upper address is stored, and actual image data is stored in the lower address as much as the image size from the last address. As such, the image data corresponding to each character is composed of the actual image data and the header data managing the same, and are all stored in one sector as above. In this way, the header data and the actual image data are stored, and the same sector is no longer used. When there is no storage space inside, it starts to save in the same way in the next sector.

종래의 경우에, 5개의 캐릭터를 저장하기 위하여 5개의 섹터가 필요하였다면, 본 발명의 경우에는, 2개의 섹터만으로 충분하다. 이와 같이, 2개의 섹터로 5개의 이미지 데이터를 저장할 때에는, 첫 번째 섹터에 이미지 데이터들을 저장시켜 나가다가, 다음 이미지 데이터를 저장시키기에 저장 공간이 부족하거나, 이미지 데이터의 설정값들을 변경하여 오버 라이트 하기에 저장 공간이 부족한 경우에는 다음 두 번째 섹터로 이동하여 같은 방법으로 저장하기 시작한다. 이때, 이미지 데이터의 설정값들을 변경하여 오버 라이트 하기에 저장 공간이 부족하여 두 번째 섹터로 데이터를 이주(garbage collection)시킬 때에는, 첫 번째 섹터에 있던 기존 데이터는 삭제하여 다음 이미지 데이터가 저장될 수 있도록 준비하여야 한다.In the conventional case, if five sectors were needed to store five characters, in the case of the present invention, only two sectors are sufficient. As described above, when storing five image data in two sectors, the image data is stored in the first sector, and there is insufficient storage space to store the next image data, or the image data is changed and overwritten by changing the setting values. If there is not enough storage space below, it moves to the next second sector and starts storing in the same way. At this time, when migrating data to the second sector because the storage space is insufficient to overwrite by changing the setting values of the image data, the existing image data in the first sector may be deleted to store the next image data. Be prepared to

한편, 도 2에 도시된 바와 같이 저장되는 헤더 데이터는 마지막 어드레스에서부터 저장되는 실제 이미지 데이터를 관리하는 데이터로서, 유효한 헤더를 검색할 수 있도록 인식자를 나타내는 파일 체인 밸류(file chain value), 현재 섹터 내의 유효한 이미지 데이터 개수를 나타내는 액티브 카운트(active count), 데이터의 크기, 이미지 사이즈, 시작 어드레스, 프레임 수, 액티브 인자 등 유효한 이미지 데이터의 상세 정보, 유효한 한 가지 헤더만으로 섹터 내의 상황을 알 수 있도록 하는 마지막 어드레스(last address), 및 각 이미지의 사용자 인터페이스(user interface) 설정값을 나타내는 마스킹 플래그(masking flag) 등으로 이루어져 있다.Meanwhile, the header data stored as shown in FIG. 2 is data for managing actual image data stored from the last address. The header data stored in the current sector includes a file chain value representing a recognizer so that a valid header can be retrieved. Active count indicating the number of valid image data, detailed information of valid image data such as data size, image size, start address, number of frames, active factor, and last one so that the situation within a sector can be known only with one valid header. And a masking flag indicating a user interface setting value of each image.

이와 같이 이우어진 본 발명의 실시예에 따른 이동통신 단말기의 이미지 데이터 저장 동작을 상세히 설명한다.The image data storage operation of the mobile communication terminal according to the embodiment of the present invention as described above will be described in detail.

도 3에는 본 발명의 실시예에 따른 이동통신 단말기의 이미지 데이터 저장 과정을 설명하는 흐름도가 도시되어 있다.3 is a flowchart illustrating an image data storing process of a mobile communication terminal according to an embodiment of the present invention.

첨부한 도 3에 도시된 바와 같이, 본 발명의 실시예에 따른 이동통신 단말기의 이미지 데이터 저장 동작은, 먼저, 모발 인터넷 등을 통하여 캐릭터 다운로드 하는 것과 같이, 사용자가 단말기에 이미지 파일에 대한 저장 명령을 하면(S101), 단말기의 제어부(100)는 이미지 파일을 플래쉬 메모리 등으로 이루어지는 저장부(500)의 저장 섹터에 저장할 소정의 헤더 데이터와 소정의 실제 이미지 데이터를 생성한다(S102).As shown in FIG. 3, the image data storage operation of the mobile communication terminal according to an embodiment of the present invention, first, as a character download through a hair Internet, etc., a user stores a command for an image file on the terminal. In operation S101, the control unit 100 of the terminal generates predetermined header data and predetermined actual image data to be stored in a storage sector of the storage unit 500 including a flash memory or the like (S102).

제어부(100)는 이어서 생성된 소정의 헤더 데이터와 소정의 실제 이미지 데이터를 저장하기 위하여, 소정의 저장 섹터의 시작 어드레스에서부터 시작하여 상위 어드레스로 향하여 새로운 이미지 데이터를 저장할 수 있는 유효 헤더 공간을 찾는다(S103).The control unit 100 then finds a valid header space capable of storing new image data starting from a start address of a predetermined storage sector and heading to an upper address, in order to store the generated predetermined header data and predetermined actual image data ( S103).

이때, 유효한 헤더 공간은 적재된 순서상의 가장 큰 어드레스 다음에 나타나는데, 헤더의 크기 단위로 헤더의 첫 부분에 위치하는 파일 체인 밸류를 검색하여 더 이상 체인이 나타나지 않을 때까지 찾아가는 것이다.In this case, the valid header space appears after the largest address in the stacking order, and the file chain value located at the beginning of the header by the size of the header is searched until the chain no longer appears.

이렇게 하여 마지막의 헤더를 검출해내면 다음 공간을 유효 헤더 공간으로 인식하고, 헤더 데이터 값들을 저장하게 된다.In this way, when the last header is detected, the next space is recognized as a valid header space and the header data values are stored.

상기 제어부(100)가 위와 같이 하여 저장 섹터에 존재하는 유효 헤더 공간을 찾으면, 상기 생성된 소정의 헤더 데이터를 상기 유효 헤더 공간에 상위 어드레스로 향하여 저장하도록 제어하고(S104), 저장 섹터의 마지막 어드레스에서부터 시작하여, 하위 어드레스로 향하여 다른 이미지 데이터가 이미 저장되어 있는 저장 공간의 최하위 어드레스의 이전 어드레스부터 상기 유효 헤더 공간 사이에 존재하는 유효 이미지 공간에는, 상기 생성된 소정의 실제 이미지 데이터를 하위 어드레스로 향하여 저장하도록 제어하게 된다(S105).When the controller 100 finds the valid header space existing in the storage sector as described above, the controller 100 controls to store the generated predetermined header data toward the upper address in the valid header space (S104). From the previous address of the lowest address of the storage space in which other image data is already stored toward the lower address, and in the effective image space existing between the valid header space, the generated predetermined actual image data is converted into the lower address. It is controlled to be stored toward (S105).

위와 같이, 상기 헤더 데이터와 실제 이미지 데이터를 저장할 때에는, 상기 제어부(100)가 미리 헤더 데이터에 포함되어 있는 각종 관리 정보를 처리하여, 헤더가 저장되기 시작하는 어드레스나, 실제 이미지 데이터의 크기와 저장되기 시작하는 어드레스 등을 파악하게 되는데, 실제 이미지 데이터의 크기로 보아 헤더 데이터가 위치할 주소 영역을 침범하게 되는 경우에는, 현재 섹터에는 더 이상 유효 공간이 없는 것으로 간주함으로써, 상기 제어부(100)가 상기 생성된 소정의 헤더 데이터는 또 다른 다음 저장 섹터의 시작 어드레스부터 시작하여 상위 어드레스로 향하여 저장하도록 제어하고, 상기 생성된 소정의 실제 이미지 데이터는 상기 다른 저장 섹터의 마지막 어드레스부터 시작하여 하위 어드레스로 향하여 저장하도록 제어하게 된다. 이것이 이미지 데이터의 설정값들을 변경하여 오버 라이트 하기에 저장 공간이 부족하여 두 번째 섹터로 데이터를 이주(garbage collection)시키는 경우라면, 첫 번째 섹터에 있던 기존 데이터는 삭제하여 다음 이미지 데이터가 저장될 수 있도록 준비하여야 한다.As described above, when storing the header data and the actual image data, the control unit 100 processes various management information included in the header data in advance, so that the address at which the header starts to be stored or the size and storage of the actual image data. In the case where the address data starts to be identified, and the size of the image data is violated, the controller 100 considers that there is no valid space in the current sector. The generated predetermined header data is controlled to be stored starting from the start address of another next storage sector toward the upper address, and the generated predetermined actual image data is stored to the lower address starting from the last address of the other storage sector. Control to save the data. If this is a case where the storage space is insufficient to overwrite by changing the setting values of the image data and the data is migrated to the second sector, the existing data in the first sector may be deleted and the next image data may be stored. Be prepared to

위에서, 새로운 이미지 데이터가 저장되면, 실제 이미지 데이터에 대해서는 변형, 위치변경, 삭제 등을 할 필요가 없으며, 사용자가 이미 저장되어 있는 이미지 데이터의 소정의 설정값들을 변경하여 오버 라이트 하려는 경우에 있어서는, 소정의 실제 이미지 데이터의 변경은 없고, 소정의 헤더 데이터만 변경하게 되어있다. 즉, 사용자가 이미지 데이터를 삭제하거나 설정값들을 변경한다면, 실제 이미지 데이터가 변환되는 것이 아니라 헤더 데이터의 관리 정보에 더 이상 유효한 이미지가 아니라는 것으로 갱신되는 것을 의미한다.In the above, when the new image data is stored, there is no need to modify, change the position, or delete the actual image data, and in the case where the user wants to overwrite predetermined settings of the image data already stored, There is no change of predetermined actual image data, and only predetermined header data is changed. In other words, if the user deletes the image data or changes the set values, it means that the actual image data is not converted but is updated as being no longer a valid image in the management information of the header data.

이와 같이, 본 발명의 실시예에 따른 이동통신 단말기의 이미지 저장 방법에서는, 사용자가 단말기에 이미지 파일에 대한 저장 명령을 하면, 단말기가 소정의 헤더데이터와 소정의 실제 이미지 데이터를 생성하고, 단말기가 소정의 저장 섹터의 시작 어드레스에서부터 시작하여 상위 어드레스로 향하여 새로운 이미지 데이터를 저장할 수 있는 유효 헤더 공간을 찾아서, 단말기가 소정의 저장 섹터에서 유효 헤더 공간을 찾게되면, 상기 생성된 소정의 헤더 데이터를 상기 유효 헤더 공간에 상위 어드레스로 향하여 저장하고, 소정의 저장 섹터의 마지막 어드레스에서부터 시작하여, 하위 어드레스로 향하여 다른 이미지 데이터가 이미 저장되어 있는 저장 공간의 최하위 어드레스의 이전 어드레스부터 상기 유효 헤더 공간 사이에 존재하는 유효 이미지 공간에, 상기 생성된 소정의 실제 이미지 데이터를 하위 어드레스로 향하여 저장할 수 있도록 하였다.As described above, in the image storage method of the mobile communication terminal according to the embodiment of the present invention, when a user commands the terminal to store an image file, the terminal generates predetermined header data and predetermined actual image data. Searching for a valid header space for storing new image data starting from a start address of a predetermined storage sector toward a higher address, and when the terminal finds a valid header space in a predetermined storage sector, the generated predetermined header data is read. Stored in the effective header space toward the upper address, starting from the last address of a predetermined storage sector, and existing between the valid header space and the previous address of the lowest address in the storage space in which other image data is already stored toward the lower address. Effective image Between, and so that it can be stored against the predetermined real image data in the created sub-address.

이상에서와 같은 본 발명에 따른 이동통신 단말기의 이미지 데이터 저장 방법은, 이동통신 단말기가 캐릭터 등 이미지 데이터를 저장 할 때에, 플래쉬 메모리를 기반으로 64k 바이트의 데이터를 저장할 수 있는 각 섹터에, 헤더 데이터는 시작 어드레스부터 헤더의 사이즈 만큼씩 상위로 저장시켜 나가고, 이미지 데이터는 마지막 어드레스에서부터 그 이미지 사이즈 만큼씩 하위로 저장시켜 나감으로써, 이미지 저장공간을 보다 효율적으로 관리할 수 있고, 5개의 캐릭터를 저장하기 위하여 저장공간으로 2개 섹터만 필요하므로 메모리 절감 효과가 있으며, 섹터 내의 저장 공간을 모두 사용할 수 있으므로 플래쉬 메모리의 수명을 연장시키는 효과가 있으며, 또한 각 헤더가 이미지 데이터의 설정값까지 보유하도록 하였으므로 별도의 엔브이(NV:nonvolatile) 아이템을 유지하는 이원화된 메모리 관리 체계를 지양할 수있는 효과가 있다.The image data storage method of the mobile communication terminal according to the present invention as described above, when the mobile communication terminal stores the image data such as characters, in each sector that can store 64k bytes of data based on the flash memory, the header data Saves the image storage space more efficiently by storing the image data in the upper order by the header size from the start address and in the lower order by the image size in the last address. In order to save space, only two sectors are needed to save memory, and the storage space within the sector can be used to extend the life of flash memory. Also, each header holds up to the set value of image data. NV: nonvolatile This has the effect of avoiding a dual memory management scheme for maintaining items.

Claims (4)

이동통신 단말기가 이미지 데이터를 저장하는 방법에 있어서,In the method of storing image data in the mobile communication terminal, (a) 사용자가 단말기에 이미지 파일에 대한 저장 명령을 하면, 단말기가 소정의 헤더 데이터와 소정의 실제 이미지 데이터를 생성하는 단계;(a) when the user commands the terminal to save an image file, the terminal generating predetermined header data and predetermined actual image data; (b) 단말기가 소정의 저장 섹터의 시작 어드레스에서부터 시작하여 상위 어드레스로 향하여 새로운 이미지 데이터를 저장할 수 있는 유효 헤더 공간을 찾는 단계;(b) the terminal finding a valid header space in which new image data can be stored starting from the start address of the predetermined storage sector and towards the upper address; (c) 단말기가 소정의 저장 섹터에서 유효 헤더 공간을 찾게되면, 상기 생성된 소정의 헤더 데이터를 상기 유효 헤더 공간에 상위 어드레스로 향하여 저장하는 단계; 및(c) if the terminal finds a valid header space in a predetermined storage sector, storing the generated predetermined header data toward the upper address in the valid header space; And (d) 단말기가 소정의 저장 섹터의 마지막 어드레스에서부터 시작하여, 하위 어드레스로 향하여 다른 이미지 데이터가 이미 저장되어 있는 저장 공간의 최하위 어드레스의 이전 어드레스부터 상기 유효 헤더 공간 사이에 존재하는 유효 이미지 공간에, 상기 생성된 소정의 실제 이미지 데이터를 하위 어드레스로 향하여 저장하는 단계를 포함하는 이동통신 단말기의 이미지 데이터 저장 방법.(d) in the effective image space existing between the valid header space and the previous address of the lowest address of the storage space in which other image data has already been stored, starting from the last address of the predetermined storage sector, and toward the lower address; And storing the generated predetermined actual image data toward a lower address. 제 1항에 있어서,The method of claim 1, (e) 상기 유효 헤더 공간과 유효 이미지 공간이 상기 생성된 소정의 헤더 데이터와 실제 이미지 데이터를 저장하기에 부족한 경우에는, 단말기가 상기 생성된 소정의 헤더 데이터는 다른 저장 섹터의 시작 어드레스부터 시작하여 상위 어드레스로 향하여 저장하고, 상기 생성된 소정의 실제 이미지 데이터는 상기 다른 저장 섹터의 마지막 어드레스부터 시작하여 하위 어드레스로 향하여 저장하는 단계를 더 포함하는 이동통신 단말기의 이미지 데이터 저장 방법.(e) If the valid header space and the valid image space are insufficient to store the generated predetermined header data and the actual image data, the terminal may generate the predetermined header data starting from the start address of another storage sector. And storing the generated actual image data toward a lower address starting from a last address of the other storage sector. 제 1항에 있어서,The method of claim 1, (f) 사용자가 이미 저장되어 있는 이미지 데이터의 소정의 설정값들을 변경하여 오버 라이트 하려는 경우에, 단말기가 소정의 실제 이미지 데이터는 변경하지 않고, 소정의 헤더 데이터만 변경하여 저장하는 단계를 더 포함하는 이동통신 단말기의 이미지 데이터 저장 방법.(f) if the user wants to overwrite by changing predetermined settings of the image data already stored, the terminal further includes changing and storing only predetermined header data without changing the predetermined actual image data. Image data storage method of the mobile communication terminal. 제 1항 내지 제 3항 중 어느 한항에 있어서,The method according to any one of claims 1 to 3, 상기 헤더 데이터는,The header data, 파일 체인 밸류, 액티브 카운트, 유효한 이미지 데이터의 상세 정보, 마지막 어드레스, 및 마스킹 플래그로 이루어지는 것을 특징으로 하는 이동통신 단말기의 이미지 데이터 저장 방법.And a file chain value, an active count, detailed information of valid image data, a last address, and a masking flag.
KR1020010088117A 2001-12-29 2001-12-29 Method of storing an image data in a mobile phone KR20030057991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020010088117A KR20030057991A (en) 2001-12-29 2001-12-29 Method of storing an image data in a mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010088117A KR20030057991A (en) 2001-12-29 2001-12-29 Method of storing an image data in a mobile phone

Publications (1)

Publication Number Publication Date
KR20030057991A true KR20030057991A (en) 2003-07-07

Family

ID=32215748

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010088117A KR20030057991A (en) 2001-12-29 2001-12-29 Method of storing an image data in a mobile phone

Country Status (1)

Country Link
KR (1) KR20030057991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100828479B1 (en) * 2006-06-07 2008-05-13 삼성전자주식회사 Apparatus and method for inserting addition data in image file on electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100828479B1 (en) * 2006-06-07 2008-05-13 삼성전자주식회사 Apparatus and method for inserting addition data in image file on electronic device
US8340440B2 (en) 2006-06-07 2012-12-25 Samsung Electronics Co., Ltd Apparatus and method for inserting additional data into image file in electronic device

Similar Documents

Publication Publication Date Title
KR100636985B1 (en) Method for compressing sms message in mobile phone and mobile phone thereof
KR100679413B1 (en) Selective recovery method and apparatus of data in mobile communication terminal
EP1385096A2 (en) Apparatus and method for managing memory in mobile communication terminal
US20070214414A1 (en) Method for reducing booting time of mobile communication terminal
US7251477B2 (en) Method for storing and reproducing a voice message in a mobile telephone
JP2008092205A (en) Mobile communication terminal device
KR20030073824A (en) A method and apparatus for upgrading a system firmware by using an universal serial bus
KR20030057991A (en) Method of storing an image data in a mobile phone
US20080294851A1 (en) Method, apparatus, computer program product, and system for management of shared memory
JP4485231B2 (en) Electronics
KR100678081B1 (en) Mass storage data file management method of mobile communication terminal
JP5376551B2 (en) Flash memory system, electronic device, and portable terminal device
KR100455768B1 (en) Animation method in a mobile phone
US6510316B2 (en) Wireless communication apparatus
KR100678656B1 (en) Method for Updating Database of Mobile Communication Terminal by Using Temporary Area of Memory and Mobile Communication Terminal Therefor
KR20000040307A (en) Method for storing telephone directory of high capacity
KR20020003333A (en) Font download system and method for the portable wireless terminal
KR100613071B1 (en) Method for managing memory in a mobile communication terminal
WO2008054132A1 (en) Terminal having platform library dynamic linking function and method of controlling the same
JPH0548704A (en) Calling device with telephone directory data function
KR100652671B1 (en) Portable communication terminal and method for drawing up a character message
KR20030010249A (en) Method of storing a short message in a mobile terminal
KR20040041216A (en) Memory map setting method for mobile terminal
JP2001250387A (en) Data processor and storage medium
JP4312002B2 (en) Application storage area securing method, mobile communication terminal apparatus, and application storage area securing program

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination