KR102336604B1 - Method for monitoring web server based on cloud streaming service and apparatus for the same - Google Patents

Method for monitoring web server based on cloud streaming service and apparatus for the same Download PDF

Info

Publication number
KR102336604B1
KR102336604B1 KR1020210087380A KR20210087380A KR102336604B1 KR 102336604 B1 KR102336604 B1 KR 102336604B1 KR 1020210087380 A KR1020210087380 A KR 1020210087380A KR 20210087380 A KR20210087380 A KR 20210087380A KR 102336604 B1 KR102336604 B1 KR 102336604B1
Authority
KR
South Korea
Prior art keywords
web server
index file
status code
cloud streaming
screens
Prior art date
Application number
KR1020210087380A
Other languages
Korean (ko)
Other versions
KR20210084417A (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 KR1020210087380A priority Critical patent/KR102336604B1/en
Publication of KR20210084417A publication Critical patent/KR20210084417A/en
Application granted granted Critical
Publication of KR102336604B1 publication Critical patent/KR102336604B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

본 발명은 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법 및 이를 위한 장치가 개시된다. 본 발명의 웹 서버 모니터링 장치는 웹 서버에 상응하는 인덱스 파일을 획득하는 인덱스 파일 획득부 및 인덱스 파일을 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 웹 서버의 정상 동작 여부를 판단하는 판단부를 포함한다.The present invention discloses a cloud streaming service-based web server monitoring method and an apparatus therefor. The web server monitoring apparatus of the present invention is configured to determine whether the web server is operating normally by comparing the index file acquisition unit that acquires the index file corresponding to the web server and the index file with the original index file acquired when the web server operates normally. includes a judging unit.

Description

클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법 및 이를 위한 장치{METHOD FOR MONITORING WEB SERVER BASED ON CLOUD STREAMING SERVICE AND APPARATUS FOR THE SAME}Cloud streaming service-based web server monitoring method and device for the same

본 발명은 클라우드 스트리밍 서비스 시 어플리케이션을 실행하는 웹 서버를 인덱스 파일을 이용하여 모니터링 할 수 있는 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법 및 이를 위한 장치에 관한 것이다.The present invention relates to a cloud streaming service-based web server monitoring method capable of monitoring a web server executing an application during the cloud streaming service using an index file, 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, a screen virtualization that runs the application on the web server, compresses the driving screen through video encoding, and transmits it to the client, and the client plays the transmitted video to have the same effect as if the application is running on its own terminal Cloud-based streaming services are in the spotlight.

클라우드 스트리밍 서비스 시스템은 웹 서버에서 실행되는 어플리케이션의 구동화면을 이용하기 때문에 지속적으로 웹 서버의 상태를 모니터링 할 필요가 있다. 그러나, 별도의 비용을 들여서 웹 서버를 모니터링 하는 것은 클라우드 스트리밍 서비스를 제공하는 제공자 입장에서 매우 큰 부담으로 작용할 수 있다. Since the cloud streaming service system uses the driving screen of the application running on the web server, it is necessary to continuously monitor the status of the web server. However, monitoring the web server at an extra cost can act as a very heavy burden on the cloud streaming service provider.

또한, 기존의 모니터링 도구들은 단순히 서비스되고 있는 웹 서버의 http protocol 감시를 수행하는 정도로 웹 서버의 상태를 체크하는 것이 어렵다. In addition, it is difficult to check the status of the web server to the extent that existing monitoring tools simply monitor the http protocol of the web server being serviced.

따라서, 웹 서버의 상태와 더불어 최종 렌더링 이미지까지 자동 검수할 수 있는 새로운 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법이 절실하게 대두된다.Therefore, there is an urgent need for a new cloud streaming service-based web server monitoring method that can automatically inspect the state of the web server as well as the final rendered image.

한국 등록 특허 제10-1408037호, 2014년 06월 10일 공개 (명칭: 클라우드 시스템에서의 가상 머신 통합 모니터링 장치 및 방법)Korean Registered Patent No. 10-1408037, published on June 10, 2014 (Title: Device and method for integrated monitoring of virtual machines in cloud systems)

본 발명의 목적은, 클라우드 스트리밍 서비스를 제공하기 위한 웹 서버의 상태를 주기적으로 체크하여 신속하게 웹 서버의 오류를 감지하고, 감지된 오류를 처리함으로써 보다 원활한 클라우드 스트리밍 서비스를 제공하는 것이다.An object of the present invention is to provide a smoother cloud streaming service by periodically checking the status of a web server for providing a cloud streaming service to quickly detect an error of the web server, and processing the detected error.

또한, 본 발명의 목적은 웹 서버에서 발생한 오류 정보를 로그 기록에 상응하는 형태로 클라우드 스트리밍 시스템에 제공함으로써 웹 서버의 에러 발생상황을 클라우드 스트리밍 서버에서 보다 빠르게 감지하도록 하는 것이다.In addition, an object of the present invention is to provide error information generated in the web server to the cloud streaming system in a form corresponding to the log record, so that the error occurrence situation of the web server is detected more quickly in the cloud streaming server.

또한, 본 발명의 목적은 웹 서버에서 제공되는 인덱스 파일을 기반으로 웹 서버 모니터링 장치를 통해 웹 서버의 오류를 감지함으로써, 관리자를 통해 웹 서버를 모니터링 할 때보다 모니터링에 필요한 비용을 절약하는 것이다.In addition, it is an object of the present invention to detect an error of a web server through a web server monitoring device based on an index file provided by the web server, thereby reducing the cost required for monitoring compared to monitoring the web server through an administrator.

상기 목적을 달성하기 위해 본 발명에 따른 웹 서버 모니터링 장치는 웹 서버에 상응하는 인덱스 파일을 획득하는 인덱스 파일 획득부 및 상기 인덱스 파일을 상기 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 상기 웹 서버의 정상 동작 여부를 판단하는 판단부를 포함한다.In order to achieve the above object, a web server monitoring apparatus according to the present invention compares an index file acquisition unit that acquires an index file corresponding to a web server and the index file with an original index file obtained when the web server operates normally. and a determination unit for determining whether the web server operates normally.

또한 상기 판단부는 상기 인덱스 파일과 상기 원본 인덱스 파일이 일치하지 않는 경우, 상기 웹 서버가 정상 동작하지 않는 것으로 판단하고, 에러 로그의 생성을 위해 일치하지 않는 부분이 어느 부분인지 체크하는 것을 특징으로 한다.In addition, when the index file and the original index file do not match, the determination unit determines that the web server does not operate normally, and checks which portion does not match to generate an error log. .

또한 상기 판단부는 상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득하고, 상기 상태 코드가 적어도 하나의 기설정된 정상 코드에 상응하지 않는 경우에 상기 웹 서버가 정상 동작하지 않는 것으로 판단하는 것을 특징으로 한다.In addition, the determination unit obtains a status code based on a header of an HTTP message when obtaining the index file, and when the status code does not correspond to at least one preset normal code, the web server is normal. It is characterized in that it is determined that it does not operate.

또한 상기 판단부는 상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드를 획득하고, 상기 인덱스 파일과 상기 원본 인덱스 파일을 비교하기 전에 상기 상태 코드를 이용하여 상기 웹 서버의 정상 동작 여부를 판단하는 것을 특징으로 한다.In addition, the determination unit acquires a status code based on a header of an HTTP message when acquiring the index file, and determines whether the web server is operating normally by using the status code before comparing the index file with the original index file. characterized by judging.

또한 상기 판단부는 상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드를 획득하고, 상기 인덱스 파일과 상기 원본 인덱스 파일을 비교하는 과정과 동시에 상기 상태 코드를 확인하여 상기 웹 서버의 정상 동작 여부를 판단하는 것을 특징으로 한다.In addition, the determination unit acquires a status code based on a header of an HTTP message when acquiring the index file, and checks the status code at the same time as the process of comparing the index file and the original index file to normal operation of the web server It is characterized by determining whether or not

또한 상기 판단부는, 상기 웹 서버가 정상 동작할 때 획득된 복수의 연속적 서브 타이틀 화면에 상응하는 복수의 비교 화면을 이용하여 상기 웹 서버의 정상 동작 여부를 판단하고, 상기 판단 결과가 일치하지 않으면 상기 웹 서버가 정상 동작 하지 않는 것을 특징으로 한다.In addition, the determination unit determines whether the web server operates normally by using a plurality of comparison screens corresponding to a plurality of consecutive subtitle screens obtained when the web server operates normally, and if the determination result does not match, the It is characterized in that the web server does not operate normally.

본 발명에 따른 웹 서버 모니터링 방법은 웹 서버에 상응하는 인덱스 파일을 획득하는 단계 및 상기 인덱스 파일을 상기 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 상기 웹 서버의 정상 동작 여부를 판단하는 단계를 포함한다.A web server monitoring method according to the present invention includes the steps of obtaining an index file corresponding to a web server and comparing the index file with an original index file obtained when the web server is operating normally to determine whether the web server is operating normally including the steps of

본 발명에 따르면, 클라우드 스트리밍 서비스를 제공하기 위한 웹 서버의 상태를 주기적으로 체크하여 신속하게 웹 서버의 오류를 감지하고, 감지된 오류를 처리함으로써 보다 원활한 클라우드 스트리밍 서비스를 제공할 수 있다.According to the present invention, it is possible to provide a smoother cloud streaming service by periodically checking the status of a web server for providing a cloud streaming service to quickly detect an error of the web server and processing the detected error.

또한, 본 발명은 웹 서버에서 발생한 오류 정보를 로그 기록에 상응하는 형태로 클라우드 스트리밍 시스템에 제공함으로써 웹 서버의 에러 발생상황을 클라우드 스트리밍 서버에서 보다 빠르게 감지할 수 있다.In addition, the present invention provides the error information generated in the web server to the cloud streaming system in a form corresponding to the log record, so that the error occurrence situation of the web server can be detected more quickly in the cloud streaming server.

또한, 본 발명은 웹 서버에서 제공되는 인덱스 파일을 기반으로 웹 서버 모니터링 장치를 통해 웹 서버의 오류를 감지함으로써, 관리자를 통해 웹 서버를 모니터링 할 때보다 모니터링에 필요한 비용을 절약할 수 있다.In addition, the present invention detects an error of the web server through the web server monitoring device based on the index file provided by the web server, thereby reducing the cost required for monitoring compared to monitoring the web server through an administrator.

도 1은 본 발명의 일실시예에 따른 웹 서버 모니터링 시스템을 나타낸 블록도이다.
도 2는 도 1에 도시된 웹 서버 모니터링 장치의 일 예를 나타낸 블록도이다.
도 3은 본 발명의 일실시예에 따른 인덱스 파일의 획득 과정을 나타낸 도면이다.
도 4는 본 발명의 일실시예에 따라 데이터베이스에 저장된 상태코드 정보를 나타낸 도면이다.
도 5는 본 발명의 일실시예에 따른 비교화면을 나타낸 도면이다.
도 6은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법을 나타낸 동작 흐름도이다.
도 7은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법을 상세하게 나타낸 동작 흐름도이다.
도 8은 본 발명의 일실시예에 따라 인덱스 파일 및 상태코드를 이용하는 웹 서버 모니터링 과정을 나타낸 도면이다.
도 9는 본 발명의 일실시예에 따라 비교화면을 이용하는 웹 서버 모니터링 과정을 나타낸 도면이다.
1 is a block diagram illustrating a web server monitoring system according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of the web server monitoring apparatus shown in FIG. 1 .
3 is a diagram illustrating a process of acquiring an index file according to an embodiment of the present invention.
4 is a diagram illustrating status code information stored in a database according to an embodiment of the present invention.
5 is a view showing a comparison screen according to an embodiment of the present invention.
6 is an operation flowchart illustrating a method for monitoring a web server based on a cloud streaming service according to an embodiment of the present invention.
7 is a detailed operation flowchart illustrating a method for monitoring a web server based on a cloud streaming service according to an embodiment of the present invention.
8 is a diagram illustrating a web server monitoring process using an index file and a status code according to an embodiment of the present invention.
9 is a diagram illustrating a web server monitoring process using a comparison screen 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 web server monitoring system according to an embodiment of the present invention.

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

웹 서버 모니터링 장치(110)는 웹 서버(120-1~ 120-N)에 상응하는 인덱스 파일을 획득한다.The web server monitoring device 110 acquires index files corresponding to the web servers 120-1 to 120-N.

규모가 크지 않은 개인 홈페이지나 웹사이트는 하나의 큰 서버에서 일정부분을 할당 받아서 그 영역에 웹 문서와 이미지를 올리고 운영할 수 있다. 이 때, 할당 받은 영역은 호스팅 업체에 따라 다를 수 있으며, 일반적으로 'www'나 'public_html' 또는 'htdocs'등의 이름을 가진 디렉토리로 주어질 수 있다. 그리고 자신의 도메인 주소가 이러한 디렉토리로 연결이 될 수 있다. A small personal homepage or website can be allocated a certain portion from one large server, and web documents and images can be uploaded and operated in that area. In this case, the allocated area may differ depending on the hosting company, and in general, it may be given as a directory with a name such as 'www', 'public_html', or 'htdocs'. And your domain address can be linked to these directories.

인덱스(Index) 파일은 이러한 디렉토리의 대표 문서로서, 웹 브라우저에서 특정 디렉토리에 접속했을 때 자동적으로 보여주는 파일일 수 있다. 만약 디렉토리에 인덱스 파일이 없을 경우에 그 디렉토리에 있는 파일들을 리스트 형식으로 보여주거나 또는 forbidden 메시지가 뜨면서 접근이 금지될 수 있다.The index file is a representative document of such a directory, and may be a file that is automatically displayed when a web browser accesses a specific directory. If there is no index file in the directory, the files in the directory are displayed in a list format or access may be prohibited with a forbidden message.

예를 들어, 브라우저에서 'http://yoursite.com/'이라고 입력한다면 public_html 디렉토리에 있는 index.html을 보게 되는 셈이고, 이는 브라우저에 'http://yoursite.com/index.html'을 입력한 것과 같은 결과가 나올 수 있다.For example, if you type 'http://yoursite.com/' in your browser, you will see index.html in the public_html directory, which means you type 'http://yoursite.com/index.html' into your browser. The same result could be obtained.

따라서, 본 발명에서는 웹 서버 모니터링 장치(110)가 웹 서버(120-1~ 120-N)에 접속하고, 웹 서버(120-1~ 120-N)에 상응하는 디렉토리로부터 인덱스 파일을 획득할 수 있다. Therefore, in the present invention, the web server monitoring device 110 can access the web servers 120-1 to 120-N, and obtain an index file from the directory corresponding to the web servers 120-1 to 120-N. have.

예를 들어, 웹 서버(120-1~ 120-N)의 public_html 디렉토리에 존재하는 인덱스 파일을 획득할 수 있다.For example, an index file existing in the public_html directory of the web servers 120-1 to 120-N may be acquired.

또한, 인덱스 파일은 사용된 언어에 따라서 index.html, index.htm, index.php, index.shtml 및 index.asp 등이 사용될 수 있다. 만약 하나의 디렉토리에 두 개의 인덱스 파일이 있다면, 보통 html, htm 및 php 등의 파일 순서로 우선 순위를 가질 수 있다.Also, index.html, index.htm, index.php, index.shtml, and index.asp may be used as the index file depending on the language used. If you have two index files in one directory, you can usually take precedence in the order of files such as html, htm, and php.

이 때, 기설정된 주기마다 인덱스 파일을 획득할 수 있다. 즉, 지속적으로 웹 서버(120-1~ 120-N)의 상태를 모니터링 하기 위해 사전에 모니터링 주기를 설정하고, 설정한 주기마다 웹 서버(120-1~ 120-N)를 모니터링 하기 위해 인덱스 파일을 획득할 수 있다.In this case, the index file may be acquired every preset period. That is, a monitoring cycle is set in advance to continuously monitor the status of the web server (120-1 to 120-N), and an index file is used to monitor the web server (120-1 to 120-N) at each set cycle. can be obtained.

또한, 웹 서버 모니터링 장치(110)는 웹 서버(120-1~ 120-N)에서 제공되는 메뉴 정보를 기반으로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득한다.Also, the web server monitoring apparatus 110 acquires at least two or more continuous subtitle screens based on menu information provided from the web servers 120-1 to 120-N.

이 때, 종래의 웹 서버 모니터링 도구는 단순히 웹 서버의 http protocol 감시를 하는 정도였으나, 본 발명에서는 브라우저에서 최종 렌더링된 이미지에 상응하는 적어도 둘 이상의 연속적 서브 타이틀 화면을 이용하여 웹 서버(120-1~ 120-N)가 정상 동작 중인지 여부를 판단할 수 있다.At this time, the conventional web server monitoring tool merely monitors the http protocol of the web server, but in the present invention, the web server 120-1 uses at least two or more continuous subtitle screens corresponding to the images finally rendered in the browser. ~ 120-N) can be determined whether the normal operation.

또한, 웹 서버 모니터링 장치(110)는 인덱스 파일을 웹 서버(120-1~ 120-N)가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 웹 서버(120-1~ 120-N)의 정상 동작 여부를 판단한다.In addition, the web server monitoring device 110 compares the index file with the original index file obtained when the web servers 120-1 to 120-N are operating normally, and determines whether the web server 120-1 to 120-N is normal. determine whether it works.

이 때, 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 즉, 원본 인덱스 파일은 웹 서버(120-1~ 120-N)가 정상 동작 할 때 획득하였으므로, 인덱스 파일이 원본 인덱스 파일과 동일하지 않다면 원본 인덱스를 획득한 시점에서의 웹 서버(120-1~ 120-N)는 정상적으로 동작하지 않는 것으로 판단할 수 있다.At this time, when the index file and the original index file do not match, it may be determined that the web server does not operate normally. That is, since the original index file was obtained when the web server 120-1 to 120-N was operating normally, if the index file is not the same as the original index file, the web server 120-1 to 120-1 at the time the original index was obtained. 120-N) may be determined to not operate normally.

이 때, 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득하고, 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 예를 들어, 상태 코드를 확인한 결과 403번에 상응하는 'FORBIDDEN' 이라고 가정한다면, 웹 서버 모니터링 장치(110)가 해당 웹 서버(120-1~ 120-N)에 접근할 수 있는 권한이 없는 상태이므로 현재 웹 서버(120-1~ 120-N)가 오작동하고 있는 것으로 판단할 수 있다.At this time, when obtaining the index file, a status code is obtained based on the header of the HTTP message, and when the status code does not correspond to at least one or more preset normal codes, it is determined that the web server does not operate normally. can judge For example, if it is assumed that the status code is 'FORBIDDEN' corresponding to No. 403 as a result of checking the status code, the web server monitoring device 110 does not have permission to access the corresponding web servers 120-1 to 120-N. Therefore, it can be determined that the current web servers 120-1 to 120-N are malfunctioning.

이 때, 인덱스 파일과 원본 인덱스 파일을 비교하기 전에, 상태 코드를 이용하여 웹 서버의 정상 동작 여부를 판단할 수 있다. 즉, 인덱스 파일과 원본 인덱스 파일이 동일한지 여부에 따라 웹 서버(120-1~ 120-N)의 정상 동작 여부를 판단하는 과정보다 상태 코드를 확인하여 웹 서버(120-1~ 120-N)의 정상 동작 여부를 판단하는 것이 수월할 수 있다. 따라서, 우선 상태 코드를 통한 판단을 수행한 뒤 인덱스 파일과 원본 인덱스 파일을 비교할 수 있다.At this time, before comparing the index file with the original index file, it is possible to determine whether the web server is operating normally by using the status code. That is, rather than the process of determining whether the web servers 120-1 to 120-N are operating normally according to whether the index file and the original index file are the same, check the status code to It may be easy to determine whether the operation is normal. Therefore, it is possible to compare the index file with the original index file after first determining through the status code.

또한, 인덱스 파일과 원본 인덱스 파일을 비교하는 과정과 동시에 상태 코드를 확인함으로써, 두 가지 방식의 웹 서버(120-1~ 120-N) 모니터링을 동시에 수행할 수도 있다.In addition, by checking the status code at the same time as the process of comparing the index file and the original index file, the two methods of monitoring the web servers 120-1 to 120-N may be simultaneously performed.

이 때, 웹 서버가 정상 동작할 때 획득된 적어도 둘 이상의 연속적 서브 타이틀 화면에 상응하는 적어도 둘 이상의 비교화면을 이용하여 웹 서버의 정상 동작 여부를 판단할 수 있다. 예를 들어, 정상 동작 중인 웹 서버(120-1~ 120-N)에서 A, B 및 C에 상응하는 메뉴 항목들을 차례로 이동하면서 해당하는 메뉴 항목에 상응하는 비교화면을 캡처하여 저장해둘 수 있다. 이 후, 웹 서버(120-1~ 120-N) 모니터링 과정에서 비교화면과 동일하게 메뉴 항목들을 A, B 및 C의 순서로 이동하며 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득할 수 있다. In this case, it may be determined whether the web server is operating normally by using at least two comparison screens corresponding to at least two or more consecutive subtitle screens obtained when the web server operates normally. For example, the comparison screen corresponding to the corresponding menu item may be captured and stored while sequentially moving the menu items corresponding to A, B, and C in the normally operating web servers 120-1 to 120-N. Thereafter, in the process of monitoring the web servers 120-1 to 120-N, the menu items are moved in the order of A, B, and C in the same manner as in the comparison screen, and at least two or more consecutive subtitle screens can be acquired.

이 때, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교 화면이 일치하지 않는 경우에 웹 서버(120-1~ 120-N)가 정상 동작 하지 않는 것으로 판단할 수 있다. 즉, 웹 서버(120-1~ 120-N)가 정상 동작한다면, 같은 메뉴 항목들을 이동하면서 생성된 화면이 동일해야 하기 때문에, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면의 일치 여부를 통해 웹 서버(120-1~ 120-N)의 정상 동작 여부를 판단할 수 있다. In this case, when at least two or more consecutive subtitle screens and at least two or more comparison screens do not match, it may be determined that the web servers 120-1 to 120-N do not operate normally. That is, if the web servers 120-1 to 120-N operate normally, since the screens created while moving the same menu items must be the same, it is checked whether at least two or more consecutive subtitle screens match with at least two or more comparison screens. Through this, it is possible to determine whether the web servers 120-1 to 120-N operate normally.

또한, 웹 서버 모니터링 장치(110)는 웹 서버(120-1~ 120-N)가 정상 동작하지 않는 경우에 에러 로그를 생성하고, 클라우드 스트리밍 서비스 시스템에 에러 로그를 기록한다.In addition, the web server monitoring device 110 generates an error log when the web server 120-1 to 120-N does not operate normally, and records the error log in the cloud streaming service system.

이 때, 에러 로그는 사전에 설정된 형식에 상응하게 생성될 수 있으며, 클라우드 스트리밍 서비스 시스템에서 인식할 수 있는 형식일 수 있다. At this time, the error log may be generated corresponding to a preset format, and may be in a format that can be recognized by the cloud streaming service system.

또한, 웹 서버 모니터링 장치(110)는 원본 인덱스 파일, 적어도 둘 이상의 비교화면 및 적어도 하나의 기설정된 정상 코드 중 적어도 하나를 포함한다.In addition, the web server monitoring device 110 includes at least one of the original index file, at least two or more comparison screens, and at least one preset normal code.

이 때, 적어도 하나의 기설정된 정상 코드에 대한 정보를 포함하는 상태 코드의 정보를 포함할 수 있다. 예를 들어, 상태 코드에 따른 상태 및 설명을 포함하는 테이블을 포함할 수 있다.In this case, information on a status code including information on at least one preset normal code may be included. For example, it may include a table containing statuses and descriptions according to status codes.

웹 서버(120-1~ 120-N)는 단말(140-1~ 140-N)을 통한 사용자의 키 입력에 따라, 어플리케이션을 실행한다.The web servers 120-1 to 120-N execute applications according to a user's key input through the terminals 140-1 to 140-N.

이 때, 클라우드 스트리밍 서버(130)를 통해 단말(140-1~ 140-N)의 키 입력을 획득할 수 있고, 클라우드 스트리밍 서버(130)의 웹 브라우저를 이용하여 웹 서버(120-1~ 120-N)에서 실행한 어플리케이션을 제공할 수 있다.At this time, the key input of the terminals 140-1 to 140-N may be obtained through the cloud streaming server 130, and the web servers 120-1 to 120 using a web browser of the cloud streaming server 130. -N) can provide the executed application.

또한, 웹 서버(120-1~ 120-N)는 웹 서버 모니터링 장치(110)의 요청에 따라 인덱스 파일을 전달할 수도 있다. 즉, 웹 서버 모니터링 장치(110)가 정상 동작 중인 웹 서버(120-1~ 120-N)에 접속하면, 웹 서버(120-1~ 120-N)는 디렉토리에 포함된 인덱스 파일을 전달할 수 있다.In addition, the web servers 120-1 to 120-N may transmit the index file according to the request of the web server monitoring device 110 . That is, when the web server monitoring device 110 accesses the web servers 120-1 to 120-N in normal operation, the web servers 120-1 to 120-N may deliver the index file included in the directory. .

클라우드 스트리밍 서버(130)는 네트워크(150)를 통해 각각 단말(140-1~ 140-N)과 웹 서버(120-1~ 120-N)의 통신을 수행할 수 있다.The cloud streaming server 130 may perform communication between the terminals 140-1 to 140-N and the web servers 120-1 to 120-N through the network 150, respectively.

이 때, 단말(140-1~ 140-N)로부터 키 입력을 획득하고, 획득한 키 입력을 웹 서버(120-1~ 120-N)로 전달하여 키 입력에 상응하는 어플리케이션 실행화면을 획득할 수 있다. 이 후, 획득한 어플리케이션 실행화면에 대해 렌더링, 캡처, 인코딩 및 센딩에 상응하는 파이프라인 과정을 수행하여 단말(140-1~ 140-N)에 클라우드 스트리밍 서비스를 제공할 수 있다.At this time, a key input is obtained from the terminals 140-1 to 140-N, and the obtained key input is transmitted to the web server 120-1 to 120-N to obtain an application execution screen corresponding to the key input. can Thereafter, a pipeline process corresponding to rendering, capturing, encoding, and sending may be performed on the obtained application execution screen to provide a cloud streaming service to the terminals 140-1 to 140-N.

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

또한, 단말(140-1~ 140-N)은 각각 통신망에 연결되어 클라우드 컴퓨팅 시스템 기반으로 어플리케이션을 실행할 수 있는 장치로, 이동통신단말기에 한정된 것이 아니고, 모든 정보통신기기, 멀티미디어 단말, 유선 단말, 고정형 단말 및 IP(Internet Protocol) 단말 등의 다양한 단말일 수 있다. 또한, 단말(140-1~ 140-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 140-1 to 140-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, the terminals 140-1 to 140-N are each a mobile phone, a PMP (Portable Multimedia Played), a MID (Mobile Internet Device), a smart phone, a desktop, a tablet PC, and a notebook computer, respectively. 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.

또한, 단말(140-1~ 140-N)은 숫자 및 문자 정보 등의 다양한 정보를 입력 받고, 각종 기능을 설정 및 단말(140-1~ 140-N)의 기능 제어와 관련하여 입력되는 신호를 입력부를 통해 제어부로 전달할 수 있다. 또한, 단말(140-1~ 140-N)의 입력부는 사용자의 터치 또는 조작에 따른 입력 신호를 발생하는 키패드와 터치패드 중 적어도 하나를 포함하여 구성할 수 있다. 이 때, 단말(140-1~ 140-N)의 입력부는 단말(140-1~ 140-N)의 표시부와 함께 하나의 터치패널(또는 터치 스크린(touch screen))의 형태로 구성되어 입력과 표시 기능을 동시에 수행할 수 있다. 또한, 단말(140-1~ 140-N)의 입력부는 키보드, 키패드, 마우스, 조이스틱 등과 같은 입력 장치 외에도 향후 개발될 수 있는 모든 형태의 입력 수단이 사용될 수 있다. 특히, 본 발명에 따른 단말(140-1~ 140-N)의 입력부는 클라우드 컴퓨팅 기반으로 컨텐츠를 업로드 하거나 다운로드 하기 위한 입력 신호를 단말(140-1~ 140-N)의 제어부로 전달할 수 있다.In addition, the terminals 140-1 to 140-N receive various information such as number and character information, and set various functions and receive signals input in relation to the function control of the terminals 140-1 to 140-N. It can be transmitted to the control unit through the input unit. In addition, the input unit of the terminals 140-1 to 140-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 140-1 to 140-N is configured in the form of a single touch panel (or touch screen) together with the display unit of the terminals 140-1 to 140-N, so that input and The display function can be performed at the same time. In addition, as the input unit of the terminals 140-1 to 140-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 140-1 to 140-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 140-1 to 140-N.

또한, 단말(140-1~ 140-N)의 표시부는 단말(140-1~ 140-N)의 기능 수행 중에 발생하는 일련의 동작상태 및 동작결과 등에 대한 정보를 표시할 수 있다. 또한, 단말(140-1~ 1420-N)의 표시부는 단말(140-1~ 140-N)의 메뉴 및 사용자가 입력한 사용자 데이터 등을 표시할 수 있다. 여기서, 단말(140-1~ 140-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) 디스플레이 등으로 구성될 수 있다. 이 때, 단말(140-1~ 140-N)의 표시부가 터치스크린 형태로 구성된 경우, 단말(140-1~ 140-N)의 표시부는 단말(140-1~ 140-N)의 입력부의 기능 중 일부 또는 전부를 수행할 수 있다. 특히, 본 발명에 따른 단말(140-1~ 140-N)의 표시부는 클라우드 컴퓨팅 기반으로 제공되는 컨텐츠의 실행과 관련된 정보를 화면으로 표시할 수 있다.In addition, the display unit of the terminals 140-1 to 140-N may display information about a series of operation states and operation results that occur while the functions of the terminals 140-1 to 140-N are performed. In addition, the display unit of the terminals 140-1 to 1420-N may display menus of the terminals 140-1 to 140-N and user data input by the user. Here, the display unit of the terminals 140-1 to 140-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. In this case, when the display unit of the terminals 140-1 to 140-N is configured in the form of a touch screen, the display unit of the terminals 140-1 to 140-N functions as an input unit of the terminals 140-1 to 140-N. You can do some or all of them. In particular, the display unit of the terminals 140-1 to 140-N according to the present invention may display information related to execution of content provided based on cloud computing on a screen.

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

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

또한, 단말 장치(140-1~ 140-N)의 제어부는 운영 체제((OS, Operation System) 및 각 구성을 구동시키는 프로세스 장치가 될 수 있다. 예를 들어, 제어부는 클라우드 스트리밍 서버(130)에 접속하는 과정 전반을 제어할 수 있다. 별도의 서비스 어플리케이션을 통해 클라우드 스트리밍 서버(130)에 접속하는 경우, 사용자의 요청에 따라 서비스 어플리케이션을 실행되는 과정 전반을 제어할 수 있으며, 실행과 동시에 클라우드 스트리밍 서버(130)로 서비스 이용 요청이 전송되도록 제어할 수 있으며, 이때 사용자 인증에 필요한 단말(140-1~ 140-N)의 정보가 함께 전송되도록 제어할 수 있다.In addition, the control unit of the terminal devices 140-1 to 140-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 130 . When accessing the cloud streaming server 130 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 130, and at this time, it is possible to control so that information of the terminals 140-1 to 140-N required for user authentication is transmitted together.

또한, 단말(140-1~ 140-N)의 제어부는 사용자의 요청에 따라 단말(140-1~ 140-N)의 저장부에 저장된 특정 컨텐츠를 실행할 수 있다. 이때, 제어부는 컨텐츠 실행에 따른 컨텐츠 사용 이력을 컨텐츠 사용 정보로 저장할 수 있다.Also, the controller of the terminals 140-1 to 140-N may execute specific content stored in the storage unit of the terminals 140-1 to 140-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.

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

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

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

도 2는 도 1에 도시된 웹 서버 모니터링 장치의 일 예를 나타낸 블록도이다.FIG. 2 is a block diagram illustrating an example of the web server monitoring apparatus shown in FIG. 1 .

도 2를 참조하면, 도 1에 도시된 웹 서버 모니터링 장치(110)는 인덱스 파일 획득부(210), 서브 타이틀 화면 획득부(220), 판단부(230), 로그 기록부(240) 및 데이터베이스(250)를 포함한다.Referring to FIG. 2 , the web server monitoring device 110 shown in FIG. 1 includes an index file acquisition unit 210 , a subtitle screen acquisition unit 220 , a determination unit 230 , a log recorder 240 , and a database ( 250).

인덱스 파일 획득부(210)는 웹 서버에 상응하는 인덱스 파일을 획득한다.The index file obtaining unit 210 obtains an index file corresponding to the web server.

이 때, 웹 서버는 사용자가 단말을 통해 입력한 키 입력에 상응하게 어플리케이션을 실행시키는 서버에 상응할 수 있다. 즉, 웹 서버에서 문제가 발생하는 경우에는 클라우드 스트리밍 서비스 시스템 전체적으로 지연 또는 오류가 발생할 수 있기 때문에 웹 서버에 대한 모니터링은 필수적일 수 있다. In this case, the web server may correspond to a server that executes an application in response to a key input input by the user through the terminal. That is, if a problem occurs in the web server, it may be necessary to monitor the web server because delays or errors may occur throughout the cloud streaming service system.

따라서, 본 발명에서는 웹 서버를 모니터링 하기 위해 웹 서버에 상응하는 인덱스 파일을 이용할 수 있다.Accordingly, in the present invention, an index file corresponding to the web server may be used to monitor the web server.

이 때, 인덱스 파일은 웹 서버에 접속하였을 때 제공되는 대표 문서로서, 클라우드 스트리밍 서버의 웹 브라우저에서 웹 서버의 특정 디렉토리에 접속했을 때 자동적으로 보여주는 파일일 수 있다.In this case, the index file is a representative document provided when accessing the web server, and may be a file that is automatically displayed when a web browser of the cloud streaming server accesses a specific directory of the web server.

규모가 크지 않은 개인 홈페이지나 웹사이트는 하나의 큰 서버에서 일정부분을 할당 받아서 그 영역에 웹 문서와 이미지를 올리고 운영할 수 있다. 이 때, 할당 받은 영역은 호스팅 업체에 따라 다를 수 있으며, 일반적으로 'www'나 'public_html' 또는 'htdocs'등의 이름을 가진 디렉토리로 주어질 수 있다. 그리고 자신의 도메인 주소가 이러한 디렉토리로 연결이 될 수 있다.A small personal homepage or website can be allocated a certain portion from one large server, and web documents and images can be uploaded and operated in that area. In this case, the allocated area may differ depending on the hosting company, and in general, it may be given as a directory with a name such as 'www', 'public_html', or 'htdocs'. And your domain address can be linked to these directories.

만약 디렉토리에 인덱스 파일이 없을 경우에 그 디렉토리에 있는 파일들을 리스트 형식으로 보여주거나 또는 forbidden 메시지가 뜨면서 접근이 금지될 수 있다. 예를 들어, 브라우저에서 'http://yoursite.com/'이라고 입력한다면 public_html 디렉토리에 있는 index.html을 보게 되는 셈이고, 이는 브라우저에 'http://yoursite.com/index.html'을 입력한 것과 같은 결과가 나올 수 있다.If there is no index file in the directory, the files in the directory are displayed in a list format or access may be prohibited with a forbidden message. For example, if you type 'http://yoursite.com/' in your browser, you will see index.html in the public_html directory, which means you type 'http://yoursite.com/index.html' into your browser. The same result could be obtained.

또한, 인덱스 파일은 사용된 언어에 따라서 index.html, index.htm, index.php, index.shtml 및 index.asp 등이 사용될 수 있다. 만약 하나의 디렉토리에 두 개의 인덱스 파일이 있다면, 보통 html, htm 및 php 등의 파일 순서로 우선 순위를 가질 수 있다.Also, index.html, index.htm, index.php, index.shtml, and index.asp may be used as the index file depending on the language used. If you have two index files in one directory, you can usually take precedence in the order of files such as html, htm, and php.

이 때, 기설정된 주기마다 인덱스 파일을 획득할 수 있다. 클라우드 스트리밍 서비스 시스템이 운용되는 동안에는 지속적으로 웹 서버를 모니터링 할 필요가 있으므로, 사전에 모니터링을 수행할 주기를 설정해두고 설정된 주기에 따라 웹 서버에 상응하는 인덱스 파일을 획득할 수 있다. In this case, the index file may be acquired every preset period. Since it is necessary to continuously monitor the web server while the cloud streaming service system is operating, it is possible to set a period for monitoring in advance and obtain an index file corresponding to the web server according to the set period.

또한, 인덱스 파일을 획득하기 위한 주기를 너무 짧게 설정한다면 웹 서버 모니터링 장치(110)와 웹 서버에서 불필요한 부하가 많이 발생할 수 있다. 따라서, 웹 서버가 원활하게 어플리케이션 실행하는데 문제가 발생하지 않도록 주기를 설정할 수 있다.In addition, if the period for acquiring the index file is set too short, a lot of unnecessary load may occur in the web server monitoring apparatus 110 and the web server. Therefore, it is possible to set the cycle so that a problem does not occur when the web server smoothly executes the application.

서브 타이틀 화면 획득부(220)는 웹 서버에서 제공되는 메뉴 정보를 기반으로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득한다.The subtitle screen acquisition unit 220 acquires at least two or more continuous subtitle screens based on menu information provided from the web server.

이 때, 종래의 웹 서버 모니터링 도구는 단순히 웹 서버의 http protocol 감시를 하는 정도였으나, 본 발명에서는 브라우저에서 최종 렌더링된 이미지에 상응하는 적어도 둘 이상의 연속적 서브 타이틀 화면을 이용하여 웹 서버가 정상 동작 중인지 여부를 판단할 수 있다. At this time, the conventional web server monitoring tool merely monitors the http protocol of the web server, but in the present invention, at least two or more continuous subtitle screens corresponding to the final rendered image in the browser are used to check whether the web server is operating normally. can determine whether

예를 들어, 클라우드 스트리밍 서버의 웹 브라우저를 통해 웹 서버에 접속할 수 있다. 또한, 웹 브라우저를 통해 웹 서버에 접속한 후 자동으로 메뉴 항목을 참고하여 적어도 둘 이상의 서브 타이틀 화면을 이동하면서 해당 화면의 이미지를 캡처하여 저장할 수 있다.For example, the web server may be accessed through a web browser of the cloud streaming server. In addition, after accessing the web server through a web browser, an image of the corresponding screen may be captured and saved while moving at least two or more subtitle screens by referring to menu items automatically.

이 때, 서브 타이틀 화면을 획득하기 위한 이동 방식은 웹 서버의 메뉴 항목이나 웹 서버의 종류에 따라 다양하게 설정될 수 있다. 또한, 이러한 이동 방식은 적어도 둘 이상의 비교화면을 획득할 때의 이동 방식과 동일할 수 있다. 즉, 사전에 적어도 둘 이상의 비교화면을 저장하기 위해 이동했던 방식과 동일하게 적어도 둘 이상의 서브 타이틀 화면을 획득할 수 있다.In this case, the moving method for acquiring the subtitle screen may be variously set according to a menu item of the web server or the type of the web server. Also, such a movement method may be the same as a movement method when at least two or more comparison screens are acquired. That is, at least two or more sub-title screens may be acquired in the same manner as in the manner of moving to store at least two or more comparison screens in advance.

이 때, 인덱스 파일과 마찬가지로 기설정된 주기마다 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득할 수 있다. 또한, 인덱스 파일을 획득하는 주기와는 별개로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득하기 위한 주기를 생성하여 사용할 수도 있다.At this time, like the index file, at least two or more continuous subtitle screens may be acquired every preset period. In addition, a period for acquiring at least two or more consecutive subtitle screens may be generated and used separately from the period for acquiring the index file.

이 때, 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득하여 웹 서버의 정상 동작 여부를 판단하는 과정은 인덱스 파일을 원본 인덱스 파일과 비교하여 정상 동작 여부를 판단하는 과정보다 많은 리소스를 사용할 수 있다. In this case, the process of determining whether the web server operates normally by acquiring at least two or more consecutive subtitle screens may use more resources than the process of determining whether the web server operates normally by comparing the index file with the original index file.

따라서, 너무 빈번하게 서브 타이틀 화면을 획득하여 웹 서버의 정상 동작 여부를 판단하는 경우, 웹 서버 모니터링 장치(110)에 발생하는 부하량이 커져서 시스템 오작동이 발생하거나 처리가 지연되는 문제가 발생할 수 있으므로 적절한 주기를 설정하여 서브 타이틀을 획득할 수 있다.Therefore, when it is determined whether the web server is operating normally by acquiring the subtitle screen too frequently, the load generated on the web server monitoring device 110 may increase, resulting in system malfunction or delay in processing. Subtitles can be acquired by setting the cycle.

예를 들어, 인덱스 파일을 획득하는 주기가 5분이라고 가정한다면, 서브 타이틀 화면을 획득하는 주기는 인덱스 파일을 획득하는 주기보다 길게 10분에서 15분으로 설정함으로써 웹 서버 및 웹 서버 모니터링 장치(110)의 부하량을 조절할 수 있다. For example, if it is assumed that the cycle for acquiring the index file is 5 minutes, the cycle for acquiring the subtitle screen is set to 10 to 15 minutes longer than the cycle for acquiring the index file, so that the web server and the web server monitoring device 110 ) can be adjusted.

판단부(230)는 인덱스 파일을 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 웹 서버의 정상 동작 여부를 판단한다.The determination unit 230 compares the index file with the original index file obtained when the web server operates normally to determine whether the web server operates normally.

이 때, 원본 인덱스 파일은 웹 서버 모니터링 장치(110)를 통해 웹 서버의 모니터링을 수행하기 전에, 웹 서버가 정상 동작인 것을 확인하고 획득한 인덱스 파일에 상응할 수 있다. 즉, 웹 서버가 정상일 때의 인덱스 파일을 저장해두었다가 모니터링 시점에 획득한 인덱스 파일과 비교함으로써 웹 서버의 정상 동작 여부를 판단할 수 있다.In this case, the original index file may correspond to the obtained index file after confirming that the web server is in normal operation before monitoring the web server through the web server monitoring device 110 . That is, it is possible to determine whether the web server is operating normally by storing the index file when the web server is normal and comparing it with the index file obtained at the time of monitoring.

이 때, 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 또한, 일치하지 않는 부분이 어느 부분인지 체크하여 추후에 에러 로그를 생성하는데 사용할 수도 있다. At this time, when the index file and the original index file do not match, it may be determined that the web server does not operate normally. Also, it can be used to generate an error log later by checking which part does not match.

이 때, 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득하고, 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다.At this time, when obtaining the index file, a status code is obtained based on the header of the HTTP message, and when the status code does not correspond to at least one or more preset normal codes, it is determined that the web server does not operate normally. can judge

이 때, 상태 코드는 특정 요청에 대한 응답 상태 코드에 상응할 수 있다. 즉, 본 발명에 실시예에 따른 HTTP 상태 코드는 HTTP 응답상태코드에 상응하며, 1xx, 2xx, 3xx, 4xx, 5xx로 구성될 수 있고, 각각의 구성마다 카테고리를 보유한다. 1xx는 조건부 응답, 2xx는 성공, 3xx는 리다이렉션 완료, 4xx는 요청 오류, 5xx는 응답 오류에 상응할 수 있다.In this case, the status code may correspond to a response status code for a specific request. That is, the HTTP status code according to an embodiment of the present invention corresponds to the HTTP response status code, and may be composed of 1xx, 2xx, 3xx, 4xx, 5xx, and each configuration has a category. 1xx can correspond to conditional response, 2xx to success, 3xx to redirect complete, 4xx to request error, and 5xx to response error.

예를 들어, 웹 서버의 인덱스 파일에 상응하는 index.html을 http 프로토콜을 사용하여 획득할 수 있다. 이 때, 웹 서버로부터 수신한 HTTP 메시지에 상응하는 http response 메시지의 헤더 중 상태 코드에 상응하는 http status 값을 획득할 수 있다. 이와 같이 획득한 http status 값이 여러 가지 상태 코드의 값들 중 정상에 상응하는 값인지 확인할 수 있다. 즉, 상태 코드가 'Request complete'에 상응하는 200번 또는 ' If-modified-since was not modified'에 상응하는 304번에 상응한다면, 웹 서버가 정상적으로 동작하고 있는 것으로 판단할 수 있다. 또는 상태 코드가 'Invalid syntax'에 상응하는 400번, 'Request forbidden'에 상응하는 403번 또는 'Object not found'에 상응하는 404번 등에 상응한다면, 웹 서버가 정상적으로 동작하고 있지 않은 것으로 판단할 수 있다.For example, index.html corresponding to the index file of the web server may be obtained using the http protocol. In this case, the http status value corresponding to the status code among the headers of the http response message corresponding to the HTTP message received from the web server may be acquired. It can be checked whether the http status value obtained in this way is a value corresponding to normal among various status code values. That is, if the status code corresponds to number 200 corresponding to 'Request complete' or number 304 corresponding to 'If-modified-since was not modified', it can be determined that the web server is operating normally. Or, if the status code corresponds to number 400 corresponding to 'Invalid syntax', number 403 corresponding to 'Request forbidden', or number 404 corresponding to 'Object not found', it can be determined that the web server is not operating normally. have.

이 때, 인덱스 파일과 원본 인덱스 파일을 비교하기 전에, 상태 코드를 이용하여 웹 서버의 정상 동작여부를 판단할 수 있다. 즉, 인덱스 파일과 원본 인덱스 파일을 비교하는 동작이 상태 코드를 확인하는 동작보다 많은 시간과 리소스를 사용할 수 있기 때문에, 먼저 상태 코드를 확인하여 웹 서버의 정상 동작 여부를 판단할 수 있다.At this time, before comparing the index file with the original index file, it is possible to determine whether the web server is operating normally by using the status code. That is, since the operation of comparing the index file and the original index file can use more time and resources than the operation of checking the status code, it is possible to determine whether the web server is operating normally by checking the status code first.

또한, 인덱스 파일과 원본 인덱스 파일을 비교하는 과정과 상태 코드를 확인하는 과정을 동시에 수행할 수도 있다.In addition, the process of comparing the index file with the original index file and the process of checking the status code may be simultaneously performed.

이 때, 웹 서버가 정상 동작할 때 획득된 적어도 둘 이상의 연속적 서브 타이틀 화면에 상응하는 적어도 둘 이상의 비교화면을 이용하여 웹 서버의 정상 동작 여부를 판단할 수 있다. 예를 들어, 웹 서버가 정상 동작할 때 웹 서버의 메뉴 중 A1, A2, A3를 순서대로 이동하며 비교화면을 획득할 수 있다. 이 후, 웹 서버를 모니터링 하기 위한 연속적 서브 타이틀 화면을 획득하기 위해서는, 비교화면을 획득할 때와 동일하게 A1, A2, A3의 메뉴 순서대로 이동하면서 서브 타이틀 화면을 획득할 수 있다. 이렇게 획득한 비교화면과 서브 타이틀 화면이 일치하는지 여부를 확인하여 웹 서버의 정상 동작 여부를 판단할 수 있다. In this case, it may be determined whether the web server is operating normally by using at least two comparison screens corresponding to at least two or more consecutive subtitle screens obtained when the web server operates normally. For example, when the web server operates normally, the comparison screen may be acquired by moving A1, A2, and A3 among the menus of the web server in order. Thereafter, in order to acquire continuous subtitle screens for monitoring the web server, the subtitle screens may be acquired while moving in the menu order of A1, A2, and A3 in the same way as when acquiring the comparison screen. It is possible to determine whether the web server is operating normally by checking whether the obtained comparison screen and the subtitle screen match.

또한, 비교화면과 서브 타이틀 화면의 일치 여부는 이미지를 서로 비교할 수 있는 이미지 비교 방법들을 이용하여 확인할 수 있다. 예를 들어, 웹 서버로부터 획득한 적어도 둘 이상의 비교화면과 적어도 둘 이상의 서브 타이틀 화면의 픽셀들을 비교하여 두 화면이 동일한지 여부를 판단할 수도 있다.In addition, whether the comparison screen and the subtitle screen match can be checked using image comparison methods that can compare images with each other. For example, it may be determined whether the two screens are the same by comparing pixels of at least two or more comparison screens obtained from a web server and at least two or more sub-title screens.

이 때, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 즉, 웹 서버가 정상 동작한다면, 같은 메뉴 항목들을 이동하면서 생성된 화면이 동일해야 하기 때문에, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하지 않는다면 웹 서버에서 오류가 발생한 것으로 판단할 수 있다.At this time, when at least two or more consecutive subtitle screens and at least two or more comparison screens do not match, it may be determined that the web server does not operate normally. That is, if the web server operates normally, since the screens created while moving the same menu items must be the same, if at least two consecutive subtitle screens and at least two comparison screens do not match, it is determined that an error has occurred in the web server. can

로그 기록부(240)는 웹 서버가 정상 동작하지 않는 경우에 에러 로그를 생성하고, 클라우드 스트리밍 서비스 시스템에 에러 로그를 기록한다.The log recording unit 240 generates an error log when the web server does not operate normally, and records the error log in the cloud streaming service system.

이 때, 클라우드 스트리밍 서비스 시스템은 클라우드 스트리밍 서버에 상응할 수 있으며, 에러 로그를 클라우드 스트리밍 서버에 기록함으로써 클라우드 스트리밍 서버가 웹 서버를 복구하도록 제어할 수 있다.At this time, the cloud streaming service system may correspond to the cloud streaming server, and by recording the error log to the cloud streaming server, the cloud streaming server may be controlled to restore the web server.

이 때, 에러 로그는 클라우드 스트리밍 서비스 시스템에서 인지할 수 있도록 사전에 설정된 형식에 상응하게 생성될 수 있다. 즉, 시스템 메시지 또는 시스템 상태 코드에 상응하는 형태일 수 있다. At this time, the error log may be generated corresponding to a format set in advance to be recognized by the cloud streaming service system. That is, it may be in a form corresponding to a system message or a system status code.

또한, 에러 로그는 웹 서버에서 에러를 감지한 방식에 따라 별도의 감지 정보를 포함할 수 있다. 예를 들어, 상태 코드를 이용하여 에러를 감지한 경우에는 에러 로그와 함께 획득한 상태 코드의 정보를 포함시킬 수 있다. 또한, 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 경우에는 에러 로그와 함께 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 부분을 포함시킬 수도 있다.Also, the error log may include separate detection information according to a method of detecting an error in the web server. For example, when an error is detected using the status code, information on the acquired status code may be included with the error log. In addition, when the index file and the original index file do not match, the part where the index file and the original index file do not match may be included along with the error log.

이와 같이 에러 로그와 함께 관련된 정보를 함께 기록함으로써, 클라우드 스트리밍 서비스 시스템의 관리자가 보다 수월하게 오류상황을 파악할 수 있다.By recording the related information together with the error log in this way, the administrator of the cloud streaming service system can more easily understand the error situation.

데이터베이스(250)는 원본 인덱스 파일, 적어도 둘 이상의 비교화면 및 적어도 하나의 기설정된 정상 코드 중 적어도 하나를 포함한다.The database 250 includes at least one of an original index file, at least two or more comparison screens, and at least one preset normal code.

예를 들어, 모니터링을 수행하기 전에 웹 서버에 접속하여 원본 인덱스 파일과 적어도 둘 이상의 비교화면을 획득하여 저장해둘 수 있다. 또한 복수 개의 상태 코드 중에서 적어도 하나의 정상 코드를 설정하여 별도로 저장해 둘 수 있다. 이와 같이 적어도 하나의 정상 코드를 사전에 설정하여 별도로 저장해 둠으로써, 후에 모니터링을 수행하여 획득한 상태 코드가 정상 코드에 해당하는지 여부를 신속하게 판단할 수 있다.For example, before monitoring is performed, the original index file and at least two or more comparison screens may be acquired and stored by accessing the web server. In addition, at least one normal code among the plurality of status codes may be set and stored separately. In this way, by setting at least one normal code in advance and separately storing it, it is possible to quickly determine whether a status code obtained by performing monitoring later corresponds to a normal code.

또한, 데이터베이스(250)는 상술한 바와 같이 본 발명의 실시예에 따른 웹 서버 모니터링 과정에서 발생하는 다양한 정보를 저장할 수 있다.In addition, as described above, the database 250 may store various information generated during the web server monitoring process according to the embodiment of the present invention.

실시예에 따라, 데이터베이스(250)는 웹 서버 모니터링 장치(110)와 독립적으로 구성되어 웹 서버 모니터링을 위한 기능을 지원할 수 있다. 이 때, 데이터베이스(250)는 별도의 대용량 스토리지로 동작할 수 있고, 동작 수행을 위한 제어 기능을 포함할 수도 있다.According to an embodiment, the database 250 may be configured independently of the web server monitoring device 110 to support a function for monitoring the web server. In this case, the database 250 may operate as a separate mass storage and may include a control function for performing the operation.

한편, 웹 서버 모니터링 장치(110)는 메모리가 탑재되어 그 장치 내에서 정보를 저장할 수 있다. 일 구현예의 경우, 메모리는 컴퓨터로 판독 가능한 매체이다. 일 구현 예에서, 메모리는 휘발성 메모리 유닛일 수 있으며, 다른 구현예의 경우, 메모리는 비휘발성 메모리 유닛일 수도 있다. 일 구현예의 경우, 저장장치는 컴퓨터로 판독 가능한 매체이다. 다양한 서로 다른 구현 예에서, 저장장치는 예컨대 하드디스크 장치, 광학디스크 장치, 혹은 어떤 다른 대용량 저장장치를 포함할 수도 있다.On the other hand, the web server monitoring device 110 may be equipped with a memory to 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)를 통해 클라우드 스트리밍 서비스를 제공하기 위한 웹 서버의 상태를 주기적으로 체크하여 신속하게 웹 서버의 오류를 감지할 수 있다.By periodically checking the status of the web server for providing the cloud streaming service through the web server monitoring device 110 as described above, it is possible to quickly detect an error of the web server.

또한, 웹 서버에서 발생한 오류를 에러 로그의 형태로 클라우드 스트리밍 서버에 제공함으로써, 클라우드 스트리밍 서버의 제어를 통해 신속하게 웹 서버를 복구할 수 있다.In addition, by providing the error generated in the web server to the cloud streaming server in the form of an error log, it is possible to quickly restore the web server through the control of the cloud streaming server.

도 3은 본 발명의 일실시예에 따른 인덱스 파일의 획득 과정을 나타낸 도면이다.3 is a diagram illustrating a process of acquiring an index file according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일실시예에 따른 인덱스 파일의 획득 과정은 먼저 웹 서버 모니터링 장치(310)가 HTTP 메시지에 상응하는 Request 메시지(311)를 웹 서버(320)로 전송하여 인덱스 파일을 요청할 수 있다. Referring to FIG. 3 , in the process of obtaining an index file according to an embodiment of the present invention, first, the web server monitoring device 310 transmits a Request message 311 corresponding to an HTTP message to the web server 320 to obtain an index file can request

이 때, Request 메시지(311)에 상응하는 HTTP 메시지는 Request 라인, HTTP 헤더 및 HTTP 본문을 포함할 수 있다.In this case, the HTTP message corresponding to the Request message 311 may include a Request line, an HTTP header, and an HTTP body.

이 후, 웹 서버(320)에서는 Request 메시지(311)를 수신한 뒤, 웹 서버 모니터링 장치(310)에게 인덱스 파일을 전달하면서 Response 메시지(321)를 전달할 수 있다.Thereafter, after receiving the Request message 311 , the web server 320 may deliver the Response message 321 while delivering the index file to the web server monitoring device 310 .

이 때, Response 메시지(321)에 상응하는 HTTP 메시지도 Request 메시지(311)와 마찬가지로 Response 라인, HTTP 헤더 및 HTTP 본문을 포함할 수 있다. 또한, HTTP 헤더 중 http status 값에 상응하는 상태 코드를 획득할 수 있다.At this time, the HTTP message corresponding to the Response message 321 may also include a Response line, an HTTP header, and an HTTP body, like the Request message 311 . Also, it is possible to obtain a status code corresponding to the http status value among the HTTP headers.

도 4는 본 발명의 일실시예에 따라 데이터베이스에 저장된 상태코드 정보를 나타낸 도면이다. 4 is a diagram illustrating status code information stored in a database according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일실시예에 따라 웹 서버의 정상 동작 여부를 판단하기 위한 상태코드 정보(410)를 확인할 수 있다.Referring to FIG. 4 , the status code information 410 for determining whether the web server operates normally according to an embodiment of the present invention may be checked.

이 때, 상태코드 정보(410)는 웹 서버 모니터링 장치에 포함되거나 또는 독립적으로 존재할 수 있는 데이터베이스에 저장될 수 있다.In this case, the status code information 410 may be stored in a database that may be included in the web server monitoring device or may exist independently.

이 때, 상태코드 정보(410)에는 다양한 종류의 상태 코드가 포함될 수 있다. 예를 들어, 100번대에 상응하는 상태 코드는 정보를 알리거나, Request가 현재 처리되고 있다는 것을 알리는 상태 코드들이 포함될 수 있다. 또한, 200번대에 상응하는 상태 코드는 웹 서버가 Request를 성공적으로 수신하여 처리하였음을 알리는 상태 코드들이 포함될 수 있다. 또한, 300번대에 상응하는 상태 코드는 Request에 따른 정보가 이동하였기 때문에 Request가 수행되지 않은 것을 의미하는 코드들이 포함될 수 있다. 또한, 400번대에 상응하는 상태 코드는 클라이언트 측에서 에러가 발생한 것을 의미하는 코드들이 포함될 수 있다. 또한, 500번대에 상응하는 상태 코드는 웹 서버 측에서 에러가 발생하여 Request에 대한 처리를 못하는 것을 알리는 상태 코드들이 포함될 수 있다.In this case, the status code information 410 may include various types of status codes. For example, the status code corresponding to the 100th band may include status codes indicating information or indicating that a request is currently being processed. In addition, the status code corresponding to the 200th band may include status codes indicating that the web server has successfully received and processed the request. In addition, the status code corresponding to the 300th band may include codes indicating that the request was not performed because the information according to the request was moved. In addition, the status code corresponding to the 400th band may include codes indicating that an error has occurred on the client side. In addition, the status codes corresponding to the 500s may include status codes notifying that the request cannot be processed because an error has occurred on the web server side.

도 5는 본 발명의 일실시예에 따른 비교화면을 나타낸 도면이다.5 is a view showing a comparison screen according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일실시예에 따른 비교화면(510~540)은 웹 서버의 메뉴 항목을 이동하면서 획득될 수 있다.Referring to FIG. 5 , comparison screens 510 to 540 according to an embodiment of the present invention may be acquired while moving menu items of the web server.

예를 들어, 도 5에 나타낸 비교화면(510~540)은 '우리동네 사랑방', '최신 영화관', 'VOD 다시보기' 및 '마이콘텐츠'에 각각 상응하는 메뉴 항목을 통해 획득될 수 있다. 즉, 도 5에 나타낸 순서대로 (A, B, C, D)에 상응하는 순서대로 이동하며 비교화면(510~540)을 획득할 수 있다. For example, the comparison screens 510 to 540 shown in FIG. 5 may be obtained through menu items corresponding to 'My Neighborhood Sarangbang', 'Latest Movie Theater', 'VOD Replay' and 'My Content', respectively. That is, the comparison screens 510 to 540 may be acquired by moving in the order corresponding to (A, B, C, D) in the order shown in FIG. 5 .

이와 같이 획득한 비교화면(510~540)은 웹 서버 모니터링 장치의 데이터베이스에 저장해 두었다가 후에 웹 서버의 정상 동작 여부를 판단하는데 사용될 수 있다.The comparison screens 510 to 540 obtained in this way may be stored in the database of the web server monitoring device and later used to determine whether the web server operates normally.

따라서, 웹 서버의 정상 동작 여부를 판단하기 위해 웹 서버에서 적어도 둘 이상의 서브 타이틀 화면을 획득할 때에도, 비교화면(510~540)을 획득할 때와 같이 (A, B, C, D)에 상응하는 순서로 메뉴를 이동하며 서브 타이틀 화면을 캡처 및 저장할 수 있다.Therefore, even when acquiring at least two or more subtitle screens from the web server to determine whether the web server operates normally, it corresponds to (A, B, C, D) as when acquiring the comparison screens 510 to 540. You can capture and save the subtitle screen by moving the menu in the following order.

도 6은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법을 나타낸 동작 흐름도이다.6 is an operation flowchart illustrating a method for monitoring a web server based on a cloud streaming service according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 웹 서버에 상응하는 인덱스 파일을 획득한다(S610).6, the cloud streaming service-based web server monitoring method according to an embodiment of the present invention obtains an index file corresponding to the web server (S610).

이 때, 웹 서버는 사용자가 단말을 통해 입력한 키 입력에 상응하게 어플리케이션을 실행시키는 서버에 상응할 수 있다. 즉, 웹 서버에서 문제가 발생하는 경우에는 클라우드 스트리밍 서비스 시스템 전체적으로 지연 또는 오류가 발생할 수 있기 때문에 웹 서버에 대한 모니터링은 필수적일 수 있다. In this case, the web server may correspond to a server that executes an application in response to a key input input by the user through the terminal. That is, if a problem occurs in the web server, it may be necessary to monitor the web server because delays or errors may occur throughout the cloud streaming service system.

따라서, 본 발명에서는 웹 서버를 모니터링 하기 위해 웹 서버에 상응하는 인덱스 파일을 이용할 수 있다.Accordingly, in the present invention, an index file corresponding to the web server may be used to monitor the web server.

이 때, 인덱스 파일은 웹 서버에 접속하였을 때 제공되는 대표 문서로서, 클라우드 스트리밍 서버의 웹 브라우저에서 웹 서버의 특정 디렉토리에 접속했을 때 자동적으로 보여주는 파일일 수 있다.In this case, the index file is a representative document provided when accessing the web server, and may be a file that is automatically displayed when a web browser of the cloud streaming server accesses a specific directory of the web server.

규모가 크지 않은 개인 홈페이지나 웹사이트는 하나의 큰 서버에서 일정부분을 할당 받아서 그 영역에 웹 문서와 이미지를 올리고 운영할 수 있다. 이 때, 할당 받은 영역은 호스팅 업체에 따라 다를 수 있으며, 일반적으로 'www'나 'public_html' 또는 'htdocs'등의 이름을 가진 디렉토리로 주어질 수 있다. 그리고 자신의 도메인 주소가 이러한 디렉토리로 연결이 될 수 있다.A small personal homepage or website can be allocated a certain portion from one large server, and web documents and images can be uploaded and operated in that area. In this case, the allocated area may differ depending on the hosting company, and in general, it may be given as a directory with a name such as 'www', 'public_html', or 'htdocs'. And your domain address can be linked to these directories.

만약 디렉토리에 인덱스 파일이 없을 경우에 그 디렉토리에 있는 파일들을 리스트 형식으로 보여주거나 또는 forbidden 메시지가 뜨면서 접근이 금지될 수 있다. 예를 들어, 브라우저에서 'http://yoursite.com/'이라고 입력한다면 public_html 디렉토리에 있는 index.html을 보게 되는 셈이고, 이는 브라우저에 'http://yoursite.com/index.html'을 입력한 것과 같은 결과가 나올 수 있다.If there is no index file in the directory, the files in the directory are displayed in a list format or access may be prohibited with a forbidden message. For example, if you type 'http://yoursite.com/' in your browser, you will see index.html in the public_html directory, which means you type 'http://yoursite.com/index.html' into your browser. The same result could be obtained.

또한, 인덱스 파일은 사용된 언어에 따라서 index.html, index.htm, index.php, index.shtml 및 index.asp 등이 사용될 수 있다. 만약 하나의 디렉토리에 두 개의 인덱스 파일이 있다면, 보통 html, htm 및 php 등의 파일 순서로 우선 순위를 가질 수 있다.Also, index.html, index.htm, index.php, index.shtml, and index.asp may be used as the index file depending on the language used. If you have two index files in one directory, you can usually take precedence in the order of files such as html, htm, and php.

이 때, 기설정된 주기마다 인덱스 파일을 획득할 수 있다. 클라우드 스트리밍 서비스 시스템이 운용되는 동안에는 지속적으로 웹 서버를 모니터링 할 필요가 있으므로, 사전에 모니터링을 수행할 주기를 설정해두고 설정된 주기에 따라 웹 서버에 상응하는 인덱스 파일을 획득할 수 있다. In this case, the index file may be acquired every preset period. Since it is necessary to continuously monitor the web server while the cloud streaming service system is operating, it is possible to set a period for monitoring in advance and obtain an index file corresponding to the web server according to the set period.

또한, 인덱스 파일을 획득하기 위한 주기를 너무 짧게 설정한다면 웹 서버 모니터링 장치와 웹 서버에서 불필요한 부하가 많이 발생할 수 있다. 따라서, 웹 서버가 원활하게 어플리케이션 실행하는데 문제가 발생하지 않도록 주기를 설정할 수 있다.In addition, if the period for acquiring the index file is set too short, a lot of unnecessary load may occur in the web server monitoring device and the web server. Therefore, it is possible to set the cycle so that a problem does not occur when the web server smoothly executes the application.

또한, 도 6에는 도시하지 아니하였으나, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 웹 서버에서 제공되는 메뉴 정보를 기반으로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득한다.Also, although not shown in FIG. 6, the cloud streaming service-based web server monitoring method according to an embodiment of the present invention acquires at least two or more continuous subtitle screens based on menu information provided from the web server.

이 때, 종래의 웹 서버 모니터링 도구는 단순히 웹 서버의 http protocol 감시를 하는 정도였으나, 본 발명에서는 브라우저에서 최종 렌더링된 이미지에 상응하는 적어도 둘 이상의 연속적 서브 타이틀 화면을 이용하여 웹 서버가 정상 동작 중인지 여부를 판단할 수 있다. At this time, the conventional web server monitoring tool merely monitors the http protocol of the web server, but in the present invention, at least two or more continuous subtitle screens corresponding to the final rendered image in the browser are used to check whether the web server is operating normally. can determine whether

예를 들어, 클라우드 스트리밍 서버의 웹 브라우저를 통해 웹 서버에 접속할 수 있다. 또한, 웹 브라우저를 통해 웹 서버에 접속한 후 자동으로 메뉴 항목을 참고하여 적어도 둘 이상의 서브 타이틀 화면을 이동하면서 해당 화면의 이미지를 캡처하여 저장할 수 있다.For example, the web server may be accessed through a web browser of the cloud streaming server. In addition, after accessing the web server through a web browser, an image of the corresponding screen may be captured and saved while moving at least two or more subtitle screens by referring to menu items automatically.

이 때, 서브 타이틀 화면을 획득하기 위한 이동 방식은 웹 서버의 메뉴 항목이나 웹 서버의 종류에 따라 다양하게 설정될 수 있다. 또한, 이러한 이동 방식은 적어도 둘 이상의 비교화면을 획득할 때의 이동 방식과 동일할 수 있다. 즉, 사전에 적어도 둘 이상의 비교화면을 저장하기 위해 이동했던 방식과 동일하게 적어도 둘 이상의 서브 타이틀 화면을 획득할 수 있다.In this case, the moving method for acquiring the subtitle screen may be variously set according to a menu item of the web server or the type of the web server. Also, such a movement method may be the same as a movement method when at least two or more comparison screens are acquired. That is, at least two or more sub-title screens may be acquired in the same manner as in the manner of moving to store at least two or more comparison screens in advance.

이 때, 인덱스 파일과 마찬가지로 기설정된 주기마다 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득할 수 있다. 또한, 인덱스 파일을 획득하는 주기와는 별개로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득하기 위한 주기를 생성하여 사용할 수도 있다.At this time, like the index file, at least two or more continuous subtitle screens may be acquired every preset period. In addition, a period for acquiring at least two or more consecutive subtitle screens may be generated and used separately from the period for acquiring the index file.

이 때, 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득하여 웹 서버의 정상 동작 여부를 판단하는 과정은 인덱스 파일을 원본 인덱스 파일과 비교하여 정상 동작 여부를 판단하는 과정보다 많은 리소스를 사용할 수 있다. In this case, the process of determining whether the web server operates normally by acquiring at least two or more consecutive subtitle screens may use more resources than the process of determining whether the web server operates normally by comparing the index file with the original index file.

따라서, 너무 빈번하게 서브 타이틀 화면을 획득하여 웹 서버의 정상 동작 여부를 판단하는 경우, 웹 서버 모니터링 장치(110)에 발생하는 부하량이 커져서 시스템 오작동이 발생하거나 처리가 지연되는 문제가 발생할 수 있으므로 적절한 주기를 설정하여 서브 타이틀을 획득할 수 있다.Therefore, when it is determined whether the web server is operating normally by acquiring the subtitle screen too frequently, the load generated on the web server monitoring device 110 may increase, resulting in system malfunction or delay in processing. Subtitles can be acquired by setting the cycle.

예를 들어, 인덱스 파일을 획득하는 주기가 5분이라고 가정한다면, 서브 타이틀 화면을 획득하는 주기는 인덱스 파일을 획득하는 주기보다 길게 10분에서 15분으로 설정함으로써 웹 서버 및 웹 서버 모니터링 장치의 부하량을 조절할 수 있다.For example, if it is assumed that the cycle for acquiring the index file is 5 minutes, the cycle for acquiring the subtitle screen is set to 10 to 15 minutes longer than the cycle for acquiring the index file, so that the load on the web server and the web server monitoring device can be adjusted.

또한, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 인덱스 파일을 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 웹 서버의 정상 동작 여부를 판단한다(S615).In addition, the cloud streaming service-based web server monitoring method according to an embodiment of the present invention compares the index file with the original index file obtained when the web server operates normally to determine whether the web server operates normally (S615) .

이 때, 원본 인덱스 파일은 웹 서버 모니터링 장치를 통해 웹 서버의 모니터링을 수행하기 전에, 웹 서버가 정상 동작인 것을 확인하고 획득한 인덱스 파일에 상응할 수 있다. 즉, 웹 서버가 정상일 때의 인덱스 파일을 저장해두었다가 모니터링 시점에 획득한 인덱스 파일과 비교함으로써 웹 서버의 정상 동작 여부를 판단할 수 있다.In this case, the original index file may correspond to the obtained index file after confirming that the web server is in normal operation before monitoring the web server through the web server monitoring device. That is, it is possible to determine whether the web server is operating normally by storing the index file when the web server is normal and comparing it with the index file obtained at the time of monitoring.

이 때, 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 또한, 일치하지 않는 부분이 어느 부분인지 체크하여 추후에 에러 로그를 생성하는데 사용할 수도 있다. At this time, when the index file and the original index file do not match, it may be determined that the web server does not operate normally. Also, it can be used to generate an error log later by checking which part does not match.

이 때, 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득하고, 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다.At this time, when obtaining the index file, a status code is obtained based on the header of the HTTP message, and when the status code does not correspond to at least one or more preset normal codes, it is determined that the web server does not operate normally. can judge

이 때, 상태 코드는 특정 요청에 대한 응답 상태 코드에 상응할 수 있다. 즉, 본 발명에 실시예에 따른 HTTP 상태 코드는 HTTP 응답상태코드에 상응하며, 1xx, 2xx, 3xx, 4xx, 5xx로 구성될 수 있고, 각각의 구성마다 카테고리를 보유한다. 1xx는 조건부 응답, 2xx는 성공, 3xx는 리다이렉션 완료, 4xx는 요청 오류, 5xx는 응답 오류에 상응할 수 있다.In this case, the status code may correspond to a response status code for a specific request. That is, the HTTP status code according to an embodiment of the present invention corresponds to the HTTP response status code, and may be composed of 1xx, 2xx, 3xx, 4xx, 5xx, and each configuration has a category. 1xx can correspond to conditional response, 2xx to success, 3xx to redirect complete, 4xx to request error, and 5xx to response error.

예를 들어, 웹 서버의 인덱스 파일에 상응하는 index.html을 http 프로토콜을 사용하여 획득할 수 있다. 이 때, 웹 서버로부터 수신한 HTTP 메시지에 상응하는 http response 메시지의 헤더 중 상태 코드에 상응하는 http status 값을 획득할 수 있다. 이와 같이 획득한 http status 값이 여러 가지 상태 코드의 값들 중 정상에 상응하는 값인지 확인할 수 있다. 즉, 상태 코드가 'Request complete'에 상응하는 200번 또는 ' If-modified-since was not modified'에 상응하는 304번에 상응한다면, 웹 서버가 정상적으로 동작하고 있는 것으로 판단할 수 있다. 또는 상태 코드가 'Invalid syntax'에 상응하는 400번, 'Request forbidden'에 상응하는 403번 또는 'Object not found'에 상응하는 404번 등에 상응한다면, 웹 서버가 정상적으로 동작하고 있지 않은 것으로 판단할 수 있다.For example, index.html corresponding to the index file of the web server may be obtained using the http protocol. In this case, the http status value corresponding to the status code among the headers of the http response message corresponding to the HTTP message received from the web server may be acquired. It can be checked whether the http status value obtained in this way is a value corresponding to normal among various status code values. That is, if the status code corresponds to number 200 corresponding to 'Request complete' or number 304 corresponding to 'If-modified-since was not modified', it can be determined that the web server is operating normally. Or, if the status code corresponds to number 400 corresponding to 'Invalid syntax', number 403 corresponding to 'Request forbidden', or number 404 corresponding to 'Object not found', it can be determined that the web server is not operating normally. have.

이 때, 인덱스 파일과 원본 인덱스 파일을 비교하기 전에, 상태 코드를 이용하여 웹 서버의 정상 동작여부를 판단할 수 있다. 즉, 인덱스 파일과 원본 인덱스 파일을 비교하는 동작이 상태 코드를 확인하는 동작보다 많은 시간과 리소스를 사용할 수 있기 때문에, 먼저 상태 코드를 확인하여 웹 서버의 정상 동작 여부를 판단할 수 있다.At this time, before comparing the index file with the original index file, it is possible to determine whether the web server is operating normally by using the status code. That is, since the operation of comparing the index file and the original index file can use more time and resources than the operation of checking the status code, it is possible to determine whether the web server is operating normally by checking the status code first.

또한, 인덱스 파일과 원본 인덱스 파일을 비교하는 과정과 상태 코드를 확인하는 과정을 동시에 수행할 수도 있다.In addition, the process of comparing the index file with the original index file and the process of checking the status code may be simultaneously performed.

이 때, 웹 서버가 정상 동작할 때 획득된 적어도 둘 이상의 연속적 서브 타이틀 화면에 상응하는 적어도 둘 이상의 비교화면을 이용하여 웹 서버의 정상 동작 여부를 판단할 수 있다. 예를 들어, 웹 서버가 정상 동작할 때 웹 서버의 메뉴 중 A1, A2, A3를 순서대로 이동하며 비교화면을 획득할 수 있다. 이 후, 웹 서버를 모니터링 하기 위한 연속적 서브 타이틀 화면을 획득하기 위해서는, 비교화면을 획득할 때와 동일하게 A1, A2, A3의 메뉴 순서대로 이동하면서 서브 타이틀 화면을 획득할 수 있다. 이렇게 획득한 비교화면과 서브 타이틀 화면이 일치하는지 여부를 확인하여 웹 서버의 정상 동작 여부를 판단할 수 있다. In this case, it may be determined whether the web server is operating normally by using at least two comparison screens corresponding to at least two or more consecutive subtitle screens obtained when the web server operates normally. For example, when the web server operates normally, the comparison screen may be acquired by moving A1, A2, and A3 among the menus of the web server in order. Thereafter, in order to acquire continuous subtitle screens for monitoring the web server, the subtitle screens may be acquired while moving in the menu order of A1, A2, and A3 in the same way as when acquiring the comparison screen. It is possible to determine whether the web server is operating normally by checking whether the obtained comparison screen and the subtitle screen match.

또한, 비교화면과 서브 타이틀 화면의 일치 여부는 이미지를 서로 비교할 수 있는 이미지 비교 방법들을 이용하여 확인할 수 있다. 예를 들어, 웹 서버로부터 획득한 적어도 둘 이상의 비교화면과 적어도 둘 이상의 서브 타이틀 화면의 픽셀들을 비교하여 두 화면이 동일한지 여부를 판단할 수도 있다.In addition, whether the comparison screen and the subtitle screen match can be checked using image comparison methods that can compare images with each other. For example, it may be determined whether the two screens are the same by comparing pixels of at least two or more comparison screens obtained from a web server and at least two or more sub-title screens.

이 때, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하지 않는 경우에 웹 서버가 정상 동작하지 않는 것으로 판단할 수 있다. 즉, 웹 서버가 정상 동작한다면, 같은 메뉴 항목들을 이동하면서 생성된 화면이 동일해야 하기 때문에, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하지 않는다면 웹 서버에서 오류가 발생한 것으로 판단할 수 있다.At this time, when at least two or more consecutive subtitle screens and at least two or more comparison screens do not match, it may be determined that the web server does not operate normally. That is, if the web server operates normally, since the screens created while moving the same menu items must be the same, if at least two consecutive subtitle screens and at least two comparison screens do not match, it is determined that an error has occurred in the web server. can

또한, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 웹 서버가 정상 동작하지 않는 경우에 에러 로그를 생성하고, 클라우드 스트리밍 서비스 시스템에 에러 로그를 기록한다(S620).In addition, the cloud streaming service-based web server monitoring method according to an embodiment of the present invention generates an error log when the web server does not operate normally, and records the error log in the cloud streaming service system (S620).

이 때, 클라우드 스트리밍 서비스 시스템은 클라우드 스트리밍 서버에 상응할 수 있으며, 에러 로그를 클라우드 스트리밍 서버에 기록함으로써 클라우드 스트리밍 서버가 웹 서버를 복구하도록 제어할 수 있다.At this time, the cloud streaming service system may correspond to the cloud streaming server, and by recording the error log to the cloud streaming server, the cloud streaming server may be controlled to restore the web server.

이 때, 에러 로그는 클라우드 스트리밍 서비스 시스템에서 인지할 수 있도록 사전에 설정된 형식에 상응하게 생성될 수 있다. 즉, 시스템 메시지 또는 시스템 상태 코드에 상응하는 형태일 수 있다. At this time, the error log may be generated corresponding to a format set in advance to be recognized by the cloud streaming service system. That is, it may be in a form corresponding to a system message or a system status code.

또한, 에러 로그는 웹 서버에서 에러를 감지한 방식에 따라 별도의 감지 정보를 포함할 수 있다. 예를 들어, 상태 코드를 이용하여 에러를 감지한 경우에는 에러 로그와 함께 획득한 상태 코드의 정보를 포함시킬 수 있다. 또한, 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 경우에는 에러 로그와 함께 인덱스 파일과 원본 인덱스 파일이 일치하지 않는 부분을 포함시킬 수도 있다.Also, the error log may include separate detection information according to a method of detecting an error in the web server. For example, when an error is detected using the status code, information on the acquired status code may be included with the error log. In addition, when the index file and the original index file do not match, the part where the index file and the original index file do not match may be included along with the error log.

이와 같이 에러 로그와 함께 관련된 정보를 함께 기록함으로써, 클라우드 스트리밍 서비스 시스템의 관리자가 보다 수월하게 오류상황을 파악할 수 있다.By recording the related information together with the error log in this way, the administrator of the cloud streaming service system can more easily understand the error situation.

또한, 도 6에는 도시하지 아니하였으나, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 원본 인덱스 파일, 적어도 둘 이상의 비교화면 및 적어도 하나의 기설정된 정상 코드 중 적어도 하나를 데이터베이스에 저장한다.In addition, although not shown in FIG. 6 , the cloud streaming service-based web server monitoring method according to an embodiment of the present invention stores at least one of an original index file, at least two or more comparison screens, and at least one preset normal code in the database. save to

예를 들어, 모니터링을 수행하기 전에 웹 서버에 접속하여 원본 인덱스 파일과 적어도 둘 이상의 비교화면을 획득하여 저장해둘 수 있다. 또한 복수 개의 상태 코드 중에서 적어도 하나의 정상 코드를 설정하여 별도로 저장해 둘 수 있다. 이와 같이 적어도 하나의 정상 코드를 사전에 설정하여 별도로 저장해 둠으로써, 후에 모니터링을 수행하여 획득한 상태 코드가 정상 코드에 해당하는지 여부를 신속하게 판단할 수 있다.For example, before monitoring is performed, the original index file and at least two or more comparison screens may be acquired and stored by accessing the web server. In addition, at least one normal code among the plurality of status codes may be set and stored separately. In this way, by setting at least one normal code in advance and separately storing it, it is possible to quickly determine whether a status code obtained by performing monitoring later corresponds to a normal code.

또한, 데이터베이스는 상술한 바와 같이 본 발명의 실시예에 따른 웹 서버 모니터링 과정에서 발생하는 다양한 정보를 저장할 수 있다.In addition, as described above, the database may store various information generated during the web server monitoring process according to the embodiment of the present invention.

실시예에 따라, 데이터베이스는 웹 서버 모니터링 장치와 독립적으로 구성되어 웹 서버 모니터링을 위한 기능을 지원할 수 있다. 이 때, 데이터베이스는 별도의 대용량 스토리지로 동작할 수 있고, 동작 수행을 위한 제어 기능을 포함할 수도 있다.According to an embodiment, the database may be configured independently of the web server monitoring device to support a function for monitoring the web server. In this case, the database may operate as a separate mass storage and may include a control function for performing the operation.

이와 같은 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법을 이용하여 웹 서버의 http 프로토콜뿐만 아니라 웹 서버의 상태를 모니터링 할 수 있다. 또한, 주기적으로 웹 서버의 모니터링을 수행함으로써 웹 서버에서 발생하는 오류를 신속하게 처리할 수 있고, 이에 따라 보다 원활한 클라우드 스트리밍 서비스를 제공할 수 있다.By using such a cloud streaming service-based web server monitoring method, it is possible to monitor the status of the web server as well as the http protocol of the web server. In addition, by periodically monitoring the web server, errors occurring in the web server can be quickly dealt with, and accordingly, a more seamless cloud streaming service can be provided.

도 7은 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법을 상세하게 나타낸 동작 흐름도이다.7 is a detailed operation flowchart illustrating a method for monitoring a web server based on a cloud streaming service according to an embodiment of the present invention.

도 7을 참조하면, 본 발명의 일실시예에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법은 먼저 웹 서버에 상응하는 인덱스 파일 및 웹 서버에서 제공되는 메뉴 정보를 기반으로 적어도 둘 이상의 연속적 서브 타이틀 화면을 획득한다(S710).Referring to FIG. 7 , in the method for monitoring a web server based on a cloud streaming service according to an embodiment of the present invention, first, at least two or more continuous subtitle screens based on an index file corresponding to the web server and menu information provided from the web server to obtain (S710).

이 때, 인덱스 파일은 웹 서버에 접속하였을 때 제공되는 대표 문서로서, 클라우드 스트리밍 서버의 웹 브라우저에서 웹 서버의 특정 디렉토리에 접속했을 때 자동적으로 보여주는 파일일 수 있다.In this case, the index file is a representative document provided when accessing the web server, and may be a file that is automatically displayed when a web browser of the cloud streaming server accesses a specific directory of the web server.

또한, 종래의 웹 서버 모니터링 도구는 단순히 웹 서버의 http protocol 감시를 하는 정도였으나, 본 발명에서는 브라우저에서 최종 렌더링된 이미지에 상응하는 적어도 둘 이상의 연속적 서브 타이틀 화면을 이용하여 웹 서버가 정상 동작 중인지 여부를 판단할 수 있다.In addition, the conventional web server monitoring tool merely monitors the http protocol of the web server, but in the present invention, whether the web server is operating normally by using at least two or more continuous subtitle screens corresponding to the final rendered image in the browser. can be judged

이 후, 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득한다(S720).After that, when acquiring the index file, a status code is acquired based on the header of the HTTP message (S720).

예를 들어, 웹 서버의 인덱스 파일에 상응하는 index.html을 http 프로토콜을 사용하여 획득할 수 있다. 이 때, 웹 서버로부터 수신한 HTTP 메시지에 상응하는 http response 메시지의 헤더 중 상태 코드에 상응하는 http status 값을 획득할 수 있다.For example, index.html corresponding to the index file of the web server may be obtained using the http protocol. In this case, the http status value corresponding to the status code among the headers of the http response message corresponding to the HTTP message received from the web server may be acquired.

이 후, 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하는지 여부를 판단한다(S725). 예를 들어, 상태 코드가 'Request complete'에 상응하는 200번 또는 'If-modified-since was not modified'에 상응하는 304번에 상응한다면, 웹 서버가 정상적으로 동작하고 있는 것으로 판단할 수 있다. 또는 상태 코드가 'Invalid syntax'에 상응하는 400번, 'Request forbidden'에 상응하는 403번 또는 'Object not found'에 상응한느 404번 등에 상응한다면, 웹 서버가 정상적으로 동작하고 있지 않은 것으로 판단할 수 있다.Thereafter, it is determined whether the status code corresponds to at least one or more preset normal codes (S725). For example, if the status code corresponds to number 200 corresponding to 'Request complete' or number 304 corresponding to 'If-modified-since was not modified', it can be determined that the web server is operating normally. Or, if the status code corresponds to 400 corresponding to 'Invalid syntax', 403 to 'Request forbidden', or 404 to 'Object not found', it is determined that the web server is not operating normally. can

단계(S725)의 판단결과 상응하지 않으면, 에러 로그를 생성하여(S730) 클라우드 스트리밍 시스템에 기록한다(S740).If it does not correspond to the determination result of step S725, an error log is generated (S730) and recorded in the cloud streaming system (S740).

이 때, 에러 로그는 클라우드 스트리밍 서비스 시스템에서 인지할 수 있도록 사전에 설정된 형식에 상응하게 생성될 수 있다. 즉, 시스템 메시지 또는 시스템 상태 코드에 상응하는 형태일 수 있다.At this time, the error log may be generated corresponding to a format set in advance to be recognized by the cloud streaming service system. That is, it may be in a form corresponding to a system message or a system status code.

단계(S725)의 판단결과 상응하면, 인덱스 파일과 원본 인덱스 파일이 일치하는지 여부를 판단한다(S735).If the result of the determination in step S725 corresponds to that, it is determined whether the index file matches the original index file (S735).

단계(S735)의 판단결과 일치하지 않으면, 에러 로그를 생성하여(S730) 클라우드 스트리밍 시스템에 기록한다(S740). If the determination result in step S735 does not match, an error log is generated (S730) and recorded in the cloud streaming system (S740).

단계(S735)의 판단결과 일치하면, 적어도 둘 이상의 연속적 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하는지 여부를 판단한다(S745).If the determination result of step S735 matches, it is determined whether at least two or more consecutive subtitle screens match with at least two or more comparison screens (S745).

단계(S745)의 판단결과 일치하지 않으면, 에러 로그를 생성하여(S730) 클라우드 스트리밍 시스템에 기록한다(S740).If the determination result in step S745 does not match, an error log is generated (S730) and recorded in the cloud streaming system (S740).

단계(S745)의 판단결과 일치하면, 현재 웹 서버에서는 에러가 발생하지 않은 것으로 판단하고 기설정된 주기 동안 대기한다(S750).If the result of the determination in step S745 is consistent, it is determined that an error has not occurred in the current web server and waits for a preset period (S750).

이 후, 다시 단계(S710)부터의 과정을 수행함으로써 지속적으로 웹 서버를 모니터링 할 수 있다. 즉, 클라우드 스트리밍 서비스 시스템이 운용되는 동안에는 지속적으로 웹 서버를 모니터링 할 필요가 있으므로, 사전에 모니터링을 수행할 주기를 설정해두고 설정된 주기에 따라 웹 서버에 상응하는 인덱스 파일을 획득할 수 있다.After that, by performing the process from step S710 again, it is possible to continuously monitor the web server. That is, since it is necessary to continuously monitor the web server while the cloud streaming service system is operating, a period for monitoring can be set in advance and an index file corresponding to the web server can be obtained according to the set period.

도 8은 본 발명의 일실시예에 따라 인덱스 파일 및 상태코드를 이용하는 웹 서버 모니터링 과정을 나타낸 도면이다.8 is a diagram illustrating a web server monitoring process using an index file and a status code according to an embodiment of the present invention.

도 8을 참조하면, 본 발명의 일실시예에 따라 인덱스 파일 및 상태 코드를 이용하는 웹 서버 모니터링 과정은 먼저 웹 서버 모니터링 장치(810)가 웹 서버(820)에게 인덱스 파일을 요청한다(S802).Referring to FIG. 8 , in the process of monitoring a web server using an index file and a status code according to an embodiment of the present invention, the web server monitoring device 810 first requests an index file from the web server 820 ( S802 ).

이 때, 인덱스 파일은 웹 서버에 접속하였을 때 제공되는 대표 문서로서, 클라우드 스트리밍 서버의 웹 브라우저에서 웹 서버의 특정 디렉토리에 접속했을 때 자동적으로 보여주는 파일일 수 있다.In this case, the index file is a representative document provided when accessing the web server, and may be a file that is automatically displayed when a web browser of the cloud streaming server accesses a specific directory of the web server.

이 후, 웹 서버 모니터링 장치(810)의 요청을 수신한 웹 서버(820)는 인덱스 파일을 웹 서버 모니터링 장치(810)에게 전송한다(S804).Thereafter, the web server 820 receiving the request from the web server monitoring device 810 transmits the index file to the web server monitoring device 810 ( S804 ).

이 후, 웹 서버 모니터링 장치(810)는 인덱스 파일을 수신하면서 Response 메시지의 헤더에 포함된 상태코드를 획득한다(S806).Thereafter, the web server monitoring device 810 acquires the status code included in the header of the response message while receiving the index file (S806).

이 후, 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하는지 여부를 판단한다(S808).Thereafter, it is determined whether the status code corresponds to at least one or more preset normal codes (S808).

단계(S808)의 판단결과 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하지 않으면, 에러 로그를 생성하여 클라우드 스트리밍 서버(830)로 전달한다(S810).If the determination result in step S808 does not correspond to at least one or more preset normal codes, an error log is generated and delivered to the cloud streaming server 830 (S810).

이 후, 클라우드 스트리밍 서버(830)에서는 수신한 에러 로그를 기록하여(S812) 웹 서버(820)에서 발생한 에러를 감지할 수 있다.Thereafter, the cloud streaming server 830 records the received error log ( S812 ) to detect an error occurring in the web server 820 .

또한, 단계(S808)의 판단결과 상태 코드가 적어도 하나 이상의 기설정된 정상 코드에 상응하면, 인덱스 파일이 웹 서버 모니터링 장치(810)의 데이터베이스에 저장된 원본 인덱스 파일과 일치하는지 여부를 판단한다(S814).In addition, if it is determined in step S808 that the status code corresponds to at least one or more preset normal codes, it is determined whether the index file matches the original index file stored in the database of the web server monitoring device 810 (S814) .

단계(S814)의 판단결과 일치하지 않으면, 에러 로그를 생성하여 클라우드 스트리밍 서버(830)로 전달한다(S816).If the determination result in step S814 does not match, an error log is generated and delivered to the cloud streaming server 830 (S816).

이 후, 클라우드 스트리밍 서버(830)에서는 수신한 에러 로그를 기록하여(S818) 웹 서버(820)에서 발생한 에러를 감지할 수 있다.Thereafter, the cloud streaming server 830 records the received error log (S818) to detect an error occurring in the web server 820.

또한, 단계(S814)의 판단결과 일치하면, 기설정된 주기 동안 대기하였다가(S820), 다시 웹 서버(820)를 모니터링 하기 위한 동작을 수행할 수 있다.In addition, if the determination result in step S814 is consistent with the determination result, the operation for monitoring the web server 820 may be performed again after waiting for a preset period (S820).

도 9는 본 발명의 일실시예에 따라 비교화면을 이용하는 웹 서버 모니터링 과정을 나타낸 도면이다.9 is a diagram illustrating a web server monitoring process using a comparison screen according to an embodiment of the present invention.

도 9를 참조하면, 본 발명의 일실시예에 따라 비교화면을 이용하여 웹 서버 모니터링 과정은 먼저 웹 서버 모니터링 장치(910)가 웹 서버(920)에게 적어도 둘 이상의 서브 타이틀 화면을 요청한다(S902).Referring to FIG. 9 , in the process of monitoring a web server using a comparison screen according to an embodiment of the present invention, first, the web server monitoring device 910 requests at least two or more subtitle screens from the web server 920 ( S902 ). ).

이 후, 요청을 받은 웹 서버(920)는 적어도 둘 이상의 서브 타이틀 화면을 이미지로 캡처하여 웹 서버 모니터링 장치(910)로 전송한다(S904).Thereafter, the web server 920 receiving the request captures at least two or more subtitle screens as images and transmits them to the web server monitoring device 910 ( S904 ).

이 후, 웹 서버 모니터링 장치(910)는 적어도 둘 이상의 서브 타이틀 화면과 데이터베이스에 저장된 적어도 둘 이상의 비교화면을 비교한다(S906).Thereafter, the web server monitoring device 910 compares at least two or more subtitle screens with at least two or more comparison screens stored in the database (S906).

이 후, 적어도 둘 이상의 서브 타이틀 화면과 적어도 둘 이상의 비교화면이 일치하는지 판단하여(S908) 일치하지 않으면, 에러 로그를 생성하여 클라우드 스트리밍 서버(930)로 전달한다(S910).After that, it is determined whether at least two or more subtitle screens match at least two or more comparison screens (S908). If they do not match, an error log is generated and transmitted to the cloud streaming server 930 (S910).

이 후, 클라우드 스트리밍 서버(930) 에서는 수신한 에러 로그를 기록하여(S912) 웹 서버(920)에서 발생한 에러를 감지할 수 있다.Thereafter, the cloud streaming server 930 records the received error log ( S912 ) to detect an error occurring in the web server 920 .

또한, 단계(S908)의 판단결과 일치하면, 웹 서버(920)에서 오류가 발생하지 않은 것으로 판단하고 기설정된 주기 동안 대기한다(S914).In addition, if the determination result of step S908 matches, it is determined that an error has not occurred in the web server 920 and waits for a preset period (S914).

이 때, 기설정된 주기가 지나고 나면 다시 웹 서버(920)를 모니터링 하기 위한 과정을 반복하여 수행할 수 있다.In this case, after the preset period has elapsed, the process for monitoring the web server 920 may be repeated again.

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

이상에서와 같이 본 발명에 따른 클라우드 스트리밍 서비스 기반의 웹 서버 모니터링 방법 및 이를 위한 장치는 상기한 바와 같이 설명된 실시예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 상기 실시예들은 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.As described above, in the cloud streaming service-based web server monitoring method and device for the same according to the present invention, the configuration and method of the embodiments described above are not limitedly applicable, but the embodiments are subject to various modifications. All or part of each embodiment may be selectively combined and configured to be achieved.

본 발명에 의하면 웹 서버에 상응하는 인덱스 파일을 획득하고, 인덱스 파일을 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 웹 서버의 정상 동작 여부를 판단하고, 웹 서버가 정상 동작하지 않는 경우에 에러 로그를 생성하여 클라우드 스트리밍 서비스 시스템에 기록할 수 있다. 나아가, 클라우드 스트리밍 서비스 시 별도의 관리자를 통해 웹 서버를 모니터링 하지 않고도 웹 서버에서 발생하는 오류를 신속하게 감지할 수 있어 효율적인 모니터링 시스템을 구축하는 것이 가능하다.According to the present invention, an index file corresponding to the web server is obtained, and the index file is compared with the original index file obtained when the web server is operating normally to determine whether the web server is operating normally, and the web server is not operating normally. In this case, an error log can be created and recorded in the cloud streaming service system. Furthermore, in the case of cloud streaming service, it is possible to quickly detect errors occurring in the web server without monitoring the web server through a separate administrator, making it possible to build an efficient monitoring system.

110, 310: 웹 서버 모니터링 장치
120-1~ 120-N, 320: 웹 서버
130: 클라우드 스트리밍 서버 140-1~ 140-N: 단말
150: 네트워크 210: 인덱스 파일 획득부
220: 서브 타이틀 화면 획득부 230: 판단부
240: 로그 기록부 250: 데이터베이스
311: Request 메시지 321: Response 메시지
410: 상태코드 정보 510~ 540: 비교화면
110, 310: web server monitoring device
120-1~ 120-N, 320: web server
130: cloud streaming server 140-1~ 140-N: terminal
150: network 210: index file acquisition unit
220: sub-title screen acquisition unit 230: judgment unit
240: log log 250: database
311: Request message 321: Response message
410: status code information 510~ 540: comparison screen

Claims (7)

웹 서버에서 제공되는 메뉴 정보를 기반으로 복수의 연속적 서브 타이틀 화면을 획득하는 서브 타이틀 화면 획득부; 및
상기 웹 서버가 정상 동작할 때 획득된 복수의 연속적 서브 타이틀 화면에 상응하는 복수의 비교 화면을 이용하여 상기 웹 서버의 정상 동작 여부를 판단하고, 상기 판단 결과가 일치하지 않으면 상기 웹 서버가 정상 동작하지 않는 것으로 판단하는 판단부;
를 포함하는 웹 서버 모니터링 장치.
a sub-title screen acquiring unit for acquiring a plurality of consecutive sub-title screens based on menu information provided from the web server; and
When the web server operates normally, it is determined whether the web server is operating normally by using a plurality of comparison screens corresponding to a plurality of consecutive subtitle screens obtained when the web server operates normally. If the determination results do not match, the web server operates normally. a judging unit judging not to;
A web server monitoring device comprising a.
제 1항에 있어서,
웹 서버에 상응하는 인덱스 파일을 획득하는 인덱스 파일 획득부;를 더 포함하되,
상기 판단부는,
상기 인덱스 파일을 상기 웹 서버가 정상 동작할 때 획득된 원본 인덱스 파일과 비교하여 상기 웹 서버의 정상 동작 여부를 판단하는 것을 특징으로 하는 웹 서버 모니터링 장치.
The method of claim 1,
Further comprising; an index file obtaining unit for obtaining an index file corresponding to the web server;
The judging unit,
and comparing the index file with an original index file obtained when the web server operates normally to determine whether the web server operates normally.
제 2항에 있어서,
상기 판단부는
상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드(Status Code)를 획득하고, 상기 상태 코드가 적어도 하나의 기설정된 정상 코드에 상응하지 않는 경우에 상기 웹 서버가 정상 동작하지 않는 것으로 판단하는 것을 특징으로 하는 웹 서버 모니터링 장치.
3. The method of claim 2,
The judging unit
When obtaining the index file, a status code is obtained based on a header of an HTTP message, and when the status code does not correspond to at least one preset normal code, it is determined that the web server does not operate normally. Web server monitoring device, characterized in that the judgment.
제 2항에 있어서,
상기 판단부는
상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드를 획득하고, 상기 인덱스 파일과 상기 원본 인덱스 파일을 비교하기 전에 상기 상태 코드를 이용하여 상기 웹 서버의 정상 동작 여부를 판단하는 것을 특징으로 하는 웹 서버 모니터링 장치.
3. The method of claim 2,
The judging unit
Obtaining a status code based on a header of an HTTP message when acquiring the index file, and determining whether the web server is operating normally using the status code before comparing the index file with the original index file A web server monitoring device.
제 2항에 있어서,
상기 판단부는
상기 인덱스 파일을 획득할 때 HTTP 메시지의 헤더를 기반으로 상태 코드를 획득하고, 상기 인덱스 파일과 상기 원본 인덱스 파일을 비교하는 과정과 동시에 상기 상태 코드를 확인하여 상기 웹 서버의 정상 동작 여부를 판단하는 것을 특징으로 하는 웹 서버 모니터링 장치.
3. The method of claim 2,
The judging unit
When acquiring the index file, a status code is obtained based on a header of an HTTP message, and the status code is checked at the same time as the process of comparing the index file and the original index file to determine whether the web server is operating normally. Web server monitoring device, characterized in that.
제 2항에 있어서,
상기 판단부는
상기 인덱스 파일과 상기 원본 인덱스 파일이 일치하지 않는 경우, 상기 웹 서버가 정상 동작하지 않는 것으로 판단하고, 에러 로그의 생성을 위해 일치하지 않는 부분이 어느 부분인지 체크하는 것을 특징으로 하는 웹 서버 모니터링 장치.
3. The method of claim 2,
The judging unit
When the index file and the original index file do not match, it is determined that the web server is not operating normally, and checking which part does not match is checked to generate an error log. .
웹 서버 모니터링 장치가 웹 서버에서 제공되는 메뉴 정보를 기반으로 복수의 연속적 서브 타이틀 화면을 획득하는 단계;
상기 웹 서버 모니터링 장치가 상기 웹 서버가 정상 동작할 때 획득된 복수의 연속적 서브 타이틀 화면에 상응하는 복수의 비교 화면을 이용하여 상기 웹 서버의 정상 동작 여부를 판단하는 단계; 및
상기 웹 서버 모니터링 장치가 상기 판단 결과가 일치하지 않으면 상기 웹 서버가 정상 동작하지 않는 것으로 판단하는 단계;
를 포함하는 웹 서버 모니터링 방법.
acquiring, by a web server monitoring device, a plurality of continuous subtitle screens based on menu information provided from the web server;
determining, by the web server monitoring device, whether the web server is operating normally by using a plurality of comparison screens corresponding to a plurality of consecutive subtitle screens obtained when the web server operates normally; and
determining, by the web server monitoring device, that the web server does not operate normally if the determination result does not match;
A web server monitoring method comprising a.
KR1020210087380A 2015-04-24 2021-07-02 Method for monitoring web server based on cloud streaming service and apparatus for the same KR102336604B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210087380A KR102336604B1 (en) 2015-04-24 2021-07-02 Method for monitoring web server based on cloud streaming service and apparatus for the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020150057982A KR102275179B1 (en) 2015-04-24 2015-04-24 Method for monitoring web server based on cloud streaming service and apparatus for the same
KR1020210087380A KR102336604B1 (en) 2015-04-24 2021-07-02 Method for monitoring web server based on cloud streaming service and apparatus for the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020150057982A Division KR102275179B1 (en) 2015-04-24 2015-04-24 Method for monitoring web server based on cloud streaming service and apparatus for the same

Publications (2)

Publication Number Publication Date
KR20210084417A KR20210084417A (en) 2021-07-07
KR102336604B1 true KR102336604B1 (en) 2021-12-06

Family

ID=57518159

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020150057982A KR102275179B1 (en) 2015-04-24 2015-04-24 Method for monitoring web server based on cloud streaming service and apparatus for the same
KR1020210087380A KR102336604B1 (en) 2015-04-24 2021-07-02 Method for monitoring web server based on cloud streaming service and apparatus for the same

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020150057982A KR102275179B1 (en) 2015-04-24 2015-04-24 Method for monitoring web server based on cloud streaming service and apparatus for the same

Country Status (1)

Country Link
KR (2) KR102275179B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107370806B (en) * 2017-07-12 2020-11-24 北京京东尚科信息技术有限公司 HTTP status code monitoring method, device, storage medium and electronic equipment
KR102027823B1 (en) 2019-04-24 2019-10-02 주식회사 리앙커뮤니케이션즈 Intelligent caching system with improved system response performance based on plug in method
KR102368147B1 (en) 2021-10-19 2022-02-25 강동원 Server monitoring system and the driving method
KR102399305B1 (en) 2022-03-02 2022-05-17 최주림 Server monitoring system driving method
KR102576226B1 (en) 2023-02-28 2023-09-06 오병율 Caching system that can predict and resolve server overload through artificial intelligence algorithms

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100894331B1 (en) * 2006-11-15 2009-04-24 한국전자통신연구원 Anomaly Detection System and Method of Web Application Attacks using Web Log Correlation
KR101414994B1 (en) 2012-11-12 2014-07-04 (주)이공감 Server of monitoring for server resources and web service and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10293707A (en) * 1997-04-18 1998-11-04 Hitachi Ltd Method for utilizing updating data utilizing mass read dedicated storage medium
KR101147251B1 (en) * 2010-07-13 2012-05-18 (주)트리니티소프트 Apparatus for security web server
KR101408037B1 (en) 2012-01-13 2014-06-17 주식회사 케이티 Virtual Machine Integration Monitoring Apparatus and method for Cloud system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100894331B1 (en) * 2006-11-15 2009-04-24 한국전자통신연구원 Anomaly Detection System and Method of Web Application Attacks using Web Log Correlation
KR101414994B1 (en) 2012-11-12 2014-07-04 (주)이공감 Server of monitoring for server resources and web service and method thereof

Also Published As

Publication number Publication date
KR102275179B1 (en) 2021-07-08
KR20210084417A (en) 2021-07-07
KR20160126655A (en) 2016-11-02

Similar Documents

Publication Publication Date Title
KR102336604B1 (en) Method for monitoring web server based on cloud streaming service and apparatus for the same
US9342620B2 (en) Loading of web resources
US9374403B2 (en) Media stream fragment request
KR102354803B1 (en) User apparatus for managing web application and method therefor
US20150341459A1 (en) Method and Apparatus for Automatically Optimizing the Loading of Images in a Cloud-Based Proxy Service
US20180367601A1 (en) Method, apparatus, and system for pushing application program, and device
KR20140126328A (en) Using an application cache to update resources of installed applications
US8707162B1 (en) Methods and systems for reducing web page transmission bandwidth
US9247290B2 (en) Seamless transition between display applications using direct device selection
CN112312222A (en) Video sending method and device and electronic equipment
US8667080B2 (en) Computer-implemented method, a computer program product and an embedded system for increasing the speed of data retrieval by a client on the embedded system
KR102426670B1 (en) System for cloud streaming service, method of image cloud streaming service using process shortering and apparatus for the same
US20170171307A1 (en) Method and electronic apparatus for processing picture
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
US9043441B1 (en) Methods and systems for providing network content for devices with displays having limited viewing area
US9058405B2 (en) Playback apparatus and playback method
KR101543295B1 (en) Application error detection method for cloud streaming service, apparatus and system therefor
JP6772389B2 (en) Reducing redirects
KR20120082300A (en) Apparatus and method for providing contents
CN110008423B (en) Off-line processing method of dynamic webpage, output terminal and storage medium
US20140122573A1 (en) Method and system for processing data through network
KR102313531B1 (en) System for cloud streaming service, method of cloud streaming service using single session multi-access and apparatus for the same
KR102306889B1 (en) System for cloud streaming service, method of image cloud streaming service using data substitution and apparatus for the same
KR101703963B1 (en) Method and system for providing multimedia service using cash server

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