JP2006197064A - Ip-pbx system - Google Patents

Ip-pbx system Download PDF

Info

Publication number
JP2006197064A
JP2006197064A JP2005004806A JP2005004806A JP2006197064A JP 2006197064 A JP2006197064 A JP 2006197064A JP 2005004806 A JP2005004806 A JP 2005004806A JP 2005004806 A JP2005004806 A JP 2005004806A JP 2006197064 A JP2006197064 A JP 2006197064A
Authority
JP
Japan
Prior art keywords
counter
packets
packet
vlan
address
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.)
Pending
Application number
JP2005004806A
Other languages
Japanese (ja)
Inventor
Yoshikazu Fukuhara
義和 福原
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005004806A priority Critical patent/JP2006197064A/en
Publication of JP2006197064A publication Critical patent/JP2006197064A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Meter Arrangements (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an IP-PBX system capable of gathering traffic information of each terminal and charging the terminal. <P>SOLUTION: The IP-PBX system is equipped with a MAC address counter 22a which stores the number of packets that a LAN switch incorporated in an IP-PBX device uses to gather traffic information; and packets to be counted are specified based upon values of a field on a packet header, such as a MAC address, an IP address, a VLAN identifier of a VLAN tag, a TCP/UDP port number, priority of the VLAN tag, and priority of DiffServ, and the number of the packets is counted and stored in the MAC address coutner 22a. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、IPネットワーク網およびインターネット網を介して音声交換を行うIP−PBXシステムに関する。   The present invention relates to an IP-PBX system that performs voice exchange via an IP network and an Internet network.

従来のIP−PBX装置のLANスイッチはポート毎にパケットをカウントするポートカウンターしか搭載しておらず、ポートに接続された複数の端末すべてのトラフィック情報のみを収集している。また、各端末がデータ上にトラフィック情報を挿入し、トラフィックデータの存在を検出したときにカウントして課金情報として出力している(例えば、特許文献1参照)。
特開平5−48715号公報
A conventional LAN switch of an IP-PBX apparatus is equipped with only a port counter that counts packets for each port, and collects only traffic information of a plurality of terminals connected to the port. Also, each terminal inserts traffic information into the data, counts when it detects the presence of traffic data, and outputs it as billing information (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 5-48715

従来のIP−PBX装置のLANスイッチはポート毎にパケットをカウントするポートカウンターしか搭載しておらず、ポートに接続された複数の端末すべてのトラフィック情報を収集することは可能であるが、IP−PBX装置に接続された各端末毎のトラフィック情報を収集して課金することができないという問題点があった。   A conventional LAN switch of an IP-PBX device has only a port counter that counts packets for each port, and can collect traffic information of all of a plurality of terminals connected to the port. There is a problem that it is not possible to collect and charge traffic information for each terminal connected to the PBX device.

本発明はこのような従来の課題を解決するものであり、IP−PBX装置に接続された各端末毎のトラフィック情報を収集して課金することができるIP−PBXシステムを提供することを目的とする。   The present invention solves such a conventional problem, and an object thereof is to provide an IP-PBX system capable of collecting and charging traffic information for each terminal connected to an IP-PBX device. To do.

上記目的を達成するために本発明のIP−PBXシステムは、IP−PBX装置とこのIP−PBX装置につながるIP電話端末からなるIP−PBXシステムにおいて、前記IP−PBX装置に内蔵されたLANスイッチがトラフィック情報を収集するためのパケット数を記憶するパケットカウンターを備え、MACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントし前記パケットカウンターに記憶するように構成したものである。   To achieve the above object, an IP-PBX system according to the present invention is an IP-PBX system comprising an IP-PBX device and an IP telephone terminal connected to the IP-PBX device, and a LAN switch built in the IP-PBX device. Has a packet counter that stores the number of packets for collecting traffic information, and includes packet headers such as MAC address, IP address, VLAN tag VLAN identifier, TCP / UDP port number, VLAN tag priority and DiffServ priority The packet to be counted is specified by the value in the upper field, and the number of packets is counted and stored in the packet counter.

これによりMACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントできるので、IP−PBX装置に接続された端末毎、VLANグループ毎、アプリケーション毎、プロトコル毎、優先度毎などのトラフィック情報を収集して課金することができる。   This identifies the number of packets to be counted based on the field values on the packet header, such as MAC address, IP address, VLAN tag VLAN identifier, TCP / UDP port number, VLAN tag priority, and DiffServ priority. Therefore, it is possible to collect and charge traffic information such as for each terminal connected to the IP-PBX device, for each VLAN group, for each application, for each protocol, and for each priority.

以上のように本発明のIP−PBXシステムは、MACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントできるので、IP−PBX装置に接続された端末毎、VLANグループ毎、アプリケーション毎、プロトコル毎、優先度毎などのトラフィック情報を収集して課金することができるという利点がある。   As described above, the IP-PBX system according to the present invention has the field values on the packet header such as the MAC address, the IP address, the VLAN identifier of the VLAN tag, the TCP / UDP port number, the priority of the VLAN tag, and the priority of DiffServ. The packet to be counted can be specified and the number of packets can be counted. Therefore, traffic information such as for each terminal connected to the IP-PBX device, for each VLAN group, for each application, for each protocol, for each priority is collected and charged. There is an advantage that you can.

本発明は、IP−PBX装置とこのIP−PBX装置につながるIP電話端末からなるIP−PBXシステムにおいて、前記IP−PBX装置に内蔵されたLANスイッチがトラフィック情報を収集するためのパケット数を記憶するパケットカウンターを備え、MACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントし前記パケットカウンターに記憶するように構成したIP−PBXシステムである。   In the IP-PBX system comprising an IP-PBX device and an IP telephone terminal connected to the IP-PBX device, the present invention stores the number of packets for the LAN switch built in the IP-PBX device to collect traffic information. Packet counters to identify the packets to be counted by the field values on the packet header such as MAC address, IP address, VLAN tag VLAN identifier, TCP / UDP port number, VLAN tag priority and DiffServ priority Then, the IP-PBX system is configured to count the number of packets and store it in the packet counter.

これによりMACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントできるので、IP−PBX装置に接続された端末毎、VLANグループ毎、アプリケーション毎、プロトコル毎、優先度毎などのトラフィック情報を収集して課金することができる。   This identifies the number of packets to be counted based on the field values on the packet header, such as MAC address, IP address, VLAN tag VLAN identifier, TCP / UDP port number, VLAN tag priority, and DiffServ priority. Therefore, it is possible to collect and charge traffic information such as for each terminal connected to the IP-PBX device, for each VLAN group, for each application, for each protocol, and for each priority.

また、本発明は、前記LANスイッチが前記パケットカウンターとしてMACアドレス毎のパケット数を記憶するMACアドレスカウンターを備え、MACアドレスにより特定した端末毎のパケット数をカウントし前記MACアドレスカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes a MAC address counter that stores the number of packets for each MAC address as the packet counter, and counts and stores the number of packets for each terminal specified by the MAC address in the MAC address counter. The IP-PBX system according to claim 1 configured as described above.

これによりMACアドレスにより特定した端末毎のパケット数をカウントできるので、IP−PBX装置に接続された端末毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each terminal specified by the MAC address can be counted, so that traffic information for each terminal connected to the IP-PBX device can be collected and charged.

また、本発明は、前記LANスイッチが前記パケットカウンターとしてIPアドレス毎のパケット数を記憶するIPアドレスカウンターを備え、IPアドレスにより特定した端末毎のパケット数をカウントし前記IPアドレスカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes an IP address counter that stores the number of packets for each IP address as the packet counter, and counts and stores the number of packets for each terminal specified by the IP address in the IP address counter. The IP-PBX system according to claim 1 configured as described above.

これによりIPアドレスにより特定した端末毎のパケット数をカウントできるので、IP−PBX装置に接続された端末毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each terminal specified by the IP address can be counted, so that traffic information for each terminal connected to the IP-PBX device can be collected and charged.

また本発明は、前記LANスイッチが前記パケットカウンターとしてVLANグループ毎のパケット数を記憶するVLANカウンターを備え、VLANタグのVLAN識別子による識別により特定したVLANグループ毎のパケット数をカウントし前記VLANカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes a VLAN counter for storing the number of packets for each VLAN group as the packet counter, and counts the number of packets for each VLAN group specified by identification by a VLAN identifier of a VLAN tag. The IP-PBX system according to claim 1, wherein the IP-PBX system is configured to store.

これによりVLANタグのVLAN識別子よる識別により特定したVLANグループ毎のパケット数をカウントできるので、VLANグループ毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each VLAN group specified by the identification by the VLAN identifier of the VLAN tag can be counted, so that traffic information for each VLAN group can be collected and charged.

また本発明は、前記LANスイッチが前記パケットカウンターとしてアプリケーション毎のパケット数を記憶するアプリケーションカウンターを備え、TCP/UDPポート番号による識別により特定したアプリケーション毎のパケット数をカウントし前記アプリケーションカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes an application counter for storing the number of packets for each application as the packet counter, and counts and stores the number of packets for each application specified by identification by a TCP / UDP port number in the application counter. The IP-PBX system according to claim 1 configured as described above.

これによりTCP/UDPポート番号による識別により特定したアプリケーション毎のパケット数をカウントできるので、アプリケーション毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each application specified by identification using the TCP / UDP port number can be counted, so that traffic information for each application can be collected and charged.

また本発明は、前記LANスイッチが前記パケットカウンターとしてプロトコル毎のパケット数を記憶するプロトコルカウンターを備え、既知および独自に規定したイーサタイプによる識別により特定したプロトコル毎のパケット数をカウントし前記プロトコルカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes a protocol counter for storing the number of packets for each protocol as the packet counter, and counts the number of packets for each protocol specified by identification by a known and uniquely defined ether type. The IP-PBX system according to claim 1, which is configured to be stored in

これにより既知および独自に規定したイーサタイプによる識別により特定したプロトコル毎のパケット数をカウントできるので、プロトコル毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each protocol specified by identification by an ether type that is known and uniquely defined can be counted, and traffic information for each protocol can be collected and charged.

また本発明は、前記LANスイッチが前記パケットカウンターとしてQoS毎のパケット数を記憶するQoSカウンターを備え、VLANタグの優先度による識別により特定したQoS毎のパケット数をカウントし前記QoSカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   In the present invention, the LAN switch includes a QoS counter for storing the number of packets for each QoS as the packet counter, and counts the number of packets for each QoS specified by identification based on the priority of the VLAN tag and stores the counted number in the QoS counter. The IP-PBX system according to claim 1 configured as described above.

これによりVLANタグの優先度による識別により特定したQoS毎のパケット数をカウントできるので、QoS毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each QoS specified by identification based on the priority of the VLAN tag can be counted, so that traffic information for each QoS can be collected and charged.

また本発明は、前記LANスイッチが前記パケットカウンターとしてQoS毎のパケット数を記憶するQoSカウンターを備え、DiffServの優先度による識別により特定したQoS毎のパケット数をカウントし前記QoSカウンターに記憶するように構成した請求項1記載のIP−PBXシステムである。   According to the present invention, the LAN switch includes a QoS counter for storing the number of packets for each QoS as the packet counter, and counts and stores the number of packets for each QoS specified by the identification based on DiffServ priority. The IP-PBX system according to claim 1 configured as described above.

これによりDiffServの優先度による識別により特定したQoS毎のパケット数をカウントできるので、QoS毎のトラフィック情報を収集して課金することができる。   As a result, the number of packets for each QoS specified by the identification based on DiffServ priority can be counted, and traffic information for each QoS can be collected and charged.

以下、本発明の実施の形態に係るIP−PBXシステムについて図面を用いて説明する。   Hereinafter, an IP-PBX system according to an embodiment of the present invention will be described with reference to the drawings.

(実施の形態1)
本発明の実施の形態1に係るIP−PBX装置の構成を図1の実施の形態1におけるIP−PBX装置の内部ブロック図と図2の実施の形態1におけるIP−PBX装置に搭載されたLANスイッチの内部ブロック図に基づいて説明する。
(Embodiment 1)
The configuration of the IP-PBX device according to the first embodiment of the present invention is shown as an internal block diagram of the IP-PBX device in the first embodiment in FIG. 1 and the LAN mounted on the IP-PBX device in the first embodiment in FIG. This will be described based on an internal block diagram of the switch.

図1においてIP−PBX装置は、加入者網への外線インターフェースを備え既存のPBX機能を実現するレガシーPBXエンジンカード1、ゲートウェイの機能を実現するためのルーターカード2、アプリケーション機能を実現するためのサーバーカード3、VoIPの呼制御機能を実現するためのCPUカード4、IP電話端末9から外線の加入者網へかけるためG.711/G.723/G.729等で音声圧縮されたVoIP音声パケットを64KbpsのTDMデータへ変換しまたその逆を実現するVoIPカード5、IP−PBX装置に接続されたIP電話端末9をスイッチングするためのLANスイッチ6、ファーストイーサネット(登録商標)へ接続するためのトランシーバーおよびパルストランス(以下、FEPHY_Transと称す)7a、ギガイーサネット(登録商標)へ接続するためのトランシーバーおよびパルストランス(以下、GEPHY_Transと称す)7b、LANインターフェースへのRJ45コネクタ8aであり、WANインターフェースへのRJ45コネクタ8bから構成されている。   In FIG. 1, an IP-PBX device includes an external line interface to a subscriber network, a legacy PBX engine card 1 that realizes an existing PBX function, a router card 2 that realizes a gateway function, and an application function. In order to call the server card 3, the CPU card 4 for realizing the VoIP call control function, and the IP telephone terminal 9 to the outside subscriber network 711 / G. 723 / G. LAN switch 6 for switching the VoIP card 5, the IP phone terminal 9 connected to the IP-PBX device, which converts the VoIP voice packet compressed by 729 etc. into 64 Kbps TDM data and vice versa Transceiver and pulse transformer (hereinafter referred to as FEPHY_Trans) 7a for connection to Ethernet (registered trademark), transceiver and pulse transformer (hereinafter referred to as GEPHY_Trans) 7b for connection to Giga Ethernet (registered trademark), to LAN interface RJ45 connector 8a, which is composed of an RJ45 connector 8b to the WAN interface.

以下その動作について説明すると例えば、IP電話端末9から加入者網の外線に電話する場合、RJ45コネクタ8aから受信したVoIP呼制御パケットはFEPHY_Trans7aを経由してLANスイッチ6の接続されたポートに入り、内部PCIバスインターフェースを介してCPUカード4に転送され、呼制御処理が行われる。そして呼制御処理後通話状態となった後は、VoIP音声パケットはLANスイッチ6から内部PCIバスインターフェースを介してVoIPカード5へ転送され、TDM(時分割多重)データに変換され、レガシーPBXエンジンカード1を介して加入者網の外線へ接続される。また、IPネットワーク網に電話する場合は上記と同様にLANスイッチ6からルーターカード2を経由した後、GEPHY_Trans7bおよびRJ45コネクタ8bからIPネットワーク網へ接続される。   The operation will be described below. For example, when calling from the IP telephone terminal 9 to the outside line of the subscriber network, the VoIP call control packet received from the RJ45 connector 8a enters the connected port of the LAN switch 6 via the FEPHY_Trans 7a. The data is transferred to the CPU card 4 via the internal PCI bus interface, and call control processing is performed. After the call control process, the VoIP voice packet is transferred from the LAN switch 6 to the VoIP card 5 via the internal PCI bus interface, converted into TDM (time division multiplexing) data, and the legacy PBX engine card. 1 is connected to the outside line of the subscriber network. When calling the IP network, the LAN switch 6 passes through the router card 2 and is connected to the IP network from the GEPHY_Trans 7b and the RJ45 connector 8b as described above.

図2においてLANスイッチ6は、イーサネット(登録商標)MAC層(データリンク層)処理であるIEEE802.3フレーム処理、アドレス処理、エラー検出処理等を行うMAC11、受信フレームバッファであるRxFIFO12aおよび送信フレームバッファであるTxFIFO12bを備えるフレームバッファ12、送信元アドレス48ビットおよび宛先アドレス48ビットをデコードするパケットデコード13、MACアドレスの検索を行うアドレス検索14、パケットをスイッチングして対応するパケットバッファ17dに高速転送するスイッチファブリック15、UDP/TCPポート番号・DSCP値・イーサタイプ・IPアドレスによりトラフィックを認識し分類し優先処理を行うQoS16、学習されたユニキャストMACアドレスとそのルーティング情報を保有しているMACテーブル17aとIPアドレスとそのルーティング情報を保有しているIPテーブル17bとそのフレームが属するVLAN情報(ポート、タグ、MACアドレス)を保有しているVLANテーブル17cと転送されるパケットデータを格納するパケットバッファ17dとを備えるメモリ17、前面パネルにリンク状態・全二重/半二重・転送スピード等を表示するLED制御信号をやりとりするためのLEDインターフェース18、PBXの制御および呼制御等を行う外部CPUとのインターフェース信号をやりとりするCPUインターフェース19、呼制御用パケットの外部CPUへの転送設定や音声パケットのVoIPゲートウェイへの転送設定やL2〜L4パラメータによるパケット・フィルタリング設定等基本的なLANスイッチ6の設定情報を行うレジスタであるコンフィギュレーションレジスタ20、外部PHY(フィジカル層デバイス)チップのレジスタを設定するためのインターフェースであるMDIOインターフェース21、SNMPによるネットワーク管理を行う場合の管理情報であるMIB(management information base)22およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてMACアドレス毎のパケットのカウントを格納するMACアドレスカウンター22aから構成される。   In FIG. 2, a LAN switch 6 includes an IEEE 802.3 frame process that is an Ethernet (registered trademark) MAC layer (data link layer) process, an MAC 11 that performs an address process, an error detection process, and the like, an Rx FIFO 12a that is a reception frame buffer, and a transmission frame buffer Frame buffer 12 having TxFIFO 12b, packet decode 13 for decoding 48 bits of source address and 48 bits of destination address, address search 14 for searching for MAC address, switching packets and transferring them to corresponding packet buffer 17d at high speed Switch fabric 15, QoS 16 that recognizes and classifies traffic by UDP / TCP port number, DSCP value, ether type, IP address, and performs priority processing, learned unicast The MAC table 17a that holds the MAC address and its routing information, the IP table 17b that holds the IP address and its routing information, and the VLAN that holds the VLAN information (port, tag, MAC address) to which the frame belongs A memory 17 having a table 17c and a packet buffer 17d for storing packet data to be transferred, an LED interface for exchanging LED control signals for displaying link status, full duplex / half duplex, transfer speed, etc. on the front panel 18. CPU interface 19 for exchanging interface signals with an external CPU for PBX control and call control, etc., transfer settings for call control packets to external CPU, transfer settings for voice packets to VoIP gateway, and L2-L4 parameters Configuration register 20 that is a register for performing basic LAN switch 6 setting information such as packet filtering setting, MDIO interface 21 that is an interface for setting a register of an external PHY (physical layer device) chip, and a network by SNMP The management information base is an MIB (management information base) 22 and a MAC address counter 22a that stores a packet count for each MAC address as a packet counter that stores the number of packets for collecting traffic information. .

以上のように構成されたLANスイッチ6において以下その動作を説明すると、まずIP−PBX装置に接続された端末からの受信パケットはMAC11においてイーサネット(登録商標)MAC層処理であるIEEE802.3フレーム処理・アドレス処理・エラー検出処理等を行い受信フレームバッファであるRxFIFO12aに格納される。   The operation of the LAN switch 6 configured as described above will be described below. First, a received packet from a terminal connected to the IP-PBX device is processed by the MAC 11 in the IEEE 802.3 frame processing which is Ethernet (registered trademark) MAC layer processing. Address processing, error detection processing, etc. are performed and stored in the RxFIFO 12a which is a reception frame buffer.

そしてパケットデコード13においてはアドレス学習のために送信元アドレス48ビットおよびアドレス検索のために宛先アドレス48ビットをデコードし宛先不明のアドレスはブロードキャストおよびゲートウェイに転送しTCP/UDPポート番号・IPアドレス・プロトコルナンバー・DS/TOS・イーサタイプといったL2〜L4パラメータの識別を行う。   The packet decode 13 decodes the source address 48 bits for address learning and the destination address 48 bits for address search, and forwards the unknown destination address to the broadcast and gateway to transmit the TCP / UDP port number, IP address, and protocol. L2 to L4 parameters such as number, DS / TOS, and ether type are identified.

次にアドレス検索4においては、イーサネット(登録商標)フレームの送信元アドレスと受信したポート番号をアドレステーブルに記録するアドレス学習処理、イーサネット(登録商標)フレームの宛先アドレスとMACテーブル17aから、送信ポートを決定するアドレス探索処理、古くなったテーブルを削除するエージング処理を行う。   Next, in address search 4, an address learning process for recording the transmission source address of the Ethernet (registered trademark) frame and the received port number in the address table, the transmission port from the destination address of the Ethernet (registered trademark) frame and the MAC table 17a. An address search process for determining the aging process and an aging process for deleting an obsolete table are performed.

次にスイッチファブリック15においては、MACテーブル17aやVLANテーブル17cに基づいて宛先MACアドレスとVLAN識別子から出力ポートを検索し、パケットをスイッチングして対応するパケットバッファ17dに高速転送する。このときQoS16においてはUDP/TCPポート番号、DSCP値、イーサタイプ、IPアドレスによりトラフィックを認識、分類、優先処理を行い、TxFIFO12bからMAC11を経由して外部ポートへ転送される。   Next, in the switch fabric 15, an output port is searched from the destination MAC address and the VLAN identifier based on the MAC table 17a and the VLAN table 17c, and the packet is switched and transferred to the corresponding packet buffer 17d at high speed. At this time, in the QoS 16, the traffic is recognized, classified, and prioritized by the UDP / TCP port number, DSCP value, ether type, and IP address, and transferred from the Tx FIFO 12b to the external port via the MAC 11.

MIB22はSNMPによるネットワーク管理を行う場合の管理情報であり、SNMPとはTCP/IPネットワークで管理情報をやりとりするためのプロトコルである。この通信は基本的にマネージャとエージェントの間で行われ、このエージェントがLANスイッチ6にあたる。   The MIB 22 is management information when performing network management by SNMP, and SNMP is a protocol for exchanging management information over a TCP / IP network. This communication is basically performed between the manager and the agent, and this agent corresponds to the LAN switch 6.

マネージャの実体はコンピュータにインストールされたソフトウェアであり、LANスイッチ6との通信と集めた情報の解析と解析結果の描画が主な機能であり、本発明のトラフィック情報を収集して課金するところである。   The entity of the manager is software installed in the computer, and its main functions are communication with the LAN switch 6, analysis of collected information, and drawing of analysis results, and it is a place to collect and charge traffic information according to the present invention. .

一方、エージェントであるLANスイッチ6はマネージャ・ソフトからの要求を解釈・処理するためにCPUインターフェース19を介したCPUカード4と各種カウンターとメモリで構成されたMIB22が載っており、CPUカード4でSNMPパケットの内容を解釈してMIB22から目的のデータを得る。このMIB22のメモリにはエージェントとして動作するためのソフトウェアを記録しておいたり、LANスイッチ6の情報を蓄積・加工するために使用される。   On the other hand, the LAN switch 6 serving as an agent has a CPU card 4 via the CPU interface 19 and an MIB 22 composed of various counters and memories for interpreting and processing requests from the manager software. The contents of the SNMP packet are interpreted to obtain target data from the MIB 22. Software for operating as an agent is recorded in the memory of the MIB 22 and is used for storing and processing information of the LAN switch 6.

このMIB情報には、例えばポート毎のパケット数、MACアドレス毎のパケット数、IPアドレス毎のパケット数、VLAN識別子毎のパケット数、アプリケーションTCP/UDP(ポート番号)毎のパケット数、イーサタイプのプロトコル毎のパケット数、コリジョン数、エラーフレーム数、DSCP値およびVLANの設定情報が含まれる。   The MIB information includes, for example, the number of packets per port, the number of packets per MAC address, the number of packets per IP address, the number of packets per VLAN identifier, the number of packets per application TCP / UDP (port number), the ether type The number of packets for each protocol, the number of collisions, the number of error frames, the DSCP value, and VLAN setting information are included.

図3はイーサネット(登録商標)のフレームフォーマットを示す図であり、宛先MACアドレス、送信元MACアドレス、プロトコルタイプ、ユーザーデータ、FCSから構成されており、各端末から受信したパケットのイーサネット(登録商標)ヘッダには、端末固有のハードウェアアドレスであるMACアドレスの情報が含まれている。   FIG. 3 is a diagram showing an Ethernet (registered trademark) frame format, which is composed of a destination MAC address, a source MAC address, a protocol type, user data, and an FCS. Ethernet (registered trademark) of a packet received from each terminal. ) The header includes information on the MAC address, which is a hardware address unique to the terminal.

図4はMACアドレスカウンター22aの動作フローチャートであり、呼制御処理の後通話状態になると、CPUカード4から課金すべきMACアドレスと課金有効レジスタが設定され、さらにMACアドレスカウンター22aがゼロクリア設定される(ステップS4−1)。   FIG. 4 is an operation flowchart of the MAC address counter 22a. When a call state is established after the call control process, the MAC address to be charged and the charge valid register are set from the CPU card 4, and the MAC address counter 22a is set to zero clear. (Step S4-1).

そしてこの送信元と宛先のMACアドレスをパケットデコード13が参照し、MACアドレステーブル17aを検索する。そしてパケット検知されると(ステップS4−2)設定されたパケットカウンターであるMACアドレスカウンター22aがインクリメントされ(ステップS4−3)、通話終了するまで続けられる(ステップS4−4)。   The packet decode 13 refers to the source and destination MAC addresses and searches the MAC address table 17a. When a packet is detected (step S4-2), the MAC address counter 22a, which is a set packet counter, is incremented (step S4-3) and is continued until the call ends (step S4-4).

そして通話終了して、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS4−5)、終了する。そしてこの情報はCPUインターフェース19を介してCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call ends and the charge valid register is disabled, the counter value is stored in the memory as MIB information (step S4-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator using the SNMP protocol.

このように、IP−PBX装置においてMACアドレスカウンター22aを設けることにより、IP電話端末9の各端末毎にトラフィック情報を収集して課金することができる。   Thus, by providing the MAC address counter 22a in the IP-PBX device, traffic information can be collected and charged for each terminal of the IP telephone terminal 9.

(実施の形態2)
次に、本発明の実施の形態2に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態2におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図5に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 2)
Next, the configuration of the IP-PBX device according to the second embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device and the inside of the LAN switch 6 mounted on the IP-PBX device in the second embodiment. This will be described with reference to FIG. 5 which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図5においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてIPアドレス毎のパケットのカウントを格納するIPアドレスカウンター22bを備える。   In FIG. 5, the LAN switch 6 uses IP as a packet counter for storing the MAC 11 to MIB 22 described in FIG. 2 of the first embodiment (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. An IP address counter 22b for storing a packet count for each address is provided.

このIPアドレスカウンター22bの動作について図6、図7を用いて説明する。図6はIPヘッダの標準フォーマットを示す図であり、このIPヘッダにはIPプロトコルによってパケットの配送を制御するときに必要な情報が格納されており、バージョン、ヘッダ長、サービスタイプ(TOS)、パケット長、識別子、フラグ、フラグメントオフセット、生存時間(TTL)、プロトコル、ヘッダチェックサム、送信元IPアドレス、宛先IPアドレスから構成される。また各端末から受信したパケットのIPヘッダには、端末を識別するためのIPアドレスの情報が含まれている。   The operation of this IP address counter 22b will be described with reference to FIGS. FIG. 6 is a diagram showing a standard format of the IP header. This IP header stores information necessary for controlling packet delivery by the IP protocol, and includes version, header length, service type (TOS), It consists of packet length, identifier, flag, fragment offset, time to live (TTL), protocol, header checksum, source IP address, and destination IP address. The IP header of the packet received from each terminal includes IP address information for identifying the terminal.

図7はIPアドレスカウンター22bの動作フローチャートであり、呼制御処理の後通話状態になると、CPUカード4から課金すべきIPアドレスと課金有効レジスタが設定され、さらにIPアドレスカウンター22bがゼロクリア設定される(ステップS7−1)。   FIG. 7 is an operation flowchart of the IP address counter 22b. When a call state is established after the call control processing, the IP address to be charged and the charging valid register are set from the CPU card 4, and the IP address counter 22b is set to zero clear. (Step S7-1).

そしてこの送信元と宛先のIPアドレスをパケットデコード13が参照し、IPアドレステーブル17bを検索する。そしてパケット検知されると(ステップS7−2)設定されたパケットカウンターであるIPアドレスカウンター22bがインクリメントされ(ステップS7−3)、通話終了するまで続けられる(ステップS7−4)。   The packet decode 13 refers to the source and destination IP addresses and searches the IP address table 17b. When a packet is detected (step S7-2), the set IP address counter 22b, which is a packet counter, is incremented (step S7-3) and is continued until the call ends (step S7-4).

そして通話終了して、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS7−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call ends and the billing valid register is disabled, the counter value is stored in the memory as MIB information (step S7-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてIPアドレスカウンター22bを設けることにより、IP電話端末9の各端末毎にトラフィック情報を収集して課金することができる。   Thus, by providing the IP address counter 22b in the IP-PBX device, traffic information can be collected and charged for each terminal of the IP telephone terminal 9.

(実施の形態3)
次に、本発明の実施の形態3に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態3におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図8に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 3)
Next, the configuration of the IP-PBX device according to the third embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device, and the inside of the LAN switch 6 mounted on the IP-PBX device in the third embodiment. A description will be given based on FIG. 8 which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図8においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてVLANグループ毎のパケットのカウントを格納するVLANカウンター22cを備える。   In FIG. 8, the LAN switch 6 is a VLAN as a packet counter for storing the MAC 11 to MIB 22 described in FIG. 2 of the first embodiment (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. A VLAN counter 22c that stores a count of packets for each group is provided.

このVLANカウンター22cの動作について図9、図10を用いて説明する。図9はVLANタグ付のイーサネット(登録商標)のフレームフォーマットを示す図であり、宛先MACアドレス、送信元MACアドレス、VLANタグ、プロトコルタイプ、ユーザーデータ、FCSから構成されており、異なるスイッチをまたがるセグメントを構築できるようにしたものがIEEE802.1Qで標準化されたVLANタグである。さらにこのVLANタグはVLANプロトコルID、優先度、CFI、VLAN識別子から構成され、セグメント毎に一意となる12ビットのVLAN識別子を設定し、その値をもとにどのセグメントにフレームを転送するかを決定する。このように各端末から受信したパケットのイーサネット(登録商標)のヘッダの中には、VLANタグが含まれている。   The operation of the VLAN counter 22c will be described with reference to FIGS. FIG. 9 is a diagram showing a frame format of Ethernet (registered trademark) with a VLAN tag, which is composed of a destination MAC address, a source MAC address, a VLAN tag, a protocol type, user data, and FCS, and spans different switches. A VLAN tag standardized by IEEE802.1Q is one that can construct a segment. This VLAN tag is composed of a VLAN protocol ID, priority, CFI, and VLAN identifier. A unique 12-bit VLAN identifier is set for each segment, and to which segment the frame is transferred based on the value. decide. Thus, the VLAN tag is included in the Ethernet (registered trademark) header of the packet received from each terminal.

図10はVLANカウンター22cの動作フローチャートであり、呼制御処理の後通話状態になると、CPUカード4から課金すべきcであるVLAN識別子と課金有効レジスタが設定され、さらにVLANカウンター22cがゼロクリア設定される(ステップS10−1)。   FIG. 10 is a flowchart of the operation of the VLAN counter 22c. When a call state is established after the call control process, a VLAN identifier and charging valid register c to be charged are set from the CPU card 4, and the VLAN counter 22c is set to zero clear. (Step S10-1).

そしてこのVLANタグのVLAN識別子をパケットデコード13が参照し、VLANテーブル17cを検索する。そしてパケット検知されると(ステップS10−2)設定されたパケットカウンターであるVLANカウンター22cがインクリメントされ(ステップS10−3)、通話終了するまで続けられる(ステップS10−4)。   The packet decode 13 refers to the VLAN identifier of this VLAN tag and searches the VLAN table 17c. When a packet is detected (step S10-2), the VLAN counter 22c, which is a set packet counter, is incremented (step S10-3) and continued until the call ends (step S10-4).

そして通話終了して、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS10−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call ends and the charge valid register is disabled, the counter value is stored in the memory as MIB information (step S10-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてVLANカウンター22cを設けることにより、VLANグループ毎に、いわゆる部署単位毎等でトラフィック情報を収集して課金することができる。   Thus, by providing the VLAN counter 22c in the IP-PBX device, it is possible to collect and charge traffic information for each VLAN group for each so-called department unit.

(実施の形態4)
次に、本発明の実施の形態4に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態4におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図11に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 4)
Next, the configuration of the IP-PBX device according to the fourth embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device, and the inside of the LAN switch 6 mounted on the IP-PBX device in the fourth embodiment. A description will be given based on FIG. 11 which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図11においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてアピリケーション毎のパケットのカウントを格納するアプリケーションカウンター22dを備える。   In FIG. 11, the LAN switch 6 is used as a packet counter for storing MAC 11 to MIB 22 described in FIG. 2 of the first embodiment (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. An application counter 22d that stores a count of packets for each application is provided.

このアプリケーションカウンター22dの動作について図12、図13を用いて説明する。図12はUDPのヘッダフォーマットを示す図であり、UDPヘッダは送信元ポート番号、宛先ポート番号、パケット長、チェックサムから構成され、同様にTCPヘッダは送信元ポート番号、宛先ポート番号、シーケンス番号、確認応答番号、データオフセット、コントロールフラグ、ウィンドウサイズ、チェックサム、緊急ポインタから構成される。各端末から受信したパケットのTCP/UDPヘッダには、プログラムを識別するためのポート番号が含まれている。   The operation of the application counter 22d will be described with reference to FIGS. FIG. 12 is a diagram showing a UDP header format. The UDP header is composed of a source port number, a destination port number, a packet length, and a checksum. Similarly, a TCP header is a source port number, a destination port number, and a sequence number. , Confirmation response number, data offset, control flag, window size, checksum, and emergency pointer. The TCP / UDP header of the packet received from each terminal includes a port number for identifying the program.

図13はアプリケーションカウンター22dの動作フローチャートであり、通話開始状態になると、CPUカード4から課金すべきポート番号と課金有効レジスタが設定され、さらにアプリケーションカウンター22dがゼロクリア設定される(ステップS13−1)。   FIG. 13 is an operation flowchart of the application counter 22d. When a call is started, the port number to be charged and the charge valid register are set from the CPU card 4, and the application counter 22d is set to zero clear (step S13-1). .

そしてこの送信元と宛先のポート番号をパケットデコード13が参照し、パケット検知されると(ステップS13−2)設定されたパケットカウンターであるアプリケーションカウンター22dがインクリメントされ(ステップS13−3)、通話終了状態になるまで続けられる(ステップS13−4)。   The packet decode 13 refers to the source and destination port numbers, and when a packet is detected (step S13-2), the application counter 22d, which is a set packet counter, is incremented (step S13-3), and the call ends. The process continues until the state is reached (step S13-4).

そして通話終了状態になり、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS13−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call end state is entered and the billing valid register is disabled, the counter value is stored in the memory as MIB information (step S13-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてアプリケーションカウンター22dを設けることにより、WWWサービスを受けるためのWebブラウザや、電子メールを送受信するメールソフト、IP電話端末9のための音声通信等、各アプリケーション毎にトラフィック情報を収集して課金することができる。   As described above, by providing the application counter 22d in the IP-PBX device, each application such as a Web browser for receiving the WWW service, mail software for transmitting / receiving e-mail, voice communication for the IP telephone terminal 9, and the like is provided. Traffic information can be collected and charged.

(実施の形態5)
次に、本発明の実施の形態5に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態5におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図14に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 5)
Next, the configuration of the IP-PBX device according to the fifth embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device, and the inside of the LAN switch 6 mounted on the IP-PBX device in the fifth embodiment. This will be described with reference to FIG. 14 which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図14においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてプロトコル毎のパケットのカウントを格納するプロトコルカウンター22eを備える。   In FIG. 14, the LAN switch 6 is a protocol as a packet counter that stores MAC 11 to MIB 22 described in FIG. 2 of the first embodiment (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. A protocol counter 22e for storing the count of each packet is provided.

このプロトコルカウンター22eの動作について図15、図16を用いて説明する。図15はイーサネット(登録商標)のフレームフォーマットを示す図であり、イーサネット(登録商標)フレームは宛先MACアドレス、送信元MACアドレス、プロトコルタイプ、ユーザーデータ、FCSから構成されており、各端末から受信したパケットのイーサネット(登録商標)ヘッダには、例えばIPは0800、ARPは0806、Ipv6は86DDというようにプロトコルを識別するためのプロトコルタイプの情報が含まれている。   The operation of the protocol counter 22e will be described with reference to FIGS. FIG. 15 is a diagram showing an Ethernet (registered trademark) frame format. The Ethernet (registered trademark) frame includes a destination MAC address, a source MAC address, a protocol type, user data, and an FCS, and is received from each terminal. The Ethernet (registered trademark) header of the packet includes protocol type information for identifying the protocol, for example, IP is 0800, ARP is 0806, and Ipv6 is 86DD.

図16はプロトコルカウンター22eの動作フローチャートであり、通話開始状態になると、CPUカード4から課金すべきプロトコルタイプ番号と課金有効レジスタが設定され、さらにプロトコルカウンター22eがゼロクリア設定される(ステップS16−1)。   FIG. 16 is a flowchart showing the operation of the protocol counter 22e. When a call starts, the protocol type number to be charged and the charge valid register are set from the CPU card 4, and the protocol counter 22e is set to zero clear (step S16-1). ).

そしてこのプロトコルタイプをパケットデコード13が参照し、パケット検知されると(ステップS16−2)設定されたパケットカウンターであるプロトコルカウンター22eがインクリメントされ(ステップS16−3)、通話終了状態になるまで続けられる(ステップS16−4)。   The packet decode 13 refers to this protocol type, and when a packet is detected (step S16-2), the protocol counter 22e, which is a set packet counter, is incremented (step S16-3) and continues until the call is terminated. (Step S16-4).

そして通話終了状態になり、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS16−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call end state is entered and the charge valid register is disabled, the counter value is stored in the memory as MIB information (step S16-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてプロトコルカウンター22eを設けることにより、使用するプロトコル毎にトラフィック情報を収集して課金することができる。さらに、オプションに独自のプロトコル番号を既定すれば、たとえば同じ開発元の製品のみを判別し、そのトラフィック情報を収集して課金することができる。   Thus, by providing the protocol counter 22e in the IP-PBX device, it is possible to collect and charge traffic information for each protocol used. Furthermore, if a unique protocol number is defined as an option, for example, only products of the same developer can be identified, and traffic information can be collected and charged.

(実施の形態6)
次に、本発明の実施の形態6に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態6におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図17に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 6)
Next, the configuration of the IP-PBX device according to the sixth embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device and the inside of the LAN switch 6 mounted on the IP-PBX device in the sixth embodiment. A description will be given based on FIG. 17 which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図17においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてVLANタグの優先度によるQoS毎のパケットのカウントを格納するQoSカウンター22fを備える。   In FIG. 17, the LAN switch 6 is a VLAN as a packet counter for storing the MAC 11 to MIB 22 described in FIG. 2 of the first embodiment (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. A QoS counter 22f that stores a packet count for each QoS according to the priority of the tag is provided.

このQoSカウンター22fの動作について図18、図19を用いて説明する。図18はVLANタグ付のイーサネット(登録商標)のフォーマットであり、宛先MACアドレス、送信元MACアドレス、VLANタグ、プロトコルタイプ、ユーザーデータ、FCSから構成されており、異なるスイッチをまたがるセグメントを構築できるようにしたものがIEEE802.1Qで標準化されたVLANタグである。さらにこのVLANタグはVLANプロトコルID、優先度、CFI、VLAN識別子から構成され、3ビットの優先度を設定することにより、パケットの優先制御を行うことができる。このように各端末から受信したパケットのイーサネット(登録商標)のヘッダの中には、VLANタグが含まれている。   The operation of the QoS counter 22f will be described with reference to FIGS. FIG. 18 shows an Ethernet (registered trademark) format with a VLAN tag, which is composed of a destination MAC address, a source MAC address, a VLAN tag, a protocol type, user data, and FCS, and can construct a segment across different switches. This is a VLAN tag standardized by IEEE 802.1Q. Further, this VLAN tag is composed of VLAN protocol ID, priority, CFI, and VLAN identifier, and packet priority control can be performed by setting a 3-bit priority. Thus, the VLAN tag is included in the Ethernet (registered trademark) header of the packet received from each terminal.

図19はVLANタグによるQoSカウンター22fの動作フローチャートであり、通話開始状態になると、CPUカード4から課金すべきVLANタグの優先度と課金有効レジスタが設定され、さらにQoSカウンター22fがゼロクリア設定される(ステップS19−1)。   FIG. 19 is a flowchart of the operation of the QoS counter 22f by the VLAN tag. When the call is started, the priority of the VLAN tag to be charged and the charging valid register are set from the CPU card 4, and the QoS counter 22f is set to zero clear. (Step S19-1).

そしてこのVLANタグの優先度をパケットデコード13が参照し、VLANテーブル17cを検索する。そしてパケット検知されると(ステップS19−2)設定されたパケットカウンターであるQoSカウンター22fがインクリメントされ(ステップS19−3)、通話終了状態になるまで続けられる(ステップS19−4)。   The packet decode 13 refers to the priority of the VLAN tag and searches the VLAN table 17c. When a packet is detected (step S19-2), the QoS counter 22f, which is a set packet counter, is incremented (step S19-3) and continued until the call is terminated (step S19-4).

そして通話終了状態になり、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS19−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the call end state is entered and the billing valid register is disabled, the counter value is stored in the memory as MIB information (step S19-5), and the process ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてQoSカウンター22fを設けることにより、パケットの優先度毎に、いわゆる帯域のクラス分けされたユーザー毎にトラフィック情報を収集して課金することができる。   In this way, by providing the QoS counter 22f in the IP-PBX device, it is possible to collect and charge traffic information for each user classified as a so-called band for each packet priority.

(実施の形態7)
次に、本発明の実施の形態7に係るIP−PBX装置の構成をIP−PBX装置の内部ブロック図である図1と実施の形態7におけるIP−PBX装置に搭載されたLANスイッチ6の内部ブロック図である図20に基づいて説明する。ここでIP−PBX装置の内部ブロック図である図1は実施の形態1において説明しているため説明を省略する。
(Embodiment 7)
Next, the configuration of the IP-PBX device according to the seventh embodiment of the present invention is shown in FIG. 1 which is an internal block diagram of the IP-PBX device, and the inside of the LAN switch 6 mounted on the IP-PBX device in the seventh embodiment. This will be described with reference to FIG. 20, which is a block diagram. Here, FIG. 1, which is an internal block diagram of the IP-PBX device, has been described in the first embodiment, and thus the description thereof is omitted.

図20においてLANスイッチ6は実施の形態1の図2において説明したMAC11からMIB22まで(図2と同一であるため説明は省略)およびトラフィック情報を収集するためのパケット数を記憶するパケットカウンターとしてDiffServの優先度によるQoS毎のパケットのカウントを格納するQoSカウンター22gを備える。   20, LAN switch 6 is DiffServ as a packet counter that stores MAC 11 to MIB 22 described in FIG. 2 of Embodiment 1 (the description is omitted because it is the same as FIG. 2) and the number of packets for collecting traffic information. A QoS counter 22g for storing a packet count for each QoS according to the priority of

このQoSカウンター22gの動作について図21、図22を用いて説明する。図21はTOS5(Type of Service)フィールドのDiffServフィールドフォーマットを示す図であり、IPヘッダの優先情報は昔のToS(Type of Service)フィールドが現在DSフィールドとして8ビット確保されていて、そのうち最初の6ビットがDSCP(Diffserv Code Point)ビットとなっている。   The operation of the QoS counter 22g will be described with reference to FIGS. FIG. 21 is a diagram showing the DiffServ field format of the TOS5 (Type of Service) field, and the priority information of the IP header is the old ToS (Type of Service) field in which 8 bits are reserved as the current DS field, of which the first Six bits are DSCP (Diffserv Code Point) bits.

例えばDSCPが“000000”の場合、ベストエフォートになり、これは何も優先制御しない形である。DSCPが“101110”の場合、最優先制御になる。DSCPが上記2つ以外の場合、DSCPの値によって何種類かの優先制御になる。このように、各端末から受信したパケットのIPヘッダの中には、TOSフィールドのDSCP値が含まれているので、DiffServに対応したルータやスイッチ間では、マーキングされたIPヘッダのDSCP値によって、パケットの優先制御を行うことができる。   For example, when DSCP is “000000”, it is the best effort, and this is a form in which no priority control is performed. When DSCP is “101110”, the highest priority control is performed. When DSCP is other than the above two, several types of priority control are performed depending on the value of DSCP. Thus, since the DSCP value of the TOS field is included in the IP header of the packet received from each terminal, between the routers and switches corresponding to DiffServ, depending on the DSCP value of the marked IP header, Packet priority control can be performed.

図22はDiffServによるQoSカウンター22gの動作フローチャートであり、通話開始状態になると、CPUカード4から課金すべきDSCP値と課金有効レジスタが設定され、さらにQoSカウンター22gがゼロクリア設定される(ステップS22−1)。   FIG. 22 is a flowchart showing the operation of the QoS counter 22g by DiffServ. When the call starts, the DSCP value to be charged and the charge valid register are set from the CPU card 4, and the QoS counter 22g is set to zero clear (step S22- 1).

そしてこのDSCP値をパケットデコード13が参照し、そしてそのパケットが検知されると(ステップS22−2)設定されたパケットカウンターであるQoSカウンター22gがインクリメントされ(ステップS22−3)、通話終了状態になるまで続けられる(ステップS22−4)。   The packet decode 13 refers to this DSCP value, and when the packet is detected (step S22-2), the set QoS counter 22g, which is a packet counter, is incremented (step S22-3), and the call is terminated. (Step S22-4).

そして通話終了状態になり、課金有効レジスタがディセーブルになると、そのカウンタ値はMIB情報としてメモリに記憶され(ステップS22−5)、終了する。そしてこの情報はCPUインターフェース19を介したCPUカード4に吸い上げられ、SNMPプロトコルにてネットワーク管理者に送られる。   When the billing end state is entered and the billing valid register is disabled, the counter value is stored in the memory as MIB information (step S22-5), and the processing ends. This information is sucked into the CPU card 4 via the CPU interface 19 and sent to the network administrator by the SNMP protocol.

このように、IP−PBX装置においてDiffservによるQoSカウンター22gを設けることにより、設定されたDSCP値のパケット優先度に応じて、いわゆる帯域のクラス分けされたユーザー毎にトラフィック情報を収集して課金することができる。   Thus, by providing the QoS counter 22g by Diffserv in the IP-PBX device, according to the packet priority of the set DSCP value, traffic information is collected and charged for each user classified as a so-called bandwidth class. be able to.

以上のように本発明は、IPネットワーク網およびインターネット網を介して音声交換を行うIP−PBXシステムに関するものであって、MACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントできるので、IP−PBX装置に接続された端末毎、VLANグループ毎、アプリケーション毎、プロトコル毎、優先度毎などのトラフィック情報を収集して課金することができるという利点がある。   As described above, the present invention relates to an IP-PBX system that performs voice exchange via an IP network and an Internet network, and includes a MAC address, an IP address, a VLAN identifier of a VLAN tag, a TCP / UDP port number, and a VLAN. Since packets to be counted can be identified and counted by the field values on the packet header such as the tag priority and DiffServ priority, the number of packets can be counted, so that each terminal connected to the IP-PBX device, each VLAN group, application There is an advantage that it is possible to collect and charge traffic information such as every protocol, every protocol, and every priority.

実施の形態1におけるIP−PBX装置の内部ブロック図Internal block diagram of IP-PBX apparatus according to Embodiment 1 実施の形態1におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in embodiment 1 実施の形態1におけるEthernet(登録商標)のフレーム・フォーマットを示す図The figure which shows the flame | frame format of Ethernet (registered trademark) in Embodiment 1 実施の形態1におけるMACアドレスカウンターの動作フローチャートOperation flow chart of MAC address counter in embodiment 1 実施の形態2におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in embodiment 2 実施の形態2におけるIPヘッダのフォーマットを示す図The figure which shows the format of the IP header in Embodiment 2 実施の形態2におけるIPアドレスカウンターの動作フローチャートOperation flow chart of IP address counter in embodiment 2 実施の形態3におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in Embodiment 3 実施の形態3におけるVLANタグ付のEthernet(登録商標)のフレーム・フォーマットを示す図The figure which shows the flame | frame format of Ethernet (registered trademark) with a VLAN tag in Embodiment 3. 実施の形態3におけるVLANカウンターの動作フローチャートOperation flowchart of VLAN counter in embodiment 3 実施の形態4におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in embodiment 4 実施の形態4におけるUDPのヘッダ・フォーマットを示す図The figure which shows the header format of UDP in Embodiment 4 実施の形態4におけるアプリケーションカウンターの動作フローチャートOperation flowchart of application counter in embodiment 4 実施の形態5におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in embodiment 5 実施の形態5におけるEthernet(登録商標)のフレーム・フォーマットを示す図The figure which shows the flame | frame format of Ethernet (registered trademark) in Embodiment 5 実施の形態5におけるプロトコルカウンターの動作フローチャートFlowchart of protocol counter operation in embodiment 5 実施の形態6におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch in embodiment 6 実施の形態6におけるVLANタグ付のEthernet(登録商標)のフレーム・フォーマットを示す図The figure which shows the flame | frame format of Ethernet (registered trademark) with a VLAN tag in Embodiment 6. 実施の形態6におけるVLANタグによるQoSカウンターの動作フローチャートFlowchart of QoS counter operation by VLAN tag in embodiment 6 実施の形態7におけるLANスイッチの内部ブロック図Internal block diagram of LAN switch according to Embodiment 7 実施の形態7におけるTOSフィールドのフォーマットを示す図The figure which shows the format of the TOS field in Embodiment 7 実施の形態7におけるDiffServによるQoSカウンターの動作フローチャートFlowchart of QoS counter operation by DiffServ in Embodiment 7

符号の説明Explanation of symbols

1 レガシーPBXエンジンカード
2 ルーターカード
3 サーバーカード
4 CPUカード
5 VoIPカード
6 LANスイッチ
7a ファーストイーサネット(登録商標)のトランシーバーおよびパルストランス
7b ギガイーサネット(登録商標)のトランシーバーおよびパルストランス
8a LANインタフェースへのRJ45コネクタ
8b WANインタフェースへのRJ45コネクタ
9 IP電話端末
11 MAC
12 FIFO
13 パケットデコード
14 アドレス検索
15 スイッチファブリック
16 QoS
17 メモリ
17a MACテーブル
17b VLANテーブル
17c パケットバッファ
18 LEDインターフェース
19 CPUインターフェース
20 コンフィギュレーションレジスタ
21 MDIOインターフェース
22 MIB(management information base)
22a MACアドレスカウンター
22b IPアドレスカウンター
22c VLANカウンター
22d アプリケーションカウンター
22e プロトコルカウンター
22f Qos(VLAN)カウンター
22g QoS(DSCP)カウンター
DESCRIPTION OF SYMBOLS 1 Legacy PBX engine card 2 Router card 3 Server card 4 CPU card 5 VoIP card 6 LAN switch 7a Fast Ethernet (registered trademark) transceiver and pulse transformer 7b Giga Ethernet (registered trademark) transceiver and pulse transformer 8a RJ45 to LAN interface Connector 8b RJ45 connector to WAN interface 9 IP phone terminal 11 MAC
12 FIFO
13 Packet decoding 14 Address search 15 Switch fabric 16 QoS
17 memory 17a MAC table 17b VLAN table 17c packet buffer 18 LED interface 19 CPU interface 20 configuration register 21 MDIO interface 22 MIB (management information base)
22a MAC address counter 22b IP address counter 22c VLAN counter 22d Application counter 22e Protocol counter 22f QoS (VLAN) counter 22g QoS (DSCP) counter

Claims (8)

IP−PBX装置とこのIP−PBX装置につながるIP電話端末からなるIP−PBXシステムにおいて、前記IP−PBX装置に内蔵されたLANスイッチがトラフィック情報を収集するためのパケット数を記憶するパケットカウンターを備え、MACアドレス、IPアドレス、VLANタグのVLAN識別子、TCP/UDPポート番号、VLANタグの優先度およびDiffServの優先度などのパケットヘッダー上のフィールドの値によりカウントすべきパケットを特定しそのパケット数をカウントし前記パケットカウンターに記憶するように構成したIP−PBXシステム。 In an IP-PBX system comprising an IP-PBX device and an IP telephone terminal connected to the IP-PBX device, a packet counter for storing the number of packets for the LAN switch built in the IP-PBX device to collect traffic information is provided. Prepared, identify packets to be counted by the field values on the packet header such as MAC address, IP address, VLAN tag VLAN identifier, TCP / UDP port number, VLAN tag priority and DiffServ priority. IP-PBX system configured to count and store in the packet counter. 前記LANスイッチが前記パケットカウンターとしてMACアドレス毎のパケット数を記憶するMACアドレスカウンターを備え、MACアドレスにより特定した端末毎のパケット数をカウントし前記MACアドレスカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes a MAC address counter that stores the number of packets for each MAC address as the packet counter, and is configured to count the number of packets for each terminal specified by the MAC address and store the counted number in the MAC address counter. The described IP-PBX system. 前記LANスイッチが前記パケットカウンターとしてIPアドレス毎のパケット数を記憶するIPアドレスカウンターを備え、IPアドレスにより特定した端末毎のパケット数をカウントし前記IPアドレスカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes an IP address counter that stores the number of packets for each IP address as the packet counter, and is configured to count and store the number of packets for each terminal specified by the IP address in the IP address counter. The described IP-PBX system. 前記LANスイッチが前記パケットカウンターとしてVLANグループ毎のパケット数を記憶するVLANカウンターを備え、VLANタグのVLAN識別子による識別により特定したVLANグループ毎のパケット数をカウントし前記VLANカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes a VLAN counter for storing the number of packets for each VLAN group as the packet counter, and is configured to count the number of packets for each VLAN group specified by identification by a VLAN identifier of a VLAN tag and store the counted number in the VLAN counter. The IP-PBX system according to claim 1. 前記LANスイッチが前記パケットカウンターとしてアプリケーション毎のパケット数を記憶するアプリケーションカウンターを備え、TCP/UDPポート番号による識別により特定したアプリケーション毎のパケット数をカウントし前記アプリケーションカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes an application counter that stores the number of packets for each application as the packet counter, and is configured to count and store the number of packets for each application specified by identification by a TCP / UDP port number in the application counter. Item 2. The IP-PBX system according to Item 1. 前記LANスイッチが前記パケットカウンターとしてプロトコル毎のパケット数を記憶するプロトコルカウンターを備え、既知および独自に規定したイーサタイプによる識別により特定したプロトコル毎のパケット数をカウントし前記プロトコルカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes a protocol counter for storing the number of packets for each protocol as the packet counter, and counts and stores the number of packets for each protocol specified by identification by a known and uniquely defined ether type and stores the number in the protocol counter. The IP-PBX system according to claim 1 configured. 前記LANスイッチが前記パケットカウンターとしてQoS毎のパケット数を記憶するQoSカウンターを備え、VLANタグの優先度による識別により特定したQoS毎のパケット数をカウントし前記QoSカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes a QoS counter that stores the number of packets for each QoS as the packet counter, and is configured to count the number of packets for each QoS specified by identification based on a priority of a VLAN tag, and store the counted number in the QoS counter. Item 2. The IP-PBX system according to Item 1. 前記LANスイッチが前記パケットカウンターとしてQoS毎のパケット数を記憶するQoSカウンターを備え、DiffServの優先度による識別により特定したQoS毎のパケット数をカウントし前記QoSカウンターに記憶するように構成した請求項1記載のIP−PBXシステム。 The LAN switch includes a QoS counter that stores the number of packets for each QoS as the packet counter, and is configured to count the number of packets for each QoS specified by identification based on DiffServ priority and store the number in the QoS counter. The IP-PBX system according to 1.
JP2005004806A 2005-01-12 2005-01-12 Ip-pbx system Pending JP2006197064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005004806A JP2006197064A (en) 2005-01-12 2005-01-12 Ip-pbx system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005004806A JP2006197064A (en) 2005-01-12 2005-01-12 Ip-pbx system

Publications (1)

Publication Number Publication Date
JP2006197064A true JP2006197064A (en) 2006-07-27

Family

ID=36802802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005004806A Pending JP2006197064A (en) 2005-01-12 2005-01-12 Ip-pbx system

Country Status (1)

Country Link
JP (1) JP2006197064A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239421A (en) * 2008-03-26 2009-10-15 Nippon Telegraph & Telephone West Corp Voice monitoring system, voice monitoring device, voice monitoring method and computer program
JP2009246491A (en) * 2008-03-28 2009-10-22 Osaka Gas Co Ltd Convergence transmission board and terminal equipment monitoring system
JP2012151780A (en) * 2011-01-21 2012-08-09 Forval Telecom Inc Exchanging-main apparatus and ip telephone system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009239421A (en) * 2008-03-26 2009-10-15 Nippon Telegraph & Telephone West Corp Voice monitoring system, voice monitoring device, voice monitoring method and computer program
JP2009246491A (en) * 2008-03-28 2009-10-22 Osaka Gas Co Ltd Convergence transmission board and terminal equipment monitoring system
JP2012151780A (en) * 2011-01-21 2012-08-09 Forval Telecom Inc Exchanging-main apparatus and ip telephone system

Similar Documents

Publication Publication Date Title
CN109962825B (en) Method and device for monitoring transmission amount in network
JP4057615B2 (en) User MAC frame transfer method, edge transfer device, and program
EP3958521A1 (en) Method and apparatus for providing service for service flow
JP3854607B2 (en) Method for providing a service with guaranteed quality of service in an IP access network
EP1986374B1 (en) Gateway with improved QoS awareness
US20160323193A1 (en) Service Routing Method, Device, and System
US6901079B1 (en) Providing different quality of services (QOS) to different point-to-point sessions
US6895008B2 (en) Label switching router
JP2015111902A (en) Network system, controller, switch and traffic monitoring method
WO2020258746A1 (en) Data transmission processing method, device, and communication apparatus
JP4148949B2 (en) RPR equipment
CN101573913A (en) Method and apparatus for improved multicast routing
EP1604270A2 (en) Method and apparatus for providing integrated voice and data services over a common interface device
CN103004155B (en) Process is through the Network of fixing access
CN101488925A (en) Method for collecting and designing VPN flow by using Netflow
CN1773993B (en) Session relay equipment and session relay method
WO2012159525A1 (en) Service control method and system for autonomous network
CN113328956B (en) Message processing method and device
JP2006197064A (en) Ip-pbx system
CN114095388B (en) Method for exchanging data packet classification identifiers between RTC/RTE equipment and WiFi access point and wireless access point
WO2011098025A1 (en) Communication system and service policy information association method
CN109587826A (en) A kind of GTP data pack transmission method, relevant apparatus and storage medium
US11799802B2 (en) Data traffic control device, a residential router, an operator network device and a telecommunication system
KR20080035129A (en) The method and apparatus for classification according to the service flow of the ip packet
CN100361465C (en) Method of automatic topological discovery of broad band digital user cut-in concentrator cascade group network