KR20190138355A - Method and system for automatic load balancing of server channels based on user movement - Google Patents

Method and system for automatic load balancing of server channels based on user movement Download PDF

Info

Publication number
KR20190138355A
KR20190138355A KR1020180064693A KR20180064693A KR20190138355A KR 20190138355 A KR20190138355 A KR 20190138355A KR 1020180064693 A KR1020180064693 A KR 1020180064693A KR 20180064693 A KR20180064693 A KR 20180064693A KR 20190138355 A KR20190138355 A KR 20190138355A
Authority
KR
South Korea
Prior art keywords
server
client
transfer target
load balancing
scheduled
Prior art date
Application number
KR1020180064693A
Other languages
Korean (ko)
Other versions
KR102077061B1 (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 KR1020180064693A priority Critical patent/KR102077061B1/en
Publication of KR20190138355A publication Critical patent/KR20190138355A/en
Application granted granted Critical
Publication of KR102077061B1 publication Critical patent/KR102077061B1/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/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/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • 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/1027Persistence of sessions during load balancing

Abstract

According to an embodiment of the present invention, a load balancing method between servers realized by a computer may comprise the steps of: determining a remaining capacity of a server to which a channel is allocated according to communication with at least one server through a network, and searching for cleanup target servers; connecting a client connected to a termination-scheduled server to a transfer target server based on the termination-scheduled server selected on the cleanup target servers and the transfer target server; and updating information on the termination-scheduled server or the client connected to the termination-scheduled server to the transfer target server according to a connection state shared from the transfer target server to the termination-scheduled server.

Description

유저 이동을 통한 서버 채널의 자동 로드 밸런싱 방법{METHOD AND SYSTEM FOR AUTOMATIC LOAD BALANCING OF SERVER CHANNELS BASED ON USER MOVEMENT}METHOOD AND SYSTEM FOR AUTOMATIC LOAD BALANCING OF SERVER CHANNELS BASED ON USER MOVEMENT}

아래의 설명은 클라이언트-서버(client-server)를 갖는 분산 컴퓨팅 네트워크에 데이터 통신 기술에 것으로, 유저 이동을 통한 서버 채널의 로드 밸런싱 방법에 관한 것이다.The following description relates to a data communication technique in a distributed computing network having a client-server, and relates to a load balancing method of a server channel through user movement.

로드밸런싱(load balancing)은 컴퓨터 네트워크 기술의 일종으로 둘 혹은 셋 이상의 중앙처리장치 혹은 저장장치와 같은 컴퓨터 자원들에게 작업을 나누는 것으로, 로드밸런싱을 통하여 장치의 가용성 및 응답시간을 최적화시킬 수 있다. 한국공개특허 제10-2006-0069646호는 버스형 네트워크 구조의 통신 네트워크 시스템에서 서브 시스템 사이의 로드를 조절하는 방법에 관한 것으로, 더욱 상세하게는 어느 한 프로세스 내에 존재하는 하나 이상의 서비스(service)를 하나의 커넥터(connector)를 통해 메시지 라우팅을 처리하는 브로커(broker)와 연결하고 네트워크상의 모든 브로커를 완전 메시(full mesh) 형태로 상호 연결하는 버스형 네트워크 구조에 있어서, 각 브로커 간 로드 밸런스(load balance)를 적절히 조절하기 위한 방법을 제안하고 있다.Load balancing is a type of computer network technology that divides work among two or more computer resources such as central processing units or storage devices. Through load balancing, device availability and response time can be optimized. Korean Patent Laid-Open Publication No. 10-2006-0069646 relates to a method for adjusting the load between subsystems in a communication network system of a bus-type network structure, and more particularly to one or more services existing in a process. In a bus network structure that connects a broker that handles message routing through a connector and interconnects all brokers in a full mesh form in a mesh, a load balance between each broker It proposes a method to properly adjust the balance.

그러나, 종래의 기술은 서버의 채널에 접속된 클라이언트가 다른 채널 또는 다른 서버로 이동하기 전까지 채널에 할당된 서버를 내리지 못하고 유지해야 한다. 이에 따라 서버의 채널에 하나의 클라이언트만이 남아서 계속 유지하더라도 서버는 온(On) 상태를 유지해야 하고, 클라이언트가 접속을 종료하기를 기다렸다가 서버에 더 이상 유입되지 못하도록 신규 유입을 막은 채로 동시 접속자가 0이 될 때까지 기다려야 한다. However, the prior art must maintain the server assigned to the channel until the client connected to the server's channel moves to another channel or another server. Thus, even if only one client remains on the server's channel and remains there, the server must remain on, waiting for the client to terminate the connection and preventing new inflows from entering the server so that it can no longer enter the server. Wait until zero.

채널이 할당된 어느 하나의 서버에 접속된 클라이언트를 다른 서버의 채널로 이동시킴으로써 서버간 로드밸런스를 효율적으로 관리하는 로드밸런싱 방법을 제공할 수 있다. It is possible to provide a load balancing method for efficiently managing load balancing between servers by moving a client connected to one server to which a channel is allocated to a channel of another server.

컴퓨터로 구현되는 서버 간의 로드밸런싱 방법은, 적어도 하나 이상의 서버와 네트워크를 통한 통신을 수행함에 따라 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색하는 단계; 상기 탐색된 정리대상 서버들에 선정된 종료예정 서버 및 이전대상 서버에 기반하여 상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계; 및 상기 이전대상 서버에서 상기 종료예정 서버로 공유되는 연결 상태에 따라 상기 종료예정 서버 또는 상기 종료예정 서버에 접속된 클라이언트의 정보를 상기 이전대상 서버에 업데이트하는 단계를 포함할 수 있다. A load balancing method between servers implemented by a computer may include: searching for cleanup target servers by determining a remaining capacity of a server to which a channel is allocated according to communication with at least one server through a network; Connecting a client connected to the scheduled termination server to the transfer target server based on the scheduled termination server selected for the searched clearance target servers and a transfer target server; And updating information on the scheduled termination server or a client connected to the scheduled termination server to the transfer target server according to a connection state shared from the transfer target server to the scheduled termination server.

상기 정리대상 서버들을 탐색하는 단계는, 각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 상기 이전대상 서버 또는 상기 종료예정 서버를 포함하는 정리대상 서버들을 탐색하는 단계를 포함할 수 있다. The searching of the server to be cleaned up may include cleaning the servers including the target server or the scheduled server to be terminated based on the number of clients connected to the channel of each server and the remaining capacity of the other server other than the server. Searching may be included.

상기 정리대상 서버들을 탐색하는 단계는, 각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 판단된 이전대상 서버 또는 종료예정 서버를 상기 정리대상 서버로 군집화하는 단계를 포함할 수 있다. The searching of the server to be cleaned includes grouping the previous target server or the scheduled server to be determined as the server to be cleaned based on the number of clients connected to the channel of each server and the remaining capacity of the other server other than the server. It may include the step.

상기 정리대상 서버들을 탐색하는 단계는, 상기 정리대상 서버들로 군집화된 이전대상 서버 또는 상기 종료예정 서버를 리스트화하는 단계를 포함할 수 있다. The searching of the server to be cleaned up may include listing the transfer target server or the scheduled server to be clustered with the server to be cleaned up.

상기 정리대상 서버들을 탐색하는 단계는, 상기 각 서버의 적어도 하나 이상의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량을 기 설정된 기준에 기초하여 판단하는 단계를 포함하고, 상기 기 설정된 기준은, 상기 정리대상 서버들을 탐색하기 위하여 설정된 시간 구간, 기간 구간, 요일 또는 날짜 중 어느 하나일 수 있다. The searching of the subject servers includes determining the number of clients connected to at least one or more channels of each server and the remaining capacity of the other server other than the server based on a predetermined criterion. The preset criterion may be any one of a time section, a period section, a day of the week, or a date set to search the server to be cleaned up.

상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계는, 상기 종료예정 서버에 접속된 클라이언트에게 상기 이전대상 서버의 주소 정보를 공유하고, 상기 종료예정 서버 및 상기 이전대상 서버에 추가로 접속 요청된 클라이언트를 차단하는 단계를 포함할 수 있다. The step of connecting the client connected to the scheduled server to be transferred to the transfer target server may include sharing address information of the transfer target server to the client connected to the scheduled server to be added to the scheduled server to be transferred and the target server to be transferred. And blocking the client requesting access.

상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계는, 상기 종료예정 서버의 클라이언트로부터 상기 공유된 이전대상 서버의 주소 정보에 기초하여 상기 이전대상 서버로 접속이 요청됨에 따라 상기 종료예정 서버의 클라이언트를 상기 이전대상 서버로 연결시키는 단계를 포함할 수 있다. The step of connecting the client connected to the scheduled server to be transferred to the transfer target server may be terminated as a request is made to access the transfer target server based on address information of the shared transfer target server from the client of the scheduled termination server. And connecting the client of the scheduled server to the transfer target server.

상기 종료예정 서버의 클라이언트는, 상기 종료예정 서버 및 상기 이전대상 서버에 다중 접속되고, 상기 다중 접속의 상태에서 상기 종료예정 서버와 정보의 송수신이 가능할 수 있다. Clients of the server to be terminated may be multiplely connected to the server to be terminated and the transfer target server, and may transmit and receive information to and from the server to be terminated in the state of the multiple connection.

상기 이전대상 서버에 업데이트하는 단계는, 상기 종료예정 서버에 접속된 클라이언트가 상기 이전대상 서버에 연결됨에 따라 상기 이전대상 서버에서 상기 종료예정 서버로 상기 이전대상 서버에 연결된 클라이언트와의 연결 상태가 공유되는 단계를 포함할 수 있다. The updating of the transfer target server may include sharing a connection state with a client connected to the transfer target server from the transfer target server to the termination server as the client connected to the transfer target server is connected to the transfer target server. It may comprise the steps.

상기 이전대상 서버에 업데이트하는 단계는, 상기 클라이언트로부터 상기 종료예정 서버의 접속이 해지됨에 따라 상기 종료예정 서버의 작동을 종료하는 단계를 포함할 수 있다. The updating of the transfer target server may include terminating the operation of the server to be terminated when the connection of the server to be terminated from the client is terminated.

상기 이전대상 서버에 업데이트하는 단계는, 상기 클라이언트로부터 상기 종료예정 서버의 접속을 해지하면서, 상기 이전대상 서버와 상기 종료예정 서버의 커넥션(Connection) 관계에서 상기 이전대상 서버에게 상기 클라이언트의 정보를 전달하는 단계를 포함할 수 있다. The updating of the transfer target server may include transmitting the client's information to the transfer target server in a connection relationship between the transfer target server and the termination server while disconnecting the termination server from the client. It may include the step.

컴퓨터로 구현되는 서버 간의 로드밸런싱을 수행하기 위한 로드밸런싱 서버는, 적어도 하나 이상의 서버와 네트워크를 통한 통신을 수행함에 따라 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색하는 탐색부; 상기 탐색된 정리대상 서버들에 선정된 종료예정 서버 및 이전대상 서버에 기반하여 상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 연결부; 및 상기 이전대상 서버에서 상기 종료예정 서버로 공유되는 연결 상태에 따라 상기 종료예정 서버 또는 상기 종료예정 서버에 접속된 클라이언트의 정보를 상기 이전대상 서버에 업데이트하는 업데이트부를 포함할 수 있다. The load balancing server for performing load balancing between servers implemented as a computer is a search unit for determining the remaining capacity of the server to which the channel is allocated as the communication with the at least one or more servers through the network to search the server to be cleaned up. ; A connection unit configured to connect a client connected to the scheduled server to be terminated to the transfer target server based on the scheduled termination server selected for the searched cleanup target servers and a transfer target server; And an updater configured to update information on the scheduled termination server or the client connected to the scheduled termination server to the transfer target server according to a connection state shared from the transfer target server to the scheduled termination server.

서버의 채널에 접속된 클라이언트의 개수와 다른 서버에 남은 가용량에 기반하여 서버의 채널에 접속된 클라이언트를 다른 서버로 이동시키는 서버간 로드밸런싱을 수행함으로써 보다 효율적으로 서버를 관리할 수 있다. 채널에 존재하는 클라이언트가 이동하기 전까지 채널에 할당된 서버를 내리지 못하고 유지해야 하는 문제점을 해결할 수 있다. Servers can be managed more efficiently by performing server-to-server load balancing that moves clients connected to the server's channel to another server based on the number of clients connected to the server's channel and the remaining capacity of the other server. This can solve the problem of not maintaining the server assigned to the channel until the client existing in the channel moves.

또한, 클라이언트에 이전대상 서버와 종료예정 서버의 이중 연결을 통하여 이전대상 서버로 이동되기 때문에 서버의 끊김 없이 자연스럽게 서비스를 계속적으로 이용할 수 있다. In addition, since the client is moved to the transfer target server through the dual connection between the transfer target server and the scheduled server to be terminated, the service can be naturally used without disconnection of the server.

도 1은 일 실시예에 따른 네트워크 환경의 예를 도시한 도면이다.
도 2는 일 실시예에 따른 클라이언트 및 서버의 내부 구성을 설명하기 위한 블록도이다.
도 3은 일 실시예에 따른 로드밸런싱 서버의 프로세서가 포함할 수 있는 구성 요소의 예를 도시한 블록도이다.
도 4는 일 실시예에 따른 로드밸런싱 서버에서 수행되는 서버간 로드밸런싱 방법을 설명하기 위한 흐름도이다.
도 5는 일 실시예에 따른 로드밸런싱 서버에서 정리대상 서버들을 탐색하는 방법을 설명하기 위한 흐름도이다.
도 6은 일 실시예에 따른 로드밸런싱 서버에서 클라이언트를 이전대상 서버에 연결시키는 방법을 설명하기 위한 흐름도이다.
도 7은 일 실시예에 따른 로드밸런싱 서버에서 이전대상 서버에게 클라이언트의 정보를 업데이트하는 방법을 설명하기 위한 흐름도이다.
도 8은 일 실시예에 따른 이전대상 서버 및 종료예정 서버의 동작을 설명하기 위한 도면이다.
1 is a diagram illustrating an example of a network environment according to an embodiment.
2 is a block diagram illustrating an internal configuration of a client and a server according to an exemplary embodiment.
3 is a block diagram illustrating an example of components that may be included in a processor of a load balancing server according to an embodiment.
4 is a flowchart illustrating a server-to-server load balancing method performed by a load balancing server according to an embodiment.
5 is a flowchart illustrating a method of searching for cleanup target servers in a load balancing server according to an exemplary embodiment.
6 is a flowchart illustrating a method of connecting a client to a transfer target server in a load balancing server according to an embodiment.
7 is a flowchart illustrating a method of updating a client's information to a transfer target server in a load balancing server according to an embodiment.
8 is a diagram illustrating an operation of a transfer target server and a server to be terminated according to an exemplary embodiment.

이하, 실시예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings.

도 1은 일 실시예에 따른 네트워크 환경의 예를 도시한 도면이다.1 is a diagram illustrating an example of a network environment according to an embodiment.

도 1의 네트워크 환경은 복수의 전자 기기들(110, 120, 130, 140), 복수의 서버들(150, 160) 및 네트워크(170)를 포함하는 예를 나타내고 있다. 이러한 도 1은 발명의 설명을 위한 일례로 전자 기기의 수나 서버의 수가 도 1과 같이 한정되는 것은 아니다. The network environment of FIG. 1 illustrates an example including a plurality of electronic devices 110, 120, 130, and 140, a plurality of servers 150 and 160, and a network 170. 1 is an example for describing the present invention, and the number of electronic devices or the number of servers is not limited as shown in FIG. 1.

복수의 전자 기기들(110, 120, 130, 140)은 컴퓨터 장치로 구현되는 고정형 단말이거나 이동형 단말일 수 있다. 복수의 전자 기기들(110, 120, 130, 140)의 예를 들면, 스마트폰(smart phone), 휴대폰, 네비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC 등이 있다. 일례로 전자 기기 1(110)은 무선 또는 유선 통신 방식을 이용하여 네트워크(170)를 통해 다른 전자 기기들(120, 130, 140) 및/또는 서버(150, 160)와 통신할 수 있다. 실시예에서는 전자 기기는 클라이언트일 수 있다. The plurality of electronic devices 110, 120, 130, and 140 may be fixed terminals or mobile terminals implemented as computer devices. Examples of the plurality of electronic devices 110, 120, 130, and 140 include a smart phone, a mobile phone, a navigation device, a computer, a notebook computer, a digital broadcasting terminal, a personal digital assistant (PDA), and a portable multimedia player (PMP). Tablet PC). For example, the electronic device 1 110 may communicate with other electronic devices 120, 130, 140 and / or the server 150, 160 through a network 170 using a wireless or wired communication scheme. In an embodiment, the electronic device may be a client.

통신 방식은 제한되지 않으며, 네트워크(170)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망)을 활용하는 통신 방식뿐만 아니라 기기들간의 근거리 무선 통신 역시 포함될 수 있다. 예를 들어, 네트워크(170)는, PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다. 또한, 네트워크(170)는 버스 네트워크, 스타 네트워크, 링 네트워크, 메쉬 네트워크, 스타-버스 네트워크, 트리 또는 계층적(hierarchical) 네트워크 등을 포함하는 네트워크 토폴로지 중 임의의 하나 이상을 포함할 수 있으나, 이에 제한되지 않는다.The communication method is not limited and may include not only a communication method using a communication network (for example, a mobile communication network, a wired internet, a wireless internet, and a broadcasting network) that the network 170 may include, but also a short range wireless communication between devices. For example, the network 170 may include a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), and a broadband network (BBN). And one or more of networks such as the Internet. The network 170 may also include any one or more of network topologies, including bus networks, star networks, ring networks, mesh networks, star-bus networks, trees, or hierarchical networks, but It is not limited.

서버(150, 160) 각각은 복수의 전자 기기들(110, 120, 130, 140)과 네트워크(170)를 통해 통신하여 명령, 코드, 파일, 컨텐츠, 서비스 등을 제공하는 컴퓨터 장치 또는 복수의 컴퓨터 장치들로 구현될 수 있다.Each of the servers 150 and 160 communicates with the plurality of electronic devices 110, 120, 130, and 140 through the network 170 to provide a command, code, file, content, service, or the like. It may be implemented in devices.

일례로, 서버(160)는 네트워크(170)를 통해 접속한 전자 기기 1(110)로 어플리케이션의 설치를 위한 파일을 제공할 수 있다. 이 경우 전자 기기 1(110)은 서버(160)로부터 제공된 파일을 이용하여 어플리케이션을 설치할 수 있다. 또한 전자 기기 1(110)이 포함하는 운영체제(Operating System, OS) 및 적어도 하나의 프로그램(일례로 브라우저나 상기 설치된 어플리케이션)의 제어에 따라 서버(150)에 접속하여 서버(150)가 제공하는 서비스나 컨텐츠를 제공받을 수 있다. 예를 들어, 전자 기기 1(110)이 어플리케이션의 제어에 따라 네트워크(170)를 통해 서비스 요청 메시지를 서버(150)로 전송하면, 서버(150)는 서비스 요청 메시지에 대응하는 코드를 전자 기기 1(110)로 전송할 수 있고, 전자 기기 1(110)은 어플리케이션의 제어에 따라 코드에 따른 화면을 구성하여 표시함으로써 사용자에게 컨텐츠를 제공할 수 있다.For example, the server 160 may provide a file for installing an application to the electronic device 1 110 connected through the network 170. In this case, the electronic device 1110 may install an application using a file provided from the server 160. In addition, a service provided by the server 150 by accessing the server 150 under the control of an operating system (OS) included in the electronic device 1 110 and at least one program (for example, a browser or the installed application). I can be provided with content. For example, when the electronic device 1 110 transmits a service request message to the server 150 through the network 170 under the control of the application, the server 150 transmits a code corresponding to the service request message to the electronic device 1. The electronic device 1 110 may provide content to a user by configuring and displaying a screen according to a code under the control of an application.

아래의 실시예에서는 서버의 채널에 접속된 전체 사용자(user)의 숫자와 다른 서버에 남은 가용량에 기반하여 이전대상 서버 및 종료예정 서버를 군집화하여 정리대상 서버로 분류하고, 정리대상 서버에 선정된 종료예정 서버에 접속되어 있는 클라이언트를 이전대상 서버로 이동할 수 있도록 제어함으로써 로드밸런싱을 수행하는 방법을 설명하기로 한다. 이때, 로드밸런싱을 위한 별도의 로드밸런싱 서버(로드밸런서)를 통하여 각각의 서버를 제어할 수 있고, 로드밸런싱을 위한 프로그램 또는 애플리케이션이 설치된 각각의 서버에 의하여 로드밸런싱이 수행될 수 있다. 또한, 로드밸런싱을 위한 플랫폼에 기반하여 각각의 서버가 동작될 수도 있다. In the following embodiment, the transfer target server and the scheduled end server are clustered and classified as the cleanup target server based on the total number of users connected to the channel of the server and the remaining capacity on the other server. A method of performing load balancing by controlling a client connected to a scheduled termination server to be moved to a previous target server will be described. In this case, each server may be controlled through a separate load balancing server (load balancer) for load balancing, and load balancing may be performed by each server in which a program or an application for load balancing is installed. In addition, each server may be operated based on a platform for load balancing.

도 2는 일 실시예에 따른 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.2 is a block diagram illustrating an internal configuration of an electronic device and a server according to an exemplary embodiment.

도 2에서는 하나의 전자 기기에 대한 예로서 전자 기기 1(110), 그리고 하나의 서버에 대한 예로서 서버(150)의 내부 구성을 설명한다. 다른 전자 기기들(120, 130, 140)이나 서버(160)뿐만 아니라 도 1을 통해 설명한 네트워크 환경에 포함될 수 있는 또 다른 전자 기기들이나 또 다른 서버들에도 동일한 또는 유사한 내부 구성요소들이 적용될 수 있다. 일례로, 전자 기기 1(110)은 클라이언트, 서버(150)는 재화와 관련된 데이터의 거래를 제공하는 거래 웹 서버를 의미할 수 있다. In FIG. 2, an internal configuration of the electronic device 1 110 as an example of one electronic device and the server 150 as an example of one server will be described. The same or similar internal components may be applied to other electronic devices 120, 130, 140 or server 160 as well as other electronic devices or other servers that may be included in the network environment described with reference to FIG. 1. For example, the electronic device 1 110 may refer to a transaction web server that provides a client and a server 150 to provide a transaction of data related to a good.

전자 기기 1(110)과 서버(150)는 메모리(211, 221), 프로세서(212, 222), 통신 모듈(213, 223) 그리고 입출력 인터페이스(214, 224)를 포함할 수 있다. 메모리(211, 221)는 컴퓨터에서 판독 가능한 기록 매체로서, RAM(random access memory), ROM(read only memory) 및 디스크 드라이브와 같은 비소멸성 대용량 기록장치(permanent mass storage device)를 포함할 수 있다. 또한, 메모리(211, 221)에는 운영체제와 적어도 하나의 프로그램 코드(일례로 전자 기기 1(110)에 설치되어 구동되는 브라우저나 상술한 어플리케이션 등을 위한 코드)가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 드라이브 메커니즘(drive mechanism)을 이용하여 메모리(211, 221)와는 별도의 컴퓨터에서 판독 가능한 기록 매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독 가능한 기록 매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록 매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록 매체가 아닌 통신 모듈(213, 223)을 통해 메모리(211, 221)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 어플리케이션의 설치 파일을 배포하는 파일 배포 시스템(일례로 상술한 서버(160))이 네트워크(170)를 통해 제공하는 파일들에 의해 설치되는 프로그램(일례로 상술한 어플리케이션)에 기반하여 메모리(211, 221)에 로딩될 수 있다.The electronic device 1 110 and the server 150 may include memories 211 and 221, processors 212 and 222, communication modules 213 and 223, and input / output interfaces 214 and 224. The memories 211 and 221 are computer-readable recording media, and may include non-volatile permanent storage devices such as random access memory (RAM), read only memory (ROM), and disk drives. In addition, the memory 211 and 221 may store an operating system and at least one program code (for example, a code installed for the browser or the above-described application or the like installed in the electronic device 1110). These software components may be loaded from a computer readable recording medium separate from the memories 211 and 221 using a drive mechanism. Such a separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, a memory card, and the like. In other embodiments, software components may be loaded into the memory 211, 221 through the communication module 213, 223 rather than a computer readable recording medium. For example, the at least one program is a program installed by files provided by the file distribution system (for example, the server 160 described above) through the network 170 for distributing installation files of developers or applications (for example, It can be loaded into the memory (211, 221) based on the above-described application).

프로세서(212, 222)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(211, 221) 또는 통신 모듈(213, 223)에 의해 프로세서(212, 222)로 제공될 수 있다. 예를 들어 프로세서(212, 222)는 메모리(211, 221)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.Processors 212 and 222 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input / output operations. Instructions may be provided to the processors 212, 222 by the memory 211, 221 or the communication modules 213, 223. For example, the processors 212 and 222 may be configured to execute a command received according to a program code stored in a recording device such as the memory 211 and 221.

통신 모듈(213, 223)은 네트워크(170)를 통해 전자 기기 1(110)과 서버(150)가 서로 통신하기 위한 기능을 제공할 수 있으며, 다른 전자 기기(일례로 전자 기기 2(120)) 또는 다른 서버(일례로 서버(160))와 통신하기 위한 기능을 제공할 수 있다. 일례로, 전자 기기 1(110)의 프로세서(212)가 메모리(211)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청(일례로 컨텐츠에 대한 스트리밍 서비스 요청)이 통신 모듈(213)의 제어에 따라 네트워크(170)를 통해 서버(150)로 전달될 수 있다. 역으로, 서버(150)의 프로세서(222)의 제어에 따라 제공되는 제어 신호나 명령, 컨텐츠, 파일 등이 통신 모듈(223)과 네트워크(170)를 거쳐 전자 기기 1(110)의 통신 모듈(213)을 통해 전자 기기 1(110)로 수신될 수 있다. 예를 들어 통신 모듈(213)을 통해 수신된 서버(150)의 제어 신호나 명령 등은 프로세서(212)나 메모리(211)로 전달될 수 있고, 컨텐츠나 파일 등은 전자 기기 1(110)가 더 포함할 수 있는 저장 매체로 저장될 수 있다.The communication modules 213 and 223 may provide a function for the electronic device 1 110 and the server 150 to communicate with each other through the network 170, and another electronic device (for example, the electronic device 2 120). Alternatively, it may provide a function for communicating with another server (eg, server 160). For example, a request (eg, a streaming service request for content) generated by the processor 212 of the electronic device 1 110 according to a program code stored in a recording device such as the memory 211 is controlled by the communication module 213. In accordance with the network 170 may be delivered to the server 150. Conversely, control signals, commands, contents, files, and the like provided according to the control of the processor 222 of the server 150 are transmitted to the communication module of the electronic device 1 110 via the communication module 223 and the network 170 ( It may be received by the electronic device 1110 through 213. For example, a control signal or a command of the server 150 received through the communication module 213 may be transmitted to the processor 212 or the memory 211, and the content or the file may be transmitted by the electronic device 1110. It may be stored as a storage medium that may further include.

입출력 인터페이스(214, 224)는 입출력 장치(215)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 키보드 또는 마우스 등의 장치를, 그리고 출력 장치는 어플리케이션의 통신 세션을 표시하기 위한 디스플레이와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(214)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 보다 구체적인 예로, 전자 기기 1(110)의 프로세서(212)는 메모리(211)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어서 서버(150)나 전자 기기 2(120)가 제공하는 데이터를 이용하여 구성되는 서비스 화면이나 컨텐츠가 입출력 인터페이스(214)를 통해 디스플레이에 표시될 수 있다.The input / output interfaces 214 and 224 may be means for interfacing with the input / output device 215. For example, the input device may include a device such as a keyboard or mouse, and the output device may include a device such as a display for displaying a communication session of an application. As another example, the input / output interface 214 may be a means for interfacing with a device in which functions for input and output are integrated into one, such as a touch screen. As a more specific example, the processor 212 of the electronic device 1110 is configured using data provided by the server 150 or the electronic device 2 120 in processing a command of a computer program loaded in the memory 211. The service screen or the content may be displayed on the display through the input / output interface 214.

또한, 다른 실시예들에서 전자 기기 1(110) 및 서버(150)는 도 2의 구성요소들보다 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 전자 기기 1(110)은 상술한 입출력 장치(215) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다.Also, in other embodiments, the electronic device 1 110 and the server 150 may include more components than those of FIG. 2. However, it is not necessary to clearly show most of the prior art components. For example, the electronic device 1 110 may be implemented to include at least some of the above-described input / output devices 215 or other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, a database, and the like. It may further include elements.

도 3은 일 실시예에 따른 로드밸런싱 서버의 프로세서가 포함할 수 있는 구성 요소의 예를 도시한 블록도이고, 도 4는 일 실시예에 따른 로드밸런싱 서버에서 수행되는 서버간 로드밸런싱 방법을 설명하기 위한 흐름도이다.3 is a block diagram illustrating an example of a component that a processor of a load balancing server may include, and FIG. 4 illustrates a server-to-server load balancing method performed by a load balancing server according to an embodiment. It is a flowchart for doing this.

로드밸런싱 서버의 프로세서(222)는 탐색부(310), 연결부(320) 및 업데이트부(330)를 포함할 수 있다. 이러한 프로세서(222)의 구성요소들은 로드밸런싱 서버에 저장된 프로그램 코드가 제공하는 제어 명령에 따라 프로세서(222)에 의해 수행되는 서로 다른 기능들(different functions)의 표현들일 수 있다. 프로세서(222) 및 프로세서(222)의 구성요소들은 도 4의 서버간 로드밸런싱 방법이 포함하는 단계들(410 내지 430)을 수행하도록 로드밸런싱 서버를 제어할 수 있다. 이때, 프로세서(222) 및 프로세서(222)의 구성요소들은 메모리가 포함하는 운영체제의 코드와 적어도 하나의 프로그램의 코드에 따른 명령(instruction)을 실행하도록 구현될 수 있다.The processor 222 of the load balancing server may include a searcher 310, a connector 320, and an updater 330. The components of the processor 222 may be representations of different functions performed by the processor 222 according to a control command provided by program code stored in the load balancing server. The processor 222 and the components of the processor 222 may control the load balancing server to perform the steps 410 to 430 included in the inter-server load balancing method of FIG. 4. In this case, the processor 222 and the components of the processor 222 may be implemented to execute instructions according to code of an operating system included in a memory and code of at least one program.

프로세서(222)는 서버간 로드밸런싱 방법을 위한 프로그램의 파일에 저장된 프로그램 코드를 메모리에 로딩할 수 있다. 예를 들면, 로드밸런싱 서버에서 프로그램이 실행되면, 프로세서는 운영체제의 제어에 따라 프로그램의 파일로부터 프로그램 코드를 메모리에 로딩하도록 로드밸런싱 서버를 제어할 수 있다. 이때, 프로세서(222) 및 프로세서(222)가 포함하는 탐색부(310), 연결부(320) 및 업데이트부(330) 각각은 메모리에 로딩된 프로그램 코드 중 대응하는 부분의 명령을 실행하여 이후 단계들(410 내지 430)을 실행하기 위한 프로세서(222)의 서로 다른 기능적 표현들일 수 있다. The processor 222 may load the program code stored in the file of the program for the server-to-server load balancing method to the memory. For example, when a program is executed in the load balancing server, the processor may control the load balancing server to load the program code from the file of the program into the memory under the control of the operating system. In this case, each of the processor 310, the searcher 310, the connector 320, and the updater 330 included in the processor 222 executes a command of a corresponding part of the program code loaded in the memory to perform subsequent steps. Different functional representations of the processor 222 for executing 410-430.

단계(410)에서 탐색부(310)는 적어도 하나 이상의 서버와 네트워크를 통한 통신을 수행함에 따라 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색할 수 있다. 도 5를 참고하면, 로드밸런싱 서버에서 정리대상 서버들을 탐색하는 방법을 설명하기 위한 흐름도이다. 단계(510)에서 탐색부(310)는 각 서버에 할당된 채널에 접속된 클라이언트의 개수와 서버 이외의 상대방 서버의 남은 가용량에 기초하여 이전대상 서버 또는 종료예정 서버를 포함하는 정리대상 서버들을 탐색할 수 있다. 탐색부(310)는 특정 서비스에 존재하는 각각의 서버에 기반하여 각각의 서버에 할당된 채널에 접속된 클라이언트의 개수와 클라이언트 개수를 파악하지 않은 나머지 서버들의 남은 가용량을 계산할 수 있다. 이때, 탐색부(310)는 A 서버의 남은 가용량이 B 서버의 클라이언트의 수보다 클 경우, A 서버 및 B 서버를 정리대상 서버로 묶을 수 있다. 이때, A 서버를 이전대상 서버, B 서버를 종료예정 서버로 선정할 수 있다. 예를 들면, 탐색부(310)는 특정 서비스에 존재하는 서버들의 로드밸런싱을 위하여 정리대상 서버들을 탐색할 수 있다. 만약, 특정 서비스가 게임일 경우, 원활한 게임 서비스를 제공하기 위한 복수의 서버들이 존재할 수 있다. 이때, 서버에 할당된 적어도 하나 이상의 채널에 클라이언트가 접속될 수 있다. 보통, 물리적 서버에 채널이 1:1로 할당되는 것이 일반적이나 이에 한정하지 않고, 서버에 채널이 적어도 하나 이상 할당될 수 있음을 가정한다. 여기서, 대기실 및 채널 개념을 통하여 보통 물리적 서버에 1:1로 할당되기 때문에, 이하 채널을 물리 서버 한대와 같은 개념으로 사용하기로 한다. 일례로, 탐색부(310)는 게임 서비스에 존재하는 복수의 서버들에 대한 로드밸런싱을 모니터링함에 따라 특정 서버를 종료예정 서버로 선택할 수 있다. 탐색부(310)는 게임 서비스에 존재하는 복수의 서버들 중 종료해야 하는 종료예정 서버를 선택할 수 있고, 종료예정 서버의 클라이언트의 수를 판단할 수 있다. 이때, 탐색부(310)는 종료예정 서버에 접속된 클라이언트의 수에 기반하여 종료예정 서버 이외의 나머지 서버들의 남은 가용량을 확인할 수 있다. 탐색부(310)는 종료예정 서버에 접속된 클라이언트의 수 보다 큰 남은 가용량을 가진 나머지 서버를 이전대상 서버로 선정할 수 있다. 또는, 탐색부(310)는 특정 서비스에 존재하는 각 서버의 적어도 하나 이상의 채널에 접속된 클라이언트의 개수와 나머지 서버의 남은 가용량을 기 설정된 기준(예를 들면, 시간, 기간, 요일, 날짜 등)에 기초하여 판단할 수도 있다. 또는, 탐색부(310)는 특정 서비스에 존재하는 각 서버의 적어도 하나 이상의 채널에 접속된 클라이언트의 개수와 나머지 서버의 남은 가용량을 주기적 또는 비주기적으로 판단할 수도 있다. 예를 들면, 탐색부(310)는 기 설정된 시간구간마다 특정 서비스를 위한 서버들의 남은 가용량을 판단할 수 있다. 구체적으로, 탐색부(310)는 6시~12시 구간과 18시에 서버의 남은 가용량을 판단하여 이전대상 서버 및 종료예정 서버를 탐색할 수 있다. 단계(520)에서 탐색부(310)는 이전대상 서버 또는 종료예정 서버를 정리대상 서버로 군집화시킬 수 있다. 단계(510)에서 탐색부(310)는 정리대상 서버들로 군집화된 이전대상 서버 또는 종료예정 서버를 리스트화할 수 있다. 일례로, 탐색부(310)는 정리대상 서버들에 대하여 (이전대상 서버, 종료예정 서버)로 짝지어 분류해놓을 수 있다. 일례로, 탐색부(310)는 이전대상 서버 및 종료예정 서버를 각각 분류할 수 있고, 분류된 이전대상 서버 및 종료예정 서버를 로드밸런싱이 우선적으로 필요한 순위로 리스트화할 수 있다. 예를 들면, 탐색부(310)는 각각의 이전대상 서버, 종료예정 서버를 군집화함에 있어서, 최적의 효율을 계산하여 로드밸런싱을 수행시킬 이전대상 서버, 종료예정 서버를 군집화하여 리스트로 작성할 수 있다. 또는, 탐색부(310)는 종료예정 서버를 기준으로 이전 가능한 이전대상 서버들을 리스트화할 수도 있다. In operation 410, the search unit 310 may search for the cleanup target servers by determining the remaining capacity of the server to which the channel is allocated as the communication with the at least one server is performed through the network. Referring to FIG. 5, a flowchart for describing a method of searching for cleanup target servers in a load balancing server. In operation 510, the search unit 310 may organize the target servers including the previous target server or the scheduled server to be terminated based on the number of clients connected to the channel allocated to each server and the remaining capacity of the other server other than the server. You can navigate. The search unit 310 may calculate the remaining capacity of the remaining servers that do not know the number of clients connected to the channel allocated to each server and the number of clients based on each server existing in the specific service. In this case, the search unit 310 may bundle the A server and the B server as a cleanup target server when the remaining available capacity of the A server is larger than the number of clients of the B server. In this case, the server A may be selected as the transfer target server and the server B as the server to be terminated. For example, the search unit 310 may search for cleanup target servers for load balancing of servers existing in a specific service. If a specific service is a game, there may be a plurality of servers for providing a smooth game service. In this case, the client may be connected to at least one channel allocated to the server. In general, it is common to assign a 1: 1 channel to a physical server, but it is not limited thereto. It is assumed that at least one channel may be allocated to a server. Here, since a common room is allocated 1: 1 to a physical server through the concept of a waiting room and a channel, the following channel will be used as a concept of one physical server. For example, the search unit 310 may select a specific server as a server to be terminated as monitoring load balancing of a plurality of servers existing in the game service. The search unit 310 may select an end server to be terminated among a plurality of servers existing in the game service, and determine the number of clients of the end server. In this case, the search unit 310 may check the remaining capacity of the remaining servers other than the scheduled server based on the number of clients connected to the scheduled server. The search unit 310 may select the remaining server having the remaining capacity larger than the number of clients connected to the scheduled server as the transfer target server. Alternatively, the search unit 310 may set the number of clients connected to at least one channel of each server present in a specific service and the remaining capacity of the remaining servers (for example, time, duration, day of the week, date, etc.). Can also be determined based on Alternatively, the search unit 310 may periodically or aperiodically determine the number of clients connected to at least one channel of each server present in a specific service and the remaining capacity of the remaining servers. For example, the search unit 310 may determine the remaining capacity of the servers for a specific service every preset time period. In detail, the search unit 310 may search for the previous target server and the scheduled server to be finished by determining the remaining capacity of the server at the 6 o'clock to 12 o'clock and 18 o'clock periods. In operation 520, the search unit 310 may cluster the previous target server or the server to be terminated into the grooming target server. In operation 510, the search unit 310 may list a previous target server or a scheduled server to be clustered into the target servers to be cleaned up. For example, the search unit 310 may classify and classify the cleanup target servers into (previous target server, scheduled server). For example, the search unit 310 may classify the transfer target server and the scheduled end server, respectively, and list the classified transfer target server and the scheduled end server in the order of priority for load balancing. For example, the search unit 310 may cluster the previous target server and the scheduled end server to perform load balancing by calculating the optimal efficiency in clustering each transfer target server and the scheduled end server, and create a list by clustering the previous target server and the scheduled end server. . Alternatively, the search unit 310 may list the transfer target servers that are transferable based on the server to be terminated.

단계(420)에서 연결부(320)는 탐색된 정리대상 서버들에 선정된 종료예정 서버 및 이전대상 서버에 기반하여 종료예정 서버에 접속된 클라이언트를 이전대상 서버에 연결시킬 수 있다. 도 6을 참고하면, 로드밸런싱 서버에서 클라이언트를 이전대상 서버에 연결시키는 방법을 설명하기 위한 흐름도이다. 단계(610)에서 연결부(320)는 종료예정 서버에 접속된 클라이언트에게 이전대상 서버의 주소 정보를 공유할 수 있다. 예를 들면, 연결부(320)는 종료예정 서버에 접속된 클라이언트에게 이전대상 서버의 IP 주소를 공유할 수 있다. 연결부(320)는 종료예정 서버 및 이전대상 서버에 추가로 접속 요청된 클라이언트를 차단할 수 있다. 단계(620)에서 연결부(320)는 종료예정 서버의 클라이언트로부터 공유된 이전대상 서버의 주소 정보에 기초하여 이전대상 서버로 접속이 요청됨에 따라 종료예정 서버의 클라이언트를 이전대상 서버로 연결시킬 수 있다. 이때, 종료예정 서버에 접속된 클라이언트는 종료예정 서버 및 이전대상 서버에 다중 접속되고, 다중 접속 상태에서 종료예정 서버와 정보의 송수신이 가능하게 된다.In operation 420, the connection unit 320 may connect the client connected to the scheduled server to be terminated based on the scheduled termination server and the target server selected for the searched cleaning target servers to the target server. Referring to FIG. 6, a flowchart illustrating a method of connecting a client to a transfer target server in a load balancing server. In step 610, the connection unit 320 may share the address information of the transfer target server to the client connected to the server to be terminated. For example, the connection unit 320 may share the IP address of the transfer target server to the client connected to the server to be terminated. The connection unit 320 may block a client requesting additional connection to the server to be terminated and the transfer target server. In operation 620, the connection unit 320 may connect the client of the scheduled server to the target server as the connection is requested to the previous target server based on the address information of the target server shared from the client of the scheduled server. . At this time, the client connected to the server to be scheduled for termination is multiplely connected to the server to be scheduled for termination and the transfer target server, and the information is transmitted and received with the server to be scheduled in the multiple connection state.

단계(430)에서 업데이트부(330)는 이전대상 서버에서 종료예정 서버로 공유되는 연결 상태에 따라 종료예정 서버 또는 종료예정 서버에 접속된 클라이언트의 정보를 이전대상 서버에 업데이트할 수 있다. 도 7을 참고하면, 로드밸런싱 서버에서 이전대상 서버에게 클라이언트의 정보를 업데이트하는 방법을 설명하기 위한 흐름도이다. 단계(710)에서 업데이트부(330)는 이전대상 서버에서 종료예정 서버로 이전대상 서버에 연결된 클라이언트와의 연결 상태를 공유할 수 있다. 이때, 최종적으로 종료예정 서버에 접속된 클라이언트들의 연결이 모두 성공할 경우, 클라이언트는 종료예정 서버와의 연결을 끊고, 이전대상 서버의 정보를 업데이트할 수 있다. 단계(720)에서 업데이트부(330)는 클라이언트로부터 종료예정 서버의 접속이 해지됨에 따라 종료예정 서버의 작동을 종료시킬 수 있다. 이에 따라 종료예정 서버는 종료되고, 종료예정 서버에 대응하는 물리 서버가 반환된다. 업데이트부(330)는 클라이언트로부터 종료예정 서버의 접속을 해지하면서, 이전대상 서버와 종료예정 서버의 커넥션 관계에서 이전대상 서버에게 클라이언트의 정보를 전달할 수 있다. 예를 들면, 클라이언트에 접속된 업데이트부(330)는 종료예정 서버의 연결을 해지하고, 이전대상 서버의 정보를 업데이트할 수 있다. 동시에, 클라이언트에 이전대상 서버의 정보를 업데이트할 뿐만 아니라, 이전대상 서버에 클라이언트의 정보(예를 들면, 사용자 상태 정보, 사용자 식별 정보 등) 또는 종료예정 서버의 정보를 업데이트할 수 있다. 이때, 서버, 서비스 및/또는 컨텐츠마다 업데이트하는 방식이 다를 수 있다. 일례로, 데이터베이스에 서비스의 링크를 연결시킴으로써 업데이트될 수 있다.In operation 430, the updater 330 may update the information on the client scheduled to be connected to the server to be terminated or the server to be terminated according to the connection state shared from the server to the server to be migrated to the server. Referring to FIG. 7, a flowchart illustrating a method of updating information of a client from a load balancing server to a transfer target server. In operation 710, the updater 330 may share a connection state with a client connected to the transfer target server from the transfer target server to the server to be terminated. At this time, if all of the clients connected to the server to be finally terminated succeed, the client may disconnect from the server to be terminated and update the information of the previous target server. In operation 720, the updater 330 may terminate the operation of the server to be terminated as the connection of the server to be terminated from the client is terminated. As a result, the server to be terminated is terminated and the physical server corresponding to the server to be terminated is returned. The updater 330 may deliver the client's information to the transfer target server in a connection relationship between the transfer target server and the transfer target server while disconnecting the server to be terminated from the client. For example, the updater 330 connected to the client may terminate the connection of the server to be terminated and update the information of the previous target server. At the same time, it is possible to update the information of the transfer target server to the client, as well as update the client information (for example, user status information, user identification information, etc.) or information of the server to be terminated. In this case, the updating method may be different for each server, service, and / or content. In one example, it can be updated by connecting a link of a service to a database.

도 8은 일 실시예에 따른 이전대상 서버 및 종료예정 서버의 동작을 설명하기 위한 도면이다. 8 is a diagram illustrating an operation of a transfer target server and a server to be terminated according to an exemplary embodiment.

일례로, 서비스(예를 들면, 컨텐츠, 게임 등)를 제공하는 서버들이 존재할 수 있다. 로드밸런싱 서버(150)는 서버간 로드밸런싱을 제공할 수 있다. 로드밸런싱 서버(150)는 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색할 수 있다. 예를 들면, 로드밸런싱 서버는 각 서버에 할당된 채널에 접속된 클라이언트의 개수와 나머지 서버에 남은 가용량에 기초하여 이전대상 서버 또는 종료예정 서버를 포함하는 정리대상 서버들을 탐색할 수 있다. 이때, 서버에 할당된 채널의 가용량이 정해져 있기 때문에 최대치를 측정할 수 있으므로 최대치에서 서버의 채널에 현재 접속된 클라이언트의 수를 제외시킨 것을 남은 가용량으로 정의할 수 있다. 로드밸런싱 서버(150)는 이전대상 서버 또는 종료예정 서버를 정리대상 서버로 군집화할 수 있다. 일례로, 정리대상 서버로 A 서버(820) 및 B 서버(810)가 선정되었다고 가정하자. 이때, 로드밸런싱 서버(150)는 A 서버(820)가 이전대상 서버, B 서버(810)가 종료예정 서버일 경우, B 서버(810)의 클라이언트(840)에게 A 서버(820)의 IP 주소를 공유할 수 있다. 이때, A 서버(820)와 B 서버(810)는 각각의 서버에 추가로 접속하고자 하는 클라이언트의 입장을 차단시킬 수 있다. 클라이언트(840)의 유저측(830)은 A 서버의 IP 주소에 기반하여 A 서버(820)에 접속을 요청할 수 있다. 예를 들면, 유저측(830)에는 채널 및 로비 서버측에서 제공되는 커넥터(850)가 존재할 수 있다. 이러한, 커넥터를 통하여 B 서버(810)에 접속된 클라이언트(840)를 A 서버(820)로 접속할 수 있도록 중개하는 연결하는 역할을 수행할 수 있다. 로드밸런싱 서버(150)는 클라이언트(840)를 A 서버(820)에 연결시킬 수 있다. 이에, A 서버(820)는 B 서버(810)로 클라이언트의 연결 상태를 공유할 수 있다. 최종적으로, A 서버(820)에 클라이언트(840)의 연결이 성공할 경우, 클라이언트는 B 서버(810)의 연결을 종료할 수 있다. A 서버(820)는 클라이언트의 정보를 업데이트할 수 있다. 또는, 클라이언트(840)에 A 서버의 정보가 업데이트될 수 있다. 예를 들면, 클라이언트(840)에 특정 서비스의 환경이 동일하게 제공될 수 있다. In one example, there may be servers that provide services (eg, content, games, etc.). The load balancing server 150 may provide server load balancing. The load balancing server 150 may determine the remaining capacity of the server to which the channel is allocated and search for the cleanup target servers. For example, the load balancing server may search for cleanup target servers including a previous target server or a server to be terminated based on the number of clients connected to a channel allocated to each server and the remaining capacity of the remaining servers. At this time, since the capacity of the channel allocated to the server is determined, the maximum value can be measured, and thus the remaining capacity can be defined as excluding the number of clients currently connected to the channel of the server from the maximum value. The load balancing server 150 may cluster the previous target server or the server to be terminated as the cleanup target server. For example, assume that the server A 820 and the server B 810 are selected as the organization target servers. At this time, the load balancing server 150 is the server A 820 is the transfer target server, server B 810 is to be terminated server, server 820 of the server 810 IP address of the server A 820 Can share. In this case, the A server 820 and the B server 810 may block the entrance of the client to additionally access each server. The user side 830 of the client 840 may request access to the A server 820 based on the IP address of the A server. For example, the user side 830 may have a connector 850 provided at the channel and lobby server side. In this way, the client 840 connected to the server B 810 may be connected to the server A 820 through the connector. The load balancing server 150 may connect the client 840 to the A server 820. Accordingly, the server A 820 may share the connection state of the client with the server B 810. Finally, if the client 840 successfully connects to the server A 820, the client may terminate the connection of the server B 810. The server A 820 may update the client's information. Alternatively, the information of the server A may be updated in the client 840. For example, the client 840 may be provided with the same environment of a particular service.

일례로, 클라우드 환경에 적용될 수 있다. 클라우드 서비스를 제공하는 클라우드 서버에서 서버간 로드밸런싱이 수행될 수 있다. 클라우드 서비스를 이용함에 있어서, 사용한 기간, 사용한 용량에 따라 서비스 요금을 지불해야 한다. 이에 따라, 서버간 로드밸런싱을 통하여 불필요하게 사용되는 서버의 이용을 최소화함으로써 비용을 최소화할 수 있고, 서버를 최적화시킬 수 있다. For example, it may be applied to a cloud environment. Server-to-server load balancing may be performed in a cloud server that provides a cloud service. In using the cloud service, you have to pay a service fee based on the period of use and the capacity used. Accordingly, the cost can be minimized and the server can be optimized by minimizing the use of unnecessary servers through server-to-server load balancing.

로드밸런싱 서버는 앞서 설명한 바와 같이, 로드밸런싱 서버를 통하여 서버간 로드밸런싱이 수행될 수 있고, 특정 서비스를 위한 서버들 간의 통신을 통하여 정보를 송수신함으로써 자동적으로 각각의 서버간 로드밸런싱이 수행될 수 있다. 각각의 서버에서 자동으로 로드가 측정되어 로드밸런싱이 수행되어야 할 서버가 판단될 수 있다. 예를 들면, B 서버(810)의 로드가 부하되었음을 감지함에 따라 B 서버(810)의 로드밸런싱을 위한 이전대상 서버를 탐색할 수 있다. 이때, 각각의 서버에서 각각의 서버와 인접 또는 주변에 존재하는 상대방 서버와의 통신을 통하여 각각의 서버에 할당된 채널에 접속된 클라이언트의 개수, 각각의 서버에 남은 가용량이 자동적으로 계산됨으로써 정리대상 서버군이 분류될 수 있다. 이러한 과정을 통하여 B 서버(810)의 로드를 감소시키기 위하여 A 서버(820)가 이전대상 서버로 선정될 수 있다. 또는, B 서버(810)에서 로드밸런싱이 요청됨에 따라 이전대상 서버가 리스트화될 수 있다. B 서버(810)는 리스트로 작성된 이전대상 서버 중 적어도 하나의 이전대상 서버를 선택할 수 있다. A 서버(820)와 B 서버(810)가 정리대상 서버군으로 분류됨에 따라 B 서버에 할당된 채널에 접속된 클라이언트(840)가 A 서버(820)로 이동될 수 있다. 구체적으로, B 서버(810)의 클라이언트(840)에게 A 서버(820)의 IP 주소가 공유될 수 있다. 이때, A 서버(820)와 B 서버(810)에 추가로 접속하고자 하는 클라이언트의 입장이 차단된 상태에서 클라이언트(840)가 이동될 수 있다. 클라이언트(840)의 유저측(830)은 A 서버의 IP 주소에 기반하여 A 서버(820)에 접속을 요청할 수 있다. 예를 들면, 유저측(830)에는 채널 및 로비 서버측에서 제공되는 커넥터(850)가 존재할 수 있다. 이러한, 커넥터를 통하여 B 서버(810)에 접속된 클라이언트(840)를 A 서버(820)로 접속할 수 있도록 중개하는 연결하는 역할이 수행될 수 있다. 클라이언트(840)가 A 서버(820)에 연결될 수 있다. 이에, A 서버(820)는 B 서버(810)로 클라이언트의 연결 상태를 공유할 수 있다. A 서버(820)에 클라이언트(840)의 연결이 성공할 경우, 클라이언트(840)는 B 서버(810)의 연결을 종료할 수 있다. A 서버(820)는 클라이언트의 정보를 업데이트할 수 있고, 또는, 클라이언트(840)에 A 서버의 정보가 업데이트될 수 있다. As described above, the load balancing server may perform load balancing between servers through the load balancing server, and load balancing between servers may be automatically performed by transmitting and receiving information through communication between servers for a specific service. have. The load is automatically measured at each server to determine a server to which load balancing should be performed. For example, when detecting that the load of the B server 810 is loaded, the previous target server for load balancing of the B server 810 may be searched for. In this case, the number of clients connected to the channel allocated to each server and the remaining capacity of each server are automatically calculated through communication with each server and counterpart servers existing in or adjacent to each server. Server groups can be classified. In this process, in order to reduce the load of the server B 810, the server A 820 may be selected as a transfer target server. Alternatively, the transfer target server may be listed as load balancing is requested in the server B 810. The B server 810 may select at least one transfer target server from the list of transfer target servers. As the server A 820 and the server B 810 are classified as the server group to be arranged, the client 840 connected to the channel allocated to the server B may be moved to the server A 820. In detail, the IP address of the server A 820 may be shared with the client 840 of the server B 810. In this case, the client 840 may be moved while the entrance of the client who wants to further access the A server 820 and the B server 810 is blocked. The user side 830 of the client 840 may request access to the A server 820 based on the IP address of the A server. For example, the user side 830 may have a connector 850 provided at the channel and lobby server side. Such a role of connecting the client 840 connected to the server B 810 to the server A 820 through the connector may be performed. Client 840 may connect to server A 820. Accordingly, the server A 820 may share the connection state of the client with the server B 810. If the client 840 successfully connects to the server A 820, the client 840 may terminate the connection of the server B 810. The server A 820 may update the information of the client, or the information of the server A may be updated to the client 840.

일 실시예에 따른 로드밸런싱 방법은 클라이언트에 이전대상 서버와 종료예정 서버의 이중 연결 구조를 허용하기 때문에 이중 연결 중에도 종료예정 서버와 정보를 송수신할 수 있다. 또한, 클라이언트의 이중 연결이 완료됨에 따라 종료예정 서버와의 연결을 해지하면서 종료예정 서버와 이전대상 서버의 커넥션(Connection) 관계로 사용자의 정보를 이관해줄 수 있다. 이전대상 서버로 이관된 클라이언트들은 차례로 종료예정 서버, 즉, 기존 서버와의 연결을 해지할 수 있다. 이때, 상기 프로세스를 동시에 진행하는 것이 아니라, 시리얼하게 진행하게 된다. 동시에 프로세스를 진행할 때, 병목 현상이 발생하는 것을 방지하기 위하여 작업을 차례로 진행하는 것이다. 이와 같이, 클라이언트의 이전대상 서버와 종료예정 서버를 이중 연결함으로써 클라이언트 또는 클라이언트의 사용자는 서비스의 연결이 끊어지거나 문제가 발생하는 것을 느낄 수 없고, 자연스럽게 해당 서비스를 계속적으로 이용할 수 있다.Since the load balancing method according to an embodiment allows a client to have a dual connection structure between the transfer target server and the scheduled termination server, information may be transmitted and received with the scheduled termination server even during the dual connection. In addition, as the double connection of the client is completed, the user's information may be transferred in a connection relationship between the scheduled termination server and the transfer target server while the connection with the scheduled termination server is terminated. Clients transferred to the transfer target server may in turn terminate the connection with the scheduled server, that is, the existing server. At this time, the process is not performed simultaneously, but serially. As you progress through the process, you work in sequence to prevent bottlenecks from occurring. As such, by double-connecting the transfer target server of the client and the scheduled server to be terminated, the client or the user of the client does not feel that the service is disconnected or a problem occurs, and can naturally use the service continuously.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments are, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable gate arrays (FPGAs). Can be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For convenience of explanation, one processing device may be described as being used, but one of ordinary skill in the art will appreciate that the processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as parallel processors.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the above, and configure the processing device to operate as desired, or process independently or collectively. You can command the device. Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. It can be embodied in. The software may be distributed over networked computer systems so that they may be stored or executed in a distributed manner. Software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. The method according to the embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine code, such as produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.Although the embodiments have been described by the limited embodiments and the drawings as described above, various modifications and variations are possible to those skilled in the art from the above description. For example, the described techniques may be performed in a different order than the described method, and / or components of the described systems, structures, devices, circuits, etc. may be combined or combined in a different form than the described method, or other components. Or even if replaced or substituted by equivalents, an appropriate result can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are within the scope of the claims that follow.

Claims (20)

컴퓨터로 구현되는 서버 간의 로드밸런싱 방법에 있어서,
적어도 하나 이상의 서버와 네트워크를 통한 통신을 수행함에 따라 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색하는 단계;
상기 탐색된 정리대상 서버들에 선정된 종료예정 서버 및 이전대상 서버에 기반하여 상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계; 및
상기 이전대상 서버에서 상기 종료예정 서버로 공유되는 연결 상태에 따라 상기 종료예정 서버 또는 상기 종료예정 서버에 접속된 클라이언트의 정보를 상기 이전대상 서버에 업데이트하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
In the load balancing method between the server implemented as a computer,
Determining the remaining capacity of the server to which the channel is allocated as the communication through the network with the at least one server is performed, and searching the server to be cleaned up;
Connecting a client connected to the scheduled termination server to the transfer target server based on the scheduled termination server selected for the searched clearance target servers and a transfer target server; And
Updating information on the scheduled termination server or a client connected to the scheduled termination server to the transfer target server according to a connection state shared from the transfer target server to the scheduled termination server;
Load balancing method between servers comprising a.
제1항에 있어서,
상기 정리대상 서버들을 탐색하는 단계는,
각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 상기 이전대상 서버 또는 상기 종료예정 서버를 포함하는 정리대상 서버들을 탐색하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 1,
Searching for the cleanup target server,
Searching for cleanup target servers including the transfer target server or the scheduled termination server based on the number of clients connected to the channel of each server and the remaining capacity of the counterpart server other than the server;
Load balancing method between servers comprising a.
제2항에 있어서,
상기 정리대상 서버들을 탐색하는 단계는,
각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 판단된 이전대상 서버 또는 종료예정 서버를 상기 정리대상 서버로 군집화하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 2,
Searching for the cleanup target server,
Clustering a previous target server or a scheduled termination server based on the number of clients connected to the channel of each server and the remaining capacity of the other server other than the server to the cleaning target server;
Load balancing method between servers comprising a.
제3항에 있어서,
상기 정리대상 서버들을 탐색하는 단계는,
상기 정리대상 서버들로 군집화된 이전대상 서버 또는 상기 종료예정 서버를 리스트화하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 3,
Searching for the cleanup target server,
Listing the transfer target server clustered with the cleanup target servers or the scheduled server to be terminated;
Load balancing method between servers comprising a.
제3항에 있어서,
상기 정리대상 서버들을 탐색하는 단계는,
상기 각 서버의 적어도 하나 이상의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량을 기 설정된 기준에 기초하여 판단하는 단계
를 포함하고,
상기 기 설정된 기준은, 상기 정리대상 서버들을 탐색하기 위하여 설정된 시간 구간, 기간 구간, 요일 또는 날짜 중 어느 하나인, 서버 간의 로드밸런싱 방법.
The method of claim 3,
Searching for the cleanup target server,
Determining the number of clients connected to at least one channel of each server and the remaining capacity of a counterpart server other than the server based on a predetermined criterion;
Including,
The preset criterion is any one of a time section, a period section, a day of the week, or a date set to search the server to be cleaned up.
제1항에 있어서,
상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계는,
상기 종료예정 서버에 접속된 클라이언트에게 상기 이전대상 서버의 주소 정보를 공유하고, 상기 종료예정 서버 및 상기 이전대상 서버에 추가로 접속 요청된 클라이언트를 차단하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 1,
The step of connecting the client connected to the server to be finalized with the transfer target server,
Sharing the address information of the transfer target server to the client connected to the scheduled termination server, and blocking the scheduled termination server and the client additionally requested to access the transfer target server
Load balancing method between servers comprising a.
제6항에 있어서,
상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 단계는,
상기 종료예정 서버의 클라이언트로부터 상기 공유된 이전대상 서버의 주소 정보에 기초하여 상기 이전대상 서버로 접속이 요청됨에 따라 상기 종료예정 서버의 클라이언트를 상기 이전대상 서버로 연결시키는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 6,
The step of connecting the client connected to the server to be finalized with the transfer target server,
Connecting a client of the scheduled termination server to the transfer target server when a connection to the transfer target server is requested from the client of the scheduled termination server based on address information of the shared transfer target server;
Load balancing method between servers comprising a.
제6항에 있어서,
상기 종료예정 서버의 클라이언트는,
상기 종료예정 서버 및 상기 이전대상 서버에 다중 접속되고, 상기 다중 접속의 상태에서 상기 종료예정 서버와 정보의 송수신이 가능한, 서버 간의 로드밸런싱 방법.
The method of claim 6,
The client of the scheduled server to end,
And multiple accesses to the server to be terminated and the target server to be transferred, and to transmit and receive information to and from the server to be terminated in the state of the multiple access.
제1항에 있어서,
상기 이전대상 서버에 업데이트하는 단계는,
상기 종료예정 서버에 접속된 클라이언트가 상기 이전대상 서버에 연결됨에 따라 상기 이전대상 서버에서 상기 종료예정 서버로 상기 이전대상 서버에 연결된 클라이언트와의 연결 상태가 공유되는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 1,
Updating to the transfer target server,
Sharing a connection state with a client connected to the transfer target server from the transfer target server to the end target server as the client connected to the transfer target server is connected to the transfer target server;
Load balancing method between servers comprising a.
제9항에 있어서,
상기 이전대상 서버에 업데이트하는 단계는,
상기 클라이언트로부터 상기 종료예정 서버의 접속이 해지됨에 따라 상기 종료예정 서버의 작동을 종료하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 9,
Updating to the transfer target server,
Terminating the operation of the server to be terminated when the connection of the server to be terminated from the client is terminated;
Load balancing method between servers comprising a.
제9항에 있어서,
상기 이전대상 서버에 업데이트하는 단계는,
상기 클라이언트로부터 상기 종료예정 서버의 접속을 해지하면서, 상기 이전대상 서버와 상기 종료예정 서버의 커넥션(connection) 관계에서 상기 이전대상 서버에게 상기 클라이언트의 정보를 전달하는 단계
를 포함하는 서버 간의 로드밸런싱 방법.
The method of claim 9,
Updating to the transfer target server,
Transmitting the client's information to the transfer target server in a connection relationship between the transfer target server and the termination server while disconnecting the termination server from the client;
Load balancing method between servers comprising a.
컴퓨터로 구현되는 서버 간의 로드밸런싱을 수행하기 위한 로드밸런싱 서버에 있어서,
적어도 하나 이상의 서버와 네트워크를 통한 통신을 수행함에 따라 채널이 할당된 서버의 남은 가용량을 판단하여 정리대상 서버들을 탐색하는 탐색부;
상기 탐색된 정리대상 서버들에 선정된 종료예정 서버 및 이전대상 서버에 기반하여 상기 종료예정 서버에 접속된 클라이언트를 상기 이전대상 서버에 연결시키는 연결부; 및
상기 이전대상 서버에서 상기 종료예정 서버로 공유되는 연결 상태에 따라 상기 종료예정 서버 또는 상기 종료예정 서버에 접속된 클라이언트의 정보를 상기 이전대상 서버에 업데이트하는 업데이트부
를 포함하는 로드밸런싱 서버.
A load balancing server for performing load balancing between servers implemented by a computer,
A search unit for searching the server to be arranged by determining the remaining capacity of the server to which the channel is allocated as the communication through the network with the at least one server;
A connection unit which connects a client connected to the scheduled server to be terminated to the transfer target server based on the scheduled termination server selected by the searched grooming target servers and a transfer target server; And
An update unit for updating information about a client to be connected to the server to be terminated or the server to be terminated according to a connection state shared from the server to which the server is to be migrated to the server to be transferred to the server;
Load balancing server comprising a.
제12항에 있어서,
상기 탐색부는,
각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 상기 이전대상 서버 또는 상기 종료예정 서버를 포함하는 정리대상 서버들을 탐색하는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 12,
The search unit,
Searching for cleanup target servers including the transfer target server or the scheduled termination server based on the number of clients connected to the channel of each server and the remaining capacity of the counterpart server other than the server;
Load balancing server, characterized in that.
제13항에 있어서,
상기 탐색부는,
각 서버의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량에 기초하여 판단된 이전대상 서버 또는 종료예정 서버를 상기 정리대상 서버로 군집화하고, 상기 정리대상 서버들로 군집화된 이전대상 서버 또는 상기 종료예정 서버를 리스트화하는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 13,
The search unit,
The previous target server or the scheduled end server, which is determined based on the number of clients connected to the channel of each server and the remaining capacity of the other server other than the server, is clustered into the grooming target server and clustered into the grooming target servers. To list the target server or the server to be transferred
Load balancing server, characterized in that.
제13항에 있어서,
상기 탐색부는,
상기 각 서버의 적어도 하나 이상의 채널에 접속된 클라이언트의 개수와 상기 서버 이외의 상대방 서버의 남은 가용량을 기 설정된 기준에 기초하여 판단하는 것을 포함하고,
상기 기 설정된 기준은, 상기 정리대상 서버들을 탐색하기 위하여 설정된 시간 구간, 기간 구간, 요일 또는 날짜 중 어느 하나인, 것을 특징으로 하는 로드밸런싱 서버.
The method of claim 13,
The search unit,
Determining the number of clients connected to at least one channel of each server and the remaining capacity of a counterpart server other than the server based on a predetermined criterion;
The preset criterion is any one of a time interval, a period interval, a day of the week, or a date set for searching the server to be cleaned up.
제11항에 있어서,
상기 연결부는,
상기 종료예정 서버에 접속된 클라이언트에게 상기 이전대상 서버의 주소 정보를 공유하고, 상기 종료예정 서버 및 상기 이전대상 서버에 추가로 접속 요청된 클라이언트를 차단하는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 11,
The connecting portion,
Sharing the address information of the transfer target server to the client connected to the scheduled termination server, and blocking the additional termination request server and the client requested to access the transfer target server
Load balancing server, characterized in that.
제16항에 있어서,
상기 연결부는,
상기 종료예정 서버의 클라이언트로부터 상기 공유된 이전대상 서버의 주소 정보에 기초하여 상기 이전대상 서버로 접속이 요청됨에 따라 상기 종료예정 서버의 클라이언트를 상기 이전대상 서버로 연결시키는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 16,
The connecting portion,
Connecting the client of the scheduled server to the target server as a connection is requested from the client of the scheduled server to the target server based on the address information of the shared target server.
Load balancing server, characterized in that.
제16항에 있어서,
상기 종료예정 서버의 클라이언트가 상기 종료예정 서버 및 상기 이전대상 서버에 다중 접속되고, 상기 다중 접속의 상태에서 상기 종료예정 서버와 정보의 송수신이 가능한 것을 특징으로 하는 로드밸런싱 서버.
The method of claim 16,
And a client of the scheduled server to be multiplexed to the scheduled server and the transfer target server, and to transmit and receive information to and from the scheduled server in the multiple access state.
제11항에 있어서,
상기 업데이트부는,
상기 종료예정 서버에 접속된 클라이언트가 상기 이전대상 서버에 연결됨에 따라 상기 이전대상 서버에서 상기 종료예정 서버로 상기 이전대상 서버에 연결된 클라이언트와의 연결 상태가 공유되는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 11,
The update unit,
As the client connected to the server to be terminated is connected to the server to be transferred, the connection state with the client connected to the server to be transferred from the server to the server is shared.
Load balancing server, characterized in that.
제9항에 있어서,
상기 이전대상 서버에 업데이트하는 단계는,
상기 클라이언트로부터 상기 종료예정 서버의 접속이 해지됨에 따라 상기 종료예정 서버의 작동을 종료하고, 상기 클라이언트로부터 상기 종료예정 서버의 접속을 해지하면서, 상기 이전대상 서버와 상기 종료예정 서버의 커넥션(connection) 관계에서 상기 이전대상 서버에게 상기 클라이언트의 정보를 전달하는
것을 특징으로 하는 로드밸런싱 서버.
The method of claim 9,
Updating to the transfer target server,
The connection between the transfer target server and the server to be terminated is terminated while the operation of the server to be terminated is terminated as the connection of the server to be terminated from the client is terminated and the server to be terminated is disconnected from the client. Transferring the client's information to the transfer target server in a relationship
Load balancing server, characterized in that.
KR1020180064693A 2018-06-05 2018-06-05 Method and system for automatic load balancing of server channels based on user movement KR102077061B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180064693A KR102077061B1 (en) 2018-06-05 2018-06-05 Method and system for automatic load balancing of server channels based on user movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180064693A KR102077061B1 (en) 2018-06-05 2018-06-05 Method and system for automatic load balancing of server channels based on user movement

Publications (2)

Publication Number Publication Date
KR20190138355A true KR20190138355A (en) 2019-12-13
KR102077061B1 KR102077061B1 (en) 2020-02-14

Family

ID=68847400

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180064693A KR102077061B1 (en) 2018-06-05 2018-06-05 Method and system for automatic load balancing of server channels based on user movement

Country Status (1)

Country Link
KR (1) KR102077061B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225059A (en) * 2020-01-10 2020-06-02 中移(杭州)信息技术有限公司 Network request resource scheduling method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008510360A (en) * 2004-08-13 2008-04-03 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Server and method for handover between two serving call control servers
KR101659579B1 (en) * 2015-05-29 2016-09-23 주식회사 코이노 Server multiplex service providing apparatus using publish-subscribe method and method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008510360A (en) * 2004-08-13 2008-04-03 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Server and method for handover between two serving call control servers
KR101659579B1 (en) * 2015-05-29 2016-09-23 주식회사 코이노 Server multiplex service providing apparatus using publish-subscribe method and method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225059A (en) * 2020-01-10 2020-06-02 中移(杭州)信息技术有限公司 Network request resource scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
KR102077061B1 (en) 2020-02-14

Similar Documents

Publication Publication Date Title
JP7202369B2 (en) Leveraging microservice containers to provide tenant isolation in a multi-tenant API gateway
US10298666B2 (en) Resource management for multiple desktop configurations for supporting virtual desktops of different user classes
US9276987B1 (en) Identifying nodes already storing indicated input data to perform distributed execution of an indicated program in a node cluster
US9280390B2 (en) Dynamic scaling of a cluster of computing nodes
US10715460B2 (en) Opportunistic resource migration to optimize resource placement
CN104981781B (en) Distributed computing system and the method for operating distributed computing system
US10601908B1 (en) Partitioning of container workload based on a temporal relationship
US11222083B2 (en) Web crawler platform
CN109843404B (en) Method and system for sharing user activity information
US10154091B1 (en) Deploying infrastructure units according to resource hosting constraints
JP2021152911A (en) Data management method, apparatus, computing device, storage medium, and cloud platform
KR102077061B1 (en) Method and system for automatic load balancing of server channels based on user movement
CN104838358A (en) Cloud based application factory and publishing service
US11082520B2 (en) Process broker for executing web services in a system of engagement and system of record environments
US11336519B1 (en) Evaluating placement configurations for distributed resource placement
US11507433B2 (en) Infrastructure load balancing using software-defined networking controllers
US20170351554A1 (en) Method and system for cloud service based on redistribution of processing power
KR102456005B1 (en) Method, system, and computer readable record medium for scheduling containers that use page cache
KR102102536B1 (en) System and method for managing unified reservations
JP7253317B2 (en) Methods, computer programs and systems for providing digital content
Chiu et al. Massage-Passing Interface Cluster Bulid upon System Kernel Environment
KR20230037196A (en) Method, system, and computer program for manage multiple federated learning models mounted on devices

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