KR20180002377A - Fire engine pump monitoring and control system using web server and the method thereof - Google Patents

Fire engine pump monitoring and control system using web server and the method thereof Download PDF

Info

Publication number
KR20180002377A
KR20180002377A KR1020160081820A KR20160081820A KR20180002377A KR 20180002377 A KR20180002377 A KR 20180002377A KR 1020160081820 A KR1020160081820 A KR 1020160081820A KR 20160081820 A KR20160081820 A KR 20160081820A KR 20180002377 A KR20180002377 A KR 20180002377A
Authority
KR
South Korea
Prior art keywords
fire engine
engine pump
web server
request
web
Prior art date
Application number
KR1020160081820A
Other languages
Korean (ko)
Other versions
KR101863745B1 (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 KR1020160081820A priority Critical patent/KR101863745B1/en
Publication of KR20180002377A publication Critical patent/KR20180002377A/en
Application granted granted Critical
Publication of KR101863745B1 publication Critical patent/KR101863745B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Automation & Control Theory (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a fire engine pump monitoring and control system using a web server, capable of monitoring and controlling a fire engine pump through a remote-control server using asynchronous javascript and XML (AJAX), and a method thereof. The fire engine pump monitoring and control system using a web server comprises: a fire engine pump control device (100) controlling the driving of a fire engine pump (10) and monitoring and displaying the state; a web server (200) receiving state information of the fire engine pump control device (100) through a communication network, providing the same to user terminals (300) by a web service, receiving a control command inputted through a remote-control interface (320) of the fire engine pump control device outputted to the user terminal (300), and transmitting the received control command to the fire engine pump control device (100) to relay remote control; and a plurality of mobile terminals (300) receiving and displaying the state information of the fire engine pump control device (100) provided by the control server (200) through the remote-control interface (320) of the fire engine pump control device driven on a web browser (310) to perform monitoring, and transmitting the control command inputted by a user to the fire engine control device (100) via the web server (200) to remotely control the fire engine control device (100). Therefore, it is possible to reduce the web server and communication load and to remotely monitor and control the fire engine pump control device.

Description

웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템 및 그 방법{FIRE ENGINE PUMP MONITORING AND CONTROL SYSTEM USING WEB SERVER AND THE METHOD THEREOF}FIELD OF THE INVENTION [0001] The present invention relates to a fire engine pump monitoring and control system using a web server,

본 발명은 소방 엔진펌프 모니터링 및 제어에 관한 것으로서, 더욱 상세하게는, AJAX(Asynchronous Java Script And XML)를 이용하는 원격지의 웹서버를 통해 소방엔진 펌프를 모니터링하고 제어할 수 있도록 하는 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템 및 그 방법에 관한 것이다.The present invention relates to monitoring and controlling a fire engine pump, and more particularly, to a fire engine pump monitoring and control system using a web server for monitoring and controlling a fire engine pump through a remote web server using AJAX (Asynchronous Java Script And XML) To an engine pump monitoring and control system and method thereof.

소방용 엔진펌프는 엔진에 의해 발생된 동력으로 구동되는 펌프로서, 통상의 모터펌프에 비해 고양정 및 대용량을 얻을 수 있어 화재 시 소화에 필요한 소방수를 공급하기 위한 용도로 사용된다.The fire-fighting engine pump is a power-driven pump generated by an engine. The fire-fighting engine pump is used for supplying fire-fighting water required for fire-fighting because it can provide a higher capacity and a larger capacity than an ordinary motor pump.

따라서 소방용 엔진펌프는 신속한 화재의 진압은 물론, 화재로 인한 피해의 확산을 방지하기 위해 고장이 발생하지 말아야하며, 고장 발생 시 신속히 파악하여 조치를 취해야 한다. 그러나 이러한 소방용 엔진펌프는 지하실 등의 관리자나 사람의 왕래가 빈번하지 않은 위치에 설치되므로 원격지에서의 모니터링 및 제어기술을 요구하였다.Therefore, the fire engine pump should not cause a breakdown in order to prevent the spread of damage caused by fire as well as the suppression of the fire promptly. However, since such a fire engine pump is installed in a place where a manager or a person such as a basement moves frequently, the monitoring and control technology of a remote place is required.

이에 따라, 한국등록특허공보 제10-1194787호(2012.10.25.)는 압력탱크부(100), 엔진펌프(200), 조작부(300), 엔진펌프구동부(400) 및 제어부(600)를 구비하고, 조작부(300)는 엔진펌프(200)의 일 측에 구비되는 주조작반(310)과 엔진펌프와 이격되게 배치되는 원격조작반(320)을 구비하여 원격지에서 엔진펌프(200)의 구동을 원격 조작할 수 있도록 하는 소방용 엔진펌프 시스템 및 이의 제조방법을 개시한다.Accordingly, Korean Patent Registration No. 10-1194787 (Oct. 25, 2012) includes a pressure tank unit 100, an engine pump 200, an operation unit 300, an engine pump driving unit 400, and a control unit 600 The operation unit 300 includes a main operation panel 310 provided on one side of the engine pump 200 and a remote control panel 320 disposed apart from the engine pump 200, And a method of manufacturing the same.

또한, 한국 등록실용신안공보 제20-045930호 (2012.03.22.공고)는 펌프조작스위치, 전압표시창, 회전수표시창 및 내부단자부가 구비된 원격제어장치를 이용하여 소방용 엔진펌프를 원격 제어하는 소방용 엔진펌프 제어장치를 개시한다.In addition, Korean Utility Model Registration No. 20-045930 (issued on March 22, 2012) discloses a remote control device for remote control of a fire engine pump using a pump control switch, a voltage display window, a rotational speed display window, An engine pump control apparatus is disclosed.

그러나 상술한 종래기술의 경우, 이와 같이 완전한 원격제어가 아닌 소방엔진펌프와 이격된 위치에 설치된 원격조작반의 위치에서만 원격제어를 수행해야하는 한계를 가진다.However, in the case of the above-described conventional art, there is a limit to perform remote control only at the position of the remote control unit installed at a remote position from the fire engine pump, not the complete remote control.

또한, 소방엔진펌프의 원격제어를 HTML(Hyper Text Markup Language)을 이용하여 웹상에서 수행되는 기술들이 공개되고 있으나, HTML은 특정한 페이지를 읽고자 할 때 전체의 구성요소와 프로세스에 따라 연결된 모든 페이지들을 로딩 할 때 소요되는 시간으로 멀티미디어 콘텐츠의 수용에 한계가 있다.In addition, technologies that are performed on the web using the HTML (Hyper Text Markup Language) remote control of the fire engine pump are disclosed, but when reading a specific page, The time required to load multimedia content is limited.

도 1은 종래기술의 HTML 기반의 웹 서버 구성에서의 클라이언트의 페이지 요청 및 페이지결과 출력 과정을 나타내는 도면이다.FIG. 1 is a diagram illustrating a page request and a page output process of a client in a conventional HTML-based web server configuration.

도 1과 같이, 기존의 웹 애플리케이션은 브라우저에서 폼을 채우고 이를 웹 서버로 제출(submit)을 하면 하나의 요청으로 웹 서버는 요청된 내용에 따라서 데이터를 가공하여 새로운 웹 페이지를 작성하고 응답으로 돌려준다. 즉, 페이지 이때 최초에 폼을 가지고 있던 페이지와 사용자가 이 폼을 채워 결과물로서 되돌려 받은 페이지는 일반적으로 유사한 내용을 가지고 있는 경우가 많다. 결과적으로 중복되는 HTML 코드를 다시 한 번 전송을 받음으로써 많은 대역폭을 낭비하게 된다. 대역폭의 낭비는 금전적 손실을 야기할 수 있으며 사용자와 상호작용하는 서비스를 만들기 어렵게도 한다.As shown in FIG. 1, when an existing web application fills a form in a browser and submits it to a web server, the web server processes the data in accordance with the requested content, creates a new web page, give. In other words, the page that originally had the form at the time of the page and the page that the user filled in the form and returned as the result are often similar in content. As a result, duplicate HTML code is sent again, wasting a lot of bandwidth. Wasting bandwidth can cause financial losses and make it difficult to create services that interact with users.

또한 페이지 기반의 클라이언트 모델에 대한 의존도가 높아 사용자는 전체페이지를 반환해야 하는 것과 페이지가 표시될 때까지 기다려야 하는 시간 낭비의 단점이 있다.Also, there is a high dependency on the page-based client model, which means that the user has to return the entire page and waste time waiting for the page to be displayed.

한국등록특허공보 제10-1194787호(2012.10.25.)Korean Registered Patent No. 10-1194787 (October 25, 2012) 한국 등록실용신안공보 제20-045930호 (2012.03.22.공고)Korean Registered Utility Model No. 20-045930 (Notice of March 22, 2012)

따라서 본 발명은 상술한 종래기술의 문제점을 해결하기 위한 것으로서, 임베디드 시스템의 제한된 자원을 수용하면서 원격지의 웹 브라우저를 통해 서버의 데이터를 접근할 때 기존의 플러그인 도움 없이 웹 브라우저만을 이용하여 인터랙티브하고 응답성, 사용성을 높일 수 있는 AJAX 기반의 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템 및 그 방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems of the prior art, and it is an object of the present invention to provide a method and system for interactively accessing data from a server via a web browser, The present invention aims to provide a fire pump monitoring and control system using a web server based on AJAX, which can improve reliability and usability.

상술한 목적을 달성하기 위한 본 발명의 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템은,According to an aspect of the present invention, there is provided a fire engine pump monitoring and control system using a web server,

소방엔진펌프(10)의 구동을 제어하며 상태를 모니터링하여 표시하는 소방엔진펌프제어장치(100);A fire engine pump control apparatus 100 for controlling the driving of the fire engine pump 10 and monitoring and displaying the status;

소방엔진펌프제어장치(100)의 상태 정보를 통신망을 통해 수신한 후 사용자 단말기(300)들로 웹서비스에 의해 제공하며, 사용자 단말기(300)에 출력되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 입력된 제어 명령을 수신 받아 소방엔진펌프제어장치(100)로 전송하여 원격제어를 중계하는 웹서버(200); 및The state information of the fire engine pump control apparatus 100 is received via the communication network and provided to the user terminals 300 through the web service and the fire engine pump control apparatus remote control interface 320 A web server 200 that receives the control command input through the controller 200 and transmits the control command to the fire engine pump control apparatus 100 to relay remote control; And

웹브라우저(310) 상에서 구동되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 웹서버(200)에서 제공되는 소방엔진펌프제어장치(100)의 상태 정보를 수신하여 표시하여 모니터링을 수행할 수 있도록 하고, 사용자에 의해 입력된 제어 명령을 웹서버(200)를 경유하여 소방엔진제어장치(100)로 전송하여 소방엔진제어장치(100)를 원격 제어하는 다수의 사용자 단말기(300);를 포함하여 구성된다.It is possible to receive and display the status information of the fire engine pump control apparatus 100 provided in the web server 200 through the fire control engine remote control interface 320 operated on the web browser 310 And a plurality of user terminals 300 for remotely controlling the fire engine control apparatus 100 by transmitting the control commands inputted by the user to the fire engine control apparatus 100 via the web server 200 .

상기 웹서버(200)는.The web server 200 includes:

사용자 단말기(300)로 소방엔진펌프원격제어장치(100)를 모니터링하고 원격 제어할 수 있도록 하는 웹서비스를 제공하는 웹서비스부(210);A web service unit 210 for providing a web service for monitoring and remotely controlling the fire engine pump remote control device 100 by the user terminal 300;

외부와의 통신 기능을 제공하는 통신부(220);A communication unit 220 for providing a communication function with the outside;

소방엔진펌프제어장치(100)의 상태 정보와 제어정보 및 웹서비스 제공을 위한 AJAX 프로토콜을 탑재하는 저장부(230); 및A storage unit 230 for loading state information and control information of the fire engine pump control apparatus 100 and an AJAX protocol for providing a web service; And

웹서버(200)의 전체 동작을 제어하는 중앙처리부(240);를 포함하여 구성된다.And a central processing unit (240) for controlling the overall operation of the web server (200).

상기 사용자 단말기(300)는,The user terminal (300)

소방엔진펌프제어장치(100)의 전면 패널 형상을 나타내는 이미지로서 소방엔진펌프제어장치(100)의 상태 정보를 동일하게 표시하며, 스위치의 조작을 수행할 수 있도록 하여 소방엔진펌프제어장치(100)에서 소방엔진펌프제어장치(100)를 제어할 수 있도록 웹브라우저(310)에서 AJAX에 의해 구동되는 원격제어인터페이스(320);를 포함하여 구성된다.The state information of the fire engine pump control apparatus 100 is displayed in the same manner as the image showing the front panel shape of the fire engine pump control apparatus 100 and the operation of the switch can be performed, And a remote control interface 320 driven by the AJAX in the web browser 310 so as to control the fire engine pump control apparatus 100 in FIG.

상기 웹브라우저는 AJAX를 이용하여 필요데이터만을 웹서버(200)로 요청하며, 요청은 자바스크립트에 의한 DOM(Document Of Model)에 의해 웹서버로 전달되고, 웹서버(200)는 요청을 수신한 후 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하여 생성된 응답을 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Document Of Model)로 웹브라우저(310)로 전송하며, 웹브라우저(310)는 수신된 데이터를 표시하기 위하여 HTTP 페이지를 갱신함이 없이 요청의 응답데이터를 표시할 수 있도록 변환하여 수신된 데이터를 표시하는 비동기식으로 동작하도록 구성되는 것을 특징으로 한다.The web browser requests only the necessary data using the AJAX to the web server 200. The request is delivered to the web server by DOM (Document Of Model) by javascript, and the web server 200 receives the request A response corresponding to the request is generated, and the generated response is converted into an XML or text file, and then transmitted to the web browser 310 as a DOM (Document Of Model) by JavaScript , The web browser 310 is configured to operate asynchronously to display the received data by converting the response data of the request to display the received data without updating the HTTP page to display the received data.

상기 웹브라우저(310)는 상기 웹서버(200)로 요청을 수행하는 경우,When the web browser 310 performs a request to the web server 200,

소방엔진펌프의 원하는 상태를 페이지 상에 출력하기 위한 HTTP요청을 할 객체를 만들고, 오픈(open) 메소드를 통해 GET방식으로 /ledstate?라는 URL에 연결하여 비동기(true)로 상기 웹서버(200)로 소방엔진펌프제어장치(100)의 상태 정보에 대한 요청을 수행하도록 구성되는 것을 특징으로 한다.An object to make an HTTP request for outputting a desired state of the fire engine pump on a page is created and connected to a URL of / ledstate? In a GET method via an open method, and the asynchronous (true) To perform a request for status information of the fire engine pump control apparatus (100).

상기 웹브라우저(310)의 요청은,The request of the web browser 310,

XMLHttpRequest를 이용하며, 브라우저가 XMLHttpRequest를 지원하지 않는 경우 ActiveX Object를 이용하여 수행되는 것을 특징으로 한다.XMLHttpRequest is used, and when the browser does not support XMLHttpRequest, it is performed using an ActiveX Object.

상술한 목적을 달성하기 위한 본 발명의 웹서버를 이용한 소방엔진펌프 모니터링과 제어방법은,According to another aspect of the present invention, there is provided a method of monitoring and controlling a fire engine pump using a web server,

웹서버(200)가 소방엔진펌프제어장치(100)로부터 배터리 상태정보, 예열 정보, 스타트모터 상태 정보, 정시솔레노이드 상태 정보, RPM센서 정보를 포함하는 소방엔진펌프제어장치데이터를 수집하여 저장하는 데이터수집과정(S10);The web server 200 collects and stores the fire engine pump control device data including the battery state information, the preheating information, the start motor state information, the on-time solenoid state information, and the RPM sensor information from the fire engine pump control device 100 (S10);

웹서버(200)에 의해 데이터가 수집되어 저장된 상태에서 사용자 단말기(300)의 웹브라우저(310)에 표시되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 사용자가 소방엔진펌프제어장치데이터의 요청을 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하는 데이터요청과정(S20);The user is notified of the fire engine pump control device data through the fire engine pump control device remote control interface 320 displayed on the web browser 310 of the user terminal 300 while the data is collected and stored by the web server 200 A step S20 of requesting a request to be executed by the XMLHttpRequest and transmitting the request to the web server 200 as DOM (Doucument Of Model) data by JavaScript;

웹서버(200)는 사용자 단말기(300)로부터 데이터 요청을 수신하면, JSP, PHP 등의 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하고, 생성된 응답을 HTTP 페이지를 생성함이 없이 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Doucument Of Model)로 웹브라우저(310)로 전송하는 요청응답과정(S30);Upon receiving a data request from the user terminal 300, the web server 200 performs processing by a web program such as JSP or PHP, generates a response corresponding to the request, and generates an HTTP page A request response process (S30) for converting the XML or text file to a web browser 310 using a DOM (Doucument Of Model) by JavaScript;

요청응답과정(S30)에 의해 소방엔진펌프제어장치의 데이터를 가지는 XML 또는 TEXT 정보를 수신한 사용자단말기(300)의 웹브라우저(310)는 HTTP 페이지를 재생성하지 않고 요청을 수행한 HTTP 페이지를 데이터 표시에 맞도록 변환한 후 데이터를 표시하는 데이터표시과정(S40); 및The web browser 310 of the user terminal 300 that has received the XML or TEXT information having the data of the fire engine pump control device by the request response process S30 returns the HTTP page that made the request without regenerating the HTTP page, A data display step (S40) of displaying data after conversion to fit the display; And

이 후, 사용자의 소방엔진펌프제어장치(100)에 대한 제어명령이 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 입력되면, 웹브라우저(310)는 이를 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하고, 웹서버(200)는 수신된 데이터에 따라 소방엔진펌프제어장치(100)를 원격제어하는 소방엔진펌프제어장치제어과정(S50);을 포함하여 이루어진다.Thereafter, when a control command for the user's fire engine pump control apparatus 100 is inputted through the fire engine pump control apparatus remote control interface 320, the web browser 310 executes this by XMLHttpRequest, A fire engine pump control device control process S50 for remotely controlling the fire engine pump control device 100 according to received data, and the web server 200 transmits the data to the web server 200 using DOM (Doucument Of Model) ; ≪ / RTI >

상술한 구성의 본 발명은, 사용자가 소방펌프에 데이터를 요청하면 임베디드 시스템 서버의 데이터를 로딩하지 않고, 일부만 변화시켜 모니터링과 제어의 반응속도를 향상시킬 수 있으며, 실시간으로 확인할 수 있도록 하는 효과를 제공한다.The present invention having the above-described configuration can improve the response speed of monitoring and control by changing only a part of the data without loading the data of the embedded system server when the user requests data from the fire pump, to provide.

또한, 본 발명은, AJAX를 이용하는 것에 의해 필요한 데이터만을 웹 서버에 요청해서 받은 후 클라이언트에서 데이터에 대한 처리를 수행할 수 있고, 이에 의해 웹서버에서 처리되던 데이터 일부분이 클라이언트 쪽에서 처리되므로, 웹브라우저와 웹 서버 사이에 교환되는 데이량과 웹서버의 데이터 처리량을 줄여 애플리케이션의 응답성이 향상되는 효과를 제공한다.In addition, the present invention uses AJAX to request only the necessary data from the web server, and then the client can perform processing on the data. Thus, since a part of the data processed by the web server is processed on the client side, The amount of data exchanged between the server and the web server and the data throughput of the web server are reduced, thereby improving the responsiveness of the application.

또한, 본 발명은 AJAX를 이용하는 것에 의해 페이지 이동 없이 고속으로 화면 전환이 가능하고, 서버 측 처리를 각각의 PC에 분산 가능하며 수신하는 데이터의 양을 줄일 수 있어 웹서버의 데이터 처리에 대한 부하를 줄일 수 있도록 하며, 웹서버의 데이터 처리에 대한 부하를 줄여주는 일이 요청을 하는 수많은 컴퓨터에 대해서 일어나기 때문에 전체적인 웹 서버 처리량을 현저히 줄일 수 있도록 하는 효과를 제공한다.Further, by using AJAX, the present invention can switch the screen at high speed without moving the page, and it is possible to distribute server-side processing to each PC and reduce the amount of data to be received, And reducing the load on the data processing of the web server occurs for a large number of computers that make a request, thereby reducing the overall web server throughput.

도 1은 종래기술의 HTML 기반의 웹 서버 구성에서의 클라이언트의 페이지 요청 및 페이지결과 출력 과정을 나타내는 도면.
도 2는 본 발명의 실시예에 따르는 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템의 구성도.
도 3은 웹서버(200)의 구성 및 소방엔진펌프제어장치(100)와 사용자 단말기(300)의 인터페이스의 구성을 나타내는 도면.
도 4는 사용자 단말기(300)의 웹브라우저(클라이언트)와 웹서버(서버, 200) 사이의 AJAX에 의해 통신을 나타내는 도면.
도 5는 웹브라우저(310)에서의 요청을 위한 자바스크립트를 나타내는 도면.
도 6은 본 발명의 실시예에 따르는 웹서버를 이용한 소방엔진펌프 모니터링과 제어방법의 순서도.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating a client requesting a page and outputting a page result in a conventional HTML-based web server configuration; FIG.
2 is a configuration diagram of a fire engine pump monitoring and control system using a web server according to an embodiment of the present invention.
3 is a view showing a configuration of the web server 200 and a configuration of an interface between the fire engine pump control apparatus 100 and the user terminal 300;
4 is a diagram showing communication by AJAX between a web browser (client) of a user terminal 300 and a web server (server) 200. Fig.
5 is a diagram illustrating JavaScript for a request in the web browser 310;
6 is a flowchart of a fire engine pump monitoring and control method using a web server according to an embodiment of the present invention.

하기에서 본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.In the following description of the present invention, detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

본 발명의 개념에 따른 실시 예는 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있으므로 특정 실시 예들을 도면에 예시하고 본 명세서 또는 출원서에 상세하게 설명하고자 한다. 그러나 이는 본 발명의 개념에 따른 실시 예를 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명은 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 또한, 본 명세서에서 단어 "예시적인" 은 "예로서, 일례로서, 또는 예증으로서 역할을 한다."라는 것을 의미하기 위해 이용된다. "예시적"으로서 본 명세서에서 설명된 임의의 양태들은 다른 양태들에 비해 반드시 선호되거나 또는 유리하다는 것으로서 해석되어야 하는 것만은 아니다.The embodiments according to the concept of the present invention can make various changes and have various forms, so that specific embodiments are illustrated in the drawings and described in detail in this specification or the application. It is to be understood, however, that the intention is not to limit the embodiments according to the concepts of the invention to the specific forms of disclosure, and that the invention includes all modifications, equivalents and alternatives falling within the spirit and scope of the invention. Also, the word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect described herein as "exemplary " is not necessarily to be construed as preferred or advantageous over other aspects.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between. Other expressions that describe the relationship between components, such as "between" and "between" or "neighboring to" and "directly adjacent to" should be interpreted as well.

본 명세서에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, the terms "comprises ", or" having ", or the like, specify that there is a stated feature, number, step, operation, , Steps, operations, components, parts, or combinations thereof, as a matter of principle.

이하, 본 발명의 실시예를 나타내는 첨부 도면을 참조하여 본 발명을 더욱 상세히 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings showing embodiments of the present invention.

도 2는 본 발명의 실시예에 따르는 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템(1)의 구성도이다.2 is a configuration diagram of a fire engine pump monitoring and control system 1 using a web server according to an embodiment of the present invention.

도 2와 같이, 상기 웹서버를 이용한 소방엔진펌프 모니터링과 제어시스템(1)은, 소방엔진펌프(10)의 구동을 제어하며 상태를 모니터링하여 표시하는 소방엔진펌프제어장치(100)와 소방엔진펌프제어장치(100)의 상태 정보를 통신망을 통해 수신한 후 사용자 단말기(300)들로 웹서비스에 의해 제공하며, 사용자 단말기(300)에 출력되는 소방엔진펌프제어장치(100)의 원격제어인터페이스(320)를 통해 입력된 제어 명령을 수신 받아 소방엔진펌프제어장치(100)로 전송하여 원격제어를 중계하는 웹서버(200) 및 웹브라우저(310) 상에서 구동되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 웹서버(200)에서 제공되는 소방엔진펌프제어장치(100)의 상태 정보를 수신하여 표시하여 모니터링을 수행할 수 있도록 하고, 사용자에 의해 입력된 제어 명령을 웹서버(200)를 경유하여 소방엔진제어장치(100)로 전송하여 소방엔진제어장치(100)를 원격 제어하는 다수의 사용자 단말기(300)들이 통신망(500)을 통해 접속되도록 구성된다.2, the fire-fighting engine pump monitoring and control system 1 using the web server includes a fire-fighting engine pump control device 100 for controlling the driving of the fire-fighting engine pump 10 and monitoring and displaying the status, The state information of the pump control apparatus 100 is received via the communication network and then provided to the user terminals 300 through a web service and the remote control interface 100 of the fire engine pump control apparatus 100 output to the user terminal 300 A web server 200 that receives the control command input through the control unit 320 and transmits the control command to the fire engine pump control apparatus 100 to relay the remote control and a fire engine pump control unit remote control interface The control unit 300 receives and displays the status information of the fire engine pump control apparatus 100 provided in the web server 200 through the control unit 320 to perform monitoring and transmits the control command inputted by the user to the web server 200, A plurality of user terminals 300 for remote control of the fire fighting engine control device 100 are connected to the fire fighting engine control device 100 via the communication network 500.

상기 소방엔진펌프(10)는 연료탱크의 연료에 의해 독립적으로 구동되는 엔진과 배터리 및 펌프를 포함하여 구성된다. 상기 배터리는 화재 시 AC전원이 차단되는 것을 대비하여 구동 전원을 공급하도록 구성된다.The fire engine pump 10 includes an engine, a battery, and a pump that are independently driven by the fuel of the fuel tank. The battery is configured to supply driving power in case of AC power being cut off in the event of a fire.

상기 소방엔진펌프제어장치(100)는 화재 시 배터리와 소방엔진펌프(10)를 제어하며, 소방엔진펌프의 작동 상태를 표시하고, 소방엔진펌프(10)의 수동 제어를 위한 스위치들을 포함하여 구성된다.The fire engine pump control apparatus 100 controls the battery and the fire engine pump 10 in the event of a fire, displays the operating state of the fire engine pump, and includes switches for manual control of the fire engine pump 10 do.

상술한 구성의 소방엔진펌프(10)는 소방엔진펌프제어장치(100)로 배터리 상태정보, 예열 정보, 스타트모터 상태 정보, 정시솔레노이드 상태 정보, RPM센서 정보를 전송하고, 소방엔진펌프제어장치(100)는 수신된 정보들을 패널상에서 표시하고, 각각의 동작을 제어하도록 구성된다.The fire engine pump 10 having the above-described configuration transmits battery state information, preheating information, start motor state information, regular solenoid state information, and RPM sensor information to the fire engine pump control apparatus 100, 100 is configured to display the received information on the panel and to control each operation.

다음의 표는 소방엔진펌프제어장치(100)의 전면부 기능의 예를 나타낸다.The following table shows an example of the function of the front part of the fire engine pump control apparatus 100.

<소방엔진펌프제어장치의 전면부 기능><Function of front part of fire engine pump control device>

Figure pat00001
Figure pat00001

도 3은 웹서버(200)의 구성 및 소방엔진펌프제어장치(100)와 사용자 단말기(300)의 인터페이스의 구성을 나타내는 도면이다.3 is a diagram showing the configuration of the web server 200 and the configuration of the interface between the fire engine pump control apparatus 100 and the user terminal 300. As shown in Fig.

도 3과 같이, 상기 웹서버(200)는 사용자 단말기(300)로 소방엔진펌프원격제어장치(100)를 모니터링하고 원격 제어할 수 있도록 하는 웹서비스를 제공하는 웹서비스부(210)와, 외부와의 통신 기능을 제공하는 통신부(220)와 소방엔진펌프제어장치(100)의 상태 정보와 제어정보 및 웹서비스 제공을 위한 AJAX 프로토콜을 탑재하는 저장부(230) 및 웹서버(200)의 전체 동작을 제어하는 중앙처리부(240)을 포함하여 구성된다.3, the web server 200 includes a web service unit 210 for providing a web service for monitoring and remotely controlling the fire engine pump remote control apparatus 100 by the user terminal 300, A communication unit 220 for providing a communication function with the fire engine pump control apparatus 100 and a storage unit 230 and a web server 200 for mounting control information and AJAX protocol for providing the web service, And a central processing unit 240 for controlling operations.

그리고 상기 사용자 단말기(300)의 웹브라우저(310)에서 구동되는 사용자 인터페이스(320)는 소방엔진펌프제어장치(100)의 전면 패널 형상을 나타내는 이미지로서 소방엔진펌프제어장치(100)의 상태 정보를 동일하게 표시하며, 스위치의 조작을 수행할 수 있도록 하여 소방엔진펌프제어장치(100)에서 소방엔진펌프제어장치(100)를 제어하는 것과 동일하게 원격제어를 수행할 수 있도록 구성된다.The user interface 320 operated by the web browser 310 of the user terminal 300 is an image representing the front panel shape of the fire engine pump control apparatus 100 and displays status information of the fire engine pump control apparatus 100 So that the operation of the switch can be performed and the remote control can be performed in the same way as the fire engine pump control apparatus 100 controls the fire engine pump control apparatus 100. [

상술한 구성의 웹서버(200)의 웹서비스부(210)와 사용자 단말기(300)의 웹브라우저(310)는 AJAX 기반으로 구성된다.The web service unit 210 of the web server 200 and the web browser 310 of the user terminal 300 having the above-described configuration are configured on an AJAX basis.

AJAX는 웹에서 비동기 통신을 하는 기술과 DHTML, CSS, 자바스크립트를 포함하는 개념이다. AJAX는 기존의 웹어플리케이션의 비효율성, 동기적인 액션의 단점을 해결할 수 있으며, 웹페이지의 부분적인 변화, 적용과 비동기성의 장점, 특히, 플러그인을 사용하지 않고 웹브라우저의 종류에 상관없이 브라우저만으로 바로 이용할 수 있다는 장점을 가진다. 이러한 장점을 가진 AJAX를 사용함으로써 일반적인 웹 응용프로그램에서 볼 수 있는 페이지 흐름을 변화시킬 수 있고 서버에 대한 요청이 잦아지게 되며 비 HTML 데이터의 응답을 작게 만들어 준다. 또한, AJAX 웹 응용프로그램은 보통의 웹 응용프로그램의 커뮤니케이션 흐름을 따르고 있으며 이에 새로운 형식을 추가한다. 웹서버에서 보면 이는 일반적인 페이지 요청처럼 보이지만 웹브라우저에서 보면 차이가 있다. 이는 완료시점에 페이지 리로드가 되지 않는 요청이며 사용자에 의해 직접 시작될 필요가 없다. 많은 경우에 이런 AJAX 요청은 작게 되고 필드를 확인하거나 어떤 데이터를 미리 가져오는 경우 같은 형태를 취한다.AJAX is a concept that includes asynchronous communication on the Web and DHTML, CSS, and JavaScript. AJAX can solve the inefficiencies of conventional web applications and the disadvantages of synchronous actions, and it can be applied to web browsers without any plug-ins or web browsers. Can be used. Using this advantage, AJAX can change the page flow seen in typical web applications, making requests to the server more frequent, and making non-HTML data less responsive. In addition, AJAX web applications follow the normal web application communication flow and add new formats to it. On a web server, this looks like a regular page request, but it is different on a web browser. This is a request that does not reload the page at completion time and does not need to be started directly by the user. In many cases, these AJAX requests are made smaller and take the same form when checking the fields or prefetching some data.

도 4는 사용자 단말기(300)의 웹브라우저(클라이언트)와 웹서버(서버, 200) 사이의 AJAX에 의해 통신을 나타내는 도면이고, 도 5는 웹브라우저(310)에서의 요청을 위한 자바스크립트를 나타내는 도면이다.4 is a diagram showing communication by AJAX between a web browser (client) of a user terminal 300 and a web server (server) 200, and Fig. 5 is a view showing a Javascript for a request in the web browser 310 FIG.

도 4와 같이, 웹브라우저(310)는 AJAX를 이용하여 필요데이터만을 웹서버(200)로 요청한다. 이때, 요청은 자바스크립트에 의한 DOM(Doucument Of Model)에 의해 웹서버(200)로 전달된다. 웹서버(200)는 요청을 수신한 후 JSP, PHP 등의 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하고, 생성된 응답을 HTTP 페이지를 생성함이 없이 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Doucument Of Model)로 웹브라우저(310)로 전송한다. 웹브라우저(310)는 수신된 데이터를 표시하기 위하여 HTTP 페이지를 갱신함이 없이 변환하여 수신된 데이터를 표시하는 것에 의해 요청과 응답에서 페이지의 갱신이나 페이지의 재생성 작업을 수행함이 없이 데이터를 송수신하여 표시한다. 이에 의해 웹서버에서 전적으로 처리되던 데이터 처리의 일부분이 클라이언트 쪽에서 처리 되므로 웹브라우저와 웹 서버 사이에 교환되는 데이터량과 웹서버의 데이터 처리량도 줄어들어 애플리케이션의 응답성이 좋아진다. 여기서 애플리케이션은 AJAX 애플리케이션을 의미한다.As shown in FIG. 4, the web browser 310 requests only the necessary data to the web server 200 using AJAX. At this time, the request is transmitted to the web server 200 by a DOM (Doucument Of Model) by JavaScript. After receiving the request, the web server 200 performs processing by a web program such as JSP or PHP, generates a response corresponding to the request, and transmits the generated response to the XML or text file without generating the HTTP page And then transmits it to the web browser 310 as a DOM (Doucument Of Model) by JavaScript. The web browser 310 converts and displays the received data without updating the HTTP page in order to display the received data, thereby transmitting and receiving the data without performing page update or page reproduction in the request and response Display. As part of the data processing completely processed in the web server is processed on the client side, the amount of data exchanged between the web browser and the web server and the data processing amount of the web server are reduced, thereby improving the responsiveness of the application. The application here refers to an AJAX application.

즉, 본 발명은 필요한 데이터만을 웹서버(200)에 요청해서 받은 후 클라이언트(웹브라우저(310))에서 데이터에 대한 처리를 수행한다. 보통 SOAP나 XML 기반의 웹서비스 프로토콜이 사용되며, 웹 서버의 응답을 처리하기 위해 클라이언트 쪽에서는 자바스크립트를 쓴다. 웹 서버에서 전적으로 처리되던 데이터 처리의 일부분이 클라이언트 쪽에서 처리 되므로 웹 브라우저와 웹 서버 사이에 교환되는 데이터량과 웹 서버의 데이터 처리량도 줄어들기 때문에 애플리케이션의 응답성이 좋아진다. 또한, 웹 서버의 데이터 처리에 대한 부하를 줄여주는 일이 요청을 하는 수많은 컴퓨터에 대해서 일어나기 때문에 크게 보면 전체적인 웹 서버 처리량도 줄어들게 됨은 상술한 바와 같다.That is, the present invention requests only the necessary data to the web server 200 and then performs processing on the data in the client (the web browser 310). Usually a web service protocol based on SOAP or XML is used, and JavaScript is used on the client side to handle the response of the web server. Because part of the data processing that was completely processed by the web server is handled on the client side, the amount of data exchanged between the web browser and the web server and the data throughput of the web server are reduced. In addition, as described above, the overall web server throughput is reduced because the load on the web server data processing is reduced for a large number of computers making requests.

구체적인 웹브라우저(310)에서의 요청 절차를 도 5를 참조하여 설명하면, 사용자 단말기(300)의 클라이언트(310)로서의 웹브라우저(310)는 소방엔진펌프의 원하는 상태를 페이지 상에 출력하기 위하여 웹서버(200)에 요청을 보낸다. 웹서버(200)는 이 요청을 받아 클라이언트가 원하는 정보를 찾아서 다시 브라우저로 응답을 보낸다. 응답을 받은 브라우저는 클라이언트가 해당 정보를 알아보기 편한 형태로 부분적인 변화를 수행한다. 구체적으로, 우선 HTTP요청을 할 객체를 만든다. 이때 XMLHttpRequest를 이용하며, 여러 브라우저마다 지원하는 기능이 다르기 때문에 XMLHttpRequest를 지원하지 않는 브라우저에서는 ActiveX Object를 이용한다. 그 이후에 만약 HTTP요청이 있을 경우 그 객체는 오픈(open) 메소드를 통해 GET방식으로 /ledstate?라는 URL에 연결하여 비동기(true)로 요청을 수행한다.5, a web browser 310 as a client 310 of the user terminal 300 receives a web page of a Web page from a web browser 310 to output a desired state of a fire engine pump on a page, And sends a request to the server 200. The web server 200 receives the request, finds the desired information by the client, and sends a response back to the browser. The browser receiving the response performs a partial change in a way that the client can easily find out the information. Specifically, we first create an object to make the HTTP request. In this case, since XMLHttpRequest is used and different functions are supported by different browsers, browsers that do not support XMLHttpRequest use ActiveX objects. After that, if there is an HTTP request, the object connects to the / ledstate? URL via GET method through the open method and performs the request asynchronously (true).

URL은 상대 주소로 현재 HTML 페이지를 기준으로 한 상대주소로 설정된다. 이렇게 요청을 보내는 과정에서 객체의 readyState 값은 0 ~ 4로 변하게 되는데 이때마다 onreadystatechange 메소드를 이용하여 객체가 요청완료 상태인지 확인하고 또한 요청완료상태일 때 status 속성(HTTP 요청의 경우 GET이나 POST 방식은 대게 200을 반환)을 확인하여 모두 만족하는 요청완료 상태가 되면 해당 요청에 대한 URL에서의 응답을 문자형 responseText로 받아서 그 응답에 대해서 원하는 작업을 수행하게 된다.The URL is a relative address, relative to the current HTML page. In this case, the readyState value of the object changes from 0 to 4. In this case, the onreadystatechange method is used to check whether the object is in the request completion state. In addition, when the request completion status is set, the status attribute (in the case of HTTP request, (Usually returning 200), and when the request is complete, the response from the URL for the request is received as a character responseText and the desired operation is performed on the response.

다음 표는 HTTP 요청 객체의 readyState Value를 나타낸다.The following table shows the readyState Value of the HTTP request object.

<HTTP 요청 객체의 readyState Value><ReadyState Value of the HTTP request object>

Figure pat00002
Figure pat00002

상술한 요청에 대한 응답으로 웹브라우저(310) 상의 소방엔진펌프제어장치(100) 원격제어인터페이스(320)에는 웹서버 모니터링 화면이 출력된다.In response to the above-described request, the web server monitoring screen is output to the remote control interface 320 of the fire engine pump control apparatus 100 on the web browser 310.

이를 위해 웹서버(200)에 AJAX와 HTML을 활용하여 소방엔진펌프의 디스플레이를 모니터링할 수 있도록 소방엔진펌프제어장치(100)에 표시되는 데이터를 전달해 메모리에 저장하고, 전달받은 데이터를 기설정된 간격(예: 0.1초)마다 기존의 웹 서버 페이지에서 해당되는 부분만 리플레쉬(Refresh)하게 된다. 그리고 메모리에 저장되어 있는 데이터를 가지고 웹서버의 동작내역을 사용자가 원하는 기간을 선택하여 확인할 수 있도록 구성될 수도 있다. 또한, 일반 클라이언트들은 자신의 소방엔진펌프의 동작내역과 실시간 모니터링을 할 수 있도록 하고, 보안이 필요한 경우 소방엔진펌프마다 아이디와 비밀번호를 부여하여 관리자만이 펌프를 제어할 수 있도록 보안성을 높일 수 있다.To this end, data displayed on the fire engine pump control apparatus 100 is transmitted to the web server 200 so as to monitor the display of the fire engine pump by using AJAX and HTML, and is stored in the memory. (For example, 0.1 second), only the corresponding part of the existing web server page is refreshed. And may be configured to allow the user to select and check the operation history of the web server with the data stored in the memory. In addition, general clients can make their own fire engine pump's operation history and real-time monitoring, and if security is needed, ID and password are given to each fire engine pump so that only the administrator can control the pump. have.

또한, 본 발명의 웹서버는 소방엔진펌프에 대한 데이터 로깅 시스템을 구비하여, 소방 엔진 펌프의 동작내역을 일정한 구간에 동작된 결과를 저장하는 데이터 로깅 기능을 구비한다. 이러한 데이터 로깅은 화재의 원인규명과 일정 시간마다 점검하는데 편리한 기능을 제시할 뿐만 아니라 유지보수에 따른 경제성을 향상시킨다.Also, the web server of the present invention includes a data logging system for a fire engine pump, and has a data logging function for storing a result of operation of the fire engine pump in a predetermined section. Such data logging not only provides convenient functions for identifying the cause of the fire and checking it at a certain time, but also improving the economics of maintenance.

도 6은 본 발명의 웹서버를 이용한 소방엔진펌프 모니터링과 제어시방법의 처리과정을 나타내는 순서도이다.6 is a flow chart illustrating a process of monitoring and controlling a fire engine pump using a web server according to the present invention.

도 6과 같이, 웹서버(200)는 소방엔진펌프제어장치(100)로부터 배터리 상태정보, 예열 정보, 스타트모터 상태 정보, 정시솔레노이드 상태 정보, RPM센서 정보를 포함하는 소방엔진펌프제어장치데이터를 수집하여 저장하는 데이터수집과정(S10)을 수행한다.6, the web server 200 receives fire engine pump control device data including battery state information, preheating information, start motor state information, regular solenoid state information, and RPM sensor information from the fire engine pump control device 100 And performs a data collecting process (S10).

상술한 바와 같이 웹서버(200)에 의해 데이터가 수집되어 저장된 상태에서 사용자 단말기(300)의 웹브라우저(310)에 표시되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 사용자가 소방엔진펌프제어장치데이터의 요청을 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하는 데이터요청과정(S20)을 수행한다.As described above, when data is collected and stored by the web server 200, the user can access the fire engine pump 300 through the fire control unit remote control interface 320 displayed on the web browser 310 of the user terminal 300, A request for control device data is performed by the XMLHttpRequest and a data requesting process (S20) for transmitting the data to the web server 200 as DOM (Doucument Of Model) data by JavaScript is performed.

웹서버(200)는 사용자 단말기(300)로부터 데이터 요청을 수신하면, JSP, PHP 등의 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하고, 생성된 응답을 HTTP 페이지를 생성함이 없이 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Doucument Of Model)로 웹브라우저(310)로 전송하는 요청응답과정(S30)을 수행한다.Upon receiving a data request from the user terminal 300, the web server 200 performs processing by a web program such as JSP or PHP, generates a response corresponding to the request, and generates an HTTP page The web browser 310 converts the XML or text file into a XML or text file, and transmits the XML or text file to the web browser 310 using a DOM (Doucument Of Model) by JavaScript.

요청응답과정(S30)에 의해 소방엔진펌프제어장치의 데이터를 가지는 XML 또는 TEXT 정보를 수신한 사용자단말기(300)의 웹브라우저(310)는 HTTP 페이지를 재생성하지 않고 요청을 수행한 HTTP 페이지를 데이터 표시에 맞도록 변환한 후 데이터를 표시하는 데이터표시과정(S40)을 수행한다.The web browser 310 of the user terminal 300 that has received the XML or TEXT information having the data of the fire engine pump control device by the request response process S30 returns the HTTP page that made the request without regenerating the HTTP page, A data display process (S40) for displaying data after converting the data to display is performed.

이 후, 사용자의 소방엔진펌프제어장치(100)에 대한 제어명령이 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 입력되면, 웹브라우저(310)는 이를 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하고, 웹서버(200)는 수신된 데이터에 따라 소방엔진펌프제어장치(100)를 원격제어하는 소방엔진펌프제어장치제어과정(S50)을 수행한다.Thereafter, when a control command for the user's fire engine pump control apparatus 100 is inputted through the fire engine pump control apparatus remote control interface 320, the web browser 310 executes this by XMLHttpRequest, A fire engine pump control device control process S50 for remotely controlling the fire engine pump control device 100 according to received data, and the web server 200 transmits the data to the web server 200 using DOM (Doucument Of Model) .

상기 소방엔진펌프제어장치제어과정(S50)은 상기 처리과정의 순서에 관계없이 사용자의 필요에 따라 수행될 수 있다.The fire engine pump controller control process S50 may be performed according to the user's needs regardless of the order of the process.

상기에서 설명한 본 발명의 기술적 사상은 바람직한 실시예에서 구체적으로 기술되었으나, 상기한 실시예는 그 설명을 위한 것이며 그 제한을 위한 것이 아님을 주의하여야 한다. 또한, 본 발명의 기술적 분야의 통상의 지식을 가진 자라면 본 발명의 기술적 사상의 범위 내에서 다양한 실시예가 가능함을 이해할 수 있을 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. It will be apparent to those skilled in the art that various modifications may be made without departing from the scope of the present invention. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

10: 소방엔진펌프 100: 소방엔진펌프제어장치
200: 웹서버 300: 사용자 단말기
310: 웹브라우저
320: 소방엔진펌프제어장치 원격제어인터페이스
10: Fire engine pump 100: Fire engine pump control device
200: Web server 300: User terminal
310: Web browser
320: Fire engine pump control remote control interface

Claims (7)

소방엔진펌프(10)의 구동을 제어하며 상태를 모니터링하여 표시하는 소방엔진펌프제어장치(100);
소방엔진펌프제어장치(100)의 상태 정보를 통신망을 통해 수신한 후 사용자 단말기(300)들로 웹서비스에 의해 제공하며, 사용자 단말기(300)에 출력되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 입력된 제어 명령을 수신 받아 소방엔진펌프제어장치(100)로 전송하여 원격제어를 중계하는 웹서버(200); 및
웹브라우저(310) 상에서 구동되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 웹서버(200)에서 제공되는 소방엔진펌프제어장치(100)의 상태 정보를 수신하여 표시하여 모니터링을 수행할 수 있도록 하고, 사용자에 의해 입력된 제어 명령을 웹서버(200)를 경유하여 소방엔진제어장치(100)로 전송하여 소방엔진제어장치(100)를 원격 제어하는 다수의 사용자 단말기(300);를 포함하여 구성되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
A fire engine pump control apparatus 100 for controlling the driving of the fire engine pump 10 and monitoring and displaying the status;
The state information of the fire engine pump control apparatus 100 is received via the communication network and provided to the user terminals 300 through the web service and the fire engine pump control apparatus remote control interface 320 A web server 200 that receives the control command input through the controller 200 and transmits the control command to the fire engine pump control apparatus 100 to relay remote control; And
It is possible to receive and display the status information of the fire engine pump control apparatus 100 provided in the web server 200 through the fire control engine remote control interface 320 operated on the web browser 310 And a plurality of user terminals 300 for remotely controlling the fire engine control apparatus 100 by transmitting the control commands inputted by the user to the fire engine control apparatus 100 via the web server 200 Monitoring and control system for a fire engine using a web server.
청구항 1에 있어서, 상기 웹서버(200)는.
사용자 단말기(300)로 소방엔진펌프원격제어장치(100)를 모니터링하고 원격 제어할 수 있도록 하는 웹서비스를 제공하는 웹서비스부(210);
외부와의 통신 기능을 제공하는 통신부(220);
소방엔진펌프제어장치(100)의 상태 정보와 제어정보 및 웹서비스 제공을 위한 AJAX 프로토콜을 탑재하는 저장부(230); 및
웹서버(200)의 전체 동작을 제어하는 중앙처리부(240);를 포함하여 구성되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
The web server (200) of claim 1, wherein the web server (200) comprises:
A web service unit 210 for providing a web service for monitoring and remotely controlling the fire engine pump remote control device 100 by the user terminal 300;
A communication unit 220 for providing a communication function with the outside;
A storage unit 230 for loading state information and control information of the fire engine pump control apparatus 100 and an AJAX protocol for providing a web service; And
And a central processing unit (240) for controlling the overall operation of the web server (200).
청구항 1에 있어서, 상기 사용자 단말기(300)는,
소방엔진펌프제어장치(100)의 전면 패널 형상을 나타내는 이미지로서 소방엔진펌프제어장치(100)의 상태 정보를 동일하게 표시하며, 스위치의 조작을 수행할 수 있도록 하여 소방엔진펌프제어장치(100)에서 소방엔진펌프제어장치(100)를 제어할 수 있도록 웹브라우저(310)에서 AJAX에 의해 구동되는 원격제어인터페이스(320);를 포함하여 구성되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
The method of claim 1, wherein the user terminal (300)
The state information of the fire engine pump control apparatus 100 is displayed in the same manner as the image showing the front panel shape of the fire engine pump control apparatus 100 and the operation of the switch can be performed, And a remote control interface (320) driven by the AJAX in the web browser (310) so as to control the fire engine pump control apparatus (100) in the fire engine.
청구항 3에 있어서,
상기 웹브라우저는 AJAX를 이용하여 필요데이터만을 웹서버(200)로 요청하며, 요청은 자바스크립트에 의한 DOM(Document Of Model)에 의해 웹서버로 전달되고, 웹서버(200)는 요청을 수신한 후 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하여 생성된 응답을 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Document Of Model)로 웹브라우저(310)로 전송하며, 웹브라우저(310)는 수신된 데이터를 표시하기 위하여 HTTP 페이지를 갱신함이 없이 요청의 응답데이터를 표시할 수 있도록 변환하여 수신된 데이터를 표시하는 비동기식으로 동작하도록 구성되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
The method of claim 3,
The web browser requests only the necessary data using the AJAX to the web server 200. The request is delivered to the web server by DOM (Document Of Model) by javascript, and the web server 200 receives the request A response corresponding to the request is generated, and the generated response is converted into an XML or text file, and then transmitted to the web browser 310 as a DOM (Document Of Model) by JavaScript , The web browser 310 converts the received response data so that the response data of the request can be displayed without updating the HTTP page to display the received data and displays the received data asynchronously. Pump monitoring and control system.
청구항 4에 있어서,
상기 웹브라우저(310)는 상기 웹서버(200)로 요청을 수행하는 경우,
소방엔진펌프의 원하는 상태를 페이지 상에 출력하기 위한 HTTP요청을 할 객체를 만들고, 오픈(open) 메소드를 통해 GET방식으로 /ledstate?라는 URL에 연결하여 비동기(true)로 상기 웹서버(200)로 소방엔진펌프제어장치(100)의 상태 정보에 대한 요청을 수행하도록 구성되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
The method of claim 4,
When the web browser 310 performs a request to the web server 200,
An object to make an HTTP request for outputting a desired state of the fire engine pump on a page is created and connected to a URL of / ledstate? In a GET method via an open method, so that the web server 200 is asynchronously (true) To perform a request for status information of the fire engine pump control apparatus (100).
청구항 5에 있어서, 상기 웹브라우저(310)의 요청은,
XMLHttpRequest를 이용하며, 브라우저가 XMLHttpRequest를 지원하지 않는 경우 ActiveX Object를 이용하여 수행되는 웹서버를 이용한 소방엔진펌프 모니티링 및 제어시스템.
The method of claim 5, wherein the request of the web browser (310)
A fire engine pump monitoring and control system using a web server using an ActiveX Object when XMLHttpRequest is used and the browser does not support XMLHttpRequest.
웹서버(200)가 소방엔진펌프제어장치(100)로부터 배터리 상태정보, 예열 정보, 스타트모터 상태 정보, 정시솔레노이드 상태 정보, RPM센서 정보를 포함하는 소방엔진펌프제어장치데이터를 수집하여 저장하는 데이터수집과정(S10);
웹서버(200)에 의해 데이터가 수집되어 저장된 상태에서 사용자 단말기(300)의 웹브라우저(310)에 표시되는 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 사용자가 소방엔진펌프제어장치데이터의 요청을 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하는 데이터요청과정(S20);
웹서버(200)는 사용자 단말기(300)로부터 데이터 요청을 수신하면, JSP, PHP 등의 웹프로그램에 의해 처리를 수행한 후 요청에 대응하는 응답을 생성하고, 생성된 응답을 HTTP 페이지를 생성함이 없이 XML 또는 텍스트 파일로 변환한 후 다시 자바스크립트에 의한 DOM(Doucument Of Model)로 웹브라우저(310)로 전송하는 요청응답과정(S30);
요청응답과정(S30)에 의해 소방엔진펌프제어장치의 데이터를 가지는 XML 또는 TEXT 정보를 수신한 사용자단말기(300)의 웹브라우저(310)는 HTTP 페이지를 재생성하지 않고 요청을 수행한 HTTP 페이지를 데이터 표시에 맞도록 변환한 후 데이터를 표시하는 데이터표시과정(S40); 및
이 후, 사용자의 소방엔진펌프제어장치(100)에 대한 제어명령이 소방엔진펌프제어장치 원격제어인터페이스(320)를 통해 입력되면, 웹브라우저(310)는 이를 XMLHttpRequest에 의해 수행하여 자바스크립트에 의한 DOM(Doucument Of Model)데이터로 웹서버(200)로 전송하고, 웹서버(200)는 수신된 데이터에 따라 소방엔진펌프제어장치(100)를 원격제어하는 소방엔진펌프제어장치제어과정(S50);을 포함하여 이루어지는 웹서버를 이용한 소방엔진펌프 모니터링 및 제어방법.
The web server 200 collects and stores the fire engine pump control device data including the battery state information, the preheating information, the start motor state information, the on-time solenoid state information, and the RPM sensor information from the fire engine pump control device 100 (S10);
The user is notified of the fire engine pump control device data through the fire engine pump control device remote control interface 320 displayed on the web browser 310 of the user terminal 300 while the data is collected and stored by the web server 200 A step S20 of requesting a request to be executed by the XMLHttpRequest and transmitting the request to the web server 200 as DOM (Doucument Of Model) data by JavaScript;
Upon receiving a data request from the user terminal 300, the web server 200 performs processing by a web program such as JSP or PHP, generates a response corresponding to the request, and generates an HTTP page A request response process (S30) for converting the XML or text file to a web browser 310 using a DOM (Doucument Of Model) by JavaScript;
The web browser 310 of the user terminal 300 that has received the XML or TEXT information having the data of the fire engine pump control device by the request response process S30 returns the HTTP page that made the request without regenerating the HTTP page, A data display step (S40) of displaying data after conversion to fit the display; And
Thereafter, when a control command for the user's fire engine pump control apparatus 100 is inputted through the fire engine pump control apparatus remote control interface 320, the web browser 310 executes this by XMLHttpRequest, A fire engine pump control device control process S50 for remotely controlling the fire engine pump control device 100 according to received data, and the web server 200 transmits the data to the web server 200 using DOM (Doucument Of Model) And monitoring and controlling the pump of the fire engine using the web server.
KR1020160081820A 2016-06-29 2016-06-29 Fire engine pump monitoring and control system using web server and the method thereof KR101863745B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160081820A KR101863745B1 (en) 2016-06-29 2016-06-29 Fire engine pump monitoring and control system using web server and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160081820A KR101863745B1 (en) 2016-06-29 2016-06-29 Fire engine pump monitoring and control system using web server and the method thereof

Publications (2)

Publication Number Publication Date
KR20180002377A true KR20180002377A (en) 2018-01-08
KR101863745B1 KR101863745B1 (en) 2018-06-01

Family

ID=61003813

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160081820A KR101863745B1 (en) 2016-06-29 2016-06-29 Fire engine pump monitoring and control system using web server and the method thereof

Country Status (1)

Country Link
KR (1) KR101863745B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109737041A (en) * 2018-12-14 2019-05-10 山东凯莱电气设备有限公司 Fire Fighting Pump Control device
KR102578208B1 (en) * 2023-04-21 2023-09-13 두성기술주식회사 Carbon Dioxide Fire Extinguishing Facility Control And Monitoring System

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101194787B1 (en) 2012-06-12 2012-10-25 윤영상 Engine pump system for firefighting and control method thereof
KR20130113719A (en) * 2012-04-06 2013-10-16 (주)네오위즈게임즈 Method and apparatus for controlling movement of asynchronous communication type web page
JP2015035661A (en) * 2013-08-07 2015-02-19 三菱電機株式会社 Communication device, equipment operation system, communication method, and program
CN204485165U (en) * 2014-12-18 2015-07-22 上海富士输配电设备有限公司 A kind of firefighting monitoring system
KR20160070963A (en) * 2014-12-11 2016-06-21 성진계장 주식회사 System for controlling automatically pump using pressure of fire fighting tank

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130113719A (en) * 2012-04-06 2013-10-16 (주)네오위즈게임즈 Method and apparatus for controlling movement of asynchronous communication type web page
KR101194787B1 (en) 2012-06-12 2012-10-25 윤영상 Engine pump system for firefighting and control method thereof
JP2015035661A (en) * 2013-08-07 2015-02-19 三菱電機株式会社 Communication device, equipment operation system, communication method, and program
KR20160070963A (en) * 2014-12-11 2016-06-21 성진계장 주식회사 System for controlling automatically pump using pressure of fire fighting tank
CN204485165U (en) * 2014-12-18 2015-07-22 上海富士输配电设备有限公司 A kind of firefighting monitoring system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109737041A (en) * 2018-12-14 2019-05-10 山东凯莱电气设备有限公司 Fire Fighting Pump Control device
KR102578208B1 (en) * 2023-04-21 2023-09-13 두성기술주식회사 Carbon Dioxide Fire Extinguishing Facility Control And Monitoring System
KR102605557B1 (en) * 2023-04-21 2023-11-23 두성기술주식회사 Carbon Dioxide Fire Extinguishing Facility Control And Monitoring System

Also Published As

Publication number Publication date
KR101863745B1 (en) 2018-06-01

Similar Documents

Publication Publication Date Title
KR101383573B1 (en) Electronic apparatus and web-information providing method thereof
CN102368214B (en) Automatic interface generation method and system
US20050223100A1 (en) Rendering a first media type content on a browser
JP2015527771A (en) Method, apparatus, program and recording medium for displaying push message
JP2003196193A (en) Automation control module (acm) capable of operating service portal
CN103957249A (en) Remote control method, server and control device and system
KR20070076335A (en) Method and apparatus for storing and restoring a state information of remote user interface
CN101707627B (en) Method and device for presenting page information
CN112437047A (en) Remote server management method, system and related device
CN105827725A (en) Application operating and controlling method and apparatus, and application remote operating and controlling method and apparatus
KR101863745B1 (en) Fire engine pump monitoring and control system using web server and the method thereof
CN105100203B (en) Show the method and terminal of monitoring data
EP2884410B1 (en) A method of operating a handheld mobile telecommunication device
US20200150613A1 (en) Method and device for operating and controlling a machine installation by means of a graphical development interface and generation of a field bus configuration
US20140245124A1 (en) System and method thereof for browser agnostic extension models
US8694894B2 (en) Streaming graphic method and arrangement data for building control systems
KR101872773B1 (en) Fire engine pump monitoring and control system using mobile communication terminal and the method thereof
JP2007516527A (en) Method and system for pushing notifications to networked devices
US20170060112A1 (en) Control program for accessing browser data and for controlling appliance
US7904583B2 (en) Methods and systems for managing and controlling an automation control module system
US8397154B2 (en) Remotely controlling a browser program
CN102984179A (en) Cloud-computing operating system oriented method for cross-domain access to Web services
JP6570741B2 (en) Air conditioning management device and program
KR101901884B1 (en) Apparatus and method for providing remote user interface
TWI752286B (en) External control device, voice dialogue control system, control method, recording medium and program product

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant