[go: up one dir, main page]

KR20070075769A - Memory management method of mobile communication terminal - Google Patents

Memory management method of mobile communication terminal Download PDF

Info

Publication number
KR20070075769A
KR20070075769A KR1020060004392A KR20060004392A KR20070075769A KR 20070075769 A KR20070075769 A KR 20070075769A KR 1020060004392 A KR1020060004392 A KR 1020060004392A KR 20060004392 A KR20060004392 A KR 20060004392A KR 20070075769 A KR20070075769 A KR 20070075769A
Authority
KR
South Korea
Prior art keywords
block
size
space
storage space
memory
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
KR1020060004392A
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 KR1020060004392A priority Critical patent/KR20070075769A/en
Publication of KR20070075769A publication Critical patent/KR20070075769A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N7/00Peeling vegetables or fruit
    • A23N7/02Peeling potatoes, apples or similarly shaped vegetables or fruit
    • A23N7/023Peeling potatoes, apples or similarly shaped vegetables or fruit one by one
    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N7/00Peeling vegetables or fruit
    • A23N7/08Peeling vegetables or fruit for peeling fruit and removing seed-containing sections
    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N7/00Peeling vegetables or fruit
    • A23N7/10Driving mechanisms
    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N15/00Machines or apparatus for other treatment of fruits or vegetables for human purposes; Machines or apparatus for topping or skinning flower bulbs
    • A23N15/02Machines or apparatus for other treatment of fruits or vegetables for human purposes; Machines or apparatus for topping or skinning flower bulbs for stemming, piercing, or stripping fruit; Removing sprouts of potatoes
    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N7/00Peeling vegetables or fruit
    • A23N7/02Peeling potatoes, apples or similarly shaped vegetables or fruit
    • A23N7/023Peeling potatoes, apples or similarly shaped vegetables or fruit one by one
    • A23N7/026Peeling machines therefor with rotary fruit holding spindles and fixed or movable peeler blades

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Polymers & Plastics (AREA)
  • Telephone Function (AREA)

Abstract

본 발명은 메모리의 관리방법에 관한 것으로서, 특히 이동통신 단말기의 작은 사이즈의 메모리를 동적으로 자주 할당하고 해제해야 하는 경우, 빠른 동작속도와 메모리의 공간사용을 효율적으로 하기 위한 이동통신 단말기의 메모리 관리 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory management method. In particular, when a small size memory of a mobile communication terminal needs to be dynamically allocated frequently and released, the memory management of a mobile communication terminal for efficient operation of a fast operating speed and memory space is required. It is about a method.

이동통신 단말기의 메모리 관리 방법은 이동통신 단말기의 메모리 관리 방법으로서, 미리 설정된 크기의 저장공간으로 블럭을 생성하는 제1단계, 상기 제1단계에서 할당된 블럭 내 저장공간에 외부의 신호에 따라 저장공간을 할당하는 제2단계, 상기 제2단계에서 상기 블럭의 저장공간이 부족한 경우, 할당하고자 하는 공간의 크기에 따라 결정되는 크기의 다른 블럭을 생성하고, 상기 다른 블럭 내 저장공간에 할당하는 제3단계를 포함하고, 새롭게 생성된 블럭의 저장공간이 부족한 경우 상기 제3단계를 반복하는 단계를 더 포함하는 것을 특징으로 한다.A memory management method of a mobile communication terminal is a memory management method of a mobile communication terminal, the first step of generating a block to a storage space of a predetermined size, the storage in the storage space in the block allocated in the first step according to the external signal A second step of allocating space, and if the storage space of the block is insufficient in the second step, generating another block having a size determined according to the size of the space to be allocated, and allocating it to the storage space in the other block. And including the third step, and repeating the third step if the storage space of the newly created block is insufficient.

Description

이동통신 단말기의 메모리 관리방법{MANAGING METHOD FOR MEMORY OF MOBILE}Memory management method of mobile communication terminal {MANAGING METHOD FOR MEMORY OF MOBILE}

도 1은 본 발명의 일실시예가 적용된 이동통신 단말기를 간략하게 보인 블럭도1 is a block diagram schematically showing a mobile communication terminal to which an embodiment of the present invention is applied;

도 2는 본 발명의 일실시예가 적용된 메모리의 관리방법을 설명하기 위해 간략도2 is a simplified diagram for explaining a method of managing a memory to which an embodiment of the present invention is applied;

도 3은 본 발명의 일실시예에 따른 이동통신 단말기의 메모리 관리방법을 설명하기 위한 플로우 챠트3 is a flowchart illustrating a memory management method of a mobile communication terminal according to an embodiment of the present invention.

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

10 조작부 20 외부 인터페이스10 Control panel 20 External interface

30 카메라 40 제어부30 Camera 40 Controls

50 메모리 60 RF 유닛50 memory 60 RF units

70 음성신호 처리부 80 음성 메모리70 Voice signal processor 80 Voice memory

본 발명은 메모리의 관리방법에 관한 것으로서, 특히 이동통신 단말기의 작은 사이즈의 메모리를 동적으로 자주 할당하고 해제해야 하는 경우, 빠른 동작속도 와 메모리의 공간사용을 효율적으로 하기 위한 이동통신 단말기의 메모리 관리 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory management method. In particular, when a small size memory of a mobile communication terminal needs to be allocated dynamically and frequently, the memory management of a mobile communication terminal for fast operating speed and efficient use of memory space is required. It is about a method.

근래에 이동통신 단말기는 음성통신 기능 이외에도 다양한 부가서비스를 제공하고 있다. 즉, 착발신 이력을 사용자에게 보여주는 기능, 다른 사람들의 전화번호를 저장하는 전화부 기능, 문자메세지 저장기능, 게임기능, 달력기능, 스케줄 관리 기능 등의 부가서비스를 제공하고 있다. Recently, mobile communication terminals provide various additional services in addition to voice communication functions. That is, it provides an additional service such as a function of showing the incoming / outgoing call history to the user, a phone book function to store other people's phone numbers, a text message storage function, a game function, a calendar function, and a schedule management function.

이러한 부가 서비스등을 제공하기 위해 이동통신 단말기는 부가 서비스 기능 실행시에 사용되는 데이터를 메모리의 데이터 영역에 저장하는데, 상기 데이터를 저장하기 위한 메모리는 데이터가 조작될 수 있기 전에 먼저 할당되어야 한다. 데이터가 더 이상 필요치 않을 때, 메모리는 할당해제(deallocate) 또는 프리(free)로 된다. 상기와 같은 메모리의 할당 및 할당해제를 통상적으로 메모리 관리라 칭한다. In order to provide such an additional service, the mobile communication terminal stores data used in executing the additional service function in a data area of the memory. The memory for storing the data must be allocated before the data can be manipulated. When the data is no longer needed, the memory is deallocated or free. Such allocation and deallocation of memory is commonly referred to as memory management.

메모리 관리는 사용 중이거나 또는 프리인 메모리들의 정보를 꾸준히 얻어내고, 이를 가능한 신속하게 행하는 것은 메모리를 운영하는 할당자(allocator)에 의해 수행된다. 이상적인 할당자는 공간 및 시간을 낭비하지 않고 메모리를 할당하고 프리로 한다. Memory management is constantly obtaining information of memories that are in use or free, and doing this as quickly as possible is performed by an allocator operating the memory. The ideal allocator allocates and frees memory without wasting space and time.

종래에는 메모리를 압축할 수 없고, 할당할 메모리를 결정하면, 그 결정을 변경할 수 없다. 결국, 그 공간을 요청했던 프로그램이 공간을 프리로하도록 선택할 때까지, 상기 공간은 접근 불가 영역으로 간주해야 한다. 따라서, 할당자는 현재 프리 상태인 메모리 공간만을 핸들링 할 수 있는 것이다. Conventionally, memory cannot be compressed, and once the memory to be allocated is determined, the decision cannot be changed. After all, the space must be considered inaccessible until the program requesting the space chooses to free the space. Thus, the allocator can only handle memory space that is currently free.

종래 작은 사이즈의 메모리를 빈번하게 연속적으로 할당하는 작업을 반복하면, 할당(malloc)과 해제(free)를 연속적으로 계속 반복해야 함으로써, 처리 속도가 저하되는 단점과 함께 할당된 공간에 의해 메모리의 공간분열이 발생하여 추후 큰 사이즈의 메모리를 할당할 공간이 부족한 경우가 발생하여 사용자에게 불편함을 초래하는 문제가 있다.In the case of repeating the operation of frequently allocating small size memory continuously, it is necessary to continuously repeat the allocation (malloc) and free (free), thereby reducing the processing speed. There is a problem that the user may be uncomfortable due to the occurrence of fragmentation and insufficient space to allocate a large size memory later.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 이동통신 단말기내 메모리를 일정크기의 블럭으로 미리 할당하고, 할당된 블럭에서 순서대로 원하는 용량만큼의 메모리를 사용하도록 하여 메모리의 접근이 용이하도록 하는 이동통신 단말기의 메모리 관리 방법을 제공하는데 그 목적이 있다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and the memory in the mobile communication terminal is pre-allocated as a block of a predetermined size, and the memory is accessed by using the memory of the desired capacity in order from the allocated blocks. It is an object of the present invention to provide a memory management method of a mobile communication terminal to facilitate this.

상기와 같은 목적을 달성하기 위한 이동통신 단말기의 메모리 관리 방법은 이동통신 단말기의 메모리 관리 방법으로서, 미리 설정된 크기의 저장공간으로 블럭을 생성하는 제1단계, 상기 제1단계에서 할당된 블럭 내 저장공간에 외부의 신호에 따라 저장공간을 마련하는 제2단계, 상기 제2단계에서 상기 블럭의 저장공간이 부족한 경우, 마련하고자 하는 공간의 크기에 따라 결정되는 크기의 다른 블럭을 생성하고, 상기 다른 블럭 내 저장공간에 마련하는 제3단계를 포함하고, 새롭게 생성된 블럭의 저장공간이 부족한 경우 상기 제3단계를 반복하는 단계를 더 포함하는 것을 특징으로 한다.A memory management method of a mobile communication terminal for achieving the above object is a memory management method of a mobile communication terminal, the first step of generating a block in a storage space of a predetermined size, the storage in the block allocated in the first step In the second step of providing a storage space according to an external signal in the space, if the storage space of the block is insufficient in the second step, another block having a size determined according to the size of the space to be prepared, And a third step of providing the storage space in the block, and repeating the third step if the storage space of the newly created block is insufficient.

또한, 본 발명의 이동통신 단말기의 메모리 관리 방법에서 상기 제3단계는, 마련하고자 하는 공간의 크기가 블록의 크기보다 큰 경우, 마련하고자 하는 공간의 크기와 동일한 크기로 블록을 생성하는 단계를 더 포함하는 것을 특징으로 한다.Further, in the memory management method of the mobile communication terminal of the present invention, when the size of the space to be provided is larger than the size of the block, the third step may further include generating a block having the same size as the size of the space to be prepared. It is characterized by including.

또한, 본 발명의 이동통신 단말기의 메모리 관리 방법에서 상기 제3단계는, 마련하고자 하는 공간의 크기가 블록의 크기보다 작고, 블록내 저장공간 보다 큰 경우, 상기 블록과 동일한 크기의 다른 블록을 생성하는 단계를 더 포함하는 것을 특징으로 하는 한다.Further, in the memory management method of the mobile communication terminal of the present invention, in the third step, when the size of the space to be prepared is smaller than the size of the block and larger than the storage space in the block, another block having the same size as the block is generated. It characterized in that it further comprises the step.

또한, 본 발명의 이동통신 단말기의 메모리 관리 방법에서 상기 새롭게 생성된 블럭의 맵핑 어드레스 정보는 이전 블럭에 기록되어 있는 특징을 더 포함하는 것을 특징으로 한다. Further, in the memory management method of the mobile communication terminal of the present invention, the mapping address information of the newly generated block may further include a feature recorded in the previous block.

이하에서는 첨부된 도면 1 및 2를 참조하여 본 발명의 일실시예가 적용된 이동통신 단말기를 예로 하여 설명한다. Hereinafter, a mobile communication terminal to which an embodiment of the present invention is applied will be described with reference to the accompanying drawings 1 and 2 as an example.

도 1은 본 발명의 일실시예가 적용된 이동통신 단말기를 간략하게 보인 블럭도이고, 도 2는 본 발명의 일실시예가 적용된 메모리의 관리방법을 설명하기 위해 간략도이고, 도 3은 본 발명의 일실시예에 따른 이동통신 단말기의 메모리 관리방법을 설명하기 위한 플로우 챠트이다. 1 is a block diagram schematically illustrating a mobile communication terminal to which an embodiment of the present invention is applied, FIG. 2 is a simplified view to explain a method of managing a memory to which an embodiment of the present invention is applied, and FIG. A flowchart for explaining a memory management method of a mobile communication terminal according to an embodiment.

도 1은 통상의 이동통신 단말기의 개략적인 블럭도이다. 도시된 바와 같이, RF유닛(60)은 기지국 사이에 송수신되는 신호를 무선 처리하는 역할을 수행한다. 예를 들면, RF유닛(60)은 베이스밴드의 송신신호를 무선 출력용의 고주파로 주파수 대역을(중간 주파수 변환 단계를 거칠 수도 있음) 천이시키고 이를 증폭하여 안테나(ANT)를 통해 무선 출력하며, 상기 안테나로부터 수신되는 고주파 신호를 베이스 밴드로(중간주파수 변환 단계를 거칠 수도 있음) 주파수 대역을 천이시킨다.1 is a schematic block diagram of a conventional mobile communication terminal. As shown, the RF unit 60 performs a radio processing of the signal transmitted and received between the base station. For example, the RF unit 60 transitions the baseband transmission signal to a high frequency frequency for radio output (may go through an intermediate frequency conversion step), amplifies it, and wirelessly outputs the antenna through the antenna ANT. The high frequency signal received from the antenna is shifted to the base band (which may go through an intermediate frequency conversion step).

제어부(40)는 상기 무선 처리된 해당 수신신호를 복조하고 해당 송신신호를 변조하여 RF유닛(60)에 전달하는 역할을 수행한다. 이러한 제어부(40)는 이동통신용으로 기설정되어 있는 방식으로 변/복조 동작을 수행하게 되는데, 예컨대 채널 코딩/디코딩, 직교 부호/복호 등의 CDMA 변/복조 동작을 수행할 수가 있다. 이러한 제어부(40)는 기본적으로 메모리부(50)에 저장된 제어 프로그램 데이타에 기초하여 단말기의 동작을 전반적으로 제어한다. 이러한 제어부(40)는 이미 공지된 바와 같이 일명 MSM 칩으로 불리기도 한다. 음성신호처리부(70)는 동작모드에 따라 마이크(MIC)를 통해 입력되는 음성 신호를 음성 인코딩을 포함하는 처리를 수행하여 상기 제어부(40)로 전달하거나 상기 제어부(40)의 제어에 따라 후술할 음성메모리(80)로 전달할 수도 있다. 아울러 음성신호처리부(20)는 상기 제어부(40)를 통해 복조된 음성신호에 대해 음성 디코딩을 포함하는 처리를 수행하여 스피커(SPK)를 통해 출력하기도 한다. 일반적으로 이러한 음성신호처리부(40)는 증폭기, 필터 등의 아날로그 회로와 아날로그/디지털 변환회로, 디지털/아날로그 변환회로 및 음성 압축/신장 모듈을 포함하는 펌웨어 모듈을 포함한다. 음성메모리(80)는 상기 제어부(40)에 의해 액세스 제어되며 다수의 음성메시지가 저장된다.The control unit 40 demodulates the radio signal, and transmits the demodulated signal to the RF unit 60. The controller 40 performs a modulation / demodulation operation in a manner preset for mobile communication. For example, the controller 40 may perform a CDMA modulation / demodulation operation such as channel coding / decoding and orthogonal code / decoding. The control unit 40 basically controls the overall operation of the terminal based on the control program data stored in the memory unit 50. The control unit 40 is also known as MSM chip as already known. The voice signal processor 70 performs a process including voice encoding of a voice signal input through a microphone MIC according to an operation mode, and transmits the voice signal to the controller 40 or will be described later under the control of the controller 40. It may be transferred to the voice memory 80. In addition, the voice signal processor 20 may perform a process including voice decoding on the demodulated voice signal through the controller 40 and output the same through the speaker SPK. Generally, the voice signal processor 40 includes an analog circuit such as an amplifier and a filter, and a firmware module including an analog / digital conversion circuit, a digital / analog conversion circuit, and a voice compression / extension module. The voice memory 80 is controlled by the control unit 40 and stores a plurality of voice messages.

한편 메모리부(50)는 단말기의 동작을 제어하기 위한 제어 프로그램 데이터가 저장되는 롬 영역과, 단말기 제어동작시 발생하는 데이터들이 일시 저장되는 램 영역 그리고 외장형 저장장치 영역, 예를 들면, 플래시 메모리로 구분되어 상기 제어부(40)에 의해 액세스 제어된다.Meanwhile, the memory unit 50 may include a ROM area in which control program data for controlling the operation of the terminal is stored, a RAM area in which data generated during the terminal control operation are temporarily stored, and an external storage device, for example, a flash memory. The access control is divided by the control unit 40.

사용자 인터페이스부의 하나인 표시부는 제어부(40)에 의해 발생되는 문자 데이타, 아바타, 바탕화면 등을 표시하여 준다. 또 하나의 사용자 인터페이스부 인 키 조작부(10)는 다이얼 및 번지 지정을 위한 다수의 숫자키와, 무선 인터넷 접속키와 같은 다수의 기능키를 포함하며 각 키 버튼 누름시마다 키데이터를 발생하여 상기 제어부(40)로 전송하여 준다. 카메라부(30)는 영상을 촬영하고 촬영된 영상 신호를 영상 인코딩을 포함하는 처리를 수행하여 제어부(40)로 전송하여 준다.The display unit, which is one of the user interface units, displays text data, an avatar, and a background screen generated by the controller 40. The key operation unit 10, which is another user interface unit, includes a plurality of numeric keys for dialing and addressing, and a plurality of function keys such as a wireless Internet access key, and generates key data for each key button press to generate the control unit. Send to 40. The camera unit 30 captures an image and transmits the photographed image signal to the controller 40 by performing a process including image encoding.

또한, 외부의 기기와의 연결을 위한 외부인터페이스(20)를 더 포함하여 MP3와 같은 음악파일의 업로딩/다운로딩이 가능하다.In addition, an external interface 20 for connecting to an external device is further included, and uploading / downloading of music files such as MP3 is possible.

이하에서는 상기 도 2와 도 3을 참조하여 본 실시예의 동작에 대해서 상세히 설명한다.Hereinafter, the operation of the present embodiment will be described in detail with reference to FIGS. 2 and 3.

먼저, 제어부(40)는 전체 메모리의 크기에 대해서 미리 설정된 크기로의 블록을 생성한다(S10). 도 2에 도시된 바와 같이 블럭(51,52,53)을 생성하는데, 상기 크기는 미리 설정되는 것으로 최초 생성되는 블럭(51)은 미리 설정된 크기로 결정되며, 이후 생성되는 블럭(52,53)은 저장 요청되는 데이터의 크기에 따라 결정된다.First, the controller 40 generates a block having a predetermined size with respect to the size of the entire memory (S10). As shown in FIG. 2, blocks 51, 52, and 53 are generated, and the size of the blocks 51, 52, and 53 is set in advance. Is determined according to the size of the data to be stored.

이후, 외부로부터 메모리의 사용요청이 입력되는지 판단하여(S20), 요청되면 할당 요청된 데이터의 크기(MD)와 생성된 최초 블럭(이하 제1블럭이라 함)의 저장공간의 크기(MB_S)를 비교한다(S30). 상기 비교에서 할당 요청된 데이터의 크기가 제1블럭의 저장공간 보다 크면, 할당 요청된 데이터의 크기와 제1블럭의 크기를 비교 하여(S50) 할당 요청된 데이터의 크기가 제1블럭의 크기 보다 크거나 같으면 상기 할당 요청된 데이터의 크기와 동일한 크기의 제2블럭을 생성하고, 상기 제2블럭에 상기 데이터를 기록한다. 이때, 상기 제2블럭의 어드레스 정보는 상기 제1블럭에 기록된다. 도 2를 참고해 보면, 할당 요청된 데이터의 크기가 10셀이라고 가정하면, 블럭(52)에 존재하는 여분의 공간은 4셀이므로 블럭(52)의 저장공간 보다 더 큰 데이터를 기록하여야 하는 것이다. 따라서, 새로운 블럭(53)을 생성하되, 상기 이전 블럭(52)와 동일한 크기로 생성하여 새로운 블럭(53)에 상기 10셀의 크기를 갖는 데이터를 저장하는 것이다. Subsequently, it is determined whether a memory use request is input from the outside (S20), and if requested, the size of the allocated requested data M D and the size of the storage space of the first block generated (hereinafter referred to as a first block) M B_S ) Is compared (S30). If the size of the allocated requested data is larger than the storage space of the first block in the comparison, the size of the allocated requested data is larger than the size of the first block by comparing the size of the allocated data with the size of the first block (S50). If it is equal to or greater than one, a second block having a size equal to the size of the allocated requested data is generated, and the data is recorded in the second block. At this time, the address information of the second block is recorded in the first block. Referring to FIG. 2, assuming that the size of the allocated requested data is 10 cells, the extra space existing in the block 52 is 4 cells, and thus data larger than the storage space of the block 52 should be recorded. Therefore, a new block 53 is generated, but the same size as that of the previous block 52 to store the data having the size of the 10 cells in the new block 53.

또한, 상기 단계(S30)에서 할당 요청된 데이터의 크기가 제1블럭의 저장공간 보다 작으면 상기 제1블럭의 저장공간에 상기 데이터를 기록한다.In addition, if the size of the data requested to be allocated in step S30 is smaller than the storage space of the first block, the data is recorded in the storage space of the first block.

한편, 상기 단계(S50)에서 할당 요청된 데이터의 크기가 제1블럭의 크기 보다 작으면 제1블럭과 동일한 크기의 제2블럭을 생성하고, 이에 상기 데이터를 저장한다. 이때에도 상기 제2블럭의 어드레스 정보는 상기 제1블럭에 기록되어, 전체 메모리의 할당해제시에 상기 제1블럭부터 순차적으로 해체가 가능하다.Meanwhile, if the size of the data requested to be allocated in step S50 is smaller than the size of the first block, a second block having the same size as the first block is generated, and the data is stored therein. In this case, the address information of the second block is recorded in the first block, and when the all memory is deallocated, the first block can be sequentially released.

상기와 같은 본 실시예는 XML 문서를 파싱하여 정보를 얻는 경우, 각각의 엘리먼트를 파싱하여 컨텐츠 정보를 얻고자 하는 경우, 메모리 할당이 빈번하게 이루어지게 될때, 메모리 할당과 해제 호출이 적어져 효율적으로 사용된다.In the present embodiment as described above, when parsing an XML document to obtain information, and when parsing each element to obtain content information, when memory allocation is frequently made, memory allocation and freeing calls are reduced. Used.

상기와 같은 본 발명은 메모리 할당시 마다 큰 블럭 단위로 메모리를 할당하고, 할당된 블럭내에 자유롭게 공간 할당이 가능하므로 기록 속도가 빨라지는 장점 이 있다.As described above, the present invention has advantages in that the memory is allocated in large block units every time memory is allocated and space is freely allocated in the allocated block.

또한, 새로운 블럭의 생성시 이전 블럭에 새로운 블럭의 맵핑 어드레스 정보를 기록하여 할당한 블럭의 일괄 해제(Free)가 가능함으로서, 효율적인 메모리의 사용이 가능해 진다.In addition, when the new block is created, the mapping block information of the new block is recorded in the previous block and the allocated blocks can be freed, thereby enabling efficient use of the memory.

앞에서 설명된 본 발명의 일실시예는 본 발명의 기술적 사상을 한정하는 것으로 해석되어서는 안된다. 본 발명의 보호범위는 청구범위에 기재된 사항에 의하여만 제한되고, 본 발명의 기술분야에서 통상의 지식을 가진자는 본 발명의 기술적 사상을 다양한 형태로 개량 변경하는 것이 가능하다. 따라서, 이러한 개량 및 변경은 통상의 지식을 가진자에게 자명한 것인 한 본 발명의 보호범위에 속하게 될 것이다.One embodiment of the present invention described above should not be construed as limiting the technical spirit of the present invention. The protection scope of the present invention is limited only by the matters described in the claims, and those skilled in the art can change and change the technical idea of the present invention in various forms. Therefore, such improvements and modifications will fall within the protection scope of the present invention as long as it will be apparent to those skilled in the art.

Claims (4)

이동통신 단말기의 메모리 관리 방법으로서, A memory management method of a mobile communication terminal, 미리 설정된 크기의 저장공간으로 블럭을 생성하는 제1단계,A first step of generating a block with a storage space having a preset size, 상기 제1단계에서 할당된 블럭 내 저장공간에 외부의 신호에 따라 저장공간을 마련하는 제2단계,A second step of providing a storage space in accordance with an external signal in the storage space within the block allocated in the first step; 상기 제2단계에서 상기 블럭의 저장공간이 부족한 경우, 마련하고자 하는 공간의 크기에 따라 결정되는 크기의 다른 블럭을 생성하고, 상기 다른 블럭 내 저장공간에 마련하는 제3단계를 포함하고,If the storage space of the block is insufficient in the second step, a third step of generating another block having a size determined according to the size of the space to be prepared, and providing in the storage space in the other block, 새롭게 생성된 블럭의 저장공간이 부족한 경우 상기 제3단계를 반복하는 단계를 더 포함하는 것을 특징으로 하는 이동통신 단말기의 메모리 관리 방법.And repeating the third step if the storage space of the newly created block is insufficient. 제1항에 있어서,The method of claim 1, 상기 제3단계는,The third step, 마련하고자 하는 공간의 크기가 블록의 크기보다 큰 경우, 마련하고자 하는 공간의 크기와 동일한 크기로 블록을 생성하는 단계를 더 포함하는 것을 특징으로 하는 이동통신 단말기의 메모리 관리 방법.If the size of the space to be provided is larger than the size of the block, generating a block with a size equal to the size of the space to be prepared; 제1항에 있어서,The method of claim 1, 상기 제3단계는,The third step, 마련하고자 하는 공간의 크기가 블록의 크기보다 작고, 블록내 저장공간 보다 큰 경우, 상기 블록과 동일한 크기의 다른 블록을 생성하는 단계를 더 포함하는 것을 특징으로 하는 이동통신 단말기의 메모리 관리 방법.If the size of the space to be provided is smaller than the size of the block and larger than the storage space in the block, generating another block having the same size as the block. 제1항 내지 제3항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 새롭게 생성된 블럭의 맵핑 어드레스 정보는 이전 블럭에 기록되어 있는 특징을 더 포함하는 것을 특징으로 하는 이동통신 단말기의 메모리 관리 방법.The mapping address information of the newly generated block further includes a feature recorded in a previous block.
KR1020060004392A 2006-01-16 2006-01-16 Memory management method of mobile communication terminal Withdrawn KR20070075769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060004392A KR20070075769A (en) 2006-01-16 2006-01-16 Memory management method of mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060004392A KR20070075769A (en) 2006-01-16 2006-01-16 Memory management method of mobile communication terminal

Publications (1)

Publication Number Publication Date
KR20070075769A true KR20070075769A (en) 2007-07-24

Family

ID=38500806

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060004392A Withdrawn KR20070075769A (en) 2006-01-16 2006-01-16 Memory management method of mobile communication terminal

Country Status (1)

Country Link
KR (1) KR20070075769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100965147B1 (en) * 2008-09-29 2010-06-23 에스케이씨앤씨 주식회사 Efficiently extending element files for mobile communication devices and storage device
US9697111B2 (en) 2012-08-02 2017-07-04 Samsung Electronics Co., Ltd. Method of managing dynamic memory reallocation and device performing the method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100965147B1 (en) * 2008-09-29 2010-06-23 에스케이씨앤씨 주식회사 Efficiently extending element files for mobile communication devices and storage device
US9697111B2 (en) 2012-08-02 2017-07-04 Samsung Electronics Co., Ltd. Method of managing dynamic memory reallocation and device performing the method

Similar Documents

Publication Publication Date Title
JP2022514038A (en) Uplink control information UCI transmission method and terminal
US20050054287A1 (en) Apparatus and method for dividing MMS message in a mobile terminal
US8374648B2 (en) Method for performing communication function in wireless terminal
KR20010056131A (en) User information transmission method using mobile telephone
KR20120062530A (en) Device and method for reducing consumption of electric current i n dual sim card terminal
KR100259914B1 (en) Method for controlling data syschronization in wireless multi-terminal
KR20070075769A (en) Memory management method of mobile communication terminal
CN116636178A (en) Uplink transmission instruction, determination method and device, communication device and storage medium
CN108702282A (en) Information indication, interpretation method and device, base station and user equipment
EP4106396A1 (en) Data transmission method, data transmission apparatus and storage medium
KR100350469B1 (en) Method for controlling memory in mobile terminal
JP3958326B2 (en) COMMUNICATION SYSTEM AND MOBILE COMMUNICATION TERMINAL DEVICE
KR100609283B1 (en) Message storage device and method in portable wireless terminal
JP2011077950A (en) Communication terminal, device selection program for the same
KR20060030269A (en) How to manage memory on your smartphone
KR100396273B1 (en) Apparatus and method for transmitting short message in mobile communication terminal
KR20030077307A (en) method for managing a data of the cellular-phone using an internet virtual space
JP2004096584A (en) Portable communication device
KR100594003B1 (en) How to copy memory to your phone
JPH11196027A (en) Wireless communication system
KR19980066070A (en) How to enable the display of call times in the memory redial list on your phone
JP2003188940A (en) Cellular phone and method of allotting storage region in cellular phone
KR20080089986A (en) Method and apparatus for transmitting a message in a mobile terminal
KR20000040556A (en) Method for moving memory data in cellular phone
KR20030046183A (en) Apparatus and method for managing data in electronic device

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20060116

PG1501 Laying open of application
PC1203 Withdrawal of no request for examination
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid