KR101604118B1 - Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor - Google Patents
Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor Download PDFInfo
- Publication number
- KR101604118B1 KR101604118B1 KR1020090084452A KR20090084452A KR101604118B1 KR 101604118 B1 KR101604118 B1 KR 101604118B1 KR 1020090084452 A KR1020090084452 A KR 1020090084452A KR 20090084452 A KR20090084452 A KR 20090084452A KR 101604118 B1 KR101604118 B1 KR 101604118B1
- Authority
- KR
- South Korea
- Prior art keywords
- sip
- proxy server
- sip proxy
- information
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/20—Hop count for routing purposes, e.g. TTL
-
- 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/1045—Proxies, e.g. for session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1017—Server selection for load balancing based on a round robin mechanism
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
Abstract
본 발명은 SIP(Session Initiation Protocol)를 적용하는 네트워크에서 SIP Proxy 서버들이 라우팅 처리를 수행할 때, 다음 홉(Next hop)을 결정하는 과정에서 DNS 질의 방법이 아닌 부하분산 정책 등 로컬 폴리시(Local Policy)를 적용하여 다음 홉을 결정하기 위한 것으로, 자신과 연동하는 노드의 정보를 저장 및 관리하며, SIP 메시지를 수신하고, 복수의 SIP 어플리케이션 서버와 연동하거나, 다음 SIP 프록시 서버로 메시지를 전송하기 때문에, DNS 서버를 증설하고 유지보수 하는 비용을 절약하고 하나의 시스템에서 더 많은 사용자에게 빠르고 안정적인 서비스를 제공할 수 있다는 효과를 기대할 수 있다.In the process of determining the next hop, when SIP Proxy servers perform routing processing in a network applying SIP (Session Initiation Protocol), the local policy ) To store and manage the information of the node in cooperation with itself, receive the SIP message, interwork with a plurality of SIP application servers, or transmit the message to the next SIP proxy server , Savings in the cost of adding and maintaining DNS servers, and the ability to provide fast and reliable services to more users in a single system.
Description
본 발명은 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리 방법과 이를 위한 시스템에 관한 것으로서, 보다 상세하게는 SIP(Session Initiation Protocol)를 적용하는 네트워크에서 SIP Proxy 서버들이 라우팅 처리를 수행할 때, 다음 홉(Next hop)을 결정하는 과정에서 DNS 질의 방법이 아닌 부하분산 정책 등 로컬 폴리시(Local Policy)를 적용하여 다음 홉을 결정하기 위한 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리 방법과 이를 위한 시스템에 관한 것이다.[0001] The present invention relates to a routing processing method by a local policy in a SIP system and a system therefor, and more particularly, to a system and a method for routing by a local policy in a SIP system, when SIP Proxy servers perform routing processing in a network applying SIP (Session Initiation Protocol) Next, the present invention relates to a method of routing by a local policy in a SIP system for determining a next hop by applying a local policy such as a load balancing policy instead of a DNS query method, and a system therefor.
SIP(RFC 3261) 국제 표준에서는 특정 SIP URI로 접속하기 위한 다음 홉(Next hop)의 아이피(IP), URL 주소, 전송 프로토콜을 도출해 내기 위해 DNS 절차를 적용하고 있다.The SIP (RFC 3261) international standard applies the DNS procedure to derive the IP, URL address, and transport protocol of the next hop to connect to a specific SIP URI.
그러나, 다음 홉을 결정할 때, DNS를 적용하기 위해서는 DNS 서버가 요구되고 SIP Proxy와 DNS 간의 호 절차(Call Flow)가 더 많이 요구되는 등의 자원적인 측면이나 성능적인 측면에서 부담이 될 수 있는 문제가 있다.However, when determining the next hop, a DNS server is required to apply DNS, and a problem that can be a burden on the resource side or the performance side such as a call flow more required between the SIP proxy and DNS .
또한, DNS 서버에 문제가 발생하며, 호 처리가 이루어지지 않는 문제가 있다.In addition, there is a problem that a problem occurs in the DNS server, and the call processing is not performed.
본 발명은 상술한 문제점을 해결하기 위하여 안출된 것으로서, SIP 네트워크에서 SIP Proxy가 DNS 서버를 별도로 연동하지 않고 SIP Proxy에서 모든 연동 노드들의 정보를 저장 및 관리하여 다음 홉(Next hop)을 결정하는 데 활용할 수 있도록 하기 위한 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리 방법과 이를 위한 시스템을 제공하는데 그 기술적 과제가 있다.The present invention has been conceived to solve the above-mentioned problems, and it is an object of the present invention to provide a SIP proxy in which a SIP proxy stores and manages information of all interworking nodes in a SIP proxy, There is a technical problem in providing a routing processing method by a local policy and a system therefor in a SIP system for making it possible to utilize it.
또한, 본 발명은 DNS 서버 대신 SIP Proxy에서 자체 데이터베이스 상에서 연동 노드 정보를 관리하여, 부하 분산, 신뢰할 수 없는 노드에서의 메시지 수신 거부, 연동 노드들의 상태 관리를 직접 수행할 수 있도록 하기 위한 것이다.In addition, the present invention manages the interworking node information in its own database in the SIP Proxy instead of the DNS server, so that load balancing, denial of message reception at unreliable nodes, and state management of interworking nodes can be performed directly.
상술한 목적을 달성하기 위한 본 발명의 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리를 위한 시스템은,According to an aspect of the present invention, there is provided a system for routing processing by a local policy in a SIP system of the present invention,
자신과 연동하는 노드의 정보를 저장 및 관리하며, SIP 메시지를 수신하고, 복수의 SIP 어플리케이션 서버와 연동하거나, 다음 SIP 프록시 서버로 메시지를 전송하는 SIP(Session Initiation Protocol) 프록시 서버; 및A Session Initiation Protocol (SIP) proxy server for storing and managing information of a node interworking with itself, receiving a SIP message, interworking with a plurality of SIP application servers, or transmitting a message to a next SIP proxy server; And
사용자의 서비스 프로파일에 따라서 연동되는 SIP 어플리케이션 서버;를 포함한다.And a SIP application server interlocked with the user's service profile.
상기 프록시 서버는,The proxy server includes:
상기 SIP 메시지를 수신하면, 수신한 SIP 메시지에 대한 소스(source) 정보가 기 저장된 정보에 존재하는지 여부를 확인하고, 확인 결과, 소스 정보가 존재하는 않는 경우, 해당 SIP 메시지를 거부하는 것이 바람직하다.Upon receipt of the SIP message, it is checked whether source information for the received SIP message exists in the stored information, and if the source information does not exist, it is preferable to reject the SIP message .
다른 본 발명은, SIP 어플리케이션 서버, 다른 SIP 프록시 서버와 연결되어, 라우팅 처리를 수행하는 서버로서,Another aspect of the present invention is a server connected to a SIP application server and another SIP proxy server to perform a routing process,
SIP 메시지를 수신하고, SIP 어플리케이션 서버와 연동하거나, 또는 데이터베이스에 저장된 연동 노드의 정보를 이용하여 다음 SIP 프록시 서버로 메시지를 전송하는 SIP 시그널링부; 및A SIP signaling unit for receiving the SIP message, interworking with the SIP application server, or transmitting the message to the next SIP proxy server using the information of the interworking node stored in the database; And
SIP 프록시 서버와 연동하는 노드의 정보를 저장 및 관리하는 데이터베이스;를 포함한다.And a database for storing and managing information of a node interworking with the SIP proxy server.
상기 연동 노드의 정보는,Wherein the information of the interworking node comprises:
아이피(IP), URL 주소, 포트(port), 전송프로토콜, 도메인, 서버상태, 호스트 정보, 신뢰유무, 홈 네트워크 유무, 상태 체크 유무, 서버의 종류, 서버명을 포함하는 것이 바람직하다.It is preferable that the IP address, IP address, URL address, port, transmission protocol, domain, server status, host information, existence of trust, existence of home network, existence of status check,
상기 SIP 시그널링부는,The SIP signaling unit,
SIP 메시지를 수신하면, 상기 데이터베이스에 수신한 SIP 메시지에 대응되는 소스 정보가 존재하는지 여부를 확인하고, 소스 정보가 존재하지 않는 경우, 해당 SIP 메시지를 거부하는 것이 바람직하다.Upon receipt of the SIP message, it is preferable to check whether or not there is source information corresponding to the received SIP message in the database, and reject the corresponding SIP message if source information does not exist.
상기 SIP 어플리케이션 서버가 복수 개인 경우,When there are a plurality of SIP application servers,
상기 SIP 시그널링부는,The SIP signaling unit,
상기 데이터베이스로부터 복수의 호 분배 방법 중 Round-Robin 방법을 수신한 경우, 동일한 기능을 보유하고 있는 복수의 SIP 어플리케이션 서버로 Round-Robin 방식으로 호를 분산하는 것이 바람직하다.When Round-Robin method among a plurality of call distribution methods is received from the database, it is preferable to distribute the call in Round-Robin manner to a plurality of SIP application servers having the same function.
상기 SIP 어플리케이션 서버가 복수 개인 경우,When there are a plurality of SIP application servers,
상기 SIP 시그널링부는,The SIP signaling unit,
상기 데이터베이스로부터 복수의 호 분배 방법 중 비율 분배 방법을 수신한 경우, 동일한 기능을 보유하고 있고, 호 수용 용량이 다른 복수의 SIP 어플리케이션 서버로 각 서버의 성능에 따라서 기 설정된 비율로 호를 분산하는 것이 바람직하다.When the rate distribution method among a plurality of call distribution methods is received from the database, it is desirable to distribute the call to a plurality of SIP application servers having the same function and having different call acceptance capacities at a predetermined ratio according to the performance of each server desirable.
상기 SIP 시그널링부는,The SIP signaling unit,
데이터베이스에 저장된 모든 연동 노드로 기 설정된 주기마다 노드 상태 점검 메시지를 전송하고, 연동 노드로부터의 응답 메시지 수신여부에 따라 데이터베이스의 연동 노드 정보를 업데이트하는 것이 바람직하다.It is preferable to transmit a node status check message to every interworking node stored in the database at predetermined intervals and update the interworking node information of the database according to whether the response message is received from the interworking node.
상기 SIP 시그널링부는,The SIP signaling unit,
상기 노드 상태 점검 메시지에 대한 응답 메시지를 수신하지 않은 해당 연동 노드를 비정상 상태라고 판단하고, 해당 연동 노드를 제외한 해당 연동 노드와 동일한 기능을 수행하는 다른 연동 노드로 라우팅을 수행하는 것이 바람직하다.It is preferable that the corresponding interworking node that has not received the response message to the node status check message is determined to be in an abnormal state and performs routing to another interworking node that performs the same function as the corresponding interworking node except for the interworking node.
또 다른 본 발명은, SIP 어플리케이션 서버, 다른 SIP 프록시 서버와 연결되어, SIP 프록시 서버가 라우팅 처리를 수행하는 방법으로서,Still another aspect of the present invention is a method for connecting a SIP application server and another SIP proxy server to perform a routing process by a SIP proxy server,
SIP 프록시 서버가 자신과 연동하는 노드의 정보를 저장 및 관리하는 단계;Storing and managing information of a node associated with the SIP proxy server;
SIP 프록시 서버가 SIP 메시지를 수신하면, 기 저장된 연동 노드의 정보를 이용하여 SIP 어플리케이션 서버와 연동하는 단계;When the SIP proxy server receives the SIP message, interworking with the SIP application server using the pre-stored interworking node information;
SIP 프록시 서버가 SIP 메시지를 수신하면, 기 저장된 연동 노드의 정보를 이용하여 다음 SIP 프록시 서버(Next hop)로 메시지를 전송하는 단계;를 포함한다.When the SIP proxy server receives the SIP message, transmitting the message to the next SIP proxy server (Next hop) using the information of the pre-stored interworking node.
상기 SIP 어플리케이션 서버와 연동하는 단계에서,In cooperation with the SIP application server,
상기 SIP 프록시 서버가 복수의 호 분배 방법 중에서 Round-Robin 방식으로 동일한 기능을 보유하고 있는 SIP 어플리케이션 서버로 호를 분산하거나,The SIP proxy server distributes the call to a SIP application server having the same function in Round-Robin manner among a plurality of call distribution methods,
상기 SIP 프록시 서버가 복수의 호 분배 방법 중에서 비율 분배 방식으로 동일한 기능을 보유하고 있고, 호 수용 용량이 다른 SIP 어플리케이션 서버로 각 서버의 성능을 고려하여 기 설정된 비율로 호를 분산하는 것이 바람직하다.It is preferable that the SIP proxy server has the same function in a ratio distribution method among a plurality of call distribution methods and distributes the call at a predetermined ratio in consideration of the performance of each server to SIP application servers having different call acceptance capacities.
또 다른 본 발명은, SIP 어플리케이션 서버, 다른 SIP 프록시 서버와 연결되어, SIP 프록시 서버가 라우팅 처리를 수행하는 방법으로서,Still another aspect of the present invention is a method for connecting a SIP application server and another SIP proxy server to perform a routing process by a SIP proxy server,
SIP 프록시 서버가 기 저장된 모든 연동 노드로 기 설정된 주기마다 노드 상태 점검 메시지를 전송하는 단계;Transmitting a node status check message to all interworking nodes previously stored by the SIP proxy server every predetermined period;
SIP 프록시 서버가 연동 노드로부터의 응답 메시지 수신여부에 따라 기 저장된 연동 노드 정보를 업데이트하는 단계;Updating the pre-stored interworking node information according to whether the SIP proxy server receives the response message from the interworking node;
SIP 프록시 서버가 라우팅 시, 노드 상태 점검 메시지에 대한 응답 메시지를 수신하지 않은 연동 노드를 비정상 상태로 판단하여 호 분배 대상에서 제외하고, 제외된 연동 노드와 동일한 기능을 보유한 다른 연동 노드로 라우팅을 수행하는 단 계;를 포함한다.When the SIP proxy server is routing, the interworking node that has not received the response message to the node status check message is determined as abnormal and excluded from the call distribution target, and the routing is performed to the other interworking node having the same function as the excluded interworking node And a second step.
상술한 바와 같이 본 발명의 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리 방법과 이를 위한 시스템은 SIP 네트워크에서 SIP Proxy가 DNS 서버를 별도로 연동하지 않고 SIP Proxy에서 모든 연동 노드들의 정보를 저장 및 관리하여 다음 홉(Next hop)을 결정하는 데 활용하기 때문에, DNS 서버를 증설하고 유지보수 하는 비용을 절약하고 하나의 시스템에서 더 많은 사용자에게 빠르고 안정적인 서비스를 제공할 수 있다는 효과를 기대할 수 있다.As described above, in the SIP system according to the present invention, the routing process method and the system for the same according to the local policy store and manage information of all the interworking nodes in the SIP proxy without the SIP proxy interlocking the DNS server separately, (Next hop), it can save the cost of adding and maintaining DNS servers, and can provide fast and reliable services to more users in one system.
또한, 본 발명은 DNS 서버 대신 SIP Proxy에서 자체 데이터베이스 상에서 연동 노드 정보를 관리하기 때문에, 부하 분산, 신뢰할 수 없는 노드에서의 메시지 수신 거부, 연동 노드들의 상태 관리를 직접 수행할 수 있다는 장점이 있다.In addition, since the SIP Proxy manages the interworking node information in its own database instead of the DNS server, the present invention is advantageous in that load balancing, denial of message reception at unreliable nodes, and state management of interworking nodes can be performed directly.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 보다 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
먼저, 도 1은 본 발명에 의한 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리를 위한 시스템의 구성을 나타내는 도면으로서, 데이터베이스 스키마의 일 예를 나타내는 도 2를 참조하여 설명하기로 한다.First, FIG. 1 is a diagram showing a configuration of a system for routing processing by a local policy in the SIP system according to the present invention, and will be described with reference to FIG. 2 showing an example of a database schema.
먼저, 본 발명에서 개시하는 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리를 위한 시스템은 SIP(Session Initiation Protocol, 접속 설정 프로토콜) 서버(100), SIP 어플리케이션 서버(200)(도 1의 SIP AS)를 포함한다.First, the system for routing processing by the local policy in the SIP system disclosed in the present invention includes a Session Initiation Protocol (SIP) server 100 and a SIP application server 200 (SIP AS in FIG. 1) do.
SIP 프록시 서버(100)는 자신과 연동하는 노드의 정보를 저장 및 관리하며, SIP 메시지를 수신하고, 복수의 SIP 어플리케이션 서버(200)와 연동하거나, 다음 SIP 프록시 서버(300)(도 1의 Next SIP Proxy)로 메시지를 전송한다.The SIP proxy server 100 stores and manages information of a node associated with the SIP proxy server 100, receives SIP messages, interworks with a plurality of
보다 상세히 설명하면, SIP 프록시 서버(100)는 SIP 프록시 서버와 연동하는 노드의 정보를 저장 및 관리하는 데이터베이스(110)와 SIP 메시지를 수신하고, SIP 어플리케이션 서버와 연동하거나, 또는 데이터베이스에 저장된 연동 노드의 정보를 이용하여 다음 SIP 프록시 서버로 메시지를 전송하는 SIP 시그널링부(130) 를 포함한다.In more detail, the SIP proxy server 100 includes a
데이터베이스(130)에 저장되는 연동 노드의 정보는 도 2에서 도시하는 바와 같이, 아이피(IP), URL 주소, 포트(port), 전송프로토콜, 도메인, 서버상태, 호스트 정보, 신뢰유무, 홈 네트워크 유무, 상태 체크 유무, 서버의 종류, 서버명을 포함한다.As shown in FIG. 2, the information of the interworking node stored in the
만약, 도 2에서 도시하는 정보 이외에 추가로 요구되는 정보가 있거나 삭제가 요구되는 정보가 있다며, attribute 항목을 추가 또는 삭제한다.If there is information that is required in addition to the information shown in FIG. 2 or that there is information that is requested to be deleted, an attribute item is added or deleted.
한편, SIP 시그널링부(130)는 SIP 메시지를 수신하면, 수신한 SIP 메시지에 대한 소스(source) 정보가 데이터베이스(130)에 기 저장된 정보에 존재하는지 여부를 확인하고, 확인 결과, 소스 정보가 존재하는 않는 경우, 해당 SIP 메시지를 거부한다.On the other hand, when receiving the SIP message, the
SIP 어플리케이션 서버(200)가 복수 개인 경우, SIP 시그널링부(130)는 데이터베이스(110)로부터 복수의 호 분배 방법 중 Round-Robin 방법을 수신한 경우, 동 일한 기능을 보유하고 있는 복수의 SIP 어플리케이션 서버로 Round-Robin 방식으로 호를 분산한다.When there are a plurality of
또한, SIP 어플리케이션 서버(200)가 복수 개인 경우, SIP 시그널링부(130)는 데이터베이스(110)로부터 복수의 호 분배 방법 중 비율 분배 방법을 수신한 경우, 동일한 기능을 보유하고 있고, 호 수용 용량이 다른 복수의 SIP 어플리케이션 서버로 각 서버의 성능에 따라서 기 설정된 비율로 호를 분산한다.When the
SIP 시그널링부(130)는 데이터베이스(110)에 저장된 모든 연동 노드로 기 설정된 주기마다 노드 상태 점검 메시지를 전송하고, 연동 노드로부터의 응답 메시지 수신여부에 따라 데이터베이스의 연동 노드 정보를 업데이트한다.The
이에 더하여, SIP 시그널링부(130)는 노드 상태 점검 메시지에 대한 응답 메시지를 수신하지 않은 해당 연동 노드를 비정상 상태라고 판단하고, 해당 연동 노드를 제외한 해당 연동 노드와 동일한 기능을 수행하는 다른 연동 노드로 라우팅을 수행한다.In addition, the
SIP 어플리케이션 서버(200)는 사용자의 서비스 프로파일에 따라서 연동되는 구성이다.The
도 3은 본 발명에 의한 라우팅 방법의 일 예를 설명하기 위한 흐름도로서, 호 분배 방법을 설명하기 위한 도 4 및 도 5를 참조하여 설명하기로 한다.FIG. 3 is a flow chart for explaining an example of a routing method according to the present invention, and will be described with reference to FIGS. 4 and 5 for explaining a call distribution method.
먼저, 도시하지 않았지만, SIP 프록시 서버(100)는 자신과 연동하는 노드의 정보를 저장 및 관리한다.First, although not shown, the SIP proxy server 100 stores and manages information of a node linked to itself.
이어서, SIP 프록시 서버(100)는 SIP 메시지를 수신하면(S101)(도 3의 SIP Request), 기 저장된 연동 노드의 정보를 이용하여 SIP 어플리케이션 서버와 연동한다(S103 ~ S107).Then, when the SIP proxy server 100 receives the SIP message (S101) (SIP Request in FIG. 3), the SIP proxy server 100 interacts with the SIP application server using the pre-stored interworking node information (S103 to S107).
여기에서, SIP 프록시 서버(100)는 SIP 메시지를 수신하면, 기 저장된 정보로부터 수신한 SIP 메시지와 관련된 SIP 어플리케이션 서버의 정보(예를 들어, SIP 어플리케이션 서버의 IP, URL 주소, 포트, 전송 프로토콜 등 Request 송신에 요구되는 정보)를 검색 및 추출하고, 이를 이용하여 연동을 수행한다. Here, when the SIP proxy server 100 receives the SIP message, the SIP proxy server 100 transmits information of the SIP application server related to the SIP message received from the previously stored information (for example, IP, URL address, port, Request information), and performs interworking using the extracted information.
이때, SIP 프록시 서버(100)는 SIP 어플리케이션 서버로 요청 메시지를 전송하고, 이에 대한 응답을 수신한다.At this time, the SIP proxy server 100 transmits a request message to the SIP application server and receives a response thereto.
SIP 프록시 서버(100)는 SIP 메시지를 수신하면, 기 저장된 연동 노드의 정보를 이용하여 다음 SIP 프록시 서버(Next hop)로 메시지를 전송한다(S109 ~111).Upon receiving the SIP message, the SIP proxy server 100 transmits the message to the next SIP proxy server (Next hop) using the pre-stored interworking node information (S109 to 111).
여기에서, SIP 프록시 서버(100)는 SIP 메시지를 수신하면, 기 저장된 정보로부터 수신한 SIP 메시지와 관련된 다음 SIP 프록시 서버(도 3의 Next SIP 프록시 서버)의 정보(아이피, 주소, 포트, 전송 프로토콜 등 Request 송신에 요구되는 정보)를 검색 및 추출하고, 이를 이용하여 다음 SIP 프록시 서버로 메시지를 전송한다.Here, when the SIP proxy server 100 receives the SIP message, the information of the next SIP proxy server (Next SIP proxy server in FIG. 3) related to the SIP message received from the previously stored information (IP address, And the like), and transmits the message to the next SIP proxy server using the retrieved and extracted information.
한편, 도시하지 않았지만, SIP 프록시 서버(100)는 단계 S101에서 수신한 SIP 메시지에 대응되는 노드의 정보가 데이터베이스에 저장되어 있지 않거나, 해당 노드가 신뢰할 수 없는 노드일 경우 에러 메시지(Error Response(예를 들어, 403 Forbidden))를 전송하여 메시지를 거부하는 것이 가능하다.Although not shown in the figure, the SIP proxy server 100 may transmit an error message (e.g., an error message) to the SIP proxy server 100 if the information of the node corresponding to the SIP message received in step S101 is not stored in the database, For example, 403 Forbidden) to reject the message.
다른 한편, 단계 S105에서, SIP 프록시 서버(100)는 도 4에서 도시하는 바와 같이, 복수의 호 분배 방법 중에서 Round-Robin 방식으로 동일한 기능을 보유하고 있는 SIP 어플리케이션 서버로 호를 분산하는 것이 가능하다.On the other hand, in step S105, as shown in Fig. 4, the SIP proxy server 100 can distribute the call to the SIP application server having the same function in Round-Robin manner among a plurality of call distribution methods .
예를 들어, SIP 프록시 서버(100)는 데이터베이스(110)로부터 호 분배 방법을 Round-Robin 방식에 해당하는 정보를 검색 및 추출한 후, 이를 기초로 호를 분산한다.For example, the SIP proxy server 100 retrieves and extracts information corresponding to the Round-Robin scheme from the
또한, 단계 S111에서, SIP 프록시 서버(100)는 도 5에서 도시하는 바와 같이, 복수의 호 분배 방법 중에서 비율 분배 방식으로 동일한 기능을 보유하고 있고, 호 수용 용량이 다른 SIP 어플리케이션 서버로 각 서버의 성능을 고려하여 기 설정된 비율로 호를 분산하는 것이 가능하다.5, the SIP proxy server 100 has the same function as the rate distribution method among a plurality of call distribution methods, and the SIP proxy server 100 has a call acceptance capacity that is different from that of each server It is possible to distribute the call at a predetermined ratio considering the performance.
도 6은 본 발명에 의한 라우팅 방법의 다른 예를 설명하기 위한 흐름도로서, 호 분배 방법을 설명하기 위한 도 7을 참조하여 설명하기로 한다.FIG. 6 is a flowchart for explaining another example of the routing method according to the present invention, and will be described with reference to FIG. 7 for explaining a call distribution method.
먼저, SIP 프록시 서버(100)는 기 저장된 모든 연동 노드로 기 설정된 주기마다 노드 상태 점검 메시지를 전송한다(S201, S203).First, the SIP proxy server 100 transmits a node status check message to all pre-stored interworking nodes at predetermined intervals (S201, S203).
여기에서, SIP 프록시 서버(100)는 데이터베이스(110)에 저장되어 관리되는 모든 연동 노드의 정보를 검색 및 추출하고, 추출된 연동 노드(예를 들어, SIP 어플리케이션 서버, 다른 SIP 프록시 서버)로 노드 상태 점검 메시지(도 6의 SIP Request(OPTIONS, Max-Forwards=1))를 전송한다.Here, the SIP proxy server 100 retrieves and extracts information of all the managed nodes stored and managed in the
이어서, SIP 프록시 서버(100)는 연동 노드로부터의 응답 메시지 수신여부에 따라 기 저장된 연동 노드 정보를 업데이트한다(S205, S207).Then, the SIP proxy server 100 updates pre-stored interworking node information according to whether a response message is received from the interworking node (S205, S207).
도시하는 하는 바와 같이, SIP 프록시 서버(100)는 노드 상태 점검 메시지를 전송한 이후에 특정 연동 노드(예를 들어, 도 6의 단계 S205 SIP 어플리케이션 서버로부터의 Response)로부터 응답을 수신하거나, 또는 수신하지 못하는 경우(도 6의 다른 SIP 프록시 서버의 No Response), 이를 기초로 연동 노드의 상태를 파악하여 데이터베이스의 정보를 업데이트한다.As shown, the SIP proxy server 100 may receive a response from a particular interworking node (e.g., Response from the SIP Application Server at step S205 of Figure 6) after sending the node status check message, (No Response of another SIP proxy server in Fig. 6), the state of the interworking node is grasped based on this and the information of the database is updated.
예를 들어, SIP 프록시 서버(100)는 노드 상태 점검 메시지에 대한 응답(예를 들어, 200 Response)을 수신한 연동 노드에 대해서는 정상이라고 파악하고, 응답을 수신하지 못한 상태로 기 설정된 시간이 초과한 연동 노드에 대해서는 비정상이라고 파악한다.For example, the SIP proxy server 100 determines that the interworking node that received the response to the node status check message (for example, 200 Response) is normal, and if the response time has not been received, It is considered abnormal for one interworking node.
도시하지 않았지만, 이후 SIP 프록시 서버(100)는 라우팅 시, 노드 상태 점검 메시지에 대한 응답 메시지를 수신하지 않은 연동 노드를 비정상 상태로 판단하여 호 분배 대상에서 제외하고, 제외된 연동 노드와 동일한 기능을 보유한 다른 연동 노드로 라우팅을 수행한다.Although not shown, the SIP proxy server 100 then determines that the interworking node that has not received the response message to the node status check message is abnormal and excludes it from the call distribution object at the time of routing, and performs the same function as the excluded interworking node And performs routing to other interworking nodes.
예를 들어, 도 7의 SIP 어플리케이션 서버3(SIP AS 3)가 비정상 상태인 경우, SIP 프록시 서버(100)는 호를 분배할 때, SIP 어플리케이션 서버3을 제외한 SIP 어플리케이션 서버1(SIP AS 1) 및 SIP 어플리케이션 서버2(SIP AS 2)로 라우팅을 수행한다.For example, when the SIP application server 3 (SIP AS 3) in FIG. 7 is in an abnormal state, when the SIP proxy server 100 distributes the call, the SIP application server 1 (SIP AS 1) And the SIP application server 2 (SIP AS 2).
이와 같이, 본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Thus, those skilled in the art will appreciate that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the embodiments described above are to be considered in all respects only as illustrative and not restrictive. The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.
이상과 같이, 본 발명의 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리 방법과 이를 위한 시스템은 SIP 네트워크에서 SIP Proxy가 DNS 서버를 별도로 연동하지 않고 SIP Proxy에서 모든 연동 노드들의 정보를 저장 및 관리하여 다음 홉(Next hop)을 결정하는 데 활용하기 때문에, DNS 서버를 증설하고 유지보수 하는 비용을 절약하고 하나의 시스템에서 더 많은 사용자에게 빠르고 안정적인 서비스를 제공할 필요성이 높은 것에 적합하다.As described above, in the SIP system according to the present invention, the routing method and the system for the same according to the local policy store and manage the information of all the interworking nodes in the SIP proxy without the SIP proxy interlocking the DNS server separately, (Next hop), it is suitable for the need to save the cost of adding and maintaining DNS servers and to provide fast and reliable service to more users in one system.
또한, 본 발명은 DNS 서버 대신 SIP Proxy에서 자체 데이터베이스 상에서 연동 노드 정보를 관리하기 때문에, 부하 분산, 신뢰할 수 없는 노드에서의 메시지 수신 거부, 연동 노드들의 상태 관리를 직접 수행할 필요성이 높은 것에 적합하다.Also, since the SIP proxy manages the interworking node information in its own database instead of the DNS server, the present invention is suitable for carrying out load balancing, denying message reception at an unreliable node, and managing state of interworking nodes directly .
도 1은 본 발명에 의한 SIP 시스템에서 로컬 폴리시에 의한 라우팅 처리를 위한 시스템의 구성을 나타내는 도면, 1 is a diagram showing a configuration of a system for routing processing by a local policy in a SIP system according to the present invention;
도 2는 본 발명에 의한 데이터베이스 스키마의 일 예를 나타내는 도면,2 is a diagram showing an example of a database schema according to the present invention;
도 3은 본 발명에 의한 라우팅 방법의 일 예를 설명하기 위한 흐름도,3 is a flowchart for explaining an example of a routing method according to the present invention;
도 4는 본 발명에 의한 호 분배 방법의 일 예를 설명하기 위한 도면,4 is a view for explaining an example of a call distribution method according to the present invention;
도 5는 본 발명에 의한 호 분배 방법의 다른 예를 설명하기 위한 도면,5 is a view for explaining another example of a call distribution method according to the present invention,
도 6은 본 발명에 의한 라우팅 방법의 다른 예를 설명하기 위한 흐름도,6 is a flowchart for explaining another example of the routing method according to the present invention.
도 7은 본 발명에 의한 호 분배 방법의 또 다른 예를 설명하기 위한 도면이다.7 is a view for explaining another example of a call distribution method according to the present invention.
<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art
100, 300 : SIP 프록시 서버 110 : 데이터베이스100, 300: SIP proxy server 110: Database
130 : SIP 시그널링부 200 : SIP 어플리케이션 서버130: SIP signaling unit 200: SIP application server
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090084452A KR101604118B1 (en) | 2009-09-08 | 2009-09-08 | Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090084452A KR101604118B1 (en) | 2009-09-08 | 2009-09-08 | Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110026692A KR20110026692A (en) | 2011-03-16 |
KR101604118B1 true KR101604118B1 (en) | 2016-03-16 |
Family
ID=43933627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090084452A KR101604118B1 (en) | 2009-09-08 | 2009-09-08 | Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101604118B1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007201563A (en) * | 2006-01-23 | 2007-08-09 | Toshiba Corp | Proxy server, control method of proxy server, and control program for proxy server |
-
2009
- 2009-09-08 KR KR1020090084452A patent/KR101604118B1/en active IP Right Grant
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007201563A (en) * | 2006-01-23 | 2007-08-09 | Toshiba Corp | Proxy server, control method of proxy server, and control program for proxy server |
Also Published As
Publication number | Publication date |
---|---|
KR20110026692A (en) | 2011-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10374955B2 (en) | Managing network computing components utilizing request routing | |
EP2756655B1 (en) | Systems and methods for optimization of subscriptions to resource changes in machine-to-machine (m2m) systems | |
US20100042725A1 (en) | Contents provider participation type contents delivery system and method, and contents delivery network domain name system server thereof | |
US9749404B2 (en) | Method and system for load balancing over a cluster of authentication, authorization and accounting (AAA) servers | |
US20060036747A1 (en) | System and method for resource handling of SIP messaging | |
JP5415085B2 (en) | Intelligent selection of media gateways to use for multimedia communication sessions | |
US7965699B1 (en) | Routing/switching on a heterogeneous network | |
US8942115B2 (en) | System and method for dynamic routing for push notifications | |
US20140257891A1 (en) | Request routing utilizing cost information | |
US20030131061A1 (en) | Transparent proxy server for instant messaging system and methods | |
EP2716010B1 (en) | System and method for two way push notifications | |
CN101156409A (en) | A method and apparatus for distributing load on application servers | |
Rak et al. | Information-driven network resilience: Research challenges and perspectives | |
US8369323B1 (en) | Managing voice-based data communications within a clustered network environment | |
CN110495155B (en) | Method for recommending a communication stack | |
US20120166621A1 (en) | Sharing the Status of S-CSCF Nodes Across I-CSCF Nodes in a Communications Network | |
KR101375983B1 (en) | Ims architecture using a distributed hash table | |
US9667519B2 (en) | Method, device, and system for acquiring cost between nodes | |
CN101090398B (en) | Detection of loops within a sip signalling proxy | |
US20130117308A1 (en) | Apparatus, Method and System for Node Discovering | |
CN102868617A (en) | P2P (peer-to-peer) network routing method and system | |
EP2081347B1 (en) | A method and system for negotiating the session description protocol version | |
US20140115177A1 (en) | Method for Establishing Management Session, Customer Premises Equipment, and Auto-Configuration Server | |
KR101604118B1 (en) | Method for Mechanism Session Initiation Protocol Routing based on Local Policy in Session Initiation Protocol System, and System therefor | |
JP2009302633A (en) | Communication system, session control server, communication method, and program |
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: 20191216 Year of fee payment: 5 |