KR101460684B1 - Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading - Google Patents

Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading Download PDF

Info

Publication number
KR101460684B1
KR101460684B1 KR1020100063793A KR20100063793A KR101460684B1 KR 101460684 B1 KR101460684 B1 KR 101460684B1 KR 1020100063793 A KR1020100063793 A KR 1020100063793A KR 20100063793 A KR20100063793 A KR 20100063793A KR 101460684 B1 KR101460684 B1 KR 101460684B1
Authority
KR
South Korea
Prior art keywords
loading
data
image
hierarchy
layer
Prior art date
Application number
KR1020100063793A
Other languages
Korean (ko)
Other versions
KR20120003122A (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 KR1020100063793A priority Critical patent/KR101460684B1/en
Publication of KR20120003122A publication Critical patent/KR20120003122A/en
Application granted granted Critical
Publication of KR101460684B1 publication Critical patent/KR101460684B1/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
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying
    • 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/448Execution paradigms, e.g. implementations of programming paradigms

Abstract

프리(pre) 로딩(loading) 기반 영상 처리 장치 및 방법과 비동기 로딩 기반 영상 처리 장치 및 방법이 개시된다. 본 발명의 실시예들은 단말기에서 특정 이미지가 렌더링(rendering)되고 있을 때, 다른 이미지를 백그라운드(background)로 미리 로딩하는 멀티스레드(multithread) 기반의 이미지 로딩 기법을 제공함으로써, 단말기 상에서 이미지가 빠르게 드로잉될 수 있도록 하는 기틀을 마련할 수 있다.A pre-loading image processing apparatus and method and an asynchronous loading-based image processing apparatus and method are disclosed. Embodiments of the present invention provide a multithread-based image loading technique that preloads other images in the background when a particular image is being rendered in a terminal, To be able to establish a framework to be able to.

Figure R1020100063793
Figure R1020100063793

Description

프리 로딩 기반 영상 처리 장치 및 방법, 비동기 로딩 기반 영상 처리 장치 및 방법{APPARATUS AND METHOD FOR PROCESSING IMAGE BASED ON PRE LOADING, AND APPARATUS AND METHOD FOR PROCESSING IMAGE BASED ON ASYNCHRONOUS LOADING}BACKGROUND OF THE INVENTION Field of the Invention [0001] The present invention relates to a preloading-based image processing apparatus and method, an asynchronous loading-based image processing apparatus,

프리(pre) 로딩(loading) 기반 영상 처리 장치 및 방법과 비동기 로딩 기반 영상 처리 장치 및 방법이 개시된다. 특히, 본 발명의 실시예들은 단말기에서 특정 이미지가 렌더링(rendering)되고 있을 때, 다른 이미지를 백그라운드(background)로 미리 로딩하는 멀티스레드(multithread) 기반의 이미지 로딩 기법에 관한 것이다.A pre-loading image processing apparatus and method and an asynchronous loading-based image processing apparatus and method are disclosed. In particular, embodiments of the present invention relate to multithread-based image loading techniques for preloading other images into a background when a particular image is being rendered in a terminal.

최근 모바일 단말기 등의 유저 인터페이스(User Interface: UI)에 대한 관심이 증가하면서, 직관적이고 화려한 UI를 제공할 수 있는 그래픽 유저 인터페이스(Graphic User Interface: GUI)와 관련된 연구가 활발히 진행되고 있다.2. Description of the Related Art [0002] Recently, interest in a user interface (UI) such as a mobile terminal has been increasing, and studies related to a graphical user interface (GUI) capable of providing an intuitive and colorful UI have been actively conducted.

GUI에 대한 사용자의 요구가 증가하면서, 최근에 출시되고 있는 모바일 단말기 등에는 텍스트, 이미지, 벡터 등의 다양한 컨텐츠가 복합적으로 구성된 GUI가 탑재되고 있다.As users' demands for GUIs increase, recently launched mobile terminals are equipped with GUIs composed of various contents such as text, images, and vectors.

이로 인해, 모바일 단말기 등이 이러한 GUI를 구현하기 위해 사용해야 할 리소스(resource) 요구량도 점차 늘어나고 있다.As a result, the amount of resources that a mobile terminal or the like has to use in order to implement such a GUI is gradually increasing.

보통, 모바일 단말기 등은 GUI에서 사용되는 많은 이미지들의 로딩(loading) 속도를 줄이기 위해 미리 정의된 비트맵 형식의 파일을 사용하곤 한다.Usually, mobile terminals and the like use a predefined bitmap format file to reduce the loading speed of many images used in the GUI.

하지만, 이러한 방식은 로딩될 파일이 외부 파일이거나 네트워크로부터 다운로드 받은 파일인 경우, 파일 크기를 고려하여 압축된 이미지 파일을 사용해야 하는 경우가 많기 때문에 압축방법, 이미지 크기 또는 픽셀 컬러 수 등에 따라 로딩 성능의 차이를 가져올 수 있다.However, in such a case, if the file to be loaded is an external file or a file downloaded from the network, it is necessary to use a compressed image file considering the file size. Therefore, the loading performance may vary depending on the compression method, the image size, Can make a difference.

이와 같이, 모바일 단말기 등에서 이미지 기반의 다양한 멀티미디어 컨텐츠의 구현이 요구되면서, 이미지의 로딩 속도를 줄일 수 있는 기법에 대한 연구가 필요하다.In this way, it is necessary to study a technique to reduce the loading speed of images as the implementation of various multimedia contents based on images is required in mobile terminals and the like.

본 발명의 실시예들은 단말기에서 특정 이미지가 렌더링(rendering)되고 있을 때, 다른 이미지를 백그라운드(background)로 미리 로딩하는 멀티스레드(multithread) 기반의 이미지 로딩 기법을 제공함으로써, 단말기 상에서 이미지가 빠르게 드로잉될 수 있도록 하는 기틀을 마련하고자 한다.Embodiments of the present invention provide a multithread-based image loading technique that preloads other images in the background when a particular image is being rendered in a terminal, And to provide a framework for the

본 발명의 일실시예에 따른 프리(pre) 로딩 기반 영상 처리 장치는 디스플레이하고자 하는 이미지에 대한 데이터를 로딩(loading)하는 로딩부 및 상기 이미지에 대한 데이터 로딩이 완료되면, 상기 로딩이 완료된 데이터를 기초로 상기 이미지를 렌더링(rendering)하는 렌더링부를 포함하고, 상기 로딩부는 상기 렌더링부가 상기 이미지를 렌더링하는 동안, 로딩이 완료되지 않은 다른 이미지에 대한 데이터를 로딩한다.A pre-loading based image processing apparatus according to an embodiment of the present invention includes a loading unit for loading data for an image to be displayed, and a controller for, when data loading for the image is completed, And a rendering unit that renders the image based on the rendering information. The loading unit loads data for another image that is not yet loaded while the rendering unit is rendering the image.

이때, 본 발명의 일실시예에 따르면, 상기 로딩부는 상기 다른 이미지에 대한 데이터 로딩을 백그라운드로 수행할 수 있다.In this case, according to an embodiment of the present invention, the loading unit may perform data loading of the other image in the background.

또한, 본 발명의 일실시예에 따르면, 상기 렌더링부는 선정된(predetermined) 자원을 활용하여 장면 트리(scene tree)를 관리하고, 상기 로딩부로부터 상기 로딩이 완료된 데이터를 수신하여 상기 장면 트리를 갱신할 수 있다.According to an embodiment of the present invention, the rendering unit manages a scene tree using a predetermined resource, receives the loaded data from the loading unit, and updates the scene tree can do.

또한, 본 발명의 일실시예에 따르면, 상기 렌더링부는 상기 장면 트리를 기초로 상기 다른 이미지에 대한 데이터 로딩을 로딩부에 요청하고, 상기 로딩부는 상기 렌더링부의 요청에 따라 상기 다른 이미지에 대한 데이터를 로딩하여 상기 렌더링부로 전달할 수 있다.According to an embodiment of the present invention, the rendering unit requests data loading of the other image to the loading unit based on the scene tree, and the loading unit loads data of the other image in response to the request of the rendering unit And may be transferred to the rendering unit.

본 발명의 또 다른 일실시예에 따른 비동기 로딩 기반 영상 처리 장치는 디스플레이하고자 하는 이미지에 대한 데이터를 선정된(predetermined) 계층으로 구분하는 계층 구분부, 상기 선정된 계층으로 구분된 데이터를 순차적으로 로딩(loading)하는 로딩부 및 상기 선정된 계층으로 구분된 데이터의 로딩완료 순서에 기초하여 순차적으로 상기 이미지를 렌더링(rendering)하는 렌더링부를 포함하고, 상기 로딩부는 상기 렌더링부가 선순위 계층의 데이터를 기초로 랜더링을 수행하는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩한다.According to another aspect of the present invention, there is provided an asynchronous loading-based image processing apparatus including a hierarchical division unit for dividing data of an image to be displayed into a predetermined hierarchy, and a rendering unit that sequentially renders the image based on a loading completion order of the data classified into the predetermined hierarchical layer, wherein the rendering unit is configured to render the rendering unit based on the data of the senior layer During rendering, data of a subordinate hierarchy that has not been loaded is loaded.

이때, 본 발명의 일실시예에 따르면, 상기 로딩부는 상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행할 수 있다.In this case, according to an embodiment of the present invention, the loading unit may perform loading of data of the subordinate hierarchy in the background.

또한, 본 발명의 일실시예에 따르면, 상기 계층 구분부는 상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분할 수 있다.In addition, according to an embodiment of the present invention, the hierarchical division unit may divide the hierarchy of data for the image into a hierarchy from a lower resolution to a higher resolution based on the resolution of the image.

또한, 본 발명의 일실시예에 따르면, 상기 렌더링부는 상기 해상도의 높낮이를 기초로 구분된 데이터의 로딩완료 순서에 기초하여 낮은 해상도에서 높은 해상도 순으로 상기 이미지를 렌더링할 수 있다.Also, according to an embodiment of the present invention, the rendering unit may render the image at a lower resolution and higher resolution based on a loading completion order of data classified based on the resolution of the resolution.

본 발명의 또 다른 일실시예에 따른 프리 로딩 기반 영상 처리 방법은 디스플레이하고자 하는 이미지에 대한 데이터를 로딩(loading)하는 단계, 상기 이미지에 대한 데이터 로딩이 완료되면, 상기 로딩이 완료된 데이터를 기초로 상기 이미지를 렌더링(rendering)하는 단계, 상기 이미지가 렌더링되는 동안, 로딩이 완료되지 않은 다른 이미지에 대한 데이터를 로딩하는 단계 및 상기 다른 이미지에 대한 데이터 로딩이 완료되면, 상기 다른 이미지에 대한 데이터를 기초로 상기 다른 이미지를 렌더링하는 단계를 포함한다.According to still another aspect of the present invention, there is provided a preloading-based image processing method including loading data on an image to be displayed, loading data on the image based on the loaded data, The method of claim 1, further comprising: rendering the image; loading data for another image that has not been loaded while the image is being rendered; and if data loading for the other image is completed, And rendering the other image as a basis.

이때, 본 발명의 일실시예에 따르면, 상기 다른 이미지에 대한 데이터를 로딩하는 단계는 상기 다른 이미지에 대한 데이터 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, the step of loading data for the other image may perform data loading of the other image in the background.

또한, 본 발명의 일실시예에 따르면, 상기 프리 로딩 기반 영상 처리 방법은 선정된(predetermined) 자원을 활용하여 장면 트리(scene tree)를 관리하는 단계 및 상기 로딩이 완료된 상기 이미지에 대한 데이터를 수신하여 상기 장면 트리를 갱신하는 단계를 더 포함할 수 있다.In addition, according to an embodiment of the present invention, the preloading-based image processing method includes the steps of managing a scene tree using a predetermined resource and receiving data about the loaded image And updating the scene tree.

이때, 본 발명의 일실시예에 따르면, 상기 프리 로딩 기반 영상 처리 방법은 상기 장면 트리를 기초로 상기 다른 이미지에 대한 데이터의 로딩을 요청하는 단계를 더 포함하고, 상기 다른 이미지에 대한 데이터를 로딩하는 단계는 상기 요청에 대응하여 상기 다른 이미지에 대한 데이터를 로딩할 수 있다.According to an embodiment of the present invention, the preloading-based image processing method further includes a step of requesting loading of data of the other image based on the scene tree, May load data for the other image in response to the request.

본 발명의 또 다른 일실시예에 따른 비동기 로딩 기반 영상 처리 방법은 디스플레이하고자 하는 이미지에 대한 데이터를 선정된(predetermined) 계층으로 구분하는 단계, 상기 선정된 계층으로 구분된 데이터 중 선순위 계층의 데이터를 로딩(loading)하는 단계, 상기 선순위 계층의 데이터가 로딩 완료되면, 상기 선순위 계층의 데이터를 기초로 상기 선순위 계층의 데이터에 대응하는 이미지를 렌더링(rendering)하는 단계, 상기 선순위 계층의 데이터에 대응하는 이미지가 랜더링되는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩하는 단계 및 상기 후순위 계층의 데이터가 로딩 완료되면, 상기 후순위 계층의 데이터를 기초로 상기 후순위 계층의 데이터에 대응하는 이미지를 렌더링하는 단계를 포함한다.According to another aspect of the present invention, there is provided an asynchronous loading-based image processing method comprising the steps of: dividing data of an image to be displayed into a predetermined hierarchy; Rendering an image corresponding to the data of the priority layer on the basis of data of the priority layer when the data of the priority layer is loaded, Loading data of a subordinate hierarchy in which loading is not completed while the image is being rendered, and rendering the image corresponding to the data of the subordinate hierarchy based on the data of the subordinate hierarchy when the data of the subordinate hierarchy is loaded .

이때, 본 발명의 일실시예에 따르면, 상기 후순위 계층의 데이터를 로딩하는 단계는 상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, the step of loading data of the subordinate hierarchy may perform loading of the data of the subordinate hierarchy in the background.

또한, 본 발명의 일실시예에 따르면, 상기 선정된 계층으로 구분하는 단계는 상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분할 수 있다.In addition, according to an embodiment of the present invention, the dividing into the predetermined hierarchy may divide the hierarchy of data for the image into a low resolution to a high resolution order based on the resolution of the image.

본 발명의 실시예들은 단말기에서 특정 이미지가 렌더링(rendering)되고 있을 때, 다른 이미지를 백그라운드(background)로 미리 로딩하는 멀티스레드(multithread) 기반의 이미지 로딩 기법을 제공함으로써, 단말기 상에서 이미지가 빠르게 드로잉될 수 있도록 하는 기틀을 마련할 수 있다.Embodiments of the present invention provide a multithread-based image loading technique that preloads other images in the background when a particular image is being rendered in a terminal, To be able to establish a framework to be able to.

또한, 본 발명의 실시예들은 특정 이미지가 렌더링되고 있을 때, 상기 특정 이미지의 다음 이미지를 백그라운드로 미리 로딩함으로써, 상기 특정 이미지의 렌더링이 완료되면, 상기 다음 이미지의 렌더링을 별도의 로딩시간 없이 바로 수행할 수 있는 프리(pre) 로딩 기반 영상 처리 장치 및 방법을 제공할 수 있다.In addition, embodiments of the present invention allow a user to pre-load the next image of the specific image in the background when a specific image is being rendered, so that when rendering of the specific image is completed, The present invention can provide a pre-loading based image processing apparatus and method that can be performed.

또한, 본 발명의 실시예들은 단말기의 화면에 드로잉될 이미지를 소정의 계층으로 구분한 후 특정 계층의 이미지가 렌더링되고 있을 때, 다른 계층의 이미지를 백그라운드로 미리 로딩함으로써, 이미지의 드로잉 속도를 향상시킬 수 있는 비동기 로딩 기반 영상 처리 장치 및 방법을 제공할 수 있다.In addition, embodiments of the present invention improve the drawing speed of an image by dividing an image to be drawn on a screen of a terminal into predetermined layers and then loading an image of another layer in the background in advance when an image of a specific layer is being rendered The present invention can provide an asynchronous loading-based image processing apparatus and method.

도 1은 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 기법에 따라 이미지가 화면 상에 드로잉되는 과정을 도시한 도면이다.
도 2는 본 발명의 실시예들에 따른 멀티스레드 기반 영상 처리 기법의 동작 구조를 도시한 도면이다.
도 3은 본 발명의 일실시예에 따른 프리 로딩 기반 영상 처리 장치의 구조를 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 장치의 구조를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른 프리 로딩 기반 영상 처리 방법을 도시한 순서도이다.
도 6은 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 방법을 도시한 순서도이다.
1 is a diagram illustrating a process of drawing an image on a screen according to an asynchronous loading-based image processing technique according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating an operation structure of a multi-thread-based image processing method according to embodiments of the present invention.
3 is a diagram illustrating a structure of a preloading-based image processing apparatus according to an embodiment of the present invention.
4 is a diagram illustrating a structure of an asynchronous loading-based image processing apparatus according to an embodiment of the present invention.
5 is a flowchart illustrating a preloading-based image processing method according to an embodiment of the present invention.
6 is a flowchart illustrating an asynchronous loading-based image processing method according to an embodiment of the present invention.

이하에서, 첨부된 도면을 참조하여 본 발명에 따른 실시예들을 상세히 설명한다. 그러나, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 또한, 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. In addition, the same reference numerals shown in the drawings denote the same members.

보통, 단말기의 이미지 로딩(loading) 속도를 줄이기 위해 사용되는 기법으로 파일 로딩 시점을 분산하는 기법이 많이 사용된다.In general, a technique for distributing the loading time of a file is often used as a technique used to reduce the image loading speed of the terminal.

상기 기법은 파일이 필요할 때 마다 로딩하는 기법으로 지정된 이미지가 화면에 드로잉(drawing) 될 때 마다 파일을 로딩한다.The technique loads a file each time a specified image is drawn on the screen by a technique of loading the file whenever it is needed.

하지만, 화면의 이미지들은 한꺼번에 화면 드로잉에 포함되므로 상기 기법으로부터는 분산 로딩 효과를 기대하기 어려운 점이 있다.However, since the images on the screen are included in the screen drawing at the same time, it is difficult to expect a distributed loading effect from the above technique.

상기 기법과는 또 다른 분산 로딩 기법으로 명시적인 로딩 기법이 있지만, 상기 명시적인 로딩 기법은 불필요한 로딩 함수의 지정에 드는 개발 비용이 크기 때문에 많이 사용되지 않는다.Although there is an explicit loading scheme as another distributed loading scheme than the above scheme, the explicit loading scheme is not widely used because it is expensive to design an unnecessary loading function.

이와 관련하여, 본 발명의 실시예들은 단말기에서 특정 이미지가 렌더링(rendering)되고 있을 때, 다른 이미지를 백그라운드(background)로 미리 로딩하는 멀티스레드(multithread) 기반의 이미지 로딩 기법을 제공함으로써, 단말기 상에서 이미지가 빠르게 드로잉될 수 있도록 하는 기틀을 마련하고자 한다.In this regard, embodiments of the present invention provide a multithread-based image loading technique that preloads another image in the background when a particular image is being rendered in a terminal, We want to create a framework that allows images to be drawn quickly.

본 발명의 실시예들은 특정 이미지가 렌더링되고 있을 때, 다음 이미지를 미리 로딩하는 프리(pre) 로딩 기반 영상 처리 기법과 이미지를 선정된(predetermined) 계층으로 구분한 후 특정 계층의 이미지를 렌더링함과 동시에 점진적으로 다른 계층의 이미지 데이터를 로딩하는 비동기 로딩 기반 영상 처리 기법으로 구분할 수 있다. In the embodiments of the present invention, when a specific image is being rendered, a pre-loading based image processing technique for preloading the next image and a pre-loading based image processing technique for rendering an image of a specific layer after dividing the image into a predetermined layer And an asynchronous loading-based image processing method that gradually loads image data of different layers at the same time.

따라서, 이하에서는 본 발명의 실시예들을 상기 프리 로딩 기반 영상 처리 기법과 상기 비동기 로딩 기반 영상 처리 기법으로 구분하여 설명하기로 한다.
Therefore, embodiments of the present invention will be described below by dividing the preloading-based image processing method and the asynchronous loading-based image processing method.

프리 로딩 기반 영상 처리 기법은 특정 이미지가 렌더링되고 있을 때, 상기 특정 이미지의 다음 이미지를 백그라운드로 미리 로딩함으로써, 상기 특정 이미지의 렌더링이 완료되면, 상기 다음 이미지의 렌더링을 별도의 로딩시간 없이 바로 수행할 수 있는 기법이다.The preloading-based image processing technique is a method of preloading a next image of the specific image in the background when a specific image is being rendered, thereby rendering the next image immediately without any additional loading time It is a technique that can be done.

즉, 프리 로딩 기반 영상 처리 기법은 멀티스레드를 이용하여 다음 분기할 로딩 작업을 백그라운드로 수행하는 기법이다.That is, the preloading-based image processing technique is a technique for performing the loading operation for the next branch in the background using the multi-thread.

이러한, 프리 로딩 기반 영상 처리 기법은 이미지 로딩 시점 이전에 미리 로딩을 수행해야 하기 때문에 이미지 사용을 미리 예측해야 하고, 미리 로딩된 이미지의 총량이 물리적인 메모리 크기보다 크지 않도록 해야 한다.
Since the preloading based image processing technique needs to perform loading before the image loading time, it is necessary to predict the use of the image in advance, and the total amount of the preloaded images should not be larger than the physical memory size.

비동기 로딩 기반 영상 처리 기법은 단말기의 화면에 드로잉될 이미지를 소정의 계층으로 구분한 후 특정 계층의 이미지가 렌더링되고 있을 때, 다른 계층의 이미지를 백그라운드로 미리 로딩함으로써, 이미지의 드로잉 속도를 향상시킬 수 있는 기법이다.The asynchronous loading-based image processing technique divides the image to be drawn on the screen of the terminal into predetermined layers, and when the image of a specific layer is being rendered, the image of the other layer is loaded in the background in advance to improve the drawing speed of the image It is a technique that can be done.

즉, 비동기 로딩 기반 영상 처리 기법은 현재 드로잉에 사용될 이미지가 로딩 완료되지 않은 상태에서 로딩 상태를 실시간으로 드로잉 화면에 반영하는 기법이다.In other words, the asynchronous loading based image processing technique reflects the loading state on the drawing screen in real time when the image to be used in the drawing is not loaded yet.

따라서, 비동기 로딩 기반 영상 처리 기법은 일반적인 이미지 로딩 기법과 달리, 로딩 시간의 대기 없이 이미지 렌더링이 가능하므로, 이미지의 드로잉 속도를 향상시킬 수 있다.Therefore, the asynchronous loading based image processing method can improve the drawing speed of the image because it can render the image without waiting for loading time unlike the general image loading method.

본 발명의 일실시예에 따르면, 비동기 로딩 기반 영상 처리 기법을 구현하기 위해 이미지를 포맷에 따라 몇 가지 계층의 해상도 별로 구분한 후 구분된 해상도 별로 이미지의 로딩을 수행할 수 있다.According to an embodiment of the present invention, in order to implement an asynchronous loading-based image processing technique, an image may be divided according to a resolution of several layers according to a format, and then an image may be loaded according to resolution.

이때, 이미지 피라미드 내용을 포함하는 이미지 파일을 생성하거나 저주파 영상을 빠르게 스캔하는 방법을 사용함으로써, 해상도 별 이미지의 로딩을 구현할 수 있다.At this time, it is possible to implement an image-by-resolution image loading by using an image file containing the contents of the image pyramid or a method of quickly scanning a low-frequency image.

보통, 이미지의 해상도 별 로딩 시간은 비례적으로 필요할 것이므로, 낮은 수준의 해상도부터 점차 높은 수준의 해상도 순으로 로딩을 수행하면, 이미지의 로딩이 수행되는 동안, 서로 상이 하지 않은 이미지 결과를 만들 수 있고, 이미지의 로딩이 빠르게 수행되는 것과 같은 결과를 얻을 수 있다.Usually, the loading time for each resolution of the image will be needed proportionally, so loading from a lower level resolution to a higher level resolution order will result in different image results during the loading of the image , The result that the loading of the image is performed quickly can be obtained.

이미지를 해상도 별로 점전적으로 세분화하는 로딩은 이미지 포맷에서 인터레이스(interlace) 방식을 활용하여 처리 가능하고, 압축률이 높고 네트워크 전송에 적합한 프로그레시브 제이펙(progressive jpeg) 방법 등을 이용하여 빠르게 로딩 처리를 완료할 수 있다.Loading, which is an image segmentation by resolution, can be processed using an interlace method in the image format, and a fast loading process can be completed using a progressive jpeg method suitable for high transmission rate and network transmission .

도 1은 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 기법에 따라 이미지가 화면 상에 드로잉되는 과정을 도시한 도면이다.1 is a diagram illustrating a process of drawing an image on a screen according to an asynchronous loading-based image processing technique according to an embodiment of the present invention.

도 1에는 이미지를 저해상도에서 고해상도 순으로 4개의 계층으로 구분한 후 각 계층별로 순차적으로 렌더링을 수행함으로써, 이미지가 드로잉되는 과정이 도시되어 있다.FIG. 1 shows a process in which an image is drawn by dividing an image into four layers in the order of low resolution to high resolution, and sequentially rendering the layers in each layer.

즉, 도 1을 살펴보면, 계층 3(level 3)에 해당하는 이미지의 렌더링을 수행함과 동시에 계층 2(level 2)에 해당하는 이미지를 로딩하고, 상기 계층 3(level)에 해당하는 이미지의 렌더링이 완료되면, 그 즉시 미리 로딩된 상기 계층 2(level 2)에 해당하는 이미지의 렌더링을 수행하며, 상기 계층 2(level 2)에 해당하는 이미지의 렌더링을 수행함과 동시에 계층 1(level 1)에 해당하는 이미지의 로딩을 수행하는 방식을 이용하여 전체 이미지의 드로잉을 완료한 것임을 알 수 있다.That is, referring to FIG. 1, an image corresponding to a level 3 (level 3) is rendered and an image corresponding to a level 2 (level 2) is loaded. Upon completion, the image corresponding to the layer 2 (level 2) is rendered and the image corresponding to the layer 2 (level 2) is rendered, and at the same time, the image corresponding to the layer 1 It is understood that the drawing of the entire image is completed using the method of performing the loading of the image.

비동기 로딩 기반 영상 처리 기법은 응용프로그램에 따라 대용량 리스트와 같이 많은 이미지들이 로딩되어야 하고, 스크롤 동작에 따라 이미지들이 빠르게 교체될 필요가 있을 때, 적절하게 활용될 수 있다.The asynchronous loading based image processing technique can be appropriately utilized when a large number of images such as a large capacity list should be loaded according to an application program and images need to be quickly replaced according to the scroll operation.

만약, 이미지 리스트가 빠르게 스크롤 중일 때에는 가장 낮은 수준의 해상도 계층에 해당하는 이미지만 렌더링하고, 반대로 상기 이미지 리스트가 느리게 스크롤 되거나 정지하고 있을 때에는 모든 계층의 이미지를 로딩함으로써, 이미지 드로잉의 효율성을 높일 수 있다.
When the image list is rapidly scrolling, only the image corresponding to the lowest resolution layer is rendered. On the contrary, when the image list is scrolling slowly or stopped, all layers are loaded, thereby improving the efficiency of image drawing have.

이상, 본 발명의 실시예들에 따른 멀티스레드 기반 영상 처리 기법인 프리 로딩 기반 영상 처리 기법과 비동기 로딩 기반 영상 처리 기법에 대해 살펴보았다.As described above, the preloading-based image processing technique and the asynchronous loading-based image processing technique, which are multi-thread based image processing techniques according to the embodiments of the present invention, have been described.

이하에서는 도 2를 참조하여 본 발명의 실시예들에 따른 멀티스레드 기반 영상 처리 기법의 전체적인 동작 구조에 대해 설명하기로 한다.
Hereinafter, an overall operation structure of a multi-thread-based image processing method according to embodiments of the present invention will be described with reference to FIG.

도 2는 본 발명의 실시예들에 따른 멀티스레드 기반 영상 처리 기법의 동작 구조를 도시한 도면이다.FIG. 2 is a diagram illustrating an operation structure of a multi-thread-based image processing method according to embodiments of the present invention.

도 2를 참조하면, 메인 스레드(210)는 이미지 캐시(211), 요청 큐(212) 및 서피스 마커(Surface Maker)(213)를 포함하고, 로딩 스레드(220)는 이미지 로더(221)를 포함한다.2, the main thread 210 includes an image cache 211, a request queue 212, and a surface maker 213. The loading thread 220 includes an image loader 221 do.

메인 스레드(210)는 미리 준비된 자원을 이용하여 장면 트리(scene tree)를 관리하고, 여러가지 CPU 연산 및 렌더링을 수행한다. The main thread 210 manages a scene tree using previously prepared resources, and performs various CPU operations and rendering.

특히, 메인 스레드(210)는 자원관리를 위해 요청 큐(212)를 통해 로딩 스레드(220)에 이미지 로딩을 요청하고, 로딩 스레드(220)로부터 로딩이 완료된 이미지를 얻어와 상기 장면 트리를 갱신하여 렌더링을 수행한다.In particular, the main thread 210 requests image loading from the loading thread 220 through the request queue 212 for resource management, obtains the loaded image from the loading thread 220, and updates the scene tree Perform rendering.

로딩 스레드(220)는 메인 스레드(210)와는 별도로 리소스 로딩의 동작만을 반복적으로 수행함으로써, 메인 스레드(210)가 원할하게 리소스를 사용할 수 있도록 백그라운드에서 동작한다.The loading thread 220 operates in the background so that the main thread 210 can use the resource smoothly by performing only the operation of loading resources separately from the main thread 210. [

또한, 로딩 스레드(220)는 특정 스레드에 작업이 몰리지 않도록 요청 버퍼(230)의 크기를 조정하고, 작업 내용이 없을 때, 메인 스레드(210)가 더 많은 작업을 할 수 있도록 제어권을 돌려준다.In addition, the loading thread 220 resizes the request buffer 230 so that it does not get busy with a particular thread, and returns control so that the main thread 210 can do more work when there is no work to do.

메인 스레드(210)와 로딩 스레드(220)의 동작에 대해 좀 더 상세하게 설명하면, 먼저, 메인 스레드(210)는 장면 트리의 프리 로딩 리스트에서 로딩이 완료되지 않은 이미지를 매 프레임마다 요청 큐(212)에 추가한다.First, the main thread 210 sends an image that has not been loaded in the preloading list of the scene tree to the request queue 212).

이때, 요청 큐(212)에 추가된 이미지들은 로딩 우선 순위를 포함하고 있어야 하지만, 요청 큐(212)에 추가되는 순서와는 무관하다.At this time, the images added to the request queue 212 must include the loading priority, but are not related to the order in which they are added to the request queue 212.

요청 버퍼(230)의 크기는 메인 스레드(210)와 로딩 스레드(220)간의 무결성을 위한 동기화 변수로 사용하기 위해 요청 큐(212)의 크기와 무관하게 미리 지정된 크기만큼 설정된다.The size of the request buffer 230 is set to a predetermined size independent of the size of the request queue 212 for use as a synchronization variable for integrity between the main thread 210 and the loading thread 220. [

특히, 요청 버퍼(230)의 크기는 메인 스레드(210)의 갱신 주기 동안 로딩 스레드(220)의 처리 주기를 고려하여 결정될 수 있다.In particular, the size of the request buffer 230 may be determined in consideration of the processing cycle of the loading thread 220 during the update period of the main thread 210.

요청 버퍼(230)는 메인 스레드(210)와 로딩 스레드(220)가 함께 사용하는 변수로 로딩 스레드(220)와 뮤텍스(mutex) 동기화 작업을 수행한다.The request buffer 230 performs a mutex synchronization operation with the loading thread 220 as a variable used by the main thread 210 and the loading thread 220 together.

메인 스레드(210)는 요청 큐(212)에서 요청 버퍼(230)를 채우는 작업을 프레임마다 한번씩 수행하고, 요청 큐(212)의 우선 순위 정렬 이후 요청 버퍼(230)의 크기만큼 요청 버퍼(230)를 채우고 요청 큐(212)를 모두 비운다.The main thread 210 performs an operation to fill the request buffer 230 once in a frame once in the request queue 212 and after the priority sorting of the request queue 212 to the request buffer 230 by the size of the request buffer 230, And empties all of the request queues 212. < RTI ID = 0.0 >

로딩 스레드(220)는 매 작업 주기마다 요청 버퍼(230)의 뮤텍스 동기화를 수행하여 로딩 이미지를 결정한다.The loading thread 220 performs mutex synchronization of the request buffer 230 every work cycle to determine the loading image.

이때, 상기 로딩 이미지는 이미지 로더(221)에 의해 로딩이 완료된다.At this time, the loading image is completed by the image loader 221.

로딩 스레드(220)는 로딩이 완료된 로딩 이미지를 하드웨어가 처리 가능한 텍스처로 만들기 위해 요청 버퍼(230)와 같은 크기로 예비 버퍼(240)에 상기 로딩 이미지를 추가한다. The loading thread 220 adds the loading image to the spare buffer 240 to the same size as the request buffer 230 to make the loading image that has been loaded completed into a hardware processible texture.

이때, 예비 버퍼(240)의 모든 로딩 이미지는 메인 스레드(210)의 갱신 주기마다 서피스 마커(213)로 생성된 서피스 아이디(surface id)를 이미지 캐시(211)에 추가한다.At this time, all the loading images of the spare buffer 240 are added to the image cache 211 by the surface ID generated by the surface marker 213 every update period of the main thread 210.

본 발명의 실시예들은 멀티 스레드를 이용하는 로더의 공유 변수인 요청 버퍼(230)와 예비 버퍼(240)의 무결성을 보장하기 위해 메인 스레드(210)의 동기 함수와 로딩 스레드(220)의 서비스 함수를 통해서만 인터페이스 가능하도록 하고, 공유 변수 뮤텍스 동기화와 스레드 로더의 확장을 위해 콜백 함수를 사용할 수 있다.
Embodiments of the present invention include a synchronization function of the main thread 210 and a service function of the loading thread 220 in order to guarantee the integrity of the buffer 230 and the spare buffer 240 which are shared variables of the loader using multi- You can use the callback function to enable shared-variable mutex synchronization and thread loader extension.

이상, 도 2를 참조하여 본 발명의 실시예들에 따른 멀티스레드 기반 영상 처리 기법의 동작 구조를 설명하였다.The operation structure of the multi-thread based image processing method according to the embodiments of the present invention has been described above with reference to FIG.

이하에서는 도 3 내지 도 6을 참조하여 본 발명의 실시예들에 따른 프리 로딩 기반 영상 처리 장치 및 방법과 비동기 로딩 기반 영상 처리 장치 및 방법에 대해 구체적으로 설명하기로 한다.
Hereinafter, the preloading-based image processing apparatus and method and the asynchronous loading-based image processing apparatus and method according to the embodiments of the present invention will be described in detail with reference to FIG. 3 to FIG.

도 3은 본 발명의 일실시예에 따른 프리 로딩 기반 영상 처리 장치의 구조를 도시한 도면이다.3 is a diagram illustrating a structure of a preloading-based image processing apparatus according to an embodiment of the present invention.

도 3을 참조하면, 프리 로딩 기반 영상 처리 장치(310)는 로딩부(311) 및 렌더링부(312)를 포함한다.Referring to FIG. 3, the pre-loading-based image processing apparatus 310 includes a loading unit 311 and a rendering unit 312.

로딩부(311)는 디스플레이하고자 하는 이미지에 대한 데이터를 로딩한다.The loading unit 311 loads data for an image to be displayed.

렌더링부(312)는 상기 이미지에 대한 데이터 로딩이 완료되면, 상기 로딩이 완료된 데이터를 기초로 상기 이미지를 렌더링한다.When the data loading of the image is completed, the rendering unit 312 renders the image based on the loaded data.

이때, 로딩부(311)는 렌더링부(312)가 상기 이미지를 렌더링하는 동안, 로딩이 완료되지 않은 다른 이미지에 대한 데이터를 로딩한다.At this time, the loading unit 311 loads data for another image whose loading is not completed while the rendering unit 312 renders the image.

본 발명의 일실시예에 따르면, 로딩부(311)는 상기 다른 이미지에 대한 데이터 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, the loading unit 311 may perform data loading of the other image in the background.

또한, 본 발명의 일실시예에 따르면, 렌더링부(312)는 선정된 자원을 활용하여 장면 트리를 관리하고, 로딩부(311)로부터 상기 로딩이 완료된 데이터를 수신하여 상기 장면 트리를 갱신할 수 있다.In addition, according to an embodiment of the present invention, the rendering unit 312 manages the scene tree using the selected resources, receives the loaded data from the loading unit 311, and updates the scene tree have.

이때, 렌더링부(312)는 상기 장면 트리를 기초로 상기 다른 이미지에 대한 데이터 로딩을 로딩부(311)에 요청할 수 있다.At this time, the rendering unit 312 may request the loading unit 311 to load data for the other image based on the scene tree.

이때, 로딩부(311)는 렌더링부(312)의 요청에 따라 상기 다른 이미지에 대한 데이터를 로딩하여 렌더링부(312)로 전달할 수 있다.
At this time, the loading unit 311 may load the data of the other image according to a request of the rendering unit 312, and may transmit the data to the rendering unit 312.

도 4는 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 장치의 구조를 도시한 도면이다.4 is a diagram illustrating a structure of an asynchronous loading-based image processing apparatus according to an embodiment of the present invention.

도 4를 참조하면, 비동기 로딩 기반 영상 처리 장치(410)는 계층 구분부(411), 로딩부(412) 및 렌더링부(413)를 포함한다.Referring to FIG. 4, the asynchronous loading-based image processing apparatus 410 includes a layer division unit 411, a loading unit 412, and a rendering unit 413.

계층 구분부(411)는 디스플레이하고자 하는 이미지에 대한 데이터를 선정된 계층으고 구분한다.The hierarchical division unit 411 divides the data of the image to be displayed into a predetermined hierarchy.

로딩부(412)는 상기 선정된 계층으로 구분된 데이터를 순차적으로 로딩한다.The loading unit 412 sequentially loads the data classified into the selected layer.

렌더링부(413)는 상기 선정된 계층으로 구분된 데이터의 로딩완료 순서에 기초하여 순차적으로 상기 이미지를 렌더링한다.The rendering unit 413 sequentially renders the image based on the loading completion order of the data classified into the selected layer.

이때, 로딩부(412)는 렌더링부(413)가 선순위 계층의 데이터를 기초로 렌더링을 수행하는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩한다.At this time, the loading unit 412 loads the data of the subordinate hierarchy in which the rendering is not completed, while the rendering unit 413 performs rendering based on the data of the senior hierarchy.

본 발명의 일실시예에 따르면, 로딩부(412)는 상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, the loading unit 412 may perform loading of data of the subordinate hierarchy in the background.

또한, 본 발명의 일실시예에 따르면, 계층 구분부(411)는 상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분할 수 있다.In addition, according to an embodiment of the present invention, the hierarchy classifying unit 411 can classify the hierarchy of data for the image in the order of low resolution to high resolution based on the resolution of the image.

이때, 렌더링부(413)는 상기 해상도의 높낮이를 기초로 구분된 데이터의 로딩완료순서에 기초하여 낮은 해상도에서 높은 해상도 순으로 상기 이미지를 렌더링할 수 있다.
At this time, the rendering unit 413 may render the image in the order of low resolution to high resolution based on the loading completion order of data classified based on the height of the resolution.

도 5는 본 발명의 일실시예에 따른 프리 로딩 기반 영상 처리 방법을 도시한 순서도이다.5 is a flowchart illustrating a preloading-based image processing method according to an embodiment of the present invention.

단계(S510)에서는 디스플레이하고자 하는 이미지에 대한 데이터를 로딩한다.In step S510, data for an image to be displayed is loaded.

단계(S520)에서는 상기 이미지에 대한 데이터 로딩이 완료되면, 상기 로딩이 완료된 데이터를 기초로 상기 이미지를 렌더링한다.In step S520, when the data loading for the image is completed, the image is rendered based on the loaded data.

단계(S530)에서는 상기 이미지가 렌더링되는 동안, 로딩이 완료되지 않은 다른 이미지에 대한 데이터를 로딩한다.In step S530, while the image is rendered, data for other images whose loading has not been completed are loaded.

본 발명의 일실시예에 따르면, 단계(S530)에서는 상기 다른 이미지에 대한 데이터 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, in step S530, data loading for the other image may be performed in the background.

단계(S540)에서는 상기 다른 이미지에 대한 데이터 로딩이 완료되면, 상기 다른 이미지에 대한 데이터를 기초로 상기 다른 이미지를 렌더링한다.In step S540, when the data loading for the other image is completed, the other image is rendered based on the data for the other image.

본 발명의 일실시예에 따른 프리 로딩 기반 영상 처리 방법은 단계(S510)이전에 선정된 자원을 활용하여 장면 트리를 관리하는 단계를 더 포함할 수 있다.The preloading-based image processing method according to an embodiment of the present invention may further include a step of managing a scene tree using the selected resources before the step S510.

이때, 상기 프리 로딩 기반 영상 처리 방법은 단계(S510)이후에 상기 로딩이 완료된 상기 이미지에 대한 데이터를 수신하여 상기 장면 트리를 갱신하는 단계를 더 포함할 수 있다.In this case, the preloading-based image processing method may further include receiving the data of the loaded image after the step S510 and updating the scene tree.

또한, 상기 프리 로딩 기반 영상 처리 방법은 단계(S510)이후에 상기 장면 트리를 기초로 상기 다른 이미지에 대한 데이터 로딩을 요청하는 단계를 더 포함할 수 있다.In addition, the preloading-based image processing method may further include a step of requesting data loading on the other image based on the scene tree after step S510.

이때, 단계(S530)은 상기 요청에 대응하여 상기 다른 이미지에 대한 데이터를 로딩할 수 있다.
At this time, the step S530 may load the data for the other image in response to the request.

도 6은 본 발명의 일실시예에 따른 비동기 로딩 기반 영상 처리 방법을 도시한 순서도이다.6 is a flowchart illustrating an asynchronous loading-based image processing method according to an embodiment of the present invention.

단계(S610)에서는 디스플레이하고자 하는 이미지에 대한 데이터를 선정된 계층으로 구분한다.In step S610, data for an image to be displayed is classified into a predetermined layer.

이때, 본 발명의 일실시예에 따르면, 단계(S610)에서는 상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분할 수 있다.At this time, according to an embodiment of the present invention, in step S610, the hierarchy of data for the image can be divided into the order of low resolution to high resolution based on the resolution of the image.

단계(S620)에서는 상기 선정된 계층으로 구분된 데이터 중 선순위 계층의 데이터를 로딩한다.In step S620, data of the highest layer among the data classified into the selected layer is loaded.

단계(S630)에서는 상기 선순위 계층의 데이터가 로딩 완료되면, 상기 선순위 계층의 데이터를 기초로 상기 선순위 계층의 데이터에 대응하는 이미지를 렌더링한다.In step S630, when the data of the priority layer is loaded, an image corresponding to the data of the priority layer is rendered based on the data of the priority layer.

단계(S640)에서는 상기 선순위 계층의 데이터에 대응하는 이미지가 렌더링되는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩한다.In step S640, while the image corresponding to the data of the priority layer is rendered, the data of the subordinate layer whose loading is not completed is loaded.

이때, 본 발명의 일실시예에 따르면, 단계(S640)에서는 상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행할 수 있다.According to an embodiment of the present invention, in step S640, loading of data of the subordinate hierarchy may be performed in the background.

단계(S650)에서는 상기 후순위 계층의 데이터가 로딩 완료되면, 상기 후순위 계층의 데이터를 기초로 상기 후순위 계층의 데이터에 대응하는 이미지를 렌더링한다.
In step S650, when the data of the subordinate hierarchy is loaded, the image corresponding to the data of the subordinate hierarchy is rendered based on the data of the subordinate hierarchy.

본 발명에 따른 실시예들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Embodiments according to the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

210: 메인 스레드
211: 이미지 캐시 212: 요청 큐 213: 서피스 마커
220: 로딩 스레드
221: 이미지 로더
230: 요청 버퍼 240: 예비 버퍼
310: 프리 로딩 기반 영상 처리 장치
311: 로딩부 312: 렌더링부
410: 비동기 로딩 기반 영상 처리 장치
411: 계층 구분부 412: 로딩부 413: 렌더링부
210: Main thread
211: image cache 212: request queue 213: surface marker
220: Loading thread
221: Image Loader
230: Request buffer 240: Reserved buffer
310: Preloading-based image processing device
311: loading section 312: rendering section
410: Asynchronous loading based image processing device
411: layer division unit 412: loading unit 413: rendering unit

Claims (16)

삭제delete 삭제delete 삭제delete 삭제delete 디스플레이하고자 하는 이미지에 대한 데이터를 선정된(predetermined) 계층으로 구분하는 계층 구분부;
상기 선정된 계층으로 구분된 데이터를 순차적으로 로딩(loading)하는 로딩부; 및
상기 선정된 계층으로 구분된 데이터의 로딩완료 순서에 기초하여 순차적으로 상기 이미지를 렌더링(rendering)하는 렌더링부
를 포함하고,
상기 로딩부는 상기 렌더링부가 선순위 계층의 데이터를 기초로 랜더링을 수행하는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩하며,
상기 계층 구분부는
상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분하는 것을 특징으로 하는 비동기 로딩 기반 영상 처리 장치.
A hierarchical division unit for dividing data for an image to be displayed into a predetermined hierarchy;
A loading unit for sequentially loading data classified into the selected layer; And
And a rendering unit that sequentially renders the image based on the loading completion order of the data classified into the predetermined hierarchy,
Lt; / RTI >
The loading unit loads data of a subordinate hierarchy in which loading is not completed while the rendering unit performs rendering based on data of a senior hierarchy,
The layer classifier
Wherein the hierarchy of data for the image is divided into low resolution to high resolution based on the resolution of the image.
제5항에 있어서,
상기 로딩부는
상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행하는 것을 특징으로 하는 비동기 로딩 기반 영상 처리 장치.
6. The method of claim 5,
The loading section
Wherein the loading of the data of the subordinate hierarchy is performed in the background.
삭제delete 제5항에 있어서,
상기 렌더링부는
상기 해상도의 높낮이를 기초로 구분된 데이터의 로딩완료 순서에 기초하여 낮은 해상도에서 높은 해상도 순으로 상기 이미지를 렌더링하는 것을 특징으로 하는 비동기 로딩 기반 영상 처리 장치.
6. The method of claim 5,
The rendering unit
Wherein the image is rendered in the order of low resolution to high resolution based on a loading completion order of data classified based on the height of the resolution.
삭제delete 삭제delete 삭제delete 삭제delete 디스플레이하고자 하는 이미지에 대한 데이터를 선정된(predetermined) 계층으로 구분하는 단계;
상기 선정된 계층으로 구분된 데이터 중 선순위 계층의 데이터를 로딩(loading)하는 단계;
상기 선순위 계층의 데이터가 로딩 완료되면, 상기 선순위 계층의 데이터를 기초로 상기 선순위 계층의 데이터에 대응하는 이미지를 렌더링(rendering)하는 단계;
상기 선순위 계층의 데이터에 대응하는 이미지가 랜더링되는 동안, 로딩이 완료되지 않은 후순위 계층의 데이터를 로딩하는 단계; 및
상기 후순위 계층의 데이터가 로딩 완료되면, 상기 후순위 계층의 데이터를 기초로 상기 후순위 계층의 데이터에 대응하는 이미지를 렌더링하는 단계
를 포함하며,
상기 선정된 계층으로 구분하는 단계는
상기 이미지의 해상도에 기초하여 상기 이미지에 대한 데이터의 계층을 낮은 해상도에서 높은 해상도 순으로 구분하는 단계인 것을 특징으로 하는 비동기 로딩 기반 영상 처리 방법.
Dividing data for an image to be displayed into a predetermined hierarchy;
Loading data of a priority layer among the data classified into the selected layers;
Rendering the image corresponding to the data of the higher layer based on the data of the higher layer when the data of the higher layer is loaded;
Loading data of a subordinate layer whose loading has not been completed while an image corresponding to the data of the senior layer is being rendered; And
Rendering the image corresponding to the data of the succeeding layer on the basis of the data of the succeeding layer when the data of the succeeding layer is loaded,
/ RTI >
The step of classifying into the selected hierarchy
And dividing the hierarchy of data for the image into low resolution to high resolution based on the resolution of the image.
제13항에 있어서,
상기 후순위 계층의 데이터를 로딩하는 단계는
상기 후순위 계층의 데이터에 대한 로딩을 백그라운드로 수행하는 것을 특징으로 하는 비동기 로딩 기반 영상 처리 방법.
14. The method of claim 13,
The step of loading data of the subordinate hierarchy
Wherein the loading of the data of the subordinate hierarchy is performed in the background.
삭제delete 제13항 내지 제14항 중 어느 한 항의 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a program for performing the method of any one of claims 13 to 14.
KR1020100063793A 2010-07-02 2010-07-02 Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading KR101460684B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100063793A KR101460684B1 (en) 2010-07-02 2010-07-02 Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100063793A KR101460684B1 (en) 2010-07-02 2010-07-02 Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading

Publications (2)

Publication Number Publication Date
KR20120003122A KR20120003122A (en) 2012-01-10
KR101460684B1 true KR101460684B1 (en) 2014-11-12

Family

ID=45610209

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100063793A KR101460684B1 (en) 2010-07-02 2010-07-02 Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading

Country Status (1)

Country Link
KR (1) KR101460684B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101711510B1 (en) * 2015-02-27 2017-03-02 주식회사 토브스 Control system and method for displaying image data from IP cameras
KR101880507B1 (en) * 2017-04-21 2018-07-20 주식회사 한글과컴퓨터 Client terminal device that supports resizing of a figure embedded in a web document and operating method thereof
KR101880508B1 (en) * 2017-04-27 2018-07-20 주식회사 한글과컴퓨터 Web document editing support apparatus and method for supporting list generation in web documents
CN110941459A (en) * 2019-11-20 2020-03-31 东软集团股份有限公司 Method and device for calling Replugin

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040045883A (en) * 2001-10-22 2004-06-02 애플 컴퓨터, 인코포레이티드 Media player with instant play capability
KR20050048416A (en) * 2003-11-19 2005-05-24 삼성전자주식회사 Storage medium including preloading data, display playback device and display playback method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040045883A (en) * 2001-10-22 2004-06-02 애플 컴퓨터, 인코포레이티드 Media player with instant play capability
KR20050048416A (en) * 2003-11-19 2005-05-24 삼성전자주식회사 Storage medium including preloading data, display playback device and display playback method thereof

Also Published As

Publication number Publication date
KR20120003122A (en) 2012-01-10

Similar Documents

Publication Publication Date Title
KR102419745B1 (en) Game rendering method, and game resource file creation method, apparatus, and device
US9383917B2 (en) Predictive tiling
US10423527B2 (en) Memory management and image display for mobile devices
US8803896B2 (en) Providing a coherent user interface across multiple output devices
CN110377263B (en) Image synthesis method, image synthesis device, electronic equipment and storage medium
US20180027061A1 (en) Method and apparatus for elastically scaling virtual machine cluster
KR102096497B1 (en) Reduced latency of map interfaces
KR101952983B1 (en) System and method for layering using tile-based renderers
US20220139017A1 (en) Layer composition method, electronic device, and storage medium
US20150254806A1 (en) Efficient Progressive Loading Of Media Items
KR101460684B1 (en) Apparatus and method for processing image based on pre loading, and apparatus and method for processing image based on asynchronous loading
CN105247478A (en) Command instruction management
JP2022524745A (en) Methods and equipment for step-aware workflows
CN107526623B (en) Data processing method and device
KR101779791B1 (en) Transmitting information based on reading speed
CN104866291A (en) Android-based 2D mobile game engine
CN113504862A (en) View data processing method and device, target device and storage medium
CN113419806B (en) Image processing method, device, computer equipment and storage medium
CN114745570A (en) Image rendering method, electronic device and storage medium
US9189253B2 (en) Reentrant window manager
US10074155B2 (en) Dynamic selection of image rendering formats
CN111966853A (en) Management method of remote sensing image
JP2009199260A (en) Display processing device, cellphone having display processing device, display processing method, control program, and recording medium
CN112218003B (en) Desktop image acquisition method and device and electronic equipment
CN109905759B (en) List display method, device, equipment and medium applied to Android client

Legal Events

Date Code Title Description
N231 Notification of change of applicant
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: 20171027

Year of fee payment: 4