KR100540836B1 - System And Method For Processing Call Event And Call Control In Access Gateway - Google Patents

System And Method For Processing Call Event And Call Control In Access Gateway Download PDF

Info

Publication number
KR100540836B1
KR100540836B1 KR1020030049724A KR20030049724A KR100540836B1 KR 100540836 B1 KR100540836 B1 KR 100540836B1 KR 1020030049724 A KR1020030049724 A KR 1020030049724A KR 20030049724 A KR20030049724 A KR 20030049724A KR 100540836 B1 KR100540836 B1 KR 100540836B1
Authority
KR
South Korea
Prior art keywords
call
event
call control
processing
control message
Prior art date
Application number
KR1020030049724A
Other languages
Korean (ko)
Other versions
KR20050010524A (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 KR1020030049724A priority Critical patent/KR100540836B1/en
Publication of KR20050010524A publication Critical patent/KR20050010524A/en
Application granted granted Critical
Publication of KR100540836B1 publication Critical patent/KR100540836B1/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/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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

본 발명은 차세대 망에 구현되는 액세스 게이트웨이의 MEGACO(MEdia GAteway Control) 프로토콜 처리에 있어 호 이벤트 및 호 제어 메시지를 개별 프로세스를 생성하여 처리하도록 한 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템 및 방법에 관한 것이다.The present invention relates to a system and method for call event and call control processing in an access gateway configured to generate and process call events and call control messages in the MEGACO (MEGA GAteway Control) protocol processing of an access gateway implemented in a next generation network. It is about.

본 발명은 액세스 게이트웨이에서 가입자 및 디바이스 측의 호 이벤트 및 소프트 스위치에 의한 호 제어 메시지별로 차일드 프로세스를 생성하여 해당되는 작업 처리를 수행하게 하고 이후에 스스로 종료하도록 함으로써, 호 이벤트 및 호 제어의 순차적인 처리가 가능해 짐과 동시에 과다한 프로세스 운용시간을 줄일 수 있게 되고, 이에 따라 시스템 자원의 가용성과 성능을 향상시킬 수 있게 된다.The present invention generates a child process for each call event and a call control message by a soft switch at the subscriber and device side in the access gateway to perform a corresponding work process, and then terminates by itself. This enables processing and at the same time reduces excessive process run time, thereby improving system resource availability and performance.

또한, 본 발명은 각각의 차일드 프로세스에서 호 진행 스텝 테이블을 참조하여 대기-구동-종료 상태로 천이하면서 해당되는 기능 처리를 수행함으로써, 호 이벤트 및 호 제어의 동시 수행으로 인한 상호 간섭을 방지할 수 있게 되고, 따라서 호 이벤트와 호 제어 기능 처리의 충돌로 인한 비정상적인 호 처리를 방지하는 등 시스템 운용의 안정성을 확보할 수 있게 된다.In addition, the present invention can prevent the mutual interference due to the simultaneous execution of call events and call control by performing the corresponding function processing while transitioning to the standby-drive-end state with reference to the call progress step table in each child process. Therefore, it is possible to secure the stability of the system operation, such as preventing abnormal call processing due to the collision of call events and call control function processing.

Description

액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템 및 방법{System And Method For Processing Call Event And Call Control In Access Gateway}System and Method For Processing Call Event And Call Control In Access Gateway

도 1은 종래에 다수의 이기종 망들이 상호 연동하는 구조를 갖는 차세대 망을 개략적으로 예시한 도면.1 is a diagram schematically illustrating a next generation network having a structure in which a plurality of heterogeneous networks interwork with each other.

도 2a 및 도 2b는 종래의 소프트 스위치와 액세스 게이트웨이 간의 연동을 통한 호 셋업 절차를 예시한 도면.2A and 2B illustrate a call setup procedure through interworking between a conventional soft switch and an access gateway.

도 3은 종래의 소프트 스위치와 액세스 게이트웨이 간의 연동을 통한 호 해제 절차를 예시한 도면.3 is a diagram illustrating a call release procedure through interworking between a conventional soft switch and an access gateway.

도 4는 종래의 액세스 게이트웨이에서의 가입자별 프로세스 생성 처리 구조를 예시한 도면.4 is a diagram illustrating a subscriber-specific process generation processing structure in a conventional access gateway.

도 5는 본 발명에 따른 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템을 도시한 도면.5 illustrates a call event and call control processing system at an access gateway in accordance with the present invention.

도 6은 도 5에 있어, 호 진행 스텝 테이블과 관련하여 발신측 가입자 및 착신측 가입자의 호 진행 스텝을 예시한 도면.FIG. 6 is a diagram illustrating call progress steps of a calling party and a called party in relation to a call progress step table in FIG. 5; FIG.

도 7은 본 발명에 따른 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 동작을 도시한 순서도.7 is a flowchart illustrating call event and call control processing operations in an access gateway in accordance with the present invention.

도 8은 일반적인 액세스 게이트웨이에서의 상태 불일치 구조를 예시한 도면.8 illustrates a state mismatch structure in a typical access gateway.

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

51 : 이벤트 버퍼 프로세스 52 : 메시지 버퍼 프로세스51: event buffer process 52: message buffer process

53 : 메인 프로세스 54 : 작업 수행 프로세스53: main process 54: task performing process

55 : 호 진행 스텝 테이블55: call progress step table

본 발명은 차세대 망에 구현되는 액세스 게이트웨이에 관한 것으로, 특히 MEGACO 프로토콜 처리에 있어 호 이벤트 및 호 제어 메시지를 개별 프로세스를 생성하여 처리하도록 한 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템 및 방법에 관한 것이다.The present invention relates to an access gateway implemented in a next generation network, and more particularly, to a call event and call control processing system and method in an access gateway configured to generate and process a call event and a call control message in a MEGACO protocol processing. will be.

최근 통신 서비스가 고도화되면서 첨부된 도면 도 1에 도시된 바와 같이 다수 개의 이기종 망(Different Network)들이 상호 연동하는 구조를 갖는 차세대 망(Next Generation Network)이 구현되었으며, 이러한 차세대 망의 구조에서 소프트 스위치(SoftSwitch)와 각 액세스 게이트웨이(SG, RG, TAM, CAM 등) 간의 연동은 MGCP(Media Gateway Control Protocol)/MEGACO(MEdia GAteway Control) 프로토콜을 이용하여 연동하고 있으며, 그 연결 망은 UDP/IP(User Datagram Protocol/Internet Protocol) 프로토콜을 이용하고 있다.Recently, as the communication service is advanced, a next generation network having a structure in which a plurality of heterogeneous networks interoperate with each other is implemented as shown in FIG. 1, and a soft switch in the structure of the next generation network. (Switch, SoftSwitch) and each access gateway (SG, RG, TAM, CAM, etc.) are interworking using MGCP (Media Gateway Control Protocol) / MEGACO (MEGAGAteway Control) protocol, and the connection network is UDP / IP ( User Datagram Protocol / Internet Protocol) protocol is used.

그리고, 도 1에서 액세스 게이트웨이는 가입자 측에서 발생하는 디바이스 이벤트와 소프트 스위치에 의한 호 제어에 의해서 동작한다.In FIG. 1, the access gateway operates by device events occurring at the subscriber side and call control by a soft switch.

또한, 전술한 소프트 스위치와 액세스 게이트웨이 간의 연동을 통한 호 셋업 절차(call setup flow) 및 호 해제 절차(call release flow)는 첨부된 도면 도 2a와 도 2b 및 도 3에 도시된 바와 같은데, 도 2a 및 도 2b는 발신측을 기준으로 정상적인 호가 셋업되는 절차를 예시하고 있으며, 도 3은 발신측의 요청에 따라 호가 해제되는 절차를 예시하고 있다.In addition, the aforementioned call setup flow and call release flow through interworking between the soft switch and the access gateway are as shown in FIGS. 2A, 2B, and 3 of the accompanying drawings. And FIG. 2B illustrates a procedure in which a normal call is set up based on the calling party, and FIG. 3 illustrates a procedure in which the call is released upon request of the calling party.

이때, 액세스 게이트웨이의 호 제어는 도 1에서와 같이 IP 망을 통해 소프트 스위치와 연동함으로써 호 제어를 수행하게 되는데, 전술한 MEGACO 프로토콜(RFC 3015)은 이러한 일련의 호 처리 절차에 대해 정의하고 있으며, 각 네트웍 장비들은 MEGACO 프로토콜을 기준으로 도 2a와 도 2b 및 도 3과 같은 호 처리를 수행하게 된다.At this time, the call control of the access gateway performs call control by interworking with a soft switch through an IP network as shown in FIG. 1, and the aforementioned MEGACO protocol (RFC 3015) defines such a series of call processing procedures. Each network device performs call processing as shown in FIGS. 2A, 2B, and 3 based on the MEGACO protocol.

한편, 현재 제공되고 있는 대부분의 통신 서비스를 그 특성상 가입자의 훅 온(Hook On), 훅 오프(Hook Off) 이벤트는 비규칙적으로 발생하는 특성을 갖고 있으며, 소프트 스위치의 호 제어는 MEGACO 프로토콜에 의해 액세스 게이트웨이에서 무조건 수용해야 하는 특성을 갖고 있다.On the other hand, the hook on and hook off events of subscribers occur irregularly due to the characteristics of most communication services currently provided, and call control of soft switches is performed by the MEGACO protocol. The access gateway has the characteristic to be accepted unconditionally.

따라서, 종래의 대부분의 소용량 액세스 게이트웨이에서는 가입자에 의한 비규칙적인 훅 온/오프 이벤트와 소프트 스위치에 의한 호 제어 이벤트의 충돌을 방지하기 위하여 첨부된 도면 도 4에 도시된 바와 같이, 각각의 호마다 별도의 프로세스(process)를 생성하고 있으며, 해당 프로세스는 각각의 이벤트를 발생한 순서 대로 순차적(sequential)으로 처리하게 된다.Therefore, in most conventional small-capacity access gateways, in order to prevent collisions between irregular hook on / off events by subscribers and call control events by soft switches, as shown in FIG. You are creating a separate process, which processes each event sequentially in the order in which they occurred.

즉, 도 4에 도시된 바와 같이 가입자 측에 의해 발생된 훅 오프 정보가 메인 프로세스(Main process)로 전달되고, 소프트 스위치의 제어에 의해 착신측 가입자를 생성하라는 메시지가 메인 프로세스로 전달되면, 해당되는 메인 프로세스는 각 경우에 대해 고유의 프로세스를 생성하게 된다.That is, as shown in FIG. 4, when the hook-off information generated by the subscriber side is transferred to the main process, and a message for generating the called party subscriber under the control of the soft switch is transmitted to the main process, The main process being created will create a unique process for each case.

이때, 메인 프로세스에 의해 생성된 발신측 가입자 프로세스는 발신 가입자 측의 디지트 입력이나 훅 온 등의 이벤트와 소프트 스위치의 호 제어를 수신하여 동작하고, 착신측 가입자 프로세스는 착신 가입자 측의 훅 오프 이벤트나 소프트 스위치의 호 제어를 수신하여 동작하게 된다.At this time, the originating subscriber process generated by the main process operates by receiving events such as digit input or hook-on of the calling party and call control of the soft switch. The call control of the soft switch is received and operated.

그리고, 메인 프로세스는 발신측 훅 온 이벤트나 소프트 스위치의 제거(subtract)시 생성된 프로세스를 종료(kill)시키게 된다.The main process then kills the process that was created when the originating hook-on event or the soft switch was subtracted.

또한, 종래의 대용량 액세스 게이트웨이의 경우에는 MEGACO 프로토콜에서 정의되어 있지 않은 부분에서 고려해야 할 문제가 있고, 또 성능을 위주로 다중 프로세서(multi processor)로 전환하는 경우 소용량의 순차적인 처리일 때 고려해야 할 문제가 있다.In addition, in the case of the conventional large-capacity access gateway, there is a problem to be considered in a part not defined in the MEGACO protocol, and when switching to multiprocessor for performance, a problem to be considered in the small sequential processing is required. have.

즉, 종래에는 소용량 액세스 게이트웨이에서 각각의 호마다 프로세스를 생성함에 따라 호의 시작부터 종료시까지 프로세스가 운용되므로 대용량 가입자를 수용하는 경우 과다한 프로세스가 생성되어 시스템의 성능을 저하시키는 원인이 되며, 클리어(clear) 처리가 부정확한 경우 고스트 프로세스(ghost process)의 원인이 되는 문제점이 있었다.In other words, the process is operated from the beginning to the end of the call as the process is created for each call in the small-capacity access gateway, and thus, excessive capacity is generated when accommodating a large number of subscribers, which causes a decrease in the performance of the system. Inaccurate processing causes a ghost process.

또한, 종래의 액세스 게이트웨이에서는 가입자 측에 톤을 제공하는 경우 메인 프로세스에서 톤 제공 디바이스에 서비스 요청을 한 후에 응답을 기다리게 되는데, 이때 디바이스 이상으로 인해 응답이 오지 않게 되면, 해당되는 호 프로세스는 일정시간 동안 홀딩(holding) 상태가 되고, 해당 프로세스 홀딩 상태에서 발생되는 가입자측 이벤트와 소프트 스위치 제어 메시지가 유실되는 문제점이 있으며, 이는 액세스 게이트웨이 내의 시그널 디바이스 및 자원 관리가 버그(bug) 가능성을 내포하여 시스템 오류의 원인이 되는 문제점이 있었다.In addition, in the conventional access gateway, when providing a tone to the subscriber side, the main process waits for a response after making a service request to the tone providing device, and when the response does not come due to a device error, the corresponding call process is performed for a predetermined time. Is in the holding state, and there is a problem that the subscriber-side event and the soft switch control message occurring in the process holding state are lost, which may cause a bug in the signaling device and resource management in the access gateway. There was a problem that caused the error.

본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, 액세스 게이트웨이에서 가입자 및 디바이스 측의 호 이벤트 및 소프트 스위치에 의한 호 제어 메시지별로 차일드 프로세스를 생성함으로써, 각 차일드 프로세스에서 해당되는 작업 즉, 호 이벤트 및 호 제어 메시지 처리를 수행할 수 있도록 하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is to generate a child process for each call control message by a soft switch and a call event on the subscriber and device side of the access gateway, thereby performing a corresponding operation in each child process, In order to handle call events and call control messages.

본 발명의 다른 목적은, 호 이벤트 및 호 제어 메시지 처리를 위해 생성된 각각의 차일드 프로세스가 해당되는 작업을 수행한 후에 프로세스 스스로 종료함으로써, 호 이벤트 및 호 제어의 순차적인 처리가 가능하게 함과 동시에 과다한 프로세스 운용시간을 줄여 시스템 자원의 가용성과 성능을 향상시키는데 있다.Another object of the present invention is to allow the sequential processing of call events and call control by allowing each child process generated for call event and call control message processing to terminate itself after performing the corresponding work. It is to improve the availability and performance of system resources by reducing excessive process operating time.

본 발명의 또 다른 목적은, 각각의 차일드 프로세스에서 호 진행 스텝 테이블을 참조하여 대기-구동-종료 상태로 천이하면서 해당되는 기능 처리를 수행함으로써, 호 이벤트 및 호 제어의 동시 수행으로 인한 상호 간섭을 방지하고, 이를 통해 호 이벤트와 호 제어 기능 처리의 충돌로 인한 비정상적인 호 처리를 방지하는 등 시스템 운용의 안정성을 확보할 수 있도록 하는데 있다.It is still another object of the present invention to perform mutual function due to simultaneous execution of call events and call control by performing corresponding function processing while transitioning to the standby-drive-end state with reference to the call progress step table in each child process. It is possible to secure the stability of system operation by preventing abnormal call processing caused by collision between call event and call control function processing.

상술한 바와 같은 목적을 달성하기 위한 본 발명의 특징은, 가입자 및 디바이스 측에서 비정기적인 동작으로 발생되는 각종 호 이벤트 정보를 그 발생순서에 따라 수집하는 이벤트 버퍼 프로세스와; 소프트 스위치의 호 제어를 위한 MEGACO 메시지를 그 발생순서에 따라 수집하는 메시지 버퍼 프로세스와; 호 이벤트 또는 호 제어 메시지 처리를 위해 상호 배타적으로 생성되는 차일드 프로세스로서, 각각에 주어진 호 이벤트 또는 호 제어 메시지 처리 기능을 수행한 후에 스스로 종료하는 작업 수행 프로세스와; 상기 이벤트 버퍼 프로세스 및 메시지 버퍼 프로세스에 의해 수집된 호 이벤트 또는 호 제어 메시지를 로컬 메모리에 버퍼링하고, 순차적으로 판독하여 해당되는 호 이벤트 또는 호 제어 메시지 처리를 위한 작업 수행 프로세스를 생성하는 메인 프로세스를 포함하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템을 제공하는데 있다.A feature of the present invention for achieving the above object is an event buffer process for collecting various call event information generated by the irregular operation on the subscriber and device side in the order of occurrence; A message buffer process for collecting MEGACO messages for call control of the soft switch in the order of their occurrence; A child process created mutually exclusively for call event or call control message processing, comprising: a task performing process that terminates itself after performing a given call event or call control message processing function respectively; And a main process that buffers the call event or call control message collected by the event buffer process and the message buffer process in a local memory, and sequentially reads and generates a work performing process for processing a corresponding call event or call control message. The present invention provides a call event and call control processing system in an access gateway.

또한, 상술한 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템은, 상기 호 이벤트 및 호 제어 메시지 처리와 같은 가입자별 호 진행 스텝에 대해 각 스텝별로 상태 플래그를 설정하여 현재 구동 상태인 스텝이 종료되기 전까지는 다음 스텝으로 천이되지 않도록 관리하는 호 진행 스텝 테이블을 더 포함하는 것을 특징으로 한다.In addition, the above-described call event and call control processing system in the access gateway sets a state flag for each step for each subscriber's call progress step such as the call event and call control message processing to terminate the step in the current driving state. It further comprises a call progress step table for managing not to transition to the next step until.

이때, 상기 작업 수행 프로세스는, 호 진행 스텝 테이블을 참조하여 서로 다른 프로세스 타스크에 의한 간섭이 없도록 대기-구동-종료 상태로 천이하면서 해당되는 작업을 수행하는 것을 특징으로 한다.In this case, the work execution process is characterized by performing the corresponding work while transitioning to the standby-driven-end state so that there is no interference by different process tasks with reference to the call progress step table.

본 발명의 다른 특징은, 호 진행 중에 발생되는 호 이벤트 및 호 제어 메시지를 수집하여 로컬 메모리에 버퍼링하는 과정과; 상기 로컬 메모리를 순차적으로 액세스하여 호 이벤트 또는 호 제어 메시지 처리를 위해 상호 배타적으로 개별 작업 수행 프로세스를 생성하는 과정과; 상기 개별 작업 수행 프로세스는 호 이벤트 또는 호 제어 메시지 처리 작업 수행한 후에 종료하는 과정을 포함하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 방법을 제공하는데 있다.Another aspect of the present invention includes the steps of: collecting and buffering call events and call control messages generated during call progress in a local memory; Sequentially accessing the local memory to create separate work execution processes mutually exclusive for processing a call event or call control message; The individual task execution process is to provide a call event and call control processing method in the access gateway comprising the step of terminating after performing a call event or call control message processing task.

여기서, 상기 호 이벤트 및 호 제어 메시지를 버퍼링하는 과정은, 이벤트 버퍼 프로세스에서 가입자 또는 디바이스에 의해 발생되는 호 이벤트 정보를 수집하는 단계와; 메시지 버퍼 프로세스에서 소프트 스위치에 의해 발생되는 호 제어 메시지를 수집하는 단계와; 메인 프로세스에서 상기 수집된 호 이벤트 정보 또는 호 제어 메시지 정보를 로컬 메모리에 버퍼링하는 단계를 포함하는 것을 특징으로 한다.The buffering of the call event and call control message may include collecting call event information generated by a subscriber or a device in an event buffer process; Collecting a call control message generated by the soft switch in the message buffer process; Buffering the collected call event information or call control message information in a local memory in a main process.

그리고, 상기 각 작업 수행 프로세스의 작업 수행 및 종료 과정은, 각 작업 수행 프로세스에서 호 진행 스텝 테이블을 참조하여 대기-구동-종료 상태로 천이하면서 호 이벤트 또는 호 제어 메시지 처리 작업을 수행하는 단계와; 상기 각 작업 수행 프로세스에서 자신에게 주어진 호 이벤트 또는 호 제어 메시지 처리 작업을 수행한 후에 프로세스 스스로 종료하는 단계를 포함하는 것을 특징으로 한다.The task execution and termination of each task execution process may include: performing a call event or call control message processing task while transitioning to a standby-drive-end state with reference to a call progress step table in each task execution process; And terminating the process itself after performing a call event or call control message processing task given to the respective task execution process.

이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 액세스 게이트웨이에서는 가입자측 이벤트와 소프트 스위치의 호 제어에 대해 개별 프로세스를 생성하여 해당되는 이벤트 또는 제어 처리를 수행하게 한 후에 전체적인 호 진행과 관계없이 스스로 종료하게 함으로써, 가입자측 이벤트와 소프트 스위치의 호 제어를 상호 간섭없이 순차적으로 처리하고자 하는데, 이를 위한 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템은 첨부한 도면 도 5에 도시한 바와 같이, 이벤트 버퍼 프로세스(51)와 메시지 버퍼 프로세스(52) 및 메인 프로세스(53)와 작업(job) 수행 프로세스(54) 및 호 진행 스텝 테이블(Call Flow Step Table)(55)을 구비하여 이루어진다.In the access gateway according to the present invention, by creating a separate process for the subscriber-side event and call control of the soft switch to perform the corresponding event or control processing, the access gateway terminates itself regardless of the overall call progress. The call control of the switch is to be sequentially processed without mutual interference, and the call event and call control processing system in the access gateway for this purpose is shown in FIG. 5, an event buffer process 51 and a message buffer process ( 52 and a main process 53, a job execution process 54, and a call flow step table 55.

이벤트 버퍼 프로세스(51)는 가입자 및 디바이스(예컨대, 톤 송출 디바이스 등) 측에서 비정기적인 동작으로 발생되는 각종 호 이벤트(예컨대, 훅 온/오프, 훅 플래시, 디지트 등)에 대한 정보를 그 발생순서에 따라 수집하며, 메시지 버퍼 프로세스(52)는 소프트 스위치의 호 제어를 위한 MEGACO 메시지(예컨대, 톤 송출 제어 메시지 등)를 그 발생순서에 따라 수집한다.The event buffer process 51 generates information on various call events (eg, hook on / off, hook flash, digit, etc.) generated by irregular operation on the subscriber and device (e.g., tone transmitting device, etc.). Message buffer process 52 collects MEGACO messages (e.g., tone transmission control messages, etc.) for call control of the soft switch in the order of their occurrence.

메인 프로세스(53)는 이벤트 버퍼 프로세스(51) 및 메시지 버퍼 프로세스(52)에 의해 수집된 호 이벤트 또는 호 제어 메시지를 로컬 메모리에 버퍼링하였다가 그 저장순서에 따라 순차적으로 판독하여 해당되는 호 이벤트 또는 호 제어 메시지 처리를 위한 작업 수행 프로세스(54)를 생성한다.The main process 53 buffers the call event or call control message collected by the event buffer process 51 and the message buffer process 52 in the local memory, and sequentially reads the call event or call control message according to its storage order. Create a work execution process 54 for call control message processing.

작업 수행 프로세스(54)는 메인 프로세스(53)에 의해 호 이벤트 또는 호 제어 메시지 처리를 위해 상호 배타적으로 독립 생성되는 차일드 프로세스로서, 각각에 주어진 호 이벤트 또는 호 제어 메시지 처리 기능을 수행한 후에 스스로 종료하며, 호 진행 스텝 테이블(55)을 참조하여 서로 다른 프로세스 타스크에 의한 간섭이 없도록 대기-구동-종료 상태로 천이하면서 해당되는 작업을 수행한다.The task performing process 54 is a child process that is mutually exclusively independently generated by the main process 53 for processing a call event or call control message, and terminates itself after performing a given call event or call control message processing function, respectively. In addition, referring to the call progress step table 55, the corresponding operation is performed while the system transitions to the standby-driven-end state so that there is no interference by different process tasks.

호 진행 스텝 테이블(55)은 가입자별 호 진행 스텝에 대해 각 스텝별로 대기 상태(waiting), 구동 상태(running), 종료 상태(finishing) 플래그를 설정해 둠으로써 임의의 호 진행 스텝이 구동 상태인 경우 그 다음 스텝에 대한 처리 동작이 요구되더라도 현재 구동 상태인 스텝이 종료되기 전까지는 다음 스텝으로 천이되지 않도록 관리한다.The call progress step table 55 sets a waiting state, a running state, and a finishing state flag for each step for the call progress step for each subscriber, so that any call progress step is in the driving state. Even if a processing operation for the next step is required, the control does not transition to the next step until the step which is currently driven is completed.

예를 들어, 호 진행 스텝 테이블(55)과 관련하여 첨부한 도면 도 6과 같이 발신측 가입자(점선) 및 착신측 가입자(실선)의 호 진행 스텝이 예상되는 경우 각 스텝마다 세가지 상태 즉, 대기, 구동, 종료 상태를 갖게 되며, 대기-구동-종료 상태로서 하나의 스텝이 구동인 경우 그 다음 스텝에 대한 처리 동작이 와도 종료되기 전까지는 다음 스텝으로 천이되지 않게 된다. 따라서 하나의 작업 수행 프로세스(54)에서 임의의 상태 천이 동작을 점유하는 경우 다른 작업 수행 프로세스(54)는 일정시간 후에 해당되는 상태의 동작을 수행하게 되고, 이에 따라 서로 다른 프로세스 타스크(process task)에 의한 간섭 현상을 방지할 수 있게 된다.For example, when a call progress step of the calling party (dotted line) and the called party (solid line) is expected as shown in FIG. 6 attached to the call progress step table 55, three states, i. In this case, the step is driven and terminated. When one step is driven as a standby-driven-end state, it does not transition to the next step until the processing operation for the next step ends. Therefore, when one task execution process 54 occupies an arbitrary state transition operation, another task execution process 54 performs an operation in a corresponding state after a predetermined time, and thus different process tasks It is possible to prevent the interference phenomenon caused by.

상술한 바와 같은 구성을 갖는 본 발명에 따른 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 동작을 첨부한 도면 도 7을 참조하여 설명하면 다음과 같다.Call event and call control processing operations in the access gateway according to the present invention having the above-described configuration will be described with reference to FIG. 7 as follows.

먼저, 본 발명에서 액세스 게이트웨이는 호 이벤트 및 호 제어 메시지 처리시 프로세스의 운용시간(alive time)을 최소화하기 위해 각각의 호 이벤트 또는 호 제어 메시지별로 차일드 프로세스인 작업 수행 프로세스(54)를 생성하게 되는데, 이를 위해 메인 프로세스(53)는 이벤트 버퍼 프로세스(51) 및 메시지 버퍼 프로세스(52)에 의해 수집된 호 이벤트 또는 호 제어 메시지가 버퍼링되는 로컬 메모리를 순차적으로 액세스하여 가입자 또는 디바이스에 의한 호 이벤트 발생 여부 및 소프트 스위치에 의한 호 제어 메시지 발생 여부를 확인하게 되며, 그 결과에 따라 대응하는 작업 수행 프로세스(54)를 생성하게 된다.First, in the present invention, the access gateway generates a work performing process 54 that is a child process for each call event or call control message in order to minimize an active time of the process in processing call events and call control messages. For this purpose, the main process 53 sequentially accesses the local memory where the call event or call control message collected by the event buffer process 51 and the message buffer process 52 is buffered to generate a call event by the subscriber or the device. It is checked whether or not the call control message is generated by the soft switch, and generates a corresponding work execution process 54 according to the result.

즉, 메인 프로세스(53)는 이벤트 버퍼 프로세스(51)에 의해 수집되는 호 이벤트 정보를 로컬 메모리에 버퍼링하고, 또한 메시지 버퍼 프로세스(52)에 의해 수집되는 호 제어 메시지 정보를 로컬 메모리에 버퍼링하게 되며(스텝 S71), 해당되는 로컬 메모리에 버퍼링되는 정보를 저장된 순서대로 하나씩 액세스하여 호 이벤트 정보인지, 호 제어 메시지인지를 확인하게 된다(스텝 S72).That is, the main process 53 buffers the call event information collected by the event buffer process 51 in the local memory, and also buffers the call control message information collected by the message buffer process 52 in the local memory. (Step S71), the information buffered in the corresponding local memory is accessed one by one in the stored order to check whether it is call event information or call control message (step S72).

이때, 로컬 메모리에 버퍼링된 정보가 호 이벤트 정보인 경우 즉, 가입자 또는 디바이스에 의한 호 이벤트가 발생한 것으로 확인되는 경우 메인 프로세스(53)는 해당되는 호 이벤트 처리를 위한 작업 수행 프로세스(54)를 생성하게 된다(스텝 S73).In this case, when the information buffered in the local memory is call event information, that is, when it is determined that a call event by a subscriber or a device has occurred, the main process 53 generates a work performing process 54 for processing a corresponding call event. (Step S73).

그리고, 로컬 메모리에 버퍼링된 정보가 호 제어 메시지인 경우 즉, 소프트 스위치에 의한 호 제어 메시지가 발생한 것으로 확인되는 경우 메인 프로세스(53)는 해당되는 호 제어 메시지 처리를 위한 작업 수행 프로세스(54)를 생성하게 된다(스텝 S74).In addition, when the information buffered in the local memory is a call control message, that is, when it is confirmed that a call control message is generated by the soft switch, the main process 53 performs a task performing process 54 for processing a corresponding call control message. It produces | generates (step S74).

한편, 메인 프로세스(53)에 의해 상호 배타적으로 독립 생성된 차일드 프로세스인 작업 수행 프로세스(54)는 해당되는 호 이벤트 또는 호 제어 메시지 처리 작업을 수행하게 되는데, 이때 호 진행 스텝 테이블(55)을 참조하여 대기-구동-종료 상태로 천이하면서 작업을 수행하게 되며(스텝 S75), 자신에게 주어진 호 이벤트 또는 호 제어 메시지 처리 작업 수행한 후에는 스스로 종료하게 된다(스텝 S76).On the other hand, the work execution process 54, which is a child process independently generated independently of each other by the main process 53, performs a corresponding call event or call control message processing operation, in this case refer to the call progress step table 55 Then, the operation is performed while transitioning to the standby-drive-end state (step S75), and after the call event or call control message processing task given to the user is performed (step S76).

정리해 보면, 본 발명에서 액세스 게이트웨이는 과다한 프로세스 운용시간을 줄이기 위해서 호 이벤트 및 호 제어 메시지별로 이를 처리하기 위한 차일드 프로세스인 작업 수행 프로세스(54)를 생성하게 되는데, 예를 들어 도 5에서 각각의 작업 수행 프로세스(54)인 훅 오프 프로세스, 디지트 프로세스, 훅 온 프로세스, 시그널 프로세스는 가입자 측의 호 이벤트 및 소프트 스위치의 호 제어 메시지별로 생성되며, 이렇게 생성된 작업 수행 프로세스(54)는 자기 고유의 기능인 호 이벤트 또는 호 제어 기능을 수행한 후에 스스로 종료하게 된다. 따라서 전체적인 호 진행과 상관없이 짧은 프로세서 점유를 나타내며, 임의의 시점에서의 운용 프로세스 생성 갯수를 줄일 수 있게 된다.In summary, in the present invention, the access gateway generates a task execution process 54 which is a child process for processing this for each call event and call control message in order to reduce excessive process operating time. For example, in FIG. The execution process 54, the hook off process, the digit process, the hook on process, and the signal process, are generated for each call event on the subscriber side and the call control message of the soft switch, and the work execution process 54 thus generated is a unique function. It terminates itself after performing a call event or call control function. Therefore, it shows short processor occupancy regardless of the overall call progress, and it is possible to reduce the number of production processes generated at any point in time.

그리고, 상술한 액세스 게이트웨이에서 각 작업 수행 프로세스(54)는 하나의 메인 프로세스(53)에 의해 생성되는데, 해당 메인 프로세스(53)는 이벤트 버퍼 프 로세스(51) 및 메시지 버퍼 프로세스(52)에 의해 수집된 정보가 버퍼링된 로컬 메모리를 순차적으로 액세스하여 실시간으로 작업 수행 프로세스(54)를 생성하게 되며, 이때 로컬 메모리에 버퍼링된 순서에 따라 순차적인 처리를 가능하게 한다.In the above-described access gateway, each task performing process 54 is generated by one main process 53, which is processed by the event buffer process 51 and the message buffer process 52. The collected information sequentially accesses the buffered local memory to generate the work execution process 54 in real time, and enables sequential processing according to the order buffered in the local memory.

또한, 본 발명에서는 상호 배타적인 작업 수행 프로세스(54)가 동시에 생성됨에 따라 발생할 수 있는 간섭 현상을 방지하기 위해 가입자별로 호 진행 스텝 테이블(55)을 구현하여 적용하고 있는데, 예를 들어 첨부된 도면 도 8에서와 같이 소프트 스위치에 의한 화중음(busy tone) 송출 제어 메시지가 수신됨에 따라 톤 디바이스에서 가입자에게 정상적으로 화중음을 송출하는 순간에 가입자 측에서 훅 온이 발생하는 경우 해당되는 가입자와 관련된 모든 자원을 해지하게 된다. 하지만 톤 디바이스에 의해서 정상적인 응답이 수신됨에 따라 해당 가입자 측에 톤 자원이 점유한 것으로 처리하게 되는데, 이는 가입자가 실제적으로 훅 온 상태임에도 불구하고 디바이스 자원이 점유되는 불일치 현상을 나타낸다.In addition, the present invention implements and applies the call progress step table 55 for each subscriber in order to prevent interference that may occur when mutually exclusive work execution processes 54 are generated at the same time. As shown in FIG. 8, when a busy tone transmission control message by a soft switch is received and a hook-on occurs at the subscriber side at the moment when the tone device normally transmits a busy tone to the subscriber, all of the subscribers related to the corresponding subscriber are connected. The resource is released. However, when a normal response is received by the tone device, the tone resource is occupied by the corresponding subscriber, which indicates an inconsistency in which the device resource is occupied even though the subscriber is actually hooked on.

따라서, 본 발명에서는 도 8과 같은 불일치 현상을 방지하기 위하여 도 6과 같은 가입자별 호 진행 스텝 테이블(55)을 적용함으로써, 액세스 게이트웨이는 가입자가 통화시 발/착신 여부를 알 수 있고, 해당 호 진행 스텝 테이블(55)을 참조하여 각 특성마다 상태 천이 테이블(55)을 예상할 수 있어 비정상적인 천이 요구시 에러 처리를 하게 된다.Accordingly, in the present invention, by applying the subscriber-specific call progress step table 55 as shown in FIG. 6 to prevent the inconsistency as shown in FIG. 8, the access gateway can know whether the subscriber is in / out of the call and the corresponding call. With reference to the advancing step table 55, the state transition table 55 can be predicted for each characteristic, and error processing is performed when an abnormal transition request is made.

또한, 본 발명에 따른 실시예는 상술한 것으로 한정되지 않고, 본 발명과 관련하여 통상의 지식을 가진자에게 자명한 범위내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있다.In addition, the embodiments according to the present invention are not limited to the above-described embodiments, and various alternatives, modifications, and changes can be made within the scope apparent to those skilled in the art.

이상과 같이, 본 발명은 액세스 게이트웨이에서 가입자 및 디바이스 측의 호 이벤트 및 소프트 스위치에 의한 호 제어 메시지별로 차일드 프로세스를 생성하여 해당되는 작업을 수행하게 하고 이후에 프로세스 스스로 종료하도록 함으로써, 호 이벤트 및 호 제어의 순차적인 처리가 가능해 짐과 동시에 과다한 프로세스 운용시간을 줄일 수 있게 되고, 이에 따라 시스템 자원의 가용성과 성능을 향상시킬 수 있게 된다.As described above, the present invention generates a child process for each call event and call control message by the soft switch at the subscriber and device side in the access gateway to perform a corresponding task, and then terminate the process itself, so that the call event and call In addition to enabling sequential processing of control, it is possible to reduce excessive process operating time, thereby improving system resource availability and performance.

또한, 본 발명은 각각의 차일드 프로세스에서 호 진행 스텝 테이블을 참조하여 대기-구동-종료 상태로 천이하면서 해당되는 기능 처리를 수행함으로써, 호 이벤트 및 호 제어의 동시 수행으로 인한 상호 간섭을 방지할 수 있게 되고, 따라서 호 이벤트와 호 제어 기능 처리의 충돌로 인한 비정상적인 호 처리를 방지하는 등 시스템 운용의 안정성을 확보할 수 있게 된다.In addition, the present invention can prevent the mutual interference due to the simultaneous execution of call events and call control by performing the corresponding function processing while transitioning to the standby-drive-end state with reference to the call progress step table in each child process. Therefore, it is possible to secure the stability of the system operation, such as preventing abnormal call processing due to the collision of call events and call control function processing.

Claims (6)

가입자 및 디바이스 측에서 비정기적인 동작으로 발생되는 각종 호 이벤트 정보를 그 발생순서에 따라 수집하는 이벤트 버퍼 프로세스와;An event buffer process for collecting various call event information generated in an irregular operation at the subscriber and the device in the order of occurrence; 소프트 스위치의 호 제어를 위한 MEGACO 메시지를 그 발생순서에 따라 수집하는 메시지 버퍼 프로세스와;A message buffer process for collecting MEGACO messages for call control of the soft switch in the order of their occurrence; 호 이벤트 또는 호 제어 메시지 처리를 위해 상호 배타적으로 생성되는 차일드 프로세스로서, 각각에 주어진 호 이벤트 또는 호 제어 메시지 처리 기능을 수행한 후에 스스로 종료하는 작업 수행 프로세스와;A child process created mutually exclusively for call event or call control message processing, comprising: a task performing process that terminates itself after performing a given call event or call control message processing function respectively; 상기 이벤트 버퍼 프로세스 및 메시지 버퍼 프로세스에 의해 수집된 호 이벤트 또는 호 제어 메시지를 로컬 메모리에 버퍼링하고, 순차적으로 판독하여 해당되는 호 이벤트 또는 호 제어 메시지 처리를 위한 작업 수행 프로세스를 생성하는 메인 프로세스를 포함하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템.And a main process that buffers the call event or call control message collected by the event buffer process and the message buffer process in a local memory, and sequentially reads and generates a work performing process for processing a corresponding call event or call control message. And a call event and call control processing system at an access gateway. 제 1항에 있어서,The method of claim 1, 상기 호 이벤트 및 호 제어 메시지 처리와 같은 가입자별 호 진행 스텝에 대해 각 스텝별로 상태 플래그를 설정하여 현재 구동 상태인 스텝이 종료되기 전까지는 다음 스텝으로 천이되지 않도록 관리하는 호 진행 스텝 테이블을 더 포함하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템.It further includes a call progress step table that manages not to transition to the next step until the current driving step ends by setting a status flag for each call progress step for each subscriber such as the call event and call control message processing. And a call event and call control processing system at an access gateway. 제 1항 또는 2항에 있어서,The method according to claim 1 or 2, 상기 작업 수행 프로세스는, 호 진행 스텝 테이블을 참조하여 서로 다른 프로세스 타스크에 의한 간섭이 없도록 대기-구동-종료 상태로 천이하면서 해당되는 작업을 수행하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 시스템.The task execution process refers to a call progress step table and performs a corresponding task while transitioning to a standby-driven-end state so that there is no interference by different process tasks. Processing system. 호 진행 중에 발생되는 호 이벤트 및 호 제어 메시지를 수집하여 로컬 메모리에 버퍼링하는 과정과;Collecting and buffering a call event and a call control message generated during a call in a local memory; 상기 로컬 메모리를 순차적으로 액세스하여 호 이벤트 또는 호 제어 메시지 처리를 위해 상호 배타적으로 개별 작업 수행 프로세스를 생성하는 과정과;Sequentially accessing the local memory to create separate work execution processes mutually exclusive for processing a call event or call control message; 상기 개별 작업 수행 프로세스는 호 이벤트 또는 호 제어 메시지 처리 작업 수행한 후에 종료하는 과정을 포함하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 방법.The process of performing individual work includes terminating after performing a call event or call control message processing task. 제 4항에 있어서,The method of claim 4, wherein 상기 호 이벤트 및 호 제어 메시지를 버퍼링하는 과정은, 이벤트 버퍼 프로세스에서 가입자 또는 디바이스에 의해 발생되는 호 이벤트 정보를 수집하는 단계와;The buffering of the call event and call control message comprises: collecting call event information generated by a subscriber or a device in an event buffer process; 메시지 버퍼 프로세스에서 소프트 스위치에 의해 발생되는 호 제어 메시지를 수집하는 단계와;Collecting a call control message generated by the soft switch in the message buffer process; 메인 프로세스에서 상기 수집된 호 이벤트 정보 또는 호 제어 메시지 정보를 로컬 메모리에 버퍼링하는 단계를 포함하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 방법.Buffering the collected call event information or call control message information in a local memory in a main process. 제 4항에 있어서,The method of claim 4, wherein 상기 각 작업 수행 프로세스의 작업 수행 및 종료 과정은, 각 작업 수행 프로세스에서 호 진행 스텝 테이블을 참조하여 대기-구동-종료 상태로 천이하면서 호 이벤트 또는 호 제어 메시지 처리 작업을 수행하는 단계와;The task execution and termination of each task execution process may include: performing a call event or call control message processing operation while transitioning to a standby-drive-end state with reference to a call progress step table in each task execution process; 상기 각 작업 수행 프로세스에서 자신에게 주어진 호 이벤트 또는 호 제어 메시지 처리 작업을 수행한 후에 프로세스 스스로 종료하는 단계를 포함하는 것을 특징으로 하는 액세스 게이트웨이에서의 호 이벤트 및 호 제어 처리 방법.And terminating the process by itself after performing a call event or call control message processing task given to it in each work execution process.
KR1020030049724A 2003-07-21 2003-07-21 System And Method For Processing Call Event And Call Control In Access Gateway KR100540836B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030049724A KR100540836B1 (en) 2003-07-21 2003-07-21 System And Method For Processing Call Event And Call Control In Access Gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030049724A KR100540836B1 (en) 2003-07-21 2003-07-21 System And Method For Processing Call Event And Call Control In Access Gateway

Publications (2)

Publication Number Publication Date
KR20050010524A KR20050010524A (en) 2005-01-28
KR100540836B1 true KR100540836B1 (en) 2006-01-11

Family

ID=37222908

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030049724A KR100540836B1 (en) 2003-07-21 2003-07-21 System And Method For Processing Call Event And Call Control In Access Gateway

Country Status (1)

Country Link
KR (1) KR100540836B1 (en)

Also Published As

Publication number Publication date
KR20050010524A (en) 2005-01-28

Similar Documents

Publication Publication Date Title
US6754180B1 (en) System, method, and computer program product for support of bearer path services in a distributed control network
JP4603034B2 (en) Overload control in communication networks
US7124335B2 (en) Apparatus and method for testing MEGACO protocol
JP2006262118A (en) Repeater, relaying method and relay program
EP1873971B1 (en) A method for implementing media gateway report transaction in a next generation network
US7539288B2 (en) Apparatus and method for simulating a trunk gateway in a telecommunications switch test system
CN101014039B (en) Network, media gateway device and internal resource management method used in same
CN101506792B (en) VoIP telecommunications switch
KR100540836B1 (en) System And Method For Processing Call Event And Call Control In Access Gateway
US7899040B2 (en) Synchronization of event processing at a media gateway
JP2009290450A (en) Sip telephone system, data transmission method, server unit and telephone terminal
JP3622692B2 (en) Transmission path control method in multimedia communication, communication system and program therefor
KR100636387B1 (en) CAC Apparatus and Method for Communication with Network Resource Management
US6459786B1 (en) Call and connection control
JP4230797B2 (en) Switching network system and telephone switching device
JPH09507979A (en) Communication switching system with facility system and base switching system
KR101263018B1 (en) Interface Apparatus, Method and Telecommunications Network for Processing Multiple TCAP Component Messages
JP6252055B2 (en) COMMUNICATION DEVICE AND COMMUNICATION DEVICE CONTROL METHOD
JP5878770B2 (en) Telephone control device, telephone system, and program
JPH11252149A (en) Communication system and communication equipment
JP2009177545A (en) Relay apparatus, line control system, line control method and line control program
JP2009094943A (en) Telephone exchange system, and resource sharing method and telephone exchange in telephone exchange system
JPH09200258A (en) Packet exchange network incoming call transfer system
JPS63153991A (en) Call control system for electronic switchboard

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
FPAY Annual fee payment

Payment date: 20121115

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131115

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141119

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20151111

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee