JP2008022391A - Packet transfer apparatus and communication system - Google Patents

Packet transfer apparatus and communication system Download PDF

Info

Publication number
JP2008022391A
JP2008022391A JP2006193543A JP2006193543A JP2008022391A JP 2008022391 A JP2008022391 A JP 2008022391A JP 2006193543 A JP2006193543 A JP 2006193543A JP 2006193543 A JP2006193543 A JP 2006193543A JP 2008022391 A JP2008022391 A JP 2008022391A
Authority
JP
Japan
Prior art keywords
packet
port
information
terminal
management table
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2006193543A
Other languages
Japanese (ja)
Other versions
JP4855162B2 (en
Inventor
Akihito Tsuzuki
彰人 続木
Hiroaki Miyata
裕章 宮田
Yasuo Kihinoki
保夫 木檜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Communication Technologies Ltd
Original Assignee
Hitachi Communication Technologies Ltd
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 Hitachi Communication Technologies Ltd filed Critical Hitachi Communication Technologies Ltd
Priority to JP2006193543A priority Critical patent/JP4855162B2/en
Priority to US11/734,354 priority patent/US7936750B2/en
Priority to CN2007101028926A priority patent/CN101106524B/en
Publication of JP2008022391A publication Critical patent/JP2008022391A/en
Application granted granted Critical
Publication of JP4855162B2 publication Critical patent/JP4855162B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • H04L45/3065Route determination based on the nature of the carried application for real time traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/147Signalling methods or messages providing extensions to protocols defined by standardisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • 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/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • 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/80Responding to QoS

Abstract

<P>PROBLEM TO BE SOLVED: To prevent delay in transfer of speech communication packet in the network including L2SW under the setting of the uplink VLAN. <P>SOLUTION: The packet transfer apparatus (1) stores, in the process to establish a session among the terminals (5) connected, correspondence relationship between the information for identifying an originating side terminal (5-1) and a terminating side terminal (5-2) and connection port (user connection information) to a table. For example, an destination IP address, a transmission source IP address, a destination port number, a transmission source port number, and a connection port, etc. are stored in the table by snooping SIP messages of the session control packets communicated among the terminals (5). When the RTP packet as the speed data is received after establishment of session, the packet transfer apparatus (1) returns the same packet therefrom or transfers the packet to an uplink port in accordance with the table explained above. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、パケット転送装置及び通信システムに係り、特に、イーサネット(登録商標)網の同一パケット転送装置に接続されたSIP装置端末間で仮想的通信路を介してVoIP通信する際に転送遅延時間低減に有効なパケット転送装置(L2SW)及び通信システムに関する。   The present invention relates to a packet transfer apparatus and a communication system, and in particular, a transfer delay time when performing VoIP communication via a virtual communication path between SIP apparatus terminals connected to the same packet transfer apparatus of an Ethernet (registered trademark) network. The present invention relates to a packet transfer apparatus (L2SW) and a communication system effective for reduction.

近年、マンション等の共同住宅内、ホテル内および共同テナントビル等の管理者が高速インターネット接続サービスに加入し、上記管理者がユーザに対して、イーサネット(登録商標)等のLANにより各ユーザが共有して使用する共有型インターネット接続サービスを提供することが行なわれている。
上記共有型インターネット接続サービスでは、各ユーザが個別にISPとインターネット接続を行なう必要がなく容易に使用することを可能とするが、イーサネット(登録商標)等のLANにより接続され、あるユーザ端末からのブロードキャストパケットがL2SWを介して全てのユーザ端末に対して送信されてしまう。そのため、L2SWにて各ユーザ端末に接続されているポートに対して、例えばISPに接続される特定のポート(アップリンクポート)とのパケット転送許可を行なうアップリンクVLAN設定を行なうことで、ブロードキャストパケットが他のユーザ(アップリンクポート以外のポート)に転送されず、ユーザを接続するポート間でのレイヤ2通信を防止することができる。ブロードキャストパケット以外のパケットについては、上記アップリンクVLAN設定によってアップリンクポートからリダイレクトされたIPパケットを上位ルータでルートバックすることにより、同一ドメイン内のユーザ間の通信を実現する。
In recent years, managers in apartment houses, condominiums, hotels, and tenant buildings have subscribed to high-speed Internet access services, and the above managers share with each user via a LAN such as Ethernet (registered trademark). And providing a shared Internet connection service to be used.
In the shared Internet connection service, each user does not need to individually connect to the ISP and can be easily used. However, the shared Internet connection service is connected by a LAN such as Ethernet (registered trademark), and can be used from a certain user terminal. The broadcast packet is transmitted to all user terminals via the L2SW. For this reason, by setting up an uplink VLAN for permitting packet transfer with a specific port (uplink port) connected to an ISP, for example, for a port connected to each user terminal in the L2SW, a broadcast packet is set. Is not transferred to other users (ports other than uplink ports), and layer 2 communication between ports connecting users can be prevented. For packets other than broadcast packets, the IP packet redirected from the uplink port by the uplink VLAN setting is routed back by the upper router, thereby realizing communication between users in the same domain.

一方、IP電話の分野では、音声をIPパケットで送信するVoIP(Voice over IP)技術が知られている。VoIPでは、通信の開始前に端末間に仮想的な通信路(セッション)を確立しておき、音声データを含むIPパケットを上記通信路上で転送する。端末間のセッションの確立と切断は、セッション制御プロトコルに従って行われる。   On the other hand, in the field of IP telephones, VoIP (Voice over IP) technology for transmitting voice in IP packets is known. In VoIP, a virtual communication path (session) is established between terminals before the start of communication, and an IP packet including voice data is transferred on the communication path. Establishment and disconnection of a session between terminals is performed according to a session control protocol.

IETF(Internet Engineering Task Force)は、IPマルチメディア通信におけるセッション制御プロトコルとして、VoIPに適したSIP(Session Initiation Protocol:RFC3261)およびRTP(Real−time Transport Protocol)を仕様化している(例えば、非特許文献1、3参照)。SIPは、TCP(Transmission Control Protocol)やUDP(User Datagram Protocol)などのトランスポートメカニズムを利用したアプリケーションプロトコルである。また、SIPは、テキストベースのプロトコルであり、SIPメッセージは、要求または応答情報を搬送するヘッダ部と、セッション内容を記述するメッセージボディとから構成される。セッションの記述には、例えば、SDP(Session Description Protocol、非特許文献2参照)が適用され、通信相手をSIP URI(Uniform Resource Identifier)によって識別している。VoIPでは、符号化した音声データの伝送を行なうためにRTPを使用する。
SIPサーバの動作モードには、端末間のセッション確立(呼設定)要求をSIPサーバが仲介するProxyモードと、発側端末がSIPサーバから着側端末の情報を取得して、着側端末と直接通信するRedirectモードとがある。
IETF (Internet Engineering Task Force) has specified SIP (Session Initiation Protocol: RFC3261) and RTP (Real-time Transport Protocol) suitable for VoIP as session control protocols in IP multimedia communication (for example, non-patented protocol). References 1 and 3). SIP is an application protocol that uses a transport mechanism such as TCP (Transmission Control Protocol) or UDP (User Datagram Protocol). SIP is a text-based protocol, and a SIP message is composed of a header part that carries request or response information and a message body that describes session contents. For example, SDP (Session Description Protocol, see Non-Patent Document 2) is applied to the description of the session, and the communication partner is identified by the SIP URI (Uniform Resource Identifier). In VoIP, RTP is used to transmit encoded voice data.
The operation mode of the SIP server includes a proxy mode in which a session establishment (call setting) request between terminals is mediated by the SIP server, and the calling terminal acquires information on the called terminal from the SIP server, and directly with the called terminal. There is a Redirect mode for communication.

SIP(Session Initiation Protocol)、RFC3261SIP (Session Initiation Protocol), RFC3261 SDP(Session Description Protocol)、RFC2327SDP (Session Description Protocol), RFC2327 RTP(Real−time Transport Protocol)、RFC1889RTP (Real-time Transport Protocol), RFC1889

インターネットやイントラネットといったIPネットワーク上で音声通話を実現する場合、音声をIPパケット化してIPネットワーク上に転送することになる。IPネットワークでは多数のユーザが共有しており、多量のRTPパケットや非RTPパケットが存在する。ネットワークが空いている時には特に不都合がなくても、混雑時には他のパケットの割り込みにより、遅延が生じることもある。また、アップリンクVLAN設定されたL2SWが多段に構成されたネットワークでは、IPパケットを中継する装置が増加すればするほど転送遅延が増大し、音声遅延が課題となる。   When a voice call is realized on an IP network such as the Internet or an intranet, the voice is converted into an IP packet and transferred to the IP network. In an IP network, many users share and there are a large amount of RTP packets and non-RTP packets. Even if there is no particular inconvenience when the network is free, a delay may occur due to interruption of other packets at the time of congestion. Further, in a network in which L2SWs configured with uplink VLANs are configured in multiple stages, the transfer delay increases as the number of devices that relay IP packets increases, and voice delay becomes a problem.

本発明は、以上の点に鑑み、同一ドメイン内にてアップリンクVLAN設定されたパケット転送装置に接続される端末装置間にて音声通話する場合において、音声データの転送遅延を防ぐパケット転送装置を提供することを目的とする。また、本発明は、音声データの転送遅延による品質劣化を防ぐことを目的のひとつとする。本発明は、アップリンクVLAN適用によるセキュリティ性確保と、転送遅延縮小を両立させることを目的のひとつとする。   In view of the above points, the present invention provides a packet transfer apparatus that prevents a voice data transfer delay when a voice call is made between terminal apparatuses connected to a packet transfer apparatus set up in an uplink VLAN in the same domain. The purpose is to provide. Another object of the present invention is to prevent quality deterioration due to transfer delay of audio data. An object of the present invention is to achieve both security ensuring by applying an uplink VLAN and reduction in transfer delay.

本発明は、セッションの確立過程でSIPメッセージから端末装置間を特定できる情報と接続ポートとの対応関係をテーブルに登録し、同一パケット転送装置に接続された端末装置間で、パケット転送装置での折り返し仮想的通信路を介したRTP通信を可能とすることを目的のひとつとする。また、本発明は、パケット転送遅延時間の低減を目的のひとつとする。また、本発明は、テーブルに異なるプロトコルの優先度を登録し、RTP通信を優先した転送を可能とすることを目的のひとつとする。   The present invention registers correspondence information between connection ports and information that can identify between terminal devices from SIP messages in the session establishment process, between the terminal devices connected to the same packet transfer device, in the packet transfer device. One of the purposes is to enable RTP communication via a folded virtual communication path. Another object of the present invention is to reduce the packet transfer delay time. Another object of the present invention is to register priorities of different protocols in a table and enable transfer with priority on RTP communication.

上記目的を達成するため、本パケット転送装置は、同一パケット転送装置に接続されたSIP装置端末間でセッションを確立する過程で、発側SIP装置端末と着側SIP装置端末とを特定できる情報(識別情報)と接続ポートとの対応関係を記憶する装置管理テーブルおよびユーザ接続管理テーブルを有する。セッション確立後に音声データであるRTPパケットを受信した場合は、上記テーブルに従ってパケット転送装置での折り返し転送することを特徴のひとつとする。   In order to achieve the above object, the packet transfer apparatus can identify the originating SIP apparatus terminal and the called SIP apparatus terminal in the process of establishing a session between the SIP apparatus terminals connected to the same packet transfer apparatus ( A device management table and a user connection management table for storing the correspondence between the identification information) and the connection ports. One of the features is that when an RTP packet, which is voice data, is received after the session is established, the packet transfer apparatus performs loopback transfer according to the above table.

本パケット転送装置は、SIP装置端末間で通信されるセッション制御パケットのSIPメッセージをスヌーピングすること(SIPスヌーピング)により、SIP装置端末を特定する情報、例えば、宛先IPアドレス、送信元IPアドレス、宛先ポート番号、送信元ポート番号、接続ポートとの対応関係を装置管理テーブルおよびユーザ接続管理テーブルに記憶することを特徴のひとつとする。   This packet transfer apparatus snooping a SIP message of a session control packet communicated between SIP apparatus terminals (SIP snooping) to identify information specifying the SIP apparatus terminal, for example, a destination IP address, a source IP address, a destination One of the features is that the correspondence between the port number, the transmission source port number, and the connection port is stored in the device management table and the user connection management table.

セッション確立後は、発側SIP装置端末および着側SIP装置端末から受信したRTPパケットのヘッダ情報と、セッション接続過程で記憶したユーザ接続管理テーブルのユーザ接続情報から宛先IPアドレス、送信元IPアドレス、宛先ポート番号、送信元ポート番号をチェックし、ユーザ接続情報に適合しないRTPパケットはアップリンクポートへ転送し、ユーザ接続情報に適合したRTPパケットについて折り返し転送することを特徴のひとつとする。   After the session is established, the destination IP address, the source IP address, the header information of the RTP packet received from the originating SIP device terminal and the terminating SIP device terminal, and the user connection information of the user connection management table stored in the session connection process, One of the features is that the destination port number and the source port number are checked, RTP packets that do not match the user connection information are transferred to the uplink port, and RTP packets that match the user connection information are transferred back.

本パケット転送装置は、例えば、複数のIP電話およびデータ通信機能を有するユーザ端末を収容する複数のアクセス側接続ポートとISP側に設置されるGW装置を収容するISP側接続ポートを有する回線インタフェース、アクセス側接続ポートから受信される全パケットを指定したISP側接続ポートへの転送処理およびセッション制御パケットの監視処理を行うプロトコル制御部、プロセッサおよび通信処理プログラム、装置管理テーブル、ユーザ接続管理テーブル等、各種管理テーブルを格納するメモリを管理する制御部を備える。パケット転送装置は、上記アクセス側接続ポートに収容するSIP装置端末からのセッション制御パケットの監視を行い、上記発側SIP装置端末から通信相手である上記着側SIP装置端末へのセッション確立要求パケットを受信した場合、上記セッション確立要求パケット内のメッセージから上記発側SIP装置端末と上記着側SIP装置端末とを特定できる情報を装置管理テーブルに登録する。また、上記着側SIP装置端末からのセッション確立応答パケットを受信した場合、上記セッション確立応答パケット内のメッセージから上記発側SIP装置端末と上記着側SIP装置端末とを特定できる情報から上記装置管理テーブルの検索を行い、一致した場合、上記装置管理テーブルに上記発側SIP装置端末または着側SIP装置端末の対応関係を登録する。上記発側SIP装置端末または着側SIP装置端末間のセッション確立後に、上記発側または着側SIP装置端末を収容する各アクセス側接続ポート毎に管理されるユーザ接続管理テーブルに個々に上記対応関係情報の登録を行う。アクセス側接続ポートからパケット受信時、受信パケットの識別情報からユーザ接続管理テーブルの検索を行い、不一致の場合、ISP側接続ポートへの転送を行い、一方、一致した場合、接続先の出力ポート情報に従い上記受信パケット転送を行うことで、上記発側SIP装置端末と着側SIP装置端末間の転送遅延時間を低減させる。   The packet transfer apparatus includes, for example, a line interface having a plurality of access side connection ports for accommodating a plurality of IP phones and user terminals having a data communication function and an ISP side connection port for accommodating a GW apparatus installed on the ISP side, Protocol control unit, processor and communication processing program, device management table, user connection management table, etc. for performing transfer processing to the designated ISP side connection port and monitoring processing for session control packets for all packets received from the access side connection port A control unit that manages a memory that stores various management tables is provided. The packet transfer device monitors a session control packet from the SIP device terminal accommodated in the access side connection port, and transmits a session establishment request packet from the calling SIP device terminal to the communication destination SIP device terminal. If received, information that can identify the originating SIP device terminal and the terminating SIP device terminal from the message in the session establishment request packet is registered in the device management table. In addition, when a session establishment response packet is received from the destination SIP apparatus terminal, the apparatus management is performed based on information that can identify the calling side SIP apparatus terminal and the destination SIP apparatus terminal from the message in the session establishment response packet. When the table is searched and they match, the correspondence relationship of the calling SIP device terminal or the called SIP device terminal is registered in the device management table. After establishing a session between the originating SIP device terminal or the terminating SIP device terminal, the correspondence relationship is individually set in the user connection management table managed for each access side connection port that accommodates the originating or terminating SIP device terminal. Register information. When a packet is received from the access side connection port, the user connection management table is searched from the identification information of the received packet. If there is a mismatch, the forwarding to the ISP side connection port is performed. By performing the received packet transfer according to the above, the transfer delay time between the originating SIP device terminal and the terminating SIP device terminal is reduced.

本発明の第1の解決手段によると、
第1のパケット転送装置と、前記第1のパケット転送装置、及び、サーバ又はネットワーク間で、パケットのルーティングを行う第2のパケット転送装置とを備え、前記第1のパケット転送装置が、第1の端末と通信するための第1のポート及び/又は第2の端末と通信するための第2のポートから入力されるパケットを、前記第2のパケット転送装置と通信するための第3のポートへ転送し、前記第2のパケット転送装置が該パケットを受信して、前記第1のパケット転送装置へ返送し、前記第1のパケット転送装置が前記第2のパケット転送装置からの該パケットを宛先情報に従い転送することにより、第1の端末と第2の端末間の通信を実現する通信システムにおける前記第1のパケット転送装置において、
前記第1の端末の識別情報及び前記第1のポートの識別情報を含む発側端末情報と、前記第2の端末の識別情報及び前記第2のポートの識別情報を含む着側端末情報とを対応して記憶する装置管理テーブルと、
パケットの送信元情報及び送信先情報に対応して出力ポート情報を記憶する接続管理テーブルと、
処理部と
を備え、
前記処理部は、
前記第1の端末からのセッション確立要求パケットを前記第1のポートを介して受信した場合、前記セッション確立要求パケット内の前記第1の端末の識別情報と、前記第1のポートの識別情報とを、前記装置管理テーブルの発側端末情報に登録し、
該セッション確立要求パケットに対する前記第2の端末からの応答パケットを前記第2のポートを介して受信した場合、前記応答パケット内の前記第2の端末の識別情報と、前記第2のポートの識別情報とを、前記装置管理テーブルの着側端末情報に、発側端末情報に対応して登録し、
前記装置管理テーブルに登録された第1の端末の識別情報を送信元情報として、第2の端末の識別情報を送信先情報として、及び、前記第2のポート情報を出力先ポート情報として、前記接続管理テーブルに登録し、
前記装置管理テーブルに登録された第2の端末の識別情報を送信元情報として、第1の端末の識別情報を送信先情報として、及び、前記第1のポート情報を出力先ポート情報として、前記接続管理テーブルに登録し、
前記第1又は第2のポートからパケットを受信すると、受信されたパケットの送信元情報及び送信先情報に基づき前記接続管理テーブルを検索し、対応する出力ポート情報に従い、前記第2又は第1のポートを介して、受信されたパケットを転送する前記パケット転送装置が提供される。
According to the first solution of the present invention,
A first packet transfer device; a first packet transfer device; and a second packet transfer device that routes packets between a server or a network, wherein the first packet transfer device includes: A third port for communicating packets input from the first port for communicating with the second terminal and / or the second port for communicating with the second terminal with the second packet transfer apparatus And the second packet transfer device receives the packet and sends it back to the first packet transfer device. The first packet transfer device receives the packet from the second packet transfer device. In the first packet transfer device in the communication system that realizes communication between the first terminal and the second terminal by transferring according to the destination information,
Originating terminal information including identification information of the first terminal and identification information of the first port, and receiving terminal information including identification information of the second terminal and identification information of the second port A corresponding device management table,
A connection management table that stores output port information corresponding to the transmission source information and transmission destination information of the packet;
A processing unit,
The processor is
When the session establishment request packet from the first terminal is received via the first port, the identification information of the first terminal, the identification information of the first port in the session establishment request packet, Is registered in the originating terminal information of the device management table,
When a response packet from the second terminal to the session establishment request packet is received via the second port, the identification information of the second terminal in the response packet and the identification of the second port Information corresponding to the originating terminal information in the terminal information of the device management table,
The identification information of the first terminal registered in the device management table as transmission source information, the identification information of the second terminal as transmission destination information, and the second port information as output destination port information, Register in the connection management table,
The identification information of the second terminal registered in the device management table as transmission source information, the identification information of the first terminal as transmission destination information, and the first port information as output destination port information, Register in the connection management table,
When a packet is received from the first or second port, the connection management table is searched based on the transmission source information and transmission destination information of the received packet, and the second or first port is searched according to the corresponding output port information. The packet transfer device is provided for transferring a received packet through a port.

本発明の第2の解決手段によると、
上述のパケット転送装置を複数備え、
各パケット転送装置が多段に接続され、該複数のパケット転送装置の少なくともひとつが前記第2のパケット転送装置に接続される通信システムが提供される。
According to the second solution of the present invention,
A plurality of the above packet transfer devices are provided,
A communication system is provided in which each packet transfer apparatus is connected in multiple stages, and at least one of the plurality of packet transfer apparatuses is connected to the second packet transfer apparatus.

本発明によると、以上の点に鑑み、同一ドメイン内にてアップリンクVLAN設定されたパケット転送装置に接続される端末装置間にて音声通話する場合において、音声データの転送遅延を防ぐパケット転送装置を提供することができる。また、本発明によると、音声データの転送遅延による品質劣化を防ぐことができる。本発明によると、アップリンクVLAN適用によるセキュリティ性確保と、転送遅延縮小を両立させることが可能である。
本発明によると、セッションの確立過程でSIPメッセージから端末装置間を特定できる情報と接続ポートとの対応関係をテーブルに登録することができるため、同一パケット転送装置に接続された端末装置間で、パケット転送装置での折り返し仮想的通信路を介したRTP通信が可能となる。また、本発明によると、パケット転送遅延時間の低減を実現できる。また、本発明によると、テーブルに異なるプロトコルの優先度を登録することにより、RTP通信を優先した転送が可能となる。
According to the present invention, in view of the above points, a packet transfer apparatus that prevents a voice data transfer delay when a voice call is made between terminal apparatuses connected to a packet transfer apparatus set up in an uplink VLAN in the same domain. Can be provided. Further, according to the present invention, it is possible to prevent quality deterioration due to transfer delay of audio data. According to the present invention, it is possible to achieve both security ensuring by applying an uplink VLAN and reduction in transfer delay.
According to the present invention, since it is possible to register the correspondence between the connection port and the information that can identify the terminal device from the SIP message in the session establishment process, between the terminal devices connected to the same packet transfer device, RTP communication via a loopback virtual communication path in the packet transfer apparatus is possible. In addition, according to the present invention, a reduction in packet transfer delay time can be realized. In addition, according to the present invention, it is possible to transfer with priority on RTP communication by registering priorities of different protocols in the table.

図1は、本実施の形態の通信システムの構成図である。本通信システムは、パケット転送装置(第1のパケット転送装置)(1)と、L3SW(Layer 3 switch、レイヤ3スイッチ、第2のパケット転送装置)(2)と、SIPサーバ(3)と、SIP装置端末(5)とを備える。また、本通信システムは、WEBサーバ(4)と、WEBホスト(6)とをさらに備えてもよい。   FIG. 1 is a configuration diagram of a communication system according to the present embodiment. The communication system includes a packet transfer device (first packet transfer device) (1), an L3SW (Layer 3 switch, layer 3 switch, second packet transfer device) (2), a SIP server (3), SIP device terminal (5). The communication system may further include a WEB server (4) and a WEB host (6).

図1において、パケット転送装置(1)は、後述するSIPスヌーピング機能を備え、広域L2スイッチネットワーク(公衆アクセス網)を構成している。公衆アクセス網には、WEBホスト(6)とSIP装置端末(5−1、5−2、5−3、5−4)とWEBサーバ(4)が収容されている。公衆アクセス網に接続されているSIP装置端末(5)がISP網に収容されているSIPサーバ(3)にアクセスするために、公衆アクセス網とISP網の間にL3SW(2)が接続されている。図1に示す各端末装置間の通信例を以下に説明する。   In FIG. 1, a packet transfer apparatus (1) has a SIP snooping function, which will be described later, and constitutes a wide area L2 switch network (public access network). The public access network accommodates a WEB host (6), SIP device terminals (5-1, 5-2, 5-3, 5-4) and a WEB server (4). In order for the SIP device terminal (5) connected to the public access network to access the SIP server (3) accommodated in the ISP network, the L3SW (2) is connected between the public access network and the ISP network. Yes. An example of communication between the terminal devices shown in FIG. 1 will be described below.

例えば、WEBホスト(6)がWEBサーバ(4)と通信する場合、パケット転送装置(1−1)、(1−3)のアップリンクVLAN設定により、パケットはL3SW(2)まで転送される。L3SW(2)でルートバックされることにより、パケットはパケット転送装置(1−3)、(1−2)を介してWEBサーバ(4)に送信され、WEBホスト(6)とWEBサーバ(4)との間で、通信が可能となる。   For example, when the WEB host (6) communicates with the WEB server (4), the packet is transferred to L3SW (2) by the uplink VLAN setting of the packet transfer apparatuses (1-1) and (1-3). By being routed back by the L3SW (2), the packet is transmitted to the WEB server (4) via the packet transfer apparatuses (1-3) and (1-2), and the WEB host (6) and the WEB server (4) ) Communication is possible.

例えば、識別名“UserB”をもつSIP装置端末(5−1)と、識別名“UserC”をもつSIP装置端末(5−2)との間でVoIP通信を行う場合、通常のアップリンクVLANが設定されたシステムでは、UserBからのパケットはL3SW(2)まで転送され、L3SW(2)でルートバックされてUserCで受信される。本実施の形態では、SIPスヌーピング機能を備えたパケット転送装置(1−1)により、端末装置間でセッション確立後のRTP通信は、パケット転送装置(1−1)での折り返し転送による通信が可能となる。   For example, when VoIP communication is performed between the SIP device terminal (5-1) having the identification name “UserB” and the SIP device terminal (5-2) having the identification name “UserC”, a normal uplink VLAN is used. In the set system, the packet from UserB is transferred to L3SW (2), routed back by L3SW (2), and received by UserC. In the present embodiment, the packet transfer apparatus (1-1) having the SIP snooping function allows RTP communication after session establishment between terminal apparatuses to be communicated by return transfer in the packet transfer apparatus (1-1). It becomes.

例えば、識別名“UserD”をもつSIP装置端末(5−3)と、識別名“UserE”をもつSIP装置端末(5−4)との間でL2SWを跨ったVoIP通信を行う場合、本実施の形態では、SIPスヌーピング機能を備えたパケット転送装置(1−3)により、端末装置間でセッション確立後のRTP通信は、パケット転送装置(1−3)での折り返し転送による通信が可能となる。   For example, when VoIP communication across L2SW is performed between a SIP device terminal (5-3) having the identification name “UserD” and a SIP device terminal (5-4) having the identification name “UserE”, this implementation is performed. In the embodiment, the packet transfer apparatus (1-3) having the SIP snooping function enables RTP communication after session establishment between the terminal apparatuses to be performed by return transfer in the packet transfer apparatus (1-3). .

図2は、パケット転送装置が適用される通信ネットワークの1例を示す図である。図2は、図1の構成を簡略して示したものでもある。
図2の構成において、公衆アクセス網に収容された識別名“UserB”をもつSIP装置端末(5−1)と、識別名“UserC”をもつSIP装置端末(5−2)との間で、パケット転送装置(1)、L3SW(2)、SIPサーバ(3)を経由してセッションを確立し、VoIP通信を行なう場合を例にとって、本実施の形態のパケット転送装置(1)の動作を説明する。
FIG. 2 is a diagram illustrating an example of a communication network to which the packet transfer apparatus is applied. FIG. 2 is also a simplified illustration of the configuration of FIG.
In the configuration of FIG. 2, between the SIP device terminal (5-1) having the identification name “UserB” accommodated in the public access network and the SIP device terminal (5-2) having the identification name “UserC”, The operation of the packet transfer apparatus (1) of the present embodiment will be described by taking as an example a case where a session is established via the packet transfer apparatus (1), L3SW (2), and SIP server (3) and VoIP communication is performed. To do.

この例では、発側となるSIP装置端末(第1の端末)(5−1)のIPアドレスとURI(Uniform Resource Identifier)を、例えば、それぞれ「100.100.1.1」、「userb.aaa.com」とする。また、着側となるSIP装置端末(第2の端末)(5−2)のIPアドレスとURIを、例えば、それぞれ「100.100.1.10」、「userc.aaa.com」とする。ISP網に収容されるSIPサーバ(3)のIPアドレスとURIを、例えば、「138.85.28.1」、「aaa.com」とする。また、パケット転送装置(1)のポート1(第1のポート)にUserBのSIP装置端末(5−1)が接続され、ポート2(第2のポート)にUserCのSIP装置端末(5−2)が接続され、ポートn(第3のポート)にL3SW(2)が接続されている。なお、各ポートは、直接、端末及びL3SW等と接続される以外にも、他のパケット転送装置等を介して接続されてもよい。   In this example, the IP address and URI (Uniform Resource Identifier) of the SIP device terminal (first terminal) (5-1) on the calling side are set to, for example, “100.100.1.1” and “userb. aaaa.com ". Further, the IP address and URI of the SIP device terminal (second terminal) (5-2) on the called side are, for example, “100.1000.1.10” and “userc.aaa.com”, respectively. The IP address and URI of the SIP server (3) accommodated in the ISP network are, for example, “138.855.28.1” and “aaa.com”. The SIP device terminal (5-1) of UserB is connected to port 1 (first port) of the packet transfer device (1), and the SIP device terminal (5-2) of UserC is connected to port 2 (second port). ) And L3SW (2) is connected to port n (third port). Each port may be connected via another packet transfer apparatus or the like in addition to being directly connected to the terminal and the L3SW.

図3は、パケット転送装置(1)の構成の1例を示すブロック図である。
パケット転送装置(1)は、複数の入出力回線の回線インタフェース(20−1〜20−n:nは自然数)と、入出力回線(10−1〜10−n:nは自然数)と、プロトコル処理部(30)と、それらを制御する制御部(40)とを有する。また、制御端末(120)による制御も可能とする。入出力回線(10−1〜10−n)には複数のポート番号が付与されている。
FIG. 3 is a block diagram showing an example of the configuration of the packet transfer apparatus (1).
The packet transfer apparatus (1) includes a plurality of input / output line interface (20-1 to 20-n: n is a natural number), an input / output line (10-1 to 10-n: n is a natural number), a protocol It has a processing unit (30) and a control unit (40) for controlling them. Control by the control terminal (120) is also possible. A plurality of port numbers are assigned to the input / output lines (10-1 to 10-n).

制御部(120)は、処理プログラム(60、100)および各テーブル(70、80、90)を格納するメモリ(50)と、処理プログラム(60、100)を実行するプロセッサ(処理部)(110)を有する。メモリ(50)には、プロセッサ(110)にて実施する処理プログラムとして、パケット転送制御(60)とスヌーピング制御メッセージ処理(100)とを有する。パケット転送制御(60)は、回線インタフェース(20)からの受信パケットを解析し、MACアドレスを管理するポート管理テーブル(80)およびポート単位に保持するユーザ接続管理テーブル(90)に従って、パケットを出力ポートへ転送する。スヌーピング制御メッセージ処理(100)は、回線インタフェース(20)からの受信パケットがSIP装置端末(5)間のセッション制御用のSIPメッセージを含む場合、SIPペイロードからSIP装置端末(5)を特定するIPアドレスとポート番号をスヌーピングし、これらを管理するための装置管理テーブル(70)とユーザ接続管理テーブル(90)を扱う。   The control unit (120) includes a memory (50) that stores the processing program (60, 100) and each table (70, 80, 90), and a processor (processing unit) (110) that executes the processing program (60, 100). ). The memory (50) includes packet transfer control (60) and snooping control message processing (100) as processing programs executed by the processor (110). The packet transfer control (60) analyzes the received packet from the line interface (20), and outputs the packet according to the port management table (80) for managing the MAC address and the user connection management table (90) held for each port. Forward to port. In the snooping control message processing (100), when the received packet from the line interface (20) includes a SIP message for session control between the SIP device terminals (5), the IP specifying the SIP device terminal (5) from the SIP payload. A device management table (70) and a user connection management table (90) for snooping addresses and port numbers and managing them are handled.

本実施の形態の特徴の1つは、回線インタフェース(20)からRTPパケットを受信した時、セッション接続過程でSIP装置端末(5)を特定するIPアドレスとポート番号の対応付けられたユーザ接続管理テーブル(90)に従って、パケット転送装置(1)でRTPパケットを折り返し転送することができる。一方、例えばセッションが確立されていない端末からのパケットは、アップリンクVLAN設定に従いアップリンクへ転送されるので、例えばブロードキャストパケットが他の端末へ転送されることを防ぎ、セキュリティが確保される。   One of the features of this embodiment is that, when an RTP packet is received from the line interface (20), user connection management in which an IP address and a port number for identifying the SIP device terminal (5) are associated in the session connection process. According to the table (90), the packet transfer device (1) can transfer the RTP packet in a loopback manner. On the other hand, for example, a packet from a terminal for which a session is not established is transferred to the uplink according to the uplink VLAN setting, so that, for example, a broadcast packet is prevented from being transferred to another terminal, and security is ensured.

図4は、セッションの確立および切断のための通信されるSIPメッセージのパケットフォーマットを示す。
SIPメッセージは、IPヘッダ(131)と、TCP/UDPヘッダ(132)と、IPパケットのペイロード部(133)に設定される。SIPメッセージは、SIPメッセージの種類と宛先を示すスタートライン(Start−line)(134)と、SIPパラメータを含むメッセージヘッダ(Message−header)(135)と、端末間に論理的に形成されるコネクションの情報を記述したメッセージボディ(Message−body)(136)とを含む。SIPメッセージの具体的な内容については、RFC3261で規定されているヘッダーフィールドに基づき、図12〜図23を参照して後述する。
FIG. 4 shows the packet format of communicated SIP messages for session establishment and disconnection.
The SIP message is set in the IP header (131), the TCP / UDP header (132), and the payload part (133) of the IP packet. The SIP message includes a start line (Start-line) (134) indicating the type and destination of the SIP message, a message header (Message-header) (135) including SIP parameters, and a connection logically formed between the terminals. Message body (Message-body) (136) in which information is described. Specific contents of the SIP message will be described later with reference to FIGS. 12 to 23 based on the header field defined in RFC3261.

図8及び図9は、装置管理テーブル(70)とユーザ接続管理テーブル(90)のテーブル構成図である。
装置管理テーブル(70)は、図8に示すように、発側装置端末情報(70A)と着側装置端末情報(70B)との関係を示すひとつ又は複数のエントリ(EN)を含む。発側装置端末情報は、例えば、要求元識別子と、発側IPアドレスと、データ受信用のポート番号と、装置ポート情報とを含む。着側装置端末情報は、例えば、着側のIPアドレスと、データ受信用のポート番号と、装置ポート情報とを含む。
8 and 9 are table configuration diagrams of the device management table (70) and the user connection management table (90).
As shown in FIG. 8, the device management table (70) includes one or a plurality of entries (EN) indicating the relationship between the originating device terminal information (70A) and the terminating device terminal information (70B). The originating device terminal information includes, for example, a request source identifier, an originating IP address, a data reception port number, and device port information. The called-side device terminal information includes, for example, a called-side IP address, a data reception port number, and device port information.

ユーザ接続管理テーブル(90)は、図8に示すように、ポート毎に、出力先ポートを決定するための、宛先アドレス(Destination Address)と、送信元アドレス(Source Address)と、宛先ポート番号(Destination Port)と、送信元ポート番号(Source Port)と、出力先ポート情報と、優先度との対応関係を示すひとつ又は複数のエントリ(EN)を含む。図8には、ポート1とポート2のテーブル構成例を示す。上記優先度は、多種多様のプロトコルに優先度を付与することにより、優先して出力したいパケットを転送するためのものである。パケット転送装置(1)は、あらかじめ固定的に全受信パケットに対する出力先ポートを上位L3SWが接続されているアップリンクポート(ポートn)に設定しているものとする。なお、本実施の形態では、ユーザ接続管理テーブルをポート毎に有するが、ひとつ又は適宜の数のテーブルで構成してもよい。   As shown in FIG. 8, the user connection management table (90) includes, for each port, a destination address (Destination Address), a source address (Source Address), a destination port number (for determining an output destination port). (Destination Port), a source port number (Source Port), output destination port information, and one or a plurality of entries (EN) indicating a correspondence relationship between priorities. FIG. 8 shows a table configuration example of port 1 and port 2. The priorities are for transferring packets to be preferentially output by giving priorities to various protocols. Assume that the packet transfer apparatus (1) sets the output destination port for all received packets fixedly in advance to the uplink port (port n) to which the upper L3SW is connected. In this embodiment, a user connection management table is provided for each port, but it may be configured by one or an appropriate number of tables.

以下、図5〜図7に示すシーケンス図と、図8、図9に示す装置管理テーブル(70)及びユーザ接続管理テーブル(90)とを参照して、公衆アクセス網に収容されているSIP装置端末(5)間でVoIP通信する際のパケット転送装置(1)等の動作について説明する。
図5は、図2の公衆アクセス網における発側SIP装置端末(5−1)と着側SIP装置端末(5−2)との間のセッション確立シーケンスを示す図である。先ず、図5を参照して、セッションの確立及びテーブルへの情報登録のシーケンスについて説明する。
Hereinafter, referring to the sequence diagrams shown in FIGS. 5 to 7, the device management table (70) and the user connection management table (90) shown in FIGS. 8 and 9, the SIP device accommodated in the public access network The operation of the packet transfer device (1) and the like when performing VoIP communication between the terminals (5) will be described.
FIG. 5 is a diagram showing a session establishment sequence between the originating SIP device terminal (5-1) and the terminating SIP device terminal (5-2) in the public access network of FIG. First, the sequence of session establishment and information registration in the table will be described with reference to FIG.

発側SIP装置端末(5−1)は、着側SIP装置端末(5−2)との間でのRTP通信に先立って、SIPサーバ(3)に、セッション確立要求用のSIPメッセージを含むINVITEパケット(セッション確立要求パケット)M1を送信する(101)。上記INVITEパケットM1は、例えば、図12に示すように、IPヘッダの宛先アドレス(DA)にSIPサーバ(3)のIPアドレス、送信元アドレス(SA)に発側SIP装置端末(5−1)のIPアドレスを含み、UDPヘッダにSIP用のポート番号「5060」を含む。尚、図において、#記号に続く文字列は、注釈用として付されたものである。   Prior to the RTP communication with the called-side SIP device terminal (5-2), the calling-side SIP device terminal (5-1) sends an INVITE including a SIP message for session establishment request to the SIP server (3). A packet (session establishment request packet) M1 is transmitted (101). For example, as shown in FIG. 12, the INVITE packet M1 includes the IP address of the SIP server (3) as the destination address (DA) of the IP header and the originating SIP device terminal (5-1) as the source address (SA). And the port number “5060” for SIP is included in the UDP header. In the figure, the character string following the # symbol is attached for annotation.

SIPメッセージは、スタートライン(134)に、メッセージ種類「INVITE」と、着側SIP装置端末(5−2)のURIを含む。メッセージヘッダ部(135)では、メッセージ経路を示すViaヘッダで発側SIP装置端末(5−1)のURIとポート番号を指定し、Toヘッダで要求の宛先識別子、Fromヘッダで要求元識別子、Call−IDでセッションの識別子をそれぞれ指定している。また、メッセージボディ(136)において、cパラメータにより発側SIP装置端末(5−1)のIPアドレスを指定し、mパラメータにより発側SIP装置端末(5−1)におけるデータ受信用のポート番号「50050」を指定している。   The SIP message includes the message type “INVITE” and the URI of the called SIP device terminal (5-2) on the start line (134). In the message header part (135), the URI and port number of the calling SIP device terminal (5-1) are designated by the Via header indicating the message path, the request destination identifier is designated by the To header, the request source identifier is designated by the From header, and Call. -Each session identifier is specified by ID. In the message body (136), the IP address of the originating SIP device terminal (5-1) is designated by the c parameter, and the port number for data reception in the originating SIP device terminal (5-1) is designated by the m parameter. 50050 "is designated.

上記INVITEパケットM1は、パケット転送装置(1)のポート1で受信される。パケット転送装置(1)は、INVITEパケットM1を受信すると、UDPポート番号の値「5060」から、受信パケットがSIPメッセージ用のものと判断する。また、例えば、SIPメッセージのスタートラインを参照して、INVITEパケットであることを判断できる。また、パケット転送装置(1)は、受信されたINVITEパケット内の情報に基づき、発側SIP装置端末(5−1)を特定するためのIPアドレス「100.100.1.1」とデータ受信用のポート番号「50050」とパケット受信した装置ポート(ポート1)の識別情報との対応関係を示す情報を装置管理テーブル(70)に登録する(102)。IPアドレスと、データ受信用のポート番号は、例えば、cパラメータ、mパラメータから抽出することができる。なお、これ以外にも、SIPメッセージ内の適宜の情報から抽出してもよい。また、パケット転送装置(1)は、Fromヘッダから要求元識別子をさらに登録してもよい。装置管理テーブル(70)のエントリのひとつは、例えば、図8に示す状態となる。パケット転送装置(1)は、装置ポート(ポート1)のユーザ接続管理テーブル(90)に従い、アップリンクポート(ポートn)に転送する。
L3SW(2)は、上記INVITEパケットM2を受信すると(103)、ルーティングテーブルに従いSIPサーバ(3)にINVITEパケットM3を送信する(104)。なお、パケットM2、M3の構成はパケットM1と同様とすることができる。本実施の形態の説明では、各パケットをMxで表すが、以下の説明においても、パケット転送装置(1)及びL3SW(2)で転送されるパケットは、ヘッダ等が適宜付加・変更、削除される他、同様の構成とすることができる。
The INVITE packet M1 is received at port 1 of the packet transfer apparatus (1). When receiving the INVITE packet M1, the packet transfer apparatus (1) determines that the received packet is for the SIP message from the value “5060” of the UDP port number. For example, it can be determined that the packet is an INVITE packet by referring to the start line of the SIP message. Further, the packet transfer device (1) receives the IP address “100.100.1.1” and the data for specifying the originating SIP device terminal (5-1) based on the information in the received INVITE packet. The information indicating the correspondence between the port number “50050” for use and the identification information of the device port (port 1) that received the packet is registered in the device management table (70) (102). The IP address and the data reception port number can be extracted from, for example, the c parameter and the m parameter. Besides this, it may be extracted from appropriate information in the SIP message. Further, the packet transfer apparatus (1) may further register a request source identifier from the From header. One of the entries in the device management table (70) is, for example, in the state shown in FIG. The packet transfer device (1) transfers the packet to the uplink port (port n) according to the user connection management table (90) of the device port (port 1).
Upon receiving the INVITE packet M2 (103), the L3SW (2) transmits the INVITE packet M3 to the SIP server (3) according to the routing table (104). The configuration of the packets M2 and M3 can be the same as that of the packet M1. In the description of the present embodiment, each packet is represented by Mx. However, in the following description, headers and the like are appropriately added / changed / deleted for packets transferred by the packet transfer device (1) and the L3SW (2). In addition, the same configuration can be adopted.

SIPサーバ(3)は、INVITEパケットM3を受信すると、SIPメッセージのスタートラインが示す宛先識別子「UserC@aaa.com」に基づき、所定のデータベース及び/又は所定の処理により、着側SIP装置端末(5−2)のIPアドレス「100.100.1.10」を特定する。SIPサーバ(3)は、例えば、図13に示すように、メッセージヘッダに、自サーバをメッセージ経路に加えるための新たなViaヘッダを追加し、パケットM3の宛先アドレスと送信元アドレスを書き換えたINVITEパケットM4を作成し、着側SIP装置端末(5−2)に転送する(105)。L3SW(2)は、上記INVITEパケットM4を受信すると(105)、ルーティングテーブルに従い着側SIP装置端末(5−2)にINVITEパケットM5を送信する(106)。パケット転送装置(1)は上記INVITEパケットM5をポートnを介して受信すると、MACアドレス情報を管理しているポート管理テーブル(80)から出力先ポートを決定し、INVITEパケットM6を、着側SIP装置端末(5−2)に転送する(107)。   When the SIP server (3) receives the INVITE packet M3, the SIP server terminal (3) performs a predetermined database and / or predetermined processing based on the destination identifier “UserC@aaa.com” indicated by the start line of the SIP message. The IP address “100.100.1.10.” Of 5-2) is specified. For example, as shown in FIG. 13, the SIP server (3) adds a new Via header for adding its own server to the message path to the message header, and rewrites the destination address and the source address of the packet M3. The packet M4 is created and transferred to the destination SIP device terminal (5-2) (105). When the L3SW (2) receives the INVITE packet M4 (105), it transmits the INVITE packet M5 to the destination SIP device terminal (5-2) according to the routing table (106). When the packet transfer device (1) receives the INVITE packet M5 via the port n, it determines an output destination port from the port management table (80) managing the MAC address information, and sends the INVITE packet M6 to the destination SIP. Transfer to the device terminal (5-2) (107).

着側SIP装置端末(5−2)が着呼に応答すると、SIPサーバ(3)宛に、SIP応答メッセージを含む200 OKパケットM7が送信される(108)。上記200 OKパケットM7は、例えば、図14に示すように、SIPメッセージのスタートラインでメッセージ種類「200 OK」を示し、メッセージヘッダ部にINVITEパケットM6と同様の情報を含んでいる。また、メッセージボディにおいて、cパラメータにより着側SIP装置端末(5−2)のIPアドレスを指定し、mパラメータにより着側SIP装置端末(5−2)におけるデータ受信用のポート番号「50070」を指定している。   When the incoming SIP device terminal (5-2) responds to the incoming call, a 200 OK packet M7 including an SIP response message is transmitted to the SIP server (3) (108). For example, as shown in FIG. 14, the 200 OK packet M7 indicates the message type “200 OK” on the start line of the SIP message, and includes the same information as the INVITE packet M6 in the message header portion. In the message body, the IP address of the destination SIP device terminal (5-2) is designated by the c parameter, and the port number “50070” for data reception at the destination SIP device terminal (5-2) is designated by the m parameter. It is specified.

上記200 OKパケットM7は、パケット転送装置(1)のポート2で受信される。パケット転送装置(1)は、200 OKパケットM7を受信すると、UDPポート番号の値「5060」から、受信パケットがSIPメッセージ用のものと判断する。また、SIPメッセージのCseq(201)が「INVITE」であることからINVITEパケットに対する200 OKだと判断する。パケット転送装置(1)は、メッセージヘッダのFromヘッダが示す要求元識別子をスヌーピング(又は参照、抽出)し、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致するか判断する。   The 200 OK packet M7 is received at port 2 of the packet transfer apparatus (1). When receiving the 200 OK packet M7, the packet transfer apparatus (1) determines that the received packet is for the SIP message from the value “5060” of the UDP port number. Further, since Cseq (201) of the SIP message is “INVITE”, it is determined that it is 200 OK for the INVITE packet. The packet transfer device (1) snoops (or refers to or extracts) the request source identifier indicated by the From header of the message header, and requests the source device terminal information (70A) registered in the device management table (70). Determine if it matches the identifier.

パケット転送装置(1)は、一致する場合、着側装置端末情報(70B)に着側SIP装置端末UserC(5−2)を特定するためのIPアドレス「100.100.1.10」とポート番号「50070」とを、パケットM7のcパラメータ及びmパラメータより抜き出し、パケット受信した装置ポート(ポート2)の識別情報と対応させて装置管理テーブル(70)のEN1に登録する(109)。また、装置ポート(ポート1)のユーザ接続管理テーブル(90−1)にEN2を登録し、装置ポート(ポート2)のユーザ接続管理テーブル(90−2)にEN2を登録する。例えば、装置管理テーブル(70)のEN1は、図9に示す状態となる。   When the packet transfer device (1) matches, the IP address “100.1000.1.10” and the port for identifying the called-side SIP device terminal UserC (5-2) in the called-side device terminal information (70B) The number “50070” is extracted from the c and m parameters of the packet M7, and is registered in EN1 of the device management table (70) in association with the identification information of the device port (port 2) that received the packet (109). Also, EN2 is registered in the user connection management table (90-1) of the device port (port 1), and EN2 is registered in the user connection management table (90-2) of the device port (port 2). For example, EN1 of the device management table (70) is in the state shown in FIG.

具体的には、パケット転送装置(1)は、装置管理テーブル(70)に記憶された発側装置端末情報の装置ポート(ここではポート1)に対応するユーザ接続管理テーブル(90−1)に、新たなエントリ(EN2)を登録する。例えば、パケット転送装置(1)は、装置管理テーブル(70)に登録された着側装置端末情報のIPアドレス、ポート番号及び装置ポート(ここではポート2)をそれぞれ、ユーザ接続管理テーブル(90−1)の宛先アドレス、宛先ポート及び出力ポートの欄に記憶する。また、パケット転送装置(1)は、装置管理テーブル(70)に登録された発側装置端末情報のIPアドレス及びポート番号をそれぞれ、ユーザ接続管理テーブル(90−1)の送信元アドレス及び送信元ポートの欄に記憶する。パケット転送装置(1)は、登録されたエントリの優先度を、例えば「高」に設定する。   Specifically, the packet transfer device (1) stores in the user connection management table (90-1) corresponding to the device port (here, port 1) of the originating side device terminal information stored in the device management table (70). A new entry (EN2) is registered. For example, the packet transfer device (1) sets the IP address, port number, and device port (port 2 in this case) of the destination device terminal information registered in the device management table (70) to the user connection management table (90-). Stored in the destination address, destination port and output port fields of 1). Further, the packet transfer device (1) uses the IP address and port number of the source device terminal information registered in the device management table (70) as the source address and source of the user connection management table (90-1), respectively. Store in the port column. The packet transfer apparatus (1) sets the priority of the registered entry to “high”, for example.

また、パケット転送装置(1)は、装置管理テーブル(70)に記憶された着側装置端末情報の装置ポート(ここではポート2)に対応するユーザ接続管理テーブル(90−2)に、新たなエントリ(EN2)を登録する。ポート2から受信されるパケットに対しても折り返し転送するように、ユーザ接続管理テーブル(90−1)と宛先及び送信元が逆になるように登録する。例えば、パケット転送装置(1)は、発側装置端末情報のIPアドレス、ポート番号及び装置ポート(ここではポート1)をそれぞれ、ユーザ接続管理テーブル(90−2)の宛先アドレス、宛先ポート及び出力ポートの欄に記憶する。また、パケット転送装置(1)は、着側装置端末情報のIPアドレス及びポート番号をそれぞれ、ユーザ接続管理テーブル(90−2)の送信元アドレス及び送信元ポートの欄に記憶する。パケット転送装置(1)は、登録されたエントリの優先度を、例えば「高」に設定する。   Further, the packet transfer device (1) adds a new one to the user connection management table (90-2) corresponding to the device port (port 2 in this case) of the destination device terminal information stored in the device management table (70). An entry (EN2) is registered. The user connection management table (90-1) is registered so that the destination and the transmission source are reversed so that the packet received from the port 2 is also transferred back. For example, the packet transfer apparatus (1) uses the IP address, port number, and apparatus port (here, port 1) of the originating apparatus terminal information as the destination address, destination port, and output of the user connection management table (90-2), respectively. Store in the port column. Further, the packet transfer device (1) stores the IP address and port number of the destination device terminal information in the source address and source port fields of the user connection management table (90-2), respectively. The packet transfer apparatus (1) sets the priority of the registered entry to “high”, for example.

一方、パケット転送装置(1)は、パケットM7のメッセージヘッダのFromヘッダが示す要求元識別子が、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致しない場合、ユーザ接続管理テーブル(90−1)のEN1に従い、アップリンクポートへ200 OKパケットM8を転送する(110)。L3SW(2)は、上記200 OKパケットM8を受信すると、ルーティングテーブルに従いSIPサーバ(3)に200 OKパケットM9を送信する(111)。   On the other hand, in the packet transfer device (1), the request source identifier indicated by the From header of the message header of the packet M7 matches the request source identifier of the source device terminal information (70A) registered in the device management table (70). If not, the 200 OK packet M8 is transferred to the uplink port according to EN1 of the user connection management table (90-1) (110). When the L3SW (2) receives the 200 OK packet M8, the L3SW (2) transmits the 200 OK packet M9 to the SIP server (3) according to the routing table (111).

SIPサーバ(3)は、200 OKパケットM9を受信すると、例えば、図15に示すように、メッセージヘッダ部からSIPサーバ(3)用のViaヘッダを削除され、IPヘッダの宛先IPアドレスと送信元IPアドレスを書き換えられた、発側SIP装置端末(5−1)宛の200 OKパケットM10を送信する(112)。L3SW(2)は、上記200 OKパケットM10を受信すると、ルーティングテーブルに従い発側SIP装置端末(5−1)に200 OKパケットM11を送信する(113)。パケット転送装置(1)は上記200 OKパケットM11を受信すると、MACアドレス情報を管理しているポート管理テーブルから出力先ポートを決定し、200 OKパケットM12を、発側SIP装置端末(5−1)に転送する(114)。   When the SIP server (3) receives the 200 OK packet M9, for example, as shown in FIG. 15, the Via header for the SIP server (3) is deleted from the message header portion, and the destination IP address and the transmission source of the IP header are deleted. A 200 OK packet M10 addressed to the originating SIP device terminal (5-1) with the rewritten IP address is transmitted (112). When the L3SW (2) receives the 200 OK packet M10, the L3SW (2) transmits the 200 OK packet M11 to the originating SIP device terminal (5-1) according to the routing table (113). When the packet transfer device (1) receives the 200 OK packet M11, the packet transfer device (1) determines an output destination port from the port management table managing the MAC address information, and sends the 200 OK packet M12 to the originating SIP device terminal (5-1). (114).

発側SIP装置端末(5−1)は、上記200 OKパケットM12を受信すると、例えば、図16に示すACKパケットM13を送信する(115)。上記ACKパケットM13は、パケット転送装置(1)で受信される。パケット転送装置(1)は、ACKパケットM13を受信すると、UDPポート番号の値「5060」から、受信パケットがSIPメッセージ用のものと判断し、SIPメッセージのスタートラインでメッセージ種類が「ACK」であるため、アップリンクポートへACKパケットM14を転送する(116)。L3SW(2)は、上記ACKパケットM14を受信すると、ルーティングテーブルに従いSIPサーバにACKパケットM15を送信する(117)。   When the originating SIP device terminal (5-1) receives the 200 OK packet M12, for example, it transmits an ACK packet M13 shown in FIG. 16 (115). The ACK packet M13 is received by the packet transfer device (1). When receiving the ACK packet M13, the packet transfer apparatus (1) determines that the received packet is for the SIP message from the value “5060” of the UDP port number, and the message type is “ACK” at the start line of the SIP message. Therefore, the ACK packet M14 is transferred to the uplink port (116). When the L3SW (2) receives the ACK packet M14, the L3SW (2) transmits the ACK packet M15 to the SIP server according to the routing table (117).

SIPサーバ(3)は、ACKパケットM15を受信すると、SIPメッセージのスタートライン又はToヘッダが示す宛先識別子「UserC@aaa.com」から着側SIP装置端末(5−2)のIPアドレス「100.100.1.10」を特定する。SIPサーバ(3)は、例えば、図17に示すように、メッセージヘッダに、自サーバをメッセージ経路に加えるための新たなViaヘッダを追加し、パケットM15の宛先アドレスと送信元アドレスを書き換えたACKパケットM16を、着側SIP装置端末(5−2)に転送する(118)。L3SW(2)は、上記ACKパケットM16を受信すると、ルーティングテーブルに従い着側SIP装置端末(5−2)にACKパケットM17を送信する(119)。   When the SIP server (3) receives the ACK packet M15, the SIP server terminal (5-2) receives the IP address “100.100” from the destination identifier “UserC@aaa.com” indicated by the start line or To header of the SIP message. “100.1.10” is specified. For example, as shown in FIG. 17, the SIP server (3) adds a new Via header for adding its own server to the message path in the message header, and rewrites the destination address and the source address of the packet M15. The packet M16 is transferred to the destination SIP device terminal (5-2) (118). When the L3SW (2) receives the ACK packet M16, the L3SW (2) transmits the ACK packet M17 to the destination SIP device terminal (5-2) according to the routing table (119).

パケット転送装置(1)は上記ACKパケットM17を受信すると、MACアドレス情報を管理しているポート管理テーブル(80)から出力先ポートを決定し、ACKパケットM18として、着側SIP装置端末(5−2)に転送する(120)。
図6は、本実施の形態のパケット転送装置によるRTPパケットの転送シーケンスを示す図である。次に、図6を参照して、発側SIP装置端末(5−1)と着側SIP装置端末(5−2)との間における、音声データ等のRTPパケットの転送シーケンスについて説明する。
When the packet transfer device (1) receives the ACK packet M17, it determines an output destination port from the port management table (80) that manages the MAC address information, and uses it as the ACK packet M18 as the destination SIP device terminal (5- 2) (120).
FIG. 6 is a diagram showing an RTP packet transfer sequence by the packet transfer apparatus according to the present embodiment. Next, a transfer sequence of RTP packets such as voice data between the calling-side SIP device terminal (5-1) and the called-side SIP device terminal (5-2) will be described with reference to FIG.

発側SIP装置端末(5−1)は、例えば、図18に示すように、宛先IPアドレスに着側SIP装置端末(5−2)のIPアドレス「100.100.1.10」、UDP宛先ポート「50070」を含むRTPパケットD1を送信する(201)。
パケット転送装置(1)は、上記RTPパケットD1をポート1から受信すると、ユーザ接続管理テーブル(ポート1)(90−1)からパケットD1の宛先IPアドレス「100.100.1.10」に該当するエントリを検索する。ここでは、高優先のEN2が選択される。パケット転送装置(1)は、該当するエントリの登録情報に従って受信パケットをチェックする。この場合、RTPパケットD1の送信元IPアドレス「100.100.1.1」、宛先ポート番号「50070」、送信元ポート番号「50050」は、エントリEN2が示す登録条件を満たしているため、パケット転送装置(1)は、出力ポート情報に従い、ポート2を介してRTPパケットD2を着側SIP装置端末(5−2)に折り返し転送する(202)。
For example, as shown in FIG. 18, the calling-side SIP device terminal (5-1) has a destination IP address with the IP address “100.1000.1.10” of the called-side SIP device terminal (5-2), a UDP destination. The RTP packet D1 including the port “50070” is transmitted (201).
When the packet transfer apparatus (1) receives the RTP packet D1 from the port 1, the packet transfer apparatus (1) corresponds to the destination IP address “100.100.1.10” of the packet D1 from the user connection management table (port 1) (90-1). Search for the entry you want. Here, high priority EN2 is selected. The packet transfer device (1) checks the received packet according to the registration information of the corresponding entry. In this case, since the source IP address “100.100.1.1”, the destination port number “50070”, and the source port number “50050” of the RTP packet D1 satisfy the registration conditions indicated by the entry EN2, the packet In accordance with the output port information, the transfer device (1) loops back and transfers the RTP packet D2 to the destination SIP device terminal (5-2) via the port 2 (202).

一方、着側SIP装置端末(5−2)は、例えば、図19に示すように、宛先IPアドレスに発側SIP装置端末(5−1)のIPアドレス「100.100.1.1」、UDP宛先ポート番号「50050」を含むRTPパケットD3を送信する(203)。
パケット転送装置(1)は、上記RTPパケットD3をポート2から受信すると、ユーザ接続管理テーブル(ポート2)(90−2)からパケットD3の宛先IPアドレス「100.100.1.1」に該当するエントリを検索する。ここでは、高優先のEN2が選択される。パケット転送装置(1)は、該当するエントリの登録情報に従って受信パケットをチェックする。この場合、RTPパケットD3の送信元IPアドレス「100.100.1.10」、宛先ポート番号「50050」、送信元ポート番号「50070」は、エントリEN2が示す登録条件を満たしているため、パケット転送装置(1)は、出力ポート情報に従い、ポート1を介してRTPパケットD4を発側SIP装置端末(5−1)に折り返し転送する(204)。なお、発側SIP装置端末(5−1)、着側SIP装置端末(5−2)間以外のパケットは、ユーザ接続管理テーブル(ポート1)(90−1)、ユーザ接続管理テーブル(ポート2)(90−2)のエントリEN1に該当するため、アップリンクポートへ転送される。
On the other hand, the destination SIP device terminal (5-2), for example, as shown in FIG. 19, the IP address “100.100.1.1” of the calling party SIP device terminal (5-1) as the destination IP address, The RTP packet D3 including the UDP destination port number “50050” is transmitted (203).
When the packet transfer apparatus (1) receives the RTP packet D3 from the port 2, it corresponds to the destination IP address “100.100.1.1” of the packet D3 from the user connection management table (port 2) (90-2). Search for the entry you want. Here, high priority EN2 is selected. The packet transfer device (1) checks the received packet according to the registration information of the corresponding entry. In this case, the source IP address “100.100.1.10”, the destination port number “50050”, and the source port number “50070” of the RTP packet D3 satisfy the registration condition indicated by the entry EN2, and thus the packet In accordance with the output port information, the transfer device (1) loops back and transfers the RTP packet D4 to the originating SIP device terminal (5-1) via the port 1 (204). Packets other than those between the originating SIP device terminal (5-1) and the terminating SIP device terminal (5-2) are stored in the user connection management table (port 1) (90-1) and the user connection management table (port 2). ) Since it corresponds to the entry EN1 of (90-2), it is transferred to the uplink port.

図7は、発側SIP装置端末(5−1)と着側SIP装置端末(5−2)との間のセッション切断シーケンスを示す図である。次に、図7を参照して、セッションの切断及びテーブルからの情報の削除のシーケンスについて説明する。
例えば、発側SIP装置端末(5−1)のユーザがセッションの切断操作をした場合、発側SIP装置端末(5−1)からセッション切断用のSIPメッセージを含むBYEパケットM19が送信される(301)。この場合のBYEパケットM19は、例えば、図20に示すように、ACKパケットM13と同様のIPヘッダ、UDPヘッダを有し、SIPメッセージのスタートラインに、メッセージ種類「BYE」と、着側SIP装置端末(5−2)のIPアドレス「100.100.1.10」を含む。パケット転送装置(1)は、上記BYEパケットM19をポート1から受信すると、UDPポート番号から受信パケットがSIPメッセージ用のものと判定する。また、パケット転送装置1は、メッセージヘッダのFromヘッダが示す要求元識別子をスヌーピングし、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致するか判断する。一致する場合、該当エントリEN1を削除し、ユーザ接続管理テーブル(ポート1)(90−1)のEN2とユーザ接続管理テーブル(ポート2)のEN2を削除する(302)。ユーザ接続管理テーブル(90−1)、(90−2)のいずれのエントリを削除するかは、例えば、装置管理テーブル(70)のエントリ1に記憶された情報に基づき特定できる。パケット転送装置(1)は、ユーザ接続管理テーブル(ポート1)のEN1に従い、アップリンクポートへBYEパケットM20を転送する(303)。
FIG. 7 is a diagram showing a session disconnection sequence between the originating SIP device terminal (5-1) and the terminating SIP device terminal (5-2). Next, with reference to FIG. 7, the sequence of session disconnection and information deletion from the table will be described.
For example, when the user of the originating SIP device terminal (5-1) disconnects the session, the BYE packet M19 including the SIP message for session disconnection is transmitted from the originating SIP device terminal (5-1) ( 301). The BYE packet M19 in this case has, for example, the same IP header and UDP header as the ACK packet M13 as shown in FIG. 20, and the message type “BYE” and the destination SIP device are included in the start line of the SIP message. The IP address “100.100.1.10.” Of the terminal (5-2) is included. When the packet transfer apparatus (1) receives the BYE packet M19 from the port 1, the packet transfer apparatus (1) determines that the received packet is for the SIP message from the UDP port number. In addition, the packet transfer apparatus 1 snoops the request source identifier indicated by the From header of the message header, and determines whether or not it matches the request source identifier of the source apparatus terminal information (70A) registered in the apparatus management table (70). To do. If they match, the entry EN1 is deleted, and EN2 in the user connection management table (port 1) (90-1) and EN2 in the user connection management table (port 2) are deleted (302). Which entry in the user connection management table (90-1) or (90-2) is to be deleted can be specified based on, for example, information stored in entry 1 of the device management table (70). The packet transfer apparatus (1) transfers the BYE packet M20 to the uplink port according to EN1 of the user connection management table (port 1) (303).

一方、メッセージヘッダのFromヘッダが示す要求元識別子が、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致しない場合、例えば、ユーザ接続管理テーブル(ポート1)のEN1に従い、アップリンクポートへBYEパケットM20を転送する(303)。L3SW(2)は、上記BYEパケットM20を受信すると、ルーティングテーブルに従いSIPサーバにBYEパケットM21を送信する(304)。   On the other hand, when the request source identifier indicated by the From header of the message header does not match the request source identifier of the source device terminal information (70A) registered in the device management table (70), for example, the user connection management table (port In accordance with EN1 of 1), the BYE packet M20 is transferred to the uplink port (303). When the L3SW (2) receives the BYE packet M20, the L3SW (2) transmits the BYE packet M21 to the SIP server according to the routing table (304).

SIPサーバ(3)は、BYEパケットM21を受信すると、SIPメッセージのスタートライン又はToヘッダが示す宛先識別子「UserC@aaa.com」から着側SIP装置端末(5−2)のIPアドレス「100.100.1.10」を特定する。また、SIPサーバ(3)は、例えば、図21に示すように、メッセージヘッダに、自サーバをメッセージ経路に加えるための新たなViaヘッダを追加し、BYEパケットM21の宛先アドレスと送信元アドレスを書き換えたBYEパケットM22を、着側SIP装置端末(5−2)に転送する(305)。L3SW(2)は、上記BYEパケットM22を受信すると、ルーティングテーブルに従い着側SIP装置端末(5−2)にBYEパケットM23を送信する(306)。パケット転送装置(1)は、上記BYEパケットM23をポートnを介して受信すると、MACアドレス情報を管理しているポート管理テーブル(80)から出力先ポートを決定し、BYEパケットM24を、着側SIP装置端末(5−2)に転送する(307)。   When the SIP server (3) receives the BYE packet M21, the SIP server terminal (5-2) receives the IP address “100.2” from the destination identifier “UserC@aaa.com” indicated by the start line or To header of the SIP message. “100.1.10” is specified. Further, for example, as shown in FIG. 21, the SIP server (3) adds a new Via header for adding the server to the message path to the message header, and sets the destination address and the source address of the BYE packet M21. The rewritten BYE packet M22 is transferred to the destination SIP device terminal (5-2) (305). When the L3SW (2) receives the BYE packet M22, the L3SW (2) transmits the BYE packet M23 to the destination SIP apparatus terminal (5-2) according to the routing table (306). When the packet transfer apparatus (1) receives the BYE packet M23 via the port n, the packet transfer apparatus (1) determines the output destination port from the port management table (80) managing the MAC address information, and sends the BYE packet M24 to the destination side. Transfer to the SIP device terminal (5-2) (307).

着側SIP装置端末(5−2)は、上記BYEパケットM24を受信すると、SIPサーバ(3)宛に、SIP応答メッセージを含む200 OKパケットM25を送信する(308)。上記200 OKパケットM25は、例えば、図22に示すように、SIPメッセージのスタートラインでメッセージ種類「200 OK」を示し、メッセージヘッダ部にBYEパケットM24と同様の情報を含む。   Upon receiving the BYE packet M24, the terminating SIP device terminal (5-2) transmits a 200 OK packet M25 including a SIP response message to the SIP server (3) (308). For example, as shown in FIG. 22, the 200 OK packet M25 indicates the message type “200 OK” on the start line of the SIP message, and includes the same information as the BYE packet M24 in the message header portion.

上記200 OKパケットM25は、パケット転送装置(1)のポート2で受信される。パケット転送装置(1)は、200 OKパケットM25を受信すると、UDPポート番号の値「5060」から、受信パケットがSIPメッセージ用のものと判断し、SIPメッセージのCseq(202)が「BYE」であることから、BYEパケットに対する200 OKだと判断し、アップリンクポートへ200 OKパケットM26を転送する(309)。L3SW(2)は、上記200 OKパケットM26を受信すると、ルーティングテーブルに従いSIPサーバに200 OKパケットM27を送信する(310)。   The 200 OK packet M25 is received at port 2 of the packet transfer apparatus (1). When receiving the 200 OK packet M25, the packet transfer apparatus (1) determines that the received packet is for the SIP message from the value “5060” of the UDP port number, and Cseq (202) of the SIP message is “BYE”. Therefore, it is determined that it is 200 OK for the BYE packet, and the 200 OK packet M26 is transferred to the uplink port (309). When the L3SW (2) receives the 200 OK packet M26, the L3SW (2) transmits the 200 OK packet M27 to the SIP server according to the routing table (310).

SIPサーバ(3)は、200 OKパケットM27を受信すると、例えば、図23に示すように、メッセージヘッダ部からSIPサーバ(3)用のViaヘッダが削除され、IPヘッダの宛先IPアドレスと送信元IPアドレスが書き換えられた、発側SIP装置端末(5−1)宛の200 OKパケットM28を送信する(311)。L3SW(2)は、上記200 OKパケットM28を受信すると、ルーティングテーブルに従い発側SIP装置端末(5−1)に200 OKパケットM29を送信する(312)。パケット転送装置(1)はポートnを介して上記200 OKパケットM29を受信すると、MACアドレス情報を管理しているポート管理テーブル(80)から出力先ポートを決定し、200 OKパケットM30として、発側SIP装置端末(5−1)に転送する(313)。   When the SIP server (3) receives the 200 OK packet M27, for example, as shown in FIG. 23, the Via header for the SIP server (3) is deleted from the message header portion, and the destination IP address and the transmission source of the IP header are deleted. A 200 OK packet M28 addressed to the originating SIP device terminal (5-1) with the rewritten IP address is transmitted (311). When the L3SW (2) receives the 200 OK packet M28, the L3SW (2) transmits the 200 OK packet M29 to the originating SIP device terminal (5-1) according to the routing table (312). When the packet transfer device (1) receives the 200 OK packet M29 via the port n, it determines the output destination port from the port management table (80) that manages the MAC address information, and outputs it as a 200 OK packet M30. Transfer to the side SIP device terminal (5-1) (313).

図10は、上述したパケット転送装置(1)で折り返し転送を実現するために必要なパケット転送制御プログラム(60)のフローチャートを示す。以下の処理は、例えば、制御部(40)のプロセッサ(110)がメモリ(50)に記憶された、パケット転送制御プログラム(60)を読み出して実行することができる。   FIG. 10 shows a flowchart of the packet transfer control program (60) necessary for realizing the return transfer in the packet transfer apparatus (1) described above. For example, the processor (110) of the control unit (40) can read and execute the following processing from the packet transfer control program (60) stored in the memory (50).

パケット転送制御プログラム(60)では、プロトコル処理部(30)から受信パケットを読み出し、受信ルートが端末接続ポートからの受信であれば(S61)、受信パケットがSIPメッセージ用のものか否かを判定する(S62)。SIP用のパケットであれば(S62)、スヌーピング制御メッセージ処理を実行する(S100)。処理の詳細は後述する。一方、受信パケットがSIP用のパケットでなければ(S62)、ユーザ接続管理テーブル(90)から宛先IPアドレスに該当するエントリを検索する。ユーザ接続管理テーブル(90)に該当するエントリがあった場合、送信元IPアドレス、宛先ポート番号、送信元ポート番号を判定し、出力先ポートを決定する(S63)。該当するエントリがなかった場合、スタティック設定されたアップリンクポートを出力先ポートとして決定する(S63)。出力先ポートが決まれば、受信パケットを出力ポートへ転送する(S66)。
一方、受信ルートがアップリンクポートからの受信であれば(S61)、MACアドレス情報を管理しているポート管理テーブル(80)から出力先ポートを決定し(S65)、出力先ポートが決まれば、受信パケットを出力ポートへ転送する(S66)。
In the packet transfer control program (60), the received packet is read from the protocol processing unit (30), and if the reception route is reception from the terminal connection port (S61), it is determined whether the received packet is for a SIP message. (S62). If it is a SIP packet (S62), snooping control message processing is executed (S100). Details of the processing will be described later. On the other hand, if the received packet is not a SIP packet (S62), the user connection management table (90) is searched for an entry corresponding to the destination IP address. If there is a corresponding entry in the user connection management table (90), the source IP address, the destination port number, and the source port number are determined, and the output destination port is determined (S63). If there is no corresponding entry, a statically set uplink port is determined as an output destination port (S63). If the output destination port is determined, the received packet is transferred to the output port (S66).
On the other hand, if the reception route is reception from the uplink port (S61), the output destination port is determined from the port management table (80) managing the MAC address information (S65), and if the output destination port is determined, The received packet is transferred to the output port (S66).

図11は、スヌーピング制御メッセージ処理(100)の詳細を示す。
スヌーピング制御メッセージ処理(100)では、受信パケットに含まれるSIPメッセージのメッセージ種別を判定する(S101)。
受信メッセージが、例えば、INVITEメッセージの場合(S101)、パケット転送装置(1)は、SIPメッセージのメッセージヘッダに指定されている発側IPアドレス、発側ポート番号と接続ポート番号を対応付けした発側装置端末情報を装置管理テーブル(70)にエントリ登録する(S102)。
受信メッセージが、200 OKパケットM25の場合(S101)、SIPメッセージのメッセージヘッダに指定されているCseq(Command sequence)のメソッド名がINVITE(201)であれば、INVITEメッセージに対する200 OKメッセージであると判断し、ステップS103の処理を実行する。例えば、パケット転送装置(1)は、着側IPアドレス、着側ポート番号と接続ポート番号を対応付けした着側装置端末情報を装置管理テーブル(70)にエントリ登録する(S103)。また、接続ポート単位に保持するユーザ接続管理テーブル(90)に、出力先ポートを決定するための宛先アドレスと発信元アドレスと宛先ポート番号と発信元ポート番号と出力先ポートと優先度との関係を示すエントリを登録する(S103)。
受信メッセージが、例えば、BYEメッセージの場合(S101)、装置管理テーブル(70)からSIPメッセージのメッセージヘッダに指定されている要求元識別子をもつエントリを削除し、関連するユーザ接続管理テーブルのエントリを削除する(S104)。
受信メッセージが、BYEに対する200 OKか、その他のメッセージ、パケットの場合(S101)、次の処理(S63)へ移る。
FIG. 11 shows the details of the snooping control message processing (100).
In the snooping control message process (100), the message type of the SIP message included in the received packet is determined (S101).
For example, when the received message is an INVITE message (S101), the packet transfer apparatus (1) sends the source IP address, the source port number specified in the message header of the SIP message, and the connection port number. The side device terminal information is registered as an entry in the device management table (70) (S102).
If the received message is a 200 OK packet M25 (S101), if the method name of Cseq (Command sequence) specified in the message header of the SIP message is INVITE (201), it is a 200 OK message for the INVITE message. Judgment is made and the process of step S103 is executed. For example, the packet transfer apparatus (1) registers an entry in the apparatus management table (70) for the called-side apparatus terminal information in which the called-side IP address, the called-side port number and the connection port number are associated (S103). Further, in the user connection management table (90) held for each connection port, the relationship among the destination address, the source address, the destination port number, the source port number, the output destination port, and the priority for determining the output destination port Is registered (S103).
For example, when the received message is a BYE message (S101), the entry having the request source identifier specified in the message header of the SIP message is deleted from the device management table (70), and the entry of the related user connection management table is deleted. Delete (S104).
If the received message is 200 OK for BYE, or another message or packet (S101), the process proceeds to the next process (S63).

(多段構成における処理例)
上述の説明では、ひとつのパケット転送装置(1)に端末(5−1)、(5−2)が接続された例について説明したが、例えば図1のようにパケット転送装置(1)が多段に接続された場合においても、各パケット転送装置が上述の処理のように動作することで、パケット転送装置での折り返し転送ができる。
(Example of processing in a multi-stage configuration)
In the above description, the example in which the terminals (5-1) and (5-2) are connected to one packet transfer device (1) has been described. For example, as shown in FIG. Even when connected to the network, each packet transfer apparatus operates as described above, so that the packet transfer apparatus can perform return transfer.

以下、図1のように、2段に接続された場合の処理について説明する。この例では、説明の便宜上、発側SIP装置端末(5−1)がパケット転送装置(1−1)のポート1に接続され、着側SIP装置端末(5−2)がパケット転送装置(1−2)のポート2(例えば、UserEの位置)に接続されているものとして説明する。また、この例では、パケット転送装置(1−3)のポート1がパケット転送装置(1−1)に、ポート2がパケット転送装置(1−3)に、ポートnがL3SW(2)に接続されているものとする。
図24、図25は、多段接続された各パケット転送装置における装置管理テーブル(70)及びユーザ接続管理テーブル(90)の例である。
In the following, processing when two stages are connected as shown in FIG. 1 will be described. In this example, for convenience of explanation, the originating SIP device terminal (5-1) is connected to port 1 of the packet forwarding device (1-1), and the terminating SIP device terminal (5-2) is connected to the packet forwarding device (1). -2) is assumed to be connected to port 2 (for example, the position of UserE). In this example, port 1 of the packet transfer device (1-3) is connected to the packet transfer device (1-1), port 2 is connected to the packet transfer device (1-3), and port n is connected to L3SW (2). It is assumed that
24 and 25 are examples of a device management table (70) and a user connection management table (90) in each packet transfer device connected in multiple stages.

発側SIP装置端末(5−1)からのINVITEパケットは、パケット転送装置(1−1)のポート1で受信される。パケット転送装置(1−1)は、上述の処理102と同様に、発側SIP装置端末(5−1)のIPアドレス「100.100.1.1」とデータ受信用のポート番号「50050」とパケット受信した装置ポート(ポート1)の識別情報との対応関係を示す情報を装置管理テーブル(70)の発側装置端末情報に登録する。図24(a)に、パケット転送装置(1−1)の装置管理テーブルの例を示す。また、パケット転送装置(1−1)は、アップリンクポートnを介してパケット転送装置(1−3)にINVITEパケットを転送する。   The INVITE packet from the originating SIP device terminal (5-1) is received at port 1 of the packet transfer device (1-1). The packet transfer device (1-1), like the processing 102 described above, has the IP address “100.100.1.1” of the originating SIP device terminal (5-1) and the data reception port number “50050”. And information indicating the correspondence between the identification information of the device port (port 1) that received the packet is registered in the originating device terminal information of the device management table (70). FIG. 24A shows an example of a device management table of the packet transfer device (1-1). The packet transfer apparatus (1-1) transfers the INVITE packet to the packet transfer apparatus (1-3) via the uplink port n.

パケット転送装置(1−3)は、INVITEパケットをポート1で受信し、上述の処理102と同様に、発側SIP装置端末(5−1)のIPアドレスとデータ受信用のポート番号とパケット受信した装置ポート(ポート1)の識別情報とを装置管理テーブル(70)の発側装置端末情報に登録する。図25(a)に、パケット転送装置(1−3)の装置管理テーブルの例を示す。INVITEパケットは、上述と同様に,SIPサーバを経由して着側SIP装置端末(5−2)で受信される。   The packet transfer apparatus (1-3) receives the INVITE packet at the port 1, and receives the IP address of the originating SIP apparatus terminal (5-1), the port number for data reception, and the packet reception in the same manner as the processing 102 described above. The device port (port 1) identification information is registered in the source device terminal information of the device management table (70). FIG. 25A shows an example of a device management table of the packet transfer device (1-3). The INVITE packet is received by the destination SIP device terminal (5-2) via the SIP server in the same manner as described above.

着側SIP装置端末(5−2)は、上述の処理108と同様に、SIPサーバ(3)宛に、SIP応答メッセージを含む200 OKパケットを送信する。上記200 OKパケットは、パケット転送装置(1−2)のポート2で受信される。パケット転送装置(1−2)は、メッセージヘッダのFromヘッダが示す要求元識別子をスヌーピングし、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致するか判断する。ここで、パケット転送装置(1−2)の装置管理テーブル(70)には、図24(b)に示すように発側装置端末情報が登録されていないので、200 OKパケットをポートnを介してパケット転送装置(1−3)に転送する。   The called-side SIP device terminal (5-2) transmits a 200 OK packet including the SIP response message to the SIP server (3) in the same manner as the processing 108 described above. The 200 OK packet is received at port 2 of the packet transfer apparatus (1-2). The packet transfer device (1-2) snoops the request source identifier indicated by the From header of the message header, and matches the request source identifier of the source device terminal information (70A) registered in the device management table (70). Judge. Here, since the originating device terminal information is not registered in the device management table (70) of the packet transfer device (1-2) as shown in FIG. 24 (b), the 200 OK packet is transmitted via the port n. To the packet transfer device (1-3).

上記200 OKパケットは、パケット転送装置(1−3)のポート2で受信される。パケット転送装置(1−3)は、メッセージヘッダのFromヘッダが示す要求元識別子をスヌーピングし、装置管理テーブル(70)に登録されている発側装置端末情報(70A)の要求元識別子と一致するか判断する。ここでは、図25(a)に示すように、要求元識別子が一致する発側装置端末情報があるため、パケット転送装置(1−3)は、上述の処理109と同様に、着側装置端末情報(70B)に着側SIP装置端末(5−2)のIPアドレスと、ポート番号と、パケット受信した装置ポート(ポート2)の識別情報とを装置管理テーブル(70)のEN1に登録する(図25(b))。また、パケット転送装置(1−3)は、装置管理テーブル(70)に発側装置端末情報(70A)と着側装置端末情報(70B)が登録されているので、上述と同様に各情報(70A)及び(70B)をユーザ接続管理テーブル(90−1)、(90−2)に登録する(図25(c)、(d))。   The 200 OK packet is received at port 2 of the packet transfer apparatus (1-3). The packet transfer device (1-3) snoops the request source identifier indicated by the From header of the message header, and matches the request source identifier of the source device terminal information (70A) registered in the device management table (70). Judge. Here, as shown in FIG. 25 (a), since there is the originating side device terminal information with the matching request source identifier, the packet forwarding device (1-3), like the processing 109 described above, In the information (70B), the IP address of the destination SIP device terminal (5-2), the port number, and the identification information of the device port (port 2) that received the packet are registered in EN1 of the device management table (70) ( FIG. 25 (b)). Further, since the packet transmission device (1-3) has the source device terminal information (70A) and the destination device terminal information (70B) registered in the device management table (70), each information ( 70A) and (70B) are registered in the user connection management tables (90-1) and (90-2) (FIGS. 25 (c) and (d)).

一方、パケット転送装置(1−1)では、端末側のポートからINVITEパケットに対する200 OKパケットを受信しないため、装置管理テーブル(70)は図24(a)のままとなる。着信側装置端末情報(70B)が登録されないため、ユーザ接続管理テーブルに新たな情報が登録されない。
上述のように、パケット転送装置(1−1)、(1−2)ではユーザ接続管理テーブルに情報が登録されないため、アップリンクVLAN設定に従い、端末側のポート1及び2から受信されたパケットはアップリンクポートnへ転送される。一方、パケット転送装置(1−3)では、図25(c)及び(d)に示すようにユーザ管理テーブルに情報が登録されるため、発側SIP装置端末(5−1)と着側SIP装置端末(5−2)間のパケットをパケット転送装置(1−3)で折り返し転送して通信することができる。
以上のように、同様の動作プログラムを有するパケット転送装置を用いて多段接続されたネットワークを構成することができる。
On the other hand, since the packet transfer apparatus (1-1) does not receive the 200 OK packet for the INVITE packet from the port on the terminal side, the apparatus management table (70) remains as shown in FIG. Since the receiving-side device terminal information (70B) is not registered, new information is not registered in the user connection management table.
As described above, since information is not registered in the user connection management table in the packet transfer apparatuses (1-1) and (1-2), packets received from the ports 1 and 2 on the terminal side according to the uplink VLAN setting are Forwarded to uplink port n. On the other hand, in the packet transfer apparatus (1-3), since information is registered in the user management table as shown in FIGS. 25 (c) and 25 (d), the originating SIP apparatus terminal (5-1) and the terminating SIP are registered. Packets between the device terminals (5-2) can be transferred back by the packet transfer device (1-3) for communication.
As described above, it is possible to configure a multi-stage connected network using packet transfer apparatuses having similar operation programs.

(ネットワーク構成例)
図26は、上述のスヌーピング機能を備えたパケット転送装置(1)が多段に構成された広域L2スイッチネットワーク(公衆アクセス網)でのVoIP通信例を示す。
ネットワーク全体で考察した場合、下位ネットワークで折り返し転送することができるため、ネットワーク全体のトラフィックリソースおよび転送遅延時間の低減、L3SW(2)の輻輳解除に繋がり有効である。
(Network configuration example)
FIG. 26 shows an example of VoIP communication in a wide area L2 switch network (public access network) in which the packet transfer apparatus (1) having the snooping function described above is configured in multiple stages.
Considering the entire network, since it can be transferred back in the lower network, it is effective in reducing the traffic resources and transfer delay time of the entire network and releasing congestion of the L3SW (2).

本発明は、例えば、アップリンクVLAN設定された通信システムに利用可能である。また、本発明は、例えば、同一ドメインを構成するアクセス網に利用可能である。   The present invention can be used, for example, in a communication system in which an uplink VLAN is set. In addition, the present invention can be used for, for example, access networks constituting the same domain.

本実施の形態の通信システムの構成図。The block diagram of the communication system of this Embodiment. 本実施の形態のパケット転送装置が適用される通信ネットワークの1例を示す図。The figure which shows an example of the communication network to which the packet transfer apparatus of this Embodiment is applied. 本実施の形態のパケット転送装置の構成を示す図。The figure which shows the structure of the packet transfer apparatus of this Embodiment. SIPメッセージのパケットフォーマットを示す図。The figure which shows the packet format of a SIP message. 図2の公衆アクセス網における発側SIP装置端末(5−1)と着側SIP装置端末(5−2)との間のセッション確立シーケンスを示す図。The figure which shows the session establishment sequence between the originating side SIP apparatus terminal (5-1) and the destination side SIP apparatus terminal (5-2) in the public access network of FIG. 本実施の形態のパケット転送装置によるRTPパケットの転送シーケンスを示す図。The figure which shows the transfer sequence of the RTP packet by the packet transfer apparatus of this Embodiment. 発側SIP装置端末(5−1)と着側SIP装置端末(5−2)との間のセッション切断シーケンスを示す図。The figure which shows the session cutting | disconnection sequence between an origination side SIP apparatus terminal (5-1) and an arrival side SIP apparatus terminal (5-2). 本実施の形態のパケット転送装置が備える装置管理テーブル(70)とユーザ接続管理テーブル(90)の内容を示す図(図5:テーブル登録1)。The figure which shows the content of the apparatus management table (70) with which the packet transfer apparatus of this Embodiment is provided, and a user connection management table (90) (FIG. 5: Table registration 1). 本実施の形態のパケット転送装置が備える装置管理テーブル(70)とユーザ接続管理テーブル(90)の内容を示す図(図5:テーブル登録2)。The figure which shows the content of the apparatus management table (70) with which the packet transfer apparatus of this Embodiment is provided, and a user connection management table (90) (FIG. 5: Table registration 2). パケット転送制御プログラム(60)のフローチャート。The flowchart of a packet transfer control program (60). SIPスヌーピング制御メッセージ処理プログラム(100)のフローチャート。The flowchart of a SIP snooping control message processing program (100). 図5におけるINVITEパケットM1の1例を示す図。The figure which shows one example of the INVITE packet M1 in FIG. 図5におけるINVITEパケットM4の1例を示す図。The figure which shows an example of the INVITE packet M4 in FIG. 図5における200 OKパケットM7の1例を示す図。The figure which shows an example of the 200 OK packet M7 in FIG. 図5における200 OKパケットM10の1例を示す図。The figure which shows one example of the 200 OK packet M10 in FIG. 図5におけるACKパケットM13の1例を示す図。The figure which shows one example of the ACK packet M13 in FIG. 図5におけるACKパケットM16の1例を示す図。The figure which shows one example of the ACK packet M16 in FIG. 図6におけるRTPパケットD1の1例を示す図。The figure which shows one example of the RTP packet D1 in FIG. 図6におけるRTPパケットD3の1例を示す図。The figure which shows one example of the RTP packet D3 in FIG.

図7におけるBYEパケットM19の1例を示す図。The figure which shows an example of the BYE packet M19 in FIG. 図7におけるBYEパケットM22の1例を示す図。The figure which shows one example of the BYE packet M22 in FIG. 図7における200 OKパケットM25の1例を示す図。The figure which shows one example of the 200 OK packet M25 in FIG. 図7における200 OKパケットM28の1例を示す図。The figure which shows an example of the 200 OK packet M28 in FIG. 多段接続された各パケット転送装置における装置管理テーブル(70)及びユーザ接続管理テーブル(90)の例(1)を示す図。The figure which shows the example (1) of the apparatus management table (70) and user connection management table (90) in each packet transfer apparatus connected in multistage. 多段接続された各パケット転送装置における装置管理テーブル(70)及びユーザ接続管理テーブル(90)の例(2)を示す図。The figure which shows the example (2) of the apparatus management table (70) and user connection management table (90) in each packet transfer apparatus connected in multistage. 大規模ネットワークに本発明のパケット転送装置が適用される通信ネットワークの1例を示す図。The figure which shows an example of the communication network to which the packet transfer apparatus of this invention is applied to a large-scale network.

符号の説明Explanation of symbols

1 パケット転送装置
2 L3SW
3 SIPサーバ
4 WEBサーバ
5 SIP装置端末
6 WEBホスト
10 装置ポート
20 回線インタフェース
30 プロトコル処理部
40 制御部
50 メモリ
60 パケット転送制御プログラム
70 装置管理テーブル
80 ポート管理テーブル
90 ユーザ接続管理テーブル
100 スヌーピング制御メッセージ処理プログラム
110 プロセッサ
120 制御装置
1 Packet transfer device 2 L3SW
3 SIP server 4 WEB server 5 SIP device terminal 6 WEB host 10 device port 20 line interface 30 protocol processing unit 40 control unit 50 memory 60 packet transfer control program 70 device management table 80 port management table 90 user connection management table 100 snooping control message Processing program 110 Processor 120 Controller

Claims (8)

第1のパケット転送装置と、前記第1のパケット転送装置、及び、サーバ又はネットワーク間で、パケットのルーティングを行う第2のパケット転送装置とを備え、前記第1のパケット転送装置が、第1の端末と通信するための第1のポート及び/又は第2の端末と通信するための第2のポートから入力されるパケットを、前記第2のパケット転送装置と通信するための第3のポートへ転送し、前記第2のパケット転送装置が該パケットを受信して、前記第1のパケット転送装置へ返送し、前記第1のパケット転送装置が前記第2のパケット転送装置からの該パケットを宛先情報に従い転送することにより、第1の端末と第2の端末間の通信を実現する通信システムにおける前記第1のパケット転送装置において、
前記第1の端末の識別情報及び前記第1のポートの識別情報を含む発側端末情報と、前記第2の端末の識別情報及び前記第2のポートの識別情報を含む着側端末情報とを対応して記憶する装置管理テーブルと、
パケットの送信元情報及び送信先情報に対応して出力ポート情報を記憶する接続管理テーブルと、
処理部と
を備え、
前記処理部は、
前記第1の端末からのセッション確立要求パケットを前記第1のポートを介して受信した場合、前記セッション確立要求パケット内の前記第1の端末の識別情報と、前記第1のポートの識別情報とを、前記装置管理テーブルの発側端末情報に登録し、
該セッション確立要求パケットに対する前記第2の端末からの応答パケットを前記第2のポートを介して受信した場合、前記応答パケット内の前記第2の端末の識別情報と、前記第2のポートの識別情報とを、前記装置管理テーブルの着側端末情報に、発側端末情報に対応して登録し、
前記装置管理テーブルに登録された第1の端末の識別情報を送信元情報として、第2の端末の識別情報を送信先情報として、及び、前記第2のポート情報を出力先ポート情報として、前記接続管理テーブルに登録し、
前記装置管理テーブルに登録された第2の端末の識別情報を送信元情報として、第1の端末の識別情報を送信先情報として、及び、前記第1のポート情報を出力先ポート情報として、前記接続管理テーブルに登録し、
前記第1又は第2のポートからパケットを受信すると、受信されたパケットの送信元情報及び送信先情報に基づき前記接続管理テーブルを検索し、対応する出力ポート情報に従い、前記第2又は第1のポートを介して、受信されたパケットを転送する前記パケット転送装置。
A first packet transfer device; a first packet transfer device; and a second packet transfer device that routes packets between a server or a network, wherein the first packet transfer device includes: A third port for communicating packets input from the first port for communicating with the second terminal and / or the second port for communicating with the second terminal with the second packet transfer apparatus And the second packet transfer device receives the packet and sends it back to the first packet transfer device. The first packet transfer device receives the packet from the second packet transfer device. In the first packet transfer device in the communication system that realizes communication between the first terminal and the second terminal by transferring according to the destination information,
Originating terminal information including identification information of the first terminal and identification information of the first port, and receiving terminal information including identification information of the second terminal and identification information of the second port A corresponding device management table,
A connection management table that stores output port information corresponding to the transmission source information and transmission destination information of the packet;
A processing unit,
The processor is
When the session establishment request packet from the first terminal is received via the first port, the identification information of the first terminal, the identification information of the first port in the session establishment request packet, Is registered in the originating terminal information of the device management table,
When a response packet from the second terminal to the session establishment request packet is received via the second port, the identification information of the second terminal in the response packet and the identification of the second port Information corresponding to the originating terminal information in the terminal information of the device management table,
The identification information of the first terminal registered in the device management table as transmission source information, the identification information of the second terminal as transmission destination information, and the second port information as output destination port information, Register in the connection management table,
The identification information of the second terminal registered in the device management table as transmission source information, the identification information of the first terminal as transmission destination information, and the first port information as output destination port information, Register in the connection management table,
When a packet is received from the first or second port, the connection management table is searched based on the transmission source information and transmission destination information of the received packet, and the second or first port is searched according to the corresponding output port information. The packet transfer apparatus which transfers a received packet via a port.
前記処理部は、
前記接続管理テーブルに、受信されたパケットの送信元情報及び宛先情報が登録されていない場合、又は、前記接続管理テーブルの出力ポート情報が第3のポートを示す場合、第3のポートを介して、受信されたパケットを前記第2のパケット転送装置に転送する請求項1に記載のパケット転送装置。
The processor is
When the source information and destination information of the received packet are not registered in the connection management table, or when the output port information of the connection management table indicates a third port, The packet transfer apparatus according to claim 1, wherein the received packet is transferred to the second packet transfer apparatus.
前記装置管理テーブルに登録される発側端末情報は、前記第1の端末のIPアドレス、UDPのポート番号、前記第1のポートの番号のいずれか又は複数を含み、着側端末情報は、前記第2の端末のIPアドレス、UDPのポート番号、前記第2のポート番号のいずれか又は複数を含み、
前記処理部は、
セッション確立要求パケット内の前記第1の端末のIPアドレスと、UDPのポート番号と、該セッション確立要求パケットを受信した前記第1のポートの番号とを、前記装置管理テーブルの発側端末情報に登録し、
セッション確立要求パケットに対する応答パケット内の前記第2の端末のIPアドレスと、UDPのポート番号と、該応答パケットを受信した前記第2のポートの番号とを、前記装置管理テーブルの着側端末情報に登録する請求項1に記載のパケット転送装置。
The originating terminal information registered in the device management table includes one or more of an IP address of the first terminal, a UDP port number, and a number of the first port. Including one or more of the IP address of the second terminal, the UDP port number, and the second port number;
The processor is
The IP address of the first terminal in the session establishment request packet, the UDP port number, and the number of the first port that has received the session establishment request packet are stored in the originating terminal information of the device management table. Register,
The IP address of the second terminal in the response packet to the session establishment request packet, the UDP port number, and the number of the second port that has received the response packet are used as destination terminal information in the device management table. The packet transfer apparatus according to claim 1, registered in
前記接続管理テーブルに登録される情報は、第1又は第2のポートを介して受信されるパケットの、送信先IPアドレス、送信元IPアドレス、UDPの送信先ポート番号、UDPの送信元ポート番号、出力ポート番号のいずれか又は複数を含む請求項1に記載のパケット転送装置。   Information registered in the connection management table includes a destination IP address, a source IP address, a UDP destination port number, and a UDP source port number of a packet received via the first or second port. The packet transfer apparatus according to claim 1, comprising any one or a plurality of output port numbers. 前記第1又は第2の端末からのセッション切断要求パケットを受信すると、受信パケットの送信元の識別情報に基づき、前記接続管理テーブルの送信元情報及び送信先情報を検索して一致するエントリを削除し、及び、受信パケットの送信元の識別情報に基づき前記装置管理テーブルの第1の端末の識別情報及び第2の端末の識別情報を検索して一致するエントリを削除する請求項1に記載のパケット転送装置。   When a session disconnection request packet is received from the first or second terminal, the source information and destination information of the connection management table are searched based on the identification information of the source of the received packet, and the matching entry is deleted And searching for the identification information of the first terminal and the identification information of the second terminal in the device management table based on the identification information of the transmission source of the received packet, and deleting the matching entry. Packet transfer device. セッション制御のためのプロトコルとして、SIPプロトコルが用いられ、
前記セッション確立要求パケットとしてINVITEパケット、前記応答パケットとしてINVITEパケットに対する200 OKパケット、及び、前記セッション切断要求パケットとしてBYEメッセージがそれぞれスヌーピングされ、
スヌーピングされた情報が、前記装置管理テーブル及び前記接続管理テーブルに登録される請求項1に記載のパケット転送装置。
SIP protocol is used as a protocol for session control,
An INVITE packet as the session establishment request packet, a 200 OK packet for the INVITE packet as the response packet, and a BYE message as the session disconnection request packet are respectively snooped,
The packet transfer apparatus according to claim 1, wherein the snooping information is registered in the apparatus management table and the connection management table.
前記接続管理テーブルに優先度をさらに登録し、
前記第1及び第2のポートにおいて、前記第2又は前記第1のポートから転送されたパケットと、前記第3のポートから転送されたパケットとにより輻輳が発生した場合、該優先度に従い、前記第2又は第1のポートから転送されたパケットを優先して転送する請求項1に記載のパケット転送装置。
Further register the priority in the connection management table,
In the first and second ports, when congestion occurs between the packet transferred from the second or the first port and the packet transferred from the third port, according to the priority, The packet transfer apparatus according to claim 1, wherein a packet transferred from the second or first port is preferentially transferred.
請求項1に記載のパケット転送装置を複数備え、
各パケット転送装置が多段に接続され、該複数のパケット転送装置の少なくともひとつが前記第2のパケット転送装置に接続される通信システム。
A plurality of the packet transfer devices according to claim 1,
A communication system in which each packet transfer apparatus is connected in multiple stages, and at least one of the plurality of packet transfer apparatuses is connected to the second packet transfer apparatus.
JP2006193543A 2006-07-14 2006-07-14 Packet transfer apparatus and communication system Expired - Fee Related JP4855162B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006193543A JP4855162B2 (en) 2006-07-14 2006-07-14 Packet transfer apparatus and communication system
US11/734,354 US7936750B2 (en) 2006-07-14 2007-04-12 Packet transfer device and communication system
CN2007101028926A CN101106524B (en) 2006-07-14 2007-05-11 Packet transfer device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006193543A JP4855162B2 (en) 2006-07-14 2006-07-14 Packet transfer apparatus and communication system

Publications (2)

Publication Number Publication Date
JP2008022391A true JP2008022391A (en) 2008-01-31
JP4855162B2 JP4855162B2 (en) 2012-01-18

Family

ID=38949172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006193543A Expired - Fee Related JP4855162B2 (en) 2006-07-14 2006-07-14 Packet transfer apparatus and communication system

Country Status (3)

Country Link
US (1) US7936750B2 (en)
JP (1) JP4855162B2 (en)
CN (1) CN101106524B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858553B1 (en) 2017-10-30 2018-05-17 한화시스템(주) System for maritime wireless communications

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080253321A1 (en) * 2006-12-27 2008-10-16 Sr Telecom Inc. Air link bandwidth allocation for voice over ip communications
JP4680942B2 (en) * 2007-01-18 2011-05-11 株式会社日立製作所 Packet transfer device
WO2008105030A1 (en) * 2007-02-28 2008-09-04 Fujitsu Limited Backup device
JP4510044B2 (en) * 2007-03-29 2010-07-21 株式会社東芝 Telephone exchange device and telephone system
JP2008294957A (en) * 2007-05-28 2008-12-04 Oki Electric Ind Co Ltd Media conversion system, media conversion method, media conversion program, call control device, media conversion apparatus
KR101409456B1 (en) * 2007-06-12 2014-06-24 삼성전자주식회사 Method of Packet Processing in IP Converged System and System thereof
JP2009033447A (en) * 2007-07-26 2009-02-12 Toshiba Corp Interface device, main device, and control method used for interface device
JP5012397B2 (en) * 2007-10-16 2012-08-29 日本電気株式会社 Communication system, method, apparatus, and program
JP5217886B2 (en) * 2008-10-14 2013-06-19 富士通株式会社 Loopback device and mirroring method
JP5239966B2 (en) * 2009-03-17 2013-07-17 富士通株式会社 Relay device, tenant management program
DE102009022681A1 (en) * 2009-05-26 2011-04-28 Siemens Aktiengesellschaft A method of communicating a communication request concerning a DICOM medical image
KR20110010443A (en) * 2009-07-24 2011-02-01 뉴브로드테크놀러지(주) Method of auto answer and loopback for remote quality estimation of internet telephone
CN102835182B (en) * 2010-03-31 2015-07-15 富士通株式会社 Node device and detour path search method
CN102263775B (en) * 2010-05-31 2015-06-17 上海贝尔股份有限公司 Method and device for controlling local session initiation protocol (SIP) calling
JP5693065B2 (en) * 2010-07-06 2015-04-01 キヤノン株式会社 Communication terminal, communication terminal control method and program
US8935427B2 (en) * 2010-09-23 2015-01-13 Microsoft Corporation Providing virtual networks using multi-tenant relays
EP2650794A1 (en) * 2010-12-06 2013-10-16 Fujitsu Limited Information processing system and information transmission method
US8958344B2 (en) 2013-02-20 2015-02-17 Telefonaktiebolaget L M Ericsson (Publ) Method and system of enhancing multiple MAC registration protocol (MMRP) for protocol internetworking
JP6347115B2 (en) * 2013-02-28 2018-06-27 株式会社リコー Communication management system, communication management method, and program
US9660836B2 (en) 2014-05-06 2017-05-23 Lattice Semiconductor Corporation Network topology discovery
US9584344B2 (en) 2014-05-09 2017-02-28 Lattice Semiconductor Corporation Stream creation with limited topology information
JP2016027014A (en) * 2014-06-24 2016-02-18 花王株式会社 PPARγ ACTIVATOR
CN104469715A (en) * 2014-11-28 2015-03-25 深圳市中兴移动通信有限公司 Delayed message sending method, terminal, server and system
CN104618387B (en) * 2015-02-14 2016-09-07 科大国盾量子技术股份有限公司 SIP signaling is used for the method for safe quantum communication system, Integrated access quantum gateway and system
JP6512990B2 (en) * 2015-08-05 2019-05-15 アラクサラネットワークス株式会社 Transfer device and transfer system
WO2017151023A1 (en) * 2016-03-01 2017-09-08 Telefonaktiebolaget Lm Ericsson (Publ) Reducing time required for location lookup when downlink packets arrive by assisting preloading of a location of a wireless device into the ip advertisement point (iap)
US10798159B2 (en) * 2017-07-26 2020-10-06 Netapp, Inc. Methods for managing workload throughput in a storage system and devices thereof
DE102019210229A1 (en) * 2019-07-10 2021-01-14 Robert Bosch Gmbh Method and device for the analysis of service-oriented communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032453A (en) * 2002-06-26 2004-01-29 Nippon Telegr & Teleph Corp <Ntt> Packet communication system, packet transfer device and packet transfer control program used therein
JP2004304371A (en) * 2003-03-28 2004-10-28 Fujitsu Ltd Switch device of layer 2
JP2005080176A (en) * 2003-09-03 2005-03-24 Uniden Corp Gateway device and its controlling method

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0866630A1 (en) * 1997-02-14 1998-09-23 Nec Corporation ATM network with a filtering table for securing communication
US6529498B1 (en) * 1998-04-28 2003-03-04 Cisco Technology, Inc. Routing support for point-to-multipoint connections
US6574240B1 (en) * 2000-01-19 2003-06-03 Advanced Micro Devices, Inc. Apparatus and method for implementing distributed layer 3 learning in a network switch
US7185094B2 (en) * 2001-03-30 2007-02-27 Sandcherry, Inc. Media session framework using a control module to direct and manage application and service servers
US20020156900A1 (en) * 2001-03-30 2002-10-24 Brian Marquette Protocol independent control module
WO2002091692A1 (en) * 2001-04-13 2002-11-14 Girard Gregory D Ditributed edge switching system for voice-over-packet multiservice network
US7020707B2 (en) * 2001-05-30 2006-03-28 Tekelec Scalable, reliable session initiation protocol (SIP) signaling routing node
US7068655B2 (en) * 2001-06-14 2006-06-27 Nortel Networks Limited Network address and/or port translation
US7912065B2 (en) * 2002-12-31 2011-03-22 Alcatel-Lucent Usa Inc. Automated voice over IP device VLAN-association setup
US8688834B2 (en) * 2004-07-09 2014-04-01 Toshiba America Research, Inc. Dynamic host configuration and network access authentication
US7333492B2 (en) * 2004-08-31 2008-02-19 Innomedia Pte Ltd Firewall proxy system and method
JP4516397B2 (en) 2004-10-05 2010-08-04 株式会社日立製作所 Layer 2 switch
JP5062967B2 (en) * 2005-06-01 2012-10-31 アラクサラネットワークス株式会社 Network access control method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004032453A (en) * 2002-06-26 2004-01-29 Nippon Telegr & Teleph Corp <Ntt> Packet communication system, packet transfer device and packet transfer control program used therein
JP2004304371A (en) * 2003-03-28 2004-10-28 Fujitsu Ltd Switch device of layer 2
JP2005080176A (en) * 2003-09-03 2005-03-24 Uniden Corp Gateway device and its controlling method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101858553B1 (en) 2017-10-30 2018-05-17 한화시스템(주) System for maritime wireless communications

Also Published As

Publication number Publication date
US20080013534A1 (en) 2008-01-17
CN101106524B (en) 2012-05-30
JP4855162B2 (en) 2012-01-18
CN101106524A (en) 2008-01-16
US7936750B2 (en) 2011-05-03

Similar Documents

Publication Publication Date Title
JP4855162B2 (en) Packet transfer apparatus and communication system
JP4680942B2 (en) Packet transfer device
JP4033773B2 (en) Method and apparatus for performing network routing
EP3035592B1 (en) Enhanced protocol independent multicast source registration over a reliable transport
US20060187912A1 (en) Method and apparatus for server-side NAT detection
EP2410713B1 (en) Adaptive media handling
KR20070010693A (en) Network state management method for using bye/200ok in communication system for using session initiation protocol
WO2008092340A1 (en) A keep-alive method, system of address forwarding list item and an agent service device
KR20030094851A (en) Apparatus for providing QoS on IP router and method for forwarding VoIP traffic
JPWO2006051594A1 (en) IP packet relay method and gateway apparatus in communication network
US20130007291A1 (en) MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS
US20170359258A1 (en) Method of low-bandwidth data transport
WO2006125383A1 (en) A method for traversing the network address conversion/firewall device
JP4940335B2 (en) Telephone exchange apparatus, telephone terminal, and control method used in telephone system
US8374178B2 (en) Apparatus and method for supporting NAT traversal in voice over internet protocol system
WO2008052427A1 (en) A method and network communication system for redirecting network communication port
US8194686B2 (en) Communications relay device, program and method, and network system
JP6048129B2 (en) Communication system, apparatus, method, and program
JP5926164B2 (en) High-speed distribution method and connection system for session border controller
WO2008095430A1 (en) A method and a system for preventing a media agency from hacker attacking
JP4870882B2 (en) Communication method between IP networks
EP1659761A1 (en) Address translation method for unicast stream and device implementing the method
JP5752014B2 (en) Gateway device and data transmission method
JP5219967B2 (en) Internetwork equipment
JP4070655B2 (en) Media communication method and media communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090317

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20100122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111005

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111025

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111026

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141104

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees