KR20040035086A - Method for Processing of Emergency Message - Google Patents
Method for Processing of Emergency Message Download PDFInfo
- Publication number
- KR20040035086A KR20040035086A KR1020020063817A KR20020063817A KR20040035086A KR 20040035086 A KR20040035086 A KR 20040035086A KR 1020020063817 A KR1020020063817 A KR 1020020063817A KR 20020063817 A KR20020063817 A KR 20020063817A KR 20040035086 A KR20040035086 A KR 20040035086A
- Authority
- KR
- South Korea
- Prior art keywords
- message
- emergency
- mgc
- processing
- mgw
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1043—Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
Description
본 발명은 MGC(Media Gateway Controller)와 MGW(Media Gateway) 사이에서 송수신되는 MEGACO 메시지 처리 방법에 관한 것으로, 특히 MEGACO 메시지에 긴급 메시지 구분자를 정의하여 긴급 처리를 요하는 MEGACO 메시지를 디코딩없이 신속하게 구분하여 처리하도록 한 긴급 메시지 처리 방법에 관한 것이다.The present invention relates to a method for processing a MEGACO message transmitted and received between a MGC (Media Gateway Controller) and a MGW (Media Gateway), in particular, by defining an emergency message delimiter in the MEGACO message to quickly distinguish the MEGACO message requiring emergency processing without decoding It relates to an emergency message processing method for processing.
일반적으로, MGC는 첨부한 도면 도 1에 도시된 바와 같이 다수 개의 MGW와연동하여 MEGACO 메시지를 송수신한다. 즉, MGC(10)는 서버로서 클라이언트인 다수 개의 MGW(20)로부터 MEGACO 메시지를 수신하여 수신된 메시지를 디코딩 및 분석하여 해당 처리 동작을 수행한 후, 처리 결과를 인코딩하여 MEGACO 메시지로 해당 MGW(20)로 송신한다.In general, the MGC transmits and receives a MEGACO message in association with a plurality of MGWs as shown in FIG. 1. That is, the MGC 10 receives MEGACO messages from a plurality of MGWs 20, which are clients as a server, decodes and analyzes the received messages, performs a corresponding processing operation, and then encodes the processing result to the corresponding MGW ( 20).
상기 MEGACO 메시지는 규격 ITU-T의 H.248 프로토콜에 정의된 메시지로서 MGC(10)와 MGW(20) 상호간에 송수신되는 메시지이다. 이러한 MEGACO 메시지의 구조는 인코딩/디코딩 방식에 따라 ASN.1 방식과 ABNF 방식이 있다.The MEGACO message is a message defined in the H.248 protocol of standard ITU-T and is a message transmitted and received between the MGC 10 and the MGW 20. The structure of the MEGACO message is ASN.1 and ABNF according to the encoding / decoding method.
ASN.1 방식의 MEAGCO 메시지의 구조는 다음과 같다.The structure of the AAG.1 MEAGCO message is as follows.
MegacoMessage ::= SEQUENCEMegacoMessage :: = SEQUENCE
{{
authHeader AuthenticationHeader OPTIONAL,authHeader AuthenticationHeader OPTIONAL,
mess Messagemess Message
}}
AuthenticationHeader ::= SEQUENCEAuthenticationHeader :: = SEQUENCE
{{
인증을 하기 위한 여러 값들이 포함됨.Contains multiple values for authentication.
}}
Message ::= SEQUENCEMessage :: = SEQUENCE
{{
프로토콜 버전(Version), 메시지 ID, 메시지 자체, 기타 우선순위, 긴급정보(Emergency) 등이 포함됨Includes protocol version, message ID, message itself, other priorities, emergency, etc.
}}
다음으로 ABNF 방식의 MEGACO 메시지의 구조는 아래와 같다.Next, the structure of the MEGACO message of the ABNF method is as follows.
MegacoMessage = LWSP [authenticationHeader SEP ] messageMegacoMessage = LWSP [authenticationHeader SEP] message
상기 LWSP는 주석이나 스페이스(Space), 캐리지 리턴(Carrage Return), 괄호 등을 지시하는 함수이다. 그리고 인증헤더(AuthenticationHeader)에는 인증을 하기 위한 여러 값들이 포함되며, 메시지(Message)에는 프로토콜 버전(Version), 메시지 ID, 메시지 자체, 기타 여러가지 정보들이(우선순위, Emergency, 등) 포함된다.The LWSP is a function for indicating a comment, a space, a carriage return, or parentheses. The authentication header includes various values for authentication, and the message includes a protocol version, a message ID, a message itself, and various other information (priority, emergency, etc.).
상기와 같은 기존의 MEGACO 메시지에서는 긴급 정보(Emergency)가 프로토콜 버젼이나 메시지 ID 등과 함께 메시지(Message) 내부에 포함되어 있기 때문에 모든 메시지들은 수신되는 순서대로 처리되며 메시지 디코딩이 끝난 후에 비로서 우선순위가 있는지 또는 긴급 처리를 요하는 메시지인지 여부를 알 수 있게 된다.In the existing MEGACO message as above, since emergency information is included in the message along with the protocol version or message ID, all messages are processed in the order in which they are received. It is possible to know whether the message exists or if it is a message requiring urgent processing.
첨부한 도면 도 2는 MGC(10)나 MGW(20)의 메시지 수신측에서 수신된 MEGACO 메시지를 처리하는 동작을 나타내는 플로우챠트이다.2 is a flowchart illustrating an operation of processing a MEGACO message received at the message receiving side of the MGC 10 or the MGW 20.
MEGACO 메시지를 수신한 수신측에서는 수신된 메시지를 디코딩 및 분석한다(S21,S22). 그리고, 해당 메시지가 긴급 메시지인지 여부를 확인하여 긴급 메시지인 경우 높은 우선 순위를 할당하여 즉시 처리하고, 긴급 메시지가 아닌 경우 일반 메시지 처리 정책에 따라 처리한다(S23).The receiving side receiving the MEGACO message decodes and analyzes the received message (S21, S22). Then, it is determined whether the message is an emergency message, and if it is an emergency message, a high priority is assigned and processed immediately.
그러나, 텍스트 기반 또는 바이너리 기반의 인코딩/디코딩을 사용하는MEGACO 프로토콜은 특히, 텍스트 방식의 경우 인코딩/디코딩 시간이 상당히 걸리며 하나의 메시지에 대해서 대부분의 부하가 이 과정을 수행하는데 걸린다.However, the MEGACO protocol, which uses text-based or binary-based encoding / decoding, takes a considerable amount of time to encode / decode, especially for text, and takes most of the load for a message.
따라서, 전술한 바와 같이 종래에는 MEGACO 메시지 자체에 긴급 정보를 나타내는 구분이 없고 디코딩을 해야만 알 수 있기 때문에 긴급 처리 또는 높은 우선 순위로 처리되어야 할 메시지일 경우 이를 신속하게 처리하지 못한다. 또한, 대량의 MEGACO 메시지가 들어오는 경우 MGC나 MGW에서 부하가 심해 일부 메시지는 시간 경과(Timeout)로 재전송 되거나 유실될 가능성이 있다.Therefore, as described above, since the MEGACO message itself does not have a division indicating the emergency information and can be known only by decoding, the message that is to be processed in an emergency process or a high priority cannot be processed quickly. In addition, when a large number of MEGACO messages are received, the MGC or MGW may be heavily loaded and some messages may be retransmitted or lost over time.
본 발명은 전술한 바와 같은 문제점을 해결하기 위한 것으로 그 목적은, MGC와 MGW 사이에서 송수신되는 MEGACO 메시지에 디코딩없이 긴급 메시지임을 구분할 수 있는 긴급 메시지 구분자를 정의하여, MEGACO 메시지의 수신측에서 긴급 메시지 구분자에 셋팅된 정보를 통해 긴급 처리를 요하는 메시지를 신속하게 구별하여 처리하게 하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object thereof is to define an emergency message delimiter capable of distinguishing an emergency message without decoding in a MEGACO message transmitted and received between the MGC and the MGW, and an emergency message at a receiving side of the MEGACO message The information set in the delimiter is used to quickly distinguish and process a message that requires urgent processing.
도 1은 MEGACO 메시지가 송수신되는 시스템의 개략적인 구성도.1 is a schematic diagram of a system in which a MEGACO message is transmitted and received.
도 2는 종래 긴급 MEGACO 메시지 처리 동작을 설명하기 플로우챠트.2 is a flowchart illustrating a conventional emergency MEGACO message processing operation.
도 3은 본 발명에 따른 긴급 MEGACO 메시지 처리 동작을 설명하기 위한 플로우챠트3 is a flowchart illustrating an emergency MEGACO message processing operation according to the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : MGC 20 : MGW10: MGC 20: MGW
상술한 바와 같은 목적을 달성하기 위한 본 발명의 긴급 메시지 처리 방법은, 긴급 처리를 요하는 메시지를 송신하고자 하는 경우 송신측에서 해당 메시지의 긴급 메시지 구분자에 긴급 메시지임을 나타내는 값을 셋팅하여 송신하는 과정과; 수신측에서 상기 메시지의 긴급 메시지 구분자에 셋팅된 값을 추출하여 해당 메시지가 긴급 메시지인지 여부를 확인하는 과정과; 상기 확인 결과, 해당 메시지가 긴급 메시지인 경우 일정시간 대기 없이 디코딩 및 분석하여 해당 메시지를 처리하는 과정을 포함하여 이루어지는 것을 특징으로 한다.In the emergency message processing method of the present invention for achieving the above object, a process for transmitting by setting a value indicating that the message is an emergency message in the emergency message delimiter of the corresponding message when the message to be urgent processing is to be transmitted and; Checking whether a corresponding message is an emergency message by extracting a value set in an emergency message identifier of the message at a receiving side; As a result of the check, if the message is an emergency message, the method includes a process of decoding and analyzing the message without waiting for a predetermined time.
그리고, 상기 긴급 처리를 요하는 메시지는 해당 메시지를 인증하기 위한 인증 정보가 선택적으로 저장되는 인증 헤더 필드와, 해당 메시지가 긴급 처리를 요하는 경우 대응하는 값이 셋팅되는 긴급 메시지 구분자 필드와, 실제 메시지 내용이 저장되는 메시지 필드를 포함하여 이루어지는 것을 특징으로 한다.The message for urgent processing includes an authentication header field for selectively storing authentication information for authenticating the message, an urgent message delimiter field for setting a corresponding value when the message requires urgent processing, and an actual message. And a message field in which the message content is stored.
이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명은 인증헤더와 실제 메시지로 구성되는 MEGACO 메시지에 긴급 메시지임을 표시하는 긴급 메시지 구분자를 추가 정의함으로써, 해당 메시지의 수신측에서 수신된 MEGACO 메시지의 디코딩 전에 긴급 메시지 구분자에 셋팅된 정보를 통해 미리 긴급 메시지 여부를 판단할 수 있도록 하여 MGC나 MGW의 과부하시에도 수신되는 긴급 메시지를 신속하게 처리하도록 한다.The present invention further defines an urgent message delimiter indicating an urgent message in a MEGACO message composed of an authentication header and an actual message. It is possible to determine whether an emergency message can be processed quickly so that an emergency message received even when an MGC or MGW is overloaded.
본 발명에 따라 긴급 메시지 구분자(emergency/EmergencyToken)가 추가된 MEGACO 메시지의 구조는 인코딩/디코딩 방식에 따라 다음과 같다.According to the present invention, the structure of a MEGACO message to which an emergency message identifier (emergency / EmergencyToken) is added is as follows according to an encoding / decoding scheme.
먼저 ASN.1 방식의 MEGACO 메시지 구조는 아래와 같다.First, MEGACO message structure of ASN.1 method is as follows.
MegacoMessage ::= SEQUENCEMegacoMessage :: = SEQUENCE
{{
authHeader AuthenticationHeader OPTIONAL, authHeader AuthenticationHeader OPTIONAL,
emergency BOOLEAN OPTIONAL,emergency BOOLEAN OPTIONAL,
mess Messagemess Message
}}
AuthenticationHeader ::= SEQUENCEAuthenticationHeader :: = SEQUENCE
{{
인증을 하기 위한 여러 값들이 포함됨.Contains multiple values for authentication.
}}
Message ::= SEQUENCEMessage :: = SEQUENCE
{{
Protocol Version, Message ID, 메시지 자체, 기타 여러가지 정보들(우선순위, Emergency, 등등) 포함됨.Includes Protocol Version, Message ID, message itself, and other information (Priority, Emergency, etc.).
}}
다음으로 ABNF 방식의 MEGACO 메시지의 구조는 아래와 같다.Next, the structure of the MEGACO message of the ABNF method is as follows.
MegacoMessage = LWSP [authenticationHeader SEP ] [EmergencyToken SEP] messageMegacoMessage = LWSP [authenticationHeader SEP] [EmergencyToken SEP] message
상기 LWSP는 주석이나 스페이스(Space), 캐리지 리턴(Carrage Return), 괄호 등을 지시하는 함수이고, AuthenticationHeader에는 인증을 하기 위한 여러 값들이 포함된다. 그리고, EmergencyToken은 긴급 메시지 여부를 나타내는 구분자이다.The LWSP is a function for indicating a comment, a space, a carriage return, parentheses, and the like, and the AuthenticationHeader includes various values for authentication. In addition, EmergencyToken is an identifier indicating whether an emergency message is present.
상기 message는 실제 메시지로서 프로토콜 버전(Version), 메시지 ID, 메시지 자체, 기타 여러가지 정보들(우선순위, Emergency, 등)이 포함된다.The message is an actual message and includes a protocol version, a message ID, a message itself, and various other information (priority, emergency, etc.).
해당 Message는 복잡한 트리구조를 띠며 그 안에 각종 정보가 담겨진다.The message has a complicated tree structure and contains various information.
첨부한 도면 도 3은 상기와 같은 긴급 메시지 여부를 나타내는 구분자가 추가된 MEGACO 메시지를 수신한 수신측에서의 해당 메시지 처리동작을 나타내는 플로우챠트이다.FIG. 3 is a flowchart illustrating a corresponding message processing operation at a receiving side that receives a MEGACO message to which an identifier indicating whether an emergency message is added is added.
다만, 하기의 긴급 MEGACO 메시지 처리 기준은 수신되는 MEGACO 메시지의 처리가 지연되는 시스템 과부하시에 적용하는 것이 바람직하다.However, the following emergency MEGACO message processing criteria is preferably applied at the time of system overload in which processing of the received MEGACO message is delayed.
MEGACO 메시지를 수신한 MGC 또는 MGW는(S31), 수신된 메시지의 긴급 메시지 구분자에 셋팅된 정보를 확인하여(S32), 해당 메시지가 긴급 처리를 요하는 긴급 메시지인지 여부를 판단한다(S33).Receiving the MEGACO message MGC or MGW (S31), by checking the information set in the emergency message identifier of the received message (S32), it is determined whether the message is an emergency message that requires urgent processing (S33).
그리하여, 해당 메시지가 긴급 메시지인 경우 즉시 디코딩 및 분석하여 분석 결과에 따른 처리를 한다(S34,S35). 즉, 긴급메시지인 경우는 일반 메시지보다 우선적으로 처리하도록 하며 자원 점유에 대해서도 긴급 메시지 처리 정책에 따라 즉각적으로 높은 우선순위를 부가하여 처리한다.Thus, if the message is an emergency message, it is immediately decoded and analyzed and processed according to the analysis result (S34, S35). That is, in case of an urgent message, it is prioritized over a general message, and the resource occupancy is immediately added with a high priority according to an urgent message processing policy.
그리고, 일반 메시지인 경우는 일반 메시지 처리 정책에 따라 일정 시간 대기 후에 처리한다. 즉, 수신된 메시지가 일반 메시지 경우 해당 메시지 처리 타이머를 구동하고(S36), 해당 타이머가 만료한 후(S37)에 해당 메시지를 디코딩 및 분석하여 분석 결과에 따라 처리한다(S34,S35).In the case of a general message, the message is processed after a predetermined time wait according to the general message processing policy. That is, when the received message is a general message, the message processing timer is driven (S36), and after the timer expires (S37), the message is decoded and analyzed and processed according to the analysis result (S34, S35).
또한, 본 발명에 따른 실시 예는 상술한 것으로 한정되지 않고, 본 발명과관련하여 통상의 지식을 가진 자에게 자명한 범위 내에서 여러 가지의 대안, 수정 및 변경하여 실시할 수 있다.In addition, the embodiment according to the present invention is not limited to the above description, and various alternatives, modifications, and changes can be made within the scope obvious to those skilled in the art.
이상과 같이, 본 발명은 MGC와 MGW 사이에서 송수신되는 MEGACO 메시지에 긴급 메시지 구분자를 정의하여 해당 메시지가 긴급 처리를 요하는 메시지임을 나타내는 정보를 추가함으로써, 해당 메시지의 수신측에서 시스템 과부하시에도 디코딩 처리없이 긴급 메시지를 일반 메시지와 구분하여 신속하게 처리할 수 있는 효과가 있다.As described above, the present invention defines an emergency message delimiter in the MEGACO message transmitted and received between the MGC and the MGW, and adds information indicating that the message is a message that requires urgent processing, so that the receiver side of the message decodes even when the system is overloaded. There is an effect that can be processed quickly by distinguishing the emergency message from the normal message without processing.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020063817A KR20040035086A (en) | 2002-10-18 | 2002-10-18 | Method for Processing of Emergency Message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020063817A KR20040035086A (en) | 2002-10-18 | 2002-10-18 | Method for Processing of Emergency Message |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20040035086A true KR20040035086A (en) | 2004-04-29 |
Family
ID=37334060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020020063817A KR20040035086A (en) | 2002-10-18 | 2002-10-18 | Method for Processing of Emergency Message |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20040035086A (en) |
-
2002
- 2002-10-18 KR KR1020020063817A patent/KR20040035086A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7627692B2 (en) | Multiplexing of compressed control and user-plane messages | |
US7321322B2 (en) | Pattern-driven, message-oriented compression apparatus and method | |
US7289464B2 (en) | Compression using program tokens | |
US8589567B2 (en) | Method and apparatus for improving SIP parse performance | |
CN111371887B (en) | Internet of things log transmission method, client, server, equipment and storage medium | |
CN109327435B (en) | Media resource acquisition method and device and gateway equipment | |
US20070023524A1 (en) | Contents access method and sorting apparatus | |
US6868059B1 (en) | Clusters of devices, softwares and methods for improved handling of a gatekeeper load in VoIP communication | |
EP1719319B1 (en) | Method and arrangement for state memory management | |
KR20040035086A (en) | Method for Processing of Emergency Message | |
WO2007072167A2 (en) | Method, apparatus and computer program product for decompressing a signalling message in a device in a communication system | |
CN113612668B (en) | Communication method for bridging three protocols | |
US10820025B2 (en) | Method and system of push-template and URL list for dash on full-duplex protocols | |
CN114979094A (en) | Data transmission method, device, equipment and medium based on RTP | |
US20090083364A1 (en) | Data communication system, terminal, catalog server, data communication method, and communication program product | |
CN109995589B (en) | Log collection method and system | |
EP1202521B1 (en) | A method for processing in a gatekeeper of an internet protocol network | |
CN114513544B (en) | Local area network wireless screen-throwing method, equipment and computer readable storage medium | |
US6704306B1 (en) | Voice message service method for multimedia internet protocol system | |
CN115150669B (en) | GB28181 international inter-standard-based media stream sharing method, device and application | |
CN113329040B (en) | Protocol conversion method and device in media stream forwarding process | |
CN116489134A (en) | Data receiving method and device, data generating method and device, equipment and medium | |
CN111031027A (en) | Efficient data transmission method and heterogeneous data transmission layer | |
CN117097706A (en) | Streaming media transmission method and system automatically adapting to network environment | |
KR101128912B1 (en) | Message data structure in system for transmitting the voice using internet network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |