KR20210154785A - System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same - Google Patents

System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same Download PDF

Info

Publication number
KR20210154785A
KR20210154785A KR1020210176480A KR20210176480A KR20210154785A KR 20210154785 A KR20210154785 A KR 20210154785A KR 1020210176480 A KR1020210176480 A KR 1020210176480A KR 20210176480 A KR20210176480 A KR 20210176480A KR 20210154785 A KR20210154785 A KR 20210154785A
Authority
KR
South Korea
Prior art keywords
data
cache
common
cloud streaming
common data
Prior art date
Application number
KR1020210176480A
Other languages
Korean (ko)
Other versions
KR102442699B1 (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 KR1020210176480A priority Critical patent/KR102442699B1/en
Publication of KR20210154785A publication Critical patent/KR20210154785A/en
Application granted granted Critical
Publication of KR102442699B1 publication Critical patent/KR102442699B1/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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2183Cache memory
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Abstract

The present invention discloses a cloud streaming service system, an image cloud streaming service method using a common cache, and an apparatus therefor. The present invention can store common data commonly used by a plurality of browsers, store individual data corresponding to each of the plurality of browsers, load any one of common data and individual data to execute an application, and transmit the execution result of the application to a user terminal through a pipeline process corresponding to rendering, capture, still image encoding, and sending. In the case of an image cloud streaming service, it is possible to use a cache memory more efficiently by using a common cache that can be commonly referenced by multiple browsers.

Description

클라우드 스트리밍 서비스 시스템, 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법 및 이를 위한 장치 {SYSTEM FOR CLOUD STREAMING SERVICE, METHOD OF IMAGE CLOUD STREAMING SERVICE USING COMMON CACHE AND APPARATUS FOR THE SAME}Cloud streaming service system, image cloud streaming service method using common cache, and device therefor

본 발명은 이미지 기반의 클라우드 스트리밍 서비스 시 브라우저들이 동일하게 사용하는 데이터를 공통 캐시에 저장하여 참조함으로써, 캐시에 중복되어 저장되는 데이터를 감소시킬 수 있는 클라우드 스트리밍 서비스 시스템, 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법 및 이를 위한 장치에 관한 것이다.The present invention provides a cloud streaming service system that can reduce data that is duplicated and stored in the cache by storing and referring to the data that browsers use in the same way in a common cache when performing an image-based cloud streaming service, and image cloud streaming using a common cache It relates to a service method and an apparatus therefor.

인터넷의 급속한 발달은 개인의 통신 속도를 급격히 향상시키는 결과를 가져왔으며, 이러한 통신 속도의 향상은 원격지에 위치한 컴퓨터에 접속하여 대용량의 데이터를 다운로드 또는 업로드 하거나, 원격지 컴퓨터 제어 프로그램을 사용하여 마치 원격지 컴퓨터에 로컬 로그인한 것과 같이 원격지 컴퓨터를 이용할 수 있는 환경을 제공하고 있다.The rapid development of the Internet has resulted in a rapid increase in individual communication speed, and this communication speed improvement 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 a mobile communication terminal such as a smart phone are developed in various ways, virtualization technologies for driving applications requiring high performance in a user terminal with relatively low performance have been widely proposed.

그 중에서 어플리케이션을 서버에서 구동시키고 구동화면은 비디오 인코딩(Encoding)을 통해 압축하여 클라이언트로 전송하고, 클라이언트는 전송된 비디오를 재생하여 마치 자신의 단말에서 어플리케이션이 구동되는 것과 같은 효과를 내는 화면 가상화 기반의 클라우드 스트리밍 서비스가 각광받고 있는 추세이다.Among them, based on screen virtualization, the application is run on the server, the driving screen is compressed through video encoding and transmitted 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 when a static screen such as a menu display is provided, the entire screen is unnecessarily captured and the video codec is used to operate, which is inefficient as a whole system.

또한, 클라우드 스트리밍 서비스 시 다수 세션을 서비스 함에 따라 다수의 브라우저가 구동되어 자기의 캐시를 가지게 되었다. 그러나 다수의 브라우저가 한 서버 안에서 동일 서비스를 하는 경우에는 브라우저 인스턴스가 필요로 하는 캐시 데이터가 중복되는 경우가 많이 발생할 수 있다. In addition, as multiple sessions are serviced in the cloud streaming service, multiple browsers are driven to have their own caches. However, when multiple browsers provide the same service in one server, the cache data required by the browser instance may be duplicated in many cases.

따라서, 사용자 요청에 따라 실행된 어플리케이션의 실행화면에서 정적인 부분의 변화된 이미지만을 캡처하여 사용자의 단말로 제공할 수 있으며, 다수의 브라우저에 따른 캐시 데이터의 중복을 방지할 수 있는 공통 캐시를 이용한 이미지 기반의 클라우드 스트리밍 서비스 기술이 절실하게 대두된다.Therefore, it is possible to capture only the changed image of the static part on the execution screen of the application executed according to the user's request and provide it to the user's terminal, and an image using a common cache that can prevent duplication of cache data according to multiple browsers A cloud-based streaming service technology is urgently emerging.

한국 등록 특허 제10-1088022호, 2011년 11월 23일 등록 (명칭: VCR기능조작을 사용자 선호도로 반영하는 컨텐츠 분산 저장형 멀티미디어 스트리밍 시스템 및 방법)Korean Patent No. 10-1088022, registered on November 23, 2011 (Title: Content-distributed storage-type multimedia streaming system and method that reflects VCR function operation as user preference)

본 발명의 목적은, 이미지 기반의 클라우드 스트리밍 서비스 시 구동되는 다수의 브라우저에 의해서 캐시 데이터가 중복되어 저장되는 것을 방지하는 것이다.SUMMARY OF THE INVENTION An object of the present invention is to prevent duplicate cache data from being stored by a plurality of browsers that are driven during an image-based cloud streaming service.

또한, 본 발명의 목적은 다수의 브라우저가 공통으로 참조할 수 있는 공통 캐시를 이용하여 캐시 메모리를 보다 효율적으로 사용하는 것이다.It is also an object of the present invention to use a cache memory more efficiently by using a common cache that can be commonly referenced by a plurality of browsers.

또한, 본 발명의 목적은 다수의 브라우저가 공통으로 참조할 수 있는 공통 캐시와 각각의 브라우저만이 참조할 수 있는 개별 캐시를 구별함으로써, 사용자 정보와 같은 개인 정보의 유출을 방지하는 것이다.Another object of the present invention is to prevent leakage of personal information such as user information by distinguishing a common cache that can be commonly referenced by a plurality of browsers and an individual cache that can be referenced only by each browser.

또한, 본 발명의 목적은 어플리케이션 실행화면에서 변화된 이미지만을 처리하여 사용자 단말로 제공함으로써 저사양의 단말에서도 고사양의 어플리케이션 실행화면을 제공하는 것이다.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, a common cache for storing common data used in common by a plurality of browsers; an individual cache for storing individual data corresponding to each of the plurality of browsers; an execution unit for loading any one of the common data and the individual data to execute an application; and a streaming unit that transmits the execution result of the application to the user's terminal through a pipeline process corresponding to rendering, capturing, still image encoding, and sending.

이 때, 공통 캐시는 상기 어플리케이션에 상응하는 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 데이터를 상기 공통 데이터로 인식하고 저장할 수 있다.In this case, the common cache may recognize and store data included in the common data list among a plurality of data corresponding to the application as the common data.

이 때, 공통 캐시는 상기 복수 개의 데이터들 중 상기 공통 데이터 리스트에 포함된 URL(Uniform Resource Locator)과 동일한 URL을 갖는 데이터를 상기 공통 데이터로 인식할 수 있다.In this case, the common cache may recognize data having the same URL as a Uniform Resource Locator (URL) included in the common data list among the plurality of data as the common data.

이 때, 공통 캐시는 상기 공통 데이터 리스트에 상기 공통 데이터를 참조하는 횟수에 상응하는 공통 데이터 참조 카운트를 포함하고, 상기 공통 데이터 참조 카운트가 높은 순서를 기반으로 상기 공통 데이터의 저장 공간을 관리할 수 있다.In this case, the common cache includes a common data reference count corresponding to the number of times the common data is referred to in the common data list, and the storage space of the common data can be managed based on the order of the common data reference count being high. have.

이 때, 공통 캐시는 상기 공통 데이터 참조 카운트가 높은 순서대로 메모리 캐시, 램 디스크 공간 및 일반 디스크 공간에 상응하는 순서로 상기 공통 데이터를 저장할 수 있다.In this case, the common cache may store the common data in an order corresponding to the memory cache, the RAM disk space, and the general disk space in the order of increasing the common data reference count.

이 때, 공통 캐시는 상기 저장 공간이 부족한 경우에는 상기 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 삭제할 수 있다.In this case, when the storage space is insufficient, the common cache may delete common data for which the common data reference count is less than or equal to a preset reference number.

이 때, 공통 데이터는 오디오, 비디오 및 이미지 중 적어도 하나의 데이터 형태에 상응할 수 있다.In this case, the common data may correspond to a data type of at least one of audio, video, and image.

이 때, 개별 데이터는 상기 개별 데이터에 상응하지 않는 브라우저가 참조하지 못할 수 있다.In this case, the individual data may not be referenced by a browser that does not correspond to the individual data.

이 때, 실행부는 상기 공통 데이터 및 상기 개별 데이터 중 상기 사용자의 단말로부터 요청된 데이터가 포함된 어느 하나를 로드하여 상기 어플리케이션을 실행하고, 상기 사용자의 단말로부터 요청된 데이터가 상기 공통 데이터 및 상기 개별 데이터 중 어느 곳에도 포함되지 않는 경우에 상기 복수 개의 브라우저들 중 상기 단말에 상응하는 브라우저로 웹 서버에 접속하여 상기 어플리케이션을 실행할 수 있다.At this time, the execution unit loads any one of the common data and the individual data including data requested from the user's terminal to execute the application, and the data requested from the user's terminal is divided into the common data and the individual data. When the data is not included in any of the data, a browser corresponding to the terminal among the plurality of browsers may access a web server and execute the application.

또한, 본 발명에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은, 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터를 저장하는 단계; 상기 복수 개의 브라우저들 각각에 상응하는 개별 데이터를 저장하는 단계; 상기 공통 데이터 및 개별 데이터 중 어느 하나를 로드하여 어플리케이션을 실행하는 단계; 및 상기 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달하는 단계를 포함한다.In addition, the image cloud streaming service method using a common cache according to the present invention comprises the steps of: storing common data commonly used by a plurality of browsers; storing individual data corresponding to each of the plurality of browsers; executing an application by loading any one of the common data and the individual data; and transmitting the execution result of the application to the user's terminal through a pipeline process corresponding to rendering, capturing, still image encoding, and sending.

이 때, 공통 데이터를 저장하는 단계는 상기 어플리케이션에 상응하는 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 데이터를 상기 공통 데이터로 인식하고 저장할 수 있다.In this case, the storing of the common data may include recognizing and storing data included in the common data list among a plurality of data corresponding to the application as the common data.

이 때, 공통 데이터를 저장하는 단계는 상기 복수 개의 데이터들 중 상기 공통 데이터 리스트에 포함된 URL(Uniform Resource Locator)과 동일한 URL을 갖는 데이터를 상기 공통 데이터로 인식할 수 있다.In this case, in the storing of the common data, data having the same URL as a Uniform Resource Locator (URL) included in the common data list among the plurality of data may be recognized as the common data.

이 때, 공통 데이터를 저장하는 단계는 상기 공통 데이터 리스트에 상기 공통 데이터를 참조하는 횟수에 상응하는 공통 데이터 참조 카운트를 포함하고, 상기 공통 데이터 참조 카운트가 높은 순서를 기반으로 상기 공통 데이터의 저장 공간을 관리할 수 있다.In this case, the storing of the common data includes a common data reference count corresponding to the number of times the common data is referenced in the common data list, and a storage space of the common data based on the order of the common data reference count being high. can manage

이 때, 공통 데이터를 저장하는 단계는 상기 공통 데이터 참조 카운트가 높은 순서대로 메모리 캐시, 램 디스크 공간 및 일반 디스크 공간에 상응하는 순서로 상기 공통 데이터를 저장할 수 있다.In this case, the storing of the common data may include storing the common data in an order corresponding to a memory cache, a RAM disk space, and a general disk space in an order of increasing the common data reference count.

이 때, 공통 데이터를 저장하는 단계는 상기 저장 공간이 부족한 경우에는 상기 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 삭제할 수 있다.In this case, the storing of the common data may include deleting common data for which the common data reference count is less than or equal to a preset reference number when the storage space is insufficient.

이 때, 공통 데이터는 오디오, 비디오 및 이미지 중 적어도 하나의 데이터 형태에 상응할 수 있다.In this case, the common data may correspond to a data type of at least one of audio, video, and image.

이 때, 개별 데이터는 상기 개별 데이터에 상응하지 않는 브라우저가 참조하지 못할 수 있다.In this case, the individual data may not be referenced by a browser that does not correspond to the individual data.

이 때, 어플리케이션을 실행하는 단계는 상기 공통 데이터 및 상기 개별 데이터 중 상기 사용자의 단말로부터 요청된 데이터가 포함된 어느 하나를 로드하여 상기 어플리케이션을 실행하고, 상기 사용자의 단말로부터 요청된 데이터가 상기 공통 데이터 및 상기 개별 데이터 중 어느 곳에도 포함되지 않는 경우에 상기 복수 개의 브라우저들 중 상기 단말에 상응하는 브라우저로 웹 서버에 접속하여 상기 어플리케이션을 실행할 수 있다.At this time, the step of executing the application loads any one of the common data and the individual data including data requested from the user's terminal to execute the application, and the data requested from the user's terminal is the common data. When none of the data and the individual data is included, the application may be executed by accessing a web server using a browser corresponding to the terminal among the plurality of browsers.

본 발명에 따르면, 이미지 기반의 클라우드 스트리밍 서비스 시 구동되는 다수의 브라우저에 의해서 캐시 데이터가 중복되어 저장되는 것을 방지할 수 있다.According to the present invention, it is possible to prevent the cache data from being duplicated and stored by a plurality of browsers that are driven in the case of an image-based cloud streaming service.

또한, 본 발명은 다수의 브라우저가 공통으로 참조할 수 있는 공통 캐시를 이용하여 캐시 메모리를 보다 효율적으로 사용할 수 있다.In addition, the present invention can use a cache memory more efficiently by using a common cache that can be commonly referenced by a plurality of browsers.

또한, 본 발명은 다수의 브라우저가 공통으로 참조할 수 있는 공통 캐시와 각각의 브라우저만이 참조할 수 있는 개별 캐시를 구별함으로써, 사용자 정보와 같은 개인 정보의 유출을 방지할 수 있다.In addition, the present invention can prevent leakage of personal information such as user information by distinguishing a common cache that can be commonly referenced by a plurality of browsers and an individual cache that can be referenced only by each browser.

또한, 본 발명은 어플리케이션 실행화면에서 변화된 이미지만을 처리하여 사용자 단말로 제공함으로써 저사양의 단말에서도 고사양의 어플리케이션 실행화면을 제공할 수 있다.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는 본 발명의 일실시예에 따른 공통 데이터 리스트를 나타낸 도면이다.
도 5는 본 발명의 일실시예에 따라 어플리케이션의 실행결과를 캡처하는 과정을 나타낸 도면이다.
도 6은 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법을 나타낸 동작 흐름도이다.
도 7은 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 동작 흐름도이다.
1 is a block diagram illustrating a cloud streaming service system according to an embodiment of the present invention.
2 is a block diagram showing an example of the cloud streaming server shown in FIG.
3 is a diagram illustrating a common cache and an individual cache of a plurality of browsers according to an embodiment of the present invention.
4 is a diagram illustrating a common data list according to an embodiment of the present invention.
5 is a diagram illustrating a process of capturing an execution result of an application according to an embodiment of the present invention.
6 is an operation flowchart illustrating an image cloud streaming service method using a common cache according to an embodiment of the present invention.
7 is a detailed operation flowchart illustrating an image cloud streaming service method using a common cache 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 Therefore, 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 the technical spirit of the present invention, so at the time of the present application, various It should be understood that there may be equivalents and variations. In addition, terms such as 1st, 2nd, 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 illustrating a cloud streaming service system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 시스템은 클라우드 스트리밍 서버(110), 단말(120-1~ 120-N), 웹 서버(130) 및 네트워크(140)를 포함한다.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, a web server 130 and a network 140 . .

클라우드 스트리밍 서버(110)는 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터를 저장한다.The cloud streaming server 110 stores common data commonly used by a plurality of browsers.

이 때, 어플리케이션에 상응하는 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 데이터를 공통 데이터로 인식하고 저장할 수 있다.In this case, data included in the common data list among a plurality of data corresponding to the application may be recognized and stored as common data.

이 때, 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 URL(Uniform Resource Locator)과 동일한 URL을 갖는 데이터를 공통 데이터로 인식할 수 있다.In this case, data having the same URL as a Uniform Resource Locator (URL) included in the common data list among a plurality of data may be recognized as common data.

이 때, 공통 데이터 리스트에 공통 데이터를 참조하는 횟수에 상응하는 공통 데이터 참조 카운트를 포함하고, 공통 데이터 참조 카운트가 높은 순서를 기반으로 공통 데이터의 저장 공간을 관리할 수 있다.In this case, the common data reference count may be included in the common data list corresponding to the number of times the common data is referenced, and the storage space of the common data may be managed based on the order in which the common data reference count is high.

이 때, 공통 데이터 참조 카운트가 높은 순서대로 메모리 캐시, 램 디스크 공간 및 일반 디스크 공간에 상응하는 순서로 공통 데이터를 저장할 수 있다.In this case, common data may be stored in an order corresponding to the memory cache, the RAM disk space, and the general disk space in the order of increasing the common data reference count.

이 때, 저장 공간이 부족한 경우에는 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 삭제할 수 있다.In this case, when the storage space is insufficient, common data having a common data reference count equal to or less than a preset reference number may be deleted.

이 때, 공통 데이터는 오디오, 비디오 및 이미지 중 적어도 하나의 데이터 형태에 상응할 수 있다.In this case, the common data may correspond to a data type of at least one of audio, video, and image.

또한, 클라우드 스트리밍 서버(110)는 복수 개의 브라우저들 각각에 상응하는 개별 데이터를 저장한다.In addition, the cloud streaming server 110 stores individual data corresponding to each of a plurality of browsers.

이 때, 개별 데이터는 개별 데이터에 상응하지 않는 브라우저가 참조하지 못할 수 있다.In this case, the individual data may not be referenced by a browser that does not correspond to the individual data.

또한, 클라우드 스트리밍 서버(110)는 공통 데이터 및 개별 데이터 중 어느 하나를 로드하여 어플리케이션을 실행한다.In addition, the cloud streaming server 110 runs the application by loading any one of the common data and individual data.

이 때, 공통 데이터 및 개별 데이터 중 사용자의 단말(120-1~ 120-N)로부터 요청된 데이터가 포함된 어느 하나를 로드하여 어플리케이션을 실행하고, 사용자의 단말(120-1~ 120-N)로부터 요청된 데이터가 공통 데이터 및 개별 데이터 중 어느 곳에도 포함되지 않는 경우에 복수 개의 브라우저들 중 단말(120-1~ 120-N)에 상응하는 브라우저로 웹 서버(130)에 접속하여 어플리케이션을 실행할 수 있다.At this time, one of the common data and individual data including data requested from the user's terminals 120-1 to 120-N is loaded and the application is executed, and the user's terminals 120-1 to 120-N are loaded. When the data requested from the data is not included in any of the common data and the individual data, the web server 130 is accessed with a browser corresponding to the terminals 120-1 to 120-N among a plurality of browsers to execute the application. can

또한, 클라우드 스트리밍 서버(110)는 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말(120-1~ 120-N)로 전달한다.In addition, the cloud streaming server 110 delivers the execution result of the application to the user's terminals 120-1 to 120-N through a pipeline process corresponding to rendering, capturing, still image encoding, and sending.

단말(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, set various functions, and receive signals input in relation to function control of the terminals 120-1 to 120-N. It can be transmitted to the control unit through the input unit. Also, the input unit of the terminals 120-1 to 120-N may 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. In addition, 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 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 controller 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)의 저장부에 저장된 특정 컨텐츠를 실행할 수 있다. 이때, 제어부는 컨텐츠 실행에 따른 컨텐츠 사용 이력을 컨텐츠 사용 정보로 저장할 수 있다.Also, 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 that 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 transmitted 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 access 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 access the cloud streaming server 110 to download content from other terminals 120-1 to 120-N and then control it to be stored in the storage unit, , when executing content through the cloud streaming server 110, it is also possible to control so that the content is executed after receiving only the data necessary for execution.

웹 서버(130)는 단말(120-1~ 120-N)을 통한 사용자의 요청에 따라 어플리케이션을 실행하는 수단으로, 사용자의 요청을 받아 HTML이나 오브젝트를 HTTP 프로토콜을 이용하여 전송하는 웹 서버 또는 JSP, servlet과 같은 프로그램을 실행하여 동적인 결과를 제공할 수 있는 웹 어플리케이션 서버에 상응할 수 있다.The web server 130 is a means for executing an application according to a user's request through the terminals 120-1 to 120-N, and a web server or JSP that receives the user's request and transmits HTML or an object using the HTTP protocol. , can correspond to a web application server that can execute programs such as servlets and provide dynamic results.

네트워크(140)는 클라우드 스트리밍 서버(110) 및 단말(120-1~ 120-N) 사이 또는 클라우드 스트리밍 서버(110) 및 웹 서버(130) 사이에 데이터를 전달하는 통로를 제공하는 것으로서, 기존에 이용되는 네트워크 및 향후 개발 가능한 네트워크를 모두 포괄하는 개념이다. 예를 들어, 네트워크(140)는 한정된 지역 내에서 각종 정보장치들의 통신을 제공하는 유무선근거리 통신망, 이동체 상호 간 및 이동체와 이동체 외부와의 통신을 제공하는 이동통신망, 위성을 이용해 지구국과 지구국간 통신을 제공하는 위성통신망이거나 유무선 통신망 중에서 어느 하나이거나, 둘 이상의 결합으로 이루어질 수 있다. 한편, 네트워크(140)의 전송 방식 표준은, 기존의 전송 방식 표준에 한정되는 것은 아니며, 향후 개발될 모든 전송 방식 표준을 포함할 수 있다. 또한, 도 1에서 클라우드 스트리밍 서버(110)와 단말(120-1~ 120-N) 사이에 사용되는 네트워크는 단말(120-1~ 120-N)들 상호간에 사용되는 네트워크와 상이한 것일 수도 있고, 동일한 것일 수도 있다.The network 140 as providing a path for transferring data between the cloud streaming server 110 and the terminals 120-1 to 120-N or between the cloud streaming server 110 and the web server 130, in the existing It is a concept that encompasses both used networks and networks that can be developed in the future. For example, the network 140 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 devices 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 that provides Meanwhile, the transmission method standard of the network 140 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에 도시된 클라우드 스트리밍 서버의 일 예를 나타낸 블록도이다.2 is a block diagram showing an example of the cloud streaming server shown in FIG.

도 2를 참조하면, 도 1에 도시된 클라우드 스트리밍 서버(110)는 통신부(210), 공통 캐시(220), 개별 캐시(230), 실행부(240), 스트리밍부(250) 및 저장부(260)를 포함한다.Referring to FIG. 2 , the cloud streaming server 110 shown in FIG. 1 is a communication unit 210 , a common cache 220 , an individual cache 230 , an execution unit 240 , a streaming unit 250 and a storage unit ( 260).

통신부(210)는 도 1에 도시된 네트워크와 같은 통신망을 통해 다수의 단말들과 관련된 정보를 송수신하는 역할을 한다. 특히, 본 발명의 일실시예에 따른 통신부(210)는 클라우드 스트리밍 서비스에 대한 요청을 단말로부터 수신하고, 단말이 요청한 클라우드 스트리밍 서비스에 상응하는 어플리케이션의 실행결과를 단말로 제공할 수 있다.The communication unit 210 serves to transmit and receive information related to a plurality of terminals through a communication network such as the network shown in FIG. 1 . In particular, the communication unit 210 according to an embodiment of the present invention may receive a request for the cloud streaming service from the terminal, and provide the execution result of the application corresponding to the cloud streaming service requested by the terminal to the terminal.

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

공통 캐시(220)는 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터를 저장한다.The common cache 220 stores common data commonly used by a plurality of browsers.

종래에는 브라우저에 대해서 브라우저에 상응하는 캐시를 생성하여 사용하였고, 브라우저에 상응하는 캐시에는 해당하는 브라우저만이 참조하여 사용할 수 있었다. 이 때, 클라우드 스트리밍과 같이 다수의 세션을 통해 서비스하는 경우에는 연결된 세션의 개수에 따라 다수의 브라우저가 구동되고, 브라우저마다 각각의 캐시를 가질 수 있었다. 그러나 다수의 브라우저가 하나의 클라우드 스트리밍 서버에서 동일한 서비스를 제공한다고 가정한다면, 각각의 브라우저 인스턴스가 필요로 하는 캐시 데이터는 중복된 것이 많아질 가능성이 높다.Conventionally, a cache corresponding to the browser was created and used for the browser, and only the browser corresponding to the browser could refer to and use the cache corresponding to the browser. In this case, when a service is provided through multiple sessions, such as cloud streaming, multiple browsers are driven according to the number of connected sessions, and each browser can have a respective cache. However, if it is assumed that multiple browsers provide the same service from one cloud streaming server, the cache data required by each browser instance is highly likely to be duplicated.

따라서, 상기와 같이 중복된 캐시 데이터로 인해 캐시 메모리가 비효율적으로 사용되는 것을 방지하기 위해 본 발명에서는 다수의 브라우저가 공통으로 참조하여 사용할 수 있는 공통 캐시를 생성하고, 공통적으로 사용되는 데이터를 공통 캐시에 저장할 수 있다.Therefore, in order to prevent the cache memory from being used inefficiently due to the overlapping cache data as described above, in the present invention, a common cache that can be commonly used by a plurality of browsers is created and commonly used data is used as a common cache. can be stored in

이 때, 어플리케이션에 상응하는 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 데이터를 공통 데이터로 인식하고 저장할 수 있다. 즉, 공통 데이터 리스트는 복수 개의 브라우저들에서 공통으로 사용할 공통 데이터를 사용자의 개인적인 정보와 같은 개별 데이터와 분류하여 저장하기 위한 수단일 수 있다. 이 때, 공통 데이터 리스트는 화이트 리스트(White list)에 상응하는 개념으로 공통 캐시에 저장될 수 있는 데이터들을 지정한 것일 수 있다. 예를 들어, 어플리케이션에서 제공될 수 있는 복수 개의 데이터들 중에서 개별 데이터를 제외한 나머지 데이터들을 공통 데이터 리스트에 포함시킬 수 있다. 또는, 개별 데이터를 제외한 나머지 데이터들 중에서도 사용자의 단말로부터 요청되는 횟수가 일정 수준 이상인 데이터들만을 포함시킬 수도 있다. In this case, data included in the common data list among a plurality of data corresponding to the application may be recognized and stored as common data. That is, the common data list may be a means for classifying and storing common data to be commonly used in a plurality of browsers with individual data such as user's personal information. In this case, the common data list may designate data that can be stored in the common cache as a concept corresponding to a white list. For example, data other than individual data among a plurality of data that can be provided by the application may be included in the common data list. Alternatively, among data other than individual data, only data for which the number of times requested from the user's terminal is greater than or equal to a certain level may be included.

이 때, 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 URL(Uniform Resource Locator)과 동일한 URL을 갖는 데이터를 공통 데이터로 인식할 수 있다. 즉, 특정 데이터가 공통 캐시에 저장될 수 있는 데이터인지 여부를 구별하는 수단으로 URL을 사용할 수 있다. 예를 들어, 데이터 A의 URL이 공통 데이터 리스트에 포함된 복수 개의 URL들 중 어느 하나와 동일하다면, 데이터 A는 공통 캐시에 저장될 수 있는 데이터로 인식하고 저장할 수 있다.In this case, data having the same URL as a Uniform Resource Locator (URL) included in the common data list among a plurality of data may be recognized as common data. That is, the URL may be used as a means of discriminating whether specific data is data that can be stored in the common cache. For example, if the URL of the data A is the same as any one of the plurality of URLs included in the common data list, the data A may be recognized and stored as data that can be stored in the common cache.

또한, 공통 캐시에 공통 데이터를 저장할 때에도 URL을 함께 저장함으로써, URL을 사용자로부터 요청된 데이터가 공통 캐시에 저장되어 있는지 여부를 확인하는 수단으로도 사용할 수 있다. 예를 들어, 사용자의 단말로부터 데이터 B가 요청되었다고 가정한다면, 데이터 B의 URL을 이용하여 공통 캐시에 데이터 B에 상응하는 공통 데이터가 저장되어 있는지 검색할 수 있다. 이 때, 공통 캐시에는 데이터 B에 상응하는 공통 데이터가 존재하지 않으나 공통 데이터 리스트에는 데이터 B의 URL과 동일한 URL이 존재한다면, 웹 서버로부터 데이터 B를 획득하여 사용자의 단말로 서비스를 제공한 뒤 공통 캐시에 추가로 저장할 수 있다.In addition, by storing the URL together when the common data is stored in the common cache, the URL can also be used as a means of confirming whether data requested by the user is stored in the common cache. For example, assuming that data B is requested from the user's terminal, it is possible to search whether common data corresponding to data B is stored in the common cache using the URL of data B. At this time, if there is no common data corresponding to data B in the common cache, but the same URL as the URL of data B exists in the common data list, data B is obtained from the web server and the service is provided to the user's terminal, and then the common data is provided. You can store more in the cache.

이 때, 공통 데이터 리스트에 공통 데이터를 참조하는 횟수에 상응하는 공통 데이터 참조 카운트를 포함하고, 공통 데이터 참조 카운트가 높은 순서를 기반으로 공통 데이터의 저장 공간을 관리할 수 있다. 이 때, 공통 데이터의 저장 공간은 공통 캐시의 캐시 메모리에 상응할 수 있다. In this case, the common data reference count may be included in the common data list corresponding to the number of times the common data is referenced, and the storage space of the common data may be managed based on the order in which the common data reference count is high. In this case, the storage space of the common data may correspond to the cache memory of the common cache.

캐시 메모리는 메인 메모리에 있는 명령어와 데이터 중 일부를 가져와 임시적으로 저장하여 CPU에서 필요로 할 때 해당 정보의 신속한 제공이 가능하도록 만들어진 장치에 상응할 수 있다. 이러한 캐시 메모리는 CPU와 메인 메모리 사이의 데이터 처리 속도 차이가 크기 때문에 높은 성능의 CPU를 제대로 활용하지 못하는 문제점을 해결하기 위한 것으로, 캐시 메모리의 처리 속도가 메인 메모리보다 약 5배에서 10배정도 빠르기 때문에 캐시 메모리를 CPU와 메인 메모리 사이에 두어 CPU와 메인 메모리의 데이터 처리 속도 차이를 극복할 수 있다. 이러한 캐시 메모리는 캐시 메모리의 위치나 저장되는 데이터의 종류에 따라 Level 1 캐시, Level 2 캐시 등으로 분류될 수 있다. 예를 들어, Level 1 캐시는 CPU 칩 안에 내장되어 있어 처리 속도가 가장 빠르고, Level 2 캐시는 Level 1 캐시보다 처리속도가 느리지만 메모리 크기가 더 크며 별도의 칩으로 구비될 수 있다.Cache memory may correspond to a device designed to take some of the instructions and data from main memory and temporarily store it so that the information can be provided quickly when needed by the CPU. This cache memory is to solve the problem that the high-performance CPU cannot be used properly because the data processing speed difference between the CPU and the main memory is large. By placing the cache memory between the CPU and the main memory, the difference in data processing speed between the CPU and the main memory can be overcome. The cache memory may be classified into a level 1 cache, a level 2 cache, etc. according to the location of the cache memory or the type of stored data. For example, the Level 1 cache has the highest processing speed because it is built into the CPU chip, and the Level 2 cache has a slower processing speed than the Level 1 cache, but has a larger memory size and may be provided as a separate chip.

이와 같은 캐시의 특성에 따라, 공통 데이터 참조 카운트가 높은 공통 데이터는 복수 개의 브라우저들로부터 자주 사용되기 때문에 처리 속도가 빠른 캐시에 저장할 수 있다. 또한, 공통 데이터 참조 카운트가 낮은 공통 데이터는 자주 사용되지 않기 때문에 처리 속도는 느리지만 메모리 공간이 큰 캐시에 저장하여 사용할 수 있다. According to the characteristics of the cache, common data having a high common data reference count may be stored in a cache having a high processing speed because it is frequently used by a plurality of browsers. In addition, since common data having a low common data reference count is not used frequently, the processing speed is slow, but it can be stored and used in a cache with a large memory space.

이 때, 공통 데이터 참조 카운트가 높은 순서대로 메모리 캐시, 램 디스크 공간 및 일반 디스크 공간에 상응하는 순서로 공통 데이터를 저장할 수 있다. 예를 들면, 메모리 캐시가 처리 속도가 가장 빠른 Level 1 캐시, 램 디스크 공간이 Level 2 캐시 그리고 일반 디스크 공간이 Level 3 캐시 또는 하드 디스크나 SSD(Solid State Drive)에 상응할 수 있다. 즉, 메모리 캐시의 처리 속도가 가장 빠르고 램 디스크 공간이 그 다음, 마지막으로 일반 디스크 공간이 가장 처리 속도가 느릴 수 있다. In this case, common data may be stored in an order corresponding to the memory cache, the RAM disk space, and the general disk space in the order of increasing the common data reference count. For example, a memory cache may correspond to a Level 1 cache with the fastest processing speed, a RAM disk space may correspond to a Level 2 cache, and a general disk space may correspond to a Level 3 cache or a hard disk or solid state drive (SSD). That is, the processing speed of the memory cache may be the fastest, the RAM disk space may be next, and finally the normal disk space may have the slowest processing speed.

따라서, 공통 데이터 참조 카운트가 높을수록, 즉 복수 개의 브라우저들로부터 활발하게 사용되는 공통 데이터에 해당할수록 처리 속도가 빠른 메모리 캐시에 저장할 수 있다. Accordingly, the higher the common data reference count, that is, the higher the common data actively used by a plurality of browsers, the faster the processing speed may be stored in the memory cache.

이 때, 저장 공간이 부족한 경우에는 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 삭제할 수 있다. 예를 들어, 공통 캐시에 추가로 공통 데이터를 저장해야 하는데 공통 캐시에 상응하는 저장 공간이 부족한 경우, 공통 데이터 참조 카운트를 기준으로 하여 이미 공통 캐시에 저장되어있는 공통 데이터를 삭제할 수 있다. 이 때, 기설정된 기준 횟수가 5회라고 가정한다면, 공통 캐시에 저장된 적어도 하나의 공통 데이터 중 공통 데이터 참조 카운트가 5회 이하에 해당하는 공통 데이터를 검색하여 삭제할 수 있다.In this case, when the storage space is insufficient, common data having a common data reference count equal to or less than a preset reference number may be deleted. For example, when it is necessary to additionally store common data in the common cache, but the storage space corresponding to the common cache is insufficient, common data already stored in the common cache may be deleted based on the common data reference count. In this case, if it is assumed that the preset reference number is 5, common data having a common data reference count of 5 or less among at least one common data stored in the common cache may be searched for and deleted.

또한, 공통 캐시의 저장 공간이 부족하지 않다고 하더라도, 공통 캐시에 공통 데이터가 너무 많이 저장되어 있으면, 요청된 데이터에 상응하는 공통 데이터를 검색하는 시간이 길어져서 서비스 속도가 느려질 수 있다. 따라서, 공통 캐시에 기설정된 기준 저장량 이상으로 공통 데이터가 저장된 경우에는 공통 데이터 참조 카운트를 이용하여 자주 사용되지 않는 공통 데이터를 삭제할 수 있다.In addition, even if the storage space of the common cache is not insufficient, if too much common data is stored in the common cache, the time for searching common data corresponding to the requested data may be long, and the service speed may be slowed down. Accordingly, when common data is stored in the common cache by more than a preset reference storage amount, common data that is not frequently used may be deleted by using the common data reference count.

또한, 일정한 주기를 설정해두고 해당 주기마다 공통 캐시에서 자주 사용되지 않는 공통 데이터를 삭제할 수도 있다.In addition, it is also possible to set a certain period and delete common data that is not frequently used from the common cache at each period.

이 때, 공통 데이터는 오디오, 비디오 및 이미지 중 적어도 하나의 데이터 형태에 상응할 수 있다. 본 발명에 따른 공통 캐시를 이용하는 이유는 복수 개의 브라우저들이 중복된 데이터를 저장하지 않기 위함과 더불어 보다 빠르게 클라우드 스트리밍 서비스를 제공하기 위함일 수 있다. 따라서, 웹 서버로부터 제공되는 데이터들 중에서 오디오, 비디오 및 이미지와 같이 부하가 크게 발생하는 데이터들은 특히 공통 캐시를 통해 공통 데이터로 저장되어야 할 대상에 상응할 수 있다. 또한, 오디오, 비디오 및 이미지에 상응하지 않더라도, 복수 개의 브라우저들로부터 자주 사용되는 데이터를 공통 데이터로 공통 캐시에 저장할 수도 있다.In this case, the common data may correspond to a data type of at least one of audio, video, and image. The reason for using the common cache according to the present invention may be to provide a faster cloud streaming service as well as to prevent a plurality of browsers from storing duplicate data. Accordingly, among data provided from the web server, data that is heavily loaded, such as audio, video, and image, may correspond to a target to be stored as common data through a common cache. In addition, data frequently used from a plurality of browsers may be stored in a common cache as common data, even if they do not correspond to audio, video, and image.

개별 캐시(230)는 복수 개의 브라우저들 각각에 상응하는 개별 데이터를 저장한다. 공통 캐시를 통해 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터 이외에도 브라우저들 별로 각각 사용되어야 할 개별 데이터도 존재할 수 있다. 예를 들어, 특정 브라우저에 상응하는 단말의 사용자 정보가 개별 데이터에 상응할 수 있다. 이러한 사용자 정보는 다른 브라우저에 상응하는 단말의 사용자에게 제공되어서는 안 되는 정보이기 때문에, 다른 브라우저가 접근할 수 없는 개별 캐시에 저장할 수 있다.The individual cache 230 stores individual data corresponding to each of the plurality of browsers. In addition to common data commonly used by a plurality of browsers through a common cache, individual data to be used for each browser may also exist. For example, user information of a terminal corresponding to a specific browser may correspond to individual data. Since such user information is information that should not be provided to a user of a terminal corresponding to another browser, it may be stored in a separate cache that other browsers cannot access.

이 때, 개별 캐시에 저장된 개별 데이터도 공통 데이터와 같은 방법으로 URL을 통해 검색될 수 있다. 또한, 개별 데이터에 대한 개별 데이터 참조 카운트를 생성하여 개별 캐시를 관리할 수도 있다.In this case, the individual data stored in the individual cache may also be retrieved through the URL in the same way as the common data. It is also possible to manage individual caches by creating individual data reference counts for individual data.

이 때, 개별 데이터는 개별 데이터에 상응하지 않는 브라우저가 참조하지 못할 수 있다. 즉, 복수 개의 브라우저들 마다 각각에 해당하는 개별 캐시를 생성하여 개별 데이터를 저장할 수 있고, 다른 브라우저의 개별 캐시를 참조하지 못함으로써 사용자 정보와 같은 개별 데이터를 보호할 수 있다.In this case, the individual data may not be referenced by a browser that does not correspond to the individual data. That is, individual data may be stored by creating an individual cache corresponding to each of the plurality of browsers, and individual data such as user information may be protected by not referencing individual caches of other browsers.

실행부(240)는 공통 데이터 및 개별 데이터 중 어느 하나를 로드하여 어플리케이션을 실행한다. 사용자의 단말로부터 요청된 데이터가 공통 데이터와 개별 데이터 중에 포함되어 있는지 검색해보고, 어느 하나에 포함되어 있다면 해당 데이터를 로드하여 어플리케이션을 실행한다. 이와 같이 공통 데이터 및 개별 데이터를 저장하는 공통 캐시 및 개별 캐시에서 요청된 데이터를 로드하여 어플리케이션을 실행함으로써 웹 서버를 통해 어플리케이션을 실행하는 것보다 빠르게 어플리케이션을 실행할 수 있다. The execution unit 240 loads any one of common data and individual data to execute the application. It searches whether the data requested from the user's terminal is included in common data or individual data, and if it is included in either one, the data is loaded and the application is executed. In this way, the application can be executed faster than executing the application through the web server by loading the requested data from the common and individual caches for storing common data and individual data and executing the application.

이 때, 공통 데이터 및 개별 데이터 중 사용자의 단말로부터 요청된 데이터가 포함된 어느 하나를 로드하여 어플리케이션을 실행하고, 사용자의 단말로부터 요청된 데이터가 공통 데이터 및 개별 데이터 중 어느 곳에도 포함되지 않는 경우에 복수 개의 브라우저들 중 단말에 상응하는 브라우저로 웹 서버에 접속하여 어플리케이션을 실행할 수 있다.At this time, if any one of the common data and the individual data including data requested from the user's terminal is loaded and the application is executed, and the data requested from the user's terminal is not included in any of the common data and the individual data In the plurality of browsers, a browser corresponding to the terminal may be used to access the web server and execute the application.

또한, 웹 서버에 접속하여 어플리케이션을 실행한 뒤에, 웹 서버로부터 수신한 데이터를 공통 캐시 및 개별 캐시 중 어느 하나에 저장할 수 있다. 이와 같이 새로운 데이터를 공통 캐시 및 개별 캐시 중 어느 하나에 추가하고, 지속적으로 공통 캐시 및 개별 캐시를 관리함으로써 보다 효율적으로 클라우드 스트리밍 서비스를 제공할 수 있다.In addition, after accessing the web server and executing the application, data received from the web server may be stored in either a common cache or an individual cache. In this way, by adding new data to either the common cache or the individual cache, and continuously managing the common cache and the individual cache, the cloud streaming service can be provided more efficiently.

스트리밍부(250)는 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달한다.The streaming unit 250 transmits the execution result of the application to the user's terminal through a pipeline process corresponding to rendering, capturing, still image encoding, and sending.

비디오 코덱 기반의 클라우드 스트리밍 기법은 어플리케이션이 동작하는 화면에 상응하는 모든 프레임을 캡처하여 인코딩을 수행할 수 있다. 그러나 어플리케이션이 동작하는 화면 상에서 프레임간 변화가 크지 않은 경우에는 이미지 기반의 클라우드 스트리밍 기법과 같이 이전 프레임과 비교하여 변화된 프레임의 변화 영역만을 캡처하여 스틸 이미지 인코딩을 수행하고, 사용자의 단말에 디스플레이 할 때 변화 영역을 제외한 부분은 동일하게 보여주고 변화 영역만 변화를 주는 방식으로 디스플레이 할 수 있다.The video codec-based cloud streaming technique can perform encoding by capturing all frames corresponding to the screen on which the application operates. However, when the frame-to-frame change is not large on the screen on which the application operates, 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. It is possible to display the parts except the change area in the same way and change only the change area.

따라서, 어플리케이션의 실행결과를 렌더링 과정을 통해 실행화면으로 출력하고, 실행화면을 구성하는 프레임들에서 변화 영역에 상응하는 이미지만 캡처하여 스틸 이미지 인코딩 과정을 수행할 수 있다.Therefore, it is possible to output the execution result of the application to the execution screen through the rendering process, and to perform the still image encoding process by capturing only images corresponding to the change region in the frames constituting the execution screen.

이 때, 어플리케이션의 실행결과에 상응하는 프레임들 중 프레임간의 변화가 적은 구간들을 검출하고, 프레임간의 변화가 적은 구간에서 이미지를 캡처할 수 있다. 예를 들어, 프레임간의 변화가 많은 구간은 캡처할 이미지의 수가 많아 이미지 기반의 클라우드 스트리밍 서비스를 제공하는 것이 비효율적일 수 있다. 따라서, 이와 같이 변화가 많은 구간은 비디오 코덱 기반의 클라우드 스트리밍 기법을 통해 서비스를 수행하고, 프레임간 변화가 적은 구간에서만 이미지 기반의 클라우드 스트리밍 서비스를 수행하기 위해 변화된 캡처 영역의 이미지를 캡처할 수 있다.In this case, it is possible to detect sections in which the change between frames is small among frames corresponding to the execution result of the application, and capture an image in the section in which the 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, the service is performed through the video codec-based cloud streaming technique, and the image of the changed capture area can be captured to perform the image-based cloud streaming service only in the section with little change between frames. .

이 때, 어플리케이션의 실행결과의 프레임을 비교하여 변화된 부분을 검출하고, 변화된 부분을 캡처할 수 있다. 예를 들어, 어플리케이션 실행화면을 구성하는 많은 프레임들 중에서 현재 프레임과 이전 프레임을 비교하고, 두 프레임간에 차이가 있는 부분을 변화된 부분으로 판단하여 검출할 수 있다. 또한, 변화된 부분이 프레임 상에서 복수의 영역으로 검출되는 경우에는, 복수의 영역을 포함하는 하나의 영역을 캡처하거나 복수의 영역을 각각 캡처할 수도 있다.In this case, the changed part may be detected by comparing the frames of the execution result of the application, and the changed part may be captured. For example, it is possible to compare a current frame and a previous frame among many frames constituting an application execution screen, and to determine and detect a part having a difference between the two frames as a changed part. Also, when the changed portion is detected as a plurality of areas on the frame, one area including the plurality of areas may be captured or the plurality of areas may be captured respectively.

이 때, 스틸 이미지 인코딩 방식은 클라우드 스트리밍 서버(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, the 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 good image quality regardless of the load, you can compress the image using a PNG32-bit encoding method or a JPEG encoding method.

이와 같은 스틸 이미지 인코딩 방식으로 캡처된 이미지를 압축하고, 센딩 과정을 통해 사용자의 단말로 압축된 이미지를 전송할 수 있다.The image captured by this still image encoding method may be compressed, and the compressed image may be transmitted to the user's terminal through a sending process.

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

실시예에 따라, 저장부(260)는 클라우드 스트리밍 서버(110)와 독립적으로 구성되어 클라우드 스트리밍 서비스를 위한 기능을 지원할 수 있다. 이 때, 저장부(260)는 별도의 대용량 스토리지로 동작할 수 있고, 동작 수행을 위한 제어 기능을 포함할 수 있다.According to an embodiment, the storage unit 260 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 260 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. In 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)를 통해 이미지 기반의 클라우드 스트리밍 시 구동되는 다수의 브라우저에 의해서 캐시 데이터가 중복되어 저장되는 것을 방지할 수 있다.It is possible to prevent duplicate cache data from being stored by a plurality of browsers driven during image-based cloud streaming through the cloud streaming server 110 as described above.

또한, 캐시 데이터가 중복되어 저장되는 것을 방지함으로써 한정적인 캐시 메모리를 보다 효율적으로 활용하는 것이 가능하다. In addition, it is possible to more efficiently utilize the limited cache memory by preventing the cache data from being repeatedly stored.

또한, 공통 캐시와 개별 캐시를 구별하여 사용함으로써, 사용자 정보와 같은 개인 정보의 유출을 방지할 수 있다.In addition, by using the common cache and the individual cache separately, it is possible to prevent leakage of personal information such as user information.

도 3은 본 발명의 일실시예에 따른 복수 개의 브라우저들의 공통 캐시와 개별 캐시를 나타난 도면이다.3 is a diagram illustrating a common cache and an individual cache of a plurality of browsers according to an embodiment of the present invention.

도 3을 참조하면, 브라우저(310, 320, 330)마다 각각의 개별 캐시(311, 321, 331)를 구비할 수 있고, 브라우저(310, 320, 330)가 공통으로 참조할 수 있는 공통 캐시(300)가 구비된 것을 확인할 수 있다. Referring to FIG. 3 , each browser 310 , 320 , and 330 may have an individual cache 311 , 321 , 331 , and a common cache that the browsers 310 , 320 , 330 can refer to in common ( 300) is provided.

종래의 클라우드 스트리밍 서비스 방법은 공통 캐시(300)는 존재하지 않고, 도 3의 개별 캐시(311, 321, 331)와 같이 브라우저(310, 320, 330)마다 각각 캐시가 존재하여 웹 서버(340)로부터 획득한 데이터를 각각 캐시에 저장하여 사용하였다. 그러나, 브라우저(310, 320, 330)가 다수이고 각각의 브라우저(310, 320, 330)가 동일한 서비스를 제공한다고 가정한다면, 브라우저(310, 320, 330)마다 존재하는 캐시에 서로 동일한 데이터를 중복하여 저장함으로써 캐시 메모리를 비효율적으로 사용하는 문제가 발생할 수 있었다.In the conventional cloud streaming service method, the common cache 300 does not exist, and there is a cache for each browser 310, 320, 330 like the individual caches 311, 321, 331 of FIG. 3, respectively, and the web server 340 The data obtained from each was stored in the cache and used. However, if there are multiple browsers 310, 320, and 330 and it is assumed that each of the browsers 310, 320, and 330 provides the same service, the same data is duplicated in the cache existing for each browser 310, 320, and 330. This could cause a problem of inefficient use of cache memory.

따라서, 본 발명에서는 도 3과 같이 브라우저(310, 320, 330)가 공통으로 사용하는 공통 데이터를 공통 캐시(300)에 저장하고, 브라우저(310, 320, 330)마다 개별적으로 사용하는 개별 데이터는 개별 캐시(311, 321, 331)에 저장함으로써 이와 같은 문제점을 해결할 수 있다.Therefore, in the present invention, as shown in FIG. 3 , common data commonly used by the browsers 310 , 320 , 330 is stored in the common cache 300 , and individual data used individually for each browser 310 , 320 , 330 is By storing in the individual caches 311, 321, 331, such a problem can be solved.

예를 들어, 클라우드 스트리밍 서버의 최초 사용자를 통해 브라우저(310)를 구동하고, 웹 서버(340)로부터 데이터 A를 획득하여 어플리케이션을 실행할 수 있다. 이 때, 데이터 A가 공통 데이터에 상응한다면, 브라우저(310)를 통해 서비스를 수행한 뒤에 데이터 A를 공통 캐시에 저장할 수 있다.For example, the browser 310 may be driven through the first user of the cloud streaming server, and the application may be executed by acquiring data A from the web server 340 . In this case, if the data A corresponds to the common data, the data A may be stored in the common cache after the service is performed through the browser 310 .

이 후, 다른 사용자를 통해 브라우저(320)를 구동하고, 또 다시 데이터 A가 요청되었다고 가정할 수 있다. 이 때, 브라우저(320)는 웹 서버(340)가 아닌 공통 캐시(300)에서 데이터 A를 획득하여 어플리케이션을 실행할 수 있다. 이 때, 브라우저(320)가 웹 서버(340)를 통해 데이터 A를 획득하는 속도보다 공통 캐시(300)를 통해 데이터 A를 획득하는 속도가 빠르기 때문에 클라우드 스트리밍 서비스를 제공하는 속도도 그만큼 향상될 수 있다.Thereafter, it may be assumed that the browser 320 is driven through another user, and data A is requested again. At this time, the browser 320 may execute the application by acquiring data A from the common cache 300 rather than the web server 340 . At this time, since the speed at which the browser 320 obtains data A through the common cache 300 is faster than the speed at which the browser 320 obtains data A through the web server 340, the speed of providing the cloud streaming service can be improved by that much. have.

또한, 개별 캐시(311, 321, 331)에 저장된 개별 데이터는 해당하는 브라우저만이 참조하여 사용할 수 있다. 예를 들어, 개별 캐시(311)에 저장된 개별 데이터는 브라우저(310)에 상응하는 단말의 사용자 정보에 해당할 수 있기 때문에, 브라우저(320)이 참조하지 못하게 함으로써 개인 정보의 유출을 방지할 수 있다.In addition, the individual data stored in the individual caches 311 , 321 , and 331 can be referenced and used only by the corresponding browser. For example, since the individual data stored in the individual cache 311 may correspond to user information of the terminal corresponding to the browser 310, the leakage of personal information can be prevented by preventing the browser 320 from referencing it. .

도 4는 본 발명의 일실시예에 따른 공통 데이터 리스트를 나타낸 도면이다.4 is a diagram illustrating a common data list according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일실시예에 따른 공통 데이터 리스트(410)는 공통 데이터 참조 카운트와 공통 데이터의 URL을 포함하는 테이블 형식으로 생성될 수 있다.Referring to FIG. 4 , a common data list 410 according to an embodiment of the present invention may be generated in a table format including a common data reference count and a URL of common data.

이 때, 공통 데이터 참조 카운트는 클라우드 스트리밍 서버에서 구동된 복수 개의 브라우저들에 의해 참조되어 사용된 횟수에 상응할 수 있다. 즉, 브라우저가 테이블의 1번에 해당하는 공통 데이터를 참조하여 사용하는 경우 공통 데이터 참조 카운트를 15에서 16으로 수정할 수 있다.At this time, the common data reference count may correspond to the number of times referenced and used by a plurality of browsers driven in the cloud streaming server. That is, when the browser refers to the common data corresponding to No. 1 in the table and uses it, the common data reference count can be modified from 15 to 16.

이와 같은 공통 데이터 참조 카운트는 공통 캐시의 저장 공간을 관리하기 위해 사용될 수 있다. 예를 들어, 공통 캐시의 저장 공간은 무한대가 아니기 때문에 어플리케이션에서 제공되는 모든 공통 데이터를 저장하기는 어려울 수 있다.Such a common data reference count may be used to manage the storage space of the common cache. For example, since the storage space of the common cache is not infinite, it may be difficult to store all common data provided by the application.

따라서, 공통 데이터 참조 카운트를 기반으로 복수 개의 브라우저들로부터 자주 참조되어 사용되는 공통 데이터들을 공통 캐시에 남기고, 비교적 참조되어 사용되는 횟수가 적은 공통 데이터들은 삭제하여 공통 캐시를 효과적으로 사용할 수 있다.Accordingly, it is possible to effectively use the common cache by leaving common data frequently referenced and used from a plurality of browsers in the common cache based on the common data reference count, and deleting common data that is relatively referenced and used less frequently.

이 때, 공통 캐시의 저장 공간이 부족한 경우 이외에도, 공통 캐시에서 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 일정한 주기마다 삭제함으로써, 클라우드 스트리밍 서비스 수행 시 공통 캐시를 통한 데이터 제공 속도를 향상시킬 수도 있다. 즉, 사용자의 단말로부터 요청된 데이터와 상응하는 공통 데이터가 공통 캐시에 존재하는지 확인할 때, 데이터의 URL을 통해 검색을 수행할 수 있는데, 공통 캐시에 너무 많은 공통 데이터가 저장되어 있다면 검색속도가 길어져서 전체적인 서비스 속도가 저하될 우려가 있다.At this time, in addition to the case where the storage space of the common cache is insufficient, by deleting the common data whose common data reference count is less than or equal to a preset reference number from the common cache at regular intervals, the data provision speed through the common cache when performing the cloud streaming service can be improved. may be That is, when it is checked whether common data corresponding to the data requested from the user's terminal exists in the common cache, a search can be performed through the data URL. If too much common data is stored in the common cache, the search speed is long As a result, there is a risk that the overall service speed may be lowered.

따라서, 공통 캐시에서 공통 데이터를 검색할 때 속도에 영향을 줄만큼의 데이터 저장량을 설정해두고, 공통 캐시에 설정된 저장량 이상으로 공통 데이터가 저장된 경우에는 참조 횟수가 적은 공통 데이터를 삭제하여 공통 캐시를 관리할 수 있다.Therefore, when retrieving common data from the common cache, the data storage amount is set enough to affect the speed. can do.

또한, 공통 데이터 리스트(410)는 공통 데이터 참조 카운트가 높은 순서에 따라 공통 캐시에 포함된 공통 데이터가 저장되는 저장 공간을 관리할 수 있다. 예를 들어, 공통 캐시가 L1 캐시, L2 캐시 및 L3 캐시로 구성되어 있다고 가정할 수 있다. 이 때, L1 캐시의 처리 속도가 가장 빠르고, 그 다음이 L2 캐시, 마지막으로 L3 캐시의 처리 속도가 가장 느리다면, 공통 데이터 참조 카운트가 높은 공통 데이터, 즉 브라우저들로부터 가장 많이 사용되는 공통 데이터를 L1 캐시에 저장할 수 있다. Also, the common data list 410 may manage a storage space in which common data included in the common cache is stored in the order of increasing the common data reference count. For example, it may be assumed that the common cache is composed of an L1 cache, an L2 cache, and an L3 cache. At this time, if the processing speed of the L1 cache is the fastest, then the L2 cache, and finally the L3 cache has the slowest processing speed, common data with a high common data reference count, that is, common data most used from browsers It can be stored in the L1 cache.

이 때, 각각의 캐시 별로 기준이 되는 공통 데이터 참조 카운트를 설정하고, 기준이 되는 공통 데이터 참조 카운트에 상응하는 공통 데이터를 해당 캐시로 이동시킬 수 있다. 예를 들어, L1 캐시의 공통 데이터 참조 카운트의 기준이 100회, L2 캐시의 공통 데이터 참조 카운트의 기준이 50회 그리고 L3 캐시의 공통 데이터 참조 카운트의 기준이 10회라고 가정한다면, 공통 데이터 참조 카운트가 70회에 상응하는 공통 데이터는 L2 캐시에 저장할 수 있다. 또한, L2 캐시에 저장되어 있던 공통 데이터의 공통 데이터 참조 카운트가 점점 누적되어 100회를 넘는다면, 해당 공통 데이터를 L2 캐시에서 L1 캐시로 이동시킬 수도 있다.In this case, a reference common data reference count may be set for each cache, and common data corresponding to the reference common data reference count may be moved to the corresponding cache. For example, if it is assumed that the reference count of the common data reference count of the L1 cache is 100 times, the reference of the common data reference count of the L2 cache is 50 times, and the reference of the common data reference count of the L3 cache is 10 times, the common data reference count is Common data corresponding to 70 times may be stored in the L2 cache. Also, if the common data reference count of the common data stored in the L2 cache is gradually accumulated and exceeds 100 times, the common data may be moved from the L2 cache to the L1 cache.

또한, 공통 데이터 리스트(410)는 화이트 리스트(White list)에 상응하는 개념으로 공통 캐시에 저장될 수 있는 데이터들의 리스트에 상응할 수 있다. 따라서, 특정 데이터가 공통 캐시에 저장될 수 있는 공통 데이터인지 여부를 확인하기 위해서 데이터의 URL 정보를 이용할 수 있다.Also, the common data list 410 may correspond to a list of data that may be stored in a common cache as a concept corresponding to a white list. Accordingly, URL information of data may be used to determine whether specific data is common data that may be stored in the common cache.

예를 들어, 사용자로부터 요청된 데이터 C를 웹 서버를 통해 획득하여 어플리케이션을 수행한 뒤, 데이터 C를 공통 캐시에 저장할 수 있는지 여부를 확인한다고 가정할 수 있다. 이 때, 데이터 C에 상응하는 URL이 'http://test.com/index.asp'라고 한다면, 공통 데이터 리스트(410)의 2번 테이블에 데이터 C의 URL이 포함되어 있으므로 데이터 C를 공통 데이터로 공통 캐시에 저장할 수 있다.For example, it may be assumed that the data C requested from the user is obtained through the web server, the application is executed, and then it is checked whether the data C can be stored in the common cache. At this time, if the URL corresponding to data C is 'http://test.com/index.asp', since the URL of data C is included in table 2 of the common data list 410, data C is referred to as common data. can be stored in a common cache.

도 5는 본 발명의 일실시예에 따라 어플리케이션의 실행결과를 캡처하는 과정을 나타낸 도면이다.5 is a diagram illustrating a process of capturing an execution result of an application according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일실시예에 따라 어플리케이션의 실행결과를 캡처하는 과정은 먼저 어플리케이션 실행결과에 상응하는 복수 개의 프레임들 중 프레임간 변화가 적은 구간을 검출할 수 있다. Referring to FIG. 5 , in the process of capturing the execution result of the application according to an embodiment of the present invention, a section having a small inter-frame change among a plurality of frames corresponding to the application execution result may be detected first.

이 때, 이미지 기반의 클라우드 스트리밍 서비스는 정적인 서비스 화면에서 변화된 부분의 이미지를 캡처하여 전송하기 때문에, 먼저 획득한 어플리케이션의 실행결과 중에서 변화가 적은 부분을 검출하고, 검출된 부분 중에서 캡처할 이미지를 추출하여야 한다.At this time, since the image-based cloud streaming service captures and transmits the image of the changed part on the static service screen, it detects the part with little change among the execution results of the acquired application first, and selects the image to be captured from the detected part. should be extracted.

이 후, 변화가 적은 부분에 상응하는 프레임들을 비교하여 변화된 부분을 검출할 수 있다. 예를 들어, 도 5의 이전 프레임(510)과 현재 프레임(520)을 비교하면, 이전 프레임(510)의 A영역은 현재 프레임(520)에서도 변화가 없으나, B영역이 현재 프레임(520)에서는 B'로 변화된 것을 알 수 있다. Thereafter, the changed portion may be detected by comparing frames corresponding to the less changed portion. For example, comparing the previous frame 510 with the current frame 520 of FIG. 5 , the region A of the previous frame 510 does not change even in the current frame 520 , but the region B of the current frame 520 does not change in the current frame 520 . It can be seen that the change to B'.

따라서, 이전 프레임(510)과 현재 프레임(520)에서는 B'에 상응하는 부분을 캡처 이미지(530)로 추출하여 캡처를 수행할 수 있다. Accordingly, in the previous frame 510 and the current frame 520 , a portion corresponding to B′ may be extracted as the captured image 530 and capture may be performed.

만약, 변화된 부분이 여러 개 존재한다면 변화된 여러 이미지를 각각 캡처 이미지(530)로 추출하고, 각각 캡처를 수행할 수 있다. 또는 변화된 여러 이미지를 모두 포함하는 하나의 새로운 영역을 생성하고, 생성된 새로운 영역을 캡처 이미지(530)로 추출하여 캡처를 수행할 수 도 있다.If there are a plurality of changed parts, each of the changed images may be extracted as a capture image 530 , and each may be captured. Alternatively, a new area including all of the changed images may be created, and the new area may be extracted as the captured image 530 to perform capture.

도 6은 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법을 나타낸 동작 흐름도이다.6 is an operation flowchart illustrating an image cloud streaming service method using a common cache according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터를 저장한다(S610).Referring to FIG. 6 , the image cloud streaming service method using a common cache according to an embodiment of the present invention stores common data commonly used by a plurality of browsers (S610).

종래에는 브라우저에 대해서 브라우저에 상응하는 캐시를 생성하여 사용하였고, 브라우저에 상응하는 캐시에는 해당하는 브라우저만이 참조하여 사용할 수 있었다. 이 때, 클라우드 스트리밍과 같이 다수의 세션을 통해 서비스하는 경우에는 연결된 세션의 개수에 따라 다수의 브라우저가 구동되고, 브라우저마다 각각의 캐시를 가질 수 있었다. 그러나 다수의 브라우저가 하나의 클라우드 스트리밍 서버에서 동일한 서비스를 제공한다고 가정한다면, 각각의 브라우저 인스턴스가 필요로 하는 캐시 데이터는 중복된 것이 많아질 가능성이 높다.Conventionally, a cache corresponding to the browser was created and used for the browser, and only the browser corresponding to the browser could refer to and use the cache corresponding to the browser. In this case, when a service is provided through multiple sessions, such as cloud streaming, multiple browsers are driven according to the number of connected sessions, and each browser can have a respective cache. However, if it is assumed that multiple browsers provide the same service from one cloud streaming server, the cache data required by each browser instance is highly likely to be duplicated.

따라서, 상기와 같이 중복된 캐시 데이터로 인해 캐시 메모리가 비효율적으로 사용되는 것을 방지하기 위해 본 발명에서는 다수의 브라우저가 공통으로 참조하여 사용할 수 있는 공통 캐시를 생성하고, 공통적으로 사용되는 데이터를 공통 캐시에 저장할 수 있다.Therefore, in order to prevent the cache memory from being used inefficiently due to the overlapping cache data as described above, in the present invention, a common cache that can be commonly used by a plurality of browsers is created and commonly used data is used as a common cache. can be stored in

이 때, 어플리케이션에 상응하는 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 데이터를 공통 데이터로 인식하고 저장할 수 있다. 즉, 공통 데이터 리스트는 복수 개의 브라우저들에서 공통으로 사용할 공통 데이터를 사용자의 개인적인 정보와 같은 개별 데이터와 분류하여 저장하기 위한 수단일 수 있다. 이 때, 공통 데이터 리스트는 화이트 리스트(White list)에 상응하는 개념으로 공통 캐시에 저장될 수 있는 데이터들을 지정한 것일 수 있다. 예를 들어, 어플리케이션에서 제공될 수 있는 복수 개의 데이터들 중에서 개별 데이터를 제외한 나머지 데이터들을 공통 데이터 리스트에 포함시킬 수 있다. 또는, 개별 데이터를 제외한 나머지 데이터들 중에서도 사용자의 단말로부터 요청되는 횟수가 일정 수준 이상인 데이터들만을 포함시킬 수도 있다. In this case, data included in the common data list among a plurality of data corresponding to the application may be recognized and stored as common data. That is, the common data list may be a means for classifying and storing common data to be commonly used in a plurality of browsers with individual data such as user's personal information. In this case, the common data list may designate data that can be stored in the common cache as a concept corresponding to a white list. For example, data other than individual data among a plurality of data that can be provided by the application may be included in the common data list. Alternatively, among data other than individual data, only data for which the number of times requested from the user's terminal is greater than or equal to a certain level may be included.

이 때, 복수 개의 데이터들 중 공통 데이터 리스트에 포함된 URL(Uniform Resource Locator)과 동일한 URL을 갖는 데이터를 공통 데이터로 인식할 수 있다. 즉, 특정 데이터가 공통 캐시에 저장될 수 있는 데이터인지 여부를 구별하는 수단으로 URL을 사용할 수 있다. 예를 들어, 데이터 A의 URL이 공통 데이터 리스트에 포함된 복수 개의 URL들 중 어느 하나와 동일하다면, 데이터 A는 공통 캐시에 저장될 수 있는 데이터로 인식하고 저장할 수 있다.In this case, data having the same URL as a Uniform Resource Locator (URL) included in the common data list among a plurality of data may be recognized as common data. That is, the URL may be used as a means of discriminating whether specific data is data that can be stored in the common cache. For example, if the URL of the data A is the same as any one of the plurality of URLs included in the common data list, the data A may be recognized and stored as data that can be stored in the common cache.

또한, 공통 캐시에 공통 데이터를 저장할 때에도 URL을 함께 저장함으로써, URL을 사용자로부터 요청된 데이터가 공통 캐시에 저장되어 있는지 여부를 확인하는 수단으로도 사용할 수 있다. 예를 들어, 사용자의 단말로부터 데이터 B가 요청되었다고 가정한다면, 데이터 B의 URL을 이용하여 공통 캐시에 데이터 B에 상응하는 공통 데이터가 저장되어 있는지 검색할 수 있다. 이 때, 공통 캐시에는 데이터 B에 상응하는 공통 데이터가 존재하지 않으나 공통 데이터 리스트에는 데이터 B의 URL과 동일한 URL이 존재한다면, 웹 서버로부터 데이터 B를 획득하여 사용자의 단말로 서비스를 제공한 뒤 공통 캐시에 추가로 저장할 수 있다.In addition, by storing the URL together when the common data is stored in the common cache, the URL can also be used as a means of confirming whether data requested by the user is stored in the common cache. For example, assuming that data B is requested from the user's terminal, it is possible to search whether common data corresponding to data B is stored in the common cache using the URL of data B. At this time, if there is no common data corresponding to data B in the common cache, but the same URL as the URL of data B exists in the common data list, data B is obtained from the web server and the service is provided to the user's terminal, and then the common data is provided. You can store more in the cache.

이 때, 공통 데이터 리스트에 공통 데이터를 참조하는 횟수에 상응하는 공통 데이터 참조 카운트를 포함하고, 공통 데이터 참조 카운트가 높은 순서를 기반으로 공통 데이터의 저장 공간을 관리할 수 있다. 이 때, 공통 데이터의 저장 공간은 공통 캐시의 캐시 메모리에 상응할 수 있다. In this case, the common data reference count may be included in the common data list corresponding to the number of times the common data is referenced, and the storage space of the common data may be managed based on the order in which the common data reference count is high. In this case, the storage space of the common data may correspond to the cache memory of the common cache.

캐시 메모리는 메인 메모리에 있는 명령어와 데이터 중 일부를 가져와 임시적으로 저장하여 CPU에서 필요로 할 때 해당 정보의 신속한 제공이 가능하도록 만들어진 장치에 상응할 수 있다. 이러한 캐시 메모리는 CPU와 메인 메모리 사이의 데이터 처리 속도 차이가 크기 때문에 높은 성능의 CPU를 제대로 활용하지 못하는 문제점을 해결하기 위한 것으로, 캐시 메모리의 처리 속도가 메인 메모리보다 약 5배에서 10배정도 빠르기 때문에 캐시 메모리를 CPU와 메인 메모리 사이에 두어 CPU와 메인 메모리의 데이터 처리 속도 차이를 극복할 수 있다. 이러한 캐시 메모리는 캐시 메모리의 위치나 저장되는 데이터의 종류에 따라 Level 1 캐시, Level 2 캐시 등으로 분류될 수 있다. 예를 들어, Level 1 캐시는 CPU 칩 안에 내장되어 있어 처리 속도가 가장 빠르고, Level 2 캐시는 Level 1 캐시보다 처리속도가 느리지만 메모리 크기가 더 크며 별도의 칩으로 구비될 수 있다.Cache memory may correspond to a device designed to take some of the instructions and data from main memory and temporarily store it so that the information can be provided quickly when needed by the CPU. This cache memory is to solve the problem that the high-performance CPU cannot be used properly because the data processing speed difference between the CPU and the main memory is large. By placing the cache memory between the CPU and the main memory, the difference in data processing speed between the CPU and the main memory can be overcome. The cache memory may be classified into a level 1 cache, a level 2 cache, etc. according to the location of the cache memory or the type of stored data. For example, the Level 1 cache has the highest processing speed because it is built into the CPU chip, and the Level 2 cache has a slower processing speed than the Level 1 cache, but has a larger memory size and may be provided as a separate chip.

이와 같은 캐시의 특성에 따라, 공통 데이터 참조 카운트가 높은 공통 데이터는 복수 개의 브라우저들로부터 자주 사용되기 때문에 처리 속도가 빠른 캐시에 저장할 수 있다. 또한, 공통 데이터 참조 카운트가 낮은 공통 데이터는 자주 사용되지 않기 때문에 처리 속도는 느리지만 메모리 공간이 큰 캐시에 저장하여 사용할 수 있다. According to the characteristics of the cache, common data having a high common data reference count may be stored in a cache having a high processing speed because it is frequently used by a plurality of browsers. In addition, since common data having a low common data reference count is not used frequently, the processing speed is slow, but it can be stored and used in a cache with a large memory space.

이 때, 공통 데이터 참조 카운트가 높은 순서대로 메모리 캐시, 램 디스크 공간 및 일반 디스크 공간에 상응하는 순서로 공통 데이터를 저장할 수 있다. 예를 들면, 메모리 캐시가 처리 속도가 가장 빠른 Level 1 캐시, 램 디스크 공간이 Level 2 캐시 그리고 일반 디스크 공간이 Level 3 캐시 또는 하드 디스크나 SSD(Solid State Drive)에 상응할 수 있다. 즉, 메모리 캐시의 처리 속도가 가장 빠르고 램 디스크 공간이 그 다음, 마지막으로 일반 디스크 공간이 가장 처리 속도가 느릴 수 있다. In this case, common data may be stored in an order corresponding to the memory cache, the RAM disk space, and the general disk space in the order of increasing the common data reference count. For example, a memory cache may correspond to a Level 1 cache with the fastest processing speed, a RAM disk space may correspond to a Level 2 cache, and a general disk space may correspond to a Level 3 cache or a hard disk or solid state drive (SSD). That is, the processing speed of the memory cache may be the fastest, the RAM disk space may be next, and finally the normal disk space may have the slowest processing speed.

따라서, 공통 데이터 참조 카운트가 높을수록, 즉 복수 개의 브라우저들로부터 활발하게 사용되는 공통 데이터에 해당할수록 처리 속도가 빠른 메모리 캐시에 저장할 수 있다. Accordingly, the higher the common data reference count, that is, the higher the common data actively used by a plurality of browsers, the faster the processing speed may be stored in the memory cache.

이 때, 저장 공간이 부족한 경우에는 공통 데이터 참조 카운트가 기설정된 기준 횟수 이하인 공통 데이터를 삭제할 수 있다. 예를 들어, 공통 캐시에 추가로 공통 데이터를 저장해야 하는데 공통 캐시에 상응하는 저장 공간이 부족한 경우, 공통 데이터 참조 카운트를 기준으로 하여 이미 공통 캐시에 저장되어있는 공통 데이터를 삭제할 수 있다. 이 때, 기설정된 기준 횟수가 5회라고 가정한다면, 공통 캐시에 저장된 적어도 하나의 공통 데이터 중 공통 데이터 참조 카운트가 5회 이하에 해당하는 공통 데이터를 검색하여 삭제할 수 있다.In this case, when the storage space is insufficient, common data having a common data reference count equal to or less than a preset reference number may be deleted. For example, when it is necessary to additionally store common data in the common cache, but the storage space corresponding to the common cache is insufficient, common data already stored in the common cache may be deleted based on the common data reference count. In this case, if it is assumed that the preset reference number is 5, common data having a common data reference count of 5 or less among at least one common data stored in the common cache may be searched for and deleted.

또한, 공통 캐시의 저장 공간이 부족하지 않다고 하더라도, 공통 캐시에 공통 데이터가 너무 많이 저장되어 있으면, 요청된 데이터에 상응하는 공통 데이터를 검색하는 시간이 길어져서 서비스 속도가 느려질 수 있다. 따라서, 공통 캐시에 기설정된 기준 저장량 이상으로 공통 데이터가 저장된 경우에는 공통 데이터 참조 카운트를 이용하여 자주 사용되지 않는 공통 데이터를 삭제할 수 있다.In addition, even if the storage space of the common cache is not insufficient, if too much common data is stored in the common cache, the time for searching common data corresponding to the requested data may be long, and the service speed may be slowed down. Accordingly, when common data is stored in the common cache by more than a preset reference storage amount, common data that is not frequently used may be deleted by using the common data reference count.

또한, 일정한 주기를 설정해두고 해당 주기마다 공통 캐시에서 자주 사용되지 않는 공통 데이터를 삭제할 수도 있다.In addition, it is also possible to set a certain period and delete common data that is not frequently used from the common cache at each period.

이 때, 공통 데이터는 오디오, 비디오 및 이미지 중 적어도 하나의 데이터 형태에 상응할 수 있다. 본 발명에 따른 공통 캐시를 이용하는 이유는 복수 개의 브라우저들이 중복된 데이터를 저장하지 않기 위함과 더불어 보다 빠르게 클라우드 스트리밍 서비스를 제공하기 위함일 수 있다. 따라서, 웹 서버로부터 제공되는 데이터들 중에서 오디오, 비디오 및 이미지와 같이 부하가 크게 발생하는 데이터들은 특히 공통 캐시를 통해 공통 데이터로 저장되어야 할 대상에 상응할 수 있다. 또한, 오디오, 비디오 및 이미지에 상응하지 않더라도, 복수 개의 브라우저들로부터 자주 사용되는 데이터를 공통 데이터로 공통 캐시에 저장할 수도 있다.In this case, the common data may correspond to a data type of at least one of audio, video, and image. The reason for using the common cache according to the present invention may be to provide a faster cloud streaming service as well as to prevent a plurality of browsers from storing duplicate data. Accordingly, among data provided from the web server, data that is heavily loaded, such as audio, video, and image, may correspond to a target to be stored as common data through a common cache. In addition, data frequently used from a plurality of browsers may be stored in a common cache as common data, even if they do not correspond to audio, video, and image.

또한, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 복수 개의 브라우저들 각각에 상응하는 개별 데이터를 저장한다(S620). 공통 캐시를 통해 복수 개의 브라우저들이 공통으로 사용하는 공통 데이터 이외에도 브라우저들 별로 각각 사용되어야 할 개별 데이터도 존재할 수 있다. 예를 들어, 특정 브라우저에 상응하는 단말의 사용자 정보가 개별 데이터에 상응할 수 있다. 이러한 사용자 정보는 다른 브라우저에 상응하는 단말의 사용자에게 제공되어서는 안 되는 정보이기 때문에, 다른 브라우저가 접근할 수 없는 개별 캐시에 저장할 수 있다.In addition, the image cloud streaming service method using a common cache according to an embodiment of the present invention stores individual data corresponding to each of a plurality of browsers (S620). In addition to common data commonly used by a plurality of browsers through a common cache, individual data to be used for each browser may also exist. For example, user information of a terminal corresponding to a specific browser may correspond to individual data. Since such user information is information that should not be provided to a user of a terminal corresponding to another browser, it may be stored in a separate cache that other browsers cannot access.

이 때, 개별 캐시에 저장된 개별 데이터도 공통 데이터와 같은 방법으로 URL을 통해 검색될 수 있다. 또한, 개별 데이터에 대한 개별 데이터 참조 카운트를 생성하여 개별 캐시를 관리할 수도 있다.In this case, the individual data stored in the individual cache may also be retrieved through the URL in the same way as the common data. It is also possible to manage individual caches by creating individual data reference counts for individual data.

이 때, 개별 데이터는 개별 데이터에 상응하지 않는 브라우저가 참조하지 못할 수 있다. 즉, 복수 개의 브라우저들 마다 각각에 해당하는 개별 캐시를 생성하여 개별 데이터를 저장할 수 있고, 다른 브라우저의 개별 캐시를 참조하지 못함으로써 사용자 정보와 같은 개별 데이터를 보호할 수 있다.In this case, the individual data may not be referenced by a browser that does not correspond to the individual data. That is, individual data may be stored by creating an individual cache corresponding to each of the plurality of browsers, and individual data such as user information may be protected by not referencing individual caches of other browsers.

또한, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 공통 데이터 및 개별 데이터 중 어느 하나를 로드하여 어플리케이션을 실행한다(S630). 사용자의 단말로부터 요청된 데이터가 공통 데이터와 개별 데이터 중에 포함되어 있는지 검색해보고, 어느 하나에 포함되어 있다면 해당 데이터를 로드하여 어플리케이션을 실행한다. 이와 같이 공통 데이터 및 개별 데이터를 저장하는 공통 캐시 및 개별 캐시에서 요청된 데이터를 로드하여 어플리케이션을 실행함으로써 웹 서버를 통해 어플리케이션을 실행하는 것보다 빠르게 어플리케이션을 실행할 수 있다. In addition, in the image cloud streaming service method using a common cache according to an embodiment of the present invention, any one of common data and individual data is loaded and an application is executed (S630). It searches whether the data requested from the user's terminal is included in common data or individual data, and if it is included in either one, the data is loaded and the application is executed. In this way, the application can be executed faster than executing the application through the web server by loading the requested data from the common and individual caches for storing common data and individual data and executing the application.

이 때, 공통 데이터 및 개별 데이터 중 사용자의 단말로부터 요청된 데이터가 포함된 어느 하나를 로드하여 어플리케이션을 실행하고, 사용자의 단말로부터 요청된 데이터가 공통 데이터 및 개별 데이터 중 어느 곳에도 포함되지 않는 경우에 복수 개의 브라우저들 중 단말에 상응하는 브라우저로 웹 서버에 접속하여 어플리케이션을 실행할 수 있다.At this time, if any one of the common data and the individual data including data requested from the user's terminal is loaded and the application is executed, and the data requested from the user's terminal is not included in any of the common data and the individual data In the plurality of browsers, a browser corresponding to the terminal may be used to access the web server and execute the application.

또한, 웹 서버에 접속하여 어플리케이션을 실행한 뒤에, 웹 서버로부터 수신한 데이터를 공통 캐시 및 개별 캐시 중 어느 하나에 저장할 수 있다. 이와 같이 새로운 데이터를 공통 캐시 및 개별 캐시 중 어느 하나에 추가하고, 지속적으로 공통 캐시 및 개별 캐시를 관리함으로써 보다 효율적으로 클라우드 스트리밍 서비스를 제공할 수 있다.In addition, after accessing the web server and executing the application, data received from the web server may be stored in either a common cache or an individual cache. In this way, by adding new data to either the common cache or the individual cache, and continuously managing the common cache and the individual cache, the cloud streaming service can be provided more efficiently.

또한, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달한다(S640).In addition, the image cloud streaming service method using a common cache according to an embodiment of the present invention delivers the execution result of the application to the user's terminal through a pipeline process corresponding to rendering, capture, encoding and sending of still images (S640) ).

비디오 코덱 기반의 클라우드 스트리밍 기법은 어플리케이션이 동작하는 화면에 상응하는 모든 프레임을 캡처하여 인코딩을 수행할 수 있다. 그러나 어플리케이션이 동작하는 화면 상에서 프레임간 변화가 크지 않은 경우에는 이미지 기반의 클라우드 스트리밍 기법과 같이 이전 프레임과 비교하여 변화된 프레임의 변화 영역만을 캡처하여 스틸 이미지 인코딩을 수행하고, 사용자의 단말에 디스플레이 할 때 변화 영역을 제외한 부분은 동일하게 보여주고 변화 영역만 변화를 주는 방식으로 디스플레이 할 수 있다.The video codec-based cloud streaming technique can perform encoding by capturing all frames corresponding to the screen on which the application operates. However, when the frame-to-frame change is not large on the screen on which the application operates, 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. It is possible to display the parts except the change area in the same way and change only the change area.

따라서, 어플리케이션의 실행결과를 렌더링 과정을 통해 실행화면으로 출력하고, 실행화면을 구성하는 프레임들에서 변화 영역에 상응하는 이미지만 캡처하여 스틸 이미지 인코딩 과정을 수행할 수 있다.Therefore, it is possible to output the execution result of the application to the execution screen through the rendering process, and to perform the still image encoding process by capturing only images corresponding to the change region in the frames constituting the execution screen.

이 때, 어플리케이션의 실행결과에 상응하는 프레임들 중 프레임간의 변화가 적은 구간들을 검출하고, 프레임간의 변화가 적은 구간에서 이미지를 캡처할 수 있다. 예를 들어, 프레임간의 변화가 많은 구간은 캡처할 이미지의 수가 많아 이미지 기반의 클라우드 스트리밍 서비스를 제공하는 것이 비효율적일 수 있다. 따라서, 이와 같이 변화가 많은 구간은 비디오 코덱 기반의 클라우드 스트리밍 기법을 통해 서비스를 수행하고, 프레임간 변화가 적은 구간에서만 이미지 기반의 클라우드 스트리밍 서비스를 수행하기 위해 변화된 캡처 영역의 이미지를 캡처할 수 있다.In this case, it is possible to detect sections in which the change between frames is small among frames corresponding to the execution result of the application, and capture an image in the section in which the 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, the service is performed through the video codec-based cloud streaming technique, and the image of the changed capture area can be captured to perform the image-based cloud streaming service only in the section with little change between frames. .

이 때, 어플리케이션의 실행결과의 프레임을 비교하여 변화된 부분을 검출하고, 변화된 부분을 캡처할 수 있다. 예를 들어, 어플리케이션 실행화면을 구성하는 많은 프레임들 중에서 현재 프레임과 이전 프레임을 비교하고, 두 프레임간에 차이가 있는 부분을 변화된 부분으로 판단하여 검출할 수 있다. 또한, 변화된 부분이 프레임 상에서 복수의 영역으로 검출되는 경우에는, 복수의 영역을 포함하는 하나의 영역을 캡처하거나 복수의 영역을 각각 캡처할 수도 있다.In this case, the changed part may be detected by comparing the frames of the execution result of the application, and the changed part may be captured. For example, it is possible to compare a current frame and a previous frame among many frames constituting an application execution screen, and to determine and detect a part having a difference between the two frames as a changed part. Also, when the changed portion is detected as a plurality of areas on the frame, one area including the plurality of areas may be captured or the plurality of areas may be captured respectively.

이 때, 스틸 이미지 인코딩 방식은 클라우드 스트리밍 서버(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, the 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 good image quality regardless of the load, you can compress the image using a PNG32-bit encoding method or a JPEG encoding method.

이와 같은 스틸 이미지 인코딩 방식으로 캡처된 이미지를 압축하고, 센딩 과정을 통해 사용자의 단말로 압축된 이미지를 전송할 수 있다.The image captured by this still image encoding method may be compressed, and the compressed image may be transmitted to the user's terminal through a sending process.

또한, 도 6에는 도시하지 아니하였으나, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 도 1에 도시된 네트워크와 같은 통신망을 통해 다수의 단말들과 관련된 정보를 송수신 한다. 특히, 클라우드 스트리밍 서비스에 대한 요청을 단말로부터 수신하고, 단말이 요청한 클라우드 스트리밍 서비스에 상응하는 어플리케이션의 실행결과를 단말로 제공할 수 있다.In addition, although not shown in FIG. 6 , the image cloud streaming service method using a common cache according to an embodiment of the present invention transmits and receives information related to a plurality of terminals through a communication network such as the network shown in FIG. 1 . In particular, it is possible to receive a request for a cloud streaming service from the terminal, and provide the terminal with an execution result of an application corresponding to the cloud streaming service requested by the terminal.

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

또한, 도 6에는 도시하지 아니하였으나, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 상술한 바와 같이 본 발명의 실시예에 따른 클라우드 스트리밍 서비스 과정에서 발생되는 다양한 정보를 저장한다.In addition, although not shown in FIG. 6 , the image cloud streaming service method using a common cache 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, the storage module 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 may operate as a separate mass storage and may include a control function for performing the operation.

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

한편, 클라우드 스트리밍 서버는 메모리가 탑재되어 그 장치 내에서 정보를 저장할 수 있다. 일 구현예의 경우, 메모리는 컴퓨터로 판독 가능한 매체이다. 일 구현 예에서, 메모리는 휘발성 메모리 유닛일 수 있으며, 다른 구현예의 경우, 메모리는 비휘발성 메모리 유닛일 수도 있다. 일 구현예의 경우, 저장장치는 컴퓨터로 판독 가능한 매체이다. 다양한 서로 다른 구현 예에서, 저장장치는 예컨대 하드디스크 장치, 광학디스크 장치, 혹은 어떤 다른 대용량 저장장치를 포함할 수도 있다.On the other hand, the cloud streaming server is equipped with a memory can store information in the device. In 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.

도 7은 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법을 상세하게 나타낸 동작 흐름도이다.7 is a detailed operation flowchart illustrating an image cloud streaming service method using a common cache according to an embodiment of the present invention.

도 7을 참조하면, 본 발명의 일실시예에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 먼저 사용자의 단말로부터 서비스 요청을 수신한다(S710).Referring to FIG. 7 , in the image cloud streaming service method using a common cache according to an embodiment of the present invention, a service request is first received from a user's terminal (S710).

이 때, 도 1에 도시된 네트워크와 같은 통신망을 통해 서비스 요청을 수신할 수 있다.In this case, the service request may be received through a communication network such as the network shown in FIG. 1 .

이 후, 사용자의 단말로부터 서비스 요청된 데이터에 상응하는 공통 데이터가 공통 캐시에 존재하는지 여부를 판단한다(S715).Thereafter, it is determined whether common data corresponding to the service requested data from the user's terminal exists in the common cache (S715).

이 때, 서비스 요청된 데이터의 URL과 동일한 URL이 공통 캐시에 존재하는지 검색하여 공통 데이터의 존재여부를 판단할 수 있다.In this case, it is possible to determine whether the common data exists by searching whether the same URL as the URL of the service-requested data exists in the common cache.

단계(S715)의 판단결과 공통 캐시에 존재하면, 서비스 요청된 데이터에 상응하는 공통 데이터를 로드하여 어플리케이션을 실행한다(S720).If it exists in the common cache as a result of determination in step S715, common data corresponding to the service-requested data is loaded and the application is executed (S720).

이 후, 서비스 요청된 데이터에 상응하는 공통 데이터의 공통 데이터 참조 카운트를 1 증가시키고(S730), 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달한다(S740).Thereafter, the common data reference count of the common data corresponding to the service requested data is incremented by 1 (S730), and the execution result of the application is rendered, captured, and through a pipeline process corresponding to encoding and sending of still images, the user's terminal to (S740).

또한, 단계(S715)의 판단결과 공통 캐시에 존재하지 않으면, 사용자의 단말로부터 서비스 요청된 데이터에 상응하는 개별 데이터가 개별 캐시에 존재하는지 여부를 판단한다(S745).In addition, if it is determined in step S715 that it does not exist in the common cache, it is determined whether individual data corresponding to the service requested data from the user's terminal exists in the individual cache (S745).

단계(S745)의 판단결과 개별 캐시에 존재하면, 서비스 요청된 데이터에 상응하는 개별 데이터를 로드하여 어플리케이션을 실행한다(S750).If it exists in the individual cache as a result of the determination in step S745, the application is executed by loading individual data corresponding to the service-requested data (S750).

이 후, 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달한다(S740).Thereafter, the execution result of the application is transmitted to the user's terminal through a pipeline process corresponding to rendering, capturing, encoding and sending of still images (S740).

또한, 단계(S745)의 판단결과 개별 캐시에 존재하지 않으면, 브라우저로 웹 서버에 접속하여 요청된 데이터를 획득하고, 어플리케이션을 실행한다(S760).In addition, if it does not exist in the individual cache as a result of the determination in step S745, the web server is accessed with a browser to obtain the requested data, and the application is executed (S760).

이 후, 어플리케이션의 실행결과를 렌더링, 캡처, 스틸 이미지 인코딩 및 센딩에 상응하는 파이프라인 과정을 통해 사용자의 단말로 전달한다(S770).Thereafter, the execution result of the application is transmitted to the user's terminal through a pipeline process corresponding to rendering, capturing, encoding and sending of still images (S770).

이 후, 요청된 데이터가 공통 데이터 리스트에 존재하는지 여부를 판단한다(S775).Thereafter, it is determined whether the requested data exists in the common data list (S775).

이 때, 요청된 데이터의 URL과 동일한 URL이 공통 데이터 리스트에 존재하는지 검색하여 판단할 수 있다.In this case, it may be determined by searching whether a URL identical to the URL of the requested data exists in the common data list.

단계(S775)의 판단결과 공통 데이터 리스트에 존재하면, 요청된 데이터를 공통 캐시에 저장한다(S780).If it exists in the common data list as a result of determination in step S775, the requested data is stored in the common cache (S780).

또한, 단계(S775)의 판단결과 공통 데이터 리스트에 존재하지 않으면, 요청된 데이터를 개별 캐시에 저장한다(S790). In addition, if it does not exist in the common data list as a result of the determination in step S775, the requested data is stored in an individual cache (S790).

본 발명에 따른 공통 캐시를 이용한 이미지 클라우드 스트리밍 서비스 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 모든 형태의 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 이러한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The image cloud streaming service method using a common cache according to the present invention may be implemented in the form of a program instruction 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 media 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 using a common cache, and the apparatus for the same, 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, common data used in common by a plurality of browsers is stored, individual data corresponding to each of the plurality of browsers is stored, and an application is executed by loading any one of the common data and the individual data, and Execution results can be delivered to the user's terminal through a pipeline process corresponding to rendering, capturing, still image encoding, and sending. Furthermore, it is possible to use the cache memory more efficiently by reducing the cache data that the browsers repeatedly store during the image-based cloud streaming service.

110: 클라우드 스트리밍 서버 120-1~ 120-N: 단말
130, 340: 웹 서버 140: 네트워크
210: 통신부 220, 300: 공통 캐시
230, 311, 321, 331: 개별 캐시 240: 실행부
250: 스트리밍부 260: 저장부
310, 320, 330: 브라우저 410: 공통 데이터 리스트
510: 이전 프레임 520: 현재 프레임
530: 캡처 이미지
110: cloud streaming server 120-1~ 120-N: terminal
130, 340: web server 140: network
210: communication unit 220, 300: common cache
230, 311, 321, 331: individual cache 240: execution part
250: streaming unit 260: storage unit
310, 320, 330: browser 410: common data list
510: previous frame 520: current frame
530: capture image

Claims (6)

공통 캐시 및 개별 캐시 중 사용자 단말로부터 요청된 데이터를 포함하는 어느 하나의 캐시로부터 상기 요청된 데이터를 로드하여 어플리케이션을 실행하는 실행부; 및
상기 어플리케이션의 실행 결과를 상기 사용자 단말로 전달하는 스트리밍부
를 포함하는 것을 특징으로 하는 클라우드 스트리밍 서버.
an execution unit that loads the requested data from any one cache including data requested from the user terminal among the common cache and the individual cache and executes an application; and
Streaming unit to deliver the execution result of the application to the user terminal
Cloud streaming server comprising a.
청구항 1에 있어서,
상기 요청된 데이터가 상기 공통 캐시에 포함된 경우에는 상기 요청된 데이터에 상응하는 공통 데이터를 로드하여 상기 어플리케이션을 실행하고, 상기 요청된 데이터가 상기 개별 캐시에 포함된 경우에는 상기 요청된 데이터에 상응하는 개별 데이터를 로드하여 상기 어플리케이션을 실행하는 것을 특징으로 하는 것을 특징으로 하는 클라우드 스트리밍 서버.
The method according to claim 1,
When the requested data is included in the common cache, common data corresponding to the requested data is loaded and the application is executed, and when the requested data is included in the individual cache, it corresponds to the requested data Cloud streaming server, characterized in that by loading the individual data to run the application.
청구항 1에 있어서,
상기 공통 캐시는 복수개의 브라우저들이 접근할 수 있는 공통 데이터를 저장하는 캐시에 상응하고, 상기 개별 캐시는 상기 개별 캐시를 사용하는 브라우저만이 접근할 수 있는 개별 데이터를 저장하는 캐시에 상응하는 것을 특징으로 하는 것을 특징으로 하는 클라우드 스트리밍 서버.
The method according to claim 1,
The common cache corresponds to a cache storing common data accessible by a plurality of browsers, and the individual cache corresponds to a cache storing individual data accessible only to a browser using the individual cache. Cloud streaming server, characterized in that.
청구항 1에 있어서,
상기 사용자 단말로부터 요청된 데이터가 상기 공통 캐시와 상기 개별 캐시 중 어느 곳에도 포함되지 않은 경우, 상기 사용자 단말과 연결된 브라우저로 웹 서버에 접속하여 상기 어플리케이션을 실행하는 것을 특징으로 하는 클라우드 스트리밍 서버.
The method according to claim 1,
When the data requested from the user terminal is not included in either of the common cache and the individual cache, the cloud streaming server, characterized in that for executing the application by accessing the web server with a browser connected to the user terminal.
청구항 4에 있어서,
상기 웹 서버로부터 수신된 데이터는 상기 공통 캐시 및 상기 개별 캐시 중 어느 하나에 저장되는 것을 특징으로 하는 클라우드 스트리밍 서버.
5. The method according to claim 4,
Cloud streaming server, characterized in that the data received from the web server is stored in any one of the common cache and the individual cache.
공통 캐시 및 개별 캐시 중 사용자 단말로부터 요청된 데이터를 포함하는 어느 하나의 캐시로부터 상기 요청된 데이터를 로드하여 어플리케이션을 실행하는 단계; 및
상기 어플리케이션의 실행 결과를 상기 사용자 단말로 전달하는 단계
를 포함하는 것을 특징으로 하는 이미지 클라우드 스트리밍 서비스 방법.
Loading the requested data from any one cache including data requested from the user terminal among the common cache and the individual cache to execute an application; and
transmitting the execution result of the application to the user terminal
Image cloud streaming service method comprising a.
KR1020210176480A 2015-05-11 2021-12-10 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same KR102442699B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210176480A KR102442699B1 (en) 2015-05-11 2021-12-10 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020150065346A KR102344368B1 (en) 2015-05-11 2015-05-11 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same
KR1020210176480A KR102442699B1 (en) 2015-05-11 2021-12-10 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020150065346A Division KR102344368B1 (en) 2015-05-11 2015-05-11 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same

Publications (2)

Publication Number Publication Date
KR20210154785A true KR20210154785A (en) 2021-12-21
KR102442699B1 KR102442699B1 (en) 2022-09-13

Family

ID=57537947

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020150065346A KR102344368B1 (en) 2015-05-11 2015-05-11 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same
KR1020210176480A KR102442699B1 (en) 2015-05-11 2021-12-10 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020150065346A KR102344368B1 (en) 2015-05-11 2015-05-11 System for cloud streaming service, method of image cloud streaming service using common cache and apparatus for the same

Country Status (1)

Country Link
KR (2) KR102344368B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102053159B1 (en) * 2018-06-27 2019-12-06 에스케이플래닛 주식회사 Method for cloud streaming service using scalable cache image and apparatus for the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101088022B1 (en) 2008-12-19 2011-11-30 에스케이플래닛 주식회사 Multimedia Streaming System and Method of Distributed Contents Based on User's Preference by VCR Function Control
KR20120116772A (en) * 2011-04-13 2012-10-23 주식회사 케이티 Method for caching tenant data in multi-tenancy service platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182567A1 (en) * 1999-10-20 2003-09-25 Tivo Inc. Client-side multimedia content targeting system
KR101205999B1 (en) * 2010-12-29 2012-11-28 전자부품연구원 Method and Apparatus Managing Contents for Video Streaming Service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101088022B1 (en) 2008-12-19 2011-11-30 에스케이플래닛 주식회사 Multimedia Streaming System and Method of Distributed Contents Based on User's Preference by VCR Function Control
KR20120116772A (en) * 2011-04-13 2012-10-23 주식회사 케이티 Method for caching tenant data in multi-tenancy service platform

Also Published As

Publication number Publication date
KR20160132606A (en) 2016-11-21
KR102344368B1 (en) 2021-12-29
KR102442699B1 (en) 2022-09-13

Similar Documents

Publication Publication Date Title
KR102354803B1 (en) User apparatus for managing web application and method therefor
US9785608B2 (en) Predictive, multi-layer caching architectures
US11017152B2 (en) Optimizing loading of web page based on aggregated user preferences for web page elements of web page
KR102336604B1 (en) Method for monitoring web server based on cloud streaming service and apparatus for the same
KR102426670B1 (en) System for cloud streaming service, method of image cloud streaming service using process shortering 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
KR101888846B1 (en) System for cloud streaming service, method of image cloud streaming service using reciprocal cache and apparatus for the same
US10021162B2 (en) Cloud streaming service system, and method and apparatus for providing cloud streaming service
KR102409033B1 (en) System for cloud streaming service, method of image cloud streaming service using alpha level of color bit 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
KR102273144B1 (en) System for cloud streaming service, method of image cloud streaming service using division of the change area 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
KR102307863B1 (en) System for cloud streaming service, method of image cloud streaming service using reduction of encoding area 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
KR102313530B1 (en) System for cloud streaming service, method of image cloud streaming service using split screen 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
KR20130089925A (en) Method for managing data base of meta cloud computing, system thereof and apparatus thereof
KR102272358B1 (en) System for cloud streaming service, method of image cloud streaming service using managed occupation of browser and method using the same
KR102425277B1 (en) Method of providing test screen for self verification of error on cloud streaming server and apparatus for 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
KR102354269B1 (en) System for cloud streaming service, method of image cloud streaming service using property of scene region and method using the same
KR102063089B1 (en) System for cloud streaming service, method of improving content picture quality and apparatus for the same
KR20200124076A (en) Method for providing cloud streaming service based on minimum drive mode and apparatus therefor
KR20170025140A (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

Legal Events

Date Code Title Description
A107 Divisional application of patent
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant