KR20140022257A - System and method for messahe service, and apparatus applied to the same - Google Patents

System and method for messahe service, and apparatus applied to the same Download PDF

Info

Publication number
KR20140022257A
KR20140022257A KR1020120088634A KR20120088634A KR20140022257A KR 20140022257 A KR20140022257 A KR 20140022257A KR 1020120088634 A KR1020120088634 A KR 1020120088634A KR 20120088634 A KR20120088634 A KR 20120088634A KR 20140022257 A KR20140022257 A KR 20140022257A
Authority
KR
South Korea
Prior art keywords
service
message
client device
connection
push message
Prior art date
Application number
KR1020120088634A
Other languages
Korean (ko)
Other versions
KR101988474B1 (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 KR1020120088634A priority Critical patent/KR101988474B1/en
Publication of KR20140022257A publication Critical patent/KR20140022257A/en
Application granted granted Critical
Publication of KR101988474B1 publication Critical patent/KR101988474B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a message service system and a method thereof, a device applied to the same, and an operating method thereof, which can provide smooth instance message service by maintaining difference access protocols in one connection by generating a message transmission session for transmitting a push message received from a service device to a client device, receiving a connectionless protocol-based service request from the client device, activating the message transmission session when connection-oriented protocol-based push message is received from the service device, and transmitting the push message as a response message for the service request to the client device. [Reference numerals] (AA) Start; (BB) End; (S310) Receiving a service access request; (S320) Confirming and transmitting login information; (S330) Conforming service access completion; (S340) Issuing session identification information and generating message transmission session; (S350) Transmitting the session identification information; (S360) Receiving a push message reception request; (S370) Storing a commit event (response message); (S380) Receiving the push message; (S390) Transmitting the response message (push message); (S400) Push message reception request received?

Description

메시지 서비스 시스템 및 그 방법, 그리고 이에 적용되는 장치 및 그 동작 방법{SYSTEM AND METHOD FOR MESSAHE SERVICE, AND APPARATUS APPLIED TO THE SAME}Message service system and method thereof, apparatus applied thereto and method of operation thereof {SYSTEM AND METHOD FOR MESSAHE SERVICE, AND APPARATUS APPLIED TO THE SAME}

본 발명은 인스턴스 메시지 서비스(Instance Message Service) 환경에서 서비스장치가 지원하는 접속 프로토콜과 클라이언트장치에 적용된 접속 프로토콜이 상이한 경우에 이를 하나의 커넥션으로 유지시키기 위한 방안에 관한 것이다.The present invention relates to a method for maintaining a connection when an access protocol supported by a service device and an access protocol applied to a client device are different in an instance message service environment.

기존 인스턴스 메시지 서비스는 클라이언트장치-서버(Server) 기반의 어플리케이션(Application)과 소켓 서버(Socket Server)를 이용한 서비스가 일반적이다.The existing instance message service is generally a service using a client device-server based application and a socket server.

이에, 인스턴스 메시지 서비스를 제공하는 서비스장치의 경우 서비스의 이용을 위한 연동 환경을 구축하기 위해 소켓 라이브러리를 제공하여 이에 기반한 TCP 기반의 소켓 접속을 지원한다.Accordingly, a service device providing an instance message service supports a TCP-based socket connection based on this by providing a socket library to establish an interworking environment for using a service.

한편, 클라이언트장치에서 웹 브라우저를 통한 HTTP 기반의 서비스 접속 방식을 채택하는 경우, 클라이언트장치와 서비스장치 간 접속 프로토콜의 차이로 인해 서비스 이용이 불가한 경우가 발생할 수 있다.On the other hand, when the client device adopts an HTTP-based service access method through a web browser, a service may be unavailable due to a difference in a connection protocol between the client device and the service device.

이에 따라, 원활한 인스턴스 메시지 서비스를 제공하기 위해서는 서비스장치에서 지원하는 소켓 접속과 클라이언트장치에서의 HTTP 기반 접속을 하나의 커넥션으로 유지시켜주는 기술이 요구된다.Accordingly, in order to provide a smooth instance message service, a technique of maintaining a socket connection supported by a service device and an HTTP-based connection from a client device as one connection is required.

본 발명은, 인스턴스 메시지 서비스 환경에서 서비스장치가 지원하는 접속 프로토콜과 클라이언트장치에 적용된 접속 프로토콜이 상이한 경우에 이를 하나의 커넥션으로 유지시켜 원활한 인스턴스 메시지 서비스를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a smooth instance message service by maintaining a single connection when an access protocol supported by a service device and an access protocol applied to a client device are different in an instance message service environment.

상기 목적을 달성하기 위한 본 발명의 제 1 관점에 따른 메시지 서비스 시스템은, 비연결유지 프로토콜 기반의 서비스 요청에 따라 생성된 메시지전달세션을 통해 푸쉬메시지를 수신하는 클라이언트장치; 상기 클라이언트장치를 대상으로 한 연결유지 프로토콜 기반의 상기 푸쉬메시지를 전송하는 서비스장치; 및 상기 서비스장치로부터 수신되는 상기 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 상기 메시지전달세션을 생성하며, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 접속관리장치를 포함하는 것을 특징으로 한다A message service system according to a first aspect of the present invention for achieving the above object comprises: a client device for receiving a push message through a message delivery session generated according to a service request based on a connectionless maintenance protocol; A service device for transmitting the push message based on a connection maintenance protocol targeted to the client device; And generating the message delivery session for delivering the push message received from the service device to the client device, activating the message delivery session only when the push message is received from the service device. It characterized in that it comprises a connection management device for transmitting to the client device as a response message to the service request.

상기 목적을 달성하기 위한 본 발명의 제 2 관점에 따른 접속관리장치는, 비연결유지 프로토콜을 기반으로 클라이언트장치와 연동하여 상기 클라이언트장치로부터의 서비스 요청을 수신하는 클라이언트연동부; 연결유지 프로토콜을 기반으로 서비스장치와 연동하여 상기 서비스장치로부터 푸쉬메시지를 수신하는 서비스장치연동부; 및 상기 서비스장치로부터 수신되는 상기 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 상기 메시지전달세션을 생성하며, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 접속제어부를 포함하는 것을 특징으로 한다.Connection management apparatus according to a second aspect of the present invention for achieving the above object, the client interlocking unit for receiving a service request from the client device in conjunction with the client device based on the connectionless maintenance protocol; A service device interlocking unit for receiving a push message from the service device in association with a service device based on a connection maintaining protocol; And generating the message delivery session for delivering the push message received from the service device to the client device, activating the message delivery session only when the push message is received from the service device. It characterized in that it comprises a connection control unit for transmitting to the client device as a response message to the service request.

보다 구체적으로, 상기 접속제어부는, 상기 클라이언트장치로부터의 서비스 접속 요청에 따라 상기 클라이언트장치가 상기 서비스장치에 서비스 접속되도록 하며, 상기 서비스장치로부터 상기 클라이언트장치의 서비스 접속을 확인하여 상기 클라이언트장치에 대한 상기 메시지전달세션을 생성하는 것을 특징으로 한다.More specifically, the connection controller is configured to allow the client device to be serviced to the service device according to a service connection request from the client device, and check the service connection of the client device from the service device to the client device. And generating the message transfer session.

보다 구제적으로, 상기 접속제어부는, 상기 클라이언트장치로부터 푸쉬메시지 수신을 위한 상기 서비스 요청이 수신되는 경우, 상기 서비스 요청에 대한 응답메시지를 이벤트정보로서 저장하고, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우, 상기 이벤트정보로서 저장된 응답메시지를 통해 상기 푸쉬메시지를 전달하는 것을 특징으로 한다.More specifically, when the service request for receiving the push message is received from the client device, the connection controller stores a response message to the service request as event information and receives the push message from the service device. If so, characterized in that for transmitting the push message through the response message stored as the event information.

보다 구체적으로, 상기 접속제어부는, 상기 서비스장치에 대한 상기 클라이언트장치의 서비스 접속이 종료되는 시점까지, 상기 푸쉬메시지를 수신한 상기 클라이언트장치로부터 새로운 푸쉬메시지 수신을 위한 상기 서비스 요청을 수신하는 것을 특징으로 한다.More specifically, the connection controller, until the time point at which the service connection of the client device to the service device is terminated, receives the service request for receiving a new push message from the client device receiving the push message. It is done.

상기 목적을 달성하기 위한 본 발명의 제 3 관점에 따른 메시지 서비스 방법은, 접속관리장치가 서비스장치로부터 수신되는 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하는 세션생성단계; 상기 클라이언트장치가 비연결유지 프로토콜 기반의 서비스 요청을 상기 접속관리장치에 전송하는 수신하는 서비스요청수신단계; 상기 서비스장치가 상기 클라이언트장치를 대상으로 한 연결유지 프로토콜 기반의 상기 푸쉬메시지를 상기 접속관리장치에 전송하는 메시지전송단계; 및 상기 접속관리장치가 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우 상기 메시지전달세션을 활성화하여 상기 서비스 요청에 대한 응답메시지로서 상기 푸쉬메시지를 상기 클라이언트장치에 전달하는 메시지전달단계를 포함하는 것을 특징으로 한다.According to a third aspect of the present invention, there is provided a message service method, comprising: a session generation step of a connection management device generating a message delivery session for delivering a push message received from a service device to the client device; A service request reception step of receiving, by the client device, a service request based on a connectionless maintenance protocol to the access management device; A message transmission step of transmitting, by the service apparatus, the push message based on a connection maintenance protocol targeted to the client apparatus to the access management apparatus; And a message transfer step of activating the message transfer session when the connection management device receives the push message from the service device and delivering the push message to the client device as a response message to the service request. It is done.

상기 목적을 달성하기 위한 본 발명의 제 4 관점에 따른 접속관리장치의 동작 방법은, 서비스장치로부터 수신되는 푸쉬메시지를 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하는 세션생성단계; 클라이언트장치로부터 비연결유지 프로토콜 기반의 서비스 요청을 수신하는 서비스요청수신단계; 및 상기 서비스장치로부터 연결유지 프로토콜 기반의 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 메시지전달단계를 포함하는 것을 특징으로 한다.According to a fourth aspect of the present invention, there is provided a method of operating a connection management apparatus, including: a session generation step of generating a message delivery session for delivering a push message received from a service apparatus to a client apparatus; A service request reception step of receiving a connection request based on the connectionless protocol from the client device; And a message delivery step of activating the message delivery session only when the push message based on the connection maintenance protocol is received from the service device and delivering the push message to the client device as a response message to the service request. It features.

보다 구체적으로, 상기 세션생성단계는, 상기 클라이언트장치로부터의 서비스 접속 요청에 따라 상기 서비스장치에 상기 클라이언트장치가 서비스 접속되도록 하는 접속유도단계; 및 상기 서비스장치로부터 상기 클라이언트장치의 서비스 접속을 확인하여 상기 클라이언트장치에 대한 상기 메시지전달세션을 생성하는 접속확인단계를 포함하는 것을 특징으로 한다.More specifically, the session creation step may include: a connection inducing step of allowing the client device to connect to the service device according to a service connection request from the client device; And confirming a service connection of the client device from the service device to generate the message delivery session for the client device.

보다 구체적으로, 상기 메시지전달단계는, 상기 클라이언트장치로부터 푸쉬메시지 수신을 위한 상기 서비스 요청이 수신되는 경우, 상기 서비스 요청에 대한 응답메시지를 이벤트정보로서 저장하는 이벤트정보저장단계; 및 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우, 상기 이벤트정보로서 저장된 응답메시지를 통해 상기 푸쉬메시지를 전달하는 응답메시지전송단계를 포함하는 것을 특징으로 한다.More specifically, the message delivery step, the event information storage step of storing a response message to the service request as the event information, when the service request for receiving the push message from the client device; And a response message transmission step of transmitting the push message through the response message stored as the event information when the push message is received from the service device.

보다 구체적으로, 상기 이벤트정보저장단계는, 상기 서비스장치에 대한 상기 클라이언트장치의 서비스 접속이 종료되는 시점까지, 상기 푸쉬메시지를 수신한 상기 클라이언트장치로부터 새로운 푸쉬메시지 수신을 위한 상기 서비스 요청을 수신하여 이에 대한 응답메시지를 상기 이벤트정보로서 저장하는 것을 특징으로 한다.More specifically, the event information storing step, by receiving the service request for receiving a new push message from the client device that has received the push message until the service connection of the client device to the service device is terminated; The response message is stored as the event information.

이에, 본 발명의 메시지 서비스 시스템 및 그 방법, 그리고 이에 적용되는 장치 및 그 동작 방법에 의하면, 인스턴스 메시지 서비스를 제공하는 서비스장치가 지원하는 TCP 소켓 접속과 클라이언트장치에 적용된 HTTP 기반 접속을 하나의 커넥션으로 유지시킴으로써, 원활한 인스턴스 메시지 서비스를 제공할 수 있다.Accordingly, according to the message service system and method thereof, and the apparatus and method for operating the same, a connection is established between a TCP socket connection supported by a service device providing an instance message service and an HTTP-based connection applied to a client device. By maintaining this, it is possible to provide a smooth instance message service.

도 1은 본 발명의 일 실시예에 따른 메시지 서비스 시스템의 개략적인 구성도.
도 2는 본 발명의 일 실시예에 따른 접속관리장치의 구성도.
도 3은 본 발명의 일 실시예에 따른 메시지 서비스 시스템에서의 동작 흐름을 설명하기 위한 개략적인 순서도.
도 4는 본 발명의 일 실시예에 따른 접속관리장치의 동작을 설명하기 위한 개략적인 순서도.
1 is a schematic structural diagram of a message service system according to an embodiment of the present invention;
2 is a block diagram of a connection management apparatus according to an embodiment of the present invention.
3 is a schematic flowchart illustrating an operation flow in a message service system according to an embodiment of the present invention.
Figure 4 is a schematic flow chart for explaining the operation of the connection management apparatus according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 일 실시예에 대하여 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention.

도 1은 본 발명의 일 실시예에 따른 메시지 서비스 시스템을 도시한 도면이다. 1 is a diagram illustrating a message service system according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 메시지 서비스 시스템은, 서비스장치(300)로부터 제공되는 인스턴스 메시지 서비스를 이용하기 위한 클라이언트장치(100), 클라이언트장치(100)와 서비스장치(300)를 상호 연결시키기 위한 접속관리장치(200), 및 클라이언트장치(100)를 대상으로 인스턴스 메시지 서비스를 제공하는 서비스장치(300)를 포함하는 구성을 갖는다.As shown in FIG. 1, a message service system according to an exemplary embodiment of the present invention includes a client device 100, a client device 100, and a service device for using an instance message service provided from a service device 300. Connection management apparatus 200 for interconnecting 300, and a service device 300 for providing an instance message service to the client device 100 has a configuration.

클라이언트장치(100)는 인스턴스 메시지 서비스 이용을 위한 어플리케이션이 설치된 사용자 장치를 지칭하는 것으로서, 예를 들어, 스마트폰, 개인용컴퓨터(PC), 노트북, 테블릿 PC, 및 PDA, 등이 해당될 수 있으며, 이에 제한되는 것이 아닌 어플리케이션의 실행을 통해 웹 브라우저를 구동하여 비연결유지 프로토콜을 통해 접속관리장치(200)에 접속 가능한 장치는 모두 포함될 수 있다.The client device 100 refers to a user device in which an application for using an instance message service is installed. For example, the client device 100 may correspond to a smartphone, a personal computer (PC), a notebook, a tablet PC, a PDA, and the like. In addition, all of the devices that can be connected to the access management apparatus 200 through the connectionless protocol by running a web browser through the execution of the application is not limited thereto.

여기서, 비연결유지 프로토콜은 설정된 세션이 유지가 요구되지 않는 프로토콜 다시 말해, 한번의 'Request'에 대한 'Response' 후 송신단과 수신단의 접속 상태를 유지하지 않는 프로토콜을 지칭하는 것으로서, 예를 들어, HTTP(Hyper Text Transfer Protocol)가 해당될 수 있다.Here, the connectionless maintenance protocol refers to a protocol in which a set session is not required to be maintained, that is, a protocol that does not maintain a connection state between a transmitting end and a receiving end after 'Response' for one 'Request'. HTTP (Hyper Text Transfer Protocol) may correspond.

또한, 서비스장치(300)는 클라이언트장치(100)에 설치된 어플리케이션과의 연동을 통해 인스턴스 메시지 서비스를 제공하는 서비스 프로바이더(Service Provider) 서버를 지칭하는 것으로, 연결유지 프로토콜을 통해 접속관리장치(200)와 연동되게 된다.In addition, the service device 300 refers to a service provider server that provides an instance message service through interworking with an application installed in the client device 100, and the connection management device 200 through a connection maintenance protocol. ) Will be linked.

여기서, 연결유지 프로토콜은 설정된 세션을 유지하는 프토토콜 다시 말해, 'Request'에 대한 'Response' 후 송신단과 수신단의 접속 상태를 유지하는 프로토콜을 지칭하는 것으로서, 예를 들어, TCP(Transmission Control Protocol) 기반의 소켓 접속이 해당될 수 있다.Here, the connection maintenance protocol refers to a protocol for maintaining a established session, that is, a protocol for maintaining a connection state between a transmitting end and a receiving end after 'Response' for 'Request', for example, Transmission Control Protocol (TCP). Based socket connection may be applicable.

또한, 접속관리장치(200)는 서비스장치(300)가 지원하는 연결유지 프로토콜과 클라이언트장치(100)에 적용된 비연결유지 프로토콜을 하나의 커넥션으로 유지시키기 위한 플랫폼 서버를 지칭하게 된다.In addition, the connection management device 200 refers to a platform server for maintaining the connection maintenance protocol supported by the service device 300 and the connectionless maintenance protocol applied to the client device 100 as one connection.

한편, 본 발명의 일 실시예에 따르면, 클라이언트장치(100)는 비연결유지 프로토콜을 통해 접속관리장치(200)에 서비스 요청을 전달하여 서비스장치(300)가 제공하는 인스턴스 메시지 서비스를 수신하며, 서비스장치(300)의 경우 연결유지 프로토콜을 통해 클라이언트장치(100)의 서비스 요청을 처리하게 된다.On the other hand, according to an embodiment of the present invention, the client device 100 receives the instance message service provided by the service device 300 by transmitting a service request to the connection management device 200 through a connectionless maintenance protocol, The service device 300 processes the service request of the client device 100 through the connection maintenance protocol.

이와 관련하여, 연결유지 프로토콜을 지원하는 서비스장치(300)에 클라이언트장치(100)를 대상으로 하는 푸쉬메시지가 존재하는 경우에는, 클라이언트장치(100)가 서비스장치(300)에 대한 접속을 유지한 상태에서 푸쉬메시지를 전달하여야만 한다.In this regard, when a push message for the client device 100 exists in the service device 300 supporting the connection maintenance protocol, the client device 100 maintains a connection to the service device 300. State must deliver a push message.

그러나, 클라이언트장치(100)의 경우 전술한 바와 같이 비연결유지 프로토콜을 적용함에 따라, 서비스장치(300)와의 지속적인 접속 상태를 유지할 수 없어 푸쉬메시지를 전달할 수 없게 되므로, 정상적인 인스턴스 메시지 서비스를 제공할 수 없다.However, in the case of the client device 100, as described above, as the connectionless maintenance protocol is applied, the client device 100 cannot maintain a persistent connection with the service device 300 and thus cannot transmit a push message, thereby providing a normal instance message service. Can't.

이에, 본 발명의 일 실시예에서는 서비스장치(300)가 지원하는 연결유지 프로토콜 기반의 접속과 클라이언트장치(100)에 적용된 비연결유지 프로토콜 기반 접속을 하나의 커넥션으로 유지시키기 위한 방안을 제안하고자 하며, 이하에서는 이를 구체적으로 설명하기로 한다. Therefore, an embodiment of the present invention is to propose a method for maintaining a connection-connection protocol-based connection supported by the service device 300 and a connectionless protocol-based connection applied to the client device 100 as one connection. This will be described in detail below.

클라이언트장치(100)는 인스턴스 메시지 서비스 접속을 위해 비연결유지 프로토콜 기반 서비스 요청을 접속관리장치(200)에 전달한다.The client device 100 transmits a connectionless protocol based service request to the access management device 200 for the instance message service connection.

보다 구체적으로, 클라이언트장치(100)는 인스턴스 메시지 서비스와 관련된 어플리케이션의 실행에 따라 서비스 접속을 위한 서비스 요청(HTTP Request)을 접속관리장치(200)에 전달하여 서비스장치(300)에 대한 접속을 요청하게 된다.More specifically, the client device 100 transmits a service request (HTTP Request) for the service connection to the connection management device 200 according to the execution of the application associated with the instance message service to request the connection to the service device 300. Done.

예를 들어, 클라이언트장치(100)는 'A사' 'B사' 각각에 해당하는 서비스장치(300)에 등록된 자신의 계정으로 로그인 정보를 포함하는 서비스 요청을 전달함으로써, 'A사' 'B사' 각각에 해당하는 서비스장치(300)에 대한 서비스 접속을 요청하게 된다. For example, the client device 100 transmits a service request including login information to its own account registered in the service device 300 corresponding to each of 'company A' and 'company B', thereby providing 'company A' ' A service connection to the service device 300 corresponding to each of 'B' is requested.

이와 관련하여, 접속관리장치(200)는 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다.In this regard, the connection management device 200 allows the client device 100 to be serviced to the service device 300.

보다 구체적으로, 접속관리장치(200)는 클라이언트장치(100)로부터 수신되는 서비스 요청에 포함된 로그인 정보를 확인하고, 확인된 로그인 정보를 서비스장치(300)에 전달함으로써, 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다.More specifically, the connection management device 200 checks the login information included in the service request received from the client device 100, and passes the confirmed login information to the service device 300, the client device 100 is Service connection to the service device 300.

예를 들어, 접속관리장치(200)는 클라이언트장치(100)로부터 'A사' 'B사'의 서비스장치(300)에 등록된 로그인 정보가 수신되는 경우, 각각의 로그인 정보를 해당 서비스장치(300)에 전달하여 각각의 서비스장치(300)가 제공하는 인스턴스 메시지 서비스에 접속될 수 있도록 한다.For example, the connection management device 200 receives the login information registered in the service device 300 of the 'company A' 'company B' from the client device 100, the respective login information corresponding to the service device ( And transmits the same to the instance message service provided by each service device 300.

아울러, 접속관리장치(200)는 클라이언트장치(100)에 대한 메시지전달세션을 생성한다.In addition, the connection management device 200 generates a message transfer session for the client device (100).

보다 구체적으로, 접속관리장치(200)는 서비스장치(300)로부터 클라이언트장치(100)에 대한 서비스 접속이 완료되었음이 통지되는 경우, 상기 클라이언트장치(100)에 대한 세션식별정보를 발급하여 발급된 세션식별정보에 맵핑된 메시지전달세션을 생성하며, 발급된 세션식별정보를 클라이언트장치(100)에 전달하게 된다.More specifically, the access management device 200 is issued by issuing the session identification information for the client device 100, when the notification from the service device 300 that the service connection to the client device 100 is completed, A message transfer session mapped to the session identification information is generated, and the issued session identification information is transmitted to the client device 100.

이와 관련하여, 클라이언트장치(100)는 세션식별정보의 수신에 따라 푸쉬메시지의 수신을 접속관리장치(200)에 요청한다.In this regard, the client apparatus 100 requests the connection management apparatus 200 to receive a push message according to the reception of the session identification information.

보다 구체적으로, 클라이언트장치(100)는 세션식별정보의 수신에 따라 접속관리장치(200)가 제공하는 서비스컴포넌트(Open API 'notification')를 이용하여 접속관리장치(200)에 탑재된 커밋 서블릿(Comet Servlet)을 호출하고, 이를 통해 푸쉬메시지의 수신을 요청하게 된다.More specifically, the client device 100 uses a service component (Open API 'notification') provided by the connection management apparatus 200 in response to the reception of the session identification information. Comet Servlet) is called, and it requests to receive a push message.

여기서, 커밋 서블릿은 클라이언트장치(100)로부터의 명시적인 요청이 없어도 접속관리장치(200)에서 클라이언트장치(100)로 푸쉬메시지를 전달하도록 동작하는 웹 프로그래밍 모델을 지칭한다.Here, the commit servlet refers to a web programming model that operates to deliver a push message from the connection management apparatus 200 to the client apparatus 100 even without an explicit request from the client apparatus 100.

이에, 접속관리장치(200)는 클라이언트장치(100)로부터의 푸쉬메시지 수신 요청을 처리한다.Thus, the connection management device 200 processes the push message reception request from the client device 100.

보다 구체적으로, 접속관리장치(200)는 클라이언트장치(100)로부터 푸쉬메시지 수신 요청이 수신되는 경우, 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 저장한다.More specifically, when the push message reception request is received from the client device 100, the access management apparatus 200 stores a response message (HTTP Response) to the push message reception request.

나아가, 서비스장치(300)는 클라이언트장치(100)를 대상으로 한 연결유지 프로토콜 기반의 푸쉬메시지를 전송한다.Further, the service device 300 transmits a push message based on the connection maintenance protocol for the client device 100.

보다 구체적으로, 서비스장치(300)는 서비스 접속 중인 클라이언트장치(100)에 대한 푸쉬메시지가 존재하는 경우, 이를 접속관리장치(200)에 전송하게 된다.More specifically, the service device 300, if there is a push message for the client device 100 is connected to the service, and transmits it to the connection management device (200).

예를 들어, 서비스장치(300)에 서비스 접속 중인 또 다른 클라이언트장치 '사용자 B'가 서비스 접속중인 클라이언트장치(100) '사용자 A'에 대한 메시지 전송을 요청하는 경우, 서비스장치(300)는 해당 메시지를 접속관리장치(200)에 전송하여 클라이언트장치(100)에 전달될 수 있도록 한다.For example, when another client device 'user B' accessing the service device 300 requests a message transmission for the client device 100 'user A' accessing the service, the service device 300 corresponds to the corresponding service device 300. The message is transmitted to the access management device 200 to be delivered to the client device (100).

이에, 접속관리장치(200)는 상기 서비스장치(300)로부터 수신된 푸쉬메시지를 클라이언트장치(100)에 전달한다.Thus, the connection management device 200 transfers the push message received from the service device 300 to the client device 100.

보다 구체적으로, 접속관리장치(200)는 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우, 클라이언트장치(100)에 대해 생성된 메시지전달세션을 활성화하여 클라이언트장치(100)로부터 수신된 푸쉬메시지 수신 요청에 대응하여 저장된 응답메시지를 통해 푸쉬메시지를 클라이언트장치(100)에 전달한다.More specifically, when the push message is received from the service device 300, the connection management device 200 receives the push message received from the client device 100 by activating a message transfer session generated for the client device 100. The push message is transmitted to the client device 100 through a response message stored in response to the request.

이와 관련하여, 클라이언트장치(100)는 새로운 푸쉬메시지 수신을 접속관리장치(200)에 요청한다.In this regard, the client device 100 requests the connection management device 200 to receive a new push message.

보다 구체적으로, 클라이언트장치(100)는 수신된 푸쉬메시지를 메시지 타입별로 처리한 후, 전술한 바와 같이 새로운 푸쉬메시지의 수신을 접속관리장치(200)에 요청하게 된다.More specifically, the client device 100 processes the received push message for each message type and then requests the connection management device 200 to receive a new push message as described above.

이에, 접속관리장치(200)는 클라이언트장치(100)로부터의 푸쉬메시지 수신 요청을 처리한다.Thus, the connection management device 200 processes the push message reception request from the client device 100.

보다 구체적으로, 접속관리장치(200)는 클라이언트장치(100)로부터 푸쉬메시지 수신 요청이 수신되는 경우, 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 새롭게 저장함으로써, 이후에 서비스장치(300)로부터 수신되는 푸쉬메시지를 새롭게 저장된 응답메시지를 통해 전달할 수 있도록 한다.More specifically, when the push message reception request is received from the client device 100, the connection management apparatus 200 newly stores a response message (HTTP Response) for the push message reception request, and subsequently, the service apparatus 300. Push message from) can be delivered through newly saved response message.

이하에서는, 도 2를 참조하여 본 발명의 일 실시예에 따른 접속관리장치(200)의 구성을 보다 구체적으로 설명하도록 한다.Hereinafter, with reference to FIG. 2 to be described in more detail the configuration of the connection management apparatus 200 according to an embodiment of the present invention.

즉, 본 발명의 일 실시예에 따른 접속관리장치(200)는 비연결유지 프로토콜을 기반으로 클라이언트장치(100)와 연동하기 위한 클라이언트연동부(210); 연결유지 프로토콜을 기반으로 서비스장치(300)와 연동하기 위한 서비스장치연동부(220); 및 서비스장치(300)가 지원하는 연결유지 프로토콜 기반의 접속과 클라이언트장치(100)에 적용된 비연결유지 프로토콜 기반 접속을 하나의 커넥션으로 유지시키기 위한 접속제어부(230)를 포함하는 구성을 갖는다.That is, the connection management device 200 according to an embodiment of the present invention includes a client interlocking unit 210 for interworking with the client device 100 based on the connectionless maintenance protocol; A service device linking unit 220 for interworking with the service device 300 based on the connection maintenance protocol; And a connection control unit 230 for maintaining the connection maintaining protocol based connection supported by the service device 300 and the connectionless maintaining protocol based connection applied to the client device 100 as one connection.

여기서, 전술한 클라이언트연동부(210), 서비스장치연동부(220) 및 접속제어부(230)를 포함하는 접속관리장치(200)의 각각의 구성은 프로세서에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. Here, each configuration of the connection management apparatus 200 including the client interlocking unit 210, the service device interlocking unit 220, and the connection control unit 230 described above is implemented as a software module executed by a processor, or It can be implemented by a combination of these.

접속제어부(230)는 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다.The connection controller 230 allows the client device 100 to be serviced to the service device 300.

보다 구체적으로, 접속제어부(230)는 클라이언트연동부(210)를 통해 클라이언트장치(100)로부터 서비스 접속을 위한 서비스 요청(HTTP Request)이 수신되는 경우, 수신되는 서비스 요청에 포함된 로그인 정보를 확인하고, 확인된 로그인 정보를 서비스장치연동부(220)를 통해 서비스장치(300)에 전달함으로써, 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다.More specifically, the connection controller 230 checks the login information included in the received service request when a service request (HTTP Request) for a service connection is received from the client device 100 through the client interlocking unit 210. Then, the confirmed login information is transmitted to the service device 300 through the service device interlocking unit 220, thereby allowing the client device 100 to be serviced to the service device 300.

예를 들어, 접속관리장치(200)는 클라이언트장치(100)로부터 'A사' 'B사'의 서비스장치(300)에 등록된 로그인 정보가 수신되는 경우, 각각의 로그인 정보를 해당 서비스장치(300)에 전달하여 각각의 서비스장치(300)가 제공하는 인스턴스 메시지 서비스에 접속될 수 있도록 한다.For example, the connection management device 200 receives the login information registered in the service device 300 of the 'company A' 'company B' from the client device 100, the respective login information corresponding to the service device ( And transmits the same to the instance message service provided by each service device 300.

아울러, 접속제어부(230)는 클라이언트장치(100)에 대한 메시지전달세션을 생성한다.In addition, the connection controller 230 generates a message transfer session for the client device (100).

보다 구체적으로, 접속제어부(230)는 서비스장치연동부(220)를 통해 서비스장치(300)로부터 클라이언트장치(100)에 대한 서비스 접속이 완료되었음이 통지되는 경우, 상기 클라이언트장치(100)에 대한 세션식별정보를 발급하여 발급된 세션식별정보에 맵핑된 메시지전달세션을 생성하며, 발급된 세션식별정보를 클라이언트연동부(210)를 통해 클라이언트장치(100)에 전달하게 된다.More specifically, when the connection controller 230 is notified that the service connection to the client device 100 from the service device 300 through the service device interlocking unit 220 is completed, for the client device 100 Issuing session identification information generates a message transfer session mapped to the issued session identification information, and passes the issued session identification information to the client device 100 through the client interlocking unit 210.

이때, 접속제어부(230)는 발급된 세션식별정보와 이에 맵핑되어 생성된 메시지전달세션을 세션 풀(Pool)에 저장하여 이를 비연결유지 프로토콜과 연결유지 프로토콜을 하나의 커넥션으로 연결하기 위한 정보로서 활용하게 된다.At this time, the connection control unit 230 stores the issued session identification information and the message transfer session generated by mapping to the session pool as information for connecting the connectionless maintenance protocol and the connection maintenance protocol as one connection. Will be utilized.

이와 관련하여, 클라이언트장치(100)는 세션식별정보의 수신에 따라 클라이언트연동부(210)가 제공하는 서비스컴포넌트(Open API 'notification')를 이용하여 커밋 서블릿(Comet Servlet)을 호출하고, 이를 통해 푸쉬메시지의 수신을 요청하게 된다.In this regard, the client device 100 calls a commit servlet using a service component (Open API 'notification') provided by the client interlocking unit 210 according to the reception of the session identification information. Request to receive a push message.

이에, 접속제어부(230)는 클라이언트장치(100)로부터 푸쉬메시지 수신 요청이 수신되는 경우, 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 저장한다.Accordingly, when the push message reception request is received from the client device 100, the access controller 230 stores a response message (HTTP Response) for the push message reception request.

보다 구체적으로, 접속제어부(230)는 세션식별정보를 수신한 클라이언트장치(100)로부터 호출된 커밋 서블릿을 통해 푸쉬메시지 수신 요청이 수신되는 경우, 호출된 커밋 서블릿을 통해 수신되는 클라이언트장치(100)의 세션식별정보가 전술한 세션 풀에 저장되어 있는지를 확인한다.More specifically, the connection controller 230 receives the push message reception request through the commit servlet called from the client device 100 that received the session identification information, the client device 100 received through the called commit servlet It is checked whether the session identification information is stored in the aforementioned session pool.

아울러, 접속제어부(230)는 세션식별정보가 세션 풀에 저장되어 있는 것으로 확인되는 경우, 클라이언트장치(100)로부터 수신된 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 포함하는 커밋이벤트를 세션 풀에 저장하고, 클라이언트장치(100)로부터 호출된 커밋 서블릿을 종료하게 된다.In addition, when it is determined that the session identification information is stored in the session pool, the access controller 230 sessions a commit event including a response message (HTTP Response) to the push message reception request received from the client device 100. It saves in the pool and terminates the commit servlet called from the client device 100.

나아가, 접속제어부(230)는 상기 서비스장치(300)로부터 수신된 푸쉬메시지를 클라이언트장치(100)에 전달한다. Further, the connection controller 230 transmits the push message received from the service device 300 to the client device 100.

보다 구체적으로, 접속제어부(230)는 서비스장치연동부(220)를 통해 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우, 이를 클라이언트장치(100)에 대한 푸쉬메시지큐(Push Message Queue)에 저장한다.More specifically, when the push message is received from the service device 300 through the service device interlocking unit 220, the connection controller 230 stores the push message in the push message queue for the client device 100. do.

아울러, 접속제어부(230)는 상기 푸쉬메시지큐 저장된 가장 최신의 메시지를 추출하여 이를 세션 풀에 저장된 클라이언트장치(100)의 커밋이벤트에 포함된 응답메시지(Http Response)로서 클라이언트장치(100)에 전달하게 된다.In addition, the connection controller 230 extracts the latest message stored in the push message queue and delivers the latest message to the client device 100 as a response message (Http Response) included in the commit event of the client device 100 stored in the session pool. Done.

이와 관련하여, 클라이언트장치(100)는 수신된 푸쉬메시지를 메시지 타입별로 처리한 후, 전술한 바와 같이 접속관리장치(200)가 제공하는 서비스컴포넌트(Open API 'notification')를 이용하여 접속관리장치(200)에 탑재된 커밋 서블릿(Comet Servlet)을 호출하고, 호출된 커밋 서블릿을 통해 새로운 푸쉬메시지의 수신을 요청하게 된다.In this regard, the client device 100 processes the received push message for each message type, and then uses the service component (Open API 'notification') provided by the connection management device 200 as described above. Call the Servlet (Comet Servlet) mounted on (200), and requests to receive a new push message through the called commit servlet.

이에, 접속제어부(230)는 클라이언트장치(100)로부터의 푸쉬메시지 수신 요청을 처리한다.Thus, the connection controller 230 processes the push message reception request from the client device 100.

보다 구체적으로, 접속제어부(230)는 클라이언트장치(100)로부터 호출된 커밋 서블릿을 통해 수신되는 클라이언트장치(100)의 세션식별정보가 전술한 세션 풀에 저장되어 있는지를 확인한다.More specifically, the connection controller 230 checks whether the session identification information of the client device 100 received through the commit servlet called from the client device 100 is stored in the aforementioned session pool.

아울러, 접속제어부(230)는 세션식별정보가 세션 풀에 저장되어 있는 것으로 확인되는 경우, 클라이언트장치(100)로부터 수신된 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 포함하는 커밋이벤트를 세션 풀에 저장하고, 클라이언트장치(100)로부터 호출된 커밋 서블릿을 종료하게 된다.In addition, when it is determined that the session identification information is stored in the session pool, the access controller 230 sessions a commit event including a response message (HTTP Response) to the push message reception request received from the client device 100. It saves in the pool and terminates the commit servlet called from the client device 100.

이때, 접속제어부(230)는 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 새롭게 저장하여 이후에 서비스장치(300)로부터 수신되는 푸쉬메시지를 상기 응답메시지를 통해 전달할 수 있도록 하며, 이러한 동작은 서비스장치(300)에 대한 클라이언트장치(100)의 서비스 접속이 종료되는 시점까지 반복 수행하게 된다.In this case, the access controller 230 may store a new response (HTTP Response) to the push message reception request to transmit a push message received from the service device 300 through the response message. Is repeatedly performed until the service connection of the client device 100 to the service device 300 is terminated.

한편, 접속제어부(230)는 푸쉬메시지를 기 수신한 클라이언트장치(100)로부터 설정시간이 경과하도록 푸쉬메시지 수신이 요청되지 않는 경우, 클라이언트연동부(210)를 통해 클라이언트장치(100)에 접속 확인을 위한 메시지를 전송하고, 전송된 메시지에 대한 응답이 클라이언트장치(100)로부터 수신되지 않을 경우, 클라이언트장치(100)와의 접속이 해제된 것으로 간주하여 세션 풀에 저장된 클라이언트장치(100)와 관련한 정보를 모두 삭제하여 세션 풀의 성능과 정보관리의 효율을 높일 수 있도록 한다.On the other hand, the connection controller 230 checks the connection to the client device 100 through the client interlocking unit 210, if the push message reception is not requested to elapse the set time from the client device 100 previously received the push message; Information regarding the client device 100 stored in the session pool in consideration of the release of the connection with the client device 100 when the message for transmitting the message and the response to the transmitted message are not received from the client device 100. Delete all of them to improve session pool performance and information management efficiency.

이상에서 살펴본 바와 같이, 본 발명의 일 실시예에 따른 메시지 서비스 시스템에 따르면, 서비스장치(300)로부터 수신되는 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하고, 이후 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우에만 생성된 메시지전달세션을 활성화하여 클라이언트장치(100)로부터 수신된 서비스 요청에 대한 응답메시지로서 상기 푸쉬메시지를 전달함으로써, 서비스장치(300)가 지원하는 연결유지 프로토콜 기반의 접속과 클라이언트장치(300)에 적용된 비연결유지 프로토콜 기반 접속을 하나의 커넥션으로 유지시킴에 따라 원활한 인스턴스 메시지 서비스를 제공할 수 있다.As described above, according to the message service system according to an embodiment of the present invention, a message delivery session for delivering a push message received from the service device 300 to the client device, and then the service device 300 The connection maintenance protocol supported by the service device 300 by activating the generated message transfer session only when a push message is received from the client) and delivering the push message as a response message to the service request received from the client device 100. By maintaining the connection-based and connectionless protocol-based connection applied to the client device 300 as one connection, it is possible to provide a seamless instance message service.

이하에서는 도 3 및 도 4를 참조하여, 본 발명의 일 실시예에 따른 메시지 서비스 방법을 설명하도록 한다. 여기서, 설명의 편의를 위해 전술한 도 1 및 도 2에 도시된 구성은 해당 참조번호를 언급하여 설명하겠다. Hereinafter, a message service method according to an embodiment of the present invention will be described with reference to FIGS. 3 and 4. Here, for convenience of explanation, the configurations shown in FIGS. 1 and 2 will be described with reference to corresponding reference numerals.

우선, 도 3을 참조하여 본 발명의 일 실시예에 따른 메시지 서비스 시스템에서의 동작 흐름을 설명하도록 한다.First, an operation flow in a message service system according to an embodiment of the present invention will be described with reference to FIG. 3.

먼저, 클라이언트장치(100)가 인스턴스 메시지 서비스와 관련된 어플리케이션의 실행에 따라 서비스 접속을 위한 서비스 요청(HTTP Request)을 접속관리장치(200)에 전달하여 서비스장치(300)에 대한 접속을 요청하게 된다(S110-S120).First, the client device 100 transmits a service request (HTTP Request) for a service connection to the connection management apparatus 200 according to the execution of an application related to the instance message service, and requests a connection to the service apparatus 300. (S110-S120).

이에, 접속관리장치(200)는 클라이언트장치(100)로부터 수신되는 서비스 요청에 포함된 로그인 정보를 확인하고, 확인된 로그인 정보를 서비스장치(300)에 전달함으로써, 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다(S130).Accordingly, the connection management apparatus 200 confirms the login information included in the service request received from the client apparatus 100 and transmits the confirmed login information to the service apparatus 300, whereby the client apparatus 100 provides the service apparatus. Service connection to the 300 (S130).

그리고 나서, 접속관리장치(200)는 서비스장치(300)로부터 클라이언트장치(100)에 대한 서비스 접속이 완료되었음이 통지되는 경우, 상기 클라이언트장치(100)에 대한 세션식별정보를 발급하여 발급된 세션식별정보에 맵핑된 메시지전달세션을 생성하며, 발급된 세션식별정보를 클라이언트장치(100)에 전달하게 된다(S140-S180).Then, when the connection management device 200 is notified from the service device 300 that the service connection to the client device 100 is completed, the session issued by issuing session identification information for the client device 100 is issued. It generates a message transfer session mapped to the identification information, and transmits the issued session identification information to the client device (100) (S140-S180).

이에, 클라이언트장치(100)는 세션식별정보의 수신에 따라 접속관리장치(200)가 제공하는 서비스컴포넌트(Open API 'notification')를 이용하여 접속관리장치(200)에 탑재된 커밋 서블릿(Comet Servlet)을 호출하고, 이를 통해 푸쉬메시지의 수신을 요청하게 된다(S190).Accordingly, the client device 100 uses a service component (Open API 'notification') provided by the connection management device 200 according to the reception of the session identification information. ), And requests to receive the push message through this (S190).

그런 다음, 접속관리장치(200)는 클라이언트장치(100)로부터 푸쉬메시지 수신 요청이 수신되는 경우, 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 저장한다(S200).Then, when the push message receiving request is received from the client device 100, the access management device 200 stores a response message (HTTP Response) for the push message receiving request (S200).

나아가, 서비스장치(300)는 서비스 접속 중인 클라이언트장치(100)에 대한 푸쉬메시지가 존재하는 경우, 이를 접속관리장치(200)에 전송하게 된다(S210).Further, if there is a push message for the client device 100 that is accessing the service, the service device 300 transmits it to the access management device 200 (S210).

이에, 접속관리장치(200)는 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우, 클라이언트장치(100)에 대해 생성된 메시지전달세션을 활성화하여 클라이언트장치(100)로부터 수신된 푸쉬메시지 수신 요청에 대응하여 저장된 응답메시지를 통해 푸쉬메시지를 클라이언트장치(100)에 전달한다(S220).Accordingly, when the push message is received from the service device 300, the access management device 200 activates the message transfer session generated for the client device 100 to respond to the push message reception request received from the client device 100. Correspondingly, the push message is transmitted to the client device 100 through the stored response message (S220).

이와 관련하여, 클라이언트장치(100)는 클라이언트장치(100)는 수신된 푸쉬메시지를 메시지 타입별로 처리한 후, 전술한 바와 같이 새로운 푸쉬메시지의 수신을 접속관리장치(200)에 요청하게 된다(S230).In this regard, the client device 100 processes the received push message for each message type, and then requests the connection management device 200 to receive a new push message as described above (S230). ).

이후, 접속관리장치(200)는 클라이언트장치(100)로부터 푸쉬메시지 수신 요청이 수신되는 경우, 해당 요청에 포함된 세션식별정보가 세션 풀에 저장된 정보와 일치하는 것을 확인하여 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 새롭게 저장하게 된다(S240).Then, when the push message receiving request is received from the client device 100, the access management device 200 confirms that the session identification information included in the request matches the information stored in the session pool to the push message receiving request. The response message (HTTP Response) is newly stored (S240).

이하에서는 도 4를 참조하여 본 발명의 일 실시예에 따른 클라이언트장치(200)의 동작을 구체적으로 설명하도록 한다.Hereinafter, an operation of the client apparatus 200 according to an embodiment of the present invention will be described in detail with reference to FIG. 4.

먼저, 접속제어부(230)는 클라이언트연동부(210)를 통해 클라이언트장치(100)로부터 서비스 접속을 위한 서비스 요청(HTTP Request)이 수신되는 경우, 수신되는 서비스 요청에 포함된 로그인 정보를 확인하고, 확인된 로그인 정보를 서비스장치연동부(220)를 통해 서비스장치(300)에 전달함으로써, 클라이언트장치(100)가 서비스장치(300)에 서비스 접속되도록 한다(S310-S320).First, when a service request (HTTP Request) for accessing a service is received from the client device 100 through the client interlocking unit 210, the connection controller 230 checks login information included in the received service request. By transmitting the confirmed login information to the service device 300 through the service device interlocking unit 220, the client device 100 is connected to the service device 300 for service connection (S310-S320).

그리고 나서, 접속제어부(230)는 서비스장치연동부(220)를 통해 서비스장치(300)로부터 클라이언트장치(100)에 대한 서비스 접속이 완료되었음이 통지되는 경우, 상기 클라이언트장치(100)에 대한 세션식별정보를 발급하여 발급된 세션식별정보에 맵핑된 메시지전달세션을 생성하며, 발급된 세션식별정보를 클라이언트연동부(210)를 통해 클라이언트장치(100)에 전달하게 된다(S330-S350).Then, when the connection controller 230 is notified through the service device interworking unit 220 that the service connection to the client device 100 is completed, the session with the client device 100 is received. Issuing identification information generates a message transfer session mapped to the issued session identification information, and transmits the issued session identification information to the client device 100 through the client interlocking unit 210 (S330-S350).

이때, 접속제어부(230)는 발급된 세션식별정보와 이에 맵핑되어 생성된 메시지전달세션을 세션 풀(Pool)에 저장하여 이를 비연결유지 프로토콜과 연결유지 프로토콜을 하나의 커넥션으로 연결하기 위한 정보로서 활용하게 된다.At this time, the connection control unit 230 stores the issued session identification information and the message transfer session generated by mapping to the session pool as information for connecting the connectionless maintenance protocol and the connection maintenance protocol as one connection. Will be utilized.

그런 다음, 접속제어부(230)는 세션식별정보를 수신한 클라이언트장치(100)로부터 호출된 커밋 서블릿을 통해 푸쉬메시지 수신 요청이 수신되는 경우, 클라이언트장치(100)로부터 수신된 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 포함하는 커밋이벤트를 세션 풀에 저장하고, 클라이언트장치(100)로부터 호출된 커밋 서블릿을 종료하게 된다(S370).Then, the connection controller 230 receives a push message reception request from the client device 100 when the push message reception request is received through the commit servlet called from the client device 100 that has received the session identification information. The commit event including the response message (HTTP Response) is stored in the session pool, and the commit servlet called from the client device 100 is terminated (S370).

나아가, 접속제어부(230)는 서비스장치연동부(220)를 통해 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우, 이를 클라이언트장치(100)에 대한 푸쉬메시지큐(Push Message Queue)에 저장하고, 상기 푸쉬메시지큐 저장된 가장 최신의 메시지를 추출하여 이를 세션 풀에 저장된 클라이언트장치(100)의 커밋이벤트에 포함된 응답메시지(Http Response)로서 클라이언트장치(100)에 전달하게 된다(S380-S390).Furthermore, when the push message is received from the service device 300 through the service device interlocking unit 220, the connection controller 230 stores the push message in a push message queue for the client device 100. The most recent message stored in the push message queue is extracted and transmitted to the client device 100 as a response message (Http Response) included in a commit event of the client device 100 stored in the session pool (S380-S390).

이와 관련하여, 클라이언트장치(100)는 수신된 푸쉬메시지를 메시지 타입별로 처리한 후, 전술한 바와 같이 접속관리장치(200)가 제공하는 서비스컴포넌트(Open API 'notification')를 이용하여 접속관리장치(200)에 탑재된 커밋 서블릿(Comet Servlet)을 호출하고, 호출된 커밋 서블릿을 통해 새로운 푸쉬메시지의 수신을 요청하게 된다.In this regard, the client device 100 processes the received push message for each message type, and then uses the service component (Open API 'notification') provided by the connection management device 200 as described above. Call the Servlet (Comet Servlet) mounted on (200), and requests to receive a new push message through the called commit servlet.

이후, 접속제어부(230)는 클라이언트장치(100)로부터의 푸쉬메시지 수신 요청이 새롭게 수신되는 경우, 상기 푸쉬메시지 수신 요청에 대한 응답메시지(HTTP Response)를 다시 저장하여 이후에 서비스장치(300)로부터 수신되는 푸쉬메시지를 상기 응답메시지를 통해 전달할 수 있도록 하며, 이러한 동작은 서비스장치(300)에 대한 클라이언트장치(100)의 서비스 접속이 종료되는 시점까지 반복 수행하게 된다(S400).Subsequently, when the push message reception request from the client device 100 is newly received, the access controller 230 stores the response message (HTTP Response) for the push message reception request again, and thereafter, from the service device 300. The received push message may be transmitted through the response message, and this operation is repeatedly performed until the service connection of the client device 100 to the service device 300 is terminated (S400).

이상에서 살펴본 바와 같이, 본 발명의 일 실시예에 따른 메시지 서비스 시Q방법에 따르면, 서비스장치(300)로부터 수신되는 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하고, 이후 서비스장치(300)로부터 푸쉬메시지가 수신되는 경우에만 생성된 메시지전달세션을 활성화하여 클라이언트장치(100)로부터 수신된 서비스 요청에 대한 응답메시지로서 상기 푸쉬메시지를 전달함으로써, 서비스장치(300)가 지원하는 연결유지 프로토콜 기반의 접속과 클라이언트장치(300)에 적용된 비연결유지 프로토콜 기반 접속을 하나의 커넥션으로 유지시킴에 따라 원활한 인스턴스 메시지 서비스를 제공할 수 있다.As described above, according to the message service request method according to an embodiment of the present invention, a message delivery session for delivering a push message received from the service device 300 to the client device, and then the service device A connection supported by the service device 300 is supported by activating the generated message transfer session only when a push message is received from the 300 to deliver the push message as a response message to the service request received from the client device 100. By maintaining the connection based on the maintenance protocol and the connectionless protocol based connection applied to the client device 300 as a single connection can provide a smooth instance message service.

한편, 여기에 제시된 실시예들과 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 프로세서에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다.  소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터들, 하드 디스크, 이동식 디스크, CD-ROM, 또는 기술적으로 공지된 임의의 다른 형태의 저장 매체에 상주할 수 있다.  예시적인 저장 매체는 프로세서와 연결되며, 그 결과 프로세서는 저장 매체로부터 정보를 판독하고 저장 매체로 정보를 기록할 수 있다.  대안적으로, 저장 매체는 프로세서로 통합될 수 있다.  프로세서 및 저장 매체는 ASIC 내에 포함될 수 있다.  ASIC은 사용자클라이언트장치 내에 포함될 수 있다.  대안적으로, 프로세서 및 저장 매체는 사용자클라이언트장치 내에 개별적인 컴포넌트들로서 포함될 수 있다.Meanwhile, the steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of both. A software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Alternatively, the storage medium may be integrated into the processor. The processor and the storage medium may be included within an ASIC. The ASIC may be included in the user client device. In the alternative, the processor and the storage medium may reside as discrete components in a user-client device.

지금까지 본 발명을 바람직한 실시 예를 참조하여 상세히 설명하였지만, 본 발명이 상기한 실시 예에 한정되는 것은 아니며, 이하의 특허청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 또는 수정이 가능한 범위까지 본 발명의 기술적 사상이 미친다 할 것이다.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, but, on the contrary, It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

본 발명에 따른 메시지 서비스 시스템 및 그 방법, 그리고 이에 적용되는 장치 및 그 동작 방법에 따르면, 인스턴스 메시지 서비스 환경에서 서비스장치가 지원하는 접속 프로토콜과 클라이언트장치에 적용된 접속 프로토콜이 상이한 경우에 이를 하나의 커넥션으로 유지시킨다는 점에서, 기존 기술의 한계를 뛰어 넘음에 따라 관련 기술에 대한 이용만이 아닌 적용되는 장치의 시판 또는 영업의 가능성이 충분할 뿐만 아니라 현실적으로 명백하게 실시할 수 있는 정도이므로 산업상 이용가능성이 있는 발명이다.According to the message service system and its method, and the apparatus and its operation method according to the present invention, when the connection protocol supported by the service device is different from the connection protocol applied to the client device in the instant message service environment, it is connected to one connection. In this regard, the potential for commercial or commercial application of the applied device is not only sufficient for the use of the related technology as well as the use of the related technology as it exceeds the limitations of the existing technology, and thus it is practically clearly implemented. Invention.

100: 클라이언트장치
200: 접속관리장치
210: 클라이언트연동부 220: 서비스장치연동부
230: 접속제어부
300: 서비스장치
100: client device
200: access management device
210: client interlocking unit 220: service device interlocking unit
230: connection control section
300: service device

Claims (10)

비연결유지 프로토콜 기반의 서비스 요청에 따라 생성된 메시지전달세션을 통해 푸쉬메시지를 수신하는 클라이언트장치;
상기 클라이언트장치를 대상으로 한 연결유지 프로토콜 기반의 상기 푸쉬메시지를 전송하는 서비스장치; 및
상기 서비스장치로부터 수신되는 상기 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 상기 메시지전달세션을 생성하며, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 접속관리장치를 포함하는 것을 특징으로 하는 메시지 서비스 시스템.
A client device configured to receive a push message through a message delivery session generated according to a service request based on a connectionless maintenance protocol;
A service device for transmitting the push message based on a connection maintenance protocol targeted to the client device; And
Generate the message delivery session for delivering the push message received from the service device to the client device, and activate the message delivery session only when the push message is received from the service device to provide the push message with the service; Message management system comprising a connection management device for transmitting to the client device as a response message to the request.
비연결유지 프로토콜을 기반으로 클라이언트장치와 연동하여 상기 클라이언트장치로부터의 서비스 요청을 수신하는 클라이언트연동부;
연결유지 프로토콜을 기반으로 서비스장치와 연동하여 상기 서비스장치로부터 푸쉬메시지를 수신하는 서비스장치연동부; 및
상기 서비스장치로부터 수신되는 상기 푸쉬메시지를 상기 클라이언트장치에 전달하기 위한 상기 메시지전달세션을 생성하며, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 접속제어부를 포함하는 것을 특징으로 하는 접속관리장치.
A client interlocking unit receiving a service request from the client device in association with the client device based on the connectionless maintenance protocol;
A service device interlocking unit for receiving a push message from the service device in association with a service device based on a connection maintaining protocol; And
Generate the message delivery session for delivering the push message received from the service device to the client device, and activate the message delivery session only when the push message is received from the service device to provide the push message with the service; And a connection controller for transmitting to the client device as a response message to the request.
제 2 항에 있어서,
상기 접속제어부는,
상기 클라이언트장치로부터의 서비스 접속 요청에 따라 상기 클라이언트장치가 상기 서비스장치에 서비스 접속되도록 하며,
상기 서비스장치로부터 상기 클라이언트장치의 서비스 접속을 확인하여 상기 클라이언트장치에 대한 상기 메시지전달세션을 생성하는 것을 특징으로 하는 접속관리장치.
3. The method of claim 2,
The connection control unit,
In response to a service connection request from the client device, allowing the client device to service connect to the service device;
And confirming the service connection of the client device from the service device to generate the message transfer session for the client device.
제 3 항에 있어서,
상기 접속제어부는,
상기 클라이언트장치로부터 푸쉬메시지 수신을 위한 상기 서비스 요청이 수신되는 경우, 상기 서비스 요청에 대한 응답메시지를 이벤트정보로서 저장하고, 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우, 상기 이벤트정보로서 저장된 응답메시지를 통해 상기 푸쉬메시지를 전달하는 것을 특징으로 하는 접속관리장치.
The method of claim 3, wherein
The connection control unit,
When the service request for receiving the push message is received from the client device, the response message for the service request is stored as event information, and when the push message is received from the service device, the response message stored as the event information. Connection management device, characterized in that for transmitting the push message through.
제 4 항에 있어서,
상기 접속제어부는,
상기 서비스장치에 대한 상기 클라이언트장치의 서비스 접속이 종료되는 시점까지, 상기 푸쉬메시지를 수신한 상기 클라이언트장치로부터 새로운 푸쉬메시지 수신을 위한 상기 서비스 요청을 수신하는 것을 특징으로 하는 접속관리장치.
5. The method of claim 4,
The connection control unit,
And receiving the service request for receiving a new push message from the client device that has received the push message until the service connection of the client device to the service device is terminated.
접속관리장치가 서비스장치로부터 수신되는 푸쉬메시지를 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하는 세션생성단계;
상기 클라이언트장치가 비연결유지 프로토콜 기반의 서비스 요청을 상기 접속관리장치에 전송하는 수신하는 서비스요청수신단계;
상기 서비스장치가 상기 클라이언트장치를 대상으로 한 연결유지 프로토콜 기반의 상기 푸쉬메시지를 상기 접속관리장치에 전송하는 메시지전송단계; 및
상기 접속관리장치가 상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우 상기 메시지전달세션을 활성화하여 상기 서비스 요청에 대한 응답메시지로서 상기 푸쉬메시지를 상기 클라이언트장치에 전달하는 메시지전달단계를 포함하는 것을 특징으로 하는 메시지 서비스 방법.
A session generation step of the connection management apparatus generating a message transfer session for transferring the push message received from the service apparatus to the client apparatus;
A service request reception step of receiving, by the client device, a service request based on a connectionless maintenance protocol to the access management device;
A message transmission step of transmitting, by the service apparatus, the push message based on a connection maintenance protocol targeted to the client apparatus to the access management apparatus; And
And a message transfer step of activating the message transfer session when the connection management device receives the push message from the service device and delivering the push message to the client device as a response message to the service request. Message service method.
서비스장치로부터 수신되는 푸쉬메시지를 클라이언트장치에 전달하기 위한 메시지전달세션을 생성하는 세션생성단계;
클라이언트장치로부터 비연결유지 프로토콜 기반의 서비스 요청을 수신하는 서비스요청수신단계; 및
상기 서비스장치로부터 연결유지 프로토콜 기반의 상기 푸쉬메시지가 수신되는 경우에만 상기 메시지전달세션을 활성화하여 상기 푸쉬메시지를 상기 서비스 요청에 대한 응답메시지로서 상기 클라이언트장치에 전달하는 메시지전달단계를 포함하는 것을 특징으로 하는 접속관리장치의 동작 방법.
Generating a message delivery session for delivering the push message received from the service device to the client device;
A service request reception step of receiving a connection request based on the connectionless protocol from the client device; And
And a message delivery step of activating the message delivery session only when the push message based on the connection maintenance protocol is received from the service device and delivering the push message to the client device as a response message to the service request. Operation method of the connection management device.
제 7 항에 있어서,
상기 세션생성단계는,
상기 클라이언트장치로부터의 서비스 접속 요청에 따라 상기 서비스장치에 상기 클라이언트장치가 서비스 접속되도록 하는 접속유도단계; 및
상기 서비스장치로부터 상기 클라이언트장치의 서비스 접속을 확인하여 상기 클라이언트장치에 대한 상기 메시지전달세션을 생성하는 접속확인단계를 포함하는 것을 특징으로 하는 접속관리장치의 동작 방법.
The method of claim 7, wherein
The session creation step,
A connection inducing step of causing the client device to make a service connection to the service device according to a service connection request from the client device; And
And a connection confirmation step of confirming a service connection of the client device from the service device to generate the message transfer session to the client device.
제 8 항에 있어서,
상기 메시지전달단계는,
상기 클라이언트장치로부터 푸쉬메시지 수신을 위한 상기 서비스 요청이 수신되는 경우, 상기 서비스 요청에 대한 응답메시지를 이벤트정보로서 저장하는 이벤트정보저장단계; 및
상기 서비스장치로부터 상기 푸쉬메시지가 수신되는 경우, 상기 이벤트정보로서 저장된 응답메시지를 통해 상기 푸쉬메시지를 전달하는 응답메시지전송단계를 포함하는 것을 특징으로 하는 접속관리장치의 동작 방법.
The method of claim 8,
The message delivery step,
An event information storing step of storing a response message to the service request as event information when the service request for receiving a push message is received from the client device; And
And when the push message is received from the service device, sending a response message through the response message stored as the event information.
제 9 항에 있어서,
상기 이벤트정보저장단계는,
상기 서비스장치에 대한 상기 클라이언트장치의 서비스 접속이 종료되는 시점까지, 상기 푸쉬메시지를 수신한 상기 클라이언트장치로부터 새로운 푸쉬메시지 수신을 위한 상기 서비스 요청을 수신하여 이에 대한 응답메시지를 상기 이벤트정보로서 저장하는 것을 특징으로 하는 접속관리장치의 동작 방법.



The method of claim 9,
The event information storing step,
Until the service connection of the client device to the service device is terminated, receiving the service request for receiving a new push message from the client device that received the push message and stores a response message as the event information Operation method of the connection management device, characterized in that.



KR1020120088634A 2012-08-13 2012-08-13 System and method for messahe service, and apparatus applied to the same KR101988474B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120088634A KR101988474B1 (en) 2012-08-13 2012-08-13 System and method for messahe service, and apparatus applied to the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120088634A KR101988474B1 (en) 2012-08-13 2012-08-13 System and method for messahe service, and apparatus applied to the same

Publications (2)

Publication Number Publication Date
KR20140022257A true KR20140022257A (en) 2014-02-24
KR101988474B1 KR101988474B1 (en) 2019-06-12

Family

ID=50268288

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120088634A KR101988474B1 (en) 2012-08-13 2012-08-13 System and method for messahe service, and apparatus applied to the same

Country Status (1)

Country Link
KR (1) KR101988474B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200058184A (en) * 2018-11-19 2020-05-27 주식회사 유비펀스튜디오 Method and apparatus for providing communication service based on push

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288298A (en) * 2002-03-27 2003-10-10 Hitachi Ltd Push service information relay device and push service information relay method
KR20040050283A (en) * 2002-12-10 2004-06-16 엘지전자 주식회사 Web-based management system of integration of heterogeneous management protocol
KR20070090714A (en) * 2006-03-03 2007-09-06 삼성전자주식회사 Method and system for transmission of notification message in a mobile broadcast system
KR20100034225A (en) * 2008-09-23 2010-04-01 주식회사 케이티 Method for security service based on internet protocol multimedia subsystem and system for the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288298A (en) * 2002-03-27 2003-10-10 Hitachi Ltd Push service information relay device and push service information relay method
KR20040050283A (en) * 2002-12-10 2004-06-16 엘지전자 주식회사 Web-based management system of integration of heterogeneous management protocol
KR20070090714A (en) * 2006-03-03 2007-09-06 삼성전자주식회사 Method and system for transmission of notification message in a mobile broadcast system
KR20100034225A (en) * 2008-09-23 2010-04-01 주식회사 케이티 Method for security service based on internet protocol multimedia subsystem and system for the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200058184A (en) * 2018-11-19 2020-05-27 주식회사 유비펀스튜디오 Method and apparatus for providing communication service based on push
WO2020105815A1 (en) * 2018-11-19 2020-05-28 주식회사 유비펀스튜디오 Push-based communication service method and device therefor
US11388619B2 (en) 2018-11-19 2022-07-12 Ubifunstudio Co., Ltd. Method and apparatus for providing communication service based on a push

Also Published As

Publication number Publication date
KR101988474B1 (en) 2019-06-12

Similar Documents

Publication Publication Date Title
CN108833521B (en) Message pushing method, device, system, computer equipment and storage medium
CN105208043B (en) Outer net proxy module, Intranet proxy module, data transmission method and system
US9124494B2 (en) Method and apparatus of performing remote management of a managed machine
US10110538B2 (en) Method and apparatus for message transmission
KR101233263B1 (en) System and method for providing push service using feedback information
JP2012525659A5 (en)
CN102893270A (en) Enterprise client-server system and methods of providing web application support through distributed emulation of websocket communications
US10574518B2 (en) Method and apparatus of performing remote management of a managed machine
JP2010522393A5 (en)
CN110971703B (en) Service request method, device, server and storage medium based on connection pool
JP2009521773A5 (en)
WO2013189313A1 (en) Method and device for achieving remote manipulation
CN104052746A (en) Heterogeneous application single sign-on system and method
JP5678184B2 (en) Remote user interface management apparatus and method and system therefor
CA2533543A1 (en) System and method for managing communication for component applications
EP2693691A1 (en) Method and apparatus for initializing gateway in device management system
US20130132487A1 (en) Peer-to-peer connection establishment method and system
KR20140022257A (en) System and method for messahe service, and apparatus applied to the same
WO2018107671A1 (en) Sharing authentication method and system, smart device, and control method
KR102235894B1 (en) Message syncronization method and apparatus for performing the same
KR101389214B1 (en) Remote managing system and method
JP2008526053A (en) System and method for transmitting content from a network device to a target device
EP3188015A1 (en) Requesting and receiving a media stream within a networked system
CA2632484A1 (en) A method and system for establishing a service relationship between a mobile communication device and a mobile data server for connecting to a wireless network
EP2713279A1 (en) Communication network system, communication method and information processing device

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