JP2014017618A - Communication device, method, and program - Google Patents

Communication device, method, and program Download PDF

Info

Publication number
JP2014017618A
JP2014017618A JP2012152910A JP2012152910A JP2014017618A JP 2014017618 A JP2014017618 A JP 2014017618A JP 2012152910 A JP2012152910 A JP 2012152910A JP 2012152910 A JP2012152910 A JP 2012152910A JP 2014017618 A JP2014017618 A JP 2014017618A
Authority
JP
Japan
Prior art keywords
offload
session
unit
media
control unit
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
JP2012152910A
Other languages
Japanese (ja)
Other versions
JP6003308B2 (en
Inventor
Wataru Tashiro
渉 田代
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2012152910A priority Critical patent/JP6003308B2/en
Publication of JP2014017618A publication Critical patent/JP2014017618A/en
Application granted granted Critical
Publication of JP6003308B2 publication Critical patent/JP6003308B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device that allows an operator to enjoy high-speed transfer by off-load setting without off-load setting by the operator.SOLUTION: The invention relates to a communication device which includes a first processor unit for performing call control and transfer of a media packet and a second processor unit for performing high-speed transfer of a media packet in a session registered with an off-load registration management unit. The first processor unit is characterized by including: a storage unit for managing session information extracted from a call control packet; a control unit for determining whether off-load setting should be registered or not by acquiring a parameter related to an established session from the storage unit when the session is established and the transmission and reception of media packets is started; and a setting processing unit for registering off-load setting with the off-load registration management unit on the basis of the information given by the control unit.

Description

本発明は通信装置、方法及びプログラムに関し、例えば、VoIP(Voice over IP)メディアの転送処理を複数のプロセッサの中のいずれかが実行するVoIPホームゲートウェイに適用し得るものである。   The present invention relates to a communication apparatus, method, and program, and can be applied to, for example, a VoIP home gateway in which one of a plurality of processors executes a VoIP (Voice over IP) media transfer process.

VoIPメディアの転送処理を複数のプロセッサのいずれかが実行する通信装置が、既に、提案されている(特許文献1参照)。   A communication device has already been proposed in which one of a plurality of processors executes a VoIP media transfer process (see Patent Document 1).

例えば、図10に示す通信装置10は、複雑な通信パケット処理や制御を行うアプリケーション用プロセッサ(以下、APと呼ぶ)11と、通信パケットを高速に転送するためのファストパス用プロセッサ(以下、FPと呼ぶ)12を有し、配下のSIP(Session Initiation Protocol)端末13に通話機能を提供する。   For example, a communication apparatus 10 shown in FIG. 10 includes an application processor (hereinafter referred to as AP) 11 that performs complicated communication packet processing and control, and a fast path processor (hereinafter referred to as FP) for transferring communication packets at high speed. And provides a call function to a subordinate SIP (Session Initiation Protocol) terminal 13.

図11は、配下のSIP端末13が外線通話を行った場合のシーケンスを示している。図11では、網をWANと表現しており、配下の複数のSIP端末13が存在する側をLANと表現している。後述する実施形態の説明でも、適宜、「WAN」、「LAN」という用語を用いる。   FIG. 11 shows a sequence in the case where the subordinate SIP terminal 13 makes an external line call. In FIG. 11, the network is expressed as WAN, and the side where a plurality of subordinate SIP terminals 13 exist is expressed as LAN. The terms “WAN” and “LAN” are used as appropriate in the description of the embodiments described later.

SIP端末13と通信装置10との間や、通信装置10と網との間のそれぞれで、SDP(Session Description Protocol)情報を交換し、網から入ってくるRTP(Real−time Transport Protocol)パケットに対し、その宛先IPアドレスとポート番号、送信元IPアドレスとポート番号、DSCP(Differentiated Service Code Point)値、RTPヘッダ情報(SSRC識別子(同期送信元識別子)、シーケンス番号、タイムスタンプ)などを通信装置10とSIP端末13との経路に合わせて書き換えてSIP端末13へ送信し、同様に、SIP端末13から入ってくるRTPパケットに対しても、その宛先IPアドレスとポート番号、送信元IPアドレスとポート番号、DSCP値、RTPヘッダ情報などを通信装置10と網との経路に合わせて書き換えて送信している。   SDP (Session Description Protocol) information is exchanged between the SIP terminal 13 and the communication device 10 and between the communication device 10 and the network, and RTP (Real-time Transport Protocol) packets entering from the network are exchanged. On the other hand, the destination IP address and port number, source IP address and port number, DSCP (Differentiated Service Code Point) value, RTP header information (SSRC identifier (synchronized source identifier), sequence number, timestamp), etc. 10 is rewritten in accordance with the route between the SIP terminal 13 and transmitted to the SIP terminal 13. Similarly, the destination IP address and port number of the RTP packet that enters from the SIP terminal 13 are transmitted. Source IP address and port number, DSCP value, and transmits rewritten in accordance with the path of the communication device 10 and a network such as RTP header information.

上述した図10は、網からSIP端末13へのRTPパケットの流れをも示している。AP11が担う機能部として転送処理部14が設けられており、また、FP12が担う機能部として高速転送処理部15が設けられている。高速転送処理部15は、ヘッダ情報比較処理部15Bを有し、ヘッダ情報比較処理部15Bは、入力されたRTPパケットに関し、FP登録管理テーブル16にFPパスの登録がなされているか否かを確認し、登録されている場合には高速転送処理部15内のRTPヘッダ変換処理部15Aを機能させて上述したRTPパケットの変換やその後の転送を実行させ(二重線矢印参照)、登録されていない場合には転送処理部14内のRTPヘッダ変換処理部14Aを機能させて上述したRTPパケットの変換やその後の転送を実行させる(点線矢印参照)。   FIG. 10 described above also shows the flow of RTP packets from the network to the SIP terminal 13. A transfer processing unit 14 is provided as a functional unit carried by the AP 11, and a high-speed transfer processing unit 15 is provided as a functional unit carried by the FP 12. The high-speed transfer processing unit 15 includes a header information comparison processing unit 15B, and the header information comparison processing unit 15B confirms whether or not an FP path is registered in the FP registration management table 16 for the input RTP packet. If it is registered, the RTP header conversion processing unit 15A in the high-speed transfer processing unit 15 is caused to function to perform the above-described RTP packet conversion and subsequent transfer (see double-line arrows). If not, the RTP header conversion processing unit 14A in the transfer processing unit 14 is operated to perform the above-described RTP packet conversion and subsequent transfer (see the dotted arrow).

AP11上では、様々なアプリケーションが動作するため比較的低速な転送能力しかなく、転送処理により他のアプリケーションの処理遅延を招く可能性がある。一方、AP11が介在しないパス(二重線矢印)でRTPパケットが転送処理された場合、最小のAP11の負荷でFP12による高速転送を実現することができる。   Since various applications operate on the AP 11, there is only a relatively low transfer capacity, and there is a possibility that processing delays of other applications may be caused by the transfer process. On the other hand, when the RTP packet is transferred through a path (double line arrow) where the AP 11 does not intervene, high-speed transfer by the FP 12 can be realized with a minimum load of the AP 11.

従来、どのRTPパケットを、AP11からFP12にオフロードするか(AP11の転送処理対象から外すか)は、オペレータ(人間)が明示的に手動設定していた。すなわち、AP11が担う機能部としてFP制御部17が設けられており、FP制御部17は、当該通信装置10に直接接続された保守端末、当該通信装置10にネットワークを介して接続された遠隔保守端末、又は、当該通信装置10が有する図示しない表示・操作部(例えばタッチパネル)を制御して、オペレータによる操作信号を取込み、その操作信号に基づいて、FP登録管理テーブル16に対する登録を実行する。なお、登録削除も同様にオペレータによる手動設定によっている。   Conventionally, an operator (human) explicitly manually sets which RTP packet is offloaded from the AP 11 to the FP 12 (to be excluded from the transfer processing target of the AP 11). That is, the FP control unit 17 is provided as a function unit that the AP 11 bears. The FP control unit 17 includes a maintenance terminal directly connected to the communication device 10 and a remote maintenance connected to the communication device 10 via a network. The terminal or a display / operation unit (not shown) (for example, a touch panel) (not shown) included in the communication device 10 is controlled to capture an operation signal from the operator, and registration to the FP registration management table 16 is executed based on the operation signal. The registration deletion is similarly performed manually by the operator.

特開2006−180162号公報JP 2006-180162 A

上述したように、従来の通信装置では、高速転送対象はオペレータが手動で設定しなければならず、また、高速転送が不要になった場合にも、オペレータが、その都度、設定を削除しなければならず、実運用の際に手間がかかるという課題がある。   As described above, in the conventional communication device, the high-speed transfer target must be manually set by the operator, and when the high-speed transfer becomes unnecessary, the operator must delete the setting each time. In other words, there is a problem that it takes time for actual operation.

また、オフロード設定をすることが困難な通信サービスもある。例えば、SIP端末13−1と網側の端末とが通信装置10を介して通話中の状態から、SIP端末13−1が通話を保留し、他のSIP端末13−2に通話を転送するサービスは、オフロード設定をすることが困難な通信サービスである。SIP端末13−1が送っていたRTPヘッダ情報(SSRC識別子、シーケンス番号、タイムスタンプ)とSIP端末13−2が送信するRTPヘッダ情報とは、SSRC識別子が異なり、シーケンス番号やタイムスタンプも連番ではなくなるが、通信装置10から網側へ出るRTPパケットのRTPヘッダ情報は、転送前後で、同じSSRC識別子、連番のシーケンス番号、タイムスタンプとなるようにRTPヘッダ情報を書き換えることが必要であるが、このような書換処理をFP12にオフロード設定をすることは困難であった。   There are also communication services that are difficult to set off-load. For example, a service in which the SIP terminal 13-1 puts the call on hold and forwards the call to another SIP terminal 13-2 from a state in which the SIP terminal 13-1 and the network side terminal are talking via the communication device 10 Is a communication service that is difficult to set off-load. The RTP header information (SSRC identifier, sequence number, time stamp) sent from the SIP terminal 13-1 and the RTP header information sent from the SIP terminal 13-2 are different in SSRC identifier, and the sequence number and time stamp are also serial numbers. However, it is necessary to rewrite the RTP header information so that the RTP header information of the RTP packet output from the communication apparatus 10 to the network side has the same SSRC identifier, sequence number, and time stamp before and after transfer. However, it has been difficult to set such rewrite processing to the FP 12 as an offload.

そのため、オペレータがオフロード設定などを行うことなく、オフロード設定による高速転送を享受できる通信装置、方法及びプログラムが望まれている。   Therefore, there is a demand for a communication apparatus, method, and program that can enjoy high-speed transfer by offload setting without an operator performing offload setting.

第1の本発明は、呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置において、上記第1プロセッサ部は、(1)呼制御パケットから抽出されたセッション情報を管理している呼情報記憶部と、(2)セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断するメディア制御部と、(3)上記メディア制御部が確立したセッションについてオフロード設定すると判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行うオフロード設定処理部とを有することを特徴とする。   The first aspect of the present invention is a first processor unit that performs call control and transfer of media packets, and a second processor unit that transfers high-speed media packets of an offload-set session registered in the offload registration management unit The first processor unit includes: (1) a call information storage unit that manages session information extracted from a call control packet; and (2) a session is established and media packets are transmitted and received. A media control unit for determining whether or not to register an offload setting for the established session by acquiring a parameter related to the established session from the call information storage unit when starting, and (3) the media When it is determined to set offload for a session established by the control unit, the information given from the media control unit Hazuki, and having an off-load setting processing unit to be performed on the offload registration management unit, the registration of the off-road setting for the established session.

第2の本発明は、呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置における通信方法において、(1)上記第1プロセッサ部の呼情報記憶部は、呼制御パケットから抽出されたセッション情報を管理し、(2)上記第1プロセッサ部のメディア制御部は、セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断し、(3)上記第1プロセッサ部のオフロード設定処理部は、確立したセッションについてオフロード設定すると上記メディア制御部が判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行うことを特徴とする通信方法。   The second aspect of the present invention is a first processor unit that performs call control and transfer of media packets, and a second processor unit that transfers high-speed media packets of an offload-set session registered in the offload registration management unit (1) the call information storage unit of the first processor unit manages session information extracted from the call control packet, and (2) the media control unit of the first processor unit. Determines whether or not to register parameters for the established session from the call information storage unit and register offload settings for the established session when the session is established and media packet transmission / reception is started. (3) The offload setting processing unit of the first processor unit sets offload for the established session. When the media control unit determines that the offload setting is registered for the established session to the offload registration management unit based on the information given from the media control unit. Method.

第3の本発明は、呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置における上記第1プロセッサ部が実行する通信プログラムであって、上記第1プロセッサ部を、(1)呼制御パケットから抽出されたセッション情報を管理している呼情報記憶部と、(2)セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断するメディア制御部と、(3)上記メディア制御部が確立したセッションについてオフロード設定すると判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行うオフロード設定処理部として機能させることを特徴とする。   The third aspect of the present invention is a first processor unit that performs call control and transfer of media packets, and a second processor unit that transfers media packets of an offload-set session registered in the offload registration management unit at high speed. A communication program executed by the first processor unit in a communication device including: (1) a call information storage unit that manages session information extracted from a call control packet; (2) Whether to register parameters related to the established session from the call information storage unit and register offload settings for the established session when the session is established and media packet transmission / reception is started (3) a session established by the media control unit is determined to be offloaded. The offload registration management unit functions as an offload setting processing unit for registering an offload setting for the established session based on information given from the media control unit. .

本発明によれば、オペレータがオフロード設定などを行うことなく、オフロード設定による高速転送を享受することができるようになる。   According to the present invention, it is possible for an operator to enjoy high-speed transfer by offload setting without performing offload setting or the like.

実施形態の通信装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the communication apparatus of embodiment. 図1の第1のFP登録管理テーブルの構成を示す説明図である。It is explanatory drawing which shows the structure of the 1st FP registration management table of FIG. 図1の呼情報記憶テーブルの構成を示す説明図である。It is explanatory drawing which shows the structure of the call information storage table of FIG. 図1の第2のFP登録管理テーブルの構成を示す説明図である。It is explanatory drawing which shows the structure of the 2nd FP registration management table of FIG. 実施形態の通信装置における、有線SIP端末で外線通話を開始したときのオフロード設定の自動的な追加動作を示すシーケンス図である。It is a sequence diagram which shows the automatic addition operation | movement of an offload setting when the outside line telephone call is started with the wired SIP terminal in the communication apparatus of embodiment. 図1に示した音声処理ルートの逆方向の音声処理ルートを示すブロック図である。It is a block diagram which shows the audio | voice processing route of the reverse direction of the audio | voice processing route shown in FIG. 実施形態の通信装置における、無線SIP端末で外線通話を開始したときのオフロード設定の自動的な追加動作を示すシーケンス図である。It is a sequence diagram which shows the automatic addition operation | movement of an offload setting when an outside line call is started with the radio | wireless SIP terminal in the communication apparatus of embodiment. 実施形態の通信装置におけるオフロード設定の自動的な削除動作を示すシーケンス図である。It is a sequence diagram which shows the automatic deletion operation | movement of the offload setting in the communication apparatus of embodiment. 実施形態の通信装置における、内線転送時のオフロード設定の変化を示すシーケンス図である。It is a sequence diagram which shows the change of the offload setting at the time of extension transfer in the communication apparatus of an embodiment. 従来の通信装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the conventional communication apparatus. 図10の通信装置配下のSIP端末が外線通話を行った場合のシーケンス図である。FIG. 11 is a sequence diagram when a SIP terminal under the communication apparatus of FIG. 10 performs an outside line call.

(A)主たる実施形態
以下、本発明による通信装置、方法及びプログラムの一実施形態を、図面を参照しながら説明する。この実施形態の通信装置は、例えば、VoIPホームゲートウェイである。
(A) Main Embodiment Hereinafter, an embodiment of a communication apparatus, method and program according to the present invention will be described with reference to the drawings. The communication device of this embodiment is, for example, a VoIP home gateway.

(A−1)実施形態の構成
図1は、実施形態の通信装置の機能的構成を示すブロック図である。実施形態の通信装置20は、アプリケーション用プロセッサとファストパス用プロセッサとを備えており、アプリケーション用プロセッサが自己用のプログラムを実行することで発揮する機能部や、ファストパス用プロセッサが自己用のプログラムを実行することで発揮する機能部を書き出したものが図1である。
(A-1) Configuration of Embodiment FIG. 1 is a block diagram illustrating a functional configuration of a communication apparatus according to an embodiment. The communication apparatus 20 according to the embodiment includes an application processor and a fast path processor, and a function unit that is exhibited when the application processor executes its own program, and a program that is used by the fast path processor. FIG. 1 shows a functional part that is exhibited by executing the above.

図1において、AP30は、アプリケーション用プロセッサが自己用のプログラムを実行することで発揮する機能部群を表しており、FP50は、ファストパス用プロセッサが自己用のプログラムを実行することで発揮する機能部群を表している。なお、従来技術の説明では、AP及びFPについてラフに言及したが、厳密には、この実施形態の場合と同様である。   In FIG. 1, AP 30 represents a functional unit group that is exhibited when an application processor executes its own program, and FP 50 is a function that is exhibited when a fast path processor executes its own program. Represents a group. In the description of the prior art, AP and FP are roughly referred to, but strictly speaking, it is the same as in the case of this embodiment.

通信装置20は、配下の有線SIP端末21若しくは無線SIP端末22と、網(WAN)側との通話を実現させるものである。   The communication device 20 realizes a call between the subordinate wired SIP terminal 21 or the wireless SIP terminal 22 and the network (WAN) side.

AP30は、転送処理部31、RTP登録管理テーブル32、VoIP制御部33、インタフェース情報管理部34、オフロード設定処理部35及び無線処理部36を有する。VoIP制御部33は、セッション管理部40、メディア制御部41、第1のFP登録管理テーブル42及び呼情報記憶テーブル43を有する。   The AP 30 includes a transfer processing unit 31, an RTP registration management table 32, a VoIP control unit 33, an interface information management unit 34, an offload setting processing unit 35, and a wireless processing unit 36. The VoIP control unit 33 includes a session management unit 40, a media control unit 41, a first FP registration management table 42, and a call information storage table 43.

アプリケーション用プロセッサ上では、Linux(登録商標)のようなネットワークスタックを持つ汎用OS(Operating System)が動作しており、その上で、DHCP(Dynamic Host Configuration Protocol)サーバ/クライアント、PPPoE(Point−to−Point Protocol over Ethernet)クライアント/サーバ、VoIPアプリケーション等のアプリケーションが動作することを想定している。このような想定下で機能的に表現したものが、図1のAP30である。   On the application processor, a general-purpose OS (Operating System) having a network stack such as Linux (registered trademark) operates, and on that, a DHCP (Dynamic Host Configuration Protocol) server / client, a PPPoE (Point-to-to) -Point Protocol over Ethernet) It is assumed that an application such as a client / server or a VoIP application operates. A functional representation of such an AP 30 is shown in FIG.

FP50は、高速転送処理部51、LAN側有線処理部52、WAN側有線処理部53及び第2のFP登録管理テーブル54を有する。高速転送処理部51は、ヘッダ情報比較処理部60及びRTPヘッダ変換処理部61を有する。   The FP 50 includes a high-speed transfer processing unit 51, a LAN side wired processing unit 52, a WAN side wired processing unit 53, and a second FP registration management table 54. The high-speed transfer processing unit 51 includes a header information comparison processing unit 60 and an RTP header conversion processing unit 61.

FP50は、WAN側有線処理部53(有線WANインタフェース)やLAN側有線処理部52(有線LANインタフェース)から入ってきたRTPパケットの高速転送を実現するものである。   The FP 50 realizes high-speed transfer of RTP packets received from the WAN side wired processing unit 53 (wired WAN interface) and the LAN side wired processing unit 52 (wired LAN interface).

転送処理部31は、例えば、Linuxカーネルのネットワークスタック内の転送処理部が該当する。転送処理部31は、転送処理部31の内部に設けられているRTP登録管理テーブル32のリストを検索し、フレームのヘッダ情報と比較を行うことで出力先インタフェースの決定を行い、RTPヘッダの書き換えを行って転送を行うものである。   The transfer processing unit 31 corresponds to a transfer processing unit in the network stack of the Linux kernel, for example. The transfer processing unit 31 searches the list of the RTP registration management table 32 provided in the transfer processing unit 31, determines the output destination interface by comparing with the frame header information, and rewrites the RTP header. To perform the transfer.

RTP登録管理テーブル32は、リソースのRTPソケットのリストが記述されたテーブルであり、リソース情報を登録して管理するものである。   The RTP registration management table 32 is a table in which a list of resource RTP sockets is described, and registers and manages resource information.

VoIP制御部33は、当該通信装置20の配下のSIP端末21、22に係るセッションを確立したり切断したりする呼制御を行うものである。   The VoIP control unit 33 performs call control to establish or disconnect a session related to the SIP terminals 21 and 22 under the communication device 20.

セッション管理部40は、セッション(内線通話、外線通話)の状態と当該通信装置20配下のSIP端末21、22の状態の管理と呼制御を行うものである。なお、当該通信装置20は、専用のIP−PBXではないが、配下のSIP端末間の通話を内線通話と呼び、配下のSIP端末と外部網の端末(以下、対向端末と呼ぶ)との間の通話を外線通話と呼ぶこととする。   The session management unit 40 performs management and call control of the state of the session (extension call, external call) and the states of the SIP terminals 21 and 22 under the communication device 20. The communication device 20 is not a dedicated IP-PBX, but a call between subordinate SIP terminals is called an extension call, and between the subordinate SIP terminal and a terminal of an external network (hereinafter referred to as an opposite terminal). Is called an outside line call.

セッション管理部40は、SIPパケットのSDP情報を取得して呼情報記憶テーブル43に保存する。例えば、対向端末のIPアドレス及びポート番号を取得して保存したり、配下のSIP端末のIPアドレス及びポート番号を取得して保存したり、当該通信装置20に対する指示情報であるディレクション情報(sendrecv(当該通信装置はパケットの送受信を行う)/sendonly(当該通信装置はパケットの送信だけを行う)/recvonly(当該通信装置はパケットの受信だけを行う)/inactive(当該通信装置はパケットの送信も受信も実行しない))を取得して保存したりする。また、セッション管理部40は、使用中でないポートを検索し、当該通信装置20の外部端末側若しくはSIP端末側のRTP受信ポートを設定し、SIP/SDP情報で通知し、呼情報記憶テーブル43に保存する。さらに、セッション管理部40は、通話開始のSIPセッションの処理が完了すると、RTP送信開始要求をメディア制御部41に通知する。さらにまた、セッション管理部40は、通話終了のSIPパケットを受信すると、RTP送信停止要求をメディア制御部41に通知し、SIPセッションの終了処理を行う。また、セッション管理部40は、セッション情報更新のSIPパケットを受信すると、RTP情報更新要求をメディア制御部41に通知する。セッション管理部40は、内線転送のSIPセッションのやり取りが完了すると、端末変更要求をメディア制御部41に通知する。   The session management unit 40 acquires SDP information of the SIP packet and stores it in the call information storage table 43. For example, the IP address and port number of the opposite terminal are acquired and stored, the IP address and port number of the subordinate SIP terminal are acquired and stored, and direction information (sendrecv ( The communication device transmits / receives packets) / sendly (the communication device only transmits packets) / recvonly (the communication device only receives packets) / inactive (the communication device also receives packets) Also do not execute))) to get and save. Further, the session management unit 40 searches for a port that is not in use, sets an RTP reception port on the external terminal side or SIP terminal side of the communication device 20, notifies it with SIP / SDP information, and stores it in the call information storage table 43. save. Further, the session management unit 40 notifies the media control unit 41 of an RTP transmission start request when processing of the SIP session for starting a call is completed. Furthermore, when the session management unit 40 receives the SIP packet for ending the call, the session management unit 40 notifies the media control unit 41 of an RTP transmission stop request, and performs an SIP session termination process. In addition, when the session management unit 40 receives the SIP packet for updating the session information, the session management unit 40 notifies the media control unit 41 of an RTP information update request. When the exchange of the SIP session for extension transfer is completed, the session management unit 40 notifies the media control unit 41 of a terminal change request.

この実施形態のメディア制御部41は、セッション管理部40からの要求を受信し、オフロード設定に必要な情報を取得し、オフロード設定処理部35にオフロード設定の要求を行うものである。   The media control unit 41 according to this embodiment receives a request from the session management unit 40, acquires information necessary for offload setting, and requests the offload setting processing unit 35 for offload setting.

第1のFP登録管理テーブル42は、後述する第2のFP登録管理テーブル54が保持しているエントリにおけるFPセッションID、FPリソースIDを保持しているものである。第1のFP登録管理テーブル42は、主に、エントリ追加時に、当該第1のFP登録管理テーブル42の空きIDを割り当てること(採番)と、FP50からオフロード設定を削除するために利用される。   The first FP registration management table 42 holds FP session IDs and FP resource IDs in entries held by a second FP registration management table 54 described later. The first FP registration management table 42 is mainly used for assigning a free ID (numbering) of the first FP registration management table 42 and deleting an offload setting from the FP 50 when an entry is added. The

第1のFP登録管理テーブル42は、図2(A)に示すセッションテーブル42Aと図2(B)に示すリソーステーブル42Bとからなる。セッションテーブル42Aは、FPセッションIDに対応付けて、オフロード設定によりFPパス接続する両端のソケット(FPリソースID)の組み合わせが記述されたものである。リソーステーブル42Bは、FPリソースIDに対応付けて、リソース使用状況が記述されたものである。リソーステーブル42BにおけるFPリソースIDから、オフロード設定によりFPパス接続する両端のソケットIDがそれぞれ割り当てられ、この割当てられたリソース(LAN側有線処理部、WAN側有線処理部)の使用状況として「使用中」が記述される。   The first FP registration management table 42 includes a session table 42A shown in FIG. 2A and a resource table 42B shown in FIG. The session table 42A describes a combination of sockets (FP resource IDs) at both ends that are connected to an FP path by offload setting in association with the FP session ID. The resource table 42B describes the resource usage status in association with the FP resource ID. From the FP resource IDs in the resource table 42B, socket IDs at both ends for FP path connection are allocated by offload setting, and the usage status of the allocated resources (LAN side wired processing unit, WAN side wired processing unit) is “Used”. "Medium" is described.

第1のFP登録管理テーブル42ヘのエントリの追加契機、削除契機、更新契機は以下の通りであり、第2のFP登録管理テーブル54へのエントリの追加、削除、更新と同期されている。エントリの追加契機はFP50にオフロード設定を追加したときであり、エントリの削除契機はFP50からオフロード設定を削除したときであり、エントリの更新契機はFP50のオフロード設定を変更したときである。   The entry addition, deletion, and update triggers for entries in the first FP registration management table 42 are as follows, and are synchronized with the addition, deletion, and update of entries in the second FP registration management table 54. The entry addition trigger is when the offload setting is added to the FP 50, the entry deletion trigger is when the offload setting is deleted from the FP 50, and the entry update trigger is when the FP 50 off-load setting is changed. .

呼情報記憶テーブル43は、VoIP制御部33がセッションIDを用いて、FP50に設定する情報を保存、参照するためのテーブルである。呼情報記憶テーブル43は、図3(A)に示すセッションテーブル43Aと図3(B)に示すリソーステーブル43Bとからなる。   The call information storage table 43 is a table for the VoIP control unit 33 to store and refer to information set in the FP 50 using the session ID. The call information storage table 43 includes a session table 43A shown in FIG. 3A and a resource table 43B shown in FIG.

セッションテーブル43Aでは、セッションIDに対応付けて、RTPの両端のソケット(リソースID)の組み合わせを登録する。   In the session table 43A, a combination of sockets (resource IDs) at both ends of the RTP is registered in association with the session ID.

リソーステーブル43Bでは、RTPの両端のソケット(外線通話時WAN側のRTPソケット、外線通話時LAN側のRTPソケット)のリソースIDを登録する。このリソースID毎のエントリは、[1]クロックレート、[2]パケット化周期、[3]送信先のIPアドレス及びポート番号、[4]受信先のIPアドレス&ポート番号、[5]SSRC識別子、[6]FPリソースID(有線インタフェース向けのFPソケットのIDを保存する)、[7]ACPリソースID(カーネル向けのFPソケットのIDを保存する)等を要素としている。   In the resource table 43B, resource IDs of sockets at both ends of the RTP (an RTP socket on the WAN side during an external line call and an RTP socket on the LAN side during an external line call) are registered. The entry for each resource ID includes: [1] clock rate, [2] packetization period, [3] destination IP address and port number, [4] destination IP address & port number, [5] SSRC identifier , [6] FP resource ID (stores the ID of the FP socket for the wired interface), [7] ACP resource ID (stores the ID of the FP socket for the kernel), and the like.

例えば、外線通話時のセッションテーブル43Aとリソーステーブル43Bとの登録状態は以下のようになる。   For example, the registration state of the session table 43A and the resource table 43B during an outside line call is as follows.

セッションテーブル43Aには、[1]RTPリソースID1(WAN側のリソースID)と[2]RTPリソースID2(LAN側のリソースID)とが登録される。   [1] RTP resource ID1 (WAN side resource ID) and [2] RTP resource ID2 (LAN side resource ID) are registered in the session table 43A.

リソーステーブル43BのRTPリソースID1(WAN側のリソースID)に関しては、以下の登録がなされる。   Regarding the RTP resource ID1 (WAN side resource ID) of the resource table 43B, the following registration is made.

[1]SDPのa=rtpmapに設定されているクロックレート値が登録される。以下の例の場合には「8000」が登録される。 [1] The clock rate value set in SDP a = rtmap is registered. In the following example, “8000” is registered.

a=rtpmap:<payload type><encoding name>/<clock rate>
例:a=rtpmap:0 PCMU/8000
[2]SDPのa=ptimeに設定されている値がパケット化周期として登録される。以下の例の場合には「20」が登録される。なお、ptimeが設定されていない場合には0を設定(登録)する。
a = rtpmap: <payload type><encodingname> / <clock rate>
Example: a = rtpmap: 0 PCMU / 8000
[2] A value set in a = ptime of SDP is registered as a packetization period. In the following example, “20” is registered. If ptime is not set, 0 is set (registered).

a=ptime:<ptime>
例:a=ptime:20
[3]対向端末のIPアドレス及びポート番号が登録される。[4]当該通信装置におけるWAN側のIPアドレス及びポート番号が登録される。[5]SSRC識別子が登録される。[6]FPリソースIDが保存される。[7]未設定となる。
a = ptime: <ptime>
Example: a = ptime: 20
[3] The IP address and port number of the opposite terminal are registered. [4] The WAN-side IP address and port number in the communication device are registered. [5] The SSRC identifier is registered. [6] The FP resource ID is stored. [7] Not set.

リソーステーブル43BのRTPリソースID2(LAN側のリソースID)に関しては、以下の登録がなされる。   Regarding the RTP resource ID 2 (LAN side resource ID) of the resource table 43B, the following registration is made.

[1]SDPのa=rtpmapに設定されているクロックレート値が登録される。[2]SDPのa=ptimeに設定されている値が登録される。[3]SIP端末のIPアドレス及びポート番号が登録される。[4]当該通信装置におけるLAN側のIPアドレス及びポート番号が登録される。[5]SSRC識別子が登録される。[6]無線SIP端末の場合には、未設定となる。有線SIP端末の場合には、FPリソースIDが保存される。[7]有線SIP端末の場合には、未設定となる。無線SIP端末の場合には、APリソースIDが保存される。 [1] The clock rate value set in SDP a = rtmap is registered. [2] A value set in a = ptime of SDP is registered. [3] The IP address and port number of the SIP terminal are registered. [4] The IP address and port number on the LAN side in the communication device are registered. [5] The SSRC identifier is registered. [6] Not set in the case of a wireless SIP terminal. In the case of a wired SIP terminal, the FP resource ID is stored. [7] In the case of a wired SIP terminal, it is not set. In the case of a wireless SIP terminal, the AP resource ID is stored.

インタフェース情報管理部34は、メディア制御部41からIPアドレスが与えられると、そのIPアドレスに対応したMACアドレスとインタフェース情報(有線(WAN)、有線(LAN)、無線(LAN))をメディア制御部41に返信するものである。   When an IP address is given from the media control unit 41, the interface information management unit 34 sends the MAC address and interface information (wired (WAN), wired (LAN), and wireless (LAN)) corresponding to the IP address to the media control unit. This is a reply to 41.

無線処理部36、LAN側有線処理部52及びWAN側有線処理部53は、AP30とFP50のどちらに配置されていても良いものである。但し、図1に示すように、無線処理部36がAP30上、LAN側有線処理部52及びWAN側有線処理部53がFP50上に実装されている場合、無線SIP端末22とのソケットはAP30向けに作成し、有線SIP端末21や網側とのソケットはFP50向けに作成する。そのため、有線SIP端末21、無線SIP端末22の判別のために、インタフェース情報管理部34を用いる。なお、LAN側有線処理部52及び無線処理部36の両方がFP50にある場合や、LAN側有線処理部52及び無線処理部36の両方がAP30にある場合には、インタフェース情報管理部34での判定はなくても良いものである。   The wireless processing unit 36, the LAN-side wired processing unit 52, and the WAN-side wired processing unit 53 may be arranged in either the AP 30 or the FP 50. However, as shown in FIG. 1, when the wireless processing unit 36 is mounted on the AP 30, and the LAN side wired processing unit 52 and the WAN side wired processing unit 53 are mounted on the FP 50, the socket with the wireless SIP terminal 22 is for the AP 30. The socket for the wired SIP terminal 21 and the network side is created for the FP 50. Therefore, the interface information management unit 34 is used to distinguish between the wired SIP terminal 21 and the wireless SIP terminal 22. When both the LAN side wired processing unit 52 and the wireless processing unit 36 are in the FP 50, or when both the LAN side wired processing unit 52 and the wireless processing unit 36 are in the AP 30, the interface information management unit 34 There is no need for determination.

オフロード設定処理部35は、メディア制御部41からの要求を受けて、FP50にオフロード設定を行うものである。   In response to a request from the media control unit 41, the offload setting processing unit 35 performs offload setting for the FP 50.

無線処理部36は、例えば、無線LANのドライバが該当するものであり、無線SIP端末22向けのフレームの送受信を行うものである。   The wireless processing unit 36 corresponds to, for example, a wireless LAN driver, and transmits and receives a frame for the wireless SIP terminal 22.

高速転送処理部51は、内蔵するヘッダ情報比較処理部60の結果に基づいて、内蔵するRTPヘッダ変換処理部61がRTPヘッダの変換とフレームの高速転送を行うものである。   In the high-speed transfer processing unit 51, the built-in RTP header conversion processing unit 61 performs conversion of the RTP header and high-speed frame transfer based on the result of the built-in header information comparison processing unit 60.

LAN側有線処理部52は、例えば、有線LAN(ネットワークインタフェースカード;NIC)のドライバが該当し、有線SIP端末21との間でフレームの送受信を行うものである。   The LAN-side wired processing unit 52 corresponds to, for example, a wired LAN (network interface card; NIC) driver and transmits / receives a frame to / from the wired SIP terminal 21.

WAN側有線処理部53は、例えば、有線WAN(NIC)のドライバが該当し、網側との間でフレームの送受信を行うものである。   The WAN-side wired processing unit 53 corresponds to, for example, a wired WAN (NIC) driver, and transmits / receives a frame to / from the network side.

ヘッダ情報比較処理部60は、入力されたフレーム(IPパケット)の宛先IPアドレスとポート、送信元IPアドレスとポートからフレームの転送先を判定するものである。ヘッダ情報比較処理部60は、第2のFP登録管理テーブル54を検索することによって転送先を判定する。ヘッダ情報比較処理部60は、第2のFP登録管理テーブル54にそのフレームに該当するエントリがヒットしなかった場合には、入力されたフレームをAP30の転送処理部31へ転送し、AP30による比較的低速な転送処理を実行させる。ヘッダ情報比較処理部60は、入力されたフレームに該当するエントリがヒットした場合には、入力されたフレームをエントリの内容と共にRTPヘッダ変換処理部61へ与え、高速に転送させる。   The header information comparison processing unit 60 determines the transfer destination of the frame from the destination IP address and port of the input frame (IP packet) and the source IP address and port. The header information comparison processing unit 60 determines the transfer destination by searching the second FP registration management table 54. When the entry corresponding to the frame is not hit in the second FP registration management table 54, the header information comparison processing unit 60 transfers the input frame to the transfer processing unit 31 of the AP 30, and the comparison by the AP 30 is performed. To perform a slow transfer process. When an entry corresponding to the input frame is hit, the header information comparison processing unit 60 gives the input frame to the RTP header conversion processing unit 61 together with the entry contents, and transfers them at high speed.

RTPヘッダ変換処理部61は、RTPパケットのヘッダ変換などを行って(図11参照)、フレームを高速に転送させるものである。   The RTP header conversion processing unit 61 performs header conversion of RTP packets (see FIG. 11) and transfers frames at high speed.

第2のFP登録管理テーブル54は、FP50が有するテーブルであり、高速転送処理とRTPヘッダ変換処理されるべきフレームの情報が保持されている。第2のFP登録管理テーブル54は、図4(A)に示すセッションテーブル54Aと図4(B)に示すリソーステーブル54Bとからなっている。   The second FP registration management table 54 is a table included in the FP 50, and holds information on frames to be subjected to high-speed transfer processing and RTP header conversion processing. The second FP registration management table 54 includes a session table 54A shown in FIG. 4A and a resource table 54B shown in FIG. 4B.

セッションテーブル54Aのエントリの要素は以下の通りである。[1]セッションID、[2]ソケットID(WAN側)、[3]ソケットID(LAN側(有線)/AP(無線))、[4]ソケット属性(sendrecv/recvonly/sendonly/inactive)、[5]シーケンス番号ベース、[6]SSRC識別子、[7]タイムスタンプベース、[8]周波数(タイムスタンプ増加分)である。上述した[5]シーケンス番号ベースには、RTPパケットのシーケンス番号を格納する。RTPパケットの送信開始時には設定した値を格納し、1パケット送信するごとに更新したシーケンス番号を格納する。[7]タイムスタンプベースには、RTPパケットのタイムスタンプ値を格納する。RTPパケットの送信開始時は設定した値を格納し、1パケット送信するごとに更新したタイムスタンプ値を格納する。[8]周波数(タイムスタンプ増加分)には、タイムスタンプ値の増加分を設定する。例えば、1パケット目がtimestamp=10000で、2パケット目がtimestamp=10160の場合、タイムスタンプ値の増加分は160である。   The elements of the entry in the session table 54A are as follows. [1] Session ID, [2] Socket ID (WAN side), [3] Socket ID (LAN side (wired) / AP (wireless)), [4] Socket attribute (sendrecv / recvonly / sendonly / inactive), [ 5) Sequence number base, [6] SSRC identifier, [7] Time stamp base, [8] Frequency (time stamp increment). The sequence number of the RTP packet is stored in the above-mentioned [5] sequence number base. The set value is stored at the start of RTP packet transmission, and the sequence number updated every time one packet is transmitted is stored. [7] The time stamp base stores the time stamp value of the RTP packet. The set value is stored at the start of RTP packet transmission, and the updated time stamp value is stored every time one packet is transmitted. [8] In the frequency (time stamp increment), an increment of the time stamp value is set. For example, when the first packet is timestamp = 10000 and the second packet is timestamp = 10160, the increment of the time stamp value is 160.

リソーステーブル54Bのエントリの要素は以下の通りである。[1]ソケットID、[2]タイプFP/AP、[3]宛先IPアドレス、[4]受信IPアドレス、[5]宛先ポート番号、[6]受信ポート番号である。[2]タイプFP/APには、無線SIP端末22のときにAP30が、有線SIP端末21と網側(WAN)のときにFP50が設定される。   The elements of the entry in the resource table 54B are as follows. [1] Socket ID, [2] Type FP / AP, [3] Destination IP address, [4] Receiving IP address, [5] Destination port number, [6] Receiving port number. [2] In the type FP / AP, AP 30 is set when the wireless SIP terminal 22 is used, and FP 50 is set when the wired SIP terminal 21 and the network side (WAN).

例えば、有線SIP端末21で外線通話した場合のセッションテーブル54Aとリソーステーブル54Bとの登録状態は以下のようになる。   For example, the registration state of the session table 54A and the resource table 54B when an external line call is made at the wired SIP terminal 21 is as follows.

セッションテーブル54Aにおいて、[1]セッションIDには第1のFP登録管理テーブル42と同一のセッションIDが格納される。[2]ソケットID(WAN)には、WAN側のFPリソースIDが格納され、[3]ソケットID(LAN/AP)にはLAN側のFPリソースIDが格納される。[4]ソケット属性には、通話中の場合はsendrecvが格納され、転送処理時にはinactiveが格納される。[5]シーケンス番号ベースにはRTPパケットのシーケンス番号が格納される。シーケンス番号ベースの初期の設定値としては任意に設定した値を渡す。パケット送信後は、1パケット送信ごとに更新したシーケンス番号を格納する。[6]SSRC識別子には、ランダムに生成した値を設定する。[7]タイムスタンプベースにはRTPパケットのタイムスタンプ値が格納される。タイムスタンプベースの初期の設定値として任意に設定した値を渡す。パケット送信後は、1パケット送信ごとに更新したタイムスタンプ値を格納する。[8]周波数にはタイムスタンプ値の増加分を設定する。クロックレートとパケット化周期の値を元に設定する。パケット化周期が0の場合には、クロックレートを設定する。パケット化周期が0以外の場合は、(クロックレート×パケット化周期)/1000を設定する。   In the session table 54A, the same session ID as the first FP registration management table 42 is stored in [1] Session ID. [2] The FP resource ID on the WAN side is stored in the socket ID (WAN), and the FP resource ID on the LAN side is stored in [3] socket ID (LAN / AP). [4] The socket attribute stores sendrecv when a call is in progress, and inactive during transfer processing. [5] The sequence number base stores the sequence number of the RTP packet. An arbitrarily set value is passed as the initial setting value based on the sequence number. After the packet transmission, the sequence number updated every packet transmission is stored. [6] A randomly generated value is set in the SSRC identifier. [7] The time stamp base stores the time stamp value of the RTP packet. Pass an arbitrarily set value as the initial setting value of timestamp base. After packet transmission, the time stamp value updated every packet transmission is stored. [8] The increment of the time stamp value is set for the frequency. Set based on clock rate and packetization period values. When the packetization period is 0, the clock rate is set. If the packetization period is other than 0, (clock rate × packetization period) / 1000 is set.

リソーステーブル54BのFPリソースID1(WAN側のリソース)に関しては、以下の登録がなされる。   The following registration is made for FP resource ID1 (WAN side resource) in the resource table 54B.

リソーステーブル54BのFPリソースID1(WAN側)の[1]ソケットIDにはWAN側のリソースIDが格納され、[2]タイプFP/APにはFPが格納され、[3]宛先IPアドレスには対向端末のIPアドレスが格納され、[4]受信IPアドレスには当該通信装置20のWAN側のIPアドレスが格納され、[5]宛先ポート番号には対向端末のポート番号が格納され、[6]受信ポート番号には当該通信装置20のWAN側のポート番号が格納される。   The resource ID on the WAN side is stored in the [1] socket ID of the FP resource ID1 (WAN side) of the resource table 54B, the FP is stored in the [2] type FP / AP, and [3] in the destination IP address The IP address of the opposite terminal is stored, the IP address on the WAN side of the communication device 20 is stored in [4] received IP address, the port number of the opposite terminal is stored in [5] destination port number, and [6] In the reception port number, the port number on the WAN side of the communication device 20 is stored.

一方、リソーステーブル54BのFPリソースID2のFPリソースID2(LAN側)の[1]ソケットIDにはLAN側のリソースIDが格納され、[2]タイプFP/APにはAPが格納され、[3]宛先IPアドレスには有線SIP端末21のIPアドレスが格納され、[4]受信IPアドレスには当該通信装置20のLAN側のIPアドレスが格納され、[5]宛先ポート番号には有線SIP端末21のポート番号が格納され、[6]受信ポート番号には当該通信装置20のLAN側のポート番号が格納される。   On the other hand, the resource ID on the LAN side is stored in the [1] socket ID of the FP resource ID2 (LAN side) of the FP resource ID2 in the resource table 54B, the AP is stored in the [2] type FP / AP, and [3 The IP address of the wired SIP terminal 21 is stored in the destination IP address, the IP address on the LAN side of the communication device 20 is stored in the received IP address, and the wired SIP terminal is stored in the destination port number. 21 is stored, and the port number on the LAN side of the communication device 20 is stored in [6] reception port number.

(A−2)実施形態の動作
次に、実施形態の通信装置20における特徴的な動作を、図1に加えて、シーケンス図をも参照しながら説明する。
(A-2) Operation of Embodiment Next, a characteristic operation in the communication device 20 of the embodiment will be described with reference to a sequence diagram in addition to FIG.

(A−2−1)オフロード設定の自動的な追加動作(その1)
実施形態の通信装置20は、外線通話を開始するときに、VoIP制御部33のセッション管理部40がRTP送信開始要求をVoIP制御部33のメディア制御部41に通知し、メディア制御部41がオフロード設定追加要求をオフロード設定処理部35へ行うことでオフロード設定の追加を自動的に行うことができる。
(A-2-1) Automatic addition operation of offload setting (part 1)
In the communication device 20 according to the embodiment, when starting an external line call, the session management unit 40 of the VoIP control unit 33 notifies the media control unit 41 of the VoIP control unit 33 of the RTP transmission start request, and the media control unit 41 is turned off. An offload setting can be automatically added by making a load setting addition request to the offload setting processing unit 35.

図5は、有線SIP端末21で外線通話を開始したときのオフロード設定の追加動作を示すシーケンス図である。図5の一連の処理により、有線SIP端末21の外線通話に関してオフロード設定がなされた場合には、網から有線SIP端末21へは、図1の二重線の音声処理ルートで通話信号が流れ、有線SIP端末21から網へは、図6の二重線の音声処理ルートで通話信号が流れる。言い換えると、図1及び図6の二重線の音声処理ルートを実現するように、オフロード設定が追加される。   FIG. 5 is a sequence diagram showing an offload setting addition operation when an outside line call is started at the wired SIP terminal 21. When an offload setting is made for an external line call of the wired SIP terminal 21 by the series of processes of FIG. 5, a call signal flows from the network to the wired SIP terminal 21 through the double line audio processing route of FIG. The call signal flows from the wired SIP terminal 21 to the network through the double-line audio processing route of FIG. In other words, an offload setting is added so as to realize the double-line audio processing route of FIGS. 1 and 6.

ここで、外線通話を開始したときには、オフロード設定の追加動作に先立ち、以下の動作が実行される。すなわち、セッション管理部40は、SIPパケットのSDPから取得した情報(送信先IPアドレス及びポート番号と、ディレクション情報)を呼情報記憶テーブル43に保存し(ステップS100)、その後、セッションIDを通知してRTPパケットの送信開始要求をメディア制御部41に与え(ステップS101)、メディア制御部41は、通知されたセッションIDに基づいて呼情報記憶テーブル43から、ディレクション情報や、各通信方向の送信先のIPアドレス及びポート番号や、各通信方向の受信先のIPアドレス及びポート番号を取得する(ステップS102)。なお、有線SIP端末21から対向端末への通信方向について、送信先のIPアドレス及びポート番号として、対向端末のIPアドレス及びポート番号を取得し、受信先のIPアドレス及びポート番号として、当該通信装置20におけるWAN側のIPアドレス及びポート番号を取得し、対向端末から有線SIP端末21への通信方向について、送信先のIPアドレス及びポート番号として、有線SIP端末21のIPアドレス及びポート番号を取得し、受信先のIPアドレス及びポート番号として、当該通信装置20におけるLAN側のIPアドレス及びポート番号を取得する。   Here, when an outside line call is started, the following operation is executed prior to the offload setting addition operation. That is, the session management unit 40 stores the information (transmission destination IP address and port number and direction information) acquired from the SDP of the SIP packet in the call information storage table 43 (step S100), and then notifies the session ID. The RTP packet transmission start request is given to the media control unit 41 (step S101), and the media control unit 41 sends the direction information and the transmission destination in each communication direction from the call information storage table 43 based on the notified session ID. IP address and port number, and the destination IP address and port number of each communication direction are acquired (step S102). For the communication direction from the wired SIP terminal 21 to the opposite terminal, the IP address and port number of the opposite terminal are acquired as the destination IP address and port number, and the communication apparatus is used as the destination IP address and port number. 20 to obtain the IP address and port number of the wired SIP terminal 21 as the destination IP address and port number for the communication direction from the opposite terminal to the wired SIP terminal 21. Then, the IP address and port number on the LAN side in the communication device 20 are acquired as the IP address and port number of the receiving destination.

上述したステップS102の処理後に、オフロード設定の追加動作が実行される。   After the process of step S102 described above, an offload setting addition operation is performed.

メディア制御部41は、呼情報記憶テーブル43から得たIPアドレス情報に基づいて、インタフェース情報管理部34からインタフェース情報を取得する(ステップS103)。図5の例の場合、インタフェース情報管理部34は、送信先IPアドレスに基づいて、WAN(網側;有線)、LAN(SIP端末側;有線)のインタフェースと判定してそのインタフェースを表す値を返信する。   The media control unit 41 acquires interface information from the interface information management unit 34 based on the IP address information obtained from the call information storage table 43 (step S103). In the case of the example of FIG. 5, the interface information management unit 34 determines a WAN (network side; wired), LAN (SIP terminal side; wired) interface based on the transmission destination IP address, and represents a value representing the interface. Send back.

メディア制御部41は、第1のFP登録管理テーブル42から空き状態のFPリソースIDを2つ取得して今回のオフロード設定に用いるものとして割り当て、オフロード設定処理部35へ、FPリソースIDと、取得した各種情報などを含むFP50におけるソケット情報(相手側IPアドレス及びポート番号、当該通信装置20のIPアドレス及びポート番号、ソケットタイプ(FP))を渡し、FPソケットの追加登録(作成)を要求する(ステップS104)。この際には、網側(WAN)のFPソケットと、SIP端末側(LAN)のFPソケットの2つを登録作成する。また、WAN側有線処理部53及びLAN側有線処理部52はFP50内にあるため、ソケットタイプはFPで作成する。また、メディア制御部41は、取得したFPリソースIDを呼情報記憶テーブル43に登録する(ステップS105)。   The media control unit 41 acquires two free FP resource IDs from the first FP registration management table 42 and assigns them to be used for the current offload setting, and sends the FP resource ID and the FP resource ID to the offload setting processing unit 35. Then, the socket information (partner IP address and port number, the IP address and port number of the communication device 20 and the socket type (FP)) in the FP 50 including various acquired information is passed and additional registration (creation) of the FP socket is performed. A request is made (step S104). At this time, two FP sockets on the network side (WAN) and SIP terminal side (LAN) are registered and created. Since the WAN side wired processing unit 53 and the LAN side wired processing unit 52 are in the FP 50, the socket type is created by FP. Further, the media control unit 41 registers the acquired FP resource ID in the call information storage table 43 (step S105).

なお、メディア制御部41は、第1のFP登録管理テーブル42から空き状態のFPリソースIDを取得できない場合には、オフロード設定をし得ないものと判断し、以降の設定動作を中止する。   Note that if the FP resource ID in the free state cannot be acquired from the first FP registration management table 42, the media control unit 41 determines that the offload setting cannot be performed, and stops the subsequent setting operation.

FPソケットの追加登録(作成)要求に応じて、オフロード設定処理部35は、第2のFP登録管理テーブル54のリソーステーブルに、FPソケット情報を登録(エントリ追加)する(ステップS106)。   In response to the request for additional registration (creation) of the FP socket, the offload setting processing unit 35 registers (adds an entry) FP socket information in the resource table of the second FP registration management table 54 (step S106).

メディア制御部41は、第1のFP登録管理テーブル42から空いているFPセッションIDを取得し、WAN/LANのFPソケットの組み合わせを第1のFP登録管理テーブル42に登録すると共に、FPセッションIDとFPリソースID(WAN)とFPリソースID(LAN)をオフロード設定処理部35へ渡し、FPパスの登録を要求する(ステップS107)。   The media control unit 41 obtains a free FP session ID from the first FP registration management table 42, registers the combination of WAN / LAN FP sockets in the first FP registration management table 42, and also registers the FP session ID. The FP resource ID (WAN) and the FP resource ID (LAN) are transferred to the offload setting processing unit 35 to request registration of the FP path (step S107).

また、メディア制御部41は、FPパスに対して、FPセッションID、ソケット属性、RTP情報(SSRC、タイムスタンプベース、タイムスタンプ増分)をオフロード設定処理部35に渡し、RTPヘッダ書き換えをFP50内で実行するための情報の登録を要求する(ステップS108)。   In addition, the media control unit 41 passes the FP session ID, socket attribute, and RTP information (SSRC, time stamp base, time stamp increment) to the offload setting processing unit 35 for the FP path, and rewrites the RTP header in the FP 50. Registration of information to be executed is requested (step S108).

オフロード設定処理部35は、FPパスの登録要求やRTPヘッダの書換え情報の登録要求に応じ、第2のFP登録管理テーブル54のセッションテーブルに、それら情報を登録(エントリ追加)する(ステップS109)。   The offload setting processing unit 35 registers (adds entries) the information in the session table of the second FP registration management table 54 in response to the request for registering the FP path and the request for registering the rewrite information of the RTP header (step S109). ).

(A−2−2)オフロード設定の自動的な追加動作(その2)
以上では、有線SIP端末21で外線通話を開始したときのオフロード設定の追加動作を説明した。以下では、無線SIP端末22で外線通話を開始したときのオフロード設定の追加動作を説明する。
(A-2-2) Automatic addition operation of off-road setting (part 2)
In the above, the offload setting addition operation when the wired SIP terminal 21 starts an outside line call has been described. Hereinafter, an offload setting addition operation when an external line call is started at the wireless SIP terminal 22 will be described.

図7は、無線SIP端末22で外線通話を開始したときのオフロード設定の追加動作を示すシーケンス図である。   FIG. 7 is a sequence diagram showing an offload setting addition operation when an external line call is started at the wireless SIP terminal 22.

外線通話を開始したときには、オフロード設定の追加動作に先立ち実行される動作は、無線SIP端末22で外線通話を開始したときも、上述した有線SIP端末21で外線通話を開始したとき(ステップS100〜S102)と同様である(ステップS200〜S202)。   When an external line call is started, an operation executed prior to the offload setting addition operation is performed when an external line call is started at the above-described wired SIP terminal 21 even when the external call is started at the wireless SIP terminal 22 (step S100). To S102) (steps S200 to S202).

メディア制御部41は、呼情報記憶テーブル43から得たIPアドレス情報に基づいて、インタフェース情報管理部34からインタフェース情報を取得する(ステップS203)。図7の例の場合、インタフェース情報管理部34は、送信先IPアドレスに基づいて、WAN(網側;有線)、LAN(SIP端末側;有線)のインタフェースと判定してそのインタフェースを表す値を返信する。   The media control unit 41 acquires interface information from the interface information management unit 34 based on the IP address information obtained from the call information storage table 43 (step S203). In the case of the example in FIG. 7, the interface information management unit 34 determines a WAN (network side; wired) or LAN (SIP terminal side; wired) interface based on the transmission destination IP address, and sets a value representing the interface. Send back.

そのため、メディア制御部41は、オフロード設定処理部35へ、FPソケットの追加登録(作成)を要求する際の情報が図5の場合と異なっている(ステップS204)。図7の場合、取得したインタフェース情報がLAN(無線)であるので、メディア制御部41は、WAN側のFPソケットは図5の場合と同様にソケットタイプ「FP」で作成し、LAN側のFPソケットは図5の場合とは異なりソケットタイプ「AP」で作成する。   Therefore, the media control unit 41 differs from the case of FIG. 5 in information when requesting the offload setting processing unit 35 to perform additional registration (creation) of the FP socket (step S204). In the case of FIG. 7, since the acquired interface information is LAN (wireless), the media control unit 41 creates the FP socket on the WAN side with the socket type “FP” as in FIG. Unlike the case of FIG. 5, the socket is created with the socket type “AP”.

図7におけるこれ以降の処理(ステップS205〜S209)は、上述した図5の場合(ステップS105〜S109)と同様である。   The subsequent processing in FIG. 7 (steps S205 to S209) is the same as in the case of FIG. 5 described above (steps S105 to S109).

図7に示す動作によってオフロード設定された場合において、対向端末から無線SIP端末22へ向かうRTPパケットは、高速転送処理部51のヘッダ情報比較処理部60によって高速転送対象かつAP30への転送と判定され、RTPヘッダ変換処理部61によってRTPヘッダの変換等が実行された後、AP30内の転送処理部31を経由して無線処理部36に与えられるようになる。また、無線SIP端末22から対向端末へ向かうRTPパケットは、AP30内の転送処理部31を経由して高速転送処理部51へ向かい、高速転送処理部51のヘッダ情報比較処理部60によって高速転送対象と判定され、RTPヘッダ変換処理部61によってRTPヘッダの変換等が実行された後、WAN側有線処理部53に与えられるようになる。   When the offload setting is performed by the operation illustrated in FIG. 7, the RTP packet directed from the opposite terminal to the wireless SIP terminal 22 is determined to be transferred to the high-speed transfer target and the AP 30 by the header information comparison processing unit 60 of the high-speed transfer processing unit 51. Then, after the RTP header conversion processing unit 61 performs RTP header conversion and the like, it is given to the wireless processing unit 36 via the transfer processing unit 31 in the AP 30. Also, the RTP packet from the wireless SIP terminal 22 to the opposite terminal goes to the high-speed transfer processing unit 51 via the transfer processing unit 31 in the AP 30 and is subject to high-speed transfer by the header information comparison processing unit 60 of the high-speed transfer processing unit 51. After the RTP header conversion processing unit 61 performs RTP header conversion and the like, it is given to the WAN side wired processing unit 53.

この実施形態の場合、無線処理部36がAP30上にある構成のため、AP30の転送処理部31を経由しなければならない。そのため、LAN側のFPソケットはソケットタイプを「AP」にする必要があったが、無線処理部36をFP50上にある構成としても良く、この場合には、LAN側のFPソケットのソケットタイプは「FP」になる。   In this embodiment, since the wireless processing unit 36 is on the AP 30, the wireless processing unit 36 must pass through the transfer processing unit 31 of the AP 30. For this reason, the FP socket on the LAN side needs to have the socket type “AP”, but the wireless processing unit 36 may be on the FP 50. In this case, the socket type of the FP socket on the LAN side is Becomes “FP”.

(A−2−3)オフロード設定の自動的な削除動作
実施形態の通信装置20では、外線通話の終了時に、オフロード設定の削除を自動的に行うことができる。すなわち、実施形態の通信装置20において、外線通話の終了時に、セッション管理部40がRTP送信の停止要求をメディア制御部41に通知し、メディア制御部41がオフロード設定の削除要求をオフロード設定処理部35へ行うことでオフロード設定の削除を自動的に行うことができる。
(A-2-3) Automatic deletion operation of off-road setting In the communication apparatus 20 of the embodiment, the off-road setting can be automatically deleted at the end of the external line call. That is, in the communication device 20 according to the embodiment, at the end of the external line call, the session management unit 40 notifies the media control unit 41 of a stop request for RTP transmission, and the media control unit 41 sets an offload setting deletion request as an offload setting. By performing the processing to the processing unit 35, it is possible to automatically delete the offload setting.

図8は、オフロード設定の自動的な削除動作を示すシーケンス図であり、この図8をも参照しながら、オフロード設定の自動的な削除動作を詳述する。   FIG. 8 is a sequence diagram showing an automatic deletion operation for offload settings. The automatic deletion operation for offload settings will be described in detail with reference to FIG. 8 as well.

セッション管理部40は、あるセッション(RTPセッション)の通話が終了したときには、セッションIDを特定して、RTP送信の停止要求をメディア制御部41に与える(ステップS300)。   When the call for a certain session (RTP session) ends, the session management unit 40 identifies the session ID and gives a request to stop the RTP transmission to the media control unit 41 (step S300).

このとき、メディア制御部41は、呼情報記憶テーブル43から、通話終了のセッションIDに関連するFPリソースIDを取得する(ステップS301)。なお、この処理で、FPリソースIDが取得できないことは、通話終了したセッションはオフロード設定されていなかったことを表している。   At this time, the media control unit 41 acquires from the call information storage table 43 the FP resource ID related to the session ID of the call termination (step S301). In this process, the fact that the FP resource ID cannot be acquired indicates that the session for which the call has ended is not set to offload.

メディア制御部41はFPリソースIDを取得すると、次に、第1のFP登録管理テーブル42から、FPリソースIDに対応するFPセッションIDを取得する(ステップS302)。そして、メディア制御部41は、取得したFPセッションIDに対するFPパスの切断要求をオフロード設定処理部35に送出すると共に(ステップS303)、第1のFP登録管理テーブル42のセッションテーブルから、そのFPセッションIDに対応付けられているFPリソースID1及びFPリソースID2を初期化(クリア)する(ステップS304)。   After acquiring the FP resource ID, the media control unit 41 next acquires an FP session ID corresponding to the FP resource ID from the first FP registration management table 42 (step S302). Then, the media control unit 41 sends an FP path disconnection request for the acquired FP session ID to the offload setting processing unit 35 (step S303), and from the session table of the first FP registration management table 42, the FP FP resource ID1 and FP resource ID2 associated with the session ID are initialized (cleared) (step S304).

FPパスの切断要求を受信したオフロード設定処理部35は、第2のFP登録管理テーブル54のセッションテーブルから、そのFPセッションIDに係るエントリを削除する(ステップS305)。   The offload setting processing unit 35 that has received the FP path disconnection request deletes the entry related to the FP session ID from the session table of the second FP registration management table 54 (step S305).

また、メディア制御部41は、WAN側のFPリソースID、LAN側のFPリソースIDをオフロード設定処理部35へ渡して、FPソケットの削除要求を行うと共に、第1のFP登録管理テーブル42のリソーステーブルからFPリソースIDに一致する情報を削除する(ステップS306)。   In addition, the media control unit 41 passes the WAN-side FP resource ID and the LAN-side FP resource ID to the offload setting processing unit 35 to make a request to delete the FP socket, and in the first FP registration management table 42 Information matching the FP resource ID is deleted from the resource table (step S306).

FPソケットの削除要求を受信したオフロード設定処理部35は、第2のFP登録管理テーブル54のWAN側及びLAN側のリソーステーブルから、削除要求されたFPソケットに係るエントリを削除する(ステップS307)。   Upon receiving the FP socket deletion request, the offload setting processing unit 35 deletes the entry related to the FP socket requested to be deleted from the WAN side and LAN side resource tables of the second FP registration management table 54 (step S307). ).

(A−2−4)内線転送に伴うオフロード設定の自動的な操作動作
実施形態の通信装置20は、配下のSIP端末21又は22が外線通話している状態から、配下の他のSIP端末へ内線転送を行う場合にも、内線転送後の他のSIP端末と対向端末との通信に高速転送を実現できるようにオフロード設定を自動的に操作することができる。
(A-2-4) Automatic operation of offload setting associated with extension transfer The communication apparatus 20 according to the embodiment starts from a state in which the subordinate SIP terminal 21 or 22 is in an external line call, and other subordinate SIP terminals Even when the extension transfer is performed, the offload setting can be automatically operated so that the high-speed transfer can be realized in the communication between the other SIP terminal and the opposite terminal after the extension transfer.

すなわち、セッション管理部40が端末変更要求をメディア制御部41に通知し、メディア制御部41が、RTPの停止/再開と、オフロード設定の情報更新をオフロード設定処理部35へ要求することにより、内線転送前のSIP端末に係るオフロード設定の削除と内線転送後の他のSIP端末に係るオフロード設定の登録とを自動的に行うことができる。   That is, the session management unit 40 notifies the media control unit 41 of a terminal change request, and the media control unit 41 requests the offload setting processing unit 35 to stop / restart RTP and update information of offload settings. It is possible to automatically delete the offload setting related to the SIP terminal before the extension transfer and register the offload setting related to another SIP terminal after the extension transfer.

図9は、内線転送時におけるオフロード設定の自動的な操作を示すシーケンス図であり、この図9をも参照しながら、内線転送(音声処理のルート変更)時におけるオフロード設定の自動的な操作を詳述する。   FIG. 9 is a sequence diagram showing an automatic operation of offload setting at the time of extension transfer. With reference to FIG. 9 as well, automatic offload setting at the time of extension transfer (voice processing route change) is performed. The operation will be described in detail.

セッション管理部40は、セッションに係るLAN側のSIP端末が内線転送により変更されたことを認識したときには、セッションIDや、内線転送後のSIP端末に係る情報を伴い、端末の変更要求をメディア制御部41に送出する(ステップS400)。   When the session management unit 40 recognizes that the LAN-side SIP terminal related to the session has been changed by extension transfer, the session control unit 40 mediates the change request of the terminal with the session ID and information related to the SIP terminal after extension transfer. The data is sent to the unit 41 (step S400).

このとき、メディア制御部41は、セッションIDをキーとして、呼情報記憶テーブル43から、FPリソースID、LAN側に係る送信先IPアドレス及びポート番号、LAN側に係る受信先IPアドレス及びポート番号を取得する(ステップS401)。   At this time, the media control unit 41 uses the session ID as a key to retrieve the FP resource ID, the destination IP address and port number on the LAN side, and the destination IP address and port number on the LAN side from the call information storage table 43. Obtain (step S401).

そして、メディア制御部41は、呼情報記憶テーブル43から取得したFPリソースIDに基づいて、第1のFP登録管理テーブル42からFPセッションIDを取得し(ステップS402)、オフロード設定処理部35に対して、内線転送前のSIP端末に張られているルートでのRTP送受信の停止を指示する(ステップS403)。メディア制御部41は、FPセッションIDでFPセッションを特定した上で、RTPのソケット属性をinactive(パケットの送受信停止)に変更することによりオフロード設定処理部35にRTP送受信の停止を指示する。このとき、オフロード設定処理部35は、第2のFP登録管理テーブル54の該当するエントリのソケット属性をinactiveに変更してRTP送受信の停止状態に移行させる(ステップS404)。   Then, the media control unit 41 acquires the FP session ID from the first FP registration management table 42 based on the FP resource ID acquired from the call information storage table 43 (step S402), and sends it to the offload setting processing unit 35. On the other hand, the stop of RTP transmission / reception in the route stretched to the SIP terminal before the extension transfer is instructed (step S403). The media control unit 41 specifies the FP session by the FP session ID, and then instructs the offload setting processing unit 35 to stop the RTP transmission / reception by changing the RTP socket attribute to inactive (packet transmission / reception stop). At this time, the offload setting processing unit 35 changes the socket attribute of the corresponding entry in the second FP registration management table 54 to inactive and shifts to the RTP transmission / reception stop state (step S404).

なお、メディア制御部41は、ステップS402の処理で第1のFP登録管理テーブル42からFPセッションIDを取得できない場合には、内線転送前においてオフロード設定されていないと判断し、内線転送後もオフロード設定なしでRTPパケットの転送を行うこととする。   Note that if the FP session ID cannot be obtained from the first FP registration management table 42 in the process of step S402, the media control unit 41 determines that the offload setting has not been set before the extension transfer, and the extension after the extension transfer. Assume that RTP packets are transferred without setting offload.

次に、メディア制御部41は、転送先のSIP端末のFPソケットを新規に作成するために、第1のFP登録管理テーブル42からFPリソースIDを取得し(ステップS405)、オフロード設定処理部35に対して、転送先のSIP端末のFPソケットを新規登録することを要求する(ステップS406)。このとき、オフロード設定処理部35は、第2のFP登録管理テーブル54のLAN側のリソーステーブルに、要求されたFPソケットのエントリを追加する(ステップS407)。   Next, the media control unit 41 acquires the FP resource ID from the first FP registration management table 42 in order to create a new FP socket of the transfer destination SIP terminal (step S405), and the offload setting processing unit. 35 is requested to newly register the FP socket of the transfer destination SIP terminal (step S406). At this time, the offload setting processing unit 35 adds the requested FP socket entry to the resource table on the LAN side of the second FP registration management table 54 (step S407).

その後、メディア制御部41は、第1のFP登録管理テーブル42のセッションテーブルの該当するFPセッション(FPセッションIDで特定される)におけるLAN側FPリソースIDを、上述したステップS405で取得したものに変更すると共に(ステップS408)、オフロード設定処理部35に対して、パス接続の更新要求を送出する(ステップS409)。このとき、オフロード設定処理部35は、第2のFP登録管理テーブル54のセッションテーブルの該当するFPセッション(FPセッションIDで特定される)におけるWAN側FPリソースID及びLAN側FPリソースIDの組合せのうち、LAN側FPリソースIDを、転送元のFPリソースIDから転送先のFPリソースIDへ変更してパスを再接続する(ステップS410)。   Thereafter, the media control unit 41 obtains the LAN side FP resource ID in the corresponding FP session (specified by the FP session ID) in the session table of the first FP registration management table 42 in the above-described step S405. In addition to the change (step S408), a path connection update request is sent to the offload setting processing unit 35 (step S409). At this time, the offload setting processing unit 35 combines the WAN side FP resource ID and the LAN side FP resource ID in the corresponding FP session (specified by the FP session ID) in the session table of the second FP registration management table 54. Among them, the LAN side FP resource ID is changed from the transfer source FP resource ID to the transfer destination FP resource ID, and the path is reconnected (step S410).

その後、メディア制御部41は、FPセッションIDでFPセッションを特定した上で、RTPのソケット属性をsendrecv(パケットの送受信許容)に変更することによりオフロード設定処理部35にRTP送受信の再開を指示する(ステップS411)。このとき、オフロード設定処理部35は、第2のFP登録管理テーブル54のセッションテーブルの該当するエントリのソケット属性をsendrecvに変更してRTP送受信状態に移行させる(ステップS412)。   Thereafter, the media control unit 41 specifies the FP session with the FP session ID, and then instructs the offload setting processing unit 35 to resume RTP transmission / reception by changing the RTP socket attribute to sendrecv (packet transmission / reception allowed). (Step S411). At this time, the offload setting processing unit 35 changes the socket attribute of the corresponding entry in the session table of the second FP registration management table 54 to sendrecv and shifts to the RTP transmission / reception state (step S412).

最後に、メディア制御部41は、転送前のLAN側のFPリソースIDを含むFPリソースの削除要求をオフロード設定処理部35に送出すると共に、第1のFP登録管理テーブル42のリソーステーブルにおける転送前のLAN側のFPリソースIDのエントリを空き状態にする(ステップS413)。FPリソースの削除要求が与えられたオフロード設定処理部35は、第2のFP登録管理テーブル54のLAN側のリソーステーブルから、削除要求されたFPリソースのエントリを削除する(ステップS414)。   Finally, the media control unit 41 sends an FP resource deletion request including the FP resource ID on the LAN side before transfer to the offload setting processing unit 35 and transfers in the resource table of the first FP registration management table 42. The previous FP resource ID entry on the LAN side is made free (step S413). The offload setting processing unit 35 to which the FP resource deletion request is given deletes the entry of the FP resource requested to be deleted from the LAN-side resource table of the second FP registration management table 54 (step S414).

上述したステップS408〜S410の処理により、FPセッションIDを新たに取得するのではなく転送前のFPセッションIDをそのまま使用し、LAN側のFPリソースIDのみを更新することで、シーケンス番号、SSRC識別子、タイムスタンプの値は転送前の値を引き継いだ状態で、転送後RTPを送信することができるようになっている。   By the above-described processing of steps S408 to S410, the FP session ID before transfer is used as it is instead of newly acquiring the FP session ID, and only the FP resource ID on the LAN side is updated, so that the sequence number and SSRC identifier are updated. The RTP can be transmitted after the transfer with the time stamp value inheriting the value before the transfer.

(A−3)実施形態の効果
上記実施形態によれば、以下の効果を奏することができる。
(A-3) Effect of Embodiment According to the above embodiment, the following effect can be obtained.

上記実施形態によれば、従来ではオペレータによる手動操作が必要であったオフロード設定を、RTP送信を開始するときに自動的に実行することができる。しかも、LAN側のSIP端末が、有線SIP端末に限定されず、無線SIP端末の場合にも、オフロード設定を自動的に行うことができる。   According to the above-described embodiment, offload setting, which conventionally requires manual operation by an operator, can be automatically executed when RTP transmission is started. In addition, the SIP terminal on the LAN side is not limited to a wired SIP terminal, and the offload setting can be automatically performed even in the case of a wireless SIP terminal.

オフロード設定を自動的に実行できるため、高速転送可能なセッションが従来より多くなることを期待でき、このことはAP30の処理負担の軽減につながり、当該通信装置のサービスを向上させることができる。   Since the offload setting can be automatically executed, it can be expected that the number of sessions that can be transferred at high speed will be larger than before, which leads to the reduction of the processing load on the AP 30 and the service of the communication apparatus.

また、上記実施形態によれば、従来ではオペレータによる手動操作が必要であったオフロード設定の解除を、RTP送信を停止するときに自動的に実行することができる。自動的なオフロード設定の解除のため、FP登録管理テーブルに不要なエントリが残存することを防止できる。このことは、テーブルが満杯なために新たなオフロード設定を拒否するような不都合を、未然に防止できていることを意味している。また、通話切断パケット受信後にオフロード設定解除を行うことで、通話切断完了前に通話相手が送信してきたRTPパケットを通話切断パケットを送信した端末へ転送することを防ぐことができる。   Further, according to the above-described embodiment, the release of the offload setting, which conventionally required manual operation by the operator, can be automatically executed when RTP transmission is stopped. Since the automatic offload setting is canceled, unnecessary entries can be prevented from remaining in the FP registration management table. This means that the inconvenience of rejecting a new offload setting because the table is full can be prevented. Also, by canceling the offload setting after receiving the call disconnection packet, it is possible to prevent the RTP packet transmitted by the other party before the call disconnection is completed from being transferred to the terminal that transmitted the call disconnection packet.

さらに、上記実施形態によれば、従来では不可能であった、内線転送後のオフロード設定も自動的に実行される。すなわち、内線転送前後を問わず、高速転送を行うことができる。   Furthermore, according to the above embodiment, offload setting after extension transfer, which was impossible in the past, is also automatically executed. That is, high-speed transfer can be performed regardless of before or after extension transfer.

(B)他の実施形態
上記実施形態では、LAN側有線処理部52をFP50上に配置したものを示したが、一部又は全てのLAN側有線処理部52をAP30上に配置するようにしても良い。
(B) Other Embodiments In the above embodiment, the LAN side wired processing unit 52 is arranged on the FP 50. However, a part or all of the LAN side wired processing units 52 are arranged on the AP 30. Also good.

上記実施形態では、WAN側有線処理部53をFP50上に配置したものを示したが、一部又は全てのWAN側有線処理部53をAP30上に配置するようにしても良い。   In the above embodiment, the WAN-side wired processing unit 53 is arranged on the FP 50. However, some or all of the WAN-side wired processing units 53 may be arranged on the AP 30.

上記実施形態では、無線処理部36をAP30上に配置したものを示したが、一部又は全ての無線処理部36をFP50上に配置するようにしても良い。   In the above embodiment, the wireless processing unit 36 is arranged on the AP 30, but a part or all of the wireless processing units 36 may be arranged on the FP 50.

上記実施形態では、WAN側は有線処理部53だけを備えるものを示したが、WAN側の一部又は全てのインタフェース処理部が無線処理部であっても良い。   In the above embodiment, the WAN side includes only the wired processing unit 53, but a part or all of the interface processing units on the WAN side may be wireless processing units.

上記各実施形態の説明では、複数のLAN側有線処理部52が配置されているように説明したが、有線LANポートを複数有する単一のLAN側有線処理部であっても良い。同様に、複数の無線処理部36に代えて、SSID(Service Set IDentifier)を複数有する単一の無線処理部を適用するようにしても良い。   In the description of each of the embodiments described above, a plurality of LAN-side wired processing units 52 are described. However, a single LAN-side wired processing unit having a plurality of wired LAN ports may be used. Similarly, instead of the plurality of wireless processing units 36, a single wireless processing unit having a plurality of SSIDs (Service Set IDentifiers) may be applied.

上記各実施形態では、WAN側の端末と配下のSIP端末との間の通信で高速転送(オフロード設定)が可能なものを示したが、配下のSIP端末間の通信で高速転送(オフロード設定)が可能なものであっても良い。   In each of the above-described embodiments, the high-speed transfer (offload setting) is possible in the communication between the WAN-side terminal and the subordinate SIP terminal. However, the high-speed transfer (offload) is possible in the communication between the subordinate SIP terminals. Setting) is possible.

上記各実施形態では、FP登録管理テーブルに空きがあれば、どのようなセッションでも、通話開始時に自動的にオフロード設定するものを示したが、自動的にオフロード設定するセッションに条件も設けるようにしても良い。例えば、RTPヘッダ情報内の優先度を表すパラメータが、所定の優先度以上であることを条件として、自動的にオフロード設定するようにしても良い。   In each of the above embodiments, any session is automatically set to be offloaded at the start of a call as long as the FP registration management table is free. However, a condition is also provided for a session to be automatically set to offload. You may do it. For example, the offload setting may be automatically performed on condition that the parameter indicating the priority in the RTP header information is equal to or higher than a predetermined priority.

上記各実施形態では、呼制御プロトコルがSIPであるものを示したが、他の呼制御プロトコルに従うものであっても良い。   In each of the above embodiments, the call control protocol is SIP. However, other call control protocols may be used.

上記各実施形態では、VoIP通信に本発明を適用するものを示したが、メディアは音声に限定されるものではない。   In each of the above embodiments, the present invention is applied to VoIP communication, but the media is not limited to voice.

20…通信装置、21…有線SIP端末、22…無線SIP端末、30…AP(アプリケーション用プロセッサが実行する機能部群)、31…転送処理部、32…RTP登録管理テーブル、33…VoIP制御部、34…インタフェース情報管理部、35…オフロード設定処理部、36…無線処理部、40…セッション管理部、41…メディア制御部、42…第1のFP登録管理テーブル、43…呼情報記憶テーブル、50…FP(ファストパス用プロセッサが実行する機能部群)、51…高速転送処理部、52…LAN側有線処理部、53…WAN側有線処理部、54…第2のFP登録管理テーブル、60…ヘッダ情報比較処理部、61…RTPヘッダ変換処理部。   DESCRIPTION OF SYMBOLS 20 ... Communication apparatus, 21 ... Wired SIP terminal, 22 ... Wireless SIP terminal, 30 ... AP (functional part group which an application processor performs), 31 ... Transfer processing part, 32 ... RTP registration management table, 33 ... VoIP control part 34 ... Interface information management unit, 35 ... Offload setting processing unit, 36 ... Wireless processing unit, 40 ... Session management unit, 41 ... Media control unit, 42 ... First FP registration management table, 43 ... Call information storage table , 50... FP (functional unit group executed by fast path processor), 51... High-speed transfer processing unit, 52... LAN side wired processing unit, 53... WAN side wired processing unit, 54. 60... Header information comparison processing unit, 61... RTP header conversion processing unit.

Claims (5)

呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置において、
上記第1プロセッサ部は、
呼制御パケットから抽出されたセッション情報を管理している呼情報記憶部と、
セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断するメディア制御部と、
上記メディア制御部が確立したセッションについてオフロード設定すると判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行うオフロード設定処理部とを有する
ことを特徴とする通信装置。
In a communication apparatus comprising: a first processor unit that performs call control and media packet transfer; and a second processor unit that performs high-speed transfer of a media packet of an offload-set session registered in the offload registration management unit.
The first processor unit includes:
A call information storage unit managing session information extracted from the call control packet;
When a session is established and media packet transmission / reception is started, parameters related to the established session are acquired from the call information storage unit, and it is determined whether or not to register offload settings for the established session. A media control unit;
When the media control unit determines to set offload for the established session, the offload setting management unit is registered with the offload setting for the established session based on the information given from the media control unit. An offload setting processing unit for performing communication.
上記メディア制御部は、確立したセッションのメディアパケットの送受信を終了させる際に、そのセッションについてオフロード設定の登録がなされていたか否かに基づいてオフロード設定の登録解除の必要性を判断し、
上記オフロード設定処理部は、上記メディア制御部からオフロード設定の登録解除が指示されたときに、上記オフロード登録管理部に対して、指示されたセッションのオフロード設定の登録を解除する
ことを特徴とする請求項1に記載の通信装置。
When the media control unit terminates transmission / reception of the media packet of the established session, it determines the necessity of deregistration of the offload setting based on whether or not the offload setting has been registered for the session,
When the offload setting registration unit is instructed by the media control unit, the offload setting processing unit releases the offload setting registration of the instructed session to the offload registration management unit. The communication apparatus according to claim 1.
上記メディア制御部は、確立したセッションの一方の要素である配下の通信端末が、配下の他の通信端末に通信を維持したまま切り替えられる際に、そのセッションについてオフロード設定の登録がなされていたか否かに基づいて、オフロード設定の登録内容の変更の必要性を判断し、
上記オフロード設定処理部は、上記メディア制御部からオフロード設定の登録内容の変更が指示されたときに、切替え前の配下の通信端末に関するオフロード設定の登録内容の部分を、切替え後の配下の他の通信端末を対象とするように、かつ、切替え前後でメディアパケットの情報の整合が取れているように変更する
ことを特徴とする請求項1に記載の通信装置。
When the subordinate communication terminal, which is one element of the established session, is switched to the other subordinate communication terminal while maintaining communication, the media control unit has registered offload settings for that session. Based on whether or not it is necessary to change the registration information of the offload settings,
When the offload setting processing unit is instructed by the media control unit to change the offload setting registration content, the offload setting processing unit converts the offload setting registration content related to the subordinate communication terminal before switching to the subordinate after switching The communication apparatus according to claim 1, wherein the communication apparatus is changed so as to target other communication terminals and so that the information of the media packet is consistent before and after switching.
呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置における通信方法において、
上記第1プロセッサ部の呼情報記憶部は、呼制御パケットから抽出されたセッション情報を管理し、
上記第1プロセッサ部のメディア制御部は、セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断し、
上記第1プロセッサ部のオフロード設定処理部は、確立したセッションについてオフロード設定すると上記メディア制御部が判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行う
ことを特徴とする通信方法。
Communication in a communication apparatus having a first processor unit that performs call control and media packet transfer, and a second processor unit that transfers media packets of an offload-set session registered in the offload registration management unit at high speed In the method
The call information storage unit of the first processor unit manages session information extracted from the call control packet,
When the media control unit of the first processor unit establishes a session and starts transmission / reception of media packets, the media control unit acquires parameters related to the established session from the call information storage unit and offloads the established session. Determine whether to register the settings,
The offload setting processing unit of the first processor unit, when the media control unit determines that the offload setting is performed for the established session, determines the offload registration management unit based on the information given from the media control unit. On the other hand, a communication method characterized by registering offload settings for an established session.
呼制御とメディアパケットの転送とを行う第1プロセッサ部と、オフロード登録管理部に登録されているオフロード設定されたセッションのメディアパケットを高速転送する第2プロセッサ部とを有する通信装置における上記第1プロセッサ部が実行する通信プログラムであって、
上記第1プロセッサ部を、
呼制御パケットから抽出されたセッション情報を管理している呼情報記憶部と、
セッションが確立し、メディアパケットの送受信を開始させる際に、上記呼情報記憶部から、確立したセッションに係るパラメータを取得して、確立したセッションについてオフロード設定の登録を行うか否かを判断するメディア制御部と、
上記メディア制御部が確立したセッションについてオフロード設定すると判断したときに、上記メディア制御部から与えられた情報に基づき、上記オフロード登録管理部に対して、確立したセッションについてオフロード設定の登録を行うオフロード設定処理部と
して機能させることを特徴とする通信プログラム。
A communication apparatus comprising: a first processor unit that performs call control and media packet transfer; and a second processor unit that performs high-speed transfer of a media packet of an offload-set session registered in the offload registration management unit. A communication program executed by the first processor unit,
The first processor unit is
A call information storage unit managing session information extracted from the call control packet;
When a session is established and media packet transmission / reception is started, parameters related to the established session are acquired from the call information storage unit, and it is determined whether or not to register offload settings for the established session. A media control unit;
When the media control unit determines to set offload for the established session, the offload setting management unit is registered with the offload setting for the established session based on the information given from the media control unit. A communication program that functions as an offload setting processing unit.
JP2012152910A 2012-07-06 2012-07-06 Communication apparatus, method and program Active JP6003308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012152910A JP6003308B2 (en) 2012-07-06 2012-07-06 Communication apparatus, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012152910A JP6003308B2 (en) 2012-07-06 2012-07-06 Communication apparatus, method and program

Publications (2)

Publication Number Publication Date
JP2014017618A true JP2014017618A (en) 2014-01-30
JP6003308B2 JP6003308B2 (en) 2016-10-05

Family

ID=50111953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012152910A Active JP6003308B2 (en) 2012-07-06 2012-07-06 Communication apparatus, method and program

Country Status (1)

Country Link
JP (1) JP6003308B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015177280A (en) * 2014-03-14 2015-10-05 西日本電信電話株式会社 gateway device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238161A (en) * 2005-02-25 2006-09-07 Matsushita Electric Ind Co Ltd Packet-switching apparatus and packet processing method
WO2011068091A1 (en) * 2009-12-04 2011-06-09 日本電気株式会社 Server and flow control program
JP2011114391A (en) * 2009-11-24 2011-06-09 Oki Networks Co Ltd Packet processing apparatus, and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238161A (en) * 2005-02-25 2006-09-07 Matsushita Electric Ind Co Ltd Packet-switching apparatus and packet processing method
JP2011114391A (en) * 2009-11-24 2011-06-09 Oki Networks Co Ltd Packet processing apparatus, and network system
WO2011068091A1 (en) * 2009-12-04 2011-06-09 日本電気株式会社 Server and flow control program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6015012349; 辻聡,他2名: 'vswitch処理の動的オフロード方式の実装と評価' 電子情報通信学会技術研究報告 第111巻,第43号, 20110512, p.69-74, 社団法人電子情報通信学会 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015177280A (en) * 2014-03-14 2015-10-05 西日本電信電話株式会社 gateway device

Also Published As

Publication number Publication date
JP6003308B2 (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US10855654B2 (en) Session identifier for a communication session
JP5621778B2 (en) Content-based switch system and content-based switch method
JP5648926B2 (en) Network system, controller, and network control method
CN111566997B (en) Network slice use
WO2016210196A1 (en) Media relay server
WO2016210202A1 (en) Media relay server
JP6118122B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6637059B2 (en) Control device for gateway of mobile communication system
JP2016524412A (en) Method and forwarder for processing packets
EP3896927A1 (en) Packet transmission method, apparatus, and system
KR100827143B1 (en) Packet switch device and the packet switching method
JP5941887B2 (en) Edge router switching method and system, edge router and redundancy management device
WO2014205680A1 (en) Packet forwarding system, device and method
WO2021218627A1 (en) Communication method and related device
JP2005045472A (en) Terminal and address generating method
JP6003308B2 (en) Communication apparatus, method and program
WO2010054561A1 (en) Agent method of media stream, voice exchanger and communication system
WO2023116165A1 (en) Network load balancing method and apparatus, electronic device, medium, and program product
WO2019196853A1 (en) Tcp acceleration method and apparatus
JP6146088B2 (en) Gateway device, communication device, and communication connection management method
WO2012089032A1 (en) Data transmission method using multiple access methods, and access device
WO2012088828A1 (en) Method, system and access gateway router for table maintenance
JP2013126219A (en) Transfer server and transfer program
US20090052446A1 (en) Communications Interface
TWI483605B (en) Deployment method and computer system for network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160401

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: 20160809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160822

R150 Certificate of patent or registration of utility model

Ref document number: 6003308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150