KR101072612B1 - Wating number ticket management method - Google Patents

Wating number ticket management method Download PDF

Info

Publication number
KR101072612B1
KR101072612B1 KR1020100063598A KR20100063598A KR101072612B1 KR 101072612 B1 KR101072612 B1 KR 101072612B1 KR 1020100063598 A KR1020100063598 A KR 1020100063598A KR 20100063598 A KR20100063598 A KR 20100063598A KR 101072612 B1 KR101072612 B1 KR 101072612B1
Authority
KR
South Korea
Prior art keywords
waiting
user terminal
waiting table
list
wait
Prior art date
Application number
KR1020100063598A
Other languages
Korean (ko)
Other versions
KR20100094430A (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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=42758522&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=KR101072612(B1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by (주)에임투지 filed Critical (주)에임투지
Publication of KR20100094430A publication Critical patent/KR20100094430A/en
Application granted granted Critical
Publication of KR101072612B1 publication Critical patent/KR101072612B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/04Traffic adaptive resource partitioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

본 발명은 대기표 관리 방법, 리소스 관리 방법 및 트랜잭션 서버를 제공한다. 본 발명은 대기표를 가지지 않고 접속한 사용자 단말들에게 접속 순번을 나타내는 대기표를 각각 제공하고, 사용자 단말에게 제공한 대기표를 대기 리스트에 등록하며, 상기 대기 리스트와 할당 리스트를 이용하여 초당 평균 대기표 처리수를 산출하고 상기 초당 평균 대기표 처리수와 상기 대기리스트를 이용하여 허용 대기표를 설정한 후, 리소스 할당을 요청하는 사용자 단말의 대기표의 순번과 상기 허용 대기표의 순번을 비교하여 리소스 할당 여부를 결정하며, 리소스 할당된 사용자 단말의 대기표를 상기 대기 리스트에서 삭제한 후 할당 리스트에 등록한다.The present invention provides a wait table management method, a resource management method, and a transaction server. The present invention provides a waiting table indicative of the access sequence number to user terminals connected without the waiting table, registers the waiting table provided to the user terminal in the waiting list, and uses the waiting list and the allocation list to process the average waiting table number per second. Calculates and sets an allowable wait table using the average wait table processing number per second and the wait list, and then determines whether to allocate resources by comparing the order of the wait table of the user terminal requesting resource allocation with the order of the allowed wait table, The waiting table of the resource-allocated user terminal is deleted from the waiting list and then registered in the allocation list.

Description

대기표 관리 방법{Wating number ticket management method}Waiting ticket management method {Wating number ticket management method}

본 발명은 네트워크 시스템의 리소스(resource) 관리를 위한 사용자 단말에 대한 접속을 관리하는 기술에 대한 것이다. 특히 본 발명은 각 사용자 단말의 리소스 할당을 요청하는 접속 순서를 기반으로 하는 대기표를 이용하여 관리하는 대기표 관리 방법에 관한 것이다.The present invention relates to a technique for managing access to a user terminal for resource management of a network system. In particular, the present invention relates to a waiting table management method for managing using a waiting table based on a connection order for requesting resource allocation of each user terminal.

일반적으로, 웹(WEB) 서버나 왑(WAP) 서버 등과 같은 네트워크 시스템은 많은 사용자들의 접속이 짧은 시간 내에 갑자기 폭주하면, 접속 처리가 지연되거나 심지어는 시스템이 동작하지 않고 다운되는 문제가 발생한다. In general, a network system such as a Web server or a WAP server may cause a problem in that when a large number of users suddenly runaway in a short time, the connection process may be delayed or even the system may be down without operation.

이러한 문제는 네트워크 시스템이 한정된 리소스를 이용하여 많은 사용자들의 접속을 처리하기 때문이며, 특히 네트워크 시스템이 모든 사용자들과의 접속을 유지한 채 접속 처리를 하기 때문에 발생한다.This problem occurs because the network system handles the connection of many users using limited resources, and in particular, the network system handles the connection while maintaining the connection with all users.

현재 이러한 문제는 서버를 증설하여 사용자들의 접속을 처리하는 것으로 해결하고 있다. Currently, this problem is solved by adding a server to handle users' access.

그러나 서버를 증설하는 것은 사용자의 요청을 받아 줄 수는 있지만, DB(Database)나 WAS(Web Application Server)와 같이 한정된 리소스를 사용하는 장치의 처리능력에 한계가 있기 때문에 사용자의 요청이 일정수준 이상이 되면 더 이상 처리를 못하게 되는 문제가 발생한다. 그리고 사용자의 요청이 일정수준 이상인 경우는 해당 요청의 처리 이외에 한정된 리소스와 관련된 모든 서비스에 영향을 주게 되어 전체 서비스를 원활하게 제공하지 못한다. 또한 서버를 증설하기 위해서는 서버 증설 수만큼의 비용이 추가적으로 필요로 하는 문제가 있다.However, although the expansion of the server can accommodate the user's request, the user's request is more than a certain level because of the limited processing power of devices using limited resources such as DB (Database) or WAS (Web Application Server). This causes a problem that can no longer be processed. In addition, if the user's request is above a certain level, all services related to the limited resources are affected in addition to processing the request, and thus the entire service cannot be provided smoothly. In addition, in order to expand the server, there is a problem that additional cost as much as the number of server expansion is required.

본 발명이 이루고자 하는 기술적 과제는 한정된 리소스로 처리할 수 있는 한계치 이상의 접속자가 접속하여도 네트워크 시스템에 부하를 주지 않고 안정적으로 서비스 프로세서를 수행할 수 있게 하는 대기표 관리 방법을 제공하는 것이다.An object of the present invention is to provide a standby table management method that enables a service processor to be stably executed without a load on a network system even when an accessor having a limit value capable of processing a limited resource is connected.

상기 기술적 과제를 달성하기 위한 제1 특징에 따른 본 발명은 사용자 단말들에게 리소스를 할당하여 서비스 이용을 가능하게 하는 네트워크 시스템에서의 대기표 관리 방법을 제공한다. 이 대기표 관리 방법은 대기표를 가지지 않고 접속한 사용자 단말들에게 접속 순번을 나타내는 대기표를 각각 제공하는 단계, 사용자 단말에게 제공한 대기표를 대기 리스트에 등록하는 단계, 그리고 대기표를 가지고 접속한 사용자 단말의 리소스 할당 요청에 따라 리소스 할당이 이루어진 경우에 리소스 할당이 이루어진 사용자 단말의 대기표를 상기 대기 리스트에서 삭제한 후 할당 리스트에 등록하는 단계를 포함한다.The present invention according to the first aspect for achieving the above technical problem provides a method for managing a waiting table in a network system that enables the use of services by allocating resources to user terminals. This waiting table management method comprises the steps of providing a waiting table indicative of the access sequence to user terminals connected without the waiting table, registering the waiting table provided to the user terminal in the waiting list, and resources of the user terminal connected with the waiting table. When the resource allocation is made according to the allocation request, the step of deleting the waiting table of the user terminal that has been allocated the resource from the waiting list and registering in the allocation list.

전술한 실시 예에 따르면, 본 발명은 리소스 할당을 요청하는 접속자를 접속순서에 따라 대기표를 발급함으로써, 서비스 이용 순서, 대기자, 서비스 포기자 및 서비스 사용자를 확인하여 안정적으로 서비스를 제공할 수 있게 한다.According to the above-described embodiment, the present invention can stably provide a service by checking a service use order, a waiter, a service giver, and a service user by issuing a waiting table for a requestor for resource allocation according to a connection order. .

도 1은 본 발명이 적용되는 일 예에 따른 서비스 개념도이다.
도 2는 도 1의 서비스 환경을 달성하는 일 예에 따른 데이터 흐름도이다.
도 3은 본 발명의 실시 예에 따른 대기표 관리 방법이 적용된 서비스 환경에서의 데이터 흐름도이다.
도 4는 본 발명의 실시 예에 따른 네트워크 시스템의 블록 구성도이다.
도 5는 본 발명의 실시 예에 따른 네트워크 시스템의 동작 순서도이다.
도 6은 도 4에 도시된 서비스 컨트롤러를 구체화한 일 실시 예에 따른 블록 구성도이다.
도 7은 도 4에 도시된 트랜잭션 서버를 구체화한 일 실시 예에 따른 블록 구성도이다.
도 8은 도 4를 기반으로 한 본 발명의 실시 예에 따른 대기표 발급 방법을 설명하기 위한 도면이다.
도 9는 도 4를 기반으로 한 본 발명의 다른 실시 예에 따른 대기표 발급 방법을 설명하기 위한 도면이다.
도 10은 도 9를 기반으로 한 본 발명의 실시 예에 따른 리소스 할당 허용 방법을 설명하기 위한 도면이다.
도 11은 본 발명의 실시 예에 따른 대기 리스트를 보인 도면이다.
도 12는 본 발명의 실시 예에 따른 할당 리스트를 보인 도면이다.
1 is a conceptual view of a service according to an embodiment to which the present invention is applied.
FIG. 2 is a data flow diagram illustrating an example of achieving the service environment of FIG. 1.
3 is a flowchart illustrating a data in a service environment to which a waiting table management method according to an exemplary embodiment of the present invention is applied.
4 is a block diagram of a network system according to an embodiment of the present invention.
5 is a flowchart illustrating an operation of a network system according to an exemplary embodiment of the present invention.
FIG. 6 is a block diagram according to an exemplary embodiment of the service controller illustrated in FIG. 4.
FIG. 7 is a block diagram illustrating an embodiment of the transaction server illustrated in FIG. 4.
FIG. 8 is a diagram for describing a method of issuing a waiting table according to an embodiment of the present invention based on FIG. 4.
FIG. 9 is a diagram for describing a method of issuing a waiting table according to another embodiment of the present invention based on FIG. 4.
FIG. 10 is a diagram for describing a method for allowing resource allocation according to an embodiment of the present invention based on FIG. 9.
11 is a diagram illustrating a waiting list according to an embodiment of the present invention.
12 is a diagram illustrating an allocation list according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.
Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise.

이제, 첨부한 도면을 참조로 하여 본 발명의 실시 예에 따른 대기표 관리 방법, 트랜잭션 서버, 서비스 컨트롤러 및 네트워크 시스템을 설명한다.Now, a standby table management method, a transaction server, a service controller, and a network system will be described with reference to the accompanying drawings.

우선 본 발명이 적용될 수 있는 서비스의 일 예를 도 1을 참조로 하여 개념적으로 설명한다. 도 1은 본 발명이 적용되는 일 예에 따른 서비스 개념도이다. 도 1에서는 사용자가 3명인 경우를 일 예로 설명한다. 물론 본 발명의 서비스 대상인 사용자는 숫자에 한정되지 않으며 네트워크 시스템에 접속 가능한 모든 사용자 단말을 그 서비스 대상으로 한다.First, an example of a service to which the present invention may be applied will be conceptually described with reference to FIG. 1. 1 is a conceptual view of a service according to an embodiment to which the present invention is applied. In FIG. 1, the case of three users will be described as an example. Of course, the user of the service target of the present invention is not limited to the number, and all the user terminals connectable to the network system are the service target.

통상의 방법으로 사용자 단말(1, 2, 3)은 본 발명의 네트워크 시스템(20)을 이용하기 위해서 네트워크 시스템(20)에 접속한다. 이때 네트워크 시스템(20)에 접속하는 순서는 사용자 단말(1)이 제일 빠르고 다음으로 사용자 단말(2), 그 다음으로 사용자 단말(3)의 순서라고 가정한다.In a conventional manner, the user terminals 1, 2, 3 connect to the network system 20 in order to use the network system 20 of the present invention. In this case, it is assumed that the order of accessing the network system 20 is the order in which the user terminal 1 is the fastest and the next, in the order of the user terminal 2 and then the user terminal 3.

그러면 네트워크 시스템(20)은 접속 순서에 따라 사용자 단말(1), 사용자 단말(2), 사용자 단말(3)의 순서로 각각 대기표와 대기 시간(T1 또는 T2 또는 T3)을 포함하는 대기알림 메시지를 전송한다. 여기서 대기알림 메시지는 네트워크 시스템(20)의 가용 리소스(사용자 단말에게 할당 가능한 리소스)가 없어 리소스를 할당하지 못하는 사용자 단말에게 제공된다.Then, the network system 20 generates a standby notification message including a waiting table and a waiting time (T1 or T2 or T3) in the order of the user terminal 1, the user terminal 2, and the user terminal 3 in the order of connection. send. The wait notification message is provided to a user terminal that cannot allocate resources because there are no available resources (resources that can be allocated to the user terminal) of the network system 20.

대기알림 메시지는 대기를 지시하는 대기 식별자를 포함하며, 대기 식별자는 대기알림 메시지의 헤더 정보에 포함되거나, 대기알림 메시지의 페이로드(payload)에 포함된다. 대기 식별자는 네트워크 시스템(20)으로의 접속 대기를 지시하는 역할을 한다. 여기서 대기표는 대기 식별자로 이용될 수 있다. The wait notification message includes a wait identifier indicating the wait, and the wait identifier is included in the header information of the wait notification message or in the payload of the wait notification message. The standby identifier serves to indicate waiting for a connection to the network system 20. The wait table may be used as a wait identifier.

따라서 사용자 단말(1, 2, 3)은 대기알림 메시지를 수신하면 네트워크 시스템(20)으로의 접속을 해지하고, 대기 시간 동안만큼 대기한 후 네트워크 시스템(20)에 재접속한다. 여기서 사용자 단말과 네트워크 시스템 간의 접속 해지는 사용자 단말의 주도하에 이루어질 수 있고, 또는 네트워크 시스템의 주도하에 이루어질 수 있다.Therefore, when receiving the standby notification message, the user terminals 1, 2, and 3 terminate the connection to the network system 20, wait for the waiting time, and then reconnect to the network system 20. Here, the connection between the user terminal and the network system may be made under the initiative of the user terminal, or may be made under the initiative of the network system.

한편 사용자 단말(1, 2, 3)에게 제공되는 대기 시간(T1, T2, T3)는 동일할 수 있으며, 동일하지 않을 수 있다.Meanwhile, the waiting times T1, T2, and T3 provided to the user terminals 1, 2, and 3 may be the same, or may not be the same.

대기 시간(T1, T2, T3)이 동일한 경우에 대기 시간은 디폴트(default)로 설정된 값인 것이 양호하다. 대기 시간(T1, T2, T3)이 동일하더라도 사용자 단말(1, 2, 3)은 네트워크 시스템(20)으로의 접속 시간이 다르고, 그에 따라 네트워크 시스템(20)에서 사용자 단말(1, 2, 3) 각각에 대기 시간을 제공하는 시점이 다르므로, 대기 시간에 따른 사용자 단말(1, 2, 3)의 접속은 서로 다르게 된다. In the case where the waiting times T1, T2, and T3 are the same, the waiting time is preferably set to a default value. Although the waiting times T1, T2, and T3 are the same, the user terminals 1, 2, and 3 have different access times to the network system 20, and accordingly, the user terminals 1, 2, 3 in the network system 20 are different. Since the time points for providing the waiting time are different from each other, the connection of the user terminals 1, 2, 3 according to the waiting time is different.

대기 시간(T1, T2, T3)이 다른 경우에 대기 시간은 리소스 사용 상태에 따라 결정되는 것이 양호하며, 접속이 늦을수록 대기 시간이 긴 것이 양호하다. 예컨대, 사용자 단말(1)에 제공된 대기 시간(T1)은 가장 길고, 사용자 단말(2)에 제공된 대기 시간(T2)는 대기 시간(T1)보다 짧으며, 사용자 단말(3)에 제공된 대기 시간(T3)은 가장 짧다.When the waiting times T1, T2, and T3 are different, the waiting time is preferably determined according to the resource usage state, and the longer the connection is, the longer the waiting time is. For example, the waiting time T1 provided to the user terminal 1 is the longest, and the waiting time T2 provided to the user terminal 2 is shorter than the waiting time T1, and the waiting time T provided to the user terminal 3 ( T3) is the shortest.

결국, 대기 시간이 동일하거나 다르더라도 사용자 단말(1)의 재접속은 사용자 단말(2, 3)보다 빠르고, 사용자 단말(2)의 재접속은 사용자 단말(3)보다 빠르게 된다.As a result, even if the waiting time is the same or different, the reconnection of the user terminal 1 is faster than the user terminals 2 and 3, and the reconnection of the user terminal 2 is faster than the user terminal 3.

물론 대기 시간은 당장 리소스 할당을 할 수 없는 사용자 단말에게 제공되고,대기알림 메시지를 통해 사용자 단말에게 제공된다.Of course, the waiting time is provided to the user terminal which cannot allocate resources immediately, and is provided to the user terminal through the standby notification message.

여기서 본 발명을 위해서 네트워크 시스템(20)은 대기 시간을 산출하거나 리소스를 할당하기 위해서 대기표를 이용하여 사용자 단말의 접속 순서를 파악하고 있다.Here, for the purposes of the present invention, the network system 20 uses the wait table to determine the connection order of the user terminal in order to calculate the wait time or allocate resources.

그리고 네트워크 시스템(20)은 파악한 대기표를 기반으로, 현재의 리소스 사용 상태에서 리소스 할당이 가능한 대기표를 파악하여 리소스 할당을 하고, 리소스 할당한 리소스 사용자가 누구이고 리소스의 사용을 완료하고 빠져나간 대기표를 파악할 수 있다.The network system 20 allocates resources by identifying a standby table capable of allocating resources in the current resource usage state, and selects a standby table of who is the resource user who has allocated the resource and who has finished using the resource. I can figure it out.

이하, 도 2를 참조로 하여 도 1을 참조로 한 서비스를 달성하는 일 예를 설명한다. 도 2를 참조로 한 이하의 일 예는 본 발명과는 무관하나 참고적으로 기술한다. 도 2는 도 1의 서비스 환경을 달성하는 일 예에 따른 데이터 흐름도이다. 이하에서는 모든 사용자 단말(1, 2, 3)을 총칭하여 사용자 단말(100)이라 한다.Hereinafter, an example of achieving the service with reference to FIG. 1 will be described with reference to FIG. 2. The following example with reference to FIG. 2 will be described with reference to, although not related to the present invention. FIG. 2 is a data flow diagram illustrating an example of achieving the service environment of FIG. 1. Hereinafter, all the user terminals 1, 2, and 3 are collectively referred to as the user terminal 100.

사용자는 사용자 단말(100)을 통해 네트워크 시스템(20)에 접속한다(S201). 그러면 네트워크 시스템(20)은 접속한 사용자 단말(100)의 고유 식별자를 파악하고(S202), 부여 가능한 최소 번호의 접속 순번을 파악한 후(S203), 파악한 고유 식별자에 상기 접속 순번을 매칭하여 저장한다(S204).The user accesses the network system 20 through the user terminal 100 (S201). Then, the network system 20 grasps the unique identifier of the connected user terminal 100 (S202), grasps the connection sequence number of the minimum number that can be assigned (S203), and matches and stores the connection sequence number to the identified unique identifier. (S204).

그런 다음 네트워크 시스템(20)은 사용자 단말(100)에게 리소스 할당이 가능한지를 판단한다(S205).Then, the network system 20 determines whether resource allocation is possible to the user terminal 100 (S205).

네트워크 시스템(20)은 사용자 단말(100)의 접속 순번보다 빠른 접속 순번을가진 다른 사용자가 많고, 그 많음이 현재의 가용 리소스량으로 처리되지 못하는 정도이면 리소스를 할당하지 않는다. 물론 네트워크 시스템(20)은 사용자 단말(100)의 순번보다 빠른 순번을 가진 이전 접속자가 없거나 적고, 현재의 가용 리소스량으로 이전 접속자 모두를 충분히 수용할 정도이면 리소스를 할당한다.The network system 20 does not allocate resources if there are many other users having access numbers faster than the access numbers of the user terminal 100, and the amount is not enough to handle the current available resource amount. Of course, the network system 20 allocates resources when there are no or fewer previous accessors having a faster turn than the turn of the user terminal 100, and enough capacity to accommodate all the previous accessors with the current available resource amount.

상기 이전 접속자는 현재 접속한 사용자 단말을 기준으로 순번이 빠른 순번을 가진 사용자 단말을 의미한다.The previous accessor refers to a user terminal having a fast sequence number based on the currently connected user terminal.

상기 판단(S205)으로, 네트워크 시스템(20)은 사용자 단말(100)에게 리소스를 할당하지 못한다고 판단하면 가용 리소스량과 이전 접속자의 수를 이용하여 사용자 단말(100)에게 제공할 대기 시간을 산출한다(S206). 대기 시간은 가용 리소스량이 많거나 이전 접속자의 수가 적을수록 짧아지고, 가용 리소스량이 작거나 이전 접속자의 수가 많을수록 길어진다.In step S205, if the network system 20 determines that the resource is not allocated to the user terminal 100, the network system 20 calculates a waiting time to be provided to the user terminal 100 using the amount of available resources and the number of previous accessors. (S206). The wait time becomes shorter as the amount of available resources or the number of previous accessors is short, and as the amount of available resources is small or the number of previous accessors is longer.

그리고 네트워크 시스템(20)은 산출한 대기 시간을 포함하는 대기알림 메시지를 사용자 단말(10)에게 제공한다(S207).In addition, the network system 20 provides a waiting notification message including the calculated waiting time to the user terminal 10 (S207).

그러면 사용자 단말(100)은 대기알림 메시지를 수신함과 동시에 네트워크 시스템(20)과의 접속을 해지하고(S208), 대기 시간 카운트를 하여(S209), 대기 시간 카운트가 종료되는 시점에서 다시 네트워크 시스템(20)에 재접속을 한다(S201).Then, the user terminal 100 receives the standby notification message and at the same time terminates the connection with the network system 20 (S208), counts the waiting time (S209), and at the time when the waiting time count ends, the network system ( Reconnect to 20) (S201).

대기 시간 카운트는 대기 시간을 수신한 시점으로부터 대기 시간까지의 시간 카운트를 의미한다. 예컨대, 대기 시간이 10초이면 대기 시간 카운트는 수신한 시점으로부터 10초 후까지를 시간 카운트를 하는 것이다.The wait time count means a time count from the time point at which the wait time is received to the wait time. For example, if the waiting time is 10 seconds, the waiting time count is a time count from 10 seconds after the reception time.

한편, 네트워크 시스템(20)은 상기 판단(S205)에서 사용자 단말(100)에게 리소스 할당이 가능하다고 판단하면, 사용자 단말(100)에게 리소스를 할당한다(S210). 그러면 사용자 단말(100)은 할당된 리소스를 사용하여 서비스를 이용한다(S211). On the other hand, if the network system 20 determines that the resource allocation is possible to the user terminal 100 in the determination (S205), allocates the resource to the user terminal 100 (S210). Then, the user terminal 100 uses the service using the allocated resources (S211).

한편, 네트워크 시스템(20)은 사용자 단말(100)이 대기 시간이 종료되는 제1시점 또는 제1 시점으로부터 설정된 유효 시간 이내에 접속하지 않으면 사용자 단말(100)에 대응하여 매칭된 접속 순번을 삭제한다.On the other hand, if the user terminal 100 does not connect within the valid time set from the first time point or the first time point when the waiting time ends, the network system 20 deletes the matching access sequence number corresponding to the user terminal 100.

다음으로, 도 3을 참조로 하여 도 1을 참조로 한 서비스를 달성하는 다른 예를 설명한다. 도 3을 참조로 한 이하의 설명은 본 발명이 적용되는 일 예이다. 도 3은 본 발명의 실시 예에 따른 대기표 관리 방법이 적용된 서비스 환경에서의 데이터 흐름도이다.Next, another example of achieving the service with reference to FIG. 1 will be described with reference to FIG. 3. The following description with reference to FIG. 3 is an example to which the present invention is applied. 3 is a flowchart illustrating a data in a service environment to which a waiting table management method according to an exemplary embodiment of the present invention is applied.

사용자는 사용자 단말(100)을 통해 네트워크 시스템(20)에 제1 접속하여 접속 순번의 발급을 요청한다(S201). 여기서 접속 순번은 사용자 단말에게 제공되는 형태를 가지므로 이하에서는 "대기표(wating number ticket)"라 한다. The user first accesses the network system 20 through the user terminal 100 and requests for issuance of the access sequence (S201). Here, since the access sequence has a form provided to the user terminal, it is referred to as a "wating number ticket" below.

제1 접속은 대기표를 가지지 않은 사용자 단말(100)이 네트워크 시스템(20)에 접속하는 것으로, 이하에서는 네트워크 시스템(20)에 대기표를 요구하는 접속으로 지칭한다. 그리고 대기표는 대기 식별자이며, 접속 순번을 알리는 번호 정보를 포함한다.The first connection is a connection of the user terminal 100 having no waiting table to the network system 20, hereinafter referred to as a connection requesting the waiting table to the network system 20. The wait table is a wait identifier and includes number information indicating the access sequence number.

네트워크 시스템(20)은 사용자 단말(100)의 제1 접속을 대기표 발급 요청으로 인식하고, 사용자 단말(100)에게 대기표를 제공한다(S302).The network system 20 recognizes the first connection of the user terminal 100 as a request for issuing a waiting table and provides a waiting table to the user terminal 100 (S302).

사용자 단말(100)은 대기표를 수신하면(S203), 제2 접속으로 네트워크 시스템(20)에 접속한다(S304). 제2 접속은 사용자 단말(100)이 대기표를 이용하여 네트워크 시스템(20)에 접속하는 것을 의미하며, 이하에서는 네트워크 시스템(20)에 리소스 할당을 요청하는 접속으로 지칭한다.When the user terminal 100 receives the waiting table (S203), it connects to the network system 20 through the second connection (S304). The second connection means that the user terminal 100 accesses the network system 20 using the waiting table, hereinafter referred to as a connection requesting resource allocation to the network system 20.

그러면 네트워크 시스템(20)은 수신된 대기표로 대기 순번을 파악하고 가용 리소스량을 파악한다(S305). 그런 다음 네트워크 시스템(20)은 S305 과정의 파악을 통해 사용자 단말(100)에게 리소스를 할당 가능한지를 판단한다(S306).The network system 20 then grasps the waiting sequence number with the received waiting table and determines the amount of available resources (S305). Then, the network system 20 determines whether the resource can be allocated to the user terminal 100 through the grasp of step S305 (S306).

네트워크 시스템(20)은 사용자 단말(100)의 대기표보다 순번(즉, 번호)이 빠른 다른 사용자가 많고, 그 많음이 현재의 가용 리소스량으로 처리되지 못하는 정도이면 리소스를 할당하지 않는다. 물론 네트워크 시스템(20)은 사용자 단말(100)의 대기표보다 순번이 빠른 대기표를 가진 사용자(또는 사용자 단말)가 없거나 적고, 현재의 가용 리소스량으로 이전 접속자 모두를 충분히 수용할 정도이면 리소스를 할당한다.The network system 20 does not allocate resources if there are many other users whose turn numbers (ie, numbers) are faster than the waiting table of the user terminal 100, and the number is not enough to process the current available resource amount. Of course, the network system 20 allocates resources when there are no users (or user terminals) having a waiting table that is faster than the waiting table of the user terminal 100, and enough capacity to accommodate all previous accessors with the current available resource amount. .

상기 이전 접속자는 임의의 대기표보다 순번이 빠른 대기표를 가진 사용자를 의미한다.The previous accessor refers to a user having a waiting table which is faster than any waiting table.

상기 판단(S305)으로, 네트워크 시스템(20)은 사용자 단말(100)에게 리소스를 할당하지 못한다고 판단하면 가용 리소스량과 이전 접속자의 수를 이용하여 사용자 단말(100)에게 제공할 대기 시간을 산출한다(S307). 대기 시간은 가용 리소스량이 많거나 이전 접속자의 수가 적을수록 짧아지고, 가용 리소스량이 작거나 이전 접속자의 수가 많을수록 길어진다.In step S305, if the network system 20 determines that a resource cannot be allocated to the user terminal 100, the network system 20 calculates a waiting time to be provided to the user terminal 100 using the available resource amount and the number of previous accessors. (S307). The wait time becomes shorter as the amount of available resources or the number of previous accessors is short, and as the amount of available resources is small or the number of previous accessors is longer.

네트워크 시스템(20)은 산출한 대기 시간을 사용자 단말(10)에게 제공한다(S308).The network system 20 provides the calculated waiting time to the user terminal 10 (S308).

그러면 사용자 단말(100)은 대기 시간을 수신함과 동시에 네트워크 시스템(20)과의 접속을 해지하고(S309), 대기 시간 카운트하여 대기 시간 카운트가 종료되는 시점에서 다시 네트워크 시스템(20)에 제2 접속을 하여 리소스 할당 요청을 한다(S304). Then, the user terminal 100 receives the waiting time and at the same time terminates the connection with the network system 20 (S309), counts the waiting time, and at the end of the waiting time counting, the second connection to the network system 20 again. To make a resource allocation request (S304).

대기 시간 카운트는 대기 시간을 수신한 시점으로부터 대기 시간까지의 시간 카운트를 의미한다. 예컨대, 대기 시간이 10초이면 대기 시간 카운트는 수신한 시점으로부터 10초 후까지를 시간 카운트를 하는 것이다.The wait time count means a time count from the time point at which the wait time is received to the wait time. For example, if the waiting time is 10 seconds, the waiting time count is a time count from 10 seconds after the reception time.

한편, 네트워크 시스템(20)은 상기 판단(S306)에서 사용자 단말(100)에게 리소스 할당이 가능하다고 판단하면, 사용자 단말(100)에게 리소스를 할당한다(S311). 그러면 사용자 단말(100)은 할당된 리소스를 사용하여 서비스를 이용한다(S312).
On the other hand, if the network system 20 determines that resource allocation is possible to the user terminal 100 in the determination (S306), the network system 20 allocates the resource to the user terminal 100 (S311). Then, the user terminal 100 uses the service using the allocated resources (S312).

이하에서는 도 3을 참조로 설명한 본 발명의 일 예를 달성하기 위한 네트워크 시스템을 도 4를 참조로 하여 설명한다. 도 4는 본 발명의 실시 예에 따른 네트워크 시스템의 블록 구성도이다.Hereinafter, a network system for achieving an example of the present invention described with reference to FIG. 3 will be described with reference to FIG. 4. 4 is a block diagram of a network system according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 본 발명의 실시 예에 따른 네트워크 시스템(20)은 트랜잭션 서버(200), 서비스 컨트롤러(300)와 서비스 서버(400)를 포함한다.As shown in FIG. 4, the network system 20 according to the embodiment of the present invention includes a transaction server 200, a service controller 300, and a service server 400.

트랜잭션 서버(200)는 사용자 단말(100)과의 인터페이스를 담당하여, 접속한 사용자 단말(100)에게 서비스 서버(400)로의 접속을 허가하거나 또는 접속 대기를 지시한다. 트랜잭션 서버(200)는 사용자 단말(100)의 재접속시 자신에게 다시 접속하도록 알리기 위하여 자신의 접속 식별자를 대기알림 메시지에 포함시켜 사용자 단말(100)에 제공한다. 접속 식별자는 트랜잭션 서버(200)로의 접속을 알리는 식별자이거나 주소 정보일 수 있다.The transaction server 200 is in charge of the interface with the user terminal 100, permits the connected user terminal 100 to access the service server 400 or instructs the user to wait for the connection. The transaction server 200 includes the connection identifier in the standby notification message and provides the user terminal 100 with the connection notification message to notify the user to reconnect when the user terminal 100 reconnects. The connection identifier may be an identifier indicating the connection to the transaction server 200 or may be address information.

트랜잭션 서버(200)는 사용자 단말(100)이 접속하면 대기표(또는 접속 순번)를 파악한다. 이때 대기표를 파악한 경우에는 대기표를 사용자 단말(100)에게 부여하고, 접속 순번을 파악한 경우에는 접속 순번을 사용자 단말(100)의 고유 식별자와 매칭하여 저장하고 관리한다. 또한 트랜잭션 서버(200)는 발급한 대기표(또는 접속 순번)를 기준으로 사용자 단말(100)이 리소스 할당 가능한 범위 내에 있는지를 파악하여 접속 허가를 결정하고, 접속 허가하지 못하는 대기표(또는 접속 순번)에 대해 대기 시간을 산출하여 제공한다. The transaction server 200 grasps the waiting table (or access sequence number) when the user terminal 100 connects. In this case, when the waiting table is identified, the waiting table is assigned to the user terminal 100. When the waiting table is identified, the waiting table is stored and managed by matching with the unique identifier of the user terminal 100. In addition, the transaction server 200 determines whether the user terminal 100 is within a resource allocation range based on the issued waiting table (or access sequence number), and determines access permission. The waiting time is calculated and provided.

그리고 트랜잭션 서버(200)는 대기표(또는 접속 순번)을 사용자 단말(100)에게 제공하면 대기 리스트에 대기표(또는 접속 순번)을 등록(추가)한다.When the transaction server 200 provides the waiting table (or access number) to the user terminal 100, the transaction server 200 registers (adds) the waiting table (or access number) to the waiting list.

여기서 대기 리스트는 일 예로, 도 11에 도시된 바와 같은 형태를 가진다. In this case, the waiting list has an example as shown in FIG. 11.

도 11은 본 발명의 실시 예에 따른 대기 리스트를 보인 도면이다. 도 11에 도시된 바와 같이, 대기 리스트는 대기표(또는 접속 순번)이 기록되는 필드와 대기표(또는 접속 순번)에 대응하여 대기표(또는 접속 순번)이 등록된 시간이 기록되는 필드를 포함한다.11 is a diagram illustrating a waiting list according to an embodiment of the present invention. As shown in Fig. 11, the waiting list includes a field in which a waiting table (or access number) is recorded and a field in which a waiting table (or access number) is registered corresponding to the waiting table (or access number).

대기 리스트는 대기표(또는 접속 순번)가 크기에 따라 정렬되어 등록되고 고정 크기를 가진다. 즉, 대기 리스트는 대기 리스트에 등록되는 대기표(또는 접속 순번)의 수가 일정 개수로 정해져 있다. 대기 리스트의 크기를 고정 크기로 하는 이유는 오버헤드를 방지하기 위해서이다. 이러한 이유는 대기 리스트의 크기를 고정 크기로 하지 않으면 대기 리스트에 순간적으로 많은 사용자의 접속 요청이 들어오면 대기 리스트 사이즈가 너무 커져서 정렬할 때나 삭제할 때 많은 오버헤드(overhead)가 발생하기 때문이다.The wait list is registered with a wait table (or access sequence number) sorted by size and has a fixed size. In other words, the waiting list has a fixed number of waiting tables (or connection numbers) registered in the waiting list. The reason for keeping the size of the waiting list fixed is to prevent overhead. This is because if the size of the waiting list is not fixed size, when a large number of user access requests enter the waiting list instantly, the waiting list size becomes so large that a lot of overhead occurs when sorting or deleting.

이렇게 고정 크기의 대기 리스트를 사용하는 경우에 대기 리스트가 꽉찬 상태에서 새로운 사용자 단말에 대한 대기 리스트 추가가 발생할 수 있다. 이 경우에 본 발명은 새로운 사용자 단말의 대기표를 대기 리스트에 등록(추가)하지 않고 대기 시간만 산출하여 사용자 단말에게 제공한다.In the case of using the fixed size waiting list, the waiting list addition for a new user terminal may occur while the waiting list is full. In this case, the present invention calculates and provides only the waiting time to the user terminal without registering (adding) the waiting table of the new user terminal to the waiting list.

또한 트랜잭션 서버(200)는 사용자 단말(100)에게 접속 허가를 하면 사용자 단말(100)의 대기표(또는 접속 순번)을 할당 리스트에 등록(추가)한다.In addition, when the transaction server 200 grants access to the user terminal 100, the transaction server 200 registers (adds) a wait list (or access sequence number) of the user terminal 100 to the allocation list.

여기서 할당 리스트는 일 예로, 도 12에 도시된 바와 같은 형태를 가진다. In this case, the allocation list has an example as shown in FIG. 12.

도 12는 본 발명의 실시 예에 따른 할당 리스트를 보인 도면이다. 도 12에 도시된 바와 같이, 할당 리스트는 대기표(또는 접속 순번)이 기록되는 필드와 대기표(또는 접속 순번)에 대응하여 대기표(또는 접속 순번)이 등록된 시간이 기록되는 필드를 포함한다. 이러한 할당 리스트는 대기표(또는 접속 순번)가 크기에 상관없이 등록되고 가변 크기를 가진 리스트이다. 12 is a diagram illustrating an allocation list according to an embodiment of the present invention. As shown in Fig. 12, the allocation list includes a field in which a waiting table (or access number) is recorded and a field in which a waiting table (or access number) is registered corresponding to the waiting table (or access number). This allocation list is a list in which a waiting table (or access sequence number) is registered regardless of size and has a variable size.

서비스 컨트롤러(300)는 트랜잭션 서버(200)의 동작에 연동하여 가변되는 서비스 서버(400)의 리소스 사용 상태에 따라 서비스 서버(400)의 리소스에 접근할 수 있는 사용자 단말(100)의 수를 조정하도록 트랜잭션 서버(200)의 동작을 제어한다. 이를 위해 서비스 컨트롤러(300)는 트랜잭션 서버(200)에게 발급 가능한 대기표(또는 접속 순번)의 범위를 지정하고, 서비스 서버(400)의 리소스 사용 상태와 이전 접속자의 수를 고려하여 대기 시간 산출 및 접속 허가를 위한 기초 자료를 제공한다.The service controller 300 adjusts the number of user terminals 100 that can access the resources of the service server 400 according to the resource usage state of the service server 400 that is variable in connection with the operation of the transaction server 200. To control the operation of the transaction server 200 to. To this end, the service controller 300 designates the range of the waiting table (or access sequence number) that can be issued to the transaction server 200, and calculates and accesses the waiting time in consideration of the resource usage status of the service server 400 and the number of previous users. Provide basic data for permits.

서비스 서버(400)는 트랜잭션 서버(200)에 의해 접속 허가된 사용자 단말(100)에게 리소스를 할당하고 사용자 단말(100)이 요청하는 서비스를 제공한다.
The service server 400 allocates resources to the user terminal 100 granted access by the transaction server 200 and provides a service requested by the user terminal 100.

*한편, 도 4에 도시된 본 발명의 일 실시 예는 각 구성(200, 300, 400)를 독립적으로 분리하여, 사용자가 트랜잭션 서버(200)와 서비스 서버(400) 간의 접속을 별도로 해야 하는 것으로 설명하였지만, 본 발명은 이에 한정되지 않는다.On the other hand, an embodiment of the present invention shown in Figure 4 is to separate each configuration (200, 300, 400) independently, the user to separate the connection between the transaction server 200 and the service server 400 Although described, the present invention is not limited thereto.

즉, 본 발명은 트랜잭션 서버(200), 서비스 컨트롤러(300)와 서비스 서버(400)가 일체화되도록 할 수 있다. 즉, 트랜잭션 서버(200)의 기능과 서비스 컨트롤러(300)의 기능을 서비스 서버(400)에 포함되도록 서비스 서버(400)를 구성할 수 있다. 이 경우에 일 예로, 사용자 단말(100)에게 제공하였던 접속 허가는 트랜잭션 서버의 기능과 서비스 서버의 기능 간의 내부 신호 처리로 대신할 수 있게 된다.That is, the present invention may allow the transaction server 200, the service controller 300, and the service server 400 to be integrated. That is, the service server 400 may be configured to include the function of the transaction server 200 and the function of the service controller 300 in the service server 400. In this case, for example, the access permission provided to the user terminal 100 may be replaced by internal signal processing between the function of the transaction server and the function of the service server.

이하에서는 도 5를 참조로 하여 도 4를 기반으로 한 본 발명의 실시 예에 따른 대기표 관리 방법을 보다 상세히 설명한다. 도 5는 본 발명의 실시 예에 따른 네트워크 시스템의 동작 순서도이다.Hereinafter, a standby table management method according to an embodiment of the present invention based on FIG. 4 will be described in detail with reference to FIG. 5. 5 is a flowchart illustrating an operation of a network system according to an exemplary embodiment of the present invention.

사용자 단말(100)은 서비스 서버(400)에서 제공하는 서비스를 이용하기 위하여 서비스 서버(400)에게 접속을 요구한다. 이에 서비스 서버(400)는 사용자 단말(100)이 트랜잭션 서버(200)에 의해 접속 허가 받지 않은 상태이기 때문에 사용자 단말(100)에게 트랜잭션 서버(200)로의 접속을 지시한다. The user terminal 100 requests a connection to the service server 400 in order to use a service provided by the service server 400. Accordingly, the service server 400 instructs the user terminal 100 to access the transaction server 200 because the user terminal 100 is not authorized to access the transaction server 200.

그러면 사용자 단말(100)은 트랜잭션 서버(200)로 제1 접속을 한다(S501).Then, the user terminal 100 makes a first connection to the transaction server 200 (S501).

트랜잭션 서버(200)는 사용자 단말(100)이 제1 접속을 함에 따라 등록된 대기표 블록 내에 발급 가능한 대기표가 있는지를 판단한다(S502). 이 판단(S502)으로 트랜잭션 서버(200)는 대기표 발급이 가능하지 않다고 하면 서비스 컨트롤러(300)에게 새로운 대기표 블록을 요청하고(S503), 서비스 컨트롤러(300)로부터 새로운 대기표 블록을 수신하여 등록한다(S504).As the user terminal 100 makes the first connection, the transaction server 200 determines whether there is a waiting table that can be issued in the registered waiting table block (S502). If it is determined in step S502 that the transaction server 200 is not capable of issuing a waiting table, the transaction server 200 requests a new waiting table block from the service controller 300 (S503), and receives and registers a new waiting table block from the service controller 300 ( S504).

그러나 트랜잭션 서버(200)는 상기 판단(S502)으로 대기표 발급이 가능하면 등록된 대기표 블록에서 발급 가능한 대기표 중 순번(즉, 번호)이 빠른 대기표를 사용자 단말(100)에게 발급한다(S505).However, if it is possible to issue the waiting table by the determination (S502), the transaction server 200 issues the waiting table with the fastest order (that is, number) among the waiting tables that can be issued in the registered waiting table block to the user terminal 100 (S505).

여기서 대기표 블록은 일련의 순서로 나열되는 대기표들의 집합체이다. 예컨대, 대기표 블록은 1번부터 100번까지의 대기표들의 집합체이거나, 300번부터 500번까지의 대기표들의 집합체이다.Here, the waiting block is a collection of waiting tables arranged in a sequence. For example, the waiting table block is a collection of waiting tables 1 to 100, or a collection of waiting tables 300 to 500.

사용자 단말(100)은 대기표를 발급받으면 제2 접속을 하여 트랜잭션 서버(200)에 대기표를 제시한다(S506).When the user terminal 100 receives the waiting table, the user terminal 100 makes a second connection and presents the waiting table to the transaction server 200 (S506).

이에 트랜잭션 서버(200)는 사용자 단말(100)에서 제시한 대기표의 번호(즉, 순번)가 설정된 허용 ID를 파악하여 접속 가능 여부를 판단한다(S507). 여기서 허용 ID는 접속이 가능한 최고 크기의 대기표다.Accordingly, the transaction server 200 determines whether the connection is possible by identifying the allowable ID for which the number (that is, the sequence number) of the waiting table presented by the user terminal 100 is set (S507). Allowed ID here is the largest waiting table that can be accessed.

물론 트랜잭션 서버(200)는 대기표의 번호가 허용 ID보다 작으면 접속이 가능하다고 판단하고, 그렇지 않으면 접속 가능하지 않다고 판단할 것이다.Of course, the transaction server 200 will determine that the connection is possible if the number of the waiting table is smaller than the allowed ID, otherwise it will determine that it is not accessible.

트랜잭션 서버(200)는 상기 판단(S507)에서 접속이 가능하지 않다고 판단하면 대기표를 대기 리스트에 등록(추가)하고(S508), 대기표를 기준으로 가용 리소스량과 이전 접속자의 수에 대응하는 대기 시간을 산출하여 사용자 단말(100)에 알린다(S509).If the transaction server 200 determines that the connection is not possible in the determination S507, the transaction server 200 registers (adds) the waiting table to the waiting list (S508), and waits time corresponding to the amount of available resources and the number of previous users based on the waiting table. To calculate and notify the user terminal 100 (S509).

사용자 단말(100)은 대기 시간을 수신하면 트랜잭션 서버(200)와의 접속을 해지한 후(S510), 대기 시간 카운트를 하고(S511), 대기 시간이 종료되는 시점에서 다시 한번 제2 접속을 하여 접속 허용을 요청한다(S506).When receiving the waiting time, the user terminal 100 terminates the connection with the transaction server 200 (S510), counts the waiting time (S511), and makes a second connection once again when the waiting time ends. Request for permission (S506).

반면에, 트랜잭션 서버(200)는 상기 판단(S507)에서 접속이 가능하다고 판단하면 대기표를 할당 리스트에 대기표를 등록(추가)하고(S512), 사용자 단말(100)에게 접속 허용을 알리는 메시지를 전송한다(S513).On the other hand, if it is determined in step S507 that the connection is possible, the transaction server 200 registers (adds) the waiting table to the allocation list (S512), and transmits a message informing the user terminal 100 of the permission to connect. (S513).

이에 사용자 단말(100)은 수신한 접속 허용 메시지를 이용하여 서비스 서버(400)에 접속하고, 서비스 서버(400)는 사용자 단말(100)의 접속을 접속 허용 메시지에 따른 접속임을 확인하여 사용자 단말(100)에게 리소스를 할당하여 할당한 리소스를 통해 사용자 단말(100)이 서비스를 이용할 수 있게 한다(S514).Accordingly, the user terminal 100 accesses the service server 400 using the received access permission message, and the service server 400 confirms that the access of the user terminal 100 is an access according to the access permission message. The user terminal 100 can use the service through the allocated resource by allocating the resource to 100 (S514).

이렇게 사용자 단말(100)은 리소스를 이용하여 서비스를 이용하게 되면 서비스 이용 중에(S515), 설정된 시간 주기마다 리소스 사용중임을 알리는 알림 메시지를 트랜잭션 서버(200)에 알린다(S516).In this way, when the user terminal 100 uses the service using the resource, the user terminal 100 notifies the transaction server 200 of the service using the service (S515).

트랜잭션 서버(200)는 할당 리스트에 등록된 대기표들에 대응된 각 사용자 단말(100)에서 리소스를 사용하고 있는지 사용하고 있지 않는지를 감시한다(S517). 이때 감시는 사용자 단말(100)로부터 알림 메시지가 설정 시간 내에 수신되는지 파악하는 것이다.The transaction server 200 monitors whether each user terminal 100 corresponding to the waiting lists registered in the allocation list is using the resource or not (S517). In this case, the monitoring is to determine whether a notification message is received from the user terminal 100 within a set time.

만약 상기 감시(S517)에서, 트랜잭션 서버(200)는 사용자 단말(100)로부터 설정 시간 내에 알림 메시지가 수신되면 계속해서 리소스를 사용하고 있다고 판단하여 현재의 할당 리스트의 정보를 그대로 유지한다.In the monitoring operation S517, when the notification message is received within the set time from the user terminal 100, the transaction server 200 determines that the resource is continuously used and maintains the information of the current allocation list.

반면에 상기 감시(S517)에서 트랜잭션 서버(200)는 사용자 단말(100)로부터 설정 시간 내에 알림 메시지가 수신되지 않으면 사용자 단말(100)이 리소스 사용을 끝냈다고 판단한다(S518). 이 경우에 트랜잭션 서버(200)는 리소스 사용을 끝낸 사용자 단말(100)의 대기표를 할당 리스트에서 제거(삭제)한다(S519).On the other hand, in the monitoring operation S517, the transaction server 200 determines that the user terminal 100 has finished using the resource when the notification message is not received from the user terminal 100 within a set time (S518). In this case, the transaction server 200 removes (delete) the waiting table of the user terminal 100 that has finished using the resource from the allocation list (S519).

한편, 트랜잭션 서버(200)는 설정된 시간 주기마다 대기 리스트와 할당 리스트를 서비스 컨트롤러(300)에 제공한다(S520, S523, S526).Meanwhile, the transaction server 200 provides the wait list and the assignment list to the service controller 300 at set time periods (S520, S523, and S526).

여기서 트랜잭션 서버(200)는 대기 리스트에 대기표가 등록되거나, 할당 리스트에 대기표가 등록되거나 또는, 할당 리스트에서 임의의 대기표가 삭제되는 경우에 대기 리스트와 할당 리스트를 서비스 컨트롤러(300)에 제공하도록 할 수 있다.Here, the transaction server 200 may provide the wait list and the assignment list to the service controller 300 when the wait table is registered in the wait list, the wait table is registered in the assignment list, or when any wait table is deleted from the assignment list. Can be.

서비스 컨트롤러(300)는 트랜잭션 서버(200)로부터 대기 리스트와 할당 리스트를 수신하면, 서비스 서버(400)로부터 파악한 리소스 사용 상태와 수신된 대기 리스트와 할당 리스트를 분석하여 어디 까지를 접속 가능한 대기표로 할 것인지를 판단하고, 판단한 대기표를 허용 ID로 결정한다(S521, S524). 허용 ID를 결정하는 방법은 이하에서 상세히 설명할 것이다.When the service controller 300 receives the waiting list and the allocation list from the transaction server 200, the service controller 300 analyzes the resource usage state and the received waiting list and the allocation list, which are identified from the service server 400, to make the standby table accessible. The determination is made as to whether or not the determined waiting table is determined as an allowable ID (S521, S524). The method of determining the grant ID will be described in detail below.

이렇게 허용 ID를 결정하면, 서비스 컨트롤러(300)는 결정한 허용 ID를 트랜잭션 서버(200)에 제공한다(S522, S525). 그러면 트랜잭션 서버(200)는 기 등록된 허용 ID를 삭제하고 서비스 컨트롤러(300)로부터 수신한 허용 ID를 등록한다.When the permission ID is determined in this way, the service controller 300 provides the determined permission ID to the transaction server 200 (S522 and S525). Then, the transaction server 200 deletes the previously registered permission ID and registers the permission ID received from the service controller 300.

상기에서 서비스 컨트롤러(300)는 초당 평균 대기표 처리수(EPS: Empty Resource Per Second)를 허용 ID와 함께 트랜잭션 서버(200)에 제공한다. 서비스 컨트롤러(300)는 EPS를 설정 주기시간마다 산출하며, 트랜잭션 서버(200)는 EPS를 이용하여 대기 시간을 산출한다.In the above, the service controller 300 provides an average empty resource per second (EPS) to the transaction server 200 along with the allowable ID. The service controller 300 calculates an EPS for each set cycle time, and the transaction server 200 calculates a waiting time using the EPS.

이하에서는 도 4에 도시된 서비스 컨트롤러(300)를 도 6을 참조로 하여 보다 상세히 설명한다. 도 6은 도 4에 도시된 서비스 컨트롤러를 구체화한 일 실시 예에 따른 블록 구성도이다.Hereinafter, the service controller 300 illustrated in FIG. 4 will be described in more detail with reference to FIG. 6. FIG. 6 is a block diagram according to an exemplary embodiment of the service controller illustrated in FIG. 4.

도 6에 도시된 바와 같이, 서비스 컨트롤러(300)는 로컬인터페이스부(310), 대기표블록 발급부(320), 허용ID 산출부(330), 리소스변경 감시부(340)를 포함한다.As shown in FIG. 6, the service controller 300 includes a local interface 310, a wait table block issuing unit 320, an allowable ID calculating unit 330, and a resource change monitoring unit 340.

로컬 인터페이스부(310)는 트랜잭션 서버(200)와 서비스 서버(400)와의 인터페이스를 담당한다.The local interface 310 is responsible for the interface between the transaction server 200 and the service server 400.

대기표블록 발급부(320)는 트랜잭션 서버(200)로부터 신규 대기표 블록의 요청을 수신하면, 이에 대응하여 일정 크기의 대기표 블록을 신규로 생성하여 트랜잭션 서버(200)에 제공한다. 신규의 대기표 블록을 제공할 때 대기표블록 발급부(320)는 트랜잭션 서버(200)에 기 제공한 대기표 블록의 정보를 파악하고 기 제공한 대기표 블록에 연속하는 대기표 블록을 신규의 대기표 블록으로 하여 트랜잭션 서버(200)에 제공한다. 예컨대, 기 제공한 대기표 블록이 1번부터 100번까지의 대기표를 가진 것이라면, 대기표블록 발급부(320)는 101번부터 200번까지의 대기표 블록을 신규의 대기표 블록으로 트랜잭션 서버(200)에 제공한다.When the waiting block block issuing unit 320 receives a request for a new waiting block from the transaction server 200, the waiting block block issuing unit 320 generates a new waiting block block having a predetermined size and provides it to the transaction server 200. When providing a new wait block, the wait block block issuing unit 320 recognizes the information of the wait block previously provided to the transaction server 200, and makes a transaction by using a wait block that is continuous to the wait table block provided as the new wait block. It provides to the server 200. For example, if the previously provided waiting block has a waiting table 1 to 100, the waiting block block issuing unit 320 provides the waiting server blocks 101 to 200 as a new waiting block to the transaction server 200 as a new waiting block. do.

허용ID 산출부(330)는 트랜잭션 서버(200)로부터 수신되는 대기 리스트와 할당 리스트 및 리소스 변경 감시부(340)에서 수신되는 서비스 서버(400)의 리소스 사용 상태를 이용하여 허용 ID를 산출한다.The allowable ID calculator 330 calculates the allowable ID using the wait list, the allocation list, and the resource use state of the service server 400 received from the resource change monitor 340.

여기서 허용ID 산출부(300)에서 이루어지는 허용 ID를 산출하는 방법을 좀더 상세히 설명한다.Here, the method of calculating the allowable ID made by the allowable ID calculator 300 will be described in more detail.

허용ID 산출부(330)는 허용 ID 산출을 위해서 우선적으로 EPS를 산출한다.The allowable ID calculator 330 first calculates an EPS for calculating the allowable ID.

EPS를 산출하는 방식은 여러가지가 있다.There are several ways to calculate EPS.

첫번째 방식으로, 허용ID 산출부(330)는 설정 주기 시간(예; 1초, 2초, 5초 등)마다 할당 리스트를 조사하여 리소스 사용을 완료하고 빠져나간 대기표의 숫자를 파악한다. 즉, 설정 주기 시간 동안에 할당 리스트에서 삭제된 대기표가 몇 개인지를 파악한다. 이렇게 파악한 대기표의 수를 A라고 하고 설정 주기 시간을 Ts라고 하면, EPS는 A/Ts로 나타낼 수 있다.In a first manner, the allowable ID calculation unit 330 examines the allocation list every set cycle time (for example, 1 second, 2 seconds, 5 seconds, and the like) to determine the number of waiting tables that have finished using resources and exited. In other words, how many waiting tables have been deleted from the allocation list during the set cycle time is determined. If the number of waiting tables thus identified is A and the set cycle time is Ts, EPS can be expressed as A / Ts.

두번째 방식으로, EPS는 할당 리스트뿐만 아니라 대기 리스트를 이용하여 서비스 서버(400)로의 접속 허가를 받기 전에 빠져 나간 사용자 단말의 수를 포함할 수 있다. 이 경우에 허용ID 산출부(330)는 설정 주기 시간동안 상기 대기 리스트에서 삭제된 대기표의 총 개수와 상기 할당 리스트에서 삭제된 대기표의 총 개수의 합을 초당 평균으로 나눈 값을 EPS로 한다.In a second manner, the EPS may include not only the allocation list but also the number of user terminals which exited before receiving permission to access the service server 400 using the waiting list. In this case, the allowable ID calculation unit 330 divides the sum of the total number of waiting tables deleted from the waiting list and the total number of waiting tables deleted from the allocation list by the average per second as EPS.

이렇게 구해진 EPS를 구하면 허용ID 산출부(330)는 현재 사용할 수 있는 가용 리소스를 파악하고 파악한 가용 리소스로 수용할 수 있는 사용자 단말의 수와 상기 산출한 EPS를 합하여 허용 범위를 산출한다.When the EPS is obtained, the allowable ID calculation unit 330 identifies the currently available resources and calculates an allowable range by adding the calculated EPS to the number of user terminals that can be accommodated as the available available resources.

그런 다음 허용ID 산출부(330)는 대기 리스트에서 허용 범위에 있는 가장 큰순번의 대기표를 허용ID로 설정한다. 여기서 허용ID 산출부(330)는 허용 범위를 무작정 늘려주지 않으며 한번에 늘어날 수 있는 상한선을 설정하여 급격한 값의 변화를 막는다.The allowable ID calculator 330 then sets the wait table having the largest order in the allowable range as the allowable ID in the wait list. Here, the allowable ID calculation unit 330 does not increase the allowable range randomly and sets an upper limit that can be increased at one time to prevent a sudden change in value.

허용ID 산출부(330)는 EPS와 허용 ID를 산출하면 이를 트랜잭션 서버(200)에 제공한다.The allowable ID calculator 330 calculates the EPS and the allowable ID and provides the same to the transaction server 200.

리소스변경 감시부(340)는 서비스 서버(400)의 리소스를 감시하여 설정치 이상 또는 이하의 변화를 감시한다. 즉 리소스변경 감시부(340)는 할당 리스트에 등록된 사용자 단말의 수에 비해 서비스 서버(400)의 리소스가 제1 설정치 이상으로 리소스의 사용이 과다하면 이를 허용ID 산출부(330)에 알려 허용 범위를 줄이게 한다. 반대로, 리소스변경 감시부(340)는 할당 리스트에 등록된 사용자 단말의 수에 비해 서비스 서버(400)의 리소스가 제2 설정치 이하로 리소스의 사용이 과소하면 이를 허용ID 산출부(330)에 알려 허용 범위를 늘이게 한다.The resource change monitoring unit 340 monitors the resource of the service server 400 and monitors a change above or below a set value. That is, the resource change monitoring unit 340 notifies the allowable ID calculation unit 330 when the resource of the service server 400 exceeds the first set value compared to the number of user terminals registered in the allocation list. To reduce the range. On the contrary, the resource change monitoring unit 340 notifies the allowable ID calculator 330 when the resource of the service server 400 is less than the second set value compared to the number of user terminals registered in the allocation list. Increase the allowable range.

다음으로, 본 발명의 트랜잭션 서버(200)를 도 7을 참조로 하여 설명한다. 도 7은 도 4에 도시된 트랜잭션 서버를 구체화한 일 실시 예에 따른 블록 구성도이다.Next, the transaction server 200 of the present invention will be described with reference to FIG. FIG. 7 is a block diagram illustrating an embodiment of the transaction server illustrated in FIG. 4.

도 7에 도시된 바와 같이, 트랜잭션 서버(200)는 사용자 인터페이스(201), 로컬 인터페이스(202), 수신정보 파악부(203), 대기표 발급부(204), 접속 승인부(205), 대기시간 산출부(206), 리소스 사용 감시부(207), 대기표블록 저장부(208), 대기리스트 관리부(209), 기초정보 저장부(210), 할당리스트 저장부(211), 발급상태 알림부(212)와 할당리스트 관리부(213)를 포함한다.As shown in FIG. 7, the transaction server 200 includes a user interface 201, a local interface 202, a reception information checking unit 203, a waiting table issuing unit 204, a connection approval unit 205, and a waiting time. Calculating unit 206, resource usage monitoring unit 207, waiting table block storage unit 208, standby list management unit 209, basic information storage unit 210, allocation list storage unit 211, issuance status notification unit ( 212) and an assignment list management unit 213.

사용자 인터페이스(201)는 사용자 단말(100)과의 인터페이스를 담당하고, 로컬 인터페이스부(202)는 서비스 컨트롤러(300)와의 인터페이스를 담당한다.The user interface 201 is responsible for the interface with the user terminal 100, and the local interface unit 202 is responsible for the interface with the service controller 300.

수신정보 파악부(203)는 사용자 인터페이스부(201)로부터 수신되는 메시지를 분석하고 이 분석에 따라 수신된 메시지를 해당 메시지를 처리할 내부 구성으로 전달한다. 여기서 사용자 인터페이스부(201)로부터 메시지는 크게 제1 접속에 따른 메시지, 제2 접속에 따른 메시지와, 리소스 사용을 알리는 알림 메시지가 있다.The reception information identifying unit 203 analyzes a message received from the user interface unit 201 and delivers the received message to the internal configuration to process the message according to the analysis. Herein, the message from the user interface unit 201 includes a message according to a first connection, a message according to a second connection, and a notification message indicating resource usage.

대기표 발급부(204)는 제1 접속에 따른 메시지가 수신되면 대기표블록 저장부(208)에 저장된 고정 크기의 대기표 블록을 이용하여 해당 사용자 단말(100)에게 대기표를 발급하고, 발급한 대기표를 대기 리스트에 추가한다. 이때 대기표에는 트랜잭션 서버(200)를 식별할 수 있는 고유 식별자가 포함되어 있다. 이 고유 식별자는 사용자 단말(100)이 처음 접속한 트랜잭션 서버에 재접속할 수 있게 한다.When a message according to the first connection is received, the waiting table issuing unit 204 issues a waiting table to the corresponding user terminal 100 using a fixed sized waiting table block stored in the waiting block block storage unit 208, and waits for the issued waiting table. Add to list At this time, the wait table includes a unique identifier for identifying the transaction server 200. This unique identifier allows the user terminal 100 to reconnect to the transaction server to which it initially connected.

대기표 발급부(204)는 대기표블록 저장부(208)에 저장된 대기표 블록의 대기표를 모두 사용하면 서비스 컨트롤러(300)로 새로운 대기표 블록을 요청한다.The waiting table issuing unit 204 requests a new waiting table block from the service controller 300 when all of the waiting tables of the waiting table blocks stored in the waiting table block storage unit 208 are used.

대기리스트 저장부(209)는 대기 리스트의 고정 크기가 모두 찼을 때 대기 리스트에 입력된 대기표의 최고값(가장 높은 번호)보다 큰 값의 대기표가 입력되면 대기 리스트에 저장하지 않는다.The wait list storage unit 209 does not store the wait list when a waiting table having a value larger than the maximum value (highest number) of the wait table entered in the wait list is entered when the fixed size of the wait list is full.

접속 승인부(205)는 제2 접속에 따른 메시지를 수신하고 제2 접속 메시지에 포함된 대기표를 기초정보 저장부(210)에 저장된 허용 ID와 비교하여 접속 허가 여부를 결정한다. 이때 접속 승인부(205)는 대기표의 번호가 허용 ID의 번호보다 작으면 접속을 허가한다. 한편 트랜잭션 서버(200)가 서비스 서버(400)에 일체화되는 경우에 상기 접속 승인부(205)는 접속 허가를 결정하는 대신에 리소스를 사용자 단말에게 할당하는 기능을 한다.The connection approval unit 205 receives the message according to the second connection and compares the waiting table included in the second connection message with the permission ID stored in the basic information storage unit 210 to determine whether to permit the connection. At this time, the connection approval unit 205 permits the connection if the number of the waiting table is smaller than the number of the allowed ID. On the other hand, when the transaction server 200 is integrated with the service server 400, the connection approval unit 205 functions to allocate resources to the user terminal instead of determining the connection permission.

대기시간 산출부(206)는 접속 승인부(205)의 제어에 따라 동작하며 접속 허가되지 않은 사용자 단말(100)의 대기표의 번호에 대응하는 대기 시간을 기초정보 저장부(210)에 저장된 EPS를 이용하여 산출하고, 산출한 대기 시간을 사용자 단말(100)에게 제공한다. 예컨대, 사용자 단말(100)의 대기표 번호가 2000번이고 허용 ID가 1000번이며, EPS가 50이면, 대기 시간은 (2000-1000)/50의 수학식을 통해 20초가 산출된다.The waiting time calculating unit 206 operates under the control of the connection approval unit 205 and calculates the EPS stored in the basic information storage unit 210 based on the waiting time corresponding to the waiting table number of the user terminal 100 which is not permitted to access. The calculated waiting time is provided to the user terminal 100. For example, if the waiting table number of the user terminal 100 is 2000, the allowable ID is 1000, and the EPS is 50, the waiting time is 20 seconds through the equation (2000-1000) / 50.

리소스 사용 감시부(207)는 사용자 단말(100)로부터 송출된 알림 메시지의 수신 여부를 감시하며, 설정 시간 내에 알림 메시지가 수신되지 않은 사용자 단말(100)이 있으면 이를 할당리스트 관리부(213)에 알린다.The resource usage monitoring unit 207 monitors whether or not the notification message sent from the user terminal 100 is received, and notifies the allocation list manager 213 if there is a user terminal 100 that has not received the notification message within a set time. .

할당리스트 관리부(213)는 접속 승인부(205)에 의해 접속 승인(또는 리소스 할당 승인)이 이루어지면 대기 리스트에서 해당 사용자의 대기표를 삭제한 후 할당 리스트에 등록하고, 리소스 사용 감시부(207)로부터 수신된 사용자 단말의 대기표를 할당 리스트에서 삭제한다.The allocation list management unit 213 deletes the waiting table of the corresponding user from the waiting list when the connection approval (or resource allocation approval) is made by the connection approval unit 205, registers the registration list in the allocation list, and the resource usage monitoring unit 207. Delete the waiting table of the user terminal received from the assignment list.

대기표블록 저장부(208)는 서비스 컨트롤러(300)로부터 제공받은 고정 크기의 대기표 블록을 저장한다. 대기표블록 저장부(208)에 저장된 대기표 블록은 기 발급한 대기표와 발급이 가능한 가용 대기표가 별도로 표시되어 관리된다.The wait block storage unit 208 stores a wait table block of a fixed size provided from the service controller 300. The waiting table block stored in the waiting table block storage unit 208 is managed by displaying a previously issued waiting table and an available waiting table separately.

대기리스트 저장부(209)는 고정 크기를 가진 대기 리스트를 저장한다.The standby list storage unit 209 stores the standby list having a fixed size.

기초정보 저장부(210)는 접속 승인을 위해 필요한 기초 정보를 저장한다. 기초 정보는 허용 ID와 EPS이며, 서비스 컨트롤러(300)에 의해 주기적으로 제공된다. 기초정보 저장부(210)는 서비스 컨트롤러(300)로부터 기초 정보를 수신하면 기 저장된 기초 정보를 삭제한 후 현재 수신된 기초 정보를 저장한다.할당리스트 저장부(211)는 가변 크기를 가진 할당 리스트를 저장한다.The basic information storage unit 210 stores basic information necessary for access approval. The basic information is a permission ID and an EPS, and is periodically provided by the service controller 300. When the basic information storage unit 210 receives the basic information from the service controller 300, the basic information storage unit 210 deletes the previously stored basic information and stores the currently received basic information. The allocation list storage unit 211 stores an allocation list having a variable size. Save it.

발급상태 알림부(212)는 대기리스트 저장부(209)와 할당리스트 저장부(211)에 저장된 대기 리스트와 할당 리스트를 설정된 주기 시간마다 수집하여 로컬 인터페이스부(202)를 통해 서비스 컨트롤러(300)에 제공한다.The issuing status notification unit 212 collects the waiting list and the allocation list stored in the waiting list storage unit 209 and the allocation list storage unit 211 for each set cycle time, and the service controller 300 through the local interface unit 202. To provide.

이하에서는 도 8을 참조로 하여 본 발명의 실시 예에 따른 대기표 발급 방법을 설명한다. 도 8은 도 4를 기반으로 한 본 발명의 실시 예에 따른 대기표 발급 방법을 설명하기 위한 도면이다.Hereinafter, a waiting table issuing method according to an embodiment of the present invention will be described with reference to FIG. 8. FIG. 8 is a diagram for describing a method of issuing a waiting table according to an embodiment of the present invention based on FIG. 4.

도 8에 도시된 본 발명의 실시 예는 대기표 발급을 하나의 트랜잭션 서버(200)를 이용하여 달성하고 있는 경우이다.The embodiment of the present invention illustrated in FIG. 8 is a case where the issuance of waiting table is achieved by using one transaction server 200.

서비스 컨트롤러(300)는 동일한 크기의 대기표 블록(A, B, C 등)을 복수개 가지고 있으며, 이 중 하나의 대기표 블록만을 트랜잭션 서버(200)에 제공한다. 도 8에서는 서비스 컨트롤러(300)가 대기표 블록(B)을 트랜잭션 서버(200)에 제공한 것으로 도시하고 있다.The service controller 300 has a plurality of waiting table blocks (A, B, C, etc.) having the same size, and provides only one of the waiting table blocks to the transaction server 200. In FIG. 8, the service controller 300 provides the wait table block B to the transaction server 200.

대기표 블록의 크기가 동일하다는 것은 각 대기표 블록이 동일 수의 대기표를 가지고 있다는 것을 의미한다. 예컨대, 도 8에 도시된 바와 같이 대기표 블록(A)는 0부터 99까지의 총 100개의 대기표 블록을 가지며, 대기표 블록(B)는 100부터 199까지의 총 100개의 대기표 블록을 가진다.The same size of wait table blocks means that each wait block has the same number of wait tables. For example, as shown in FIG. 8, the wait table block A has a total of 100 wait table blocks from 0 to 99, and the wait table block B has a total of 100 wait table blocks from 100 to 199.

트랜잭션 서버(200)는 하나의 대기표 블록을 수신하면 수신한 대기표 블록에 있는 대기표를 사용자 단말(100)에게 제공한다.When the transaction server 200 receives one waiting table block, the transaction server 200 provides the waiting table in the received waiting table block to the user terminal 100.

만약 대기표 블록 내의 대기표 모두를 사용자 단말(100)에게 제공하면, 트랜잭션 서버(200)는 서비스 컨트롤러(300)에게 새로운 대기표 블록을 요구한다. 그러면 서비스 컨트롤러(300)는 트랜잭션 서버(200)가 가지고 있는 대기표 블록의 바로 다음번째 대기표 블록을 새로운 대기표 블록으로 트랜잭션 서버(200)에게 제공한다. 예컨대, 트랜잭션 서버(200)가 대기표 블록(B)를 저장하고 있는 상태이면 서비스 컨트롤러(300)는 대기표 블록(C)를 새로운 대기표 블록으로 트랜잭션 서버(200)에 제공한다.If all of the waiting tables in the waiting table block are provided to the user terminal 100, the transaction server 200 requests a new waiting table block from the service controller 300. Then, the service controller 300 provides the transaction server 200 with a new wait block block as the next wait block block of the wait block of the transaction server 200. For example, if the transaction server 200 is storing the wait table block B, the service controller 300 provides the wait table block C to the transaction server 200 as a new wait table block.

결국, 트랜잭션 서버(200)는 이러한 대기표 블록의 교환으로 연속하는 순번의 대기표를 새로 접속한 사용자 단말(100)에게 제공할 수 있게 된다.As a result, the transaction server 200 can provide the user terminal 100 newly connected with the waiting table in sequence in the exchange of the waiting table block.

다음으로, 도 9를 참조로 하여 본 발명의 다른 실시 예에 따른 대기표 발급 방법을 설명한다. 도 9은 도 4를 기반으로 한 본 발명의 다른 실시 예에 따른 대기표 발급 방법을 설명하기 위한 도면이다.Next, a waiting table issuing method according to another embodiment of the present invention will be described with reference to FIG. 9. FIG. 9 is a diagram for describing a method of issuing a waiting table according to another exemplary embodiment of the present disclosure based on FIG. 4.

도 9에 도시된 본 발명의 다른 실시 예는 대기표 발급을 복수의 트랜잭션 서버(210, 220, 230)를 이용하여 달성하고 있는 경우이다.Another embodiment of the present invention shown in FIG. 9 is a case where the issuance of a waiting table is achieved using a plurality of transaction servers 210, 220, and 230.

서비스 컨트롤러(300)는 동일한 크기의 대기표 블록(A, B, C 등)을 복수개 가지고 있으며, 이 중 하나의 대기표 블록만을 제1 내지 제3 트랜잭션 서버(210, 220, 230) 각각에 제공한다. 도 9에서는 서비스 컨트롤러(300)가 대기표 블록(B)을 각 트랜잭션 서버(210, 220, 230)에 제공한 것으로 도시하고 있다.The service controller 300 has a plurality of waiting table blocks (A, B, C, etc.) of the same size, and provides only one of the waiting table blocks to each of the first to third transaction servers 210, 220, and 230. In FIG. 9, the service controller 300 provides the waiting table block B to each of the transaction servers 210, 220, and 230.

각 트랜잭션 서버(210, 220, 230)는 하나의 대기표 블록을 수신하면 수신한 대기표 블록에 있는 대기표를 사용자 단말(100)에게 제공한다. When each transaction server 210, 220, 230 receives one wait table block, the transaction server 210, 220, 230 provides the wait table in the received wait table block to the user terminal 100.

이때 제1 내지 제3 트랜잭션 서버(210, 220, 230)는 대기표 블록의 대기표를 트랜잭션 서버의 수만큼 분할하여 사용자 단말(100)에게 제공하되, 대기표의 번호에 따라 순차적으로 발급한다. 즉, 제1 트랜잭션 서버(210)는 100번, 103번, 106번, ..., 199번의 대기표를 발급하고, 제2 트랜잭션 서버(220)는 101번, 104번, 107번, ..., 197번의 대기표를 발급하며, 제3 트랜잭션 서버(230)는 102번, 105번, 108번, ..., 198번의 대기표를 발급한다.In this case, the first to third transaction servers 210, 220, and 230 divide the waiting tables of the waiting table blocks by the number of transaction servers and provide them to the user terminal 100, and sequentially issue them according to the numbers of the waiting tables. That is, the first transaction server 210 issues 100, 103, 106, ..., 199 waiting table, the second transaction server 220, 101, 104, 107, ... 197, the waiting table is issued, and the third transaction server 230 issues 102, 105, 108, ..., 198 waiting table.

물론 각 트랜잭션 서버(210, 220, 230)에서 발급하는 대기표의 순번은 사용자 단말의 접속 순서이다. 사용자 단말들을 순차적으로 각 트랜잭션 서버에 접속시키기 위해서는 로드 밸런싱 장치를 이용하여 이를 달성할 수 있을 것이다. Of course, the order of the waiting table issued by each transaction server (210, 220, 230) is the connection order of the user terminal. In order to sequentially connect the user terminals to each transaction server, this may be achieved by using a load balancing device.

만약 제1 내지 제3 트랜잭션 서버(210, 220, 230) 중 하나의 트랜잭션 서버에서 대기표 블록 내에서 할당된 대기표 모두를 사용자 단말(100)에게 제공하면, 해당 트랜잭션 서버는 다른 트랜잭션 서버의 대기표 발급 상황에 관계없이 서비스 컨트롤러(300)에게 새로운 대기표 블록을 요구한다.If one of the first to third transaction server (210, 220, 230) of the transaction server provides the user terminal 100 with all the waiting table allocated in the waiting table block, the transaction server is issued to the waiting table of the other transaction server Regardless, the service controller 300 requests a new wait table block.

그러면 서비스 컨트롤러(300)는 각 트랜잭션 서버(210, 220, 230)가 가지고 있는 대기표 블록의 바로 다음번째 대기표 블록을 새로운 대기표 블록으로 각 트랜잭션 서버(210, 220, 230)에게 제공한다. 예컨대, 각 트랜잭션 서버(210, 220, 230)가 대기표 블록(B)를 저장하고 있는 상태이면 서비스 컨트롤러(300)는 대기표 블록(C)를 새로운 대기표 블록으로 각 트랜잭션 서버(210, 220, 230)에 제공한다.The service controller 300 then provides each transaction server 210, 220, 230 as a new wait block block to the next wait table block of the wait block of each transaction server 210, 220, 230. For example, if each transaction server 210, 220, 230 is storing a wait table block B, the service controller 300 converts the wait table block C into a new wait table block. To provide.

각 트랜잭션 서버(210, 220, 230)는 서비스 컨트롤러(300)로부터 새로운 대기표 블록을 수신하면 현재 사용중인 대기표 블록에서의 대기표 발급을 중지하고, 새로운 대기표 블록에서의 대기표 발급을 시작한다.When each transaction server 210, 220, 230 receives a new wait block from the service controller 300, it stops issuing a wait table in the currently used wait block and starts issuing a wait table in the new wait block.

그리고 3개의 트랜잭션 서버(210, 220, 230)에 더하여 새로운 4번째 트랜잭션 서버(미도시)가 추가되면, 새로 추가된 트랜잭션 서버는 새로운 대기표 블록을 서비스 컨트롤러(300)에게 요구하고, 그에 따라 서비스 컨트롤러(300)는 새로운 대기표 블록은 4개의 트랜잭션 서버 각각에 제공한다. 물론 이 경우도 4개의 트랜잭션 서버 각각은 현재 사용중인 대기표 블록에서의 대기표 발급을 중지하고, 새로운 대기표 블록에서의 대기표 발급을 시작한다.
If a new fourth transaction server (not shown) is added in addition to the three transaction servers 210, 220, and 230, the newly added transaction server requests the service controller 300 for a new queue block, and thus the service controller. 300 provides a new queue block to each of the four transaction servers. Of course, in this case, each of the four transaction servers stops issuing the queue in the queue block currently in use and starts issuing the queue in the new block.

이하에서는 도 10을 참조로 하여 서비스 서버로의 접속 허용(즉, 리소스 할당 허용)하는 방법을 설명한다. 도 10은 도 9를 기반으로 한 본 발명의 실시 예에 따른 리소스 할당 허용 방법을 설명하기 위한 도면이다.Hereinafter, a method of allowing access to the service server (that is, resource allocation) will be described with reference to FIG. 10. FIG. 10 is a diagram for describing a method for allowing resource allocation according to an embodiment of the present invention based on FIG. 9.

서비스 컨트롤러(300)는 각 트랜잭션 서버(210, 220, 230)로부터 수집된 대기 리스트들을 취합하여 대기자들을 파악하고, 할당 리스트들을 취합하여 가용 리소스량을 파악하여 허용 ID를 설정한다. 도 10에서는 허용 ID를 120번으로 한 것으로 도시하였다.The service controller 300 collects wait lists collected from each transaction server 210, 220, and 230, identifies waiters, and collects allocation lists to determine available resource amounts to set allowable IDs. In FIG. 10, the allowable ID is 120.

따라서 각 트랜잭션 서버(210, 220, 230)은 서비스 컨트롤러(300)의 지시에 따라 허용 ID를 120번으로 설정한다.Accordingly, each transaction server 210, 220, 230 sets the allowable ID to 120 according to the instruction of the service controller 300.

이렇게 허용 ID가 설정된 상태에서, 트랜잭션 서버(210, 220, 230)에 각각 고유의 번호표를 가진 사용자 단말(100)이 접속하면, 각 트랜잭션 서버(210, 220, 230)는 접속한 사용자 단말(100)의 번호표를 허용 ID와 비교한다.In the state where the allowable ID is set, when the user terminal 100 having a unique number table is connected to the transaction server 210, 220, 230, respectively, each transaction server 210, 220, 230 is connected to the user terminal 100. ), Compare the number table with the allowable ID.

각 트랜잭션 서버(210, 220, 230)는 사용자 단말(100)의 번호표와 허용 ID 간의 비교를 통해 사용자 단말(100)의 번호표가 허용 ID보다 작으면 접속을 허가하고, 사용자 단말(100)의 번호표가 허용 ID보다 크면 대기 시간을 산출하여 대기를 지시한다.Each transaction server 210, 220, 230 grants access when the number table of the user terminal 100 is smaller than the allowed ID through comparison between the number table of the user terminal 100 and the allowable ID, and the number table of the user terminal 100. If is greater than the allowed ID, the wait time is calculated to indicate the wait.

예를 들어, 트랜잭션 서버(210)는 105번의 번호표를 가진 제1 사용자 단말이 접속하면 허용 ID가 120이므로 제1 사용자 단말에게 접속을 허가한다. 그리고 트랜잭션 서버(210)는 112번의 번호표를 가진 제2 사용자 단말이 접속하면 허용 ID가 120이므로 제1 사용자 단말에게 접속을 허가한다. 그러나 트랜잭션 서버(210)는 120번 이상의 번호표를 가진 사용자 단말이 접속하면 허용 ID가 120이므로 각 사용자 단말에게 대기를 지시한다.For example, the transaction server 210 grants access to the first user terminal since the permission ID is 120 when the first user terminal having the number 105 is connected. When the second user terminal having the 112 number table is connected, the transaction server 210 grants access to the first user terminal because the allowed ID is 120. However, the transaction server 210 instructs each user terminal to wait since the allowed ID is 120 when the user terminal having the 120 or more number table is connected.

트랜잭션 서버(210, 220, 230)는 접속이 허용된 번호표를 대기 리스트에서 삭제한 후 할당 리스트에 추가한다.The transaction server 210, 220, 230 deletes the number table allowed to access from the waiting list and adds it to the allocation list.

한편 본 발명은 전술한 일반적인 사용자 단말에 대한 비연결식 접속 관리 방법을 수행 중에 특정 사용자 단말에 대해서 우선적인 리소스 할당이 가능하도록 할 수 있다. 이를 위해 본 발명은 특정 사용자 단말에 대한 인식을 위해 특정 사용자 단말에 대한 고유 식별정보(IP주소, 이동전화번호, ID/패스워드 등)를 저장한 후, 특정 사용자 단말이 접속하면 리소스 할당(또는 서비스 서버로의 접속 허가)을 최우선으로 하도록 한다. 즉, 특정 사용자 단말은 일반적인 사용자 단말과 달리 별도의 대기 시간없이 가용 리소스가 발생하면 즉시 이를 할당받게 된다.Meanwhile, the present invention may enable preferential resource allocation to a specific user terminal while performing the connectionless connection management method for the general user terminal described above. To this end, the present invention stores the unique identification information (IP address, mobile phone number, ID / password, etc.) for a specific user terminal for the recognition of the specific user terminal, resource allocation (or service if the specific user terminal is connected) Permission to connect to the server). That is, unlike a general user terminal, a specific user terminal is immediately allocated when an available resource occurs without a separate waiting time.

또한 전술한 본 발명의 실시 예에 따른 대기표 발급 및 회수 방법은 사용자 단말이 대기 시간 동안 접속을 해지한 후 재접속하는 접속 관리 방법에 적용된 형태를 일 실시 예로 하여 설명하였지만, 본 발명은 이에 한정되지 않는다. 본 발명에 따른 대기표를 발급 및 회수하는 방법은 리소스의 사용을 요청하는 사용자 단말에게 대기표를 제공하는 모든 경우에 적용 가능하다.In addition, the above-described method for issuing and retrieving a waiting table according to an embodiment of the present invention has been described with reference to an embodiment applied to a connection management method in which a user terminal reconnects after disconnecting for a waiting time, but the present invention is not limited thereto. . The method for issuing and retrieving a waiting table according to the present invention is applicable to all cases of providing a waiting table to a user terminal requesting the use of resources.

이상에서 설명한 본 발명의 실시예는 장치 및 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하는 프로그램 또는 그 프로그램이 기록된 기록 매체를 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다. The embodiments of the present invention described above are not only implemented by the apparatus and method but may be implemented through a program for realizing the function corresponding to the configuration of the embodiment of the present invention or a recording medium on which the program is recorded, The embodiments can be easily implemented by those skilled in the art from the description of the embodiments described above.

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

Claims (6)

사용자 단말들에게 리소스를 할당하여 서비스 이용을 가능하게 하는 네트워크 시스템에서의 대기표 관리 방법에 있어서,
a) 사용자 단말의 접속을 확인하는 단계,
b) 상기 접속한 사용자 단말이 대기표를 가지고 있지 않으면 대기표와 대기 시간을 제공하는 단계,
c) 상기 (b) 단계의 사용자 단말에게 제공한 대기표를 대기 리스트에 등록하는 단계,
d) 상기 접속한 사용자 단말이 대기표를 가지고 있으나 리소스의 할당이 가능하지 않으면 상기 사용자 단말에게 새로운 대기표와 대기 시간을 제공하고 상기 대기 리스트에 등록된 상기 사용자 단말의 대기표를 상기 새로운 대기표로 갱신하는 단계,
e) 상기 접속한 사용자 단말이 대기표를 가지고 있고 리소스의 할당이 가능하면 상기 사용자 단말에게 리소스를 할당하는 단계,
f) 상기 e) 단계의 사용자 단말의 대기표를 상기 대기 리스트에서 삭제한 후 할당 리스트에 등록하는 단계,
g) 리소스를 사용중인 사용자 단말로부터 리소스 사용 알림 메시지가 설정 시간 내에 수신되는지를 파악하는 단계, 그리고
h) 상기 리소스 사용 알림 메시지가 설정 시간 내에 수신되지 않은 해당 사용자 단말의 대기표를 상기 할당 리스트에서 삭제하는 단계를 포함하며,
상기 대기표는 상기 네트워크 시스템으로의 접속 순번을 나타내고, 상기 대기 시간은 상기 사용자 단말이 상기 네트워크 시스템에 접속 해지한 후 다음 접속시까지 대기하는 시간인 것을 특징으로 하는 대기표 관리 방법.
What is claimed is: 1. A method of managing a waiting table in a network system that allocates resources to user terminals to enable service use.
a) checking a connection of the user terminal,
b) providing a waiting table and waiting time if the connected user terminal does not have a waiting table,
c) registering the waiting table provided to the user terminal of step (b) in the waiting list,
d) if the accessed user terminal has a waiting table but resource allocation is not possible, providing a new waiting table and waiting time to the user terminal and updating the waiting table of the user terminal registered in the waiting list with the new waiting table. ,
e) allocating resources to the user terminal if the accessed user terminal has a waiting table and resource allocation is possible;
f) deleting the waiting table of the user terminal of step e) from the waiting list and registering it in the assignment list;
g) determining whether a resource usage notification message is received within a set time from a user terminal using the resource, and
h) deleting a waiting table of the corresponding user terminal in which the resource usage notification message has not been received within a predetermined time period from the allocation list,
The waiting table indicates the order of connection to the network system, and the waiting time is a time waiting for the next connection after the user terminal is disconnected from the network system.
삭제delete 제1항에 있어서,
상기 a) 단계는 일련(series)의 순서를 가진 제1 개수의 대기표로 이루어진 제1 대기표 블록에서 대기표 발급이 가능한지를 파악하는 단계와
상기 제1 대기표 블록에서 대기표 발급이 가능하지 않으면 상기 제1 대기 블록에 있는 가장 큰 순번의 대기표에 연속하는 순번에 일련하는 상기 제1 개수의 대기표로 이루어진 제2 대기표 블록에서 상기 대기표를 발급하는 단계를 포함하는 대기표 관리 방법.
The method of claim 1,
The step a) may include determining whether a waiting table can be issued in a first waiting table block including a first number of waiting tables in a series;
Issuing the waiting table in a second waiting block block including the first number of waiting tables in a sequence consecutive to the largest waiting table in the first waiting block if it is not possible to issue the waiting table in the first waiting block. Waiting table management method comprising a.
제3항에 있어서,
i) 제1 대기표를 발급받은 사용자 단말이 설정 시간 내에 리소스 할당 요청을 하지 않으면 상기 제1 대기표를 상기 대기 리스트에서 삭제하는 단계를 더 포함하는 대기표 관리 방법.
The method of claim 3,
i) deleting the first waiting table from the waiting list if the user terminal that has issued the first waiting table does not make a resource allocation request within a set time.
제4항에 있어서,
상기 대기 리스트는 대기표가 등록되는 필드와 대기표가 등록된 시간이 기록되는 필드를 포함하고, 각 필드가 설정 개수로 한정된 고정 크기를 가지며, 등록되는 대기표들이 순번에 따라 일련으로 정렬되는 대기표 관리 방법.
The method of claim 4, wherein
The waiting list includes a field in which a waiting table is registered and a field in which a time when the waiting table is registered, each field has a fixed size limited to a set number, and the waiting table registered is arranged in sequence according to the order.
제4항에 있어서,
상기 할당 리스트는 대기표가 등록되는 필드와 대기표가 등록된 시간이 기록되는 필드를 포함하고, 각 필드가 설정 개수로 한정된 고정 크기가 아니며 대기표의 순번에 관계없이 필드에 등록되는 대기표 관리 방법.
The method of claim 4, wherein
The allocation list includes a field in which a waiting table is registered and a field in which a time when the waiting table is registered is recorded, and each field is not fixed size limited to a set number and is registered in the field regardless of the order of the waiting table.
KR1020100063598A 2008-04-24 2010-07-01 Wating number ticket management method KR101072612B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020080038087 2008-04-24
KR20080038087 2008-04-24

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020080078797A Division KR100993341B1 (en) 2008-04-24 2008-08-12 Wating number ticket management method, resource management method and transaction server

Publications (2)

Publication Number Publication Date
KR20100094430A KR20100094430A (en) 2010-08-26
KR101072612B1 true KR101072612B1 (en) 2011-10-11

Family

ID=42758522

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020100063598A KR101072612B1 (en) 2008-04-24 2010-07-01 Wating number ticket management method
KR1020100083623A KR101074848B1 (en) 2008-04-24 2010-08-27 Contact management method on non-connection type

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020100083623A KR101074848B1 (en) 2008-04-24 2010-08-27 Contact management method on non-connection type

Country Status (1)

Country Link
KR (2) KR101072612B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102519009B1 (en) * 2022-12-29 2023-04-06 주식회사 에스티씨랩 Apparatus and method for managing queue for providing information of waiting screen for connection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102427456B1 (en) * 2021-10-27 2022-08-01 주식회사 파이오링크 Method and device for providing service to certain user by referring to tracking information on the status of server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102519009B1 (en) * 2022-12-29 2023-04-06 주식회사 에스티씨랩 Apparatus and method for managing queue for providing information of waiting screen for connection

Also Published As

Publication number Publication date
KR101074848B1 (en) 2011-10-19
KR101074848B9 (en) 2021-07-08
KR20100110288A (en) 2010-10-12
KR20100094430A (en) 2010-08-26

Similar Documents

Publication Publication Date Title
KR100993341B1 (en) Wating number ticket management method, resource management method and transaction server
JP5763227B2 (en) Resource allocation control method
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
US20140075036A1 (en) Queue Scheduling Method and Apparatus
CN108416519A (en) A kind of guest room method for allocating tasks, server and computer readable storage medium
JP2009176097A (en) Service management apparatus and program
CN110708256A (en) CDN scheduling method, device, network equipment and storage medium
KR20130065019A (en) System and method of resource management of centralized base station in mobile communication network
KR101072612B1 (en) Wating number ticket management method
KR101008010B1 (en) Resource assignment control method and assignment list management method
CN110750350B (en) Large resource scheduling method, system, device and readable storage medium
KR101022839B1 (en) Contact management method on non-connection type
US20100030851A1 (en) Load balancer, load-balancing method, and recording medium with load-balancing program
JP5351839B2 (en) Order processing method, program, and network system
CN108737223B (en) Health consultation method, device, platform and storage medium based on load balancing
JP5943866B2 (en) Information processing apparatus, method, and program
JP5088291B2 (en) BAND CONTROL DEVICE, BAND CONTROL METHOD, ITS PROGRAM, BAND CONTROL SYSTEM
JP4961994B2 (en) BAND USE CONTROL SYSTEM, BAND USE CONTROL METHOD, DEVICE AND ITS PROGRAM
JP2007249846A (en) Network system, reception server therefor and network communication method
JP5742424B2 (en) COMMUNICATION DEVICE AND METHOD, AND CONTROL DEVICE
KR100955423B1 (en) Method, apparatus, server and vehicle system for managing buffer
JP6174519B2 (en) Resource allocation apparatus and operation method thereof
KR100628301B1 (en) Method for providing service for subscriber device with priority in PON system and PON system therefor
JP5790399B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP2013101523A (en) Processing request execution management device and program

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141002

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151005

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161005

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180904

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20191007

Year of fee payment: 9