KR20100031835A - Apparatus and method for managing image resource - Google Patents

Apparatus and method for managing image resource Download PDF

Info

Publication number
KR20100031835A
KR20100031835A KR1020080090657A KR20080090657A KR20100031835A KR 20100031835 A KR20100031835 A KR 20100031835A KR 1020080090657 A KR1020080090657 A KR 1020080090657A KR 20080090657 A KR20080090657 A KR 20080090657A KR 20100031835 A KR20100031835 A KR 20100031835A
Authority
KR
South Korea
Prior art keywords
application
image
resource
memory
code image
Prior art date
Application number
KR1020080090657A
Other languages
Korean (ko)
Other versions
KR101503746B1 (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 KR1020080090657A priority Critical patent/KR101503746B1/en
Publication of KR20100031835A publication Critical patent/KR20100031835A/en
Application granted granted Critical
Publication of KR101503746B1 publication Critical patent/KR101503746B1/en

Links

Images

Classifications

    • 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
    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE: An image resource management device and method is provided so that an image resource which holds in common and can use is stored in the shared memory. The unnecessary memory use amount is reduced. CONSTITUTION: It extracts the same image resource of image from the resource memory corresponding to the application and the code image forming part(160) codes image resources. One code image is created. A shared memory(140) stores the code image. When the execute command about the first application is inputted, the resource controller(171) loads the code image corresponding to the first application among the code image saved in the shared memory.

Description

이미지 리소스 관리 장치 및 방법{APPARATUS AND METHOD FOR MANAGING IMAGE RESOURCE}Apparatus and method for managing image resources {APPARATUS AND METHOD FOR MANAGING IMAGE RESOURCE}

본 발명은 이미지 리소스 관리 장치 및 방법에 관한 것으로, 더욱 상세하게는 이미지 리소스로 인한 메모리 사용량을 절감시킬 수 있는 이미지 리소스 관리 장치 및 방법에 관한 것이다. The present invention relates to an image resource management apparatus and method, and more particularly, to an image resource management apparatus and method that can reduce the memory usage due to the image resource.

일반적으로 컴퓨터, 휴대용단말기 또는 이동통신단말기와 같은 전자기기는 하나 이상의 어플리케이션을 탑재한다.Generally, electronic devices such as computers, portable terminals or mobile communication terminals have one or more applications.

이러한 어플리케이션이 실행되어 화면에 표시되기 위해서는 사용자 인터페이스를 위한 메뉴와 같은 이미지 리소스가 필요한데, 각 어플리케이션은 실행에 필요한 이미지 리소스를 저장하는 메모리를 가진다. In order for such an application to be executed and displayed on a screen, an image resource such as a menu for a user interface is required, and each application has a memory for storing an image resource required for execution.

그러나, 각 어플리케이션에 대응되는 메모리에 저장된 이미지 리소스들 중에는 동일한 이미지 리소스가 존재한다. However, among the image resources stored in the memory corresponding to each application, the same image resource exists.

다시 말해, 어느 하나의 어플리케이션이 실행될 경우, 해당 어플리케이션에 대응되는 메모리에서 이미지 리소스를 추출하여 화면에 표시하므로, 이를 위해 각 어플리케이션의 실행에 필요한 이미지 리소스를 각각의 메모리에 저장함으로써 동일한 이미지 리소스가 존재하는 것이다. In other words, when one application is executed, the image resource is extracted from the memory corresponding to the application and displayed on the screen. For this purpose, the same image resource exists by storing the image resource necessary for executing each application in each memory. It is.

이에 따라, 전체 메모리 사용량이 증가하는 문제점이 생겼다.Accordingly, there is a problem that the total memory usage increases.

그래서, 상기와 같은 문제점을 해결하기 위해 본 발명의 목적은 공유하여 사용할 수 있는 이미지 리소스를 공유 메모리에 저장해 놓고 필요할 때 로딩하여 사용함으로써 불필요한 메모리 사용량을 줄일 수 있는 이미지 리소스 관리 장치 및 방법을 제공하는 데 있다. Accordingly, an object of the present invention to solve the above problems is to provide an image resource management apparatus and method that can reduce unnecessary memory usage by storing the image resources that can be shared and used in a shared memory and loading and using when necessary There is.

이에 따라, 본 발명에 따른 이미지 리소스 관리 장치는, 각 어플리케이션에 대응되는 리소스 메모리에서 동일한 이미지의 이미지 리소스를 추출하고, 추출된 이미지 리소스들을 코드화하여 하나의 코드 이미지를 생성하는 코드 이미지 생성부; 상기 코드 이미지 생성부에서 생성된 코드 이미지를 저장하는 공유 메모리; 및 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 공유 메모리에 저장된 코드 이미지 중 상기 제1어플리케이션에 대응되는 코드 이미지를 로딩하는 리소스 제어부;를 포함한다.Accordingly, the image resource management apparatus according to the present invention includes: a code image generation unit for extracting an image resource of the same image from a resource memory corresponding to each application and generating one code image by encoding the extracted image resources; A shared memory storing a code image generated by the code image generator; And a resource controller configured to load a code image corresponding to the first application among the code images stored in the shared memory when an execution command for the first application is input.

그리고, 상기 리소스 제어부는 상기 제1어플리케이션에 대한 실행 명령이 입력된 후, 상기 제1어플리케이션의 실행에 필요한 이미지 리소스 목록을 판단하여 상기 코드 이미지를 로딩하고, 상기 코드 이미지 이외의 이미지 리소스는 상기 제1어플리케이션에 대응되는 제1리소스 메모리에서 로딩하는 것을 특징으로 한다.After the execution command for the first application is input, the resource controller determines a list of image resources necessary for the execution of the first application to load the code image, and the image resources other than the code image are stored in the first image. It is characterized in that the loading in the first resource memory corresponding to one application.

그리고, 본 발명에 따른 이미지 리소스 관리 장치는, 휘발성 데이터를 저장 하는 캐시 메모리를 더 포함하고, 상기 리소스 제어부는 상기 공유 메모리에 저장된 코드 이미지 중 일정 횟수 이상 추출되는 코드 이미지가 상기 캐시 메모리에 저장되도록 하는 것을 특징으로 한다.In addition, the image resource management apparatus according to the present invention may further include a cache memory for storing volatile data, and the resource control unit may store the code image extracted a predetermined number of times among the code images stored in the shared memory in the cache memory. Characterized in that.

또한, 상기 리소스 제어부는 상기 코드 이미지 각각에 대해 레퍼런스 검사(Reference Check)를 하여 상기 각 어플리케이션의 실행에 필요한 코드 이미지가 상기 공유 메모리에서 삭제되지 못하도록 하는 것을 특징으로 한다.The resource controller may perform a reference check on each of the code images to prevent the code images necessary for executing the respective applications from being deleted from the shared memory.

상기 어플레이케이션은 웹 어플리케이션, 문자메시지 송수신 어플리케이션, 통합 사서함 어플리케이션, 통합 보관함 어플리케이션 및 전화번호부 어플리케이션 중 하나 이상을 포함하는 것을 특징으로 한다.The application may include one or more of a web application, a text message transmission and reception application, an integrated mailbox application, an integrated archive application, and a phonebook application.

한편, 본 발명에 따른 이미지 리소스 관리 방법은, 각 어플리케이션에 대응되는 리소스 메모리에서 동일한 이미지의 이미지 리소스를 추출하는 제1단계; 상기 추출된 동일한 이미지 리소스들을 코드화하여 하나의 코드 이미지를 생성하고, 생성된 코드 이미지를 공유 메모리에 저장하는 제2단계; 및 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대응되는 코드 이미지를 상기 공유 메모리에서 로딩하는 제3단계;를 포함한다.On the other hand, the image resource management method according to the invention, the first step of extracting the image resource of the same image in the resource memory corresponding to each application; Encoding the extracted same image resources to generate one code image and storing the generated code image in a shared memory; And a third step of loading a code image corresponding to the first application from the shared memory when an execution command for the first application is input.

그리고, 상기 제3단계는 상기 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대한 실행에 필요한 이미지 리소스 목록을 판단하는 단계, 상기 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대응되는 코드 이미지를 상기 공유 메모리에서 로딩하는 단계 및 상기 코드 이미지 이외에 필요한 상기 이미지 리소스는 상기 제1어플리케이션에 대응되는 제1 리소스 메모리에서 로딩하는 단계를 더 포함하는 것을 특징으로 한다.In the third step, when an execution command for the first application is input, determining a list of image resources required for execution of the first application, and when an execution command for the first application is input, And loading the code image corresponding to the first application from the shared memory and loading the necessary image resources other than the code image from the first resource memory corresponding to the first application. .

또한, 상기 코드 이미지 중 일정 횟수 이상 로딩되는 코드 이미지를 캐시 메모리에 저장하는 단계를 더 포함하는 것을 특징으로 한다.The method may further include storing the code image, which is loaded at least a predetermined number of times, in the cache memory.

따라서, 본 발명에 따르면, 하나 이상의 어플리케이션에 공유되는 이미지 리소스를 코드화하여 공유 메모리에 저장해 놓고 어플리케이션이 실행될 경우에 로딩하여 사용함으로써 종래와 같이 동일한 이미지의 이미지 리소스를 각 어플리케이션에 대응되는 메모리에 각각 저장할 필요가 없으므로 전체 메모리 사용량을 절감할 수 있게 된다. Therefore, according to the present invention, image resources shared by one or more applications are coded and stored in a shared memory, and loaded and used when an application is executed to store image resources of the same image in a memory corresponding to each application as in the prior art. There is no need to reduce overall memory usage.

또한, 일정 횟수 이상 자주 실행되는 어플리케이션의 이미지 리소스는 캐쉬 메모리에 일시 저장하여 더욱 빠르게 로딩하여 사용할 수 있게 된다. In addition, image resources of an application that is frequently executed more than a predetermined number of times may be temporarily stored in the cache memory to be loaded and used more quickly.

이하, 첨부한 도면을 참조하여 본 발명을 상세히 설명하도록 하겠다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

다만, 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략한다. However, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

도 1은 본 발명에 따른 이미지 리소스 관리 장치가 적용되는 이동통신단말기의 구성을 보여주는 블럭도이다. 1 is a block diagram showing the configuration of a mobile communication terminal to which the image resource management apparatus according to the present invention is applied.

도 1을 참조하면, 이동통신단말기는, 무선 통신부(110)와, 아날로그 음성처리부(120)와, 리소스 메모리(130)와, 공유 메모리(140), 캐시 메모리(150) 및 코드 이미지 생성부(160) 및 제어부(170)를 포함한다. 한편, 본 발명에 따른 이미지 리소스 관리 장치는 이동통신단말기뿐만 아니라 PMP(Portable Multimedia Player), PSP(PlayStation Portable) 등의 한 손으로 들고 다니며 이동 중에 입력 조작을 할 수 있도록 만들어진 소형의 단말 장치에 다 적용됨이 바람직하다. 또한, 상기 이동통신단말기의 구성은 본 발명을 설명하기 위한 일실시 예로 다른 구성을 더 포함할 수 있음은 자명한 사실이다.Referring to FIG. 1, the mobile communication terminal includes a wireless communication unit 110, an analog voice processing unit 120, a resource memory 130, a shared memory 140, a cache memory 150, and a code image generation unit ( 160 and the controller 170. On the other hand, the image resource management apparatus according to the present invention is not only a mobile communication terminal but also a small terminal device made to carry an input operation while moving with one hand such as a portable multimedia player (PMP), a PSP (PlayStation Portable), etc. Preferably applied. In addition, it is obvious that the configuration of the mobile communication terminal may further include another configuration as an embodiment for explaining the present invention.

무선 통신부(110)는 안테나(111)를 통해 무선으로 신호를 송수신하는 부로, 도면에 도시되지 않았지만, 듀플렉서와 송신부 및 수신부를 포함한다. 구체적으로 살펴보면, 듀플렉서는 안테나를 통해 무선으로 송수신되는 신호를 분리하고, 송신부는 소정의 중간주파수 신호를 무선주파수로 변환하여 상기 듀플렉서로 출력하며, 수신부는 안테나를 통해 수신되는 무선신호를 상기 듀플렉서를 통해 입력받아 소정의 중간주파수 신호로 변환하여 출력한다.The wireless communication unit 110 transmits and receives a signal wirelessly through the antenna 111. Although not shown in the drawing, the wireless communication unit 110 includes a duplexer, a transmitter, and a receiver. Specifically, the duplexer separates a signal transmitted and received wirelessly through an antenna, a transmitter converts a predetermined intermediate frequency signal into a radio frequency and outputs the duplexer, and a receiver outputs a radio signal received through the antenna to the duplexer. It receives through the input and converts the signal into a predetermined intermediate frequency signal.

아날로그 음성처리부(120)는 디지털 음성신호를 아날로그 음성신호로 변환하고 증폭하여 스피커(123)로 출력하거나, 마이크(121)로부터 입력되는 아날로그 음성신호를 증폭하여 디지털 음성신호로 변환한다. The analog voice processing unit 120 converts the digital voice signal into an analog voice signal and amplifies and outputs the digital voice signal to the speaker 123, or amplifies the analog voice signal input from the microphone 121 and converts the digital voice signal into a digital voice signal.

리소스 메모리(130)는 각 어플리케이션의 실행에 필요한 이미지 리소스를 저장하는 메모리로, 제1어플리케이션의 실행에 필요한 이미지 리소스를 저장하는 제1리소스 메모리(131)와 제2어플리케이션의 실행에 필요한 이미지 리소스를 저장하는 제2리소스 메모리(133) 및 제n어플리케이션의 실행에 필요한 이미지 리소스를 저장하는 제n리소스 메모리(135)를 포함한다. 상기 어플리케이션은 웹(web) 어플리케이션, 문자메시지 송수신 어플리케이션, 통합 사서함 어플리케이션, 통합 보관함 어플리케이션 및 전화번호부 어플리케이션 중 하나 이상을 포함한다. The resource memory 130 is a memory for storing image resources necessary for executing each application. The resource memory 130 stores image resources necessary for executing the first application memory 131 and the second application for storing the image resources required for the execution of the first application. A second resource memory 133 to store and an n-th resource memory 135 to store the image resources necessary for the execution of the n-th application. The application includes one or more of a web application, a text message transmission and reception application, an integrated mailbox application, an integrated archive application, and a phonebook application.

공유 메모리(140)는 코드화된 코드 이미지를 저장한다. Shared memory 140 stores the coded code image.

캐시 메모리(cache)(150)는 데이터를 일시 저장하는데, 즉, 휘발성 데이터를 저장한다.The cache 150 temporarily stores data, that is, stores volatile data.

코드 이미지 생성부(160)는 각 어플리케이션에 대응되는 리소스 메모리(130)에서 동일한 이미지의 이미지 리소스를 추출하고, 추출된 이미지 리소스들을 코드화하여 하나의 코드 이미지를 생성한다. 그리고, 생성된 코드 이미지를 상기 공유 메모리(140)에 저장한다.The code image generator 160 extracts an image resource of the same image from the resource memory 130 corresponding to each application and generates one code image by encoding the extracted image resources. The generated code image is stored in the shared memory 140.

제어부(170)는 상기 각 부를 제어하고, 이미지 리소스의 로딩을 제어하는 리소스 제어부(171)를 더 포함한다.The controller 170 further includes a resource controller 171 for controlling each unit and controlling loading of an image resource.

리소스 제어부(171)는 제1어플리케이션에 대한 실행 명령이 입력될 경우, 제1어플리케이션의 실행에 필요한 이미지 리소스 목록을 판단한다. 그리고, 상기 이미지 리소스 목록 판단결과, 제1어플리케이션의 실행에 필요한 코드 이미지는 상기 공유 메모리(140)로부터 로딩하고, 제1어플리케이션의 실행에 필요한 이미지 리소스는 제1리소스 메모리(131)로부터 로딩한다. When the execution command for the first application is input, the resource controller 171 determines an image resource list required for executing the first application. As a result of the determination of the image resource list, the code image necessary for the execution of the first application is loaded from the shared memory 140, and the image resource necessary for the execution of the first application is loaded from the first resource memory 131.

또한, 리소스 제어부(171)는 일정 횟수 이상 로딩되는 상기 코드 이미지 또는 상기 리소스 이미지를 상기 캐시 메모리(150)에 저장한다. 이에 따라, 캐시 메 모리(150)로부터 코드 이미지 또는 리소스 이미지를 로딩함으로써 로딩 속도가 빨라지게 된다.In addition, the resource controller 171 stores the code image or the resource image loaded in the cache memory 150 more than a predetermined number of times. Accordingly, the loading speed is increased by loading the code image or the resource image from the cache memory 150.

한편, 리소스 제어부(171)는 상기 코드 이미지 각각에 대해 레퍼런스 검사(Reference Check)를 하여 하나 이상의 어플리케이션에 공유되는 코드 이미지가 상기 공유 메모리(140)에서 삭제되지 못하도록 한다. Meanwhile, the resource controller 171 performs a reference check on each of the code images to prevent a code image shared by one or more applications from being deleted from the shared memory 140.

본 발명에 대해 도 2를 참조하여 예를 들어 설명하면, 웹 어플리케이션이 탑재된 이동통신단말기의 경우, 웹 페이지를 실행할 수 있는 웹 어플리케이션은 웹 뷰어 방식의 웹 뷰어 어플리케이션 또는 풀 브라우저 방식의 풀 브라우저 어플리케이션으로 구분된다. For example, the present invention will be described with reference to FIG. 2. In the case of a mobile communication terminal equipped with a web application, a web application capable of executing a web page may be a web viewer type web viewer application or a full browser type full browser application. Separated by.

이때, 웹 뷰어 어플리케이션과 풀 브라우저 어플리케이션은 어플리케이션의 종류는 다르지만, 웹 뷰어 어플리케이션과 풀 브라우저 어플리케이션 각각에 사용되는 이미지 리소스들은 거의 동일하다.In this case, the web viewer application and the full browser application have different types of applications, but the image resources used in the web viewer application and the full browser application are almost the same.

이에 따라, 웹 뷰어 어플리케이션을 실행하거나 또는 풀 브라우저 어플리케이션을 실행할 경우, 도 2에 도시된 바와 같이, 웹 페이지가 화면에 표시되게 되는데, 현재 웹 페이지를 알려주는 이름 이미지(10), 주소를 입력하는 영역을 알리기 위한 주소입력 이미지(20), 화살표 아이콘 이미지(30), 간편하게 주소를 선택할 수 있도록 하는 주소 아이콘 이미지들('Google', 'NAVER', 'DAUM', 'YAHOO!')(40) 및 하단에 웹 페이지를 제어할 수 있는 제어메뉴 아이콘 이미지들(50)은 모두 웹 뷰어 어플리케이션과 풀 브라우저 어플리케이션에 동일하게 사용되는 이미지 리소스에 해당한다.Accordingly, when the web viewer application or the full browser application is executed, the web page is displayed on the screen as shown in FIG. 2, and the name image 10 indicating the current web page and the address are inputted. Address input image 20 for indicating the area, arrow icon image 30, address icon images for easy address selection ('Google', 'NAVER', 'DAUM', 'YAHOO!') (40) And control menu icon images 50 capable of controlling a web page at the bottom correspond to image resources that are used in the same way for the web viewer application and the full browser application.

이때, 웹 뷰어 어플리케이션에 해당되는 이미지 리소스들은 a리소스 메모리에 저장되고, 풀 브라우저 어플리케이션에 해당되는 이미지 리소스들은 b리소스 메모리에 저장된다. 이에 따라, 웹 뷰어 어플리케이션에 대한 실행 명령이 입력될 경우, a리소스 메모리에 저장된 이미지 리소스들이 로딩되고, 풀 브라우저 어플리케이션에 대한 실행 명령이 입력될 경우, b리소스 메모리에 저장된 이미지 리소스들이 로딩되게 된다. At this time, the image resources corresponding to the web viewer application are stored in the a resource memory, and the image resources corresponding to the full browser application are stored in the b resource memory. Accordingly, when an execution command for a web viewer application is input, image resources stored in a resource memory are loaded. When an execution command for a full browser application is input, image resources stored in a resource memory are loaded.

만약, 이미지 리소스 하나가 300Kbyte의 크기를 가지고, a리소스 메모리(미도시)와 b리소스 메모리(미도시) 각각에 동일한 이미지 리소스가 10개라 가정하면, 300Kbyte*10=3Mbyte 이므로, a리소스 메모리와 b리소스 메모리의 사용량은 각각 3Mbyte이고, 합산 사용량은 6Mbyte가 된다. If one image resource has a size of 300 Kbytes and 10 identical image resources exist in each of resource a (not shown) and resource b (not shown), a resource memory and b are 300 Kbytes * 10 = 3 Mbytes. The resource memory usage is 3Mbytes each, and the total usage amount is 6Mbytes.

그러나, 본 발명에 따르면, 코드 이미지 생성부(160)가 a리소스 메모리와 b리소스 메모리에 각각 저장된 동일한 이미지의 이미지 리소스를 코드화하여 10개의 코드 이미지를 생성하고, 생성된 10개의 코드 이미지를 공유 메모리(140)에 저장하므로 a리소스 메모리와 b리소스 메모리 각각의 사용량은 0byte가 되고, 공유 메모리(140) 사용량은 3Mbyte가 된다.However, according to the present invention, the code image generation unit 160 generates 10 code images by encoding image resources of the same image respectively stored in the a resource memory and the b resource memory, and generates the 10 code images in the shared memory. Since it is stored at 140, the usage of each of the a and b resource memories becomes 0 bytes, and the shared memory 140 uses 3 Mbytes.

결국, 동일한 이미지 리소스를 하나의 코드 이미지로 생성하고, 생성된 코드 이미지를 공유 메모리(140)에 저장하여 공유하여 사용함으로써 메모리 사용량을 절감할 수 있게 되는 것이다.As a result, it is possible to reduce the memory usage by generating the same image resource as one code image, by storing the generated code image in the shared memory 140 and sharing and using it.

도 3은 본 발명에 따른 이미지 리소스 관리 방법을 보여주는 흐름도이다.3 is a flowchart illustrating an image resource management method according to the present invention.

이미지 리소스 관리 장치는 각 어플리케이션에 대응되는 리소스 메모리(130)에서 동일한 이미지의 이미지 리소스를 추출하고(S301), 추출된 이미지 리소스를 코드화하여 코드 이미지를 생성하며(S303), 생성된 코드 이미지를 공유 메모리(140)에 저장한다(S305). The image resource management apparatus extracts an image resource of the same image from the resource memory 130 corresponding to each application (S301), generates a code image by encoding the extracted image resource (S303), and shares the generated code image. Stored in the memory 140 (S305).

이미지 리소스 관리 장치는 제1어플리케이션에 대한 실행 명령이 입력될 경우(S307), 상기 제1어플리케이션의 실행에 필요한 이미지 리소스 목록을 판단한다(S309). When the execution command for the first application is input (S307), the image resource management apparatus determines an image resource list necessary for executing the first application (S309).

그리고, 이미지 리소스 관리 장치는 상기 이미지 리소스 목록을 판단한 결과에 따라 상기 제1어플리케이션 실행에 필요한 코드 이미지는 공유 메모리(140)로부터 로딩하고, 상기 제1어플리케이션 실행에 필요한 이미지 리소스는 제1리소스 메모리(131)로부터 로딩한다(S311). In addition, the image resource management apparatus loads the code image required to execute the first application from the shared memory 140 according to a result of determining the image resource list, and the image resource required to execute the first application includes the first resource memory ( 131) (S311).

그 후, 로딩된 이미지 리소스와 코드 이미지가 포함된 제1어플리케이션의 실행화면이 화면에 표시되게 된다.Thereafter, the execution screen of the first application including the loaded image resource and the code image is displayed on the screen.

한편, 이미지 리소스 관리 장치는 일정 횟수 이상 로딩되는 코드 이미지를 캐시 메모리(150)에 저장하여 로딩 시간을 단축시킬 수 있도록 한다. Meanwhile, the image resource management apparatus may store the code image loaded more than a predetermined number of times in the cache memory 150 to shorten the loading time.

이상에서는 본 발명을 특정의 바람직한 실시 예에 관련하여 도시하고 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시 예 에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양하게 개조 및 변화될 수 있다는 것을 용이하게 알 수 있다. 그러므로 본 발명의 권리범위는 설명된 실시 예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.While the invention has been shown and described with reference to certain preferred embodiments, it will be apparent to those skilled in the art that various modifications may be made without departing from the scope of the invention with respect to the embodiments described above. And can be varied. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the claims below and equivalents thereof.

도 1은 본 발명에 따른 이미지 리소스 관리 장치가 적용되는 이동통신단말기의 구성을 보여주는 블럭도,1 is a block diagram showing the configuration of a mobile communication terminal to which the image resource management apparatus according to the present invention is applied;

도 2는 본 발명을 설명하기 위해 이미지 리소스가 포함된 웹 어플리케이션 실행화면을 일 예를 들어 보여주는 도면, 및 2 is a view showing an example of a web application execution screen including an image resource for explaining the present invention, and

도 3은 본 발명에 따른 이미지 리소스 관리 방법을 보여주는 흐름도이다. 3 is a flowchart illustrating an image resource management method according to the present invention.

* 도면의 주요 부호에 대한 설명* Description of the main symbols in the drawing

130 : 리소스 메모리 131 : 제1리소스 메모리130: resource memory 131: first resource memory

140 : 공유 메모리 150 : 캐쉬 메모리140: shared memory 150: cache memory

160 : 코드 이미지 생성부 171 : 리소스 제어부160: code image generation unit 171: resource control unit

Claims (9)

각 어플리케이션에 대응되는 리소스 메모리에서 동일한 이미지의 이미지 리소스를 추출하고, 추출된 이미지 리소스들을 코드화하여 하나의 코드 이미지를 생성하는 코드 이미지 생성부; A code image generator for extracting an image resource of the same image from a resource memory corresponding to each application, and generating one code image by encoding the extracted image resources; 상기 코드 이미지 생성부에서 생성된 코드 이미지를 저장하는 공유 메모리; 및 A shared memory storing a code image generated by the code image generator; And 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 공유 메모리에 저장된 코드 이미지 중 상기 제1어플리케이션에 대응되는 코드 이미지를 로딩하는 리소스 제어부;를 포함하는 것을 특징으로 하는 이미지 리소스 관리 장치.And a resource controller configured to load a code image corresponding to the first application among the code images stored in the shared memory when an execution command for the first application is input. 제 1항에 있어서, The method of claim 1, 상기 리소스 제어부는 The resource control unit 상기 제1어플리케이션에 대한 실행 명령이 입력된 후, 상기 제1어플리케이션의 실행에 필요한 이미지 리소스 목록을 판단하여 상기 코드 이미지를 로딩하고, 상기 코드 이미지 이외의 이미지 리소스는 상기 제1어플리케이션에 대응되는 제1리소스 메모리에서 로딩하는 것을 특징으로 하는 이미지 리소스 관리 장치.After the execution command for the first application is input, a list of image resources necessary for execution of the first application is determined, and the code image is loaded, and image resources other than the code image correspond to the first application. An image resource management apparatus, characterized in that for loading from the resource memory. 제 1항에 있어서,The method of claim 1, 휘발성 데이터를 저장하는 캐시 메모리를 더 포함하고,Further comprising a cache memory for storing volatile data, 상기 리소스 제어부는The resource control unit 상기 공유 메모리에 저장된 코드 이미지 중 일정 횟수 이상 추출되는 코드 이미지가 상기 캐시 메모리에 저장되도록 하는 것을 특징으로 하는 이미지 리소스 관리 장치.And a code image extracted more than a predetermined number of times among code images stored in the shared memory is stored in the cache memory. 제 1항에 있어서,The method of claim 1, 상기 리소스 제어부는The resource control unit 상기 코드 이미지 각각에 대해 레퍼런스 검사(Reference Check)를 하여 상기 각 어플리케이션의 실행에 필요한 코드 이미지가 상기 공유 메모리에서 삭제되지 못하도록 하는 것을 특징으로 하는 이미지 리소스 관리 장치.And a reference check on each of the code images to prevent a code image necessary for executing the respective application from being deleted from the shared memory. 제 1항에 있어서,The method of claim 1, 상기 어플레이케이션은 The application is 웹 어플리케이션, 문자메시지 송수신 어플리케이션, 통합 사서함 어플리케이션, 통합 보관함 어플리케이션 및 전화번호부 어플리케이션 중 하나 이상을 포함하는 것을 특징으로 하는 이미지 리소스 관리 장치.An image resource management apparatus comprising at least one of a web application, a text message transmission and reception application, an integrated mailbox application, an integrated archive application, and a phonebook application. 각 어플리케이션에 대응되는 리소스 메모리에서 동일한 이미지의 이미지 리소스를 추출하는 제1단계; Extracting an image resource of the same image from a resource memory corresponding to each application; 상기 추출된 동일한 이미지 리소스들을 코드화하여 하나의 코드 이미지를 생성하고, 생성된 코드 이미지를 공유 메모리에 저장하는 제2단계; 및 Encoding the extracted same image resources to generate one code image and storing the generated code image in a shared memory; And 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대응되는 코드 이미지를 상기 공유 메모리에서 로딩하는 제3단계;를 포함하는 이미지 리소스 관리 방법.And loading a code image corresponding to the first application from the shared memory when an execution command for a first application is input. 제 6항에 있어서,The method of claim 6, 상기 제3단계는 The third step is 상기 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대한 실행에 필요한 이미지 리소스 목록을 판단하는 단계, Determining a list of image resources necessary for executing the first application when an execution command for the first application is input; 상기 제1어플리케이션에 대한 실행 명령이 입력될 경우, 상기 제1어플리케이션에 대응되는 코드 이미지를 상기 공유 메모리에서 로딩하는 단계 및Loading a code image corresponding to the first application from the shared memory when an execution command for the first application is input; and 상기 코드 이미지 이외에 필요한 상기 이미지 리소스는 상기 제1어플리케이션에 대응되는 제1리소스 메모리에서 로딩하는 단계를 더 포함하는 것을 특징으로 하는 이미지 리소스 관리 방법.The image resource management method further comprises the step of loading in the first resource memory corresponding to the first application in addition to the code image. 제 6항에 있어서,The method of claim 6, 상기 코드 이미지 중 일정 횟수 이상 로딩되는 코드 이미지를 캐시 메모리에 저장하는 단계를 더 포함하는 것을 특징으로 하는 이미지 리소스 관리 방법.And storing a code image, which is loaded at least a predetermined number of times in the code image, in a cache memory. 제 6항에 있어서,The method of claim 6, 상기 어플레이케이션은 The application is 웹 어플리케이션, 문자메시지 송수신 어플리케이션, 통합 사서함 어플리케이션, 통합 보관함 어플리케이션 및 전화번호부 어플리케이션 중 하나 이상을 포함하는 것을 특징으로 하는 이미지 리소스 관리 방법.An image resource management method comprising at least one of a web application, a text message transmission and reception application, an integrated mailbox application, an integrated archive application, and a phonebook application.
KR1020080090657A 2008-09-16 2008-09-16 Apparatus and method for managing image resource KR101503746B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080090657A KR101503746B1 (en) 2008-09-16 2008-09-16 Apparatus and method for managing image resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080090657A KR101503746B1 (en) 2008-09-16 2008-09-16 Apparatus and method for managing image resource

Publications (2)

Publication Number Publication Date
KR20100031835A true KR20100031835A (en) 2010-03-25
KR101503746B1 KR101503746B1 (en) 2015-03-18

Family

ID=42181216

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080090657A KR101503746B1 (en) 2008-09-16 2008-09-16 Apparatus and method for managing image resource

Country Status (1)

Country Link
KR (1) KR101503746B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160017302A (en) * 2014-08-04 2016-02-16 주식회사 엘지유플러스 Communication Terminal, Resource Management Module and Management Method thereof
WO2019240404A1 (en) * 2018-06-15 2019-12-19 삼성전자 주식회사 Resource caching method and electronic device supporting same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002149392A (en) * 2000-11-13 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Method and device for generating hierarchical electronic information
KR20050122046A (en) * 2004-06-23 2005-12-28 엔에이치엔(주) Method and system for loading of the image resource
KR100595704B1 (en) * 2004-11-15 2006-07-03 엘지전자 주식회사 Method for managing resources in a mobile terminal
KR100609959B1 (en) 2005-04-22 2006-08-08 주식회사 팬택앤큐리텔 Apparatus for reusing wireless internet page resource of mobile communication terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160017302A (en) * 2014-08-04 2016-02-16 주식회사 엘지유플러스 Communication Terminal, Resource Management Module and Management Method thereof
WO2019240404A1 (en) * 2018-06-15 2019-12-19 삼성전자 주식회사 Resource caching method and electronic device supporting same
US11809313B2 (en) 2018-06-15 2023-11-07 Samsung Electronics Co., Ltd. Resource caching method and electronic device supporting the same

Also Published As

Publication number Publication date
KR101503746B1 (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104965848B (en) A kind of front end resource loading method and device
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN106776761B (en) Method and device for rendering webpage by mobile browser
CN105243638B (en) A kind of method and apparatus uploading image
EP3625708A1 (en) Two-dimensional code generation method, two-dimensional code processing method, apparatus, device, and two-dimensional code
CN106775828B (en) Application program installation method and device and computer equipment
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN105988805B (en) Application program management method and mobile terminal
CN108197264B (en) Webpage acceleration display method and device, mobile terminal and storage medium
CN103455348A (en) Subarea adjustment method, device, terminal, server and system
CN109933381B (en) Kernel loading method and device
US20160019046A1 (en) Light app offline updating method, device and terminal
CN110780940A (en) Application program loading method, electronic device and storage medium
CN104423996A (en) View refreshing method and view refreshing device
RU2614578C2 (en) Method, device and plant for processing resource for mobile terminal
CN103713943A (en) Native terminal operating system based application function realization method and device
CN107707602B (en) Data communication processing terminal, method and computer readable storage medium
KR101503746B1 (en) Apparatus and method for managing image resource
CN104615622A (en) Document opening method and device and mobile terminal
CN108881969B (en) Method and device for drawing bullet screen and mobile terminal
CN111210496B (en) Picture decoding method, device and equipment
CN110309454B (en) Interface display method, device, equipment and storage medium
US10057740B2 (en) Methods and devices for processing mobile terminal resource
CN109840156B (en) Data caching method and equipment, storage medium and terminal thereof
CN113542884A (en) Method for synchronizing JS patch files between smart television browser and server

Legal Events

Date Code Title Description
A201 Request for examination
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: 20180213

Year of fee payment: 6