KR102313529B1 - System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same - Google Patents

System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same Download PDF

Info

Publication number
KR102313529B1
KR102313529B1 KR1020150032759A KR20150032759A KR102313529B1 KR 102313529 B1 KR102313529 B1 KR 102313529B1 KR 1020150032759 A KR1020150032759 A KR 1020150032759A KR 20150032759 A KR20150032759 A KR 20150032759A KR 102313529 B1 KR102313529 B1 KR 102313529B1
Authority
KR
South Korea
Prior art keywords
rendering
render tree
cloud streaming
image
configuration
Prior art date
Application number
KR1020150032759A
Other languages
Korean (ko)
Other versions
KR20160109072A (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 KR1020150032759A priority Critical patent/KR102313529B1/en
Publication of KR20160109072A publication Critical patent/KR20160109072A/en
Application granted granted Critical
Publication of KR102313529B1 publication Critical patent/KR102313529B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23103Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion using load balancing strategies, e.g. by placing or distributing content on different disks, different memories or different servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

클라우드 스트리밍 서비스 시스템, 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법 및 이를 위한 장치가 개시된다. 어플리케이션 실행화면을 수신하고, 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 어플리케이션 실행화면을 렌더링하고, 렌더링된 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송할 수 있다. 이미지 기반의 클라우드 스트리밍 서비스 시 렌더링 횟수를 줄여 클라우드 스트리밍 서버의 자원을 보다 효율적으로 활용할 수 있고, 동시 접속률을 향상시켜 보다 많은 사용자들에게 서비스를 제공하는 것이 가능하다.Disclosed are a cloud streaming service system, an image cloud streaming service method based on optimal rendering, and an apparatus therefor. Receives the application execution screen, renders the application execution screen in consideration of the configuration of the render tree corresponding to the rendering performance criteria, captures an image from the rendered application execution screen, and compresses the captured image with a still image encoding method to allow the user can be transmitted to the terminal of In the case of an image-based cloud streaming service, it is possible to use the resources of the cloud streaming server more efficiently by reducing the number of renderings, and to provide the service to more users by improving the concurrent access rate.

Description

클라우드 스트리밍 서비스 시스템, 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법 및 이를 위한 장치 {SYSTEM FOR CLOUD STREAMING SERVICE, METHOD OF IMAGE CLOUD STREAMING SERVICE BASED ON OPTIMUM RENDERING AND APPARATUS FOR THE SAME}Cloud streaming service system, image cloud streaming service method based on optimal rendering, and device therefor

본 발명은 렌더 트리를 기반으로 최적 렌더링을 수행하여 동시 접속자의 수를 향상시킬 수 있는 클라우드 스트리밍 서비스 시스템, 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법 및 이를 위한 장치에 관한 것이다.The present invention relates to a cloud streaming service system capable of improving the number of concurrent users by performing optimal rendering based on a render tree, an image cloud streaming service method based on optimal rendering, and an apparatus therefor.

인터넷의 급속한 발달은 개인의 통신 속도를 급격히 향상시키는 결과를 가져왔으며, 이러한 통신 속도의 향상은 원격지에 위치한 컴퓨터에 접속하여 대용량의 데이터를 다운로드 또는 업로드 하거나, 원격지 컴퓨터 제어 프로그램을 사용하여 마치 원격지 컴퓨터에 로컬 로그인한 것과 같이 원격지 컴퓨터를 이용할 수 있는 환경을 제공하고 있다.The rapid development of the Internet has resulted in a rapid increase in personal communication speed, and this improvement in communication speed is like downloading or uploading large amounts of data by accessing a computer located at a remote location, or using a remote computer control program as if it were a remote computer. It provides an environment where you can use a remote computer as if you were logged in locally.

또한, 스마트폰과 같은 이동통신 단말에서 구동되는 어플리케이션이 다양하게 개발되면서, 비교적 낮은 성능의 사용자 단말에서 높은 성능을 필요로 하는 어플리케이션을 구동하기 위한 가상화 기술들이 많이 제안되고 있다. In addition, as applications driven in mobile communication terminals such as smartphones have been developed in various ways, many virtualization technologies have been proposed for driving applications requiring high performance in user terminals with relatively low performance.

그 중에서 어플리케이션을 서버에서 구동시키고 구동화면은 비디오 인코딩(Encoding)을 통해 압축하여 클라이언트로 전송하고, 클라이언트는 전송된 비디오를 재생하여 마치 자신의 단말에서 어플리케이션이 구동되는 것과 같은 효과를 내는 화면 가상화 기반의 클라우드 스트리밍 서비스가 각광받고 있는 추세이다.Among them, a screen virtualization base that runs an application on the server, compresses the driving screen through video encoding, and transmits it to the client, and the client plays the transmitted video to have the same effect as if the application is running on its own terminal. of cloud streaming services are in the spotlight.

클라우드 스트리밍 서비스는 기본적으로 비디오 코덱 기반의 클라우드 스트리밍 기법이 적용되었다. 그러나 메뉴 디스플레이와 같이 정적인 화면을 서비스 하는 경우에도 불필요하게 화면 전체를 캡처하고 비디오 코덱을 이용하여 동작하게 되어 시스템 전체적으로 비효율적인 측면이 존재하였다.The cloud streaming service basically applied the video codec-based cloud streaming technique. However, even in the case of servicing a static screen such as a menu display, the entire screen is unnecessarily captured and the video codec is used to operate, which is inefficient as a whole system.

또한, 웹 어플리케이션의 경우 브라우저에서 많은 수의 화면을 렌더링하고, 렌더링된 화면을 캡처 및 인코딩하여 전달하기 때문에 자원 소모가 많아 최대 동접자 수에 영향을 줄 수 있었다. In addition, in the case of a web application, a large number of screens are rendered in the browser, and the rendered screen is captured and encoded and delivered, so resource consumption is high, which can affect the maximum number of concurrent users.

따라서, 이와 같이 정적인 화면을 서비스하는 경우, 정적인 화면에서 변화된 부분만을 캡처하여 클라우드 스트리밍 서비스를 제공하되, 실제 의미 있는 변화가 완료된 후에만 렌더링을 하여 렌더링, 캡처, 인코딩 및 센딩에 상응하는 파이프라인 과정의 수행 횟수를 최적화 할 수 있는 이미지 기반의 클라우드 스트리밍 서비스 기술이 절실하게 대두되고 있다.Therefore, when servicing a static screen as described above, cloud streaming service is provided by capturing only the changed part of the static screen, but rendering is performed only after the actual meaningful change is completed and the pipe corresponding to rendering, capturing, encoding and sending An image-based cloud streaming service technology that can optimize the number of executions of the line process is urgently emerging.

한국 등록 특허 제10-1134807호, 2012년 4월 2일 등록 (명칭: 고속 채널 스위칭을 위한 조기 렌더링)Korean Patent No. 10-1134807, registered on April 2, 2012 (Title: Early Rendering for Fast Channel Switching)

본 발명의 목적은, 이미지 기반의 클라우드 스트리밍 서비스 시 렌더링 횟수를 줄여 클라우드 스트리밍 서버의 부하량을 감소시키는 것이다.An object of the present invention is to reduce the load of the cloud streaming server by reducing the number of renderings in the case of an image-based cloud streaming service.

또한, 본 발명의 목적은 클라우드 스트리밍 서버의 한정된 자원을 보다 효율적으로 활용하여 동시 접속률을 향상시키는 것이다.In addition, an object of the present invention is to improve the simultaneous access rate by more efficiently utilizing the limited resources of the cloud streaming server.

또한, 본 발명의 목적은 어플리케이션 실행화면에서 변화된 이미지만을 처리하여 사용자 단말로 제공함으로써 저사양의 단말에서도 고사양의 어플리케이션 실행화면을 제공하는 것이다.In addition, an object of the present invention is to provide a high-spec application execution screen even in a low-spec terminal by processing only the changed image on the application execution screen and providing it to the user terminal.

상기한 목적을 달성하기 위한 본 발명에 따른 클라우드 스트리밍 서버는, 어플리케이션 실행화면을 수신하는 수신부; 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 상기 어플리케이션 실행화면을 렌더링하는 렌더링부; 및 렌더링된 상기 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송하는 스트리밍부를 포함한다.Cloud streaming server according to the present invention for achieving the above object, the receiving unit for receiving the application execution screen; a rendering unit for rendering the application execution screen in consideration of the configuration of a render tree corresponding to a rendering performance criterion; and a streaming unit that captures an image from the rendered application execution screen, compresses the captured image using a still image encoding method, and transmits it to the user's terminal.

이 때, 렌더링 수행 기준은 최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응할 수 있다.In this case, the rendering performance criterion may correspond to any one of the maximum number of rendering delays and rendering waiting time.

이 때, 렌더링부는 상기 렌더 트리의 렌더링 지연 횟수가 상기 최대 렌더링 지연 횟수에 상응하는 경우 및 상기 렌더링 대기 시간 동안 상기 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 상기 렌더 트리의 구성에 상응하게 상기 어플리케이션 실행화면을 렌더링할 수 있다.In this case, the rendering unit is the render tree in any one of a case where the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time. The application execution screen may be rendered according to the configuration of .

이 때, 렌더링부는 상기 렌더 트리의 구성에 변화가 발생할 때마다 상기 렌더링 지연 횟수를 증가시킬 수 있다.In this case, the rendering unit may increase the number of rendering delays whenever a change occurs in the configuration of the render tree.

이 때, 렌더링 지연 횟수는 상기 렌더링이 수행되면 초기화시킬 수 있다.In this case, the number of rendering delays may be initialized when the rendering is performed.

이 때, 렌더링부는 상기 렌더 트리의 구성이 완료된 경우에 상기 렌더링 수행 기준을 고려하지 않고, 상기 구성이 완료된 렌더 트리에 상응하게 상기 어플리케이션 실행화면을 렌더링할 수 있다.In this case, when the configuration of the render tree is completed, the rendering unit may render the application execution screen according to the finished render tree without considering the rendering performance criteria.

이 때, 스트리밍부는 렌더링된 상기 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 상기 이미지로 캡처할 수 있다.In this case, the streaming unit may capture the changed area as the image by comparing the rendered frames of the application execution screen.

또한, 본 발명에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은, 어플리케이션 실행화면을 수신하는 단계; 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 상기 어플리케이션 실행화면을 렌더링하는 단계; 및 렌더링된 상기 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송하는 단계를 포함한다.In addition, the image cloud streaming service method based on the optimal rendering according to the present invention, receiving an application execution screen; rendering the application execution screen in consideration of a configuration of a render tree corresponding to a rendering performance criterion; and capturing an image from the rendered application execution screen, compressing the captured image using a still image encoding method, and transmitting the captured image to a user's terminal.

이 때, 렌더링 수행 기준은 최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응할 수 있다.In this case, the rendering performance criterion may correspond to any one of the maximum number of rendering delays and rendering waiting time.

이 때, 렌더링하는 단계는 상기 렌더 트리의 렌더링 지연 횟수가 상기 최대 렌더링 지연 횟수에 상응하는 경우 및 상기 렌더링 대기 시간 동안 상기 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 상기 렌더 트리의 구성에 상응하게 상기 어플리케이션 실행화면을 렌더링할 수 있다.In this case, the rendering is performed when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change in the configuration of the render tree occurs during the rendering waiting time. The application execution screen may be rendered according to the configuration of the render tree.

이 때, 렌더링하는 단계는 상기 렌더 트리의 구성에 변화가 발생할 때마다 상기 렌더링 지연 횟수를 증가시킬 수 있다.In this case, the rendering may increase the number of rendering delays whenever a change occurs in the configuration of the render tree.

이 때, 렌더링 지연 횟수는 상기 렌더링이 수행되면 초기화시킬 수 있다.In this case, the number of rendering delays may be initialized when the rendering is performed.

이 때, 렌더링하는 단계는 상기 렌더 트리의 구성이 완료된 경우에 상기 렌더링 수행 기준을 고려하지 않고, 상기 구성이 완료된 렌더 트리에 상응하게 상기 어플리케이션 실행화면을 렌더링할 수 있다.In this case, the rendering may render the application execution screen according to the completed render tree without considering the rendering performance criteria when the rendering of the render tree is completed.

이 때, 전송하는 단계는 렌더링된 상기 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 상기 이미지로 캡처할 수 있다.In this case, the transmitting may capture the changed region as the image by comparing the rendered frames of the application execution screen.

본 발명에 따르면, 이미지 기반의 클라우드 스트리밍 서비스 시 렌더링 횟수를 줄여 클라우드 스트리밍 서버의 부하량을 감소시킬 수 있다.According to the present invention, it is possible to reduce the load of the cloud streaming server by reducing the number of renderings in the case of an image-based cloud streaming service.

또한, 본 발명은 클라우드 스트리밍 서버의 한정된 자원을 보다 효율적으로 활용하여 동시 접속률을 향상시킬 수 있다.In addition, the present invention can improve the simultaneous access rate by more efficiently utilizing the limited resources of the cloud streaming server.

또한, 본 발명은 어플리케이션 실행화면에서 변화된 이미지만을 처리하여 사용자 단말로 제공함으로써 저사양의 단말에서도 고사양의 어플리케이션 실행화면을 제공할 수 있다.In addition, the present invention can provide a high-spec application execution screen even in a low-spec terminal by processing only the changed image on the application execution screen and providing it to the user terminal.

도 1은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 시스템을 나타낸 블록도이다.
도 2는 도 1에 도시된 클라우드 스트리밍 서버의 일 예를 나타낸 블록도이다.
도 3은 브라우저 렌더링 엔진의 일반적인 동작 흐름을 나타낸 도면이다.
도 4는 브라우저에서 DOM 트리와 CSSOM 트리를 결합하여 렌더 트리를 생성하는 과정을 나타낸 도면이다.
도 5a는 본 발명의 일실시예에 따른 최대 렌더링 지연 횟수에 기반하여 렌더링을 수행하는 과정을 나타낸 도면이다.
도 5b는 본 발명의 일실시예에 따른 렌더링 대기 시간에 기반하여 렌더링을 수행하는 과정을 나타낸 도면이다.
도 6은 본 발명의 일실시예에 따라 프레임을 비교하여 캡처될 이미지를 검출하는 과정을 나타낸 도면이다.
도 7은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 나타낸 도면이다.
도 8은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 도면이다.
도 9는 본 발명의 다른 실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 도면이다.
도 10은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 과정을 나타낸 도면이다.
1 is a block diagram showing a cloud streaming service system according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of the cloud streaming server shown in FIG. 1 .
3 is a diagram illustrating a general operational flow of a browser rendering engine.
4 is a diagram illustrating a process of generating a render tree by combining a DOM tree and a CSSOM tree in a browser.
5A is a diagram illustrating a process of performing rendering based on the maximum number of rendering delays according to an embodiment of the present invention.
5B is a diagram illustrating a process of performing rendering based on a rendering waiting time according to an embodiment of the present invention.
6 is a diagram illustrating a process of detecting an image to be captured by comparing frames according to an embodiment of the present invention.
7 is a diagram illustrating an image cloud streaming service method based on optimal rendering according to an embodiment of the present invention.
8 is a diagram illustrating in detail an image cloud streaming service method based on optimal rendering according to an embodiment of the present invention.
9 is a diagram illustrating in detail an image cloud streaming service method based on optimal rendering according to another embodiment of the present invention.
10 is a diagram illustrating an image cloud streaming service process based on optimal rendering according to an embodiment of the present invention.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 다만, 하기의 설명 및 첨부된 도면에서 본 발명의 요지를 흐릴 수 있는 공지 기능 또는 구성에 대한 상세한 설명은 생략한다. 또한, 도면 전체에 걸쳐 동일한 구성 요소들은 가능한 한 동일한 도면 부호로 나타내고 있음에 유의하여야 한다. 본 발명의 실시형태는 당 업계에서 평균적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해서 제공되는 것이다. 따라서, 도면에서의 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, detailed descriptions of well-known functions or configurations that may obscure the gist of the present invention in the following description and accompanying drawings will be omitted. Also, it should be noted that throughout the drawings, the same components are denoted by the same reference numerals as much as possible. The embodiments of the present invention are provided in order to more completely explain the present invention to those of ordinary skill in the art. Accordingly, the shapes and sizes of elements in the drawings may be exaggerated for clearer description.

이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위한 용어의 개념으로 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다. 또한 제 1, 제 2 등의 용어는 다양한 구성요소들을 설명하기 위해 사용하는 것으로, 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용될 뿐, 상기 구성요소들을 한정하기 위해 사용되지 않는다.The terms or words used in the present specification and claims described below should not be construed as being limited to their ordinary or dictionary meanings, and the inventor is appropriate as a concept of terms for describing his invention in the best way. It should be interpreted as meaning and concept consistent with the technical idea of the present invention based on the principle that it can be defined in Accordingly, the embodiments described in this specification and the configurations shown in the drawings are only the most preferred embodiment of the present invention, and do not represent all of the technical spirit of the present invention. It should be understood that there may be equivalents and variations. In addition, terms such as first, second, etc. are used to describe various components, and are used only for the purpose of distinguishing one component from other components, and are not used to limit the components.

도 1은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 시스템을 나타낸 블록도이다.1 is a block diagram showing a cloud streaming service system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 시스템은 클라우드 스트리밍 서버(110), 단말(120-1~ 120-N) 및 네트워크(130)를 포함한다.Referring to FIG. 1 , the cloud streaming service system according to an embodiment of the present invention includes a cloud streaming server 110 , terminals 120-1 to 120-N, and a network 130 .

클라우드 스트리밍 서버(110)는 어플리케이션 실행화면을 수신한다.Cloud streaming server 110 receives the application execution screen.

또한, 클라우드 스트리밍 서버(110)는 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 어플리케이션 실행화면을 렌더링한다.In addition, the cloud streaming server 110 renders the application execution screen in consideration of the configuration of the render tree corresponding to the rendering performance criteria.

이 때, 렌더링 수행 기준은 최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응할 수 있다.In this case, the rendering performance criterion may correspond to any one of the maximum number of rendering delays and rendering waiting time.

이 때, 렌더 트리의 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응하는 경우 및 렌더링 대기 시간 동안 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 렌더 트리의 구성에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다.At this time, when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time, the application is executed according to the configuration of the render tree The screen can be rendered.

이 때, 렌더 트리의 구성에 변화가 발생할 때마다 렌더링 지연 횟수를 증가시킬 수 있다.In this case, the number of rendering delays may be increased whenever a change occurs in the configuration of the render tree.

이 때, 렌더링 지연 횟수는 렌더링이 수행되면 초기화시킬 수 있다.In this case, the number of rendering delays may be initialized when rendering is performed.

이 때, 렌더 트리의 구성이 완료된 경우에 렌더링 수행 기준을 고려하지 않고, 구성이 완료된 렌더 트리에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다.In this case, when the configuration of the render tree is completed, the application execution screen may be rendered according to the configured render tree without considering the rendering performance criteria.

또한, 클라우드 스트리밍 서버(110)는 렌더링된 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말(120-1~ 120-N)로 전송한다.In addition, the cloud streaming server 110 captures an image from the rendered application execution screen, compresses the captured image by a still image encoding method, and transmits it to the user's terminals 120-1 to 120-N.

이 때, 렌더링된 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 이미지로 캡처할 수 있다.In this case, the changed area may be captured as an image by comparing the rendered frames of the application execution screen.

단말(120-1~ 120-N)은 클라우드 스트리밍 서버(110)로부터 클라우드 스트리밍 서비스에 상응하는 어플리케이션 실행화면을 수신하여 사용자에게 제공한다.The terminals 120-1 to 120-N receive the application execution screen corresponding to the cloud streaming service from the cloud streaming server 110 and provide it to the user.

또한, 단말(120-1~ 120-N)은 각각 통신망에 연결되어 클라우드 컴퓨팅 시스템 기반으로 어플리케이션을 실행할 수 있는 장치로, 이동통신단말기에 한정된 것이 아니고, 모든 정보통신기기, 멀티미디어 단말, 유선 단말, 고정형 단말 및 IP(Internet Protocol) 단말 등의 다양한 단말일 수 있다. 또한, 단말(120-1~ 120-N)은 각각 휴대폰, PMP(Portable Multimedia Played), MID(Mobile Internet Device), 스마트폰(Smart Phone), 데스크톱(Desktop), 태블릿컴퓨터(Tablet PC), 노트북(Note book), 넷북(Net Book), 개인휴대용 정보단말(Personal Digital Assistant; PDA), 스마트 TV 및 정보통신 기기 등과 같은 다양한 이동통신 사양을 갖는 모바일(Mobile) 단말일 수 있다.In addition, each of the terminals 120-1 to 120-N is a device that is connected to a communication network and can execute an application based on a cloud computing system, and is not limited to a mobile communication terminal, and includes all information and communication devices, multimedia terminals, wired terminals, It may be various terminals such as a fixed terminal and an IP (Internet Protocol) terminal. In addition, each of the terminals 120-1 to 120-N is a mobile phone, PMP (Portable Multimedia Played), MID (Mobile Internet Device), smartphone (Smart Phone), desktop (Desktop), tablet computer (Tablet PC), notebook It may be a mobile terminal having various mobile communication specifications, such as a note book, a net book, a personal digital assistant (PDA), a smart TV, and an information communication device.

또한, 단말(120-1~ 120-N)은 숫자 및 문자 정보 등의 다양한 정보를 입력 받고, 각종 기능을 설정 및 단말(120-1~ 120-N)의 기능 제어와 관련하여 입력되는 신호를 입력부를 통해 제어부로 전달할 수 있다. 또한, 단말(120-1~ 120-N)의 입력부는 사용자의 터치 또는 조작에 따른 입력 신호를 발생하는 키패드와 터치패드 중 적어도 하나를 포함하여 구성할 수 있다. 이 때, 단말(120-1~ 120-N)의 입력부는 단말(120-1~ 120-N)의 표시부와 함께 하나의 터치패널(또는 터치 스크린(touch screen))의 형태로 구성되어 입력과 표시 기능을 동시에 수행할 수 있다. 또한, 단말(120-1~ 120-N)의 입력부는 키보드, 키패드, 마우스, 조이스틱 등과 같은 입력 장치 외에도 향후 개발될 수 있는 모든 형태의 입력 수단이 사용될 수 있다. 특히, 본 발명에 따른 단말(120-1~ 120-N)의 입력부는 클라우드 컴퓨팅 기반으로 컨텐츠를 업로드 하거나 다운로드 하기 위한 입력 신호를 단말(120-1~ 120-N)의 제어부로 전달할 수 있다.In addition, the terminals 120-1 to 120-N receive various information, such as number and character information, and receive signals input in connection with setting various functions and controlling functions of the terminals 120-1 to 120-N. It can be transmitted to the control unit through the input unit. In addition, the input unit of the terminals 120-1 to 120-N may be configured to include at least one of a keypad and a touchpad that generate an input signal according to a user's touch or manipulation. At this time, the input unit of the terminals 120-1 to 120-N is configured in the form of a single touch panel (or touch screen) together with the display unit of the terminals 120-1 to 120-N, so that input and The display function can be performed at the same time. In addition, as the input unit of the terminals 120-1 to 120-N, all types of input means that may be developed in the future may be used in addition to input devices such as a keyboard, a keypad, a mouse, and a joystick. In particular, the input unit of the terminals 120-1 to 120-N according to the present invention may transmit an input signal for uploading or downloading content based on cloud computing to the control unit of the terminals 120-1 to 120-N.

또한, 단말(120-1~ 120-N)의 표시부는 단말(120-1~ 120-N)의 기능 수행 중에 발생하는 일련의 동작상태 및 동작결과 등에 대한 정보를 표시할 수 있다. 또한, 단말(120-1~ 120-N)의 표시부는 단말(120-1~ 120-N)의 메뉴 및 사용자가 입력한 사용자 데이터 등을 표시할 수 있다. 여기서, 단말(120-1~ 120-N)의 표시부는 액정표시장치(LCD, Liquid Crystal Display), 초박막 액정표시장치(TFT-LCD, Thin Film Transistor LCD), 발광다이오드(LED, Light Emitting Diode), 유기 발광다이오드(OLED, Organic LED), 능동형 유기발광다이오드(AMOLED, Active Matrix OLED), 레티나 디스플레이(Retina Display), 플렉시블 디스플레이(Flexible display) 및 3차원(3 Dimension) 디스플레이 등으로 구성될 수 있다. 이 때, 단말(120-1~ 120-N)의 표시부가 터치스크린 형태로 구성된 경우, 단말(120-1~ 120-N)의 표시부는 단말(120-1~ 120-N)의 입력부의 기능 중 일부 또는 전부를 수행할 수 있다. 특히, 본 발명에 따른 단말(120-1~ 120-N)의 표시부는 클라우드 컴퓨팅 기반으로 제공되는 컨텐츠의 실행과 관련된 정보를 화면으로 표시할 수 있다.In addition, the display unit of the terminals 120-1 to 120-N may display information about a series of operation states and operation results that occur while the functions of the terminals 120-1 to 120-N are performed. Also, the display unit of the terminals 120-1 to 120-N may display menus of the terminals 120-1 to 120-N and user data input by the user. Here, the display unit of the terminals 120-1 to 120-N includes a liquid crystal display (LCD), an ultra-thin liquid crystal display (TFT-LCD, Thin Film Transistor LCD), and a light emitting diode (LED, Light Emitting Diode). , organic light emitting diode (OLED, Organic LED), active organic light emitting diode (AMOLED, Active Matrix OLED), retina display (Retina display), flexible display (Flexible display) and three-dimensional (3 Dimension) display, etc. have. At this time, when the display unit of the terminals 120-1 to 120-N is configured in the form of a touch screen, the display unit of the terminals 120-1 to 120-N functions as an input unit of the terminals 120-1 to 120-N. You can do some or all of them. In particular, the display unit of the terminals 120-1 to 120-N according to the present invention may display information related to the execution of content provided based on cloud computing on a screen.

또한, 단말(120-1~ 120-N)의 저장부는 데이터를 저장하기 위한 장치로, 주 기억장치 및 보조 기억장치를 포함하고, 단말(120-1~ 120-N)의 기능 동작에 필요한 응용 프로그램을 저장할 수 있다. 이러한 단말(120-1~ 120-N)의 저장부는 크게 프로그램 영역과 데이터 영역을 포함할 수 있다. 여기서, 단말(120-1~ 120-N)는 사용자의 요청에 상응하여 각 기능을 활성화하는 경우, 제어부의 제어 하에 해당 응용 프로그램들을 실행하여 각 기능을 제공하게 된다. 특히, 본 발명에 따른 단말(120-1~ 120-N)의 저장부는 단말(120-1~ 120-N)를 부팅시키는 운영체제, 클라우드 컴퓨팅 기반으로 컨텐츠를 업로드 하거나 다운로드하기 위한 프로그램 등을 저장할 수 있다. 또한, 단말(120-1~ 120-N)의 저장부는 다수의 컨텐츠를 저장하는 컨텐츠 DB와 단말(120-1~ 120-N)의 정보를 저장할 수 있다. 이 때, 컨텐츠 DB는 컨텐츠를 실행하기 위한 실행 데이터와 컨텐츠에 대한 속성 정보를 포함하고, 컨텐츠 실행에 따른 컨텐츠 사용 정보 등이 저장될 수 있다. 그리고, 단말(120-1~ 120-N)의 정보는 단말 사양 정보를 포함할 수 있다.In addition, the storage unit of the terminals 120-1 to 120-N is a device for storing data, and includes a main memory and an auxiliary memory, and is an application necessary for the functional operation of the terminals 120-1 to 120-N. program can be saved. The storage unit of the terminals 120-1 to 120-N may largely include a program area and a data area. Here, when each function is activated in response to a user's request, the terminals 120-1 to 120-N execute corresponding application programs under the control of the control unit to provide each function. In particular, the storage unit of the terminals 120-1 to 120-N according to the present invention can store an operating system for booting the terminals 120-1 to 120-N, a program for uploading or downloading content based on cloud computing, etc. have. In addition, the storage unit of the terminals 120-1 to 120-N may store a content DB for storing a plurality of contents and information of the terminals 120-1 to 120-N. In this case, the content DB includes execution data for executing the content and attribute information on the content, and content usage information according to the content execution may be stored. And, the information of the terminals 120-1 to 120-N may include terminal specification information.

또한, 단말(120-1~ 120-N)의 통신부는 클라우드 스트리밍 서버(110)와 네트워크(130)을 통해 데이터를 송수신하기 위한 기능을 수행할 수 있다. 여기서 단말(120-1~ 120-N)의 통신부는 송신되는 신호의 주파수를 상승 변환 및 증폭하는 RF 송신 수단과 수신되는 신호를 저잡음 증폭하고 주파수를 하강 변환하는 RF 수신 수단 등을 포함할 수 있다. 이러한 단말(120-1~ 120-N)의 통신부는 무선통신 모듈 및 유선통신 모듈 중 적어도 하나를 포함할 수 있다. 그리고, 무선통신 모듈은 무선 통신 방법에 따라 데이터를 송수신하기 위한 구성이며, 단말(120-1~ 120-N)이 무선 통신을 이용하는 경우, 무선망 통신 모듈, 무선랜 통신 모듈 및 무선팬 통신 모듈 중 어느 하나를 이용하여 데이터를 클라우드 스트리밍 서버(110)로 송수신할 수 있다. 또한, 유선통신 모듈은 유선으로 데이터를 송수신하기 위한 것이다. 유선통신 모듈은 유선을 통해 네트워크(130)에 접속하여, 클라우드 스트리밍 서버(110)에 데이터를 송수신할 수 있다. 즉 단말(120-1~ 120-N)은 무선통신 모듈 또는 유선통신 모듈을 이용하여 네트워크(130)에 접속하며, 네트워크(130)을 통해 클라우드 스트리밍 서버(110)와 데이터를 송수신할 수 있다. 특히, 본 발명에 따른 네트워크(130)는 클라우드 스트리밍 서버(110) 또는 다른 단말(120-1~ 120-N)과 통신하여 클라우드 컴퓨팅 기반으로 컨텐츠를 업로드 또는 다운로드 하는데 필요한 데이터를 송수신할 수 있다.In addition, the communication unit of the terminals 120-1 to 120-N may perform a function for transmitting and receiving data through the cloud streaming server 110 and the network 130 . Here, the communication unit of the terminals 120-1 to 120-N may include an RF transmitting means for up-converting and amplifying the frequency of the transmitted signal, and an RF receiving means for low-noise amplifying the received signal and down-converting the frequency. . The communication unit of the terminals 120-1 to 120-N may include at least one of a wireless communication module and a wired communication module. In addition, the wireless communication module is a configuration for transmitting and receiving data according to a wireless communication method, and when the terminals 120-1 to 120-N use wireless communication, a wireless network communication module, a wireless LAN communication module, and a wireless fan communication module Using any one of the data can be transmitted and received to the cloud streaming server (110). In addition, the wired communication module is for transmitting and receiving data by wire. The wired communication module may connect to the network 130 through a wire and transmit/receive data to/from the cloud streaming server 110 . That is, the terminals 120-1 to 120-N may connect to the network 130 using a wireless communication module or a wired communication module, and may transmit/receive data to and from the cloud streaming server 110 through the network 130 . In particular, the network 130 according to the present invention may communicate with the cloud streaming server 110 or other terminals 120-1 to 120-N to transmit and receive data required to upload or download content based on cloud computing.

또한, 단말 장치(120-1~ 120-N)의 제어부는 운영 체제((OS, Operation System) 및 각 구성을 구동시키는 프로세스 장치가 될 수 있다. 예를 들어, 제어부는 클라우드 스트리밍 서버(110)에 접속하는 과정 전반을 제어할 수 있다. 별도의 서비스 어플리케이션을 통해 클라우드 스트리밍 서버(110)에 접속하는 경우, 사용자의 요청에 따라 서비스 어플리케이션을 실행되는 과정 전반을 제어할 수 있으며, 실행과 동시에 클라우드 스트리밍 서버(110)로 서비스 이용 요청이 전송되도록 제어할 수 있으며, 이때 사용자 인증에 필요한 단말(120-1~ 120-N)의 정보가 함께 전송되도록 제어할 수 있다.In addition, the control unit of the terminal devices 120-1 to 120-N may be a process device for driving an operating system (OS, Operation System) and each configuration. For example, the control unit is a cloud streaming server 110 . When accessing the cloud streaming server 110 through a separate service application, it is possible to control the overall process of executing the service application according to the user's request, and simultaneously with the execution of the cloud It is possible to control the request to use the service to be transmitted to the streaming server 110, and at this time, it is possible to control so that information of the terminals 120-1 to 120-N required for user authentication is transmitted together.

또한, 단말(120-1~ 120-N)의 제어부는 사용자의 요청에 따라 단말(120-1~ 120-N)의 저장부에 저장된 특정 컨텐츠를 실행할 수 있다. 이때, 제어부는 컨텐츠 실행에 따른 컨텐츠 사용 이력을 컨텐츠 사용 정보로 저장할 수 있다.In addition, the controller of the terminals 120-1 to 120-N may execute specific content stored in the storage unit of the terminals 120-1 to 120-N according to a user's request. In this case, the controller may store the content use history according to the content execution as content use information.

또한, 단말(120-1~ 120-N)의 제어부는 컨텐츠를 실행하기 위한 실행 데이터와, 컨텐츠에 대한 속성 정보를 포함하는 컨텐츠 정보와, 컨텐츠 사용 이력에 따른 정보인 컨텐츠 사용 정보를 함께 클라우드 스트리밍 서버(110)로 전송하여 업로드 할 수 있다. 이후, 제어부는 클라우드 스트리밍 서버(110)에 전송하여 업로드된 컨텐츠에 대해서는 사용자의 요청에 따라 단말(120-1~ 120-N)의 저장부에서 삭제할 수 있으며, 클라우드 스트리밍 서버(110)에 접속하여 클라우드 스트리밍 서버(110)를 통해 컨텐츠를 실행하여 이용할 수도 있다.In addition, the control unit of the terminals 120-1 to 120-N performs cloud streaming together with execution data for executing the content, content information including attribute information about the content, and content use information, which is information according to the content use history. It can be uploaded by sending it to the server 110 . Thereafter, the control unit can delete the uploaded content by transmitting to the cloud streaming server 110 from the storage unit of the terminals 120-1 to 120-N according to the user's request, and accessing the cloud streaming server 110 to Content may be executed and used through the cloud streaming server 110 .

또한, 단말(120-1~ 120-N)의 제어부는 클라우드 스트리밍 서버(110)에 접속하여 다른 단말(120-1~ 120-N)로부터 컨텐츠를 다운로드한 후 저장부에 저장되도록 제어할 수도 있으며, 클라우드 스트리밍 서버(110)를 통해 컨텐츠 실행 시, 실행에 필요한 데이터만을 수신한 후 컨텐츠가 실행되도록 제어할 수도 있다.In addition, the control unit of the terminals (120-1 to 120-N) may be controlled to be stored in the storage after accessing the cloud streaming server 110 to download the content from the other terminals (120-1 to 120-N), , when executing content through the cloud streaming server 110, it is also possible to control the content to be executed after receiving only the data necessary for execution.

네트워크(130)는 클라우드 스트리밍 서버(110)및 단말(120-1~ 120-N) 사이에 데이터를 전달하는 통로를 제공하는 것으로서, 기존에 이용되는 네트워크 및 향후 개발 가능한 네트워크를 모두 포괄하는 개념이다. 예를 들어, 네트워크(130)는 한정된 지역 내에서 각종 정보장치들의 통신을 제공하는 유무선근거리 통신망, 이동체 상호 간 및 이동체와 이동체 외부와의 통신을 제공하는 이동통신망, 위성을 이용해 지구국과 지구국간 통신을 제공하는 위성통신망이거나 유무선 통신망 중에서 어느 하나이거나, 둘 이상의 결합으로 이루어질 수 있다. 한편, 네트워크(130)의 전송 방식 표준은, 기존의 전송 방식 표준에 한정되는 것은 아니며, 향후 개발될 모든 전송 방식 표준을 포함할 수 있다. 또한, 도 1에서 클라우드 스트리밍 서버(110)와 단말(120-1~ 120-N) 사이에 사용되는 네트워크는 단말(120-1~ 120-N)들 상호간에 사용되는 네트워크와 상이한 것일 수도 있고, 동일한 것일 수도 있다.The network 130 is a concept that provides a path for transferring data between the cloud streaming server 110 and the terminals 120-1 to 120-N, and encompasses both existing networks and networks that can be developed in the future. . For example, the network 130 is a wired/wireless local area network that provides communication of various information devices within a limited area, a mobile communication network that provides communication between mobile bodies and between the mobile body and the outside of the mobile body, and communication between the earth station and the earth station using satellites. It may be a satellite communication network providing Meanwhile, the transmission method standard of the network 130 is not limited to the existing transmission method standard, and may include all transmission method standards to be developed in the future. In addition, the network used between the cloud streaming server 110 and the terminals 120-1 to 120-N in FIG. 1 may be different from the network used between the terminals 120-1 to 120-N, It may be the same.

도 2는 도 1에 도시된 클라우드 스트리밍 서버의 일 예를 나타낸 블록도이다.FIG. 2 is a block diagram illustrating an example of the cloud streaming server shown in FIG. 1 .

도 2를 참조하면, 도 1에 도시된 클라우드 스트리밍 서버(110)는 수신부(210), 렌더링부(220), 스트리밍부(230) 및 저장부(240)를 포함한다.Referring to FIG. 2 , the cloud streaming server 110 shown in FIG. 1 includes a receiving unit 210 , a rendering unit 220 , a streaming unit 230 , and a storage unit 240 .

수신부(210)는 어플리케이션 실행화면을 수신한다.The receiver 210 receives an application execution screen.

이 때, 도 1에 도시된 네트워크와 같은 통신망을 통해 어플리케이션 실행화면을 수신할 수 있다. 또한, 클라우드 스트리밍 서비스에 대한 요청을 단말로부터 수신할 수 있다.In this case, the application execution screen may be received through a communication network such as the network shown in FIG. 1 . In addition, a request for a cloud streaming service may be received from the terminal.

이 때, 단말이 요청한 클라우드 스트리밍 서비스에 대해서 어플리케이션 서버로부터 어플리케이션 실행화면을 수신할 수 있다. At this time, it is possible to receive an application execution screen from the application server for the cloud streaming service requested by the terminal.

렌더링부(220)는 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 어플리케이션 실행화면을 렌더링한다.The rendering unit 220 renders the application execution screen in consideration of the configuration of the render tree corresponding to the rendering performance criterion.

이 때, 렌더 트리는 클라우드 스트리밍 서버가 수신한 어플리케이션 실행화면의 데이터 중에서 실제로 화면에 보여지는 데이터들로만 추려서 구성된 것일 수 있다. 따라서, 렌더 트리에 구성되는 모든 요소들은 렌더링되어 클라우드 스트리밍 서버에서 캡처할 수 있는 이미지 중에 하나가 될 수 있다.In this case, the render tree may be configured by selecting only data actually displayed on the screen among the data of the application execution screen received by the cloud streaming server. Therefore, all elements of the render tree can be rendered and become one of the images that can be captured by the cloud streaming server.

웹 어플리케이션의 경우 브라우저를 통해 렌더링을 수행하며, 브라우저에서는 렌더 트리를 구성하는 부분과 실제 렌더링을 수행하는 부분이 별개로 존재할 수 있다. 따라서, 실제로 렌더 트리가 구성되고 필요한 데이터가 모두 들어오기 전에도 렌더링이 수행되게 된다. In the case of a web application, rendering is performed through a browser, and in the browser, a part constituting a render tree and a part performing actual rendering may exist separately. Therefore, rendering is performed even before the render tree is actually constructed and all necessary data is received.

이 때, 브라우저에서는 언제 필요한 데이터가 완벽하게 수신되고, 렌더 트리의 요소가 모두 구성되었는지 알 수 있으므로 이에 대한 정보를 바탕으로 최적 렌더링을 수행할 수 있다.At this time, the browser can know when necessary data is completely received and all elements of the render tree are configured, so that optimal rendering can be performed based on this information.

예를 들어, 렌더 트리의 구성이 모두 완료된 후에 렌더링을 수행하면, 클라우드 스트리밍 서버 입장에서는 렌더링이 늦어져서 이후의 수행될 작업의 속도에도 영향을 끼칠 수 있다. 따라서, 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 최적의 횟수로 렌더링을 수행할 수 있다.For example, if rendering is performed after all the configuration of the render tree is completed, rendering is delayed from the point of view of the cloud streaming server, which may affect the speed of subsequent operations. Accordingly, rendering may be performed an optimal number of times in consideration of the configuration of the render tree corresponding to the rendering performance criterion.

이 때, 렌더링 수행 기준은 최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응할 수 있다. In this case, the rendering performance criterion may correspond to any one of the maximum number of rendering delays and rendering waiting time.

이 때, 렌더 트리의 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응하는 경우 및 렌더링 대기 시간 동안 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 렌더 트리의 구성에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다.At this time, when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time, the application is executed according to the configuration of the render tree The screen can be rendered.

예를 들어, 렌더링 수행 기준이 최대 렌더링 지연 횟수이고, 최대 렌더링 지연 횟수가 3회라고 가정할 수 있다. 또한, 초기에는 렌더 트리의 렌더링 지연 횟수를 0회로 초기화할 수 있다. 이 때, 렌더 트리의 구성에 변화가 있을 때마다 렌더링 지연 횟수를 1회씩 증가시킬 수 있으며, 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응할 때에만 해당 렌더 트리의 구성에 상응하게 렌더링을 수행할 수 있다. 즉, 일반적인 렌더링 동작이라면 3번의 렌더링이 수행되었을 상황을 1번의 렌더링으로 단축하여 렌더링 횟수를 감소시키는 효과가 있다.For example, it may be assumed that the rendering performance criterion is the maximum number of rendering delays, and the maximum number of rendering delays is three. Also, initially, the number of rendering delays of the render tree may be initialized to 0. At this time, the number of rendering delays can be increased by one whenever there is a change in the configuration of the render tree, and rendering can be performed according to the configuration of the render tree only when the number of rendering delays corresponds to the maximum number of rendering delays. have. That is, in the case of a general rendering operation, there is an effect of reducing the number of renderings by shortening a situation in which three renderings have been performed to one rendering.

또 다른 예를 들면, 렌더링 대기 시간을 0.5초라고 가정한다면, 0.5초마다 렌더 트리의 구성에 변화가 발생하였는지 여부를 판단할 수 있다. 이 후, 0.5초 동안 렌더 트리의 구성이 변화하였다면 렌더링을 수행하고, 변화가 발생하지 않았다면 또 다시 렌더링 대기 시간 동안 대기하여 렌더 트리의 구성 변화를 판단할 수 있다.As another example, if it is assumed that the rendering waiting time is 0.5 seconds, it may be determined whether a change has occurred in the configuration of the render tree every 0.5 seconds. After that, if the configuration of the render tree is changed for 0.5 seconds, rendering is performed, and if no change occurs, it is waited for the rendering waiting time again to determine the change in the configuration of the render tree.

즉, 렌더링 지연 횟수가 렌더 트리의 구성 변화 횟수를 기준으로 렌더링 횟수를 감소시키는 수단이라면, 렌더링 대기 시간은 렌더 트리의 구성을 시간 별로 분배하고, 분배된 시간 내에 발생한 변화를 한꺼번에 렌더링 함으로써 렌더링 횟수를 감소시키는 수단일 수 있다.In other words, if the number of rendering delays is a means of reducing the number of renderings based on the number of changes in the configuration of the render tree, the rendering waiting time divides the configuration of the render tree by time and renders the changes occurring within the distributed time all at once to increase the number of renderings. It may be a means to reduce.

따라서, 기존에는 0.5초 동안 3번의 렌더 트리의 구성 변화가 발생하면, 3번의 렌더링을 수행하였지만, 렌더링 대기 시간을 이용하면 1번의 렌더링만을 수행하게 되므로 렌더링 횟수를 현저하게 감소시킬 수 있다.Therefore, when the configuration change of the render tree occurs three times in 0.5 seconds, rendering is performed three times, but only one rendering is performed using the rendering latency, so that the number of renderings can be significantly reduced.

이 때, 렌더 트리의 구성에 변화가 발생할 때마다 렌더링 지연 횟수를 증가시킬 수 있다. 또한, 렌더링 지연 횟수만 증가시키고 렌더링을 수행하지 않음으로써, 렌더 트리의 구성 변화가 발생할 때마다 렌더링을 수행하여 클라우드 스트리밍 서버의 자원을 불필요하게 많이 소모하는 것을 방지할 수 있다. 또한, 클라우드 스트리밍 서버에서 절약되는 자원만큼 동시 접속율을 상승시켜 보다 많은 사용자들에게 클라우드 스트리밍 서비스를 동시에 제공할 수 있다.In this case, the number of rendering delays may be increased whenever a change occurs in the configuration of the render tree. In addition, by increasing only the number of rendering delays and not performing rendering, rendering is performed whenever a change in the configuration of the render tree occurs, thereby preventing unnecessary consumption of a large amount of resources of the cloud streaming server. In addition, the cloud streaming service can be provided to more users at the same time by increasing the simultaneous access rate by the amount of resources saved in the cloud streaming server.

이 때, 렌더링 지연 횟수는 렌더링이 수행되면 초기화시킬 수 있다. In this case, the number of rendering delays may be initialized when rendering is performed.

예를 들어, 렌더 트리의 구성이 완료되면 렌더링을 수행한 뒤 해당 어플리케이션 실행화면에 대한 렌더링 수행과정을 종료할 수 있다. 따라서, 다음에 수신될 어플리케이션 실행화면에 대한 렌더링 수행 준비를 위해 렌더링 지연 횟수를 초기화할 수 있다.For example, when the configuration of the render tree is completed, the rendering process for the execution screen of the corresponding application may be terminated after rendering. Accordingly, the number of rendering delays may be initialized in order to prepare for rendering execution on an application execution screen to be received next.

또한, 렌더링 지연횟수는 최대 렌더링 지연 횟수에 도달하여 렌더링이 수행된 후에도 초기화 될 수 있다. 만약, 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 도달하여 렌더링을 수행한 후에도 렌더링 지연 횟수를 초기화 하지 않을 경우에, 렌더 트리가 완료될 때까지 렌더링이 수행되지 않아 서비스 속도가 느려지는 문제가 발생할 수도 있다. In addition, the number of rendering delays may be initialized even after rendering is performed by reaching the maximum number of rendering delays. If the number of rendering delays reaches the maximum number of rendering delays and the number of rendering delays is not initialized even after rendering is performed, rendering is not performed until the render tree is completed, resulting in a slow service speed problem. .

예를 들어, 최대 렌더링 지연 횟수가 3회라고 가정한다면, 렌더 트리의 변화에 따라 렌더링 지연 횟수가 3회가 되었을 때 렌더링을 수행할 수 있다. 이 후, 렌더링 지연 횟수를 초기화하지 않는다면, 렌더링 지연횟수는 4회, 5회로 점점 늘어나게 되고 결국 렌더 트리의 구성이 완료될 때까지 최대 렌더링 지연 횟수와 상응하는 경우는 발생하지 않을 수 있다. 결국 해당 어플리케이션 실행화면에서는 렌더 트리의 변화가 3번 나타났을 때 렌더링이 수행되고, 렌더 트리의 구성이 완료되었을 때 최종적인 렌더링이 수행되므로, 렌더 트리가 구성되는 중간과정에서는 어플리케이션 실행화면을 제공하지 못할 수 있어 사용자가 빠르게 화면을 제공받지 못할 수도 있다.For example, if it is assumed that the maximum number of rendering delays is 3, rendering may be performed when the number of rendering delays reaches 3 according to a change in the render tree. After that, if the number of rendering delays is not initialized, the number of rendering delays gradually increases to 4 and 5, and eventually, a case corresponding to the maximum number of rendering delays may not occur until the construction of the render tree is completed. After all, in the application execution screen, rendering is performed when the change of the render tree appears 3 times, and final rendering is performed when the configuration of the render tree is completed. It may not be possible, so the user may not be provided with the screen quickly.

따라서, 렌더링을 수행한 뒤 렌더링 지연 횟수를 초기화함으로써. 최대 렌더링 지연 횟수만큼 렌더 트리의 구성 변화가 발생할 때마다 렌더링을 수행할 수 있고, 이는 사용자에게 어플리케이션 실행화면을 빠르게 제공하는 효과를 줄 수 있다.So, by initializing the number of rendering delays after rendering. Rendering can be performed whenever a change in the configuration of the render tree occurs as much as the maximum number of rendering delays, which can have the effect of quickly providing the application execution screen to the user.

이 때, 렌더 트리의 구성이 완료된 경우에 렌더링 수행 기준을 고려하지 않고, 구성이 완료된 렌더 트리에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다. 즉, 렌더 트리의 구성이 완료되어 어플리케이션 실행화면에서 화면에 보여져야 할 요소들이 모두 렌더링될 준비가 되었다면, 렌더링 수행 기준을 고려하지 않고 렌더링을 수행할 수 있다. 이에 따라 클라우드 스트리밍 서버에서는 최대한 빠르게 어플리케이션 실행화면의 렌더링을 완료할 수 있다.In this case, when the configuration of the render tree is completed, the application execution screen may be rendered according to the configured render tree without considering the rendering performance criteria. That is, if the configuration of the render tree is completed and all elements to be displayed on the screen in the application execution screen are ready to be rendered, rendering may be performed without considering the rendering performance criteria. Accordingly, the cloud streaming server can complete the rendering of the application execution screen as quickly as possible.

스트리밍부(230)는 렌더링된 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송한다.The streaming unit 230 captures an image from the rendered application execution screen, compresses the captured image using a still image encoding method, and transmits it to the user's terminal.

비디오 코덱 기반의 클라우드 스트리밍 기법은 어플리케이션이 동작하는 화면에 상응하는 모든 프레임을 캡처하여 인코딩을 수행할 수 있다. 그러나 어플리케이션이 동작하는 화면 상에서 프레임간 변화가 크지 않은 경우에는 이미지 기반의 클라우드 스트리밍 기법과 같이 이전 프레임과 비교하여 변화된 프레임의 변화 영역만을 캡처하여 스틸 이미지 인코딩을 수행하고, 사용자의 단말 장치에 디스플레이 할 때 변화 영역을 제외한 부분은 동일하게 보여주고 변화 영역만 변화를 주는 방식으로 디스플레이 할 수 있다.The video codec-based cloud streaming technique can perform encoding by capturing all frames corresponding to the screen on which the application operates. However, if the frame-to-frame change is not large on the screen on which the application is running, still image encoding is performed by capturing only the area of change of the frame that has changed compared to the previous frame, as in the image-based cloud streaming technique, and displayed on the user's terminal device. The display can be displayed in such a way that the parts except the change area are shown the same and only the change area is changed.

이 때, 렌더링된 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 이미지로 캡처할 수 있다. 예를 들어, 현재 프레임과 이전 프레임을 비교하였을 때 현재 프레임이 이전 프레임과 비교하여 변화가 있다면, 현재 프레임의 화면 영역 중 변화된 영역을 이미지로 캡처할 수 있다. 또한, 캡처되는 이미지는 사용자의 단말에서 입력되는 입력신호에 따라 그 사이즈나 성질이 다양할 수 있다.In this case, the changed area may be captured as an image by comparing the rendered frames of the application execution screen. For example, if the current frame is changed compared to the previous frame when the current frame and the previous frame are compared, the changed area among the screen areas of the current frame may be captured as an image. In addition, the size or properties of the captured image may vary according to an input signal input from the user's terminal.

또한, 프레임들 중 프레임간의 변화가 적은 구간들을 검출하고, 프레임간의 변화가 적은 구간에서 이미지를 캡처할 수 있다. 예를 들어, 프레임간의 변화가 많은 구간은 캡처할 이미지의 수가 많아 이미지 기반의 클라우드 스트리밍 서비스를 제공하는 것이 비효율적일 수 있다. 따라서, 이와 같이 변화가 많은 구간은 비디오 코덱 기반의 클라우드 스트리밍 기법을 통해 서비스를 수행하고, 프레임간 변화가 적은 구간에서만 이미지 기반의 클라우드 스트리밍 서비스를 수행하기 위해 변화된 영역의 이미지를 캡처할 수 있다.Also, it is possible to detect sections in which a change between frames is small among frames, and capture an image in a section in which a change between frames is small. For example, it may be inefficient to provide an image-based cloud streaming service because the number of images to be captured is large in a section where there is a lot of change between frames. Therefore, in such a section with many changes, a service is performed through a video codec-based cloud streaming technique, and an image of a changed area can be captured in order to perform an image-based cloud streaming service only in a section with little change between frames.

이 때, 스틸 이미지 인코딩 방식은 클라우드 스트리밍 서버(110)에서 발생하는 부하량, 서비스 속도, 이미지의 화질 또는 인코딩된 이미지를 수신하여 렌더링하는 단말의 성능 등을 고려하여 결정할 수 있다. 예를 들어, 클라우드 스트리밍 서비스의 속도를 향상시키기 위해서는 압축률이 높고 부하가 적게 발생하는 팔렛트 PNG 인코딩 방식으로 이미지를 압축할 수 있다. 또한, 부하량은 상관하지 않고 이미지의 화질을 좋게 제공하고 싶다면, PNG32bit 인코딩 방식 또는 JPEG 인코딩 방식 등을 이용하여 이미지를 압축할 수 있다.In this case, the still image encoding method may be determined in consideration of the load generated by the cloud streaming server 110, service speed, image quality, or performance of a terminal that receives and renders the encoded image. For example, in order to improve the speed of a cloud streaming service, an image may be compressed using a palette PNG encoding method that has a high compression rate and a low load. In addition, if you want to provide a good image quality regardless of the load, you can compress the image using a PNG32bit encoding method or a JPEG encoding method.

저장부(240)는 상술한 바와 같이 본 발명의 실시예에 따른 클라우드 스트리밍 서비스 과정에서 발생하는 다양한 정보를 저장한다.The storage unit 240 stores various information generated in the process of the cloud streaming service according to the embodiment of the present invention as described above.

실시예에 따라, 저장부(240)는 클라우드 스트리밍 서버(110)와 독립적으로 구성되어 클라우드 스트리밍 서비스를 위한 기능을 지원할 수 있다. 이 때, 저장부(240)는 별도의 대용량 스토리지로 동작할 수 있고, 동작 수행을 위한 제어 기능을 포함할 수 있다.According to an embodiment, the storage unit 240 may be configured independently of the cloud streaming server 110 to support a function for a cloud streaming service. In this case, the storage unit 240 may operate as a separate mass storage and may include a control function for performing an operation.

또한, 상술한 바와 같이 구성되는 클라우드 스트리밍 서버(110)는 하나 이상의 서버로 구현될 수 있다.In addition, the cloud streaming server 110 configured as described above may be implemented as one or more servers.

한편, 클라우드 스트리밍 서버(110)는 메모리가 탑재되어 그 장치 내에서 정보를 저장할 수 있다. 일 구현예의 경우, 메모리는 컴퓨터로 판독 가능한 매체이다. 일 구현 예에서, 메모리는 휘발성 메모리 유닛일 수 있으며, 다른 구현예의 경우, 메모리는 비휘발성 메모리 유닛일 수도 있다. 일 구현예의 경우, 저장장치는 컴퓨터로 판독 가능한 매체이다. 다양한 서로 다른 구현 예에서, 저장장치는 예컨대 하드디스크 장치, 광학디스크 장치, 혹은 어떤 다른 대용량 저장장치를 포함할 수도 있다.On the other hand, the cloud streaming server 110 is equipped with a memory can store information in the device. For one implementation, the memory is a computer-readable medium. In one implementation, the memory may be a volatile memory unit, and in another implementation, the memory may be a non-volatile memory unit. In one embodiment, the storage device is a computer-readable medium. In various different implementations, the storage device may include, for example, a hard disk device, an optical disk device, or some other mass storage device.

이와 같은 클라우드 스트리밍 서버(110)를 이용하여 이미지 기반의 클라우드 스트리밍 서비스를 제공함으로써 클라우드 스트리밍 서비스 시 수행하는 렌더링 횟수를 현저하게 감소시킬 수 있다. 또한, 감소된 렌더링 횟수만큼 클라우드 스트리밍 서버(110)의 부하량이 줄어들 수 있으므로 서비스를 사용하는 사용자들에게 보다 원활한 서비스를 제공하는 것이 가능하다.By using such a cloud streaming server 110 to provide an image-based cloud streaming service, it is possible to significantly reduce the number of renderings performed during the cloud streaming service. In addition, since the load of the cloud streaming server 110 may be reduced by the reduced number of renderings, it is possible to provide a more smooth service to users using the service.

또한, 렌더링 수행에 사용되던 클라우드 스트리밍 서버(110)의 자원을 절약할 수 있으므로, 동시에 더 많은 사용자들에게 이미지 기반의 클라우드 스트리밍 서비스를 제공할 수 있다.In addition, since it is possible to save the resources of the cloud streaming server 110 used for rendering, it is possible to provide an image-based cloud streaming service to more users at the same time.

또한, 이미지 기반의 클라우드 스트리밍 서비스를 제공함으로써, 사양이 높지 않은 개인 사용자들의 휴대 단말기에서도 고사양의 어플리케이션 및 고사양의 컨텐츠를 실시간으로 수행할 수 있는 효과가 있다.In addition, by providing an image-based cloud streaming service, there is an effect that high-spec applications and high-spec content can be performed in real time even in the portable terminals of individual users who do not have high specifications.

도 3은 브라우저 렌더링 엔진의 일반적인 동작 흐름을 나타낸 도면이다.3 is a diagram illustrating a general operational flow of a browser rendering engine.

도 3을 참조하면, 브라우저 렌더링 엔진은 DOM(Document Object Model) 트리 생성, 렌더 트리 생성, 렌더 트리 레이아웃 및 렌더 트리 페인팅에 상응하는 과정으로 동작할 수 있다. Referring to FIG. 3 , the browser rendering engine may operate in processes corresponding to document object model (DOM) tree generation, render tree generation, render tree layout, and render tree painting.

예를 들어, 브라우저의 컴포넌트가 어플리케이션 서버로부터 HTML 문서를 수신한다고 가정할 수 있다. 이 때, HTML 문서는 분석 과정을 거치게 되는데, 이 과정을 HTML 문서 파싱이고, 파싱된 결과를 화면에 그려주는 작업이 렌더링이다.For example, it may be assumed that a component of a browser receives an HTML document from an application server. At this time, the HTML document goes through an analysis process. This process is HTML document parsing, and the work of drawing the parsed result on the screen is rendering.

이 때, HTML은 구조를 가지는 데이터이므로 메모리에서는 이러한 HTML의 구조를 표현하는데 적합한 트리 구조의 DOM 트리를 생성할 수 있다. 이 때, 파싱을 통해 메모리에 만들어진 객체를 document라고 하고, 완성된 구조를 DOM(Document Object Model)이라고 할 수 있다.At this time, since HTML is data having a structure, a DOM tree having a tree structure suitable for expressing the structure of HTML can be created in memory. At this time, the object created in memory through parsing is called document, and the completed structure can be called DOM (Document Object Model).

또한, HTML이 파싱되는 동시에 브라우저에서는 실제로 화면을 구성하는 렌더링 엔진을 통해 화면에 나오는 구조에 상응하는 렌더 트리를 생성한다. 즉, DOM 트리가 완성되면 HTML 문서를 바로 화면에 보여주는 것이 아니라, 렌더링 엔진이 화면을 빠르게 구성하기 위해 HTML과 CSS를 고려하여 현재 화면에 나와야 하는 것만 선별해서 화면에 나타내야 할 수 있다. 이 때, 화면에 보여지는 요소들만 추려서 만들어진 것이 렌더 트리일 수 있다. Also, while HTML is parsed, the browser creates a render tree corresponding to the structure displayed on the screen through the rendering engine that actually composes the screen. In other words, when the DOM tree is completed, instead of displaying the HTML document immediately on the screen, the rendering engine may need to select and display only those that need to be displayed on the current screen in consideration of HTML and CSS in order to quickly compose the screen. At this time, the render tree may be created by selecting only the elements shown on the screen.

이 후, 렌더 트리에 속한 객체들을 화면의 어떤 위치에 보여주어야 하는지를 결정하는 렌더 트리 레이아웃을 구성하고, 구성된 레이아웃을 화면에 그려주는 페인팅 과정을 수행할 수 있다.After that, a render tree layout that determines where objects belonging to the render tree should be displayed on the screen may be configured, and a painting process of drawing the configured layout on the screen may be performed.

이 때, 렌더링 엔진은 렌더 트리 생성, 렌더 트리 레이아웃 구성 및 페인팅 과정을 DOM 트리가 생성됨과 거의 동시에 수행함으로써 조금이라도 빠르게 화면을 보여줄 수 있다. At this time, the rendering engine can display the screen even a little faster by performing the render tree creation, render tree layout configuration, and painting processes almost simultaneously with the creation of the DOM tree.

이와 같이 화면에 보여져야 할 요소들만을 이용하여 생성된 렌더 트리를 이용하여 렌더링을 수행함으로써 보다 빠르게 화면을 구성하는 것이 가능할 수 있다.As described above, it may be possible to configure a screen more quickly by performing rendering using a render tree generated using only elements to be displayed on the screen.

또한, 본 발명과 같이 렌더 트리의 구성의 변화에 따라 렌더링 횟수를 조절함으로써 불필요하게 낭비될 수 있는 클라우드 스트리밍 서버의 리소스를 절약하여 더 많은 사용자들에게 클라우드 스트리밍 서비스를 제공할 수도 있다.In addition, as in the present invention, by adjusting the number of renderings according to a change in the configuration of the render tree, resources of the cloud streaming server that may be wasted unnecessarily can be saved to provide a cloud streaming service to more users.

도 4는 브라우저에서 DOM 트리와 CSSOM 트리를 결합하여 렌더 트리를 생성하는 과정을 나타낸 도면이다.4 is a diagram illustrating a process of generating a render tree by combining a DOM tree and a CSSOM tree in a browser.

도 4를 참조하면, 브라우저에서는 DOM 트리(410)와 CSSOM(Cascading Style Sheets Object Model) 트리(420)를 결합하여 렌더 트리(430)를 생성한다. Referring to FIG. 4 , the browser generates a render tree 430 by combining the DOM tree 410 and the Cascading Style Sheets Object Model (CSSOM) tree 420 .

이 때, DOM 트리(410)와 CSSOM 트리(420)는 문서의 다른 부분을 담당하는 상호 별개인 객체로서, DOM 트리(410)는 컨텐츠를 담당하고 CSSOM 트리(420)는 문서에 적용할 스타일 규칙을 담당할 수 있다. At this time, the DOM tree 410 and the CSSOM tree 420 are mutually separate objects in charge of different parts of the document. The DOM tree 410 is in charge of content and the CSSOM tree 420 is the style rule to be applied to the document. can be responsible for

먼저 브라우저는 DOM 트리(410)의 루트에서 시작해서 화면에 그려야 할 노드를 하나씩 탐색할 수 있다. 이 때, script 태그 및 meta 태그와 같이 브라우저가 화면에 출력하지 않는 일부 노드는 렌더링 할 때 반영하지 않으므로 건너 뛸 수 있다.First, the browser may start from the root of the DOM tree 410 and search for nodes to be drawn on the screen one by one. At this time, some nodes that the browser does not output to the screen, such as script tags and meta tags, are not reflected when rendering, so they can be skipped.

또한, CSS로 감춘 노드 역시 렌더 트리(430)에 포함하지 않을 수 있다. 예를 들어, CSSOM 트리(420)에서 span 노드 중 'display: noon'에 상응하는 규칙이 지정된 span 노드가 이에 상응할 수 있다.Also, a node hidden by CSS may not be included in the render tree 430 . For example, a span node to which a rule corresponding to 'display: noon' is specified among span nodes in the CSSOM tree 420 may correspond thereto.

이 후, DOM 트리(410)에서 찾은 화면에 그려야 할 노드에 적합한 CSSOM 규칙을 CSSOM 트리(420)에서 찾아서 각각의 규칙을 적용할 수 있다. Thereafter, a CSSOM rule suitable for a node to be drawn on the screen found in the DOM tree 410 may be found in the CSSOM tree 420 and each rule may be applied.

이 후, CSSOM 규칙이 적용된 노드를 렌더 트리에 넣어 렌더 트리를 구성할 수 있다.After that, you can configure the render tree by putting the nodes to which the CSSOM rules are applied.

따라서, 이와 같이 생성된 렌더 트리는 화면에 보이는 모든 컨텐츠의 내용과 스타일 정보를 가지고 있으며, 레이아웃 및 페인팅 과정을 통해 화면에 데이터를 출력할 수 있다.Accordingly, the generated render tree has the content and style information of all content displayed on the screen, and data can be output to the screen through the layout and painting process.

도 5a는 본 발명의 일실시예에 따른 최대 렌더링 지연 횟수에 기반하여 렌더링을 수행하는 과정을 나타낸 도면이다.5A is a diagram illustrating a process of performing rendering based on the maximum number of rendering delays according to an embodiment of the present invention.

도 5a를 참조하면, 본 발명의 일실시예에 따른 최대 렌더링 지연 횟수에 기반하여 렌더링을 수행하는 과정을 설명하기 위해 날짜 렌더링 요소와 이에 상응하는 그림을 다른 서버로부터 수신하여 화면에 보여주는 페이지가 있다고 가정할 수 있다.Referring to FIG. 5A , in order to explain the process of rendering based on the maximum number of rendering delays according to an embodiment of the present invention, there is a page that receives a date rendering element and a corresponding picture from another server and displays it on the screen. can be assumed

이 때, 날짜 데이터는 데이터 크기가 작기 때문에 바로 렌더링 될 수 있다. 이 후, 곧 이어 다른 서버에서 수신되는 그림 데이터를 최대 렌더링 지연 횟수에 따라 렌더링할 수 있다.In this case, the date data can be immediately rendered because the data size is small. After that, picture data received from another server can be rendered according to the maximum number of rendering delays.

예를 들어, 도 5a에 나타낸 렌더 트리의 구성 상태(510, 520, 530)를 확인하면, 먼저 날짜 데이터가 렌더 트리의 구성 상태(510)와 같이 구성되고, 그림 데이터는 아직 구성되지 않을 것을 확인할 수 있다. For example, if you check the configuration states 510 , 520 , 530 of the render tree shown in FIG. 5A , first, it is confirmed that the date data is configured like the configuration state 510 of the render tree, and the picture data is not yet configured. can

이 때, 최대 렌더링 지연 횟수를 2회라고 가정한다면, 렌더 트리의 구성 상태(510)에 따라 날짜 데이터가 구성되는 변화는 있었지만, 아직 렌더링 지연횟수가 1회이므로 렌더 트리의 구성 상태(510)에 대해서는 렌더링을 수행하지 않을 수 있다. At this time, if it is assumed that the maximum number of rendering delays is 2, there is a change in the composition of date data according to the configuration state 510 of the render tree, but the number of rendering delays is still 1, so the configuration state 510 of the render tree is Rendering may not be performed.

이 후, 절반 정도의 그림 데이터가 렌더 트리의 구성 상태(520)와 같이 구성됨으로써 렌더 트리의 변화가 발생하면, 렌더 트리의 렌더링 지연횟수도 2회에 상응하므로 렌더 트리의 구성 상태(520)에 상응하게 렌더링을 수행할 수 있다. After that, if about half of the picture data is configured as in the configuration state 520 of the render tree and a change in the render tree occurs, the number of rendering delays of the render tree also corresponds to two times, so the configuration state of the render tree 520 is Rendering can be performed accordingly.

또한, 렌더링 지연 횟수가 최대 렌더링 지연횟수에 상응하여 렌더링을 수행한 뒤에는 렌더링 지연 횟수를 초기화시킬 수 있다. 예를 들어, 최대 렌더링 지연횟수가 2회이고 렌더링 지연 횟수가 2회에 도달하여 렌더링을 수행한 뒤에는 렌더링 지연 횟수를 0에 상응하게 초기화한 뒤 다음 렌더링 과정을 수행할 수 있다.In addition, after the rendering delay number corresponds to the maximum number of rendering delays and rendering is performed, the rendering delay number may be initialized. For example, after the maximum number of rendering delays is two and the number of rendering delays reaches two and rendering is performed, the number of rendering delays may be initialized to 0 and then the next rendering process may be performed.

이 때, 최대 렌더링 지연 횟수는 클라우드 스트리밍 서비스 시스템 개발자에 의해서 설정되거나 수정될 수 있다.At this time, the maximum number of rendering delays may be set or modified by a cloud streaming service system developer.

이 후, 렌더 트리의 구성 상태(530)와 같이 그림 데이터가 완전하게 구성됨으로써 렌더 트리의 구성이 완료된 경우에는 렌더링 지연 횟수를 고려하지 않고 렌더링을 수행할 수 있다. 예를 들어, 최대 렌더링 지연 횟수가 3회이고 렌더 트리의 구성이 완료된 시점에서 렌더링 지연횟수가 1회라고 하더라도, 이미 완벽하게 구성된 렌더 트리에 상응하는 화면을 제공해야 하기 때문에 렌더링을 수행하여 화면을 제공할 수 있다.Thereafter, when the configuration of the render tree is completed by completely configuring the picture data as in the configuration state 530 of the render tree, rendering may be performed without considering the number of rendering delays. For example, even if the maximum number of rendering delays is 3 and the number of rendering delays is 1 at the time when the render tree configuration is completed, it is necessary to provide a screen corresponding to the already fully configured render tree, so can provide

이와 같이 렌더 트리의 구성이 완료된 경우에는 지체하지 않고 렌더링을 수행함으로써 클라우드 스트리밍 서비스를 사용하는 사용자에게 최대한 빠르게 완료된 화면을 제공할 수 있다.In this way, when the configuration of the render tree is completed, rendering is performed without delay, so that the completed screen can be provided to the user using the cloud streaming service as quickly as possible.

도 5b는 본 발명의 일실시예에 따른 렌더링 대기 시간에 기반하여 렌더링을 수행하는 과정을 나타낸 도면이다.5B is a diagram illustrating a process of performing rendering based on a rendering waiting time according to an embodiment of the present invention.

도 5b를 참조하면, 본 발명의 일실시예에 따른 렌더링 대기 시간에 기반하여 렌더링을 수행하는 과정을 설명하기 위해 도 5a와 동일하게 날짜 렌더링 요소와 이에 상응하는 그림을 다른 서버로부터 수신하여 화면에 보여주는 페이지가 있다고 가정할 수 있다.Referring to FIG. 5B , in the same manner as in FIG. 5A, a date rendering element and a corresponding picture are received from another server and displayed on the screen in the same manner as in FIG. 5A to explain a process of rendering based on the rendering latency according to an embodiment of the present invention. Let's assume we have a page that shows.

이 때, 도 5a에서는 다른 서버에서 수신되는 그림 데이터를 최대 렌더링 지연 횟수에 따라 렌더링을 수행하였으나, 도 5b에서는 렌더링 대기 시간을 고려하여 렌더링을 수행할 수 있다.At this time, in FIG. 5A , the picture data received from another server was rendered according to the maximum number of rendering delays, but in FIG. 5B , rendering may be performed in consideration of the rendering latency.

도 5b를 참고하면 먼저 렌더링 대기 시간이 1초로 설정된 것을 확인할 수 있다. Referring to FIG. 5B , it can be seen that the rendering waiting time is set to 1 second.

이 때, 0에서 1초사이의 렌더링 대기 시간 중 변화 시점(541)에서 날짜 데이터가 구성되면서 렌더 트리의 구성 상태(540)와 같이 렌더 트리의 구성의 변화가 발생한 것을 알 수 있다.At this time, it can be seen that the configuration of the render tree is changed as shown in the configuration state 540 of the render tree while the date data is configured at the change point 541 of the rendering waiting time between 0 and 1 second.

이 때, 변화 시점(541)에서 발생한 렌더 트리의 구성 변화에 대해서는 렌더링 대기 시간인 1초에 렌더링을 수행할 수 있다. 예를 들어, 변화 시점(541)과 1초 사이에 또 다른 데이터가 렌더 트리에 구성되어 변화가 발생하였어도, 해당 변화들에 대해서 모두 렌더링 대기 시간에 상응하는 1초에 일괄적으로 렌더링을 수행할 수 있다. 이와 같이 렌더링 대기 시간 내에 발생한 렌더 트리의 구성 변화들에 대해서 일괄적으로 렌더링을 수행함으로써 전체적인 렌더링 횟수를 감소시킬 수 있다.At this time, with respect to the change in the configuration of the render tree occurring at the change point 541 , rendering may be performed in 1 second, which is the rendering waiting time. For example, even if another data is configured in the render tree and a change occurs between the change point 541 and 1 second, all of the changes are rendered in 1 second corresponding to the rendering waiting time. can As described above, the overall number of renderings can be reduced by collectively rendering the changes in the configuration of the render tree that occurred within the rendering waiting time.

또한, 1초부터 2초까지에 해당하는 렌더링 대기 시간 동안에는 렌더 트리의 구성 변화가 발생하지 않은 것을 확인할 수 있다. 따라서, 이와 같은 경우에는 렌더 트리의 구성 상태(550)가 앞서 렌더링된 렌더 트리의 구성 상태(540)와 동일하기 때문에, 렌더링 대기 시간이 지난 후에도 렌더 트리의 구성에 대해 렌더링을 수행하지 않을 수 있다.In addition, it can be seen that the configuration change of the render tree does not occur during the rendering waiting time corresponding to 1 second to 2 seconds. Therefore, in this case, since the configuration state 550 of the render tree is the same as the configuration state 540 of the previously rendered render tree, rendering may not be performed on the configuration of the render tree even after the rendering waiting time has elapsed. .

또한, 렌더 트리의 구성 상태(560)와 같이 렌더링 대기 시간이 종료되기 전인 변화 시점(561)에 트리의 구성이 완료되었을 때 렌더링 대기 시간과 관계없이 렌더링을 수행할 수 있다.Also, like the configuration state 560 of the render tree, when the tree configuration is completed at the change point 561 before the rendering waiting time ends, rendering may be performed irrespective of the rendering waiting time.

이와 같이, 렌더링 대기 시간을 고려하여 최적 렌더링을 수행하는 경우에도 렌더 트리의 구성이 완료된 시점에서는 지체하지 않고 렌더링을 수행함으로써 사용자에게 조금이라도 빠르게 어플리케이션 실행화면을 제공할 수 있다.In this way, even when optimal rendering is performed in consideration of the rendering latency, the application execution screen can be provided to the user as quickly as possible by rendering without delay when the configuration of the render tree is completed.

도 6은 본 발명의 일실시예에 따라 프레임을 비교하여 캡처될 이미지를 검출하는 과정을 나타낸 도면이다.6 is a diagram illustrating a process of detecting an image to be captured by comparing frames according to an embodiment of the present invention.

도 6을 참조하면, 본 발명에 따라 프레임을 비교하여 캡처된 이미지를 검출하는 과정은 먼저 사용자 요청에 따른 어플리케이션 실행화면에서 화면의 변화가 적은 부분의 프레임들을 획득할 수 있다.Referring to FIG. 6 , in the process of detecting a captured image by comparing frames according to the present invention, frames of a portion of an application execution screen in response to a user's request with little change in the screen may be acquired first.

이 때, 화면의 변화가 많은 부분에 대해서는 비디오 코덱 기반의 클라우드 스트리밍 서비스를 통해 사용자에게 어플리케이션 실행화면을 제공하는 것이 더 효율적일 수 있다.In this case, it may be more efficient to provide an application execution screen to the user through a video codec-based cloud streaming service for a portion with a large number of screen changes.

이 후, 변화가 적은 부분의 프레임들 중 현재 프레임(620)과 이전 프레임(610)을 비교할 수 있다. 예를 들어, 도 6에 나타낸 현재 프레임(620)과 이전 프레임(610)을 비교하면 두 프레임의 A 영역 및 B 영역에 대해서는 변화가 없으나, 이전 프레임(610)의 C 영역 및 D 영역이 현재 프레임(620)에서는 C'와 D'로 변한 것을 확인할 수 있다. Thereafter, the current frame 620 and the previous frame 610 may be compared among the frames of the small change portion. For example, if the current frame 620 and the previous frame 610 shown in FIG. 6 are compared, there is no change in regions A and B of the two frames, but regions C and D of the previous frame 610 are the current frame. In 620, it can be seen that C' and D' are changed.

따라서, 클라우드 스트리밍 서버에서는 이와 같은 변화를 확인하고, 변화된 C' 영역과 D' 영역을 변화된 영역(630)으로 캡처할 수 있다. 즉, 클라우드 스트리밍 서버의 캡처단에서 변화된 영역(630)에 상응하는 이미지를 캡처할 수 있다. Therefore, the cloud streaming server may check such a change, and capture the changed C' region and D' region as the changed region 630 . That is, it is possible to capture an image corresponding to the changed area 630 at the capture end of the cloud streaming server.

또한, 현재 프레임(620)과 이전 프레임(610)을 비교하였을 때, 변화된 영역(630)과 같이 변화된 부분이 여러 영역 확인되는 경우에는, 변화된 여러 영역을 모두 포함하는 하나의 영역을 변화된 영역(630)으로 인식하고 캡처할 수 있다. 또한, 변화된 여러 영역을 모두 각각 변화된 영역(630)으로 인식하고 복수 개의 변화된 영역(630)을 캡처하여 이미지 기반의 클라우드 스트리밍 서비스를 수행할 수도 있다.In addition, when comparing the current frame 620 with the previous frame 610 , when multiple regions are identified, such as the changed region 630 , one region including all the changed regions is converted into the changed region 630 . ) can be recognized and captured. In addition, it is also possible to perform an image-based cloud streaming service by recognizing all of the changed regions as the changed regions 630 , and capturing the plurality of changed regions 630 .

도 7은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 나타낸 도면이다.7 is a diagram illustrating an image cloud streaming service method based on optimal rendering according to an embodiment of the present invention.

도 7을 참조하면, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 어플리케이션 실행화면을 수신한다(S710).Referring to FIG. 7 , the image cloud streaming service method based on optimal rendering according to an embodiment of the present invention receives an application execution screen (S710).

이 때, 도 1에 도시된 네트워크와 같은 통신망을 통해 어플리케이션 실행화면을 수신할 수 있다. 또한, 클라우드 스트리밍 서비스에 대한 요청을 단말로부터 수신할 수 있다.In this case, the application execution screen may be received through a communication network such as the network shown in FIG. 1 . In addition, a request for a cloud streaming service may be received from the terminal.

이 때, 단말이 요청한 클라우드 스트리밍 서비스에 대해서 어플리케이션 서버로부터 어플리케이션 실행화면을 수신할 수 있다.At this time, it is possible to receive an application execution screen from the application server for the cloud streaming service requested by the terminal.

또한, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 어플리케이션 실행화면을 렌더링한다(S720).In addition, the image cloud streaming service method based on optimal rendering according to an embodiment of the present invention renders an application execution screen in consideration of the configuration of a render tree corresponding to a rendering performance criterion (S720).

이 때, 렌더 트리는 클라우드 스트리밍 서버가 수신한 어플리케이션 실행화면의 데이터 중에서 실제로 화면에 보여지는 데이터들로만 추려서 구성된 것일 수 있다. 따라서, 렌더 트리에 구성되는 모든 요소들은 렌더링되어 클라우드 스트리밍 서버에서 캡처할 수 있는 이미지 중에 하나가 될 수 있다.In this case, the render tree may be configured by selecting only data actually displayed on the screen among the data of the application execution screen received by the cloud streaming server. Therefore, all elements of the render tree can be rendered and become one of the images that can be captured by the cloud streaming server.

웹 어플리케이션의 경우 브라우저를 통해 렌더링을 수행하며, 브라우저에서는 렌더 트리를 구성하는 부분과 실제 렌더링을 수행하는 부분이 별개로 존재할 수 있다. 따라서, 실제로 렌더 트리가 구성되고 필요한 데이터가 모두 들어오기 전에도 렌더링이 수행되게 된다. In the case of a web application, rendering is performed through a browser, and in the browser, a part constituting a render tree and a part performing actual rendering may exist separately. Therefore, rendering is performed even before the render tree is actually constructed and all necessary data is received.

이 때, 브라우저에서는 언제 필요한 데이터가 완벽하게 수신되고, 렌더 트리의 요소가 모두 구성되었는지 알 수 있으므로 이에 대한 정보를 바탕으로 최적 렌더링을 수행할 수 있다.At this time, the browser can know when necessary data is completely received and all elements of the render tree are configured, so that optimal rendering can be performed based on this information.

예를 들어, 렌더 트리의 구성이 모두 완료된 후에 렌더링을 수행하면, 클라우드 스트리밍 서버 입장에서는 렌더링이 늦어져서 이후의 수행될 작업의 속도에도 영향을 끼칠 수 있다. 따라서, 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 최적의 횟수로 렌더링을 수행할 수 있다.For example, if rendering is performed after all the configuration of the render tree is completed, rendering is delayed from the point of view of the cloud streaming server, which may affect the speed of subsequent operations. Accordingly, rendering may be performed an optimal number of times in consideration of the configuration of the render tree corresponding to the rendering performance criterion.

이 때, 렌더링 수행 기준은 최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응할 수 있다. In this case, the rendering performance criterion may correspond to any one of the maximum number of rendering delays and rendering waiting time.

이 때, 렌더 트리의 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응하는 경우 및 렌더링 대기 시간 동안 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 렌더 트리의 구성에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다.At this time, when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time, the application is executed according to the configuration of the render tree The screen can be rendered.

예를 들어, 렌더링 수행 기준이 최대 렌더링 지연 횟수이고, 최대 렌더링 지연 횟수가 3회라고 가정할 수 있다. 또한, 초기에는 렌더 트리의 렌더링 지연 횟수를 0회로 초기화할 수 있다. 이 때, 렌더 트리의 구성에 변화가 있을 때마다 렌더링 지연 횟수를 1회씩 증가시킬 수 있으며, 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응할 때에만 해당 렌더 트리의 구성에 상응하게 렌더링을 수행할 수 있다. 즉, 일반적인 렌더링 동작이라면 3번의 렌더링이 수행되었을 상황을 1번의 렌더링으로 단축하여 렌더링 횟수를 감소시키는 효과가 있다.For example, it may be assumed that the rendering performance criterion is the maximum number of rendering delays, and the maximum number of rendering delays is three. Also, initially, the number of rendering delays of the render tree may be initialized to 0. At this time, the number of rendering delays can be increased by one whenever there is a change in the configuration of the render tree, and rendering can be performed according to the configuration of the render tree only when the number of rendering delays corresponds to the maximum number of rendering delays. have. That is, in the case of a general rendering operation, there is an effect of reducing the number of renderings by shortening a situation in which three renderings have been performed to one rendering.

또 다른 예를 들면, 렌더링 대기 시간을 0.5초라고 가정한다면, 0.5초마다 렌더 트리의 구성에 변화가 발생하였는지 여부를 판단할 수 있다. 이 후, 0.5초 동안 렌더 트리의 구성이 변화하였다면 렌더링을 수행하고, 변화가 발생하지 않았다면 또 다시 렌더링 대기 시간 동안 대기하여 렌더 트리의 구성 변화를 판단할 수 있다.As another example, if it is assumed that the rendering waiting time is 0.5 seconds, it may be determined whether a change has occurred in the configuration of the render tree every 0.5 seconds. After that, if the configuration of the render tree is changed for 0.5 seconds, rendering is performed, and if no change occurs, it is waited for the rendering waiting time again to determine the change in the configuration of the render tree.

즉, 렌더링 지연 횟수가 렌더 트리의 구성 변화 횟수를 기준으로 렌더링 횟수를 감소시키는 수단이라면, 렌더링 대기 시간은 렌더 트리의 구성을 시간 별로 분배하고, 분배된 시간 내에 발생한 변화를 한꺼번에 렌더링 함으로써 렌더링 횟수를 감소시키는 수단일 수 있다.In other words, if the number of rendering delays is a means of reducing the number of renderings based on the number of changes in the configuration of the render tree, the rendering waiting time divides the configuration of the render tree by time and renders the changes occurring within the distributed time all at once to increase the number of renderings. It may be a means to reduce.

따라서, 기존에는 0.5초 동안 3번의 렌더 트리의 구성 변화가 발생하면, 3번의 렌더링을 수행하였지만, 렌더링 대기 시간을 이용하면 1번의 렌더링만을 수행하게 되므로 렌더링 횟수를 현저하게 감소시킬 수 있다.Therefore, when the configuration change of the render tree occurs three times in 0.5 seconds, rendering is performed three times, but only one rendering is performed using the rendering latency, so that the number of renderings can be significantly reduced.

이 때, 렌더 트리의 구성에 변화가 발생할 때마다 렌더링 지연 횟수를 증가시킬 수 있다. 또한, 렌더링 지연 횟수만 증가시키고 렌더링을 수행하지 않음으로써, 렌더 트리의 구성 변화가 발생할 때마다 렌더링을 수행하여 클라우드 스트리밍 서버의 자원을 불필요하게 많이 소모하는 것을 방지할 수 있다. 또한, 클라우드 스트리밍 서버에서 절약되는 자원만큼 동시 접속율을 상승시켜 보다 많은 사용자들에게 클라우드 스트리밍 서비스를 동시에 제공할 수 있다.In this case, the number of rendering delays may be increased whenever a change occurs in the configuration of the render tree. In addition, by increasing only the number of rendering delays and not performing rendering, rendering is performed whenever a change in the configuration of the render tree occurs, thereby preventing unnecessary consumption of a large amount of resources of the cloud streaming server. In addition, the cloud streaming service can be provided to more users at the same time by increasing the simultaneous access rate by the amount of resources saved in the cloud streaming server.

이 때, 렌더링 지연 횟수는 렌더링이 수행되면 초기화시킬 수 있다. In this case, the number of rendering delays may be initialized when rendering is performed.

예를 들어, 렌더 트리의 구성이 완료되면 렌더링을 수행한 뒤 해당 어플리케이션 실행화면에 대한 렌더링 수행과정을 종료할 수 있다. 따라서, 다음에 수신될 어플리케이션 실행화면에 대한 렌더링 수행 준비를 위해 렌더링 지연 횟수를 초기화할 수 있다.For example, when the configuration of the render tree is completed, the rendering process for the execution screen of the corresponding application may be terminated after rendering. Accordingly, the number of rendering delays may be initialized in order to prepare for rendering execution on an application execution screen to be received next.

또한, 렌더링 지연횟수는 최대 렌더링 지연 횟수에 도달하여 렌더링이 수행된 후에도 초기화 될 수 있다. 만약, 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 도달하여 렌더링을 수행한 후에도 렌더링 지연 횟수를 초기화 하지 않을 경우에, 렌더 트리가 완료될 때까지 렌더링이 수행되지 않아 서비스 속도가 느려지는 문제가 발생할 수도 있다. In addition, the number of rendering delays may be initialized even after rendering is performed by reaching the maximum number of rendering delays. If the number of rendering delays reaches the maximum number of rendering delays and the number of rendering delays is not initialized even after rendering is performed, rendering is not performed until the render tree is completed, resulting in a slow service speed problem. .

예를 들어, 최대 렌더링 지연 횟수가 3회라고 가정한다면, 렌더 트리의 변화에 따라 렌더링 지연 횟수가 3회가 되었을 때 렌더링을 수행할 수 있다. 이 후, 렌더링 지연 횟수를 초기화하지 않는다면, 렌더링 지연횟수는 4회, 5회로 점점 늘어나게 되고 결국 렌더 트리의 구성이 완료될 때까지 최대 렌더링 지연 횟수와 상응하는 경우는 발생하지 않을 수 있다. 결국 해당 어플리케이션 실행화면에서는 렌더 트리의 변화가 3번 나타났을 때 렌더링이 수행되고, 렌더 트리의 구성이 완료되었을 때 최종적인 렌더링이 수행되므로, 렌더 트리가 구성되는 중간과정에서는 어플리케이션 실행화면을 제공하지 못할 수 있어 사용자가 빠르게 화면을 제공받지 못할 수도 있다.For example, if it is assumed that the maximum number of rendering delays is 3, rendering may be performed when the number of rendering delays reaches 3 according to a change in the render tree. After that, if the number of rendering delays is not initialized, the number of rendering delays gradually increases to 4 and 5, and eventually, a case corresponding to the maximum number of rendering delays may not occur until the construction of the render tree is completed. After all, in the application execution screen, rendering is performed when the change of the render tree appears 3 times, and final rendering is performed when the configuration of the render tree is completed. It may not be possible, so the user may not be provided with the screen quickly.

따라서, 렌더링을 수행한 뒤 렌더링 지연 횟수를 초기화함으로써. 최대 렌더링 지연 횟수만큼 렌더 트리의 구성 변화가 발생할 때마다 렌더링을 수행할 수 있고, 이는 사용자에게 어플리케이션 실행화면을 빠르게 제공하는 효과를 줄 수 있다.So, by initializing the number of rendering delays after rendering. Rendering can be performed whenever a change in the configuration of the render tree occurs as much as the maximum number of rendering delays, which can have the effect of quickly providing the application execution screen to the user.

이 때, 렌더 트리의 구성이 완료된 경우에 렌더링 수행 기준을 고려하지 않고, 구성이 완료된 렌더 트리에 상응하게 어플리케이션 실행화면을 렌더링할 수 있다. 즉, 렌더 트리의 구성이 완료되어 어플리케이션 실행화면에서 화면에 보여져야 할 요소들이 모두 렌더링될 준비가 되었다면, 렌더링 수행 기준을 고려하지 않고 렌더링을 수행할 수 있다. 이에 따라 클라우드 스트리밍 서버에서는 최대한 빠르게 어플리케이션 실행화면의 렌더링을 완료할 수 있다.In this case, when the configuration of the render tree is completed, the application execution screen may be rendered according to the configured render tree without considering the rendering performance criteria. That is, if the configuration of the render tree is completed and all elements to be displayed on the screen in the application execution screen are ready to be rendered, rendering may be performed without considering the rendering performance criteria. Accordingly, the cloud streaming server can complete the rendering of the application execution screen as quickly as possible.

또한, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 렌더링된 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송한다(S730).In addition, the image cloud streaming service method based on optimal rendering according to an embodiment of the present invention captures an image from a rendered application execution screen, compresses the captured image using a still image encoding method, and transmits it to the user's terminal (S730) ).

비디오 코덱 기반의 클라우드 스트리밍 기법은 어플리케이션이 동작하는 화면에 상응하는 모든 프레임을 캡처하여 인코딩을 수행할 수 있다. 그러나 어플리케이션이 동작하는 화면 상에서 프레임간 변화가 크지 않은 경우에는 이미지 기반의 클라우드 스트리밍 기법과 같이 이전 프레임과 비교하여 변화된 프레임의 변화 영역만을 캡처하여 스틸 이미지 인코딩을 수행하고, 사용자의 단말 장치에 디스플레이 할 때 변화 영역을 제외한 부분은 동일하게 보여주고 변화 영역만 변화를 주는 방식으로 디스플레이 할 수 있다.The video codec-based cloud streaming technique can perform encoding by capturing all frames corresponding to the screen on which the application operates. However, if the frame-to-frame change is not large on the screen on which the application is running, still image encoding is performed by capturing only the area of change of the frame that has changed compared to the previous frame, as in the image-based cloud streaming technique, and displayed on the user's terminal device. The display can be displayed in such a way that the parts except the change area are shown the same and only the change area is changed.

이 때, 렌더링된 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 이미지로 캡처할 수 있다. 예를 들어, 현재 프레임과 이전 프레임을 비교하였을 때 현재 프레임이 이전 프레임과 비교하여 변화가 있다면, 현재 프레임의 화면 영역 중 변화된 영역을 이미지로 캡처할 수 있다. 또한, 캡처되는 이미지는 사용자의 단말에서 입력되는 입력신호에 따라 그 사이즈나 성질이 다양할 수 있다.In this case, the changed area may be captured as an image by comparing the rendered frames of the application execution screen. For example, if the current frame is changed compared to the previous frame when the current frame and the previous frame are compared, the changed area among the screen areas of the current frame may be captured as an image. In addition, the size or properties of the captured image may vary according to an input signal input from the user's terminal.

또한, 프레임들 중 프레임간의 변화가 적은 구간들을 검출하고, 프레임간의 변화가 적은 구간에서 이미지를 캡처할 수 있다. 예를 들어, 프레임간의 변화가 많은 구간은 캡처할 이미지의 수가 많아 이미지 기반의 클라우드 스트리밍 서비스를 제공하는 것이 비효율적일 수 있다. 따라서, 이와 같이 변화가 많은 구간은 비디오 코덱 기반의 클라우드 스트리밍 기법을 통해 서비스를 수행하고, 프레임간 변화가 적은 구간에서만 이미지 기반의 클라우드 스트리밍 서비스를 수행하기 위해 변화된 영역의 이미지를 캡처할 수 있다.Also, it is possible to detect sections in which a change between frames is small among frames, and capture an image in a section in which a change between frames is small. For example, it may be inefficient to provide an image-based cloud streaming service because the number of images to be captured is large in a section where there is a lot of change between frames. Therefore, in such a section with many changes, a service is performed through a video codec-based cloud streaming technique, and an image of a changed area can be captured in order to perform an image-based cloud streaming service only in a section with little change between frames.

이 때, 스틸 이미지 인코딩 방식은 클라우드 스트리밍 서버에서 발생하는 부하량, 서비스 속도, 이미지의 화질 또는 인코딩된 이미지를 수신하여 렌더링하는 단말의 성능 등을 고려하여 결정할 수 있다. 예를 들어, 클라우드 스트리밍 서비스의 속도를 향상시키기 위해서는 압축률이 높고 부하가 적게 발생하는 팔렛트 PNG 인코딩 방식으로 이미지를 압축할 수 있다. 또한, 부하량은 상관하지 않고 이미지의 화질을 좋게 제공하고 싶다면, PNG32bit 인코딩 방식 또는 JPEG 인코딩 방식 등을 이용하여 이미지를 압축할 수 있다.In this case, the still image encoding method may be determined in consideration of the amount of load generated by the cloud streaming server, service speed, image quality, or performance of a terminal that receives and renders the encoded image. For example, in order to improve the speed of a cloud streaming service, an image may be compressed using a palette PNG encoding method that has a high compression rate and a low load. In addition, if you want to provide a good image quality regardless of the load, you can compress the image using a PNG32bit encoding method or a JPEG encoding method.

또한, 도 7에는 도시하지 아니하였으나, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 상술한 바와 같이 본 발명의 실시예에 따른 클라우드 스트리밍 서비스 과정에서 발생하는 다양한 정보를 저장한다.In addition, although not shown in FIG. 7, the image cloud streaming service method based on optimal rendering according to an embodiment of the present invention stores various information generated in the process of the cloud streaming service according to the embodiment of the present invention as described above. do.

실시예에 따라, 정보를 저장하는 저장 모듈, 스토리지 및 데이터베이스 등은 클라우드 스트리밍 서버와 독립적으로 구성되어 클라우드 스트리밍 서비스를 위한 기능을 지원할 수 있다. 이 때, 저장 모듈, 스토리지 및 데이터베이스 등은 별도의 대용량 스토리지로 동작할 수 있고, 동작 수행을 위한 제어 기능을 포함할 수도 있다.According to an embodiment, a storage module, storage, and database for storing information may be configured independently of a cloud streaming server to support a function for a cloud streaming service. In this case, the storage module, the storage, and the database may operate as separate mass storage and may include a control function for performing the operation.

이와 같은 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 통해 이미지 기반의 클라우드 스트리밍 서비스를 제공함으로써 클라우드 스트리밍 서비스 시 수행하는 렌더링 횟수를 현저하게 감소시킬 수 있다. 또한, 감소된 렌더링 횟수만큼 클라우드 스트리밍 서버의 부하량이 줄어들 수 있으므로 서비스를 사용하는 사용자들에게 보다 원활한 서비스를 제공하는 것이 가능하다.By providing an image-based cloud streaming service through the image cloud streaming service method based on such an optimal rendering, the number of renderings performed during the cloud streaming service can be significantly reduced. In addition, since the load of the cloud streaming server may be reduced by the reduced number of renderings, it is possible to provide a smoother service to users who use the service.

또한, 렌더링 수행에 사용되던 클라우드 스트리밍 서버의 자원을 절약할 수 있으므로, 동시에 더 많은 사용자들에게 이미지 기반의 클라우드 스트리밍 서비스를 제공할 수 있다.In addition, since it is possible to save the resources of the cloud streaming server used for rendering, it is possible to provide an image-based cloud streaming service to more users at the same time.

또한, 이미지 기반의 클라우드 스트리밍 서비스를 제공함으로써, 사양이 높지 않은 개인 사용자들의 휴대 단말기에서도 고사양의 어플리케이션 및 고사양의 컨텐츠를 실시간으로 수행할 수 있는 효과가 있다.In addition, by providing an image-based cloud streaming service, there is an effect that high-spec applications and high-spec content can be performed in real time even in the portable terminals of individual users who do not have high specifications.

도 8은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 도면이다.8 is a diagram illustrating in detail an image cloud streaming service method based on optimal rendering according to an embodiment of the present invention.

도 8을 참조하면, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 먼저 어플리케이션 실행화면을 수신한다(S810). 이 때, 어플리케이션 실행화면은 사용자의 요청에 따라 실행된 어플리케이션의 실행화면일 수 있다.Referring to FIG. 8 , the image cloud streaming service method based on optimal rendering according to an embodiment of the present invention first receives an application execution screen (S810). In this case, the application execution screen may be an execution screen of an application executed according to a user's request.

이 후, 최적 렌더링 수행을 위해, 어플리케이션 실행화면에 상응하는 렌더 트리의 구성을 수행한다(S820). 이 때, 렌더 트리는 어플리케이션 실행화면의 데이터들 중에서 실제로 화면에 보여져야 할 데이터들만으로 구성된 것일 수 있다. 또한, 렌더 트리는 이미지 기반의 클라우드 스트리밍 서비스를 보다 빠르고 보다 효율적으로 제공할 수 있도록 도울 수 있다.Thereafter, in order to perform optimal rendering, a render tree corresponding to the application execution screen is configured (S820). In this case, the render tree may be composed of only data to be actually displayed on the screen among the data of the application execution screen. In addition, Render Tree can help provide image-based cloud streaming services faster and more efficiently.

이 후, 렌더 트리의 구성에 변화가 발생하는지 여부를 판단한다(S815).Thereafter, it is determined whether a change occurs in the configuration of the render tree (S815).

단계(S815)의 판단결과 변화가 발생하지 않으면, 계속해서 렌더 트리의 구성을 수행한다.If no change occurs as a result of the determination in step S815, the render tree is continuously constructed.

단계(S815)의 판단결과 변화가 발생한다면, 렌더 트리의 구성이 완료된 것인지 판단한다(S825).If a change occurs as a result of the determination in step S815, it is determined whether the configuration of the render tree is complete (S825).

단계(S825)의 판단결과 렌더 트리의 구성이 완료되지 않았다면, 렌더링 지연 횟수가 최대 렌더링 지연 횟수에 상응하는지 여부를 판단한다(S835).If it is determined in step S825 that the construction of the render tree is not completed, it is determined whether the number of rendering delays corresponds to the maximum number of rendering delays (S835).

단계(S835)의 판단결과 최대 렌더링 지연 횟수에 상응하지 않으면, 렌더링 지연횟수를 1만큼 증가시키고(S840) 다시 렌더 트리의 구성 변화를 확인한다.If it is determined in step S835 that does not correspond to the maximum number of rendering delays, the number of rendering delays is increased by 1 (S840) and a change in the configuration of the render tree is checked again.

이 때, 렌더링 지연 횟수만 증가시키고 실제 렌더링은 수행하지 않음으로써, 렌더링 횟수를 감소시킬 수 있다.In this case, only the number of rendering delays is increased and actual rendering is not performed, thereby reducing the number of renderings.

단계(S835)의 판단결과 최대 렌더링 지연 횟수에 상응하면, 현재 렌더 트리의 구성에 상응하게 렌더링한다(S850).If the determination result of step S835 corresponds to the maximum number of rendering delays, the rendering is performed according to the configuration of the current render tree (S850).

이 후, 클라우드 스트리밍 서버의 캡처단을 통해 어플리케이션 실행화면의 이미지를 캡처한다(S852).Thereafter, the image of the application execution screen is captured through the capture end of the cloud streaming server (S852).

이 때, 어플리케이션 실행화면의 프레임들을 비교하여 변화된 영역을 이미지로 캡처할 수 있다. In this case, the changed area may be captured as an image by comparing the frames of the application execution screen.

이 후, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 인코딩하고(S854), 스틸 이미지 인코딩된 이미지를 단말로 전송한다(S856).Thereafter, the captured image is encoded using a still image encoding method (S854), and the still image-encoded image is transmitted to the terminal (S856).

이 때, 스틸 이미지 인코딩 방식은 클라우드 스트리밍 서버에서 발생하는 부하량, 서비스 속도, 이미지의 화질 또는 인코딩된 이미지를 수신하여 렌더링하는 단말의 성능 등을 고려하여 결정할 수 있다. In this case, the still image encoding method may be determined in consideration of the amount of load generated by the cloud streaming server, service speed, image quality, or performance of a terminal that receives and renders the encoded image.

그리고, 렌더링 지연 횟수를 다시 초기값에 상응하게 초기화한 뒤(S858), 다시 렌더 트리의 구성 변화를 확인한다.Then, after the number of rendering delays is initialized to correspond to the initial value again (S858), a change in the configuration of the render tree is checked again.

만약, 단계(S825)의 판단결과 렌더 트리의 구성이 완료되었다면, 완료된 렌더 트리의 구성에 상응하게 렌더링한다(S860). 이 때, 렌더링을 수행한 후 렌더링 지연 횟수를 초기값에 상응하게 초기화할 수 있으며, 초기값은 0에 상응할 수 있다.If, as a result of the determination in step S825, the configuration of the render tree is completed, the rendering is performed according to the configuration of the completed render tree (S860). In this case, after rendering, the number of rendering delays may be initialized to correspond to an initial value, and the initial value may correspond to zero.

이 후, 클라우드 스트리밍 서버의 캡처단을 통해 어플리케이션 실행화면의 이미지를 캡처하고(S862), 캡처된 이미지를 스틸 이미지 인코딩하여(S864) 단말로 전송한다(S866).Thereafter, the image of the application execution screen is captured through the capture end of the cloud streaming server (S862), and the captured image is encoded as a still image (S864) and transmitted to the terminal (S866).

도 9는 본 발명의 다른 실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 도면이다.9 is a diagram illustrating in detail an image cloud streaming service method based on optimal rendering according to another embodiment of the present invention.

도 9를 참조하면, 본 발명의 다른 실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 먼저 어플리케이션 실행화면을 수신한다(S910).Referring to FIG. 9 , the image cloud streaming service method based on optimal rendering according to another embodiment of the present invention first receives an application execution screen (S910).

이 후, 최적 렌더링 수행을 위해, 어플리케이션 실행화면에 상응하는 렌더 트리의 구성을 수행한다(S920).After that, in order to perform optimal rendering, a render tree corresponding to the application execution screen is configured (S920).

이 후, 렌더링 대기 시간 동안 렌더 트리를 구성한다(S930).Thereafter, a render tree is configured during the rendering waiting time (S930).

이 후, 렌더링 대기 시간 내에 렌더 트리의 구성에 변화가 있었는지 여부를 판단한다(S935).Thereafter, it is determined whether there is a change in the configuration of the render tree within the rendering waiting time (S935).

단계(S935)의 판단결과 렌더 트리의 구성에 변화가 없었다면, 렌더링을 수행하지 않고 다시 렌더링 대기 시간 동안 렌더 트리를 구성한다.If there is no change in the configuration of the render tree as a result of the determination in step S935, the render tree is reconfigured during the rendering waiting time without performing rendering.

단계(S935)의 판단결과 렌더 트리의 구성에 변화가 있었다면, 렌더 트리의 구성이 완료된 것인지 판단한다(S945).If there is a change in the configuration of the render tree as a result of the determination in step S935, it is determined whether the configuration of the render tree is complete (S945).

단계(S945)의 판단결과 렌더 트리의 구성이 완료되지 않았다면, 현재 렌더 트리의 구성에 상응하게 렌더링을 수행한다(S950).If it is determined in step S945 that the configuration of the render tree is not completed, rendering is performed according to the configuration of the current render tree (S950).

이 후, 렌더링된 어플리케이션 실행화면의 이미지를 캡처하고(S952) 스틸 이미지 인코딩하여(S954), 스틸 이미지 인코딩된 이미지를 단말로 전송한 뒤(S956) 다시 렌더링 대기 시간 동안 렌더 트리를 구성한다.Thereafter, an image of the rendered application execution screen is captured (S952), a still image is encoded (S954), and the still image-encoded image is transmitted to the terminal (S956), and then a render tree is reconfigured during the rendering waiting time.

단계(S945)의 판단결과 렌더 트리의 구성이 완료되었다면, 완료된 렌더 트리의 구성에 상응하게 렌더링을 수행한다(S960).If it is determined in step S945 that the configuration of the render tree is completed, rendering is performed according to the configuration of the completed render tree (S960).

이 후, 렌더링된 어플리케이션 실행화면의 이미지를 캡처하고(S962) 스틸 이미지 인코딩하여(S964), 스틸 이미지 인코딩된 이미지를 단말로 전송한다(S966).Thereafter, the image of the rendered application execution screen is captured (S962), the still image is encoded (S964), and the still image-encoded image is transmitted to the terminal (S966).

도 10은 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 과정을 나타낸 도면이다.10 is a diagram illustrating an image cloud streaming service process based on optimal rendering according to an embodiment of the present invention.

도 10을 참조하면, 본 발명의 일실시예에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 과정은 사용자의 요청에 상응하게 어플리케이션 서버에서 어플리케이션을 실행한다(S1002). 이 때, 어플리케이션 서버는 사용자의 단말(120-1)로부터 사용자 요청을 수신할 수 있다.Referring to FIG. 10 , in the image cloud streaming service process based on optimal rendering according to an embodiment of the present invention, the application is executed in the application server according to the user's request (S1002). In this case, the application server may receive a user request from the user's terminal 120-1.

이 후, 클라우드 스트리밍 서버(110)의 수신부가 사용자 요청에 따른 어플리케이션 실행화면을 어플리케이션 서버로부터 수신한다(S1004).Thereafter, the receiving unit of the cloud streaming server 110 receives the application execution screen according to the user's request from the application server (S1004).

클라우드 스트리밍 서버(110)의 렌더링부에서는 어플리케이션 실행화면에 상응하는 렌더 트리의 구성을 수행한다(S1006)The rendering unit of the cloud streaming server 110 configures the render tree corresponding to the application execution screen (S1006)

이 때, 렌더 트리는 어플리케이션 실행화면에서 실제로 화면의 표시되어야 하는 요소들만으로 구성될 수 있다.In this case, the render tree may be composed of only elements to be actually displayed on the screen in the application execution screen.

이 때, 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 렌더링 수행 여부를 판단한다(S1008). At this time, it is determined whether rendering is performed in consideration of the configuration of the render tree corresponding to the rendering performance criterion (S1008).

예를 들어, 렌더 트리의 구성이 완료되었거나, 또는 렌더링 지연횟수가 최대 렌더링 지연 횟수에 상응하는 경우에 렌더링을 수행하는 것으로 판단할 수 있다. 이 때, 최대 렌더링 지연 횟수는 클라우드 스트리밍 서비스 시스템의 관리자 또는 개발자에 의해서 설정될 수 있으며, 자유롭게 변경하는 것이 가능할 수 있다.For example, it may be determined that rendering is performed when the configuration of the render tree is completed or the number of rendering delays corresponds to the maximum number of rendering delays. At this time, the maximum number of rendering delays may be set by the administrator or developer of the cloud streaming service system, and it may be possible to freely change it.

또한, 렌더링 대기 시간 동안의 렌더 트리의 구성 변화를 기준으로 렌더링의 수행 여부를 판단할 수도 있다. 예를 들어, 렌더링 대기 시간 동안 렌더 트리의 구성을 지속적으로 수행한 뒤, 렌더링 대기 시간 동안 발생한 렌더 트리의 구성 변화를 일괄적으로 렌더링함으로써 렌더링 횟수를 감소시킬 수 있다. 또한, 렌더링 대기 시간 동안 렌더 트리의 구성 변화가 발생하지 않았다면 렌더링을 수행하지 않을 수도 있다.In addition, it may be determined whether rendering is performed based on a change in the configuration of the render tree during the rendering waiting time. For example, the number of renderings can be reduced by continuously performing the configuration of the render tree during the rendering waiting time and then rendering the changes in the configuration of the render tree that occurred during the rendering waiting time. Also, if the configuration of the render tree does not change during the rendering waiting time, rendering may not be performed.

이와 같이 렌더 트리의 구성여부에 따라 렌더링 수행횟수를 조절함으로써, 클라우드 스트리밍 서비스에서 잦은 렌더링을 수행함으로써 낭비될 수 있었던 자원을 절약하는 효과를 가져올 수 있다.In this way, by adjusting the number of rendering executions according to the configuration of the render tree, it is possible to bring about the effect of saving resources that could have been wasted by performing frequent rendering in the cloud streaming service.

단계(S1008)의 판단결과 렌더링을 수행하지 않는 것으로 판단되면, 계속해서 렌더 트리의 구성을 수행할 수 있다. 이 때, 렌더링 지연 횟수를 렌더링 수행 기준으로 렌더링 수행 여부를 판단하였다면, 렌더링 지연 횟수를 1만큼 증가시킬 수 있다.If it is determined that rendering is not performed as a result of the determination in step S1008, the construction of the render tree may be continued. In this case, if it is determined whether or not rendering is performed based on the number of rendering delays, the number of rendering delays may be increased by one.

단계(S1008)의 판단결과 렌더링을 수행하는 것으로 판단되면, 렌더링부에 의해 렌더 트리의 구성에 상응하게 렌더링한다(S1010).If it is determined that rendering is performed as a result of the determination in step S1008, the rendering unit renders according to the configuration of the render tree (S1010).

이 후, 렌더링된 어플리케이션 실행화면을 스트리밍부로 전달하여(S1012), 어플리케이션 실행화면의 이미지를 캡처한다(S1014). 이 때, 어플리케이션 실행화면에 상응하는 프레임들을 비교하여 이미지를 캡처할 수 있다.Thereafter, the rendered application execution screen is transmitted to the streaming unit (S1012), and an image of the application execution screen is captured (S1014). In this case, an image may be captured by comparing frames corresponding to the application execution screen.

이 후, 캡처된 이미지를 스틸 이미지 인코딩하고(S1016), 스틸 이미지 인코딩된 이미지를 단말(120-1)로 전송한다(S1018).Thereafter, the captured image is encoded as a still image (S1016), and the still image-encoded image is transmitted to the terminal 120-1 (S1018).

이 때, 스틸 이미지 인코딩 방식 중 어느 하나를 선택하여 캡처된 이미지를 압축할 수 있다.In this case, the captured image may be compressed by selecting any one of still image encoding methods.

이 때, 클라우드 스트리밍 서버(110)에서 발생하는 부하량, 서비스 전송 속도, 전송되는 이미지의 화질 수준 및 단말(120-1)의 성능 등을 고려하여 다양한 스틸 이미지 인코딩 방식 중 어느 하나의 인코딩 방식을 결정할 수 있다.At this time, in consideration of the load generated in the cloud streaming server 110, the service transmission speed, the quality level of the transmitted image, and the performance of the terminal 120-1, one of the various still image encoding methods is determined. can

단말(120-1)에서는 클라우드 스트리밍 서버(110)로부터 수신된 스틸 이미지 인코딩 이미지를 렌더링하여(S920), 단말(120-1)의 사용자에게 디스플레이한다(S1022). 이 때, 사용자에게 디스플레이 되는 어플리케이션 실행화면은 렌더 트리의 구성이 완료되기 전 화면일 수 있다.The terminal 120-1 renders the still image encoded image received from the cloud streaming server 110 (S920), and displays it to the user of the terminal 120-1 (S1022). In this case, the application execution screen displayed to the user may be a screen before the configuration of the render tree is completed.

따라서, 렌더 트리의 구성을 기반으로 렌더링 완료 여부를 판단하여(S1024), 완료되지 않은 경우에는 계속해서 렌더 트리의 구성을 수행할 수 있다.Accordingly, it is determined whether or not rendering is completed based on the configuration of the render tree ( S1024 ), and if not completed, the configuration of the render tree may be continuously performed.

또한, 해당 어플리케이션 실행화면의 렌더 트리의 구성이 완료되고, 이미 완료된 렌더 트리에 상응하는 렌더링이 수행된 경우에는 렌더링이 완료된 것으로 판단하고 다음 동작을 위해 대기한다(S1026).In addition, when the configuration of the render tree of the corresponding application execution screen is completed and rendering corresponding to the already completed render tree is performed, it is determined that the rendering is complete and waits for the next operation (S1026).

본 발명에 따른 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 모든 형태의 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 이러한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The image cloud streaming service method based on the optimal rendering according to the present invention may be implemented in the form of a program command 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, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - Includes magneto-optical media, and any form of hardware device specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions may include high-level language codes that can be executed by a computer using an interpreter or the like as well as machine language codes such as those generated by a compiler. Such hardware devices 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, in the cloud streaming service system according to the present invention, the image cloud streaming service method based on the optimal rendering, and the apparatus therefor, the configuration and method of the embodiments described above are not limitedly applicable, but the above embodiment Examples may be configured by selectively combining all or part of each embodiment so that various modifications can be made.

본 발명에 의하면 어플리케이션 실행화면을 수신하고, 렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 어플리케이션 실행화면을 렌더링하고, 렌더링된 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송할 수 있다. 나아가, 이미지 기반의 클라우드 스트리밍 서비스 시 사용하는 자원량을 절약함으로써 더 많은 사용자들에게 동시에 서비스를 제공할 수 있다.According to the present invention, an application execution screen is received, an application execution screen is rendered in consideration of the configuration of a render tree corresponding to a rendering performance criterion, an image is captured from the rendered application execution screen, and the captured image is encoded as a still image. can be compressed and transmitted to the user's terminal. Furthermore, by saving the amount of resources used in the image-based cloud streaming service, the service can be provided to more users at the same time.

110: 클라우드 스트리밍 서버 120-1~ 120-N: 단말
130: 네트워크 210: 수신부
220: 렌더링부 230: 스트리밍부
240: 저장부 410: DOM(Document Object Model)
420: CSSOM(Cascading Style Sheets Object Model)
430: 렌더 트리 510~ 560: 렌더 트리의 구성 상태
541, 561: 변화 시점 610: 이전 프레임
620: 현재 프레임 630: 변화된 영역
110: cloud streaming server 120-1~ 120-N: terminal
130: network 210: receiver
220: rendering unit 230: streaming unit
240: storage 410: DOM (Document Object Model)
420: Cascading Style Sheets Object Model (CSSOM)
430: render tree 510 to 560: render tree configuration status
541, 561: change point 610: previous frame
620: current frame 630: changed area

Claims (10)

어플리케이션 실행화면을 수신하는 수신부;
렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 상기 어플리케이션 실행화면을 렌더링하는 렌더링부; 및
렌더링된 상기 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송하는 스트리밍부
를 포함하고,
상기 렌더링 수행 기준은
최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응하고,
상기 렌더링부는
상기 렌더 트리의 렌더링 지연 횟수가 상기 최대 렌더링 지연 횟수에 상응하는 경우 및 상기 렌더링 대기 시간 동안 상기 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 상기 렌더 트리의 구성에 상응하게 상기 어플리케이션 실행화면을 렌더링하는 것을 특징으로 하는 클라우드 스트리밍 서버.
a receiver for receiving an application execution screen;
a rendering unit for rendering the application execution screen in consideration of the configuration of a render tree corresponding to a rendering performance criterion; and
A streaming unit that captures an image from the rendered application execution screen, compresses the captured image using a still image encoding method, and transmits it to the user's terminal
including,
The rendering performance criterion is
corresponding to any one of the maximum number of rendering delays and rendering latency;
The rendering unit
In either case, when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time, corresponding to the configuration of the render tree Cloud streaming server, characterized in that for rendering the application execution screen.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 어플리케이션 실행화면을 수신하는 단계;
렌더링 수행 기준에 상응하는 렌더 트리의 구성을 고려하여 상기 어플리케이션 실행화면을 렌더링하는 단계; 및
렌더링된 상기 어플리케이션 실행화면에서 이미지를 캡처하고, 캡처된 이미지를 스틸 이미지 인코딩 방식으로 압축하여 사용자의 단말로 전송하는 단계
를 포함하고,
상기 렌더링 수행 기준은
최대 렌더링 지연 횟수 및 렌더링 대기 시간 중 어느 하나에 상응하고,
상기 렌더링하는 단계는
상기 렌더 트리의 렌더링 지연 횟수가 상기 최대 렌더링 지연 횟수에 상응하는 경우 및 상기 렌더링 대기 시간 동안 상기 렌더 트리의 구성에 적어도 한번 이상의 변화가 발생한 경우 중 어느 하나의 경우에 상기 렌더 트리의 구성에 상응하게 상기 어플리케이션 실행화면을 렌더링하는 것을 특징으로 하는 최적 렌더링에 기반한 이미지 클라우드 스트리밍 서비스 방법.
receiving an application execution screen;
rendering the application execution screen in consideration of a configuration of a render tree corresponding to a rendering performance criterion; and
Capturing an image from the rendered application execution screen, compressing the captured image using a still image encoding method and transmitting it to a user's terminal
including,
The rendering performance criterion is
corresponding to any one of the maximum number of rendering delays and rendering latency;
The rendering step
In either case, when the number of rendering delays of the render tree corresponds to the maximum number of rendering delays and when at least one change occurs in the configuration of the render tree during the rendering waiting time, corresponding to the configuration of the render tree Image cloud streaming service method based on optimal rendering, characterized in that rendering the application execution screen.
삭제delete 삭제delete
KR1020150032759A 2015-03-09 2015-03-09 System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same KR102313529B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150032759A KR102313529B1 (en) 2015-03-09 2015-03-09 System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150032759A KR102313529B1 (en) 2015-03-09 2015-03-09 System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same

Publications (2)

Publication Number Publication Date
KR20160109072A KR20160109072A (en) 2016-09-21
KR102313529B1 true KR102313529B1 (en) 2021-10-15

Family

ID=57079872

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150032759A KR102313529B1 (en) 2015-03-09 2015-03-09 System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same

Country Status (1)

Country Link
KR (1) KR102313529B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023113167A1 (en) * 2021-12-16 2023-06-22 삼성전자주식회사 Electronic device and operation method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155075A1 (en) * 2011-12-15 2013-06-20 Fujitsu Limited Information processing device, image transmission method, and recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100829561B1 (en) * 2006-08-24 2008-05-15 삼성전자주식회사 Method for rendering 3D graphic data and apparatus therefore
US9426522B2 (en) 2007-07-10 2016-08-23 Qualcomm Incorporated Early rendering for fast channel switching
KR101424261B1 (en) * 2007-09-04 2014-07-31 주식회사 엘지유플러스 Method for prviding mobile web service and a mobile phone for excuting the method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130155075A1 (en) * 2011-12-15 2013-06-20 Fujitsu Limited Information processing device, image transmission method, and recording medium

Also Published As

Publication number Publication date
KR20160109072A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
KR101473257B1 (en) Apparatus for reproducing contents stream including user interface data and method thereof
KR102426670B1 (en) System for cloud streaming service, method of image cloud streaming service using process shortering and apparatus for the same
KR102398976B1 (en) System for cloud streaming service, method of image cloud streaming service using simultaneous encoding and apparatus for the same
KR102313529B1 (en) System for cloud streaming service, method of image cloud streaming service based on optimum rendering and apparatus for the same
KR102442699B1 (en) System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same
KR102199270B1 (en) System for cloud streaming service, method of cloud streaming service based on still image and apparatus for the same
KR101888846B1 (en) System for cloud streaming service, method of image cloud streaming service using reciprocal cache and apparatus for the same
KR102177934B1 (en) System for cloud streaming service, method of image cloud streaming service using split of changed image and apparatus for the same
KR20160121982A (en) System for cloud streaming service, method of image cloud streaming service using shared web-container and apparatus for the same
KR102273144B1 (en) System for cloud streaming service, method of image cloud streaming service using division of the change area and apparatus for the same
KR20160115566A (en) System for cloud streaming service, method of image cloud streaming service using separation of image and text and apparatus for the same
KR102313531B1 (en) System for cloud streaming service, method of cloud streaming service using single session multi-access and apparatus for the same
KR102306889B1 (en) System for cloud streaming service, method of image cloud streaming service using data substitution and apparatus for the same
KR102273145B1 (en) System for cloud streaming service, method of image cloud streaming service using additional encoding and apparatus for the same
KR102247887B1 (en) System for cloud streaming service, method of cloud streaming service using source information and apparatus for the same
KR102284685B1 (en) System for cloud streaming service, method of image cloud streaming service based on performance of terminal and apparatus for the same
KR102272358B1 (en) System for cloud streaming service, method of image cloud streaming service using managed occupation of browser and method using the same
KR102354269B1 (en) System for cloud streaming service, method of image cloud streaming service using property of scene region and method using the same
KR102199276B1 (en) System for cloud streaming service, method for processing service based on type of cloud streaming service and apparatus for the same
KR102273143B1 (en) System for cloud streaming service, method of cloud streaming service based on still image and apparatus for the same
KR102442698B1 (en) System for cloud streaming service, method of image cloud streaming service based on detection of change area using operating system massage and apparatus for the same
KR102247888B1 (en) System for cloud streaming service, method of image cloud streaming service based on selective streaming pipeline method and apparatus for the same
KR20160109804A (en) System for cloud streaming service, method of image cloud streaming service using split screen and apparatus for the same
KR102349472B1 (en) System for cloud streaming service, method of image cloud streaming service based on quality information of application file and apparatus for the same
KR102307863B1 (en) System for cloud streaming service, method of image cloud streaming service using reduction of encoding area and apparatus for the same

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right