KR101302856B1 - Method and system monitoring u-city based on web using push type - Google Patents
Method and system monitoring u-city based on web using push type Download PDFInfo
- Publication number
- KR101302856B1 KR101302856B1 KR1020110085184A KR20110085184A KR101302856B1 KR 101302856 B1 KR101302856 B1 KR 101302856B1 KR 1020110085184 A KR1020110085184 A KR 1020110085184A KR 20110085184 A KR20110085184 A KR 20110085184A KR 101302856 B1 KR101302856 B1 KR 101302856B1
- Authority
- KR
- South Korea
- Prior art keywords
- client
- control
- socket
- situation
- control data
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 103
- 238000012544 monitoring process Methods 0.000 title claims description 42
- 238000012545 processing Methods 0.000 claims abstract description 107
- 230000004044 response Effects 0.000 claims description 33
- 238000007405 data analysis Methods 0.000 claims description 23
- 238000013523 data management Methods 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 11
- 238000013500 data storage Methods 0.000 claims description 9
- 238000007726 management method Methods 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 2
- 230000000644 propagated effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 206010039203 Road traffic accident Diseases 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 1
- 208000006930 Pseudomyxoma Peritonei Diseases 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 229920000306 polymethylpentene Polymers 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
Images
Classifications
-
- G06Q50/40—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
본 발명은 관제 대상 도시(예컨대, 유비쿼터스 도시 등)를 관제하는 관제 서버에서는 소켓 연결을 통해 웹기반 클라이언트에 푸시하고, 클라이언트에서는 실시간으로 푸시된 관제 데이터에 대한 관제 상황을 표시한 후, 특정 클라이언트가 해당 관제 상황을 처리한 후 나머지 클라이언트와의 동기화를 위해 상황 처리 정보와 해당 클라이언트의 ID를 HTTP 프로토콜을 이용해 서버에 전송하고, 관제 서버에서는 전달받은 정보를 연결된 소켓을 통해 브로드캐스팅하여 클라이언트 간의 동기화를 수행함으로써, 유비쿼터스 도시 관제시 실시간으로 관제 상황을 모든 클라이언트에게 전파하여 해당 클라이언트가 적절하게 대응할 수 있으며, 관제 상황 처리시 다른 클라이언트에게도 상황 처리 정보를 용이하게 동기화시킬 수 있다.According to the present invention, a control server controlling a control target city (for example, a ubiquitous city, etc.) pushes a web-based client to a web-based client through a socket connection, and displays a control situation for control data pushed in real time on the client, and then a specific client After processing the control situation, send the situation processing information and the ID of the client to the server using the HTTP protocol for synchronization with the rest of the clients, and the control server broadcasts the received information through the connected socket to perform synchronization between the clients. By performing the ubiquitous city control, the control situation can be propagated to all clients in real time so that the corresponding client can respond appropriately, and the process can easily synchronize the situation processing information to other clients.
Description
본 발명은 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법 및 그 시스템에 관한 것으로서, 상세하게는 관제 대상 도시(예컨대, 유비쿼터스 도시 등)를 관제하는 관제 서버에서는 소켓 연결을 통해 웹기반 클라이언트에 푸시하고, 클라이언트에서는 실시간으로 푸시된 관제 데이터에 대한 관제 상황을 표시한 후, 특정 클라이언트가 해당 관제 상황을 처리한 후 나머지 클라이언트와의 동기화를 위해 상황 처리 정보와 해당 클라이언트의 ID를 HTTP 프로토콜을 이용해 서버에 전송하고, 관제 서버에서는 전달받은 정보를 연결된 소켓을 통해 브로드캐스팅하여 클라이언트 간의 동기화를 수행함으로써, 유비쿼터스 도시 관제시 실시간으로 관제 상황을 모든 클라이언트에게 전파하여 해당 클라이언트가 적절하게 대응할 수 있으며, 관제 상황 처리시 다른 클라이언트에게도 상황 처리 정보를 용이하게 동기화시킬 수 있는, 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법 및 그 시스템에 관한 것이다.The present invention relates to a web-based U-city control method and system using a push method, and more specifically, to a control server controlling a control target city (eg, ubiquitous city, etc.), pushes to a web-based client through a socket connection. In addition, the client displays the control status of the control data pushed in real time, and after the specific client processes the control status, the status processing information and the ID of the client are synchronized using the HTTP protocol for synchronization with the remaining clients. By transmitting the information to the control server and broadcasting the received information through the connected socket to perform synchronization between clients, the control situation can be propagated to all clients in real time during ubiquitous city control so that the client can respond appropriately. Different clos when processing Bryant also relates to a web-based City U- control method and system using a push method that can be easily synchronized contextual processing information.
유비쿼터스 도시(U-city: Ubiquitous-City)는 도시의 경쟁력과 삶의 질 향상을 위하여 유비쿼터스 도시 기술을 활용하여 건설된 유비쿼터스 도시 기반 시설 등을 통하여 언제 어디서나 유비쿼터스 도시 서비스를 제공하는 도시를 말한다. 유비쿼터스 도시에서는 도시 주요 시설물과 긴급 상황에 대한 관제시 해당 상황에 대한 신속한 처리가 필수적이다. 이를 위해, 모니터링의 주체(예컨대, 도시 통합 운영센터의 근무자 또는 클라이언트 사용자)는 실시간으로 해당 상황에 대한 모니터링 결과 통지(Notification)을 받아야 한다.U-City (Ubiquitous-City) refers to a city that provides ubiquitous urban services anytime and anywhere through ubiquitous urban infrastructure, which is built using ubiquitous urban technology to improve urban competitiveness and quality of life. In ubiquitous cities, prompt control of the situation is essential when controlling the city's major facilities and emergencies. For this purpose, the monitoring agent (eg, a worker or client user of the city integrated operation center) needs to receive a monitoring result notification of the situation in real time.
이러한 모니터링 통지를 위해, 종래의 클라이언트/서버(Client/Server) 방식의 애플리케이션은 클라이언트별로 설치를 해야 하기 때문에 클라이언트의 유지보수가 필요하며, 소프트웨어 관리의 어려움이 있다. 더욱이, 도시 곳곳에 설치되는 각종 장치 또는 레거시(Legacy) 시스템과의 연계가 필요한 유비쿼터스 도시 관제 업무의 특성상 시스템의 확장성과 유연성이 부족하다.For such monitoring notification, a conventional client / server type application needs to be installed on a client-by-client basis, and thus requires maintenance of the client and has difficulty in managing software. Moreover, due to the nature of the ubiquitous urban control task that requires linkage with various devices or legacy systems installed throughout the city, the system lacks scalability and flexibility.
또한, 클라이언트/서버 기반의 시스템은 대량의 데이터 로직에 대해 클라이언트의 성능 저하, 설치된 클라이언트 소프트웨어의 관리 어려움, 업무처리나 환경의 변화에 의한 연쇄적 비즈니스 로직이나 프리젠테이션 로직 변경의 어려움이 있고, 시스템의 확장성과 유연성이 부족하다는 문제점이 있다. 이러한 문제점으로 인해, 클라이언트/서버 기반의 애플리케이션보다는 웹 기반의 관제 시스템이 유비쿼터스 관제 업무에 더 적합하다. 즉, 클라이언트/서버 기반의 시스템에 비해 웹 기반 시스템은 인터페이스 변경 없이 로직 변경이 수월하며 클라이언트의 유지보수가 불필요할 뿐만 아니라, 최고의 개방성을 제공한다는 측면에서 유비쿼터스 관제 시스템에 더 적합하다.In addition, the client / server-based system has a difficulty in changing the business logic or the presentation logic due to changes in the performance of the client, difficulty in managing the installed client software, and changes in business processes or environments for a large amount of data logic. There is a problem of lack of extensibility and flexibility. Because of these problems, web-based control systems are more suitable for ubiquitous control tasks than client / server-based applications. In other words, Web-based systems are better suited for ubiquitous control systems in that they are easier to change logic without changing interfaces, do not require client maintenance, and provide the highest openness.
이러한 웹 기반 시스템에서는 서버로부터 데이터를 받는 방식을 구현할 때 폴링(Polling) 방식이 가장 일반적으로 쓰이는 방식이다. 폴링 방식은 웹 클라이언트가 일정한 주기로 서버에 요청을 보내고 응답을 받는 방식이다. 이하, 도 1을 참조하여 폴링 방식의 관제 시스템을 살펴보기로 한다.In such a web-based system, polling is the most commonly used method of receiving data from a server. Polling is a method in which a web client sends a request to the server at regular intervals and receives a response. Hereinafter, a polling control system will be described with reference to FIG. 1.
도 1은 종래의 폴링 방식의 관제 시스템의 구성도이다.1 is a block diagram of a conventional polling control system.
도 1에 도시된 바와 같이, 서버(110)는 클라이언트(120)로부터 요청이 있는 경우에 응답 메시지를 전송한다. 이때, 수신된 이벤트가 없는 경우, 응답 메시지에 포함되지 않을 수 있다.As shown in FIG. 1, the
클라이언트(120)는 폴링 방식을 통해 서버(110)로 요청한다(S102). 이어서, 서버(110)는 요청에 대해 클라이언트(120)로 응답 메시지를 전송한다(S104). 이때, 서버(110)에는 이벤트가 없기 때문에 응답 메시지에는 이벤트가 포함되어 있지 않다.The
이후, 서버(110)는 이벤트를 수신한다(S106).Thereafter, the
기 설정된 폴링 방식의 폴링 주기(101)가 지난 후에, 클라이언트(120)는 폴링 방식을 통해 서버(110)로 요청한다(S108). 그러면, 서버(110)는 "S106" 과정에서 수신된 이벤트를 응답 메시지에 포함시켜 클라이언트(120)로 전송한다(S110). 응답 메시지에는 이벤트가 포함되어 있다. 즉, 서버(110)에 새로운 이벤트(또는 데이터)가 수신된 경우, 클라이언트(120)가 해당 이벤트를 받는 시점은 미리 설정된 폴링 주기(101)가 되어 서버(110)에 요청을 보내는 시점이 된다.After the polling period 101 of the preset polling method has passed, the
이와 같은 폴링 방식의 경우, 폴링 주기(101)가 짧을 경우 서버(110)의 성능에 부담이 가는 반면, 폴링 주기(101)가 길면 실시간성이 떨어지게 된다. 즉, 폴링 방식의 관제 시스템에서는 최대 폴링 주기만큼의 이벤트 수신 지연이 생기게 된다. 또한, 긴급을 요하지만 간헐적으로 일어나는 상황(예컨대, 강도나 교통사고 상황)에 대해 주기적인 폴링을 수행하는 것은 불필요한 성능 저하를 야기할 뿐만 아니라, 실시간 처리를 요하는 유비쿼터스 관제 업무와는 그 성격이 맞지 않는다.In the case of such a polling method, when the polling period 101 is short, the performance of the
폴링 방식의 관제 시스템은 HTTP 프로토콜을 이용한다. HTTP 프로토콜은 비연결형(Connectionless)이라는 특징이 있다. 클라이언트(120)가 서버(110)로 들어온 새로운 데이터를 받으려면 일정한 주기로 서버(110)에 요청을 보내야 받을 수 있다. 서버(110)에 새로운 데이터가 들어오더라도 클라이언트(120)가 해당 데이터를 받는 시점은 미리 정해진 주기가 흐른 시점이 된다. Polling control system uses HTTP protocol. The HTTP protocol is characterized by being connectionless. In order to receive new data coming into the
실시간성을 더 높이기 위해 폴링 주기(101)를 짧게 가져 갈 수는 있으나, 이 경우 서버(110)의 성능에 부담이 간다. 폴링 주기(101)를 길게 했을 경우에는 실시간성이 그만큼 떨어지게 되어 유비쿼터스 도시에서 발생한 상황에 대한 실시간 처리가 불가능하게 된다는 문제점이 있다.Although the polling period 101 may be shortened to further increase real-time, in this case, the performance of the
본 발명은 상기의 문제점을 해결하기 위해 창안된 것으로서, 관제 대상 도시(예컨대, 유비쿼터스 도시 등)를 관제하는 관제 서버에서는 소켓 연결을 통해 웹기반 클라이언트에 푸시하고, 클라이언트에서는 실시간으로 푸시된 관제 데이터에 대한 관제 상황을 표시한 후, 특정 클라이언트가 해당 관제 상황을 처리한 후 나머지 클라이언트와의 동기화를 위해 상황 처리 정보와 해당 클라이언트의 ID를 HTTP 프로토콜을 이용해 서버에 전송하고, 관제 서버에서는 전달받은 정보를 연결된 소켓을 통해 브로드캐스팅하여 클라이언트 간의 동기화를 수행함으로써, 유비쿼터스 도시 관제시 실시간으로 관제 상황을 모든 클라이언트에게 전파하여 해당 클라이언트가 적절하게 대응할 수 있으며, 관제 상황 처리시 다른 클라이언트에게도 상황 처리 정보를 용이하게 동기화시킬 수 있는, 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법 및 그 시스템을 제공하는 것을 목적으로 한다.The present invention has been made to solve the above problems, the control server that controls the control target city (for example, ubiquitous city, etc.) pushes to the web-based client via a socket connection in the control server, the client to the pushed control data in real time After displaying the monitoring status, the specific client processes the monitoring status and transmits the status processing information and the client's ID to the server using the HTTP protocol for synchronization with the rest of the clients. By synchronizing between clients by broadcasting through connected sockets, the control situation can be propagated to all clients in real time during ubiquitous city control so that the client can respond appropriately. Using the push method, which can be synchronized to an object of the invention to provide a web-based control method and system of the U- City.
이를 위하여, 본 발명의 제1 측면에 따른 방법은, 소켓 서비스부가 클라이언트로부터 접속 요청이 있기 전에 미리 복수의 소켓들을 오픈하여 소켓 풀에 저장하는 단계; 상기 소켓 서비스부가 클라이언트로부터 접속 요청이 있는 경우, 상기 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 상기 클라이언트와 연결하는 소켓 연결 단계; 상기 소켓 서비스부가 상기 클라이언트에 클라이언트 ID를 할당하는 ID 할당 단계; 이벤트 수집부가 관제 대상 도시에서 발생한 이벤트 정보를 수집하는 이벤트 수집 단계; 관제 데이터 관리부가 상기 수집된 이벤트 정보를 이용하여 상기 관제 대상 도시의 관제 데이터를 생성하는 관제 데이터 생성 단계; 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면이 상기 생성된 관제 데이터가 발생한 위치로 이동하도록, 상기 소켓 서비스부가 상기 생성된 관제 데이터를 상기 클라이언트와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트하는 관제 데이터 푸시 단계; 클라이언트 관리부가 상기 클라이언트로부터 HTTP 프로토콜을 통해 상황 처리 정보와 상황 처리 정보를 처리한 클라이언트 ID를 수신하는 처리 정보 수신 단계; 및 상기 소켓 서비스부가 상기 수신된 클라이언트 ID와 상황 처리 정보를 클라이언트로 브로드캐스트하여 상기 수신된 클라이언트 ID의 클라이언트가 처리한 상황 처리 정보를 다른 클라이언트들이 상기 상황 처리 정보를 처리하도록 상기 클라이언트와 상기 다른 클라이언트들을 동기화시키는 단계를 포함하는 것을 특징으로 한다.To this end, the method according to the first aspect of the present invention comprises the steps of opening a plurality of sockets in advance in a socket pool before the socket service unit receives a connection request from a client; A socket connection step of connecting to the client using any one of the stored sockets when the socket service unit receives a connection request from a client; An ID allocating step of allocating, by the socket service unit, a client ID to the client; An event collecting step of collecting, by the event collecting unit, event information generated in the control target city; A control data generation step of generating, by a control data manager, control data of the control target city by using the collected event information; The socket service unit may transmit the generated control data through a socket connected to the client so that the screen of the client moves to the location where the generated control data is generated regardless of whether they monitor different locations or the same location. A control data push step of broadcasting in a based push manner; A processing information receiving step of receiving, by the client manager, a client ID which has processed the situation processing information and the situation processing information from the client through the HTTP protocol; And the socket service unit broadcasts the received client ID and the context processing information to the client so that other clients process the context processing information processed by the client of the received client ID. Synchronizing them.
한편, 본 발명의 제2 측면에 따른 방법은, 클라이언트 장치의 소켓 연결부가 접속 요청에 따라 관제 서버의 소켓에 연결되는 소켓 연결 단계, 여기서 상기 관제 서버의 소켓은 상기 클라이언트 장치가 접속 요청하기 전에 상기 관제 서버에서 미리 오픈된 복수의 소켓들 중 하나이고; 상기 소켓 연결부가 상기 관제 서버로 접속 요청하여 클라이언트 ID를 할당받는 ID 할당 단계; 상기 소켓 연결부가 상기 관제 서버로부터 웹 기반의 푸시 방식으로 브로드캐스트된 관제 데이터를 상기 연결된 소켓을 통해 수신하는 관제 데이터 수신 단계; 관제 데이터 분석부가 상기 수신된 관제 데이터를 분석하여 관제 상황 정보를 추출하는 관제 데이터 분석 단계; 관제 상황 표시부가 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 상기 추출된 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 추출된 관제 상황 정보를 표시하는 관제 상황 표시 단계; 상기 관제 상황 표시부에서 사용자의 명령에 따라 상기 표시된 관제 상황 정보가 처리된 후 나머지 클라이언트와의 동기화를 위해, 상기 소켓 연결부가 상황 처리 정보와 상기 소켓 연결부를 통해 할당된 클라이언트 ID를 HTTP 프로토콜을 이용해 상기 관제 서버에 전송하여 상황 처리 정보의 동기화를 요청하는 동기화 요청 단계; 및 상기 소켓 연결부를 통해 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 관제 데이터 분석부가 상기 수신된 클라이언트 ID를 확인하는 클라이언트 ID 확인 단계를 포함하고, 상기 관제 상황 표시 단계는, 상기 관제 상황 표시부가 상기 확인된 클라이언트 ID가 자신의 클라이언트 ID와 다르면 상기 수신된 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 한다.On the other hand, the method according to the second aspect of the invention, the socket connection step of the socket connection portion of the client device is connected to the socket of the control server in accordance with the connection request, wherein the socket of the control server is the socket device before the client device to request the connection; One of a plurality of sockets previously opened in the control server; An ID allocating step in which the socket connection unit requests a connection to the control server and is assigned a client ID; A control data reception step of the socket connection unit receiving control data broadcasted from the control server in a web-based push manner through the connected socket; A control data analysis step of analyzing, by the control data analysis unit, the received control data to extract control situation information; Regardless of the case where the monitoring status display unit monitors different locations or the same location, the screen of the client is moved to the location where the extracted monitoring status information is generated, and the extracted monitoring status information is displayed on the moved client screen. Controlling status display step of displaying; In order to synchronize with the remaining clients after the displayed monitoring status information is processed according to a user's command in the monitoring status display unit, the socket connection part uses the HTTP protocol to process the status information and the client ID assigned through the socket connection part. A synchronization request step of transmitting to the control server to request synchronization of the situation processing information; And a client ID confirmation step of receiving a client ID and situation processing information from the control server through the socket connection unit and confirming the received client ID by the control data analysis unit, wherein the control situation display step includes: If the confirmed client ID is different from its client ID, the status display unit updates the previously displayed control situation according to the received situation processing information.
한편, 본 발명의 제3 측면에 따른 시스템은, 접속 요청이 수신되기 전에 미리 복수의 소켓들을 오픈하여 소켓 풀에 저장하고, 상기 접속 요청이 수신되는 경우, 상기 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 연결하고, 관제 대상 도시에서 발생한 이벤트 정보를 수집하여 관제 데이터를 생성하고, 상기 생성된 관제 데이터를 상기 연결된 소켓을 통해 브로드캐스트하는 관제 서버; 및 상기 관제 서버와 연결된 소켓을 통해 브로드캐스트된 관제 데이터를 수신하고, 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 수신된 관제 데이터로부터 추출된 관제 상황 정보를 표시하고, 상기 표시된 관제 상황 정보를 처리한 후, 상황 처리 정보와 클라이언트 ID를 HTTP 프로토콜을 통해 상기 관제 서버로 전송하여 상황 처리 정보의 동기화를 요청하는 클라이언트 장치를 포함하고, 상기 관제 서버가, 상기 클라이언트 장치로부터 HTTP 프로토콜을 통해 상황 처리 정보와 상황 처리 정보를 처리한 클라이언트 ID를 수신하고, 상기 수신된 클라이언트 ID와 상황 처리 정보를 브로드캐스트하여 상기 클라이언트와 상기 다른 클라이언트들을 동기화시키고, 상기 클라이언트 장치가, 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 수신된 클라이언트 ID가 자신의 클라이언트 ID와 다르면 상기 수신된 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 한다.On the other hand, the system according to the third aspect of the present invention, before the connection request is received by opening a plurality of sockets in advance in the socket pool, and when the connection request is received, any one socket of the plurality of stored sockets A control server for connecting to each other, generating control data by collecting event information generated in a control target city, and broadcasting the generated control data through the connected socket; And receiving the broadcasted control data through a socket connected to the control server, and moving the screen of the client to the location where the control status information has occurred, regardless of the case of monitoring different locations or monitoring the same location. Display the monitoring status information extracted from the received control data on the screen of the client, process the displayed monitoring status information, and transmit the status processing information and the client ID to the control server through the HTTP protocol to obtain the status processing information. And a client device for requesting synchronization, wherein the control server receives a client ID from the client device processing the situation processing information and the situation processing information through the HTTP protocol, and broadcasts the received client ID and the situation processing information. Cast to the client Synchronize the other clients, and the client device receives a client ID and situation processing information from the control server, and if the received client ID is different from its client ID, the previously displayed control according to the received situation processing information; It is characterized by updating the situation.
한편, 본 발명의 제4 측면에 따른 장치는, 관제 대상 도시에서 발생한 이벤트 정보를 수집하는 이벤트 수집부; 상기 이벤트 수집부에서 수집된 이벤트 정보를 저장하는 데이터 저장부; 상기 이벤트 수집부에서 수집된 이벤트 정보를 이용하여 상기 관제 대상 도시의 관제 데이터를 생성하는 관제 데이터 관리부; 접속 요청이 수신되기 전에 미리 복수의 소켓들을 오픈하여 소켓 풀에 저장하고, 상기 접속 요청이 수신되는 경우, 상기 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 연결하고, 클라이언트에 클라이언트 ID를 할당하고, 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면이 상기 생성된 관제 데이터가 발생한 위치로 이동하도록, 상기 관제 데이터 관리부에서 생성된 관제 데이터를 상기 클라이언트와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트하는 소켓 서비스부; 및 상기 클라이언트로부터 HTTP 프로토콜을 통해 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 소켓 서비스부로 클라이언트 ID와 상황 처리 정보의 푸시를 요청하는 클라이언트 관리부를 포함하고, 상기 소켓 서비스부가, 상기 수신된 클라이언트 ID와 상황 처리 정보를 클라이언트로 브로드캐스트하여 상기 수신된 클라이언트 ID의 클라이언트가 처리한 상황 처리 정보를 다른 클라이언트들이 상기 상황 처리 정보를 처리하도록 동기화시키는 것을 특징으로 한다.On the other hand, the apparatus according to the fourth aspect of the present invention, the event collection unit for collecting the event information generated in the control target city; A data storage unit for storing the event information collected by the event collector; A control data manager for generating control data of the control target city by using the event information collected by the event collector; Before the connection request is received, a plurality of sockets are opened and stored in the socket pool in advance. When the connection request is received, the connection is established using any one of the stored sockets, and a client ID is assigned to the client. The control data management unit generates the control data generated by the control data management unit through the socket connected to the client so that the screen of the client moves to the location where the generated control data is generated, regardless of monitoring different locations or monitoring the same location. A socket service unit for broadcasting in a web-based push method; And a client management unit configured to receive a client ID and situation processing information from the client through an HTTP protocol, and request a push of the client ID and the situation processing information to the socket service unit, wherein the socket service unit includes the received client ID. And broadcasts the context processing information to the client to synchronize the context processing information processed by the client of the received client ID so that other clients process the context processing information.
한편, 본 발명의 제5 측면에 따른 장치는, 관제 서버로 접속 요청하여 상기 관제 서버와 소켓을 연결하고, 상기 관제 서버로부터 웹 기반의 푸시 방식으로 브로드캐스트된 관제 데이터를 상기 연결된 소켓을 통해 수신하고, 상기 관제 서버로 접속 요청하여 클라이언트 ID를 할당받는 소켓 연결부와, 여기서 상기 관제 서버의 소켓은 상기 접속 요청을 하기 전에 상기 관제 서버에서 미리 오픈된 복수의 소켓들 중 하나이고; 상기 소켓 연결부를 통해 수신된 관제 데이터를 분석하여 관제 상황 정보를 추출하는 관제 데이터 분석부; 관제 상황 표시부가 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 상기 관제 데이터 분석부에서 추출된 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 추출된 관제 상황 정보를 표시하는 관제 상황 표시부; 및 상기 관제 상황 표시부에서 사용자의 명령에 따라 상기 표시된 관제 상황 정보가 처리된 후, 상황 처리 정보와 클라이언트 ID를 HTTP 프로토콜을 통해 상기 관제 서버로 전송하여 상황 처리 정보의 동기화를 요청하는 서버 통신부를 포함하고, 상기 관제 상황 표시부는, 상기 소켓 연결부를 통해 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 관제 데이터 분석부가 상기 수신된 클라이언트 ID를 확인하여 자신의 클라이언트 ID와 다르면 상기 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 한다.On the other hand, the device according to the fifth aspect of the present invention, connecting to the control server and the socket by requesting a connection to the control server, and receives the control data broadcasted by the web-based push method from the control server through the connected socket And a socket connection unit for requesting a connection to the control server and being assigned a client ID, wherein the socket of the control server is one of a plurality of sockets previously opened in the control server before making the connection request; A control data analysis unit for analyzing control data received through the socket connection unit to extract control status information; Regardless of whether the monitoring status display unit monitors different locations or the same location, the screen of the client is moved to the location where the monitoring status information extracted from the monitoring data analyzer is generated and the extraction is performed on the screen of the moved client. A control status display unit for displaying the completed control status information; And a server communication unit for requesting synchronization of situation processing information by transmitting situation processing information and a client ID to the control server through the HTTP protocol after the displayed monitoring situation information is processed according to a user's command in the monitoring situation display unit. The control status display unit may receive a client ID and situation processing information from the control server through the socket connection unit, and if the control data analysis unit checks the received client ID and is different from its client ID, the situation processing information. It is characterized by updating the previously displayed control situation according to.
본 발명은, 관제 대상 도시(예컨대, 유비쿼터스 도시 등)를 관제하는 관제 서버에서는 소켓 연결을 통해 웹기반 클라이언트에 푸시함으로써, 유비쿼터스 관제시 실시간으로 관제 상황을 모든 클라이언트에게 전파하여 해당 클라이언트가 적절하게 대응할 수 있는 효과가 있다. 유비쿼터스 도시 관제시 긴급한 처리를 필요로 하는 관제 상황이 발생한 경우, 본 발명은 웹 기반의 푸시 방식을 이용하여 모든 클라이언트에 실시간으로 브로드캐스트함으로써, 적절한 대응이 이루어질 수 있다.According to the present invention, a control server controlling a control target city (for example, a ubiquitous city) is pushed to a web-based client through a socket connection, so that the control situation can be propagated to all clients in real time during ubiquitous control so that the client can respond appropriately. It can be effective. In the event of a control situation requiring urgent processing in ubiquitous city control, the present invention can broadcast appropriately to all clients by using a web-based push method in real time.
또한, 본 발명은, 발생된 이벤트의 누적 건수가 많아지는 경우에도 이벤트 획득 속도의 감소 없이 이벤트 정보를 처리하여 클라이언트 장치로 실시간으로 브로드캐스트할 수 있다. 즉, 본 발명은 실시간 정보 전송을 보장할 수 있다.In addition, the present invention may process event information in real time without reducing the event acquisition rate even when the cumulative number of generated events increases. That is, the present invention can guarantee real time information transmission.
또한, 본 발명은 특정 클라이언트가 해당 관제 상황을 처리한 후 나머지 클라이언트와의 동기화를 위해 처리된 상황 처리 정보와 해당 클라이언트의 ID를 HTTP 프로토콜을 이용해 서버에 전송하고, 관제 서버에서는 전달받은 정보를 연결된 소켓을 통해 브로드캐스팅하여 클라이언트 간의 동기화를 수행함으로써, 관제 상황 처리시 다른 클라이언트에게도 상황 처리 정보를 용이하게 동기화시킬 수 있는 효과가 있다.In addition, the present invention transmits the situation processing information and the ID of the client to the server using the HTTP protocol to process the processing situation for synchronization with the rest of the client after the specific client processes the control situation, the control server is connected to the received information By broadcasting through a socket to perform synchronization between clients, it is possible to easily synchronize the situation processing information to other clients when processing a control situation.
도 1은 종래의 폴링 방식의 관제 시스템의 구성도,
도 2는 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 시스템의 일실시예 구성도,
도 3은 본 발명에 따른 도 2의 푸시 방식을 이용한 웹 기반의 U-시티 관제 서버의 일실시예 구성도,
도 4는 본 발명에 따른 도 2의 푸시 방식을 이용한 웹 기반이 클라이언트 장치의 일실시예 구성도,
도 5 내지 도 7은 본 발명에 따른 관제 상황 표시 및 관제 상황 처리의 동기화에 대한 일실시예 예시도,
도 8은 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 데이터 전송 방법에 대한 일실시예 흐름도,
도 9는 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 데이터 처리 방법에 대한 일실시예 흐름도,
도 10은 본 발명에 따른 관제 서버에서의 소켓 관리 방법에 대한 일실시예 흐름도이다.1 is a block diagram of a conventional polling control system,
2 is a configuration diagram of an embodiment of a web-based U-city control system using a push method according to the present invention;
3 is a diagram illustrating an embodiment of a web-based U-city control server using the push method of FIG. 2 according to the present invention;
4 is a block diagram of an embodiment of a web-based client device using the push method of FIG. 2 according to the present invention;
5 to 7 is an exemplary embodiment for the synchronization of the control status display and control status processing according to the present invention,
8 is a flowchart illustrating a web-based U-city control data transmission method using a push method according to the present invention;
9 is a flowchart illustrating an embodiment of a web-based U-city control data processing method using a push method according to the present invention;
10 is a flowchart illustrating a socket management method in the control server according to the present invention.
이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세하게 설명한다. 본 발명의 구성 및 그에 따른 작용 효과는 이하의 상세한 설명을 통해 명확하게 이해될 것이다. 본 발명의 상세한 설명에 앞서, 동일한 구성요소에 대해서는 다른 도면 상에 표시되더라도 가능한 동일한 부호로 표시하며, 공지된 구성에 대해서는 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 구체적인 설명은 생략하기로 함에 유의한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The configuration of the present invention and the operation and effect thereof will be clearly understood through the following detailed description. Prior to the detailed description of the present invention, the same components will be denoted by the same reference numerals even if they are displayed on different drawings, and the detailed description will be omitted when it is determined that the well-known configuration may obscure the gist of the present invention. do.
도 2는 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 시스템의 일실시예 구성도이다.2 is a configuration diagram of an embodiment of a web-based U-city control system using a push method according to the present invention.
도 2에 도시된 바와 같이, 본 발명에 따른 푸시(Push) 방식을 이용한 웹 기반의 관제 시스템(200)은 관제 서버(210) 및 클라이언트 장치(220)를 포함한다. 여기서, 클라이언트 장치(220)는 다수의 클라이언트 장치로 이루어질 수 있다.As shown in FIG. 2, the web-based
본 발명은 도시 통합 운영센터와 같은 유비쿼터스 도시 운영주체의 운영자(클라이언트 사용자)들에게 도시 곳곳에서 수집되는 정보를 실시간으로 푸시하기 위한 웹 기반의 관제 시스템(200)에 관한 것이다. 이렇게 수집되는 정보(예컨대, 화재 상황, 방범 상황, 교통사고 상황 등)들은 도시민의 안전과 매우 밀접한 관계가 있으며, 도시 통합 운영센터의 근무자 또는 유관기관에 의해 실시간 상황 처리를 필요로 하게 된다.The present invention relates to a web-based
이를 위해, 본 발명에 따른 관제 시스템(200)의 관제 서버(210)는 웹 기반 클라이언트 장치(220)에 웹 기반의 푸시 방식으로 실시간 관제 데이터를 전송한다. 그리고 관제 서버(210)는 서버 소켓 생성 및 연결을 위한 일련의 작업시 발생하는 부하를 감소시키기 위해, 소켓 풀을 이용하여 소켓을 관리하고, 클라이언트 장치(220)와 연결된 소켓을 관리한다. 실시간 관제 데이터의 처리라는 유비쿼터스 도시의 관제 업무를 고려하여, 관제 시스템(200)은 관제 서버(210)와 클라이언트 장치(220)의 소켓 연결을 통해 푸시 방식으로 실시간성을 보장한다.To this end, the
푸시 방식에서는 대부분의 부하가 푸시를 수행하는 관제 서버(210) 쪽에 집중이 된다. 부하를 감소시키기 위해, 관제 서버(210)에서는 소켓 연결이 이루어진 각각의 클라이언트에게 하트비트(Heartbeat) 메시지를 전송한다. 일례로, 관제 서버(210)가 3초간 3번 응답이 없는 클라이언트 장치(220)에 대해서는 소켓 연결을 해제함으로써, 서버 자원 관리가 가능하게 된다.In the push method, most of the load is concentrated on the
또한, 클라이언트 장치(220)는 관제 상황에 대한 처리 결과 즉, 상황 처리 정보를 다른 클라이언트와 동기화시키기 위해, 상황 처리 정보와 해당 클라이언트 장치(220)의 ID를 HTTP 프로토콜을 이용해 관제 서버(210)에 전송하여 관제 서버(210)에 상황 처리 정보의 동기화를 요청한다. 그리고 관제 서버(210)는 동기화 요청된 상황 처리 정보와 클라이언트 장치(220)의 ID를 연결된 소켓을 통해 웹 기반의 푸시 방식으로 모든 클라이언트 장치(220)에 브로드캐스트하여 클라이언트 장치(220) 간의 동기화를 수행한다. 이를 통해, 관제 시스템(200)은 관제 대상인 유비쿼터스 도시에서의 실시간 상황 전파를 수행한다.In addition, the
구체적으로 살펴보면, 웹 환경에서는 각각의 클라이언트 장치(220)는 서로 동기화되지 않는다. 예를 들어, 관제 상황이 발생한 도시에 대해서 특정 클라이언트 장치(220)에서 해당 상황에 대한 처리(예컨대, 상황 종료 등)를 수행하였을 경우, 상황 처리 정보가 나머지 클라이언트 장치(220)에 반영이 되지 않는다. 이를 해결하기 위해, 본 발명의 관제 시스템(200)에서는 특정 클라이언트 장치(220)에서 변경 사항이 있을 경우, 변경을 수행한 클라이언트 장치(220)는 자신의 클라이언트 ID와 상황 처리 정보를 HTTP 프로토콜을 통해 관제 서버(210)에 전송한다. 여기서, 클라이언트 ID는 소켓 연결시 관제 서버(210)로부터 할당받는다. 관제 서버(210)는 해당 클라이언트 ID와 상황 처리 정보를 소켓을 통해 다시 나머지 클라이언트 장치(220)에 브로드캐스트하여 클라이언트 장치(220) 간의 동기화를 수행한다.Specifically, in the web environment, each
도 3은 본 발명에 따른 도 2의 푸시 방식을 이용한 웹 기반의 U-시티 관제 서버의 일실시예 구성도이다.3 is a diagram illustrating an embodiment of a web-based U-city control server using the push method of FIG. 2 according to the present invention.
도 3에 도시된 바와 같이, 관제 서버(210)는 이벤트 수집부(310), 관제 데이터 관리부(320), 소켓 서비스부(330), 클라이언트 관리부(340) 및 데이터 저장부(350)를 포함한다.As shown in FIG. 3, the
이벤트 수집부(310)는 관제 대상 도시에서 발생한 이벤트 정보를 수집한다. 이벤트 수집부(310)는 관제 대상 도시(유비쿼터스 도시)에서 발생하는 이벤트 정보를 수집하기 위해, 유비쿼터스 센서 네트워크(USN; Ubiquitous Sensor Network) 미들웨어(Middleware), 각종 레거시 장치 등으로 이루어질 수 있다. 각종 레거시 장치는 ITS(Intelligent Transport Systems) 정보, 날씨 뉴스 정보, 사고 정보, IP 카메라 정보, RSS(Rich Site Summary) 구독 정보 등을 수집할 수 있다.The
관제 데이터 관리부(320)는 이벤트 수집부(310)에서 수집된 이벤트 정보를 이용하여 관제 대상 도시의 관제 데이터를 생성한다. 여기서, 관제 데이터 관리부(320)는 웹 애플리케이션 서버(WAS: Web Application Server)로 이루어질 수 있다. 관제 데이터 관리부(320)는 클라이언트 장치(220)의 요청 및 연결을 웹 기반으로 처리할 수 있다.The
소켓 서비스부(330)는 클라이언트 장치(220)의 접속 요청에 따라 클라이언트 장치(220)와 소켓을 연결한다. 소켓 연결에는 소켓 풀이 이용된다. 소켓 풀에 대해서 구체적으로 살펴보면, 소켓 서비스부(330)는 다수의 클라이언트 장치(220)와의 소켓 연결을 위한 소켓 풀 형식의 소켓 서버 모듈을 포함한다. 소켓 서버 모듈에는 미리 오픈된 소켓들이 저장된 소켓 풀이 포함되어 있다. 소켓 서비스부(330)는 클라이언트 장치(220)와의 소켓 연결 전에 복수의 소켓을 미리 오픈하여 소켓 풀에 저장한다. 이를 통해, 소켓 서비스부(330)는 클라이언트 장치(220)가 접속할 때마다 소켓을 오픈하는 부하를 줄일 수 있다. 즉, 소켓 서비스부(330)는 소켓 풀에 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 클라이언트 장치(220)와 소켓을 연결한다. 클라이언트 장치(220)가 접속할 때마다 소켓을 오픈하는 것은 관제 서버(210)에 부하가 걸린다. 그러므로 소켓 서비스부(330)는 미리 소켓을 오픈하고 소켓 풀에 저장하는 방식을 이용한다. 이는 클라이언트 장치(220)가 접속할 때마다 관제 서버(210)의 서버 소켓 생성 및 연결을 위한 일련의 작업시 발생하는 부하를 감소시키기 위함이다. 그리고 소켓 서비스부(330)는 클라이언트 장치(220)의 접속 요청에 따라 클라이언트 ID를 할당한다. 이후, 소켓 서비스부(330)는 관제 데이터 관리부(320)에서 생성된 관제 데이터를 클라이언트 장치(220)와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트한다.The
한편, 소켓 연결 해제 과정을 살펴보면, 소켓 서비스부(330)는 소켓 연결된 클라이언트 장치(220)로 하트비트 메시지를 전송하여 기설정된 응답 조건에 따라 응답이 없는 클라이언트의 소켓 연결을 해제한다.Meanwhile, referring to the socket disconnection process, the
데이터 저장부(350)는 이벤트 수집부(310)에서 수집된 이벤트 정보를 저장한다. 또한, 데이터 저장부(350)는 2차원 또는 3차원 지리 정보 시스템(GIS: Geographic Information System)과 연동하여 관제 대상 도시에 대한 지리 정보를 저장한다. 지리 정보 시스템은 지리 정보를 저장하는 지리 정보 데이터베이스 및 지리 정보를 처리하는 지리 정보 엔진을 포함할 수 있다.The
클라이언트 관리부(340)는 클라이언트 장치(220)로부터 HTTP 프로토콜을 통해 클라이언트 ID와 상황 처리 정보를 수신한 경우에 소켓 서비스부(330)로 상황 처리 정보의 동기화를 요청한다.When the
도 4는 본 발명에 따른 도 2의 푸시 방식을 이용한 웹 기반이 클라이언트 장치의 일실시예 구성도이다.4 is a diagram illustrating an embodiment of a web-based client device using the push method of FIG. 2 according to the present invention.
도 4에 도시된 바와 같이, 본 발명에 따른 웹 기반이 클라이언트 장치(220)는 소켓 연결부(410), 관제 데이터 분석부(420), 관제 상황 표시부(430) 및 서버 통신부(440)를 포함한다.As shown in FIG. 4, the web-based
소켓 연결부(410)는 웹 기반의 관제 서버(210)로 접속 요청하여 관제 서버(210)와 소켓을 연결한다. 소켓 연결부(410)는 관제 서버(210)로부터 클라이언트 ID를 할당받는다. 그리고 소켓 연결부(410)는 관제 서버(210)로부터 웹 기반의 푸시 방식으로 브로드캐스트된 관제 데이터를 연결된 소켓을 통해 수신한다. 관제 서버(210)와 클라이언트 장치(220)가 소켓으로 연결되기 위해서, 소켓 연결부(410)에 플렉스(Flex) 모듈이 탑재되어야 한다. 플렉스 모듈에는 소켓 클라이언트 모듈이 포함되어 있다. 소켓 클라이언트 모듈은 관제 서버(210)의 소켓 서비스부(330)에 포함된 소켓 서버 모듈과 소켓 통신을 수행한다. 소켓 연결부(410)에 탑재된 플렉스 모듈은 소켓 연결을 통해 종래의 폴링 방식 대비 실시간성을 보장할 수 있다. 소켓 연결부(410)는 관제 서버(210)와 소켓 연결이 이루어지고, 그 연결된 소켓을 통해 XML(Extensible Markup Language) 형태로 전송된 관제 데이터를 수신한다.The
관제 데이터 분석부(420)는 소켓 연결부(410)에서 수신된 관제 데이터를 분석하여 관제 상황 정보를 추출한다. 관제 데이터 분석부(420)는 XML 형태로 전달된 관제 데이터를 파싱(Parsing)하여 관제 상황 정보를 추출한다. 또한, 관제 데이터 분석부(420)는 소켓 연결부(410)에서 관제 서버(210)로부터 클라이언트 ID와 상황 처리 정보를 수신하는 경우에 그 수신된 클라이언트 ID를 확인하여 자신의 클라이언트 ID와 다르면, 그 상황 처리 정보를 파싱하여 관제 상황 표시부(430)에 전달한다. 관제 상황 표시부(430)는 파싱된 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신한다.The control
관제 상황 표시부(430)는 관제 데이터 분석부(420)에서 추출된 관제 상황 정보를 웹 브라우저를 통해 표시한다. 관제 상황 표시부(430)는 2차원 또는 3차원 지도를 기반으로 관제 상황 정보를 표시할 수 있다. 관제 상황 표시부(430)는 해당 관제 상황이 일어난 좌표값을 통해 2차원 또는 3차원 지도에 표시한다.The control
관제 상황 표시부(430)에서 관제 상황이 표시되고 사용자의 명령에 따라 표시된 관제 상황 정보를 처리하는 경우, 관제 상황 표시부(430)는 관제 데이터를 갱신하고 상황 처리 정보를 서버 통신부(440)로 전달한다. 그리고 서버 통신부(440)는 상황 처리 정보와 할당된 클라이언트 ID를 HTTP 프로토콜을 통해 관제 서버(210)로 전송하여 상황 처리 정보의 동기화를 요청한다. 예를 들어, 특정 클라이언트 장치(220)의 화면에서 도시 상황에 대한 처리가 이루어졌을 경우에 나머지 클라이언트 장치(220)에 해당 상황 처리 정보를 알려주기 위해, 서버 통신부(440)는 HTTP GET 방식으로 관련 정보를 관제 서버(210)로 전송한다.When the control status is displayed on the control
한편, 소켓 연결부(410)는 관제 서버(210)로부터 하트비트 메시지를 수신하는 경우, 기설정된 응답 조건에 따라 그 수신된 하트비트 메시지에 대한 응답 메시지를 관제 서버(210)로 전송한다. 예를 들어, 기설정된 응답 조건은 3초 간격으로 3번 전송한 이후에도 하트비트 메시지에 대한 응답 메시지가 수신되지 않는 경우일 수 있다.On the other hand, when receiving a heartbeat message from the
도 5 내지 도 7은 본 발명에 따른 관제 상황 표시 및 처리 과정에 대한 일실시예 예시도이다.5 to 7 are exemplary views illustrating a control status display and processing process according to the present invention.
본 발명에 따른 일실시예로, 도시 통합 운영센터에 설치된 관제 서버(210)의 관제 상황실이 도 5에 나타나 있다. 각각의 관제 요원들은 자신의 자리에 설치된 클라이언트 장치(220)의 화면(501, 502)을 통해 개별적으로 도시 모니터링을 수행한다. 각 개별 클라이언트 장치(220)의 웹 브라우저와 관제 서버(210)는 소켓 연결을 유지하고 있다.In one embodiment according to the invention, the control situation room of the
도 6에 도시된 바와 같이, 관제 상황이 발생하면, 관제 서버(210)는 관제 데이터를 생성하여 연결된 소켓을 통해 웹 기반으로 관제 데이터를 각 클라이언트 장치(220)로 푸시한다. 클라이언트 장치(220)의 화면(501, 502)에는 관제 상황(601)이 발생한 해당 위치로 이동되어 각각의 관제 요원들에게 동일하게 관제 상황(601)이 표시된다. 여기서, 각각의 관제 요원들이 서로 다른 위치에 해당하는 부분을 감시하거나, 동일한 위치를 감시하고 있는 경우와 관계없이, 클라이언트 장치(220)의 화면(501, 502)은 관제 상황(601)이 발생한 위치로 이동된다. 이를 통해, 관제 대상 도시에서 상황이 발생하였을 경우. 소켓 연결된 모든 클라이언트 장치(220)는 실시간으로 관제 데이터를 수신하여 관제 상황을 웹 브라우저를 통해 표시함으로써, 모든 클라이언트 장치(220)를 운영하는 관제 요원들이 관제 상황 발생을 실시간으로 인지할 수 있다.As shown in FIG. 6, when a control situation occurs, the
도 7에 도시된 바와 같이, 관제 상황(601)을 담당하는 관제 요원이 발생된 관제 상황을 클라이언트 장치(220)를 통해 처리하는 경우, 클라이언트 장치(220)는 상황 처리 정보와 해당 클라이언트 ID를 관제 서버(210)로 전송한다. 관제 서버(210)는 상황 처리 정보와 클라이언트 ID를 클라이언트 장치(220)로 브로드캐스트하면, 각 클라이언트 장치(220)는 상황 처리 정보를 반영하여 상황 처리 정보에 대한 동기화를 수행한다. 예를 들어, 관제 상황(601)을 담당하는 관제 요원이 자신의 클라이언트 장치(220)에서 해당 상황을 처리하고 종료한 경우, 다른 관제 요원들의 웹 브라우저에도 똑같이 해당 관제 상황(601)이 사라지게 된다.As illustrated in FIG. 7, when the control agent in charge of the
도 8은 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 데이터 전송 방법에 대한 일실시예 흐름도이다.8 is a flowchart illustrating a web-based U-city control data transmission method using a push method according to the present invention.
클라이언트 관리부(340)는 소켓 풀을 이용하여 클라이언트 장치(210)와 소켓을 연결한다(S802). 여기서, 클라이언트 관리부(340)는 클라이언트 장치(220)와의 소켓 연결 전에 복수의 소켓을 미리 오픈하여 소켓 풀에 저장하고, 그 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 클라이언트 장치(220)와 소켓을 연결한다. 이때, 실시간 정보 전달을 위해서 해당 소켓 연결은 계속 유지된다.The
그리고 클라이언트 관리부(340)는 클라이언트 장치(210)로 클라이언트 ID를 할당한다(S804). 클라이언트 관리부(340)는 클라이언트 장치(220)의 관리를 위해 각각 클라이언트 ID를 할당한다.The
한편, 관제 서버(210)의 이벤트 수집부(310)는 관제 대상 도시에서 발생한 이벤트 정보를 수집한다(S806).On the other hand, the
이벤트 수집부(310)는 수집된 이벤트 정보를 관제 데이터 관리부(320)로 전달한다(S808).The
그리고 관제 데이터 관리부(320)는 수집된 이벤트 정보를 데이터 저장부(350)로 전달하고(S810), 데이터 저장부(350)는 전달된 이벤트 정보를 저장한다(S812).The control
그리고 관제 데이터 관리부(320)는 수집된 이벤트 정보를 이용하여 관제 대상 도시의 관제 데이터를 생성한다(S814).The control
관제 데이터 관리부(320)는 생성된 관제 데이터를 소켓 서비스부(330)로 전달하여 관제 데이터의 푸시를 요청한다(S816).The control
소켓 서비스부(330)는 관제 데이터 관리부(320)로부터 전달된 관제 데이터를 클라이언트 장치(220)와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트한다(S818).The
이와 같은 과정을 통해, 관제 서버(210)는 접속된 클라이언트 장치(220)에 소켓을 통해 관제 데이터를 전송함으로써, 관제 데이터의 실시간성을 보장할 수 있다.Through this process, the
한편, 클라이언트 장치(220)의 소켓 연결부(410)는 관제 서버(210)로부터 웹 기반의 푸시 방식으로 브로드캐스트된 관제 데이터를 "S802" 과정에서 연결된 소켓을 통해 수신하고, 그 수신된 관제 데이터를 관제 데이터 분석부(420)로 전달한다(S820).Meanwhile, the
이어서, 관제 데이터 분석부(420)는 그 전달된 관제 데이터를 파싱하여 관제 상황 정보를 추출한다(S822).Subsequently, the control
그리고 관제 데이터 분석부(420)는 파싱된 관제 데이터 즉, 관제 상황 정보를 관제 표시부(430)로 전달한다(S824).The control
그리고 관제 상황 표시부(430)는 관제 데이터 분석부(420)로부터 전달된 관제 상황 정보를 웹 브라우저를 통해 클라이언트 사용자에게 표시한다(S826).In addition, the control
도 9는 본 발명에 따른 푸시 방식을 이용한 웹 기반의 U-시티 관제 데이터 처리 방법에 대한 일실시예 흐름도이다.9 is a flowchart illustrating a web-based U-city control data processing method using a push method according to the present invention.
클라이언트 관리부(340)는 소켓 풀을 이용하여 클라이언트 장치(210)와 소켓을 연결한다(S902).The
그리고 클라이언트 관리부(340)는 클라이언트 장치(210)의 접속 요청에 따라 그 클라이언트 장치(210)에 클라이언트 ID를 할당한다(S904).The
한편, 관제 상황 표시부(430)에서 표시된 관제 상황을 클라이언트 사용자가 보고 그 관제 상황을 처리한다(S906).On the other hand, the client user sees the control situation displayed on the control
그리고 관제 상황 표시부(430)는 관제 데이터를 갱신한다(S908).The control
이어서, 관제 상황 표시부(430)는 관제 상황 처리 결과에 대한 상황 처리 정보를 서버 통신부(440)로 전달한다(S910).Subsequently, the control
서버 통신부(440)는 할당된 클라이언트 ID와 상황 처리 정보를 HTTP 프로토콜을 통해 클라이언트 관리부(340)로 전송한다(S912). 즉, 서버 통신부(440)는 클라이언트 ID와 상황 처리 정보를 HTTP 프로토콜을 통해 전송하여 상황 처리 정보의 동기화를 요청한다.The
클라이언트 관리부(340)는 HTTP 프로토콜을 통해 클라이언트 ID와 상황 처리 정보를 수신하고, 그 수신된 클라이언트 ID와 상황 처리 정보를 관제 데이터 관리부(320)로 전달한다(S914).The
데이터 저장부(350)는 관제 데이터 관리부(320)로 전달된 클라이언트 ID와 상황 처리 정보를 저장한다(S916).The
그리고 클라이언트 관리부(340)는 클라이언트 ID와 상황 처리 정보를 소켓 서비스부(330)로 전달하여 그 클라이언트 ID와 상황 처리 정보의 푸시를 요청한다(S918).The
소켓 서비스부(330)는 클라이언트 ID와 상황 처리 정보를 클라이언트 장치(220)의 소켓 연결부(410)로 푸시한다(S920).The
소켓 연결부(410)는 수신된 클라이언트 ID와 상황 처리 정보를 관제 데이터 분석부(420)로 전달한다(S922).The
관제 데이터 분석부(420)는 전달된 클라이언트 ID와 자신의 클라이언트 ID가 동일한지 여부를 확인한다(S924).The control
상기 확인 결과(S924), 클라이언트 ID와 자신의 클라이언트 ID가 동일하지 않은 경우, 관제 데이터 분석부(420)는 상황 처리 정보를 파싱한다(S926).If the check result (S924), the client ID and its own client ID is not the same, the control
그리고 관제 데이터 분석부(420)는 파싱된 상황 처리 정보를 관제 상황 표시부(430)로 전달한다(S928).The control
이어서, 관제 상황 표시부(430)는 파싱된 상황 처리 정보에 따라 갱신된 관제 상황을 사용자에게 웹 브라우저를 통해 표시한다(S930).Subsequently, the control
반면, 상기 확인 결과(S928), 클라이언트 ID와 자신의 클라이언트 ID가 동일한 경우, 관제 데이터 분석부(420)는 관제 과정을 종료한다.On the other hand, if the check result (S928), the client ID and its own client ID is the same, the control
도 10은 본 발명에 따른 관제 서버에서의 소켓 관리 방법에 대한 일실시예 흐름도이다.10 is a flowchart illustrating a socket management method in the control server according to the present invention.
관제 서버(210)에서 미리 오픈된 소켓을 관리하는 방법을 도 10을 참조하여 살펴보기로 한다.A method of managing a socket previously opened in the
관제 서버(210)의 소켓 서비스부(330)는 도 8의 "S802" 과정과 같이 클라이언트 장치(220)의 소켓 연결부(410)와 소켓을 연결한다.The
소켓 연결 이후, 소켓 서비스부(330)는 소켓 연결된 클라이언트 장치(220)의 소켓 연결부(410)로 하트비트 메시지를 전송한다(S1002). 예를 들어, 소켓 서비스부(330)는 3초 간격으로 하트비트 메시지를 전송한다. 여기서, 3초 간격은 정해진 시간이 아니며 다른 간격이 될 수 있다.After the socket connection, the
그리고 소켓 서비스부(330)는 기설정된 응답 조건에 따라 하트비트 메시지에 대하 응답 메시지가 수신되는지 여부를 확인한다(S1004).In addition, the
상기 확인 결과(S1004), 기설정된 응답 조건에 따라 하트비트 메시지에 대하 응답 메시지가 수신되는 경우 즉, 소켓 연결부(410)가 하트비트 메시지에 대하 응답 메시지를 전송하는 경우(S1006), 소켓 서비스부(330)는 소켓 연결을 유지한다(S1008).As a result of the confirmation (S1004), when a response message is received for the heartbeat message according to a preset response condition, that is, when the
반면, 상기 확인 결과(S1004), 기설정된 응답 조건에 따라 하트비트 메시지에 대하 응답 메시지가 수신되지 않는 경우, 소켓 서비스부(330)는 소켓 연결을 해제하여 소켓 풀에 반환한다(S1010). 예를 들어, 소켓 서비스부(330)는 하트비트 메시지를 3초 간격으로 3번 이상 못 받았을 경우 해당 소켓 연결을 해제할 수 있다. 이를 통해, 관제 서버(210)의 자원을 향상시킬 수 있다.On the other hand, if the response (S1004), the response message for the heartbeat message is not received according to the preset response conditions, the
한편, 본 발명은 이상에서 설명한 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법을 소프트웨어적인 프로그램으로 구현하여 컴퓨터로 읽을 수 있는 소정 기록 매체에 기록해 둠으로써 다양한 재생 장치에 적용할 수 있다. Meanwhile, the present invention can be applied to various playback apparatuses by implementing a web-based U-city control method using the push method described above as a software program and recording it on a computer-readable predetermined recording medium.
다양한 재생 장치는 앞서 설명한 장치로서 이동 단말기, PDA, 노트북, 네비게이션, PMP, 스마트폰, 전자사전 및 MPS 등일 수 있다. Various playback devices may be mobile devices, PDAs, notebook computers, navigation devices, PMPs, smart phones, electronic dictionaries, MPSs, and the like as described above.
예컨대, 기록 매체는 각 재생 장치의 내장형으로 하드 디스크, 플래시 메모리, RAM, ROM 등이거나, 외장형으로 CD-R, CD-RW와 같은 광디스크, 콤팩트 플래시 카드, 스마트 미디어, 메모리 스틱, 멀티미디어 카드일 수 있다. For example, the recording medium may be a hard disk, a flash memory, a RAM, a ROM, or the like embedded in each reproduction apparatus, or an external optical disk such as a CD-R or a CD-RW, a compact flash card, a smart media, have.
이상의 설명은 본 발명을 예시적으로 설명한 것에 불과하며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술적 사상에서 벗어나지 않는 범위에서 다양한 변형이 가능할 것이다. 따라서 본 발명의 명세서에 개시된 실시 예들은 본 발명을 한정하는 것이 아니다. 본 발명의 범위는 아래의 특허청구범위에 의해 해석되어야 하며, 그와 균등한 범위 내에 있는 모든 기술도 본 발명의 범위에 포함되는 것으로 해석해야 할 것이다.The foregoing description is merely illustrative of the present invention, and various modifications may be made by those skilled in the art without departing from the spirit of the present invention. Accordingly, the embodiments disclosed in the specification of the present invention are not intended to limit the present invention. The scope of the present invention should be construed according to the following claims, and all the techniques within the scope of equivalents should be construed as being included in the scope of the present invention.
본 발명은 관제 대상 도시(예컨대, 유비쿼터스 도시 등)를 관제하는 관제 서버에서는 소켓 연결을 통해 웹기반 클라이언트에 푸시하고, 클라이언트에서는 실시간으로 푸시된 관제 데이터에 대한 관제 상황을 표시한 후, 특정 클라이언트가 해당 관제 상황을 처리한 후 나머지 클라이언트와의 동기화를 위해 상황 처리 정보와 해당 클라이언트의 ID를 HTTP 프로토콜을 이용해 서버에 전송하고, 관제 서버에서는 전달받은 정보를 연결된 소켓을 통해 브로드캐스팅하여 클라이언트 간의 동기화를 수행함으로써, 유비쿼터스 도시 관제시 실시간으로 관제 상황을 모든 클라이언트에게 전파하여 해당 클라이언트가 적절하게 대응할 수 있으며, 관제 상황 처리시 다른 클라이언트에게도 상황 처리 정보를 용이하게 동기화시킬 수 있다. 이러한 점에서 기존 기술의 한계를 뛰어 넘음에 따라 관련 기술에 대한 이용만이 아닌 적용되는 장치의 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용 가능성이 있는 발명이다.According to the present invention, a control server controlling a control target city (for example, a ubiquitous city, etc.) pushes a web-based client to a web-based client through a socket connection, and displays a control situation for control data pushed in real time on the client, and then a specific client After processing the control situation, send the situation processing information and the ID of the client to the server using the HTTP protocol for synchronization with the rest of the clients, and the control server broadcasts the received information through the connected socket to perform synchronization between the clients. By performing the ubiquitous city control, the control situation can be propagated to all clients in real time so that the corresponding client can respond appropriately, and the process can easily synchronize the situation processing information to other clients. In this respect, the invention is a commercially available invention because the possibility of marketing or operating the applied device is not only sufficient for the use of the related technology, but also practically evident as it exceeds the limitation of the existing technology.
200: 웹 기반의 관제 시스템 210: 관제 서버
220: 클라이언트 장치 310: 이벤트 수집부
320: 관제 데이터 관리부 330: 소켓 서비스부
340: 클라이언트 관리부 350: 데이터 저장부
410: 소켓 연결부 420: 관제 데이터 분석부
430: 관제 상황 표시부 440: 서버 통신부200: web based control system 210: control server
220: client device 310: event collector
320: control data management unit 330: socket service unit
340: client management unit 350: data storage unit
410: socket connection portion 420: control data analysis unit
430: control status display unit 440: server communication unit
Claims (23)
상기 소켓 서비스부가 클라이언트로부터 접속 요청이 있는 경우, 상기 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 상기 클라이언트와 연결하는 소켓 연결 단계;
상기 소켓 서비스부가 상기 클라이언트에 클라이언트 ID를 할당하는 ID 할당 단계;
이벤트 수집부가 관제 대상 도시에서 발생한 이벤트 정보를 수집하는 이벤트 수집 단계;
관제 데이터 관리부가 상기 수집된 이벤트 정보를 이용하여 상기 관제 대상 도시의 관제 데이터를 생성하는 관제 데이터 생성 단계;
서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면이 상기 생성된 관제 데이터가 발생한 위치로 이동하도록, 상기 소켓 서비스부가 상기 생성된 관제 데이터를 상기 클라이언트와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트하는 관제 데이터 푸시 단계;
클라이언트 관리부가 상기 클라이언트로부터 HTTP 프로토콜을 통해 상황 처리 정보와 상황 처리 정보를 처리한 클라이언트 ID를 수신하는 처리 정보 수신 단계; 및
상기 소켓 서비스부가 상기 수신된 클라이언트 ID와 상황 처리 정보를 클라이언트로 브로드캐스트하여 상기 수신된 클라이언트 ID의 클라이언트가 처리한 상황 처리 정보를 다른 클라이언트들이 상기 상황 처리 정보를 처리하도록 상기 클라이언트와 상기 다른 클라이언트들을 동기화시키는 단계
를 포함하는 것을 특징으로 하는 관제 서버에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.Opening and storing a plurality of sockets in advance in a socket pool before a socket service unit receives a connection request from a client;
A socket connection step of connecting to the client using any one of the stored sockets when the socket service unit receives a connection request from a client;
An ID allocating step of allocating, by the socket service unit, a client ID to the client;
An event collecting step of collecting, by the event collecting unit, event information generated in the control target city;
A control data generation step of generating, by a control data manager, control data of the control target city by using the collected event information;
The socket service unit may transmit the generated control data through a socket connected to the client so that the screen of the client moves to the location where the generated control data is generated regardless of whether they monitor different locations or the same location. A control data push step of broadcasting in a based push manner;
A processing information receiving step of receiving, by the client manager, a client ID which has processed the situation processing information and the situation processing information from the client through the HTTP protocol; And
The socket service unit broadcasts the received client ID and the context processing information to the client, thereby allowing the other clients to process the context processing information processed by the client of the received client ID. Steps to synchronize
Web-based U-city control method using a push method in the control server comprising a.
상기 오픈된 복수의 소켓들을 통하여 하트비트(Heartbeat) 메시지를 전송하는 단계와;
상기 전송한 하트비트(Heartbeat) 메시지에 대해 임의 횟수 이상 응답이 없는 클라이언트와는 소켓 연결을 해제하는 단계를
더 포함하는 것을 특징으로 하는 관제 서버에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.The method of claim 1,
Transmitting a heartbeat message through the opened plurality of sockets;
Disconnecting the socket from the client that has not responded to the transmitted heartbeat message at least randomly.
Web-based U-city control method using a push method in the control server characterized in that it further comprises.
상기 소켓 서비스부가 상기 소켓 연결된 클라이언트로 하트비트 메시지를 전송하여 기설정된 응답 조건에 따라 응답 메시지를 수신하고, 응답이 없는 클라이언트의 소켓 연결을 해제하는 소켓 해제 단계
를 더 포함하는 것을 특징으로 하는 관제 서버에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.The method of claim 1,
A socket release step of transmitting, by the socket service unit, a heartbeat message to the socket-connected client to receive a response message according to a preset response condition, and releasing a socket connection of a client that has no response;
Web-based U-city control method using a push method in the control server characterized in that it further comprises.
상기 소켓 연결부가 상기 관제 서버로 접속 요청하여 클라이언트 ID를 할당받는 ID 할당 단계;
상기 소켓 연결부가 상기 관제 서버로부터 웹 기반의 푸시 방식으로 브로드캐스트된 관제 데이터를 상기 연결된 소켓을 통해 수신하는 관제 데이터 수신 단계;
관제 데이터 분석부가 상기 수신된 관제 데이터를 분석하여 관제 상황 정보를 추출하는 관제 데이터 분석 단계;
관제 상황 표시부가 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 상기 추출된 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 추출된 관제 상황 정보를 표시하는 관제 상황 표시 단계;
상기 관제 상황 표시부에서 사용자의 명령에 따라 상기 표시된 관제 상황 정보가 처리된 후 나머지 클라이언트와의 동기화를 위해, 상기 소켓 연결부가 상황 처리 정보와 상기 소켓 연결부를 통해 할당된 클라이언트 ID를 HTTP 프로토콜을 이용해 상기 관제 서버에 전송하여 상황 처리 정보의 동기화를 요청하는 동기화 요청 단계; 및
상기 소켓 연결부를 통해 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 관제 데이터 분석부가 상기 수신된 클라이언트 ID를 확인하는 클라이언트 ID 확인 단계를 포함하고,
상기 관제 상황 표시 단계는, 상기 관제 상황 표시부가 상기 확인된 클라이언트 ID가 자신의 클라이언트 ID와 다르면 상기 수신된 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 하는 클라이언트 장치에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.A socket connection step of connecting a socket of a client device to a socket of a control server according to a connection request, wherein the socket of the control server is one of a plurality of sockets previously opened in the control server before the client device requests a connection; ;
An ID allocating step in which the socket connection unit requests a connection to the control server and is assigned a client ID;
A control data reception step of the socket connection unit receiving control data broadcasted from the control server in a web-based push manner through the connected socket;
A control data analysis step of analyzing, by the control data analysis unit, the received control data to extract control situation information;
Regardless of the case where the monitoring status display unit monitors different locations or the same location, the screen of the client is moved to the location where the extracted monitoring status information is generated, and the extracted monitoring status information is displayed on the moved client screen. Controlling status display step of displaying;
In order to synchronize with the remaining clients after the displayed monitoring status information is processed according to a user's command in the monitoring status display unit, the socket connection part uses the HTTP protocol to process the status information and the client ID assigned through the socket connection part. A synchronization request step of transmitting to the control server to request synchronization of the situation processing information; And
Receiving a client ID and the status processing information from the control server via the socket connection unit, and the client data identification step of the control data analysis unit confirms the received client ID,
In the control situation display step, the control situation display unit, the push method in the client device, characterized in that for updating the previously displayed control situation according to the received situation processing information if the confirmed client ID is different from its client ID; Web-based U-city control method using
상기 관제 데이터 수신 단계는,
상기 소켓 연결부가 XML 형태로 전달된 관제 데이터를 수신하는 것을 특징으로 하는 클라이언트 장치에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.The method of claim 5, wherein
The control data receiving step,
Web-based U-city control method using a push method in the client device, characterized in that for receiving the control data transmitted in the form of the socket connection XML.
상기 소켓 연결부가 상기 관제 서버로부터 하트비트 메시지를 수신하고, 기설정된 응답 조건에 따라 상기 수신된 하트비트 메시지에 대한 응답 메시지를 상기 관제 서버로 전송하는 메시지 응답 단계
를 더 포함하는 것을 특징으로 하는 클라이언트 장치에서의 푸시 방식을 이용한 웹 기반의 U-시티 관제 방법.The method of claim 5, wherein
A message response step of the socket connection unit receiving a heartbeat message from the control server and transmitting a response message for the received heartbeat message to the control server according to a preset response condition;
Web-based U-city control method using a push method in the client device characterized in that it further comprises.
상기 관제 서버와 연결된 소켓을 통해 브로드캐스트된 관제 데이터를 수신하고, 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 수신된 관제 데이터로부터 추출된 관제 상황 정보를 표시하고, 상기 표시된 관제 상황 정보를 처리한 후, 상황 처리 정보와 클라이언트 ID를 HTTP 프로토콜을 통해 상기 관제 서버로 전송하여 상황 처리 정보의 동기화를 요청하는 클라이언트 장치를 포함하고,
상기 관제 서버가, 상기 클라이언트 장치로부터 HTTP 프로토콜을 통해 상황 처리 정보와 상황 처리 정보를 처리한 클라이언트 ID를 수신하고, 상기 수신된 클라이언트 ID와 상황 처리 정보를 브로드캐스트하여 상기 클라이언트와 상기 다른 클라이언트들을 동기화시키고,
상기 클라이언트 장치가, 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 수신된 클라이언트 ID가 자신의 클라이언트 ID와 다르면 상기 수신된 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 U-시티 관제 시스템.Before the connection request is received, a plurality of sockets are opened and stored in the socket pool in advance. When the connection request is received, the connection is made using any one of the stored sockets, and event information generated in the control target city. A control server for generating control data by collecting the broadcast data and broadcasting the generated control data through the connected socket; And
Receives broadcasted control data through a socket connected to the control server, moves the screen of the client to a location where control status information occurs, regardless of monitoring different positions or the same position. Display the monitoring status information extracted from the received control data on the screen of, process the displayed monitoring status information, and then transmit the status processing information and the client ID to the control server through the HTTP protocol to synchronize the status processing information. A client device requesting
The control server receives, from the client device, a client ID that has processed situation processing information and situation processing information through an HTTP protocol, and broadcasts the received client ID and situation processing information to synchronize the client with the other clients. Let's
The client device receives a client ID and situation processing information from the control server, and if the received client ID is different from its client ID, updates the previously displayed control situation according to the received situation processing information. Web-based U-city control system using a push method.
상기 오픈된 복수의 소켓들을 통하여 하트비트(Heartbeat) 메시지를 전송하고, 상기 전송한 하트비트(Heartbeat) 메시지에 대해 임의 횟수 이상 응답이 없는 클라이언트와는 소켓 연결을 해제하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 U-시티 관제 시스템.The method of claim 10, wherein the control server
A push method comprising transmitting a heartbeat message through the opened plurality of sockets and releasing a socket connection with a client that has not responded to the transmitted heartbeat message more than a predetermined number of times. Web-based U-city control system using.
상기 이벤트 수집부에서 수집된 이벤트 정보를 저장하는 데이터 저장부;
상기 이벤트 수집부에서 수집된 이벤트 정보를 이용하여 상기 관제 대상 도시의 관제 데이터를 생성하는 관제 데이터 관리부;
접속 요청이 수신되기 전에 미리 복수의 소켓들을 오픈하여 소켓 풀에 저장하고, 상기 접속 요청이 수신되는 경우, 상기 저장된 복수의 소켓 중에서 어느 하나의 소켓을 이용하여 연결하고, 클라이언트에 클라이언트 ID를 할당하고, 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면이 상기 생성된 관제 데이터가 발생한 위치로 이동하도록, 상기 관제 데이터 관리부에서 생성된 관제 데이터를 상기 클라이언트와 연결된 소켓을 통해 웹 기반의 푸시 방식으로 브로드캐스트하는 소켓 서비스부; 및
상기 클라이언트로부터 HTTP 프로토콜을 통해 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 소켓 서비스부로 클라이언트 ID와 상황 처리 정보의 푸시를 요청하는 클라이언트 관리부를 포함하고,
상기 소켓 서비스부가, 상기 수신된 클라이언트 ID와 상황 처리 정보를 클라이언트로 브로드캐스트하여 상기 수신된 클라이언트 ID의 클라이언트가 처리한 상황 처리 정보를 다른 클라이언트들이 상기 상황 처리 정보를 처리하도록 동기화시키는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 U-시티 관제 서버.An event collector configured to collect event information generated in the control target city;
A data storage unit for storing the event information collected by the event collector;
A control data manager for generating control data of the control target city by using the event information collected by the event collector;
Before the connection request is received, a plurality of sockets are opened and stored in the socket pool in advance. When the connection request is received, the connection is established using any one of the stored sockets, and a client ID is assigned to the client. The control data management unit generates the control data generated by the control data management unit through the socket connected to the client so that the screen of the client moves to the location where the generated control data is generated, regardless of monitoring different locations or monitoring the same location. A socket service unit for broadcasting in a web-based push method; And
Receiving a client ID and the status processing information from the client through the HTTP protocol, and comprises a client management unit for requesting the push of the client ID and the status processing information to the socket service unit,
And the socket service unit broadcasts the received client ID and the situation processing information to the client to synchronize the situation processing information processed by the client of the received client ID so that other clients process the situation processing information. Web-based U-city control server using push method.
상기 소켓 서비스부는 상기 오픈된 복수의 소켓들을 통하여 하트비트(Heartbeat) 메시지를 전송하고, 상기 전송한 하트비트(Heartbeat) 메시지에 대해 임의 횟수 이상 응답이 없는 클라이언트와는 소켓 연결을 해제하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 U-시티 관제 서버.16. The method of claim 15,
The socket service unit transmits a heartbeat message through the opened plurality of sockets, and releases a socket connection with a client that has not responded to the transmitted heartbeat message more than a predetermined number of times. Web-based U-city control server using a push method.
상기 소켓 서비스부는,
상기 소켓 연결된 클라이언트로 하트비트 메시지를 전송하여 기설정된 응답 조건에 따라 응답 메시지를 수신하고, 응답이 없는 클라이언트의 소켓 연결을 해제하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 U-시티 관제 서버.The method of claim 15,
The socket service unit,
And transmitting a heartbeat message to the socket-connected client to receive a response message according to a preset response condition, and releasing the socket connection of the client that has no response.
상기 소켓 연결부를 통해 수신된 관제 데이터를 분석하여 관제 상황 정보를 추출하는 관제 데이터 분석부;
관제 상황 표시부가 서로 다른 위치를 감시하거나 동일한 위치를 감시하고 있는 경우와 관계없이 클라이언트의 화면을 상기 관제 데이터 분석부에서 추출된 관제 상황 정보가 발생한 위치로 이동시키고 상기 이동된 클라이언트의 화면에서 상기 추출된 관제 상황 정보를 표시하는 관제 상황 표시부; 및
상기 관제 상황 표시부에서 사용자의 명령에 따라 상기 표시된 관제 상황 정보가 처리된 후, 상황 처리 정보와 클라이언트 ID를 HTTP 프로토콜을 통해 상기 관제 서버로 전송하여 상황 처리 정보의 동기화를 요청하는 서버 통신부를 포함하고,
상기 관제 상황 표시부는, 상기 소켓 연결부를 통해 상기 관제 서버로부터 클라이언트 ID와 상황 처리 정보를 수신하고, 상기 관제 데이터 분석부가 상기 수신된 클라이언트 ID를 확인하여 자신의 클라이언트 ID와 다르면 상기 상황 처리 정보에 따라 이전에 표시된 관제 상황을 갱신하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 클라이언트 장치.Request connection to the control server to connect the socket with the control server, receive control data broadcasted from the control server in a web-based push method through the connected socket, and request the connection to the control server to assign a client ID A receiving socket connection, wherein the socket of the control server is one of a plurality of sockets previously opened in the control server before making the connection request;
A control data analysis unit for analyzing control data received through the socket connection unit to extract control status information;
Regardless of whether the monitoring status display unit monitors different locations or the same location, the screen of the client is moved to the location where the monitoring status information extracted from the monitoring data analyzer is generated and the extraction is performed on the screen of the moved client. A control status display unit for displaying the completed control status information; And
And a server communication unit for requesting synchronization of the situation processing information by transmitting the situation processing information and the client ID to the control server through the HTTP protocol after the displayed monitoring situation information is processed according to a user's command in the monitoring situation display unit. ,
The control status display unit receives a client ID and situation processing information from the control server through the socket connection unit, and if the control data analysis unit checks the received client ID and is different from its client ID, according to the situation processing information. Web-based client device using a push method, characterized in that for updating the previously displayed control situation.
상기 소켓 연결부는,
상기 연결된 소켓을 통해 XML 형태로 전달된 관제 데이터를 수신하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 클라이언트 장치.The method of claim 19,
The socket connection portion,
Web-based client device using a push method, characterized in that for receiving the control data transmitted in the form of XML through the connected socket.
상기 소켓 연결부는,
상기 관제 서버로부터 하트비트 메시지를 수신하고, 기설정된 응답 조건에 따라 상기 수신된 하트비트 메시지에 대한 응답 메시지를 상기 관제 서버로 전송하는 것을 특징으로 하는 푸시 방식을 이용한 웹 기반의 클라이언트 장치.The method of claim 19,
The socket connection portion,
Receiving a heartbeat message from the control server, and transmitting a response message to the control server according to a preset response condition to the control server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110085184A KR101302856B1 (en) | 2011-08-25 | 2011-08-25 | Method and system monitoring u-city based on web using push type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110085184A KR101302856B1 (en) | 2011-08-25 | 2011-08-25 | Method and system monitoring u-city based on web using push type |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20130033480A KR20130033480A (en) | 2013-04-04 |
KR101302856B1 true KR101302856B1 (en) | 2013-09-02 |
Family
ID=48435836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110085184A KR101302856B1 (en) | 2011-08-25 | 2011-08-25 | Method and system monitoring u-city based on web using push type |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101302856B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000022687A (en) * | 1998-06-30 | 2000-01-21 | Meidensha Corp | Wide area monitoring system |
JP2003015793A (en) * | 2001-07-03 | 2003-01-17 | Matsushita Electric Works Ltd | Method and system for dynamically changing and displaying information to be monitored on network on monitor screen and user interface player program for realizing the same system |
KR20050073432A (en) * | 2005-06-22 | 2005-07-13 | 경봉기술(주) | A line station data display system for railroad control system and the method thereof |
JP2008005233A (en) | 2006-06-22 | 2008-01-10 | Mitsubishi Electric Corp | Multicast data distribution method |
-
2011
- 2011-08-25 KR KR1020110085184A patent/KR101302856B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000022687A (en) * | 1998-06-30 | 2000-01-21 | Meidensha Corp | Wide area monitoring system |
JP2003015793A (en) * | 2001-07-03 | 2003-01-17 | Matsushita Electric Works Ltd | Method and system for dynamically changing and displaying information to be monitored on network on monitor screen and user interface player program for realizing the same system |
KR20050073432A (en) * | 2005-06-22 | 2005-07-13 | 경봉기술(주) | A line station data display system for railroad control system and the method thereof |
JP2008005233A (en) | 2006-06-22 | 2008-01-10 | Mitsubishi Electric Corp | Multicast data distribution method |
Also Published As
Publication number | Publication date |
---|---|
KR20130033480A (en) | 2013-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11496472B2 (en) | System and method for secure access to camera systems | |
CN101536014B (en) | Embedded appliance for multimedia capture | |
CN107734363A (en) | The display methods and system of a kind of vision signal | |
CN112256733A (en) | Data caching method and device, electronic equipment and computer readable storage medium | |
KR101340206B1 (en) | Instant messaging service method using location information | |
CN103209195A (en) | Data acquisition method, terminal and far-end device | |
US9430935B2 (en) | Emergency event message | |
CN103873816A (en) | Video surveillance method and device | |
CN112911005B (en) | Data synchronization system and method and parking lot data updating method | |
KR101302856B1 (en) | Method and system monitoring u-city based on web using push type | |
Sasaki et al. | A disaster information sharing method by the mobile servers in challenged networks | |
CN101022541A (en) | Image monitoring system and method under server/customer end constitution | |
CN106657116B (en) | Method and device for remotely starting streaming data transmission | |
CN112969170B (en) | Air-space-ground integrated emergency communication and command scheduling system | |
KR20050100778A (en) | Relay from the spot system and its method | |
CN113938636A (en) | Voice talkback method, device, storage medium and computer program product | |
CN111556284A (en) | Method and device for sharing video stream monitored by video network | |
KR101744533B1 (en) | Disasters adn risk information spread system based on n-screen service | |
KR101433216B1 (en) | On-Site Management System | |
US20120072545A1 (en) | Remote maintenance and monitoring service framework for heterogeneous device and system | |
KR101270148B1 (en) | System and method for network management in standard web | |
CN103428023A (en) | Operation configuration method and device | |
CN112291207B (en) | Method and device for acquiring front-end equipment catalog | |
CN112565173B (en) | Method and apparatus for message processing | |
CN105681264A (en) | Communication method and device for client units |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
AMND | Amendment | ||
X701 | Decision to grant (after re-examination) | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20160701 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20170703 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20180703 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20190708 Year of fee payment: 7 |