KR100871953B1 - Media gateway and method for processing calls in a media gateway - Google Patents

Media gateway and method for processing calls in a media gateway Download PDF

Info

Publication number
KR100871953B1
KR100871953B1 KR1020070008228A KR20070008228A KR100871953B1 KR 100871953 B1 KR100871953 B1 KR 100871953B1 KR 1020070008228 A KR1020070008228 A KR 1020070008228A KR 20070008228 A KR20070008228 A KR 20070008228A KR 100871953 B1 KR100871953 B1 KR 100871953B1
Authority
KR
South Korea
Prior art keywords
standby mode
mode
megaco
standby
processor
Prior art date
Application number
KR1020070008228A
Other languages
Korean (ko)
Other versions
KR20080070309A (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 KR1020070008228A priority Critical patent/KR100871953B1/en
Publication of KR20080070309A publication Critical patent/KR20080070309A/en
Application granted granted Critical
Publication of KR100871953B1 publication Critical patent/KR100871953B1/en

Links

Images

Classifications

    • 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
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

호 제어 및 라우팅 기능을 지원하는 소프트 스위치의 제어에 따라 두 개의 메인 프로세서를 통해 채널을 형성하여 호 처리를 수행하는 미디어 게이트웨이 및 호 처리 방법을 개시한다. 일 실시예에 의하면, MP(Main Processor)1과 MP2 중의 어느 하나를 정상 호처리를 수행하는 액티브 모드로 동작시키는 동안에, 다른 하나를 호 정보를 백업하는 스탠바이 모드로 동작시키며, 액티브 모드로 동작하는 MP의 호 정보를 소프트웨어적으로 스탠바이 모드로 동작하는 MP에 백업하여 데이터를 동기화한다. 미디어 게이트웨이에서 예를 들어, MP2를 스탠바이 모드로 동작시키기 위해 MP2를 탈장했다가 장착하여 초기화시, MP2는 MP1에 상태/호 정보를 요청하여 백업하며, 상태/호 정보 백업이 완료되면, 호 정보의 백업 중에 모드 전환이 발생했는지 확인하여, 액티브 모드로 전환하거나 스탠바이 모드를 유지한다. 그리고, MP1이 액티브 모드로 동작 중에 호 정보의 변경이 발생하면 메가코 메시지를 통해 MP2에 변경된 호 정보를 백업한다. 또한, 액티브 모드로 동작하던 MP1에 장애가 발생하거나 탈장시 스탠바이 모드의 MP2를 액티브 모드로 전환한다. 이때, MP2가 액티브 모드로 전환중에 발생한 훅크오프에서 훅크 온으로의 상태 변경을 스캔하여, 훅크 온 정보를 소프트 스위치에 보고함으로써 관련 자원을 해제시킬 수 있다. 이러한 구성을 통하여, 미디어 게이트웨이에서 액티브 모드로 동작하는 메인 프로세서의 호 정보를 스탠바이 모드의 메인 프로세서에 소프트웨어적으로 백업할 수 있고, 장애 발생시 스탠바이 모드의 메인 프로세서를 액티브 모드로 전환하여 호 처 리를 정상적으로 유지할 수 있다.Disclosed are a media gateway and a call processing method for forming a channel through two main processors under the control of a soft switch supporting call control and routing functions. According to one embodiment, while operating one of the MP (Main Processor) 1 and the MP2 in the active mode to perform the normal call processing, the other is operated in the standby mode to back up the call information, operating in the active mode The call information of the MP is backed up by the software operating in the standby mode to synchronize the data. In the media gateway, for example, when MP2 is mounted and installed to operate MP2 in standby mode, MP2 requests MP1 for status / call information and backs it up. Verify that a mode switch has occurred during backup, and switch to active mode or maintain standby mode. If the call information is changed while the MP1 is operating in the active mode, the changed call information is backed up to the MP2 through a megaco message. In addition, when the MP1 operating in the active mode fails or exits, the standby mode MP2 is switched to the active mode. At this time, the related resource can be released by scanning the state change from the hook-off to the hook-on which occurred while the MP2 is switching to the active mode and reporting the hook-on information to the soft switch. Through this configuration, the call information of the main processor operating in the active mode in the media gateway can be backed up to the main processor in the standby mode by software, and in case of a failure, the main processor in the standby mode is switched to the active mode to perform the call processing. You can keep it normal.

미디어 게이트웨이, 메가코, 프로토콜, 메시지, 메인 프로세서, 백업 Media gateway, megaco, protocol, message, main processor, backup

Description

미디어 게이트웨이 및 호 처리 방법{MEDIA GATEWAY AND METHOD FOR PROCESSING CALLS IN A MEDIA GATEWAY}MEDIA GATEWAY AND METHOD FOR PROCESSING CALLS IN A MEDIA GATEWAY}

도 1은 종래의 미디어 게이트웨이와 소프트 스위치의 구성도.1 is a block diagram of a conventional media gateway and a soft switch.

도 3은 일실시예에 따른 미디어 게이트웨이와 소프트 스위치의 구성도.3 is a block diagram illustrating a media gateway and a soft switch according to an embodiment.

도 4는 도 1의 미디어 게이트웨이의 메인 프로세서에서 동작하는 소프트웨어 구성도.4 is a software block diagram of a main processor of the media gateway of FIG.

도 5는 일실시예에 따른 스탠바이 메인 프로세서의 장착시 호 정보 백업 방법의 순서도.5 is a flowchart illustrating a method of backing up call information when a standby main processor is installed, according to an exemplary embodiment.

도 6은 도 4의 호 정보 백업 방법의 메시지 흐름도.6 is a message flow diagram of the call information backup method of FIG.

도 7은 일실시예에 따른 스탠바이 메인 프로세서의 모드 전환 방법의 순서도.7 is a flowchart illustrating a mode switching method of a standby main processor according to an exemplary embodiment.

도 8은 도 6의 모드 전환 방법의 메시지 흐름도.8 is a message flow diagram of the mode switching method of FIG.

도 9는 메가코 메시지의 전송 단위를 나타낸 도면.9 is a diagram illustrating a transmission unit of a megaco message.

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

1 : 미디어 게이트웨이 2 : 소프트 스위치 1: Media Gateway 2: Soft Switch

10 : 펌웨어 20 : 메인 프로세서110: Firmware 20: Main Processor 1

30 : 메인 프로세서2 21, 31 : 레지스터30: main processor 2 21, 31: register

22, 32 : 상태 관리부 23, 33 : 메가코 처리부22, 32: state management unit 23, 33: megaco processing unit

24, 34 : 가입자 처리부 25, 35 : 저장부24, 34: subscriber processing unit 25, 35: storage unit

40 : 보코더 카드 50 : 가입자 카드40: vocoder card 50: subscriber card

본 발명은 미디어 게이트웨이에 관한 것으로서, 보다 상세하게는 호 제어 및 라우팅 기능을 지원하는 소프트 스위치의 제어에 따라 두 개의 메인 프로세서를 통해 호 처리를 수행하는 미디어 게이트웨이 및 호 처리 방법에 관한 것이다.The present invention relates to a media gateway, and more particularly, to a media gateway and a call processing method for performing call processing through two main processors under the control of a soft switch supporting call control and routing functions.

최근 유선 네트워크 분야의 화두로 떠오르고 있는 차세대 망은, 고화질의 멀티미디어 매체와 인터넷 사용자의 증가로 인한 과다 트래픽의 유발을 해결하고 보다 다양한 서비스를 실현하기 위해 제안된 것으로, 공중 전화 통신망(Public Switch Telephone Network, PSTN), 인터넷, 비동기 전송모드(Asynchronous Transfer Mode, ATM), 및 무선망 등의 서로 다른 망들을 하나의 공통된 망으로 단순화시켜 구성함으로써, 음성과 데이터를 통합한 다양한 멀티미디어 서비스를 통합적으로 제공한다.The next-generation network, which is emerging as a hot topic in the wired network field, has been proposed to solve the excessive traffic caused by the increase in the number of high-definition multimedia media and Internet users and to realize various services. Network, PSTN), Internet, Asynchronous Transfer Mode (ATM), and wireless networks by simplifying and configuring them into one common network to provide various multimedia services integrating voice and data. .

이러한 차세대 네트워크 망은 액세스 게이트웨이와 트렁크 게이트웨이를 포함하는 미디어 게이트웨이와, 미디어 게이트웨이를 제어하는 소프트 스위치를 구비한다. 액세스 게이트웨이는 PSTN(Public Switched Telephone Network) 등 유무선 망의 일반 전화 사용자를 패킷망(VoIP 또는 VoATM)에 접속시키는 데 필요한 장비로 서 일반 전화기로부터의 음성 데이터를 패킷망으로 전달할 수 있도록 변환하는 장비이다. 트렁크 게이트웨이란 PSTN과 패킷망(VoIP 또는 VoATM)을 연동하기 위한 장비로서 공중 전화망에서 발생하는 다량의 데이터를 패킷망으로 전송할 수 있도록 하는 장비이다. 미디어 게이트웨이는 서로 다른 표준을 따르고 있는 이종망 간에 데이터들의 전달을 위한 데이터 변환 장비로서 일반전화교환망과 연결되어 일반 공중전화 가입자 단말을 패킷 전달망과 연결한다. 소프트 스위치는 패킷망과 기존의 유무선 망 간의 연동 기능을 수행하는 장비로서, 이종망 간에 신호를 전달하고 호 처리에 관련된 라우팅, 번호 변환, 자원관리 등을 수행한다. 이때, 미디어 게이트웨이와 소프트 스위치는 MEGACO(MEdia GAteway COntrol) 프로토콜을 사용하여 통신한다. MEGACO 프로토콜은 IETF RFC 3015와 ITU-T H.248에서 권고된 것으로서, 소프트 스위치가 물리적으로 분리된 미디어 게이트웨이를 제어하기 위해 사용하는 프로토콜이다.This next-generation network includes a media gateway including an access gateway and a trunk gateway, and a soft switch for controlling the media gateway. An access gateway is a device required to connect ordinary telephone users of wired / wireless networks, such as public switched telephone networks (PSTNs), to a packet network (VoIP or VoATM), and converts voice data from a general telephone to a packet network. Trunk gateway is a device for interworking PSTN and packet network (VoIP or VoATM). It is a device that can transmit a large amount of data generated from public telephone network to packet network. The media gateway is a data conversion equipment for the transfer of data between heterogeneous networks that follow different standards, and is connected with a general switched telephone network to connect a general public telephone subscriber station with a packet delivery network. Soft switch is a device that performs interworking function between packet network and existing wired / wireless network. It transmits signals between heterogeneous networks and performs routing, number translation, and resource management related to call processing. At this time, the media gateway and the soft switch communicate using the MEGACO (MEdia GAteway COntrol) protocol. The MEGACO protocol, recommended by IETF RFC 3015 and ITU-T H.248, is a protocol used by soft switches to control physically separated media gateways.

도 1은 종래의 미디어 게이트웨이와 소프트 스위치의 구성을 나타낸다. 도 1에 도시된 바와 같이, 일반적으로 미디어 게이트웨이(100)는 펌웨어(110), 제1 메인 프로세서(이하‘MP1’이라 함)(120), 제2 메인 프로세서(이하‘MP2'라 함)(130), 보코더 카드(140), MP1(120) 및 MP2(130)의 호 정보를 백업하여 저장하는 백업 카드(125, 135)를 포함한다. 펌웨어(110)에는 MP1(120) 및 MP2(130)의 장애 발생 및 탈장 상태를 감지하는 프로그램이 포함된다. MP1(120) 및 MP2(130)는 이중화 방식으로 호 처리 기능을 한다.1 shows a configuration of a conventional media gateway and a soft switch. As shown in FIG. 1, the media gateway 100 generally includes a firmware 110, a first main processor (hereinafter referred to as 'MP1') 120, and a second main processor (hereinafter referred to as 'MP2') ( 130, backup cards 125 and 135 for backing up and storing call information of the vocoder card 140, the MP1 120, and the MP2 130. The firmware 110 includes a program for detecting a failure and a hernia state of the MP1 120 and the MP2 130. The MP1 120 and the MP2 130 function as call processing in a redundant manner.

도 2는 MP1(120) 및 MP2(130)에서 동작하는 소프트웨어 구성요소들을 도시한다. 도 2를 참조하면, MP1(120) 및 MP2(130)는 각각 레지스터, 상태 관리부, 메가코 처리부, 가입자 처리부를 포함한다. 도 2를 참조하여, 미디어 게이트웨이(100)와 소프트 스위치(200)를 통한 일반적인 발신측의 호 처리 과정을 설명하면 다음과 같다. 가입자 처리부(124)는 가입자가 전화기를 드는 경우 또는 훅크 플래쉬를 감지하여 메가코 처리부(123)로 알려준다(300). 메가코 처리부(123)는 소프트 스위치(200)에 훅크 오프를 보고하고(301), 소프트 스위치(200)는 응답 메시지를 메가코 처리부(123)에 전송한다(302). 메가코 처리부(123)는 보코더 카드(140)에 다이얼톤(Dial tone)의 송출을 지시한다(303). 가입자가 착신 번호를 누르면, 보코더 카드(140)가 착신 번호를 감지하여 메가코 처리부(123)에 보고하고(304), 메가코 처리부(123)는 번호를 수집하여 소프트 스위치(200)에 보고한다(305). 소프트 스위치(120)는 착신 번호의 가입자가 연결된 다른 미디어 게이트웨이에 연결을 요청한다. 그리고, 소프트 스위치(200)는 자원을 할당하기 위해, 발신 가입자가 연결된 미디어 게이트웨이의 메가코 처리부(123)에 RTP(Real-time Transport Protocol) 채널 생성을 지시한다(306). 메가코 처리부(123)는 보코더 카드(140)에 통화로 연결을 위한 채널 생성을 요구하여(307), 보코더 카드(140)가 음성 채널을 생성하면 메가코 처리부(123)는 소프트 스위치(200)에 응답한다(308). 이때, 착신측에서 착신 처리가 완료되면 착신측 미디어 게이트웨이로부터 발신측 미디어 게이트웨이로 링백톤(Ring back tone)이 송출된다(309). 착신자가 전화기를 들면, 소프트 스위치(200)는 링백톤 송출의 중지를 보코더 카드(140)에 지시하고, 발신자와 착신자의 음성 통화로가 연결된다(310). 발신자(또는 착신자)가 전화를 끊으면 발신측 미디어 게이트웨이(100)의 가입자 처리부(124)는 메가코 처리부(123)에 훅크온을 보고하여(311), 채널 해제를 지시하고, 통화로를 끊으라고 요구한다. 그러면, 메가코 처리부(123)는 소프트 스위치(200)에 훅크온을 보고하여(312), 관련 자원을 해제한다. 즉, 도면에 도시된 바와 같이 메가코 처리부(123)는 훅크온을 소프트 스위치(200)에 보고하고(312) 채널 해제를 보코더 카드(140)에 지시함으로써(314), 발신자와 착신자 간에 연결된 음성 통화로가 해지된다(315).2 illustrates software components operating on MP1 120 and MP2 130. Referring to FIG. 2, the MP1 120 and the MP2 130 each include a register, a state manager, a megaco processor, and a subscriber processor. Referring to FIG. 2, a call processing process of a general calling party through the media gateway 100 and the soft switch 200 will be described. The subscriber processor 124 detects a hook flash when the subscriber picks up the phone or notifies the megaco processor 123 of the hook flash (300). The megaco processor 123 reports the hook-off to the soft switch 200 (301), and the soft switch 200 transmits a response message to the megaco processor 123 (302). The megaco processor 123 instructs the vocoder card 140 to transmit the dial tone (303). When the subscriber presses the called number, the vocoder card 140 detects the called number and reports it to the megaco processor 123 (304). The megaco processor 123 collects the number and reports it to the soft switch 200. (305). The soft switch 120 requests a connection to another media gateway to which the subscriber of the called number is connected. In order to allocate resources, the soft switch 200 instructs the megaco processor 123 of the media gateway to which the calling subscriber is connected to create a real-time transport protocol (RTP) channel (306). The megaco processor 123 requests the vocoder card 140 to generate a channel for connection to the call (307). When the vocoder card 140 generates a voice channel, the megaco processor 123 performs the soft switch 200. Answer 308. At this time, when the terminating process is completed on the called side, a ring back tone is transmitted from the called media gateway to the calling media gateway (309). When the called party picks up the phone, the soft switch 200 instructs the vocoder card 140 to stop ringback tone transmission, and the caller and the called party's voice call path are connected (310). When the caller (or called party) hangs up, the subscriber processing unit 124 of the calling media gateway 100 reports the hook-on to the megaco processing unit 123 (311), instructs the channel to release, and instructs the user to disconnect the call. Require. Then, the megaco processor 123 reports the hook-on to the soft switch 200 (312), and releases the associated resources. That is, as shown in the figure, the megaco processor 123 reports the hook-on to the soft switch 200 (312) and instructs the vocoder card 140 to release the channel (314), thereby connecting the voice connected between the caller and the called party. The currency path is terminated (315).

그런데, 종래에는 미디어 게이트웨이(100)에서 백업 카드(125, 135)는 MP1(120) 및 MP2(130)이 장착되는 메인 보드(미도시)의 뒷면에 장착되었다. 그리고, MP1(120)의 백업 카드(125)와 MP2(130)의 백업 카드(135)는 이더넷 채널로 통신을 수행하여 호 정보를 백업하여 동기화하였다. 따라서, 종래의 MP1(120) 및 MP2(130)는 호 정보를 백업하기 위해 별도의 백업 카드(125, 135)를 구비하여야 하므로 단가가 높아진다. 또한, MP1(120)과 MP2(130)가 이중화 방식으로 호를 처리함에 따라 MP1(120) 및 MP2(130)의 메가코 처리부(123) 중 어느 하나는 불필요한 호 처리를 수행하는 것이므로 비효율적이다.However, in the related art, the backup cards 125 and 135 in the media gateway 100 are mounted on the back of the main board (not shown) on which the MP1 120 and the MP2 130 are mounted. The backup card 125 of the MP1 120 and the backup card 135 of the MP2 130 communicate with each other through an Ethernet channel to back up and synchronize call information. Therefore, since the conventional MP1 120 and the MP2 130 must include separate backup cards 125 and 135 in order to back up call information, the unit price increases. In addition, as the MP1 120 and the MP2 130 process the call in a redundant manner, any one of the megaco processing unit 123 of the MP1 120 and the MP2 130 performs unnecessary call processing, which is inefficient.

본 발명의 목적은, 미디어 게이트웨이에서 액티브 모드로 동작하는 메인 프로세서의 호 정보를 스탠바이 모드의 메인 프로세서에 소프트웨어적으로 백업할 수 있는 미디어 게이트웨이 및 호 처리 방법을 제공하는 것이다.An object of the present invention is to provide a media gateway and a call processing method capable of software backup of call information of a main processor operating in an active mode in a media gateway to a main processor in a standby mode.

본 발명의 다른 목적은, 장애 발생시 스탠바이 모드의 메인 프로세서를 액티브 모드로 전환하여 호 처리를 정상적으로 유지할 수 있는 미디어 게이트웨이 및 그의 호 처리 방법을 제공하는 것이다.Another object of the present invention is to provide a media gateway and a call processing method thereof capable of maintaining a normal call processing by switching a main processor in a standby mode to an active mode when a failure occurs.

본 발명의 또 다른 목적은, 스탠바이 모드의 메인 프로세서를 액티브 모드로 전환 도중 훅크오프된 가입자를 소프트 스위치에 통지하여 관련자원을 해제시킴으로써 불필요한 자원 점유를 방지할 수 있는 미디어 게이트웨이 및 그의 호 처리 방법을 제공하는 것이다.It is still another object of the present invention to provide a media gateway and a call processing method capable of preventing unnecessary resource occupation by releasing related resources by notifying the soft switch of a subscriber who has been hooked off while the main processor in the standby mode is switched to the active mode. To provide.

일 실시예에 따르면, MP1과 MP2를 정상 호처리를 수행하는 액티브 모드와 호 정보를 백업하는 스탠바이 모드로 각각 동작시키며, MP1에 장애 발생시 MP2를 액티브 모드로 전환하여 정상 호처리를 수행하도록 MP1의 호 정보를 소프트웨어적으로 MP2에 백업하여 데이터를 동기화한다. 호 정보의 백업을 초기화시, MP1이 액티브 모드로 동작하고 있는 상태에서, 미디어 게이트웨이에 스탠바이 모드의 MP2를 탈장했다가 장착하여 MP2가 MP1의 호 정보 백업을 수행한다. 이때, MP2는 MP1에 호 정보를 요청하여 호 정보를 백업하며, 호 정보 백업이 완료되면, 호 정보의 백업 중에 모드 전환이 발생했는지 확인하여, 확인결과에 따라 액티브 모드로 전환하거나 현재 스탠바이 모드를 유지한다. 그리고, MP1이 액티브 모드로 동작 중에 호 정보의 변경이 발생하면 메가코 메시지를 통해 MP2에 변경된 호 정보를 백업한다. 또한, 액티브 모드로 동작하던 MP1에 장애 발생하거나 탈장시 호 처리를 유지할 수 있도록 스탠바이 모드의 MP2를 액티브 모드로 전환한다. 이때, MP2가 액티브 모드로 전환 전에 훅크오프 상태였던 가입자에 대해 훅크온 스캔을 수행하여 MP2를 액티브 모드로 전환중에 발생한 훅크 온을 소프트 스위치에 보고함으로써 관련 자원을 해제시킬 수 있다.According to an embodiment, the MP1 and the MP2 are operated in an active mode for performing normal call processing and a standby mode for backing up call information, respectively, and when the MP1 fails, the MP1 is switched to the active mode to perform normal call processing. Software data is backed up by MP2 to synchronize data. When the backup of the call information is initialized, while the MP1 is operating in the active mode, the MP2 of the standby mode is mounted and mounted in the media gateway and the MP2 performs the backup of the call information of the MP1. At this time, the MP2 requests the call information from the MP1 to back up the call information.When the call information backup is completed, the MP2 checks whether a mode change occurs during the backup of the call information, and switches to the active mode or changes the current standby mode. Keep it. If the call information is changed while the MP1 is operating in the active mode, the changed call information is backed up to the MP2 through a megaco message. Also, the MP2 in the standby mode is switched to the active mode in order to maintain the call processing when the MP1 which is operating in the active mode fails or disengages. At this time, the hook-on scan is performed on the subscriber who was hooked off before the MP2 is switched to the active mode, and the related resources can be released by reporting the hook-on generated during the MP2 to the active mode to the soft switch.

이하 첨부된 도면을 참조하여 본 발명의 다양한 실시예들에 대해 상세히 설 명한다. 다만, 이하의 설명에서 본 발명의 요지를 불필요하게 흐릴 우려가 있는 경우에는 널리 알려진 기능이나 구성에 관한 구체적 설명은 생략하기로 한다.Hereinafter, various embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, in the following description, when there is a risk of unnecessarily obscuring the gist of the present invention, a detailed description of well-known functions and configurations will be omitted.

도 3은 일실시예에 따른 미디어 게이트웨이(1)와 소프트 스위치(2)의 구성도이다. 도 3에 도시된 바와 같이, 소프트 스위치(2)는 서로 다른 망 간의 연동을 위한 게이트웨이 시스템의 기능들 중에서 제어 기능에 표준 인터페이스를 적용하여 구현될 수 있다. 미디어 게이트웨이(1)는 소프트 스위치(2)의 제어 하에 교환전송을 담당하여, 전화 회선에서 전달되는 정보와 인터넷에서 전달되는 데이터 패킷들을 상호 변환해주는 네트워크 요소이다. 즉, 미디어 게이트웨이(1)는 사용자 정보 전송을 위한 경로 제어 기능, PSTN의 펄스 코드 변환 스트림과 인터넷 패킷 간의 상호 미디어 변환 등을 수행한다. 차세대 통신망에서 소프트 스위치(2)와 미디어 게이트웨이(1)는 인터넷 망과 PSTN 망을 직접 연결하는 핵심 노드 역할을 담당하며, 두 시스템 사이에는 메가코 프로토콜과 같은 표준 프로토콜에 따른 인터페이스를 통해서 데이터의 송수신이 이루어질 수 있다.3 is a block diagram of a media gateway 1 and a soft switch 2 according to an embodiment. As shown in FIG. 3, the soft switch 2 may be implemented by applying a standard interface to a control function among functions of a gateway system for interworking between different networks. The media gateway 1 is a network element in charge of exchange transmission under the control of the soft switch 2, and converts the information transmitted from the telephone line and the data packets transmitted from the Internet. That is, the media gateway 1 performs a path control function for transmitting user information, mutual media conversion between the pulse code conversion stream of the PSTN, and the Internet packet. In the next-generation communication network, the soft switch (2) and the media gateway (1) serve as a core node directly connecting the Internet network and the PSTN network, and data transmission and reception between the two systems through an interface according to standard protocols such as the Megaco protocol. This can be done.

미디어 게이트웨이(1)는, 펌웨어(10)가 저장되는 메모리, 제1 메인 프로세서(이하 'MP1' 이라 함)(20), 제2 메인 프로세서(이하 'MP2'라 함)(30), 보코더 카드(40)와, 가입자 전화선이 접속되는 가입자 카드(50)를 포함한다. 펌웨어(10)로 저장된 프로그램은, MP1(20) 또는 MP2(30)에 로딩되어 동작되며, MP1(20) 또는 MP2(30)의 장애 발생, 탈장 또는 실장, 운용자 명령에 대한 데이터를 MP1(20) 또는 MP2(30)의 레지스터에 기록한다.The media gateway 1 includes a memory in which the firmware 10 is stored, a first main processor (hereinafter referred to as 'MP1') 20, a second main processor (hereinafter referred to as 'MP2') 30, and a vocoder card. 40 and a subscriber card 50 to which subscriber telephone lines are connected. The program stored in the firmware 10 is loaded and operated in the MP1 20 or the MP2 30, and the data on the failure, hernia or mounting of the MP1 20 or the MP2 30, or the operator command is stored in the MP1 20. ) Or in the register of MP2 (30).

MP1(20) 및 MP2(30) 중의 어느 하나는 액티브(또는 스탠바이 모드)로 동작하 는 동안에, 다른 하나는 스탠바이 모드(또는 액티브 모드)로 동작하며, 호 처리 기능을 수행한다. 예를 들어, 액티브 모드인 MP1(또는 MP2)은 정상적인 호 처리를 수행하고, 스탠바이 모드인 MP2(또는 MP1)는 액티브 모드인 MP1(또는 MP2)과 메가코 상태 및 데이터의 동기만을 수행하고, 호 처리는 하지 않는다. 이때, 메가코 상태는 미디어 게이트웨이(1)와 소프트 스위치(2)의 연결 상태를 의미하는 것으로 미디어 게이트웨이(1)가 소프트 스위치(2)에 등록요청하여 응답 수신시 발생한 업(up) 상태와, 미디어 게이트웨이(1)와 소프트 스위치(2)의 연결 상태가 끊어졌을때 발생하는 다운(down) 상태를 포함한다. 본 실시예에서, MP1(20)이 액티브 모드로 동작하고, MP2(30)는 스탠바이로 동작하도록 초기 설정되는 경우에는, MP1(20)의 장애 발생시 MP2(30)가 레지스터에 기록된 장애정보를 근거하여 자동으로 액티브 모드로 전환되도록 설정할 수 있다.One of the MP1 20 and the MP2 30 operates in an active (or standby mode) while the other operates in a standby mode (or an active mode), and performs a call processing function. For example, the active mode MP1 (or MP2) performs normal call processing, the standby mode MP2 (or MP1) performs only the synchronization of the megaco state and data with the active mode MP1 (or MP2), and the call. No processing. In this case, the megaco state means a connection state between the media gateway 1 and the soft switch 2, and the up state generated when the media gateway 1 registers with the soft switch 2 and receives a response. It includes a down state that occurs when the connection state between the media gateway 1 and the soft switch 2 is lost. In the present embodiment, when the MP1 20 operates in the active mode and the MP2 30 is initially set to operate in the standby mode, when the failure of the MP1 20 occurs, the MP2 30 records the failure information recorded in the register. It can be set to automatically switch to active mode based on this.

도 4는 도 3의 미디어 게이트웨이(1)내 MP1(20) 및 MP2(30)에서 호 처리를 위해 동작하는 소프트웨어 구성도이다. 도 4에 도시된 바와 같이, MP1(20) 또는 MP2(30)는 레지스터(21, 31), 상태 관리부(22, 32), 메가코 처리부(23, 33), 가입자 처리부(24, 34)를 포함한다. 그리고, MP1(20)와 MP2(30) 각각에는 호 정보가 저장되는 저장부(25, 35)가 연결된다. 저장부(25, 35)는 예를 들어 램을 포함할 수 있다.4 is a software configuration diagram that operates for call processing in the MP1 20 and the MP2 30 in the media gateway 1 of FIG. As shown in FIG. 4, the MP1 20 or the MP2 30 stores the registers 21 and 31, the state management units 22 and 32, the megaco processing units 23 and 33, and the subscriber processing units 24 and 34. Include. Each of the MP1 20 and the MP2 30 is connected to storage units 25 and 35 storing call information. Storage units 25 and 35 may comprise, for example, RAM.

레지스터(21, 31)에는 펌웨어로 저장된 프로그램에 의한 장애발생 관련 정보와, 운영자 명령어, 액티브 모드의 MP의 장애, 탈장에 대한 정보가 저장된다. 가입자 처리부(24, 34)는 가입자 전화기의 훅크 온/오프를 감지해서 메가코 처리부(23, 33)에 통지한다. 상태 관리부(22, 32)는 보코더 채널이 이중화 되어 있는 보코더 카드(40)의 액티브/스탠바이 상태, 가입자 카드(50)의 실장/탈장 상태를 감지한다.The registers 21 and 31 store information related to a failure occurrence by a program stored in firmware, information about an operator command, a failure of an MP in an active mode, and a hernia. The subscriber processing units 24 and 34 detect the hook on / off of the subscriber telephone and notify the megaco processing units 23 and 33. The state managers 22 and 32 detect an active / standby state of the vocoder card 40 in which the vocoder channel is duplicated and a mounting / separation state of the subscriber card 50.

또한, 상태 관리부(22, 32)에는 MP1(20) 및 MP2(30)의 액티브/스탠바이 모드에 대한 상태 정보가 저장되고, 메가코 처리부(23, 33)의 요청에 대해 MP1(20) 및 MP2(30)의 상태 정보를 제공한다. 또한, 상태 관리부(22, 32)는, 레지스터(21, 31)의 정보에 근거하여, 액티브/스탠바이 모드로의 전환을 인식할 수 있다. MP1(20)이 액티브 모드이고 MP2(30)가 스탠바이 모드인 상태에서, MP2(30)를 스탠바이 모드에서 액티브 모드로 전환시, 즉, 스탠바이 모드의 MP2(30)의 상태 관리부(32)가 레지스터(31)의 데이터를 독출하여 액티브 모드로의 전환을 인식하면, MP2(30)의 메가코 처리부(33)에 액티브 모드로의 전환을 통보한다. 이에 대해, 메가코 처리부(33)는 모드 전환 이전에 훅크오프 상태였던 가입자에 대해 훅크온 스캔을 MP2(30)의 가입자 처리부(34)에 요구한다. 훅크온 스캔을 요구하는 것은, 스탠바이 모드의 MP2(30)가 액티브 모드로 전환 도중에 훅크온 상태로 변경된 정보가 발생한 경우, 스탠바이 가입자 처리부(34)로부터 보고받지 못한 정보가 있는지 확인하기 위한 것이다. MP2(30)의 가입자 처리부(34)는 훅크온 스캔결과를 메가코 처리부(33)에 보고한다. 메가코 처리부(33)는 훅크온 보고를 소프트 스위치(2)에 보고하며, 소프트 스위치(2)는 관련자원을 해제한다.In addition, the state managers 22 and 32 store state information on the active / standby mode of the MP1 20 and the MP2 30, and the MP1 20 and MP2 upon request of the megaco processor 23 and 33. Provide status information of 30. In addition, the state management units 22 and 32 can recognize the switching to the active / standby mode based on the information in the registers 21 and 31. When the MP2 20 is in the active mode and the MP2 30 is in the standby mode, when the MP2 30 is switched from the standby mode to the active mode, that is, the state manager 32 of the MP2 30 in the standby mode is registered. Upon reading the data of (31) and recognizing the switching to the active mode, the megaco processor 33 of the MP2 30 is notified of the switching to the active mode. On the other hand, the megaco processing part 33 requests the subscriber processing part 34 of the MP2 30 for a hook-on scan for the subscriber who was hooked off before mode switching. The hook-on scan request is for checking whether there is information that has not been reported from the standby subscriber processing unit 34 when information changed to the hook-on state occurs while the MP2 30 in the standby mode is switched to the active mode. The subscriber processing unit 34 of the MP2 30 reports the hook-on scan result to the megaco processing unit 33. The megaco processor 33 reports the hook-on report to the soft switch 2, and the soft switch 2 releases the related resources.

또한, 본 실시예에서 MP1(20)이 액티브 모드이고, MP2(30)가 스탠바이 모드라고 할 때, MP2(30)를 탈장했다가 장착하여 초기 시동시 MP2(30)의 메가코 처리부(33)는 상태 관리부(32)에 액티브/스탠바이 모드인지를 요구하고 그에 대한 응답으로서 스탠바이 모드임을 인식한다. 그 다음, MP2(30)의 메가코 처리부(33)는 액티브 모드인 MP1(20)의 메가코 처리부(23)에 상태/호 정보를 요구하고, MP1(20)의 메가코 처리부(23)는 상태/호 정보에 대한 응답을 MP2(30)의 메가코 처리부(33)로 전송한다. 이때, 상태 정보는 소프트 스위치(2)와의 연동이 연결인지 비연결인지에 대한 정보를 포함한다. 그리고, 호 정보는 예를 들어, 현재 연결되어 있는 호정보, IP, 코덱 정보 및 목적지(destination) 정보, 최대 보코더 채널 개수를 포함한다. 최대 보코더 채널 개수는 자원채널 개수가 약 512개이므로 전송시간이 몇 초 걸릴 수 있다. 따라서, 상태/호 정보의 전송이 완료된 후에, MP2(30)의 메가코 처리부(33)는 자원채널 전송 중에 모드가 전환되었는지 확인하기 위해, MP2(30)의 상태 관리부(32)에 액티브 모드인지 스탠바이 모드인지를 요구하여 응답을 받는다. MP2(30)의 상태 관리부(32)는 응답 결과에 따라 스탠바이 모드를 유지하거나 액티브 모드로의 전환을 수행한다. 이후에, 응답 결과에 따라 MP2(30)가 스탠바이 모드를 유지하고 있는 상태에서, MP2(30)가 MP1(20)의 메가코 호 정보를 백업하여 동기화하도록, 액티브 모드인 MP1(20)의 메가코 처리부(23)는 소프트 스위치(2)로부터 메가코 메시지를 수신한 후, 디코딩하여 동작(action)을 수행한 후, 스탠바이 모드인 MP2(30)의 메가코 처리부(33)로 호 정보를 백업한다. 메가코 메시지는 UDP(User Data Program) 또는 TCP(Transmission Control Protocol)로 전달되는 메시지로서, 메가코 메시지의 전송 단위를 나타낸 도 9를 참조하면, 하나의 메시지에는 여러 개의 트랜젝션(Transaction)(91)이 포함되고, 트랜젝션(91) 내에는 여러 개(예를 들어, 2개 이하)의 컨텍스트(Context)(93)가 포함되며, 컨텍스트(93) 내에는 여러 개(예를 들어, 2개 이하)의 터미네이션(95)이 포함된다.In addition, in the present embodiment, when the MP1 20 is in the active mode and the MP2 30 is in the standby mode, the megaco processor 33 of the MP2 30 is mounted at the time of initial startup by mounting and mounting the MP2 30. Requests the state manager 32 in an active / standby mode and recognizes that it is in standby mode in response. Next, the megaco processor 33 of the MP2 30 requests status / call information from the megaco processor 23 of the MP1 20 in the active mode, and the megaco processor 23 of the MP1 20 The response to the status / call information is transmitted to the megaco processor 33 of the MP2 30. At this time, the state information includes information on whether the linkage with the soft switch 2 is connected or not connected. The call information includes, for example, call information, IP, codec information and destination information, and maximum number of vocoder channels which are currently connected. Since the maximum number of vocoder channels is about 512 resource channels, the transmission time may take several seconds. Therefore, after the transmission of the status / call information is completed, the megaco processor 33 of the MP2 30 checks whether the mode is switched during the resource channel transmission. Receive a response requesting that it is in standby mode. The state manager 32 of the MP2 30 maintains the standby mode or switches to the active mode according to the response result. Subsequently, in response to the response result of the MP2 30 in the standby mode, the MP2 30 of the MP1 20 in the active mode is synchronized so that the MP2 30 backs up and synchronizes the megaco call information of the MP1 20. The nose processor 23 receives the megaco message from the soft switch 2, decodes and performs an action, and then backs up the call information to the megaco processor 33 of the MP2 30 in the standby mode. do. The megaco message is a message transmitted through a user data program (UDP) or a transmission control protocol (TCP). Referring to FIG. 9, which illustrates a transmission unit of a megaco message, a plurality of transactions 91 are included in one message. Are included in the transaction 91, and several (eg, two or less) contexts 93 are included, and several (eg, two or less) are included in the context 93. Termination of 95 is included.

이때, 본 실시예에서, 액티브/스탠바이 모드의 MP들(20, 30) 간에 메가코 호 정보를 백업하기 위해 데이터를 송수신시에, 컨텍스트 단위로 전송한다. 트랜젝션(Transaction) 단위로 하면 한번에 전송해야 할 데이터 크기가 800바이트(OS(Operation System)에서 제공하는 신호로 데이터 송신시 800바이트까지만 신뢰성 있게 전달함)를 초과한다. 그리고, 터미네이션(Termination) 단위로 전송하면 데이터 크기가 300바이트이므로 만족하나, 단위가 작아 백업 신호가 크게 증가한다. 따라서, 백업 데이터를 컨텍스트(Context) 단위로 전송하면, 데이터 크기가 600바이트이므로 데이터를 신뢰성 있게 전달할 수 있을 뿐만 아니라 백업 신호 개수도 늘지 않게 된다. 따라서, 본 실시예에서는, 액티브 모드의 MP1(20)에서 스탠바이 모드의 MP2(30)로 메가코 호 정보를 전송시에, 컨텍스트 단위로 스탠바이 모드의 메가코 처리부(33)로 전송하는 것으로 한다.At this time, in the present embodiment, in order to back up the megaco call information between the MPs 20 and 30 in the active / standby mode, the data is transmitted in the context unit. In the case of a transaction unit, the data size to be transmitted at one time exceeds 800 bytes (a signal provided by an OS (Operation System), which reliably transmits up to 800 bytes when transmitting data). When the data is transmitted in the termination unit, the data size is 300 bytes. However, the backup signal is greatly increased because the unit is small. Therefore, when the backup data is transmitted in a context unit, the data size is 600 bytes so that the data can be transmitted reliably and the number of backup signals is not increased. Therefore, in the present embodiment, the megaco call information is transmitted from the active mode MP1 20 to the standby mode MP2 30 to the megaco processing unit 33 in the standby mode in context units.

도 5는 일실시예에 따라, 스탠바이 모드의 MP2(30)의 장착시 호 정보 백업 방법의 순서도이다. 도 5에 도시된 바와 같이, MP2(30)를 미디어 게이트웨이(1)에 장착하여 초기 시동되면(S1), 메가코 처리부(33)는 스탠바이 상태관리부(32)에 액티브 모드인지 스탠바이 모드인지를 문의한다(S2). 상태 관리부(32)가 스탠바이 모드라고 응답하면(S3), 스탠바이 모드의 MP2(30)(이하, '스탠바이'라 약칭함)의 메가코 처리부(33)는 액티브 모드의 MP1(20)(이하 '액티브'라 약칭함)의 메가코 처리부(23)에 상태/호 정보를 요구한다(S4). 스탠바이 메가코 처리부(33)는 상태/호 정보 응답으로서 최대 보코더 채널 개수를 액티브 메가코 처리부(23)로부터 전송받아 저장부(35)에 백업한다(S5). 백업이 완료되면(S6), 스탠바이 메가코 처리부(33)는 스탠바이 상태 관리부(32)에 액티브/스탠바이 상태를 다시 문의한다(S7). 이는, 상태/호 정보를 백업하는 동안, 스탠바이 모드의 MP2(30)가 액티브 모드로 전환이 발생했는지를 확인하기 위한 것이다. 스탠바이 메가코 처리부(33)는 스탠바이 상태 관리부(32)로부터 액티브/스탠바이 모드에 대한 응답을 수신한다(S8). 스탠바이 메가코 처리부(33)는 수신한 응답에 따라 스탠바이 모드를 유지하거나 액티브 모드로 전환을 수행한다(S9).5 is a flowchart of a method of backing up call information when the MP2 30 is mounted in the standby mode according to an exemplary embodiment. As shown in FIG. 5, when the MP2 30 is attached to the media gateway 1 and initially started up (S1), the megaco processing unit 33 inquires the standby state management unit 32 whether it is an active mode or a standby mode. (S2). When the state manager 32 responds to the standby mode (S3), the megaco processor 33 of the MP2 30 (hereinafter, abbreviated as "standby") of the standby mode is the MP1 20 (hereinafter, referred to as "standby") of the active mode. Status / call information is requested from the megaco processing unit 23 (abbreviated as active ') (S4). The standby megaco processor 33 receives the maximum vocoder channel number from the active megaco processor 23 as a status / call information response and backs it up to the storage unit 35 (S5). When the backup is completed (S6), the standby megaco processor 33 inquires the standby state manager 32 again of the active / standby state (S7). This is to check whether the MP2 30 in the standby mode is switched to the active mode while the state / call information is backed up. The standby megaco processor 33 receives a response to the active / standby mode from the standby state manager 32 (S8). The standby megaco processor 33 maintains the standby mode or switches to the active mode according to the received response (S9).

도 6은 도 4의 방법에 따른 호 정보 백업시 메시지 흐름도이다. 도 6에 도시된 바와 같이, 미디어 게이트웨이(1)에 MP2(30)를 장착하면, 스탠바이 메가코 처리부(33)는 액티브/스탠바이 상태에 대한 요구 메시지를 스탠바이 상태 관리부(32)에 전송한다(600). 스탠바이 상태 관리부(32)는 스탠바이 메가코 처리부(33)에 스탠바이 상태로 응답한다(601). 그리고, 스탠바이 메가코 처리부(33)는 상태/호 정보를 액티브 메가코 처리부(23)에 요구한다(602). 액티브 메가코 처리부(23)는 스탠바이 메가코 처리부(33)에 상태/호 정보를 응답한다(603). 스탠바이 메가코 처리부(33)는 스탠바이 상태 관리부(32)에 액티브/스탠바이를 다시 요구한다(604). 스탠바이 상태관리부(32)는 스탠바이 메가코 처리부(33)에 응답한다(605).FIG. 6 is a message flowchart in call information backup according to the method of FIG. 4. As shown in FIG. 6, when the MP2 30 is installed in the media gateway 1, the standby megaco processor 33 transmits a request message for an active / standby state to the standby state manager 32 (600). ). The standby state manager 32 responds to the standby megaco processor 33 in a standby state (601). The standby megaco processor 33 requests the active megaco processor 23 for status / call information (602). The active megaco processor 23 responds to the standby megaco processor 33 with status / call information (603). The standby megaco processor 33 requests active / standby again from the standby state manager 32 (604). The standby state manager 32 responds to the standby megaco processor 33 (605).

도 7은 일실시예에 따른 스탠바이 MP의 모드 전환 방법의 순서도이다. 도 7에 도시된 바와 같이, 스탠바이 상태 관리부(32)는 레지스터(31)를 독출하여(S11) 액티브 모드로의 전환을 인식하면, 스탠바이 메가코 처리부(33)에 액티브 모드로 전환을 통보한다(S12). 스탠바이 메가코 처리부(33)는 훅크오프 가입자에 대해 훅크온 스캔을 스탠바이 가입자 처리부(34)에 요청하여(S13), 스탠바이 가입자 처리부(34)로부터 훅크온 정보를 보고받는다(S14). 훅크온 정보를 받은 스탠바이 메가코 처리부(33)는 소프트 스위치(2)로 훅크온을 통지하여 관련 자원을 해제시킨다(S15).7 is a flowchart illustrating a mode switching method of a standby MP according to an embodiment. As illustrated in FIG. 7, when the standby state manager 32 reads the register 31 (S11) and recognizes the switch to the active mode, the standby megaco processor 33 notifies the standby megaco processor 33 of the switch to the active mode ( S12). The standby megaco processing unit 33 requests the standby subscriber processing unit 34 to request a hook-on scan for the hook-off subscriber (S13), and receives the hook-on information from the standby subscriber processing unit 34 (S14). The standby megaco processor 33 receiving the hook-on information notifies the hook-on of the soft switch 2 to release the associated resource (S15).

도 8은 도 7의 모드 전환 방법에 따른 메시지 흐름도이다. 스탠바이 상태 관리부(32)가 레지스터(31)를 독출하여 액티브 모드로의 전환을 확인하면, 스탠바이 메가코 처리부(33)로 액티브 모드로의 전환을 통보한다(800). 스탠바이 메가코 처리부(33)는 훅크오프 가입자에 대해 훅크온 스캔을 스탠바이 가입자 처리부(34)에 요구한다(801). 스탠바이 가입자 처리부(34)는 훅크온 스캔 결과를 보고한다(802). 스탠바이 메가코 처리부(33)는 소프트 스위치(2)에 훅크온을 보고하고(803), 소프트 스위치(2)는 관련 자원을 해제한다.FIG. 8 is a message flowchart according to the mode switching method of FIG. 7. When the standby state manager 32 reads the register 31 and confirms the switch to the active mode, the standby megaco processor 33 notifies the switch to the active mode (800). The standby megaco processor 33 requests the standby subscriber processor 34 to request a hook-on scan for the hook-off subscriber (801). The standby subscriber processing unit 34 reports the hook-on scan result (802). The standby megaco processor 33 reports the hook-on to the soft switch 2 (803), and the soft switch 2 releases the associated resource.

상술한 바와 같이, MP1(20)와 MP2(30) 중 하나를 정상 호처리를 수행하는 액티브 모드로 동작시키고 나머지 하나는 호 정보를 백업하는 스탠바이 모드로 동작시키며, 액티브 모드로 동작중인 MP1(20)의 호 정보를 소프트웨어적으로 MP2(30)에 백업하여 동기화함으로써, MP1(20)에 장애 발생시 MP2(30)를 액티브 모드로 전환하여 정상 호처리를 수행하도록 한다. MP1(20)이 액티브 모드로 동작하고 있는 상태에서, 스탠바이 모드의 MP2(30)를 탈장했다가 장착시, MP2(30)는 MP1(10)에 호 정보를 요청하여 호 정보를 백업하며, 호 정보 백업이 완료되면, 호 정보의 백업 중에 모드 전환이 발생했는지 확인하여, 확인결과에 따라 액티브 모드로 전환하거나 현재 스탠바이 모드를 유지한다. 그리고, MP1(20)이 액티브 모드로 동작 중에 호 정보의 변경이 발생하면 메가코 메시지를 통해 MP2(30)에 변경된 호 정보를 백업한다. 또한, 액티브 모드로 동작하던 MP1(20)에 장애 발생하거나 탈장시 호 처리를 유지할 수 있도록, 스탠바이 모드의 MP2(30)가 액티브 모드로 전환된다. 이때, MP2(30)의 메가코 처리부(33)가 가입자 처리부(34)에 훅크오프 가입자에 대해 훅크온 스캔을 요구함으로써, MP2(30)를 액티브 모드로 전환중에 발생한 훅크 온을 소프트 스위치(2)에 보고함으로써 관련 자원을 해제시킬 수 있다.As described above, one of the MP1 20 and the MP2 30 is operated in an active mode for performing normal call processing, and the other is operated in a standby mode for backing up call information, and the MP1 (20) operating in the active mode. By backing up and synchronizing the call information to the MP2 30 by software, the MP2 30 is switched to the active mode when a failure occurs in the MP1 20 so as to perform normal call processing. When the MP1 20 is operating in the active mode and the MP2 30 in the standby mode is removed and mounted, the MP2 30 requests the call information from the MP1 10 to back up the call information. When the information backup is completed, it is checked whether a mode change has occurred during the backup of the call information, and according to the result of the verification, the mode is switched to the active mode or the current standby mode is maintained. When the call information is changed while the MP1 20 is operating in the active mode, the changed call information is backed up to the MP2 30 through the megaco message. In addition, the MP2 30 in the standby mode is switched to the active mode so that the MP1 20 operating in the active mode fails or maintains the call process when dismounting. At this time, the megaco processing unit 33 of the MP2 30 requests the hook-on scan for the hook-off subscriber from the subscriber processing unit 34, thereby softening the hook on generated during the conversion of the MP2 30 to the active mode. ) To release the associated resources.

본 발명 및 그 다양한 기능적 구성요소들은 특정 실시예들로 설명되었으나, 본 발명은 하드웨어, 소프트웨어, 펌웨어, 미들웨어 또는 이들의 조합으로 구현될 수 있으며, 시스템, 서브시스템, 구성요소들 또는 이들의 서브 구성요소들로 활용될 수 있음을 이해해야 한다. 소프트웨어로 구현되는 경우, 본 발명의 요소들은 필요한 작업들을 수행하기 위한 명령어들/코드 세그먼트들이다. 프로그램 또는 코드 세그먼트들은 프로세서 판독 가능 매체와 같은 머신 판독 가능 매체, 컴퓨터 프로그램 제품 내에 저장될 수 있으며, 또는 캐리어 웨이브로 구체화되는 컴퓨터 데이터 신호 또는 캐리어에 의해 변조된 신호에 의해 전송 매체 또는 통신 링크를 통해 전송될 수 있다. 머신 판독 가능 매체 또는 프로세서 판독 가능 매체는 머신(예컨대, 프로세서, 컴퓨터 등)에 의해 판독되고 실행 가능한 형태로 정보를 저장 또는 전송할 수 있는 임의의 매체를 포함할 수 있다.While the invention and its various functional components have been described in particular embodiments, the invention may be implemented in hardware, software, firmware, middleware, or a combination thereof, and the system, subsystem, components or sub-configurations thereof. It should be understood that they can be used as elements. If implemented in software, the elements of the invention are instructions / code segments for performing the necessary tasks. The program or code segments may be stored in a machine readable medium, such as a processor readable medium, a computer program product, or via a transmission medium or communication link by a computer data signal embodied in a carrier wave or a signal modulated by a carrier. Can be sent. Machine readable media or processor readable media may include any medium that can store or transmit information in a form readable and executable by a machine (eg, processor, computer, etc.).

또한, 본 명세서에서는 본 발명이 일부 실시예들과 관련하여 설명되었지만, 본 발명이 속하는 기술분야의 당업자가 이해할 수 있는 본 발명의 정신 및 범위를 벗어나지 않는 범위에서 다양한 변형 및 변경이 이루어질 수 있다는 점을 알아야 할 것이다. 또한, 그러한 변형 및 변경은 본 명세서에 첨부된 특허청구의 범위 내에 속하는 것으로 생각되어야 한다.In addition, while the present invention has been described in connection with some embodiments, it is to be understood that various modifications and changes can be made without departing from the spirit and scope of the invention as will be understood by those skilled in the art. You will need to know Also, such modifications and variations are intended to fall within the scope of the claims appended hereto.

상기 실시예들에 따르면, 미디어 게이트웨이에서 액티브 모드로 동작하는 메인 프로세서의 호 정보를 스탠바이 모드의 메인 프로세서에 소프트웨어적으로 백업할 수 있다. 또한, 장애 발생시 스탠바이 모드의 메인 프로세서를 액티브 모드로 전환하여 호 처리를 정상적으로 유지할 수 있다. 또한, 스탠바이 모드의 메인 프로세서를 액티브 모드로 전환한 후 훅크오프된 가입자에 대해 훅크온 스캔을 수행하여 소프트 스위치에 통지하여 관련자원을 해제시킴으로써 불필요한 자원 점유를 방지할 수 있다.According to the above embodiments, the call information of the main processor operating in the active mode in the media gateway may be software-backed up to the main processor in the standby mode. In addition, when a failure occurs, the main processor in the standby mode may be switched to the active mode to maintain call processing normally. In addition, by switching the main processor in the standby mode to the active mode and performing a hook-on scan for the hooked-off subscriber, the soft switch is notified to release the related resources, thereby preventing unnecessary resource occupation.

Claims (11)

호 제어 및 라우팅 기능을 지원하는 소프트 스위치의 제어에 따라 채널을 형성하여 호 처리를 수행하는 미디어 게이트웨이에 있어서,A media gateway that forms a channel and performs call processing under the control of a soft switch that supports call control and routing functions. 하나가 액티브 모드로 동작하는 동안에 다른 하나는 스탠바이 모드로 동작하여 호 처리를 수행하는 제1 및 제2 메인 프로세서와,First and second main processors that perform call processing while one operates in a standby mode while the other operates in an active mode; 호 정보가 저장되는 저장부와,A storage unit for storing call information; 상기 제1 및 제2 메인 프로세서 중 스탠바이 모드로 동작하는 메인 프로세서의 초기 시동시 액티브 모드의 메인 프로세서에 호 정보를 요청 및 수신하여 호 정보 백업을 수행하며, 상기 초기 시동 후 상기 액티브 모드의 메인 프로세서는 호 정보 변경 발생시 상기 스탠바이 모드의 메인 프로세서에 통지하여 상기 저장부에 저장하게 하는, 미디어 게이트웨이.During initial startup of the main processor operating in the standby mode among the first and second main processors, call information is requested and received from the main processor in the active mode to perform call information backup, and after the initial startup, the main processor in the active mode Notifies the main processor of the standby mode when the call information change occurs and stores the information in the storage unit. 제1항에 있어서,The method of claim 1, 상기 제1 및 제2 메인 프로세서 각각은, 액티브 모드인지 스탠바이 모드인지에 대한 정보를 관리하는 상태 관리부와, 상기 소프트 스위치와 메가코 통신하여 호 처리를 수행하는 메가코 처리부와, 가입자 전화기의 훅크 온/오프 상태를 감지하여 상기 메가코 처리부에 보고하는 가입자 처리부를 포함하는 미디어 게이트웨이.Each of the first and second main processors includes a state management unit that manages information on whether an active mode or a standby mode is provided, a megaco processing unit that performs call processing by performing megaco communication with the soft switch, and hooks on a subscriber telephone. Media gateway including a subscriber processor for detecting a / off state and reporting to the megaco processor. 제2항에 있어서,The method of claim 2, 상기 호 정보 백업시, 상기 스탠바이 모드의 메인 프로세서에서 상기 메가코 처리부는 상기 상태 관리부에 액티브/스탠바이 모드를 요구하여 스탠바이 모드임을 인식하고, 상기 액티브 모드의 메인 프로세서의 상기 메가코 처리부에 상태/호 정보를 요구하여 응답받아 상기 저장부에 저장하는, 미디어 게이트웨이.When the call information is backed up, the megaco processor recognizes the standby mode by requesting the state manager to the active / standby mode from the main processor in the standby mode, and receives a status / call from the megaco processor of the main processor of the active mode. The media gateway which requests information and stores the information in the storage unit. 제3항에 있어서,The method of claim 3, 상기 스탠바이 모드의 메인 프로세서의 호 백업이 완료되면, 상기 스탠바이 모드의 메인 프로세서에서 상기 메가코 처리부는 상기 상태 관리부에 액티브/스탠바이 상태를 재요구하여 응답받아, 상기 응답에 따라 액티브 모드로 전환을 수행하거나 스탠바이 모드를 유지하는, 미디어 게이트웨이.When the call backup of the main processor in the standby mode is completed, the megaco processor receives a response from the state manager to request an active / standby state from the standby mode, and switches to the active mode according to the response. Media gateway, or in standby mode. 제4항에 있어서,The method of claim 4, wherein 상기 스탠바이 모드의 메인 프로세서가 액티브 모드로 전환조건인 경우, 상기 스탠바이 모드의 메인 프로세서에서 상기 상태 관리부가 이를 감지하여 상기 메가코 처리부로 통지하여 액티브 모드로 전환하며, 상기 메가코 처리부가 상기 가입자 처리부에 훅크오프 가입자에 대해 훅크온 스캔을 요구 및 스캔 결과를 수신하여 상기 소프트 스위치에 훅크온을 보고하는, 미디어 게이트웨이.When the main processor in the standby mode is switched to the active mode, the state manager detects the notification in the standby mode and notifies the megaco processor to switch to the active mode, and the megaco processor performs the subscriber processor. Requesting a hook-on scan for a hook-off subscriber and receiving a scan result to report the hook-on to the soft switch. 제2항에 있어서,The method of claim 2, 상기 제1 및 제2 메인 프로세서 각각은, 메인 프로세서의 장애 발생, 탈장 상태 정보가 저장되는 레지스터를 포함하며, 상기 상태 관리부는 상기 레지스터를 독출하여 스탠바이 모드에서 액티브 모드로의 전환조건을 인식하는, 미디어 게이트웨이.Each of the first and second main processors may include a register for storing a failure state of the main processor and information regarding hernia status, wherein the state manager reads the register to recognize a condition for switching from a standby mode to an active mode. Media gateway. 호 제어 및 라우팅 기능을 지원하는 소프트 스위치의 제어에 따라 채널을 형성하여 호 처리를 수행하는 제1 및 제2 메인 프로세서를 구비한 미디어 게이트웨이의 호 처리방법에 있어서,In the call processing method of a media gateway having a first and a second main processor to form a channel and perform call processing under the control of a soft switch that supports call control and routing functions. 제1 및 제2 메인 프로세서 중 하나를 액티브 모드로 동작시키고, 다른 하나의 메인 프로세서를 스탠바이 모드로 초기 시동하는 단계와,Operating one of the first and second main processors in an active mode and initial starting the other main processor in a standby mode; 상기 스탠바이 모드의 메인 프로세서가 상기 액티브 모드의 메인 프로세서에 호 정보를 요구 및 수신하여 호 정보 백업을 수행하는 단계와,Requesting and receiving call information from the main processor in the standby mode to perform call information backup; 상기 액티브 모드의 메인 프로세서가 호 정보 변경시마다 상기 스탠바이 모드의 메인 프로세서에 통지하여 저장하게 하는 단계를 포함하는 미디어 게이트웨이의 호 처리방법.And causing the main processor in the active mode to notify and store the main processor in the standby mode every time call information is changed. 제7항에 있어서,The method of claim 7, wherein 상기 호 정보 백업을 수행하는 단계는,The step of performing the call information backup, 상기 스탠바이 모드의 메인 프로세서에서 호 처리를 수행하는 메가코 처리부(이하, '스탠바이 모드의 메가코 처리부'라 함)가, 액티브 모드인지 스탠바이 모드인지에 대한 정보를 관리하는 상태 관리부(이하, '스탠바이 모드의 상태 관리부'라 함)에 문의하여 스탠바이 상태임을 인식하는 단계와,A megaco processing unit (hereinafter, referred to as a "megaco processing unit in standby mode") that performs call processing in the main processor in the standby mode manages information on whether the active mode or standby mode (hereinafter referred to as "standby"). The status management unit of the mode) to recognize the standby state; 상기 스탠바이 모드의 메가코 처리부가 상기 액티브 모드의 메인 프로세서에서 호 처리를 수행하는 메가코 처리부에 상태/호 정보를 요구하여 응답받아 저장하는 단계를 포함하는, 미디어 게이트웨이의 호 처리방법.And requesting and storing status / call information from the megaco processing unit in the standby mode by the megaco processing unit performing the call processing in the active mode main processor. 제8항에 있어서,The method of claim 8, 상기 스탠바이 모드의 메인 프로세서의 호 정보 백업이 완료되면, 상기 스탠바이 모드의 메가코 처리부가 상기 스탠바이 모드의 상태 관리부에 액티브/스탠바이 상태를 재요구하여 응답받는 단계와,When the call information backup of the main processor in the standby mode is completed, the megaco processing unit in the standby mode receives a response by requesting an active / standby state to the state manager of the standby mode; 상기 응답에 따라 액티브 모드로 전환을 수행하거나 스탠바이 모드를 유지하는 단계를 포함하는, 미디어 게이트웨이의 호 처리방법.Performing a transition to an active mode or maintaining a standby mode according to the response. 제9항에 있어서,The method of claim 9, 상기 스탠바이 모드의 상태 관리부가 스탠바이 모드에서 액티브 모드로의 전환 조건을 감지하여, 상기 스탠바이 모드의 메가코 처리부에 통지하여 액티브 모드로 전환하는 단계와,Detecting, by the state manager of the standby mode, a transition condition from the standby mode to the active mode, notifying the megaco processor of the standby mode to switch to the active mode; 상기 스탠바이 모드의 메가코 처리부가 상기 스탠바이 모드의 메인 프로세서에서 가입자 전화기의 훅크 온/오프 상태를 감지하는 가입자 처리부(이하, '스탠바이 가입자 처리부'라 함)에 훅크오프 가입자에 대해 훅크온 스캔 정보를 요구 및 수신하는 단계와,The megaco processing unit of the standby mode transmits hook-on scan information to the subscriber processing unit (hereinafter, referred to as a standby standby processing unit) to detect a hook on / off state of the subscriber phone in the standby mode main processor. Requesting and receiving; 상기 스탠바이 모드의 가입자 처리부가 상기 훅크온 스캔 정보를 상기 스탠바이 모드의 메가코 처리부에 보고하는 단계와,Reporting, by the subscriber processing unit in the standby mode, the hook-on scan information to the megaco processing unit in the standby mode; 상기 스탠바이 모드의 메가코 처리부가 상기 소프트 스위치에 훅크온을 통지하는 단계를 더 포함하는, 미디어 게이트웨이의 호 처리방법.And notifying the soft switch of the standby mode by the megaco processor in the standby mode. 제10항에 있어서,The method of claim 10, 상기 제1 및 제2 메인 프로세서 각각은, 액티브/스탠바이 모드의 메인 프로세서의 장애 발생, 탈장 상태가 저장되는 레지스터를 포함하며,Each of the first and second main processors includes a register for storing a failure state and a hernia state of the main processor in an active / standby mode. 상기 스탠바이 모드에서 액티브 모드로의 전환 조건을 감지하는 과정은, 상기 스탠바이 모드의 상태 관리부가 상기 레지스터를 독출하여 감지하는 것을 특징으로 하는 미디어 게이트웨이의 호 처리방법.And detecting a condition for switching from the standby mode to the active mode, wherein the state manager of the standby mode reads the register and detects the register.
KR1020070008228A 2007-01-26 2007-01-26 Media gateway and method for processing calls in a media gateway KR100871953B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070008228A KR100871953B1 (en) 2007-01-26 2007-01-26 Media gateway and method for processing calls in a media gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070008228A KR100871953B1 (en) 2007-01-26 2007-01-26 Media gateway and method for processing calls in a media gateway

Publications (2)

Publication Number Publication Date
KR20080070309A KR20080070309A (en) 2008-07-30
KR100871953B1 true KR100871953B1 (en) 2008-12-08

Family

ID=39823097

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070008228A KR100871953B1 (en) 2007-01-26 2007-01-26 Media gateway and method for processing calls in a media gateway

Country Status (1)

Country Link
KR (1) KR100871953B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170114723A (en) * 2016-04-06 2017-10-16 현대일렉트릭앤에너지시스템(주) Duplexing gateway system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800665B (en) * 2010-02-23 2014-02-19 中兴通讯股份有限公司 Device and method for main/standby switch in media gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040050329A (en) * 2002-12-10 2004-06-16 엘지전자 주식회사 System For Duplexing Gateway
JP2004247871A (en) 2003-02-12 2004-09-02 Furukawa Electric Co Ltd:The Data relay method, data relay apparatus, and data relay system using the apparatus
KR20050080880A (en) * 2004-02-11 2005-08-18 삼성전자주식회사 Apparatus for collecting and transmission charging data in a mobile communication system
KR20060013992A (en) * 2004-08-09 2006-02-14 삼성전자주식회사 A device and method for router control plane redundancy by using ospf

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040050329A (en) * 2002-12-10 2004-06-16 엘지전자 주식회사 System For Duplexing Gateway
JP2004247871A (en) 2003-02-12 2004-09-02 Furukawa Electric Co Ltd:The Data relay method, data relay apparatus, and data relay system using the apparatus
KR20050080880A (en) * 2004-02-11 2005-08-18 삼성전자주식회사 Apparatus for collecting and transmission charging data in a mobile communication system
KR20060013992A (en) * 2004-08-09 2006-02-14 삼성전자주식회사 A device and method for router control plane redundancy by using ospf

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170114723A (en) * 2016-04-06 2017-10-16 현대일렉트릭앤에너지시스템(주) Duplexing gateway system
KR102056240B1 (en) * 2016-04-06 2020-01-22 현대일렉트릭앤에너지시스템(주) Duplexing gateway system

Also Published As

Publication number Publication date
KR20080070309A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
US6363065B1 (en) okApparatus for a voice over IP (voIP) telephony gateway and methods for use therein
CN102075643B (en) Terminal device and backup system
US6628671B1 (en) Instant activation of point-to point protocol (PPP) connection using existing PPP state
JP4433191B2 (en) Management server, backup server, and program
US7257111B2 (en) Method and system of managing a call in a telecommunication system
US6424700B1 (en) Network based distributed PBX with connection loss survival features
US20050180396A1 (en) Managing routing path of voice over internet protocol (VoIP) system
KR100476455B1 (en) Apparatus for N:1 Redundancy of voice processing unit in media gateway system and method thereof
CN101026658A (en) Network telephone system for restoring talking after abnormal broken line and its method
KR100871953B1 (en) Media gateway and method for processing calls in a media gateway
CN101365182A (en) Method, system and media gateway implementing relay gateway disaster tolerated uninterrupted call
US8054947B2 (en) Apparatus and method for multiplexing communication signals
CN101094274A (en) Method for realizing disaster tolerated uninterrupted call in media gateway of next generation of network
JP2001060974A (en) Method for setting call in communication network including packet network and circuit network
US20100118863A1 (en) Method for Realizing a Re-Answer Call
JP4960436B2 (en) Packet misdelivery handling method and server device
JP5214368B2 (en) Communication monitoring system and communication monitoring method
US20060262775A1 (en) Method for controlling highly accessible user access networks via a packet-based network service point
US20080010423A1 (en) Network device and time synchronization method thereof
US20080130487A1 (en) Method For Securing The Communication Links And The Associated Charges In A Redundant Communication Network
CN103138998B (en) A kind of detection of proxy-state, device and system
WO2014086036A1 (en) Calling method, apparatus, and system
CN101742370B (en) Method for processing call in communication system, network node and application server
JP2002359653A (en) Transmission path control method in multimedia communication, its communication system, and program
CN102821365A (en) Method and system for decreasing call failures of color ring back tone services

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee