KR20230135233A - Session management device and its control method - Google Patents

Session management device and its control method Download PDF

Info

Publication number
KR20230135233A
KR20230135233A KR1020220032419A KR20220032419A KR20230135233A KR 20230135233 A KR20230135233 A KR 20230135233A KR 1020220032419 A KR1020220032419 A KR 1020220032419A KR 20220032419 A KR20220032419 A KR 20220032419A KR 20230135233 A KR20230135233 A KR 20230135233A
Authority
KR
South Korea
Prior art keywords
session
server
management device
session management
client terminal
Prior art date
Application number
KR1020220032419A
Other languages
Korean (ko)
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 KR1020220032419A priority Critical patent/KR20230135233A/en
Publication of KR20230135233A publication Critical patent/KR20230135233A/en

Links

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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
    • 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/148Migration or transfer of sessions
    • 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/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Landscapes

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

Abstract

본 발명은, 클라이언트 단말과 서버 간에 수립된 세션을 효율적으로 관리하기 위한 장치 및 그것의 제어 방법에 관한 것이다. 보다 구체적으로 본 발명은, 무선 통신부, 명령어들을 저장하는 메모리, 및 상기 저장된 명령어들을 실행하도록 설정된 프로세서를 포함하고, 상기 프로세서는: 클라이언트 단말과의 커넥션을 위한 제 1 세션과 제 1 서버와의 커넥션을 위한 제 2 세션을 유지하도록 상기 무선 통신부를 제어하고, 상기 제 1 및 제 2 세션을 통하여 상기 클라이언트 단말과 상기 제 1 서버 간에 중계를 수행하도록 상기 무선 통신부를 제어하며, 상기 제 1 서버에 장애가 발생할 경우 상기 제 1 서버와의 커넥션을 상기 제 1 서버에서 제 2 서버로 이전시키는, 세션 관리 장치에 관한 것이다.The present invention relates to a device and a control method for efficiently managing a session established between a client terminal and a server. More specifically, the present invention includes a wireless communication unit, a memory storing instructions, and a processor configured to execute the stored instructions, the processor configured to: a first session for connection with a client terminal and a connection with a first server; Control the wireless communication unit to maintain a second session for, control the wireless communication unit to perform relay between the client terminal and the first server through the first and second sessions, and prevent the first server from failing. It relates to a session management device that transfers the connection with the first server from the first server to the second server when an error occurs.

Description

세션 관리 장치 및 그것의 제어 방법{SESSION MANAGEMENT DEVICE AND ITS CONTROL METHOD}Session management device and its control method {SESSION MANAGEMENT DEVICE AND ITS CONTROL METHOD}

본 발명은 세션 관리 기술에 관한 것으로, 보다 구체적으로는 서버의 장애 발생 여부를 모니터링하고, 장애에 대비하여 세션을 효과적으로 관리하기 위한 세션 관리 장치 및 그것의 제어 방법에 관한 것이다.The present invention relates to session management technology, and more specifically, to a session management device and its control method for monitoring whether a server failure occurs and effectively managing sessions in preparation for failure.

클라이언트 단말이 서버에 접속하여 게임이나 메신저 서비스를 제공 받기 위해서는, 클라이언트 단말과 서버 간에 지속 가능한 세션 연결이 유지되어야 한다. 이렇게 지속 가능한 세션 연결은 일회적인 데이터를 주고 받는 세션 연결과는 다르며, 지속적으로 데이터를 주고 받는 것을 전제로 하기 때문에 클라이언트 단말과 서버 간에 커넥션(connection)이 계속 유지된다.In order for a client terminal to connect to a server and receive a game or messenger service, a sustainable session connection must be maintained between the client terminal and the server. This sustainable session connection is different from a session connection where one-time data is exchanged, and because it is premised on continuous data exchange, the connection between the client terminal and the server is continuously maintained.

서버에서 장애 발생 시, 해당 서버와의 커넥션은 끊어지게 된다. 클라이언트 단말은 커넥션이 끊어지면 이를 감지하고, 장애가 발생한 서버나 다른 서버에 재연결을 반복적으로 수행하게 된다. 재연결을 수행하는 클라이언트 단말의 수가 많아지면, 다른 서버에 순간적으로 몰리는 재접속 트래픽의 과부하로 인해 전면 장애로 번지게 되는 문제점이 존재한다.When a failure occurs in a server, the connection with that server is disconnected. The client terminal detects when the connection is lost and repeatedly reconnects to the failed server or another server. If the number of client terminals performing reconnection increases, there is a problem that the overload of reconnection traffic instantaneously flowing to other servers can spread to a full-scale failure.

따라서, 서버의 장애 발생 시 문제가 발생한 세션을 효과적으로 관리하기 위한 기술이 요구되는 실정이다.Therefore, there is a need for technology to effectively manage problematic sessions when a server failure occurs.

본 발명이 해결하고자 하는 과제는 유저와 서비스 서버 사이에 위치하여 서버측의 배포 또는 장애로 인한 네트워크 단절을 클라이언트 단말이 인지하지 않도록 하는 세션 관리 장치를을 제공하는 것이다.The problem to be solved by the present invention is to provide a session management device that is located between the user and the service server and prevents the client terminal from recognizing network disconnection due to distribution or failure on the server side.

본 발명이 해결하고자 하는 다른 과제는 정상 서비스 중인 다른 서버로 연결을 포워딩하여 유저의 사용성을 개선하고, 재접속 트래픽 유발을 차단하여 전면 장애로 번지지 않도록 제어하는 세션 관리 장치를 제공하는 것이다.Another problem to be solved by the present invention is to provide a session management device that improves user usability by forwarding connections to other servers in normal service and blocks reconnection traffic to prevent it from spreading to a full-scale failure.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the description below. You will be able to.

상기 또는 다른 과제를 해결하기 위해 본 발명의 일 측면에 따르면, 무선 통신부; 명령어들을 저장하는 메모리; 및 상기 저장된 명령어들을 실행하도록 설정된 프로세서를 포함하고, 상기 프로세서는: 클라이언트 단말과의 커넥션을 위한 제 1 세션과 제 1 서버와의 커넥션을 위한 제 2 세션을 유지하도록 상기 무선 통신부를 제어하고, 상기 제 1 및 제 2 세션을 통하여 상기 클라이언트 단말과 상기 제 1 서버 간에 중계를 수행하도록 상기 무선 통신부를 제어하며, 상기 제 1 서버에 장애가 발생할 경우 상기 제 1 서버와의 커넥션을 상기 제 1 서버에서 제 2 서버로 이전시키는, 세션 관리 장치를 제공한다.According to one aspect of the present invention to solve the above or other problems, a wireless communication unit; Memory for storing instructions; and a processor configured to execute the stored instructions, wherein the processor: controls the wireless communication unit to maintain a first session for a connection with a client terminal and a second session for a connection with a first server, and The wireless communication unit is controlled to relay between the client terminal and the first server through first and second sessions, and when a failure occurs in the first server, the first server establishes a connection with the first server. 2 Provides a session management device that transfers to the server.

상기 제 1 및 제 2 서버는, 소정 서비스를 제공하기 위하여 구비된 서버이고,The first and second servers are servers provided to provide certain services,

상기 소정 서비스를 제공하기 위하여 상기 클라이언트 단말에게 로그인 정보를 요구할 수 있다.In order to provide the predetermined service, login information may be requested from the client terminal.

상기 중계 대상 클라이언트 단말이 복수 개이고, 상기 복수 개의 클라이언트 단말 각각에 대해서 상기 제 1 서버와의 커넥션이 유지되던 중 장애가 발생하는 경우, 상기 프로세서는 상기 복수 개의 제 1 서버와의 커넥션을 순차적으로 상기 제 2 서버로 이전시킬 수 있다.If there are a plurality of client terminals to be relayed, and a failure occurs while a connection with the first server is maintained for each of the plurality of client terminals, the processor sequentially connects the plurality of client terminals to the first server. 2 Can be transferred to server.

상기 프로세서가 상기 제 1 서버와의 커넥션을 이전시키는데 있어서, 상기 장애가 발생하는 경우, 상기 제 2 서버와 제 3 세션을 수립하고, 상기 제 2 세션을 상기 제 3 세션으로 대체하는 방식으로 이전을 수행할 수 있다.When the processor transfers the connection with the first server, if the failure occurs, the processor establishes a third session with the second server and performs the transfer by replacing the second session with the third session. can do.

상기 프로세서는, 상기 제 1 및 제 3 세션을 통하여 상기 중계를 이어서 연속적으로 수행할 수 있다.The processor may continuously perform the relay through the first and third sessions.

상기 메모리는, 상기 클라이언트 단말의 로그인 정보를 더 저장하고, 상기 프로세서는 상기 제 3 세션을 수립하는데 있어서, 상기 제 2 세션을 이전할 때 상기 저장된 로그인 정보를 이용하여 상기 제 2 서버에 자동으로 로그인을 수행할 수 있다.The memory further stores login information of the client terminal, and the processor automatically logs in to the second server using the stored login information when transferring the second session in establishing the third session. can be performed.

상기 또는 다른 과제를 해결하기 위해 본 발명의 다른 측면에 따르면, 클라이언트 단말과의 커넥션을 위한 제 1 세션과 제 1 서버와의 커넥션을 위한 제 2 세션을 유지하도록 상기 무선 통신부를 제어하는 단계; 상기 제 1 및 제 2 세션을 통하여 상기 클라이언트 단말과 상기 제 1 서버 간에 중계를 수행하도록 상기 무선 통신부를 제어하는 단계; 및 상기 제 1 서버에 장애가 발생할 경우 상기 제 1 서버와의 커넥션을 상기 제 1 서버에서 제 2 서버로 이전시키는 단계를 포함하는, 세션 관리 장치의 제어 방법를 제공한다.According to another aspect of the present invention to solve the above or other problems, controlling the wireless communication unit to maintain a first session for a connection with a client terminal and a second session for a connection with a first server; Controlling the wireless communication unit to perform relay between the client terminal and the first server through the first and second sessions; and transferring a connection with the first server from the first server to a second server when a failure occurs in the first server.

상기 제 1 및 제 2 서버는, 소정 서비스를 제공하기 위하여 구비된 서버이고, 상기 소정 서비스를 제공하기 위하여 상기 클라이언트 단말에게 로그인 정보를 요구할 수 있다.The first and second servers are servers equipped to provide a predetermined service, and may request login information from the client terminal to provide the predetermined service.

상기 이전시키는 단계는, 상기 중계 대상 클라이언트 단말이 복수 개이고, 상기 복수 개의 클라이언트 단말 각각에 대해서 상기 제 1 서버와의 커넥션이 유지되던 중 장애가 발생하는 경우, 상기 프로세서는 상기 복수 개의 제 1 서버와의 커넥션을 순차적으로 상기 제 2 서버로 이전시킬 수 있다.In the transferring step, if there are a plurality of relay target client terminals and a failure occurs while a connection with the first server is maintained for each of the plurality of client terminals, the processor connects the plurality of client terminals to the plurality of first servers. The connection can be sequentially transferred to the second server.

상기 이전시키는 단계는, 상기 장애가 발생하는 경우, 상기 제 2 서버와 제 3 세션을 수립하는 단계; 및 상기 제 2 세션을 상기 제 3 세션으로 대체하는 방식으로 이전을 수행하는 단계를 포함할 수 있다.The transferring step may include establishing a third session with the second server when the failure occurs; and performing transfer by replacing the second session with the third session.

상기 중계하는 단계는, 상기 제 1 및 제 3 세션을 통하여 상기 중계를 이어서 연속적으로 수행할 수 있다.The relaying step may be performed continuously through the first and third sessions.

상기 메모리에 상기 클라이언트 단말의 로그인 정보를 더 저장하는 단계를 더 포함하고, 상기 제 3 세션을 수립하는 단계는, 상기 제 2 세션을 이전할 때 상기 저장된 로그인 정보를 이용하여 상기 제 2 서버에 자동으로 로그인을 수행할 수 있다.Further comprising the step of further storing the login information of the client terminal in the memory, and the step of establishing the third session includes automatically sending the information to the second server using the stored login information when transferring the second session. You can log in with .

본 발명에 따른 세션 관리 장치의 효과에 대해 설명하면 다음과 같다.The effects of the session management device according to the present invention will be described as follows.

본 발명의 실시 예들 중 적어도 하나에 의하면, 서버측의 배포 또는 장애로 인한 네트워크 단절을 클라이언트 단말이 인지할 수 없다는 장점이 있다.According to at least one of the embodiments of the present invention, there is an advantage that the client terminal cannot recognize network disconnection due to distribution or failure on the server side.

또한, 본 발명의 실시 예들 중 적어도 하나에 의하면, 정상 서비스 중인 다른 서버로 연결을 포워딩하여 유저의 사용성을 개선하고, 재접속 트래픽 유발을 차단하여 전면 장애로 번지지 않도록 할 수 있다는 장점이 있다.In addition, according to at least one of the embodiments of the present invention, there is an advantage of improving user usability by forwarding the connection to another server in normal service and preventing reconnection traffic from causing a full-scale failure.

본 발명의 적용 가능성의 추가적인 범위는 이하의 상세한 설명으로부터 명백해질 것이다. 그러나 본 발명의 사상 및 범위 내에서 다양한 변경 및 수정은 당업자에게 명확하게 이해될 수 있으므로, 상세한 설명 및 본 발명의 바람직한 실시 예와 같은 특정 실시 예는 단지 예시로 주어진 것으로 이해되어야 한다.Further scope of applicability of the present invention will become apparent from the detailed description that follows. However, since various changes and modifications within the spirit and scope of the present invention may be clearly understood by those skilled in the art, the detailed description and specific embodiments such as preferred embodiments of the present invention should be understood as being given only as examples.

도 1은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 없을 때의 세션 연결을 설명하는 도면이다.
도 2는 본 발명의 일실시예에 따른 세션 관리 장치(100)가 있을 때의 세션 연결을 설명하는 도면이다.
도 3은 본 발명의 일실시예에 따른 세션 관리 장치(100)에 의해 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1) 간에 세션을 수립하는 제어 순서도를 도시한다.
도 4는 본 발명의 일실시예에 따른 제 1 및 제 2 세션(130-2)과 소켓 간의 관계를 도시하는 도면이다.
도 5는 본 발명의 일실시예에 따른 세션 관리 장치(100)에 의해 연결된 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1) 간의 데이터 송수신 순서도를 도시한다.
도 6은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 기존 연결된 서버의 장애를 모니터링하고, 다른 서버와 새로운 세션 연결을 수립하는 순서도를 도시한다.
도 7은 본 발명의 일실시예에 따른 제 1 내지 제 4 세션(130-1 ~ 130-4)과 소켓 간의 관계를 도시하는 도면이다.
도 8은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 제 1 및 제 2 클라이언트 단말(110-1, 110-2) 각각을 제 1 및 제 2 서버(120-2)에 할당한 상태를 도시한다.
도 9는 본 발명의 일실시예에 따라 세션을 리다이렉팅 시키는 개념도를 도시한다.
도 10은 본 발명의 일 실시예에 따른 세션 관리 장치(100)의 구성을 도시한 도면이다.
Figure 1 is a diagram illustrating a session connection when there is no session management device 100 according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a session connection when there is a session management device 100 according to an embodiment of the present invention.
Figure 3 shows a control flowchart for establishing a session between the first client terminal 110-1 and the first server 120-1 by the session management device 100 according to an embodiment of the present invention.
Figure 4 is a diagram showing the relationship between the first and second sessions 130-2 and sockets according to an embodiment of the present invention.
FIG. 5 shows a flowchart of data transmission and reception between a first client terminal 110-1 and a first server 120-1 connected by the session management device 100 according to an embodiment of the present invention.
Figure 6 shows a flow chart in which the session management device 100 monitors failures in existing connected servers and establishes new session connections with other servers according to an embodiment of the present invention.
Figure 7 is a diagram showing the relationship between the first to fourth sessions 130-1 to 130-4 and sockets according to an embodiment of the present invention.
Figure 8 shows the session management device 100 assigning the first and second client terminals 110-1 and 110-2 to the first and second servers 120-2, respectively, according to an embodiment of the present invention. Shows the state.
Figure 9 shows a conceptual diagram of redirecting a session according to an embodiment of the present invention.
FIG. 10 is a diagram illustrating the configuration of a session management device 100 according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, embodiments disclosed in the present specification will be described in detail with reference to the attached drawings. However, identical or similar components will be assigned the same reference numbers regardless of reference numerals, and duplicate descriptions thereof will be omitted. The suffixes “module” and “part” for components used in the following description are given or used interchangeably only for the ease of preparing the specification, and do not have distinct meanings or roles in themselves. Additionally, in describing the embodiments disclosed in this specification, if it is determined that detailed descriptions of related known technologies may obscure the gist of the embodiments disclosed in this specification, the detailed descriptions will be omitted. In addition, the attached drawings are only for easy understanding of the embodiments disclosed in this specification, and the technical idea disclosed in this specification is not limited by the attached drawings, and all changes included in the spirit and technical scope of the present invention are not limited. , should be understood to include equivalents or substitutes.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms containing ordinal numbers, such as first, second, etc., may be used to describe various components, but the components are not limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is said to be "connected" or "connected" to another component, it is understood that it may be directly connected to or connected to the other component, but that other components may exist in between. It should be. On the other hand, when it is mentioned that a component is “directly connected” or “directly connected” to another component, it should be understood that there are no other components in between.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. Singular expressions include plural expressions unless the context clearly dictates otherwise.

본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In this application, terms such as “comprise” or “have” are intended to designate the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, but are not intended to indicate the presence of one or more other features. It should be understood that this does not exclude in advance the possibility of the existence or addition of elements, numbers, steps, operations, components, parts, or combinations thereof.

도 1은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 없을 때의 세션 연결을 설명하는 도면이다.Figure 1 is a diagram illustrating a session connection when there is no session management device 100 according to an embodiment of the present invention.

도 1에 도시된 시스템(10)을 참고하면, 특정 서비스를 제공하기 위하여 제 1 내지 제 4 서버(120-1 ~ 120-4)가 구비되어 있으며, 특정 서비스를 제공 받기 위한 클라이언트 단말(110-1 ~ 110-4)이 제 1 내지 제 4 서버(120-1 ~ 120-4)에 접속하기 위하여 구비된다.Referring to the system 10 shown in FIG. 1, first to fourth servers 120-1 to 120-4 are provided to provide specific services, and a client terminal 110- to receive specific services. 1 to 110-4) are provided to connect to the first to fourth servers 120-1 to 120-4.

클라이언트 단말(110-1 ~ 110-4)은 특정 서비스를 제공 받기 위하여 서버(120-1 ~ 120-4)와 세션 연결을 수립한다. 이러한 경우 연결되는 세션은, 일회적인 연결이 아닌, 지속적인 데이터의 송수신이 가능한 세션일 것이다. 예를 들어 실시간 스트리밍 서비스, 게임 서비스나 실시간 메시징 서비스 등이 이와 같은 세션을 통하여 제공될 수 있다.The client terminals (110-1 to 110-4) establish a session connection with the servers (120-1 to 120-4) to receive a specific service. In this case, the connected session will not be a one-time connection, but will be a session that allows continuous data transmission and reception. For example, real-time streaming services, game services, or real-time messaging services can be provided through such sessions.

지속적인 데이터의 송수신이 가능하기 위해서는, 소켓 기반 세션이 수립될 수 있으나 본 발명의 실시예들이 반드시 이에 한정되는 것은 아닐 것이다. 소켓 기반 세션이란, 데이터 송수신을 수행하는 주체 각각에 소켓이 생성되고, 생성된 소켓 간에 커넥션을 유지하여 실시간 형태로 데이터를 주고 받을 수 있는 세션을 말한다.In order to enable continuous data transmission and reception, a socket-based session may be established, but embodiments of the present invention are not necessarily limited thereto. A socket-based session refers to a session in which a socket is created for each subject performing data transmission and reception, and a connection is maintained between the created sockets to exchange data in real time.

이하 본 발명에서 사용하는 세션은, 위와 같은 지속적인 데이터 송수신이 가능한 세션을 의미한다.Hereinafter, the session used in the present invention refers to a session capable of continuous data transmission and reception as described above.

세션 관리 장치(100)가 없을 경우, 클라이언트 단말(110-1 ~ 110-4)은 서버(120-1 ~ 120-4)와 직접 연결된다. 즉, 세션(130-1 ~ 130-4)의 연결은 클라이언트 단말(110-1 ~ 110-4)은 서버(120-1 ~ 120-4) 사이에 생성된다.If the session management device 100 is not present, the client terminals 110-1 to 110-4 are directly connected to the servers 120-1 to 120-4. That is, the connection of the sessions 130-1 to 130-4 is created between the client terminals 110-1 to 110-4 and the servers 120-1 to 120-4.

클라이언트 단말(110-1 ~ 110-4)은 서버(120-1 ~ 120-4)에 로그인 정보를 전송하면, 서버(120-1 ~ 120-4)가 올바른 로그인 정보인지 여부를 확인한다. 로그인 정보가 올바른 경우 서버(120-1 ~ 120-4)는 해당 클라이언트 단말(110-1 ~ 110-4)과 세션을 연결을 수립할 수 있다. 예를 들어, 도시된 예시에서 제 1 클라이언트 단말(110-1)이 제 1 서버(120-1)와 세션을 연결하고자 할 때, 로그인 정보의 일예시인 토큰 T1을 제 1 서버(120-1)로 전달하고, 제 1 서버(120-1)는 토큰 T1이 올바른지 여부를 확인한 후 제 1 세션(130-1)을 수립할 수 있다.When the client terminals 110-1 to 110-4 transmit login information to the servers 120-1 to 120-4, the servers 120-1 to 120-4 check whether the login information is correct. If the login information is correct, the server (120-1 to 120-4) can establish a session connection with the corresponding client terminal (110-1 to 110-4). For example, in the illustrated example, when the first client terminal 110-1 wants to connect a session with the first server 120-1, token T1, which is an example of login information, is sent to the first server 120-1. ), and the first server 120-1 can establish the first session 130-1 after checking whether the token T1 is correct.

도시된 도면에서 제 1 및 제 2 클라이언트 단말(110-1, 110-2)은 제 1 서버(120-1)에 연결되어 있다. 즉, 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1) 간에 제 1 세션(130-1)이 수립되어 있고, 제 2 클라이언트 단말(110-2)과 제 1 서버(120-1) 간에 제 2 세션(130-2)이 수립되어 있다.In the drawing, the first and second client terminals 110-1 and 110-2 are connected to the first server 120-1. That is, the first session 130-1 is established between the first client terminal 110-1 and the first server 120-1, and the second client terminal 110-2 and the first server 120-1 1) A second session (130-2) is established.

만약, 제 1 서버(120-1)에 장애가 발생하는 경우, 제 1 및 제 2 클라이언트 단말(110-1, 110-2)은 장애를 감지한다. 그리고, 제 1 및 제 2 클라이언트 단말(110-1, 110-2)은 서비스를 지속하기 위하여 지속적으로 재접속을 시도할 것이다. 이렇게 시도되는 재접속은, 장애가 발생한 제 1 서버(120-1)뿐만 아니라, 제대로 동작 중인 제 2 서버(120-2)로도 시도될 수 있다.If a failure occurs in the first server 120-1, the first and second client terminals 110-1 and 110-2 detect the failure. And, the first and second client terminals 110-1 and 110-2 will continuously attempt to reconnect to continue the service. Reconnection attempted in this way can be attempted not only with the failed first server 120-1 but also with the properly operating second server 120-2.

기존에 제 1 서버(120-1)에 접속 중인 클라이언트 단말의 개수가 많을 경우, 재접속을 시도하는 횟수 역시 많아질 수 밖에 없다. 이때 제 2 서버(120-2)로 재접속 시도가 급격하게 몰릴 경우, 제대로 동작 중이던 제 2 서버(120-2) 역시 장애가 발생할 우려가 높아진다. 왜냐하면, 기존에 제 1 서버(120-1)의 장애 발생 원인이 접속 중인 클라이언트 단말의 개수가 많아서였다면, 그 많은 수의 클라이언트 단말이 전부 제 2 서버(120-2)로 재접속을 시도할 수 있기 때문이다. 즉, 이와 같은 상황이 발생할 경우, 정상적으로 동작하고 있던 서버들 마져 함께 장애가 발생하기 되는, 전면 장애로 번질 위험성이 존재한다.If the number of client terminals currently connected to the first server 120-1 is large, the number of reconnection attempts will inevitably increase. At this time, if reconnection attempts to the second server 120-2 rapidly increase, the risk of failure of the second server 120-2, which was operating properly, also increases. This is because, if the existing cause of failure of the first server (120-1) was due to the large number of client terminals being connected, all of the large number of client terminals may attempt to reconnect to the second server (120-2). Because. In other words, if a situation like this occurs, there is a risk that it will spread to a full-scale failure, with even servers that were operating normally experiencing failures.

이와 같은 문제점을 해결하기 위하여 본 발명의 일실시예에서는, 클라이언트의 지속적인 재접속 문제를 중간에서 중계하기 위한 별도의 세션 관리 장치(100)를 구비하고, 세션 관리 장치(100)를 통하여 전면적으로 재접속 시도가 번지는 현상을 최소화시키도록 제안하는 것이다.In order to solve this problem, in one embodiment of the present invention, a separate session management device 100 is provided to relay the client's continuous reconnection problem in the middle, and a full reconnection attempt is made through the session management device 100. This is a suggestion to minimize the spreading phenomenon.

도 2는 본 발명의 일실시예에 따른 세션 관리 장치(100)가 있을 때의 세션 연결을 설명하는 도면이다.FIG. 2 is a diagram illustrating a session connection when there is a session management device 100 according to an embodiment of the present invention.

마찬가지로, 도 2에 도시된 시스템(10')을 참고하면, 특정 서비스를 제공하기 위하여 제 1 내지 제 4 서버(120-1 ~ 120-4)가 구비되어 있으며, 특정 서비스를 제공 받기 위한 클라이언트 단말(110-1 ~ 110-4)이 제 1 내지 제 4 서버(120-1 ~ 120-4)에 접속하기 위하여 구비된다. 다만, 클라이언트 단말(110-1 ~ 110-4)과 서버(120-1 ~ 120-4) 사이에 적어도 하나의 세션 관리 장치(100)가 구비될 수 있다.Likewise, referring to the system 10' shown in FIG. 2, first to fourth servers 120-1 to 120-4 are provided to provide a specific service, and a client terminal to receive the specific service. (110-1 to 110-4) are provided to connect to the first to fourth servers (120-1 to 120-4). However, at least one session management device 100 may be provided between the client terminals 110-1 to 110-4 and the servers 120-1 to 120-4.

세션 관리 장치(100-1, 100-2)란, 클라이언트 단말(110-1 ~ 110-4)과 서버(120-1 ~ 120-4) 사이에 세션을 중계하기 위한 장치를 말한다.The session management devices 100-1 and 100-2 are devices for relaying sessions between client terminals 110-1 to 110-4 and servers 120-1 to 120-4.

제 1 클라이언트 단말(110-1)이 제 1 서버(120-1)와 연결은, 제 1 클라이언트 단말(110-1)과 제 1 세션 관리 장치(100-1) 사이에 수립된 제 1 세션(130-1) 및 제 1 세션 관리 장치(100-1)와 제 1 서버(120-1) 사이에 수립된 제 2 세션(130-2)의 조합에 의해서 수립될 수 있다.The connection between the first client terminal 110-1 and the first server 120-1 is established between the first client terminal 110-1 and the first session management device 100-1 ( 130-1) and a second session 130-2 established between the first session management device 100-1 and the first server 120-1.

도 3을 참고하여, 세션 수립 과정을 설명한다.Referring to Figure 3, the session establishment process will be described.

도 3은 본 발명의 일실시예에 따른 세션 관리 장치(100)에 의해 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1) 간에 세션을 수립하는 제어 순서도를 도시한다.Figure 3 shows a control flowchart for establishing a session between the first client terminal 110-1 and the first server 120-1 by the session management device 100 according to an embodiment of the present invention.

제 1 클라이언트 단말(110-1)은, 제 1 사용자 소켓을 통하여 제 1 세션 관리 장치(100-1)의 제 1 관리 소켓에게 세션 수립을 요청(S301)한다. 세션 수립 요청은, 제 1 클라이언트 단말(110-1)의 로그인 정보(예를 들면, 토큰 T1)가 포함되어 있을 수 있다. 제 1 세션 관리 장치(100-1)는 수신된 세션 수립 요청을 제 1 서버(120-1)로 전달(S302)한다. 이때 전달되는 세션 수립 요청에도 역시 제 1 클라이언트 단말(110-1)의 로그인 정보가 함께 포함되어 전달될 수 있을 것이다.The first client terminal 110-1 requests session establishment to the first management socket of the first session management device 100-1 through the first user socket (S301). The session establishment request may include login information (eg, token T1) of the first client terminal 110-1. The first session management device 100-1 transmits the received session establishment request to the first server 120-1 (S302). At this time, the session establishment request transmitted may also be transmitted along with the login information of the first client terminal 110-1.

세션 수립 요청을 전달 받은 제 1 서버(120-1)는 로그인 정보에 기초하여 인증(Authentication)을 수행하고, 세션을 등록(Register session)(S303)한다. 이때 등록되는 세션은, 제 1 클라이언트 단말(110-1)과 제 1 세션 관리 장치(100-1) 사이에 형성되는 제 1 세션(130-1) 및 제 1 세션 관리 장치(100-1)와 제 1 서버(120-1) 사이에 형성되는 제 2 세션(130-2)일 수 있다.The first server 120-1 that has received the session establishment request performs authentication based on the login information and registers the session (S303). At this time, the registered session includes the first session 130-1 formed between the first client terminal 110-1 and the first session management device 100-1, and the first session management device 100-1. It may be a second session 130-2 formed between the first server 120-1.

본 발명의 다른 실시예에서 S303 단계에 의해서 등록되는 세션은, 제 1 세션 관리 장치(100-1)와 제 1 서버(120-1) 사이에 형성되는 제 2 세션(130-2)일 수 있다. 그리고, 후술되는 S305 단계에서 제 1 클라이언트 단말(110-1)과 제 1 세션 관리 장치(100-1) 사이에 형성되는 제 1 세션(130-1)이 등록될 수도 있다.In another embodiment of the present invention, the session registered in step S303 may be the second session 130-2 formed between the first session management device 100-1 and the first server 120-1. . Also, the first session 130-1 formed between the first client terminal 110-1 and the first session management device 100-1 may be registered in step S305, which will be described later.

본 발명의 실시예는, 제 1 및 제 2 세션(130-2)의 등록 주체나 순서에 의해서 한정되지 않을 것이다.Embodiments of the present invention will not be limited by the registration subject or order of the first and second sessions 130-2.

도 4는 본 발명의 일실시예에 따른 제 1 및 제 2 세션(130-2)과 소켓 간의 관계를 도시하는 도면이다.Figure 4 is a diagram showing the relationship between the first and second sessions 130-2 and sockets according to an embodiment of the present invention.

제 1 세션(130-1)은 제 1 클라이언트 단말(110-1)의 제 1 사용자 소켓(401-1)과 제 1 세션 관리 장치(100-1)의 제 1 관리자 소켓(402-1) 간에 수립된다. 그리고 제 2 세션(130-2)은 제 1 관리자 소켓(402-1)과 제 1 서버(120-1)의 제 1 서버 소켓(403-1) 간에 수립될 수 있다.The first session 130-1 is between the first user socket 401-1 of the first client terminal 110-1 and the first manager socket 402-1 of the first session management device 100-1. is established. And the second session 130-2 may be established between the first manager socket 402-1 and the first server socket 403-1 of the first server 120-1.

다시 도 3으로 복귀하여, 제 1 서버(120-1)는 세션 수립 결과를 제 1 세션 관리 장치(100-1)에 회신(S304)해 줄 수 있다.Returning to FIG. 3, the first server 120-1 may return the session establishment result to the first session management device 100-1 (S304).

제 1 세션 관리 장치(100-1)는, 회신 받은 세션 수립 결과에 기초하여 세션 맵(Session map)을 등록한다. 세션 맵이란, 세션을 수립하기 위한 소켓에 대한 정보인 소켓 정보와, 세션 수립에 사용된 로그인 정보를 매칭하여 저장한 데이터를 의미한다. 즉, 세션 맵이란 세션 관리 장치(100)가 세션을 관리하기 위하여 필요한 데이터일 것이다. 도 4에 도시된 바와 같이, 세션 맵은 제 1 사용자 소켓(401-1), 제 1 관리자 소켓(402-1) 및 제 1 서버 소켓(403-1)에 의해서 제 1 및 제 2 세션(130-2)이 수립되었다는 정보를 저장할 수 있다.The first session management device 100-1 registers a session map based on the session establishment result received. A session map refers to data stored by matching socket information, which is information about a socket for establishing a session, and login information used to establish a session. In other words, the session map may be data needed for the session management device 100 to manage a session. As shown in FIG. 4, the session map is divided into the first and second sessions 130 by the first user socket 401-1, the first manager socket 402-1, and the first server socket 403-1. -2) Information that has been established can be stored.

아래 표 1은 도 3 및 4의 예시에서의 세션 맵을 나타낸다.Table 1 below shows the session map in the example of Figures 3 and 4.

클라이언트측 세션client side session 서버측 세션server side session 인증정보(토큰)Authentication information (token) 제 1 세션(130-1)1st session (130-1) 제 2 세션(130-2)2nd session (130-2) T1(110-1)T1(110-1)

제 1 세션 관리 장치(100-1)는 제 1 클라이언트 단말(110-1)에게 세션 수립 결과를 전달(S306)해 줄 수 있을 것이다.The first session management device 100-1 may deliver the session establishment result to the first client terminal 110-1 (S306).

이하 도 5를 참고하여, 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1)와의 연결을 보다 구체적으로 설명한다.Hereinafter, with reference to FIG. 5, the connection between the first client terminal 110-1 and the first server 120-1 will be described in more detail.

도 5는 본 발명의 일실시예에 따른 세션 관리 장치(100)에 의해 연결된 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1) 간의 데이터 송수신 순서도를 도시한다.FIG. 5 shows a flowchart of data transmission and reception between a first client terminal 110-1 and a first server 120-1 connected by the session management device 100 according to an embodiment of the present invention.

만약 제 1 클라이언트 단말(110-1)이 제 1 서버(120-1)로 소정 요청(request)를 보내고자 할 때, 제 1 및 제 2 세션(130-2)을 순차적으로 거쳐 보낼 수 있다.If the first client terminal 110-1 wants to send a request to the first server 120-1, the request may be sent sequentially through the first and second sessions 130-2.

먼저 제 1 세션(130-1)을 통하여 제 1 세션 관리 장치(100-1)에 소정 요청을 전송(S501)하면, 제 1 세션 관리 장치(100-1)는 수신 받은 소정 요청을 제 2 세션(130-2)을 통하여 제 1 서버(120-1)로 전달(S502)해 줄 수 있다.First, when a predetermined request is transmitted to the first session management device 100-1 through the first session 130-1 (S501), the first session management device 100-1 sends the received predetermined request to the second session. It can be delivered (S502) to the first server (120-1) through (130-2).

소정 요청을 전달 받은 제 1 서버(120-1)는, 소정 요청에 대응한 동작을 수행(S503)하고 응답을 생성한다. 제 1 서버(120-1)에 의해서 발생한 응답(response) 역시 반대의 방향으로 전달될 수 있다. 제 2 세션(130-2)에 의해서 응답이 제 1 세션 관리 장치(100-1)로 전송(S504)되면, 제 1 세션 관리 장치(100-1)는 해당 응답을 제 1 클라이언트 단말(110-1)에게 전달(S505)해 줄 수 있다.The first server 120-1, which has received the predetermined request, performs an operation corresponding to the predetermined request (S503) and generates a response. The response generated by the first server 120-1 may also be transmitted in the opposite direction. When a response is transmitted to the first session management device 100-1 by the second session 130-2 (S504), the first session management device 100-1 sends the response to the first client terminal 110-1. It can be delivered to 1) (S505).

도 6은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 기존 연결된 서버의 장애를 모니터링하고, 다른 서버와 새로운 세션 연결을 수립하는 순서도를 도시한다.Figure 6 shows a flow chart in which the session management device 100 monitors failures in existing connected servers and establishes new session connections with other servers according to an embodiment of the present invention.

제 1 세션 관리 장치(100-1)는 S601 단계에서 기존에 연결된 제 1 서버(120-1)의 장애 발생을 모니터링한다. 만약, 제 1 서버(120-1)의 장애가 감지되면, 제 1 세션 관리 장치(100-1)는 제 1 서버(120-1)와 수립 중인 제 2 세션(130-2)을 삭제(S602)하고, 다른 새로운 제 2 서버(120-2)를 검색(S603)한다.The first session management device 100-1 monitors the occurrence of a failure in the previously connected first server 120-1 in step S601. If a failure of the first server 120-1 is detected, the first session management device 100-1 deletes the second session 130-2 being established with the first server 120-1 (S602) And, another new second server 120-2 is searched (S603).

새로운 서버로 제 2 서버(120-2)가 검색되면, 제 1 세션 관리 장치(100-1)는 제 2 서버(120-2)로 새로운 세션 수립에 대한 요청을 전송(S604)한다. 이때 새로운 세션 수립에 대한 요청은, 기저장되어 있는 로그인 정보(상술한 토큰 T1)를 포함하고 있을 것이다.When the second server 120-2 is found as a new server, the first session management device 100-1 transmits a request for establishing a new session to the second server 120-2 (S604). At this time, the request for establishing a new session will include pre-stored login information (token T1 described above).

요청을 전송 받은 제 2 서버(120-2)는, 요청에 포함되어 있는 로그인 정보에 기초하여 인증을 수행한 후 새로운 세션을 등록(S605)할 수 있다. 그리고 제 2 서버(120-2)는 세션을 등록한 후 등록 결과를 제 1 세션 관리 장치(100-1)에 회신(S606)해 줄 수 있다. 이렇게 제 2 서버와 수립된 세션을 제 3 세션(130-3)이라고 한다.The second server 120-2 that has received the request may perform authentication based on the login information included in the request and then register a new session (S605). Additionally, the second server 120-2 may register a session and then return the registration result to the first session management device 100-1 (S606). The session established with the second server in this way is called the third session (130-3).

도 7은 본 발명의 일실시예에 따른 제 1 내지 제 4 세션(130-1 ~ 130-4)과 소켓 간의 관계를 도시하는 도면이다.Figure 7 is a diagram showing the relationship between the first to fourth sessions 130-1 to 130-4 and sockets according to an embodiment of the present invention.

제 1 관리자 소켓(402-1)과 제 1 서버(120-1)의 제 1 서버 소켓(403-1) 간에 수립되어 있던 제 2 세션(130-2)은, 제 1 서버(120-1)의 장애로 인하여 더 이상 유지되지 않는다. 따라서, 제 1 세션 관리 장치(100-1)는 제 1 관리자 소켓(402-1)을 삭제하여 제 2 세션(130-2)을 제거할 수 있을 것이다.The second session 130-2 established between the first manager socket 402-1 and the first server socket 403-1 of the first server 120-1 is connected to the first server 120-1. It is no longer maintained due to a disability. Accordingly, the first session management device 100-1 may remove the second session 130-2 by deleting the first manager socket 402-1.

더 나아가 제 3 세션(130-3)을 수립하기 위하여 제 1 세션 관리 장치(100-1)는 제 2 관리자 소켓(402-2)을 생성하고, 제 2 서버(120-2)의 제 2 서버 소켓(403-2)과 제 3 세션(130-3)을 수립할 수 있다. 또한 제 2 관리자 소켓(402-2)은, 기존 제 1 관리자 소켓(402-1)이 유지하던 제 1 세션(130-1)을 전달 받아 제 1 사용자 소켓(401-1)과의 제 1 세션(130-1)을 지속할 수 있다.Furthermore, in order to establish the third session 130-3, the first session management device 100-1 creates a second manager socket 402-2, and the second server of the second server 120-2 A socket 403-2 and a third session 130-3 can be established. In addition, the second manager socket 402-2 receives the first session 130-1 maintained by the existing first manager socket 402-1 and establishes a first session with the first user socket 401-1. (130-1) can be continued.

도 7에서의 관계를 정리해보면, 제 1 세션(130-1)은 제 1 사용자 소켓(401-1)과 제 2 관리자 소켓(402-2) 간에 유지되고, 제 3 세션(130-3)은 제 2 관리자 소켓(402-2)과 제 2 서버(120-2)의 제 2 서버 소켓(403-2) 간에 수립될 수 있다.To summarize the relationship in FIG. 7, the first session 130-1 is maintained between the first user socket 401-1 and the second manager socket 402-2, and the third session 130-3 is maintained between the first user socket 401-1 and the second manager socket 402-2. It may be established between the second manager socket 402-2 and the second server socket 403-2 of the second server 120-2.

다시 도 6으로 복귀하면 제 3 세션(130-3) 수립 결과를 회신 받은 제 1 세션 관리 장치(100-1)는, 수립된 제 3 세션(130-3)을 세션 맵에 등록(S607)할 수 있다. S607 단계에서 세션 맵의 등록은, 제 1 사용자 소켓(401-1), 제 1 관리자 소켓(402-1) 및 제 1 서버 소켓(403-1)에 의해서 제 1 및 제 3 세션(130-3)이 수립되었다는 정보를 저장할 수 있다.Returning to FIG. 6, the first session management device 100-1, which has received a reply of the third session 130-3 establishment result, registers the established third session 130-3 in the session map (S607). You can. In step S607, the session map is registered by registering the first and third sessions 130-3 through the first user socket 401-1, the first manager socket 402-1, and the first server socket 403-1. ) can be stored.

아래 표 2는 도 6 및 7의 예시에서의 세션 맵을 나타낸다.Table 2 below shows the session map in the example of Figures 6 and 7.

클라이언트측 세션client side session 서버측 세션server side session 인증정보(토큰)Authentication information (token) 제 1 세션(130-1)1st session (130-1) 제 3 세션(130-3)3rd session (130-3) T1(110-1)T1(110-1)

도 6 내지 7에 도시된 절차에서 제 2 세션이 삭제(S602)되고, 새로운 서버를 검색(S603)하며, 새로운 세션 수립을 하는 절차(S604 ~ 507)는 클라이언트 단말(110-1 ~ 110-4)에게 통지되지 않을 것이다. 즉, 클라이언트 단말(110-1 ~ 110-4)은 서버와 직접 연결되어 있지 않고 제 1 세션 관리 장치(100-1)와 연결되어 있기 때문에, 제 1 세션 관리 장치(100-1)와 유지되고 있는 제 1 세션(130-1)이 문제 없는 이상 서버(120-1 ~ 120-4)의 장애는 알 수 없는 것이다.In the procedures shown in FIGS. 6 and 7, the second session is deleted (S602), a new server is searched (S603), and a new session is established (S604 to 507) by the client terminals 110-1 to 110-4. ) will not be notified. That is, since the client terminals 110-1 to 110-4 are not directly connected to the server but are connected to the first session management device 100-1, they are maintained with the first session management device 100-1. As long as there is no problem in the first session 130-1, the failure of the servers 120-1 to 120-4 cannot be known.

새롭게 수립된 제 3 세션(130-3)을 통하여, 도 5를 통하여 상술한 요청의 전달 과정(S501, S502) 및 응답의 전달 과정(S504, S505)이 수행될 수 있음은 자명할 것이다.It will be apparent that through the newly established third session 130-3, the request delivery process (S501, S502) and the response delivery process (S504, S505) described above with reference to FIG. 5 can be performed.

한편, 최근 멀티미디어 장치의 종류가 다양해지면서, 단일 사용자가 복수 개의 멀티미디어 장치를 동시에 사용하는 경우가 많아졌다. 예를 들어, 한 사용자가 상대적으로 작은 사이즈로 주머니나 손에 쥐고 휴대할 수 있는 스마트폰과, 상대적으로 큰 사이즈로 가방 등에 넣고 휴대하는 태블릿 PC 등을 들 수 있다.Meanwhile, as the types of multimedia devices have recently become more diverse, there are many cases where a single user uses multiple multimedia devices simultaneously. For example, a smartphone that is relatively small in size and can be carried by a user in a pocket or hand, and a tablet PC that is relatively large in size and can be carried in a bag, etc.

이러한 상황에서 스마트폰과 태블릿 PC가 서로 다른 서버에 연결되어 있을 경우, 스마트폰과 태블릿 PC 간에 주고 받는 데이터에 대해서도 서버 간에 통신이 요구되기 때문에 효율적이지 못하다. 즉, 서버 간 데이터 통신에 대한 비용이 발생한다. 따라서, 동일한 사용자에 대해서는 동일 서버에 연결되는 것이 바람직할 것이다.In this situation, if the smartphone and tablet PC are connected to different servers, it is not efficient because communication between servers is also required for data exchanged between the smartphone and tablet PC. In other words, there is a cost for data communication between servers. Therefore, it would be desirable for the same user to be connected to the same server.

이를 위해서 본 발명에서는, 세션 관리 장치에 의해서 단일 사용자에 대한 세션을 하나의 서버로 집중시키도록 관리할 것을 제안한다. 이를 위한 실시예에 대해서 도 8 및 도 9를 참조하여 설명한다.To this end, the present invention proposes to manage sessions for a single user by concentrating them on one server using a session management device. An embodiment for this will be described with reference to FIGS. 8 and 9.

도 8은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 제 1 및 제 2 클라이언트 단말(110-1, 110-2) 각각을 제 1 및 제 2 서버(120-2)에 할당한 상태를 도시한다.Figure 8 shows the session management device 100 assigning the first and second client terminals 110-1 and 110-2 to the first and second servers 120-2, respectively, according to an embodiment of the present invention. Shows the state.

도시된 도면을 참조하면, 제 1 클라이언트 단말(110-1)은 제 1 및 제 2 세션(130-1, 130-2)을 통하여 제 1 서버(120-1)와 연결된다. 또한 제 2 클라이언트 단말(110-2)은 제 3 및 제 4 세션(130-3, 130-4)을 통하여 제 2 서버(120-2)와 연결된다.Referring to the drawing, the first client terminal 110-1 is connected to the first server 120-1 through the first and second sessions 130-1 and 130-2. Additionally, the second client terminal 110-2 is connected to the second server 120-2 through the third and fourth sessions 130-3 and 130-4.

연결을 수립하는데 있어서, 제 1 클라이언트 단말(110-1)은 세션 관리 장치(100)에 세션 연결 요청을 전송할 때, 자신의 로그인 정보인 제 1 로그인 정보(예를 들어 토큰 T1)를 함께 전송할 수 있다. 마찬가지로 제 2 클라이언트 단말(110-2)은 세션 관리 장치(100)에 세션 연결 요청을 전송할 때, 제 2 로그인 정보(예를 들어 토큰 T2)를 함께 전송할 수 있다.In establishing a connection, when the first client terminal 110-1 transmits a session connection request to the session management device 100, it may also transmit first login information (for example, token T1), which is its own login information. there is. Likewise, when the second client terminal 110-2 transmits a session connection request to the session management device 100, it may also transmit second login information (eg, token T2).

제 1 서버(120-1)는 세션 관리 장치(100)로부터 세션 연결 요청을 전달 받으면, 함께 포함되어 있는 제 1 로그인 정보에 기초하여 인증을 수행한 후, 세션을 등록(제 1 및 제 2 세션)할 수 있을 것이다.When the first server 120-1 receives a session connection request from the session management device 100, it performs authentication based on the first login information included and then registers the session (first and second sessions) ) You will be able to do it.

마찬가지로 제 2 서버(120-2)는 세션 관리 장치(100)로부터 세션 연결 요청을 전달 받으면, 함께 포함되어 있는 제 2 로그인 정보에 기초하여 인증을 수행한 후, 세션을 등록(제 3 및 제 4 세션)할 수 있을 것이다. 더 나아가 제 2 서버(120-2)는 인증 수행 시 제 2 로그인 정보와 동일한 사용자의 세션이 있는지 여부를 확인할 수 있다. 즉, 제 2 서버(120-2)는 토큰 T2에 기초하여, 동일한 사용자의 토큰을 이용하여 수립된 다른 세션이 있는지 여부를 확인할 수 있을 것이다.Likewise, when the second server 120-2 receives a session connection request from the session management device 100, it performs authentication based on the second login information included and then registers the session (third and fourth session). Furthermore, the second server 120-2 may check whether there is a session of a user identical to the second login information when performing authentication. That is, the second server 120-2 will be able to check whether there is another session established using the same user's token based on token T2.

만약 제 1 및 제 2 클라이언트 단말(110-1, 110-2)이 단일 사용자에 의해서 사용되는 단말이라고 한다면, 도시된 바와 같이 서로 다른 서버에 연결되는 것이 바람직하지 못하다.If the first and second client terminals 110-1 and 110-2 are terminals used by a single user, it is not desirable for them to be connected to different servers as shown.

따라서, 동일한 사용자의 토큰을 이용하여 수립된 다른 세션이 있는 것으로 확인되면, 제 2 서버(120-2)는 해당 세션이 수립된 서버로 세션을 리다이렉팅시킨다.Accordingly, if it is confirmed that there is another session established using the same user's token, the second server 120-2 redirects the session to the server where the session was established.

도 9는 본 발명의 일실시예에 따라 세션을 리다이렉팅 시키는 개념도를 도시한다.Figure 9 shows a conceptual diagram of redirecting a session according to an embodiment of the present invention.

제 2 서버(120-2)로부터 리다이렉팅 명령이 수신되면, 세션 관리 장치(100)는 제 2 관리자 소켓(402-2)과 수립되어 있는 제 4 세션(130-4)을 제거시킨다. 그리고 세션 관리 장치(100)는 제 3 관리자 소켓(402-3)을 생성시킨다. 제 3 관리자 소켓(402-3)은 기존 제 2 관리자 소켓(402-2)이 유지하던 제 3 세션(130-3)을 전달 받아 제 2 사용자 소켓(401-1)과의 제 3 세션(130-3)을 지속한다. 그리고, 세션 관리 장치(100)는 제 3 관리자 소켓(402-3)과 제 1 서버 소켓(403-1)을 연결하는 제 5 세션(130-5)을 수립하여, 제 3 및 제 5 세션(130-3, 130-5)을 연결시킨다.When a redirecting command is received from the second server 120-2, the session management device 100 removes the second manager socket 402-2 and the established fourth session 130-4. And the session management device 100 creates a third manager socket 402-3. The third manager socket 402-3 receives the third session 130-3 maintained by the existing second manager socket 402-2 and establishes a third session 130 with the second user socket 401-1. -3) continues. And, the session management device 100 establishes a fifth session 130-5 connecting the third manager socket 402-3 and the first server socket 403-1, and creates the third and fifth sessions ( 130-3, 130-5) are connected.

아래 표 3은 도 9의 예시에서 등록된 세션 맵을 나타낸다.Table 3 below shows the registered session map in the example of FIG. 9.

클라이언트측 세션client side session 서버측 세션server side session 인증정보(토큰)Authentication information (token) 제 1 세션(130-1)1st session (130-1) 제 3 세션(130-3)3rd session (130-3) T1(110-1)T1(110-1) 제 3 세션(130-3)3rd session (130-3) 제 5 세션(130-5)Session 5 (130-5) T2(110-2)T2(110-2)

이와 같이, 제 2 서버(120-2)로 연결되어 있던 제 4 세션(130-4)을 제거시키고, 제 5 세션(130-5)을 통하여 제 1 서버(120-1)로 리다이렉팅할 경우, 서버 간의 데이터 통신에 의해서 불필요한 비용이 발생하는 것을 최소화시킬 수 있을 것이다.In this way, when the fourth session (130-4) connected to the second server (120-2) is removed and redirected to the first server (120-1) through the fifth session (130-5) , it will be possible to minimize unnecessary costs incurred due to data communication between servers.

도 10은 본 발명의 일실시예에 따른 세션 관리 장치(100)가 동일 사용자의 세션을 리다이렉팅하는 순서도를 도시하는 도면이다.FIG. 10 is a diagram illustrating a flowchart of how the session management device 100 redirects a session of the same user according to an embodiment of the present invention.

상술한 바와 같이 제 1 클라이언트 단말(110-1)은 제 1 및 제 2 세션(130-1, 130-2)을 통하여 제 1 서버(120-1)와 연결된다. 먼저 제 1 클라이언트 단말(110-1)이 세션 관리 장치(100)를 통하여 제 1 서버(120-1)와 세션을 수립하는 동작(S1001 ~ S1005)을 설명한다.As described above, the first client terminal 110-1 is connected to the first server 120-1 through the first and second sessions 130-1 and 130-2. First, an operation (S1001 to S1005) in which the first client terminal 110-1 establishes a session with the first server 120-1 through the session management device 100 will be described.

제 1 클라이언트 단말(110-1)은 세션 관리 장치(100)에게 세션 수립 요청(S1001)을 전송한다. 연결을 수립하는데 있어서, 제 1 클라이언트 단말(110-1)은 세션 관리 장치(100)에 세션 연결 요청을 전송(S1001)할 때, 자신의 로그인 정보인 제 1 로그인 정보(예를 들어 토큰 T1)를 함께 전송할 수 있다.The first client terminal 110-1 transmits a session establishment request (S1001) to the session management device 100. In establishing a connection, when the first client terminal 110-1 transmits a session connection request to the session management device 100 (S1001), the first login information (for example, token T1), which is its own login information, is sent to the session management device 100. can be transmitted together.

이어서 세션 관리 장치(100)는, 제 1 서버(120-1)에게 세션 수립 요청을 전달(S1002)한다. 제 1 서버(120-1)는 세션 관리 장치(100)로부터 세션 연결 요청을 전달 받으면, 함께 포함되어 있는 제 1 로그인 정보에 기초하여 인증을 수행한 후, 세션을 등록(S1003 단계)(제 1 및 제 2 세션에 대한 등록)할 수 있을 것이다.Next, the session management device 100 transmits a session establishment request to the first server 120-1 (S1002). When the first server 120-1 receives a session connection request from the session management device 100, the first server 120-1 performs authentication based on the first login information included, and then registers the session (step S1003) (first and register for the second session).

세션을 등록한 후 제 1 서버(120-1)는 세션 관리 장치(100)에게 세션 수립 결과를 회신(S1004)한다. 회신된 결과를 바탕으로 세션 맵을 등록할 수 있음은 상술한 바와 같다. 이어서 세션 관리 장치(100)는, 회신 받은 결과를 제 1 클라이언트 단말(110-1)에게 전달(S1005)해 줄 수 있다.After registering the session, the first server 120-1 returns a session establishment result to the session management device 100 (S1004). As described above, a session map can be registered based on the returned result. Subsequently, the session management device 100 may deliver the response result to the first client terminal 110-1 (S1005).

이어서 제 2 클라이언트 단말(110-2)이 제 2 서버(120-2)와 연결을 시도하는 절차(S1006 ~ S1010)를 설명한다. 이때 제 1 및 제 2 클라이언트 단말(110-1, 110-2)은 동일한 사용자에 의해서 사용되는 단말인 것으로 가정하고, 리다이렉팅의 경우에 대해 설명한다.Next, the procedure (S1006 to S1010) in which the second client terminal 110-2 attempts to connect to the second server 120-2 will be described. At this time, it is assumed that the first and second client terminals 110-1 and 110-2 are terminals used by the same user, and the case of redirecting will be described.

제 2 클라이언트 단말(110-2)은 세션 관리 장치(100)에 세션 수립 요청을 전송(S1006)한다.The second client terminal 110-2 transmits a session establishment request to the session management device 100 (S1006).

마찬가지로 제 2 클라이언트 단말(110-2)은 세션 관리 장치(100)에 세션 연결 요청을 전송할 때, 제 2 로그인 정보(예를 들어 토큰 T2)를 함께 전송할 수 있다.Likewise, when the second client terminal 110-2 transmits a session connection request to the session management device 100, it may also transmit second login information (eg, token T2).

세션 수립 요청을 수신한 세션 관리 장치(100)는, 제 2 서버(120-2)에게 세션 수립 요청을 전달(S1007)한다.The session management device 100, which has received the session establishment request, transmits the session establishment request to the second server 120-2 (S1007).

세션 수립 요청을 전달 받은 제 2 서버(120-2)는, 제 2 로그인 정보를 확인하여 동일한 사용자에 대해서 수립된 다른 세션이 있는지 여부를 확인(S1008)한다. 즉, 도시된 예시에서 제 1 클라이언트 단말(110-1)과 제 1 서버(120-1)를 연결하는 제 1 및 제 2 세션(130-1, 130-2)이 있는지 여부를 판단한다.The second server 120-2, which has received the session establishment request, checks the second login information to determine whether there is another session established for the same user (S1008). That is, in the illustrated example, it is determined whether there are first and second sessions 130-1 and 130-2 connecting the first client terminal 110-1 and the first server 120-1.

만약 동일한 사용자에 대해서 수립된 다른 세션이 존재하는 경우, 제 2 서버(120-2)는 해당 세션으로 연결된 제 1 서버(120-1)로 리다이렉팅(S1009) 시키고, 세션 리다이렉팅 요청을 세션 관리 장치(100)에게 회신(S1010)한다.If there is another session established for the same user, the second server 120-2 redirects the session to the first server 120-1 (S1009) and sends a session redirection request to session management. A reply is sent to the device 100 (S1010).

세션 리다이렉팅 요청을 회신 받은 세션 관리 장치(100)는, 제 1 서버(120-1)에게 세션 리다이렉팅 요청을 전달(S1011)한다. 그리고 제 1 서버(120-1)는 제 2 로그인 정보(토큰 T2)에 기초하여 인증을 수행한 후, 세션을 등록(S1012 단계)할 수 있을 것이다.The session management device 100, which has received a response to the session redirection request, transmits the session redirection request to the first server 120-1 (S1011). And the first server 120-1 may perform authentication based on the second login information (token T2) and then register a session (step S1012).

제 1 서버(120-1)는, 리다이렉팅으로 세션이 등록된 결과를 세션 관리 장치(100)에게 회신해 줄 수 있다.The first server 120-1 may reply to the session management device 100 with a result of session registration through redirection.

이어서 세션 관리 장치(100)는 세션 리다이렉팅 결과 회신을 받으면, 이에 기초하여 세션 맵을 등록(S1014)하고, 제 2 클라이언트 단말(110-2)에게 세션 수립 결과를 전달(S1015)할 수 있을 것이다.Subsequently, when the session management device 100 receives a session redirection result reply, it may register a session map based on this (S1014) and deliver the session establishment result to the second client terminal 110-2 (S1015). .

상술한 실시예에 따르면, 동일한 사용자에 귀속되어 있는 클라이언트 단말들을 하나의 서버로 집중시켜, 서버 간의 데이터 통신 비용을 최소화시킬 수 있다는 장점이 존재한다.According to the above-described embodiment, there is an advantage that data communication costs between servers can be minimized by concentrating client terminals belonging to the same user to one server.

도 11은 본 발명의 일 실시예에 따른 세션 관리 장치(100)의 구성을 도시한 도면이다.FIG. 11 is a diagram illustrating the configuration of a session management device 100 according to an embodiment of the present invention.

도 11을 참조하면, 세션 관리 장치(100)는 프로세서(1101) 및 메모리(1102)를 포함한다.Referring to FIG. 11, the session management device 100 includes a processor 1101 and a memory 1102.

메모리(1102)는 프로세서(1101)에 의해 실행 가능한 하나 이상의 명령어를 저장한다.Memory 1102 stores one or more instructions executable by processor 1101.

프로세서(1101)는 메모리(1102)에 저장된 하나 이상의 명령어를 실행한다. 프로세서(1101)는 명령어를 실행하는 것에 의해 도 1 내지 도 9와 관련하여 위에서 설명된 하나 이상의 동작을 실행할 수 있다.Processor 1101 executes one or more instructions stored in memory 1102. Processor 1101 may perform one or more operations described above with respect to FIGS. 1-9 by executing instructions.

무선 통신부(1103)는 적어도 하나의 클라이언트 단말(110-1 ~ 110-4)과 서버(120-1 ~ 120-4) 간에 데이터를 주고 받는다.The wireless communication unit 1103 exchanges data between at least one client terminal (110-1 to 110-4) and the server (120-1 to 120-4).

이상으로 본 발명에 따른 세션 관리 장치 및 그것의 제어 방법의 실시예를 설시하였으나 이는 적어도 하나의 실시예로서 설명되는 것이며, 이에 의하여 본 발명의 기술적 사상과 그 구성 및 작용이 제한되지는 아니하는 것으로, 본 발명의 기술적 사상의 범위가 도면 또는 도면을 참조한 설명에 의해 한정/제한되지는 아니하는 것이다. 또한 본 발명에서 제시된 발명의 개념과 실시예가 본 발명의 동일 목적을 수행하기 위하여 다른 구조로 수정하거나 설계하기 위한 기초로써 본 발명이 속하는 기술분야의 통상의 지식을 가진 자에 의해 사용되어질 수 있을 것인데, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자에 의한 수정 또는 변경된 등가 구조는 청구범위에서 기술되는 본 발명의 기술적 범위에 구속되는 것으로서, 청구범위에서 기술한 발명의 사상이나 범위를 벗어나지 않는 한도 내에서 다양한 변화, 치환 및 변경이 가능한 것이다.Although the embodiment of the session management device and its control method according to the present invention has been described above, this is explained as at least one embodiment, and the technical idea, structure, and operation of the present invention are not limited thereby. , the scope of the technical idea of the present invention is not limited/limited by the drawings or the description referring to the drawings. In addition, the concept and embodiments of the invention presented in the present invention can be used by those skilled in the art as a basis for modifying or designing other structures to achieve the same purpose of the present invention. , Equivalent structures modified or changed by those skilled in the art to which the present invention pertains are bound to the technical scope of the present invention described in the claims, and do not depart from the spirit or scope of the invention described in the claims. Various changes, substitutions, and changes are possible within limits.

Claims (13)

무선 통신부;
명령어들을 저장하는 메모리; 및
상기 저장된 명령어들을 실행하도록 설정된 프로세서를 포함하고, 상기 프로세서는:
클라이언트 단말과의 커넥션을 위한 제 1 세션과 제 1 서버와의 커넥션을 위한 제 2 세션을 유지하도록 상기 무선 통신부를 제어하고,
상기 제 1 및 제 2 세션을 통하여 상기 클라이언트 단말과 상기 제 1 서버 간에 중계를 수행하도록 상기 무선 통신부를 제어하며,
상기 제 1 서버에 장애가 발생할 경우 상기 제 1 서버와의 커넥션을 제 2 서버로 이전시키는,
세션 관리 장치.
Department of Wireless Communications;
Memory for storing instructions; and
a processor configured to execute the stored instructions, the processor configured to:
Controlling the wireless communication unit to maintain a first session for connection with a client terminal and a second session for connection with a first server,
Controlling the wireless communication unit to perform relay between the client terminal and the first server through the first and second sessions,
Transferring the connection with the first server to the second server when a failure occurs in the first server,
Session management device.
제 1 항에 있어서, 상기 제 1 및 제 2 서버는,
소정 서비스를 제공하기 위하여 구비된 서버이고,
상기 소정 서비스를 제공하기 위하여 상기 클라이언트 단말에게 로그인 정보를 요구하는,
세션 관리 장치.
The method of claim 1, wherein the first and second servers:
It is a server equipped to provide certain services,
Requesting login information from the client terminal to provide the predetermined service,
Session management device.
제 1 항에 있어서,
상기 중계 대상 클라이언트 단말이 복수 개이고, 상기 복수 개의 클라이언트 단말 각각에 대해서 상기 제 1 서버와의 커넥션이 유지되던 중 장애가 발생하는 경우, 상기 프로세서는 상기 복수 개의 제 1 서버와의 커넥션을 순차적으로 상기 제 2 서버로 이전시키는,
세션 관리 장치.
According to claim 1,
If there are a plurality of client terminals to be relayed, and a failure occurs while a connection with the first server is maintained for each of the plurality of client terminals, the processor sequentially connects the plurality of client terminals to the first server. 2 Transfer to server,
Session management device.
제 1 항에 있어서, 상기 프로세서가 상기 제 1 서버와의 커넥션을 이전시키는데 있어서,
상기 제 2 서버와 제 3 세션을 수립하고,
상기 제 2 세션을 상기 제 3 세션으로 대체하는 방식으로 이전을 수행하는,
세션 관리 장치.
The method of claim 1, wherein when the processor transfers a connection with the first server,
Establishing a third session with the second server,
Performing the transfer by replacing the second session with the third session,
Session management device.
제 4 항에 있어서, 상기 프로세서는, 상기 제 1 및 제 3 세션을 통하여 상기 중계를 이어서 연속적으로 수행하는,
세션 관리 장치.
The method of claim 4, wherein the processor continuously performs the relaying through the first and third sessions.
Session management device.
제 5 항에 있어서,
상기 메모리는,
상기 클라이언트 단말의 로그인 정보를 더 저장하고,
상기 프로세서는 상기 제 3 세션을 수립하는데 있어서, 상기 제 2 세션을 이전할 때 상기 저장된 로그인 정보를 이용하여 상기 제 2 서버에 자동으로 로그인을 수행하는,
세션 관리 장치.
According to claim 5,
The memory is,
Further storing the login information of the client terminal,
In establishing the third session, the processor automatically logs in to the second server using the stored login information when transferring the second session.
Session management device.
클라이언트 단말과의 커넥션을 위한 제 1 세션과 제 1 서버와의 커넥션을 위한 제 2 세션을 유지하도록 상기 무선 통신부를 제어하는 단계;
상기 제 1 및 제 2 세션을 통하여 상기 클라이언트 단말과 상기 제 1 서버 간에 중계를 수행하도록 상기 무선 통신부를 제어하는 단계; 및
상기 제 1 서버에 장애가 발생할 경우 상기 제 2 세션을 상기 제 1 서버에서 제 2 서버로 이전시키는 단계를 포함하는,
세션 관리 장치의 제어 방법.
Controlling the wireless communication unit to maintain a first session for a connection with a client terminal and a second session for a connection with a first server;
Controlling the wireless communication unit to perform relay between the client terminal and the first server through the first and second sessions; and
Comprising the step of transferring the second session from the first server to the second server when a failure occurs in the first server,
Control method of session management device.
제 7 항에 있어서, 상기 제 1 및 제 2 서버는,
소정 서비스를 제공하기 위하여 구비된 서버이고,
상기 소정 서비스를 제공하기 위하여 상기 클라이언트 단말에게 로그인 정보를 요구하는,
세션 관리 장치의 제어 방법.
The method of claim 7, wherein the first and second servers:
It is a server equipped to provide certain services,
Requesting login information from the client terminal to provide the predetermined service,
Control method of session management device.
제 7 항에 있어서, 상기 이전시키는 단계는,
상기 중계 대상 클라이언트 단말이 복수 개이고, 상기 복수 개의 클라이언트 단말 각각에 대해서 상기 제 1 서버와의 커넥션이 유지되던 중 장애가 발생하는 경우, 상기 프로세서는 상기 복수 개의 제 1 서버와의 커넥션을 순차적으로 상기 제 2 서버로 이전시키는,
세션 관리 장치의 제어 방법.
The method of claim 7, wherein the transferring step includes:
If there are a plurality of client terminals to be relayed, and a failure occurs while a connection with the first server is maintained for each of the plurality of client terminals, the processor sequentially connects the plurality of client terminals to the first server. 2 Transfer to server,
Control method of session management device.
제 7 항에 있어서, 상기 이전시키는 단계는,
상기 제 2 서버와 제 3 세션을 수립하는 단계; 및
상기 제 2 세션을 상기 제 3 세션으로 대체하는 방식으로 이전을 수행하는 단계를 포함하는,
세션 관리 장치의 제어 방법.
The method of claim 7, wherein the transferring step includes:
establishing a third session with the second server; and
Comprising performing a transfer by replacing the second session with the third session,
Control method of session management device.
제 10 항에 있어서, 상기 중계하는 단계는, 상기 제 1 및 제 3 세션을 통하여 상기 중계를 이어서 연속적으로 수행하는,
세션 관리 장치의 제어 방법.
The method of claim 10, wherein the relaying step continuously performs the relaying through the first and third sessions.
Control method of session management device.
제 11 항에 있어서,
상기 메모리에 상기 클라이언트 단말의 로그인 정보를 더 저장하는 단계를 더 포함하고,
상기 제 3 세션을 수립하는 단계는, 상기 제 2 세션을 이전할 때 상기 저장된 로그인 정보를 이용하여 상기 제 2 서버에 자동으로 로그인을 수행하는,
세션 관리 장치의 제어 방법.
According to claim 11,
Further comprising the step of storing login information of the client terminal in the memory,
The step of establishing the third session includes automatically logging in to the second server using the saved login information when transferring the second session.
Control method of session management device.
하드웨어와 결합되어 제 7 항 내지 제 12 항 중 어느 하나의 항의 방법을 실행시키기 위하여 매체에 저장된 컴퓨터 프로그램.A computer program combined with hardware and stored on a medium to execute the method of any one of claims 7 to 12.
KR1020220032419A 2022-03-16 2022-03-16 Session management device and its control method KR20230135233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220032419A KR20230135233A (en) 2022-03-16 2022-03-16 Session management device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220032419A KR20230135233A (en) 2022-03-16 2022-03-16 Session management device and its control method

Publications (1)

Publication Number Publication Date
KR20230135233A true KR20230135233A (en) 2023-09-25

Family

ID=88190695

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220032419A KR20230135233A (en) 2022-03-16 2022-03-16 Session management device and its control method

Country Status (1)

Country Link
KR (1) KR20230135233A (en)

Similar Documents

Publication Publication Date Title
JP2001356973A (en) Network system
CN107528891B (en) Websocket-based automatic clustering method and system
US20080285436A1 (en) Methods, systems, and computer program products for providing site redundancy in a geo-diverse communications network
US9231907B2 (en) Method for establishing connection between communication apparatuses, communication apparatus, and server apparatus
US8527661B1 (en) Gateway for connecting clients and servers utilizing remote direct memory access controls to separate data path from control path
US11232006B2 (en) Server system
US11647069B2 (en) Secure remote computer network
US9417887B2 (en) Method and apparatus for bootstrapping gateway in device management system
EP3750059B1 (en) Server system
CN104660550A (en) Method for performing session migration among plurality of servers
US20090240813A1 (en) Communication network system of bus network structure and method using the communication network system
JP2006227763A (en) Data sharing system, data sharing method, and program
KR20230135233A (en) Session management device and its control method
CN116048538B (en) Service grid deployment method and device for DPU
KR100670661B1 (en) Communication network system of bus network structure and message rounting method using the system
JP4579850B2 (en) Blade type system and connection management method
US20080120431A1 (en) Communication Network System Of Bus Network Structure And Method For Transmitting And Receiving Data Using The System
KR20120128031A (en) System and method for providing push service
KR101730405B1 (en) Method of managing network route and network entity enabling the method
KR20210044566A (en) System and method for controlling multi-party video call using WebRTC
KR101010911B1 (en) Method for sending and receiving message in message network system
JPS61267859A (en) Decentralized processing system
KR100807818B1 (en) Communication network system of bus network structure and method for transmitting and receiving data between services using the system
KR100807816B1 (en) Communication network system of bus network structure and method using the communication network system
CN107707581A (en) Document handling method and device

Legal Events

Date Code Title Description
E902 Notification of reason for refusal