KR100385219B1 - Method for Overload Controlling in Real-Time System - Google Patents

Method for Overload Controlling in Real-Time System Download PDF

Info

Publication number
KR100385219B1
KR100385219B1 KR10-2001-0058668A KR20010058668A KR100385219B1 KR 100385219 B1 KR100385219 B1 KR 100385219B1 KR 20010058668 A KR20010058668 A KR 20010058668A KR 100385219 B1 KR100385219 B1 KR 100385219B1
Authority
KR
South Korea
Prior art keywords
overload
message
transaction
priority
received
Prior art date
Application number
KR10-2001-0058668A
Other languages
Korean (ko)
Other versions
KR20030025564A (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 KR10-2001-0058668A priority Critical patent/KR100385219B1/en
Priority to TW091120369A priority patent/TWI234114B/en
Priority to CNB021424314A priority patent/CN1276351C/en
Priority to JP2002274404A priority patent/JP3816852B2/en
Publication of KR20030025564A publication Critical patent/KR20030025564A/en
Application granted granted Critical
Publication of KR100385219B1 publication Critical patent/KR100385219B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Abstract

본 발명은 트랜잭션 ID를 이용하여 순간적으로 발생하는 과부하를 자동으로 해결할 수 있도록 하는 실시간 시스템의 과부하 제어 방법에 관한 것이다.The present invention relates to an overload control method of a real-time system that can automatically solve the instantaneous overload using a transaction ID.

종래 실시간 시스템에서는 소정 응용 프로세스에 과부하가 발생되었다고 판단되면, 해당 응용 프로세스에 구비되어 있는 메시지 큐에 현재 쌓여있는 모든 메시지를 무조건 삭제하여 모든 가입자가 어떠한 서비스도 받을 수 없게 되는 문제점이 있다.In the conventional real-time system, if it is determined that an overload occurs in a predetermined application process, there is a problem that all the subscribers cannot receive any service by unconditionally deleting all messages currently stored in the message queue provided in the application process.

본 발명은, 과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제할 메시지의 우선 순위를 결정한 후, 서버에 과부하가 발생하면 트랜잭션 ID의 사용 비율에 의거하여 과부하 단계를 파악하고, 파악된 과부하 단계에서 삭제될 메시지의 우선 순위에 의거하여 클라이언트로부터 수신받은 메시지를 분리하여 삭제/처리함으로써, 미리 과부하를 감지하여 시스템의 장애를 최소화하면서 중단없는 서비스를 제공할 수 있게 된다. 그리고, 과부하를 단계별로 구분하여 제어함으로써, 과부하를 동적으로 제어할 수 있게 되며, 자원을 효율적으로 사용할 수 있게 된다.The present invention divides the degree of overload into several stages, determines the priority of the message to be deleted at each overload stage, and if the server is overloaded, the overload stage is identified based on the transaction ID usage rate, and the identified overload is determined. By separating and processing the message received from the client based on the priority of the message to be deleted in the step, it is possible to provide an uninterrupted service while minimizing the system failure by detecting an overload in advance. In addition, by controlling the overload step by step, it is possible to dynamically control the overload, it is possible to use resources efficiently.

Description

실시간 시스템의 과부하 제어 방법{Method for Overload Controlling in Real-Time System}Overload Controlling in Real-Time System

본 발명은 실시간 시스템의 과부하 제어 방법에 관한 것으로서, 특히 트랜잭션 ID를 이용하여 순간적으로 발생하는 과부하를 자동으로 해결할 수 있도록 하는 실시간 시스템의 과부하 제어 방법에 관한 것이다.The present invention relates to an overload control method of a real-time system, and more particularly, to an overload control method of a real-time system that can automatically solve the instantaneous overload using a transaction ID.

실시간 처리 시스템, 예를 들어, HLR(Home Location Register), AuC(Authentication Center), EIR(Equipment Identification Register), GMLC(Gateway Mobile Location Center), SCP(Service Control Point), AAA(Authentication Authorization and Accounting)와 같은 이동 통신 시스템 또는 은행 업무 시스템(Banking System) 등의 서버에 다양한 데이터베이스 접근을 위한 다중 프로세스가 존재할 때, 서버에 존재하는 각각의 프로세스는 클라이언트로부터 수신받은 메시지를 일시 저장하는 메시지 큐를 구비하며, 메시지 큐를 통해 들어오는 순서대로 메시지를 처리한다.Real-time processing systems such as Home Location Register (HLR), Authentication Center (AuC), Equipment Identification Register (EIR), Gateway Mobile Location Center (GMLC), Service Control Point (SCP), Authentication Authorization and Accounting (AAA) When there are multiple processes for accessing various databases in a server such as a mobile communication system or a banking system, each process in the server has a message queue for temporarily storing messages received from a client. In turn, messages are processed in the order in which they are sent through the message queue.

도 1은 종래 실시간 시스템의 과부하 제어 장치의 구성을 보인 도로, 과부하 제어 프로세스(10)에서 다수의 응용 프로세스(AP1, AP2, …, APn)에서 발생하는 과부하를 감지하여 응용 프로세스(AP1, AP2, …, APn)를 관리하게 된다.1 is a road showing the configuration of an overload control device of a conventional real-time system, in the overload control process 10 detects the overload occurring in a plurality of application processes (AP1, AP2, ..., APn) application process (AP1, AP2, ..., APn) is managed.

도 2는 종래 실시간 시스템의 과부하 제어 방법을 설명하기 위한 도로, 과부하 제어 프로세스(10)는 각각의 응용 프로세스(AP1, AP2, …, APn)에 구비되어 있는 메시지 큐(Q1, Q2, …, Qn)를 통해 각 응용 프로세스(AP1, AP2, …, APn)로 상태 정보 요구 메시지를 전달한다(S10).2 is a road illustrating an overload control method of a conventional real-time system, and the overload control process 10 includes message queues Q1, Q2, ..., Qn provided in respective application processes AP1, AP2, ..., APn. The state information request message is transmitted to each application process AP1, AP2, ..., APn through S10.

상기한 과정 S10에서 메시지 큐(Q1, Q2, …, Qn)를 통해 과부하 제어 프로세스(10)로부터 상태 정보 요구 메시지를 전달받은 각각의 응용 프로세스(AP1, AP2, …, APn)는 자신의 상태 정보를 응답 메시지에 포함하여 과부하 제어 프로세스(10)로 전달하게 된다.In the process S10, each application process AP1, AP2, ..., APn, which has received the status information request message from the overload control process 10 through the message queues Q1, Q2, ..., Qn, has its own state information. It is included in the response message to pass to the overload control process 10.

상기한 과정 S10에서 각 응용 프로세스(AP1, AP2, …, APn)로 상태 정보 요구 메시지를 전달한 과부하 제어 프로세스(10)는 기설정된 시간, 예를 들어, 3초 내에 각 응용 프로세스(AP1, AP2, …, APn)로부터 응답 메시지가 전달되는 지를 확인한다(S12).The overload control process 10 which has transmitted the status information request message to each of the application processes AP1, AP2,..., APn in step S10 described above has each application process AP1, AP2, within a predetermined time, for example, 3 seconds. …, It is checked whether a response message is transmitted from APn (S12).

상기한 과정 S12의 확인결과 기설정된 시간 내에 응답 메시지를 전달받으면 해당 응용 프로세스가 메시지 처리를 정상적으로 수행하고 있다고 판단하고, 기설정된 시간 내에 응답 메시지를 전달받지 못하면 해당 응용 프로세스에 과부하가 발생된 것으로 판단하여 해당 응용 프로세스에 구비되어 있는 메시지 큐에 쌓여있는 모든 메시지를 읽어서 지운다(S14, S16).When the response message is received within the preset time as a result of the checking of the process S12, it is determined that the corresponding application process is normally performing the message processing, and when the response message is not received within the preset time, it is determined that the corresponding application process is overloaded. To read and delete all the messages accumulated in the message queue provided in the application process (S14, S16).

이상에서 살펴본 바와 같이, 종래 실시간 시스템에서는 소정 응용 프로세스에 과부하가 발생되었다고 판단되면, 해당 응용 프로세스에 구비되어 있는 메시지 큐에 현재 쌓여있는 모든 메시지를 무조건 삭제하여 모든 가입자가 어떠한 서비스도 받을 수 없게 되는 문제점이 있다.As described above, in the conventional real-time system, if it is determined that an application process is overloaded, all the messages currently stored in the message queue provided in the application process are unconditionally deleted so that all the subscribers cannot receive any service. There is a problem.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제될 메시지의 우선 순위를 설정한 후, 서버에 과부하가 발생하면 트랜잭션 ID의 사용 비율에 의거하여 과부하 단계를 파악하고, 파악된 과부하 단계에서 삭제될 메시지의 우선 순위에 의거하여 클라이언트로부터 수신받은 메시지를 분리하여 삭제/처리함으로써, 시스템의 장애를 최소화하면서 중단없는 서비스를 제공할 수 있도록 하는 실시간 시스템의 과부하 제어 방법을 제공함에 그 목적이 있다.The present invention has been made to solve the above-mentioned problem, divides the degree of overload into several stages, sets the priority of the message to be deleted in each overload stage, and if the server is overloaded, the transaction ID usage rate Understand the overload phase based on the message, and separate / delete / process the message received from the client based on the priority of the message to be deleted at the identified overload level to provide uninterrupted service while minimizing the system failure. The purpose is to provide an overload control method for a real-time system.

도 1은 종래 실시간 시스템의 과부하 제어 장치의 구성을 보인 도.1 is a view showing the configuration of an overload control device of a conventional real-time system.

도 2는 종래 실시간 시스템의 과부하 제어 방법을 설명하기 위한 도.2 is a view for explaining the overload control method of a conventional real-time system.

도 3은 본 발명에 따른 실시간 시스템의 과부하 제어 방법이 적용되는 실시간 시스템의 과부하 제어 장치의 구성을 보인 도.3 is a view showing the configuration of an overload control apparatus of a real-time system to which the overload control method of the real-time system according to the present invention is applied.

도 4는 본 발명에 따른 실시간 시스템의 과부하 제어 방법을 설명하기 위한 플로우챠트.Figure 4 is a flow chart for explaining the overload control method of a real-time system according to the present invention.

도 5는 본 발명에 따른 과부하 제어 방법이 적용되는 이동 통신망의 구성을 예시적으로 보인 도.5 is a diagram illustrating a configuration of a mobile communication network to which an overload control method according to the present invention is applied.

*** 도면의 주요 부분에 대한 부호의 설명 ****** Explanation of symbols for the main parts of the drawing ***

20. 과부하 제어 프로세스, 30. 이동 단말기,20. Overload control process, 30. Mobile terminal,

40. 노드_B, 50. RNC,40.Node_B, 50.RNC,

60. MSC/VLR, 70. SGSN/GGSN,60.MSC / VLR, 70.SGSN / GGSN,

80. SMSC, 90. IMT-2000 HLR/AuC/EIR,80.SMSC, 90.MTT-2000 HLR / AuC / EIR

95. TCAP95.TCAP

전술한 목적을 달성하기 위한 본 발명에 따른 실시간 시스템의 과부하 제어 방법은, 과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제될 메시지의 우선 순위를 설정하는 설정 과정과; 서버의 과부하 제어 프로세스에서 클라이언트로부 메시지를 수신받으면, 상기 서버에 과부하가 발생했는 지를 판단하는 과정과; 상기 판단결과 상기 서버에 과부하가 발생한 경우에는 상기 발생한 과부하가 어느 단계에 속하는 지를 파악하고, 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높은 지를 판단하는 과정과; 상기 판단결과 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높지 않은 경우에는 상기 수신받은 메시지를삭제시키는 과정을 포함하여 이루어진다.An overload control method of a real-time system according to the present invention for achieving the above object comprises: a setting process of dividing the degree of overload into several steps and setting a priority of a message to be deleted at each overload step; Determining whether an overload has occurred in the server when a message is received from the client in the overload control process of the server; Determining that the overload occurs in the server when the server is overloaded, and determining whether the received message has a higher priority than a message to be deleted in the identified overload step; ; And if the priority of the received message is not higher than the priority of the message to be deleted in the identified overload step, deleting the received message.

여기서, 상기 판단결과 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높은 경우에는, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID 중에서 하나를 선택하여 상기 수신받은 메시지에 할당하고, 상기 선택된 트랜잭션 ID를 상기 과부하 제어 프로세스에 의해 사용되는 트랜잭션 ID로 등록시키는 과정과; 상기 수신받은 메시지와, 상기 수신받은 메시지에 할당된 트랜잭션 ID를 해당 응용 프로세스로 전달하는 과정과; 상기 응용 프로세스로부터 상기 트랜잭션 ID와 함께 상기 메시지에 대한 응답 메시지를 수신받는 과정과; 상기 수신받은 응답 메시지를 해당 클라이언트로 전송하고, 상기 트랜잭션 ID를 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID로 등록시키는 과정을 더 포함하여 이루어지는 것을 특징으로 한다.In this case, if the priority of the received message is higher than the priority of the message to be deleted in the identified overload step, the received message is selected by selecting one of the transaction IDs not used by the overload control process. Assigning to the transaction ID and registering the selected transaction ID as a transaction ID used by the overload control process; Delivering the received message and a transaction ID assigned to the received message to a corresponding application process; Receiving a response message to the message together with the transaction ID from the application process; And transmitting the received response message to a corresponding client and registering the transaction ID as a transaction ID not used by the overload control process.

그리고, 상기 서버에 과부하가 발생했는 지에 대한 판단은, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID에 대한 비율에 의거하여 이루어지는 것을 특징으로 한다.The determination as to whether or not an overload has occurred in the server is based on a ratio of transaction IDs not used by the overload control process.

그리고, 상기 발생한 과부하가 어느 단계에 속하는 지에 대한 파악은, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID에 대한 비율에 의거하여 이루어지는 것을 특징으로 한다.The step of identifying which stage the generated overload belongs to is based on a ratio for a transaction ID not used by the overload control process.

이하에서는 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 실시간 시스템의 과부하 제어 방법에 대해서 상세하게 설명한다.Hereinafter, an overload control method of a real time system according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 따른 실시간 시스템의 과부하 제어 방법이 적용되는 실시간 시스템의 과부하 제어 장치의 구성을 보인 도로, HLR, AuC, EIR, GMLC, SCP, AAA와 같은 이동 통신 시스템 또는 은행 업무 시스템 등과 같은 서버는 다수개의 응용 프로세스(AP1, AP2, …, APn)와, 과부하 제어 프로세스(20)를 구비하여 이루어진다.3 is a road communication, a mobile communication system such as HLR, AuC, EIR, GMLC, SCP, AAA or the like, which shows the configuration of an overload control device of a real-time system to which the overload control method of the real-time system according to the present invention is applied. The server comprises a plurality of application processes (AP1, AP2, ..., APn) and the overload control process 20.

서버는 데이터베이스를 보유하고 있는 시스템으로, 서버와 일대 다수개로 맵핑되어 있는 클라이언트로부터 처리가 요구되는 메시지를 수신받으면, 수신받은 메시지를 실시간적으로 즉시 처리하여 그에 대한 응답을 할 수 있어야 한다.The server is a system that has a database. When a server receives a message that needs to be processed from a client that is mapped with the server, the server should be able to immediately process the response in real time and respond to it.

전술한, 다수개의 응용 프로세스(AP1, AP2, …, APn)는 과부하 제어 프로세스(20)를 통해 메시지와 트랜잭션 ID를 수신받아 트랜잭션(클라이언트와 서버 간에 송수신되는 한 쌍의 메시지)을 발생시킨 클라이언트에 응답 메시지를 전송할 때까지 일련의 절차를 수행한다.As described above, the plurality of application processes AP1, AP2,..., APn receive a message and a transaction ID through the overload control process 20 to a client that generates a transaction (a pair of messages transmitted and received between the client and the server). A series of procedures is performed until the response message is sent.

과부하 제어 프로세스(20)는 과부하 제어를 담당하는 프로세스로, 트랜잭션 ID를 사용하여 클라이언트로부터 수신받은 메시지를 관리하는 데, 트랜잭션 ID는 과부하 제어 프로세스(20)에 의해 사용되는(Busy) 트랜잭션 ID와, 사용되지 않는(Idle) 트랜잭션 ID로 구분되어 리스트 형식으로 관리된다.The overload control process 20 is a process in charge of overload control, and manages a message received from a client using a transaction ID. The transaction ID is a transaction ID used by the overload control process 20 (Busy), Managed in list format, separated by idle IDs.

따라서, 초기에는 모든 트랜잭션 ID가 사용되지 않는 아이들 리스트(Idle List)에 저장되고, 클라이언트로부터 메시지를 수신받으면, 과부하 제어 프로세스(20)는 아이들 리스트에 저장되어 있는 트랜잭션 ID 중에서 하나를 선택하여 클라이언트로부터 수신받은 메시지에 할당하게 되고, 선택된 트랜잭션 ID를 비지 리스트(Busy List)에 저장하게 된다.Therefore, initially all transaction IDs are stored in an idle list that is not used, and when a message is received from the client, the overload control process 20 selects one of the transaction IDs stored in the idle list from the client. It is assigned to the received message, and the selected transaction ID is stored in the busy list.

전술한 바와 같이, 과부하 제어 프로세스(20)는 클라이언트로부터 메시지를 수신받으면, 수신받은 메시지에 트랜잭션 ID를 할당한 후, 해당 메시지를 처리할 응용 프로세스로 해당 메시지를 트랜잭션 ID와 함께 전송하고, 해당 메시지를 처리한 응용 프로세스로부터 트랜잭션 ID와 함께 응답 메시지를 수신받아 해당 클라이언트에 응답 메시지를 전송하고, 해당 트랜잭션 ID를 아이들 리스트에 저장하게 된다.As described above, when the overload control process 20 receives a message from the client, the overload control process 20 assigns a transaction ID to the received message, and then transmits the message along with the transaction ID to the application process that will process the message. Receives a response message with a transaction ID from the application process that processed the and sends the response message to the client, and stores the transaction ID in the idle list.

전술한, 트랜잭션 ID의 최대값은 서버와 클라이언트의 처리 능력에 따라 가변된다.As described above, the maximum value of the transaction ID varies depending on the processing capacity of the server and the client.

도 4는 본 발명에 따른 실시간 시스템의 과부하 제어 방법을 설명하기 위한 플로우챠트이다.4 is a flowchart for explaining an overload control method of a real-time system according to the present invention.

우선, 과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제될 메시지의 우선 순위를 설정한다(S20).First, the degree of overload is divided into several stages, and the priority of messages to be deleted in each overload stage is set (S20).

이후, 서버의 과부하 제어 프로세스(20)에서 클라이언트로부터 메시지를 수신받으면, 클라이언트로부터의 메시지 수신이 어느 한 순간에 집중되어 서버에 과부하가 발생했는 지를 판단한다(S22, S24).Subsequently, when a message is received from the client in the overload control process 20 of the server, the message reception from the client is concentrated at any moment to determine whether the server is overloaded (S22 and S24).

상기한 과정 S24에서 서버에 과부하가 발생했는 지에 대한 판단은, 과부하 제어 프로세스(20)에 의해 사용되지 않는 트랜잭션 ID의 개수 또는 과부하 제어 프로세스(20)에 의해 사용되는 트랜잭션 ID의 개수에 의거하여 이루어지는 데, 과부하 제어 프로세스(20)에 의해 사용되지 않는 트랜잭션 ID의 개수가 일정 비율 이하이거나, 과부하 제어 프로세스(20)에 의해 사용되는 트랜잭션 ID의 개수가 일정 비율 이상인 경우에는 서버에 과부하가 발생한 경우이다.The determination as to whether or not an overload has occurred in the server in step S24 is made based on the number of transaction IDs not used by the overload control process 20 or the number of transaction IDs used by the overload control process 20. If the number of transaction IDs not used by the overload control process 20 is less than or equal to a certain percentage, or the number of transaction IDs used by the overload control process 20 is more than or equal to a certain percentage, then the server is overloaded. .

즉, 클라이언트로부터의 메시지 수신이 어느 한 순간에 집중되면, 과부하 제어 프로세스(20)에 의해 사용되는 트랜잭션 ID의 개수가 늘어나게 되고, 과부하 제어 프로세스(20)에 의해 사용되지 않는 트랜잭션 ID의 개수가 줄어들게 된다. 따라서, 서버는 과부하 상태에 이르게 된다.That is, if message reception from the client is concentrated at any moment, the number of transaction IDs used by the overload control process 20 increases, and the number of transaction IDs not used by the overload control process 20 decreases. do. Thus, the server is overloaded.

상기한 과정 S24의 판단결과 서버에 과부하가 발생한 경우에는, 현재 발생한 과부하가 어느 단계에 속해있는 지를 파악하고, 상기한 과정 S22에서 수신받은 메시지가 삭제되어야 하는 메시지인 지를 판단한다(S26, S28).As a result of the determination of step S24, if an overload occurs in the server, it is determined to which step the overload currently occurs and determines whether the message received in step S22 is a message to be deleted (S26, S28). .

상기한 과정 S26에서 현재 발생한 과부하가 어느 단계에 속하는 지에 대한 파악은, 과부하 제어 프로세스(20)에 의해 사용되지 않는 트랜잭션 ID에 대한 비율에 의거하여 결정된다.The grasp of which step the overload currently occurring in the above-mentioned process S26 belongs is determined based on the ratio with respect to the transaction ID not used by the overload control process 20. FIG.

그리고, 상기한 과정 S28에서 상기한 과정 S22에서 수신받은 메시지가 삭제되어야 하는 메시지인 지에 대한 판단은, 상기한 과정 S20에서 설정된 각각의 과부하 단계에서 삭제될 메시지의 우선 순위에 의거하여 결정되는 데, 상기한 과정 S22에서 수신받은 메시지의 우선 순위가 상기한 과정 S26에서 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높지 않으면 상기한 과정 S22에서 수신받은 메시지는 삭제된다.The determination as to whether or not the message received in step S22 is a message to be deleted in step S28 is determined based on the priority of the message to be deleted in each overload step set in step S20. If the priority of the message received in step S22 is not higher than the priority of the message to be deleted in the overload step identified in step S26, the message received in step S22 is deleted.

상기한 과정 S28의 판단결과 상기한 과정 S22에서 수신받은 메시지가 삭제되어야 하는 메시지인 경우에는 해당 메시지를 삭제시킨다(S30).As a result of the determination in step S28, if the message received in step S22 is a message to be deleted, the corresponding message is deleted (S30).

한편, 상기한 과정 S28의 판단결과 상기한 과정 S22에서 수신받은 메시지의 우선 순위가 상기한 과정 S26에서 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높아 상기한 과정 S22에서 수신받은 메시지가 삭제되어야 하는 메시지가 아닌 경우에는, 아이들 리스트에 저장되어 있는 트랜잭션 ID 중에서 하나를 선택하여 상기한 과정 S22에서 수신받은 메시지에 할당하고, 선택된 트랜잭션 ID를 비지 리스트에 저장한다(S32).Meanwhile, as a result of the determination of step S28, the priority of the message received in step S22 is higher than the priority of the message to be deleted in the overload step identified in step S26, and the message received in step S22 should be deleted. If it is not a message, one of the transaction IDs stored in the idle list is selected and assigned to the message received in step S22, and the selected transaction ID is stored in the busy list (S32).

이후에는, 상기한 과정 S22에서 수신받은 메시지와 해당 메시지에 할당된 트랜잭션 ID를 해당 응용 프로세스로 전달한다(S34).Thereafter, the message received in step S22 and the transaction ID assigned to the message are transferred to the corresponding application process (S34).

상기한 과정 S34에서 과부하 제어 프로세스(20)로부터 메시지와 트랜잭션 ID를 전달받은 응용 프로세스는 해당 메시지를 처리한 후, 해당 메시지에 대한 응답 메시지를 과부하 제어 프로세스(20)로 전달하는 데, 과부하 제어 프로세스(20)로 응답 메시지를 전달할 때, 상기한 과정 S34에서 메시지와 함께 수신받은 트랜잭션 ID를 함께 전송한다.The application process that has received the message and the transaction ID from the overload control process 20 in step S34 processes the message and then transfers the response message to the overload control process 20 to the overload control process 20. When the response message is transmitted to step 20, the transaction ID received with the message is transmitted together with the message in step S34.

이후, 상기한 과정 S34에서 전달한 메시지를 수신받아 처리한 응용 프로세스로부터 해당 메시지에 대한 응답 메시지와 트랜잭션 ID를 수신받으면, 해당 응용 프로세스로부터 수신받은 응답 메시지를 해당 클라이언트로 전송하고, 응답 메시지와 함께 수신받은 트랜잭션 ID를 아이들 리스트에 저장한다(S36, S38).Subsequently, when receiving the response message and the transaction ID for the corresponding message from the application process that has received and processed the message delivered in step S34, the response message received from the application process is transmitted to the client and received together with the response message. The received transaction ID is stored in the idle list (S36, S38).

이하에서는 도 5를 참조하여 본 발명의 과부하 제어 방법에 따른 동작 과정을 예시적으로 설명한다.Hereinafter, an operation process according to the overload control method of the present invention will be described with reference to FIG. 5.

도 5는 본 발명에 따른 과부하 제어 방법이 적용되는 이동 통신망의 구성을예시적으로 보인 도로, 비동기 광대역 코드 분할 방식(Wide-band Code Division Multiple Access;WCDMA)으로 위치 등록, 호 처리, 각종 부가 서비스 등을 요청하는 이동 단말기(30)와, 기지국인 노드_B(40)와, 노드_B(40)의 제어기인 RNC(Radio access Network Controller)(50)와, 위치 등록, 호 처리 및 각종 부가 서비스 등을 처리하는 MSC/VLR(Mobile Switched Center/Visited Location Register)(60)과, 패킷 데이터 서비스를 처리하는 SGSN/GGSN(Serving GPRS Service Node/Gateway GPRS Service Node)(70)와, 단문 메시지 서비스를 처리하는 SMSC(Short Message Service Center)(80)와, 3세대 이동 통신망에서 가입자의 정보를 저장하고 있는 IMT-2000 HLR/AuC/EIR(90) 등과 같은 망 요소로 구성되어 있다.5 is a road showing an example of the configuration of a mobile communication network to which the overload control method according to the present invention is applied, location registration, call processing, and various additional services in a wideband code division multiple access (WCDMA); A mobile terminal 30 requesting the user's request, a Node_B 40 serving as a base station, a Radio Access Network Controller (RNC) 50 serving as a controller of the Node_B 40, location registration, call processing, and various additions. MSC / VLR (Mobile Switched Center / Visited Location Register) 60 processing services, SGSN / GGSN (Serving GPRS Service Node / Gateway GPRS Service Node) 70 processing packet data services, and Short Message Service SMSC (Short Message Service Center) processing 80, and network elements such as IMT-2000 HLR / AuC / EIR (90) for storing subscriber information in the third generation mobile communication network.

전술한, IMT-2000 HLR/AuC/EIR(90)은 위치 등록, 호 처리 및 각종 부가 서비스를 처리하는 다수개의 ASE(Application Service Entity)(ASE1, ASE2, …, ASEn)와, MSC/VLR(60), SGSN/GGSN(70), SMSC(80) 등과 같은 클라이언트로부터 메시지를 수신받아 ASC에게 전달해주는 TCAP(Transaction Capability Application Part)(95)을 구비하여 이루어진다.As described above, the IMT-2000 HLR / AuC / EIR 90 includes a plurality of ASEs (ASE1, ASE2, ..., ASEn) that process location registration, call processing, and various additional services, and MSC / VLR ( 60), a Transaction Capability Application Part (TCAP) 95 for receiving a message from a client such as SGSN / GGSN 70, SMSC 80, etc., and delivering the message to the ASC.

우선, IMT-2000 HLR/AuC/EIR(90)은 트랜잭션 ID의 최대값을 2,000이라고 가정했을 때, 과부하의 정도를 표 1과 같이 5단계로 나누고, 각각의 과부하 단계에서 삭제시킬 메시지의 우선 순위를 설정한다.First, IMT-2000 HLR / AuC / EIR (90) divides the degree of overload into five steps as shown in Table 1, assuming the maximum value of transaction ID is 2,000, and the priority of the message to be deleted at each overload step. Set.

과부하1단계Overload Stage 1 트랜잭션 ID가 아이들 리스트에 400개 이하 남아있는 경우If there are less than 400 transaction IDs left in the idle list 부가 서비스 관련 메시지 삭제Delete additional service related messages 과부하2단계Overload Stage 2 트랜잭션 ID가 아이들 리스트에 300개 이하 남아있는 경우If there are less than 300 transaction IDs left in the idle list 위치 기반 서비스 관련 메시지 삭제Deleting messages related to location-based services 과부하3단계Overload Stage 3 트랜잭션 ID가 아이들 리스트에 200개 이하 남아있는 경우If there are less than 200 transaction IDs left in the idle list 착신 호 처리 관련 메시지 삭제Delete messages related to incoming call processing 과부하4단계Overload Stage 4 트랜잭션 ID가 아이들 리스트에 100개 이하 남아있는 경우If there are less than 100 transaction IDs left in the idle list 단문 서비스 관련 메시지 삭제Delete Short Message Related Messages 과부하5단계Overload Level 5 트랜잭션 ID가 아이들 리스트에 0개 남아있는 경우If there are 0 transaction IDs left in the idle list 위치 등록 관련 메시지 삭제Delete location registration message

이동 단말기(30)로부터 위치 등록, 호 처리, 각종 부가 서비스 요구가 있을 경우에 IMT-2000 HLR/AuC/EIR(90)은 MSC/VLR(60), SGSN/GGSN(70), SMSC(80)를 통해 이동 단말기(30)가 요청한 위치 등록, 호 처리, 각종 부가 서비스 요구에 대한 메시지를 수신받아 처리한 후, 그에 대한 응답 메시지를 위치 등록, 호 처리, 각종 부가 서비스를 요구한 이동 단말기(30)로 보내는 데, 어느 한 순간에 메시지 수신량이 많아지게 되면 트랜잭션 ID는 비지 리스트에 많이 저장되고, 아이들 리스트에서는 줄어들게 된다. 따라서, IMT-2000 HLR/AuC/EIR(90)은 과부하 상태에 이르게 되는 데, TCAP(95)은 IMT-2000 HLR/AuC/EIR(90)에서 발생한 과부하의 단계를 파악하고, 파악된 과부하 단계에 의거하여 메시지를 우선 순위에 따라 처리하게 된다.When there is a request for location registration, call processing, and various additional services from the mobile terminal 30, the IMT-2000 HLR / AuC / EIR 90 performs an MSC / VLR 60, SGSN / GGSN 70, and SMSC 80. The mobile terminal 30 receives and processes a request for location registration, call processing, and various additional service requests requested by the mobile terminal 30, and then responds to the mobile terminal 30 requesting location registration, call processing, and various additional services. ), If a message receives a lot at a moment, the transaction ID is stored a lot in the busy list and decreased in the idle list. Thus, the IMT-2000 HLR / AuC / EIR 90 leads to an overload condition, and the TCAP 95 identifies the stage of the overload that occurred in the IMT-2000 HLR / AuC / EIR 90, and the identified overload stage Based on this, messages are processed in order of priority.

예를 들어, 현재 파악된 과부하 단계가 3단계인 경우에는 착신호 처리 관련 메시지를 비롯하여, 착신호 처리 관련 메시지보다 우선 순위가 낮은 위치 기반 서비스 관련 메시지와 부가 서비스 관련 메시지는 삭제하고, 착신호 처리 관련 메시지보다 우선 순위가 높은 단문 서비스 관련 메시지와 위치 등록 관련 메시지만을 ASE로 전달한다.For example, if the currently identified overload phase is three levels, the location-based service-related message and the additional service-related message having a lower priority than the incoming call processing-related message, including the incoming call processing-related message, are deleted, and the incoming call processing is deleted. Only short service-related messages and location registration-related messages that have higher priority than the related messages are delivered to ASE.

본 발명의 실시간 시스템의 과부하 제어 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수있다.The overload control method of the real-time system of the present invention is not limited to the above-described embodiment, and may be variously modified and implemented within the range allowed by the technical idea of the present invention.

이상에서 설명한 바와 같은 본 발명의 실시간 시스템의 과부하 제어 방법에 따르면, 과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제할 메시지의 우선 순위를 결정한 후, 서버에 과부하가 발생하면 트랜잭션 ID의 사용 비율에 의거하여 과부하 단계를 파악하고, 파악된 과부하 단계에서 삭제될 메시지의 우선 순위에 의거하여 클라이언트로부터 수신받은 메시지를 분리하여 삭제/처리함으로써, 미리 과부하를 감지하여 시스템의 장애를 최소화하면서 중단없는 서비스를 제공할 수 있게 된다.According to the overload control method of the real-time system of the present invention as described above, by dividing the degree of overload into several stages, after determining the priority of the message to delete at each overload stage, if the server is overloaded, use of transaction ID It identifies the overload phase based on the rate and separates / processes the message received from the client based on the priority of the message to be deleted at the identified overload stage. To provide services.

그리고, 과부하를 단계별로 구분하여 제어함으로써, 과부하를 동적으로 제어할 수 있게 되며, 자원을 효율적으로 사용할 수 있게 된다.In addition, by controlling the overload step by step, it is possible to dynamically control the overload, it is possible to use resources efficiently.

Claims (4)

과부하의 정도를 여러 단계로 나누고, 각각의 과부하 단계에서 삭제될 메시지의 우선 순위를 설정하는 설정 과정과;A setting process of dividing the degree of overload into several steps and setting a priority of messages to be deleted in each overload step; 서버의 과부하 제어 프로세스에서 클라이언트로부 메시지를 수신받으면, 상기 서버에 과부하가 발생했는 지를 판단하는 과정과;Determining whether an overload has occurred in the server when a message is received from the client in the overload control process of the server; 상기 판단결과 상기 서버에 과부하가 발생한 경우에는 상기 발생한 과부하가 어느 단계에 속하는 지를 파악하고, 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높은 지를 판단하는 과정과;Determining that the overload occurs in the server when the server is overloaded, and determining whether the received message has a higher priority than a message to be deleted in the identified overload step; ; 상기 판단결과 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높지 않은 경우에는 상기 수신받은 메시지를 삭제시키는 과정을 포함하여 이루어지는 실시간 시스템의 과부하 제어 방법.If the priority of the received message is not higher than the priority of the message to be deleted in the identified overload step, deleting the received message. 제 1항에 있어서, 상기 판단결과 상기 수신받은 메시지의 우선 순위가 상기 파악된 과부하 단계에서 삭제될 메시지의 우선 순위보다 높은 경우에는,The method of claim 1, wherein if the priority of the received message is higher than the priority of the message to be deleted in the identified overload step, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID 중에서 하나를 선택하여 상기 수신받은 메시지에 할당하고, 상기 선택된 트랜잭션 ID를 상기 과부하 제어 프로세스에 의해 사용되는 트랜잭션 ID로 등록시키는 과정과;Selecting one of the transaction IDs not used by the overload control process and assigning the received message to the received message and registering the selected transaction ID as a transaction ID used by the overload control process; 상기 수신받은 메시지와, 상기 수신받은 메시지에 할당된 트랜잭션 ID를 해당 응용 프로세스로 전달하는 과정과;Delivering the received message and a transaction ID assigned to the received message to a corresponding application process; 상기 응용 프로세스로부터 상기 트랜잭션 ID와 함께 상기 메시지에 대한 응답 메시지를 수신받는 과정과;Receiving a response message to the message together with the transaction ID from the application process; 상기 수신받은 응답 메시지를 해당 클라이언트로 전송하고, 상기 트랜잭션 ID를 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID로 등록시키는 과정을 더 포함하여 이루어지는 것을 특징으로 하는 실시간 시스템의 과부하 제어 방법.And transmitting the received response message to a corresponding client, and registering the transaction ID as a transaction ID not used by the overload control process. 제 1항에 있어서, 상기 서버에 과부하가 발생했는 지에 대한 판단은,The method of claim 1, wherein the determination as to whether or not the server is overloaded, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID에 대한 비율에 의거하여 이루어지는 것을 특징으로 하는 실시간 시스템의 과부하 제어 방법.Overload control method of the real-time system, characterized in that based on the ratio to the transaction ID not used by the overload control process. 제 1항에 있어서, 상기 발생한 과부하가 어느 단계에 속하는 지에 대한 파악은,The method of claim 1, wherein the grasp of which step the generated overload belongs to, 상기 과부하 제어 프로세스에 의해 사용되지 않는 트랜잭션 ID에 대한 비율에 의거하여 이루어지는 것을 특징으로 하는 실시간 시스템의 과부하 제어 방법.Overload control method of the real-time system, characterized in that based on the ratio to the transaction ID not used by the overload control process.
KR10-2001-0058668A 2001-09-21 2001-09-21 Method for Overload Controlling in Real-Time System KR100385219B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR10-2001-0058668A KR100385219B1 (en) 2001-09-21 2001-09-21 Method for Overload Controlling in Real-Time System
TW091120369A TWI234114B (en) 2001-09-21 2002-09-05 Method of controlling overload in the real-time processing system
CNB021424314A CN1276351C (en) 2001-09-21 2002-09-19 Overload controlling method for use in realtime treating system
JP2002274404A JP3816852B2 (en) 2001-09-21 2002-09-20 Real-time processing system overload control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0058668A KR100385219B1 (en) 2001-09-21 2001-09-21 Method for Overload Controlling in Real-Time System

Publications (2)

Publication Number Publication Date
KR20030025564A KR20030025564A (en) 2003-03-29
KR100385219B1 true KR100385219B1 (en) 2003-05-27

Family

ID=36592734

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0058668A KR100385219B1 (en) 2001-09-21 2001-09-21 Method for Overload Controlling in Real-Time System

Country Status (4)

Country Link
JP (1) JP3816852B2 (en)
KR (1) KR100385219B1 (en)
CN (1) CN1276351C (en)
TW (1) TWI234114B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130015894A (en) * 2011-08-05 2013-02-14 에스케이텔레콤 주식회사 System, apparatus for controlling overload based on subscriber's priority and method thereof

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7779415B2 (en) * 2003-11-21 2010-08-17 International Business Machines Corporation Adaptive load distribution in managing dynamic and transient data for distributed applications
CN1684426B (en) * 2004-04-14 2010-04-28 华为技术有限公司 Method for network service entity for managing session affairs mark and its correspondent information
KR100713625B1 (en) * 2005-09-02 2007-05-02 삼성전자주식회사 Method and apparatus for controlling over-load of load-valancing system
KR100833976B1 (en) * 2006-06-02 2008-05-30 에스케이 텔레콤주식회사 Method, Server and System for Processing Message for Use in On-line Service and Terminal Therefor
KR100792836B1 (en) * 2006-06-02 2008-01-14 에스케이 텔레콤주식회사 Method and Server for Processing Traffic for Use in On-line Service
WO2009065252A1 (en) * 2007-11-21 2009-05-28 Lucent Technologies Inc. A method and a device for controlling the overload on the network service device
KR101540499B1 (en) 2011-10-10 2015-07-29 주식회사 케이티 Short Message Server, User Equipment Triggering Method Thereof, Trigger Request Delivering Server, and Trigger Request Delivering Method Thereof
CN103309734A (en) * 2013-06-24 2013-09-18 哈尔滨工业大学 Embedded task scheduling method based on priority grouping

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130015894A (en) * 2011-08-05 2013-02-14 에스케이텔레콤 주식회사 System, apparatus for controlling overload based on subscriber's priority and method thereof
KR101889897B1 (en) * 2011-08-05 2018-08-23 에스케이텔레콤 주식회사 System, apparatus for controlling overload based on subscriber’s priority and method thereof

Also Published As

Publication number Publication date
TWI234114B (en) 2005-06-11
KR20030025564A (en) 2003-03-29
CN1410891A (en) 2003-04-16
JP3816852B2 (en) 2006-08-30
CN1276351C (en) 2006-09-20
JP2003186685A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
US9380554B2 (en) Method for the determination of a receiver for location information
EP1292869B1 (en) Changing a first subscriber identifier to a second identifier
US6920326B2 (en) Method and apparatus for restricting call terminations when a mobile unit is roaming
US7269428B1 (en) Method for enabling a user to be notified of his/her positioning requests
EP1829413B1 (en) A default subscription profile for a roaming terminal device in a packet data based mobile communication network
KR100510651B1 (en) Method for Managing Resource of Mobile Communication System
EP1378137B9 (en) Method for deferred location reporting in a radio cellular network
US20040202107A1 (en) Equipment and method for management of state information for data transmission in a telephone network
KR100385219B1 (en) Method for Overload Controlling in Real-Time System
US6850760B2 (en) Method and devices for improved location updating in a mobile communication system
CN101316445A (en) Flow control method, communication system and correlated device
US7369860B2 (en) Data protection for position-dependent services
JP2010045590A (en) Switching equipment and communication regulation control method using it
KR100608834B1 (en) Method for setting automatically gprs connection form in mobile station
KR20030093603A (en) METHOD FOR AUTHENTICATION in wireless communication system for high rate packet data
RU2282952C2 (en) Method for requesting confirmation for determining position of mobile radio communication device and appropriate mobile communications network
KR100501155B1 (en) Dynamic Home Agent Address Assignment Method In Mobile IP

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080424

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee