JP4932562B2 - Communication apparatus, method, and program - Google Patents
Communication apparatus, method, and program Download PDFInfo
- Publication number
- JP4932562B2 JP4932562B2 JP2007086560A JP2007086560A JP4932562B2 JP 4932562 B2 JP4932562 B2 JP 4932562B2 JP 2007086560 A JP2007086560 A JP 2007086560A JP 2007086560 A JP2007086560 A JP 2007086560A JP 4932562 B2 JP4932562 B2 JP 4932562B2
- Authority
- JP
- Japan
- Prior art keywords
- call
- port
- communication device
- signal
- new
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、通信装置にかかり、特に、呼制御プロトコルを利用して通信を行う通信装置に関する。 The present invention relates to a communication apparatus, and more particularly to a communication apparatus that performs communication using a call control protocol.
従来より、IP電話など、発信側と着信側の端末間でデータセッションを確立する通信の場合には、SIP等の呼制御プロトコルを利用して行われる。ここで、図5乃至図6を参照して、従来における着信側端末でのSIP信号処理を説明する。まず、図5に示すように、従来例における着信側端末100は、単一のポート(SIP受信ポート111)でSIP信号を送受信するよう構成されている。そして、着信側端末100は、上記SIP受信ポート111からSIP信号を受信するSIP受信部112を備えており、このSIP受信部112にて受信した信号を処理したり、あるいは、送信するSIP信号を処理するSIP処理部113を備えている。
Conventionally, in the case of communication such as an IP telephone in which a data session is established between a caller and a callee terminal, a call control protocol such as SIP is used. Here, with reference to FIG. 5 to FIG. 6, the conventional SIP signal processing at the receiving terminal will be described. First, as shown in FIG. 5, the
そして、実際のSIP信号処理の具体例を、図6のシーケンス図を参照して説明する。なお、ここでは、着信側端末100のSIP信号ポート番号が5060番であることとする。まず、図示しない発信側端末からの発呼に応じて、SIPサーバ300が、着信側端末100に「INVITE」リクエストを送信する(ステップS101)。このとき、SIPサーバ300は、着信側端末のポート番号5060に送信する。そして、着信側端末100が「INVITE」リクエストを受信し、「100
Trying」応答を送信し(ステップS102)、続いて、着信側端末100が「200
OK」応答を送信する(ステップS103)。このとき、着信側端末100から通知するポート番号は、上記ポート番号5060のままである。
A specific example of actual SIP signal processing will be described with reference to the sequence diagram of FIG. Here, it is assumed that the SIP signal port number of the
A “Trying” response is transmitted (step S102).
An “OK” response is transmitted (step S103). At this time, the port number notified from the
続いて、SIPサーバ300は、着信側端末101から上記「200
OK」応答を受信し、SIPサーバ300に接続している発信側端末にまで転送する。すると、発信側端末が、「ACK」リクエストを送信し、それをSIPサーバ300が受信し、着信側端末100に転送する(ステップS104)。これにより、発信側端末と着信側端末100とのセッションが確立し、サービスが開始できるようになる(ステップS105)。
Subsequently, the
The “OK” response is received and transferred to the calling terminal connected to the
その後、発信側端末から着信側端末100にSIP信号が発信されると(ステップS106)、このSIP信号は、着信側端末100の上述した1つのポート5060で受信される。例えば、セッションを終了するために、発信側端末からSIPサーバ300を通して「BYE」リクエストが送信されると(ステップS106)、着信側端末100が「200
OK(BYE)」を送信することで(ステップS107)、セッションが終了される。
Thereafter, when a SIP signal is transmitted from the calling terminal to the receiving terminal 100 (step S106), this SIP signal is received by the above-described one port 5060 of the
By transmitting “OK (BYE)” (step S107), the session is terminated.
このように、上記従来例の場合には、着信側端末100は、単一のポートでSIP信号を受信しているため、大量にSIP信号が来たときには、SIP信号受信時に受信ポートでSIP信号が溢れて破棄され、新規接続呼または接続中呼のリクエストまたは応答の遅延が発生しSIP信号の再送処理を繰り返してしまう、という問題があった。この場合、特に、接続中であった着信側端末との通信が切断してしまうといった影響が出る、という不都合が生じ、これにより、接続中である着信側端末に対して安定した通信が行えない、という問題が生じる。また、従来のSIP信号処理で、この接続中である着信端末に安定した通信を提供しようとするためには、SIP受信ポートのバッファサイズを余分に大きく取る必要があった。
Thus, in the case of the above conventional example, the
なお、上記特許文献1に開示のシステムでは、データセッションで使用するアクセスポートの番号を変更して通信を行う、という技術が開示されている。しかしながら、この特許文献1に記載の技術では、データセッションのポート番号を変更しているだけであって、SIP信号の送受信ポートは固定的であるため、SIP信号の受信が集中した場合には、上述同様に、SIP信号が溢れて破棄されるなど、依然として通信の安定化を図ることができない、という問題が生じる。 The system disclosed in Patent Document 1 discloses a technique of performing communication by changing the number of an access port used in a data session. However, in the technology described in Patent Document 1, only the port number of the data session is changed, and the transmission / reception port of the SIP signal is fixed. Therefore, when reception of the SIP signal is concentrated, As described above, there is a problem that communication cannot be stabilized yet, such as the SIP signal overflowing and being discarded.
このため、本発明では、上記従来例の有する不都合を改善し、特に、通信の安定化を図ることで、ユーザの利便性の向上、及び、通信サービスの質の向上を図ることができる通信装置を提供することをその目的とする。 For this reason, in the present invention, the inconvenience of the above-described conventional example is improved, and in particular, by stabilizing the communication, it is possible to improve the convenience of the user and improve the quality of the communication service. The purpose is to provide.
そこで、本発明の一形態は、
呼制御プロトコルを利用して他の通信装置とセッションを確立し、通信を行う通信装置であって、
発呼側通信装置から発呼時に送信される呼制御信号を受信する第一のポートと、発呼側通信装置から発呼時に送信される呼制御信号とは異なる他の呼制御信号を受信する第二のポートと、を備えた、
ことを特徴としている。
Therefore, one aspect of the present invention is
A communication device that establishes a session with another communication device using a call control protocol and performs communication,
A first port that receives a call control signal transmitted at the time of a call from the calling communication device and another call control signal different from the call control signal transmitted at the time of a call from the calling communication device A second port, and
It is characterized by that.
また、本発明の他の形態は、
呼制御プロトコルを利用して他の通信装置とセッションを確立し、通信を行う通信装置であって、
発呼側通信装置から新規発呼時に送信される新規呼信号を受信する新規呼用ポートと、新規呼信号を受信した後に発呼側通信装置から送信される呼制御信号を受信する接続中呼用ポートと、を備えた、
ことを特徴としている。
Moreover, the other form of this invention is:
A communication device that establishes a session with another communication device using a call control protocol and performs communication,
A new call port for receiving a new call signal transmitted at the time of a new call from the calling communication device, and a connected call for receiving a call control signal transmitted from the calling communication device after receiving the new call signal And a port for
It is characterized by that.
上記発明によると、通信装置では、発呼側通信装置から新規発呼時に送信される新規呼信号は新規呼用ポートにて受信され、その後に発呼側通信装置から送信される呼制御信号は、上記新規呼用ポートとは異なる接続中呼用ポートにて受信される。従って、通信端末に対して大量に呼制御信号が送信されてきた場合であっても、呼制御信号に応じて異なるポートにて受信することができるため、ポートのバッファサイズを大きく設定することなく、呼制御信号の破棄、応答遅延等を抑制することができ、通信の安定化を図ることができる。そして、特に、大量に呼制御信号が送信されてくる複数回線を利用可能な通信装置に適用することで、より効果的である。 According to the above invention, in the communication device, a new call signal transmitted at the time of a new call from the calling communication device is received at the new call port, and a call control signal transmitted from the calling communication device thereafter is And received at the connected call port different from the new call port. Therefore, even when a large amount of call control signals are transmitted to the communication terminal, it can be received at different ports according to the call control signal, so that the port buffer size is not set large. In addition, discarding of call control signals, response delays, and the like can be suppressed, and communication can be stabilized. In particular, it is more effective when applied to a communication device that can use a plurality of lines through which a large number of call control signals are transmitted.
そして、上記新規呼用ポートにて受信した新規呼信号を発信した発呼側通信装置に対して、接続中呼用ポートのポート番号を通知する接続中呼用ポート通知手段を備えた、ことを特徴としている。また、上記接続中呼用ポート通知手段は、発呼側通信装置に対して、当該発呼側通信装置から次の呼制御信号が送信される前に接続中呼用ポートのポート番号を通知する、ことを特徴としている。 And, it is provided with a connected call port notification means for notifying the port number of the connected call port to the calling communication device that has transmitted the new call signal received at the new call port. It is a feature. The connected call port notifying unit notifies the calling communication device of the port number of the connected call port before the next call control signal is transmitted from the calling communication device. It is characterized by that.
このように、発呼側通信装置に対して接続中呼用ポートのポート番号を通知することで、発呼側通信装置から新規呼信号と異なる呼制御信号が接続中呼用ポートに送信され、より確実に各信号を各ポートにてそれぞれ受信することができる。従って、呼制御信号の破棄等を有効に抑制することができ、さらなる通信の安定化を図ることができる。特に、発呼側通信装置から新規呼信号が送信された後であって次の呼制御信号が送信される前にポート番号を通知することで、より確実に新規呼信号とその他の呼制御信号とが各ポートに送信され、それぞれを異なるポートで受信することができる。 Thus, by notifying the calling side communication device of the port number of the connected call port, a call control signal different from the new call signal is transmitted from the calling side communication device to the connected call port, Each signal can be received at each port more reliably. Therefore, it is possible to effectively suppress the discarding of the call control signal and further stabilize the communication. In particular, the new call signal and other call control signals are more reliably notified by notifying the port number after the new call signal is transmitted from the calling communication device and before the next call control signal is transmitted. Can be sent to each port and received on different ports.
また、上記新規呼用ポートとは異なる任意のポート番号を接続中呼用ポートとして設定するポート設定手段を備えた、ことを特徴としている。これにより、接続中呼用ポートのポート番号を任意に設定することができるため、通信装置の状態に応じて適切な動作環境に設定することができる。 Further, the present invention is characterized by comprising a port setting means for setting an arbitrary port number different from the new call port as a connected call port. As a result, the port number of the currently connected call port can be set arbitrarily, so that an appropriate operating environment can be set according to the state of the communication device.
また、新規呼用ポートにて新規呼信号とは異なる呼制御信号を受信した場合に、当該呼制御信号を処理する機能を有する、ことを特徴としている。これにより、上記接続中呼用ポートが設定されているにも関わらず、新規呼用ポートに新規呼信号とは異なる呼制御信号が送信された場合であっても、かかる信号を処理して通信処理を行うため、通信の安定化を図ることができる。 In addition, when a call control signal different from the new call signal is received at the new call port, it has a function of processing the call control signal. As a result, even if a call control signal different from the new call signal is transmitted to the new call port even though the connected call port is set, the signal is processed and communicated. Since the process is performed, the communication can be stabilized.
また、新規呼用ポート及び接続中呼用ポートにてそれぞれ受信した呼制御信号をそれぞれ一時的に記憶する各バッファの容量を設定するバッファ設定手段を備えた、ことを特徴としている。これにより、各ポートのバッファ容量を設定することで、通信装置の状態に応じて適切な動作環境に設定することができる。 Also, the present invention is characterized by comprising buffer setting means for setting the capacity of each buffer for temporarily storing call control signals respectively received at the new call port and the connected call port. Thereby, by setting the buffer capacity of each port, it is possible to set an appropriate operating environment according to the state of the communication device.
また、本発明の他の形態は、
呼制御プロトコルを利用して他の通信装置とセッションを確立し、通信を行う通信装置による通信方法であって、
発呼側通信装置から新規発呼時に送信される新規呼信号を新規呼用ポートにて受信する新規呼信号受信工程と、その後に発呼側通信装置から送信される呼制御信号を接続中呼用ポートにて受信する接続中呼信号受信工程と、を有する、
ことを特徴としている。
Moreover, the other form of this invention is:
A communication method by a communication device that establishes a session with another communication device using a call control protocol and performs communication,
A new call signal receiving process for receiving a new call signal transmitted at the time of a new call from the calling communication device at the new call port, and a call control signal transmitted from the calling communication device thereafter connected A connected call signal receiving step for receiving at the port for use,
It is characterized by that.
そして、上記新規呼信号受信工程と接続中呼信号受信工程との間に、受信した新規呼信号を送信した発呼側通信装置に対して接続中呼用ポートのポート番号を通知する接続中呼用ポート通知工程を有する、ことを特徴としている。また、少なくとも接続中呼用ポート通知工程の前に、新規呼用ポートとは異なる任意のポート番号を接続中呼用ポートとして設定するポート設定工程を有する、ことを特徴としている。 The connected call that notifies the port number of the connected call port to the calling communication device that has transmitted the received new call signal between the new call signal receiving step and the connected call signal receiving step. And a port notification step. In addition, it has a port setting step of setting an arbitrary port number different from the new call port as a connected call port at least before the connected call port notifying step.
また、本発明の他の形態は、
呼制御プロトコルを利用して相互にセッションを確立し、通信を行う発呼側通信装置及び着呼側通信装置による通信方法であって、
発呼側通信装置が、着呼側通信装置に設定された新規呼用ポートに対して新規呼信号を送信すると共に、この新規呼信号を着呼側通信装置が新規呼用ポートにて受信し、
その後、発呼側通信装置が、着呼側通信端末に設定された接続中呼用ポートに対して新規呼信号とは異なる呼制御信号を送信し、この呼制御信号を着呼側通信装置が接続中呼ポートにて受信する、
ことを特徴としている。
Moreover, the other form of this invention is:
A communication method by a calling communication device and a called communication device that establishes a session with each other using a call control protocol and performs communication,
The calling communication device transmits a new call signal to the new call port set in the called communication device, and the called communication device receives the new call signal at the new call port. ,
Thereafter, the calling communication device transmits a call control signal different from the new call signal to the connected call port set in the called communication terminal, and the called communication device transmits the call control signal. Receive at the connected call port,
It is characterized by that.
そして、上記着呼側通信装置が、発呼側通信装置から新規呼信号を受信した後に、その発呼側通信装置に対して接続中呼用ポートのポート番号を通知し、
発呼側通信装置が、通知されたポート番号に基づく接続中呼用ポートに対して新規呼信号とは異なる呼制御信号を送信する、
ことを特徴としている。
And after the callee communication device receives a new call signal from the caller communication device, it notifies the caller communication device of the port number of the connected call port,
The calling communication device transmits a call control signal different from the new call signal to the connected call port based on the notified port number.
It is characterized by that.
さらに、本発明の他の形態であるプログラムは、
呼制御プロトコルを利用して他の通信装置とセッションを確立し、通信を行う通信装置に、
発呼側通信装置から新規発呼時に送信される新規呼信号を新規呼用ポートにて受信する新規呼信号受信工程と、その後に発呼側通信装置から送信される呼制御信号を接続中呼用ポートにて受信する接続中呼信号受信工程と、
を実行させる、ことを特徴としている。
Furthermore, the program which is the other form of this invention is:
A communication device that establishes a session with another communication device using a call control protocol and performs communication.
A new call signal receiving process for receiving a new call signal transmitted at the time of a new call from the calling communication device at the new call port, and a call control signal transmitted from the calling communication device thereafter connected A call signal reception process during connection to be received at the port,
It is characterized by making it execute.
そして、通信装置に、新規呼信号受信工程と接続中呼信号受信工程との間に、受信した新規呼信号を送信した発呼側通信装置に対して接続中呼用ポートのポート番号を通知する接続中呼用ポート通知工程、を実行させる、ことを特徴としている。また、通信装置に、少なくとも接続中呼用ポート通知工程の前に、新規呼用ポートとは異なる任意のポート番号を接続中呼用ポートとして設定するポート設定工程、を実行させる、ことを特徴としている。 The communication device is notified of the port number of the connected call port to the calling communication device that has transmitted the received new call signal between the new call signal receiving step and the connected call signal receiving step. It is characterized in that the connected call port notification step is executed. In addition, the communication apparatus is characterized in that it executes a port setting step for setting an arbitrary port number different from the new call port as a connected call port before at least the connected call port notification step. Yes.
上述した構成の通信方法及びプログラムの発明であっても、上記通信装置と同様の作用を有するため、上述した本発明の目的を達成することができる。 Even the invention of the communication method and the program having the above-described configuration has the same operation as that of the above-described communication device, and thus the above-described object of the present invention can be achieved.
本発明は、以上のように構成され機能するので、これによると、通信端末に対して大量に呼制御信号が送信されてきた場合であっても、呼制御信号に応じて異なるポートにて受信することができるため、ポートのバッファサイズを大きく設定することなく、呼制御信号の破棄、応答遅延等を抑制することができ、通信の安定化を図ることができる、という従来にない優れた効果を有する。 Since the present invention is configured and functions as described above, according to this, even when a large amount of call control signals are transmitted to the communication terminal, reception is performed at different ports according to the call control signals. Therefore, without setting the buffer size of the port large, it is possible to suppress call control signal discard, response delay, etc., and improve the communication stability. Have
本発明では、呼制御プロトコルを利用して相互にセッションを確立し、通信を行う通信端末による通信方法に特徴を有する。例えば、呼制御プロトコルとしては、SIP(Session Initiation Protocol)があり、通信端末間でやりとりされる呼制御信号としてSIP信号が利用される。 The present invention is characterized by a communication method using a communication terminal that establishes a session with each other using a call control protocol and performs communication. For example, as a call control protocol, there is SIP (Session Initiation Protocol), and a SIP signal is used as a call control signal exchanged between communication terminals.
そして、本発明では、SIP信号を、トラフィック特性に応じて、新規に接続を確立するために発信側端末(発呼側通信装置)から着信側端末(着呼側通信装置)に向けて送信される新規接続呼信号(新規呼信号)と、その新規接続呼信号が一度受け入れられ、それ以降に着信側端末に向けて送信される接続中呼信号と、の2種類に分けて考える。この場合に、SIP端末間で着信側端末に向けて送信されるSIP信号が新規接続呼信号である場合は、着信側端末に設定された新規接続呼用ポート(新規呼用ポート(第一のポート))に対して新規呼信号を送信する。このとき、新規接続呼信号に対する応答にて接続中呼専用ポートのポート番号を指定する。ここで、これ以降に発信側端末から着信側端末に送信するSIP信号は接続中呼信号となる。そして、SIP端末間で着信側端末に向けて送信されるSIP信号が接続中呼信号である場合は、着信側端末に対して接続中呼専用ポートに接続中呼信号を送信することで、着信側端末では、接続中呼専用ポート(接続中呼ポート(第二のポート))で受信する。 In the present invention, the SIP signal is transmitted from the caller terminal (calling communication device) to the callee terminal (calling communication device) in order to establish a new connection according to the traffic characteristics. A new connection call signal (new call signal) and a connection call signal that is received once and then transmitted to the receiving terminal are considered. In this case, if the SIP signal transmitted from the SIP terminal to the receiving terminal is a new connection call signal, a new connection call port (new call port (first call A new call signal is transmitted to the port)). At this time, the port number of the currently connected call dedicated port is designated in response to the newly connected call signal. Here, the SIP signal transmitted from the originating terminal to the terminating terminal thereafter becomes the connected call signal. When the SIP signal transmitted to the receiving terminal between the SIP terminals is a connected call signal, the incoming call signal is transmitted to the connecting call dedicated port to the receiving terminal by receiving the incoming call signal. In the terminal on the side, reception is performed at the connected call dedicated port (connected call port (second port)).
このように、SIP信号の入力ポートを、新規接続呼用ポートと接続中呼専用ポートとに分けて考え、それぞれ新規接続呼用ポートと接続中呼専用ポートとに分けて受信することで、同時に大量の呼が来た時などに、受信ポートで呼が溢れることによるSIP信号の破棄および再送処理を低減させ、安定した通信を図る、という点に特徴を有する。 In this way, the SIP signal input port is divided into a newly connected call port and a connected call dedicated port, and is received separately in a newly connected call port and a connected call dedicated port. It is characterized in that, when a large number of calls come, the SIP signal discarding and retransmission processing due to the overflow of calls at the receiving port is reduced to achieve stable communication.
本発明の第1の実施例を、図1乃至図4を参照して説明する。図1は、呼制御プロトコルにて通信を行うシステム全体の構成を示すブロック図であり、図2は、着信側端末の構成を示すブロック図である。図3は、システムにおける通信時の動作を示すシーケンス図であり、図4は、着信端末の動作を示すフローチャートである。 A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating a configuration of the entire system that performs communication using a call control protocol, and FIG. 2 is a block diagram illustrating a configuration of a receiving terminal. FIG. 3 is a sequence diagram showing the operation during communication in the system, and FIG. 4 is a flowchart showing the operation of the receiving terminal.
[構成]
本発明では、ネットワークN上にSIPサーバ3を備え、このSIPサーバ3を介してSIP信号を利用してセッションを確立し、通信を行う発信側端末2と着信側端末1とが接続されている。ここで、SIPサーバ3は、SIP信号にて呼制御を行う一般的な機能を有する。また、発信側端末2と着信側端末1とは、例えば、SIPにてセッションを確立するIP電話であったり、あるいは、着信側端末1は、発信側端末2に種々のデータを提供するファイルサーバなどである。以下、着信側端末1について詳述する。
[Constitution]
In the present invention, a
図2に示すように、着信側端末1は、所定のポート番号の新規接続呼用ポート11と、この新規接続呼用ポート11とはポート番号が異なる接続中呼専用ポート12と、を有する。そして、着信側端末1は、SIPサーバ3からSIP信号を受信する際、新規接続呼用ポート11、または、接続中呼専用ポート12を介してSIP信号の受信を行い、SIP信号の送信は、新規接続呼用ポート11を介して行う。また、新規接続呼用ポート11と接続中呼専用ポート12とは、新規接続呼信号または接続中呼信号を、それぞれのポートで格納するバッファを有する。なお、バッファの大きさは可変であり、例えば、着信側端末1のユーザが設定操作することによって、当該端末2に予め装備された機能(バッファ設定手段)により、任意のサイズにそれぞれ設定できる。また、事前の設定により、時間帯に応じて各ポート11,12のバッファサイズが設定されるよう構成されていてもよい(バッファ設定手段)。例えば、新規接続呼信号が集中するような時間帯に、自動的に新規接続呼用ポート11のバッファが大きくなるよう設定してもよい。
As shown in FIG. 2, the receiving terminal 1 has a newly connected
また、着信側端末1は、演算装置内にSIP処理部15を備えており、新規接続呼用SIP受信部13と接続中呼専用SIP受信部14から、着信側端末1に到着した順番にSIP信号を受信し、受信した呼制御信号に応じてそれぞれ処理を施した後に、SIPサーバ3つまり発信側端末2へ適切なSIP信号を送信する。
In addition, the receiving terminal 1 includes a
また、SIP処理部15は、新規接続呼信号を受信した後に、接続中呼専用ポートのポート番号を、SIPサーバ3を介して発信側端末2に通知する機能(接続中呼用ポート通知手段)を有する。このとき、接続中呼専用ポートのポート番号は、予め設定されていてもよく、少なくとも発信側端末2にポート番号を通知する前に空きのポートから選択されてもよい。そして、接続中呼専用ポートの設定は、SIP処理部15など着信側端末2が有する機能(ポート設定手段)にて、自動的に空きのポートから選択されることで設定されてもよく、あるいは、ユーザの選択指令に応じて選択されることで設定されてもよい。なお、上述した着信側端末1による発信側端末2へのポート番号の通知タイミングについては、後の動作説明時に詳述する。
In addition, the
なお、上述したように、基本的には、新規接続呼信号は新規接続呼用ポート11で、接続中呼信号は接続中呼専用ポート12で受信され、各SIP信号に応じた処理がSIP処理部15にて行われる。但し、発信側端末2が接続中呼信号を接続中呼専用ポート12に送信しない場合も生じる。かかる場合には、接続中呼信号が規接続呼用ポート11で受信されるが、設定したポートと異なるポートでSIP信号を受信したとしても、その信号を処理する機能を有する。
As described above, basically, the newly connected call signal is received by the newly connected
なお、上述した着信側端末1が有する機能は、当該着信側端末1に所定のプログラムが組み込まれることで実現される。 Note that the functions of the receiving terminal 1 described above are realized by incorporating a predetermined program into the receiving terminal 1.
[動作]
次に、SIPサーバ3を介した発信側端末2及び着信側端末1による通信動作を説明する。なお、以下の動作は、SIPサーバ3、発信側端末2、着信側端末1に、それぞれ所定のプログラムが組み込まれることで実行される。
[Operation]
Next, the communication operation by the
はじめに、上述した図2を参照して、通信時の全体的な流れを説明する。まず、図示しない発信側端末2からSIPサーバ3を介して送られてくるSIP信号を、着信側端末1と新規に接続を確立するためのSIP信号である「INVITE」リクエストと、それ以降の着信側端末1との接続中呼であるその他のSIP信号と、の2種類に分けて考える。
First, the overall flow during communication will be described with reference to FIG. 2 described above. First, an “INVITE” request, which is a SIP signal for establishing a new connection with the receiving terminal 1, and an incoming call after that are sent from the calling terminal 2 (not shown) via the
そして、着信側端末1は、新規接続呼である「INVITE」リクエストの受信を行い、その「INVITE」リクエストに対する応答の返送をする際に、あらかじめ接続中呼用のポートとして設定されている接続中呼専用ポート21のポート番号を、Contactヘッダに設定し、それを返送する。Contactヘッダは、図2におけるSIP処理部15にて設定される。
Then, the receiving terminal 1 receives the “INVITE” request which is a newly connected call, and returns a response to the “INVITE” request. The port number of the call-only port 21 is set in the Contact header, and it is returned. The Contact header is set by the
次に、SIPサーバ3は、着信側端末1から送られてくる接続中呼専用ポート12のポート番号が設定されているContactヘッダを含んでいる「INVITE」リクエストに対する応答を受信し、これを「INVITE」リクエストを生成し送信した発信側端末1に対して、または、その発信側端末1に転送するその他のSIPサーバに対して、転送する。これにより、これ以降の発信側端末1による通信は、着信側端末1に対して接続中呼専用ポート12のポート番号を通じてやりとりを行えるようになる。なお、接続中呼専用ポート12のポート番号は、あらかじめ任意のポート番号を設定しておくことができる。
Next, the
次に、図2を用いてSIP信号の処理の流れを示す。まず、SIP信号のうち新規接続呼信号は新規接続呼用ポート11を、接続中呼信号は接続中呼専用ポート12を通して、着信側端末1に受信される。そして、着信側端末1では、新規接続呼用ポート11から新規接続呼用SIP受信部13にてSIP信号を受信し、SIP処理部15に送信する。また、接続中呼専用ポート12から接続中呼専用SIP受信部14にてSIP信号を受信し、SIP処理部15に送信する。SIP処理部15は、新規接続呼用SIP受信部13と接続中呼専用SIP受信部14から送信されたSIP信号を受信し、受信した順にSIP信号を処理する。次に、SIP処理部15は、処理したSIP信号を新規接続呼用ポート11を通してSIPサーバ3に送信する。また、SIP信号に接続中呼専用ポート12のポート番号を設定したContactヘッダを付与するのもSIP処理部15で行う。
Next, the flow of SIP signal processing will be described with reference to FIG. First, of the SIP signals, the newly connected call signal is received by the receiving terminal 1 through the newly connected
ここで、接続中呼専用ポート12があらかじめ設定されている場合において、発信側端末2でポート変更を許可しない場合がある。例えば、着信側端末1のSIP処理部15でContactヘッダに接続中呼専用ポート12のポート番号を設定してSIP信号を送信したが、発信側端末2側でそれを無視し、新規接続呼用ポート11のポート番号で送信してくる場合がある。その場合を考慮し、新規接続呼用SIP受信部13でも接続中呼信号の受信処理を行うことができるようになっている。そして、このとき新規接続呼用ポートにて受信したSIP信号は、接続中呼信号としてSIP処理部15にて処理する。
Here, when the connected call-dedicated
続いて、図3は、着信側端末1の受信ポート変更のためのSIP信号のシーケンス図であり、これを参照して通信動作を説明する。ここでは、着信側端末1と通信しようとしている発信側端末2がポート変更を許可しているものとし、また、着信側端末1の新規接続呼用ポート11のポート番号を5060番、接続中呼専用ポート12のポート番号を5062番とする。なお、接続中呼専用ポート12のポート番号が、自動的にあるいはユーザの操作によって任意に設定される場合には、後述するように、少なくともステップS3で発信側端末2にポート番号を通知する前であって、発信側端末2から新規接続呼信号の次のSIP信号が送信される前に設定される(ポート設定工程)。
Next, FIG. 3 is a sequence diagram of the SIP signal for changing the receiving port of the receiving terminal 1, and the communication operation will be described with reference to this. Here, it is assumed that the
まず、発信側端末2からの発呼要求に応じて、SIPサーバ3が着信側端末1に「INVITE」リクエストを送信する(ステップS1)。このとき、SIP信号は新規接続呼信号であるため、新規接続呼用ポート11に送信する。次に、着信側端末1が「INVITE」リクエストを受信すると(新規呼信号受信工程)、「100
Trying」応答を送信する(ステップS2)。この「100 Trying」応答には、特に何も設定せず、その後、着信側端末1が「200 OK」応答のContactヘッダに接続中呼専用ポート12のポート番号を設定して、SIPサーバ3に「200
OK」応答を送信する(ステップS3、接続中呼用ポート通知工程)。
First, the
A “Trying” response is transmitted (step S2). Nothing is set in the “100 Trying” response. Thereafter, the receiving terminal 1 sets the port number of the currently connected
An "OK" response is transmitted (step S3, connected call port notification step).
続いて、SIPサーバ3は、接続中呼専用ポート12のポート番号が設定されているContactヘッダを含んでいる「200
OK」応答を受信し、SIPサーバ3に接続している発信側端末2にまで転送する。すると、発信側端末2が、着信側端末1の送信先ポート番号を、受け取った「200
OK」応答に含まれているContactヘッダに設定されている着信側端末1のポート番号に変更して、「ACK」リクエストを送信し、それをSIPサーバ3が受信し着信側端末1に転送する(ステップS4)。この時点でSIP受信ポート変更手続きが完了し、以降から発信側端末2は、接続中呼専用ポート12に向けてSIP信号を送信するようになる。また、着信側端末1も、発信側端末2から発信されたSIP信号を、接続中呼専用ポート12を通して受信するようになる(接続中呼信号受信工程)。これと同時に、発信側及び着信側端末間でセッションが確立しサービスが開始できるようになる(ステップS5)。
Subsequently, the
The “OK” response is received and transferred to the originating
The port number of the receiving terminal 1 set in the Contact header included in the “OK” response is changed, and the “ACK” request is transmitted. The
その後、SIP信号をやりとりするときは、発信側端末2から着信側端末1に送信されるSIP信号は接続中呼であるので、着信側端末1は接続中呼専用ポート12で受信する。例えば、セッションを終了するために発信側端末2からSIPサーバ3を通して「BYE」リクエストを接続中呼専用ポート12に送信し(ステップS6)、これを受けた着信側端末1は、新規接続呼用ポート11から「200
OK(BYE)」を送信する(ステップS7)。
Thereafter, when exchanging the SIP signal, since the SIP signal transmitted from the originating
"OK (BYE)" is transmitted (step S7).
ここで、図4に、上述した接続中呼専用SIP受信部14による受信処理のフローチャートを示す。まず、接続中呼信号を受信すると(ステップS11)、複数のセッションがある場合どのセッションか特定するために、必要な情報を取得するなど、メッセージの解析を行う(ステップS12)。続いて、受信した接続中呼信号のセッション情報取得を行った結果、新規接続呼信号か否か判断する(ステップS13)。ここで、仮に受信したSIP信号が新規接続呼信号であった場合には(ステップS13:イエス)、エラー応答を返し接続を拒否する(ステップS14)。もし新規接続呼信号でなかった場合には(ステップS13:ノー)、その受信した接続中呼信号をSIP処理部15に送り処理を行う(ステップS15)。
Here, FIG. 4 shows a flowchart of the reception process by the above-described connected call dedicated
以上のように、本発明によると、接続中呼専用ポートを設けたことにより、新規接続呼信号が大量に来たときに受信ポートでSIP信号が溢れることがなく、SIP信号の破棄を回避することができ、再送処理を減らすことができる。従って、接続中呼の応答の遅れや、タイムアウトなどによるセッションの切断の原因を減らし、接続中呼の処理への影響を最小にし、サービスを安定して提供することができる。 As described above, according to the present invention, the provision of the connected call dedicated port prevents the SIP signal from overflowing at the receiving port when a large amount of newly connected call signals arrives, and avoids discarding the SIP signal. And retransmission processing can be reduced. Accordingly, it is possible to reduce the cause of session disconnection due to a delay in response to a connected call, timeout, etc., minimize the influence on the processing of a connected call, and provide a stable service.
また、SIP信号の受信ポートを2つに分けているので、1つの受信ポートでSIP信号を受信するときに比べ、接続中呼のセッションが輻輳時に切断しないようバッファサイズを大きく取る必要がなく、さらに新規接続呼用ポートのバッファサイズを小さくできる。 In addition, since the SIP signal receiving port is divided into two, it is not necessary to increase the buffer size so that the session of the connected call is not disconnected when it is congested, compared to the case where the SIP signal is received by one receiving port. Furthermore, the buffer size of the newly connected call port can be reduced.
なお、上記着信側端末1は、1回線のみを有する携帯電話端末であってもよく、あるいは、複数回線を収容する端末(User
Agent)機能を有する通信装置であってもよい。これにより、対応するいかなる装置でも安定して通信が行うことができる。
The receiving terminal 1 may be a mobile phone terminal having only one line, or a terminal (User) that accommodates a plurality of lines.
A communication device having an Agent function may be used. Thereby, it is possible to perform stable communication with any corresponding device.
また、接続中呼専用ポート12のポート番号を発信側端末2に通知するために、Contactヘッダを利用しているが、これに限らず既存のヘッダを含め、将来SIPヘッダの拡張が行われ、新たに定義されるヘッダを用いて、ポート変更を通知できれば、他のヘッダを利用してもよい。
In addition, the Contact header is used to notify the calling
本発明は、IP電話やメディアサーバなど、呼制御プロトコルを利用して通信を行う通信装置に利用することができ、産業上の利用可能性を有する。 INDUSTRIAL APPLICABILITY The present invention can be used for a communication apparatus that performs communication using a call control protocol, such as an IP telephone or a media server, and has industrial applicability.
1 着信側端末
2 発信側端末
3 SIPサーバ
11 新規接続呼用ポート
12 接続中呼専用ポート
13 新規接続呼用SIP受信部
14 接続中呼専用SIP受信部
15 SIP処理部
DESCRIPTION OF SYMBOLS 1
Claims (15)
発呼側通信装置から新規発呼時に送信される新規呼信号を受信する新規呼用ポートと、前記新規呼信号を受信した後に前記発呼側通信装置から送信される呼制御信号を受信する接続中呼用ポートと、を備えた、
ことを特徴とする通信装置。 A communication device that establishes a session with another communication device using a call control protocol and performs communication,
A new call port for receiving a new call signal transmitted at the time of a new call from the calling communication device, and a connection for receiving a call control signal transmitted from the calling communication device after receiving the new call signal A medium call port,
A communication device.
ことを特徴とする請求項1記載の通信装置。 Comprising a connected call port notification means for notifying a port number of the connected call port to the calling communication device that has transmitted the new call signal received at the new call port;
The communication apparatus according to claim 1 .
ことを特徴とする請求項2記載の通信装置。 The connected call port notifying means notifies the calling communication device of the port number of the connected call port before the next call control signal is transmitted from the calling communication device. ,
The communication device according to claim 2 .
ことを特徴とする請求項2又は3記載の通信装置。 Port setting means for setting an arbitrary port number different from the new call port as the connected call port,
The communication apparatus according to claim 2 or 3, wherein
ことを特徴とする請求項1,2,3又は4記載の通信装置。 A function of processing the call control signal when a call control signal different from the new call signal is received at the new call port;
5. The communication apparatus according to claim 1, 2, 3 or 4 .
ことを特徴とする請求項1,2,3,4又は5記載の通信装置。 Buffer setting means for setting the capacity of each buffer for temporarily storing call control signals respectively received at the new call port and the connected call port;
6. The communication apparatus according to claim 1, 2, 3, 4 or 5 .
発呼側通信装置から新規発呼時に送信される新規呼信号を新規呼用ポートにて受信する新規呼信号受信工程と、その後に前記発呼側通信装置から送信される呼制御信号を接続中呼用ポートにて受信する接続中呼信号受信工程と、を有する、
ことを特徴とする通信方法。 A communication method by a communication device that establishes a session with another communication device using a call control protocol and performs communication,
A new call signal receiving step for receiving a new call signal transmitted at the time of a new call from the calling side communication device at the new call port, and a call control signal transmitted from the calling side communication device thereafter being connected A connected call signal receiving step for receiving at the call port;
A communication method characterized by the above.
ことを特徴とする請求項8記載の通信方法。 A connection for notifying a port number of the connected call port to the calling communication device that has transmitted the received new call signal between the new call signal receiving step and the connected call signal receiving step. Having a middle call port notification step;
The communication method according to claim 8 .
ことを特徴とする請求項9記載の通信方法。 A port setting step of setting an arbitrary port number different from the new call port as the connected call port before at least the connected call port notifying step;
The communication method according to claim 9 .
前記発呼側通信装置が、前記着呼側通信装置に設定された新規呼用ポートに対して新規呼信号を送信すると共に、この新規呼信号を前記着呼側通信装置が前記新規呼用ポートにて受信し、
その後、前記発呼側通信装置が、前記着呼側通信端末に設定された接続中呼用ポートに対して前記新規呼信号とは異なる呼制御信号を送信し、この呼制御信号を前記着呼側通信装置が前記接続中呼ポートにて受信する、
ことを特徴とする通信方法。 A communication method by a calling communication device and a called communication device that establishes a session with each other using a call control protocol and performs communication,
The calling communication device transmits a new call signal to a new call port set in the called communication device, and the called communication device transmits the new call signal to the new call port. Received at
Thereafter, the calling communication device transmits a call control signal different from the new call signal to the connected call port set in the called communication terminal, and the call control signal is transmitted to the incoming call port. Side communication device receives at the connected call port;
A communication method characterized by the above.
前記発呼側通信装置が、通知された前記ポート番号に基づく前記接続中呼用ポートに対して前記新規呼信号とは異なる前記呼制御信号を送信する、
ことを特徴とする請求項11記載の通信方法。 After the receiving communication device receives the new call signal from the calling communication device, the calling communication device notifies the calling communication device of the port number of the connected call port;
The calling communication device transmits the call control signal different from the new call signal to the connected call port based on the notified port number;
The communication method according to claim 11 .
発呼側通信装置から新規発呼時に送信される新規呼信号を新規呼用ポートにて受信する新規呼信号受信工程と、その後に前記発呼側通信装置から送信される呼制御信号を接続中呼用ポートにて受信する接続中呼信号受信工程と、
を実行させるためのプログラム。 A communication device that establishes a session with another communication device using a call control protocol and performs communication.
A new call signal receiving step for receiving a new call signal transmitted at the time of a new call from the calling side communication device at the new call port, and a call control signal transmitted from the calling side communication device thereafter being connected A connected call signal receiving process for receiving at the call port;
A program for running
Claim for causing the communication device to execute a port setting step of setting an arbitrary port number different from the new call port as the connected call port at least before the connected call port notifying step Item 15. The program according to Item 14 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007086560A JP4932562B2 (en) | 2007-03-29 | 2007-03-29 | Communication apparatus, method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007086560A JP4932562B2 (en) | 2007-03-29 | 2007-03-29 | Communication apparatus, method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008245199A JP2008245199A (en) | 2008-10-09 |
JP4932562B2 true JP4932562B2 (en) | 2012-05-16 |
Family
ID=39915928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007086560A Expired - Fee Related JP4932562B2 (en) | 2007-03-29 | 2007-03-29 | Communication apparatus, method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4932562B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010147730A (en) * | 2008-12-18 | 2010-07-01 | Nec Corp | Network device, ip network system, and call control method |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6958994B2 (en) * | 1998-09-24 | 2005-10-25 | Genesys Telecommunications Laboratories, Inc. | Call transfer using session initiation protocol (SIP) |
JP2000216861A (en) * | 1999-01-25 | 2000-08-04 | Sanyo Electric Co Ltd | Communication terminal |
JP2001251440A (en) * | 2000-03-08 | 2001-09-14 | Casio Comput Co Ltd | Calling system, terminal adapter, calling device, server, and calling system |
JP4032814B2 (en) * | 2002-04-25 | 2008-01-16 | 株式会社デンソー | Communication terminal, router, terminal station, and fixed terminal |
JP2004187082A (en) * | 2002-12-04 | 2004-07-02 | Sharp Corp | Telephone communication equipment |
JP4338993B2 (en) * | 2003-02-28 | 2009-10-07 | モトローラ・インコーポレイテッド | Wireless terminal session control method and interface setting method |
JP2005065049A (en) * | 2003-08-18 | 2005-03-10 | Ricoh Co Ltd | Ip terminal equipment |
JP2005175805A (en) * | 2003-12-10 | 2005-06-30 | Sun Communications:Kk | Adapter |
JP2006343943A (en) * | 2005-06-08 | 2006-12-21 | Murata Mach Ltd | File server device and communication management server |
US8467377B2 (en) * | 2005-08-24 | 2013-06-18 | Qualcomm Incorporated | Interleaving VoIP/VIP transmission in multiple sessions to increase quality of service in mobile devices having multiple interfaces |
JP2006229994A (en) * | 2006-03-06 | 2006-08-31 | Ricoh Co Ltd | Ip terminal device |
-
2007
- 2007-03-29 JP JP2007086560A patent/JP4932562B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008245199A (en) | 2008-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5072291B2 (en) | Method and apparatus for selection of special purpose gateways | |
JP2016028509A (en) | Method and system of advanced real-time ip communication in mobile terminal | |
US7369493B2 (en) | Congestion control in an IP network | |
US20070047531A1 (en) | System and method for implementing proxy independent hunt group function in a packet based network | |
JP2006222822A (en) | Handover system | |
US7496089B2 (en) | Network, private branch exchange, and PBX additional service starting method | |
US20080037516A1 (en) | Gateway providing third party call control | |
US9071690B2 (en) | Call transfer processing in SIP mode | |
JP4978031B2 (en) | IP telephone system for accommodating wireless terminals | |
JP4932562B2 (en) | Communication apparatus, method, and program | |
US20100027528A1 (en) | Notification of Impending Media Gateway Resource Exhaustion | |
JP4920637B2 (en) | SIP telephone system, data transmission method, server unit and telephone terminal | |
JP4632964B2 (en) | IP telephone exchange system, IP telephone exchange method and program | |
WO2009036801A1 (en) | Methods and arrangements for a telecommunications system | |
JP2005020676A (en) | Telephone communication method and apparatus | |
WO2010126379A1 (en) | Method and device for establishing simultaneous incoming circuit switched calls | |
US7243159B1 (en) | On demand capability exchange | |
WO2015035176A1 (en) | A method and system for on-hold messaging for cross-network calls | |
US8984148B2 (en) | Method and apparatus for signaling post-ring reservations | |
US20220167454A1 (en) | Processing of a call by videoconference between two terminals | |
JP5248891B2 (en) | CONFERENCE CONFERENCE METHOD, ITS SYSTEM, ITS DEVICE, AND ITS PROGRAM USING SIP KEY TELEPHONE DEVICE | |
US20090103519A1 (en) | Method and Computer Product for Switching Subsequent Messages With Higher Priority Than Invite Messages in a Softswitch | |
JP5046007B2 (en) | IP telephone equipment | |
WO2019208433A1 (en) | Rtp monitoring device and rtp monitoring method | |
JP2006203324A (en) | Gateway system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100212 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20100610 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111129 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120123 |
|
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: 20120207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120215 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4932562 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150224 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |