KR100451796B1 - Control apparatus of call processing caching for traffic control - Google Patents

Control apparatus of call processing caching for traffic control Download PDF

Info

Publication number
KR100451796B1
KR100451796B1 KR10-2002-0058568A KR20020058568A KR100451796B1 KR 100451796 B1 KR100451796 B1 KR 100451796B1 KR 20020058568 A KR20020058568 A KR 20020058568A KR 100451796 B1 KR100451796 B1 KR 100451796B1
Authority
KR
South Korea
Prior art keywords
address
packet
call processing
traffic control
traffic
Prior art date
Application number
KR10-2002-0058568A
Other languages
Korean (ko)
Other versions
KR20040026930A (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 KR10-2002-0058568A priority Critical patent/KR100451796B1/en
Publication of KR20040026930A publication Critical patent/KR20040026930A/en
Application granted granted Critical
Publication of KR100451796B1 publication Critical patent/KR100451796B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 VoIP 게이트웨이에 있어서, 특히 호 처리 대상이 되는 패킷을 검사하고 캐쉬를 검색하여, 새로운 대상의 IP 어드레스를 발견시 사용자 계층으로 이를 넘겨 트래픽 제어기에 등록하도록 함으로써, 호 처리용 패킷의 분실을 방지할 수 있도록 한 것이다.In the VoIP gateway, in particular, by inspecting the packet that is the target of the call processing, search the cache, when the IP address of the new destination is found, it is transferred to the user layer and registered in the traffic controller, thereby preventing the loss of the call processing packet It is to prevent.

본 발명에 따른 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치는, 패킷을 송수신하는 이더넷 인터페이스와; 수신되는 패킷 중에서 호 처리 대상이 되는 패킷을 검사하여 데이터 베이스를 검색하여 IP 어드레스를 등록 또는 삭제하는 다이나믹 필터링부, 새로운 IP 어드레스 발견시 사용자 계층으로 전달하는 디바이스 드라이버, 다이나믹 필터링부로부터 전달받은 패킷을 포워딩하는 브리징부, 상기 포워딩된 패킷을 일시 저장하여 트래픽 제어 수순에 따라 이더넷 인터페이스로 전달하기 위한 큐잉부로 구성된 커널; 상기 디바이스 드라이버를 폴링하여 새로운 IP 어드레스를 사용자 계층의 트래픽 제어기에 등록하는 트래픽 제어 인터럽트 플레그와, 상기 새로운 IP 어드레스를 커널 내부의 패킷 스케쥴러를 통해서 IP 필터링 리스트에 등록 및 삭제를 요청하는 트래픽 제어기를 포함하는 사용자 계층으로 구성된 것을 특징으로 한다.An apparatus for controlling call processing caching for traffic control according to the present invention includes: an Ethernet interface for transmitting and receiving a packet; Dynamic filtering unit that checks the packet that is the call processing target among the received packets and searches the database to register or delete the IP address, device driver that delivers to the user layer when a new IP address is found, and packets received from the dynamic filtering unit. A kernel comprising a bridging unit for forwarding and a queuing unit for temporarily storing the forwarded packet and delivering the forwarded packet to an Ethernet interface according to a traffic control procedure; A traffic control interrupt flag for polling the device driver to register a new IP address to a traffic controller of a user layer, and a traffic controller requesting registration and deletion of the new IP address into an IP filtering list through a packet scheduler inside a kernel; It is characterized by consisting of a user hierarchy.

Description

트래픽 제어를 위한 호 프로세싱 캐싱 제어장치{Control apparatus of call processing caching for traffic control}Control apparatus of call processing caching for traffic control

본 발명은 VoIP 게이트웨이의 트래픽 제어에 있어서, 특히 DHCP(DynamicHost Configuration Protocol) 서버 환경에서 과도한 트래픽 상황에서도 트래픽 제어를 수행할 수 있도록 한 캐싱 제어장치에 관한 것이다.The present invention relates to a caching control apparatus that enables traffic control in a traffic condition of a VoIP gateway, particularly in an excessive traffic situation in a Dynamic Host Configuration Protocol (DHCP) server environment.

일반적으로, 인터네트워킹 장치는 분산, 독립된 근거리통신망(LAN)간의 접속 또는 LAN 과 다른 통신망간의 접속같은 네트워크간을 상호 접속함으로써 네트워크를 광역화시키는 장치로서, 브리지(Bridge)나 라우터(Router) 등이 있다.In general, an internetworking device is a device that widens a network by interconnecting networks, such as a distributed, independent local area network (LAN) connection, or a connection between a LAN and another communication network, such as a bridge or a router. .

VoIP(Voice over Internet Protocol)이란 인터넷을 통하여 음성 또는 데이터를 주고받는 기술로서 네트워크 상에서 음성 데이터를 IP 데이터 패킷으로 변환하여 공중 전화망에서의 전화통화와 같이 음성 통화를 가능케 해 주는 기술이다.Voice over Internet Protocol (VoIP) is a technology that exchanges voice or data over the Internet and converts voice data into IP data packets on a network to enable voice calls such as telephone calls on public telephone networks.

그리고, 네트워크 관리자들이 조직 내 네트워크 상에서 IP어드레스를 중앙에서 관리하고 할당해줄 수 있도록 해주는 프로토콜이 DHCP(Dynamic Host Configuration Protocol)이다. 이러한 DHCP는 네트워크 관리자가 중앙에서 IP 어드레스를 관리하고 할당하며, 컴퓨터가 네트워크의 다른 장소에 접속되었을 때 자동으로 새로운 IP 어드레스를 보내줄 수 있게 해준다. DHCP는 주어진 IP 어드레스가 일정한 시간동안만 그 컴퓨터에 유효하도록 하는 "임대" 개념을 사용한다. 임대시간은 사용자가 특정한 장소에서 얼마나 오랫동안 인터넷 접속이 필요할 것인지에 따라 달라질 수 있다.DHCP is the Dynamic Host Configuration Protocol (DHCP) that allows network administrators to centrally manage and assign IP addresses on their networks. This DHCP allows the network administrator to centrally manage and assign IP addresses and automatically send new IP addresses when the computer is connected to another location on the network. DHCP uses the concept of "lease", which allows a given IP address to be valid for that computer for a certain amount of time. The lease time may vary depending on how long the user will need to access the Internet at a particular location.

상기의 DHCP 서버는 네트웍에 참여하는 컴퓨터가 IP 어드레스를 요청할 때 이에 응답하여 네트웍에 참여하는 동안에만 임시적으로 IP 어드레스를 할당해 주는 시스템이다.The DHCP server is a system that temporarily assigns an IP address only while participating in the network in response to a request from the computer participating in the network.

도 1은 종래 트래픽 제어를 위한 호 프로세싱 캐싱 구현 장치를 나타낸 구성도이다.1 is a block diagram showing an apparatus for implementing call processing caching for conventional traffic control.

도 1을 참조하면, 패킷을 송수신하기 위한 이더넷 인터페이스(Ethernet Interface)(110)와, 세션·접속의 확립 해제, 데이터 전송 등에 필요한 프로토콜 요소의 집합을 위한 커널(120)과, 상기 커널(120)에 사용자 구성 정보를 변경하고, 트래픽 제어를 수행하기 위한 사용자 계층(130)으로 구성된다.Referring to FIG. 1, an Ethernet interface 110 for transmitting and receiving a packet, a kernel 120 for a set of protocol elements necessary for establishing a session / connection, data transmission, and the like, and the kernel 120 The user layer 130 is configured to change user configuration information and perform traffic control.

상기 커널(120)에는 TCP 패킷 중에서 호 처리용 프로토콜 여부를 판별하는 프로토콜 디코더(122), 다른 인터페이스로 포워딩하는 브리징부(122), 도착한 패킷들이 출력해야 할 인터페이스로 전달되는 도중에 임시로 저장하여 서비스 비율을 조정하는 필터를 갖는 큐잉부(130)로 구성된다.The kernel 120 temporarily stores a protocol decoder 122 for determining whether a protocol for call processing among TCP packets, a bridging unit 122 for forwarding to another interface, and temporarily arrives to the interface to output packets. And a queuing unit 130 having a filter for adjusting the ratio.

그리고, 커널 내부에는 패킷의 전달 순서를 결정하는 수신 및 송신 인터럽트 핸들러(121,127)와, 사용자 계층에서 변경한 구성 정보를 저장하는 구성 정보 저장부(125) 및 트래픽 제어기(tc)(132)의 흐름 제어에 따라 해당 명령을 수행하기 위한 스케쥴러(pktsched)(126)를 포함하는 구성이다.In the kernel, flows of the reception and transmission interrupt handlers 121 and 127 for determining the packet delivery order, the configuration information storage unit 125 and the traffic controller tc 132 that store the configuration information changed by the user layer. The configuration includes a scheduler (pktsched) 126 for performing a corresponding command under control.

상기와 같은 종래 트래픽 제어를 위한 호 프로세싱 캐싱 제어 장치에 대하여 첨부된 도 1을 참조하여 설명하면 다음과 같다.The call processing caching control apparatus for conventional traffic control as described above will be described with reference to FIG. 1.

VoIP 게이트웨이(Gateway)에서 서비스 요청시에, VoIP 게이트웨이로 도착한 패킷은 이더넷 인터페이스(110)를 통해서 커널(120)로 전달된다.When a service request is made at the VoIP gateway, packets arriving at the VoIP gateway are delivered to the kernel 120 through the Ethernet interface 110.

커널(120)는 수신 인터럽트 핸들러(121)에서 수신하여 통화 시도시에 이에 해당하는 메시지 흐름을 모두 분석하여, 호 연결이 되면 이에 해당하는 IP 어드레스를 필터(124a)에 등록하고 통화가 종료되면 해당 IP 어드레스를 필터에서 제거하게 된다.The kernel 120 analyzes all message flows corresponding to a call attempt received by the reception interrupt handler 121, and registers the corresponding IP address in the filter 124a when a call is connected, and the corresponding IP when the call is terminated. The address is removed from the filter.

이를 위해 커널(120)에는 프로토콜 디코더(Protocol Decoder)(122), 브리징부(Bridging)(123), 큐잉부(Queuing)(124)로 구성되며, 프로토콜 디코더(122)는 도착한 패킷이 어떤 호 처리용 프로토콜인지를 해석하기 위하여, TCP 패킷 중에서 원하는 호 처리용 프로토콜인지를 판별하는 역할을 수행한다.To this end, the kernel 120 includes a protocol decoder 122, a bridging unit 123, and a queuing unit 124, and the protocol decoder 122 processes any call that arrives. In order to interpret whether the protocol is a protocol for determining whether it is a protocol for processing a desired call among TCP packets.

브리징부(123)는 OSI 모델에서 데이터 링크 계층에 해당하는 부분에서 상위의 IP 등의 계층과 관계없이 한쪽 인터페이스에서 다른쪽 인터페이스로 패킷을 전달하는 역할을 수행한다.The bridging unit 123 transmits a packet from one interface to the other interface regardless of the upper IP layer in the portion corresponding to the data link layer in the OSI model.

큐잉부(124)는 도착한 패킷들이 출력해야할 인터페이스로 전달하는 도중에 임시로 저장함으로써, 서비스 비율을 조절하는 역할을 수행한다.The queuing unit 124 temporarily adjusts the service rate by temporarily storing the arriving packets during the transfer to the interface to be output.

그러므로, 커널(120)에 도착한 패킷은 수신 인터럽트 핸들러(121)에 의해 프로토콜 디코더(122)로 전달되며, 호 연결시에 프로토콜 디코더(122)는 모든 호 처리 패킷에 대한 분석을 수행한 후, 등록된 IP(Registered IP)인가를 확인하고, 등록된 IP이면 큐잉부(124)의 필터(124a)의 IP 필터링 리스트(filtering list)에 등록한다.Therefore, the packet arriving at the kernel 120 is delivered to the protocol decoder 122 by the reception interrupt handler 121, and when the call is connected, the protocol decoder 122 performs analysis on all call processing packets, and then registers them. It is checked whether the registered IP is a registered IP, and if it is a registered IP, it is registered in the IP filtering list of the filter 124a of the queuing unit 124.

이로써, 필터(124a)(filter)에서는 송신자/수신자 IP 어드레스를 필터링하여 특정 송신원 어드레스나 발신지 어드레스 등을 가진 패킷의 통과를 제한하게 된다.As a result, the filter 124a filters the sender / recipient IP address to restrict the passage of packets having a specific source address, source address, or the like.

또한 통화가 끝나면 해당 IP 어드레스를 큐잉부(124)의 필터에서 제거하게 된다.In addition, when the call ends, the corresponding IP address is removed from the filter of the queuing unit 124.

커널(120)에 도착한 패킷은 프로토콜 디코더(122)에서 리눅스 네트워크 처리루틴(netif_rx, net_rx_action)에 따라 처리한 후 브리징부(123)에서 다른쪽 인터페이스로 포워딩하고, 다시 리눅스 네트워크 처리 루틴(dev_queue_xmit)에 따라 큐잉부(124)에 전달된다. 큐잉부(124)에서는 트래픽 상태에 따라 큐잉 과정을 거친 후 전송 핸들러(Xmit Handler)(127)에 전달된다. 전송 핸들러(127)는 커널(120)로부터 전달받은 패킷을 이더넷 인터페이스(110)를 통해서 해당 IP로 전송하게 된다.The packet arriving at the kernel 120 is processed by the protocol decoder 122 according to the Linux network processing routines (netif_rx, net_rx_action), and then forwarded to the other interface by the bridging unit 123, and then to the Linux network processing routine (dev_queue_xmit). Along with the queuing unit 124. The queuing unit 124 passes through the queuing process according to the traffic state and is delivered to the Xmit Handler 127. The transmission handler 127 transmits the packet received from the kernel 120 to the corresponding IP through the Ethernet interface 110.

또한, 사용자 계층(User layer)(130)에서 구성 정보를 변경하거너 다이나믹 필터부(122)에서 변경된 구성 정보를 커널(122)의 구성정보 저장부(axvq_global_config)(125)에 보관하고, 사용자 계층(130)의 트래픽 제어기(tc)(132)의 트래픽 제어 메시지에 따라 패킷 스케쥴러(pktsched)(126)는 큐잉부(124)의 필터를 제어하여 트래픽을 제어하게 된다.In addition, the configuration information is changed in the user layer 130 or the configuration information changed in the dynamic filter unit 122 is stored in the configuration information storage unit (axvq_global_config) 125 of the kernel 122 and the user layer is stored. According to the traffic control message of the traffic controller (tc) 132 (130), the packet scheduler (pktsched) 126 controls the filter of the queuing unit 124 to control the traffic.

이와 같이, VoIP 게이트웨이에서의 통화 시도시에 이에 해당하는 메시지 흐름을 모두 분석하여, 호 연결이 되면 이에 해당하는 IP 어드레스를 필터에 등록한다. 통화가 끝나면 해당 IP 어드레스를 제거하게 된다.As such, when the call is attempted at the VoIP gateway, all the corresponding message flows are analyzed, and when the call is connected, the corresponding IP address is registered in the filter. After the call, the IP address is removed.

그러나, 종래에는 모든 호 처리 패킷에 대한 분석을 진행해야 하기 때문에 프로세스의 성능이 저하되고, 또한 호 처리가 끝난 후 트래픽이 과다한 상황이 발생하면 호 처리용 패킷이 상실될 수 있으므로 필터링 자체를 처리할 수 없는 문제가 있다.However, conventionally, since all the call processing packets need to be analyzed, the performance of the process may be degraded. Also, if excessive traffic occurs after the call processing, the packet for call processing may be lost. There is no problem.

본 발명은 랜 인터페이스로부터 전달받은 패킷 중에서 호 처리 대상이 되는 패킷을 검사하고, 실제 캐쉬를 검색하여, 새로운 대상의 IP 어드레스를 발견시 사용자 계층으로 이를 넘기고, 사용자 계층의 디바이스 드라이버로부터 폴링하여 사용자 계층의 트래픽 제어기에 새로운 IP 어드레스를 등록할 수 있도록 한 트래픽 제어를 위한 호 처리 캐슁 제어장치를 제공함에 있다.The present invention examines a packet that is a call processing target among packets received from a LAN interface, searches for an actual cache, passes it to the user layer when a new target IP address is found, and polls from the device driver of the user layer. The present invention provides a call processing caching controller for traffic control that allows a new IP address to be registered in a traffic controller.

다른 특징은 이미 등록된 어드레스에 해당하는 패킷이 음성 처리를 위한 패킷인지를 검사하고, 음성 관련 패킷이면 도착 시간 정보를 갱신하고, 음성 관련 패킷에 대한 판단을 위하여 문지기로부터 전송하는 패킷에서 서버의 IP 어드레스, UDP 포트 넘버, 호 제어기의 IP 어드레스, TCP 포트 넘버를 기록할 수 있도록 한 트래픽 제어를 위한 호 처리 캐슁 제어장치를 제공함에 있다.Another feature is to check whether the packet corresponding to the address already registered is a packet for voice processing, if it is a voice-related packet, update the arrival time information, and in the packet transmitted from the gatekeeper to determine the voice-related packet, the IP of the server. The present invention provides a call processing caching controller for traffic control that allows recording of an address, a UDP port number, an IP address of a call controller, and a TCP port number.

또한 본 발명은 일정한 시간 동안 데이터베이스에 등록된 IP 어드레스로부터 음성 관련 패킷이 발생하지 않으면 이를 데이터베이스에서 제거하고 IP 필터링 리스트에서도 제거할 수 있도록 한 트래픽 제어를 위한 호 처리 캐슁 제어장치를 제공함에 있다.In addition, the present invention provides a call processing caching control apparatus for traffic control to remove the voice-related packet from the IP address registered in the database for a certain time to remove it from the database and also from the IP filtering list.

도 1은 종래 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치를 나타낸 구성도.1 is a block diagram showing a call processing caching control apparatus for conventional traffic control.

도 2는 본 발명 실시 예에 따른 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치를 나타낸 구성도.2 is a block diagram illustrating an apparatus for controlling call processing caching for traffic control according to an exemplary embodiment of the present invention.

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

210...이더넷 인터페이스 220...커널210 ... Ethernet Interface 220 ... Kernel

230...사용자 계층 221...수신 인터럽트 핸들러230 ... User Layer 221 ... Receive Interrupt Handler

222...다이나믹 필터링부 223...브리징부222 Dynamic Filtering Section 223 Bridging Section

224...큐잉부 225...구성정보 저장부224 Queuing unit 225 Configuration information storage unit

226...디바이스 드라이버 227...패킷 스케쥴러227 ... Device Driver 227 ... Packet Scheduler

228...송신 핸들러 232...트래픽제어인터럽트플레그Transmit handler 232 Traffic control interrupt flag

본 발명 실시 예에 따른 트래픽 제어를 위한 호 제어 프로세싱 캐싱 제어장치는,Call control processing caching control device for traffic control according to an embodiment of the present invention,

패킷을 송수신하는 이더넷 인터페이스와;An Ethernet interface for transmitting and receiving packets;

수신되는 패킷 중에서 호 처리 대상이 되는 패킷을 검사하여 데이터 베이스를 검색하고 IP 어드레스를 등록 또는 삭제하는 다이나믹 필터링부, 새로운 IP 어드레스 발견시 사용자 계층으로 전달하는 디바이스 드라이버, 다이나믹 필터링부로부터 전달받은 패킷을 포워딩하는 브리징부, 상기 포워딩된 패킷을 일시 저장하여트래픽 제어 수순에 따라 이더넷 인터페이스로 전달하기 위한 큐잉부로 구성된 커널;Dynamic filtering unit that scans the database for incoming call processing and registers or deletes the IP address, device driver delivering to the user layer when a new IP address is found, and packet received from the dynamic filtering unit. A kernel comprising a forwarding bridging unit and a queuing unit for temporarily storing the forwarded packet and delivering the forwarded packet to an Ethernet interface according to a traffic control procedure;

상기 디바이스 드라이버를 폴링하여 새로운 IP 어드레스를 사용자 계층의 트래픽 제어기에 등록하는 트래픽 제어 인터럽트 플레그와, 상기 새로운 IP 어드레스를 커널 내부의 패킷 스케쥴러를 통해서 IP 필터링 리스트에 등록 및 삭제를 요청하는 트래픽 제어기를 포함하는 사용자 계층으로 구성된 것을 특징으로 한다.A traffic control interrupt flag for polling the device driver to register a new IP address to a traffic controller of a user layer, and a traffic controller requesting registration and deletion of the new IP address into an IP filtering list through a packet scheduler inside a kernel; It is characterized by consisting of a user hierarchy.

바람직하게, 상기 다이나믹 필터링부는 모든 송신 패킷에 대하여 발신지 IP 어드레스를, 모든 수신 패킷에 대하여 목적지 IP 어드레스가 데이터 베이스에 저장되어 있는지를 검사한 후, 등록된 IP 어드레스에 대하여 해당 패킷이 음성 처리를 위한 패킷인지를 검사하는 것을 특징으로 한다.Preferably, the dynamic filtering unit checks a source IP address for all transmission packets, a destination IP address for all received packets, and stores the packet for voice processing on a registered IP address. It is characterized by checking whether the packet.

바람직하게, 상기 다이나믹 필터링부는 음성 관련 패킷을 판단하기 위하여 문지기로부터 전송하는 패킷에서 서버의 IP 어드레스, UDP 포트 넘버, 호 제어기의 IP 어드레스, TCP 포트 넘버를 데이터베이스에 기록하는 것을 특징으로 한다.Preferably, the dynamic filtering unit records the IP address of the server, the UDP port number, the IP address of the call controller, and the TCP port number in a database in a packet transmitted from a gatekeeper to determine a voice related packet.

바람직하게, 상기 다이나믹 필터링부는 상기 패킷의 발신지 IP 어드레스를 IP 필터링 리스트에 등록하는 것을 특징으로 한다.Preferably, the dynamic filtering unit registers the source IP address of the packet in an IP filtering list.

상기와 같은 본 발명에 따른 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치에 대하여 첨부된 도면을 참조하여 설명하면 다음과 같다.Referring to the accompanying drawings, a call processing caching control apparatus for controlling traffic according to the present invention as described above is as follows.

먼저, 이더넷 인터페이스(210)는 물리 계층으로서, 패킷을 수신하고 수신된 패킷을 목적지 어드레스로 전달해 준다. 커널(220)은 이더넷 인터페이스(210)로부터 수신된 패킷 중에서 호 처리 대상이 되는 패킷을 검사하고 실제 캐쉬를 검색하여 입력하게 된다.First, the Ethernet interface 210 is a physical layer that receives a packet and delivers the received packet to a destination address. The kernel 220 inspects a packet that is a call processing target among the packets received from the Ethernet interface 210 and searches and inputs an actual cache.

이를 위해서, 커널(220) 내부에는 수신 인터럽트 핸들러(Arriving Interrupt Handler)(221), 다이나믹 필터링부(Dynamic filtering)(222), 브리징부(223), 큐잉부(224), 그리고 사용자와 정보의 변경을 가능케하는 구성정보 저장부(axvq_global_config)(225), 디바이스 드라이버(Axvq_Tcintf Char driver)(226), 패킷 스케쥴러(pksched)(227), 송신 인터럽트 핸들러(Xmit Handler)(228)로 구성된다.To this end, inside the kernel 220, an Arriving Interrupt Handler 221, a dynamic filtering 222, a bridging 223, a queuing 224, and a user and information change. Configuration information storage (axvq_global_config) 225, a device driver (Axvq_Tcintf Char driver) 226, a packet scheduler (pksched) 227, and a transmit interrupt handler (Xmit Handler) 228.

커널 내부의 수신 인터럽트 핸들러(221)는 수신된 패킷의 전달 순서를 결정하여 다이나믹 필터링부(222)에 전달하며, 다이나믹 필터링부(222)는 수신 인터럽트 핸들러(221)로부터 전달받은 패킷의 IP가 등록된 패킷인지, 문지기(Doorman) 것인지를 검사하게 된다.The reception interrupt handler 221 in the kernel determines the delivery order of the received packets to the dynamic filtering unit 222, and the dynamic filtering unit 222 registers the IP of the packets received from the reception interrupt handler 221. It checks whether a packet is dropped or a doorman.

즉, 다이나믹 필터링부(222)는 모든 전송 패킷에 대하여 발신지 IP 어드레스(Source IP address)를 데이터베이스(DB)(222a)에 등록되어 있는지를 검사한다. 이미 등록된 어드레스(Registered IP)이면 해당 패킷이 음성 처리를 위한 패킷(voice packet)인지를 검사하여 음성 관련 패킷이면 도착 시간 정보(update time)를 갱신(update)한다. 이후, 상기 음성 관련 패킷을 정상적인 패킷 처리 절차로 기존과 같이 전달한다.That is, the dynamic filtering unit 222 checks whether the source IP address is registered in the database (DB) 222a for all the transport packets. If the address is already registered (Registered IP), it is checked whether the corresponding packet is a packet for voice processing, and if the packet is voice related, update time of arrival information is updated. Thereafter, the voice-related packet is transferred as before with the normal packet processing procedure.

그리고, 다이나믹 필터링부(222)는 수신 패킷이 새로운 IP(New IP)이면 목적지 IP 어드레스(Destination IP address) , UDP 포트 넘버(UDP Port Number)가 문지기(Doorman) 것인지를 검사하고 문지기 것이면 해당 패킷의 발신지 IP 어드레스, 문지기의 목적지 IP 어드레스, UDP 포트 넘버를 데이터 베이스(222a)로 삽입(Insert GW IP)하여 등록한다. 그리고 패킷의 발신지 IP 어드레스를 IP 필터링 리스트에 등록하게 된다. 이러한 패킷도 마찬가지로 기존과 같이 정상적인 처리 절차로 전달한다.If the received packet is a new IP, the dynamic filtering unit 222 checks whether a destination IP address and a UDP port number are a doorman. The source IP address, gatekeeper destination IP address, and UDP port number are inserted into the database 222a (Insert GW IP) and registered. The source IP address of the packet is registered in the IP filtering list. Similarly, these packets are forwarded to the normal processing procedure as before.

또한, 다이나믹 필터링부(222)는 모든 수신 패킷에 대하여 목적지 IP 어드레스가 데이터베이스(222a)에 등록되어있는지를 검사한다. 이미 등록된 어드레스이면 해당 패킷이 음성 처리를 위한 패킷인지를 검사한다. 이는 추후에 수신되는 음성 관련 패킷 판단을 위하여 문지기로부터 전송하는 패킷에서 OPAL 서버의 IP 어드레스, UDP 포트넘버, 호 제어기(call controller)의 IP 어드레스, TCP 포트넘버(port number)를 기록해 둔다.In addition, the dynamic filtering unit 222 checks whether the destination IP address is registered in the database 222a for all received packets. If the address is already registered, it is checked whether the corresponding packet is a packet for voice processing. It records the IP address of the OPAL server, the UDP port number, the IP address of the call controller, and the TCP port number in the packet transmitted from the gatekeeper to determine received voice-related packets later.

한편, 다이나믹 필터링부(222)의 데이터베이스(222a)에 등록된 IP어드레스를 등록하도록 커널 내부의 디바이스 드라이버(226)에서 요청(ADD tc)하고, 또 일정한 시간 동안 데이터베이스(222a)에 등록한 IP 어드레스로부터 음성관련 패킷이 발생하지 않으면 이를 데이터베이스(222a)에서 제거하고 IP 필터링 리스트에도 제거하도록 요청(DELETE tc)한다.Meanwhile, the device driver 226 in the kernel requests ADD tc to register the IP address registered in the database 222a of the dynamic filtering unit 222, and from the IP address registered in the database 222a for a predetermined time. If a voice related packet does not occur, it is requested to remove it from the database 222a and to remove it from the IP filtering list (DELETE tc).

그리고, 구성 정보 저장부(225)는 사용자 계층에서 변경한 doorman udp1, doorman udp2, doorman ageingtime 등의 구성정보(axvqconfig)를 저장하게 된다.The configuration information storage unit 225 stores configuration information (axvqconfig), such as doorman udp1, doorman udp2, and doorman ageingtime, which are changed in the user hierarchy.

커널 내부의 디바이스 드라이버(226)는 데이터베이스(222a)의 요청에 의해 새로운 대상의 IP 어드레스 발견시 사용자 계층(User, 230)으로 이를 넘기게 되며, 사용자 계층(230)의 트래픽 제어 플레그(tcintf: traffic control Interruptflag)(232)는 디바이스 드라이버(226)의 요청에 의해 폴링(polling)하여 새로운 IP 어드레스를 트래픽 제어기(233)로 명령(Running shell command)하고, 트래픽 제어기(233)는 패킷 스케쥴러(227)에 전달하여 큐잉부(224)의 필터(224a)에 등록한다. 또 일정시간 동안 음성 관련 패킷이 발생하지 않은 해당 IP 어드레스에 대해서 IP 어드레스 삭제를 요청하여 삭제하게 된다.The device driver 226 in the kernel passes the request to the user layer 230 when a new target IP address is found by the request of the database 222a, and the traffic control flag of the user layer 230 (tcintf: traffic). control Interruptflag) 232 polls at the request of the device driver 226 to command the new IP address to the traffic controller 233 (Running shell command), the traffic controller 233 is a packet scheduler 227 The data is transmitted to the queuing unit 224 and registered in the filter 224a. In addition, the IP address is requested to be deleted for a corresponding IP address that has not generated a voice-related packet for a predetermined time.

한편, 커널(220)은 정상적인 패킷 전송을 위해 다이나믹 필터링부(222)로 내려오는 패킷은 리눅스 네트워크 처리 루틴(netif_rx, net_rx_action)으로 브리징부(223)에 전달되어 포워딩(Forwarding)되고, 포워딩된 패킷은 리눅스 네트워크 처리 루틴(dev_queue_xmit)에 의해 큐잉부(224)에 큐잉(queuing)된 후, 송신 핸들러(228)에 의해 이더넷 인터페이스(210)를 통해 전송된다.Meanwhile, the kernel 220 forwards the packet down to the dynamic filtering unit 222 to the bridging unit 223 as a Linux network processing routine (netif_rx, net_rx_action) for forwarding, and forwards the forwarded packet. Is queued to the queuing unit 224 by a Linux network processing routine (dev_queue_xmit) and then transmitted by the send handler 228 via the Ethernet interface 210.

이때 큐잉부(224)의 필터(224a)는 필터링 리스트에 등록된 IP 어드레스에 따라 특정 송신원 어드레스나 발신지 어드레스 등을 가진 패킷의 통과를 제한하게 되는데, 송신자/수신자 IP 어드레스나 TCP/UDP 포트번호를 근거로 패킷 필터링을 하게 된다.At this time, the filter 224a of the queuing unit 224 restricts the passing of a packet having a specific source address or source address according to the IP address registered in the filtering list, and determines the sender / receiver IP address or the TCP / UDP port number. Based on the packet filtering.

이와 같이, 커널에서는 모든 호 처리 패킷에 대한 분석을 진행할 필요가 없으며, 호 처리가 끝난 후 트래픽이 과다한 상황이 발생하더라도, 호 처리용 패킷이 상실되지 않으므로, 필터링 자체로서 처리 할 수 있다.In this way, the kernel does not need to analyze all call processing packets, and even if excessive traffic occurs after call processing, the call processing packets are not lost, and thus can be processed as filtering itself.

상기한 바와 같이, 본 발명에 따른 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치에 의하면 발신지 IP 어드레스 및 목적지 IP 어드레스가 데이터베이스에 등록되었는지 여부를 확인하고, 등록된 어드레스에 대해 음성 처리를 위한 패킷인지를 판단하고 검사할 수 있도록 함으로써, 모든 호 처리 패킷에 대한 분석을 진행할 필요가 없으므로 프로세스의 성능 저하를 방지할 수 있다.As described above, according to the call processing caching control apparatus for traffic control according to the present invention, it is determined whether the source IP address and the destination IP address are registered in the database, and whether the registered address is a packet for voice processing. By doing so, it is possible to prevent the performance degradation of the process by eliminating the need to analyze all call processing packets.

또한 호 처리가 끝난 후 트래픽이 과다한 상황이 발생하더라도 호 처리용 패킷이 상실되지 않으므로 필터링 자체를 처리할 수 있다.In addition, even if excessive traffic occurs after the call processing, the packet for call processing is not lost, and thus the filtering itself can be processed.

Claims (4)

패킷을 송수신하는 이더넷 인터페이스와;An Ethernet interface for transmitting and receiving packets; 수신되는 패킷 중에서 호 처리 대상이 되는 패킷을 검사하여 데이터 베이스를 검색하여 IP 어드레스를 등록 또는 삭제하는 다이나믹 필터링부, 새로운 IP 어드레스 발견시 사용자 계층으로 전달하는 디바이스 드라이버, 다이나믹 필터링부로부터 전달받은 패킷을 포워딩하는 브리징부, 상기 포워딩된 패킷을 일시 저장하여 트래픽 제어 수순에 따라 이더넷 인터페이스로 전달하기 위한 큐잉부로 구성된 커널;Dynamic filtering unit that checks the packet that is the call processing target among the received packets and searches the database to register or delete the IP address, device driver that delivers to the user layer when a new IP address is found, and packets received from the dynamic filtering unit. A kernel comprising a bridging unit for forwarding and a queuing unit for temporarily storing the forwarded packet and delivering the forwarded packet to an Ethernet interface according to a traffic control procedure; 상기 디바이스 드라이버를 폴링하여 새로운 IP 어드레스를 사용자 계층의 트래픽 제어기에 등록하는 트래픽 제어 인터럽트 플레그와, 상기 새로운 IP 어드레스를 커널 내부의 패킷 스케쥴러를 통해서 IP 필터링 리스트에 등록 및 삭제를 요청하는 트래픽 제어기를 포함하는 사용자 계층으로 구성된 것을 특징으로 하는 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치.A traffic control interrupt flag for polling the device driver to register a new IP address to a traffic controller of a user layer, and a traffic controller requesting registration and deletion of the new IP address into an IP filtering list through a packet scheduler inside a kernel; Call processing caching controller for traffic control, characterized in that configured as a user layer. 제 1항에 있어서,The method of claim 1, 상기 다이나믹 필터링부는 모든 송신 패킷에 대하여 발신지 IP 어드레스를, 모든 수신 패킷에 대하여 목적지 IP 어드레스를 데이터 베이스에 저장되어 있는지를 검사한 후, 등록된 IP 어드레스에 대하여 해당 패킷이 음성 처리를 위한 패킷인지를 검사하는 것을 특징으로 하는 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치.The dynamic filtering unit checks whether the source IP address is stored in the database for all transmission packets and the destination IP address for all the received packets, and then checks whether the packet is a voice processing packet for the registered IP address. Call processing caching controller for traffic control, characterized in that the inspection. 제 1항에 있어서,The method of claim 1, 상기 다이나믹 필터링부는 음성 관련 패킷을 판단하기 위하여 문지기로부터 전송하는 패킷에서 서버의 IP 어드레스, UDP 포트 넘버, 호 제어기의 IP 어드레스, TCP 포트 넘버를 데이터베이스에 기록하는 것을 특징으로 하는 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치.The dynamic filtering unit records the IP address of the server, the UDP port number, the IP address of the call controller, and the TCP port number in a packet transmitted from the gatekeeper to determine a voice related packet in a database. Caching Controls. 제 3항에 있어서,The method of claim 3, wherein 상기 다이나믹 필터링부는 상기 패킷의 발신지 IP 어드레스를 큐잉부의 IP 필터링 리스트에 등록하는 것을 특징으로 하는 트래픽 제어를 위한 호 프로세싱 캐싱 제어장치.And the dynamic filtering unit registers the source IP address of the packet in the IP filtering list of the queuing unit.
KR10-2002-0058568A 2002-09-26 2002-09-26 Control apparatus of call processing caching for traffic control KR100451796B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0058568A KR100451796B1 (en) 2002-09-26 2002-09-26 Control apparatus of call processing caching for traffic control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0058568A KR100451796B1 (en) 2002-09-26 2002-09-26 Control apparatus of call processing caching for traffic control

Publications (2)

Publication Number Publication Date
KR20040026930A KR20040026930A (en) 2004-04-01
KR100451796B1 true KR100451796B1 (en) 2004-10-08

Family

ID=37329533

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0058568A KR100451796B1 (en) 2002-09-26 2002-09-26 Control apparatus of call processing caching for traffic control

Country Status (1)

Country Link
KR (1) KR100451796B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10129136B2 (en) 2015-11-20 2018-11-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Virtual router cluster, data forwarding method and apparatus

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100735321B1 (en) * 2005-09-09 2007-07-04 삼성전자주식회사 Incoming packet filtering apparatus and method for packet in packet radio network
KR100778304B1 (en) * 2006-12-07 2007-11-22 한국전자통신연구원 Apparatus and method for managing binding cash in routing system based on ipv6
CN115118674A (en) * 2022-06-22 2022-09-27 深圳市沃特沃德信息有限公司 Application program networking monitoring method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10129136B2 (en) 2015-11-20 2018-11-13 Beijing Baidu Netcom Science And Technology Co., Ltd. Virtual router cluster, data forwarding method and apparatus
KR101925184B1 (en) * 2015-11-20 2018-12-04 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Virtual router cluster, data forwarding method and device

Also Published As

Publication number Publication date
KR20040026930A (en) 2004-04-01

Similar Documents

Publication Publication Date Title
US7480707B2 (en) Network communications management system and method
JP3225924B2 (en) Communication quality control device
KR100437169B1 (en) Network traffic flow control system
US7433958B2 (en) Packet relay processing apparatus
US8874789B1 (en) Application based routing arrangements and method thereof
US7107609B2 (en) Stateful packet forwarding in a firewall cluster
US7747662B2 (en) Service aware network caching
JP3403971B2 (en) Packet transfer device
US8090859B2 (en) Decoupling TCP/IP processing in system area networks with call filtering
EP1816812A1 (en) Access control device, and access control method
US20080008183A1 (en) Communication Device, Storage Medium, Integrated Circuit, and Communication System
US20040128554A1 (en) Apparatus and method for allowing peer-to-peer network traffic across enterprise firewalls
US8175091B2 (en) Communication system
JP2008523735A (en) Electronic message distribution system having network device
GB2316841A (en) Method for controlling a firewall
JP2006262193A (en) Controller, packet transferring method, and packet processor
US11455160B1 (en) Simultaneous operation of a networked device using multiple disparate networks
US20060218300A1 (en) Method and apparatus for programmable network router and switch
CN108989420A (en) The method and system of registration service, the method and system for calling service
KR100759169B1 (en) Method of server managing and packet thrasmitting in network switch
KR100451796B1 (en) Control apparatus of call processing caching for traffic control
US8305918B2 (en) Method of configuring the quality-of-service profile of a given stream at an access node of a packet communications network
US20080019360A1 (en) Multi-level packet classification
JP2006013732A (en) Routing device and authentication method of information processor
JP2001358771A (en) Device for controlling communication quality

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120814

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130816

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20140818

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee