KR100712144B1 - Apparatus and method for connection management of security system - Google Patents
Apparatus and method for connection management of security system Download PDFInfo
- Publication number
- KR100712144B1 KR100712144B1 KR1020060025619A KR20060025619A KR100712144B1 KR 100712144 B1 KR100712144 B1 KR 100712144B1 KR 1020060025619 A KR1020060025619 A KR 1020060025619A KR 20060025619 A KR20060025619 A KR 20060025619A KR 100712144 B1 KR100712144 B1 KR 100712144B1
- Authority
- KR
- South Korea
- Prior art keywords
- base station
- connection
- management terminal
- message
- tcp
- Prior art date
Links
Images
Abstract
본 발명에 따른 보안 시스템의 연결 관리 방법 및 그 장치는, 이동 단말의 기능을 제어하는 제어 신호를 송출하며, 기 설정된 주기에 따라 킵얼라이브 메시지를 생성하여 송신하는 적어도 하나의 보안 기지국과, 상기 보안 기지국으로부터 송신되는 상기 킵얼라이브 메시지의 수신여부에 따라 상기 보안 기지국과의 TCP/IP 연결 상태 정상 여부를 판단하며, 기 설정된 주기에 따라 연결 메시지를 상기 보안 기지국에 송신하여, 비정상적으로 접속 해제되는 보안 기지국이 있는지 여부를 파악하고, 비정상적으로 접속 해제된 보안 기지국과 TCP/IP를 이용한 재연결을 수행하는 관리 단말을 포함하여, 관리 단말과 보안 기지국의 TCP/IP 연결 상태를 효율적으로 관리한다.A method and apparatus for managing a connection of a security system according to the present invention include at least one secure base station transmitting a control signal for controlling a function of a mobile terminal, generating and transmitting a keepalive message according to a preset period, and the security. It is determined whether the TCP / IP connection state with the secure base station is normal according to whether the keepalive message transmitted from the base station is received, and the connection message is transmitted to the secure base station according to a preset period, thereby abnormally disconnecting the security. Determine whether there is a base station and efficiently manage the TCP / IP connection state between the management terminal and the security base station, including a management terminal performing reconnection using an abnormally disconnected security base station and TCP / IP.
Description
도 1은 종래 기술에 따른 보안 시스템의 연결 관리 방법을 나타낸 신호 흐름도.1 is a signal flow diagram illustrating a connection management method of a security system according to the prior art.
도 2는 본 발명의 일 실시예에 따른 보안 시스템을 나타낸 구성도.2 is a block diagram showing a security system according to an embodiment of the present invention.
도 3은 본 발명의 일 실시예에 따른 보안 시스템의 연결 관리 방법을 나타낸 신호 흐름도.3 is a signal flow diagram illustrating a connection management method of a security system according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따른 보안 시스템의 연결 관리 방법을 나타낸 순서 흐름도.4 is a flowchart illustrating a connection management method of a security system according to an embodiment of the present invention.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
100 : 보안 기지국 200 : 관리 단말100: secure base station 200: management terminal
본 발명은 보안 시스템의 연결 관리 방법 및 그 장치에 관한 것이다.The present invention relates to a method and apparatus for managing a connection in a security system.
오늘날, 이동 통신 시스템은, 이동 통신 기술의 발전과, 휴대폰의 발전으로 무선 통화 서비스 기능, 무선 인터넷 서비스 기능, 단문 서비스(Short Message Service) 기능 및 카메라(camera) 기능 등 다양한 서비스를 제공하고 있다.Today, mobile communication systems are providing various services such as wireless call service function, wireless internet service function, short message service function and camera function with the development of mobile communication technology and mobile phone.
이러한 휴대폰의 서비스 기능 중 카메라 기능은, 휴대폰을 통해 카메라 기능을 제공받을 수 있는 긍정적인 측면을 사용자에게 제공함과 동시에, 타인의 사생활을 침해하거나, 타사 또는 타인의 기술을 촬영하여, 외부로 유출시키는 부정적인 측면을 유발하고 있다.Among the service functions of the mobile phone, the camera function provides the user with the positive aspect of receiving the camera function through the mobile phone and at the same time invades the privacy of another person, or photographs the technology of another company or another person and leaks it to the outside. It is causing negative aspects.
이에 따라 보안이 필요한 지역내에 휴대폰의 카메라 기능 등을 제어하는 보안 시스템이 개발되고 있다.Accordingly, a security system for controlling a camera function of a mobile phone in an area requiring security is being developed.
현재 보안 시스템은 기능 제한 신호 또는 기능 제한 해제 신호를 소정 영역내에 송출하여 휴대폰을 제어하는 보안 기지국과, 보안 기지국을 관리하는 관리 단말을 포함하여, 카메라가 내장된 휴대폰을 통해 발생될 수 있는 부정적인 측면을 방지하고 있다. 관리 단말은 보안 기지국을 관리하기 위한 관리 프로그램을 포함한다.Currently, a security system includes a security base station for transmitting a function restriction signal or a function restriction release signal within a predetermined area to control a mobile phone, and a management terminal for managing the security base station, and a negative side that may be generated through a mobile phone with a built-in camera. Is preventing. The management terminal includes a management program for managing the secure base station.
한편, 이와 같은 보안 시스템은 보안 기지국과 관리 단말 상호간에 TCP/IP를 이용한 연결이 수행되어 보안 데이터를 송수신되도록 한다. 여기서, 보안 시스템은 보안 기지국이 TCP/IP 인터페이스(Interface) 서버로, 관리 단말이 클라이언트로 동작되도록 한다.On the other hand, such a security system is a connection using the TCP / IP between the security base station and the management terminal is performed to transmit and receive security data. Here, the security system allows the security base station to operate as a TCP / IP interface server and the management terminal as a client.
즉, 보안 기지국은 서버로서, 클라이언트인 관리 단말로부터 수신되는 TCP/IP 연결 요청에 따라 관리 단말과 TCP/IP 연결을 수행하고, 관리 단말과의 보안 데이터 송수신중 장애 및 상태 변경이 발생되면, 관리 단말에 이를 알려 관리 단말과의 TCP/IP 연결이 해제되도록 한다.That is, the secure base station is a server, and performs a TCP / IP connection with the management terminal according to a TCP / IP connection request received from the management terminal that is a client, and when a failure and a state change occur while transmitting and receiving secure data with the management terminal, Inform the terminal of this so that the TCP / IP connection with the management terminal is released.
도 1은 종래 기술에 따른 보안 시스템의 연결 관리 방법을 나타낸 신호 흐름도이다.1 is a signal flow diagram illustrating a connection management method of a security system according to the prior art.
도 1에 도시된 바와 같이, 보안 기지국(10) 및 관리 단말(20)을 포함하는 보안 시스템에서 보안 기지국(10)과 관리 단말(20)은 초기 부팅이 되면, 각각 소켓(Socket)을 생성하여, TCP/IP를 이용한 연결을 수행한다(S11).As shown in FIG. 1, in a security system including a
즉, 보안 기지국(10)은 전원이 온(on)되면 TCP/IP 인터페이스 서버로 동작하기 위한 소켓 생성 절차를 수행하고, 관리 단말(20)로부터 TCP/IP 연결 요청 메시지를 수신되기를 기다린다.That is, the
관리 단말(20)은 초기 부팅에 따라 보안 기지국(10)을 관리하기 위한 관리 프로그램이 실행되면, TCP/IP 인터페이스 클라이언트로 동작하기 위한 소켓 생성 절차를 수행하고, 보안 기지국(10)에 연결 요청 메시지를 송신한다.When the
따라서, 보안 기지국(10)은 관리 단말(20)로부터 수신되는 연결 요청 메시지에 따라 관리 단말(20)과 TCP/IP를 이용한 연결을 수행한다.Accordingly, the
보안 기지국(10)과 관리 단말(20)은 TCP/IP를 이용하여 연결되면, 상호간의 보안 데이터를 송수신한다(S12).When the
한편, 보안 기지국(10)은 관리 단말(20)과의 데이터 송수신 중, 내부적인 장애 및 상태가 변경되면(S13), 관리 단말(20)에 장애 및 상태 변경 메시지를 송신한 다(S14).Meanwhile, the
관리 단말(20)은 보안 기지국(10)으로부터 장애 및 상태 변경 메시지가 수신되면, 연결 해제 요청 메시지를 보안 기지국(10)에 송신한다(S15).When the
즉, 관리 단말(20)은 보안 기지국(10)의 장애 및 상태 변경으로 인해 관리 단말(20)에 영향을 끼칠 수도 있는 장애가 발생하는 것을 방지하기 위해 보안 기지국(10)과의 연결을 해제한다.That is, the
따라서, 보안 기지국(10)은 관리 단말(20)로부터 송신되는 연결 해제 요청 메시지에 따라 관리 단말(20)과 TCP/IP를 이용한 연결을 해제한다(S16).Accordingly, the
그런데, 이와 같은 보안 시스템에서 관리 단말(20)은, 보안 기지국(10)으로부터 장애 및 상태 변경 메시지가 관리 단말(20)로 송신되지 않고, 비정상적으로 연결이 해제되는 경우, 이를 감지하지 못하는 경우를 가질 수 있다. However, in such a security system, the
따라서, 관리 단말(20)은 비정상적으로 연결이 해제된 보안 기지국과의 연결을 정상 상태로 복구되는데 오랜 시간이 걸리거나 영원히 복구할 수 없는 문제점을 가지게 된다.Therefore, the
따라서, 본 발명은 상기한 종래 기술에 따른 문제점을 해결하기 위한 것으로, 본 발명의 목적은 보안 시스템에서 보안 기지국과 관리 단말간의 비정상적인 연결 해제를 감지하도록 하는 보안 시스템의 연결 관리 방법 및 그 장치를 제공함에 있다.Accordingly, an object of the present invention is to solve a problem according to the related art, and an object of the present invention is to provide a connection management method and apparatus for a security system for detecting abnormal disconnection between a security base station and a management terminal in a security system. Is in.
상기한 목적을 달성하기 위한 본 발명의 일 측면에 따른 보안 시스템의 연결 관리 장치는, 이동 단말의 기능을 제어하는 제어 신호를 송출하며, 기 설정된 주기에 따라 킵얼라이브 메시지를 생성하여 송신하는 적어도 하나의 보안 기지국; 상기 보안 기지국으로부터 송신되는 상기 킵얼라이브 메시지의 수신여부에 따라 상기 보안 기지국과의 TCP/IP 연결 상태 정상 여부를 판단하며, 기 설정된 주기에 따라 연결 메시지를 상기 보안 기지국에 송신하여, 비정상적으로 접속 해제되는 보안 기지국이 있는지 여부를 파악하고, 비정상적으로 접속 해제된 보안 기지국과 TCP/IP를 이용한 재연결을 수행하는 관리 단말을 포함한다.Connection management apparatus of a security system according to an aspect of the present invention for achieving the above object, at least one for transmitting a control signal for controlling the function of the mobile terminal, generating and transmitting a keepalive message according to a predetermined period Secure base station; It is determined whether the TCP / IP connection state with the secure base station is normal according to whether the keepalive message transmitted from the secure base station is received, and a connection message is transmitted to the secure base station according to a preset period, thereby abnormally disconnecting the connection. And a management terminal for recognizing whether there is a security base station to be connected, and performing reconnection using an abnormally disconnected security base station with TCP / IP.
상기 연결 메시지는, TCP/IP를 이용한 가상회선이 활성 상태임을 알려주기 위한 메시지이다.The connection message is a message for indicating that the virtual line using the TCP / IP is active.
상기 관리 단말은, 상기 킵얼라이브 메시지가 기 설정된 시간동안 수신되지 않는 경우, 상기 보안 기지국과의 연결 상태를 비정상으로 판단하고, 상기 보안 기지국과의 TCP/IP 연결을 해제한다.When the keepalive message is not received for a predetermined time, the management terminal determines that the connection state with the secure base station is abnormal, and releases the TCP / IP connection with the secure base station.
상기 보안 기지국은, 상기 관리 단말로부터 상기 연결 메시지가 기 설정된 시간동안 수신되지 않는 경우, 상기 관리 단말과의 연결 상태를 비정상으로 판단하여, 상기 관리 단말과의 TCP/IP 연결을 해제하고, 상기 관리 단말에 재연결 요청 메시지를 송신한다.The security base station determines that the connection state with the management terminal is abnormal when the connection message is not received from the management terminal for a predetermined time, releases a TCP / IP connection with the management terminal, and manages the management. Send a reconnection request message to the terminal.
상기 관리 단말은, 상기 보안 기지국으로부터 상기 재연결 요청 메시지가 수 신되면, 상기 재연결 요청 메시지에 대응하는 재연결 응답 메시지를 상기 보안 기지국에 송신하고, 상기 보안 기지국과 상기 TCP/IP를 이용한 재연결을 수행한다.When the reconnection request message is received from the secure base station, the management terminal transmits a reconnection response message corresponding to the reconnection request message to the secure base station, and reconnects using the secure base station and the TCP / IP. Perform the connection.
그리고, 상기한 목적을 달성하기 위한 본 발명의 다른 측면에 따른 보안 시스템의 연결 관리 장치는, 이동 단말의 기능을 제어하는 제어 신호를 송출하며, TCP/IP 연결 및 재연결 요청 메시지를 송신하는 적어도 하나의 보안 기지국; 상기 연결 요청 메시지가 수신되면, 상기 보안 기지국과 TCP/IP를 이용한 연결을 수행하여, 기 설정된 주기에 따라 연결 메시지를 상기 보안 기지국에 송신하고, 상기 재연결 요청 메시지가 수신되면, 상기 보안 기지국과 TCP/IP를 이용한 재연결을 수행하는 관리 단말을 포함한다.In addition, the connection management apparatus of the security system according to another aspect of the present invention for achieving the above object, at least for transmitting a control signal for controlling the function of the mobile terminal, and transmits a TCP / IP connection and reconnection request message One secure base station; When the connection request message is received, the secure base station performs a connection using TCP / IP, transmits a connection message to the secure base station according to a preset period, and when the reconnection request message is received, It includes a management terminal for performing a reconnection using TCP / IP.
상기 보안 기지국은, 상기 연결 메시지의 수신 여부에 따라 상기 관리 단말과의 TCP/IP 연결 상태 정상 여부를 판단한다.The security base station determines whether the TCP / IP connection state with the management terminal is normal according to whether the connection message is received.
한편, 상기한 목적을 달성하기 위한 본 발명의 또 다른 측면에 따른 보안 시스템의 연결 관리 방법은, 관리 단말과 적어도 하나의 보안 기지국이 TCP/IP를 통해 상호간의 연결을 수행하는 단계; 상기 보안 기지국이 기 설정된 주기에 따라 킵얼라이브 메시지를 생성하여 상기 관리 단말에 송신하는 단계; 상기 관리 단말이 기 설정된 주기에 따라 연결 메시지를 생성하여 상기 보안 기지국에 송신하는 단계; 상기 관리 단말이 상기 보안 기지국으로부터 기 설정된 시간 이상 상기 킵얼라이브 메시지가 수신되지 않으면, 상기 TCP/IP 연결을 해제하는 단계; 상기 보안 기지국이 상기 관리 단말로부터 기 설정된 시간 이상 상기 연결 메시지가 수신되지 않으면, 상기 TCP/IP 연결을 해제하는 단계; 상기 관리 단말이 상기 보안 기지국과 상기 TCP/IP를 이용한 재연결을 수행하는 단계를 포함한다.On the other hand, the connection management method of a security system according to another aspect of the present invention for achieving the above object, the management terminal and at least one security base station performing a connection between each other via TCP / IP; Generating, by the secure base station, a keepalive message according to a preset period and transmitting the generated keep-alive message to the management terminal; Generating, by the management terminal, a connection message according to a preset period and transmitting the connection message to the secure base station; Releasing, by the management terminal, the TCP / IP connection if the keepalive message is not received from the secure base station for a preset time; Releasing, by the secure base station, the TCP / IP connection if the connection message is not received from the management terminal for a preset time; And performing, by the management terminal, reconnection with the secure base station using the TCP / IP.
상기 보안 기지국이 기 설정된 주기에 따라 연결 메시지를 생성하는 단계는, 상기 TCP/IP를 이용한 가상회선이 활성 상태임을 알려주기 위한 메시지인 연결 메시지를 생성한다.The generating of the connection message according to a preset period by the security base station generates a connection message which is a message for notifying that the virtual line using the TCP / IP is active.
또한, 보안 시스템의 연결 관리 방법은, 상기 관리 단말과의 TCP/IP 연결을 해재한 상기 보안 기지국이, 상기 관리 단말에 재연결 요청 메시지를 생성하는 단계; 상기 관리 단말이 상기 재연결 요청 메시지에 대응하는 재연결 응답 메시지를 상기 보안 기지국에 송신하는 단계; 상기 재연결 응답 메시지를 송신한 상기 관리 단말이 상기 보안 기지국과 TCP/IP를 이용한 재연결을 수행하는 단계를 더 포함한다.In addition, the connection management method of the security system, the secure base station disconnected from the TCP / IP connection with the management terminal, generating a reconnection request message to the management terminal; Transmitting, by the management terminal, a reconnection response message corresponding to the reconnection request message to the secure base station; The management terminal sending the reconnection response message further comprises the step of performing the reconnection to the security base station using TCP / IP.
그리고, 본 발명의 또 다른 측면에 따른 보안 시스템의 연결 관리 방법은, 관리 단말과 적어도 하나의 보안 기지국이 TCP/IP를 통해 상호간의 연결을 수행하는 단계; 상기 관리 단말이 기 설정된 주기에 따라 연결 메시지를 생성하여 상기 보안 기지국에 송신하는 단계; 상기 보안 기지국이 상기 관리 단말로부터 기 설정된 시간 이상 상기 연결 메시지가 수신되지 않으면 상기 TCP/IP 연결을 해제하고, 상기 관리 단말에 재연결 요청 메시지를 송신하는 단계; 상기 관리 단말이 상기 재연결 요청 메시지에 대응하는 재연결 응답 메시지를 상기 보안 기지국에 송신하고, 상기 보안 기지국과 TCP/IP를 이용한 재연결을 수행하는 단계를 포함한다.In addition, the connection management method of the security system according to another aspect of the present invention, the management terminal and at least one security base station performing a connection between each other via TCP / IP; Generating, by the management terminal, a connection message according to a preset period and transmitting the connection message to the secure base station; Releasing the TCP / IP connection and transmitting a reconnection request message to the management terminal if the security base station does not receive the connection message from the management terminal for a preset time; And transmitting, by the management terminal, a reconnection response message corresponding to the reconnection request message to the secure base station, and reconnecting the secure base station using TCP / IP.
상기 관리 단말과 적어도 하나의 보안 기지국이 TCP/IP를 통해 상호간의 연 결을 수행하는 단계는, 상기 보안 기지국이 상기 관리 단말에 연결 요청 메시지를 송신하는 단계; 상기 관리 단말이 상기 연결 요청 메시지에 대응하는 연결 응답 메시지를 상기 보안 기지국에 송신하고, 상기 보안 기지국과 TCP/IP 연결을 수행하는 단계 포함한다.The performing of the connection between the management terminal and the at least one secure base station through TCP / IP may include: transmitting, by the secure base station, a connection request message to the management terminal; Transmitting, by the management terminal, a connection response message corresponding to the connection request message to the secure base station, and performing a TCP / IP connection with the secure base station.
상기 보안 기지국이 상기 관리 단말로부터 기 설정된 시간안에 상기 재연결 요청 메시지에 대응하는 상기 재연결 응답 메시지가 수신되지 않으면, 상기 재연결 요청 메시지를 재송신한다.The security base station retransmits the reconnection request message if the reconnection response message corresponding to the reconnection request message is not received from the management terminal within a preset time.
이하 본 발명에 따른 보안 시스템의 연결 관리 방법 및 그 장치를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, a method and an apparatus for managing a connection of a security system according to the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명의 일 실시예에 따른 보안 시스템을 나타낸 구성도이다.2 is a block diagram showing a security system according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 보안 시스템은 적어도 하나의 보안 기지국(100)과 관리 단말(200)이 네트워크를 통해 연결되도록 할 수 있다.As shown in FIG. 2, the security system may allow at least one
이때, 네트워크는 이더넷 네트워크가 해당되어, 보안 시스템은 보안 기지국(100)과 관리 단말(200)이 TCP/IP를 이용해 연결되어 상호간의 보안 데이터를 송수신하도록 할 수 있다.In this case, the network corresponds to an Ethernet network, and the security system may allow the
여기서, 보안 기지국(100)은 기능 제한 신호 또는 기능 제한 해제 신호를 소정 영역내에 송출하여 휴대폰을 제어할 수 있는 소형 기지국을 지칭한다.Here, the
즉, 보안 기지국(100)은 보안 지역내에 진입하는 진입 영역에 설치되는 경우 기능 제한 신호를 송출하고, 진출 영역에 설치되는 경우 기능 제한 해제 신호를 송 출하여 휴대폰을 제어할 수 있다. That is, the
관리 단말(200)은 보안 기지국(100)을 관리하는 장치로, 보안 기지국(100) 관리 프로그램을 포함하고, 각 보안 기지국(100)에 할당되는 식별 정보 또는 IP 주소 정보를 관리한다.The
한편, 이와 같은 구성을 갖는 보안 시스템은, 관리 단말(200)이 TCP/IP 인터페이스(Interface) 서버로, 보안 기지국(100)이 TCP/IP 인터페이스 클라이언트로 동작하도록 하여, 관리 단말(200)과 보안 기지국(100)이 1:N으로 연결되도록 할 수 있다.On the other hand, in the security system having such a configuration, the
따라서, 보안 시스템은 클라이언트인 보안 기지국(100)이 킵얼라이브 메시지를 생성하여 관리 단말(200)에 송신하도록 하여, 서버인 관리 단말(200)이 수신되는 킵얼라비브 메시지를 통해 적어도 하나의 보안 기지국(100)을 관리하도록 한다.Accordingly, the security system allows the
또한, 보안 시스템은 서버인 관리 단말(200)이 TCP/IP를 이용한 가상회선이 활성 상태임을 알려주기 위한 연결 메시지(connection message)를 생성하여 기 설정된 주기마다 보안 기지국(100)에 송신하도록 한다. 이로 인해, 관리 단말(200)은 기 설정된 주기를 카운트하기 위한 타이머를 포함할 수 있다.In addition, the security system allows the
보안 기지국(100) 또한 타이머를 포함하여, 기 설정된 주기에 따라 생성한 킵 얼라이브 메시지를 관리 단말(200)에 송신하고, 관리 단말(200)로부터 수신되는 연결 메시지의 수신 시간을 카운트함으로, 관리 단말(200)과의 연결 상태가 정상 상태임을 판단할 수 있다.The
그리고, 보안 기지국(100)은 기 설정된 시간동안 관리 단말(200)로부터 연결 메시지가 수신되지 않으면, 관리 단말(200)과의 연결 상태를 비정상 상태로 판단하고, 관리 단말(200)과의 TCP/IP 연결을 해제한다.In addition, when the connection message is not received from the
즉, 보안 기지국(100)은 관리 단말(200)로부터 마지막으로 연결 메시지를 수신한 이후, 기 설정된 시간이 지나도록 연결 메시지가 수신되지 않으면, 관리 단말(200) 또는 가상회선에 문제가 발생한 것으로 판단하고, 관리 단말(200)과의 연결을 해제한다.That is, after receiving the connection message from the
이와 같은 보안 기지국(100)은, 관리 단말(200)과의 연결을 해제한 후, 관리 단말(200)에 재연결 요청 메시지를 송신함으로 관리 단말(200)과 재연결될 수 있다.The
다음으로, 이와 같은 구성을 갖는 보안 시스템의 연결 관리 방법에 대해 자세히 살펴보도록 한다.Next, the connection management method of the security system having such a configuration will be described in detail.
도 3은 본 발명의 일 실시예에 따른 보안 시스템의 연결 관리 방법을 나타낸 신호 흐름도이다. 3 is a signal flow diagram illustrating a connection management method of a security system according to an embodiment of the present invention.
도 3에 도시된 바와 같이, 보안 기지국(100) 및 관리 단말(200)로 구성되는 보안 시스템에서, 보안 기지국(100)과 관리 단말(200)은 초기 부팅이 수행되면, 기 설정된 포트 정보를 이용하여 각각이 소켓(socket)을 생성하고, TCP/IP를 이용한 연결을 수행한다(S101).As shown in FIG. 3, in the security system including the
여기서, 관리 단말(200)은 서버로, 보안 기지국(100)은 클라이언트가 되는 1:N 방식으로 연결되며, 관리 단말(200)은 TCP/IP 연결된 각 보안 기지국(100)에 할당된 식별 정보 또는 IP 주소 정보를 통하여 각 보안 기지국(100)을 관리한다. Here, the
이와 같이 연결된 보안 기지국(100)과 관리 단말(200)은 각각 포함하고 있는 타이머를 구동한다(S102, S103).The
그리고, 관리 단말(200)은 구동된 타이머을 통해 기 설정된 시간을 카운트하여 기 설정된 주기에 따라 연결 메시지를 생성하여 보안 기지국(100)에 송신한다(S104). 즉, 관리 단말(200)은 기 설정된 주기에 따라 보안 기지국(100)과의 TCP/IP를 이용한 가상회선이 활성 상태임을 알려주기 위한 연결 메시지를 보안 기지국(100)에 송신한다.The
이와 같이 관리 단말(200)로부터 기 설정된 주기에 따라 연결 메시지를 수신하는 보안 기지국(100)은, 구동된 타이머를 통해 기 설정된 시간을 카운트하여 기 설정되 주기에 따라 킵얼라이브 메시지를 생성하여 관리 단말(200)에 송신할 수 있다(S105). As such, the
킵얼라이브 메시지는 클라이언트인 보안 기지국(100)이 관리 단말(200)에게 둘 사이의 TCP/IP를 이용한 가상회선이 아직 활성 상태임을 알려주기 위해 송신하는 메시지를 일컫는다.The keep-alive message refers to a message transmitted by the
따라서, 관리 단말(200)은 기 설정된 주기에 따라 보안 기지국(100)으로부터 킵얼라이브 메시지를 수신함으로, 연결된 보안 기지국(100)의 연결 상태를 파악할 수 있다.Therefore, the
한편, 이와 같이 TCP/IP를 통해 연결되어 연결 메시지 및 킵얼라이브 메시지를 송수신하는 보안 기지국(100) 및 관리 단말(200)은, 외부적 또는 내부적인 문제로 인해, 비정상적으로 데이터 통신이 중단되거나 가상회선의 접속이 단절되는 경 우를 가지게 된다.On the other hand, the
이에 따라, 관리 단말(200)은 보안 기지국(100)이 송신하는 킵얼라이브 메시지를 수신하지 못하게 된다(S106).Accordingly, the
따라서, 관리 단말(200)은 보안 기지국(100)으로부터 마지막으로 킵얼라이브 메시지가 수신된 이후로 기 설정된 시간동안 킵얼라이브 메시지가 수신되지 않으면, 보안 기지국(100) 또는 가상회선에 문제가 발생한 것으로 판단하고 보안 기지국(100)과의 TCP/IP 연결을 해제한다(S107).Therefore, the
한편, 보안 기지국(100)은 관리 단말(200)의 TCP/IP 해제 및 가상회선의 문제로 인해 관리 단말(200)로부터 연결 메시지를 수신하지 못하는 경우를 가질 수 있다(S108).Meanwhile, the
이와 같은 경우, 보안 기지국(100) 또한 관리 단말(200)로부터 마지막으로 연결 메시지가 수신된 이후로부터 기 설정된 시간이 경과되도록 연결 메시지가 수신되지 않으면, 관리 단말(200) 또는 가상회선에 문제가 발생한 것으로 판단하고 관리 단말(200)과의 TCP/IP를 통한 연결을 해제한다(S109).In such a case, if the connection message is not received such that the predetermined time elapses since the last reception of the connection message from the
그리고, 보안 기지국(100)은 관리 단말(200)에 재연결 요청 메시지를 생성하여 송신한다(S110).In addition, the
한편, 보안 기지국(100)과의 TCP/IP 연결이 해제된 관리 단말(200)은, 보안 기지국(100)으로부터 재연결 요청 메시지가 수신되면, 이에 대응하는 재연결 응답 메시지를 보안 기지국(100)에 송신한다(S111).Meanwhile, when the TCP / IP connection with the
관리 단말(200)은 재연결 응답 메시지를 송신하면, 보안 기지국(100)과 TCP/IP를 이용한 재연결을 수행한다(S112).When the
여기서, 보안 기지국(100)은 송신한 재연결 요청 메시지에 대응하는 재연결 응답 메시지가 기 설정된 시간 안에 수신되지 않으며, 재연결 요청 메시지를 관리 단말(200)에 재송신하는 과정을 반복할 수 있다.Here, the
이와 같이, 보안 시스템은 보안 기지국(100) 및 관리 단말(200)간의 TCP/IP 연결에 문제가 발생하더라도 연결 메시지 및 킵얼라이브 메시지를 통해 이를 빠른 시간 안에 감지하고, 복구 시킬 수 있다.As such, even if a problem occurs in the TCP / IP connection between the
도 4는 본 발명의 일 실시예에 따른 보안 시스템의 연결 관리 방법을 나타낸 순서 흐름도이다. 4 is a flowchart illustrating a connection management method of a security system according to an embodiment of the present invention.
도 4에 도시된 바와 같이, 보안 시스템은 각 보안 기지국(100)과 관리 단말(200)이 초기 부팅이 수행되면, 각각 기 설정된 포트 정보를 이용하여 소켓을 생성하도록 한다(S201).As shown in FIG. 4, the security system allows each
그리고, 보안 시스템은 관리 단말(200)이 네트워크를 통해 접속된 각 보안 기지국(100)의 식별 정보 또는 IP 주소 정보를 등록하여 각 보안 기지국(100)을 관리하도록 한다(S202).In addition, the security system allows the
보안 시스템은 각 보안 기지국(100)이 소켓을 생성한 후, 관리 단말(200)에 연결 요청 메시지를 송신하고, 이를 수신한 관리 단말(200)이 이에 대응하는 연결 응답 메시지를 보안 기지국(100)에 송신하여 상호간에 TCP/IP를 이용한 연결이 수행되도록 한다(S203).After the
이때, 보안 시스템은 관리 단말(200)이 서버이고, 각 보안 기지국(100)이 클 라이언트가 되는 1:N 방식으로 접속되도록 한다. In this case, in the security system, the
보안 시스템은 상호간에 TCP/IP 연결이 수행되면, 관리 단말(200)이 기 설정된 주기에 따라 연결 메시지를 생성하여 보안 기지국(100)에 송신하도록 한다(S204).When the TCP / IP connection is performed between the security systems, the
따라서, 보안 시스템은 보안 기지국(100)이 기 설정된 시간에 주기에 따라 관리 단말(200)과의 연결 상태를 파악하도록 한다.Therefore, the security system allows the
한편, 보안 시스템은 보안 기지국(100)이 기 설정된 시간에 따라 킵얼라이브 메시지를 생성하여 관리 단말(200)에 송신하도록 함으로, 관리 단말(200)이 각 보안 기지국(100)의 연결 상태를 관리하도록 한다(S205).Meanwhile, the security system generates a keepalive message and transmits the keep-alive message to the
한편, 보안 시스템은 보안 기지국(100)의 장애 및 상호간의 가상회선의 문제로 인해 임의의 보안 기지국(100)으로부터 송신된 킵얼라이브 메시지가 기 설정된 시간 이상 관리 단말(200)에 수신되지 못하는 경우(S206), 관리 단말(200)이 보안 기지국(100)과의 TCP/IP 연결을 해제하도록 한다(S207).On the other hand, if the security system is not received by the
또한, 보안 시스템은 보인 기지국(100)에 기 설정된 시간 이상 관리 단말(200)로부터의 연결 메시지가 수신되지 않는 경우(S208), 보안 기지국(100) 또한 관리 단말(200)과의 TCP/IP 연결을 해제하도록 한다(S209).In addition, when the security system does not receive a connection message from the
그리고, 보안 시스템은 보안 기지국(100)이 TCP/IP 재연결을 요청하는 메시지인 재연결 요청 메시지를 관리 단말(200)에 송신하도록 한다(S210).In addition, the security system allows the
보안 시스템은, 관리 단말(200)이 보안 기지국(100)으로부터 수신되는 재연결 요청 메시지에 대응하는 재연결 응답 메시지를 생성하여 보안 기지국(100)으로 송신하고(S211), 보안 기지국(100)과 TCP/IP를 이용한 재연결을 수행하도록 한다(S212).The security system, the
여기서, 보안 기지국(100)은 송신한 재연결 요청 메시지에 대응하는 재연결 응답 메시지가 기 설정된 시간 안에 수신되지 않으며, 재연결 요청 메시지를 관리 단말(200)에 재송신하는 과정을 반복할 수 있다.Here, the
이와 같이, 보안 시스템은 보안 기지국(100) 및 관리 단말(200)간의 TCP/IP 연결에 문제가 발생하더라도 연결 메시지 및 킵얼라이브 메시지를 통해 이를 판단하여 재연결을 수행함으로, 비정상적인 연결 해제를 방지할 수 있다. As described above, even if a problem occurs in the TCP / IP connection between the
한편, 전술한 본 발명은, 보안 기지국(100)이 휴대폰의 카메라 기능을 제어하는 제어 신호를 송출하는 경우에 대해서만 기술하였으나, 기타, 휴대폰의 네트워크 접속 기능, 저장 기능 등을 제어하는 경우도 이와 동일하게 적용될 수 있다.Meanwhile, the above-described present invention has been described only in the case where the
상기한 바와 같은 본 발명에 따른 보안 시스템의 연결 관리 방법 및 그 장치는, 관리 단말이 서버로, 보안 기지국이 클라이언트로 동작하도록 하여, 관리 단말이 복수의 보안 기지국과의 TCP/IP 연결 상태를 효율적으로 관리하도록 함으로, 상호간의 연결 상태에 장애가 발생하더라도 빠른 시간내에 이를 감지하고, 복구시킬 수 있다.As described above, the method and apparatus for managing a connection of a security system according to the present invention allow the management terminal to operate as a server and the security base station as a client so that the management terminal can efficiently establish a TCP / IP connection state with a plurality of security base stations. By managing it, even if a failure occurs in the connection state between each other, it can be detected and recovered quickly.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060025619A KR100712144B1 (en) | 2006-03-21 | 2006-03-21 | Apparatus and method for connection management of security system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060025619A KR100712144B1 (en) | 2006-03-21 | 2006-03-21 | Apparatus and method for connection management of security system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100712144B1 true KR100712144B1 (en) | 2007-04-27 |
Family
ID=38182478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060025619A KR100712144B1 (en) | 2006-03-21 | 2006-03-21 | Apparatus and method for connection management of security system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100712144B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101077740B1 (en) | 2009-10-19 | 2011-10-27 | 케이티텔레캅 주식회사 | Network fault checking system for user wireless device over wireless network and method of the same |
KR101587332B1 (en) * | 2013-07-17 | 2016-02-02 | 주식회사 케이티 | Method for checking connectivity between controllers and network apparatuses |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990061248A (en) * | 1997-12-31 | 1999-07-26 | 윤종용 | Fault Information Management System and Method of Citi-2 Management System |
KR20020055241A (en) * | 2000-12-28 | 2002-07-08 | 박종섭 | Method for forwarding and collecting informations regarding base station transceiver |
KR20030033434A (en) * | 2001-10-23 | 2003-05-01 | 엘지전자 주식회사 | BTS Analysis and Diagnostic Assembly in a mobile communication system |
KR20050081966A (en) * | 2004-02-17 | 2005-08-22 | 이노성 | Security system of camera-phone and the method |
-
2006
- 2006-03-21 KR KR1020060025619A patent/KR100712144B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990061248A (en) * | 1997-12-31 | 1999-07-26 | 윤종용 | Fault Information Management System and Method of Citi-2 Management System |
KR20020055241A (en) * | 2000-12-28 | 2002-07-08 | 박종섭 | Method for forwarding and collecting informations regarding base station transceiver |
KR20030033434A (en) * | 2001-10-23 | 2003-05-01 | 엘지전자 주식회사 | BTS Analysis and Diagnostic Assembly in a mobile communication system |
KR20050081966A (en) * | 2004-02-17 | 2005-08-22 | 이노성 | Security system of camera-phone and the method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101077740B1 (en) | 2009-10-19 | 2011-10-27 | 케이티텔레캅 주식회사 | Network fault checking system for user wireless device over wireless network and method of the same |
KR101587332B1 (en) * | 2013-07-17 | 2016-02-02 | 주식회사 케이티 | Method for checking connectivity between controllers and network apparatuses |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101042745B1 (en) | System and method for reestablishing the session between terminal and server | |
US7822438B2 (en) | Apparatus and method for responding to unlicensed network failure | |
KR100560752B1 (en) | System for managing socket connection and method for checking of socket connection state | |
WO2013082960A1 (en) | Method and device for acquiring online status of terminal | |
KR20120110930A (en) | Apparatus and method for transmitting push notification message | |
WO2016095344A1 (en) | Link switching method and device, and line card | |
CN109194744B (en) | Data transmission method and device, storage medium and monitoring equipment | |
KR20190047598A (en) | Method and device of transmitting data | |
CN104144124A (en) | Data forwarding method, device and system | |
CN102437943A (en) | Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card | |
KR100712144B1 (en) | Apparatus and method for connection management of security system | |
US20100235422A1 (en) | Interconnection system between at least one communication device and at least one remote data system and interconnection method | |
EP2891299B1 (en) | Systems and methods for efficient remote security panel configuration and management | |
KR102412226B1 (en) | Message server and message processing apparatus including the same | |
CN112291749A (en) | Method and device for awakening T-Box, T-Box and server | |
KR101214651B1 (en) | Apparatus for sending sms when ups fails | |
CN108270613B (en) | Message sending method and network equipment | |
KR20190117268A (en) | Message server and message processing apparatus including the same | |
KR102507568B1 (en) | Information and communication security system for apartment house | |
JP2004363986A (en) | Wireless information communication system, program for terminal, and program for server | |
CN115065649B (en) | Method, device, equipment and storage medium for determining service message forwarding mode | |
KR100512625B1 (en) | Method for Resource Management in Mobile Communication System | |
CN105337996A (en) | Data processing method and system | |
KR100625236B1 (en) | Peer state machine mechanism of diameter base protocol | |
JP4383359B2 (en) | Information processing system, server device, and client terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20100402 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |