KR20060029979A - Apparatus and method for load sharing and routing using megaco protocol - Google Patents

Apparatus and method for load sharing and routing using megaco protocol Download PDF

Info

Publication number
KR20060029979A
KR20060029979A KR1020040078857A KR20040078857A KR20060029979A KR 20060029979 A KR20060029979 A KR 20060029979A KR 1020040078857 A KR1020040078857 A KR 1020040078857A KR 20040078857 A KR20040078857 A KR 20040078857A KR 20060029979 A KR20060029979 A KR 20060029979A
Authority
KR
South Korea
Prior art keywords
media gateway
message
call processing
load balancing
processing module
Prior art date
Application number
KR1020040078857A
Other languages
Korean (ko)
Inventor
신동근
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020040078857A priority Critical patent/KR20060029979A/en
Publication of KR20060029979A publication Critical patent/KR20060029979A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/44Distributed routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명의 일 측면에 따른 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법은, 게이트웨이 컨트롤러가 미디어 게이트웨이의 서비스 대기 상태임을 확인하고, 종단(Termination)에 대한 이벤트 발생 감지 명령을 상기 게이트웨이 컨트롤러에 전송하는 제 1 변형(Modify) 메시지 전송 단계, 상기 미디어 게이트웨이가 종단에서 발생하는 이벤트에 대해 알림(Notify) 메시지를 통해 상기 게이트웨이 컨트롤러에게 보고하는 제 1 알림 메시지 보고 단계, 상기 게이트웨이 컨트롤러는 상기 발생 이벤트에 대한 처리를 담당할 호 처리 모듈을 지정하고, 상기 지정한 호 처리 모듈 그룹 ID를 이용해 암호화시킨 리퀘스트 ID를 이용해 미디어 게이트웨이로 이벤트 발생 감지 명령을 전송하는 제 2 변형 메시지 전송 단계 및 상기 미디어 게이트웨이가 상기 발생한 호에 대한 다음 이벤트 발생을 감지하여 알림 메시지를 통해 보고하는 경우, 상기 미디어 게이트웨이는 상기 알림 메시지의 암호화 된 리퀘스트 ID로부터 해당 호에 대한 호 처리를 담당하는 그룹 ID를 추출하여 해당 호 처리 모듈로 라우팅을 수행하는 단계를 포함한다.
In the load balancing and routing method using the media gateway control protocol according to an aspect of the present invention, the gateway controller determines that the media gateway is waiting for service of the media gateway, and transmits an event occurrence detection command for termination to the gateway controller. Transmitting a first modify message, reporting a first notification message to the gateway controller through a Notify message for an event occurring at an endpoint; A second modified message transmission step of designating a call processing module to be in charge of a process and transmitting an event occurrence detection command to a media gateway using a request ID encrypted using the designated call processing module group ID; When detecting the next occurrence of the event on the call and reporting it through the notification message, the media gateway extracts the group ID in charge of the call processing from the encrypted request ID of the notification message to the corresponding call processing module. Performing routing.

Description

미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치 및 방법{Apparatus and Method for Load Sharing and Routing Using MEGACO Protocol}  Load balancing and routing device and method using media gateway control protocol {Apparatus and Method for Load Sharing and Routing Using MEGACO Protocol}             

도 1은 하나의 응용 레벨 게이트웨이를 포함하는 소프트 스위치와 미디어 게이트웨이의 연결 구성도.1 is a connection configuration diagram of a soft switch and a media gateway including one application level gateway.

도 2는 본 발명이 적용되는 VoIP 시스템의 구성도.2 is a block diagram of a VoIP system to which the present invention is applied.

도 3은 본 발명에 따른 소프트 스위치와 미디어 게이트웨이를 포함하는 네트워크 구성도.3 is a network diagram including a soft switch and a media gateway according to the present invention;

도 4는 알림(Notify) 메시지에 대한 부하 분산 처리 및 라우팅 흐름도.4 is a load balancing processing and routing flow diagram for a Notify message.

도 5는 본 발명에 따른 명령 메시지와 그 응답 메시지에 대한 라우팅 흐름도.
5 is a flow diagram for routing a command message and its response message in accordance with the present invention.

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

10 : 호 처리 모듈 20 : ALG(응용 레벨 게이트웨이)10: call processing module 20: ALG (application level gateway)

30 : 미디어 게이트웨이(Media Gateway)30: Media Gateway

40 : 부하분산 라우터(Load Sharing Router)40: Load Sharing Router

201 : 소프트 스위치 202 : 액세스 게이트웨이 201: soft switch 202: access gateway                 

203 : 트렁크 게이트웨이 204 : 시그널 게이트웨이
203 Trunk Gateway 204 Signal Gateway

본 발명은 VoIP 시스템의 부하 분산을 위한 라우팅 처리에 관한 것으로, 액세스 게이트웨이로부터 인입되는 호 시도에 대한 적절한 부하 분배와 특정 호 처리 세션으로의 메시지 전달을 수행하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치 및 방법에 관한 것이다.
The present invention relates to routing processing for load balancing of a VoIP system. The present invention relates to load balancing and routing using a media gateway control protocol that performs appropriate load distribution for incoming call attempts from an access gateway and message delivery to a specific call processing session. An apparatus and method are provided.

VoIP(Voice over Internet Protocol)는 인터넷 프로토콜(Internet Protocol)을 이용하여 음성전화 서비스, 멀티미디어 회의 등을 제공하는 기술로서, IP 네트워크와 공중전화망(Public Switched Telephone Network : PSTN)의 연동을 통하여 여러 가지 서비스를 제공한다.Voice over Internet Protocol (VoIP) is a technology that provides voice telephony services and multimedia conferences using the Internet Protocol. Various services are provided through the interworking of IP networks and public switched telephone networks (PSTNs). To provide.

현재 전 세계에 IP 네트워크가 구축되어 있고, VoIP를 위한 공중전화망, 사설 교환망, 이동통신 네트워크 등에 사용되는 교환기는 소프트 스위치(Soft switch)와 미디어 게이트웨이(Media gateway)로 분리되어 가고 있는 추세이다. 이는 3GPP(The 3rd Generation Partnership Project), 3GPP2(The 3rd Generation Partnership Project 2), ITU-T(International Telecommunication Union-Telecommunication Standardization Sector)에 제시되어 있다. Currently, IP networks are established all over the world, and the exchanges used for public telephone networks, private switching networks, and mobile communication networks for VoIP are being separated into soft switches and media gateways. It is presented in The 3rd Generation Partnership Project (3GPP), The 3rd Generation Partnership Project 2 (3GPP2), and International Telecommunication Union-Telecommunication Standardization Sector (ITU-T).                         

VoIP 구현을 위해 현재 가장 많이 사용되는 시그널링 프로토콜들은 H.323, SIP(Session Initiation Protocol), MGCP(Media Gateway Control Protocol), MEGACO(Media Gateway Control) 등이 있다. VoIP를 구현하기 위한 프로토콜은 호 제어 프로토콜과 미디어 레벨 프로토콜로 구분될 수 있다. 공중전화망의 시그널링 프로토콜인 SS7과 같이, IP 네트워크에서도 H.323이나 SIP와 같은 호 제어 프로토콜이 필요한 것이다. Currently, signaling protocols most commonly used for VoIP implementation include H.323, Session Initiation Protocol (SIP), Media Gateway Control Protocol (MGCP), and Media Gateway Control (MEGACO). Protocols for implementing VoIP can be divided into call control protocols and media level protocols. Like SS7, the signaling protocol for public telephone networks, IP networks require call control protocols such as H.323 and SIP.

인터넷과 공중전화망의 연동시에 게이트웨이가 필요한데, 게이트웨이의 역할은 각각의 네트워크에서 쓰이는 호 제어 프로토콜과 미디어 간의 상호 변환을 제어하는 것이다. 게이트웨이는 시그널링 게이트웨이, 미디어 게이트웨이 컨트롤러(Media Gateway Controller), 미디어 게이트웨이의 3 부분으로 분류된다. 시그널링 게이트웨이는 SS7과 같은 아웃밴드(out-of-band) 시그널링을 종단하고 변환된 시그널링을 미디어 게이트웨이 컨트롤러에게 보내는 역할을 하며, 이런 시그널링 변환 프로토콜의 예로 IETF의 SIGTRAN이 있다. A gateway is required for interworking the Internet and a public telephone network. The role of the gateway is to control the interconversion between the call control protocol and the media used in each network. Gateways are classified into three parts: signaling gateways, media gateway controllers, and media gateways. The signaling gateway terminates out-of-band signaling such as SS7 and sends the converted signaling to the media gateway controller. An example of such a signaling conversion protocol is SIGTRAN of the IETF.

미디어 게이트웨이 컨트롤러는 호 처리, 라우팅, 프로토콜 변환 등의 기능을 수행하며, SGCP, MGCP, MEGACO, H.248과 같은 미디어 변환 제어 프로토콜들을 이용하여 미디어 게이트웨이를 제어한다. 미디어 게이트웨이는 인터넷에서 만들어진 RTP 패킷을 공중전화망에서 사용되는 미디어 형태로 변환하거나 그 반대의 변환을 한다.
The media gateway controller performs functions such as call processing, routing, and protocol conversion, and controls the media gateway using media conversion control protocols such as SGCP, MGCP, MEGACO, and H.248. The media gateway converts RTP packets created on the Internet into the media format used on the public telephone network and vice versa.

도 1은 하나의 응용 레벨 게이트웨이를 포함하는 소프트 스위치와 미디어 게 이트웨이의 연결 구성을 나타내고 있다. 1 shows a connection configuration of a soft switch and a media gateway including one application level gateway.

하나의 ALG(Application Level Gateway : 응용 레벨 게이트웨이)가 다수의 호 처리 모듈과 미디어 게이트웨이를 중재하며, 모든 호 세션에 대한 정보를 관리하고 있다. 호의 세션을 관리하기 위하여 ALG는 트랜잭션 ID와 종단 ID(Termination ID)를 사용한 매핑 테이블(Mapping Table)을 관리하고 있어야 한다. One application level gateway (ALG) mediates multiple call processing modules and media gateways and manages information about all call sessions. To manage call sessions, the ALG must maintain a mapping table that uses transaction IDs and termination IDs.

하나의 소프트 스위치는 호 처리를 수행하는 여러 개의 프로세싱 모듈로 구성되며, 이러한 여러 개의 프로세싱 모듈로의 균등한 부하 분산을 위하여 1개 또는 n 개의 응용 레벨 게이트웨이(Application Level Gateway : ALG)를 가지고 있다. One soft switch consists of several processing modules that perform call processing and have one or n Application Level Gateways (ALGs) for even load balancing across these processing modules.

이 때, ALG의 역할은 크게 두 가지로서, 첫 번째는 소프트 스위치의 내부 망을 외부의 네트워크로부터 보호하는 방화벽(Firewall) 기능이고, 두 번째는 일반 POTS(Plain Old Telecom Subscriber) 가입자를 수용하고 있는 접속매체 게이트웨이(Access Media Gateway)로부터 인입되는 호 시도와 SIP 또는 SIP-T를 통하여 인입되는 INVITE 메시지를 부하 분산의 알고리즘에 따라 호 처리 모듈(10)로 전달해 주는 기능이다. At this time, there are two main roles of ALG. The first is the firewall function to protect the internal network of the soft switch from the outside network, and the second is to accommodate general Plain Old Telecom Subscriber (POTS) subscribers. The call attempt from the access media gateway and the INVITE message from the SIP or SIP-T are transferred to the call processing module 10 according to the load balancing algorithm.

접속매체 게이트웨이(Access Media Gateway)(30)로부터 인입되는 호에 대한 일반적인 부하 분산 방식은 시도되는 매 호에 대하여 하나의 특정 세션(session)을 ALG 프로세스 내부에 할당하고, MEGACO 메시지 내의 특정 필드를 할당된 세션에 대한 키(Key) 값으로 사용하여 특정 호 처리 모듈과 연결관계를 가지게 하는 구조이다. 이 때의 키 값은 MEGACO 메시지의 종단 ID(Termination ID)와 트랜잭션 ID(Transaction ID)를 사용하였다.
The general load balancing scheme for incoming calls from the Access Media Gateway 30 assigns one particular session inside the ALG process for every call attempted, and assigns specific fields in the MEGACO message. It is a structure to make a connection with a specific call processing module by using it as a key value for a session. In this case, the key value used is the termination ID and transaction ID of the MEGACO message.

하지만, 이와 같은 종래 기술을 사용한 경우 다음과 같은 문제점이 발생하였다.However, in the case of using such a prior art, the following problems occur.

첫째, 다수의 ALG가 존재하는 구조에서는 최초 호 시도를 감지하였던 ALG가 세션을 할당하여 호 처리 모듈(10)과 연합관계(Association)를 맺었다 하더라고 그 다음에 연속되는 메시지가 최초 세션을 할당하였던 ALG로 전달이 된다는 보장이 없다. 이러한 문제점으로 인하여 적어도 하나 이상의 다수 ALG를 구성하는 데 어려움이 발생한다. First, in the structure where multiple ALGs exist, the ALG that detected the first call attempt allocates a session and establishes an association with the call processing module 10, but the ALG in which subsequent messages allocate the first session. There is no guarantee of delivery. This problem causes difficulties in constructing at least one or more multiple ALGs.

둘째, 세션 관리 및 운용 방식이 복잡성이 문제가 된다. 즉, 호 처리 모듈(10)과 ALG(20) 간에 결속이 강한 연합 세션(tightly associated session)을 설정함에 따라 두 모듈간의 보전(Integrity)이 손상되는 경우, 그 복구에 많은 어려움이 있다.
Second, the complexity of the session management and management methods. That is, when integrity between two modules is compromised by establishing a tightly associated session between the call processing module 10 and the ALG 20, there is a lot of difficulty in restoring the integrity.

본 발명은 상기의 문제점을 해결하기 위해, 미디어 게이트웨이 제어 프로토콜을 이용하여 호 처리 모듈과 응용 레벨 게이트웨이간의 강한 연합관계의 형성을 불필요하도록 하여 다수의 미디어 게이트웨이와 호 처리 모듈간에 다수의 응용 레벨 게이트웨이를 배치할 수 있는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치 및 방법을 제공함을 그 목적으로 한다.
In order to solve the above problems, the present invention eliminates the need for a strong alliance between the call processing module and the application level gateway using a media gateway control protocol, thereby providing a plurality of application level gateways between the plurality of media gateways and the call processing module. An object of the present invention is to provide an apparatus and method for load balancing and routing using a media gateway control protocol that can be deployed.

본 발명의 일 측면에 따른 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법은, 게이트웨이 컨트롤러가 미디어 게이트웨이의 서비스 대기 상태임을 확인하고, 종단(Termination)에 대한 이벤트 발생 감지 명령을 상기 게이트웨이 컨트롤러에 전송하는 제 1 변형(Modify) 메시지 전송 단계, 상기 미디어 게이트웨이가 종단에서 발생하는 이벤트에 대해 알림(Notify) 메시지를 통해 상기 게이트웨이 컨트롤러에게 보고하는 제 1 알림 메시지 보고 단계, 상기 게이트웨이 컨트롤러는 상기 발생 이벤트에 대한 처리를 담당할 호 처리 모듈을 지정하고, 상기 지정한 호 처리 모듈 그룹 ID를 이용해 암호화시킨 리퀘스트 ID를 이용해 미디어 게이트웨이로 이벤트 발생 감지 명령을 전송하는 제 2 변형 메시지 전송 단계 및 상기 미디어 게이트웨이가 상기 발생한 호에 대한 다음 이벤트 발생을 감지하여 알림 메시지를 통해 보고하는 경우, 상기 미디어 게이트웨이는 상기 알림 메시지의 암호화 된 리퀘스트 ID로부터 해당 호에 대한 호 처리를 담당하는 그룹 ID를 추출하여 해당 호 처리 모듈로 라우팅을 수행하는 단계를 포함한다. In the load balancing and routing method using the media gateway control protocol according to an aspect of the present invention, the gateway controller determines that the media gateway is waiting for service of the media gateway, and transmits an event occurrence detection command for termination to the gateway controller. Transmitting a first modify message, reporting a first notification message to the gateway controller through a Notify message for an event occurring at an endpoint; A second modified message transmission step of designating a call processing module to be in charge of a process and transmitting an event occurrence detection command to a media gateway using a request ID encrypted using the designated call processing module group ID; When detecting the next occurrence of the event on the call and reporting it through the notification message, the media gateway extracts the group ID in charge of the call processing from the encrypted request ID of the notification message to the corresponding call processing module. Performing routing.

상기 제 1 변형 메시지 보고 단계에서는, 변형 메시지 전송시 리퀘스트 ID를 "0"으로 설정하여, 추후 발생하는 이벤트를 처리할 호 모듈이 정해져 있지 않음을 표시하고, 추후 발생하는 이벤트에 대해 시스템의 부하를 고려하여 임의의 호 처리 모듈을 선택하도록 한다. In the first modification message reporting step, when the modification message is transmitted, the request ID is set to "0" to indicate that a call module to process a later event is not determined, and the load of the system is applied to a later event. Consider an arbitrary call processing module.

또한 상기 리퀘스트 ID는, 상기 미디어 게이트웨이가 감지한 이벤트에 대한 고유 ID로서, 상기 미디어 게이트웨이 컨트롤러에 의하여 설정되고, 해당 메시지를 처리하는 호 처리 모듈의 그룹 ID와 계속 증가하는 일련 번호를 조합하여 암호화되는 것을 특징으로 한다.
The request ID is a unique ID for an event detected by the media gateway, and is set by the media gateway controller and is encrypted by combining a group ID of a call processing module that processes the message and an increasing serial number. It is characterized by.

본 발명의 다른 측면에 따른 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법은, 미디어 게이트웨이 컨트롤러가 진행되는 호를 처리하는 호 처리 모듈의 그룹 ID와 특정 숫자를 조합해 생성된 값을 이용해 암호화된 트랜잭션(Transaction) ID를 포함하는 MEGACO(Media Gateway Control) 명령 메시지를 미디어 게이트웨이로 전송하는 단계, 상기 명령 메시지를 수신한 상기 미디어 게이트웨이를 해당 메시지에 대한 응답 메시지를 작성하여 상기 미디어 게이트웨이 컨트롤러로 전송하는 단계 및 상기 미디어 게이트웨이 컨트롤러는 수신한 응답 메시지의 트랜잭션 ID로부터 호 처리 모듈 그룹 ID를 추출해 해당 호 처리 모듈로의 라우팅을 수행하는 단계를 포함한다.
In a load balancing and routing method using a media gateway control protocol according to another aspect of the present invention, an encrypted transaction using a value generated by combining a group ID and a specific number of a call processing module that processes a call through which the media gateway controller proceeds Transmitting a MEGACO (Media Gateway Control) command message including a (Transaction) ID to the media gateway, and transmitting the media gateway receiving the command message to the media gateway controller by creating a response message to the corresponding message. And the media gateway controller extracting a call processing module group ID from the transaction ID of the received response message and performing routing to the corresponding call processing module.

본 발명의 또 다른 측면에 따른 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치는, 암호화된 MEGACO(Media Gateway Control) 메시지를 이용해 특정 종단(Termination)에서 일어나는 이벤트의 발생을 전송하는 적어도 하나의 미디어 게이트웨이, 상기 미디어 게이트웨이로부터 수신한 메시지를 전송하는 로드 분산 라우터 및 상기 로드 분산 라우터로부터 수신한 암호화된 MEGACO 메시지를 파악해 해당 메시지에 대한 호 처리를 담당하며 상기 MEGACO 메시지를 통해 상 기 미디어 게이트웨이를 제어하는 미디어 게이트웨이 컨트롤러를 포함한다. Load balancing and routing device using a media gateway control protocol according to another aspect of the present invention, at least one media gateway for transmitting the occurrence of events occurring in a specific termination using an encrypted MEGACO (Media Gateway Control) message A media for determining a load distribution router transmitting a message received from the media gateway and an encrypted MEGACO message received from the load distribution router and handling a corresponding message and controlling the media gateway through the MEGACO message. It includes a gateway controller.

상기 게이트웨이 컨트롤러는, 상기 로드 분산 라우터로부터 수신한 MEGACO 메시지로부터 트랜잭션 ID 또는 리퀘스트 ID를 추출하여 목적지 호 처리 모듈을 파악하는 응용 레벨 게이트웨이와 상기 응용 레벨 게이트웨이로부터 수신한 메시지에 해당하는 호 처리를 담당하는 적어도 하나의 호 처리 모듈을 포함한다. The gateway controller is responsible for an application level gateway for extracting a transaction ID or request ID from the MEGACO message received from the load balancing router to identify a destination call processing module and for call processing corresponding to the message received from the application level gateway. At least one call processing module.

또한, 상기 로드 분산 라우터는 상기 시스템 내에 존재하는 적어도 하나의 응용 레벨 게이트웨이 중 하나를 라운드 로빈 방식으로 선택하여 상기 메시지를 전송하는 것을 특징으로 한다.
In addition, the load balancing router selects one of at least one application level gateway existing in the system in a round robin manner to transmit the message.

이하, 본 발명에 따른 바람직한 실시예를 도면을 살펴보면서 구체적으로 설명하기로 한다.
Hereinafter, a preferred embodiment according to the present invention will be described in detail with reference to the drawings.

도 2는 본 발명이 적용되는 VoIP 시스템의 구성을 나타낸다. 2 shows a configuration of a VoIP system to which the present invention is applied.

소프트 스위치(201-1, 201-2)는 회선 교환(Circuit Switch) 서비스를 위한 호 처리를 담당한다는 의미에서 콜 서버(Call Server)라 불리기도 하며, 콜 프로세싱을 수행하는 호 처리 모듈(Call Processing Module)과 미디어 전송을 위한 미디어 게이트웨이 간 상호 독립적 연동을 수행한다. 소프트 스위치는 미디어 게이트웨이 제어 프로토콜(Media Gateway Control protocol ; 이하, "MEGACO"라 칭함) 메시지를 통해 미디어 게이트웨이를 제어한다. The soft switches 201-1 and 201-2 are also called call servers in the sense of being in charge of call processing for circuit switch services, and call processing modules performing call processing. Module) and media gateway for media transmission. The soft switch controls the media gateway through a Media Gateway Control protocol (hereinafter, referred to as "MEGACO") message.

소프트 스위치의 일반적인 구조는 크게 각종 신호 프로토콜 처리 부분, 호 제어 기능 처리 부분, 운영/관리 기능, 외부 서비스와의 연동을 가능하게 하는 애플리케이션 인터페이스 부분으로 나뉜다.
The general structure of the soft switch is divided into various signal protocol processing parts, call control function processing parts, operation / management functions, and application interface parts that enable interworking with external services.

주로 일반 가입자와 연결되는 액세스 게이트웨이(202)는 기능이 여러 장비로 통합되고 있어 궁극적으로는 사라질 것이라는 전망이 일반적이다. 일반 전화, DSL, 전용회선 등 다양한 가입자 접속 방식을 통합 수용하며 이들 트래픽과 패킷 전달 네트워크 트래픽간의 미디어 변환 기능을 수행한다. 액세스 게이트웨이의 호/연결 제어는 역시 소프트스위치가 담당한다.
It is common to expect that the access gateway 202, which is primarily connected to the general subscriber, will eventually disappear because its functionality is being integrated into multiple devices. It integrates various subscriber access methods such as general telephone, DSL, leased line and performs media conversion function between these traffic and packet forwarding network traffic. Call / connection control of the access gateway is also the softswitch.

트렁크 게이트웨이(Trunk Gateway)(203)는 공중 전화망으로부터 수신되는 TDM 기반의 음성 데이터를 IP 패킷으로 변환하여 패킷 망의 출력단 트렁크 게이트웨이로 전송하는 미디어 변환 기능을 수행하며, IP 망의 베어러(Bearer)에 대한 제어를 담당한다. The trunk gateway 203 performs a media conversion function of converting TDM-based voice data received from a public telephone network into an IP packet and transmitting it to an output trunk trunk gateway of the packet network. The trunk gateway 203 transmits a bearer of the IP network. Responsible for control.

통합 망에서는 호와 베어러가 분리되어 제어된다. 호 제어는 종단 소프트 스위치간(201-1과 201-2간)에 이루어지며, 호 제어 프로토콜로는 BICC(Bearer Independent Call Control) 또는 SIP-T(Session Initiation Protocol for Telephony)가 사용된다. In integrated network, call and bearer are controlled separately. Call control is performed between end soft switches (between 201-1 and 201-2), and as a call control protocol, BICC (Bearer Independent Call Control) or SIP-T (Session Initiation Protocol for Telephony) is used.

소프트 스위치(201-1)와 트렁크 게이트웨이(203) 및 소프트 스위치(201-2)와 액세스 게이트웨이(202)간에는 호와 관련된 베어러의 설정 및 해제를 위해 MEGACO 또는 H.248 프로토콜이 사용된다. Between the soft switch 201-1 and the trunk gateway 203, and between the soft switch 201-2 and the access gateway 202, the MEGACO or H.248 protocol is used to establish and release the bearer associated with the call.                     

시그널 게이트웨이(Signal Gateway)(204)는 PSTN과 IP 네트워크에서의 신호들을 상대편에서 서로 사용할 수 있도록 변환하는 기능을 수행한다. The signal gateway 204 converts the signals in the PSTN and the IP network so that they can be used by each other.

각 네트워크(PSTN, IP)에서 데이터가 전달되기 위해서는 각 네트워크에서 전달될 수 있는 데이터로 우선 변경한 후에 가능하다. 미디어 게이트웨이는 멀티미디어 데이터간의 교환 작업을 수행하고, 변경한 데이터를 해당 네트워크에 전달하는 기능을 수행한다. In order to transmit data in each network (PSTN, IP), it is possible to change the data to be transmitted in each network first. The media gateway performs a function of exchanging multimedia data and delivers the changed data to the corresponding network.

음성, 디지털 데이터간의 교환 작업은 여러 가지 음성압축 방법(G.711 PCM, G.726 ADPCM, G.7288 LD-CELP 등)을 사용하여 이를 수행할 수 있고, IP망에서의 멀티미디어 데이터 전송은 RTP(Real-time Transport Protocol)/RTCP(RTP Control Protocol)와 같은 프로토콜을 통해서 할 수 있다. 미디어 게이트웨이의 제어는 MGCP(Media Gateway Control Protocol) 또는 MEGACO(Media Gateway Control)를 통해서 이루어진다. The exchange of voice and digital data can be performed using various voice compression methods (G.711 PCM, G.726 ADPCM, G.7288 LD-CELP, etc.), and multimedia data transmission over IP network is RTP. This can be done via protocols such as (Real-time Transport Protocol) / RTCP (RTP Control Protocol). Control of the media gateway is performed through the Media Gateway Control Protocol (MGCP) or Media Gateway Control (MEGACO).

여기서, MGCP는 미디어 게이트웨이와 콜 프로세싱 요소 사이의 통신을 정의한 프로토콜이다. 이 프로토콜은 집중화된 네트워크 인프라 구조 수준에서 복잡한 H.323의 명백한 단점을 부분적으로 보완해주며, MGCP의 목표는 게이트웨이의 부담을 줄이고 단순함을 유지하는 것이다. 오디오 신호와 데이터 패킷을 변환시켜 주는 다중서비스 패킷 네트워크에서 미디어 게이트웨이의 역할을 줄이고, 콜 에이전트(Call Agent)나 MGC(Media Gateway Controller)에서 호 처리와 제어, 처리를 지능적으로 처리하도록 구현된 프로토콜이다.Here, MGCP is a protocol that defines communication between the media gateway and call processing elements. This protocol partially compensates for the obvious shortcomings of H.323 at the level of a centralized network infrastructure, and the goal of MGCP is to reduce the burden on the gateway and keep it simple. It is a protocol implemented to reduce the role of the media gateway in the multi-service packet network that converts audio signals and data packets, and to intelligently handle call processing, control, and processing in the call agent or the MGC (Media Gateway Controller). .

MEGACO는 게이트웨이 제어를 위한 국제 표준으로, 전화망을 비롯한 다양한 망과 인터넷을 접속하여 멀티미디어 서비스를 제공할 때 요구되는 미디어간 변환 장치인 미디어 게이트웨이를 제어하는 프로토콜을 표준화하는 그룹이다. MGCP가 음성 위주인 반면, MEGACO 프로토콜은 영상과 데이터 전송에 강하다. MEGACO is an international standard for gateway control. It is a group that standardizes the protocol to control the media gateway, which is an inter-media conversion device required to provide multimedia services by connecting various networks with the Internet and the Internet. While MGCP is voice oriented, the MEGACO protocol is strong for video and data transmission.

살펴본 바와 같이, 미디어 게이트웨이는 소프트 스위치로부터 전송된 MEGACO 메시지에 따라 서로 다른 미디어(Media)를 연결한다. 이러한 미디어 게이트웨이는 액세스 게이트웨이(Access Gateway), 트렁크 게이트웨이(Trunk Gateway) 무선 게이트웨이(Wireless Gateway), IP 멀티미디어 서브시스템 게이트웨이(IP Multimedia Subsystem Gateway) 등이 있다. As we have seen, the media gateway connects different media according to the MEGACO message sent from the soft switch. Such media gateways include an access gateway, a trunk gateway wireless gateway, an IP multimedia subsystem gateway, and the like.

일반적으로 미디어 게이트웨이는 서로 통신 네트워크간의 상호 연동을 위해서 크게 두 가지의 역할을 수행한다. 첫째, 두 네트워크간의 호 시그널링을 상호 변환시키는 시그널 변환 기능이다. 둘째, IP 패킷과 다른 통신 네트워크의 미디어 형태간을 상호 변환시키는 기능이다. 이 경우, 다른 통신 네트워크는 공중전화망, 사설전화망, IP 네트워크, 이동통신 네트워크 등이 될 수 있다.
In general, media gateways play two roles for interworking between communication networks. First, it is a signal conversion function that converts call signaling between two networks. Secondly, it converts IP packets and media types of other communication networks. In this case, the other communication network may be a public telephone network, a private telephone network, an IP network, a mobile communication network, or the like.

도 3은 본 발명에 따른 소프트 스위치와 미디어 게이트웨이를 포함하는 네트워크 구성을 나타내고 있다. 3 illustrates a network configuration including a soft switch and a media gateway according to the present invention.

본 발명이 적용되는 네트워크는 도 2와 같이 m개의 호 처리(Call Processing) 모듈(10-1~10-m)과 n 개의 미디어 게이트웨이(30-1~30-n), 그리고 r개의 응용 레벨 게이트웨이(Application Level Gateway)(20-1~20-r)와 하나의 로드분산 라우터(Load Sharing Router)(40)로 구성되어진다. The network to which the present invention is applied includes m call processing modules 10-1 to 10-m, n media gateways 30-1 to 30-n, and r application level gateways as shown in FIG. (Application Level Gateway) 20-1 ~ 20-r and one Load Sharing Router (40).                     

도 3에 나타난 다수의 호 처리 모듈(10)과 응용 레벨 게이트웨이(20)는 도 2에서 살펴 본 소프트 스위치(201) 내부에 위치한다고 이해하면 될 것이다. It will be understood that the plurality of call processing modules 10 and application level gateway 20 shown in FIG. 3 are located inside the soft switch 201 as shown in FIG.

미디어 게이트웨이(30-1~30-n)는 액세스 게이트웨이일 수도 트렁크 게이트웨이일 수도 있다. 호 처리 모듈(10-1~10-m)은 소프트 스위치 내에 위치하며, VoIP의 전반적인 호 처리를 수행하는 모듈로 이해할 수 있다. The media gateways 30-1 to 30-n may be access gateways or trunk gateways. The call processing modules 10-1 to 10-m are located in the soft switch and can be understood as a module for performing overall call processing of VoIP.

로드 분산 라우터(40)는 미디어 게이트웨이(30)로부터 인입되는 메시지의 내용에 관계없이 라운드-로빈(Round-Robin) 방식으로 다수의 ALG(20) 중 하나의 ALG(20-1이라 한다.)를 선택하여 메시지를 전달하는 역할을 한다. The load balancing router 40 refers to one ALG 20-1 of the plurality of ALGs 20 in a round-robin manner regardless of the content of the message coming from the media gateway 30. It selects and delivers a message.

메시지를 수신한 ALG(20-1)는 트랜잭션 ID 또는 리퀘스트 ID를 판별하여 목적지 호 처리 모듈(10)을 찾아 메시지를 전송하는 방식으로 구성된다. 그러므로, ALG(20)는 특정 세션을 관리하지 않아도 된다. The ALG 20-1 receiving the message is configured to determine the transaction ID or the request ID to find the destination call processing module 10 and transmit the message. Therefore, the ALG 20 does not have to manage a particular session.

MEGACO 메시지는 명령과 응답 메시지로 구성되며, 명령은 미디어 게이트웨이 컨트롤러(Media Gateway Controller)가 미디어 게이트웨이(Media Gateway)로 전달하는 명령(Command)과 미디어 게이트웨이가 종단의 이벤트 발생 감지에 따라 미디어 게이트웨이 컨트롤러로 전달하는 메시지인 알림 메시지(Notify)로 구분할 수 있다.
MEGACO messages consist of command and response messages, which are commands that the Media Gateway Controller sends to the Media Gateway, and the Media Gateway sends them to the Media Gateway Controller upon detection of an event at the end. It can be divided into a notification message (Notify), which is a message to be delivered.

본 발명은 MEGACO 프로토콜에 정의되어 있는 트랜잭션(Transaction) ID와 리퀘스트(Request) ID, 그리고 미디어 게이트웨이 컨트롤러의 트랜잭션 ID 및 리퀘스트 ID 설정 방식과 운영 방식을 중심으로 전개된다.
The present invention is centered around the transaction ID and request ID defined in the MEGACO protocol, and the transaction ID and request ID setting method and operation method of the media gateway controller.

미디어 게이트웨이와 미디어 게이트웨이 컨트롤러(본 발명에서는 소프트 스위치로 이해할 수 있다.) 사이의 명령어들은 트랜잭션으로 그룹을 형성하게 되며, 각각의 트랜잭션은 하나의 트랜잭션 ID를 사용하여 명령과 응답의 쌍으로 구분되어진다. 이때, 트랜잭션 ID는 명령어를 생성한 쪽에서 할당이 이루어지며, 그 범위는 32 비트로 표현할 수 있는 0부터 4,294,967,295까지의 숫자이다. 여기서, 미디어 게이트웨이 컨트롤러는 호 제어를 담당하는 소프트웨어로, 소프트 스위치의 역할을 한다고 보면 무리가 없을 것이다. Commands between the media gateway and the media gateway controller (which can be understood as soft switches in the present invention) are grouped into transactions, each transaction being separated into a pair of commands and responses using a single transaction ID. . At this time, the transaction ID is assigned by the command generator, and the range is 0 to 4,294,967,295, which can be expressed in 32 bits. Here, the media gateway controller is software for call control, and it can be considered as a soft switch.

리퀘스트 ID는 미디어 게이트웨이가 감지한 이벤트에 대한 고유 ID로서, 미디어 게이트웨이 컨트롤러에 의하여 설정되며, 값의 범위는 트랜잭션 ID 값의 범위와 동일하다. The request ID is a unique ID for an event detected by the media gateway, and is set by the media gateway controller. The range of the value is the same as the range of the transaction ID value.

미디어 게이트웨이는 특정 종단(Termination)에서 특정 이벤트가 발생하면, 미디어 게이트웨이 컨트롤러에게 알림 명령어를 통하여 이벤트 발생을 통보하도록 되어 있다. 이때 리퀘스트 ID가 사용되며, 사용되는 리퀘스트 ID는 미리 미디어 게이트웨이 컨트롤러에 의하여 규정(Provision)되어 있는 값을 사용하게 된다.
When a specific event occurs at a specific termination, the media gateway notifies the media gateway controller of the event occurrence through a notification command. At this time, the request ID is used, and the request ID used is a value previously defined by the media gateway controller.

도 4와 함께, 본 발명에 따른 알림 메시지를 라우팅 하는 과정에 대해 살펴보도록 한다. 4, the process of routing the notification message according to the present invention.

도 4는 알림(Notify) 메시지에 대한 부하 분산 처리 및 라우팅 흐름을 보여주고 있다. 4 shows a load balancing process and routing flow for a Notify message.                     

상술한 바와 같이, 미디어 게이트웨이 컨트롤러는 호 제어 모듈(10)과, ALG(20)를 포함하는 개념이며, 도 4와 도 5에서는 호 제어 모듈(10)과 ALG(20)을 구분해 놓았을 뿐이다. As described above, the media gateway controller is a concept including the call control module 10 and the ALG 20, and only the call control module 10 and the ALG 20 are distinguished in FIGS. 4 and 5. .

도 4를 자세히 살펴보면, ALG(20)와 로드 분산 라우터(40)는 호 제어 모듈(10)과 미디어 게이트웨이(30) 간의 메시지 흐름을 통과시키는(bypassing) 통로 역할을 주로 맡고 있음을 알 수 있는데, 이는 ALG(20)와 로드 분산 라우터(40)로 입력되는 메시지들이 출력될 때 다른 메시지 형태로 변경되거나 교체되지 않는 점에서 쉽게 유추할 수 있다. Looking at Figure 4, it can be seen that the ALG 20 and the load distribution router 40 is mainly responsible for the passage (passing) the message flow between the call control module 10 and the media gateway 30, This can be easily inferred from the fact that the messages input to the ALG 20 and the load balancing router 40 are not changed or replaced with other message forms when they are output.

미디어 게이트웨이(30)가 서비스 중(IN SERVICE)인 상태가 되면, 예를 들어 유선 전화 가입자 단 전화기의 수화기가 내려져 있어 언제든 통화 가능한 상태의 통화 대기 상태의 경우, 미디어 게이트웨이 컨트롤러에게 MEGACO 명령인 서비스변경(ServiceChange) 명령을 통해서 자신의 상태를 등록하고 서비스 대기 상태로 천이한다(S401, S402, S403). 이 과정에는 서비스 변경(ServiceChange) 명령이 부하 분산 라우터(40)를 거쳐(S401), ALG(20)로 전달되고(S402), 다시 호 제어 모듈에 도착하는(S403) 각 단계가 모두 포함되어 있다. When the media gateway 30 enters the IN SERVICE state, for example, in the case of a call waiting state in which the handset of the landline telephone subscriber-end telephone is lowered and available for call at any time, a service change that is a MEGACO command to the media gateway controller is changed. It registers its own state through the (ServiceChange) command and transitions to the service waiting state (S401, S402, S403). This process includes all of the steps in which a ServiceChange command is transmitted to the ALG 20 through the load balancing router 40 (S401), and arrives at the call control module (S403). .

등록 요청을 수신한 호 처리 모듈(10)은 종단(Termination)들의 이벤트 발생 감지 명령을 변형(Modify) 메시지를 통하여 ALG(20)로 요청하며, 이때는 리퀘스트 ID를 "0"으로 설정하여 요청한다(S404). Upon receiving the registration request, the call processing module 10 requests the event generation detection command of the terminations to the ALG 20 through a Modify message, and in this case, sets the request ID to "0". S404).

리퀘스트 ID "0"의 의미는, 앞으로 발생할 이벤트를 처리할 호 처리 모듈이 정해져 있지 않으므로 이벤트 발생을 알리는 알림(Notify) 메시지를 수신한 ALG(20)는 자신의 부하 분산 알고리즘에 따라 임의의 호 처리 모듈을 선택하라는 뜻이다.Since the request ID "0" means that there is no call processing module to handle future events, the ALG 20 receiving a Notify message notifying that an event has occurred will process any call according to its load balancing algorithm. It means to select a module.

ALG(20)로부터 로드 분산 라우터(40)를 거쳐(S405), 미디어 게이트웨이(30)가 변형(Modify) 메시지를 수신하면(S406), 미디어 게이트웨이(30)는 이벤트의 발생을 기다렸다가 미디어 게이트웨이 컨트롤러로의 보고를 준비한다. When the media gateway 30 receives a Modify message from the ALG 20 via the load distribution router 40 (S405), the media gateway 30 waits for the occurrence of an event and then sends it to the media gateway controller. Be prepared to report.

미디어 게이트웨이(30)가 종단(Termination)의 이벤트 발생을 감지하면 미리 설정된 리퀘스트 ID인 0을 사용하여 알림(Notify) 메시지를 ALG(20)로 전달한다(S407, S408). 이 메시지를 수신한 ALG는 리퀘스트 ID가 0으로 설정되어 있으므로 여러 개의 호 처리 모듈 중 임의의 모듈을 선택하여 수신한 알림 메시지를 전달한다(S409). When the media gateway 30 detects the occurrence of an event of the termination, the media gateway 30 transmits a Notify message to the ALG 20 using a preset request ID of 0 (S407 and S408). Since the ALG receiving the message has a request ID set to 0, the ALG selects an arbitrary module among a plurality of call processing modules and delivers the received notification message (S409).

리퀘스트 ID가 "0"인 알림(Notify) 메시지를 전달받은 호 처리 모듈은 다음 이벤트 발생 감지 요구를 변형(Modify) 메시지로 전달하는 과정에서 리퀘스트 ID에 자신의 그룹 ID(X라 한다.)와 계속 증가되는 일련 번호(Y라 한다)를 조합하여 생성된 값을 삽입하여 ALG(20)에 전달하도록 한다(S410). 리퀘스트 ID XY를 가진 변형(Modify) 메시지는 ALG로부터 로드 분산 라우터(40)를 거쳐(S411), 미디어 게이트웨이(30)까지 전달된다(S412). 이렇게 함으로써 계속되는 특정 호에 대한 메시지를 자신의 그룹으로 라우팅 되게 할 수 있다. The call processing module that receives the Notify message with the request ID of "0" continues its group ID (X) with the request ID in the process of forwarding the next event occurrence detection request as a Modify message. A value generated by combining the increased serial number (Y) is inserted and transmitted to the ALG 20 (S410). The Modify message with the request ID XY is transferred from the ALG via the load distribution router 40 (S411) to the media gateway 30 (S412). This allows messages to be routed to their own group for subsequent calls.

즉, 리퀘스트 ID를 특정 호에 대해 암호화시켜 해당 호에 대한 이후의 처리도 동일한 그룹의 호 처리 모듈에서 담당할 수 있도록 하는 것이다. 이렇게 함으로써 다수의 ALG(20)를 배치하여 로드 분산 효과를 얻을 수 있을 뿐 아니라, ALG가 특정 호에 대한 정보를 관리할 필요성이 사라지게 한다. In other words, the request ID is encrypted for a specific call so that subsequent processing of the call can be handled by the call processing module of the same group. By doing so, not only can a large number of ALGs 20 be placed to achieve load balancing effects, but also eliminates the need for ALGs to manage information for a particular call.

미디어 게이트웨이(30)가 다음 이벤트 발생을 감지하여 알림 메시지를 전달할 때(S413, S414), ALG(20)는 메시지에 설정되어 있는 리퀘스트 ID로부터 현재 진행 중인 호를 처리하고 있는 호 처리 모듈의 그룹 ID(X)를 추출하여 해당 호 처리 모듈로 라우팅을 수행하도록 한다(S415).
When the media gateway 30 detects the occurrence of the next event and delivers a notification message (S413 and S414), the ALG 20 groups the ID of the call processing module that is currently processing the call from the request ID set in the message. Extract (X) to perform routing to the call processing module (S415).

다음으로, 미디어 게이트웨이 컨트롤러의 명령에 대한 미디어 게이트웨이의 응답 메시지를 라우팅 하는 방법에 대해 알아본다. Next, we will look at how to route media gateway response messages to media gateway controller commands.

도 5는 본 발명에 따른 명령 메시지와 그 응답 메시지에 대한 라우팅 흐름을 나타내고 있다. 5 shows a routing flow for a command message and a response message according to the present invention.

미디어 게이트웨이(30)와 게이트웨이 컨트롤러 사이에 교환되는 MEGACO 명령(Command) 메시지에는 추가(Add), 변형(Modify), 제거(Subtract), 이동(Move), 값편집(Auditvalues), 용량편집(AuditCapacities), 알림(Notify), 서비스변경(ServiceChange) 등이 있다. 또한, 각각의 명령 메시지에 대한 응답으로 응답(Response) 메시지를 가진다. MEGACO Command messages exchanged between the media gateway 30 and the gateway controller include Add, Modify, Subtract, Move, Auditvalues, and AuditCapacities. , Notify, ServiceChange, and so on. It also has a response message in response to each command message.

호 처리 모듈(10)은 미디어 게이트웨이로 명령(command)을 전달할 때 트랜잭션 ID에 자신의 그룹 ID(X)와 계속 증가되는 일련 번호(Y)를 조합하여 생성된 값을 삽입하여 전달한다(S51, S52, S53). 즉, 도 4에서 설명한 이벤트 발생을 알리는 메시지 전달 과정과 같이, 트랜잭션 ID, 그룹 ID, 그리고 특정 숫자를 이용해 명령(Command) 메시지를 암호화하는 절차를 거쳐 미디어 게이트웨이(30)로 전달된다고 볼 수 있다. When the command processing module 10 transmits a command to the media gateway, the call processing module 10 inserts and transmits a value generated by combining its group ID X and a serial number Y that is continuously increased (S51, S52, S53). That is, as in the message delivery process of notifying the occurrence of the event described in FIG. 4, it can be seen that the message is delivered to the media gateway 30 through a procedure of encrypting a command message using a transaction ID, a group ID, and a specific number.

미디어 게이트웨이(30)는 수신한 명령 메시지에 대한 응답 메시지를 작성하고, 해당 메시지를 로드 분산 라우터(40)를 거쳐 ALG로 전송한다(S54, S55). 미디어 게이트웨이(30)로부터 응답 메시지를 수신한 ALG(20)는 트랜잭션 ID로부터 호 처리 모듈의 그룹 ID(X)를 추출하여 해당 호 처리 모듈로 라우팅을 수행한다(S56).
The media gateway 30 creates a response message to the received command message and transmits the message to the ALG via the load distribution router 40 (S54 and S55). Upon receiving the response message from the media gateway 30, the ALG 20 extracts the group ID X of the call processing module from the transaction ID and performs routing to the corresponding call processing module (S56).

본 발명은 미디어 게이트웨이 제어 프로토콜을 사용하여 미디어 게이트웨이와 미디어 게이트웨이 컨트롤러간의 부하 분산 및 메시지 라우팅을 용이하게 하며, 응용 레벨 게이트웨이와 호 처리 모듈간의 고정적 연합관계를 타파함으로써 부하 분산을 위해 다수의 응용 레벨 게이트웨이를 구성할 수 있는 이점을 가진다. The present invention facilitates load balancing and message routing between a media gateway and a media gateway controller using a media gateway control protocol, and overcomes a fixed association between an application level gateway and a call processing module, thereby providing a plurality of application level gateways for load balancing. Has the advantage of being able to configure.

Claims (13)

VoIP(Voice over Internet Protocol) 서비스를 제공하는 시스템의 부하 분산 및 라우팅 제어 방법에 있어서,In the load balancing and routing control method of a system providing a Voice over Internet Protocol (VoIP) service, 게이트웨이 컨트롤러가 미디어 게이트웨이의 서비스 대기 상태임을 확인하고, 종단(Termination)에 대한 이벤트 발생 감지 명령을 상기 게이트웨이 컨트롤러에 전송하는 제 1 변형(Modify) 메시지 전송 단계;A first modification message transmission step of confirming that the gateway controller is in a service waiting state of a media gateway and transmitting an event occurrence detection command for termination to the gateway controller; 상기 미디어 게이트웨이가 종단에서 발생하는 이벤트에 대해 알림(Notify) 메시지를 통해 상기 게이트웨이 컨트롤러에게 보고하는 제 1 알림 메시지 보고 단계; A first notification message reporting step of the media gateway reporting to the gateway controller through an Notify message on an event occurring at an end point; 상기 게이트웨이 컨트롤러는 상기 발생 이벤트에 대한 처리를 담당할 호 처리 모듈을 지정하고, 상기 지정한 호 처리 모듈 그룹 ID를 이용해 암호화시킨 리퀘스트 ID를 이용해 미디어 게이트웨이로 이벤트 발생 감지 명령을 전송하는 제 2 변형 메시지 전송 단계; 및The gateway controller designates a call processing module that will be in charge of processing the occurrence event, and transmits a second modified message for transmitting an event occurrence detection command to a media gateway using a request ID encrypted using the specified call processing module group ID. step; And 상기 미디어 게이트웨이가 상기 발생한 호에 대한 다음 이벤트 발생을 감지하여 알림 메시지를 통해 보고하는 경우, 상기 미디어 게이트웨이는 상기 알림 메시지의 암호화 된 리퀘스트 ID로부터 해당 호에 대한 호 처리를 담당하는 그룹 ID를 추출하여 해당 호 처리 모듈로 라우팅을 수행하는 단계를 포함하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법.When the media gateway detects the occurrence of the next event for the generated call and reports it through a notification message, the media gateway extracts a group ID that is responsible for call processing for the call from the encrypted request ID of the notification message. Load balancing and routing method using a media gateway control protocol comprising the step of performing routing to the call processing module. 제 1항에 있어서, The method of claim 1, 상기 제 1 변형 메시지 전송 단계에서, In the step of transmitting the first modified message, 상기 변형 메시지 전송시 리퀘스트 ID를 "0"으로 설정하여, 추후 발생하는 이벤트를 처리할 호 모듈이 정해져 있지 않음을 표시하고, 추후 발생하는 이벤트에 대해 시스템의 부하를 고려하여 임의의 호 처리 모듈을 선택하도록 하는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치 및 방법.When the modified message is transmitted, the request ID is set to "0" to indicate that a call module to process a later event is not determined, and any call processing module may be selected in consideration of the load of the system for a later event. Load balancing and routing device and method using a media gateway control protocol characterized in that the selection. 제 1항에 있어서, The method of claim 1, 상기 리퀘스트 ID는, The request ID is 상기 미디어 게이트웨이가 감지한 이벤트에 대한 고유 ID로서, 상기 미디어 게이트웨이 컨트롤러에 의하여 설정되고, 해당 메시지를 처리하는 호 처리 모듈의 그룹 ID와 계속 증가하는 일련 번호를 조합하여 암호화되는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법.A media gateway, which is a unique ID for an event detected by the media gateway, is set by the media gateway controller and encrypted by combining a group ID of a call processing module for processing a corresponding message and an increasing serial number. Load balancing and routing method using control protocol. VoIP(Voice over Internet Protocol) 서비스를 제공하는 시스템의 부하 분산 및 라우팅 제어 방법에 있어서,In the load balancing and routing control method of a system providing a Voice over Internet Protocol (VoIP) service, 미디어 게이트웨이 컨트롤러가 진행되는 호를 처리하는 호 처리 모듈의 그룹 ID와 특정 숫자를 조합해 생성된 값을 이용해 암호화된 트랜잭션(Transaction) ID를 포함하는 MEGACO(Media Gateway Control) 명령 메시지를 미디어 게이트웨이로 전송하는 단계;The Media Gateway Controller sends a Media Gateway Control (MEGACO) command message to the media gateway, including a transaction ID encrypted using a value generated by combining the group ID and a specific number of the call processing module handling the ongoing call. Doing; 상기 명령 메시지를 수신한 상기 미디어 게이트웨이를 해당 메시지에 대한 응답 메시지를 작성하여 상기 미디어 게이트웨이 컨트롤러로 전송하는 단계; 및Creating a response message to the media gateway receiving the command message and transmitting the response message to the media gateway controller; And 상기 미디어 게이트웨이 컨트롤러는 수신한 응답 메시지의 트랜잭션 ID로부터 호 처리 모듈 그룹 ID를 추출해 해당 호 처리 모듈로의 라우팅을 수행하는 단계를 포함하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법.And the media gateway controller extracting a call processing module group ID from the transaction ID of the received response message and performing routing to the corresponding call processing module. 제 4항에 있어서, The method of claim 4, wherein 상기 MEGACO 명령 메시지는,The MEGACO command message is, 추가(Add), 변형(Modify), 제거(Subtract), 이동(Move), 값편집(Auditvalues), 용량편집(AuditCapacities), 알림(Notify), 서비스변경(ServiceChange) 중 적어도 하나를 포함하는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법. Features include at least one of Add, Modify, Subtract, Move, Auditvalues, AuditCapacities, Notify, and ServiceChange. Load balancing and routing method using a media gateway control protocol. 제 4항에 있어서, The method of claim 4, wherein 상기 트랜잭션 ID는, The transaction ID is, MEGACO 명령어를 생성하는 쪽에서 할당하되, 해당 메시지를 처리하는 호 처리 모듈의 그룹 ID와 계속 증가되는 일련 번호를 조합하여 암호화되는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 방법. A method for load balancing and routing using a media gateway control protocol, which is allocated by the generating side of the MEGACO command and is encrypted by combining a group ID and a continuously increasing serial number of the call processing module that processes the message. VoIP(Voice over Internet Protocol) 서비스를 제공하는 시스템의 부하 분산 및 라우팅 제어 장치에 있어서,In the load balancing and routing control device of a system that provides Voice over Internet Protocol (VoIP) services, 암호화된 MEGACO(Media Gateway Control) 메시지를 이용해 특정 종단(Termination)에서 일어나는 이벤트의 발생을 전송하는 적어도 하나의 미디어 게이트웨이;At least one media gateway transmitting an occurrence of an event occurring at a specific termination using an encrypted Media Gateway Control (MEGACO) message; 상기 미디어 게이트웨이로부터 수신한 메시지를 전송하는 로드 분산 라우터; 및A load balancing router for transmitting a message received from the media gateway; And 상기 로드 분산 라우터로부터 수신한 암호화된 MEGACO 메시지를 파악해 해당 메시지에 대한 호 처리를 담당하며, 상기 MEGACO 메시지를 통해 상기 미디어 게이트웨이를 제어하는 미디어 게이트웨이 컨트롤러를 포함하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치. Identifying the encrypted MEGACO message received from the load balancing router to handle call processing for the message, and load balancing and routing using a media gateway control protocol including a media gateway controller for controlling the media gateway through the MEGACO message. Device. 제 7항에 있어서, The method of claim 7, wherein 상기 게이트웨이 컨트롤러는, The gateway controller, 상기 로드 분산 라우터로부터 수신한 MEGACO 메시지로부터 트랜잭션 ID 또는 리퀘스트 ID를 추출하여 목적지 호 처리 모듈을 파악하는 응용 레벨 게이트웨이; 와An application level gateway extracting a transaction ID or request ID from the MEGACO message received from the load balancing router to identify a destination call processing module; Wow 상기 응용 레벨 게이트웨이로부터 수신한 메시지에 해당하는 호 처리를 담당하는 적어도 하나의 호 처리 모듈을 포함하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치. And at least one call processing module in charge of call processing corresponding to the message received from the application level gateway. 제 8항에 있어서, The method of claim 8, 상기 트랜잭션 ID는,The transaction ID is, 상기 MEGACO 명령 메시지를 생성하는 쪽에서 할당하는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치. The load balancing and routing device using a media gateway control protocol, characterized in that the allocation on the side generating the MEGACO command message. 제 8항에 있어서, The method of claim 8, 상기 리퀘스트 ID는,The request ID is 상기 미디어 게이트웨이가 감지한 이벤트에 대한 고유 ID로서, 상기 미디어 게이트웨이 컨트롤러에 의하여 설정되는 것을 특징으로 하는 미디어 게이트웨이 제 어 프로토콜을 이용한 부하 분산 및 라우팅 장치.A unique ID for the event detected by the media gateway, the load balancing and routing device using a media gateway control protocol, characterized in that set by the media gateway controller. 제 8항에 있어서, The method of claim 8, 상기 트랜잭션 ID 또는 상기 리퀘스트 ID는, The transaction ID or the request ID is, 해당 메시지를 처리하는 호 처리 모듈의 그룹 ID와 계속 증가되는 일련 번호를 조합해서 암호화되는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치.Load balancing and routing device using a media gateway control protocol characterized in that the encryption by combining the group ID of the call processing module for processing the message and the increasing serial number. 제 7항에 있어서, The method of claim 7, wherein 상기 로드 분산 라우터는,The load balancing router, 상기 시스템 내에 존재하는 적어도 하나의 응용 레벨 게이트웨이 중 하나를 라운드 로빈 방식으로 선택하여 상기 메시지를 전송하는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치. And one of at least one application level gateway existing in the system in a round robin manner to transmit the message. 제 7항에 있어서, The method of claim 7, wherein 상기 MEGACO 메시지는,The MEGACO message is, 추가(Add), 변형(Modify), 제거(Subtract), 이동(Move), 값편집 (Auditvalues), 용량편집(AuditCapacities), 알림(Notify), 서비스변경(ServiceChange) 중 적어도 하나를 포함하는 명령 메시지와 그에 따른 응답 메시지로 구성되는 것을 특징으로 하는 미디어 게이트웨이 제어 프로토콜을 이용한 부하 분산 및 라우팅 장치.Command message including at least one of Add, Modify, Subtract, Move, Editvalues, AuditCapacities, Notify, ServiceChange Load balancing and routing device using a media gateway control protocol, characterized in that consisting of and a response message.
KR1020040078857A 2004-10-04 2004-10-04 Apparatus and method for load sharing and routing using megaco protocol KR20060029979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040078857A KR20060029979A (en) 2004-10-04 2004-10-04 Apparatus and method for load sharing and routing using megaco protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040078857A KR20060029979A (en) 2004-10-04 2004-10-04 Apparatus and method for load sharing and routing using megaco protocol

Publications (1)

Publication Number Publication Date
KR20060029979A true KR20060029979A (en) 2006-04-07

Family

ID=37140149

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040078857A KR20060029979A (en) 2004-10-04 2004-10-04 Apparatus and method for load sharing and routing using megaco protocol

Country Status (1)

Country Link
KR (1) KR20060029979A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080068989A (en) * 2007-01-22 2008-07-25 삼성전자주식회사 Apparatus and method for controlling media gateway of termination resource in communication system
CN105099992A (en) * 2014-04-29 2015-11-25 杭州迪普科技有限公司 Message modification device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080068989A (en) * 2007-01-22 2008-07-25 삼성전자주식회사 Apparatus and method for controlling media gateway of termination resource in communication system
CN105099992A (en) * 2014-04-29 2015-11-25 杭州迪普科技有限公司 Message modification device and method
CN105099992B (en) * 2014-04-29 2018-07-24 杭州迪普科技股份有限公司 A kind of message modification device and method

Similar Documents

Publication Publication Date Title
US7092493B2 (en) Methods and systems for providing lawful intercept of a media stream in a media gateway
US6754180B1 (en) System, method, and computer program product for support of bearer path services in a distributed control network
US7920690B2 (en) Interworking of multimedia and telephony equipment
EP2053869A1 (en) Media server selection for conference within a call control system
EP1753198A1 (en) Voice over IP Network Architecture
US7460520B2 (en) Apparatus and method for using multiple call controllers of voice-band calls
US7054325B1 (en) Correlation of signalling messages
US20070172051A1 (en) Setting up a packet-oriented multimedia connection using an interactive voice response system
CN101557603B (en) Method, device and system for lawful monitoring
US20070041357A1 (en) Interworking of hybrid protocol multimedia networks
EP1436963B1 (en) Method, apparatus and computer program for selecting a media gateway control function based on the monitoring of resources of media gateway functions
CN101273609B (en) Telephone call processing method and apparatus
US7742465B2 (en) Method and device for tapping the payload data of multimedia connections in a packet network
US7539177B2 (en) Call hold/terminal portability in H.323/ISUP-BICC-SIP networks
US7496192B1 (en) Interworking of multimedia and telephony equipment
KR20060029979A (en) Apparatus and method for load sharing and routing using megaco protocol
US8705518B1 (en) Apparatus and method for controlling services and operations in converged communications networks
EP1509033B1 (en) Method and devices for connecting IP terminations and PSTN terminations
Cisco H.323 Applications
US20040252706A1 (en) Method and systems for non-call associated signaling in a multi-protocol telecommunications environment
KR100407810B1 (en) Method and system for mutual intelligent peripheral service between voice over internet protocol and public switched telephone network line
MarSic et al. IMS to PSTN/CS interworking
KR100603582B1 (en) Apparatus and Method for Supplying VoIP Service Using Session Initiation Protocol in Cable Network
KR100664841B1 (en) Method for providing multiparty calling service in broadband convergence network and method thereof
Maraj et al. The role of softswitch in NGN network

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination