WO2008044864A1 - Gestion de l'attribution de mémoire pour des plate-formes de terminal mobile - Google Patents

Gestion de l'attribution de mémoire pour des plate-formes de terminal mobile Download PDF

Info

Publication number
WO2008044864A1
WO2008044864A1 PCT/KR2007/004932 KR2007004932W WO2008044864A1 WO 2008044864 A1 WO2008044864 A1 WO 2008044864A1 KR 2007004932 W KR2007004932 W KR 2007004932W WO 2008044864 A1 WO2008044864 A1 WO 2008044864A1
Authority
WO
WIPO (PCT)
Prior art keywords
platform
heap
region
memory
heap memory
Prior art date
Application number
PCT/KR2007/004932
Other languages
English (en)
Inventor
Jong Bae Kim
Hoo Jong Kim
Original Assignee
Sk Telecom Co., Ltd.
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 Sk Telecom Co., Ltd. filed Critical Sk Telecom Co., Ltd.
Publication of WO2008044864A1 publication Critical patent/WO2008044864A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Definitions

  • the present invention relates to allocation of a memory size required by a platform of a mobile communication terminal, and more particularly, to an apparatus for and method of managing memory allocation for platforms of a mobile terminal to preferentially secure and allocate a heap memory region required by a system platform.
  • a mobile communication terminal is a high-tech communication device that wirelessly connects with a desired counterpart and communicates with the counterpart while freely moving in a service area formed by a base station system.
  • the mobile communication terminal is compact for mobility and portability.
  • the operation efficiency of the mobile communication terminal is low because a period of time for which the mobile communication terminal is directly used for communication is practical.
  • a user carries the mobile communication terminal all the time because it is difficult to estimate when and where communication is carried out.
  • the mobile communication terminal includes a hardware structure such as a small computer and the communication function which is a basic function of the mobile communication terminal is set to a standby state all the time and detects a received communication signal which is randomly generated.
  • the mobile communication terminal is a kind of an embedded system which processes various functions in real time and allocates a memory size or a memory region to each platform such that each platform records information, which is generated by real-time processing, in real time.
  • the system platform for a basic operation and the application platform for operations of various additional services are added to the mobile communication terminal.
  • a platform corresponding to the function must be loaded and booted and corresponding data must be recorded.
  • a RAM Random Access Memory
  • the memory region used to record and delete the data is referred to as a heap memory region.
  • the mobile communication terminal has a restricted small-capacity memory because of mobility and portability, and thus various techniques for allocating and managing a limited small-capacity heap memory have been proposed.
  • the techniques for allocating and managing the limited small-capacity heap memory include a sequential memory allocation method and a buddy memory allocation method.
  • the sequential memory allocation method searches a heap memory from the beginning of the heap memory for a memory region having a requested size and, when there is an empty region corresponding to the memory region having the requested size, allocates the empty region to the memory region. In this case, a relatively long period of time is required for memory allocation.
  • the buddy memory allocation method includes a buddy free list, searches the buddy free list for the address of a memory corresponding to a required memory size and allocates the memory of the searched address.
  • the buddy memory allocation method generates fragmentation that only a part of the allocated memory is used and another part of the allocated memory is not used.
  • the heap memory region of the mobile communication terminal is divided into a system heap region for a basic function and other important functions and an application heap region for the application platform.
  • the system heap region for the basic function must be secured and the application heap region has allocation priority lower than that of the system heat region because the application heap region is required for additional services.
  • the present invention has been made to solve the above-mentioned problems occurring in the conventional art, and a primary object of the present invention is to provide an apparatus for and method of preferentially securing and allocating a heap memory region required to operate a system platform of a mobile communication terminal in order to stably operate a basic function of the mobile com- munication terminal.
  • a memory region is preferentially allocated to a system platform such that the mobile communication terminal is stably operated.
  • FIG.1 illustrates a functional configuration of an apparatus of managing memory allocation for platforms of a mobile terminal according to the present invention
  • FIG. 2 illustrates a variable position state of a limit pointer of a heap memory according to the present invention
  • FIG. 3 is a flow chart of a method of managing memory allocation for platforms of a mobile terminal according to the present invention. Best Mode for Carrying Out the Invention
  • an apparatus of managing memory allocation for platforms of a mobile terminal comprising: a modem processor for performing control and monitoring to load a platform selected according to a control command, confirm a required heap memory size, move a limit pointer to preferentially secure a memory region having a size required by a system platform, and allocate the secured memory region to the system platform; a memory allocation unit for booting the selected platform, allocating a heap memory region having a size required by the selected platform to the platform, preferentially securing a heap memory region required by the system platform and allocating the heap memory region to the system platform, variably moving the limit pointer to divide a heap memory into a system heap region and an application heap region under the control of the modem processor; and a heap memory unit for preferentially allocating a memory region designated by the limit pointer to the system memory and allocating the remaining memory region to an application platform under the control of the memory allocation unit.
  • a method of managing memory allocation for platforms of a mobile terminal comprising: a con- firmation step of confirming the size of a heap memory unit and a heap memory size to be allocated to an executed platform and confirming whether the executed platform is a system platform or an application platform; a system step of moving a limit pointer to a position corresponding to an extending state to additionally secure a memory region and allocating the secured memory region to the executed platform when the executed platform corresponds to the system platform and the heap memory size to be allocated to the executed platform is larger than a system heap region; and an application step of allocating a memory region required by the executing platform among a heap memory region ranging from one end of the heap memory unit to the limit pointer of the application heap region to the executed platform when the executed platform corresponds to the application platform.
  • a terminal which uses the apparatus of managing memory allocation for platforms of a mobile terminal transmits and receives an audio signal and a data signal while freely moving in a service area formed by a mobile communication system.
  • the terminal can be a mobile terminal, a PDA, a notebook computer, and a data terminal.
  • the terminal includes programs or platforms for performing various functions. To execute each platform, a corresponding program is loaded and booted and a memory for storing a required parameter and generated data is needed.
  • the memory required by an executed platform is referred to as a heap memory.
  • the terminal is manufactured in a compact structure for portability and mobility, and thus the terminal generally includes limited resources including the heap memory.
  • a plurality of platforms commonly use the heap memory having a limited capacity.
  • the present invention preferentially allocates a heap memory region required for a program of a system platform which is essential for operating a basic function of the terminal among the entire heap memory, and then allocates the remaining heap memory region to an application platform.
  • FIG. 1 illustrates a functional configuration of the apparatus of managing memory allocation for platforms of a mobile terminal according to the present invention.
  • the apparatus of managing memory allocation for platforms of a mobile terminal according to the present invention includes a key input unit 10, a modem processor 20, a memory allocation unit 30, and a heap memory unit 70.
  • the key input unit 10 receives a control command for controlling the operation of a mobile communication terminal and executing a platform for operating a service selected from searched services. That is, the key input unit 10 receives the control command for selecting and executing a platform providing a service.
  • the modem processor 20 controls and monitors the operation of the terminal.
  • the modem processor 20 performs control and monitoring to load and execute a selected platform and adjust the size of a heap memory to allocate a memory region having a required size.
  • the memory allocation unit 30 includes a platform loading part 60 for loading and booting a selected platform, a heap allocation part 50 for allocating a heap memory region having a size required by the selected platform, and a limit pointer part 40 for variably extending a system region of the heap memory.
  • the heap memory unit 70 includes a heap memory that platforms require.
  • the heap memory unit 70 moves a limit pointer under the control of the modem processor and the memory allocation unit to extend a system region of the heap memory or return the extended system region to the original state.
  • the heap memory unit 70 is divided into a system heap region and an application heap region by the limit pointer.
  • FIG. 2 illustrates a variable position state of the limit pointer of the heap memory according to the present invention.
  • the heap memory unit 70 is divided into the system heap region and the application heap region by the limit pointer.
  • the limit pointer is variably moved under the control of the limit pointer part 40 monitored by the modem processor 20.
  • the system heap region corresponds to a region ranging from the left end of the heap memory unit 70 to the limit pointer and the application heap region corresponds to a region ranging from the limit pointer to the right end of the heap memory unit 70.
  • the system heap region can occupy the entire application heap region if required.
  • the system heap region and the application heap region are located opposite to each other and varied by the limit pointer. A minimum size of the system heap region is secured while a minimum size of the application heap region is not secured.
  • the limit pointer prevents the system heap region from being allocated to the application heap region and is moved to the application heap region when a heap memory region to be allocated to the system platform is insufficient to additionally secure the system heap memory region.
  • the application heap region when the limit pointer is moved to extend the system heap region, the application heap region must have a marginal region occupied by the system heap region.
  • the modem processor 20 controls the memory allocation unit 30 to execute a platform corresponding to the selected service.
  • the memory allocation unit 30 is operated in such a manner that the platform loading part 60 loads and boots the corresponding platform from the heap memory unit 70, checks whether the platform is a system platform or an application platform, and confirm a heap memory size (or capacity) required by the executed platform.
  • the heap allocation part 50 analyzes information provided by the platform loading part 60 to confirm whether the loaded and booted platform is a system platform or an application platform and, simultaneously, confirms the memory size to be allocated to the platform.
  • the heap allocation part 50 allocates a memory region having the size requested by the platform when a designated region of the heap memory unit 70 has a marginal region.
  • the heap allocation part 50 notifies the modem processor 20 that the system region of the heap memory unit 70 is insufficient.
  • the modem processor 20 searches the application heap region of the heap memory unit 70 and controls the limit pointer unit 40 to move the limit pointer to the application heap region when it is confirmed that the application heap region has a marginal region. That is, the system heap region can be extended to occupy the application heap region, and the application heap region is relatively reduced.
  • a heap memory region is preferentially allocated to the system platform and, simultaneously, an application program is prevented from occupying the heap memory region according to the limit pointer.
  • the limit pointer is moved to the application heap region such that the system heap region additionally occupies the heap memory unit 70. Furthermore, when the execution of the corresponding plat form is completed, the application heap region occupied by the system heap region is returned and the limit pointer is returned to the original position.
  • FIG. 3 is a flow chart of a method of managing memory allocation for platforms of a mobile terminal according to the present invention. The method of managing memory allocation for platforms of a mobile terminal will be explained with reference to FIGS. 1 and 3.
  • the modem processor 20 confirms whether the terminal is operated in step SlOO.
  • the modem processor 20 monitors the memory allocation unit 30 to confirm the size of a heap memory and the size of a memory region required by an executed platform in step Sl 10.
  • the modem processor 20 confirms whether the executed platform is a program according to the system platform in step S 120.
  • the modem processor 20 confirms whether a heap memory region to be allocated to the executed platform is larger than a current marginal memory region of a system heap region in step S 130.
  • the modem processor 20 controls and monitors the limit pointer part 40 of the memory allocation unit 50 to vary the position of the limit pointer of the heap memory unit 70 such that the limit pointer is moved to a position corresponding to an extending state to add a required memory region to the system heap memory region in step S 140.
  • the modem processor 20 which controls and monitors the operation of additionally securing the system heap region controls the memory allocation unit 30 to allocate the memory region to the executed platform program in step S 150.
  • the memory allocation unit 30 searches the heap memory for the limit pointer located in the application heap region and allocates a memory region to the application platform when the heap memory has a marginal region in step S 170.
  • a limited heap memory region of the terminal is divided into a system region and a heap region by the limit pointer and a memory region is preferentially allocated to the system platform. Accordingly, a basic function of the terminal can be stably executed.
  • the present invention can also be embodied as computer readable codes on a computer readable recording medium.
  • the computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet).
  • ROM read-only memory
  • RAM random-access memory
  • CD-ROMs compact discs
  • magnetic tapes magnetic tapes
  • floppy disks optical data storage devices
  • carrier waves such as data transmission through the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Memory System (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

Dispositif et procédé de gestion de l'attribution de mémoire pour des plate-formes de terminal mobile. Le procédé englobe les étapes suivantes: confirmation de la capacité disponible d'une unité de mémoire de tas et du volume de mémoire de tas à attribuer à une plate-forme exécutée et confirmation du type la plate-forme - système ou application; opération système consistant à amener un pointeur de limite sur une position permettant de mieux sécuriser une région de la mémoire et d'attribuer cette région de mémoire sécurisée à la plate-forme exécutée lorsque cette dernière correspond à la plate forme système et que le volume de la mémoire de tas à attribuer est plus important que la région de tas du système; et opération d'application consistant à attribuer une région de mémoire requise par la plate-forme d'exécution au sein de la région de mémoire de tas allant d'une extrémité de l'unité de mémoire tas au pointeur de limite de la région de tas d'application lorsque la plate-forme exécutée correspond à la plate-forme d'application. L'attribution d'une région de mémoire au système se fait de préférence pour que le terminal bénéficie d'un fonctionnement stable.
PCT/KR2007/004932 2006-10-13 2007-10-10 Gestion de l'attribution de mémoire pour des plate-formes de terminal mobile WO2008044864A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2006-0099672 2006-10-13
KR1020060099672A KR20080033691A (ko) 2006-10-13 2006-10-13 단말기의 플랫폼 메모리 관리 장치 및 방법

Publications (1)

Publication Number Publication Date
WO2008044864A1 true WO2008044864A1 (fr) 2008-04-17

Family

ID=39283026

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2007/004932 WO2008044864A1 (fr) 2006-10-13 2007-10-10 Gestion de l'attribution de mémoire pour des plate-formes de terminal mobile

Country Status (2)

Country Link
KR (1) KR20080033691A (fr)
WO (1) WO2008044864A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020038195A (ko) * 2000-11-16 2002-05-23 최건 휴대용 정보 기기에 다중 처리 운영 체제를 탑재한 경우의메모리 관리 기법
KR20050015742A (ko) * 2003-08-07 2005-02-21 주식회사 팬택 이동 통신 단말기의 멀티미디어 메모리 관리 방법
EP1607863A2 (fr) * 2004-05-19 2005-12-21 Sun Microsystems, Inc. Système et procédé pour l' allocation de mémoire
US7024436B2 (en) * 2000-11-06 2006-04-04 International Business Machines Corporation Computer system with two heaps in contiguous storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7024436B2 (en) * 2000-11-06 2006-04-04 International Business Machines Corporation Computer system with two heaps in contiguous storage
KR20020038195A (ko) * 2000-11-16 2002-05-23 최건 휴대용 정보 기기에 다중 처리 운영 체제를 탑재한 경우의메모리 관리 기법
KR20050015742A (ko) * 2003-08-07 2005-02-21 주식회사 팬택 이동 통신 단말기의 멀티미디어 메모리 관리 방법
EP1607863A2 (fr) * 2004-05-19 2005-12-21 Sun Microsystems, Inc. Système et procédé pour l' allocation de mémoire

Also Published As

Publication number Publication date
KR20080033691A (ko) 2008-04-17

Similar Documents

Publication Publication Date Title
US8260354B2 (en) Operating device and method for universal IC card
US8028127B2 (en) Automated on-line capacity expansion method for storage device
CN101287187A (zh) 智能手机及其操作系统运行方法
EP3506106B1 (fr) Procédé de traitement d'application, dispositif électronique et support d'informations lisible par ordinateur
US20040060041A1 (en) System and method for jointly managing dynamically generated code and data
US20070266231A1 (en) Portable Electronic Device and Method for Loading Resource Data of the Portable Electronic Device
JP2007026094A (ja) 実行装置およびアプリケーションプログラム
KR20120102664A (ko) 미래 사용 추정에 기반한 저장 메모리 할당
US20130054929A1 (en) Mobile terminal and operation method for the same based on memory state changes
CN102667714B (zh) 支持访问由操作系统环境外的资源提供的功能的方法和系统
CN101404027A (zh) 一种文件管理方法、系统及设备
CN113032099B (zh) 云计算节点、文件管理方法及装置
EP4328705A1 (fr) Procédé d'agencement d'espace de stockage et dispositif électronique
CN109992399B (zh) 资源管理方法、装置、移动终端及计算机可读存储介质
CN100544471C (zh) 扩展移动终端的存储空间的方法和系统
CN100470481C (zh) 用于在虚拟机中进行延续传递的方法和设备
US7681009B2 (en) Dynamically updateable and moveable memory zones
CN100383738C (zh) 一种便携终端的程序动态载入装置及方法
WO2022227997A1 (fr) Procédé de demande de mémoire et dispositif associé
JP4839749B2 (ja) コンピュータ、携帯端末装置、電力制御方法、電力制御プログラム
WO2008044864A1 (fr) Gestion de l'attribution de mémoire pour des plate-formes de terminal mobile
EP2077498B1 (fr) Système et procédé de gestion de mémoire d'un dispositif mobile
US9800658B2 (en) Servers and methods for controlling a server
JP5103954B2 (ja) メモリ管理装置、メモリ管理方法およびプログラム
CN102077169A (zh) 处理计算设备中的消息

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07833243

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS EPO FORM 1205A DATED 06.08.2009.

122 Ep: pct application non-entry in european phase

Ref document number: 07833243

Country of ref document: EP

Kind code of ref document: A1