KR100724260B1 - Contents division download method in a mobile terminal - Google Patents

Contents division download method in a mobile terminal Download PDF

Info

Publication number
KR100724260B1
KR100724260B1 KR1020050123795A KR20050123795A KR100724260B1 KR 100724260 B1 KR100724260 B1 KR 100724260B1 KR 1020050123795 A KR1020050123795 A KR 1020050123795A KR 20050123795 A KR20050123795 A KR 20050123795A KR 100724260 B1 KR100724260 B1 KR 100724260B1
Authority
KR
South Korea
Prior art keywords
download
content
downloaded
divided
size
Prior art date
Application number
KR1020050123795A
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 KR1020050123795A priority Critical patent/KR100724260B1/en
Application granted granted Critical
Publication of KR100724260B1 publication Critical patent/KR100724260B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

본 발명은 휴대폰에서의 콘텐츠 분할 다운로드 방법에 관한 것이다. 본 발명의 휴대폰은 현재 사용 가능한 힙 메모리 크기를 상기 다운로드 서버에 알리고 상기 다운로드 서버가 상기 사용 가능한 힙 메모리 크기를 고려하여 세션을 설정하고 콘텐츠를 분할하면, 상기 설정된 세션의 다운로드 크기에 상응하는 다운로드 리드 버퍼를 할당한다. 그리고 상기 설정된 세션을 통해 분할 콘텐츠를 다운로드하고 다운로드 에러 발생을 감시하여 상기 다운로드 에러가 발생하면 다운로드한 콘텐츠를 삭제한 후 재차 다운로드를 수행하고, 상기 다운로드 에러가 발생하지 않으면 다운로드한 분할 콘텐츠에 대해 설치를 수행하며, 상기 다운로드 서버로부터 다운로드할 잔여 데이터가 있는지를 확인한다. 그리고 상기 다운로드할 잔여 데이터가 있으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 상기 제1 단계 내지 제5 단계를 반복하여 새로운 분할 콘텐츠에 대한 다운로드를 수행하고, 상기 다운로드할 잔여 데이터가 없으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 다운로드를 종료한다.The present invention relates to a method for splitting content download in a mobile phone. The mobile phone of the present invention informs the download server of the currently available heap memory size, and when the download server establishes a session in consideration of the available heap memory size and partitions the content, a download lead corresponding to the set download size of the session is established. Allocate a buffer. After downloading the divided content through the set session and monitoring the occurrence of a download error, if the download error occurs, the downloaded content is deleted and then downloaded again. If the download error does not occur, the downloaded divided content is installed. And confirms whether there is residual data to download from the download server. If there is residual data to be downloaded, the allocation of the allocated download read buffer is released and the first to fifth steps are repeated to download new divided contents, and if there is no remaining data to be downloaded, the allocation is performed. The download is terminated after deallocating one download read buffer.

다운로드, 콘텐츠, 힙 메모리, 콘텐츠 분할, 리드 버퍼 Download, content, heap memory, content split, read buffer

Description

휴대폰에서의 콘텐츠 분할 다운로드 방법{Contents division download Method in a mobile terminal }Contents division download method in a mobile terminal}

도 1은 일반적인 휴대폰에서의 다운로드 환경 및 구성을 보인 도면.1 is a view showing the download environment and configuration in a typical mobile phone.

도 2는 본 발명에 따른 휴대폰에서의 콘텐츠 분할 다운로드 방법을 수행하기 이전에 처리되는 전처리 과정을 보인 순서도.Figure 2 is a flow chart showing a preprocessing process that is processed before performing a content split download method in a mobile phone according to the present invention.

도 3은 본 발명의 실시 예에 따른 휴대폰용 콘텐츠 분할 다운로드 방법을 보인 순서도.Figure 3 is a flow chart illustrating a content split download method for a mobile phone according to an embodiment of the present invention.

본 발명은 휴대폰에서의 콘텐츠 다운로드 처리 방법에 관한 것으로, 특히, 이동통신망에서 제공하는 대용량의 콘텐츠를 한정된 메모리 공간을 가진 휴대폰에서 다운로드처리 수 있게 한, 휴대폰에서의 콘텐츠 분할 다운로드 방법 및 기록매체에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for processing content download in a mobile phone. More particularly, the present invention relates to a method and a download medium for splitting content in a mobile phone, which enables a mobile phone having a limited memory space to download a large amount of content provided by a mobile communication network. will be.

상기 다운로드 처리란 콘텐츠를 수신하고 수신한 콘텐츠를 무선 인터넷 플랫 폼에서 실행 가능한 형태로 설치하는 일련의 과정을 말한다.The download process refers to a series of processes for receiving content and installing the received content in an executable form on a wireless Internet platform.

이동통신기술과 무선 인터넷 기술이 발전하면서 휴대폰에도 무선 인터넷을 가능하게 하는 무선 인터넷 플랫폼이 탑재되기 시작하였고, 용이한 무선 인터넷 서비스 개발 환경을 위해 국내에서는 무선 인터넷 플랫폼을 표준화하여 위피(WIPI: Wireless Internet Platform for Interoperability)라고 명명하였다.With the development of mobile communication technology and wireless internet technology, mobile internet platform has begun to be installed in mobile phones.In order to facilitate the development of wireless internet service, we have standardized the wireless internet platform in Korea. Platform for Interoperability).

현재 출시되는 대부분의 휴대폰에는 위피(WIPI)와 같은 무선 인터넷 플랫폼이 탑재되어 있다. 이렇게 휴대폰에 무선 인터넷 플랫폼이 탑재됨에 따라 사용자는 휴대폰에 디폴트로 제공되는 부가 서비스 이외에, 무선 인터넷망을 통해 각종 콘텐츠나 위피 애플리케이션을 다운로드 받아 사용할 수 있게 되었다.Most mobile phones on the market today come equipped with wireless Internet platforms such as WIPI. As the wireless internet platform is installed in the mobile phone, users can download and use various contents or Wi-Fi applications through the wireless internet network in addition to the additional services provided by the mobile phone by default.

종래의 휴대폰에서 네트워크로부터 콘텐츠를 다운로드 처리하는 과정을 간략히 설명한다.A process of downloading content from a network in a conventional mobile phone will be briefly described.

우선, 1). 휴대폰은 네트워크의 해당 다운로드 서버로부터 다운로드 받고자 하는 콘텐츠(예; 애플리케이션)의 크기를 파악한다. 2). 휴대폰에서 콘텐츠 크기만큼의 동작 메모리(힙 메모리)를 사전에 할당한다. 3). 다운로드 서버로부터 콘텐츠 전송을 요청한다. 4). 상기 다운로드 서버로부터 수신한 콘텐츠를 할당해 놓은 동작 메모리에 저장한다. 5). 다운로드가 완료되면 동작 메모리에 저장된 콘텐츠를 설치하면서 영구 저장장치에 해당 콘텐츠를 저장한다. 6). 저장된 콘텐츠를 실행한다.First of all, 1). The mobile phone knows the size of the content (eg, an application) to be downloaded from the corresponding download server of the network. 2). The mobile phone pre-allocates a working memory (heap memory) corresponding to the content size. 3). Requests content transfer from the download server. 4). The content received from the download server is stored in the allocated operation memory. 5). When the download is completed, the contents are stored in the permanent memory while installing the contents stored in the working memory. 6). Run the saved content.

그런데 전술한 종래의 콘텐츠 다운로드 처리 방법은 콘텐츠의 크기가 핸드폰에서 사용 가능한 힙 메모리의 크기보다 클 경우 다운로드를 처리할 수 없고, 콘텐 츠가 압축되어 있는 경우 압축을 해제할 메모리까지 포함하여 콘텐츠 크기의 2배 만큼의 동작 메모리 공간이 필요하게 되어 3D 게임과 같은 대용량의 콘텐츠를 다운로드 처리하는 것이 불가능하다. However, in the above-described conventional content download processing method, if the size of the content is larger than the size of the heap memory available in the mobile phone, the download cannot be processed, and if the content is compressed, the content size including the memory to be decompressed is included. It requires twice as much operating memory space, making it impossible to download large amounts of content, such as 3D games.

한편, 휴대폰의 성능이 매우 좋아짐에 따라 용량이 큰 대용량의 게임 등의 콘텐츠(애플리케이션 포함)들이 늘어나고 있는 추세이며, 이러한 추세에 발맞추어 휴대폰 제조사는 대용량의 콘텐츠를 다운로드 처리할 수 있도록 동작 메모리(Heap Memory)의 용량을 증설하고 있다.On the other hand, as the performance of mobile phones is getting very good, the contents (including applications) such as games with large capacities are increasing.In response to these trends, mobile phone manufacturers can use a motion memory (Heap) to download and process large contents. Memory capacity is being increased.

그런데, 동작 메모리의 가격은 상당히 고가여서, 콘텐츠 용량의 증가할 때마다 동작 메모리를 증설하면 휴대폰의 단가가 높아지고 제품 경쟁력이 떨어지게 되는 문제가 발생한다.However, the price of the operating memory is quite expensive, and if the operating memory is increased every time the content capacity is increased, the unit price of the mobile phone increases and the product competitiveness becomes low.

본 발명은 종래의 문제점을 해결하기 위한 것으로, 대용량의 다운로드 콘텐츠를 휴대폰의 한정된 메모리를 이용하여 다운로드 처리할 수 있게 하는, 휴대폰에서의 콘텐츠 분할 다운로드 방법을 제공하는데 그 목적이 있다.Disclosure of Invention The present invention has been made in view of the conventional problem, and an object thereof is to provide a method for splitting a content download in a mobile phone, which enables download processing of a large amount of download content using a limited memory of a mobile phone.

상기 목적을 달성하기 위한 본 발명은, 네트워크에 위치한 다운로드 서버로부터 콘텐츠를 다운로드하여 설치하는 휴대폰에서의 콘텐츠 다운로드 방법에 있어서, 현재 사용 가능한 힙 메모리 크기를 상기 다운로드 서버에 알리는 제1 단계; 상기 다운로드 서버가 상기 사용 가능한 힙 메모리 크기를 고려하여 세션을 설정하고 콘텐츠를 분할하면, 상기 설정된 세션의 다운로드 크기에 상응하는 다운로드 리드 버퍼를 할당하는 제2 단계; 상기 설정된 세션을 통해 분할 콘텐츠를 다운로드하고 다운로드 에러 발생을 감시하는 제3 단계; 상기 다운로드 에러가 발생하면 다운로드한 콘텐츠를 삭제한 후 재차 다운로드를 수행하고, 상기 다운로드 에러가 발생하지 않으면 다운로드한 분할 콘텐츠에 대해 설치를 수행하는 제4 단계; 상기 다운로드 서버로부터 다운로드할 잔여 데이터가 있는지를 확인하는 제 5 단계; 상기 다운로드할 잔여 데이터가 있으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 상기 제1 단계 내지 제5 단계를 반복하여 새로운 분할 콘텐츠에 대한 다운로드를 수행하는 제6 단계; 상기 다운로드할 잔여 데이터가 없으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 다운로드를 종료하는 제7 단계를 포함하는 휴대폰에서의 콘텐츠 분할 다운로드 방법이다.According to an aspect of the present invention, there is provided a content download method in a mobile phone that downloads and installs content from a download server located in a network, the method comprising: informing a download server of a currently available heap memory size; A second step of allocating a download read buffer corresponding to a download size of the set session when the download server establishes a session and divides content in consideration of the available heap memory size; A third step of downloading divided content through the set session and monitoring occurrence of a download error; A fourth step of performing downloading after deleting the downloaded content if the download error occurs, and installing the downloaded divided content if the download error does not occur; A fifth step of checking whether there is remaining data to download from the download server; A sixth step of de-allocating the allocated download read buffer if there is remaining data to be downloaded, and repeating the first to fifth steps to download new divided contents; And a seventh step of releasing the allocated download read buffer and terminating the download if there is no remaining data to download.

상기 제2 단계는 상기 설정된 세션의 다운로드 크기는 상기 사용 가능한 힙 메모리의 크기와 동일한 것을 특징으로 한다.The second step is characterized in that the download size of the established session is the same as the size of the available heap memory.

상기 제4 단계는 상기 다운로드 에러가 발생하면 현재 다운로드된 분할 콘텐츠와 이미 다운로드되어 설치된 분할 콘텐츠 모두를 삭제한 후 처음부터 다운로드가 재시작되도록 하거나, 현재 다운로드된 분할 콘텐츠를 삭제하고, 상기 다운로드 에러가 발생한 분할 콘텐츠에 대해 다시 다운로드하는 것을 특징으로 한다.In the fourth step, when the download error occurs, the download content is restarted from the beginning after deleting both the currently downloaded divided content and the already downloaded and installed divided content, or the currently downloaded divided content is deleted, and the download error occurs. And downloading again for the divided content.

상기 제4 단계는 다운로드에 성공한 분할 콘텐츠를 설치하는 경우에, 분할 설치가 이미 시작된 상태이면 추가 설치 동작에 따라 상기 다운로드한 분할 콘텐츠 를 설치하고, 분할 설치가 시작되지 않은 상태이면 설치 시작 동작에 따라 상기 다운로드한 분할 콘텐츠를 설치하는 것을 특징으로 한다.In the fourth step, when the split content is successfully downloaded, the downloaded split content is installed according to the additional installation operation if the split installation is already started, and according to the installation start operation if the split installation is not started. And installing the downloaded divided content.

이하 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명한다. 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, detailed descriptions of well-known functions or configurations will be omitted if it is determined that the detailed description of the present invention may unnecessarily obscure the subject matter of the present invention. Terms to be described later are terms defined in consideration of functions in the present invention, and may be changed according to intentions or customs of users or operators. Therefore, the definition should be made based on the contents throughout the specification.

도 1은 일반적인 휴대폰에서의 다운로드 환경 및 구성을 보인 도면이다.1 is a view showing the download environment and configuration in a typical mobile phone.

도 1에 도시된 바와 같이, 본 발명이 적용되는 네트워크 환경은 통상의 휴대폰 다운로드 환경과 동일하다. 즉, 네트워크 환경은 이동통신망 또는 인터넷망과 같은 네트워크망에 위치하여 사용자가 선택한 콘텐츠를 무선 데이터 통신을 통해 휴대폰(200)으로 다운로드하는 다운로드 서버(100)와, 이 다운로드 서버(100)에 접속하여 특정 콘텐츠의 다운로드를 요구하고 다운로드 서버(100)에서 다운로드한 해당 콘텐츠를 수신하여 설치하는 휴대폰(200)을 포함하여 구성된다.As shown in Fig. 1, the network environment to which the present invention is applied is the same as a typical mobile phone download environment. That is, the network environment is located in a network such as a mobile communication network or an internet network, and downloads the content selected by the user to the mobile phone 200 through wireless data communication, and connected to the download server 100 It includes a mobile phone 200 for requesting the download of a specific content and receiving and installing the corresponding content downloaded from the download server 100.

다운로드 서버(100)는 통상의 다운로드 서비스를 제공함과 더불어, 휴대폰(200)의 요구시 본 발명의 콘텐츠 분할 다운로드를 위한 분산 트랜잭션 동작을 수행한다. 즉, 콘텐츠 분할 다운로드를 위해 다운로드 서버(100)는 휴대폰(200)의 사 용 가능한 힙 메모리의 크기에 고려하여 콘텐츠를 분할하고, 분할한 콘텐츠(이하 "분할 콘텐츠"라 함)를 다운로드하기 위한 세션을 설정하여 분할 콘텐츠를 휴대폰(200)에 다운로드한다. 따라서 상기 세션의 다운로드 콘텐츠 크기는 휴대폰의 사용 가능한 힙 메모리의 크기보다 같거나 작다.In addition to providing a general download service, the download server 100 performs a distributed transaction operation for content divisional download of the present invention at the request of the mobile phone 200. That is, the session for downloading the divided content (hereinafter referred to as "divided content") in order to download the divided content in consideration of the size of the available heap memory of the mobile phone 200 for the content divided download. Set to download the divided content to the mobile phone (200). Thus, the download content size of the session is equal to or smaller than the size of the available heap memory of the mobile phone.

여기서, 휴대폰(200)은 실행 환경 즉, 애플리케이션의 실행 여부 및 실행 중인 애플케이션의 크기에 따라 도 1의 점선과 같이 힙 메모리(200)의 사용 공간이 달라진다. 그러므로 세션 설정시마다 휴대폰(200)의 실행 환경이 동일하지 않으므로 세션의 다운로드 콘텐츠 크기는 달라지게 된다.Here, the mobile phone 200 may have a different usage space of the heap memory 200 according to the execution environment, that is, whether the application is executed and the size of the running application, as shown in FIG. 1. Therefore, since the execution environment of the mobile phone 200 is not the same every time the session is set, the download content size of the session is changed.

상기 휴대폰(200)은 무선 인터넷 플랫폼(예; 위피)이 탑재된 모든 종류의 원거리 및 근거리 이동통신 단말기를 총칭한다.The mobile phone 200 collectively refers to all types of remote and short-range mobile communication terminals equipped with a wireless Internet platform (eg, Wi-Fi).

상기 휴대폰(200)은 다운로드 서버(100)의 콘텐츠를 다운로드 처리하기 위한 다운로더(downloader)(210), 다운로더(210)에 수신되는 콘텐츠를 저장하는 힙 메모리(RAM)(220)와, 콘텐츠가 설치되는 ROM(230)(또는 플래시 메모리를 포함한다.The mobile phone 200 is a downloader (210) for downloading and processing the content of the download server 100, a heap memory (RAM) 220 for storing the content received in the downloader 210, and the content is installed ROM 230 (or flash memory).

상기 ROM(230)은 힙 메모리(220)에 저장된 콘텐츠의 설치(install) 결과물이 저장된다.The ROM 230 stores an installation result of content stored in the heap memory 220.

도 2는 본 발명에 따른 휴대폰에서의 콘텐츠 분할 다운로드 방법을 수행하기 이전에 처리되는 전처리 과정을 보인 순서도이다. 도 2에 도시된 전처리 과정은 휴대폰으로의 콘텐츠 다운로드시 일반적으로 행해지는 과정이다.2 is a flowchart illustrating a preprocessing process performed before performing a content division download method in a mobile phone according to the present invention. The preprocessing process shown in FIG. 2 is a process generally performed when downloading content to a mobile phone.

콘텐츠 다운로드를 원하는 사용자는 휴대폰(200)을 다운로드 서버(100)에 접 속시키고(S210), 다운로드 서버(100)에서 제공하는 콘텐츠 중 원하는 콘텐츠를 선택한 후(S220), 다운로드 서버(100)에 해당 콘텐츠에 대한 다운로드를 요청한다(S230).The user who wants to download the content is connected to the mobile phone 200 to the download server 100 (S210), after selecting the desired content from the content provided by the download server 100 (S220), corresponding to the download server 100 The download request for the content (S230).

그러면, 다운로더(210)는 사용자가 선택한 콘텐츠(즉, 다운로드 처리할 콘텐츠)의 크기를 파악하고(S240), 자신의 힙 메모리의 크기와 비교한다(S250).Then, the downloader 210 determines the size of the content selected by the user (that is, the content to be downloaded) (S240) and compares the size of the heap memory with the size of the heap memory (S250).

상기 비교 과정(S250)에서, 다운로더(210)는 힙 메모리의 크기가 콘텐츠의 크기보다 크면 종래와 같이 콘텐츠 크기만큼의 힙 메모리를 할당하여 다운로드 처리 즉, 정상처리한다(S270).In the comparison process (S250), if the size of the heap memory is larger than the size of the content, the downloader 210 allocates the heap memory as much as the content size as in the conventional process, that is, normal processing (S270).

반면에, 상기 비교 과정(S250)에서, 다운로더(210)는 힙 메모리의 크기가 콘텐츠의 크기보다 작으면 종래의 처리 방법으로 처리가 불가능하므로, 본 발명에 따른 콘텐츠 분할 다운로드 처리 방법을 수행한다(S280).On the other hand, in the comparison process (S250), if the size of the heap memory is smaller than the size of the content, the downloader 210 can not be processed by the conventional processing method, and performs the content split download processing method according to the present invention ( S280).

이하, 도 3을 참조하여 본 발명의 실시예에 따른 휴대폰용 콘텐츠 분할 다운로드 방법을 설명한다. 도 3은 본 발명의 실시예에 따른 휴대폰용 콘텐츠 분할 다운로드 방법을 보인 순서도이다.Hereinafter, referring to FIG. 3, a content splitting download method for a mobile phone according to an exemplary embodiment of the present invention will be described. 3 is a flowchart illustrating a method for splitting and downloading content for a mobile phone according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 다운로더(210)는 본 발명의 콘텐츠 분할 다운로드 처리를 결정하면, 다운로드 서버(100)에 다운로드 시작을 요청한다.As shown in FIG. 3, when the downloader 210 determines the content divisional download process of the present invention, the downloader 210 requests the download server 100 to start downloading.

이때 다운로더(210)와 다운로드 서버(100)는 콘텐츠의 분할 다운로드를 위해 휴대폰(200)에서 사용 가능한 힙 메모리(220)의 크기에 부합하는 다운로드 콘텐츠 크기를 고려하여 세션(session)을 설정한다.In this case, the downloader 210 and the download server 100 establish a session in consideration of the size of the download content corresponding to the size of the heap memory 220 available in the mobile phone 200 for the divided download of the content.

이렇게 세션 설정에 따라 분할 콘텐츠의 크기가 결정되면, 다운로더(200)는 분할 콘텐츠를 저장할 수 있는 힙 메모리의 크기(즉, HTTP 리드 버퍼의 크기)를 계산하고(S301), 계산된 크기만큼의 HTTP(hypertext transfer protocol) 리드(read) 버퍼(buffer)(221)를 할당한다(S302). When the size of the divided content is determined according to the session setting, the downloader 200 calculates the size of the heap memory (that is, the size of the HTTP read buffer) that can store the divided content (S301), and calculates the HTTP as much as the calculated size. (hypertext transfer protocol) Read buffer 221 is allocated (S302).

다운로더(210)는 HTTP 리드 버퍼(221)를 할당하면, HTTP 세션을 수행하여 HTTP를 통해 다운로드 서버(100)로부터 분할 콘텐츠를 수신하고 이를 HTTP 리드 버퍼(221)에 저장한다(S303).When the downloader 210 allocates the HTTP read buffer 221, the downloader 210 performs an HTTP session to receive the divided content from the download server 100 through HTTP and stores it in the HTTP read buffer 221 (S303).

이때 다운로더(210)는 콘텐츠 다운로드시 에러(error) 발생을 감시하는데, 분할 콘텐츠가 HTTP 리드 버퍼(221)에 다 저장되기 전에 에러가 발생하면(S305), 이때껏 저장한 콘텐츠와, 분할 설치된 콘텐츠(즉, HTTP 리드 버퍼에 저장된 콘텐츠가 분할 설치로 ROM에 저장된 콘텐츠)를 삭제한다(S306).At this time, the downloader 210 monitors the occurrence of an error when downloading the content. If an error occurs before the divided contents are all stored in the HTTP read buffer 221 (S305), the contents stored up to this time and the divided contents ( In other words, the content stored in the HTTP read buffer is the content stored in the ROM in the divided installation) (S306).

상기 콘텐츠 다운로드시 에러 발생에 따라 HTTP 리드 버퍼(221)에 저장된 콘텐츠와 ROM(230)에 설치된 콘텐츠 모두를 삭제하는 것은 휴대폰(200)에 다운로드 이어받기 기능이 없기 때문이다. 다운로드 이어받기 기능이란 다운로드된 콘텐츠가 끊어졌을 때 끊어진 부분부터 이어받아 저장하고 설치하는 기능을 말한다. 만약, 휴대폰(200)에 이어받기 기능을 탑재하고 있으면 다운로더(210)는 다운로드 에러시 다운로드 에러가 발생한 분할 콘텐츠만을 삭제한 후, 삭제한 분할 콘텐츠를 다시 다운로드 요청하여 저장할 것이다.Deleting both the content stored in the HTTP read buffer 221 and the content installed in the ROM 230 in response to an error in downloading the content is because the mobile phone 200 does not have a download inheritance function. The download download function refers to a function of downloading and storing and installing the broken part when the downloaded content is broken. If the mobile phone 200 is equipped with the download function, the downloader 210 deletes only the divided content in which a download error occurs when a download error occurs, and then downloads and deletes the deleted divided content again.

한편, 다운로더(210)는 HTTP 리드 버퍼(221)에 분할 콘텐츠가 성공적으로 채워지면(S304), 분할 설치가 이미 시작되었는지를 확인한 후(S307), 분할 설치가 시 작되지 않았으면(S308), Install Open API를 호출하여 콘텐츠에 대한 설치(install)를 개시하여 HTTP 리드 버퍼(221)에 채워진 분할 콘텐츠를 설치한다(S309). 반면에, 분할 설치가 시작되었으면 다운로더(210)는 Install Append API를 호출하여 HTTP 리드 버퍼(221)에 채워진 분할 콘텐츠에 대하여 추가 설치를 수행한다(S311).On the other hand, if the downloader 210 is divided content is successfully filled in the HTTP read buffer 221 (S304), after confirming whether the split installation has already started (S307), if the split installation is not started (S308), The install open API is called to install the content and install the divided content filled in the HTTP read buffer 221 (S309). On the other hand, when the split installation is started, the downloader 210 calls the Install Append API to perform additional installation on the split content filled in the HTTP read buffer 221 (S311).

다운로더(210)는 HTTP 리드 버퍼(221)에 저장된 분할 콘텐츠를 ROM(230) 설치하면 설치한 콘텐츠에 대해 인에이블-템프(enable temp) 속성을 부여하여 설치된 콘텐츠에 대해 접근이 가능하도록 한다(S310).When the downloader 210 installs the divided content stored in the HTTP read buffer 221 ROM 230, the downloader 210 gives an enable-temp attribute to the installed content to allow access to the installed content (S310). ).

이렇게 하나의 분할 콘텐츠에 대해 다운로드받고 설치를 완료하면, 다운로더(210)는 다운로드 서버(100)에게 분한 콘텐츠에 대한 다운로드 처리 완료와 함께 현재 사용 가능한 힙 메모리의 크기를 알리고, 이에 다운로드 서버(100)는 설치할 잔여 데이터가 있는지를 알린다.When downloading and installation of one piece of content are completed in this way, the downloader 210 notifies the download server 100 of the currently available heap memory with the completion of the download process for the divided content, thereby downloading server 100. Tells you if there is any residual data to install.

만약, 설치할 잔여 데이터가 있으면, 다운로더(210)는 새로운 분할 콘텐츠를 다운로드 받기 위해 HTTP 리드 버퍼(221)의 할당을 해제하고(S314), 다시 다운로드 서버(100)와 세션을 설정하고 세션 설정에 따라 결정된 다운로드할 분할 콘텐츠의 크기에 부합하는 HTTP 리드 버퍼를 할당하는 S301 과정으로 리턴한다.If there is residual data to be installed, the downloader 210 releases the allocation of the HTTP read buffer 221 to download the new divided content (S314), establishes a session with the download server 100 again, and sets the session according to the session setup. The process returns to step S301 of allocating an HTTP read buffer corresponding to the size of the divided content to be downloaded.

반면에, 설치할 잔여 데이터가 없으면 다운로드(210)는 Install Commit API를 호출하여 분할 콘텐츠 설치 종료를 수행하고(S315), 다운로드한 콘텐츠에 대해 메뉴 등록, MSD 저장 등과 같은 추가 설치 작업이 필요하다면 추가 작업을 수행한 후, 설치된 콘텐츠에 대하여 디스에이블-템프(disable-temp) 속성을 부여하여 콘텐 츠의 접근을 막는다(S316).On the other hand, if there is no remaining data to be installed, the download 210 calls the Install Commit API to perform the split content installation termination (S315), and additional work is required if additional installation work is required, such as registering a menu or saving an MSD for the downloaded content. After performing the operation, a disable-temp attribute is applied to the installed content to prevent access to the content (S316).

그리고 현재 할당되어 있는 힙 메모리(즉, HTTP 리드 버퍼)의 할당을 해제하여 분할 콘텐츠의 다운로드를 완전 종료한다.Then, the allocation of the currently allocated heap memory (that is, the HTTP read buffer) is deallocated and the download of the split content is completely terminated.

이렇게 콘텐츠가 다운로드되고 설치가 완료하면, 휴대폰(200)은 설치된 콘텐츠를 실행시켜 화면상에 그 실행을 알 수 있게 한다.When the content is downloaded and the installation is completed, the mobile phone 200 executes the installed content so that the execution can be known on the screen.

이상에서 본 발명에 대한 기술사상을 첨부도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술분야의 통상의 지식을 가진 자라면 누구나 본 발명의 기술사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.The technical spirit of the present invention has been described above with reference to the accompanying drawings, but this is by way of example only and not intended to limit the present invention. In addition, it is obvious that any person skilled in the art can make various modifications and imitations without departing from the scope of the technical idea of the present invention.

본 발명은 적은 동작 메모리(힙 메모리)를 가진 휴대폰에서도 대용량의 콘텐츠를 다운로드받을 수 있게 하는 효과가 있다.The present invention has the effect of allowing a large amount of content to be downloaded even in a mobile phone having a small operating memory (heap memory).

Claims (6)

네트워크에 위치한 다운로드 서버로부터 콘텐츠를 분할 다운로드하여 설치하는 휴대폰에서의 콘텐츠 다운로드 방법에 있어서,In the method of downloading content in a mobile phone which divides and installs content from a download server located in a network, 현재 사용 가능한 힙 메모리 크기를 상기 다운로드 서버에 알리는 제1 단계;Informing the download server of a currently available heap memory size; 상기 힙 메모리 크기가 상기 콘텐츠의 크기보다 작은 경우, 상기 다운로드 서버가 상기 힙 메모리 크기를 고려하여 세션을 설정하고 상기 콘텐츠를 분할하면, 상기 설정된 세션의 다운로드 크기에 상응하는 다운로드 리드 버퍼를 할당하는 제2 단계;When the heap memory size is smaller than the size of the content, when the download server establishes a session in consideration of the heap memory size and partitions the content, the download server allocates a download read buffer corresponding to the set download size of the session. Two steps; 상기 설정된 세션을 통해 분할 콘텐츠를 다운로드하고 다운로드 에러 발생을 감시하는 제3 단계;A third step of downloading divided content through the set session and monitoring occurrence of a download error; 상기 다운로드 에러가 발생하면 다운로드한 콘텐츠를 삭제한 후 재차 다운로드를 수행하고, 상기 다운로드 에러가 발생하지 않으면 다운로드한 분할 콘텐츠에 대해 설치를 수행하는 제4 단계;A fourth step of performing downloading after deleting the downloaded content if the download error occurs, and installing the downloaded divided content if the download error does not occur; 상기 다운로드 서버로부터 다운로드할 잔여 데이터가 있는지를 확인하는 제 5 단계;A fifth step of checking whether there is remaining data to download from the download server; 상기 다운로드할 잔여 데이터가 있으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 상기 제1 단계 내지 제5 단계를 반복하여 새로운 분할 콘텐츠에 대한 다운로드를 수행하는 제6 단계;A sixth step of de-allocating the allocated download read buffer if there is remaining data to be downloaded, and repeating the first to fifth steps to download new divided contents; 상기 다운로드할 잔여 데이터가 없으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 다운로드를 종료하는 제7 단계를 포함하며,A seventh step of releasing the allocated download read buffer and ending the download if there is no remaining data to download; 상기 제 4 단계에서, 다운로드에 성공한 분할 콘텐츠를 설치하는 경우에, 분할 설치가 이미 시작된 상태이면 추가 설치 동작에 따라 상기 다운로드한 분할 콘텐츠를 설치하고, 분할 설치가 시작되지 않은 상태이면 설치 시작 동작에 따라 상기 다운로드한 분할 콘텐츠를 설치하는, 휴대폰에서의 콘텐츠 분할 다운로드 방법.In the fourth step, in the case of installing the divided content that has been successfully downloaded, the downloaded divided content is installed according to the additional installation operation if the split installation is already started, and if the split installation has not been started, the install start operation is performed. And installing the downloaded divided content according to the method. 제1항에 있어서,The method of claim 1, 상기 제2 단계는 상기 설정된 세션의 다운로드 크기는 상기 사용 가능한 힙 메모리의 크기와 동일한 것을 특징으로 하는 휴대폰에서의 콘텐츠 분할 다운로드 방법.In the second step, the download size of the set session is equal to the size of the available heap memory. 제1항에 있어서,The method of claim 1, 상기 제4 단계는 상기 다운로드 에러가 발생하면 현재 다운로드된 분할 콘텐츠와 이미 다운로드되어 설치된 분할 콘텐츠 모두를 삭제한 후 처음부터 다운로드가 재시작되도록 하는 것을 특징으로 하는 휴대폰에서의 콘텐츠 분할 다운로드 방법.In the fourth step, when the download error occurs, the downloaded content is downloaded in the mobile phone, characterized in that the download is restarted from the beginning after deleting both the currently downloaded divided content and the already downloaded and installed divided content. 제1항에 있어서,The method of claim 1, 상기 제4 단계는 상기 다운로드 에러가 발생하면 현재 다운로드된 분할 콘텐츠를 삭제하고, 상기 다운로드 에러가 발생한 분할 콘텐츠에 대해 다시 다운로드하는 것을 특징으로 하는 휴대폰에서의 콘텐츠 분할 다운로드 방법. In the fourth step, if the download error occurs, the currently downloaded divided content is deleted, and the downloaded content is downloaded again to the divided content having the download error. 삭제delete 휴대폰에서,On your phone, 현재 사용 가능한 힙 메모리 크기를 다운로드 서버에 알리는 제1 단계;Informing the download server of the currently available heap memory size; 상기 힙 메모리 크기가 다운로드할 콘텐츠의 크기보다 작은 경우, 상기 다운로드 서버가 상기 사용 가능한 힙 메모리 크기를 고려하여 세션을 설정하고 상기 콘텐츠를 분할하면, 상기 설정된 세션의 다운로드 크기에 상응하는 다운로드 리드 버퍼를 할당하는 제2 단계;If the heap memory size is smaller than the size of the content to be downloaded, the download server establishes a session in consideration of the available heap memory size and divides the content. Then, a download read buffer corresponding to the set download size of the session is generated. Assigning a second step; 상기 설정된 세션을 통해 분할 콘텐츠를 다운로드하고 다운로드 에러 발생을 감시하는 제3 단계;A third step of downloading divided content through the set session and monitoring occurrence of a download error; 상기 다운로드 에러가 발생하면 다운로드한 콘텐츠를 삭제한 후 재차 다운로드를 수행하고, 상기 다운로드 에러가 발생하지 않으면 다운로드한 분할 콘텐츠에 대해 설치를 수행하는 제4 단계 - 상기 제 4 단계에서, 다운로드에 성공한 분할 콘텐츠를 설치하는 경우에, 분할 설치가 이미 시작된 상태이면 추가 설치 동작에 따라 상기 다운로드한 분할 콘텐츠를 설치하고, 분할 설치가 시작되지 않은 상태이면 설치 시작 동작에 따라 상기 다운로드한 분할 콘텐츠를 설치함 - ;If the download error occurs, the downloaded content is deleted and then downloaded again, and if the download error does not occur, the fourth step of performing installation on the downloaded divided content-in the fourth step, the download is successful In the case of installing content, if the split installation has already been started, the downloaded split content is installed according to an additional installation operation; if the split installation is not started, the downloaded split content is installed according to the installation start operation- ; 상기 다운로드 서버로부터 다운로드할 잔여 데이터가 있는지를 확인하는 제 5 단계;A fifth step of checking whether there is remaining data to download from the download server; 상기 다운로드할 잔여 데이터가 있으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 상기 제1 단계 내지 제5 단계를 반복하여 새로운 분할 콘텐츠에 대한 다운로드를 수행하는 제6 단계;A sixth step of de-allocating the allocated download read buffer if there is remaining data to be downloaded, and repeating the first to fifth steps to download new divided contents; 상기 다운로드할 잔여 데이터가 없으면 상기 할당한 다운로드 리드 버퍼의 할당을 해제한 후 다운로드를 종료하는 제7 단계를 실행시키기 위한, 네트워크에 위치한 다운로드 서버로부터 콘텐츠를 분할 다운로드하여 설치하는 휴대폰에서의 콘텐츠 다운로드 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록매체.If there is no remaining data to be downloaded, the content download program in the mobile phone which divides and installs the content from the download server located in the network for executing the seventh step of releasing the allocated download read buffer and terminating the download. This recorded computer-readable recording medium.
KR1020050123795A 2005-12-15 2005-12-15 Contents division download method in a mobile terminal KR100724260B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050123795A KR100724260B1 (en) 2005-12-15 2005-12-15 Contents division download method in a mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050123795A KR100724260B1 (en) 2005-12-15 2005-12-15 Contents division download method in a mobile terminal

Publications (1)

Publication Number Publication Date
KR100724260B1 true KR100724260B1 (en) 2007-05-31

Family

ID=38278881

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050123795A KR100724260B1 (en) 2005-12-15 2005-12-15 Contents division download method in a mobile terminal

Country Status (1)

Country Link
KR (1) KR100724260B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006947A (en) * 2021-11-05 2022-02-01 统信软件技术有限公司 File downloading method and device, computing equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000058858A (en) * 2000-07-03 2000-10-05 김희석 method of a contents program transmitting for mobile and executing method thereof
KR20040085692A (en) * 2003-04-01 2004-10-08 주식회사 인츠커뮤니티 Device and method for parallel down-loading file
KR20040107152A (en) * 2003-06-12 2004-12-20 엘지전자 주식회사 Method for compression/decompression the transferring data of mobile phone
JP2005099910A (en) 2003-09-22 2005-04-14 Dainippon Printing Co Ltd Supply method and supply system for digital contents
KR20050097110A (en) * 2004-03-30 2005-10-07 엘지전자 주식회사 A method and a apparatus of downloading data file for mobile phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000058858A (en) * 2000-07-03 2000-10-05 김희석 method of a contents program transmitting for mobile and executing method thereof
KR20040085692A (en) * 2003-04-01 2004-10-08 주식회사 인츠커뮤니티 Device and method for parallel down-loading file
KR20040107152A (en) * 2003-06-12 2004-12-20 엘지전자 주식회사 Method for compression/decompression the transferring data of mobile phone
JP2005099910A (en) 2003-09-22 2005-04-14 Dainippon Printing Co Ltd Supply method and supply system for digital contents
KR20050097110A (en) * 2004-03-30 2005-10-07 엘지전자 주식회사 A method and a apparatus of downloading data file for mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114006947A (en) * 2021-11-05 2022-02-01 统信软件技术有限公司 File downloading method and device, computing equipment and storage medium
CN114006947B (en) * 2021-11-05 2024-03-01 统信软件技术有限公司 File downloading method and device, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106569844B (en) Processing method, device and equipment for updating program code
EP1628185A2 (en) Mobile communication terminal and data access control method
US20040039887A1 (en) Method and apparatus for managing resources stored on a communication device
WO2002075531A1 (en) Method for loading and executing an application in an embedded environment
CN112506584B (en) Resource file loading method, device, equipment, storage medium and product
CN111078241A (en) OTA (over the air) upgrading method and device
KR20030056446A (en) File Construction for Mobile Communication Device including Machine-Language-Code Execution Section and File Execution Method using the same
CN108268261B (en) UI (user interface) customization method of intelligent terminal, storage medium and intelligent terminal
CN109408256B (en) Application calling method and device
US7086051B2 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
KR100724260B1 (en) Contents division download method in a mobile terminal
KR100747901B1 (en) Method for compression of executable file in mobile telecommunication terminal
CN107179918B (en) Software processing method, device and system
KR100974662B1 (en) Mobile commuication terminal and method for updating firmware thereof
CN108108203B (en) Method, device and system for downloading and installing process of installation package
CN110502280B (en) Android operating system starting method and device, storage medium and terminal
CN109766123B (en) Application program packaging method and device
CN110806856A (en) Data loading method and device and electronic equipment
KR100652715B1 (en) Method and apparatus of application program dynamic loading for mobile phone
CN107783837B (en) Method and device for performing storage expansion and electronic equipment
CN115080068A (en) Resource file transmission method, device, equipment and storage medium
CN110837381B (en) Software upgrading method and device for projection equipment
CN110365839B (en) Shutdown method, shutdown device, shutdown medium and electronic equipment
CN113778546A (en) Method and device for gray scale optimization
KR100601848B1 (en) Method for Processing Download Descriptor in Mobile Communication Terminal

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
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20130424

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140424

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150422

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160503

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170508

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee